aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2023-06-23 12:50:50 +0200
committerRichard Biener <rguenther@suse.de>2023-06-23 14:16:22 +0200
commit2acbbf41d4c2a3362991863ce265041f9a2feee4 (patch)
treeee4272ecda30174ca71f5a3601f95f2be4f1c9ac /libcpp
parent96854fd753868d26dd8f270fff8c3703f7cb6c86 (diff)
downloadgcc-2acbbf41d4c2a3362991863ce265041f9a2feee4.zip
gcc-2acbbf41d4c2a3362991863ce265041f9a2feee4.tar.gz
gcc-2acbbf41d4c2a3362991863ce265041f9a2feee4.tar.bz2
Fix initializer_constant_valid_p_1 TYPE_PRECISION use
initializer_constant_valid_p_1 is letting through all conversions of float vector types that have the same number of elements but that's of course not valid. The following restricts the code to scalar floating point types as was probably intended (only scalar integer types are handled as well). * varasm.cc (initializer_constant_valid_p_1): Only allow conversions between scalar floating point types.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions