From 10dff63f98807e6b7f65c9c3b9f69623f8f619b3 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Fri, 1 Jan 2016 12:55:02 +0100 Subject: re PR sanitizer/69055 (Internal compiler error -fsanitize=float-cast-overflow) PR sanitizer/69055 * ubsan.c (ubsan_instrument_float_cast): Call initialize_sanitizer_builtins. * gfortran.dg/pr69055.f90: New test. From-SVN: r232024 --- gcc/ubsan.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/ubsan.c') diff --git a/gcc/ubsan.c b/gcc/ubsan.c index 6fc6233..522967a 100644 --- a/gcc/ubsan.c +++ b/gcc/ubsan.c @@ -1588,6 +1588,7 @@ ubsan_instrument_float_cast (location_t loc, tree type, tree expr, tree arg) { location_t *loc_ptr = NULL; unsigned num_locations = 0; + initialize_sanitizer_builtins (); /* Figure out if we can propagate location to ubsan_data and use new style handlers in libubsan. */ if (ubsan_use_new_style_p (loc)) -- cgit v1.1