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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ABI
           Priority|P3                          |P2
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-05-04
   Target Milestone|---                         |7.2
            Summary|Bad mangling for noexcept   |[7/8 Regression] Bad
                   |abominable function types   |mangling for noexcept
                   |                            |abominable function types
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed, needs -std=c++17, works with GCC 6, fails with GCC 7.

> g++-6 t.C -std=c++17
> g++-7 t.C -std=c++17
/tmp/cc9O32gK.s: Assembler messages:
/tmp/cc9O32gK.s:42: Error: symbol `_Z2fnIKFvvEEvv' is already defined
> c++filt _Z2fnIKFvvEEvv
void fn<void () const>()

> g++-6 t.C -std=c++17 -c
> nm t.o
0000000000000000 W _Z2fnIKFvvEEvv
0000000000000000 T main

so that it works with GCC 6 might be because of another bug (the instantiation
is missing).

Reply via email to