[PATCH] pthread_cleanup_push macro generates warning when -Wclobbered is set
Joseph Myers
joseph@codesourcery.com
Tue Nov 14 21:47:00 GMT 2017
On Tue, 14 Nov 2017, Florian Weimer wrote:
> Your test case already used an indirect call before the change with GCC 7. I
> think we should try to fix this in GCC. GCC 4.8 used to generate a direct
> call here, so this is a minor regression in the area of security hardening.
How do you suggest the compiler could tell that longjmp is only ever
called from the same iteration of the outer loop as setjmp?
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list