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: Various reworkings of PLACEHOLDER stuff


On Wed, 2003-05-28 at 07:09, Richard Kenner wrote:

>     And PLACEHOLDER_EXPR is not part of GIMPLE...
> 
> Since it's a defined tree node, it most certainly should be (I assume
> WITH_RECORD_EXPR isn't either), but not much has to be done with it
> since it's used only when converting trees to RTL.
>
Nope.  GIMPLE is only a subset of GENERIC which, in turn, should be
language independent to a large extent.  The idea is for every language
to lower their representations into something that can be expressed with
GENERIC.

In some cases, the constructs have very unique control or data flow
properties, and we may need to extend GENERIC.  For instance, we did
this for try/catch.  But in principle, if you can express it in RTL,
then you can express it in GENERIC/GIMPLE.


Diego.


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