[Bug rtl-optimization/49414] gcc.dg/pr44194-1.c fails

ebotcazou at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jun 15 17:04:00 GMT 2011


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.



More information about the Gcc-bugs mailing list