c++/10039: [macosx] gcc hangs at a c++-Constructor with switch "-Os"
Geoffrey Keating
geoffk@apple.com
Thu Mar 27 00:30:00 GMT 2003
Dix says this was filed as Apple Radar 3042899, quite some time ago.
In summary:
The compiler is not really hanging, just taking a very long time
(hours). The problem is specific to -Os. A workaround for released
compilers is to add -fno-gcse, or use -O2 instead of -Os.
-fno-schedule-insns will also help.
It looks like later compiler releases (3.3, 3.4, the next Apple
compiler release) will have the performance bottlenecks improved, down
to sane numbers (like 10 minutes, with no workarounds, or 1 minute with
-fno-schedule-insns in 3.3, and better in 3.4).
--
Geoff Keating <geoffk@apple.com>
More information about the Gcc-bugs
mailing list