[Bug middle-end/51994] [4.6/4.7 Regression] git-1.7.8.3 miscompiled due to negative bitpos from get_inner_reference

ubizjak at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Jan 26 19:43:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51994

Uros Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #26466|0                           |1
        is obsolete|                            |

--- Comment #21 from Uros Bizjak <ubizjak at gmail dot com> 2012-01-26 18:40:24 UTC ---
Created attachment 26474
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26474
Patch that adds asserts to {extract,store}_bit_field

This patch regressed following tests on x86_64-linux (gcc-46):

FAIL: gcc.dg/pr48335-8.c (internal compiler error)
FAIL: gcc.dg/pr48335-8.c (test for excess errors)

This shows that x86_64 is also not immune to negative bitpos problem.



More information about the Gcc-bugs mailing list