public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/85868] Subarray of a pointer array associated with a pointer dummy argument
       [not found] <bug-85868-4@http.gcc.gnu.org/bugzilla/>
@ 2020-05-26 11:03 ` jrfsousa at gmail dot com
  2020-05-26 11:04 ` jrfsousa at gmail dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 4+ messages in thread
From: jrfsousa at gmail dot com @ 2020-05-26 11:03 UTC (permalink / raw)
  To: gcc-bugs

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

José Rui Faustino de Sousa <jrfsousa at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jrfsousa at gmail dot com

--- Comment #8 from José Rui Faustino de Sousa <jrfsousa at gmail dot com> ---
Created attachment 48602
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48602&action=edit
New test case

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

* [Bug fortran/85868] Subarray of a pointer array associated with a pointer dummy argument
       [not found] <bug-85868-4@http.gcc.gnu.org/bugzilla/>
  2020-05-26 11:03 ` [Bug fortran/85868] Subarray of a pointer array associated with a pointer dummy argument jrfsousa at gmail dot com
@ 2020-05-26 11:04 ` jrfsousa at gmail dot com
  2020-06-11 12:21 ` cvs-commit at gcc dot gnu.org
  2020-06-11 14:19 ` tkoenig at gcc dot gnu.org
  3 siblings, 0 replies; 4+ messages in thread
From: jrfsousa at gmail dot com @ 2020-05-26 11:04 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from José Rui Faustino de Sousa <jrfsousa at gmail dot com> ---
Hi All,

Still present in:

GNU Fortran (GCC) 9.3.1 20200525
GNU Fortran (GCC) 10.1.1 20200525
GNU Fortran (GCC) 11.0.0 20200525 (experimental)

Thank you very much.

Best regards,
José Rui

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

* [Bug fortran/85868] Subarray of a pointer array associated with a pointer dummy argument
       [not found] <bug-85868-4@http.gcc.gnu.org/bugzilla/>
  2020-05-26 11:03 ` [Bug fortran/85868] Subarray of a pointer array associated with a pointer dummy argument jrfsousa at gmail dot com
  2020-05-26 11:04 ` jrfsousa at gmail dot com
@ 2020-06-11 12:21 ` cvs-commit at gcc dot gnu.org
  2020-06-11 14:19 ` tkoenig at gcc dot gnu.org
  3 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-06-11 12:21 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #10 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Thomas Kथà¤nig <tkoenig@gcc.gnu.org>:

https://gcc.gnu.org/g:2ff0f48819c8a7ed5d7c03e2bfc02e5907e2ff1a

commit r11-1230-g2ff0f48819c8a7ed5d7c03e2bfc02e5907e2ff1a
Author: José Rui Faustino de Sousa <jrfsousa@gmail.com>
Date:   Thu Jun 11 14:14:30 2020 +0200

    Wrong array section bounds when passing to an intent-in pointer dummy.

    Add code to allow for the creation a new descriptor for array
    sections with the correct one based indexing.

    Rework the generated descriptors indexing (hopefully) fixing the
    wrong offsets generated.

    gcc/fortran/ChangeLog:

    2020-06-11  José Rui Faustino de Sousa  <jrfsousa@gmail.com>

            PR fortran/52351
            PR fortran/85868
            * trans-array.c (gfc_conv_expr_descriptor): Enable the
            creation of a new descriptor with the correct one based
            indexing for array sections.  Rework array descriptor
            indexing offset calculation.

    gcc/testsuite/ChangeLog:

    2020-06-11  José Rui Faustino de Sousa  <jrfsousa@gmail.com>

            PR fortran/52351
            PR fortran/85868
            * gfortran.dg/coarray_lib_comm_1.f90: Adjust match test for
            the newly generated descriptor.
            * gfortran.dg/PR85868A.f90: New test.
            * gfortran.dg/PR85868B.f90: New test.

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

* [Bug fortran/85868] Subarray of a pointer array associated with a pointer dummy argument
       [not found] <bug-85868-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2020-06-11 12:21 ` cvs-commit at gcc dot gnu.org
@ 2020-06-11 14:19 ` tkoenig at gcc dot gnu.org
  3 siblings, 0 replies; 4+ messages in thread
From: tkoenig at gcc dot gnu.org @ 2020-06-11 14:19 UTC (permalink / raw)
  To: gcc-bugs

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

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #11 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Fixed on master, closing.

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

end of thread, other threads:[~2020-06-11 14:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-85868-4@http.gcc.gnu.org/bugzilla/>
2020-05-26 11:03 ` [Bug fortran/85868] Subarray of a pointer array associated with a pointer dummy argument jrfsousa at gmail dot com
2020-05-26 11:04 ` jrfsousa at gmail dot com
2020-06-11 12:21 ` cvs-commit at gcc dot gnu.org
2020-06-11 14:19 ` tkoenig 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).