[Bug sanitizer/79572] [6/7 Regression] reference binding to null pointer not reported with -fsanitize=undefined
trippels at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Feb 17 11:25:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79572
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |NEW
CC| |dodji at gcc dot gnu.org,
| |dvyukov at gcc dot gnu.org,
| |jakub at gcc dot gnu.org,
| |kcc at gcc dot gnu.org
Component|c++ |sanitizer
Resolution|INVALID |---
Summary|[6/7 Regression] Segfault |[6/7 Regression] reference
|with -O1 and higher on null |binding to null pointer not
|reference |reported with
| |-fsanitize=undefined
--- Comment #5 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
This is an -fsanitize=undefined regression.
5.4.1 gives:
runtime error: reference binding to null pointer of type 'const int
6 and trunk:
No runtime error is reported.
More information about the Gcc-bugs
mailing list