* [Bug target/11229] pure-1.c fails on powerpc64-linux with -O1
2003-06-18 0:07 [Bug target/11229] New: pure-1.c fails on powerpc64-linux with -O1 janis187 at us dot ibm dot com
@ 2003-06-25 13:50 ` pinskia at physics dot uc dot edu
2003-07-12 23:51 ` dje at gcc dot gnu dot org
` (10 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-06-25 13:50 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11229
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2003-06-25 13:31:29
date| |
------- Additional Comments From pinskia at physics dot uc dot edu 2003-06-25 13:31 -------
I can confirm on the mainline (20030625), this still happens.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/11229] pure-1.c fails on powerpc64-linux with -O1
2003-06-18 0:07 [Bug target/11229] New: pure-1.c fails on powerpc64-linux with -O1 janis187 at us dot ibm dot com
2003-06-25 13:50 ` [Bug target/11229] " pinskia at physics dot uc dot edu
@ 2003-07-12 23:51 ` dje at gcc dot gnu dot org
2003-08-23 0:30 ` dhazeghi at yahoo dot com
` (9 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: dje at gcc dot gnu dot org @ 2003-07-12 23:51 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11229
------- Additional Comments From dje at gcc dot gnu dot org 2003-07-12 23:51 -------
The patch should be reposted to gcc-patches as an "unreviewed" patch.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/11229] pure-1.c fails on powerpc64-linux with -O1
2003-06-18 0:07 [Bug target/11229] New: pure-1.c fails on powerpc64-linux with -O1 janis187 at us dot ibm dot com
2003-06-25 13:50 ` [Bug target/11229] " pinskia at physics dot uc dot edu
2003-07-12 23:51 ` dje at gcc dot gnu dot org
@ 2003-08-23 0:30 ` dhazeghi at yahoo dot com
2003-08-27 3:16 ` amodra at gcc dot gnu dot org
` (8 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-08-23 0:30 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11229
dhazeghi at yahoo dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.4 |---
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/11229] pure-1.c fails on powerpc64-linux with -O1
2003-06-18 0:07 [Bug target/11229] New: pure-1.c fails on powerpc64-linux with -O1 janis187 at us dot ibm dot com
` (2 preceding siblings ...)
2003-08-23 0:30 ` dhazeghi at yahoo dot com
@ 2003-08-27 3:16 ` amodra at gcc dot gnu dot org
2003-12-02 0:22 ` zack at gcc dot gnu dot org
` (7 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: amodra at gcc dot gnu dot org @ 2003-08-27 3:16 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11229
amodra at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |amodra at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Target Milestone|--- |3.4
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/11229] pure-1.c fails on powerpc64-linux with -O1
2003-06-18 0:07 [Bug target/11229] New: pure-1.c fails on powerpc64-linux with -O1 janis187 at us dot ibm dot com
` (3 preceding siblings ...)
2003-08-27 3:16 ` amodra at gcc dot gnu dot org
@ 2003-12-02 0:22 ` zack at gcc dot gnu dot org
2003-12-02 2:28 ` amodra at gcc dot gnu dot org
` (6 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: zack at gcc dot gnu dot org @ 2003-12-02 0:22 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From zack at gcc dot gnu dot org 2003-12-02 00:22 -------
I would like to know for sure whether src_eqv_elt should have been set earlier.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11229
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/11229] pure-1.c fails on powerpc64-linux with -O1
2003-06-18 0:07 [Bug target/11229] New: pure-1.c fails on powerpc64-linux with -O1 janis187 at us dot ibm dot com
` (4 preceding siblings ...)
2003-12-02 0:22 ` zack at gcc dot gnu dot org
@ 2003-12-02 2:28 ` amodra at gcc dot gnu dot org
2003-12-02 2:35 ` amodra at gcc dot gnu dot org
` (5 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: amodra at gcc dot gnu dot org @ 2003-12-02 2:28 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From amodra at gcc dot gnu dot org 2003-12-02 02:28 -------
Probably not. Looking over the code again, it appears to me that src_eqv_elt
should only be set when there is a REG_EQUAL note on an insn.
See also http://gcc.gnu.org/ml/gcc-patches/2003-08/msg01695.html
And what looks like a different approach to fixing the same problem:
http://gcc.gnu.org/ml/gcc-patches/2003-11/msg01611.html
I'm doing a build now to see if that's the case.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11229
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/11229] pure-1.c fails on powerpc64-linux with -O1
2003-06-18 0:07 [Bug target/11229] New: pure-1.c fails on powerpc64-linux with -O1 janis187 at us dot ibm dot com
` (5 preceding siblings ...)
2003-12-02 2:28 ` amodra at gcc dot gnu dot org
@ 2003-12-02 2:35 ` amodra at gcc dot gnu dot org
2003-12-02 3:25 ` amodra at gcc dot gnu dot org
` (4 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: amodra at gcc dot gnu dot org @ 2003-12-02 2:35 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From amodra at gcc dot gnu dot org 2003-12-02 02:35 -------
Yes, http://gcc.gnu.org/ml/gcc-patches/2003-11/msg01611.html also fixes the
powerpc64-linux pure-1.c failures.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11229
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/11229] pure-1.c fails on powerpc64-linux with -O1
2003-06-18 0:07 [Bug target/11229] New: pure-1.c fails on powerpc64-linux with -O1 janis187 at us dot ibm dot com
` (6 preceding siblings ...)
2003-12-02 2:35 ` amodra at gcc dot gnu dot org
@ 2003-12-02 3:25 ` amodra at gcc dot gnu dot org
2003-12-02 4:19 ` zack at gcc dot gnu dot org
` (3 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: amodra at gcc dot gnu dot org @ 2003-12-02 3:25 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From amodra at gcc dot gnu dot org 2003-12-02 03:25 -------
Hmm, there are some interesting differences in the behaviour of the two patches.
My patch allows cse to remove the dead calls to link_error*. With Fariborz's
patch, the calls stay until combine cleans things up. Also, -O1 code is better
with my patch as it allows life analysis to remove stores to i[0..7].
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11229
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/11229] pure-1.c fails on powerpc64-linux with -O1
2003-06-18 0:07 [Bug target/11229] New: pure-1.c fails on powerpc64-linux with -O1 janis187 at us dot ibm dot com
` (7 preceding siblings ...)
2003-12-02 3:25 ` amodra at gcc dot gnu dot org
@ 2003-12-02 4:19 ` zack at gcc dot gnu dot org
2003-12-03 11:10 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: zack at gcc dot gnu dot org @ 2003-12-02 4:19 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From zack at gcc dot gnu dot org 2003-12-02 04:19 -------
I think this patch is correct -- the ideal solution may be more complicated, but
let's not worry about that in stage 3.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11229
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/11229] pure-1.c fails on powerpc64-linux with -O1
2003-06-18 0:07 [Bug target/11229] New: pure-1.c fails on powerpc64-linux with -O1 janis187 at us dot ibm dot com
` (8 preceding siblings ...)
2003-12-02 4:19 ` zack at gcc dot gnu dot org
@ 2003-12-03 11:10 ` cvs-commit at gcc dot gnu dot org
2003-12-03 11:13 ` amodra at gcc dot gnu dot org
2004-01-31 12:38 ` cvs-commit at gcc dot gnu dot org
11 siblings, 0 replies; 13+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-12-03 11:10 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-12-03 11:10 -------
Subject: Bug 11229
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: amodra@gcc.gnu.org 2003-12-03 11:09:56
Modified files:
gcc : ChangeLog cse.c
Log message:
PR target/11229
* cse.c (cse_insn): Set classp using src_const_elt if
src_eqv_elt is NULL.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.1899&r2=2.1900
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cse.c.diff?cvsroot=gcc&r1=1.276&r2=1.277
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11229
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/11229] pure-1.c fails on powerpc64-linux with -O1
2003-06-18 0:07 [Bug target/11229] New: pure-1.c fails on powerpc64-linux with -O1 janis187 at us dot ibm dot com
` (9 preceding siblings ...)
2003-12-03 11:10 ` cvs-commit at gcc dot gnu dot org
@ 2003-12-03 11:13 ` amodra at gcc dot gnu dot org
2004-01-31 12:38 ` cvs-commit at gcc dot gnu dot org
11 siblings, 0 replies; 13+ messages in thread
From: amodra at gcc dot gnu dot org @ 2003-12-03 11:13 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From amodra at gcc dot gnu dot org 2003-12-03 11:13 -------
Patch committed for gcc-3.4
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11229
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/11229] pure-1.c fails on powerpc64-linux with -O1
2003-06-18 0:07 [Bug target/11229] New: pure-1.c fails on powerpc64-linux with -O1 janis187 at us dot ibm dot com
` (10 preceding siblings ...)
2003-12-03 11:13 ` amodra at gcc dot gnu dot org
@ 2004-01-31 12:38 ` cvs-commit at gcc dot gnu dot org
11 siblings, 0 replies; 13+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-01-31 12:38 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-01-31 12:38 -------
Subject: Bug 11229
CVSROOT: /cvs/gcc
Module name: gcc
Branch: hammer-3_3-branch
Changes by: amodra@gcc.gnu.org 2004-01-31 12:38:28
Modified files:
gcc : ChangeLog.hammer cse.c
Log message:
Backport from mainline.
2003-12-03 Alan Modra <amodra@bigpond.net.au>
PR target/11229
* cse.c (cse_insn): Set classp using src_const_elt if
src_eqv_elt is NULL.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.hammer.diff?cvsroot=gcc&only_with_tag=hammer-3_3-branch&r1=1.1.2.300&r2=1.1.2.301
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cse.c.diff?cvsroot=gcc&only_with_tag=hammer-3_3-branch&r1=1.243.2.7&r2=1.243.2.8
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11229
^ permalink raw reply [flat|nested] 13+ messages in thread