aboutsummaryrefslogtreecommitdiff
path: root/libgfortran
AgeCommit message (Collapse)Author
2014-03-17Merge up to 208621Michael Meissner
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/ibm/gcc-4_8-branch@208622 138bc75d-0d04-0410-961f-82ee72b054a4
2014-03-162014-03-15 Dominique d'Humieres <dominiq@lps.ens.fr>Dominique d'Humieres
Backport from mainline PR libgfortran/60128 * io/write_float.def (output_float): Remove unused variable nzero_real. Replace a double space with a single one. (determine_en_precision): Fix wrong handling of the EN format. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@208603 138bc75d-0d04-0410-961f-82ee72b054a4
2014-03-152014-03-15 Jerry DeLisle <jvdelisle@gcc.gnu>Jerry DeLisle
Backport from mainline PR libfortran/58324 PR libfortran/38199 * io/list_read.c (finish_list_read): Read one character to check for the end of the file. If it is the end, then issue the file end error message. If not, use eat_line to reach the end without giving error. The next attempt to read will then issue the error as described above. * io/read.c (read_decimal): Quickly skip spaces to avoid calls to next_char. * io/unit.c (is_trim_ok): New helper function to check various conditions to see if its OK to trim the internal unit string. (get_internal_unit): Use LEN_TRIM to shorten selected internal unit strings for optimizing READ. Enable this optimization for formatted READ. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@208595 138bc75d-0d04-0410-961f-82ee72b054a4
2014-03-04 Merge up to 208295.Peter Bergner
* REVISION: Update subversion id. Picks up LIBITM fixes for libitm.c/reentrant.c. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/ibm/gcc-4_8-branch@208318 138bc75d-0d04-0410-961f-82ee72b054a4
2014-02-222014-02-21 Jerry DeLisle <jvdelisle@gcc.gnu>Jerry DeLisle
Dominique d'Humieres <dominiq@lps.ens.fr> Steven G. Kargl <kargl@gcc.gnu.org> Backport from mainline PR libfortran/59700 PR libfortran/59764 * io/io.h (struct st_parameter_dt): Assign expanded_read flag to unused bit. Define new variable line_buffer_pos. * io/list_read.c (free_saved, next_char, l_push_char, read_logical, read_real): Replace use of item_count with line_buffer_pos for line_buffer look ahead. (read_logical, read_integer, parse_real, read_real, check_type): Adjust location of free_line to after generating error messages to retain the correct item count for the message. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@208038 138bc75d-0d04-0410-961f-82ee72b054a4
2014-02-152014-02-15 Jerry DeLisle <jvdelisle@gcc.gnu>Jerry DeLisle
Dominique d'Humieres <dominiq@lps.ens.fr> Backport from mainline PR libfortran/59771 PR libfortran/59774 PR libfortran/59836 * io/write_float.def (output_float): Fix wrong handling of the Fw.0 format. (output_float_FMT_G_): Fixes rounding issues with -m32. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@207801 138bc75d-0d04-0410-961f-82ee72b054a4
2013-11-19 Merge up to 204974.Peter Bergner
* REVISION: Update subversion id. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/ibm/gcc-4_8-branch@205002 138bc75d-0d04-0410-961f-82ee72b054a4
2013-11-152013-11-15 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>Ulrich Weigand
* libtool.m4: Update to mainline version. * libjava/libltdl/acinclude.m4: Likewise. * gcc/configure: Regenerate. * boehm-gc/configure: Regenerate. * libatomic/configure: Regenerate. * libbacktrace/configure: Regenerate. * libffi/configure: Regenerate. * libgfortran/configure: Regenerate. * libgomp/configure: Regenerate. * libitm/configure: Regenerate. * libjava/configure: Regenerate. * libjava/libltdl/configure: Regenerate. * libjava/classpath/configure: Regenerate. * libmudflap/configure: Regenerate. * libobjc/configure: Regenerate. * libquadmath/configure: Regenerate. * libsanitizer/configure: Regenerate. * libssp/configure: Regenerate. * libstdc++-v3/configure: Regenerate. * lto-plugin/configure: Regenerate. * zlib/configure: Regenerate. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/ibm/gcc-4_8-branch@204868 138bc75d-0d04-0410-961f-82ee72b054a4
2013-10-16Mark ChangeLogGCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@203655 138bc75d-0d04-0410-961f-82ee72b054a4
2013-10-04Add missing changelog entry for Rev. 203201:Tobias Burnus
2013-10-04 Tobias Burnus <burnus@net-b.de> PR fortran/55469 * io/list_read (parse_repeat, read_integer, read_character, parse_real, read_real, check_type, list_formatted_read_scalar, finish_list_read): Call list_free. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@203202 138bc75d-0d04-0410-961f-82ee72b054a4
2013-10-042013-10-04 Tobias Burnus <burnus@net-b.de>Tobias Burnus
PR fortran/55469 * io/list_read (parse_repeat, read_integer, read_character, parse_real, read_real, check_type, list_formatted_read_scalar, finish_list_read): Call list_free. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@203201 138bc75d-0d04-0410-961f-82ee72b054a4
2013-06-21 Backport from mainlineUros Bizjak
2013-06-20 Uros Bizjak <ubizjak@gmail.com> * config/fpu-387.h (_FPU_MASK_ALL): New. (_FPU_EX_ALL): Ditto. (set_fpu): Use fstcw to store x87 FPU control word. Use fnclex to clear stalled exception flags. Correctly clear stalled SSE exception flags. Simplify code. Backport from mainline 2013-06-19 Uros Bizjak <ubizjak@gmail.com> * config/fpu-387.h: Use __asm__ and __volatile__ consistently. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@200299 138bc75d-0d04-0410-961f-82ee72b054a4
2013-05-31Mark ChangeLogGCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@199491 138bc75d-0d04-0410-961f-82ee72b054a4
2013-04-292013-04-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>Jerry DeLisle
Backport from mainline: 2013-03-20 Tilo Schwarz <tilo@tilo-schwarz.de> PR libfortran/51825 * io/list_read.c (nml_read_obj): Don't end the component loop on a nested derived type, but continue with the next loop iteration. (nml_get_obj_data): Don't move the first_nl pointer further in the list if a qualifier was found. PR fortran/51825 * gfortran.dg/namelist_77.f90: New test. * gfortran.dg/namelist_78.f90: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@198385 138bc75d-0d04-0410-961f-82ee72b054a4
2013-04-282013-04-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>Jerry DeLisle
Backport from mainline: PR libfortran/56786 * io/list_read.c (nml_parse_qualifier): Remove spurious next_char call when checking for EOF. Use error return mechanism when EOF detected. Do not return FAILURE unless parse_err_msg and parse_err_msg_size have been set. Use hit_eof. (nml_get_obj_data): Likewise use the correct error mechanism. * io/transfer.c (hit_eof): Do not set AFTER_ENDFILE if in namelist mode. PR fortran/56786 * gfortran.dg/namelist_81.f90: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@198370 138bc75d-0d04-0410-961f-82ee72b054a4
2013-04-282013-04-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>Jerry DeLisle
Backport from mainline: 2013-03-25 Tilo Schwarz <tilo@tilo-schwarz.de> PR libfortran/52512 * io/list_read.c (nml_parse_qualifier): To check for a derived type don't use the namelist head element type but the current element type. (nml_get_obj_data): Add current namelist element type to nml_parse_qualifier call. PR fortran/52512 * gfortran.dg/namelist_79.f90: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@198366 138bc75d-0d04-0410-961f-82ee72b054a4
2013-04-02libgfortran/Tobias Burnus
2013-04-02 Tobias Burnus <burnus@net-b.de> Backport from mainline: 2013-03-28 Tobias Burnus <burnus@net-b.de> PR fortran/56735 * io/list_read.c (nml_query): Only abort when an error occured. (namelist_read): Add goto instead of falling through. gcc/testsuite/ 2013-04-02 Tobias Burnus <burnus@net-b.de> Backport from mainline: 2013-03-28 Tobias Burnus <burnus@net-b.de> PR fortran/56735 * gfortran.dg/namelist_80.f90: New. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@197361 138bc75d-0d04-0410-961f-82ee72b054a4
2013-04-02libgfortran/Tobias Burnus
2013-04-02 Tobias Burnus <burnus@net-b.de> Backport from mainline: 2013-03-29 Tobias Burnus <burnus@net-b.de> PR fortran/56737 * io/format.c (parse_format): With caching, copy dtp->format string. (save_parsed_format): Use dtp->format directly without copying. 2012-03-29 Tobias Burnus <burnus@net-b.de> PR fortran/56737 * io/format.c (parse_format_list): Also cache FMT_STRING. (parse_format): Update call. gcc/testsuite/ 2013-04-02 Tobias Burnus <burnus@net-b.de> Backport from mainline: 2013-03-29 Tobias Burnus <burnus@net-b.de> PR fortran/56737 * testsuite/gfortran.dg/fmt_cache_3.f90: New. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@197359 138bc75d-0d04-0410-961f-82ee72b054a4
2013-03-242013-03-24 Tobias Burnus <burnus@net-b.de>Tobias Burnus
PR fortran/56696 * io/list_read.c (read_real): Fix EOF diagnostic. 2013-03-24 Tobias Burnus <burnus@net-b.de> PR fortran/56696 * gfortran.dg/eof_5.f90: New. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@197022 138bc75d-0d04-0410-961f-82ee72b054a4
2013-03-22Mark ChangeLogGCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@196918 138bc75d-0d04-0410-961f-82ee72b054a4
2013-03-112013-03-11 Tobias Burnus <burnus@net-b.de>Tobias Burnus
* io/transfer.c (read_block_direct): Correct condition. * intrinsics/execute_command_line.c (execute_command_line): Remove dead code for the HAVE_FORK case. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@196603 138bc75d-0d04-0410-961f-82ee72b054a4
2013-02-21Fix regression when writing formatted sequential to a pipe.Janne Blomqvist
2013-02-21 Janne Blomqvist <jb@gcc.gnu.org> PR libfortran/30162 * io/open.c (test_endfile): Call stell only if size != 0. * io/unix.c (raw_tell): Revert r194679. (raw_size): Return size field only for regular files, otherwise 0. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@196210 138bc75d-0d04-0410-961f-82ee72b054a4
2013-02-19 PR target/56347John David Anglin
* acinclude.m4 (LIBGFOR_CHECK_FOR_BROKEN_POWF): Remove check for broken powf. * configure.ac (LIBGFOR_CHECK_FOR_BROKEN_POWF): Likewise. * intrinsics/c99_functions.c: Likewise. * configure: Rebuilt. * config.h.in: Rebuilt. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@196139 138bc75d-0d04-0410-961f-82ee72b054a4
2013-02-062013-02-06 Janus Weil <janus@gcc.gnu.org>Janus Weil
PR fortran/55978 * runtime/in_pack_generic.c (internal_pack): Return if base_addr is NULL. 2013-02-06 Janus Weil <janus@gcc.gnu.org> PR fortran/55978 * gfortran.dg/class_optional_2.f90: Uncomment some cases which work now. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@195814 138bc75d-0d04-0410-961f-82ee72b054a4
2013-01-23Improve performance of byte-swapped I/O.Janne Blomqvist
2013-01-23 Janne Blomqvist <jb@gcc.gnu.org> * io/file_pos.c (unformatted_backspace): Use __builtin_bswapXX instead of reverse_memcpy. * io/io.h (reverse_memcpy): Remove prototype. * io/transfer.c (reverse_memcpy): Make static, move towards beginning of file. (bswap_array): New function. (unformatted_read): Use bswap_array to byte swap the data in-place. (unformatted_write): Use a larger temp buffer and bswap_array. (us_read): Use __builtin_bswapXX instead of reverse_memcpy. (write_us_marker): Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@195413 138bc75d-0d04-0410-961f-82ee72b054a4
2013-01-14Update copyright years in libgfortran.Richard Sandiford
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@195167 138bc75d-0d04-0410-961f-82ee72b054a4
2013-01-062013-01-06 Tobias Burnus <burnus@net-b.de>Tobias Burnus
PR fortran/54678 * intrinsics/env.c (get_environment_variable_i8): Don't use uninitialized variable. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@194948 138bc75d-0d04-0410-961f-82ee72b054a4
2013-01-03ChangeLog rotation.Jakub Jelinek
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@194840 138bc75d-0d04-0410-961f-82ee72b054a4
2013-01-022013-01-02 Jerry DeLisle <jvdelisle@gcc.gnu.org>Jerry DeLisle
PR libfortran/55818 * io/list_read.c (read_real): Do not call hit_eof when EOF can be treated as a value separator. (parse_real): Likewise. (read_logical): Likewise. (read_character): Likewise. (read_complex): Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@194809 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-272012-12-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>Jerry DeLisle
PR libfortran/48976 * io/inquire.c (inquire_via_unit): Set user stream inquiry variable to appropriate value based on unit access method. (inquire_via_filename): Since filename is not associated with an open unit, set stream inquiry to UNKNOWN. * io/io.h: Define inquire stream parameters. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@194733 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-262012-12-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>Jerry DeLisle
PR libfortran/48960 * io/open.c (st_parameter_open): Assign newunit number to user variable only if the the associated open statement is successful. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@194724 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-25PR fortran/55539 Fix regression in -fno-sign-zero.Janne Blomqvist
libgfortran ChangeLog: 2012-12-26 Janne Blomqvist <jb@gcc.gnu.org> PR fortran/55539 * io/write_float.def (output_float): Take into account decimal dot. testsuite ChangeLog: 2012-12-26 Janne Blomqvist <jb@gcc.gnu.org> PR fortran/55539 * gfortran.dg/nosigned_zero_3.f90: New testcase. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@194717 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-212012-12-21 Thomas Koenig <tkoenig@gcc.gnu.org>Thomas Koenig
PR libfortran/30162 * io/unix.c (raw_tell): If the lseek is done on a non-seekable file, return 0. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@194679 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-202012-12-20 Janus Weil <janus@gcc.gnu.org>Janus Weil
PR fortran/36044 * gfortran.h (gfc_isym_id): Add GFC_ISYM_BACKTRACE. * intrinsic.c (add_subroutines): Add "backtrace". * intrinsic.texi (BACKTRACE): Document BACKTRACE intrinsic. 2012-12-20 Janus Weil <janus@gcc.gnu.org> PR fortran/36044 * gfortran.map: Add _gfortran_backtrace. * libgfortran.h: Rename 'show_backtrace' and export. * runtime/backtrace.c (show_backtrace): Rename to 'backtrace'. Don't show message. Close file descriptor. Export. * runtime/compile_options.c (backtrace_handler): Renamed 'show_backtrace'. Move message outside. * runtime/error.c (sys_abort): Ditto. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@194648 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-202012-12-19 Paul Thomas <pault@gcc.gnu.org>Paul Thomas
* array.c (resolve_array_list): Apply C4106. * check.c (gfc_check_same_type_as): Exclude polymorphic entities from check for extensible types. Improved error for disallowed argument types to name the offending type. * class.c : Update copyright date. (gfc_class_null_initializer): Add argument for initialization expression and deal with unlimited polymorphic typespecs. (get_unique_type_string): Give unlimited polymorphic entities a type string. (gfc_intrinsic_hash_value): New function. (gfc_build_class_symbol): Incorporate unlimited polymorphic entities. (gfc_find_derived_vtab): Deal with unlimited polymorphic entities. (gfc_find_intrinsic_vtab): New function. * decl.c (gfc_match_decl_type_spec): Match typespec for unlimited polymorphic type. (gfc_match_data_decl): Skip to 'ok' if unlimited polymorphic. expr.c (gfc_check_pointer_assign): Apply C717. If unlimited polymorphic lvalue, find rvalue vtable for all typespecs, except unlimited polymorphic expressions. (gfc_check_vardef_context): Handle unlimited polymorphic entities. * gfortran.h : Add unlimited polymorphic attribute. Add second arg to gfc_class_null_initializer primitive and primitive for gfc_find_intrinsic_vtab. Add UNLIMITED_POLY to detect unlimited polymorphic expressions. * interface.c (gfc_compare_types): If expr1 is unlimited polymorphic, always return 1. If expr2 is unlimited polymorphic enforce C717. (gfc_compare_interfaces): Skip past conditions that do not apply for unlimited polymorphic entities. (compare_parameter): Make sure that an unlimited polymorphic, allocatable or pointer, formal argument is matched by an unlimited polymorphic actual argument. (compare_actual_formal): Ensure that an intrinsic vtable exists to match an unlimited polymorphic formal argument. * match.c (gfc_match_allocate): Type kind parameter does not need to match an unlimited polymorphic allocate-object. (alloc_opt_list): An unlimited polymorphic allocate-object requires a typespec or a SOURCE tag. (select_intrinsic_set_tmp): New function. (select_type_set_tmp): Call new function. If it returns NULL, build a derived type or class temporary instead. (gfc_match_type_is): Remove restriction to derived types only. Bind(C) or sequence derived types not permitted. * misc (gfc_typename): Printed CLASS(*) for unlimited polymorphism. * module.c : Add AB_UNLIMITED_POLY to pass unlimited polymorphic attribute to and from modules. * resolve.c (resolve_common_vars): Unlimited polymorphic entities cannot appear in common blocks. (resolve_deallocate_expr): Deallocate unlimited polymorphic enities. (resolve_allocate_expr): Likewise for allocation. Make sure vtable exists. (gfc_type_is_extensible): Unlimited polymorphic entities are not extensible. (resolve_select_type): Handle unlimited polymorphic selectors. Ensure that length type parameters are assumed and that names for intrinsic types are generated. (resolve_fl_var_and_proc): Exclude select type temporaries from test of extensibility of type. (resolve_fl_variable): Likewise for test that assumed character length must be a dummy or a parameter. (resolve_fl_derived0): Return SUCCESS unconditionally for unlimited polymorphic entities. Also, allow unlimited polymorphic components. (resolve_fl_derived): Return SUCCESS unconditionally for unlimited polymorphic entities. (resolve_symbol): Return early with unlimited polymorphic entities. * simplifiy.c : Update copyright year. (gfc_simplify_extends_type_of): No simplification possible for unlimited polymorphic arguments. * symbol.c (gfc_use_derived): Nothing to do for unlimited polymorphic "derived type". (gfc_type_compatible): Return unity if ts1 is unlimited polymorphic. * trans-decl.c (create_function_arglist) Formal arguments without a character length should be treated in the same way as passed lengths. (gfc_trans_deferred_vars): Nullify the vptr of unlimited polymorphic pointers. Avoid unlimited polymorphic entities triggering gcc_unreachable. * trans-expr.c (gfc_conv_intrinsic_to_class): New function. (gfc_trans_class_init_assign): Make indirect reference of src.expr. (gfc_trans_class_assign): Expression NULL of unknown type should set NULL vptr on lhs. Treat C717 cases where lhs is a derived type and the rhs is unlimited polymorphic. (gfc_conv_procedure_call): Handle the conversion of a non-class actual argument to match an unlimited polymorphic formal argument. Suppress the passing of a character string length in this case. Make sure that calls to the character __copy function have two character string length arguments. (gfc_conv_initializer): Pass the initialization expression to gfc_class_null_initializer. (gfc_trans_subcomponent_assign): Ditto. (gfc_conv_structure): Move handling of _size component. trans-intrinsic.c: (gfc_conv_same_type_as): Handle conditions where unlimited polymorphic arguments have null vptr. * trans-stmt.c (trans_associate_var): Correctly treat array temporaries associated with unlimited polymorphic selectors. Recover the overwritten dtype for the descriptor. Use the _size field of the vptr for character string lengths. (gfc_trans_allocate): Cope with unlimited polymorphic allocate objects; especially with character source tags. (reset_vptr): New function. (gfc_trans_deallocate): Call it. * trans-types.c (gfc_get_derived_type): Detect unlimited polymorphic types and deal with cases where the derived type of components is null. * trans.c : Update copyright year. (trans_code): Call gfc_trans_class_assign for C717 cases where the lhs is not unlimited polymorphic. 2012-12-19 Paul Thomas <pault@gcc.gnu.org> * intrinsics/extends_type_of.c : Return correct results for null vptrs. 2012-12-19 Paul Thomas <pault@gcc.gnu.org> * gfortran.dg/unlimited_polymorphic_1.f03: New test. * gfortran.dg/unlimited_polymorphic_2.f03: New test. * gfortran.dg/unlimited_polymorphic_3.f03: New test. * gfortran.dg/same_type_as.f03: Correct for improved message. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@194622 138bc75d-0d04-0410-961f-82ee72b054a4
2012-12-032012-12-03 Janus Weil <janus@gcc.gnu.org>Janus Weil
PR fortran/55548 * intrinsics/system_clock.c (gf_gettime_mono): Add argument 'tck', which returns the clock resolution. (system_clock_4): Get resolution from gf_gettime_mono, but limit to 1000/s. (system_clock_8): Get resolution from gf_gettime_mono. 2012-12-03 Janus Weil <janus@gcc.gnu.org> PR fortran/55548 * intrinsic.texi (SYSTEM_CLOCK): Update documentation of SYSTEM_CLOCK. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@194105 138bc75d-0d04-0410-961f-82ee72b054a4
2012-10-282012-10-28 Tobias Burnus <burnus@net-b.de>Tobias Burnus
* m4/bessel.m4: Remove useless statement. * m4/ifunction.m4: Remove unreachable code. * generated/bessel_r10.c: Regenerated. * generated/bessel_r16.c: Regenerated. * generated/bessel_r4.c: Regenerated. * generated/bessel_r8.c: Regenerated. * generated/iall_i1.c: Regenerated. * generated/iall_i16.c: Regenerated. * generated/iall_i2.c: Regenerated. * generated/iall_i4.c: Regenerated. * generated/iall_i8.c: Regenerated. * generated/iany_i1.c: Regenerated. * generated/iany_i16.c: Regenerated. * generated/iany_i2.c: Regenerated. * generated/iany_i4.c: Regenerated. * generated/iany_i8.c: Regenerated. * generated/iparity_i1.c: Regenerated. * generated/iparity_i16.c: Regenerated. * generated/iparity_i2.c: Regenerated. * generated/iparity_i4.c: Regenerated. * generated/iparity_i8.c: Regenerated. * generated/maxloc1_16_i1.c: Regenerated. * generated/maxloc1_16_i16.c: Regenerated. * generated/maxloc1_16_i2.c: Regenerated. * generated/maxloc1_16_i4.c: Regenerated. * generated/maxloc1_16_i8.c: Regenerated. * generated/maxloc1_16_r10.c: Regenerated. * generated/maxloc1_16_r16.c: Regenerated. * generated/maxloc1_16_r4.c: Regenerated. * generated/maxloc1_16_r8.c: Regenerated. * generated/maxloc1_4_i1.c: Regenerated. * generated/maxloc1_4_i16.c: Regenerated. * generated/maxloc1_4_i2.c: Regenerated. * generated/maxloc1_4_i4.c: Regenerated. * generated/maxloc1_4_i8.c: Regenerated. * generated/maxloc1_4_r10.c: Regenerated. * generated/maxloc1_4_r16.c: Regenerated. * generated/maxloc1_4_r4.c: Regenerated. * generated/maxloc1_4_r8.c: Regenerated. * generated/maxloc1_8_i1.c: Regenerated. * generated/maxloc1_8_i16.c: Regenerated. * generated/maxloc1_8_i2.c: Regenerated. * generated/maxloc1_8_i4.c: Regenerated. * generated/maxloc1_8_i8.c: Regenerated. * generated/maxloc1_8_r10.c: Regenerated. * generated/maxloc1_8_r16.c: Regenerated. * generated/maxloc1_8_r4.c: Regenerated. * generated/maxloc1_8_r8.c: Regenerated. * generated/maxval_i1.c: Regenerated. * generated/maxval_i16.c: Regenerated. * generated/maxval_i2.c: Regenerated. * generated/maxval_i4.c: Regenerated. * generated/maxval_i8.c: Regenerated. * generated/maxval_r10.c: Regenerated. * generated/maxval_r16.c: Regenerated. * generated/maxval_r4.c: Regenerated. * generated/maxval_r8.c: Regenerated. * generated/minloc1_16_i1.c: Regenerated. * generated/minloc1_16_i16.c: Regenerated. * generated/minloc1_16_i2.c: Regenerated. * generated/minloc1_16_i4.c: Regenerated. * generated/minloc1_16_i8.c: Regenerated. * generated/minloc1_16_r10.c: Regenerated. * generated/minloc1_16_r16.c: Regenerated. * generated/minloc1_16_r4.c: Regenerated. * generated/minloc1_16_r8.c: Regenerated. * generated/minloc1_4_i1.c: Regenerated. * generated/minloc1_4_i16.c: Regenerated. * generated/minloc1_4_i2.c: Regenerated. * generated/minloc1_4_i4.c: Regenerated. * generated/minloc1_4_i8.c: Regenerated. * generated/minloc1_4_r10.c: Regenerated. * generated/minloc1_4_r16.c: Regenerated. * generated/minloc1_4_r4.c: Regenerated. * generated/minloc1_4_r8.c: Regenerated. * generated/minloc1_8_i1.c: Regenerated. * generated/minloc1_8_i16.c: Regenerated. * generated/minloc1_8_i2.c: Regenerated. * generated/minloc1_8_i4.c: Regenerated. * generated/minloc1_8_i8.c: Regenerated. * generated/minloc1_8_r10.c: Regenerated. * generated/minloc1_8_r16.c: Regenerated. * generated/minloc1_8_r4.c: Regenerated. * generated/minloc1_8_r8.c: Regenerated. * generated/minval_i1.c: Regenerated. * generated/minval_i16.c: Regenerated. * generated/minval_i2.c: Regenerated. * generated/minval_i4.c: Regenerated. * generated/minval_i8.c: Regenerated. * generated/minval_r10.c: Regenerated. * generated/minval_r16.c: Regenerated. * generated/minval_r4.c: Regenerated. * generated/minval_r8.c: Regenerated. * generated/product_c10.c: Regenerated. * generated/product_c16.c: Regenerated. * generated/product_c4.c: Regenerated. * generated/product_c8.c: Regenerated. * generated/product_i1.c: Regenerated. * generated/product_i16.c: Regenerated. * generated/product_i2.c: Regenerated. * generated/product_i4.c: Regenerated. * generated/product_i8.c: Regenerated. * generated/product_r10.c: Regenerated. * generated/product_r16.c: Regenerated. * generated/product_r4.c: Regenerated. * generated/product_r8.c: Regenerated. * generated/sum_c10.c: Regenerated. * generated/sum_c16.c: Regenerated. * generated/sum_c4.c: Regenerated. * generated/sum_c8.c: Regenerated. * generated/sum_i1.c: Regenerated. * generated/sum_i16.c: Regenerated. * generated/sum_i2.c: Regenerated. * generated/sum_i4.c: Regenerated. * generated/sum_i8.c: Regenerated. * generated/sum_r10.c: Regenerated. * generated/sum_r16.c: Regenerated. * generated/sum_r4.c: Regenerated. * generated/sum_r8.c: Regenerated. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@192895 138bc75d-0d04-0410-961f-82ee72b054a4
2012-10-102012-10-10 Tobias Burnus <burnus@net-b.de>Tobias Burnus
PR fortran/54878 * io/unix.c (tempfile_open): Set umask before calling mkstemp. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@192325 138bc75d-0d04-0410-961f-82ee72b054a4
2012-10-06Fix usage of secure_getenv with glibc 2.17. Janne Blomqvist
See http://sourceware.org/glibc/wiki/Tips_and_Tricks/secure_getenv 2012-10-06 Janne Blomqvist <jb@gcc.gnu.org> * configure.ac: Check for presence of secure_getenv. * libgfortran.h: Use HAVE_SECURE_GETENV. * Makefile.in: Regenerated. * aclocal.m4: Regenerated. * config.h.in: Regenerated. * configure: Regenerated. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@192169 138bc75d-0d04-0410-961f-82ee72b054a4
2012-10-062012-10-06 Thomas König <tkoenig@gcc.gnu.org>Thomas Koenig
PR libfortran/54736 * runtime/environ.c (search_unit): Correct logic for binary search. (mark_single): Fix index errors. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@192158 138bc75d-0d04-0410-961f-82ee72b054a4
2012-09-292012-09-29 Thomas König <tkoenig@gcc.gnu.org>Thomas Koenig
PR fortran/52724 * list_read.c (next_char): Handle kind=4 characters. * unix.c (open_internal4): Correct lenth of internal file. 2012-09-29 Thomas König <tkoenig@gcc.gnu.org> PR fortran/52724 * gfortran.dg/internal_readwrite_3.f90: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@191854 138bc75d-0d04-0410-961f-82ee72b054a4
2012-09-14 * configure: Regenerated.David Edelsohn
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@191321 138bc75d-0d04-0410-961f-82ee72b054a4
2012-09-05 * config/fpu-387.h (set_fpu): Prefix stmxcsr and ldmxcsr with %v.Uros Bizjak
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@190997 138bc75d-0d04-0410-961f-82ee72b054a4
2012-09-05 * ChangeLog: Fix date of my last commit.Uros Bizjak
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@190993 138bc75d-0d04-0410-961f-82ee72b054a4
2012-09-05 * config/fpu-387.h (set_fpu): Use __builtin_ia32_stmxcsr andUros Bizjak
__builtin_ia32_ldmxcsr intrinsics. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@190992 138bc75d-0d04-0410-961f-82ee72b054a4
2012-07-25* io/list_read.c (list_formatted_read_scalar): Fix copying realAndreas Schwab
value back to temporary. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@189856 138bc75d-0d04-0410-961f-82ee72b054a4
2012-06-21PR 39654 FTELL intrinsic function return type.Janne Blomqvist
frontend ChangeLog: 2012-06-21 Janne Blomqvist <jb@gcc.gnu.org> PR fortran/39654 * iresolve.c (gfc_resolve_ftell): Fix result kind and use new library function. library ChangeLog: 2012-06-21 Janne Blomqvist <jb@gcc.gnu.org> PR fortran/39654 * io/intrinsics.c (ftell2): New function. * gfortran.map (_gfortran_ftell2): Export function. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@188858 138bc75d-0d04-0410-961f-82ee72b054a4
2012-06-04PR 53456 Fix incorrect ChangeLog entry.Robert Mason
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@188202 138bc75d-0d04-0410-961f-82ee72b054a4
2012-06-04PR 53456 Fix typo in gf_cputime.Janne Blomqvist
2012-06-04 Robert Mason <rbmj@verizon.net> Janne Blomqvist <jb@gcc.gnu.org> PR fortran/53456 * intrinsics/time_1.h (gf_cputime): Fix typo in clock_gettime branch. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@188201 138bc75d-0d04-0410-961f-82ee72b054a4
2012-06-012012-06-01 Tobias Burnus <burnus@net-b.de>Tobias Burnus
* intrinsics/chmod.c (chmod_func): On MinGW, don't set is_dir * and fix octal-mode handling. * io/unit.c (get_internal_unit): Add cast. * io/unix.c (min): Undef "min" before defining it. * runtime/backtrace.c (show_backtrace): Move label into ifndef __MINGW__ block. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@188098 138bc75d-0d04-0410-961f-82ee72b054a4