Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GCC 12.2.0 internal compiler error starting in v0.8.0 using MICM #230

Open
lizziel opened this issue Oct 2, 2024 · 0 comments
Open

GCC 12.2.0 internal compiler error starting in v0.8.0 using MICM #230

lizziel opened this issue Oct 2, 2024 · 0 comments

Comments

@lizziel
Copy link
Collaborator

lizziel commented Oct 2, 2024

I am running into an internal compiler error with GCC 12.2.0 when using MUSICA v0.8.0 / MICM 3.6.0. I do not get this error with MUSICA v0.7.3 / MICM 3.5.0. Disabling MICM solves the problem. Are you aware of a minimum GCC version change with v0.8.0?

[ 95%] Built target musica-fortran
[ 95%] Building Fortran object fortran/test/unit/CMakeFiles/test_micm_fortran_api.dir/__/fetch_content_integration/test_micm_api.F90.o
f951: internal compiler error: in matching_typebound_op, at fortran/interface.cc:4427
0x66e790 matching_typebound_op
	../.././gcc/fortran/interface.cc:4427
0x70400c gfc_extend_assign(gfc_code*, gfc_namespace*)
	../.././gcc/fortran/interface.cc:4670
0x77aebc resolve_ordinary_assign
	../.././gcc/fortran/resolve.cc:10982
0x77aebc gfc_resolve_code(gfc_code*, gfc_namespace*)
	../.././gcc/fortran/resolve.cc:12077
0x77e177 resolve_codes
	../.././gcc/fortran/resolve.cc:17570
0x77e0ae resolve_codes
	../.././gcc/fortran/resolve.cc:17553
0x77e23e gfc_resolve(gfc_namespace*)
	../.././gcc/fortran/resolve.cc:17605
0x75e700 resolve_all_program_units
	../.././gcc/fortran/parse.cc:6604
0x75e700 gfc_parse_file()
	../.././gcc/fortran/parse.cc:6860
0x7b55cf gfc_be_parse_file
	../.././gcc/fortran/f95-lang.cc:216
Please submit a full bug report, with preprocessed source (by using -freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
make[2]: *** [fortran/test/unit/CMakeFiles/test_micm_fortran_api.dir/build.make:75: fortran/test/unit/CMakeFiles/test_micm_fortran_api.dir/__/fetch_content_integration/test_micm_api.F90.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2089: fortran/test/unit/CMakeFiles/test_micm_fortran_api.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant