This is the mail archive of the gcc@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: [tree-ssa] C++ Question


law at redhat dot com writes:

[...]

| Anyway, I'm not sure how you want to fix this.  We could save/restore
| current_function_decl in  cp_cannot_inline_tree_fn, the generic
| inliner, or in instantiate_decl.

I would suggest that we  get rid of those implicit parameters that are
causing headaches.  Ideally, we should be passing state variable as
parameters.  I bet the whole logic would be clearer.

-- Gaby


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