PR 14718
* dwarf2out.c (dwarf2out_imported_module_or_decl): Use
force_type_die for CONST_DECL.
From-SVN: r81431
+2004-05-03 Graham Stott <graham.stott@btinternet.com>
+
+ PR 14718
+ * dwarf2out.c (dwarf2out_imported_module_or_decl): Use
+ force_type_die for CONST_DECL.
+
2004-05-03 Eric Botcazou <ebotcazou@libertysurf.fr>
Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
else
scope_die = force_decl_die (context);
- /* For TYPE_DECL, lookup TREE_TYPE. */
- if (TREE_CODE (decl) == TYPE_DECL)
+ /* For TYPE_DECL or CONST_DECL, lookup TREE_TYPE. */
+ if (TREE_CODE (decl) == TYPE_DECL || TREE_CODE (decl) == CONST_DECL)
at_import_die = force_type_die (TREE_TYPE (decl));
else
at_import_die = force_decl_die (decl);