re PR c/85870 ([LTO1] ICE in linemap_line_start, at libcpp/line-map.c:794)

PR c/85870
	* gcc.dg/lto/pr85870_0.c: Add dg-extra-ld-options with
	-r -nostdlib -flinker-output=nolto-rel.

From-SVN: r269516
This commit is contained in:
Jakub Jelinek 2019-03-08 23:30:34 +01:00 committed by Jakub Jelinek
parent ec0f936b30
commit 407974ae81
2 changed files with 7 additions and 0 deletions

View 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

View 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;