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  <rguent...@suse.de>

        * 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.
OK by me.  Your call on gcc-12 vs gcc-13 timing.
jeff

Reply via email to