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

            Bug ID: 98964
           Summary: FAIL: g++.dg/cpp0x/constexpr-52830.C  -std=c++14 (test
                    for excess errors)
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: danglin at gcc dot gnu.org
  Target Milestone: ---
              Host: hppa-unknown-linux-gnu
            Target: hppa-unknown-linux-gnu
             Build: hppa-unknown-linux-gnu

spawn -ignore SIGHUP /home/dave/gnu/gcc/objdir/gcc/testsuite/g++/../../xg++
-B/h
ome/dave/gnu/gcc/objdir/gcc/testsuite/g++/../../
/home/dave/gnu/gcc/gcc/gcc/test
suite/g++.dg/cpp0x/constexpr-52830.C -fdiagnostics-plain-output -nostdinc++
-I/h
ome/dave/gnu/gcc/objdir/hppa-linux-gnu/libstdc++-v3/include/hppa-linux-gnu
-I/ho
me/dave/gnu/gcc/objdir/hppa-linux-gnu/libstdc++-v3/include
-I/home/dave/gnu/gcc/
gcc/libstdc++-v3/libsupc++
-I/home/dave/gnu/gcc/gcc/libstdc++-v3/include/backward
-I/home/dave/gnu/gcc/gcc/libstdc++-v3/testsuite/util -fmessage-length=0
-std=c++14 -pedantic-errors -Wno-long-long -S -o constexpr-52830.s
/home/dave/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/constexpr-52830.C:27:1:
error: no declaration matches 'void foo::func(T&&, typename eif<same<decltype
(a), int&&>::value>::type*)'
/home/dave/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/constexpr-52830.C:21:8: note:
candidate is: 'template<class T> void foo::func(T&&, typename eif<same<decltype
(a), int&&>::value>::type*)'
/home/dave/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/constexpr-52830.C:19:8: note:
'struct foo' defined here
compiler exited with status 1
XPASS: g++.dg/cpp0x/constexpr-52830.C  -std=c++14 (internal compiler error)
FAIL: g++.dg/cpp0x/constexpr-52830.C  -std=c++14 (test for excess errors)
Excess errors:
/home/dave/gnu/gcc/gcc/gcc/testsuite/g++.dg/cpp0x/constexpr-52830.C:27:1:
error: no declaration matches 'void foo::func(T&&, typename eif<same<decltype
(a), int&&>::value>::type*)'

Similar fails:
FAIL: g++.dg/cpp0x/constexpr-52830.C  -std=c++17 (test for excess errors)
FAIL: g++.dg/cpp0x/constexpr-52830.C  -std=c++2a (test for excess errors)

Reply via email to