diff options
author | Jakub Jelinek <jakub@redhat.com> | 2020-05-30 14:02:56 +0200 |
---|---|---|
committer | Giuliano Belinassi <giuliano.belinassi@usp.br> | 2020-08-17 13:09:24 -0300 |
commit | 85169d9f15c3e16df5802cb3a9e90e10746f2a3d (patch) | |
tree | fee748171dad927e43ae8f22618a2ce7726ce403 /gcc/gimple-array-bounds.cc | |
parent | d17fcc72e4a2f4b7afb9ee739680b2f56669a841 (diff) | |
download | gcc-85169d9f15c3e16df5802cb3a9e90e10746f2a3d.zip gcc-85169d9f15c3e16df5802cb3a9e90e10746f2a3d.tar.gz gcc-85169d9f15c3e16df5802cb3a9e90e10746f2a3d.tar.bz2 |
openmp: omp_alloc(0, ...) should return NULL.
2020-05-30 Jakub Jelinek <jakub@redhat.com>
* allocator.c (omp_alloc): For size == 0, return NULL early.
* testsuite/libgomp.c-c++-common/alloc-4.c: New test.
Diffstat (limited to 'gcc/gimple-array-bounds.cc')
0 files changed, 0 insertions, 0 deletions