[Bug rtl-optimization/91137] [7/8/9/10 Regression] Wrong code with -O3

2019-07-20 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91137 --- Comment #11 from bin cheng --- Hi, suppose this patch should be backported to 8/7 if no further issues.

[Bug rtl-optimization/91137] [7/8/9/10 Regression] Wrong code with -O3

2019-07-18 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91137 --- Comment #10 from bin cheng --- Author: amker Date: Thu Jul 18 08:38:09 2019 New Revision: 273570 URL: https://gcc.gnu.org/viewcvs?rev=273570&root=gcc&view=rev Log: PR tree-optimization/91137 * tree-ssa-loop-ivopts.c (struct i

[Bug rtl-optimization/91137] [7/8/9/10 Regression] Wrong code with -O3

2019-07-15 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91137 --- Comment #9 from rguenther at suse dot de --- On Mon, 15 Jul 2019, amker at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91137 > > --- Comment #8 from bin cheng --- > (In reply to rguent...@suse.de from comment #7)

[Bug rtl-optimization/91137] [7/8/9/10 Regression] Wrong code with -O3

2019-07-15 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91137 --- Comment #8 from bin cheng --- (In reply to rguent...@suse.de from comment #7) > On Mon, 15 Jul 2019, amker at gcc dot gnu.org wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91137 > > > > --- Comment #6 from bin cheng --- > > (In

[Bug rtl-optimization/91137] [7/8/9/10 Regression] Wrong code with -O3

2019-07-15 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91137 --- Comment #7 from rguenther at suse dot de --- On Mon, 15 Jul 2019, amker at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91137 > > --- Comment #6 from bin cheng --- > (In reply to Richard Biener from comment #2) > >

[Bug rtl-optimization/91137] [7/8/9/10 Regression] Wrong code with -O3

2019-07-15 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91137 --- Comment #6 from bin cheng --- (In reply to Richard Biener from comment #2) > > and I can very well imagine we're getting confused by find_base_term > logic here. > > There's logic in IVOPTs to not generate IVs based on two different > objec

[Bug rtl-optimization/91137] [7/8/9/10 Regression] Wrong code with -O3

2019-07-11 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91137 --- Comment #5 from bin cheng --- Will try to find some time this WE, sorry for delaying.

[Bug rtl-optimization/91137] [7/8/9/10 Regression] Wrong code with -O3

2019-07-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91137 --- Comment #4 from Richard Biener --- (In reply to Richard Biener from comment #3) > I think the issue is > > inv_expr 5: ((signed long) &d + 19600) - (signed long) &c > > I hope Bin can investigate this. In the end we can only fight the

[Bug rtl-optimization/91137] [7/8/9/10 Regression] Wrong code with -O3

2019-07-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91137 Richard Biener changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug rtl-optimization/91137] [7/8/9/10 Regression] Wrong code with -O3

2019-07-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91137 Richard Biener changed: What|Removed |Added CC||amker at gcc dot gnu.org,