aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/lambda.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2017-05-10 10:16:54 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2017-05-10 10:16:54 +0000
commite1ad2926a08a65efae413d84673e11ba695f2bd4 (patch)
tree97c8067510e1da022eb7b05fa24ef82a66880abf /gcc/cp/lambda.c
parentf00b411f5437114d7ee7107be1d150b7d893dfc7 (diff)
downloadgcc-e1ad2926a08a65efae413d84673e11ba695f2bd4.zip
gcc-e1ad2926a08a65efae413d84673e11ba695f2bd4.tar.gz
gcc-e1ad2926a08a65efae413d84673e11ba695f2bd4.tar.bz2
avoid remove&reinsert of call when splitting block for inlining
We used to split the inlined-into block at (= after) the call, and then remove the call from the first block to insert it in the second. The removal may cause unnecessary and unrecoverable resetting of debug insns: we do not generate debug temps for calls. Avoid the remove-and-reinsert dance by splitting the block before the call. for gcc/ChangeLog * tree-inline.c (expand_call_inline): Split block at stmt before the call. for gcc/testsuite/ChangeLog * gcc.dg/guality/inline-params-2.c: New. From-SVN: r247830
Diffstat (limited to 'gcc/cp/lambda.c')
0 files changed, 0 insertions, 0 deletions