gcc/gcc/fortran
Francois-Xavier Coudert eedeea04da re PR libfortran/29649 (Force core dump on runtime library errors)
2007-01-18  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
            Tobias Burnus  <burnus@net-b.de>

       PR libfortran/29649
       * gfortran.h (gfc_option_t): Add flag_dump_core.
       * lang.opt: Add -fdump-core option.
       * invoke.texi: Document the new options.
       * trans-decl.c (gfc_build_builtin_function_decls): Add new
         options to the call to set_std.
       * options.c (gfc_init_options, gfc_handle_option): Set the
         new options.

2007-01-18  Francois-Xavier Coudert  <coudert@clipper.ens.fr>
            Tobias Burnus  <burnus@net-b.de>

       PR libfortran/29649
       * runtime/environ.c (variable_table): New GFORTRAN_ERROR_DUMPCORE
         environment variable.
       * runtime/compile_options.c (set_std): Add new argument.
       * runtime/error.c (sys_exit): Move from io/unix.c. Add coredump functionality.
       * libgfortran.h (options_t): New dump_core and backtrace members.
         (sys_exit): Move prototype.
       * io/unix.c (sys_exit): Move to runtime/error.c.
       * configure.ac: Add check for getrlimit.
       * configure: Regenerate.


Co-Authored-By: Tobias Burnus <burnus@net-b.de>

