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.
+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
}
# 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