aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2015-06-19 20:25:38 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2015-06-19 20:25:38 +0000
commitc1a569ef313db23d0563be35eefa05d4d7bde772 (patch)
treee5e61dffe1b66ad8003ea708203f7f59981c7136 /gcc/testsuite/gnat.dg
parent034e7d4912a66d79b9ee8bb8c1adf5c945e47669 (diff)
downloadgcc-c1a569ef313db23d0563be35eefa05d4d7bde772.zip
gcc-c1a569ef313db23d0563be35eefa05d4d7bde772.tar.gz
gcc-c1a569ef313db23d0563be35eefa05d4d7bde772.tar.bz2
gigi.h (record_builtin_type): Adjust comment.
* gcc-interface/gigi.h (record_builtin_type): Adjust comment. (tree create_type_decl): Likewise. (create_var_decl_1): Add artificial_p and debug_info_p parameters. (create_var_decl): Likewise. (create_true_var_decl): Delete. (create_subprog_decl): Add debug_info_p parameter. * gcc-interface/decl.c (gnat_to_gnu_entity): Add artificial_p local variable and use it throughout. Remove DECL_ARTIFICIAL settings. <E_Variable>: Adjust calls to create_var_decl and create_var_decl_1. Remove DECL_IGNORED_P settings. <E_Enumeration_Type>: Likewise. <E_Record_Type>: Likewise. <E_Subprogram_Type>: Likewise. Remove artificial_flag local variable. Adjust call to create_subprog_decl. (get_minimal_subprog_decl): Likewise. (elaborate_expression_1): Adjust call to create_var_decl. * gcc-interface/trans.c (gigi): Adjust calls to create_var_decl and create_subprog_decl. Remove DECL_ARTIFICIAL & DECL_IGNORED_P settings. * gcc-interface/utils.c (maybe_pad_type): Likewise. (record_builtin_type): Adjust comment. (create_type_stub_decl): Remove obsolete comment. (create_var_decl_1): Add artificial_p and debug_info_p parameters. Set DECL_ARTIFICIAL and DECL_IGNORED_P accordingly. (create_subprog_decl): Add debug_info_p parameter. Set DECL_IGNORED_P accordingly. From-SVN: r224699
Diffstat (limited to 'gcc/testsuite/gnat.dg')
-rw-r--r--gcc/testsuite/gnat.dg/specs/debug1.ads2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gnat.dg/specs/debug1.ads b/gcc/testsuite/gnat.dg/specs/debug1.ads
index 92e9184..de0a7b9 100644
--- a/gcc/testsuite/gnat.dg/specs/debug1.ads
+++ b/gcc/testsuite/gnat.dg/specs/debug1.ads
@@ -11,4 +11,4 @@ package Debug1 is
end Debug1;
--- { dg-final { scan-assembler-times "DW_AT_artificial" 17 } }
+-- { dg-final { scan-assembler-times "DW_AT_artificial" 15 } }