From 66de86b074de01ffe1206cafaaf33d9febfc35a7 Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Sun, 19 Sep 2010 14:03:39 +0000 Subject: decl.c (gnat_to_gnu_entity): Do not generate debug info for individual enumerators. * gcc-interface/decl.c (gnat_to_gnu_entity) : Do not generate debug info for individual enumerators. From-SVN: r164418 --- gcc/ada/gcc-interface/decl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gcc/ada/gcc-interface') diff --git a/gcc/ada/gcc-interface/decl.c b/gcc/ada/gcc-interface/decl.c index d1b0279..c9ca2a6 100644 --- a/gcc/ada/gcc-interface/decl.c +++ b/gcc/ada/gcc-interface/decl.c @@ -1525,7 +1525,8 @@ gnat_to_gnu_entity (Entity_Id gnat_entity, tree gnu_expr, int definition) = create_var_decl (get_entity_name (gnat_literal), NULL_TREE, gnu_type, gnu_value, true, false, false, false, NULL, gnat_literal); - + /* Do not generate debug info for individual enumerators. */ + DECL_IGNORED_P (gnu_literal) = 1; save_gnu_tree (gnat_literal, gnu_literal, false); gnu_literal_list = tree_cons (DECL_NAME (gnu_literal), gnu_value, gnu_literal_list); -- cgit v1.1