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]
Other format: [Raw text]

Re: [RFC] Contributing tree-ssa to mainline


On Mon, 2004-01-19 at 12:42, Geert Bosch wrote:

> There are many cases where we need to expand the original code in order
> to generate checks. Some Ada constructs generate a non-trivial amount of
> code, with calls to the Ada run time library, exception handlers etc.
> Once we expand such code, it is unlikely it could be optimized away.
> I agree with Richard that we need optimize away such constructs as early
> as possible, which is in the front end before expansion.
> 
Instead of emitting runtime calls, would it be possible to emit tree
codes with well defined semantics?  On finding them, the optimizers
would know that it's not just an arbitrary function call for instance
(perhaps adding attributes to the libcall).

But I'm oversimplifying.  We would have to talk about specific cases.


Diego.


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