This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/16045] ICE fold check: original tree changed by fold
- From: "belyshev at depni dot sinp dot msu dot ru" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Jun 2005 10:42:33 -0000
- Subject: [Bug tree-optimization/16045] ICE fold check: original tree changed by fold
- References: <20040618045848.16045.belyshev@depni.sinp.msu.ru>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From belyshev at depni dot sinp dot msu dot ru 2005-06-15 10:42 -------
Ada frontend fails to bootstrap with --enable-checking=fold:
stage1/xgcc -Bstage1/ -B/usr/x86_64-linux/bin/ -c -g -O2 -DIN_GCC -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -fno-common
-DHAVE_CONFIG_H -I. -Iada -I../../src/gcc -I../../src/gcc/ada
-I../../src/gcc/../include -I../../src/gcc/../libcpp/include
../../src/gcc/ada/adaint.c -o ada/adaint.o
../../src/gcc/ada/adaint.c: In function '__gnat_locate_exec':
../../src/gcc/ada/adaint.c:2018: internal compiler error: fold check: original
tree changed by fold
testcase:
------------------------------------------------------------------------------
char *strstr (const char *, const char *);
char *__gnat_locate_exec (char *exec_name)
{
return strstr (exec_name, "");
}
------------------------------------------------------------------------------
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16045