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: Using the GCC EH mechanism for Ada


Richard Henderson writes:

 > On Tue, Jun 19, 2001 at 10:11:46AM +0200, Olivier Hainque wrote:
 > >  Do you think mapping filter values to (pointers to) arrays could also do
 > >  the trick ?
 > 
 > I do not think this is a space efficient way to approach things.
 
 Agreed. Just wanted to know if this would work in principle to check if my
 current understanding of the machinery was correct.
  
 > ... Particularly about the "exception type" thingy being not a TREE_TYPE,
 > but any sort of thingy the front end wished to represent the catch element.

 This confirms something I was unsure about :) 

 > But my real point here was not that it wasn't _usable_, but that the
 > encoding chosen wasn't _space efficient_ for non-c++.
 
 OK.

 We have front-end level alternatives to the multiple exceptions per handler
 issue, but I think I'll give a try to the list alternative you suggested.

 BTW, another question : the personality routine for Ada is currently inspired
 from the C++ one and uses some of the static routines in eh_personality.cc
 such as read_encoded_value. Is there a reason for these not beeing more
 widely visible ? 


 Thanks a lot,

 Olivier


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