PATCH: Missing return_label using g++ CVS under vax ultrix.

Jason Merrill jason@redhat.com
Fri Dec 22 06:50:00 GMT 2000


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


More information about the Gcc-bugs mailing list