This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] C++ Question
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: law at redhat dot com
- Cc: jason at redhat dot com, gcc at gcc dot gnu dot org
- Date: 24 Mar 2003 23:36:38 +0100
- Subject: Re: [tree-ssa] C++ Question
- Organization: Integrable Solutions
- References: <200303242206.h2OM6RnK021373@speedy.slc.redhat.com>
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