------- Additional Comments From rth at gcc dot gnu dot org 2005-02-10 02:20 ------- True enough, and one could indeed "fix" this problem on Alpha by adding a similar check to samegp_function_operand. However, I don't think this is the right approach to this problem. How many other places in other targets need to be changed? I'd very much prefer a solution that fixes all such potential problems all at once.
It *is* 100% certain that once we've started generating rtl for a function, that we'll need the DECL_ASSEMBLER_NAME in order to emit it. We might as well do this in one place, rather than having to recurse in some random place later during code generation. And for the record, the problem here has to do with reseting virtuals_instantiated instead of reg_renumber. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19634