This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] C++ Question
- From: law at redhat dot com
- To: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- Cc: jason at redhat dot com, gcc at gcc dot gnu dot org
- Date: Mon, 24 Mar 2003 15:59:01 -0700
- Subject: Re: [tree-ssa] C++ Question
- Reply-to: law at redhat dot com
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