------- 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

Reply via email to