https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94077
Bug ID: 94077 Summary: gcc.dg/gomp/pr82374.c fails on power 7 Product: gcc Version: 8.4.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org Target Milestone: --- This is an old one but I am trying to clean up the failing tests on powerpc 64 that have just been ignored. This isn't really a regression as it looks like it has never worked right on power 7. It works OK on other power hardware including other BE. I am pretty sure it is just something not supported on power 7. make -k check-gcc RUNTESTFLAGS=gomp.exp=gcc.dg/gomp/pr82374.c # of expected passes 1 # of unexpected failures 1 FAIL: gcc.dg/gomp/pr82374.c scan-tree-dump-times vect "vectorized 1 loops" 2 g:5c38262d95bedc091083cc881d9e21cd1f215a9a, r8-3584 Author: Jakub Jelinek <ja...@redhat.com> Date: Wed Oct 4 09:50:38 2017 +0200 re PR tree-optimization/82374 (#pragma GCC optimize is not applied to openmp-generated functions) 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. From-SVN: r253395