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 lto/67699] [4.9/5 Regression] ICE (segfault) compiling a const array with -flto


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

--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Tue Oct  6 10:19:54 2015
New Revision: 228517

URL: https://gcc.gnu.org/viewcvs?rev=228517&root=gcc&view=rev
Log:
2015-10-06  Richard Biener  <rguenther@suse.de>

        Backport from mainline
        2015-09-15  Richard Biener  <rguenther@suse.de>

        PR middle-end/67563
        * gimple-fold.c (gimplify_and_update_call_from_tree): Do not
        transfer EH info from old to new stmt.
        (replace_call_with_value): Likewise.
        (replace_call_with_call_and_fold): Likewise.
        (gimple_fold_builtin_memory_op): Likewise.
        (gimple_fold_builtin_memset): Likewise.
        (gimple_fold_builtin_stpcpy): Likewise.
        (gimple_fold_call): Likewise.

        * gcc.dg/pr67563.c: New testcase.

        2015-09-24  Richard Biener  <rguenther@suse.de>

        PR lto/67699
        * lto-cgraph.c (compute_ltrans_boundary): Do not stream
        abstract origins.

        * g++.dg/pr67699.C: New testcase.

Added:
    branches/gcc-5-branch/gcc/testsuite/g++.dg/pr67699.C
    branches/gcc-5-branch/gcc/testsuite/gcc.dg/pr67563.c
Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/gimple-fold.c
    branches/gcc-5-branch/gcc/lto-cgraph.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog


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