* typeck2.c (my_friendly_abort): Report bugs to egcs-bugs@cygnus.com.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14857
138bc75d-0d04-0410-961f-
82ee72b054a4
Tue Aug 19 02:26:07 1997 Jason Merrill <jason@yorick.cygnus.com>
+ * pt.c (lookup_nested_type_by_name): Handle typedef wierdness.
+
+ * typeck2.c (my_friendly_abort): Report bugs to egcs-bugs@cygnus.com.
+
* pt.c (instantiate_class_template): Call repo_template_used
before finish_prevtable_vardecl.
for (t = CLASSTYPE_TAGS (ctype); t; t = TREE_CHAIN (t))
{
- if (name == TREE_PURPOSE (t))
+ if (name == TREE_PURPOSE (t)
+ /* this catches typedef enum { foo } bar; */
+ || name == TYPE_IDENTIFIER (TREE_VALUE (t)))
return TREE_VALUE (t);
}
return NULL_TREE;
ack ("Internal compiler error.");
else
ack ("Internal compiler error %d.", i);
- ack ("Please submit a full bug report to `bug-g++@prep.ai.mit.edu'.");
+ ack ("Please submit a full bug report to `egcs-bugs@cygnus.com'.");
}
else
error ("confused by earlier errors, bailing out");
else
error ("Internal compiler error %d.", i);
- fatal ("Please submit a full bug report to `bug-g++@prep.ai.mit.edu'.");
+ fatal ("Please submit a full bug report to `egcs-bugs@cygnus.com'.");
}
void