This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Update pr29215.c testcase for recent gimplify.c changes (PR testsuite/65506)
- From: Richard Biener <rguenther at suse dot de>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 23 Mar 2015 21:00:10 +0100
- Subject: Re: [PATCH] Update pr29215.c testcase for recent gimplify.c changes (PR testsuite/65506)
- Authentication-results: sourceware.org; auth=none
- References: <20150323195632 dot GB1746 at tucnak dot redhat dot com>
On March 23, 2015 8:56:32 PM GMT+01:00, Jakub Jelinek <jakub@redhat.com> wrote:
>Hi!
>
>Since recent gimplifier changes, memcpy at least on some architectures
>might
>not be folded already during gimplification, so we need to wait until
>ccp1.
>
>Regtested on x86_64-linux and i686-linux, tested with hppa-linux
>cross-compiler too, ok for trunk?
OK
Thanks,
Richard.
>2015-03-23 Jakub Jelinek <jakub@redhat.com>
>
> PR testsuite/65506
> * gcc.dg/pr29215.c: Dump and analyse ccp1 dump instead of
> gimple dump.
>
>--- gcc/testsuite/gcc.dg/pr29215.c.jj 2008-11-21 14:05:09.000000000
>+0100
>+++ gcc/testsuite/gcc.dg/pr29215.c 2015-03-23 15:02:06.252770764 +0100
>@@ -1,6 +1,6 @@
> /* PR middle-end/29215 */
> /* { dg-do compile } */
>-/* { dg-options "-O2 -fdump-tree-gimple" } */
>+/* { dg-options "-O2 -fdump-tree-ccp1" } */
>
>char buf[5 * sizeof (int) + 1] __attribute__((aligned (__alignof__
>(int))));
>
>@@ -29,5 +29,5 @@ main (void)
> return 0;
> }
>
>-/* { dg-final { scan-tree-dump-not "memcpy" "gimple" } } */
>-/* { dg-final { cleanup-tree-dump "gimple" } } */
>+/* { dg-final { scan-tree-dump-not "memcpy" "ccp1" } } */
>+/* { dg-final { cleanup-tree-dump "ccp1" } } */
>
> Jakub