Sandra Loosemore - [Ada] PATCH: untested CALL_EXPR updates (original) (raw)

This is the mail archive of the gcc-patches@gcc.gnu.orgmailing 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]
Other format: [Raw text]

Here's a quick patch I put together to update the Ada front end for the CALL_EXPR changes. This has not been tested in any way.If anybody would like to put a little more time into this, I suggest rewriting the bit of code in call_to_gnu that assembles a temporary argument list to pass to build_call_list to use an alloca'ed array as instead as temporary storage (see how I did that in max_size farther down). A quick glance at this code didn't tell me how to determine in advance how many arguments were being passed and hence how big of an array to allocate, but it'll probably be easy for somebody already familiar with the Ada-specific data structures. Anyway, the obvious hack I applied ought to work, albeit not as efficiently as we'd like. :-)-Sandra


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