[Bug middle-end/51994] [4.6/4.7 Regression] git-1.7.8.3 miscompiled due to negative bitpos from get_inner_reference
ebotcazou at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 1 16:36:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51994
--- Comment #32 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-02-01 16:34:30 UTC ---
> The base object can be an indirect reference, so yes, there doesn't have
> to be an overall positive offset (well, yes, to the _real_ object,
> but we don't see that).
If this is an indirect reference, there is no base object by definition. So
I'm not sure we should care in get_inner_reference and, in any case, I'm not
sure what to do. Probably avoid sending MEM_REF to get_inner_reference in this
case,
after all it's clearly not a handled_component_p-like thing.
More information about the Gcc-bugs
mailing list