------- Comment #1 from reichelt at gcc dot gnu dot org  2006-01-04 12:07 
-------
Confirmed.
The call to operator() is not the problem, though, as the following shorter
testcase shows:

==========================
template<int> struct A
{
  A(int);
};

void foo()
{
  A<0>(A<0>(0));
}
==========================

This also affects the 4.0 branch. This is a regression from 4.0.2!


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
           Severity|normal                      |critical
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |monitored
   Last reconfirmed|0000-00-00 00:00:00         |2006-01-04 12:07:30
               date|                            |
            Summary|[4.1/4.2 Regression] Parses |[4.0/4.1/4.2 Regression]
                   |operator() call as          |Parses operator() call as
                   |declarator                  |declarator
   Target Milestone|---                         |4.0.3


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25663


Reply via email to