diff options
author | Richard Biener <rguenther@suse.de> | 2022-01-24 14:59:00 +0100 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2022-01-31 09:38:10 +0100 |
commit | 625f16c798757dcbfdded841f01d7c566d15c55c (patch) | |
tree | 9d5ef9fef0337bced0c514059082bbe40e9f852c /libffi/mdate-sh | |
parent | 23987912ddb4207de0714d81237f93f613557d1f (diff) | |
download | gcc-625f16c798757dcbfdded841f01d7c566d15c55c.tar.gz |
Fix multiple_of_p behavior with NOP_EXPR
We were passing down the original type to recursive invocations
of multiple_of_p for say (int)(unsigned * unsigned).
2022-01-24 Richard Biener <rguenther@suse.de>
PR tree-optimization/100499
* fold-const.cc (multiple_of_p): Pass the correct type of
the expression to the recursive invocation of multiple_of_p
for conversions and use CASE_CONVERT.
Diffstat (limited to 'libffi/mdate-sh')
0 files changed, 0 insertions, 0 deletions