[Bug tree-optimization/65419] incorrect sibcalls to libgomp functions
vries at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Nov 6 11:49:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65419
--- Comment #17 from vries at gcc dot gnu.org ---
Author: vries
Date: Fri Nov 6 11:48:06 2015
New Revision: 229843
URL: https://gcc.gnu.org/viewcvs?rev=229843&root=gcc&view=rev
Log:
Revert "Add IFN_GOACC_DATA_END_WITH_ARG"
2015-11-06 Tom de Vries <tom@codesourcery.com>
revert:
2015-05-28 Tom de Vries <tom@codesourcery.com>
PR tree-optimization/65419
* cfgexpand.c (pass_data_expand): Add PROP_gimple_lompifn to
properties_required field.
* gimplify.c (gimplify_omp_workshare): Use IFN_GOACC_DATA_END_WITH_ARG
instead of BUILT_IN_GOACC_DATA_END. Clear PROP_gimple_lompifn in
curr_properties.
(gimplify_function_tree): Tentatively set PROP_gimple_lompifn in
curr_properties.
* internal-fn.c (expand_GOACC_DATA_END_WITH_ARG): New dummy function.
* internal-fn.def (GOACC_DATA_END_WITH_ARG): New DEF_INTERNAL_FN.
* omp-low.c (lower_omp_target): Set argument of
GOACC_DATA_END_WITH_ARG.
(pass_data_late_lower_omp): New pass_data.
(pass_late_lower_omp): New pass.
(pass_late_lower_omp::gate, pass_late_lower_omp::execute)
(make_pass_late_lower_omp): New function.
* passes.def: Add pass_late_lower_omp.
* tree-inline.c (expand_call_inline): Handle PROP_gimple_lompifn.
* tree-pass.h (PROP_gimple_lompifn): Add define.
* testsuite/libgomp.oacc-c-c++-common/goacc-data-end.c: New test.
Removed:
branches/gomp-4_0-branch/libgomp/testsuite/libgomp.oacc-c-c++-common/goacc-data-end.c
Modified:
branches/gomp-4_0-branch/gcc/ChangeLog.gomp
branches/gomp-4_0-branch/gcc/cfgexpand.c
branches/gomp-4_0-branch/gcc/gimplify.c
branches/gomp-4_0-branch/gcc/internal-fn.c
branches/gomp-4_0-branch/gcc/internal-fn.def
branches/gomp-4_0-branch/gcc/omp-low.c
branches/gomp-4_0-branch/gcc/passes.def
branches/gomp-4_0-branch/gcc/tree-inline.c
branches/gomp-4_0-branch/gcc/tree-pass.h
branches/gomp-4_0-branch/libgomp/ChangeLog.gomp
More information about the Gcc-bugs
mailing list