This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Missing return_label using g++ CVS under vax ultrix.
- To: Richard Henderson <rth at redhat dot com>
- Subject: Re: PATCH: Missing return_label using g++ CVS under vax ultrix.
- From: Jason Merrill <jason at redhat dot com>
- Date: 22 Dec 2000 14:49:34 +0000
- Cc: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>, gcc-patches at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org
- References: <200011291813.NAA25179@hiauly1.hia.nrc.ca><u9d7exnb9i.fsf@casey.cygnus.co.uk>
I've installed this patch.
2000-12-22 Jason Merrill <jason@redhat.com>
* semantics.c (genrtl_finish_function): Don't try to jump to
return_label unless it exists.
*** semantics.c.~1~ Fri Dec 22 11:24:04 2000
--- semantics.c Fri Dec 22 11:24:06 2000
*************** genrtl_finish_function (fn)
*** 2606,2612 ****
/* Finish building code that will trigger warnings if users forget
to make their functions return values. */
! emit_jump (return_label);
if (no_return_label)
{
/* We don't need to call `expand_*_return' here because we don't
--- 2606,2613 ----
/* Finish building code that will trigger warnings if users forget
to make their functions return values. */
! if (return_label)
! emit_jump (return_label);
if (no_return_label)
{
/* We don't need to call `expand_*_return' here because we don't