This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r249038 - in /branches/gcc-5-branch/gcc: c/Chan...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 08 Jun 2017 19:23:34 -0000
- Subject: r249038 - in /branches/gcc-5-branch/gcc: c/Chan...
Author: jakub
Date: Thu Jun 8 19:23:34 2017
New Revision: 249038
URL: https://gcc.gnu.org/viewcvs?rev=249038&root=gcc&view=rev
Log:
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.
Added:
branches/gcc-5-branch/gcc/testsuite/c-c++-common/gomp/pr81006.c
Modified:
branches/gcc-5-branch/gcc/c/ChangeLog
branches/gcc-5-branch/gcc/c/c-typeck.c
branches/gcc-5-branch/gcc/cp/ChangeLog
branches/gcc-5-branch/gcc/cp/semantics.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog