gcc/libgfortran
Tobias Burnus 0d52899f78 re PR fortran/36132 (_gfortran_internal_pack on optional arguments)
2008-07-27  Tobias Burnus  <burnus@net-b.de>

        PR fortran/36132
        PR fortran/29952
        PR fortran/36909
        * trans.c (gfc_trans_runtime_check): Allow run-time warning
        * besides
        run-time error.
        * trans.h (gfc_trans_runtime_check): Update declaration.
        * trans-array.c
        * (gfc_trans_array_ctor_element,gfc_trans_array_bound_check,
        gfc_conv_array_ref,gfc_conv_ss_startstride,gfc_trans_dummy_array_bias):
        Updated gfc_trans_runtime_check calls.
        (gfc_conv_array_parameter): Implement flag_check_array_temporaries,
        fix packing/unpacking for nonpresent optional actuals to optional
        formals.
        * trans-array.h (gfc_conv_array_parameter): Update declaration.
        * trans-expr.c (gfc_conv_substring,gfc_trans_arrayfunc_assign,
        gfc_conv_function_call): Updated gfc_trans_runtime_check calls.
        (gfc_conv_function_call): Update gfc_conv_array_parameter calls.
        * trans-expr.c (gfc_trans_goto): Updated gfc_trans_runtime_check
        calls.
        * trans-io.c (set_string,gfc_conv_intrinsic_repeat): Ditto.
        (gfc_conv_intrinsic_transfer,gfc_conv_intrinsic_loc): Same for
        gfc_conv_array_parameter.
        * trans-intrinsics.c (gfc_conv_intrinsic_bound): Ditto.
        * trans-decl.c (gfc_build_builtin_function_decls): Add
        gfor_fndecl_runtime_warning_at.
        * lang.opt: New option fcheck-array-temporaries.
        * gfortran.h (gfc_options): New flag_check_array_temporaries.
        * options.c (gfc_init_options, gfc_handle_option): Handle flag.
        * invoke.texi: New option fcheck-array-temporaries.

2008-07-27  Tobias Burnus  <burnus@net-b.de>

        PR fortran/36132
        PR fortran/29952
        PR fortran/36909
        * runtime/error.c: New function runtime_error_at.
        * gfortran.map: Ditto.
        * libgfortran.h: Ditto.

2008-07-27  Tobias Burnus  <burnus@net-b.de>

        PR fortran/36132
        PR fortran/29952
        PR fortran/36909
        gfortran.dg/internal_pack_4.f90: New.
        gfortran.dg/internal_pack_5.f90: New.
        gfortran.dg/array_temporaries_2.f90: New.

From-SVN: r138186
2008-07-27 12:45:44 +02:00
..
config fpu-387.h: Include cpuid.h. 2007-09-07 11:34:36 +02:00
generated re PR libfortran/36773 (zero-sized arrays with cshift and eoshift) 2008-07-21 10:05:32 +00:00
intrinsics re PR libfortran/36773 (zero-sized arrays with cshift and eoshift) 2008-07-21 10:05:32 +00:00
io re PR fortran/36582 (Namelist I/O error: Bogus "Cannot match namelist object") 2008-07-23 04:29:15 +00:00
m4 re PR libfortran/36773 (zero-sized arrays with cshift and eoshift) 2008-07-21 10:05:32 +00:00
runtime re PR fortran/36132 (_gfortran_internal_pack on optional arguments) 2008-07-27 12:45:44 +02:00
acinclude.m4 acinclude.m4 (LIBGFOR_CHECK_GTHR_DEFAULT): Fix configure cache variable name. 2008-07-07 19:16:18 +00:00
aclocal.m4 re PR other/35457 (Error building GCC trunk on CELL SPU) 2008-04-18 10:28:53 +00:00
c99_protos.h re PR libfortran/33583 (FAIL: gfortran.dg/gamma_1.f90) 2007-11-16 22:31:28 +00:00
ChangeLog re PR fortran/36132 (_gfortran_internal_pack on optional arguments) 2008-07-27 12:45:44 +02:00
ChangeLog-2002 * Split the ChangeLog into years. 2006-01-01 17:14:35 +00:00
ChangeLog-2003 * Split the ChangeLog into years. 2006-01-01 17:14:35 +00:00
ChangeLog-2004 re PR libfortran/31286 (cshift uses uninitialized variables) 2007-04-18 08:47:28 +00:00
ChangeLog-2005 re PR libfortran/31286 (cshift uses uninitialized variables) 2007-04-18 08:47:28 +00:00
ChangeLog-2006 re PR libfortran/31286 (cshift uses uninitialized variables) 2007-04-18 08:47:28 +00:00
ChangeLog-2007 Rotate Fortran ChangeLogs. 2008-01-02 18:54:50 +01:00
config.h.in re PR libfortran/32972 (performance of pack/unpack) 2008-04-13 20:15:58 +00:00
configure acinclude.m4 (LIBGFOR_CHECK_GTHR_DEFAULT): Fix configure cache variable name. 2008-07-07 19:16:18 +00:00
configure.ac configure.ac (AM_CFLAGS): Remove -Werror again. 2008-06-13 21:29:22 +02:00
configure.host acinclude.m4 (LIBGFOR_CHECK_FPSETMASK): New check. 2005-10-28 20:13:20 +00:00
fmain.c minloc1.m4: Update copyright year and ajust headers order. 2007-08-31 14:01:34 +00:00
gfortran.map re PR fortran/36132 (_gfortran_internal_pack on optional arguments) 2008-07-27 12:45:44 +02:00
libgfortran.h re PR fortran/36132 (_gfortran_internal_pack on optional arguments) 2008-07-27 12:45:44 +02:00
libtool-version re PR libfortran/27107 (Make dependency on io/io.h broken) 2007-01-17 19:44:00 +00:00
Makefile.am select.c: Moved content to select_inc.c. 2008-05-18 12:00:20 +00:00
Makefile.in select.c: Moved content to select_inc.c. 2008-05-18 12:00:20 +00:00
mk-kinds-h.sh re PR libfortran/34669 (libgfortran doesn't build with -pipe) 2008-01-16 10:13:39 +01:00
mk-sik-inc.sh re PR libfortran/34669 (libgfortran doesn't build with -pipe) 2008-01-16 10:13:39 +01:00
mk-srk-inc.sh re PR libfortran/34669 (libgfortran doesn't build with -pipe) 2008-01-16 10:13:39 +01:00