diff options
author | Jakub Jelinek <jakub@redhat.com> | 2017-06-08 21:10:49 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2017-06-08 21:10:49 +0200 |
commit | 8ab7005b1420687c0e31a28a4e6e9fd05bb7f22e (patch) | |
tree | aec1d25f339f1ecbb52d004325a72dfac4ffc379 /gcc/predict.c | |
parent | 20e96b489ea501861c0bb6e509888275d682ed2f (diff) | |
download | gcc-8ab7005b1420687c0e31a28a4e6e9fd05bb7f22e.zip gcc-8ab7005b1420687c0e31a28a4e6e9fd05bb7f22e.tar.gz gcc-8ab7005b1420687c0e31a28a4e6e9fd05bb7f22e.tar.bz2 |
re PR c/81006 (ICE with zero-size array and #pragma omp task depend)
PR c/81006
* c-typeck.c (handle_omp_array_sections_1): Convert TYPE_MAX_VALUE
to sizetype before size_binop.
* semantics.c (handle_omp_array_sections_1): Convert TYPE_MAX_VALUE
to sizetype before size_binop.
* c-c++-common/gomp/pr81006.c: New test.
From-SVN: r249035
Diffstat (limited to 'gcc/predict.c')
0 files changed, 0 insertions, 0 deletions