8
1998-06-25 Benjamin Kosnik <bkoz@lisa.cygnus.com>
* decl.c (start_enum): Put local enums on permanant_obstack.
g++/11580
From-SVN: r20721
register tree enumtype = NULL_TREE;
struct binding_level *b = inner_binding_level;
+ /* We are wasting space here and putting these on the permanant_obstack so
+ that typeid(local enum) will work correctly. */
+#if 0
if (processing_template_decl && current_function_decl)
- end_temporary_allocation ();
+#endif
+
+ end_temporary_allocation ();
/* If this is the real definition for a previous forward reference,
fill in the contents in the same object that used to be the