[Bug fortran/96158] Symbols not emitted for module common variables

2020-07-13 Thread amelvill at umich dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96158 --- Comment #5 from AJM --- Also, in case it wasn't clear, > Breakpoint 2, boo () at a.f90:9 > 9 write(*, '(A, I3)') "moduleVar=", n > (gdb) p n > $2 = 123 > (gdb) p moduleVar > No symbol "moduleVar" in current context. > (gdb) p

[Bug fortran/96158] Symbols not emitted for module common variables

2020-07-13 Thread amelvill at umich dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96158 --- Comment #4 from AJM --- >> I won't comment on the questionable programming idiom of placing >> a common block in a module, which kind of defeats the niceties of >> a module. > If somebody wants to transition your code from using common

[Bug fortran/96158] Symbols not emitted for module common variables

2020-07-11 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96158 --- Comment #3 from Thomas Koenig --- (In reply to kargl from comment #2) > I won't comment on the questionable programming idiom of placing > a common block in a module, which kind of defeats the niceties of > a module. If somebody wants to

[Bug fortran/96158] Symbols not emitted for module common variables

2020-07-10 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96158 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---

[Bug fortran/96158] Symbols not emitted for module common variables

2020-07-10 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96158 Thomas Koenig changed: What|Removed |Added Status|UNCONFIRMED |NEW Keywords|