OSDN Git Service

* tree-nested.c (convert_tramp_reference) <ADDR_EXPR>: Do not
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 25 May 2008 22:42:49 +0000 (22:42 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 25 May 2008 22:42:49 +0000 (22:42 +0000)
commit939e9bf1bf48c73472583b60cb57cb962b617274
tree1a3f8d2557f13dd05aa93e2ca0e800b6a5a115c6
parentc50688b2bac252df730e3c3af294ec1a82453e2e
 * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135884 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ada/ChangeLog
gcc/ada/trans.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/trampoline1.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/trampoline2.adb [new file with mode: 0644]
gcc/tree-nested.c
gcc/varasm.c