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: [tuples] C++: gimplify TRY_BLOCK and HANDLER, and EH_SPEC_BLOCK


On 10/18/07, Aldy Hernandez <aldyh@redhat.com> wrote:

> What is the recommended approach... should we gimplify entirely in the
> C++ side, if possible and trivial, or should we convert to GENERIC and
> let the gimplifier work?  I don't want to start a bad precedent if the
> initial design was to keep things in GENERIC and pass it off, but cherry
> picking these easy cases seem like a good way to go.

My inclination is to have the C++ FE emit GENERIC instead of
microoptimizing into GIMPLE directly.  It gives us a lot more
flexibility and separation.

However, if we take a severe performance hit because of that, then we
should probably go to GIMPLE directly.  I kind of doubt that will be
the case, but we should experiment when testing the branch.


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