[PATCH v2] combine: Fix ICE in try_combine on pr112494.c [PR112560]

Uros Bizjak ubizjak@gmail.com
Thu Mar 7 21:08:09 GMT 2024


On Thu, Mar 7, 2024 at 10:04 PM Uros Bizjak <ubizjak@gmail.com> wrote:

> The source code that deals with the *user* of the CC register assumes
> the former form, so it blindly tries to update the mode of the CC
> register inside LT comparison RTX (some other nearby source code even
> checks for (const_int 0) RTX). Obviously, this is not the case with
> the former form, where the update tries to:

Please read the above as:

... Obviously, this won't work with the former form, ...

Uros.


More information about the Gcc-patches mailing list