[Bug c/63611] Invalid optimization for "==" on pointers

2014-10-21 Thread Keith.S.Thompson at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63611

--- Comment #1 from Keith Thompson  ---
A bug report for a similar issue with clang is here:
http://llvm.org/bugs/show_bug.cgi?id=21327


[Bug c/63611] Invalid optimization for "==" on pointers

2014-10-21 Thread jsm28 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63611

Joseph S. Myers  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #2 from Joseph S. Myers  ---
See bug 61502.  The last comment there appears to indicate a bug, but the test
given here doesn't based on my understanding that whether two objects follow
each other need not be constant for all comparisons.

*** This bug has been marked as a duplicate of bug 61502 ***