[Bug middle-end/51994] [4.6/4.7 Regression] git-1.7.8.3 miscompiled due to negative bitpos from get_inner_reference
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 25 13:00:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51994
--- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-01-25 12:41:13 UTC ---
(In reply to comment #3)
> Created attachment 26459 [details]
> Patch to fix function prototypes
>
> To my surprise, attached patch fixes all git failures. However, I have no idea
> if changing the prototypes as suggested by Richi is the right way to fix this.
I think it is certainly obviously correct to do this. OTOH it may uncover
latent issues (or not pass bootstrap due to signed/unsigned compares or so).
I'd say give it bootstrap & regtest on a fast machine and post this patch.
More information about the Gcc-bugs
mailing list