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]
Other format: [Raw text]

[Bug c++/37037] ICE on template class member function definition after explciit template class instantation



------- Comment #3 from fang at csl dot cornell dot edu  2008-09-27 21:48 -------
original testcase ICEs 4.3.2 also

fang% g++-4 -v 
Using built-in specs.
Target: powerpc-apple-darwin8
Configured with: ../gcc-4.3.2/configure --prefix=/sw --prefix=/sw/lib/gcc4.3
--mandir=/sw/share/man --infodir=/sw/share/info
--enable-languages=c,c++,fortran,objc,java --build=powerpc-apple-darwin8
--with-gmp=/sw --with-libiconv-prefix=/sw --with-system-zlib
--x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
--disable-libjava-multilib
Thread model: posix
gcc version 4.3.2 (GCC) 
fang% g++-4 -ansi -pedantic-errors -c temp.cc -o temp.o
temp.cc: In static member function 'static void S<T>::f() [with T = int]':
temp.cc:6:   instantiated from here
temp.cc:4: internal compiler error: Bus error
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instruction


-- 


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


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