[PATCH] Fix PR36194
Eric Botcazou
ebotcazou@adacore.com
Tue May 13 16:54:00 GMT 2008
> I checked out the version before the original change and compared it to the
> version with the patch and there are no check_promoted_subreg-related
> changes other than the formatting fix.
Won't your patch give the following outcome?
if (GET_CODE (x) == SUBREG || REG_P (x))
{
if (GET_CODE (x) == SUBREG
&& SUBREG_PROMOTED_VAR_P (x)
&& REG_P (SUBREG_REG (x)))
record_promoted_value (insn, x);
}
else
That's not the same as the original code:
if (GET_CODE (x) == SUBREG
&& SUBREG_PROMOTED_VAR_P (x)
&& REG_P (SUBREG_REG (x)))
record_promoted_value (insn, x);
else
--
Eric Botcazou
More information about the Gcc-patches
mailing list