diff options
author | Jakub Jelinek <jakub@redhat.com> | 2020-05-30 14:02:56 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2020-05-30 14:02:56 +0200 |
commit | 05e4db63d044ee235d2fbfab8b0bb9fbdfb18315 (patch) | |
tree | 9fced1a49c8dd58c725d9c8a5bcf98164da2b830 /libiberty/vprintf-support.h | |
parent | 850533ab160ef40eccfd039e1e3b138cf26e76b8 (diff) | |
download | gcc-05e4db63d044ee235d2fbfab8b0bb9fbdfb18315.zip gcc-05e4db63d044ee235d2fbfab8b0bb9fbdfb18315.tar.gz gcc-05e4db63d044ee235d2fbfab8b0bb9fbdfb18315.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 'libiberty/vprintf-support.h')
0 files changed, 0 insertions, 0 deletions