glibc/setjmp
Joseph Myers c82f5c0ce5 Fix warning in setjmp/jmpbug.c.
This patch fixes a "set but not used" warning in setjmp/jmpbug.c.  A
variable is used only to store the result of alloca.  A cast to void
is added to avoid the warning, and the variable is made volatile to
ensure the call to alloca isn't optimized away for being unused.

Tested for x86_64.

	* setjmp/jmpbug.c (test): Make foo volatile and cast it to
	void.
2014-11-26 00:45:19 +00:00
..
bits Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
__longjmp.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
bsd-_setjmp.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
bsd-setjmp.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
bug269-setjmp.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
jmp-unwind.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
jmpbug.c Fix warning in setjmp/jmpbug.c. 2014-11-26 00:45:19 +00:00
longjmp.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
Makefile ARM: Use movw/movt more when available 2014-10-22 14:20:35 -07:00
setjmp.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
setjmp.h Combine __USE_BSD and __USE_SVID into __USE_MISC. 2014-02-12 23:41:01 +00:00
sigjmp.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tst-setjmp-fp.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tst-setjmp-static.c ARM: Use movw/movt more when available 2014-10-22 14:20:35 -07:00
tst-setjmp.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tst-sigsetjmp.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
Versions Update. 2002-02-01 23:24:05 +00:00