public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* optimization/5374: NON_OPTIMAL CODE GENERATED FOR SH4
@ 2002-01-14 2:36 naveens
0 siblings, 0 replies; 2+ messages in thread
From: naveens @ 2002-01-14 2:36 UTC (permalink / raw)
To: gcc-gnats; +Cc: sanjivg
>Number: 5374
>Category: optimization
>Synopsis: NON_OPTIMAL CODE GENERATED FOR SH4
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: pessimizes-code
>Submitter-Id: net
>Arrival-Date: Mon Jan 14 02:36:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Naveen Sharma.
>Release: unknown-1.0
>Organization:
>Environment:
System: Linux 2.4.2-2 #1 Sun Apr 8 20:41:30 EDT 2001 i686 unknown
Architecture: i686
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: sh-unknown-linux-gnu
configured with: ../gcc/configure --target=sh-linux
--prefix=/home/naveens/local
--with-as=/home/gcc/gnu_env/tools/sh4/bin/sh-linux-as
--with-ld=/home/gcc/gnu_env/tools/sh4/bin/sh-linux-ld
--with-headers=/usr/sh4-linux/include --with-libs=/usr/sh4-linux/lib
>Description:
refer the following link for details:
http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00531.html
>How-To-Repeat:
Compile the following code with -S -O2 -ml -m4 options.
void
loop_p (np, non0, coeff)
int np,non0;
double coeff[][2048];
{
int i, j, k;
double tmp1;
for (j = non0;j < np;j++)
for (k = 0;k < j;k++) {
coeff[j][j] -= tmp1 * coeff[j][k]; <-- HERE
}
}
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: optimization/5374: NON_OPTIMAL CODE GENERATED FOR SH4
@ 2002-02-22 20:55 rodrigc
0 siblings, 0 replies; 2+ messages in thread
From: rodrigc @ 2002-02-22 20:55 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, naveens, nobody, sanjivg
Synopsis: NON_OPTIMAL CODE GENERATED FOR SH4
State-Changed-From-To: open->closed
State-Changed-By: rodrigc
State-Changed-When: Fri Feb 22 20:38:12 2002
State-Changed-Why:
Duplicate of PR 5360:
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5360
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5374
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-02-23 4:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-14 2:36 optimization/5374: NON_OPTIMAL CODE GENERATED FOR SH4 naveens
2002-02-22 20:55 rodrigc
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).