Hi!

I've noticed
FAIL: g++.dg/lto/odr-8 cp_lto_odr-8_1.o assemble, -O0 -flto 
-flto-partition=none -fuse-linker-plugin
FAIL: g++.dg/lto/odr-8 cp_lto_odr-8_1.o assemble, -O2 -flto 
-flto-partition=none -fuse-linker-plugin -fno-fat-lto-objects 
FAIL: g++.dg/lto/odr-8 cp_lto_odr-8_1.o assemble, -O0 -flto 
-flto-partition=1to1 -fno-use-linker-plugin 
FAIL: g++.dg/lto/odr-8 cp_lto_odr-8_1.o assemble, -O2 -flto 
-flto-partition=1to1 -fno-use-linker-plugin 
FAIL: g++.dg/lto/odr-8 cp_lto_odr-8_1.o assemble, -O0 -flto -fuse-linker-plugin 
-fno-fat-lto-objects 
FAIL: g++.dg/lto/odr-8 cp_lto_odr-8_1.o assemble, -O2 -flto -fuse-linker-plugin
on both x86_64-linux and i686-linux, dunno how those lines made it into the
test.  Anyway, fixed thusly, tested on x86_64-linux, test passes now,
committed to trunk as obvious.

diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index ea37d69fa88..8e99328feb2 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,13 +1,16 @@
 2020-01-15  Jakub Jelinek  <ja...@redhat.com>
 
+       PR lto/91576
+       * g++.dg/lto/odr-8_1.C: Remove bogus initial lines.
+
        PR target/93009
        * gcc.target/i386/avx512vl-pr93009.c: New test.
 
 2020-01-14  Jan Hubicka  <hubi...@ucw.cz>
 
        PR lto/91576
-       * testsuite/g++.dg/lto/odr-8_0.C: New testcase.
-       * testsuite/g++.dg/lto/odr-8_1.C: New testcase.
+       * g++.dg/lto/odr-8_0.C: New testcase.
+       * g++.dg/lto/odr-8_1.C: New testcase.
 
 2020-01-14  David Malcolm  <dmalc...@redhat.com>
 
diff --git a/gcc/testsuite/g++.dg/lto/odr-8_1.C 
b/gcc/testsuite/g++.dg/lto/odr-8_1.C
index 742df8cc906..cbcd15d76ad 100644
--- a/gcc/testsuite/g++.dg/lto/odr-8_1.C
+++ b/gcc/testsuite/g++.dg/lto/odr-8_1.C
@@ -1,6 +1,3 @@
---- a/gcc/testsuite/g++.dg/lto/odr-8_1.C
-+++ b/gcc/testsuite/g++.dg/lto/odr-8_1.C
-@@ -1,9 +1,9 @@
 struct a {char c; a() {} a(struct a &) {}}; // { dg-lto-message "one type 
needs to be constructed while other not" }
 extern int test (struct a *a);
 int

        Jakub

Reply via email to