aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2022-01-24 15:26:46 +0100
committerRichard Biener <rguenther@suse.de>2022-02-04 12:54:35 +0100
commit24c72fb0eedfe7c67f9b15aa31b474a999cc4723 (patch)
treee37bf8a72449e7e5cc59a280b791c037f681d5f9 /gcc/fold-const.h
parent38948b77dbc16f4c6cf6cff8661bab699b306f03 (diff)
downloadgcc-24c72fb0eedfe7c67f9b15aa31b474a999cc4723.zip
gcc-24c72fb0eedfe7c67f9b15aa31b474a999cc4723.tar.gz
gcc-24c72fb0eedfe7c67f9b15aa31b474a999cc4723.tar.bz2
Adjust LSHIFT_EXPR handling of multiple_of_p
This removes the odd check of size_type_node when handling left-shifts as multiplications of 1 << N and instead uses the type as specified. It also moves left-shift handling next to multiplications where it semantically belongs. 2022-01-24 Richard Biener <rguenther@suse.de> * fold-const.cc (multiple_of_p): Re-write and move LSHIFT_EXPR handling.
Diffstat (limited to 'gcc/fold-const.h')
0 files changed, 0 insertions, 0 deletions