[Bug fortran/94943] [10 Regression] A module does not export allocatable attribute of herein arrays.

2020-05-07 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94943

anlauf at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |INVALID

--- Comment #6 from anlauf at gcc dot gnu.org ---
Next time please provide a testcase that works at least with another compiler.

First, I guess there's a typo: FNUM instead of FNAM

Second, FNAM is declared:

  CHARACTER(LEN=24),DIMENSION(NPA) :: FNAM

There's nothing allocatable here.

I'm closing this as invalid.

[Bug fortran/94943] [10 Regression] A module does not export allocatable attribute of herein arrays.

2020-05-07 Thread artu72 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94943

--- Comment #5 from Andrea Mastellone  ---
(In reply to Jakub Jelinek from comment #4)
> GCC 10.1 has been released.

When it will be available on Fedora 32 I will test it.

[Bug fortran/94943] [10 Regression] A module does not export allocatable attribute of herein arrays.

2020-05-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94943

Jakub Jelinek  changed:

   What|Removed |Added

   Target Milestone|10.0|10.2

--- Comment #4 from Jakub Jelinek  ---
GCC 10.1 has been released.

[Bug fortran/94943] [10 Regression] A module does not export allocatable attribute of herein arrays.

2020-05-06 Thread artu72 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94943

--- Comment #3 from Andrea Mastellone  ---
Created attachment 48460
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48460&action=edit
simple test case which reproduces the bug

Here is a simple source code replying the bug. I have attached the original
module, used by the main procedure. Compiling it (by issuing make debug or make
release) produces the error.

[Bug fortran/94943] [10 Regression] A module does not export allocatable attribute of herein arrays.

2020-05-05 Thread artu72 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94943

--- Comment #2 from Andrea Mastellone  ---
(In reply to kargl from comment #1)
> There is very little we can do without a minimum example that shows the
> problem.  What you have attached cannot be compiled by anyone as
> deallocate_vars.f90 contains a dozen or so USE statements and you haven't
> provided those modules.  In addition, we don't do mpif90.  What happens if
> you remove all of the unnecessary compiler options you use and use actually
> use gfortran.

Ok, i will try to reduce the code to minimal part that can reproduce the
problem without using mpif90. I'll send you something asap.

[Bug fortran/94943] [10 Regression] A module does not export allocatable attribute of herein arrays.

2020-05-05 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94943

kargl at gcc dot gnu.org changed:

   What|Removed |Added

 CC||kargl at gcc dot gnu.org

--- Comment #1 from kargl at gcc dot gnu.org ---
There is very little we can do without a minimum example that shows the
problem.  What you have attached cannot be compiled by anyone as
deallocate_vars.f90 contains a dozen or so USE statements and you haven't
provided those modules.  In addition, we don't do mpif90.  What happens if you
remove all of the unnecessary compiler options you use and use actually use
gfortran.

[Bug fortran/94943] [10 Regression] A module does not export allocatable attribute of herein arrays.

2020-05-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94943

Richard Biener  changed:

   What|Removed |Added

   Keywords||rejects-valid
   Target Milestone|--- |10.0
   Priority|P3  |P4
  Known to work||9.3.1
Summary|A module does not export|[10 Regression] A module
   |allocatable attribute of|does not export allocatable
   |herein arrays.  |attribute of herein arrays.