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

Re: [Ada] Improve memory usage in functions Get_Line


> Interesting transformation. I wonder if semantically the compiler
> can do the stack space optimization in a generic way:

Yes, in theory the compiler could do this kind of transformation automatically
in most cases (no user defined "&", ...).

That's tricky front-end work of course.

Arno


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