testsuite: Fix check_effective_target_rop_ok [PR103556, PR103586]
The new rop_ok effective target test doesn't correctly compute its expression result because a new line starts a new statement. Solution is to remove the new line. 2021-12-07 Peter Bergner <bergner@linux.ibm.com> gcc/testsuite/ PR testsuite/103556 PR testsuite/103586 * lib/target-supports.exp (check_effective_target_rop_ok): Remove '\n'.
This commit is contained in:
parent
652c287362
commit
4394fd6726
@ -6631,8 +6631,7 @@ proc check_effective_target_powerpc_elfv2 { } {
|
||||
# Return 1 if this is a PowerPC target supporting -mrop-protect
|
||||
|
||||
proc check_effective_target_rop_ok { } {
|
||||
return [check_effective_target_power10_ok]
|
||||
&& [check_effective_target_powerpc_elfv2]
|
||||
return [check_effective_target_power10_ok] && [check_effective_target_powerpc_elfv2]
|
||||
}
|
||||
|
||||
# The VxWorks SPARC simulator accepts only EM_SPARC executables and
|
||||
|
Loading…
Reference in New Issue
Block a user