public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "dominiq at lps dot ens dot fr" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/45578] [4.6 Regression] The polyhedron test mdbx is miscompiled with -O2 -ftree-vectorize at revision 163915 Date: Tue, 07 Sep 2010 14:30:00 -0000 [thread overview] Message-ID: <20100907142538.3567.qmail@sourceware.org> (raw) In-Reply-To: <bug-45578-12313@http.gcc.gnu.org/bugzilla/> ------- Comment #3 from dominiq at lps dot ens dot fr 2010-09-07 14:25 ------- If I replace the loop DO i = 1 , MOLsa X0(1,i) = X0(1,i) - cm1 X0(2,i) = X0(2,i) - cm2 X0(3,i) = X0(3,i) - cm3 XIN(1,i) = XIN(1,i) - cm1 XIN(2,i) = XIN(2,i) - cm2 XIN(3,i) = XIN(3,i) - cm3 ENDDO with X0(1,1) = X0(1,1) - cm1 X0(2,1) = X0(2,1) - cm2 X0(3,1) = X0(3,1) - cm3 XIN(1,1) = XIN(1,1) - cm1 XIN(2,1) = XIN(2,1) - cm2 XIN(3,1) = XIN(3,1) - cm3 DO i = 2 , MOLsa X0(1,i) = X0(1,i) - cm1 X0(2,i) = X0(2,i) - cm2 X0(3,i) = X0(3,i) - cm3 XIN(1,i) = XIN(1,i) - cm1 XIN(2,i) = XIN(2,i) - cm2 XIN(3,i) = XIN(3,i) - cm3 ENDDO the code is correctly compiled. -- dominiq at lps dot ens dot fr changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[4.6 Regression] The |[4.6 Regression] The |polyhedron test mdbx is |polyhedron test mdbx is |miscompiled with -O2 -ftree-|miscompiled with -O2 -ftree- |vectorize at revision 163940|vectorize at revision 163915 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45578
next prev parent reply other threads:[~2010-09-07 14:30 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-09-07 10:27 [Bug tree-optimization/45578] New: [4.6 Regression] The polyhedron test mdbx is miscompiled with -O2 -ftree-vectorize at revision 163940 dominiq at lps dot ens dot fr 2010-09-07 12:08 ` [Bug tree-optimization/45578] " dominiq at lps dot ens dot fr 2010-09-07 12:14 ` dominiq at lps dot ens dot fr 2010-09-07 14:30 ` dominiq at lps dot ens dot fr [this message] 2010-09-07 15:07 ` [Bug tree-optimization/45578] [4.6 Regression] The polyhedron test mdbx is miscompiled with -O2 -ftree-vectorize at revision 163915 rguenth at gcc dot gnu dot org 2010-09-07 15:20 ` rguenth at gcc dot gnu dot org 2010-09-08 6:56 ` dominiq at lps dot ens dot fr 2010-09-08 11:18 ` rguenth at gcc dot gnu dot org 2010-09-08 11:21 ` rguenth at gcc dot gnu dot org 2010-09-08 12:54 ` ebotcazou at gcc dot gnu dot org 2010-09-09 9:53 ` rguenth 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=20100907142538.3567.qmail@sourceware.org \ --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).