[Bug fortran/93956] Wrong array creation with p => array_dt(1:n)%component

2021-04-16 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93956 Thomas Koenig changed: What|Removed |Added Assignee|tkoenig at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug fortran/93956] Wrong array creation with p => array_dt(1:n)%component

2020-05-21 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93956 Bug 93956 depends on bug 94788, which changed state. Bug 94788 Summary: [8/9 Regression] Severe regression leading to double free in tcache https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94788 What|Removed |Added

[Bug fortran/93956] Wrong array creation with p => array_dt(1:n)%component

2020-05-01 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93956 --- Comment #18 from CVS Commits --- The releases/gcc-8 branch has been updated by Thomas Kथà¤nig : https://gcc.gnu.org/g:b92bb10248a8f99cecf71a54c56bd4d8c75a322f commit r8-10228-gb92bb10248a8f99cecf71a54c56bd4d8c75a322f Author: Thomas Koenig

[Bug fortran/93956] Wrong array creation with p => array_dt(1:n)%component

2020-05-01 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93956 --- Comment #17 from CVS Commits --- The releases/gcc-9 branch has been updated by Thomas Kथà¤nig : https://gcc.gnu.org/g:cb2c76c8b156c6d8541ddb3aa894568a2de3b02b commit r9-8557-gcb2c76c8b156c6d8541ddb3aa894568a2de3b02b Author: Thomas Koenig

[Bug fortran/93956] Wrong array creation with p => array_dt(1:n)%component

2020-04-28 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93956 --- Comment #16 from Paul Thomas --- Hi Thomas, I am sorry that you are having such a hassle with this - perhaps this helps? > > I assume that the span is not used correctly in the > function. Yes, that is correct. Within 'foo', we have

[Bug fortran/93956] Wrong array creation with p => array_dt(1:n)%component

2020-04-27 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93956 Thomas Koenig changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug fortran/93956] Wrong array creation with p => array_dt(1:n)%component

2020-04-27 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93956 --- Comment #14 from CVS Commits --- The master branch has been updated by Thomas Kथà¤nig : https://gcc.gnu.org/g:d8df7c404e233abb1e26d8b8370c460732904531 commit r10-8001-gd8df7c404e233abb1e26d8b8370c460732904531 Author: Thomas Koenig Date:

[Bug fortran/93956] Wrong array creation with p => array_dt(1:n)%component

2020-04-26 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93956 --- Comment #13 from CVS Commits --- The master branch has been updated by Thomas Kथà¤nig : https://gcc.gnu.org/g:2bf7698e0d2312410e7aaab5ee8447e25d8bf8a6 commit r10-7971-g2bf7698e0d2312410e7aaab5ee8447e25d8bf8a6 Author: Thomas Koenig Date:

[Bug fortran/93956] Wrong array creation with p => array_dt(1:n)%component

2020-04-24 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93956 Thomas Koenig changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/93956] Wrong array creation with p => array_dt(1:n)%component

2020-04-24 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93956 --- Comment #11 from Thomas Koenig --- Fixed on all open branches. Thanks a lot for the bug report! Regards

[Bug fortran/93956] Wrong array creation with p => array_dt(1:n)%component

2020-04-24 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93956 --- Comment #10 from CVS Commits --- The releases/gcc-8 branch has been updated by Thomas Kथà¤nig : https://gcc.gnu.org/g:aadc54867cc200ad7d073222769b9de7f13b5bcd commit r8-10218-gaadc54867cc200ad7d073222769b9de7f13b5bcd Author: Thomas König

[Bug fortran/93956] Wrong array creation with p => array_dt(1:n)%component

2020-04-23 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93956 --- Comment #9 from CVS Commits --- The releases/gcc-9 branch has been updated by Thomas Kथà¤nig : https://gcc.gnu.org/g:2a732dbdfcc0a3bc2b4bdb5387fffa193fea6df6 commit r9-8541-g2a732dbdfcc0a3bc2b4bdb5387fffa193fea6df6 Author: Thomas König D

[Bug fortran/93956] Wrong array creation with p => array_dt(1:n)%component

2020-04-23 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93956 --- Comment #8 from CVS Commits --- The master branch has been updated by Thomas Kथà¤nig : https://gcc.gnu.org/g:06eca1acafa27e19e82dc73927394a7a4d0bdbc5 commit r10-7920-g06eca1acafa27e19e82dc73927394a7a4d0bdbc5 Author: Thomas König Date:

[Bug fortran/93956] Wrong array creation with p => array_dt(1:n)%component

2020-04-21 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93956 --- Comment #7 from Thomas Koenig --- Created attachment 48328 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48328&action=edit Patch which sould create the right temporaries Well, this should to the trick - at least fixes the test case.

[Bug fortran/93956] Wrong array creation with p => array_dt(1:n)%component

2020-04-20 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93956 Thomas Koenig changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug fortran/93956] Wrong array creation with p => array_dt(1:n)%component

2020-04-20 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93956 --- Comment #5 from Thomas Koenig --- So, the problem seems to be that sym->attr.subref_array_pointer is not set on the original test case. It should be set by p => get(r(:)) (or by an equivalent call get2(r)) because we don't know what the part

[Bug fortran/93956] Wrong array creation with p => array_dt(1:n)%component

2020-04-20 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93956 --- Comment #4 from Thomas Koenig --- Taking the slightly modified test case program array_temps implicit none type :: tt integer :: u = 1 integer :: v = 2 end type tt type(tt), dimension(:), pointer :: r integer :: n int

[Bug fortran/93956] Wrong array creation with p => array_dt(1:n)%component

2020-04-19 Thread mscfd at gmx dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93956 --- Comment #3 from martin --- Sorry, indeed the line 'n=1' is missing. Not sure how that single line got lost. There are a few possibilities as a work around for this simple case, but the context where I came upon this bug is (as often) mor

[Bug fortran/93956] Wrong array creation with p => array_dt(1:n)%component

2020-04-14 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93956 Thomas Koenig changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug fortran/93956] Wrong array creation with p => array_dt(1:n)%component

2020-03-11 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93956 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #1