diff options
author | Jason Merrill <jason@yorick.cygnus.com> | 1998-05-22 03:32:43 +0000 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 1998-05-21 23:32:43 -0400 |
commit | 27fafc8de13d41577b731f61571924eed3c5a3e0 (patch) | |
tree | 2733b8b284901fd46e9746d2ac5a060d97c860d7 /gcc/fold-const.c | |
parent | 911c3b7d7cf7c25f2b3f8ee1d19ba88fc21bac17 (diff) | |
download | gcc-27fafc8de13d41577b731f61571924eed3c5a3e0.zip gcc-27fafc8de13d41577b731f61571924eed3c5a3e0.tar.gz gcc-27fafc8de13d41577b731f61571924eed3c5a3e0.tar.bz2 |
pt.c (determine_specialization): Just return an error_mark_node.
* pt.c (determine_specialization): Just return an error_mark_node.
Also print the decl we want in error messages. If we complain,
return error_mark_node.
(tsubst_friend_function): Set lineno and input_filename so
error messages will be useful.
(instantiate_template): Just return an error_mark_node.
* pt.c (print_template_context): Add new argument.
(maybe_print_template_context): New fn.
(push_tinst_level): Increment tinst_level_tick.
(pop_tinst_level): Likewise.
* errfn.c (cp_thing): Call maybe_print_template_context. Use
xrealloc instead of xmalloc.
* typeck.c (build_unary_op, CONVERT_EXPR): Propagate TREE_CONSTANT.
From-SVN: r19946
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions