public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "amonakov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/57511] New: [4.8/4.9 Regression] Missing SCEV final value replacement Date: Mon, 03 Jun 2013 12:50:00 -0000 [thread overview] Message-ID: <bug-57511-4@http.gcc.gnu.org/bugzilla/> (raw) http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57511 Bug ID: 57511 Summary: [4.8/4.9 Regression] Missing SCEV final value replacement Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: amonakov at gcc dot gnu.org The following simple loop is no longer optimized out with 4.8 and 4.9: int main(int argc, char* argv[]) { int i, a = 0; for (i=0; i < 10000; i++) a += i + 0xff00ff; return a; } $ gcc-4.7.2 -O2 -S main.c -o- main: .LFB0: .cfi_startproc movl $-334379544, %eax ret $ gcc-4.8.0 -O2 -S main.c -o- main: .LFB0: .cfi_startproc movl $16711935, %edx xorl %eax, %eax .p2align 4,,10 .p2align 3 .L3: addl %edx, %eax addl $1, %edx cmpl $16721935, %edx jne .L3 rep ret
next reply other threads:[~2013-06-03 12:50 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-06-03 12:50 amonakov at gcc dot gnu.org [this message] 2013-06-03 13:41 ` [Bug tree-optimization/57511] " amonakov at gcc dot gnu.org 2013-06-04 12:40 ` rguenth at gcc dot gnu.org 2013-08-28 14:17 ` rguenth at gcc dot gnu.org 2013-08-29 9:42 ` rguenth at gcc dot gnu.org 2013-09-02 8:28 ` rguenth at gcc dot gnu.org 2013-09-02 13:24 ` rguenth at gcc dot gnu.org 2013-09-02 13:25 ` [Bug tree-optimization/57511] [4.8 " rguenth at gcc dot gnu.org 2013-10-16 9:51 ` jakub at gcc dot gnu.org 2014-05-22 9:06 ` rguenth at gcc dot gnu.org 2014-12-10 12:40 ` rguenth at gcc dot gnu.org 2021-12-17 7:58 ` pinskia at gcc dot gnu.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-57511-4@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).