[Bug tree-optimization/87546] [9 Regression] Gcc miscompiles at -O3 on valid code

2018-11-17 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87546 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/87546] [9 Regression] Gcc miscompiles at -O3 on valid code

2018-11-17 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87546 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Sat Nov 17 15:10:48 2018 New Revision: 266237 URL: https://gcc.gnu.org/viewcvs?rev=266237=gcc=rev Log: PR tree-optimization/87546 * tree-vect-patterns.c

[Bug tree-optimization/87546] [9 Regression] Gcc miscompiles at -O3 on valid code

2018-11-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87546 --- Comment #6 from Jakub Jelinek --- Created attachment 45026 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45026=edit gcc9-pr87546.patch Untested fix.

[Bug tree-optimization/87546] [9 Regression] Gcc miscompiles at -O3 on valid code

2018-11-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87546 --- Comment #5 from Jakub Jelinek --- So, I think the bug is in vect_look_through_possible_promotion, which doesn't do what it claims to do is that what it returns can be cast to unprom->type and then promoted to final precision and that it is

[Bug tree-optimization/87546] [9 Regression] Gcc miscompiles at -O3 on valid code

2018-11-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87546 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/87546] [9 Regression] Gcc miscompiles at -O3 on valid code

2018-10-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87546 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #4

[Bug tree-optimization/87546] [9 Regression] Gcc miscompiles at -O3 on valid code

2018-10-08 Thread graham.stott77 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87546 --- Comment #3 from graham.stott77 at gmail dot com --- 'b' is never assigned a value, so surely it's undefined Original message From: helloqirun at gmail dot com Date: 08/10/2018 04:51 (GMT+00:00) To: gcc-bugs@gcc.gnu.org

[Bug tree-optimization/87546] [9 Regression] Gcc miscompiles at -O3 on valid code

2018-10-08 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87546 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #2

[Bug tree-optimization/87546] [9 Regression] Gcc miscompiles at -O3 on valid code

2018-10-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87546 Richard Biener changed: What|Removed |Added Target||x86_64-*-*