public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [pushed] testsuite: Import objc-dg-prune in execute.exp
@ 2023-02-08 13:41 Richard Sandiford
  0 siblings, 0 replies; only message in thread
From: Richard Sandiford @ 2023-02-08 13:41 UTC (permalink / raw)
  To: gcc-patches

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 --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
 
-- 
2.25.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-02-08 13:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-08 13:41 [pushed] testsuite: Import objc-dg-prune in execute.exp Richard Sandiford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).