This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [testsuite] Fix gcc.dg/debug/dwarf2/pr53948.c with Sun as


On Thu, Feb 14, 2013 at 12:48:01PM +0100, Rainer Orth wrote:
> Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> writes:
> --- a/gcc/testsuite/gcc.dg/debug/dwarf2/pr53948.c
> +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/pr53948.c
> @@ -1,7 +1,7 @@
>  /* Test that we have line information for the line
>     with local variable initializations.  */
>  /* { dg-options "-O0 -g -dA" } */
> -/* { dg-final { scan-assembler ".loc 1 8 0|\[#/!\] line 8" } } */
> +/* { dg-final { scan-assembler ".loc 1 8 0|\[#/!\]\[ \t\]+line 8" } } */

Given dwarf-char*.c regexps, perhaps that should be
\[#@;!/|\]+\[ \t\]+
instead of
\[#/!\]\[ \t\]+

Quick grep reveals m68k uses | and arm uses @.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]