[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc-bugs
Subject:    [Bug c++/48838] New: [4.6 Regression] valid template code does not compile
From:       "b.buschinski at web dot de" <gcc-bugzilla () gcc ! gnu ! org>
Date:       2011-04-30 23:46:00
Message-ID: bug-48838-4 () http ! gcc ! gnu ! org/bugzilla/
[Download RAW message or body]

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)
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic