[Bug c++/48838] New: [4.6 Regression] valid template code does not compile
b.buschinski at web dot de
gcc-bugzilla@gcc.gnu.org
Sat Apr 30 23:46:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48838
Summary: [4.6 Regression] valid template code does not compile
Product: gcc
Version: 4.6.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: b.buschinski@web.de
Created attachment 24154
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24154
reduced testcase
gcc kdevtest2.cpp
kdevtest2.cpp: In constructor
'DUChainItemRegistrator<T>::DUChainItemRegistrator()':
kdevtest2.cpp:13:50: error: expected primary-expression before '>' token
kdevtest2.cpp:13:52: error: expected primary-expression before ')' token
fails with
gcc 4.6.1 20110430 rev. 173224
works fine with
gcc 4.5.2
(some people told me that it also works fine with 4.6.1 20110329)
More information about the Gcc-bugs
mailing list