From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8528 invoked by alias); 15 Aug 2013 19:13:32 -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 8486 invoked by uid 48); 15 Aug 2013 19:13:31 -0000 From: "ExtraLeveLInSoftware at ntlworld dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/58128] Problem using NAME (STANDARD_INPUT) in gcc-4.7.2 Date: Thu, 15 Aug 2013 19:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ada X-Bugzilla-Version: 4.7.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ExtraLeveLInSoftware at ntlworld dot com X-Bugzilla-Status: RESOLVED 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-08/txt/msg00822.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58128 --- Comment #4 from Ellis N. Thomas --- The decision to close this without any action seems unjustified. The problem is being rejected on the basis that the handling of the exception is faulty in the older Darwin. However, the fundamental problem is that this exception should not have been raised by OPEN (as in the cited sections of the Ada RM). Some fix to the relevant IO software is needed. The reply also states that what worked for I/O on VMS decades ago is essentially irrelevant - but regardless of whether OPEN is going to support another file being opened to Standard Input, if it doesn't it must say so by raising Name_Error or Use_Error as appropriate. In fact from the software developer's point of view it is clearly an advantage to be able to support interactive tools (like interpreters) written in Ada, and the ability to manipulate Standard Input is part of this. However, this facility itself is not the issue here. ENT/15-Aug-2013