This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/67699] [4.9/5 Regression] ICE (segfault) compiling a const array with -flto
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 06 Oct 2015 10:20:26 +0000
- Subject: [Bug lto/67699] [4.9/5 Regression] ICE (segfault) compiling a const array with -flto
- Auto-submitted: auto-generated
- References: <bug-67699-4 at http dot gcc dot gnu dot org/bugzilla/>
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