This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/12612] [3.4 Regression] ICE when using log function with -O3 -ffast-math
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Oct 2003 17:54:45 -0000
- Subject: [Bug optimization/12612] [3.4 Regression] ICE when using log function with -O3 -ffast-math
- References: <20031014075139.12612.martin@mpa-garching.mpg.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12612
------- Additional Comments From reichelt at gcc dot gnu dot org 2003-10-17 17:54 -------
Something with the optimization -fweb seems to be wrong.
Because of Jan's patch it's turned on with -O3.
That's probably why the bug appears with the patch.
Btw, just specifying the option "-fweb" on the command
line causes an ICE:
cc1: internal compiler error: in common_handle_option, at opts.c:656
Please submit a full bug report, [etc.]
In addition the documentation is quite incomplete: "-fweb" is only
mentioned once in the manual:
Optimize yet more. @option{-O3} turns on all optimizations specified by
@option{-O2} and also turns on the @option{-finline-functions},
@option{-fweb} and @option{-frename-registers} options.
But nowhere is an explanation what "-fweb actually" does and it doesn't
appear in the list of optimization options.