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++/71251] [5/6/7 regression] ICE on invalid code, with unusual template name


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71251

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
      Known to work|                            |4.9.3
           Keywords|                            |ice-on-invalid-code
   Last reconfirmed|                            |2016-05-26
                 CC|                            |msebor at gcc dot gnu.org
     Ever confirmed|0                           |1
            Summary|ICE on invalid code, with   |[5/6/7 regression] ICE on
                   |unusual template name       |invalid code, with unusual
                   |                            |template name
      Known to fail|                            |5.1.0, 6.1.0, 7.0

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
Confirmed with today's trunk, GCC 6 and GCC 5.  GCC 4.9.3 accepts the invalid
code (invalid due to the double template <...> in the alias template
declaration).  Current trunk also accepts the declaration alone.  Clang rejects
it but EDG eccp 4.10 also accepts it, making me wonder if I'm missing something
about the validity of the construct.

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