This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

1.1.2 ICE on one-liner



The following single line program generates an ICE with both the FreeBSD
port collection's egcs and with an m68k cross compiler built straight
from the 1.1.2 distribution:

std::vector<int> abc;

>egcc --save-temps -v -c blah.cpp 
Reading specs from
/usr/local/lib/gcc-lib/i386-portbld-freebsd3.1/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
 /usr/local/lib/gcc-lib/i386-portbld-freebsd3.1/egcs-2.91.66/cpp
-lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus
-D__GNUC_MINOR__=91 -Di386 -D__ELF__ -Dunix -D__FreeBSD__=3 -D__i386__
-D__ELF__ -D__unix__ -D__FreeBSD__=3 -D__i386 -D__unix -Acpu(i386)
-Amachine(i386) -Asystem(unix) -Asystem(FreeBSD) -D__EXCEPTIONS
-Asystem(unix) -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__
blah.cpp blah.ii
GNU CPP version egcs-2.91.66 19990314 (egcs-1.1.2 release) (i386
FreeBSD/ELF)
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/lib/gcc-lib/i386-portbld-freebsd3.1/egcs-2.91.66/include/g++
 /usr/local/include
 /usr/local/i386-portbld-freebsd3.1/include
 /usr/local/lib/gcc-lib/i386-portbld-freebsd3.1/egcs-2.91.66/include
 /usr/include
End of search list.
 /usr/local/lib/gcc-lib/i386-portbld-freebsd3.1/egcs-2.91.66/cc1plus
blah.ii -quiet -dumpbase blah.cc -version -o blah.s
GNU C++ version egcs-2.91.66 19990314 (egcs-1.1.2 release)
(i386-portbld-freebsd3.1) compiled by GNU C version egcs-2.91.66
19990314 (egcs-1.1.2 release).
blah.cpp:1: Internal compiler error 980711.
blah.cpp:1: Please submit a full bug report to
`egcs-bugs@egcs.cygnus.com'.
blah.cpp:1: See <URL:http://egcs.cygnus.com/faq.html#bugreport> for
details.


and (note that the cross compiler was [I just noticed] built with an old
gcc--however, this still gives the same error as the native egcs-1.1.2
above):

>m68k-wrs-vxworks5.3-gcc --save-temps -v -c blah.cpp
Reading specs from
/usr/local/lib/gcc-lib/m68k-wrs-vxworks5.3/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
 /usr/local/lib/gcc-lib/m68k-wrs-vxworks5.3/egcs-2.91.66/cpp -lang-c++
-v -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -D__GNUC_MINOR__=91
-Dmc68000 -D__vxworks -D__vxworks_5 -D__mc68000__ -D__vxworks
-D__vxworks_5 -D__mc68000 -Acpu(m68k) -Amachine(m68k) -D__EXCEPTIONS
-D__HAVE_68881__ -Dmc68020 -D__mc68020 -D__mc68020__ -DCPU=MC68020
blah.cpp blah.ii
GNU CPP version egcs-2.91.66 19990314 (egcs-1.1.2 release) (68k, MIT
syntax)
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include/g++
 /usr/local/lib/gcc-lib/m68k-wrs-vxworks5.3/egcs-2.91.66/include
 /usr/local/m68k-wrs-vxworks5.3/includeEnd of search list.
/usr/local/lib/gcc-lib/m68k-wrs-vxworks5.3/egcs-2.91.66/cc1plus blah.ii
-quiet -dumpbase blah.cc -version -o blah.s
GNU C++ version egcs-2.91.66 19990314 (egcs-1.1.2 release)
(m68k-wrs-vxworks5.3) compiled by GNU C version 2.7.2.1.
blah.cpp:1: Internal compiler error 980711.
blah.cpp:1: Please submit a full bug report to
`egcs-bugs@egcs.cygnus.com'.
blah.cpp:1: See <URL:http://egcs.cygnus.com/faq.html#bugreport> for
details.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]