Re: [PATCH] Fix multiple_of_p behavior with NOP_EXPR

2022-01-28 Thread Jeff Law via Gcc-patches
On 1/24/2022 7:46 AM, Richard Biener via Gcc-patches wrote: We were passing down the original type to recursive invocations of multiple_of_p for say (int)(unsigned * unsigned). Bootstrap and regtest pending on x86_64-unknown-linux-gnu. 2022-01-24 Richard Biener * fold-const.cc (m

[PATCH] Fix multiple_of_p behavior with NOP_EXPR

2022-01-24 Thread Richard Biener via Gcc-patches
We were passing down the original type to recursive invocations of multiple_of_p for say (int)(unsigned * unsigned). Bootstrap and regtest pending on x86_64-unknown-linux-gnu. 2022-01-24 Richard Biener * fold-const.cc (multiple_of_p): Pass the correct type of the expression to