Fix check_effective_target_sigsetjmp for glibc targets.
2020-04-02 Sandra Loosemore <sandra@codesourcery.com> gcc/testsuite/ * lib/target-supports.exp (check_effective_target_sigsetjmp): Test for __sigsetjmp as well as sigsetjmp.
This commit is contained in:
parent
0cd74f3588
commit
a950bb6e95
@ -1,3 +1,8 @@
|
||||
2020-04-02 Sandra Loosemore <sandra@codesourcery.com>
|
||||
|
||||
* lib/target-supports.exp (check_effective_target_sigsetjmp): Test
|
||||
for __sigsetjmp as well as sigsetjmp.
|
||||
|
||||
2020-04-02 Fritz Reese <foreese@gcc.gnu.org>
|
||||
|
||||
PR fortran/85982
|
||||
|
@ -9036,9 +9036,15 @@ proc check_effective_target_stpcpy {} {
|
||||
}
|
||||
|
||||
# Returns 1 if "sigsetjmp" is available on the target system.
|
||||
# Also check if "__sigsetjmp" is defined since that's what glibc
|
||||
# uses.
|
||||
|
||||
proc check_effective_target_sigsetjmp {} {
|
||||
return [check_function_available "sigsetjmp"]
|
||||
if { [check_function_available "sigsetjmp"]
|
||||
|| [check_function_available "__sigsetjmp"] } {
|
||||
return 1
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
# Check whether the vectorizer tests are supported by the target and
|
||||
|
Loading…
Reference in New Issue
Block a user