On 6/3/19 3:24 PM, Martin Sebor wrote:
> While testing a different -Wreturn-local-addr bug fix/enhancement
> I noticed that in functions that return integers as opposed to
> pointers such as:
>
> intptr_t f (int i) { return (intptr_t)&i; }
>
> the converted address is folded to zero. This can
While testing a different -Wreturn-local-addr bug fix/enhancement
I noticed that in functions that return integers as opposed to
pointers such as:
intptr_t f (int i) { return (intptr_t)&i; }
the converted address is folded to zero. This can be detected
by strictly conforming programs so it's