[Bug fortran/58307] Bogus error 'Function requires an argument list'

janus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Sep 3 13:50:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58307

--- Comment #3 from janus at gcc dot gnu.org ---
(In reply to Dominique d'Humieres from comment #2)
> 4.6.4 gives
> 
> Error: Syntax error in structure constructor at (1)
> 
> and 4.7.3
> 
> Error: Function 'point' requires an argument list at (1)

Ok, so the new error message is sort of a regression in 4.7. But since the old
one was not fully correct either, I wouldn't count it as a real regression.



> Would you expect an error of the kind
> 
> Error: Parameter 'point' at (1) has not been declared or is a variable,
> which does not reduce to a constant expression
> 
> ?

Well, sounds a bit better at least (although 'point' is not a parameter).



More information about the Gcc-bugs mailing list