https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86093
Jakub Jelinek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86093
--- Comment #5 from Jakub Jelinek ---
Author: jakub
Date: Wed Jun 20 20:40:33 2018
New Revision: 261820
URL: https://gcc.gnu.org/viewcvs?rev=261820&root=gcc&view=rev
Log:
Backported from mainline
2018-06-15 Jakub Jelinek
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86093
--- Comment #4 from Jakub Jelinek ---
Author: jakub
Date: Fri Jun 15 20:53:54 2018
New Revision: 261663
URL: https://gcc.gnu.org/viewcvs?rev=261663&root=gcc&view=rev
Log:
PR c/86093
* c-typeck.c (pointer_diff): Cast both pointers
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86093
--- Comment #3 from Jakub Jelinek ---
Created attachment 44284
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44284&action=edit
gcc9-pr86093.patch
Untested fix.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86093
Jakub Jelinek changed:
What|Removed |Added
Status|NEW |ASSIGNED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86093
Richard Biener changed:
What|Removed |Added
Priority|P3 |P2
Target Milestone|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86093
Alexander Monakov changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|