This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/80686] New: VLA usage in libgfortran; nvptx target: "sorry, unimplemented: target cannot support alloca"


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80686

            Bug ID: 80686
           Summary: VLA usage in libgfortran; nvptx target: "sorry,
                    unimplemented: target cannot support alloca"
           Product: gcc
           Version: 8.0
            Status: RESOLVED
          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
            Status: RESOLVED
        Resolution: DUPLICATE

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.

--- Comment #1 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
Ran into a "gateway timeout" (?) (lost the precise error message) when filing
this one; it never made it to <https://gcc.gnu.org/ml/gcc-bugs/2017-05/>. 
Retrying, I again got that error, but PR80687 got filed, and is visible on
<https://gcc.gnu.org/ml/gcc-bugs/2017-05/msg00783.html>.

*** This bug has been marked as a duplicate of bug 80687 ***


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65181
[Bug 65181] Support for alloca in nvptx

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]