diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 670c5b8a340..5731e2017c9 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,8 @@ +2008-03-28 Tobias Burnus + + * symbol.c (gfc_get_default_type): Fix error message; option + -fallow_leading_underscore should be -fallow-leading-underscore + 2008-03-27 Jerry DeLisle PR fortran/35724 diff --git a/gcc/fortran/symbol.c b/gcc/fortran/symbol.c index c86fa9ae40e..6e878817363 100644 --- a/gcc/fortran/symbol.c +++ b/gcc/fortran/symbol.c @@ -212,7 +212,7 @@ gfc_get_default_type (gfc_symbol *sym, gfc_namespace *ns) letter = sym->name[0]; if (gfc_option.flag_allow_leading_underscore && letter == '_') - gfc_internal_error ("Option -fallow_leading_underscore is for use only by " + gfc_internal_error ("Option -fallow-leading-underscore is for use only by " "gfortran developers, and should not be used for " "implicitly typed variables");