public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/11012] [m32r-elf] wrong code with -O at branch of conditional
[not found] <20030528083817.11012.inaoka.kazuhiro@renesas.com>
@ 2003-06-01 3:21 ` dhazeghi@yahoo.com
2003-06-28 18:14 ` pinskia at physics dot uc dot edu
` (6 subsequent siblings)
7 siblings, 0 replies; 8+ messages in thread
From: dhazeghi@yahoo.com @ 2003-06-01 3:21 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=11012
dhazeghi@yahoo.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2003-06-01 03:21:32
date| |
------- Additional Comments From dhazeghi@yahoo.com 2003-06-01 03:21 -------
Confirmed by the submitter.
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/11012] [m32r-elf] wrong code with -O at branch of conditional
[not found] <20030528083817.11012.inaoka.kazuhiro@renesas.com>
2003-06-01 3:21 ` [Bug target/11012] [m32r-elf] wrong code with -O at branch of conditional dhazeghi@yahoo.com
@ 2003-06-28 18:14 ` pinskia at physics dot uc dot edu
2003-07-29 15:04 ` pinskia at physics dot uc dot edu
` (5 subsequent siblings)
7 siblings, 0 replies; 8+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-06-28 18:14 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=11012
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.4 |---
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/11012] [m32r-elf] wrong code with -O at branch of conditional
[not found] <20030528083817.11012.inaoka.kazuhiro@renesas.com>
2003-06-01 3:21 ` [Bug target/11012] [m32r-elf] wrong code with -O at branch of conditional dhazeghi@yahoo.com
2003-06-28 18:14 ` pinskia at physics dot uc dot edu
@ 2003-07-29 15:04 ` pinskia at physics dot uc dot edu
2003-10-31 11:37 ` emarty at nexwave-solutions dot com
` (4 subsequent siblings)
7 siblings, 0 replies; 8+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-29 15:04 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=11012
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|critical |normal
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/11012] [m32r-elf] wrong code with -O at branch of conditional
[not found] <20030528083817.11012.inaoka.kazuhiro@renesas.com>
` (2 preceding siblings ...)
2003-07-29 15:04 ` pinskia at physics dot uc dot edu
@ 2003-10-31 11:37 ` emarty at nexwave-solutions dot com
2003-11-02 11:16 ` emarty at nexwave-solutions dot com
` (3 subsequent siblings)
7 siblings, 0 replies; 8+ messages in thread
From: emarty at nexwave-solutions dot com @ 2003-10-31 11:37 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=11012
------- Additional Comments From emarty at nexwave-solutions dot com 2003-10-31 11:13 -------
1) I confirm the problem exists on gcc 3.3.2 (release).
2) As per PR 11451, using "-O -fno-if-conversion" produces correct code (still
using gcc 3.3.2) :
main:
; PROLOGUE, vars= 0, regs= 1, args= 0, extra= 0
push lr
ldi r5,#0 ; 0x0
ld24 r4,#status
st r5,@(r4)
ld24 r4,#ca+8
ldb r4,@(r4)
ldi r1,#8 ; 0x8
bnez r4,.L52
ldi r1,#0 ; 0x0
.L52:
ldi r0,#0 ; 0x0
ldi r2,#8 ; 0x8
bl func
ld24 r4,#status
ld r0,@(r4)
; EPILOGUE
pop lr
jmp lr
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/11012] [m32r-elf] wrong code with -O at branch of conditional
[not found] <20030528083817.11012.inaoka.kazuhiro@renesas.com>
` (3 preceding siblings ...)
2003-10-31 11:37 ` emarty at nexwave-solutions dot com
@ 2003-11-02 11:16 ` emarty at nexwave-solutions dot com
2003-12-11 3:30 ` kazu at cs dot umass dot edu
` (2 subsequent siblings)
7 siblings, 0 replies; 8+ messages in thread
From: emarty at nexwave-solutions dot com @ 2003-11-02 11: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=11012
------- Additional Comments From emarty at nexwave-solutions dot com 2003-11-02 11:16 -------
The bug also exists in the gcc 3.0.x branch (verified with 3.0.2 and 3.0.4).
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/11012] [m32r-elf] wrong code with -O at branch of conditional
[not found] <20030528083817.11012.inaoka.kazuhiro@renesas.com>
` (4 preceding siblings ...)
2003-11-02 11:16 ` emarty at nexwave-solutions dot com
@ 2003-12-11 3:30 ` kazu at cs dot umass dot edu
2003-12-17 4:13 ` cvs-commit at gcc dot gnu dot org
2003-12-17 4:16 ` kazu at cs dot umass dot edu
7 siblings, 0 replies; 8+ messages in thread
From: kazu at cs dot umass dot edu @ 2003-12-11 3:30 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From kazu at cs dot umass dot edu 2003-12-11 03:30 -------
*** Bug 11451 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11012
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/11012] [m32r-elf] wrong code with -O at branch of conditional
[not found] <20030528083817.11012.inaoka.kazuhiro@renesas.com>
` (5 preceding siblings ...)
2003-12-11 3:30 ` kazu at cs dot umass dot edu
@ 2003-12-17 4:13 ` cvs-commit at gcc dot gnu dot org
2003-12-17 4:16 ` kazu at cs dot umass dot edu
7 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-12-17 4:13 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-12-17 03:30 -------
Subject: Bug 11012
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: kazu@gcc.gnu.org 2003-12-17 03:30:19
Modified files:
gcc : ChangeLog
gcc/config/m32r: m32r.c m32r.md
Log message:
PR target/11012
* config/m32r/m32r.c (gen_compare): Call gen_addsi3 instead of
gen_cmp_ne_small_const_insn.
* config/m32r/m32r.md (cmp_ne_small_const_insn): Remove.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.2013&r2=2.2014
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/m32r/m32r.c.diff?cvsroot=gcc&r1=1.75&r2=1.76
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/m32r/m32r.md.diff?cvsroot=gcc&r1=1.32&r2=1.33
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11012
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/11012] [m32r-elf] wrong code with -O at branch of conditional
[not found] <20030528083817.11012.inaoka.kazuhiro@renesas.com>
` (6 preceding siblings ...)
2003-12-17 4:13 ` cvs-commit at gcc dot gnu dot org
@ 2003-12-17 4:16 ` kazu at cs dot umass dot edu
7 siblings, 0 replies; 8+ messages in thread
From: kazu at cs dot umass dot edu @ 2003-12-17 4:16 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From kazu at cs dot umass dot edu 2003-12-17 03:32 -------
Fixed!
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |kazu at cs dot umass dot edu
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |3.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11012
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2003-12-17 3:32 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20030528083817.11012.inaoka.kazuhiro@renesas.com>
2003-06-01 3:21 ` [Bug target/11012] [m32r-elf] wrong code with -O at branch of conditional dhazeghi@yahoo.com
2003-06-28 18:14 ` pinskia at physics dot uc dot edu
2003-07-29 15:04 ` pinskia at physics dot uc dot edu
2003-10-31 11:37 ` emarty at nexwave-solutions dot com
2003-11-02 11:16 ` emarty at nexwave-solutions dot com
2003-12-11 3:30 ` kazu at cs dot umass dot edu
2003-12-17 4:13 ` cvs-commit at gcc dot gnu dot org
2003-12-17 4:16 ` kazu at cs dot umass dot edu
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).