Patchwork [committed] Fix up gcc.dg/tree-ssa/pr55579.c test (PR debug/56307)

login
register
mail settings
Submitter Jakub Jelinek
Date March 15, 2013, 7:08 a.m.
Message ID <20130315070840.GJ12913@tucnak.redhat.com>
Download mbox | patch
Permalink /patch/227859/
State New
Headers show

Comments

Jakub Jelinek - March 15, 2013, 7:08 a.m.
Hi!

As this supposedly affects all targets that don't default to DWARF debug
info, I've committed this fix as obvious to force using
-fvar-tracking-assignments everywhere.

Tested on x86_64-linux and with cross to hppa2.0w-hp-hpux11.11.

2013-03-15  Jakub Jelinek  <jakub@redhat.com>

	PR debug/56307
	* gcc.dg/tree-ssa/pr55579.c: Add -fvar-tracking-assignments to
	dg-options.  Remove 32-bit hppa*-*-hpux* xfail.


	Jakub

Patch

--- gcc/testsuite/gcc.dg/tree-ssa/pr55579.c.jj	2013-03-12 09:59:36.000000000 +0100
+++ gcc/testsuite/gcc.dg/tree-ssa/pr55579.c	2013-03-15 08:03:17.056166515 +0100
@@ -1,5 +1,5 @@ 
 /* { dg-do compile } */
-/* { dg-options "-O2 -g -fdump-tree-esra" } */
+/* { dg-options "-O2 -g -fdump-tree-esra -fvar-tracking-assignments" } */
 
 struct S { int a; char b; char c; short d; };
 
@@ -11,6 +11,5 @@  foo (int x)
   return x;
 }
 
-/* Test fails on 32-bit hppa*-*-hpux*.  See PR debug/56307.  */
-/* { dg-final { scan-tree-dump "Created a debug-only replacement for s" "esra" { xfail { hppa*-*-hpux* && { ! lp64 } } } } } */
+/* { dg-final { scan-tree-dump "Created a debug-only replacement for s" "esra" } } */
 /* { dg-final { cleanup-tree-dump "esra" } } */