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: [PATCH] Optimize initialization from compound literals (PR tree-optimization/33723)


> 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


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