gigi.h (add_stmt_force): Declare.
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 3 Nov 2010 00:15:51 +0000 (00:15 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 3 Nov 2010 00:15:51 +0000 (00:15 +0000)
commit586fea26ac1f35bcbf4b501f7881635105241a8c
tree93e79a0d561245e820722a4a6887170c7a25ca92
parent04ae82aa4e3d2bdbcb2fc604604db6bf9884ba82
gigi.h (add_stmt_force): Declare.

* gcc-interface/gigi.h (add_stmt_force): Declare.
(add_stmt_with_node_force): Likewise.
* gcc-interface/trans.c (Attribute_to_gnu): Don't set TREE_SIDE_EFFECTS
on the SAVE_EXPR built for cached expressions of parameter attributes.
(Subprogram_Body_to_gnu): Force evaluation of the SAVE_EXPR built for
cached expressions of parameter attributes.
(add_stmt_force): New function.
(add_stmt_with_node_force): Likewise.

From-SVN: r166222
gcc/ada/ChangeLog
gcc/ada/gcc-interface/gigi.h
gcc/ada/gcc-interface/trans.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/sizetype4.adb [new file with mode: 0644]