This is the mail archive of the gcc@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: Bug in 19980806 and 19980814 snapshots



  In message <199809170259.TAA04491@slip.net>you write:
  > Actually I don't want to include those macros. The idea is that encoding.c is
  > part of a runtime library that _cannot_ include the things defined by
  > stor-layout.c, tree.c and whatever other files part of the front-end part of
  > the compiler. The problem however is that I actually need that kind of
  > information in order to know the layout of structures on various machines.
100% correct.

  > The algorithm in encoding.c follows the one in stor-layout.c but works with
  > ObjC type encodings that are C strings instead of GCC trees. The idea is to
  > define the TYPE_MODE, TREE_TYPE and ARRAY_TYPE in terms of the ObjC runtime
  > types and encodings. I did most of this work for the other macros but I
  > obviously missed these, although I wonder why because I tested the code on 
  > AIX
  > 4.1.
  > 
  > Anyway, try the below diff applied to encoding.c. Please let me know the
  > results as I no longer have access to an AIX machine.
Note that the objc runtime is offline temporarily while Ben finishes
up moving it out of the gcc directory.  Once he's done we'll get this
patch installed.

jeff


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