public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Tom de Vries <Tom_deVries@mentor.com>
To: Jakub Jelinek <jakub@redhat.com>,
	Richard Biener <rguenther@suse.de>,
	Richard Sandiford <richard.sandiford@linaro.org>
Cc: <gcc-patches@gcc.gnu.org>
Subject: [testsuite, committed] Require effective target alloca for pr82875.c
Date: Mon, 04 Dec 2017 07:01:00 -0000	[thread overview]
Message-ID: <b104bafc-3c07-dbc6-c3cd-88451f7459d1@mentor.com> (raw)
In-Reply-To: <20171122091718.GH14653@tucnak>

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

[ was: Re: [PATCH] Fix mult expansion ICE (PR middle-end/82875) ]

On 11/22/2017 10:17 AM, Jakub Jelinek wrote:
> --- gcc/testsuite/gcc.dg/pr82875.c.jj	2017-11-21 17:50:16.022274628 +0100
> +++ gcc/testsuite/gcc.dg/pr82875.c	2017-11-21 17:49:46.000000000 +0100
> @@ -0,0 +1,11 @@
> +/* PR middle-end/82875 */
> +/* { dg-do compile } */
> +/* { dg-options "-ftree-ter" } */
> +
> +const int a = 100;
> +
> +void
> +foo (void)
> +{
> +  int c[a];
> +}

Hi,

this patch requires effective target alloca for pr82875.c.

Committed.

Thanks,
- Tom

[-- Attachment #2: 0001-Require-effective-target-alloca-for-pr82875.c.patch --]
[-- Type: text/x-patch, Size: 581 bytes --]

Require effective target alloca for pr82875.c

2017-12-04  Tom de Vries  <tom@codesourcery.com>

	* gcc.dg/pr82875.c: Require effective target alloca.

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

diff --git a/gcc/testsuite/gcc.dg/pr82875.c b/gcc/testsuite/gcc.dg/pr82875.c
index 5b97b80..52f1de7 100644
--- a/gcc/testsuite/gcc.dg/pr82875.c
+++ b/gcc/testsuite/gcc.dg/pr82875.c
@@ -1,6 +1,7 @@
 /* PR middle-end/82875 */
 /* { dg-do compile } */
 /* { dg-options "-ftree-ter" } */
+/* { dg-require-effective-target alloca } */
 
 const int a = 100;
 

      parent reply	other threads:[~2017-12-04  7:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-22  9:26 [PATCH] Fix mult expansion ICE (PR middle-end/82875) Jakub Jelinek
2017-11-22  9:43 ` Richard Biener
2017-11-22 10:09   ` Jakub Jelinek
2017-11-22 10:16     ` Richard Biener
2017-11-22 13:34       ` Richard Sandiford
2017-11-22 13:50         ` Jakub Jelinek
2017-11-22  9:55 ` Richard Sandiford
2017-12-04  7:01 ` Tom de Vries [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b104bafc-3c07-dbc6-c3cd-88451f7459d1@mentor.com \
    --to=tom_devries@mentor.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=jakub@redhat.com \
    --cc=rguenther@suse.de \
    --cc=richard.sandiford@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).