This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/40506] ICE with -fwhole-program --combine (verify_stmts failed)
- From: "tg at mirbsd dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Jun 2009 08:44:32 -0000
- Subject: [Bug middle-end/40506] ICE with -fwhole-program --combine (verify_stmts failed)
- References: <bug-40506-5724@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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