Hi Jakub, > This patch propagates attributes, including opt and target nodes, from > the containing function to the OMP/OACC outlined region functions. > > Bootstrapped/regtested on x86_64-linux and i686-linux, committed to trunk. > > 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 Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University