aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-range-path.cc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2021-11-04 09:17:18 +0100
committerRichard Biener <rguenther@suse.de>2021-11-04 13:33:19 +0100
commitd13603501680fcdbb933cb086cd01fcc39be1908 (patch)
tree8fe323a2669e7e309b0cac142890bc18170704fd /gcc/gimple-range-path.cc
parentd43fc1df7344e9cb705d3ca40217ff4e39aab5bf (diff)
downloadgcc-d13603501680fcdbb933cb086cd01fcc39be1908.zip
gcc-d13603501680fcdbb933cb086cd01fcc39be1908.tar.gz
gcc-d13603501680fcdbb933cb086cd01fcc39be1908.tar.bz2
rtl-optimization/103075 - avoid ICEing on unfolded int-to-float converts
The following avoids asserting in exact_int_to_float_conversion_p that the argument is not constant which it in fact can be with -frounding-math and inexact int-to-float conversions. Say so. 2021-11-04 Richard Biener <rguenther@suse.de> PR rtl-optimization/103075 * simplify-rtx.c (exact_int_to_float_conversion_p): Return false for a VOIDmode operand. * gcc.dg/pr103075.c: New testcase.
Diffstat (limited to 'gcc/gimple-range-path.cc')
0 files changed, 0 insertions, 0 deletions