gcc-10 is stricter than gcc-9. gcc-9 compiles fine without the flags (and doesn't actually recognize the flags).
-fallow-argument-mismatch because e.g.
geant321/gbase/gffgo.F:50:25:
47 | CALL FFKEY ('ANNI',IANNI , 1,'INTEGER')
| 2
......
50 | CALL FFKEY ('CUTS',CUTGAM,16,'REAL')
| 1
Error: Type mismatch between actual argument at (1) and actual argument at (2) (REAL(4)/INTEGER(4)).
-fallow-invalid-boz because e.g.
packlib/cspack/xz/xzctof.F:40:27:
40 | DATA IPATT/X'0123CDEF'/
| 1
Error: Hexadecimal constant at (1) uses nonstandard X instead of Z [see '-fno-allow-invalid-boz']
gcc-10 is stricter than gcc-9. gcc-9 compiles fine without the flags (and doesn't actually recognize the flags).
-fallow-argument-mismatch
because e.g.-fallow-invalid-boz
because e.g.