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

--- Comment #12 from ktkachov at gcc dot gnu.org ---
Author: ktkachov
Date: Tue Jan  9 11:38:04 2018
New Revision: 256377

URL: https://gcc.gnu.org/viewcvs?rev=256377&root=gcc&view=rev
Log:
[arm] PR target/82975: Guard against reg_renumber being NULL in arm.h

        Backport from mainline
        2017-12-19  Kyrylo Tkachov  <kyrylo.tkac...@arm.com>

        PR target/82975
        * config/arm/arm.h (TEST_REGNO): Check reg_renumber is set before
        accessing it.  Adjust comment.

        * gcc.dg/pr82975.c: New test.

Added:
    branches/gcc-6-branch/gcc/testsuite/gcc.dg/pr82975.c
Modified:
    branches/gcc-6-branch/gcc/ChangeLog
    branches/gcc-6-branch/gcc/config/arm/arm.h
    branches/gcc-6-branch/gcc/testsuite/ChangeLog

Reply via email to