[Bug c++/119426] undefined increment of deallocated pointer allowed in constexpr

2025-03-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119426 --- Comment #3 from Jonathan Wakely --- Similar to Bug 111242 but here the pointer has already been deallocated.

[Bug c++/119426] undefined increment of deallocated pointer allowed in constexpr

2025-03-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119426 --- Comment #2 from Jonathan Wakely --- https://godbolt.org/z/f1jxvMvdz

[Bug c++/119426] undefined increment of deallocated pointer allowed in constexpr

2025-03-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119426 Jonathan Wakely changed: What|Removed |Added Summary|constexpr alloc |undefined increment of