From 40fdc3ec7a53f2bc60b656bf6289497135601630 Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Tue, 6 Feb 2018 10:28:47 +0000 Subject: [PATCH] Avoid cc1 SEGV in gcc.dg/rtl/x86_64/final.c (PR target/79975) PR target/79975 * gcc.dg/rtl/x86_64/final.c: Add -fdwarf2-cfi-asm to dg-options. From-SVN: r257408 --- gcc/testsuite/ChangeLog | 7 ++++++- gcc/testsuite/gcc.dg/rtl/x86_64/final.c | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 41dae445f1f..8fed491f5f0 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,7 +1,12 @@ +2018-02-06 Rainer Orth + + PR target/79975 + * gcc.dg/rtl/x86_64/final.c: Add -fdwarf2-cfi-asm to dg-options. + 2018-02-05 Martin Sebor PR tree-optimization/83369 - gcc.dg/Wnonnull.c: New test. + * gcc.dg/Wnonnull.c: New test. 2018-02-05 Richard Sandiford diff --git a/gcc/testsuite/gcc.dg/rtl/x86_64/final.c b/gcc/testsuite/gcc.dg/rtl/x86_64/final.c index 3e37ce2cd9e..de13df47c69 100644 --- a/gcc/testsuite/gcc.dg/rtl/x86_64/final.c +++ b/gcc/testsuite/gcc.dg/rtl/x86_64/final.c @@ -1,5 +1,5 @@ /* { dg-do compile { target { { i?86-*-* x86_64-*-* } && lp64 } } } */ -/* { dg-options "-fdump-rtl-final" } */ +/* { dg-options "-fdwarf2-cfi-asm -fdump-rtl-final" } */ /* Lightly-modified dump of test.c.304r.dwarf2 for x86_64 target, with various NOTE_INSN_CFI deleted by hand for now. */ -- 2.30.2