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


In message <m3ptogcryh dot fsf at uniton dot integrable-solutions dot net>, Gabriel Dos Reis w
rites:
 >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.
It's not particularly easy (I've already started down that path and will
probably check in the changes I've got, but they're far from sufficient
to fix this problem).

Jeff




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