public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "bergner at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/30931] New: Simple test case loops infinitely with -O1 -fstrength-reduce. Date: Thu, 22 Feb 2007 22:39:00 -0000 [thread overview] Message-ID: <bug-30931-11700@http.gcc.gnu.org/bugzilla/> (raw) 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
next reply other threads:[~2007-02-22 22:39 UTC|newest] Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-02-22 22:39 bergner at gcc dot gnu dot org [this message] 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
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-30931-11700@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).