This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix scan-tree-dump for scop-19.c
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: Tom de Vries <Tom_deVries at mentor dot com>
- Cc: Tobias Burnus <burnus at net-b dot de>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 9 Feb 2015 11:04:45 +0100
- Subject: Re: Fix scan-tree-dump for scop-19.c
- Authentication-results: sourceware.org; auth=none
- References: <54D1EA42 dot 7040304 at mentor dot com>
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