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: Fix scan-tree-dump for scop-19.c


On Wed, Feb 4, 2015 at 10:45 AM, Tom de Vries <Tom_deVries@mentor.com> wrote:
> 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?

Ok.

Thanks,
RIchard.

> Thanks,
> - Tom


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