Bug 57467
Summary: | gcc 3.1-0.10 miscompiles qmake | ||
---|---|---|---|
Product: | [Retired] Red Hat Raw Hide | Reporter: | Bernhard Rosenkraenzer <bero> |
Component: | gcc | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 1.0 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2001-12-21 15:48:19 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Bernhard Rosenkraenzer
2001-12-13 12:55:37 UTC
Happens even at -O0 It's even weirder: qmake is usually compiled with out any -O flags because it has to support pretty much all compilers out there. Adding -O2 to the CFLAGS actually fixes the problem. So qmake is miscompiled at -O0 only (guess that's the first time I've had to _increase_ the optimization level to work around compiler bugs ;) ). Reducing priority after finding a workaround. Reduced to makefile.o (if it is compiled with -O0, it doesn't work, if -O1 and above, it works). Will need to debug where things change... As it does go away if makefile.cc is compiled with -fno-inline, I guess this is just the result of bogus change from 2001-11-15 which caused tree inlining to happen without optimizations too. This was fixed on 2001-12-13 in CVS. |