Tree inlining for the C front end (part 1 of 3)

Richard Henderson rth@redhat.com
Tue Oct 2 22:40:00 GMT 2001


> http://gcc.gnu.org/ml/gcc-patches/2001-09/msg01019.html

+#define LANG_CANNOT_INLINE_TREE_FN(FNP) \
+  (lang_cannot_inline_tree_fn ? (*lang_cannot_inline_tree_fn)(FNP) : 0)
+typedef int treeopt_cannot_inline_tree_fn_type PARAMS ((tree*));
+extern treeopt_cannot_inline_tree_fn_type *lang_cannot_inline_tree_fn;

I do not like these.  If you need hooks, add them to the
lang_hooks struct in toplev.c.

Other than that the patches look fine.


r~



More information about the Gcc-patches mailing list