This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Jun 14 14:45:23 2016
New Revision: 237449

URL: https://gcc.gnu.org/viewcvs?rev=237449&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-6-branch/gcc/testsuite/gcc.c-torture/execute/pr71494.c
Modified:
    branches/gcc-6-branch/gcc/ChangeLog
    branches/gcc-6-branch/gcc/testsuite/ChangeLog
    branches/gcc-6-branch/gcc/tree-nested.c

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]