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

Mikyung Kang <[email protected]>
Newsgroups gmane.comp.sysutils.dejagnu.general
Message-ID <CAE3N0bN+M-Ytu1a-boOiNEQi6LgbJd0V2S=rVhosbSCND52Y9g@mail.gmail.com>
Hello,

(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" } } */
.....
Exec succeeded.
Running dg-final tests.
dg-final-proc:
 scan-rtl-dump "Expanding Accumulator" "loop2_unroll"
 cleanup-rtl-dump "loop*"

FAIL: gcc.dg/pr30957-1.c scan-rtl-dump loop2_unroll "Expanding Accumulator"
.....


(2) I'm getting some compilation errors b/c the expect_out uses "\r\n" but
actual output uses "^M". Is there any way to avoid that error in the
dejagnu side or other tips?

Thank you in advance for your help!
Mikyung

_______________________________________________
DejaGnu mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/dejagnu
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.