This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Enabling IPCP by default
On Fri, 29 Aug 2008, Jan Hubicka wrote:
> Hi,
> tonight testing on x86_64, i386 and IA-64 didn't seem to bring any new
> surprises, so I've comitted the following patch.
> I will also update changes page of 4.4.
>
> * doc/invoke.texi (-fipa-cp): Enabled by default at -O2/-Os/-O3
> (-fipa-cp-clone): Enabled by default at -O3.
> * opts.c (decode_options): Enable ipa-cp at -O2, ipa-cp-clone at -O3;
> make ipa-cp-clone to imply ipa-cp; disable cloning at -Os.
This broke Ada bootstrap:
/space/rguenther/obj/./prev-gcc/xgcc -B/space/rguenther/obj/./prev-gcc/
-B/usr/local/x86_64-unknown-linux-gnu/bin/ -c -g -O2 -gnatpg -gnata
-nostdinc -I- -I. -Iada -I../../trunk/gcc/ada
-I../../trunk/gcc/ada/gcc-interface ../../trunk/gcc/ada/sem_ch12.adb -o
ada/sem_ch12.o
+===========================GNAT BUG
DETECTED==============================+
| 4.4.0 20080829 (experimental) (x86_64-unknown-linux-gnu) GCC error:
|
| in expand_call_inline, at tree-inline.c:3106
|
| Error detected around ../../trunk/gcc/ada/sem_ch12.adb:6296
|
| Please submit a bug report; see http://gcc.gnu.org/bugs.html.
|
| Use a subject line meaningful to you and us to track the bug.
|
| Include the entire contents of this bug box in the report.
|
| Include the exact gcc or gnatmake command that you entered.
|
| Also include sources listed below in gnatchop format
|
| (concatenated together with no headers between files).
|
+==========================================================================+
works if called with -fno-ipa-cp.
Richard.