Commit 658af27d by Eric Botcazou Committed by Eric Botcazou

dwarf2out.c (gen_decl_die): Do not skip in Ada.

	* dwarf2out.c (gen_decl_die) <CONST_DECL>: Do not skip in Ada.
	(dwarf2out_decl) <CONST_DECL>: Likewise.

From-SVN: r163666
parent 299137e3
2010-08-31 Eric Botcazou <ebotcazou@adacore.com>
* dwarf2out.c (gen_decl_die) <CONST_DECL>: Do not skip in Ada.
(dwarf2out_decl) <CONST_DECL>: Likewise.
2010-08-30 Eric Botcazou <ebotcazou@adacore.com> 2010-08-30 Eric Botcazou <ebotcazou@adacore.com>
Stack usage support Stack usage support
......
...@@ -20477,7 +20477,7 @@ gen_decl_die (tree decl, tree origin, dw_die_ref context_die) ...@@ -20477,7 +20477,7 @@ gen_decl_die (tree decl, tree origin, dw_die_ref context_die)
break; break;
case CONST_DECL: case CONST_DECL:
if (!is_fortran ()) if (!is_fortran () && !is_ada ())
{ {
/* The individual enumerators of an enum type get output when we output /* The individual enumerators of an enum type get output when we output
the Dwarf representation of the relevant enum type itself. */ the Dwarf representation of the relevant enum type itself. */
...@@ -20888,7 +20888,7 @@ dwarf2out_decl (tree decl) ...@@ -20888,7 +20888,7 @@ dwarf2out_decl (tree decl)
case CONST_DECL: case CONST_DECL:
if (debug_info_level <= DINFO_LEVEL_TERSE) if (debug_info_level <= DINFO_LEVEL_TERSE)
return; return;
if (!is_fortran ()) if (!is_fortran () && !is_ada ())
return; return;
if (TREE_STATIC (decl) && decl_function_context (decl)) if (TREE_STATIC (decl) && decl_function_context (decl))
context_die = lookup_decl_die (DECL_CONTEXT (decl)); context_die = lookup_decl_die (DECL_CONTEXT (decl));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment