[Bug middle-end/70199] [5/6 Regression] Crash at -O2 when using labels.

law at redhat dot com gcc-bugzilla@gcc.gnu.org
Mon Mar 14 08:02:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70199

Jeffrey A. Law <law at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1
                 CC|                            |law at redhat dot com

--- Comment #4 from Jeffrey A. Law <law at redhat dot com> ---
Looks like reload writes offsets_known_at for a label on the
forced_labels_list.  The problem is the label # of the offending label is 0,
but FIRST_LABEL_NUM is 4.  This causes the out-of-bounds array accesses and
ultimately heap corruption.


More information about the Gcc-bugs mailing list