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: "eraman at google dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 15 Jun 2011 16:59:00 +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 #2 from Easwaran Raman <eraman at google dot com> 2011-06-15 16:58:57 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)
===================================================================
--- gcc/testsuite/gcc.dg/pr44194-1.c (revision 175063)
+++ gcc/testsuite/gcc.dg/pr44194-1.c (working copy)
@@ -1,4 +1,4 @@
-/* { dg-do compile } */
+/* { dg-do compile { target x86_64-*-* } } */
/* { dg-options "-O2 -fdump-rtl-dse1" } */
#include <stdint.h>