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

            Bug ID: 77944
           Summary: FAIL: 20_util/variant/compile.cc (test for excess
                    errors)
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: danglin at gcc dot gnu.org
  Target Milestone: ---
              Host: hppa2.0w-hp-hpux11.11
            Target: hppa2.0w-hp-hpux11.11
             Build: hppa2.0w-hp-hpux11.11

spawn /test/gnu/gcc/objdir/./gcc/xg++ -shared-libgcc
-B/test/gnu/gcc/objdir/./gc
c -nostdinc++ -L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/src
-L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/src/.libs
-L/test/gnu/gcc/
objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/libsupc++/.libs
-B/opt/gnu/gcc/gcc-7/hppa2.0w-hp-hpux11.11/bin/
-B/opt/gnu/gcc/gcc-7/hppa2.0w-hp-hpux11.11/lib/ -isyst
em /opt/gnu/gcc/gcc-7/hppa2.0w-hp-hpux11.11/include -isystem
/opt/gnu/gcc/gcc-7/hppa2.0w-hp-hpux11.11/sys-include
-B/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libstdc++-v3/src/.libs
-D_GLIBCXX_ASSERT -fmessage-length=0 -fno-show-column -g -O2 -DLOCALEDIR="."
-nostdinc++
-I/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/hppa2.0w-hp-hpux11.11
-I/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include
-I/test/gnu/gcc/gcc/libstdc++-v3/libsupc++
-I/test/gnu/gcc/gcc/libstdc++-v3/include/backward
-I/test/gnu/gcc/gcc/libstdc++-v3/testsuite/util
/test/gnu/gcc/gcc/libstdc++-v3/testsuite/20_util/variant/compile.cc
-std=gnu++17 -fno-diagnostics-show-caret -fdiagnostics-color=never -S -o
compile.s
[...]
Excess errors:
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/variant:453:
error: '__try' was not declared in this scope
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/variant:457:
error: expected primary-expression before '...' token
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/variant:457:
error: there are no arguments to '__catch' that depend on a template parameter,
so a declaration of '__catch' must be available [-fpermissive]
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/variant:458:
error: expected ';' before '{' token
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/variant:485:
error: '__try' was not declared in this scope
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/variant:489:
error: expected primary-expression before '...' token
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/variant:489:
error: there are no arguments to '__catch' that depend on a template parameter,
so a declaration of '__catch' must be available [-fpermissive]
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/variant:490:
error: expected ';' before '{' token
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/variant:1188:
error: '__try' was not declared in this scope
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/variant:1193:
error: expected primary-expression before '...' token
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/variant:1193:
error: there are no arguments to '__catch' that depend on a template parameter,
so a declaration of '__catch' must be available [-fpermissive]
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/variant:1194:
error: expected ';' before '{' token
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/variant:1207:
error: '__try' was not declared in this scope
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/variant:1212:
error: expected primary-expression before '...' token
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/variant:1212:
error: there are no arguments to '__catch' that depend on a template parameter,
so a declaration of '__catch' must be available [-fpermissive]
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/variant:1213:
error: expected ';' before '{' token
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/variant:1193:
error: '__catch' was not declared in this scope
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/variant:1212:
error: '__catch' was not declared in this scope
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/variant:1193:
error: '__catch' was not declared in this scope
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/variant:489:
error: '__catch' was not declared in this scope
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/variant:1193:
error: '__catch' was not declared in this scope
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/variant:1193:
error: '__catch' was not declared in this scope
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/variant:1193:
error: '__catch' was not declared in this scope
/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/bits/move.h:135:
error: '_Tp* std::addressof(_Tp&) [with _Tp = const test_pr77641()::X]',
declared using local type 'const test_pr77641()::X', is used but never defined
[-fpermissive]

extra_tool_flags are:
 -std=gnu++17

Reply via email to