public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/16066] New: [3.4 regression] loop strength reduction bug (wrong code)
@ 2004-06-18 20:16 debian-gcc at lists dot debian dot org
  2004-06-18 20:17 ` [Bug c/16066] [3.4 regression] loop strength reduction bug debian-gcc at lists dot debian dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2004-06-18 20:16 UTC (permalink / raw)
  To: gcc-bugs

[forwarded from http://bugs.debian.org/254659]

seen with 2.95, 3.0, 3,2, fixed in 3.3.4, seen in 3.4 20040613

the following code does not terminate when compiled with -O2 -march=i[34]86,
works ok with O2 -march=i[56]86,

#include <stdio.h>

inline void
h1(int *p) {

        printf("%p\n", p);
}

void
h(int* p, int i) {
        int j;

        for(j = 0; j < 16; j++) {
                h1(p + j);
        }
}

int
main(int argc, char **argv) {

	h((int *)0x7fffffc0, 0);
        exit(0);
}

-- 
           Summary: [3.4 regression] loop strength reduction bug (wrong
                    code)
           Product: gcc
           Version: 3.4.1
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: debian-gcc at lists dot debian dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i[34]86-linux
  GCC host triplet: i[34]86-linux
GCC target triplet: i[34]86-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16066


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c/16066] [3.4 regression] loop strength reduction bug
  2004-06-18 20:16 [Bug c/16066] New: [3.4 regression] loop strength reduction bug (wrong code) debian-gcc at lists dot debian dot org
@ 2004-06-18 20:17 ` debian-gcc at lists dot debian dot org
  2004-06-18 20:18 ` debian-gcc at lists dot debian dot org
  2004-06-18 20:26 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2004-06-18 20:17 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark at codesourcery dot com
           Keywords|                            |wrong-code
            Summary|[3.4 regression] loop       |[3.4 regression] loop
                   |strength reduction bug      |strength reduction bug
                   |(wrong code)                |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16066


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c/16066] [3.4 regression] loop strength reduction bug
  2004-06-18 20:16 [Bug c/16066] New: [3.4 regression] loop strength reduction bug (wrong code) debian-gcc at lists dot debian dot org
  2004-06-18 20:17 ` [Bug c/16066] [3.4 regression] loop strength reduction bug debian-gcc at lists dot debian dot org
@ 2004-06-18 20:18 ` debian-gcc at lists dot debian dot org
  2004-06-18 20:26 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2004-06-18 20:18 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |2.95.4 3.0.4 3.2 3.4.1
      Known to work|                            |3.3.4


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16066


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c/16066] [3.4 regression] loop strength reduction bug
  2004-06-18 20:16 [Bug c/16066] New: [3.4 regression] loop strength reduction bug (wrong code) debian-gcc at lists dot debian dot org
  2004-06-18 20:17 ` [Bug c/16066] [3.4 regression] loop strength reduction bug debian-gcc at lists dot debian dot org
  2004-06-18 20:18 ` debian-gcc at lists dot debian dot org
@ 2004-06-18 20:26 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-18 20:26 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-06-18 20:26 -------


*** This bug has been marked as a duplicate of 16052 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16066


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-06-18 20:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-18 20:16 [Bug c/16066] New: [3.4 regression] loop strength reduction bug (wrong code) debian-gcc at lists dot debian dot org
2004-06-18 20:17 ` [Bug c/16066] [3.4 regression] loop strength reduction bug debian-gcc at lists dot debian dot org
2004-06-18 20:18 ` debian-gcc at lists dot debian dot org
2004-06-18 20:26 ` 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).