From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3790 invoked by alias); 22 Apr 2010 13:23:52 -0000 Received: (qmail 3601 invoked by uid 48); 22 Apr 2010 13:23:31 -0000 Date: Thu, 22 Apr 2010 13:23:00 -0000 Subject: [Bug fortran/43851] New: Add _gfortran_error_stop_numeric X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "burnus at gcc dot gnu dot org" 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 X-SW-Source: 2010-04/txt/msg02354.txt.bz2 There are two STOP statements in Fortran: STOP or ERROR STOP or The first one is for normal stopping of the program, the second one for error abort. This works in so far that ERROR STOP "string" returns a non-zero exit status code and STOP "string" returns zero. (The numeric version returns the number.) However, the text output is different. For string one gets: STOP my string ERROR STOP my string but for numeric output one just gets STOP 1 i.e. always "STOP" and never "ERROR STOP". The reason is that a _gfortran_error_stop_numeric function is missing. -- Summary: Add _gfortran_error_stop_numeric Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43851