https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67757
--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- > This appears to be fixed on 6 and 7. Please check. I still get pr67757_db_1.f90:27:8: use octonion_def, T2 => T 1 Error: Name 't2' at (1) is an ambiguous reference to 't' from module 'octonion_def' pr67757_db_1.f90:27:8: use octonion_def, T2 => T 1 Error: Name 't2' at (1) is an ambiguous reference to 't' from module 'octonion_def' pr67757_db_1.f90:34:16: type(T2) :: c(2) 1 Error: Type name 't2' at (1) is ambiguous with trunk, and pr67757.f90:27:8: use octonion_def, T2 => T 1 Error: Name 't2' at (1) is an ambiguous reference to 't' from module 'octonion_def' pr67757.f90:27:8: use octonion_def, T2 => T 1 Error: Name 't2' at (1) is an ambiguous reference to 't' from module 'octonion_def' (null):0: confused by earlier errors, bailing out with 5.4.0 and 6.1.0.