]> git.ipfire.org Git - thirdparty/gcc.git/commit
* einfo.ads (Address_Taken): Document use for the second argument of
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 18 Jun 2011 10:18:38 +0000 (10:18 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 18 Jun 2011 10:18:38 +0000 (10:18 +0000)
commit58b93bcc8fc3d3913e056ed49b2bc3baca2543ae
treea7356c2f1b6f9502b952ce84f57e10fc9f2fe1b8
parent9329bf7c24f8bbcc509ba1f5e9a7a8d9af7c76cd
* einfo.ads (Address_Taken): Document use for the second argument of
Asm_Input and Asm_Output attributes.
* sem_attr.adb (Analyze_Attribute) <Attribute_Asm_Input>: If the second
argument is an entity name, then set Address_Taken on it.
<Attribute_Asm_Output>: Likewise.
* gcc-interface/trans.c (lvalue_required_for_attribute_p): Handle the
Attr_Asm_Input and Attr_Asm_Output attributes explicitly.
(gnat_to_gnu) <N_Code_Statement>: If an operand is going to end up in
memory and is a CONST_DECL, retrieve its corresponding VAR_DECL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175171 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/einfo.ads
gcc/ada/gcc-interface/trans.c
gcc/ada/sem_attr.adb
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/constant3.adb [new file with mode: 0644]