[Bug fortran/96737] ICE when compiling module and submodule in same file with debug (-g)
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)
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)
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)
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.