[Bug c++/22405] [4.1 Regression] ICE in when instantiating a template function, for illegal code
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Jul 11 14:42:00 GMT 2005
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-11 14:28 -------
I don't get any ICE with a build last night:
GNU C++ version 4.1.0 20050711 (experimental) (i686-pc-linux-gnu)
compiled by GNU C version 4.1.0 20050711 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: c31b6346e19edf60575edbc32c6610bc
t.cc:5: error: redefinition of Âtemplate<class T> void foo(T&)Â
t.cc:1: error: Âtemplate<class T> void foo(T&)Â previously declared here
earth:~>
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |minor
Keywords| |error-recovery
Summary|ICE in when instantiating a |[4.1 Regression] ICE in when
|template function, for |instantiating a template
|illegal code |function, for illegal code
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22405
More information about the Gcc-bugs
mailing list