Bug 2214847
| Summary: | internal compiler error: output_operand: invalid %-code | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Jan Horak <jhorak> | ||||
| Component: | gcc | Assignee: | Marek Polacek <mpolacek> | ||||
| gcc sub component: | system-version | QA Contact: | Václav Kadlčík <vkadlcik> | ||||
| Status: | VERIFIED --- | Docs Contact: | |||||
| Severity: | unspecified | ||||||
| Priority: | unspecified | CC: | ahajkova, fweimer, jakub, ohudlick, sipoyare, vkadlcik | ||||
| Version: | 8.8 | Keywords: | Bugfix, Triaged | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | s390x | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | gcc-8.5.0-20.el8 | Doc Type: | No Doc Update | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | Type: | Bug | |||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Jan Horak
2023-06-13 20:15:44 UTC
Point to source: https://searchfox.org/mozilla-central/source/toolkit/components/protobuf/src/google/protobuf/generated_message_tctable_lite.cc#342 This was fixed upstream for GCC 9 and later in https://gcc.gnu.org/PR87723 We just need to cherry-pick that fix, should apply cleanly. Short testcase -O2 -march=z10: unsigned long foo (unsigned long x, unsigned long y) { unsigned long z = (x << 57) | (x >> 7); z &= 0xfe00000000000000UL; return z | y; } # rpm -q gcc gcc-8.5.0-19.el8.s390x # gcc bz.c -c -O2 -march=z10 during RTL pass: final bz.c: In function ‘foo’: bz.c:7:1: internal compiler error: output_operand: invalid %-code } ^ # rpm -q gcc gcc-8.5.0-20.el8.s390x # gcc bz.c -c -O2 -march=z10 # OK |