aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-inline.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2013-08-13 19:06:13 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2013-08-13 19:06:13 +0200
commit4029a5e06387a5d222a4a7ff870404678b0054c0 (patch)
treed5c18123e7a057448dfc5369c00a76ff6e121643 /gcc/tree-inline.h
parent99c2bd544a3f84ae1716a0d8d973c98fc0534f86 (diff)
downloadgcc-4029a5e06387a5d222a4a7ff870404678b0054c0.zip
gcc-4029a5e06387a5d222a4a7ff870404678b0054c0.tar.gz
gcc-4029a5e06387a5d222a4a7ff870404678b0054c0.tar.bz2
re PR middle-end/57661 (ICE: SIGSEGV in verify_ssa)
PR tree-optimization/57661 * tree-inline.h (struct copy_body_data): Add blocks_to_copy field. * tree-inline.c (tree_function_versioning): Initialize it. (remap_gimple_stmt): Return GIMPLE_NOP for MEM_REF lhs clobber stmts if id->blocks_to_copy and MEM_REF's SSA_NAME is defined in a block that is not being copied. * g++.dg/opt/pr57661.C: New test. From-SVN: r201698
Diffstat (limited to 'gcc/tree-inline.h')
-rw-r--r--gcc/tree-inline.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/tree-inline.h b/gcc/tree-inline.h
index b65dee9..620ec97 100644
--- a/gcc/tree-inline.h
+++ b/gcc/tree-inline.h
@@ -115,6 +115,10 @@ typedef struct copy_body_data
/* Entry basic block to currently copied body. */
basic_block entry_bb;
+ /* For partial function versioning, bitmap of bbs to be copied,
+ otherwise NULL. */
+ bitmap blocks_to_copy;
+
/* Debug statements that need processing. */
vec<gimple> debug_stmts;