This is the mail archive of the gcc@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]

No way to scan-tree-dump .i01.cgraph?


Hi!

It seems the current dg infrastructure does not support scanning
tree-dumps dumped via -fdump-ipa-XXX because they are labeled
differently.  I worked around this by replacing

    set output_file "[glob [file tail $testcase].t??.[lindex $args 1]]"

with

    set output_file "[glob [file tail $testcase].???.[lindex $args 1]]"

but I'm not sure if this is the right way.

Maybe someone can suggest something better.


Also I need to do more complex matching like the number X in line
matching PATTERN should be the same as Y in line matching PATTERN2.
Is there a way to do this with dg?  Or is it better to output
an extra line to the dump file during compile for the condition
I want to check?

Thanks,
Richard.

--
Richard Guenther <richard dot guenther at uni-tuebingen dot de>
WWW: http://www.tat.physik.uni-tuebingen.de/~rguenth/


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