diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2011-04-22 17:35:08 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2011-04-22 17:35:08 +0000 |
commit | 7d7fcb08c3e4f48c061a1987ec2445a11560c4e6 (patch) | |
tree | 3835a433d75a82dc790e95c7b83470ce5a833abe /gcc/tree-sra.c | |
parent | 1b5f5069484e7b96a0e7f07db7cd014f61af0b4d (diff) | |
download | gcc-7d7fcb08c3e4f48c061a1987ec2445a11560c4e6.zip gcc-7d7fcb08c3e4f48c061a1987ec2445a11560c4e6.tar.gz gcc-7d7fcb08c3e4f48c061a1987ec2445a11560c4e6.tar.bz2 |
gigi.h (create_subprog_decl): Add ARTIFICIAL_FLAG parameter.
* gcc-interface/gigi.h (create_subprog_decl): Add ARTIFICIAL_FLAG
parameter.
* gcc-interface/utils.c (create_subprog_decl): Likewise. Set
DECL_ARTIFICIAL and DECL_NO_INLINE_WARNING_P on the DECL accordingly.
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Subprogram_Type>: Add
ARTIFICIAL_FLAG local variable and pass it to create_subprog_decl.
<all>: Do not set flags on the reused DECL node coming from an alias.
Set DECL_IGNORED_P on the DECL node built for subprograms if they
don't need debug info here...
* gcc-interface/trans.c (Subprogram_Body_to_gnu): ...and not here.
(gigi): Adjust calls to create_subprog_decl.
(build_raise_check): Likewise.
(establish_gnat_vms_condition_handler): Likewise.
(Compilation_Unit_to_gnu): Likewise.
(gnat_to_gnu): Likewise.
From-SVN: r172862
Diffstat (limited to 'gcc/tree-sra.c')
0 files changed, 0 insertions, 0 deletions