diff options
author | Jakub Jelinek <jakub@redhat.com> | 2017-10-04 09:50:38 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2017-10-04 09:50:38 +0200 |
commit | 5c38262d95bedc091083cc881d9e21cd1f215a9a (patch) | |
tree | e7a8605743c6aa3f81e39c7c50e404afff3dab36 /gcc/fold-const.c | |
parent | 21375f0ded2dbc4240bd9e3bfcb8f48451ce02b4 (diff) | |
download | gcc-5c38262d95bedc091083cc881d9e21cd1f215a9a.zip gcc-5c38262d95bedc091083cc881d9e21cd1f215a9a.tar.gz gcc-5c38262d95bedc091083cc881d9e21cd1f215a9a.tar.bz2 |
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
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions