This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r166222 - in /trunk/gcc: ada/ChangeLog ada/gcc-...
- From: ebotcazou at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 03 Nov 2010 00:15:51 -0000
- Subject: r166222 - in /trunk/gcc: ada/ChangeLog ada/gcc-...
Author: ebotcazou
Date: Wed Nov 3 00:15:51 2010
New Revision: 166222
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166222
Log:
* 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.
Added:
trunk/gcc/testsuite/gnat.dg/sizetype4.adb
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/gcc-interface/gigi.h
trunk/gcc/ada/gcc-interface/trans.c
trunk/gcc/testsuite/ChangeLog