https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78518
janus at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-11-25 CC| |janus at gcc dot gnu.org Summary|Warning format regression |[6/7 Regression] Warning | |format regression Ever confirmed|0 |1 --- Comment #1 from janus at gcc dot gnu.org --- (In reply to physiker from comment #0) > gfortran-7 -W -Wall t.f90 > t.f90:3:14: > > call s(a, b) > 1 > Warning: Type mismatch in argument »a« at (1); passed REAL(4) to REAL(8) > [-Wargument-mismatch] I can confirm this behavior with trunk and 6.2.0 20161005 (Ubuntu 6.2.0-5ubuntu12). > gfortran-fsf-6 -W -Wall t.f90 > t.f90:3:9: > > call s(a, b) > 1 > Warning: Type mismatch in argument »a« at (1); passed REAL(4) to REAL(8) This is what I get with 5.4.1 20160929 (Ubuntu 5.4.1-2ubuntu2). Which version of gfortran 6 are you using exactly? Note that even earlier versions (4.x) put the '1' right under the 'a', not under the opening brace. The warning comes from compare_parameter in interface.c.