aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@adacore.com>2021-01-14 16:12:20 -0300
committerAlexandre Oliva <oliva@gnu.org>2021-01-14 16:12:20 -0300
commit6541fcadc8622e7b4bf2e90501b51df329e51924 (patch)
treecae0df460ebc5ed1595339ea01dbbaa1e66b3a70 /gcc/fortran
parent088e46b8d4d81e429f78ca75b47a179f489be16d (diff)
downloadgcc-6541fcadc8622e7b4bf2e90501b51df329e51924.zip
gcc-6541fcadc8622e7b4bf2e90501b51df329e51924.tar.gz
gcc-6541fcadc8622e7b4bf2e90501b51df329e51924.tar.bz2
use sigjmp_buf for analyzer sigsetjmp tests
The sigsetjmp analyzer tests use jmp_buf in sigsetjmp and siglongjmp calls. Not every system that supports sigsetjmp uses the same data structure for setjmp and sigsetjmp, which results in type mismatches. This patch changes the tests to use sigjmp_buf, that is the POSIX-specific type for use with sigsetjmp and siglongjmp. for gcc/testsuite/ChnageLog * gcc.dg/analyzer/sigsetjmp-5.c: Use sigjmp_buf. * gcc.dg/analyzer/sigsetjmp-6.c: Likewise.
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions