public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/49414] New: gcc.dg/pr44194-1.c failed
@ 2011-06-15 0:46 hjl.tools at gmail dot com
2011-06-15 16:53 ` [Bug rtl-optimization/49414] gcc.dg/pr44194-1.c fails ebotcazou at gcc dot gnu.org
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: hjl.tools at gmail dot com @ 2011-06-15 0:46 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49414
Summary: gcc.dg/pr44194-1.c failed
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: rtl-optimization
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: hjl.tools@gmail.com
CC: eraman@google.com
On Linux/ia32, revision 175063 gave
FAIL: gcc.dg/pr44194-1.c scan-rtl-dump dse1 "global deletions = 2"
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/49414] gcc.dg/pr44194-1.c fails
2011-06-15 0:46 [Bug rtl-optimization/49414] New: gcc.dg/pr44194-1.c failed hjl.tools at gmail dot com
@ 2011-06-15 16:53 ` ebotcazou at gcc dot gnu.org
2011-06-15 16:59 ` eraman at google dot com
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-06-15 16:53 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49414
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011.06.15 16:52:22
CC| |ebotcazou at gcc dot
| |gnu.org
Target Milestone|--- |4.7.0
Summary|gcc.dg/pr44194-1.c failed |gcc.dg/pr44194-1.c fails
Ever Confirmed|0 |1
--- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-06-15 16:52:22 UTC ---
Indeed.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/49414] gcc.dg/pr44194-1.c fails
2011-06-15 0:46 [Bug rtl-optimization/49414] New: gcc.dg/pr44194-1.c failed hjl.tools at gmail dot com
2011-06-15 16:53 ` [Bug rtl-optimization/49414] gcc.dg/pr44194-1.c fails ebotcazou at gcc dot gnu.org
@ 2011-06-15 16:59 ` eraman at google dot com
2011-06-15 17:00 ` ebotcazou at gcc dot gnu.org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: eraman at google dot com @ 2011-06-15 16:59 UTC (permalink / raw)
To: gcc-bugs
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>
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/49414] gcc.dg/pr44194-1.c fails
2011-06-15 0:46 [Bug rtl-optimization/49414] New: gcc.dg/pr44194-1.c failed hjl.tools at gmail dot com
2011-06-15 16:53 ` [Bug rtl-optimization/49414] gcc.dg/pr44194-1.c fails ebotcazou at gcc dot gnu.org
2011-06-15 16:59 ` eraman at google dot com
@ 2011-06-15 17:00 ` ebotcazou at gcc dot gnu.org
2011-06-15 17:04 ` ebotcazou at gcc dot gnu.org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-06-15 17:00 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49414
--- Comment #3 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-06-15 16:59:54 UTC ---
It seems to me that the test should just be skipped for targets that always
return structures in memory, i.e. most 32-bit targets.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/49414] gcc.dg/pr44194-1.c fails
2011-06-15 0:46 [Bug rtl-optimization/49414] New: gcc.dg/pr44194-1.c failed hjl.tools at gmail dot com
` (2 preceding siblings ...)
2011-06-15 17:00 ` ebotcazou at gcc dot gnu.org
@ 2011-06-15 17:04 ` ebotcazou at gcc dot gnu.org
2011-06-15 17:20 ` eraman at gcc dot gnu.org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-06-15 17:04 UTC (permalink / raw)
To: gcc-bugs
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.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/49414] gcc.dg/pr44194-1.c fails
2011-06-15 0:46 [Bug rtl-optimization/49414] New: gcc.dg/pr44194-1.c failed hjl.tools at gmail dot com
` (3 preceding siblings ...)
2011-06-15 17:04 ` ebotcazou at gcc dot gnu.org
@ 2011-06-15 17:20 ` eraman at gcc dot gnu.org
2011-06-15 17:57 ` dominiq at lps dot ens.fr
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: eraman at gcc dot gnu.org @ 2011-06-15 17:20 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49414
--- Comment #5 from eraman at gcc dot gnu.org 2011-06-15 17:20:25 UTC ---
Author: eraman
Date: Wed Jun 15 17:20:20 2011
New Revision: 175082
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175082
Log:
2011-06-15 Easwaran Raman <eraman@google.com>
PR rtl-optimization/49414
* gcc.dg/pr44194-1.c: Restrict test to 64-bit targets.
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/pr44194-1.c
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/49414] gcc.dg/pr44194-1.c fails
2011-06-15 0:46 [Bug rtl-optimization/49414] New: gcc.dg/pr44194-1.c failed hjl.tools at gmail dot com
` (4 preceding siblings ...)
2011-06-15 17:20 ` eraman at gcc dot gnu.org
@ 2011-06-15 17:57 ` dominiq at lps dot ens.fr
2011-06-15 21:24 ` sje at cup dot hp.com
2011-06-15 21:43 ` ebotcazou at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: dominiq at lps dot ens.fr @ 2011-06-15 17:57 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49414
--- Comment #6 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-06-15 17:57:06 UTC ---
For the record, it also fails on powerpc-apple-darwin9.8.0 (see
http://gcc.gnu.org/ml/gcc-testresults/2011-06/msg01771.html ). Could it also be
the cause of new failures in gfortran
FAIL: gfortran.dg/dependency_25.f90 -O1 execution test
FAIL: gfortran.dg/dependency_25.f90 -O2 execution test
FAIL: gfortran.dg/dependency_25.f90 -Os execution test
FAIL: gfortran.dg/der_array_1.f90 -O1 execution test
FAIL: gfortran.dg/der_array_1.f90 -O2 execution test
FAIL: gfortran.dg/der_array_1.f90 -O3 -fomit-frame-pointer execution test
FAIL: gfortran.dg/der_array_1.f90 -O3 -fomit-frame-pointer -funroll-loops
execution test
FAIL: gfortran.dg/der_array_1.f90 -O3 -fomit-frame-pointer -funroll-all-loops
-finline-functions execution test
FAIL: gfortran.dg/der_array_1.f90 -O3 -g execution test
FAIL: gfortran.dg/structure_constructor_1.f03 -O1 execution test
FAIL: gfortran.dg/structure_constructor_1.f03 -O2 execution test
FAIL: gfortran.dg/structure_constructor_1.f03 -O3 -fomit-frame-pointer
execution test
FAIL: gfortran.dg/structure_constructor_1.f03 -O3 -fomit-frame-pointer
-funroll-loops execution test
FAIL: gfortran.dg/structure_constructor_1.f03 -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions execution test
FAIL: gfortran.dg/structure_constructor_1.f03 -O3 -g execution test
?
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/49414] gcc.dg/pr44194-1.c fails
2011-06-15 0:46 [Bug rtl-optimization/49414] New: gcc.dg/pr44194-1.c failed hjl.tools at gmail dot com
` (5 preceding siblings ...)
2011-06-15 17:57 ` dominiq at lps dot ens.fr
@ 2011-06-15 21:24 ` sje at cup dot hp.com
2011-06-15 21:43 ` ebotcazou at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: sje at cup dot hp.com @ 2011-06-15 21:24 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49414
Steve Ellcey <sje at cup dot hp.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sje at cup dot hp.com
--- Comment #7 from Steve Ellcey <sje at cup dot hp.com> 2011-06-15 21:23:51 UTC ---
I am also seeing some new failures on IA64 HP-UX (maybe Linux too, I am not
sure because my Linux run had other problems). I see the same Fortran failures
that Dominique sees.
I also get a failure with gcc.dg/struct-by-value-1.c and I definitively tracked
that failure down to r175063. I haven't verified that the Fortran failures
started with this exact version.
Should these bugs (mine and Dominiques) be a separate bug report? They look
different then the IA32 failure.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/49414] gcc.dg/pr44194-1.c fails
2011-06-15 0:46 [Bug rtl-optimization/49414] New: gcc.dg/pr44194-1.c failed hjl.tools at gmail dot com
` (6 preceding siblings ...)
2011-06-15 21:24 ` sje at cup dot hp.com
@ 2011-06-15 21:43 ` ebotcazou at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-06-15 21:43 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49414
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #8 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-06-15 21:42:16 UTC ---
Yes, please open a PR for the new execution failures and make it depend on the
original PR rtl-optimization/44194. This one is fixed.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2011-06-15 21:43 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-15 0:46 [Bug rtl-optimization/49414] New: gcc.dg/pr44194-1.c failed hjl.tools at gmail dot com
2011-06-15 16:53 ` [Bug rtl-optimization/49414] gcc.dg/pr44194-1.c fails ebotcazou at gcc dot gnu.org
2011-06-15 16:59 ` eraman at google dot com
2011-06-15 17:00 ` ebotcazou at gcc dot gnu.org
2011-06-15 17:04 ` ebotcazou at gcc dot gnu.org
2011-06-15 17:20 ` eraman at gcc dot gnu.org
2011-06-15 17:57 ` dominiq at lps dot ens.fr
2011-06-15 21:24 ` sje at cup dot hp.com
2011-06-15 21:43 ` ebotcazou at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).