This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c++/10039: [macosx] gcc hangs at a c++-Constructor with switch "-Os"


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 at apple dot com>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]