Hello,

Something we noticed through sporadic runtime mishaps on powerpc-vxworks.

__gthread_once returns int and the VxWorks implementation has a dangling lone
"return;" for a subcase.

This patch adds the missing return value, based on what is returned for a
similar state elsewhere. Committing as obvious.

With Kind Regards,

Olivier

2017-06-02  Olivier Hainque  <hain...@adacore.com>

        libgcc/
        * config/vxlib.c (__gthread_once): Add missing value to
        a nested return statement.

Attachment: vxlib-return.diff
Description: Binary data

Reply via email to