public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/14591] New: index variable reuse
@ 2004-03-16 2:05 kong at ece dot ucdavis dot edu
2004-03-16 2:43 ` [Bug target/14591] " pinskia at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: kong at ece dot ucdavis dot edu @ 2004-03-16 2:05 UTC (permalink / raw)
To: gcc-bugs
In config/i386/i386.c, the inner loop at line 1753 uses the same index variable
(i) that is used by the outer loop at line 1741.
--
Summary: index variable reuse
Product: gcc
Version: 3.3.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: kong at ece dot ucdavis dot edu
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i386-redhat-linux
GCC host triplet: i386-redhat-linux
GCC target triplet: i386-redhat-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14591
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/14591] index variable reuse
2004-03-16 2:05 [Bug target/14591] New: index variable reuse kong at ece dot ucdavis dot edu
@ 2004-03-16 2:43 ` pinskia at gcc dot gnu dot org
2004-03-16 2:55 ` reichelt at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-03-16 2:43 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-03-16 02:43 -------
Confirmed, it will never show up in ia32 build of gcc, it will only show up in a x86_64 build of gcc.
Here is the code in question (in the function classify_argument):
for (i = 0; i < n_bases; ++i)
{
......
for (i = 0; i < num; i++)
{
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |hubicka at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
GCC build triplet|i386-redhat-linux |
GCC host triplet|i386-redhat-linux |
GCC target triplet|i386-redhat-linux |x86_64-*-*
Keywords| |wrong-code
Last reconfirmed|0000-00-00 00:00:00 |2004-03-16 02:43:28
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14591
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/14591] index variable reuse
2004-03-16 2:05 [Bug target/14591] New: index variable reuse kong at ece dot ucdavis dot edu
2004-03-16 2:43 ` [Bug target/14591] " pinskia at gcc dot gnu dot org
@ 2004-03-16 2:55 ` reichelt at gcc dot gnu dot org
2004-09-19 22:34 ` steven at gcc dot gnu dot org
2004-11-04 18:53 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-03-16 2:55 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-03-16 02:55 -------
This happens in fact twice in this file.
The 3.4 branch and mainline are also affected.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14591
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/14591] index variable reuse
2004-03-16 2:05 [Bug target/14591] New: index variable reuse kong at ece dot ucdavis dot edu
2004-03-16 2:43 ` [Bug target/14591] " pinskia at gcc dot gnu dot org
2004-03-16 2:55 ` reichelt at gcc dot gnu dot org
@ 2004-09-19 22:34 ` steven at gcc dot gnu dot org
2004-11-04 18:53 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: steven at gcc dot gnu dot org @ 2004-09-19 22:34 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From steven at gcc dot gnu dot org 2004-09-19 22:34 -------
nice catch.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |stevenb at suse dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14591
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/14591] index variable reuse
2004-03-16 2:05 [Bug target/14591] New: index variable reuse kong at ece dot ucdavis dot edu
` (2 preceding siblings ...)
2004-09-19 22:34 ` steven at gcc dot gnu dot org
@ 2004-11-04 18:53 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-04 18:53 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-04 18:53 -------
Lets mark this as a dup of bug 18300 which contains a testcase.
*** This bug has been marked as a duplicate of 18300 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14591
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-11-04 18:53 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-16 2:05 [Bug target/14591] New: index variable reuse kong at ece dot ucdavis dot edu
2004-03-16 2:43 ` [Bug target/14591] " pinskia at gcc dot gnu dot org
2004-03-16 2:55 ` reichelt at gcc dot gnu dot org
2004-09-19 22:34 ` steven at gcc dot gnu dot org
2004-11-04 18:53 ` 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).