[Bug rtl-optimization/70222] Test miscompiled with -O1

2016-07-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70222 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug rtl-optimization/70222] Test miscompiled with -O1

2016-07-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70222 --- Comment #14 from Jakub Jelinek --- Author: jakub Date: Thu Jul 7 21:49:58 2016 New Revision: 238140 URL: https://gcc.gnu.org/viewcvs?rev=238140&root=gcc&view=rev Log: Backported from mainline 2016-03-15 Jakub Jelinek

[Bug rtl-optimization/70222] Test miscompiled with -O1

2016-04-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70222 Jakub Jelinek changed: What|Removed |Added Target Milestone|6.0 |6.2 --- Comment #13 from Jakub Jelinek

[Bug rtl-optimization/70222] Test miscompiled with -O1

2016-03-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70222 --- Comment #12 from Jakub Jelinek --- Fixed for 5.4+ too.

[Bug rtl-optimization/70222] Test miscompiled with -O1

2016-03-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70222 --- Comment #11 from Jakub Jelinek --- Author: jakub Date: Wed Mar 30 12:41:40 2016 New Revision: 234563 URL: https://gcc.gnu.org/viewcvs?rev=234563&root=gcc&view=rev Log: Backported from mainline 2016-03-15 Jakub Jelinek

[Bug rtl-optimization/70222] Test miscompiled with -O1

2016-03-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70222 --- Comment #10 from Jakub Jelinek --- Fixed for 6+ so far.

[Bug rtl-optimization/70222] Test miscompiled with -O1

2016-03-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70222 --- Comment #9 from Jakub Jelinek --- Author: jakub Date: Tue Mar 15 16:11:48 2016 New Revision: 234222 URL: https://gcc.gnu.org/viewcvs?rev=234222&root=gcc&view=rev Log: PR rtl-optimization/70222 * combine.c (simplify_shift_cons

[Bug rtl-optimization/70222] Test miscompiled with -O1

2016-03-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70222 --- Comment #8 from Jakub Jelinek --- Example of lshiftrt SI DI SI 24 16 is e.g. gcc.c-torture/execute/20030408-1.c where we have SImode LSHIFTRT of (subreg:SI (ashift:DI (reg:DI 125) (const_int 8 [0x8])) 0) by 24, and is optimized into (

[Bug rtl-optimization/70222] Test miscompiled with -O1

2016-03-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70222 --- Comment #7 from Jakub Jelinek --- The #c6 patch bootstrapped/regtested fine on x86_64-linux and i686-linux. I've additionally gathered statistics using: --- gcc/combine.c.jj2016-03-14 14:00:24.0 +0100 +++ gcc/combine.c 2016

[Bug rtl-optimization/70222] Test miscompiled with -O1

2016-03-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70222 --- Comment #6 from Jakub Jelinek --- Created attachment 37956 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37956&action=edit gcc6-pr70222.patch This untested patch works. Though, if that is the right way to go, I'd bootstrap/regtest it

[Bug rtl-optimization/70222] Test miscompiled with -O1

2016-03-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70222 --- Comment #5 from Jakub Jelinek --- So, the bug is apparently in simplify_shift_const_1 (code=LSHIFTRT, result_mode=SImode, varop=0x7184de70, orig_count=31) where varop is: (subreg:SI (lshiftrt:DI (const_int -1 [0x])

[Bug rtl-optimization/70222] Test miscompiled with -O1

2016-03-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70222 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org Target

[Bug rtl-optimization/70222] Test miscompiled with -O1

2016-03-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70222 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug rtl-optimization/70222] Test miscompiled with -O1

2016-03-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70222 Richard Biener changed: What|Removed |Added CC||segher at gcc dot gnu.org Comp