[Bug c++/98988] delete is not a constant expression with -fsanitize=undefined

2021-03-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98988 --- Comment #4 from CVS Commits --- The releases/gcc-10 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:4b47af4346ad0e8a428c0979f6f61feb6579 commit r10-9466-g4b47af4346ad0e8a428c0979f6f61feb6579 Author: Jakub Jelinek D

[Bug c++/98988] delete is not a constant expression with -fsanitize=undefined

2021-02-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98988 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED CC|

[Bug c++/98988] delete is not a constant expression with -fsanitize=undefined

2021-02-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98988 --- Comment #2 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:a8db7887dfbf502b7e60d64bfeebd0de592d2d45 commit r11-7176-ga8db7887dfbf502b7e60d64bfeebd0de592d2d45 Author: Jakub Jelinek Date: We

[Bug c++/98988] delete is not a constant expression with -fsanitize=undefined

2021-02-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98988 --- Comment #1 from Jakub Jelinek --- Some sanitizers imply -fno-delete-null-pointer-checks and this testcase fails with fno-delete-null-pointer-checks too - the &heap_magic_var_decl != NULL comparison in that case which is done on delete is not