Fix scan-tree-dump for scop-19.c
Tom de Vries
Tom_deVries@mentor.com
Wed Feb 4 09:45:00 GMT 2015
Hi,
I've observed a FAILURE for gcc.dg/graphite/scop-19.c with fpic:
...
FAIL: gcc.dg/graphite/scop-19.c scan-tree-dump-times graphite "number of SCoPs: 0" 2
...
In the nonpic case, d_growable_string_resize is inlined into
d_growable_string_append_buffer, and we have 2 functions with a loop, wich
results in two 'number of SCoPs' entries.
In the pic case, d_growable_string_resize is not inlined into
d_growable_string_append_buffer (since it's not inlinable), and we have only one
function with a loop, wich results in one 'number of SCoPs' entry.
This patch updates the scan-tree-dump to match the pic/nonpic behaviour.
OK for trunk?
Thanks,
- Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-scan-tree-dump-in-gcc.dg-graphite-scop-19.c-for-.patch
Type: text/x-patch
Size: 824 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150204/9d864ab6/attachment.bin>
More information about the Gcc-patches
mailing list