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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-06-29
      Known to work|                            |8.1.0
     Ever confirmed|0                           |1
      Known to fail|                            |7.3.1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed on the GCC 7 branch head, works with GCC 8.  GCC 6 rejects it with

t.ii:9:1: error: invalid use of template-name ‘c’ without an argument list
 c e(1);
 ^
t.ii:4:30: note: ‘template<class b> struct c’ declared here
 template <typename b> struct c {
                              ^

Reply via email to