Size changes, round 2
Jason Merrill
jason@cygnus.com
Tue Feb 29 21:41:00 GMT 2000
>>>>> Jason Merrill <jason@cygnus.com> writes:
> I applied this fix.
And this one. Next time you make changes to the cp/ directory, please run
the testsuite before checking them in.
2000-02-29 Jason Merrill <jason@casey.cygnus.com>
* typeck.c (expand_ptrmemfunc_cst): Fix thinko.
Index: typeck.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/cp/typeck.c,v
retrieving revision 1.250
diff -c -p -r1.250 typeck.c
*** typeck.c 2000/02/27 21:39:39 1.250
--- typeck.c 2000/03/01 05:39:51
*************** expand_ptrmemfunc_cst (cst, delta, idx,
*** 6324,6330 ****
if (!DECL_VIRTUAL_P (fn))
{
if (!flag_new_abi)
! *idx = convert (TYPE_PTRMEMFUNC_FN_TYPE (type), build_int_2 (-1, -1));
else
*idx = NULL_TREE;
*pfn = convert (TYPE_PTRMEMFUNC_FN_TYPE (type), build_addr_func (fn));
--- 6324,6330 ----
if (!DECL_VIRTUAL_P (fn))
{
if (!flag_new_abi)
! *idx = build_int_2 (-1, -1);
else
*idx = NULL_TREE;
*pfn = convert (TYPE_PTRMEMFUNC_FN_TYPE (type), build_addr_func (fn));
More information about the Gcc-patches
mailing list