public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/20767] New: gcc.dg/tree-ssa/ssa-pre-8.c scan-tree-dump-times Eliminated: 4 1 fails on 64-bit systems
@ 2005-04-05 17:46 jsm28 at gcc dot gnu dot org
2005-04-05 17:59 ` [Bug tree-optimization/20767] " dberlin at dberlin dot org
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2005-04-05 17:46 UTC (permalink / raw)
To: gcc-bugs
FAIL: gcc.dg/tree-ssa/ssa-pre-8.c scan-tree-dump-times Eliminated: 4 1
appears on hppa64-hpux and on ia64-hpux with -mlp64. gcc-testresults
also shows it on powerpc64-linux-gnu, x86_64-linux-gnu and mips-irix with
-mabi=64, so this appears to be a generic 64-bit problem.
--
Summary: gcc.dg/tree-ssa/ssa-pre-8.c scan-tree-dump-times
Eliminated: 4 1 fails on 64-bit systems
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jsm28 at gcc dot gnu dot org
CC: dberlin at gcc dot gnu dot org,dnovillo at gcc dot gnu
dot org,gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20767
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/20767] gcc.dg/tree-ssa/ssa-pre-8.c scan-tree-dump-times Eliminated: 4 1 fails on 64-bit systems
2005-04-05 17:46 [Bug tree-optimization/20767] New: gcc.dg/tree-ssa/ssa-pre-8.c scan-tree-dump-times Eliminated: 4 1 fails on 64-bit systems jsm28 at gcc dot gnu dot org
@ 2005-04-05 17:59 ` dberlin at dberlin dot org
2005-04-05 18:02 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: dberlin at dberlin dot org @ 2005-04-05 17:59 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dberlin at gcc dot gnu dot org 2005-04-05 17:56 -------
Subject: Re: New: gcc.dg/tree-ssa/ssa-pre-8.c
scan-tree-dump-times Eliminated: 4 1 fails on 64-bit systems
On Tue, 2005-04-05 at 17:44 +0000, jsm28 at gcc dot gnu dot org wrote:
> FAIL: gcc.dg/tree-ssa/ssa-pre-8.c scan-tree-dump-times Eliminated: 4 1
>
> appears on hppa64-hpux and on ia64-hpux with -mlp64. gcc-testresults
> also shows it on powerpc64-linux-gnu, x86_64-linux-gnu and mips-irix with
> -mabi=64, so this appears to be a generic 64-bit problem.
>
Can you send me the dump file?
I suspect it's eliminating 3 instead of 4 or something (and it's
probably none of the eliminations we care about)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20767
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/20767] gcc.dg/tree-ssa/ssa-pre-8.c scan-tree-dump-times Eliminated: 4 1 fails on 64-bit systems
2005-04-05 17:46 [Bug tree-optimization/20767] New: gcc.dg/tree-ssa/ssa-pre-8.c scan-tree-dump-times Eliminated: 4 1 fails on 64-bit systems jsm28 at gcc dot gnu dot org
2005-04-05 17:59 ` [Bug tree-optimization/20767] " dberlin at dberlin dot org
@ 2005-04-05 18:02 ` pinskia at gcc dot gnu dot org
2005-04-05 18:14 ` [Bug testsuite/20767] " pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-05 18:02 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-05 17:57 -------
Or it might be elimitating 5 since there is an extra cast.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20767
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug testsuite/20767] gcc.dg/tree-ssa/ssa-pre-8.c scan-tree-dump-times Eliminated: 4 1 fails on 64-bit systems
2005-04-05 17:46 [Bug tree-optimization/20767] New: gcc.dg/tree-ssa/ssa-pre-8.c scan-tree-dump-times Eliminated: 4 1 fails on 64-bit systems jsm28 at gcc dot gnu dot org
2005-04-05 17:59 ` [Bug tree-optimization/20767] " dberlin at dberlin dot org
2005-04-05 18:02 ` pinskia at gcc dot gnu dot org
@ 2005-04-05 18:14 ` pinskia at gcc dot gnu dot org
2005-04-05 18:43 ` dberlin at dberlin dot org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-05 18:14 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-05 18:14 -------
The problem is that we eliminate 5 instead of 4.
Eliminated: 5
The easy fix to make sure that this does not fail on any target is the following:
Index: gcc.dg/tree-ssa/ssa-pre-8.c
===============================================================
====
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/tree-ssa/ssa-pre-8.c,v
retrieving revision 1.1
diff -u -p -r1.1 ssa-pre-8.c
--- gcc.dg/tree-ssa/ssa-pre-8.c 4 Apr 2005 19:02:16 -0000 1.1
+++ gcc.dg/tree-ssa/ssa-pre-8.c 5 Apr 2005 18:14:07 -0000
@@ -5,7 +5,7 @@ struct s {
};
int
-foo (unsigned int i, struct s *array)
+foo (__SIZE_TYPE__ i, struct s *array)
{
int *p = array[i].n;
if (p)
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Component|tree-optimization |testsuite
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-04-05 18:14:38
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20767
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug testsuite/20767] gcc.dg/tree-ssa/ssa-pre-8.c scan-tree-dump-times Eliminated: 4 1 fails on 64-bit systems
2005-04-05 17:46 [Bug tree-optimization/20767] New: gcc.dg/tree-ssa/ssa-pre-8.c scan-tree-dump-times Eliminated: 4 1 fails on 64-bit systems jsm28 at gcc dot gnu dot org
` (2 preceding siblings ...)
2005-04-05 18:14 ` [Bug testsuite/20767] " pinskia at gcc dot gnu dot org
@ 2005-04-05 18:43 ` dberlin at dberlin dot org
2005-04-05 22:28 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: dberlin at dberlin dot org @ 2005-04-05 18:43 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dberlin at gcc dot gnu dot org 2005-04-05 18:41 -------
Subject: Re: gcc.dg/tree-ssa/ssa-pre-8.c
scan-tree-dump-times Eliminated: 4 1 fails on 64-bit systems
On Tue, 2005-04-05 at 18:14 +0000, pinskia at gcc dot gnu dot org wrote:
> ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-05 18:14 -------
> The problem is that we eliminate 5 instead of 4.
> Eliminated: 5
>
> The easy fix to make sure that this does not fail on any target is the following:
feel free to apply this
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20767
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug testsuite/20767] gcc.dg/tree-ssa/ssa-pre-8.c scan-tree-dump-times Eliminated: 4 1 fails on 64-bit systems
2005-04-05 17:46 [Bug tree-optimization/20767] New: gcc.dg/tree-ssa/ssa-pre-8.c scan-tree-dump-times Eliminated: 4 1 fails on 64-bit systems jsm28 at gcc dot gnu dot org
` (3 preceding siblings ...)
2005-04-05 18:43 ` dberlin at dberlin dot org
@ 2005-04-05 22:28 ` cvs-commit at gcc dot gnu dot org
2005-04-05 22:30 ` pinskia at gcc dot gnu dot org
2005-04-15 19:20 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-04-05 22:28 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-04-05 22:28 -------
Subject: Bug 20767
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: pinskia@gcc.gnu.org 2005-04-05 22:28:04
Modified files:
gcc/testsuite/gcc.dg/tree-ssa: ssa-pre-8.c
gcc/testsuite : ChangeLog
Log message:
2005-04-05 Andrew Pinski <pinskia@physics.uc.edu>
PR testsuite/20767
* gcc.dg/tree-ssa/ssa-pre-8.c (foo): Use __SIZE_TYPE__ instead
of plain old "unsigned int" for the type of "i". Makes this test
64bit clean.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/tree-ssa/ssa-pre-8.c.diff?cvsroot=gcc&r1=1.1&r2=1.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5290&r2=1.5291
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20767
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug testsuite/20767] gcc.dg/tree-ssa/ssa-pre-8.c scan-tree-dump-times Eliminated: 4 1 fails on 64-bit systems
2005-04-05 17:46 [Bug tree-optimization/20767] New: gcc.dg/tree-ssa/ssa-pre-8.c scan-tree-dump-times Eliminated: 4 1 fails on 64-bit systems jsm28 at gcc dot gnu dot org
` (4 preceding siblings ...)
2005-04-05 22:28 ` cvs-commit at gcc dot gnu dot org
@ 2005-04-05 22:30 ` pinskia at gcc dot gnu dot org
2005-04-15 19:20 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-05 22:30 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-05 22:30 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20767
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug testsuite/20767] gcc.dg/tree-ssa/ssa-pre-8.c scan-tree-dump-times Eliminated: 4 1 fails on 64-bit systems
2005-04-05 17:46 [Bug tree-optimization/20767] New: gcc.dg/tree-ssa/ssa-pre-8.c scan-tree-dump-times Eliminated: 4 1 fails on 64-bit systems jsm28 at gcc dot gnu dot org
` (5 preceding siblings ...)
2005-04-05 22:30 ` pinskia at gcc dot gnu dot org
@ 2005-04-15 19:20 ` pinskia at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-15 19:20 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20767
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2005-04-15 19:20 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-05 17:46 [Bug tree-optimization/20767] New: gcc.dg/tree-ssa/ssa-pre-8.c scan-tree-dump-times Eliminated: 4 1 fails on 64-bit systems jsm28 at gcc dot gnu dot org
2005-04-05 17:59 ` [Bug tree-optimization/20767] " dberlin at dberlin dot org
2005-04-05 18:02 ` pinskia at gcc dot gnu dot org
2005-04-05 18:14 ` [Bug testsuite/20767] " pinskia at gcc dot gnu dot org
2005-04-05 18:43 ` dberlin at dberlin dot org
2005-04-05 22:28 ` cvs-commit at gcc dot gnu dot org
2005-04-05 22:30 ` pinskia at gcc dot gnu dot org
2005-04-15 19:20 ` pinskia at gcc dot gnu dot 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).