From-SVN: r120897
2007-01-18 13:54:11 +01:00
..
ChangeLog re PR libfortran/29649 (Force core dump on runtime library errors) 2007-01-18 13:54:11 +01:00
ChangeLog-2002 * Split the ChangeLog into years. 2006-01-01 17:04:47 +00:00
ChangeLog-2003 * Split the ChangeLog into years. 2006-01-01 17:04:47 +00:00
ChangeLog-2004 * Split the ChangeLog into years. 2006-01-01 17:04:47 +00:00
ChangeLog-2005 * Split the ChangeLog into years. 2006-01-01 17:04:47 +00:00
ChangeLog-2006 Rotate ChangeLog. 2007-01-01 19:22:09 +00:00
Make-lang.in Make-lang.in (fortran/options.o): Add $(PARAMS_H) dependency. 2006-12-14 14:39:44 -05:00
arith.c arith.c: Update copyright years. 2007-01-06 21:53:03 +00:00
arith.h gfortran.h: Remove GFC_MPFR_TOO_OLD. 2006-10-28 23:31:22 +00:00
array.c Fix whitespace in a table within a comment. 2007-01-07 03:26:06 +00:00
bbt.c [multiple changes] 2007-01-07 00:28:29 +00:00
check.c [multiple changes] 2007-01-07 00:28:29 +00:00
config-lang.in configure.ac (strict1_warn): Rename to strict_warn. 2007-01-11 10:49:30 +00:00
convert.c decl.c, [...]: Update Copyright dates. 2007-01-07 19:39:52 +00:00
data.c decl.c, [...]: Update Copyright dates. 2007-01-07 19:39:52 +00:00
decl.c decl.c, [...]: Update Copyright dates. 2007-01-07 19:39:52 +00:00
dependency.c decl.c, [...]: Update Copyright dates. 2007-01-07 19:39:52 +00:00
dependency.h re PR fortran/30207 (ICE in gfc_dep_resolver with where (a < 0) a(:) = 1) 2006-12-17 18:28:07 +00:00
dump-parse-tree.c decl.c, [...]: Update Copyright dates. 2007-01-07 19:39:52 +00:00
error.c decl.c, [...]: Update Copyright dates. 2007-01-07 19:39:52 +00:00
expr.c decl.c, [...]: Update Copyright dates. 2007-01-07 19:39:52 +00:00
f95-lang.c interface.c, [...]: Update Copyright years. 2007-01-08 19:02:08 +00:00
gfortran.h re PR libfortran/29649 (Force core dump on runtime library errors) 2007-01-18 13:54:11 +01:00
gfortran.texi gfortran.texi: Fix typos. 2007-01-08 01:23:16 +00:00
gfortranspec.c interface.c, [...]: Update Copyright years. 2007-01-08 19:02:08 +00:00
interface.c interface.c, [...]: Update Copyright years. 2007-01-08 19:02:08 +00:00
intrinsic.c interface.c, [...]: Update Copyright years. 2007-01-08 19:02:08 +00:00
intrinsic.h [multiple changes] 2006-10-08 16:21:55 +00:00
intrinsic.texi intrinsic.texi: Minor cleanup, reflowing overlong paragraphs, and correcting whitespace. 2007-01-04 17:26:27 -08:00
invoke.texi re PR libfortran/29649 (Force core dump on runtime library errors) 2007-01-18 13:54:11 +01:00
io.c interface.c, [...]: Update Copyright years. 2007-01-08 19:02:08 +00:00
ioparm.def re PR libfortran/30014 (INQUIRE (iolength = xx) limited to kind=4) 2006-12-28 01:39:15 +00:00
iresolve.c re PR libfortran/30415 (MINLOC, MAXLOC missing for integer kinds 1 and 2) 2007-01-11 20:32:42 +00:00
iso-fortran-env.def module.c (gfc_use_module): Uncomment the ISO_FORTRAN_ENV code. 2006-11-19 21:18:26 +00:00
lang-specs.h gfortran.h (gfc_add_intrinsic_modules_path, [...]): New prototypes. 2006-11-17 11:11:25 +00:00
lang.opt re PR libfortran/29649 (Force core dump on runtime library errors) 2007-01-18 13:54:11 +01:00
match.c interface.c, [...]: Update Copyright years. 2007-01-08 19:02:08 +00:00
match.h re PR fortran/23232 ([4.1 only] DATA implied DO variables) 2007-01-05 14:45:20 +00:00
matchexp.c re PR fortran/25090 (Bad automatic character length) 2006-05-15 17:16:26 +00:00
mathbuiltins.def
misc.c data.c: Add 2006 to copyright years. 2006-11-11 18:10:24 +01:00
module.c re PR fortran/30476 ([Regression 4.2, 4.3] Via other module imported generic interface rejected) 2007-01-17 17:33:35 +00:00
openmp.c Revert emutls patch. 2006-10-09 09:27:14 -07:00
options.c re PR libfortran/29649 (Force core dump on runtime library errors) 2007-01-18 13:54:11 +01:00
parse.c re PR fortran/23994 (PROTECTED attribute (F2003) is not implemented) 2006-12-10 20:53:07 +01:00
parse.h re PR fortran/25162 (Issue with OpenMP COPYIN and gfortran) 2006-02-14 17:38:03 +01:00
primary.c re PR fortran/23060 (%VAL, %REF and %DESCR constructs not implemented) 2006-12-31 06:55:16 +00:00
resolve.c re PR fortran/28172 ([4.2 and 4.1 only] alternate return in contained procedure segfaults) 2007-01-15 08:16:17 +00:00
scanner.c re PR fortran/30452 ([4.2, 4.1 only] Strange syntax error with high-value character) 2007-01-14 11:01:20 +00:00
simplify.c simplify.c: Update copyright to 2007. 2007-01-11 01:07:36 -08:00
st.c [multiple changes] 2006-10-19 04:51:14 +00:00
symbol.c symbol.c (check_conflict): Fix error message. 2007-01-05 21:26:00 +01:00
trans-array.c trans-array.c (constant_array_constructor_p): New function to determine whether an array constructor consists only of... 2007-01-08 17:56:37 +00:00
trans-array.h Merge gimple-tuples-branch into mainline. 2006-12-05 17:26:05 +00:00
trans-common.c re PR fortran/29537 (ICE in gfc_match_common for blank common in BLOCK DATA unit) 2006-11-01 00:38:58 +01:00
trans-const.c re PR fortran/19310 ([4.1 Only] unnecessary error for overflowing results) 2006-06-18 06:36:45 +00:00
trans-const.h trans.c (gfc_msg_bounds, [...]): Add strings for common runtime error messages. 2006-06-03 17:28:33 +00:00
trans-decl.c re PR libfortran/29649 (Force core dump on runtime library errors) 2007-01-18 13:54:11 +01:00
trans-expr.c trans-expr.c (gfc_trans_assignment_1): New subroutine to scalarize array assignments split out from gfc_trans_assignment. 2007-01-05 21:27:16 +00:00
trans-intrinsic.c trans-intrinsic.c (gfc_conv_intrinsic_ibits): Fix call to build_int_cst. 2007-01-03 03:44:15 +00:00
trans-io.c tree-ssa-ccp.c (maybe_fold_offset_to_array_ref): Use type of offset to build the index. 2007-01-08 18:29:18 +00:00
trans-openmp.c Merge gimple-tuples-branch into mainline. 2006-12-05 17:26:05 +00:00
trans-stmt.c re PR fortran/30404 ([4.1 only] Wrong FORALL result) 2007-01-16 18:15:19 +00:00
trans-stmt.h [multiple changes] 2006-10-19 04:51:14 +00:00
trans-types.c re PR fortran/25392 (ICEs with -ff2c) 2006-12-21 04:04:43 +01:00
trans-types.h
trans.c Merge gimple-tuples-branch into mainline. 2006-12-05 17:26:05 +00:00
trans.h re PR fortran/30003 ([4.1 only] Expressions with side effects in array references) 2006-12-05 19:45:25 +00:00
types.def Revert emutls patch. 2006-10-09 09:27:14 -07:00