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] |
On 05/12/2016 08:29 AM, David Malcolm wrote:
Yea, we really don't want the front-ends to know about the guts of RTL. This work would seem to violate that guiding principle.One wart I ran into is that system.h has this: /* Front ends should never have to include middle-end headers. Enforce this by poisoning the header double-include protection defines. */ #ifdef IN_GCC_FRONTEND #pragma GCC poison GCC_RTL_H GCC_EXCEPT_H GCC_EXPR_H #endif i.e. the idea of running RTL code from inside the C frontend seems to be banned.
I'd be more in favor of a true RTL front-end rather than bolting it onto the side of the C front-end.
jeff
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |