r135884 - in /trunk/gcc: ChangeLog ada/ChangeLo...
ebotcazou@gcc.gnu.org
ebotcazou@gcc.gnu.org
Sun May 25 22:42:00 GMT 2008
Author: ebotcazou
Date: Sun May 25 22:42:49 2008
New Revision: 135884
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=135884
Log:
* tree-nested.c (convert_tramp_reference) <ADDR_EXPR>: Do not
build a trampoline if we don't want one.
* varasm.c (initializer_constant_valid_p) <ADDR_EXPR>: Do not
return zero for nested functions if we don't want a trampoline.
ada/
* trans.c (Attribute_to_gnu) <Code_Address>: Set TREE_NO_TRAMPOLINE
instead of TREE_STATIC on the ADDR_EXPR.
Added:
trunk/gcc/testsuite/gnat.dg/trampoline1.adb
trunk/gcc/testsuite/gnat.dg/trampoline2.adb
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/trans.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-nested.c
trunk/gcc/varasm.c
More information about the Gcc-cvs
mailing list