public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* optimization/10362: Optimization with constant shifts and compares fails on MIPS
@ 2003-04-09 18:46 dberger
0 siblings, 0 replies; 3+ messages in thread
From: dberger @ 2003-04-09 18:46 UTC (permalink / raw)
To: gcc-gnats
>Number: 10362
>Category: optimization
>Synopsis: Optimization with constant shifts and compares fails on MIPS
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Apr 09 18:46:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: dberger@motorola.com
>Release: 3.2-3
>Organization:
>Environment:
Cross compiler for embedded MIPS processor
>Description:
Compiling the attached program for a MIPS with -O2 generate incorrect code for the first comparison. It should be using 224 (14*16), but instead generates 209 (14*16 - 16 + 1). Pretty weird.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: optimization/10362: Optimization with constant shifts and compares fails on MIPS
@ 2003-04-09 23:37 bangerth
0 siblings, 0 replies; 3+ messages in thread
From: bangerth @ 2003-04-09 23:37 UTC (permalink / raw)
To: dberger, gcc-bugs, gcc-prs, nobody
Synopsis: Optimization with constant shifts and compares fails on MIPS
State-Changed-From-To: feedback->closed
State-Changed-By: bangerth
State-Changed-When: Wed Apr 9 23:37:17 2003
State-Changed-Why:
User error
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10362
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: optimization/10362: Optimization with constant shifts and compares fails on MIPS
@ 2003-04-09 22:44 bangerth
0 siblings, 0 replies; 3+ messages in thread
From: bangerth @ 2003-04-09 22:44 UTC (permalink / raw)
To: dberger, gcc-bugs, gcc-prs, nobody
Synopsis: Optimization with constant shifts and compares fails on MIPS
State-Changed-From-To: open->feedback
State-Changed-By: bangerth
State-Changed-When: Wed Apr 9 22:44:59 2003
State-Changed-Why:
The attachment got lost. Can you please re-send it as a
reply to this mail?
Thanks
Wolfgang
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10362
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-04-09 23:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-09 18:46 optimization/10362: Optimization with constant shifts and compares fails on MIPS dberger
2003-04-09 22:44 bangerth
2003-04-09 23:37 bangerth
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).