http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49414

--- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-06-15 
17:03:31 UTC ---
> The DSE opportunity doesn't arise in ia32 since the struct is returned through
> stack. Is the following patch restricting the test to x86_64 ok? (I have 
> tested
> that it works correctly on x86_64, but don't know how to test it gets excluded
> on other platforms)

x86-64 is too restrictive, the test should pass on SPARC64 as well.  I'd
suggest

/* { dg-require-effective-target lp64 } */

with a comment saying that this is an approximation.  Preapproved if it works.

Reply via email to