aboutsummaryrefslogtreecommitdiff
path: root/gcc/value-range.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2022-04-27 08:28:31 +0200
committerRichard Biener <rguenther@suse.de>2022-04-29 08:08:17 +0200
commite27eef7478f30ea79048dbde3317e89679d75a6e (patch)
tree7d58bccb9bf59c8234a596ff60dee89f9ffec4fd /gcc/value-range.h
parentae5168ddc92d070058ec0fcc78de0ef40e4ba1a1 (diff)
downloadgcc-e27eef7478f30ea79048dbde3317e89679d75a6e.zip
gcc-e27eef7478f30ea79048dbde3317e89679d75a6e.tar.gz
gcc-e27eef7478f30ea79048dbde3317e89679d75a6e.tar.bz2
middle-end/105376 - invalid REAL_CST for DFP constant
We are eventually ICEing in decimal_to_decnumber on non-decimal REAL_VALUE_TYPE that creep in from uses of build_real (..., dconst*) for DFP types. The following extends the decimal_to_decnumber special-casing of dconst* to build_real, avoiding the bogus REAL_CSTs from creeping into the IL and modified to ones not handled by the decimal_to_decnumber special casing. It also makes sure to ICE for not handled dconst* values at the point we build the REAL_CST. 2022-04-27 Richard Biener <rguenther@suse.de> PR middle-end/105376 * tree.cc (build_real): Special case dconst* arguments for decimal floating point types. * gcc.dg/pr105376.c: New testcase.
Diffstat (limited to 'gcc/value-range.h')
0 files changed, 0 insertions, 0 deletions