[Bug fortran/93957] New: ICE (regression) passing assumed rank arrays with bind(c)

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug fortran/93957] New: ICE (regression) passing assumed rank arrays with bind(c)

cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93957

            Bug ID: 93957
           Summary: ICE (regression) passing assumed rank arrays with
                    bind(c)
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jrfsousa at gmail dot com
  Target Milestone: ---

Created attachment 47921
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47921&action=edit
Code triggering ICE

Hi all!

ICE regression probably introduced by the patch to PR92123 in:

GNU Fortran (GCC) 10.0.1 20200224 (experimental)

Best regards,
José Rui
Reply | Threaded
Open this post in threaded view
|

[Bug fortran/93957] [10 Regression] ICE (regression) passing assumed rank arrays with bind(c)

cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93957

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
           Priority|P3                          |P4
   Target Milestone|---                         |10.0
            Summary|ICE (regression) passing    |[10 Regression] ICE
                   |assumed rank arrays with    |(regression) passing
                   |bind(c)                     |assumed rank arrays with
                   |                            |bind(c)
Reply | Threaded
Open this post in threaded view
|

[Bug fortran/93957] [10 Regression] ICE (regression) passing assumed rank arrays with bind(c)

cvs-commit at gcc dot gnu.org
In reply to this post by cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93957

--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tobias Burnus <[hidden email]>:

https://gcc.gnu.org/g:62ede14d30f5d083f1ab23bcab6e0e3c9c649006

commit r10-7416-g62ede14d30f5d083f1ab23bcab6e0e3c9c649006
Author: Tobias Burnus <[hidden email]>
Date:   Fri Mar 27 12:12:36 2020 +0100

    [Fortran] Fix ICE with deferred-rank arrays (PR93957)

            PR fortran/93957
            * trans-array.c (gfc_alloc_allocatable_for_assignment): Accept
            nonallocatable, nonpointer deferred-rank arrays.

            PR fortran/93957
            * gfortran.dg/assumed_rank_19.f90: New.
Reply | Threaded
Open this post in threaded view
|

[Bug fortran/93957] [10 Regression] ICE (regression) passing assumed rank arrays with bind(c)

cvs-commit at gcc dot gnu.org
In reply to this post by cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93957

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu.org
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> ---
FIXED on the trunk / GCC 10.

Thanks for the report!