public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [testsuite, committed] Require alloca for gcc.dg/attr-noipa.c
@ 2017-08-03  7:19 Tom de Vries
  0 siblings, 0 replies; only message in thread
From: Tom de Vries @ 2017-08-03  7:19 UTC (permalink / raw)
  To: GCC Patches

[-- Attachment #1: Type: text/plain, Size: 101 bytes --]

Hi,

this patch requires effective target alloca for gcc.dg/attr-noipa.c.

Committed.

Thanks,
- Tom

[-- Attachment #2: 0003-Require-alloca-for-gcc.dg-attr-noipa.c.patch --]
[-- Type: text/x-patch, Size: 705 bytes --]

Require alloca for gcc.dg/attr-noipa.c

2017-08-02  Tom de Vries  <tom@codesourcery.com>

	* gcc.dg/attr-noipa.c: Require alloca.

---
 gcc/testsuite/gcc.dg/attr-noipa.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/testsuite/gcc.dg/attr-noipa.c b/gcc/testsuite/gcc.dg/attr-noipa.c
index 1d2b868..e2349b6 100644
--- a/gcc/testsuite/gcc.dg/attr-noipa.c
+++ b/gcc/testsuite/gcc.dg/attr-noipa.c
@@ -1,6 +1,7 @@
 /* Test the noipa attribute.  */
 /* { dg-do compile } */
 /* { dg-options "-O2 -fdump-tree-optimized" } */
+/* { dg-require-effective-target alloca } */
 
 static inline int __attribute__((noipa))
 fn1 (void) /* { dg-warning "inline function \[^\n\]* given attribute noinline" "" } */

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

only message in thread, other threads:[~2017-08-03  7:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-03  7:19 [testsuite, committed] Require alloca for gcc.dg/attr-noipa.c Tom de Vries

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).