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


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 19 January 2004 10:51 am, Diego Novillo wrote:
> 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).
>

Not in most cases. The runtime environment in Ada provides about everything 
you'd expect from a real-time operating system.

- -- 

John R. Shannon
john@johnrshannon.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iEYEARECAAYFAkAMGjQACgkQOKbCxya4HYvPNACcCiS8F8jmy2Dpv8v/Bqc0dUa2
br0AoJnN5r3SjydYLxf79DmbRX1hwuj9
=dw6c
-----END PGP SIGNATURE-----


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