public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/95196] New: Assumed-rank incorrect array bounds inside select rank
@ 2020-05-18 23:34 jrfsousa at gmail dot com
  2020-07-08 12:29 ` [Bug fortran/95196] " dominiq at lps dot ens.fr
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: jrfsousa at gmail dot com @ 2020-05-18 23:34 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 95196
           Summary: Assumed-rank incorrect array bounds inside select rank
           Product: gcc
           Version: 11.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 48557
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48557&action=edit
Fortran code demonstrating problems.

Hi all!

Assumed-rank array has incorrect array bounds inside select rank clauses.

Probably related to Bug 94289.

Seen with:

GNU Fortran (GCC) 10.1.1 20200513
GNU Fortran (GCC) 11.0.0 20200513 (experimental)

Thank you very much.

Best regards,
José Rui

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug fortran/95196] Assumed-rank incorrect array bounds inside select rank
  2020-05-18 23:34 [Bug fortran/95196] New: Assumed-rank incorrect array bounds inside select rank jrfsousa at gmail dot com
@ 2020-07-08 12:29 ` dominiq at lps dot ens.fr
  2021-10-23  0:26 ` cvs-commit at gcc dot gnu.org
  2021-10-23  0:31 ` sandra at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: dominiq at lps dot ens.fr @ 2020-07-08 12:29 UTC (permalink / raw)
  To: gcc-bugs

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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2020-07-08

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
This seems fixed on GCC11 (GCC10 stops with STOP 11).

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug fortran/95196] Assumed-rank incorrect array bounds inside select rank
  2020-05-18 23:34 [Bug fortran/95196] New: Assumed-rank incorrect array bounds inside select rank jrfsousa at gmail dot com
  2020-07-08 12:29 ` [Bug fortran/95196] " dominiq at lps dot ens.fr
@ 2021-10-23  0:26 ` cvs-commit at gcc dot gnu.org
  2021-10-23  0:31 ` sandra at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-10-23  0:26 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Sandra Loosemore <sandra@gcc.gnu.org>:

https://gcc.gnu.org/g:693abdb66aba25f3fb25c3cd8d65dbb64ecd37a0

commit r12-4638-g693abdb66aba25f3fb25c3cd8d65dbb64ecd37a0
Author: Sandra Loosemore <sandra@codesourcery.com>
Date:   Fri Oct 22 17:22:00 2021 -0700

    Add testcase for PR fortran/95196

    2021-10-22  José Rui Faustino de Sousa  <jrfsousa@gmail.com>
                Sandra Loosemore  <sandra@codesourcery.com>

            gcc/testsuite/

            PR fortran/95196
            * gfortran.dg/PR95196.f90: New.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug fortran/95196] Assumed-rank incorrect array bounds inside select rank
  2020-05-18 23:34 [Bug fortran/95196] New: Assumed-rank incorrect array bounds inside select rank jrfsousa at gmail dot com
  2020-07-08 12:29 ` [Bug fortran/95196] " dominiq at lps dot ens.fr
  2021-10-23  0:26 ` cvs-commit at gcc dot gnu.org
@ 2021-10-23  0:31 ` sandra at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: sandra at gcc dot gnu.org @ 2021-10-23  0:31 UTC (permalink / raw)
  To: gcc-bugs

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

sandra at gcc dot gnu.org changed:

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

--- Comment #3 from sandra at gcc dot gnu.org ---
I confirmed that the testcase now works, and added it to the testsuite. 
Closing this issue now.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-10-23  0:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-18 23:34 [Bug fortran/95196] New: Assumed-rank incorrect array bounds inside select rank jrfsousa at gmail dot com
2020-07-08 12:29 ` [Bug fortran/95196] " dominiq at lps dot ens.fr
2021-10-23  0:26 ` cvs-commit at gcc dot gnu.org
2021-10-23  0:31 ` sandra at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).