]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/ada/gcc-interface/decl.c
[6/77] Make GET_MODE_WIDER return an opt_mode
[thirdparty/gcc.git] / gcc / ada / gcc-interface / decl.c
index 83b9d0749fe3ccd12f4ce0e2124e43de21637806..83c582ff64fc985d976d5fb1d809ddd95ebfaa21 100644 (file)
@@ -8576,7 +8576,7 @@ validate_size (Uint uint_size, tree gnu_type, Entity_Id gnat_object,
     {
       machine_mode p_mode = GET_CLASS_NARROWEST_MODE (MODE_INT);
       while (!targetm.valid_pointer_mode (p_mode))
-       p_mode = GET_MODE_WIDER_MODE (p_mode);
+       p_mode = GET_MODE_WIDER_MODE (p_mode).require ();
       type_size = bitsize_int (GET_MODE_BITSIZE (p_mode));
     }