https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61240
--- Comment #7 from Marek Polacek ---
But C++ has its own pointer_diff version that doesn't do such optimization.
With my change the C FE would generate the same expr as the C++ FE. And FEs
shouldn't perform such optimizations anyway.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61240
--- Comment #6 from Jakub Jelinek ---
But in that case we should have an adequate replacement on the
match_and_simplify side.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61240
Marek Polacek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61240
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #4
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61240
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61240
Richard Biener changed:
What|Removed |Added
Target Milestone|4.8.3 |4.8.4
--- Comment #2 from Richard Biene
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61240
Richard Biener changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|