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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
   Target Milestone|---                         |11.2
   Last reconfirmed|                            |2021-05-17
                 CC|                            |jakub at gcc dot gnu.org
            Summary|[11/12 Regression] ICE:     |[11/12 Regression] ICE:
                   |Segmentation fault (in      |Segmentation fault (in
                   |write_member_name)          |write_member_name) since
                   |                            |r11-2237

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
ICEs since r11-2237-g812798917c59e95405a71b31ab37bd78c0f43f79
Before that it has been rejected with
pr100632.C:6:15: error: template-id ‘f<B{((const int*)(&
nested.Nested::<anonymous>.Nested::<unnamed union>::k))}>’ for ‘void f()’ does
not match any template declaration
    6 | template void f<B{&nested.k}>();
      |               ^~~~~~~~~~~~~~~
pr100632.C:2:18: note: candidate is: ‘template<B <anonymous> > void f()’
    2 | template<B> void f();
      |                  ^

Reply via email to