gcc/libgomp/testsuite
Feng Xue c29c92c789 PR tree-optimization/89713 - Assume loop with an exit is finite
gcc/ChangeLog:

        * doc/invoke.texi (-ffinite-loops): Document new option.
        * common.opt (-ffinite-loops): New option.
        * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Mark
        IFN_GOACC_LOOP calls as necessary.
        * tree-ssa-loop-niter.c (finite_loop_p): Assume loop with an exit
        is finite.
        * omp-offload.c (oacc_xform_loop): Skip lowering if return value of
        IFN_GOACC_LOOP call is not used.
        * opts.c (default_options_table): Enable -ffinite-loops at -O2+.

gcc/testsuite/ChangeLog:

        * g++.dg/tree-ssa/empty-loop.C: New test.
        * gcc.dg/tree-ssa/dce-2.c: New test.
        * gcc.dg/const-1.c: Add -fno-finite-loops option.
        * gcc.dg/graphite/graphite.exp: Likewise.
        * gcc.dg/loop-unswitch-1.c: Likewise.
        * gcc.dg/predict-9.c: Likewise.
        * gcc.dg/pure-2.c: Likewise.
        * gcc.dg/tree-ssa/20040211-1.c: Likewise.
        * gcc.dg/tree-ssa/loop-10.c: Likewise.
        * gcc.dg/tree-ssa/split-path-6.c: Likewise.
        * gcc.dg/tree-ssa/ssa-thread-12.c: Likewise.

libgomp/ChangeLog:

        * testsuite/libgomp.oacc-c-c++-common/pr84955-1.c: New test.

From-SVN: r272234
2019-06-13 04:17:42 +00:00
..
config Update copyright years. 2019-01-01 13:31:55 +01:00
lib [libgomp] In OpenACC testing, by default only build for the offload target that we're actually going to test 2019-02-22 11:51:35 +01:00
libgomp.c re PR target/90811 ([nvptx] ptxas error on OpenMP offloaded code) 2019-06-11 18:40:10 +02:00
libgomp.c-c++-common gimplify.c (gimplify_scan_omp_clauses): Don't sorry_at on lastprivate conditional on combined for simd. 2019-06-04 14:49:03 +02:00
libgomp.c++ omp-low.c (lower_rec_input_clauses): For lastprivate conditional references... 2019-06-05 09:37:40 +02:00
libgomp.fortran aligned1.f03: Fix invalid code that now causes an error after r267415. 2018-12-27 20:57:12 +00:00
libgomp.graphite re PR testsuite/89064 (libgomp.graphite/force-parallel-5.c fails starting with r268257) 2019-01-28 09:07:30 +00:00
libgomp.hsa.c
libgomp.oacc-c [libgomp] In OpenACC testing, by default only build for the offload target that we're actually going to test 2019-02-22 11:51:35 +01:00
libgomp.oacc-c-c++-common PR tree-optimization/89713 - Assume loop with an exit is finite 2019-06-13 04:17:42 +00:00
libgomp.oacc-c++ [libgomp] In OpenACC testing, by default only build for the offload target that we're actually going to test 2019-02-22 11:51:35 +01:00
libgomp.oacc-fortran [libgomp] In OpenACC testing, by default only build for the offload target that we're actually going to test 2019-02-22 11:51:35 +01:00
libgomp-test-support.exp.in [libgomp] In OpenACC testing, cycle though all offload targets 2019-02-22 11:51:20 +01:00
Makefile.am Generalize getconf _NPROCESSORS_ONLN 2019-05-30 09:06:48 +00:00
Makefile.in Generalize getconf _NPROCESSORS_ONLN 2019-05-30 09:06:48 +00:00