This is the mail archive of the
egcs-cvs@egcs.cygnus.com
mailing list for the EGCS project.
egcs/gcc testsuite/g++.old-deja/g++.pt/ptrmem6 ...
- To: egcs-cvs@egcs.cygnus.com
- Subject: egcs/gcc testsuite/g++.old-deja/g++.pt/ptrmem6 ...
- From: mmitchel@egcs.cygnus.com
- Date: 22 May 1999 08:30:13 -0000
CVSROOT: /egcs/carton/cvsfiles
Module name: egcs
Changes by: mmitchel@egcs.cygnus.com 99/05/22 01:30:13
Modified files:
gcc/testsuite/g++.old-deja/g++.pt: ptrmem6.C
gcc/cp : ChangeLog cp-tree.h cvt.c expr.c typeck.c
Added files:
gcc/testsuite/g++.old-deja/g++.pt: crash42.C
Log message:
* cp-tree.h (cplus_expand_constant): Declare.
* cvt.c (convert_to_pointer): Expand PTRMEM_CSTs when they're
converted from one pointer-to-object type to another.
* expr.c (cplus_expand_constant): Don't make it static.
* typeck.c (build_component_ref): Don't crash when presented with
a component which is a TEMPLATE_DECL.
(build_ptrmemfunc): Tidy. Clarify comment. Make sure that even a
cast from a pointer-to-member constant to its own type does not
result in a valid non-type template argument.