From patchwork Sat May 14 10:24:47 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janne Blomqvist X-Patchwork-Id: 95549 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id B46DAB6EF3 for ; Sat, 14 May 2011 20:25:11 +1000 (EST) Received: (qmail 19766 invoked by alias); 14 May 2011 10:25:04 -0000 Received: (qmail 19729 invoked by uid 22791); 14 May 2011 10:25:03 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RFC_ABUSE_POST X-Spam-Check-By: sourceware.org Received: from mail-pz0-f47.google.com (HELO mail-pz0-f47.google.com) (209.85.210.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 14 May 2011 10:24:48 +0000 Received: by pzk36 with SMTP id 36so1714671pzk.20 for ; Sat, 14 May 2011 03:24:47 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.48.100 with SMTP id k4mr3729618pbn.160.1305368687416; Sat, 14 May 2011 03:24:47 -0700 (PDT) Received: by 10.68.42.197 with HTTP; Sat, 14 May 2011 03:24:47 -0700 (PDT) Date: Sat, 14 May 2011 13:24:47 +0300 Message-ID: Subject: [Patch, libfortran, committed] PR 48915 Update mixed-language programming section documentation From: Janne Blomqvist To: GCC Patches , Fortran List Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Hi, I committed the attached patch as obvious. It updates the manual section on mixed-language programming to reflect the changes made as part of PR 48915. Index: gfortran.texi =================================================================== --- gfortran.texi (revision 173750) +++ gfortran.texi (working copy) @@ -2578,7 +2578,7 @@ int main (int argc, char *argv[]) @table @asis @item @emph{Description}: @code{_gfortran_set_options} sets several flags related to the Fortran -standard to be used, whether backtracing or core dumps should be enabled +standard to be used, whether backtracing should be enabled and whether range checks should be performed. The syntax allows for upward compatibility since the number of passed flags is specified; for non-passed flags, the default value is used. See also @@ -2609,10 +2609,9 @@ Possible values are (bitwise or-ed) @cod standard error. Default: @code{GFC_STD_F95_DEL | GFC_STD_LEGACY}. @item @var{option}[2] @tab If non zero, enable pedantic checking. Default: off. -@item @var{option}[3] @tab If non zero, enable core dumps on run-time -errors. Default: off. +@item @var{option}[3] @tab Unused. @item @var{option}[4] @tab If non zero, enable backtracing on run-time -errors. Default: off. +errors. Default: enabled. Note: Installs a signal handler and requires command-line initialization using @code{_gfortran_set_args}. @item @var{option}[5] @tab If non zero, supports signed zeros. @@ -2627,8 +2626,8 @@ Default: enabled. See -frange-check (@p @item @emph{Example}: @smallexample - /* Use gfortran 4.5 default options. */ - static int options[] = @{68, 255, 0, 0, 0, 1, 0, 1@}; + /* Use gfortran 4.7 default options. */ + static int options[] = @{68, 255, 0, 0, 1, 1, 0, 1@}; _gfortran_set_options (8, &options); @end smallexample @end table Index: ChangeLog =================================================================== --- ChangeLog (revision 173750) +++ ChangeLog (working copy) @@ -1,5 +1,12 @@ 2011-05-14 Janne Blomqvist + PR libfortran/48915 + * gfortran.texi: Update mixed-language programming section + reflecting the removal of the fdump-core option, and that + -fbacktrace is enabled by default. + +2011-05-14 Janne Blomqvist + PR libfortran/48915 * gfortran.h (gfc_option_t): Remove flag_dump_core. * gfortran.texi (GFORTRAN_ERROR_DUMPCORE): Remove section.