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

            Bug ID: 83983
           Summary: FAIL: g++.dg/lto/pr83121  (test for LTO warnings,
                    pr83121_0.C line 8)
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: danglin at gcc dot gnu.org
                CC: marxin 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/home/dave/gnu/gcc/objdir/gcc/testsuite/g++/../../ cp_lto_pr83121_0.o
cp_lto_pr83121_1.o -fno-diagnostics-show-caret -fdiagnostics-color=never
-nostdinc++
-I/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libstdc++-v3/include/hppa-linux-gnu
-I/home/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 -O0
-flto -L/home/dave/gnu/gcc/objdir/hppa-linux-gnu/./libstdc++-v3/src/.libs
-B/home/dave/gnu/gcc/objdir/hppa-linux-gnu/./libstdc++-v3/src/.libs
-L/home/dave/gnu/gcc/objdir/hppa-linux-gnu/./libstdc++-v3/src/.libs -o
g++-dg-lto-pr83121-01.exe
/home/dave/gnu/gcc/gcc/gcc/testsuite/g++.dg/lto/pr83121_0.C:7:10: warning: type
'struct AsyncHooks' violates the C++ One Definition Rule [-Wodr]
/home/dave/gnu/gcc/gcc/gcc/testsuite/g++.dg/lto/pr83121_1.C:2:10: note: a
different type is defined in another translation unit
/home/dave/gnu/gcc/gcc/gcc/testsuite/g++.dg/lto/pr83121_0.C:8:21: note: the
first difference of corresponding definitions is field 'providers_'
/home/dave/gnu/gcc/gcc/gcc/testsuite/g++.dg/lto/pr83121_1.C:3:21: note: a field
of same name but different type is defined in another translation unit
/home/dave/gnu/gcc/gcc/gcc/testsuite/g++.dg/lto/pr83121_0.C:7:10: note: array
types have different bounds
/home/dave/gnu/gcc/gcc/gcc/testsuite/g++.dg/lto/pr83121_0.C:6:8: warning: type
'struct Environment' violates the C++ One Definition Rule [-Wodr]
/home/dave/gnu/gcc/gcc/gcc/testsuite/g++.dg/lto/pr83121_1.C:1:8: note: a
different type is defined in another translation unit
/home/dave/gnu/gcc/gcc/gcc/testsuite/g++.dg/lto/pr83121_0.C:10:14: note: the
first difference of corresponding definitions is field 'async_hooks_'
/home/dave/gnu/gcc/gcc/gcc/testsuite/g++.dg/lto/pr83121_1.C:5:14: note: a field
of same name but different type is defined in another translation unit
/home/dave/gnu/gcc/gcc/gcc/testsuite/g++.dg/lto/pr83121_0.C:7:10: note: type
'struct AsyncHooks' itself violates the C++ One Definition Rule
/home/dave/gnu/gcc/gcc/gcc/testsuite/g++.dg/lto/pr83121_1.C:2:10: note: the
incompatible type is defined here
PASS: g++.dg/lto/pr83121  (test for LTO warnings, pr83121_0.C line 6)
FAIL: g++.dg/lto/pr83121  (test for LTO warnings, pr83121_0.C line 8)
FAIL: g++.dg/lto/pr83121  (test for LTO warnings, pr83121_1.C line 2)
FAIL: g++.dg/lto/pr83121  (test for LTO warnings, pr83121_1.C line 3)
FAIL: g++.dg/lto/pr83121 cp_lto_pr83121_0.o-cp_lto_pr83121_1.o link, -O0 -flto

Reply via email to