]> git.ipfire.org Git - thirdparty/gcc.git/commit
* gimplify.c (gimplify_modify_expr_rhs): Use simple test on the size.
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 1 Jun 2015 20:49:18 +0000 (20:49 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 1 Jun 2015 20:49:18 +0000 (20:49 +0000)
commit33b2642e544d575f2a62538b79cc677b0dfae746
tree83d3f1184dd0b41ae0e5c786c8add2d6cfd17d07
parentb5e563e408f9e1941f981da849114bb23f8c8473
* gimplify.c (gimplify_modify_expr_rhs): Use simple test on the size.
* cgraph.c (cgraph_redirect_edge_call_stmt_to_callee): Do not remove
the LHS of a no-return call if its type has variable size.
* tree-cfgcleanup.c (fixup_noreturn_call): Likewise.
* tree-cfg.c (verify_gimple_call): Accept these no-return calls.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@223997 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cgraph.c
gcc/gimplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/specs/varsize_return2.ads [new file with mode: 0644]
gcc/testsuite/gnat.dg/specs/varsize_return2_pkg.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/specs/varsize_return2_pkg.ads [new file with mode: 0644]
gcc/tree-cfg.c
gcc/tree-cfgcleanup.c