This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch for enable-checking in gcc/cp
- To: egcs-patches at cygnus dot com
- Subject: Patch for enable-checking in gcc/cp
- From: grahams at rcp dot co dot uk
- Date: Sun, 07 Jun 1998 15:52:29 GMT
Hi
Patches against egcs-19980531 to enable bootstrap
to work when configured with --enable-checking.
I am uncertain about the correctness of these patches
other than they allow "make bootstrap" to complete.
I am submitting then in the hope that someone who
understands the code better can provide correct
patches.
* gcc/cp-tree.h: define new DEFARG_NODE_CHECK()
macro and rewrite DEFARG_LENGTH and DEFARG_POINTER
to use DEFARG_NODE_CHECK.
*
CP-TRE~1.DIF
cp/decl.c(grokvardecl): Don't pass NAMESPEC_DECL node
to IS_AGGR_TYPE() macro.
* cp/decl.c(xref_basetypes): Only pass a IDENTIFIER_NODE node to
IDENTIFIER_POINTER() macro.
*
DECLC~1.DIF
cp/friend.c(do_friend): Don't pass TEMPLATE_ID_EXPR to
MAIN_NAME_P() macro.
*
FRIEND~1.DIF
cp/method.c(build_decl_overload_real): Don't pass TEMPLATE_ID_EXPR
node to IDENTIFIER_POINTER
Gra
METHOD~1.DIF
ham