[Bug fortran/101199] program changes the value of a dummy argument

2021-07-12 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101199 Thomas Koenig changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug fortran/101199] program changes the value of a dummy argument

2021-07-12 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101199 Thomas Koenig changed: What|Removed |Added CC||tkoenig at gcc dot gnu.org --- Comment

[Bug fortran/101199] program changes the value of a dummy argument

2021-06-25 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101199 --- Comment #5 from Jürgen Reuter --- (In reply to ygal klein from comment #4) >) > > Thank you for the reply. > > After posting the bug report - I saw that implementing (inout) as your > number 1 suggestion - dodges the problem - though as yo

[Bug fortran/101199] program changes the value of a dummy argument

2021-06-25 Thread ygalklein at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101199 --- Comment #4 from ygal klein --- (In reply to Jürgen Reuter from comment #3) > I think that indeed this is not something the compiler needs to do as > expected, as it is an aliasing problem. > In the advance TBP you are calling again the init

[Bug fortran/101199] program changes the value of a dummy argument

2021-06-25 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101199 Jürgen Reuter changed: What|Removed |Added CC||juergen.reuter at desy dot de --- Comme

[Bug fortran/101199] program changes the value of a dummy argument

2021-06-24 Thread ygalklein at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101199 --- Comment #2 from ygal klein --- The problem also persists in an example code that is with no extended type: ```fortran module mod_original_struct implicit none private public :: original_struct type original_struct

[Bug fortran/101199] program changes the value of a dummy argument

2021-06-24 Thread ygalklein at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101199 --- Comment #1 from ygal klein --- The problem stays for even a smaller example program: ``` fortran module mod_original_struct implicit none private public :: extended_struct type original_struct private real,