[PATCH] c++/67376 Comparison with pointer to past-the-end, of array fails inside constant expression
Jakub Jelinek
jakub@redhat.com
Mon Mar 14 22:13:00 GMT 2016
On Mon, Mar 14, 2016 at 03:25:07PM -0600, Martin Sebor wrote:
> PR c++/67376 - [5/6 regression] Comparison with pointer to past-the-end
> of array fails inside constant expression
> PR c++/70170 - [6 regression] bogus not a constant expression error comparing
> pointer to array to null
> PR c++/70172 - incorrect reinterpret_cast from integer to pointer error
> on invalid constexpr initialization
> PR c++/60760 - arithmetic on null pointers should not be allowed in constant
> expressions
> PR c++/70228 - insufficient detail in diagnostics for a constexpr out of bounds
> array subscript
Can you please check up the formatting in the patch?
Seems e.g. you've replaced tons of tabs with 8 spaces etc. (check your
editor setting, and check the patch with contrib/check-GNU-style.sh).
There is some trailing whitespace too, spaces before [, etc.
Jakub
More information about the Gcc-patches
mailing list