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]
Other format: [Raw text]

Small bug in _Unwind_Resume_or_Rethrow


Noticed in the GCC 3.3 prerelease, in gcc/unwind.inc:

void
_Unwind_Resume_or_Rethrow (struct _Unwind_Exception *exc)
{
...
  if (exc->private_1 == 0)
    return _Unwind_RaiseException (exc);


Generates the obvious warning about returning a value in a void function.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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