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] Fix bogus noreturn warning


On Sun, Jun 27, 2010 at 4:57 PM, Manuel López-Ibáñez
<lopezibanez@gmail.com> wrote:
> should FEs include gimple.h? Otherwise, how can they call functions in
> gimplify.c?

I talked about this with Diego, and we think there should be a
gimplify.h, or all the middle-end #includes should be stripped from
gimple.h (i.e. things front ends should not have to know about, such
as basic-block.h, and tree-ssa*).

But this is difficult, due to all the static inline functions in gimple.h...

Anyway, front ends obviously need to construct gimple, so including
gimple.h is OK, for lack of a better alternative (for now).

Ciao!
Steven


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