[Bug rtl-optimization/68328] [4.9/5/6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu

2015-11-24 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68328 --- Comment #11 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Tue Nov 24 09:31:57 2015 New Revision: 230795 URL: https://gcc.gnu.org/viewcvs?rev=230795=gcc=rev Log: [RTL-ree] PR rtl-optimization/68194: Restrict copy instruction in

[Bug rtl-optimization/68328] [4.9/5/6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu

2015-11-24 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68328 --- Comment #13 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Tue Nov 24 14:27:51 2015 New Revision: 230813 URL: https://gcc.gnu.org/viewcvs?rev=230813=gcc=rev Log: [RTL-ree] PR rtl-optimization/68194: Restrict copy instruction in

[Bug rtl-optimization/68328] [4.9/5/6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu

2015-11-24 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68328 --- Comment #12 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Tue Nov 24 14:24:24 2015 New Revision: 230812 URL: https://gcc.gnu.org/viewcvs?rev=230812=gcc=rev Log: [RTL-ree] PR rtl-optimization/68194: Restrict copy instruction in

[Bug rtl-optimization/68328] [4.9/5/6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu

2015-11-23 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68328 Jeffrey A. Law changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug rtl-optimization/68328] [4.9/5/6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu

2015-11-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68328 Richard Biener changed: What|Removed |Added Keywords||wrong-code Priority|P3

[Bug rtl-optimization/68328] [4.9/5/6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu

2015-11-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68328 --- Comment #9 from Jakub Jelinek --- (In reply to ktkachov from comment #8) > The above testcase should be adjusted a bit for targets that have different > char signedness than x86: > int a, b, c = 1, d = 1, e; > > __attribute__((noinline,

[Bug rtl-optimization/68328] [4.9/5/6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu

2015-11-17 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68328 --- Comment #8 from ktkachov at gcc dot gnu.org --- The above testcase should be adjusted a bit for targets that have different char signedness than x86: int a, b, c = 1, d = 1, e; __attribute__((noinline, noclone)) int foo (void) { asm

[Bug rtl-optimization/68328] [4.9/5/6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu

2015-11-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68328 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug rtl-optimization/68328] [4.9/5/6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu

2015-11-16 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68328 ktkachov at gcc dot gnu.org changed: What|Removed |Added CC||ktkachov at gcc dot gnu.org

[Bug rtl-optimization/68328] [4.9/5/6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu

2015-11-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68328 --- Comment #7 from Jakub Jelinek --- In insn 70 actually set eax to edx rather than ebx, I'd suppose it would work correctly. Better testcase that fails reliably: int a, b, c = 1, d = 1, e; __attribute__((noinline, noclone)) int foo (void) {

[Bug rtl-optimization/68328] [4.9/5/6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu

2015-11-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68328 Jakub Jelinek changed: What|Removed |Added CC||law at gcc dot gnu.org --- Comment #5

[Bug rtl-optimization/68328] [4.9/5/6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu

2015-11-15 Thread mikpelinux at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68328 --- Comment #3 from Mikael Pettersson --- I'm on Fedora 20 / x86_64 (Ivy Bridge i7-3770K) w/ the 4.3 Linux kernel. I've tried various combinations of bootstrap compiler (system gcc-4.8.3 or my own gcc-4.9.3 + patches), support libraries (system

[Bug rtl-optimization/68328] [4.9/5/6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu

2015-11-14 Thread su at cs dot ucdavis.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68328 --- Comment #2 from Zhendong Su --- (In reply to Mikael Pettersson from comment #1) > I can't reproduce on x86_64-linux with ether gcc-6 r230377, gcc-5 r230369, > or gcc-4.9 r230368. Mikael, not sure why you can't reproduce the miscompilation.

[Bug rtl-optimization/68328] [4.9/5/6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu

2015-11-14 Thread mikpelinux at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68328 Mikael Pettersson changed: What|Removed |Added CC||mikpelinux at gmail dot com ---

[Bug rtl-optimization/68328] [4.9/5/6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu

2015-11-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68328 Richard Biener changed: What|Removed |Added Known to work||4.8.5 Target Milestone|---