Change to optimize.c

Mark Mitchell mark@codesourcery.com
Wed Apr 5 01:39:00 GMT 2000


Jan --

  You changed cp/optimize.c today -- you adjusted the implementation
of calls_setjmp_r.  I couldn't find the patch in the archive -- did
you post the patch?  There's also no cp/ChangeLog entry.  Please add
one.

  In any case, there's now a type-error in calls_setjmp_r.  It should
return a `tree', as the old function did:

  !   return setjmp_p ? *tp : NULL_TREE;

but it now returns an int:

  !   return setjmp_call_p (*tp);

Unless you had a particular reason for doing this, would you mind
adjusting it back, i.e., to:

  return setmp_call_p (*tp) ? *tp : NULL_TREE;


--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com


More information about the Gcc-bugs mailing list