C++ PATCH to dump_expr for c++/4934
Jason Merrill
jason@redhat.com
Sat Apr 6 14:21:00 GMT 2002
We were crashing under mangle_class_name_for_template with a parm of +int()
because dump_expr didn't know what to do with a CONVERT_EXPR with no type.
The obvious fix is as follows.
Test in g++.dg/template/nontype1.C. Applied trunk, 3.0, 3.1.
2002-04-06 Jason Merrill <jason@redhat.com>
PR c++/4934
* error.c (dump_expr) [CONVERT_EXPR]: Make sure TREE_TYPE (t) is
set before checking it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-patch
Size: 506 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20020406/f7e7c049/attachment.bin>
More information about the Gcc-patches
mailing list