https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92618
--- Comment #7 from Kewen Lin ---
Sorry that I didn't catch the bugzilla mails timely, thanks for fixing this!
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92618
Jakub Jelinek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92618
--- Comment #5 from Jakub Jelinek ---
Author: jakub
Date: Fri Nov 22 18:17:04 2019
New Revision: 278626
URL: https://gcc.gnu.org/viewcvs?rev=278626=gcc=rev
Log:
PR tree-optimization/92618
* tree-ssa-reassoc.c (v_info): Change
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92618
--- Comment #4 from Jakub Jelinek ---
Created attachment 47332
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47332=edit
gcc10-pr92618.patch
Untested fix.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92618
Jakub Jelinek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92618
--- Comment #3 from Jakub Jelinek ---
That optimization seems to ignore completely the involved types.
Consider following testcase instead, where in foo the addition is performed
originally in unsigned long long type and in baz in double type,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92618
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92618
Martin Liška changed:
What|Removed |Added
Priority|P3 |P1
Status|UNCONFIRMED