------- Comment #4 from tg at mirbsd dot org 2009-06-30 08:44 ------- @Richard Guenther: the problem is that "-fwhole-program --combine" works most of the time, but if it fails, there is no simple way to detect it from a build script (by compiling a small test programme with these options I can only detect if they are recognised at all or (e.g. gcc3) not, but a hello-world style will always succeed).
So I suggest that, if it is known to the gcc maintainers that the- se options are broken in a specific gcc version, it be deactivated so that compiling the test programme will fail due to an "unrecog- nised" command line option. On the other hand, in later gcc4.1 versions as well as some gcc4.4 versions (eg. that on sid), gcc-snapshot on karmic, gcc4.2, gcc4.3 and llvm-gcc4.2 it works very well, so I'd like to use this featu- re if I can. -- tg at mirbsd dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tg at mirbsd dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40506