[PATCH, PR 50744] Prevent overflows in IPA-CP
Eric Botcazou
ebotcazou@adacore.com
Sun Dec 4 15:34:00 GMT 2011
> I don't think that is related to C++ switch, because C++03 doesn't have
> long long, only C++11 and C99 has it. We apparently are using int64_t or
> uint64_t in a couple of places already though:
IMHO they should be audited and fixed if need be.
> ada/tb-gcc.c: uwx_get_reg ((struct uwx_env *) uw_context,
> UWX_REG_IP, (uint64_t *) &pc);
This one is for the target only, so it's OK.
--
Eric Botcazou
More information about the Gcc-patches
mailing list