[Bug sanitizer/63956] [5 Regression][UBSAN] ICE segfault in cxx_eval_call_expression ../../gcc/cp/constexpr.c

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Nov 20 16:13:00 GMT 2014


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

--- Comment #10 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
BTW, wouldn't it make sense to not instrument things in constexpr functions? 
It is not always possible, but at least in cp/ we could skip instrumentation if
DECL_DECLARED_CONSTEXPR_P (current_function_decl), similarly as we check for
no_sanitize_undefined.



More information about the Gcc-bugs mailing list