]> git.ipfire.org Git - thirdparty/gcc.git/commit
For 'OMP_CLAUSE' in 'dump_generic_node', dump the whole OMP clause chain
authorThomas Schwinge <thomas@codesourcery.com>
Tue, 15 Jun 2021 08:43:21 +0000 (10:43 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Tue, 15 Jun 2021 08:43:21 +0000 (10:43 +0200)
commit89f4f339130c39afab7c4a9aad5fec8a48f0c95d
treebe3d0c3b0d30cd1cd8a0b9bac2acbb90a53722ff
parentfa0f91ce548ace32940ea4e0a1b6b36627144c94
For 'OMP_CLAUSE' in 'dump_generic_node', dump the whole OMP clause chain

... instead of just the first clause.

gcc/
* tree-pretty-print.h (dump_omp_clauses): Add 'bool = true'
default argument.
* tree-pretty-print.c (dump_omp_clauses): Update.
(dump_generic_node) <OMP_CLAUSE>: Use it.
gcc/testsuite/
* gcc.dg/gomp/simd-clones-2.c: Enhance.

(cherry picked from commit 2973090c4c62105cbb61bfc6f83be903e3c46c71)
gcc/ChangeLog.omp
gcc/testsuite/ChangeLog.omp
gcc/testsuite/gcc.dg/gomp/simd-clones-2.c
gcc/tree-pretty-print.c
gcc/tree-pretty-print.h