[Bug fortran/96737] ICE when compiling module and submodule in same file with debug (-g)

2020-08-23 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96737

Paul Thomas  changed:

   What|Removed |Added

 CC||pault at gcc dot gnu.org
 Resolution|--- |FIXED
 Status|NEW |RESOLVED

--- Comment #6 from Paul Thomas  ---
(In reply to CVS Commits from comment #5)
> The master branch has been updated by Paul Thomas :
> 
> https://gcc.gnu.org/g:967454a212c7693577a1911e637c3f9f3edc7ccf
> 
> commit r11-2810-g967454a212c7693577a1911e637c3f9f3edc7ccf
> Author: Paul Thomas 
> Date:   Sun Aug 23 15:37:21 2020 +0100
> 
> Adding option -g to pr96737.f90.
> 
> 2020-08-23  Paul Thomas  
> 
> gcc/testsuite/
> PR fortran/96737
> * gfortran.dg/pr96737.f90: Add option -g.

Duuh! I forgot the -g too!

Closing.

Paul

[Bug fortran/96737] ICE when compiling module and submodule in same file with debug (-g)

2020-08-23 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96737

--- Comment #5 from CVS Commits  ---
The master branch has been updated by Paul Thomas :

https://gcc.gnu.org/g:967454a212c7693577a1911e637c3f9f3edc7ccf

commit r11-2810-g967454a212c7693577a1911e637c3f9f3edc7ccf
Author: Paul Thomas 
Date:   Sun Aug 23 15:37:21 2020 +0100

Adding option -g to pr96737.f90.

2020-08-23  Paul Thomas  

gcc/testsuite/
PR fortran/96737
* gfortran.dg/pr96737.f90: Add option -g.

[Bug fortran/96737] ICE when compiling module and submodule in same file with debug (-g)

2020-08-23 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96737

--- Comment #4 from CVS Commits  ---
The master branch has been updated by Paul Thomas :

https://gcc.gnu.org/g:c4565031c8dc6b5289e36553e5cd937a91825953

commit r11-2809-gc4565031c8dc6b5289e36553e5cd937a91825953
Author: Paul Thomas 
Date:   Sun Aug 23 15:34:27 2020 +0100

This patch fixes PR96737. See the explanatory comment in the testcase.

2020-08-23  Paul Thomas  

gcc/fortran
PR fortran/96737
* trans-types.c (gfc_get_derived_type): Derived types that are
used in submodules are not compatible with TYPE_CANONICAL from
any of the global namespaces.

gcc/testsuite/
PR fortran/96737
* gfortran.dg/pr96737.f90: New test.

[Bug fortran/96737] ICE when compiling module and submodule in same file with debug (-g)

2020-08-23 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96737

--- Comment #3 from Andre Vehreschild  ---
Sorry, I was in a hurry to post the pr. You're right one needs to specify '-g'
to see the issue.

[Bug fortran/96737] ICE when compiling module and submodule in same file

2020-08-22 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96737

Dominique d'Humieres  changed:

   What|Removed |Added

 Status|WAITING |NEW

--- Comment #2 from Dominique d'Humieres  ---
I see the error if I compile the test with -g.

[Bug fortran/96737] ICE when compiling module and submodule in same file

2020-08-21 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96737

Dominique d'Humieres  changed:

   What|Removed |Added

   Last reconfirmed||2020-08-21
 Ever confirmed|0   |1
 Status|UNCONFIRMED |WAITING

--- Comment #1 from Dominique d'Humieres  ---
This seems fixed on GCC11.