re PR c/85870 ([LTO1] ICE in linemap_line_start, at libcpp/line-map.c:794)
authorJakub Jelinek <jakub@redhat.com>
Fri, 8 Mar 2019 22:30:34 +0000 (23:30 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 8 Mar 2019 22:30:34 +0000 (23:30 +0100)
PR c/85870
* gcc.dg/lto/pr85870_0.c: Add dg-extra-ld-options with
-r -nostdlib -flinker-output=nolto-rel.

From-SVN: r269516

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/lto/pr85870_0.c

index 1605c21422de9d52b2d7d327e27b84d9e0978fef..02f24821998f4f04028ff954a5b48fda829114b9 100644 (file)
@@ -1,3 +1,9 @@
+2019-03-08  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c/85870
+       * gcc.dg/lto/pr85870_0.c: Add dg-extra-ld-options with
+       -r -nostdlib -flinker-output=nolto-rel.
+
 2019-03-08  David Malcolm  <dmalcolm@redhat.com>
 
        PR target/79926
index 4b59f607ebd34a4693746812e028629db77d0eb8..b57ac7c0d739de2a5f82b78e5f339ba59a8c66ba 100644 (file)
@@ -1,6 +1,7 @@
 /* PR c/85870 */
 /* { dg-lto-do link } */
 /* { dg-lto-options { { -flto -O2 } } } */
+/* { dg-extra-ld-options { -r -nostdlib -flinker-output=nolto-rel } } */
 
 typedef struct abc_s {
   char a1;