[Bug 1029454] Re: cselim tree optimizer generates incorrect code
The Precise Pangolin has reached end of life, so this bug will not be fixed for that release ** Changed in: gcc-4.6 (Ubuntu Precise) Status: Triaged => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1029454 Title: cselim tree optimizer generates incorrect code To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/1029454/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1029454] Re: cselim tree optimizer generates incorrect code
** Branch linked: lp:debian/gnat-4.6 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1029454 Title: cselim tree optimizer generates incorrect code To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/1029454/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1029454] Re: cselim tree optimizer generates incorrect code
** Changed in: gcc-linaro Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1029454 Title: cselim tree optimizer generates incorrect code To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/1029454/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1029454] Re: cselim tree optimizer generates incorrect code
** Changed in: gcc-linaro Status: In Progress = Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1029454 Title: cselim tree optimizer generates incorrect code To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/1029454/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1029454] Re: cselim tree optimizer generates incorrect code
** Changed in: gcc-linaro Status: Triaged = In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1029454 Title: cselim tree optimizer generates incorrect code To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/1029454/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1029454] Re: cselim tree optimizer generates incorrect code
** Branch linked: lp:debian/gcc-4.6 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1029454 Title: cselim tree optimizer generates incorrect code To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/1029454/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1029454] Re: cselim tree optimizer generates incorrect code
The revisions Michael suggested do not fix the issue - either singly or when applied on top of each other. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1029454 Title: cselim tree optimizer generates incorrect code To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/1029454/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1029454] Re: cselim tree optimizer generates incorrect code
Investigations lead me to believe this is upstream bug PR51987 (http://gcc.gnu.org/PR51987) made visible because of the conditional store sinking support being added. I believe upstream fix svn r183524 fixes the issue. This is currently under test -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1029454 Title: cselim tree optimizer generates incorrect code To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/1029454/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1029454] Re: cselim tree optimizer generates incorrect code
** Changed in: gcc-linaro Milestone: None = 4.6-2012.10 ** Branch linked: lp:~matthew-gretton-dann/gcc-linaro/4.6-cselim-fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1029454 Title: cselim tree optimizer generates incorrect code To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/1029454/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1029454] Re: cselim tree optimizer generates incorrect code
the backport fixes the issue, no regressions running the testsuite. however the testcase fails, because 4.6 doesn't know about ia32, so s/ia32/ilp32/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1029454 Title: cselim tree optimizer generates incorrect code To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/1029454/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1029454] Re: cselim tree optimizer generates incorrect code
This bug was fixed in the package gcc-4.6 - 4.6.3-10ubuntu1 --- gcc-4.6 (4.6.3-10ubuntu1) quantal; urgency=low * Merge with Debian. gcc-4.6 (4.6.3-10) unstable; urgency=low * Update to SVN 20120918 (r191439) from the gcc-4_6-branch. - Fix PR c/54552 (ice on valid), PR c/54103 (ice on valid), PR target/54536 (AVR), PR middle-end/54515 (ice on valid), PR target/45070 (ARM, wrong code), PR target/54220 (AVR), PR driver/54335, PR rtl-optimization/54369 (mips, wrong code), PR c++/54511 (ice on valid), PR fortran/54225 (ice on invalid), PR fortran/53306 (ice on invalid), PR fortran/54556 (wrong code), PR fortran/54208 (rejects valid). [ Nobuhiro Iwamatsu ] * Remove sh4-enable-ieee.diff, -mieee enabled by default. Closes: #685974. [ Matthias Klose ] * Fix PR tree-optimization/51987, backport from the trunk, Linaro only (Matthew Gretton-Dann). LP: #1029454. -- Matthias Klose d...@ubuntu.com Tue, 18 Sep 2012 22:44:00 +0200 ** Changed in: gcc-4.6 (Ubuntu) Status: Triaged = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1029454 Title: cselim tree optimizer generates incorrect code To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/1029454/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1029454] Re: cselim tree optimizer generates incorrect code
** Also affects: gcc-4.6 (Ubuntu Precise) Importance: Undecided Status: New ** Changed in: gcc-4.6 (Ubuntu Precise) Importance: Undecided = High ** Changed in: gcc-4.6 (Ubuntu Precise) Status: New = Triaged ** Changed in: gcc-4.6 (Ubuntu Precise) Milestone: None = precise-updates ** Changed in: gcc-4.6 (Ubuntu) Milestone: precise-updates = None -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1029454 Title: cselim tree optimizer generates incorrect code To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/1029454/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1029454] Re: cselim tree optimizer generates incorrect code
** Tags added: precise quantal rls-q-incoming -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1029454 Title: cselim tree optimizer generates incorrect code To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/1029454/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1029454] Re: cselim tree optimizer generates incorrect code
Confirmed reverting lp:gcc-linaro/4.6 r106733 fixes the issue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1029454 Title: cselim tree optimizer generates incorrect code To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/1029454/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1029454] Re: cselim tree optimizer generates incorrect code
** Changed in: gcc-linaro Assignee: (unassigned) = Matthew Gretton-Dann (matthew-gretton-dann) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1029454 Title: cselim tree optimizer generates incorrect code To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/1029454/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1029454] Re: cselim tree optimizer generates incorrect code
** Changed in: gcc-4.6 (Ubuntu) Importance: Undecided = High ** Changed in: gcc-4.6 (Ubuntu) Status: New = Triaged ** Changed in: gcc-4.6 (Ubuntu) Milestone: None = precise-updates -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1029454 Title: cselim tree optimizer generates incorrect code To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/1029454/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1029454] Re: cselim tree optimizer generates incorrect code
** Also affects: gcc-linaro Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1029454 Title: cselim tree optimizer generates incorrect code To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/1029454/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1029454] Re: cselim tree optimizer generates incorrect code
Thank you for the bug report. I've confirmed this with gcc- linaro-4.6+bzr106903 on x86_64: michaelh@crucis:~/linaro/bugs$ ~/linaro/gcc/build/native-4.6/install/bin/gcc -O3 testcase3.c michaelh@crucis:~/linaro/bugs$ ./a.out m = 1 The fault is probably introduced by r106733 which added condtional store sinking support. I've set it to high priority as bad code is generated. Likely trunk fixes include r113242, r111593, r110,443, and r114986 of lp:gcc- linaro/4.7. ** Changed in: gcc-linaro Status: New = Triaged ** Changed in: gcc-linaro Importance: Undecided = High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1029454 Title: cselim tree optimizer generates incorrect code To manage notifications about this bug go to: https://bugs.launchpad.net/gcc-linaro/+bug/1029454/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1029454] Re: cselim tree optimizer generates incorrect code
The version in quantal (4.6.3-8ubuntu1) is not affected. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1029454 Title: cselim tree optimizer generates incorrect code To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-4.6/+bug/1029454/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1029454] Re: cselim tree optimizer generates incorrect code
Sorry, I meant the default gcc (which is gcc-4.7). With gcc-4.6, I observe the same behaviour. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1029454 Title: cselim tree optimizer generates incorrect code To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-4.6/+bug/1029454/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1029454] Re: cselim tree optimizer generates incorrect code
Same issue in oneiric (4.6.1-9ubuntu3). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1029454 Title: cselim tree optimizer generates incorrect code To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-4.6/+bug/1029454/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1029454] Re: cselim tree optimizer generates incorrect code
I've tried various historic versions of the gcc-4.6 package in a clean precise chroot. The first faulty version appears to be 4.6.0-7ubuntu1. The previous version, 4.6.0-6ubuntu3, generates correct code. Moreover, the last version (4.6.3-1ubuntu5) with all Linaro patches out generates correct code. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1029454 Title: cselim tree optimizer generates incorrect code To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-4.6/+bug/1029454/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1029454] Re: cselim tree optimizer generates incorrect code
** Attachment added: Test case https://bugs.launchpad.net/bugs/1029454/+attachment/3237156/+files/testcase3.c -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1029454 Title: cselim tree optimizer generates incorrect code To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-4.6/+bug/1029454/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs