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  <ja...@redhat.com>

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

--- 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" } } */

        Jakub

Reply via email to