[Bug middle-end/65702] [5 Regression] ICE (tree check: expected ssa_name, have var_decl in expand_gimple_basic_block, at cfgexpand.c:5506) on arm-linux-gnueabihf

bernds at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 9 13:11:00 GMT 2016


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

--- Comment #12 from Bernd Schmidt <bernds at gcc dot gnu.org> ---
Author: bernds
Date: Tue Feb  9 13:10:39 2016
New Revision: 233242

URL: https://gcc.gnu.org/viewcvs?rev=233242&root=gcc&view=rev
Log:
        PR middle-end/65702
        * varasm.c (make_decl_rtl): Mark invalid register vars as
        DECL_EXTERNAL.

testsuite/
        PR middle-end/65702
        * c-c++-common/pr67639.c: New test.


Added:
    branches/gcc-5-branch/gcc/testsuite/c-c++-common/pr67639.c
Modified:
    branches/gcc-5-branch/gcc/testsuite/ChangeLog
    branches/gcc-5-branch/gcc/varasm.c


More information about the Gcc-bugs mailing list