[Bug c++/67376] [5/6 regression] Comparison with pointer to past-the-end of array fails inside constant expression

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Dec 22 13:26:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67376

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #37103|0                           |1
        is obsolete|                            |

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 37106
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37106&action=edit
gcc6-pr67376.patch

Better patch, this time it handles also the non-equality comparisons.


More information about the Gcc-bugs mailing list