[Bug c++/78269] New: FAIL: FAIL: g++.dg/cpp1z/noexcept-type11.C and FAIL: g++.dg/cpp1z/noexcept-type9.C

amker at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 9 09:11:00 GMT 2016


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

            Bug ID: 78269
           Summary: FAIL: FAIL: g++.dg/cpp1z/noexcept-type11.C and FAIL:
                    g++.dg/cpp1z/noexcept-type9.C
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: amker at gcc dot gnu.org
  Target Milestone: ---

Tests added by revision 241944 failed on arm target:

Test noexcept-typ11.C failed on arm targets with:

/.../src/gcc/gcc/testsuite/g++.dg/cpp1z/noexcept-type11.C:3:6: warning: mangled
name for 'void f(int (*)() noexcept)' will change in C++17 because the
exception specification is part of a function type [-Wc++1z-compat]
In function 'void f(int (*)() noexcept)':
cc1plus: warning: mangled name for '<built-in>' will change in C++17 because
the exception specification is part of a function type [-Wc++1z-compat]
cc1plus: warning: mangled name for '<built-in>' will change in C++17 because
the exception specification is part of a function type [-Wc++1z-compat]

PASS: g++.dg/cpp1z/noexcept-type11.C    (test for warnings, line 3)
FAIL: g++.dg/cpp1z/noexcept-type11.C   (test for excess errors)


Test noexcept-type9.C failed on both arm and aarch64(linux and elf) targets
with:

output is:
/.../src/gcc/gcc/testsuite/g++.dg/cpp1z/noexcept-type9.C:18:8: error: could not
convert template argument '&A::g' from 'void (A::*)()' to 'void (A::*)()
noexcept'

PASS: g++.dg/cpp1z/noexcept-type9.C    (test for errors, line 18)
PASS: g++.dg/cpp1z/noexcept-type9.C   (test for excess errors)
UNRESOLVED: g++.dg/cpp1z/noexcept-type9.C   compilation failed to produce
executable


More information about the Gcc-bugs mailing list