[Bug middle-end/58970] [4.7/4.8/4.9 Regression] internal compiler error: in get_bit_range, at expr.c:4562

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Nov 5 19:43:00 GMT 2013


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

--- Comment #25 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Bernd Edlinger from comment #24)
> Created attachment 31169 [details]
> Another (better) attempt at fixing this ICE.
> 
> This avoids any negative bitpos from get_inner_reference.
> These negative bitpos values are just _very_ dangerous all the
> way down to expmed.c

I disagree that it is better, you are forgetting get_inner_reference has other
> 20 callers outside of expansion and there is no reason why negative bitpos
would be a problem in those cases.



More information about the Gcc-bugs mailing list