This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/16777] [3.3 Regression] C++ parse error in 3.3, OK in 3.2 and 3.4


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-07-27 03:27 -------
Confirmed, I think this is just the parser not being able to handle template right, in previous versions 
of gcc before 3.3, it used to add the template keyword for you sometimes but in 3.3 we removed that 
extension which broke a couple of things, this example included.  Now in 3.4.0 we fixed this by 
rewriting the parser so it would find the places where you do not need (and cannot, this is an example 
of where you cannot use the template keyword) to use the template keyword.

This is almost an example of where we cannot fix 3.3.x at all.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gdr at gcc dot gnu dot org
           Severity|normal                      |minor
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |rejects-valid
   Last reconfirmed|0000-00-00 00:00:00         |2004-07-27 03:27:56
               date|                            |
            Summary|C++ parse error in 3.3, OK  |[3.3 Regression] C++ parse
                   |in 3.2 and 3.4              |error in 3.3, OK in 3.2 and
                   |                            |3.4
   Target Milestone|---                         |3.3.5


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]