From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27109 invoked by alias); 14 Aug 2013 12:00:55 -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 27086 invoked by uid 48); 14 Aug 2013 12:00:54 -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: Wed, 14 Aug 2013 12:00: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: UNCONFIRMED 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/msg00738.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58128 --- Comment #2 from Ellis N. Thomas --- Further Information about the Exception Added extra "others" handler for Unexpected exceptions to TryStdIP3. Compiled: bash> gnatmake TryStdIP3.ada gcc -c -x ada trystdip3.ada gnatbind -x trystdip3.ali gnatlink trystdip3.ali Ran: bash> trystdip3 TryStdIP3 from SiRiL Issue 0.22 21-Apr-1989 Copyright (c) 2013 E.N. Thomas Started at : 12:45:57 14/ 8/13 Try to get NAME (STANDARD_INPUT) Try to open CommandFile using: <*stdin> raised PROGRAM_ERROR : unhandled signal So the "others" handler has failed to handle this PROGRAM_ERROR! Although it is reported as an exception, it is not able to be handled in the normal Ada way, so this seriously compromises the ability to work around this error. Consequently, a work-round such as a new version of s-fileio.adb (system__file_io__open) and/or a-textio.adb (ada__text_io__open) would be appreciated. E.N. Thomas/14-Aug-2013