https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61118
Arthur LAMBERT <lambertarthur22 at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |lambertarthur22 at gmail dot
com
--- Comment #3 from Arthur LAMBERT <lambertarthur22 at gmail dot com> ---
Same problem for me after updating my gcc version from 4.8.4 to 4.9.3.
I have a piece of code using pthread_clean_push/pop which lead to the same
warning :
error: variable ‘x’ might be clobbered by ‘longjmp’ or ‘vfork’
[-Werror=clobbered]
error: variable ‘y’ might be clobbered by ‘longjmp’ or ‘vfork’
[-Werror=clobbered]
error: variable ‘__cancel_routine’ might be clobbered by ‘longjmp’ or ‘vfork’
[-Werror=clobbered]
Just need to comment the pthread_clean_X call to remove the warning.
Any update on this ?