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

bernd.edlinger at hotmail dot de gcc-bugzilla@gcc.gnu.org
Sun Nov 3 19:16:00 GMT 2013


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

Bernd Edlinger <bernd.edlinger at hotmail dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bernd.edlinger at hotmail dot de

--- Comment #4 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
Created attachment 31145
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31145&action=edit
For a possible patch.

This patch is assuming that a statement like "s->mode[-1].b = 0;"
is basically invoking undefined behaviour, so it should not matter
if we have correct bitregion_start/end values or just set them to zero
in this case.



More information about the Gcc-bugs mailing list