public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/30931]  New: Simple test case loops infinitely with -O1 -fstrength-reduce.
@ 2007-02-22 22:39 bergner at gcc dot gnu dot org
  2007-02-22 22:40 ` [Bug rtl-optimization/30931] " bergner at gcc dot gnu dot org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: bergner at gcc dot gnu dot org @ 2007-02-22 22:39 UTC (permalink / raw)
  To: gcc-bugs

The simple test which I'll attach shortly, loops infinitely when compiled with
-O1 -fstrength-reduce and executes fine with plain -O1.  Doing a little
debugging, it seems the loop index variable "i" is not incremented within the
loop causing us to loop forever.

I have tested this using the latest FSF 4.1, 4.2 and mainline compiler sources
and it only fails using the 4.1 compiler.  Using an older 3.4.6 distro
compiler, it executes fine, so this _looks_ like a regression.


-- 
           Summary: Simple test case loops infinitely with -O1 -fstrength-
                    reduce.
           Product: gcc
           Version: 4.1.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bergner at gcc dot gnu dot org
 GCC build triplet: i686-linux
  GCC host triplet: i686-linux
GCC target triplet: i686-linux


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


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

end of thread, other threads:[~2007-02-27 20:23 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-22 22:39 [Bug rtl-optimization/30931] New: Simple test case loops infinitely with -O1 -fstrength-reduce bergner at gcc dot gnu dot org
2007-02-22 22:40 ` [Bug rtl-optimization/30931] " bergner at gcc dot gnu dot org
2007-02-22 23:27 ` steven at gcc dot gnu dot org
2007-02-22 23:29 ` pinskia at gcc dot gnu dot org
2007-02-22 23:32 ` bergner at gcc dot gnu dot org
2007-02-23 10:03 ` rguenth at gcc dot gnu dot org
2007-02-23 14:06 ` bergner at gcc dot gnu dot org
2007-02-23 14:13 ` [Bug rtl-optimization/30931] [4.1 Regression] " rguenth at gcc dot gnu dot org
2007-02-23 14:17 ` bergner at gcc dot gnu dot org
2007-02-23 14:17 ` bergner at gcc dot gnu dot org
2007-02-23 14:30 ` bonzini at gnu dot org
2007-02-23 14:32 ` bonzini at gnu dot org
2007-02-26 19:18 ` ebotcazou at gcc dot gnu dot org
2007-02-27 20:21 ` [Bug rtl-optimization/30931] [4.1 regression] infinite loop " ebotcazou at gcc dot gnu dot org
2007-02-27 20:23 ` ebotcazou 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).