Re: How to debug dg-final test: FAIL (gcc.dg/pr30957-1.c: scan-rtl-dump)?

Andreas Schwab <[email protected]>
Newsgroups gmane.comp.sysutils.dejagnu.general
Message-ID <[email protected]>
Mikyung Kang <[email protected]> writes:

> (1) When I run the gcc.dg/pr30957-1.c (same to gcc.dg/var-expand1.c), I got
> the FAIL at the dg-final-proc step (the text "Expanding Accumulator" can
> not be found in the "loop2_unroll" dump file?). Could you please let me
> know how I can debug/solve this FAIL problem at the dg-final? Is there any
> reference/information about dg-final-proc?
>
> .....
> /* { dg-final { scan-rtl-dump "Expanding Accumulator" "loop2_unroll" } } */

Run the command (as recorded in the gcc.log file) manually, then examine
the generated dump file.

Andreas.

-- 
Andreas Schwab, SUSE Labs, [email protected]
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.