This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


>>>>> "Richard" == Richard Henderson <rth@redhat.com> writes:

> On Wed, Dec 13, 2000 at 11:11:34AM +0000, Jason Merrill wrote:
>> Richard, was there a rationale for this hunk, or were you just being tidy?

> There was a named return value test that Did The Wrong Thing.

Hmm?  I'm referring to this change.  I don't see a named return value test
here.

*** semantics.c	Tue Dec 12 10:58:03 2000
--- semantics.c.~1~	Tue Dec  5 10:53:25 2000
*************** genrtl_finish_function (fn)
*** 2603,2610 ****
  
    /* Finish building code that will trigger warnings if users forget
       to make their functions return values.  */
!   if (no_return_label || cleanup_label)
!     emit_jump (return_label);
    if (no_return_label)
      {
        /* We don't need to call `expand_*_return' here because we don't
--- 2603,2609 ----
  
    /* 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]