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: [email protected]
ReportedBy: [email protected]
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)