[Bug middle-end/9636] [3.4 regression] ICE when building newlib for v850-elf

nickc at redhat dot com gcc-bugzilla@gcc.gnu.org
Mon Jul 28 14:25:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9636



------- Additional Comments From nickc at redhat dot com  2003-07-28 14:25 -------
The attached patch should fix this problem.  At least for the libgcc case.  It
appears that compiling libstdc++-v3 also generates a similar problem:

/builds/FSF/v850-elf/gcc/xgcc -shared-libgcc -B/builds/FSF/v850-elf/gcc/
-nostdinc++ -L/builds/FSF/v850-elf/v850-elf/v850/libstdc++-v3/src
-L/builds/FSF/v850-elf/v850-elf/v850/libstdc++-v3/src/.libs -nostdinc
-B/builds/FSF/v850-elf/v850-elf/v850/newlib/ -isystem
/builds/FSF/v850-elf/v850-elf/v850/newlib/targ-include -isystem
/sources/FSF/newlib/libc/include -B/usr/local/v850-elf/bin/
-B/usr/local/v850-elf/lib/ -isystem /usr/local/v850-elf/include -isystem
/usr/local/v850-elf/sys-include -L/builds/FSF/v850-elf/ld -mv850 -nostdinc++
-I/builds/FSF/v850-elf/v850-elf/v850/libstdc++-v3/include/v850-elf
-I/builds/FSF/v850-elf/v850-elf/v850/libstdc++-v3/include
-I/sources/FSF/libstdc++-v3/libsupc++ -I/sources/FSF/libstdc++-v3/libmath -O2 -g
-O2 -g -O2 -mv850 -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings
-fdiagnostics-show-location=once -c
/sources/FSF/libstdc++-v3/src/istream-inst.cc -o istream-inst.o
/builds/FSF/v850-elf/v850-elf/v850/libstdc++-v3/include/iomanip: In function `
   std::basic_istream<_CharT, _Traits>&
   std::operator>>(std::basic_istream<_CharT, _Traits>&, std::_Setbase) [with
   _CharT = char, _Traits = std::char_traits<char>]':
/sources/FSF/libstdc++-v3/src/istream-inst.cc:53:   instantiated from here
/builds/FSF/v850-elf/v850-elf/v850/libstdc++-v3/include/iomanip:148: internal
compiler error: in
   schedule_block, at haifa-sched.c:2195


I will look into this and ask Vlad to review my patch.

Cheers
  Nick



More information about the Gcc-bugs mailing list