On Thu, Oct 05, 2017 at 09:59:35AM +0200, Rainer Orth wrote:
> Hi Jakub,
> 
> > 2017-10-04  Jakub Jelinek  <ja...@redhat.com>
> >
> >     PR tree-optimization/82374
> >     * omp-low.c (create_omp_child_function): Copy DECL_ATTRIBUTES,
> >     DECL_FUNCTION_SPECIFIC_OPTIMIZATION,
> >     DECL_FUNCTION_SPECIFIC_TARGET and DECL_FUNCTION_VERSIONED from
> >     current_function_decl to the new decl.
> >
> >     * gcc.dg/gomp/pr82374.c: New test.
> 
> the new tests FAILs on 32-bit targets (seen on 32-bit Solaris and
> Linux/x86_64 -m32):
> 
> FAIL: gcc.dg/gomp/pr82374.c (test for excess errors)
> UNRESOLVED: gcc.dg/gomp/pr82374.c scan-tree-dump-times vect "vectorized 1 
> loops" 2
> 
> Excess errors:
> /vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/gomp/pr82374.c:9:7: error: 
> size of array 'a' is too large
> /vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/gomp/pr82374.c:10:7: error: 
> size of array 'b' is too large
> /vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/gomp/pr82374.c:11:7: error: 
> size of array 'c' is too large
> /vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/gomp/pr82374.c:12:7: error: 
> size of array 'd' is too large
> 
> gcc.dg/gomp/pr82374.c: dump file does not exist

Oops, sorry, somehow I've missed this and also the goacc regressions when
testing the above patch; I've noticed this FAIL last night, just didn't get
to that until this morning, fixed thusly, committed as obvious:

2017-10-05  Jakub Jelinek  <ja...@redhat.com>

        * gcc.dg/gomp/pr82374.c (SIZE): Change from 1G to 1M to make it ilp32
        friendly.

--- gcc/testsuite/gcc.dg/gomp/pr82374.c.jj      2017-10-04 09:50:02.000000000 
+0200
+++ gcc/testsuite/gcc.dg/gomp/pr82374.c 2017-10-05 10:06:29.630860238 +0200
@@ -4,7 +4,7 @@
 /* { dg-additional-options "-mavx -mno-avx2" { target i?86-*-* x86_64-*-* } } 
*/
 /* { dg-additional-options "-mvsx" { target powerpc_vsx_ok } } */
 
-#define SIZE (1024 * 1024 * 1024)
+#define SIZE (1024 * 1024)
 
 float a[SIZE];
 float b[SIZE];


        Jakub

Reply via email to