glibc/setjmp
Joseph Myers 365f05c7a5 Fix implicit-fallthrough warnings in tst-setjmp.c.
Building the testsuite with -Wextra (together with
-Wno-cast-function-type -Wno-clobbered -Wno-expansion-to-defined
-Wno-missing-field-initializers -Wno-old-style-declaration
-Wno-shift-negative-value -Wno-sign-compare -Wno-type-limits
-Wno-unused-parameter, which reflect the set of -Wextra warnings for
which glibc itself is not currently clean on x86_64) showed up
implicit-fallthrough warnings in tst-setjmp.c.  Those warnings appear
to be false positives, arising from a function "jump" that calls
longjmp not itself being marked as noreturn; thus, this patch adds the
noreturn marking to that function to fix the warnings.

Tested for x86_64.

	* setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
2019-02-15 13:44:17 +00:00
..
bits Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
__longjmp.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
bsd-_setjmp.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
bsd-setjmp.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
bug269-setjmp.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
jmp-unwind.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
jmpbug.c Fix warning in setjmp/jmpbug.c. 2014-11-26 00:45:19 +00:00
longjmp.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
Makefile Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
setjmp.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
setjmp.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sigjmp.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-setjmp-fp.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-setjmp-static.c ARM: Use movw/movt more when available 2014-10-22 14:20:35 -07:00
tst-setjmp.c Fix implicit-fallthrough warnings in tst-setjmp.c. 2019-02-15 13:44:17 +00:00
tst-sigsetjmp.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
Versions