This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: egcs-971105 bugs


>>>>> Jason Merrill <jason@cygnus.com> writes:

> Wed Nov 26 01:11:24 1997  Jason Merrill  <jason@yorick.cygnus.com>

> 	* decl2.c (delete_sanity): resolve_offset_ref.

Oops, that patch was bogus, try this instead:

Index: decl2.c
===================================================================
RCS file: /cvs/cvsfiles/devo/gcc/cp/decl2.c,v
retrieving revision 1.353
diff -c -r1.353 decl2.c
*** decl2.c	1997/11/20 22:42:49	1.353
--- decl2.c	1997/11/26 09:34:02
***************
*** 1276,1282 ****
        return t;
      }
  
!   t = stabilize_reference (convert_from_reference (exp));
    type = TREE_TYPE (t);
    code = TREE_CODE (type);
  
--- 1276,1285 ----
        return t;
      }
  
!   t = exp;
!   if (TREE_CODE (t) == OFFSET_REF)
!     t = resolve_offset_ref (t);
!   t = stabilize_reference (convert_from_reference (t));
    type = TREE_TYPE (t);
    code = TREE_CODE (type);
  


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]