This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]