This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Optimize initialization from compound literals (PR tree-optimization/33723)
- From: Eric Botcazou <ebotcazou at libertysurf dot fr>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Richard Guenther <richard dot guenther at gmail dot com>, Joseph Myers <joseph at codesourcery dot com>, gcc-patches at gcc dot gnu dot org
- Date: Fri, 9 Nov 2007 12:09:16 +0100
- Subject: Re: [PATCH] Optimize initialization from compound literals (PR tree-optimization/33723)
- References: <20071029213153.GJ5451@devserv.devel.redhat.com> <84fc9c000710300609n378276d8l4dcec20f111253a@mail.gmail.com> <20071030133428.GO5451@devserv.devel.redhat.com>
> Sorry, fixed thusly (committed).
The test doesn't pass on i586:
FAIL: gcc.dg/tree-ssa/pr33723.c scan-tree-dump-times gimple "t.f.f1 = 1" 4
FAIL: gcc.dg/tree-ssa/pr33723.c scan-tree-dump-times gimple "t.f.f8 = 8" 4
baz3 ()
{
static union T C.3 =
{.f={.f1=1, .f2=2, .f3=3, .f4=4, .f5=5, .f6=6, .f7=7, .f8=8, .f9=9, .f10=10, .f11=11}};
union T t;
t = C.3;
test (&t);
}
--
Eric Botcazou