diff options
author | Olivier Hainque <hainque@adacore.com> | 2008-07-17 14:18:27 +0000 |
---|---|---|
committer | Olivier Hainque <hainque@gcc.gnu.org> | 2008-07-17 14:18:27 +0000 |
commit | a7a46bb2d96c538337c19f5ba9bb55fb7b34c726 (patch) | |
tree | 3b74d3ff953a20ee785835248912fbefebafef7c /gcc/builtins.c | |
parent | 711b299844b8eb77451d96a360f4525fc005279e (diff) | |
download | gcc-a7a46bb2d96c538337c19f5ba9bb55fb7b34c726.zip gcc-a7a46bb2d96c538337c19f5ba9bb55fb7b34c726.tar.gz gcc-a7a46bb2d96c538337c19f5ba9bb55fb7b34c726.tar.bz2 |
utils.c (create_var_decl_1): Relax expectations on the PUBLIC_FLAG argument...
ada/
* utils.c (create_var_decl_1): Relax expectations on the PUBLIC_FLAG
argument, to apply to references in addition to definitions. Prevent
setting TREE_STATIC on externals.
(gnat_pushdecl): Always clear DECL_CONTEXT on public externals.
testsuite/
* gnat.dg/tree_static_def.ad[bs]: Support for ...
* gnat.dg/tree_static_use.adb: New test.
* gnat.dg/decl_ctx_def.ads: Support for ...
* gnat.dg/decl_ctx_use.ad[bs]: New test.
From-SVN: r137923
Diffstat (limited to 'gcc/builtins.c')
0 files changed, 0 insertions, 0 deletions