libgomp.oacc-c-c++-common/loop-gwv-2.c: Use __builtin_alloca
authorTobias Burnus <tobias@codesourcery.com>
Mon, 25 Oct 2021 18:40:13 +0000 (20:40 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Mon, 25 Oct 2021 18:48:38 +0000 (20:48 +0200)
commit72dc270be793f159a3a038bef41542d85550b331
tree758facca35e070e59895f6a2ae0d1b66a9036f9b
parentc49f389e3dee9f00ffc74de6a8770cd55dc12880
libgomp.oacc-c-c++-common/loop-gwv-2.c: Use __builtin_alloca

Some systems do not have <alloca.h> but provide alloca differently, e.g.
via stdlib.h. Do it like other testcases do and use __builtin_alloca.

libgomp/ChangeLog:

PR testsuite/102910
* testsuite/libgomp.oacc-c-c++-common/loop-gwv-2.c: Use __builtin_alloca
instead of #include <alloca.h> + alloca.
libgomp/testsuite/libgomp.oacc-c-c++-common/loop-gwv-2.c