g++-20001127: segmentation fault on bogus code

Laurent Bonnaud Laurent.Bonnaud@inpg.fr
Fri Dec 8 09:00:00 GMT 2000


Hi,

here are details about this bug : 

$ g++ -v
Reading specs from /usr/local/egcs/bin/../lib/gcc-lib/i686-pc-linux-gnu/2.97/specs
Configured with: ../gcc-20001127/configure --prefix=/usr/local/gcc-20001127 --enable-shared
gcc version 2.97 20001127 (experimental)

$ g++ -c bug11.cpp 
bug11.cpp:3: Internal error: Segmentation fault.
Please submit a full bug report.
See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.

Here is the code (note the missing '>'):

template <class T
class A
{
};

-- 
Laurent.


More information about the Gcc-bugs mailing list