https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89291
Bug ID: 89291 Summary: internal compiler error: in gfc_trans_use_stmts Product: gcc Version: 7.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: walter.zwieflhofer at ineosteamuk dot com Target Milestone: --- Internal compiler error when compiling WRF 4.0.3 from NCAR Standard compile of gcc 7.4.0 uname -a: Linux ws2bar 2.6.32-696.18.7.el6.x86_64 #1 SMP Thu Jan 4 17:31:22 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux Processor type: Intel(R) Xeon(R) CPU E5-2643 v2 @ 3.50GHz Backtrace: module_ra_rrtmg_lw.f90:7870:0: use rrlw_tbl, only: ntbl, tblint, pade, bpade, tau_tbl, exp_tbl, tfn_tbl internal compiler error: in gfc_trans_use_stmts, at fortran/trans-decl.c:4959 0x6bb88e gfc_trans_use_stmts ../../gcc-7.4.0-src/gcc/fortran/trans-decl.c:4958 0x6bbe92 gfc_generate_function_code(gfc_namespace*) ../../gcc-7.4.0-src/gcc/fortran/trans-decl.c:6528 0x69a0f9 gfc_generate_module_code(gfc_namespace*) ../../gcc-7.4.0-src/gcc/fortran/trans.c:2202 0x64f75b translate_all_program_units ../../gcc-7.4.0-src/gcc/fortran/parse.c:6062 0x64f75b gfc_parse_file() ../../gcc-7.4.0-src/gcc/fortran/parse.c:6275 0x692eaf gfc_be_parse_file ../../gcc-7.4.0-src/gcc/fortran/f95-lang.c:204 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. Possible code regression - see bug report 41062 from 13 Aug 2009