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>

Reply via email to