Avoid cc1 SEGV in gcc.dg/rtl/x86_64/final.c (PR target/79975)

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Wed Jan 31 10:03:00 GMT 2018


As described in the PR, cc1 SEGVs compiling gcc.dg/rtl/x86_64/final.c on
targets that default to -fno-dwarf2-cfi-asm.  However, the test is
compile-only, so doesn't depend on the toolchain's support for cfi
directives.  Besides, it scans the output for those, so depends on
-fdwarf2-cfi-asm anyway, so I'm adding it explicitly.

Tested with the appropriate runtest invocation on i386-pc-solaris2.11
with as (-fno-dwarf2-cfi-asm default), gas (-fdwarf2-cfi-asm default),
and x86_64-pc-linux-gnu.

Ok for mainline and gcc-7 branch?

	Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University


2018-01-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	PR target/79975
	* gcc.dg/rtl/x86_64/final.c: Add -fdwarf2-cfi-asm to dg-options.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: testsuite-amd64-rtl-x86_64-final.patch
Type: text/x-patch
Size: 638 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20180131/93007975/attachment.bin>


More information about the Gcc-patches mailing list