[Bug c++/18037] g++ segfaults on templated code (simple test file included)
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Oct 17 02:24:00 GMT 2004
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-17 02:24 -------
Fixed in 3.4.0 and above, the code is invalid:
template<class T> PatternMap<T>::iterator&
PatternMap<T>::iterator::iterator& operator++(
"iterator& operator" should be "iterator::operator" and there needs to be a typename infront
of the first "PatternMap<T>::iterator&".
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Keywords| |ice-on-invalid-code
Resolution| |FIXED
Target Milestone|--- |3.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18037
More information about the Gcc-bugs
mailing list