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 tree-optimization/69213] [6 Regression] g++ ICE (segfault) at -O1 and above on x86_64-linux-gnu in "add_dependency"


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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Jan 12 15:21:27 2016
New Revision: 232278

URL: https://gcc.gnu.org/viewcvs?rev=232278&root=gcc&view=rev
Log:
        PR objc++/68511
        PR c++/69213
        * cp-gimplify.c (cp_gimplify_expr) <case INIT_EXPR>: Don't return
        GS_ERROR whenever seen_error (), only if *expr_p contains
        cilk spawn stmt, but cilk_detect_spawn_and_unwrap failed.

        * g++.dg/opt/pr69213.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/opt/pr69213.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cp-gimplify.c
    trunk/gcc/testsuite/ChangeLog

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