From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21045 invoked by alias); 3 Sep 2013 13:50:43 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 21029 invoked by uid 48); 3 Sep 2013 13:50:40 -0000 From: "janus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/58307] Bogus error 'Function requires an argument list' Date: Tue, 03 Sep 2013 13:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: janus at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-09/txt/msg00153.txt.bz2 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).