https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69064
--- Comment #38 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- > Yeah that's what the bug is. The only problem with the file or at least > what prevents it from compiling is the missing variable declaration > on line 2648, but instead of saying there is a missing variable it provides > some other error. An ICE may be an unhelpful error message, but it must be reported as such: it is a bug in the compiler code. Could you provide the source defining calc_param_mod and those it depends on? What is the missing variable declaration?