This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/51994] [4.6/4.7 Regression] git-1.7.8.3 miscompiled due to negative bitpos from get_inner_reference
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 25 Jan 2012 12:41:13 +0000
- Subject: [Bug middle-end/51994] [4.6/4.7 Regression] git-1.7.8.3 miscompiled due to negative bitpos from get_inner_reference
- Auto-submitted: auto-generated
- References: <bug-51994-4@http.gcc.gnu.org/bugzilla/>
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.