http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51994
--- Comment #16 from Uros Bizjak <ubizjak at gmail dot com> 2012-01-26 07:57:10 UTC --- (In reply to comment #15) > Can't most of the callers of get_inner_reference cope with negative bitpos > though? If so, perhaps only the caller or two in the expansion which doesn't > should be adjusted. I did look a bit for other uses, and negative offsets can result in subregs with negative index and shifts with negative shift constant (see i.e. fold-const.c, line 3454). So, I still think that infrastructure doesn't handle negative bit positions well.