[Bug middle-end/71494] [4.9/5 Regression] label as value in nested function

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jul 7 12:44:00 GMT 2016


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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Jul  7 12:43:50 2016
New Revision: 238096

URL: https://gcc.gnu.org/viewcvs?rev=238096&root=gcc&view=rev
Log:
        Backported from mainline
        2016-06-10  Jakub Jelinek  <jakub@redhat.com>

        PR middle-end/71494
        * tree-nested.c (convert_nonlocal_reference_stmt): For GIMPLE_GOTO
        without LABEL_DECL, set *handled_ops_p to false instead of true.

        * gcc.c-torture/execute/pr71494.c: New test.

Added:
    branches/gcc-5-branch/gcc/testsuite/gcc.c-torture/execute/pr71494.c
Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/testsuite/ChangeLog
    branches/gcc-5-branch/gcc/tree-nested.c


More information about the Gcc-bugs mailing list