public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Add testcase for tree-optimization/64769
@ 2015-12-01 15:38 Marek Polacek
  2015-12-01 15:48 ` Jakub Jelinek
  2015-12-02  9:43 ` Richard Biener
  0 siblings, 2 replies; 3+ messages in thread
From: Marek Polacek @ 2015-12-01 15:38 UTC (permalink / raw)
  To: GCC Patches

There's an open PR with -fopenmp-simd testcase that used to ICE but is now
fixed for 5/6, but not 4.9.

Should I commit this right away to trunk, wait for gcc-5 branch to open and
then commit it to 5 as well and then close the PR?

Or just to trunk and close the PR?

Tested on x86_64-linux.

2015-12-01  Marek Polacek  <polacek@redhat.com>

	PR tree-optimization/64769
	* c-c++-common/gomp/pr64769.c: New test.

diff --git gcc/testsuite/c-c++-common/gomp/pr64769.c gcc/testsuite/c-c++-common/gomp/pr64769.c
index e69de29..3a30149 100644
--- gcc/testsuite/c-c++-common/gomp/pr64769.c
+++ gcc/testsuite/c-c++-common/gomp/pr64769.c
@@ -0,0 +1,9 @@
+/* PR tree-optimization/64769 */
+/* { dg-do compile } */
+/* { dg-options "-fopenmp-simd" } */
+
+#pragma omp declare simd linear(i)
+void
+foo (int i)
+{
+}

	Marek

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Add testcase for tree-optimization/64769
  2015-12-01 15:38 [PATCH] Add testcase for tree-optimization/64769 Marek Polacek
@ 2015-12-01 15:48 ` Jakub Jelinek
  2015-12-02  9:43 ` Richard Biener
  1 sibling, 0 replies; 3+ messages in thread
From: Jakub Jelinek @ 2015-12-01 15:48 UTC (permalink / raw)
  To: Marek Polacek; +Cc: GCC Patches

On Tue, Dec 01, 2015 at 04:38:03PM +0100, Marek Polacek wrote:
> There's an open PR with -fopenmp-simd testcase that used to ICE but is now
> fixed for 5/6, but not 4.9.
> 
> Should I commit this right away to trunk, wait for gcc-5 branch to open and
> then commit it to 5 as well and then close the PR?
> 
> Or just to trunk and close the PR?
> 
> Tested on x86_64-linux.
> 
> 2015-12-01  Marek Polacek  <polacek@redhat.com>
> 
> 	PR tree-optimization/64769
> 	* c-c++-common/gomp/pr64769.c: New test.

Ok for trunk.

> diff --git gcc/testsuite/c-c++-common/gomp/pr64769.c gcc/testsuite/c-c++-common/gomp/pr64769.c
> index e69de29..3a30149 100644
> --- gcc/testsuite/c-c++-common/gomp/pr64769.c
> +++ gcc/testsuite/c-c++-common/gomp/pr64769.c
> @@ -0,0 +1,9 @@
> +/* PR tree-optimization/64769 */
> +/* { dg-do compile } */
> +/* { dg-options "-fopenmp-simd" } */
> +
> +#pragma omp declare simd linear(i)
> +void
> +foo (int i)
> +{
> +}

	Jakub

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Add testcase for tree-optimization/64769
  2015-12-01 15:38 [PATCH] Add testcase for tree-optimization/64769 Marek Polacek
  2015-12-01 15:48 ` Jakub Jelinek
@ 2015-12-02  9:43 ` Richard Biener
  1 sibling, 0 replies; 3+ messages in thread
From: Richard Biener @ 2015-12-02  9:43 UTC (permalink / raw)
  To: Marek Polacek; +Cc: GCC Patches

On Tue, Dec 1, 2015 at 4:38 PM, Marek Polacek <polacek@redhat.com> wrote:
> There's an open PR with -fopenmp-simd testcase that used to ICE but is now
> fixed for 5/6, but not 4.9.
>
> Should I commit this right away to trunk, wait for gcc-5 branch to open and
> then commit it to 5 as well and then close the PR?

Ok for GCC 5.

Richard.

> Or just to trunk and close the PR?
>
> Tested on x86_64-linux.
>
> 2015-12-01  Marek Polacek  <polacek@redhat.com>
>
>         PR tree-optimization/64769
>         * c-c++-common/gomp/pr64769.c: New test.
>
> diff --git gcc/testsuite/c-c++-common/gomp/pr64769.c gcc/testsuite/c-c++-common/gomp/pr64769.c
> index e69de29..3a30149 100644
> --- gcc/testsuite/c-c++-common/gomp/pr64769.c
> +++ gcc/testsuite/c-c++-common/gomp/pr64769.c
> @@ -0,0 +1,9 @@
> +/* PR tree-optimization/64769 */
> +/* { dg-do compile } */
> +/* { dg-options "-fopenmp-simd" } */
> +
> +#pragma omp declare simd linear(i)
> +void
> +foo (int i)
> +{
> +}
>
>         Marek

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-12-02  9:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-01 15:38 [PATCH] Add testcase for tree-optimization/64769 Marek Polacek
2015-12-01 15:48 ` Jakub Jelinek
2015-12-02  9:43 ` Richard Biener

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