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/80467] Function Without Arguments Fails to Generate Error When Declared Later


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80467

--- Comment #2 from Jeffrey Armstrong <jeffrey.armstrong at approximatrix dot com> ---
I agree that the code is invalid, and it is the user's responsibility. 
However, I don't think an internal compiler error is appropriate in this case. 
An actual error would be preferable.

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