diff mbox series

[pushed] testsuite: Import objc-dg-prune in execute.exp

Message ID mptfsbg6zr3.fsf@arm.com
State New
Headers show
Series [pushed] testsuite: Import objc-dg-prune in execute.exp | expand

Commit Message

Richard Sandiford Feb. 8, 2023, 1:41 p.m. UTC
The GCC-local definition of gcc-dg-prune removes extra error messages,
such as one from the linker warning about executable stacks.  This is
then used by tool-specific pruners like objc-dg-prune, defined in
objc-dg.exp.  However, objc/execute/execute.exp didn't include
objc-dg.exp, meaning that the linker warning could trigger a
failure in objc/execute/nested-func-1.m.

Tested on aarch64-linux-gnu & x86_64-linux-gnu, pushed as obvious.

Richard


gcc/testsuite/
	* objc/execute/execute.exp: Load objc-dg.exp.
---
 gcc/testsuite/objc/execute/execute.exp | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/gcc/testsuite/objc/execute/execute.exp b/gcc/testsuite/objc/execute/execute.exp
index 407b14a91d5..9724c32019e 100644
--- a/gcc/testsuite/objc/execute/execute.exp
+++ b/gcc/testsuite/objc/execute/execute.exp
@@ -23,6 +23,7 @@  if $tracelevel then {
 }
 
 # load support procs
+load_lib objc-dg.exp
 load_lib objc-torture.exp
 load_lib torture-options.exp