https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80687
Bug ID: 80687
Summary: VLA usage in libgfortran; nvptx target: "sorry,
unimplemented: target cannot support alloca"
Product: gcc
Version: 8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: tschwinge at gcc dot gnu.org
CC: bernds at gcc dot gnu.org, tkoenig at gcc dot gnu.org
Depends on: 65181
Target Milestone: ---
Target: nvptx
After the r247753 (Git 65a1b327b171135d6b591a7b63ef444de27dd600) commit for
PR80602:
[...]/libgfortran/generated/matmul_i1.c: In function 'matmul_i1':
[...]/libgfortran/generated/matmul_i1.c:2583:21: sorry, unimplemented:
target cannot support alloca.
GFC_INTEGER_1 t1[t1_dim]; /* was [256][256] */
^~
Makefile:3727: recipe for target 'matmul_i1.lo' failed
make[3]: *** [matmul_i1.lo] Error 1
Etc.
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65181
[Bug 65181] Support for alloca in nvptx