PR sanitizer/81715
commit9311b3975846f9d2d7ec8c7b8c765c04c84eafed
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 Jan 2018 20:30:33 +0000 (18 20:30 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 Jan 2018 20:30:33 +0000 (18 20:30 +0000)
treed3b25d4d5a26001425b9b68638df47855a0c1354
parent07d8961c723a70598711e5163258a9e0d251f8b0
PR sanitizer/81715
PR testsuite/83882
* function.h (gimplify_parameters): Add gimple_seq * argument.
* function.c: Include gimple.h and options.h.
(gimplify_parameters): Add cleanup argument, add CLOBBER stmts
for the added local temporaries if needed.
* gimplify.c (gimplify_body): Adjust gimplify_parameters caller,
if there are any parameter cleanups, wrap whole body into a
try/finally with the cleanups.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@256861 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/function.c
gcc/function.h
gcc/gimplify.c