[Bug middle-end/69845] [4.9/5/6 Regression] Expression getting incorrectly optimized after being rewritten by compiler

2016-03-24 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69845 --- Comment #8 from Jeffrey A. Law --- Author: law Date: Thu Mar 24 17:52:11 2016 New Revision: 234462 URL: https://gcc.gnu.org/viewcvs?rev=234462=gcc=rev Log: 2016-03-24 Richard Henderson PR middle-end/69845

[Bug middle-end/69845] [4.9/5/6 Regression] Expression getting incorrectly optimized after being rewritten by compiler

2016-03-22 Thread rth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69845 --- Comment #7 from Richard Henderson --- Proposed patch https://gcc.gnu.org/ml/gcc-patches/2016-03/msg01255.html

[Bug middle-end/69845] [4.9/5/6 Regression] Expression getting incorrectly optimized after being rewritten by compiler

2016-03-21 Thread rth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69845 Richard Henderson changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug middle-end/69845] [4.9/5/6 Regression] Expression getting incorrectly optimized after being rewritten by compiler

2016-03-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69845 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug middle-end/69845] [4.9/5/6 Regression] Expression getting incorrectly optimized after being rewritten by compiler

2016-02-17 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69845 --- Comment #6 from Jakub Jelinek --- I believe the bug is in extract_muldiv_1, what it does for PLUS_EXPR/MINUS_EXPR looks inherently unsafe, unless it changes the operation to be actually performed in a type with defined overflow and then cast

[Bug middle-end/69845] [4.9/5/6 Regression] Expression getting incorrectly optimized after being rewritten by compiler

2016-02-16 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69845 --- Comment #5 from Andrew Pinski --- (In reply to Jakub Jelinek from comment #4) > regressed at -O2 with r204454. That just points to the -O2 regression, -O1 would have happened at a different point as VRP is enabled at -O2 and above. I

[Bug middle-end/69845] [4.9/5/6 Regression] Expression getting incorrectly optimized after being rewritten by compiler

2016-02-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69845 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org Target