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: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 25 Jan 2012 13:33:43 +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 #8 from Uros Bizjak <ubizjak at gmail dot com> 2012-01-25 13:33:43 UTC ---
And the test in Comment #7 exposed the same problem in extract_bit_field & co.
#19 0x00000000005801f4 in extract_bit_field (str_rtx=0x2aaaae85b760,
bitsize=46912560805760, bitnum=46912559843392,
unsignedp=370, packedp=<value optimized out>, target=0x0, mode=QImode,
tmode=QImode)
---Type <return> to continue, or q <return> to quit---
at ../../gcc-svn/branches/gcc-4_6-branch/gcc/expmed.c:1697
#20 0x000000000058aa12 in expand_expr_real_1 (exp=0x2aaaae773870,
target=0x2aaaae85b700, tmode=<value optimized out>,
modifier=<value optimized out>, alt_rtl=<value optimized out>)
at ../../gcc-svn/branches/gcc-4_6-branch/gcc/expr.c:9380
What a can of worms...