https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97264
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jsm28 at gcc dot gnu.org, | |rguenth at gcc dot gnu.org Target Milestone|--- |11.0 --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- a-t5.c.036t.fre1:ipa-modref: in __vfscanf_internal__/1, call to read_int/0 does not clobber f 2->2 a-t5.c.036t.fre1:ipa-modref: in __vfscanf_internal__/1, call to read_int/0 does not clobber f 2->2 I think this is 'const char *' vs. 'const unsigned char *' being TBAA incompatible. Changing read_int to take 'const char *pstr' fixes things (and changing the type in __vfscanf_internal__ as well). So this seems to be a latent bug in glibc unless somehow C makes those pointers magically compatible wrt TBAA. Joseph?