Crash with g++ using templates

Pierre Barbier de Reuille pierre.barbier@cirad.fr
Thu Feb 27 10:10:00 GMT 2003


Sorry to post here, but I can't use your web interface, so I will 
reproduce the different fields :

Reporter's email: pierre.barbier@cirad.fr
Category: c++ - C++ Front End
Synopsis: crash with templates
Confidential: no
Severity: serious
Priority: medium
Class: sw-bug
Submitter-Id: net
Originator: pierre.barbier@cirad.fr
Release: g++ (GCC) 3.2.3 20030221 (Debian prerelease)
Environment: 	Linux 2.4.20 (recompiled debian kernel)
		Distribution : debian woody + sid packages for gcc/g++
		Processor : Pentium 4
		Memory : 512 Mo
Description: 	I don't really know what happends, but the compiler just
  		crash with a message that says to post the bug here !
		Here's the message :
$ g++ -Wall -W test.ii -o test
graph.hh: Dans member function « G::vertex_descriptor
    boost::collapse<G>::operator()(G::vertex_descriptor, 
G::vertex_descriptor,
    G&) const [with G = MyGraph] »:
test.cc:25:   instancié à partir d'ici
graph.hh:104: no match pour l'opérateur «
erreur interne de compilateur: erreur pour rapporter une routine ré-entée
SVP soumettre un rapport complet d'anomalies,
avec le source pré-traité si cela est approprié.
Consulter <URL:http://www.gnu.org/software/gcc/bugs.html> pour les 
instructions.

		Mmmmmh ... apparently the bug is not when the language
		is set to 'C', so that may be a bug in the
		internationalisation, at least in the french version !
		Here's my language environment variables :
		 - LANG = fr_FR@euro
		 - LC_ALL = fr_FR@euro

How-To-Repeat: 	just compile with the above command line with the french
		environment
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.ii.bz2
Type: application/octet-stream
Size: 135131 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20030227/5cc18f97/attachment.obj>


More information about the Gcc-bugs mailing list