PATCH: Missing return_label using g++ CVS under vax ultrix.
Jason Merrill
jason@redhat.com
Wed Dec 13 03:13:00 GMT 2000
Thanks, but leaving out return_label was intentional; the bug is that we no
longer conditionalize its emission. This was broken by
2000-10-06 Richard Henderson <rth@cygnus.com>
* cp-tree.h (struct cp_language_function): Remove x_result_rtx.
(original_result_rtx): Remove.
* decl.c (save_function_data): Don't clear x_result_rtx.
(mark_lang_function): Don't mark it either.
* expr.c (fixup_result_decl): Remove.
* semantics.c (genrtl_named_return_value): Frob the return decl
before calling emit_local_var.
(genrtl_finish_function): Don't call fixup_result_decl.
--> Always emit the jump to return_label.
Richard, was there a rationale for this hunk, or were you just being tidy?
Jason
More information about the Gcc-bugs
mailing list