This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/49414] gcc.dg/pr44194-1.c fails
- From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 15 Jun 2011 17:04:15 +0000
- Subject: [Bug rtl-optimization/49414] gcc.dg/pr44194-1.c fails
- Auto-submitted: auto-generated
- References: <bug-49414-4@http.gcc.gnu.org/bugzilla/>
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.