aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-decl.c
diff options
context:
space:
mode:
authorJanne Blomqvist <jb@gcc.gnu.org>2011-05-14 11:44:09 +0300
committerJanne Blomqvist <jb@gcc.gnu.org>2011-05-14 11:44:09 +0300
commitde8bd1420e94a63faef64c2ccac021fd89a11497 (patch)
tree7992bcce7fae4d0b2746f2216e3a5e1c98df7aa2 /gcc/fortran/trans-decl.c
parent1028b2bded33a9ee92db6a1a968258f3ba29aa24 (diff)
downloadgcc-de8bd1420e94a63faef64c2ccac021fd89a11497.zip
gcc-de8bd1420e94a63faef64c2ccac021fd89a11497.tar.gz
gcc-de8bd1420e94a63faef64c2ccac021fd89a11497.tar.bz2
PR 48915 Abort handling
From-SVN: r173750
Diffstat (limited to 'gcc/fortran/trans-decl.c')
-rw-r--r--gcc/fortran/trans-decl.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/fortran/trans-decl.c b/gcc/fortran/trans-decl.c
index 77e2a59..f0138b0 100644
--- a/gcc/fortran/trans-decl.c
+++ b/gcc/fortran/trans-decl.c
@@ -4636,9 +4636,12 @@ create_main_function (tree fndecl)
gfc_option.allow_std));
CONSTRUCTOR_APPEND_ELT (v, NULL_TREE,
build_int_cst (integer_type_node, pedantic));
+ /* TODO: This is the old -fdump-core option, which is unused but
+ passed due to ABI compatibility; remove when bumping the
+ library ABI. */
CONSTRUCTOR_APPEND_ELT (v, NULL_TREE,
build_int_cst (integer_type_node,
- gfc_option.flag_dump_core));
+ 0));
CONSTRUCTOR_APPEND_ELT (v, NULL_TREE,
build_int_cst (integer_type_node,
gfc_option.flag_backtrace));