summaryrefslogtreecommitdiff
path: root/libgfortran
Commit message (Collapse)AuthorAgeFilesLines
* 2016-04-19 Jerry DeLisle <jvdelisle@gcc.gnu.org>jvdelisle2016-04-192-1/+7
| | | | | | | | | | PR libgfortran/70684 * io/list_read (check_buffers): Add '\r' to check for end of line. factor. * gfortran.dg/list_read_14.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@235220 138bc75d-0d04-0410-961f-82ee72b054a4
* 2016-03-30 Jerry DeLisle <jvdelisle@gcc.gnu.org>dominiq2016-03-302-7/+26
| | | | | | | | | | | | | | | | | Dominique d'Humieres <dominiq@lps.ens.fr> PR libgfortran/70235 * io/write_float.def: Fix PF format for negative values of the scale factor. 2016-03-30 Dominique d'Humieres <dominiq@lps.ens.fr> Jerry DeLisle <jvdelisle@gcc.gnu.org> * gfortran.dg/fmt_pf.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234600 138bc75d-0d04-0410-961f-82ee72b054a4
* STOP managed by external library when coarrays are usedafanfa2016-03-283-0/+27
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234502 138bc75d-0d04-0410-961f-82ee72b054a4
* 2016-02-23 Jerry DeLisle <jvdelisle@gcc.gnu.org>jvdelisle2016-02-232-4/+19
| | | | | | | | | | | | | | | PR libgfortran/69456 * io/list_read.c (read_real): If digit is missing from exponent issue an error. (parse_real): Likewise and adjusted error message to clarify it is part of a complex number. (nml_read_obj): Bump item count and add comment that this is used to identify which item in a namelist read has a problem. PR libgfortran/69456 * gfortran.dg/namelist_89.f90: New test. * gfortran.dg/pr59700.f90: Update test.. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233641 138bc75d-0d04-0410-961f-82ee72b054a4
* 2016-02-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>jvdelisle2016-02-172-1/+9
| | | | | | | PR libgfortran/69651 * io/list_read.c (push_char4): Fix the pointer usage for xrealloc. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233500 138bc75d-0d04-0410-961f-82ee72b054a4
* 2016-02-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>jvdelisle2016-02-152-64/+117
| | | | | | | | | | | | | | | | | | | | | PR libgfortran/69651 * io/list_read.c: Entire file trailing spaces removed. (CASE_SEPARATORS): Remove '!'. (is_separator): Add namelist mode as condition with '!'. (push_char): Remove un-needed memset. (push_char4): Likewise and remove 'new' pointer. (eat_separator): Remove un-needed use of notify_std. (read_logical): If '!' bang encountered when not in namelist mode got bad_logical to give an error. (read_integer): Likewise reject '!'. (read_character): Remove condition testing c = '!' which is now inside the is_separator macro. (parse_real): Reject '!' unless in namelist mode. (read_complex): Reject '!' unless in namelist mode. (read_real): Likewise reject '!'. PR libgfortran/69651 * gfortran.dg/read_bang.f90: New test. * gfortran.dg/read_bang4.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233436 138bc75d-0d04-0410-961f-82ee72b054a4
* 2016-02-12 Jerry DeLisle <jvdelisle@gcc.gnu.org>jvdelisle2016-02-122-15/+5
| | | | | | | | | | | PR libgfortran/69668 * io/list_read.c (read_character): Remove code related to DELIM_NONE. PR libgfortran/69668 * gfortran.dg/namelist_38.f90: Update test. * gfortran.dg/namelist_84.f90: Update test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233387 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libfortran/68744danglin2016-01-232-1/+14
| | | | | | | | | | * runtime/backtrace.c: Include gthr.h. (show_backtrace): Use __gthread_active_p() to determine whether threads are active. Return if lbstate is NULL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232770 138bc75d-0d04-0410-961f-82ee72b054a4
* * intrinsics/execute_command_line.c (set_cmdstat): Use "%s", msgjakub2016-01-152-2/+7
| | | | | | | instead of msg to avoid -Wformat-security warning. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232449 138bc75d-0d04-0410-961f-82ee72b054a4
* Update copyright years.jakub2016-01-04678-1080/+1089
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232055 138bc75d-0d04-0410-961f-82ee72b054a4
* 2015-12-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>jvdelisle2015-12-292-21/+6
| | | | | | | | PR libfortran/68987 io/format.c (format_error): Remove unneeded memory cleanup. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231989 138bc75d-0d04-0410-961f-82ee72b054a4
* 2015-12-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>jvdelisle2015-12-152-0/+13
| | | | | | | | | PR libfortran/pr68867 * io/write.c (set_fnode_default): For kind=16, set the decimal precision depending on the platform binary precision, 106 or 113. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231639 138bc75d-0d04-0410-961f-82ee72b054a4
* 2015-12-05 Juoko Orava <jouko.orava@iki.fi>kargl2015-12-052-2/+8
| | | | | | | | | PR fortran/50201 * io/write_float.def: Avoid marking quadmath_snprintf as an untyped weak reference, which fixing linking with -static. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231320 138bc75d-0d04-0410-961f-82ee72b054a4
* 2015-12-02 Tobias Burnus <burnus@net-b.de>kargl2015-12-023-3/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Alessandro Fanfarillo <fanfarillo.gcc@gmail.com> * check.c (gfc_check_event_query): New function. * dump-parse-tree.c (show_code_node): Handle EXEC_EVENT_POST, EXEC_EVENT_WAIT. * expr.c (gfc_check_vardef_context): New check for event variables definition. * gfortran.h (gfc_statement): Add ST_EVENT_POST, ST_EVENT_WAIT. (gfc_isym_id): GFC_ISYM_EVENT_QUERY. (struct symbol_attribute): New field. (gfc_exec_op): Add EXEC_EVENT_POST and EXEC_EVENT_WAIT. * gfortran.texi: Document about new events functions and minor changes. * interface.c (compare_parameter): New check. (gfc_procedure_use): New check for explicit procedure interface. (add_subroutines): Add event_query. * intrinsic.h (gfc_check_event_query,gfc_resolve_event_query): New prototypes. * iresolve.c (gfc_resolve_event_query): New function. * iso-fortran-env.def (event_type): New type. * match.c (event_statement,gfc_match_event_post,gfc_match_event_wait): New functions. (gfc_match_name): New event post and event wait. * match.h (gfc_match_event_post,gfc_match_event_wait): New prototypes. * module.c (ab_attribute): Add AB_EVENT_COMP. (attr_bits): Likewise. (mio_symbol_attribute): Handle event_comp attribute. * parse.c (decode_statement): Add ST_EVENT_POST, ST_EVENT_WAIT. (next_statement): Add ST_EVENT_POST, ST_EVENT_WAIT. (gfc_ascii_statement): Add ST_EVENT_POST, ST_EVENT_WAIT. (parse_derived): Check for event_type components. * resolve.c (resolve_allocate_expr): Check for event variable def. (resolve_lock_unlock): Renamed to resolve_lock_unlock_event. It includes logic for locks and events. (gfc_resolve_code): Call it. (gfc_resolve_symbol): New check for event variable to be a corray. * st.c (gfc_free_statement): Handle new EXEC_EVENT_POST and EXEC_EVENT_WAIT. * trans-decl.c (gfor_fndecl_caf_event_post,gfor_fndecl_caf_event_wait, gfor_fndecl_caf_event_query): New global variables. (generate_coarray_sym_init): Checking for event_type. (gfc_conv_procedure_call): Check for C bind attribute. * trans-intrinsic.c (conv_intrinsic_event_query): New function. (conv_intrinsic_move_alloc): Call it. * trans-stmt.c (gfc_trans_lock_unlock): Passing address of actual argument. (gfc_trans_sync): Likewise. (gfc_trans_event_post_wait): New function. * trans-stmt.h (gfc_trans_event_post_wait): New prototype. * trans-types.c (gfc_get_derived_type): Integer_kind as event_type. * trans.c (gfc_allocate_using_lib): New argument and logic for events. (gfc_allocate_allocatable): Passing new argument. (trans_code): Handle EXEC_EVENT_POST, EXEC_EVENT_WAIT. * trans.h (gfc_coarray_type): New elements. (gfor_fndecl_caf_event_post,gfor_fndecl_caf_event_wait, gfor_fndecl_caf_event_query): Declare them. 2015-12-02 Tobias Burnus <burnus@net-b.de> Alessandro Fanfarillo <fanfarillo.gcc@gmail.com> * gfortran.dg/coarray/event_1.f90: New. * gfortran.dg/coarray/event_2.f90: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231208 138bc75d-0d04-0410-961f-82ee72b054a4
* 2015-11-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>jvdelisle2015-11-232-0/+18
| | | | | | | | | | | | | | | PR libfortran/52251 * io/transfer.c (formatted_transfer_scalar_write): Reset skips count. (finalize_transfer): For ADVANCE_NO, emit pending spaces and reset the skip count. 2015-11-22 Jerry DeLisle <jvdelisle@gcc.gnu.org> * gfortran.dg/fmt_t_8.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230734 138bc75d-0d04-0410-961f-82ee72b054a4
* 2015-11-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>jvdelisle2015-11-222-10/+15
| | | | | | | | * io/write_float.def (output_float): Move block determining room for leading zero to before checkng g0 formatting. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230728 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libfortran/67527fxcoudert2015-09-124-4/+20
| | | | | | | | | | | PR libfortran/67535 PR libfortran/67536 * io/io.h: Use unsigned values for 31-bit left shifts. * io/unix.c (buf_read): Do not call memcpy() with NULL pointer arg. * io/write.c (nml_write_obj): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227705 138bc75d-0d04-0410-961f-82ee72b054a4
* PR 53379 Print backtrace on error termination.jb2015-09-044-17/+53
| | | | | | | | | | | | | | | | | | | 2015-09-05 Janne Blomqvist <jb@gcc.gnu.org> PR fortran/53379 * libgfortran.h (exit_error): New prototype. * runtime/error.c (exit_error): New function. (os_error): Call exit_error instead of exit. (runtime_error): Likewise. (runtime_error_at): Likewise. (internal_error): Likewise. (generate_error): Likewise. (notify_std): Likewise. * runtime/stop.c (error_stop_string): Likewise. (error_stop_numeric): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227503 138bc75d-0d04-0410-961f-82ee72b054a4
* libgfortran: Use remove(3) instead of unlink(2) when deleting files.jb2015-09-035-16/+11
| | | | | | | | | | | | | | | | | | | | | | | testsuite: 2015-09-04 Janne Blomqvist <jb@gcc.gnu.org> * gfortran.dg/read_dir.f90: Delete empty directory when closing rather than calling rmdir, cleanup if open fails. libgfortran: 2015-09-04 Janne Blomqvist <jb@gcc.gnu.org> * io/unix.h (delete_file): Remove prototype. * io/unix.c (delete_file): Remove function. * io/close.c (st_close): Replace delete_file and unlink with remove. * io/open.c (already_open): Replace unlink with remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227472 138bc75d-0d04-0410-961f-82ee72b054a4
* PR 67414 Better diagnostics on backtrace failure, gf_strerror bugfixjb2015-09-027-56/+113
| | | | | | | | | | | | | | | | | | | | | | | | | 2015-09-02 Janne Blomqvist <jb@gcc.gnu.org> PR libfortran/67414 * io/write.c (gfc_itoa): Move to runtime/string.c. * libgfortran.h (show_backtrace): Make arg bool. (gfc_itoa): New prototype. * runtime/backtrace.c (struct mystate): Change type of try_simple field, add in_signal_handler field. (error_callback): Print out error number, or if not in a signal handler, the error message. (show_backtrace): Change type of arg, change initialization of struct mystate. (backtrace): Call show_backtrace with correct arg type. * runtime/compile_options.c (backtrace_handler): Call with correct arg type. * runtime/error.c (sys_abort): Likewise. (gf_strerror): Handle newlocale() failure. * runtime/string.c (gfc_itoa): Function moved here from io/write.c. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227404 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libfortran/47571fxcoudert2015-08-315-0/+85
| | | | | | | | | | * acinclude.m4 (LIBGFOR_GTHREAD_WEAK): Reinstate. * configure.ac: Call LIBGFOR_GTHREAD_WEAK again. * config.h.in: Regenerate. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227347 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libfortran/47571fxcoudert2015-08-316-64/+56
| | | | | | | | | | | | | | * acinclude.m4 (LIBGFOR_GTHREAD_WEAK): Remove. (LIBGFOR_CHECK_WEAKREF): New test. * configure.ac: Call LIBGFOR_CHECK_WEAKREF instead of LIBGFOR_GTHREAD_WEAK. * config.h.in: Regenerate. * configure: Regenerate. * intrinsics/system_clock.c: Use SUPPORTS_WEAKREF instead of SUPPORTS_WEAK and GTHREAD_USE_WEAK. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227335 138bc75d-0d04-0410-961f-82ee72b054a4
* 2015-08-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>jvdelisle2015-08-292-6/+22
| | | | | | | | | PR libgfortran/67367 * io/unix.c (buf_read): Check for error condition and if found return the error code. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227320 138bc75d-0d04-0410-961f-82ee72b054a4
* * acinclude.m4: Remove LIBGFOR_CHECK_ATTRIBUTE_DLLEXPORT.fxcoudert2015-08-295-515/+14
| | | | | | | | | | | * configure.ac: Remove checks for strcasestr, execl, close, getrlimit, readlink, getppid, powl, erfl, j0l, j1l, y0l, y1l, tgammal, and lgammal. * config.h.in: Regenerate. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227319 138bc75d-0d04-0410-961f-82ee72b054a4
* * io/unix.c (min): Remove unused macro.fxcoudert2015-08-292-11/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227317 138bc75d-0d04-0410-961f-82ee72b054a4
* PR fortran/53668fxcoudert2015-08-282-0/+9
| | | | | | | | | | | | | | * intrinsic.c (add_functions, add_subroutines): Remove resolution functions for FREE and MALLOC. * intrinsic.h (gfc_resolve_malloc, gfc_resolve_free): Remove. * iresolve.c (gfc_resolve_malloc, gfc_resolve_free): Remove. * trans-intrinsic.c (conv_intrinsic_free, gfc_conv_intrinsic_malloc): New functions. * intrinsics/malloc.c: Adapt comments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227311 138bc75d-0d04-0410-961f-82ee72b054a4
* [Patch] Add to the libgfortran/newlib bodge to "detect" ftruncate support in ↵jgreenhalgh2015-08-283-2/+18
| | | | | | | | | | | | ARM/AArch64/SH * configure.ac: Auto-detect newlib function support unless we know there are issues when configuring for a host. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227301 138bc75d-0d04-0410-961f-82ee72b054a4
* PR fortran/29600fxcoudert2015-08-2610-9/+179
| | | | | | | | | | | | | | | | | * Makefile.am: Add generated/shape_i{1,2}.c * Makefile.in: Regenerate. * generated/shape_i1.c: New generated file. * generated/shape_i2.c: New generated file. * generated/shape_i4.c: Regenerate. * generated/shape_i8.c: Regenerate. * generated/shape_i16.c: Regenerate. * gfortran.map (GFORTRAN_1.7): Add _gfortran_shape_{1,2}. * m4/shape.m4: Fix parameter type. * gfortran.dg/shape_8.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227210 138bc75d-0d04-0410-961f-82ee72b054a4
* * libgfortran.h (show_variables): Remove prototype.fxcoudert2015-08-264-252/+74
| | | | | | | | | * runtime/environ.c (print_spaces, var_source, show_integer, show_boolean, show_sep, show_string): Remove functions. * runtime/main.c (init): Remove dead code. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227208 138bc75d-0d04-0410-961f-82ee72b054a4
* * io/unit.c (get_internal_unit): Make default sign mode unspecified.fxcoudert2015-08-252-4/+9
| | | | | | | (init_units): Make default sign mode unspecified. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227178 138bc75d-0d04-0410-961f-82ee72b054a4
* * libgfortran.h (check_buffered): Remove unused prototype.fxcoudert2015-08-252-3/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227174 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libfortran/57496fxcoudert2015-08-242-31/+10
| | | | | | | | * io/write_float.def: Use built-in type-generic functions defined by libgfortran.h for isfinite, isnan, and signbit. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227136 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libfortran/54572fxcoudert2015-08-2313-498/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.def: Make libgfortran depend on libbacktrace. * Makefile.in: Regenerate. * config-lang.in: Add libbacktrace to target_libs. * Makefile.am (libgfortran_la_LDFLAGS): Link in libbacktrace. (AM_CPPFLAGS): Add libbacktrace directories to include paths. * Makefile.in: Regenerate. * aclocal.m4: Regenerate. * config.h.in: Regenerate. * configure: Regenerate. * configure.ac: Remove checks for strtok_r, wait, execve, pipe, and dup2. Remove call to GCC_CHECK_UNWIND_GETIPINFO. * libgfortran.h (full_exe_path, find_addr2line, backtrace): Remove prototypes. (show_backtrace): Add prototype. * runtime/backtrace.c: Rework file entirely. * runtime/compile_options.c (backtrace_handler): Rename backtrace to show_backtrace. (maybe_find_addr2line): Remove function. (set_options): Remove call to maybe_find_addr2line. * runtime/error.c (sys_abort): Rename backtrace to show_backtrace. * runtime/main.c (store_exe_path): Empty function body. (full_exe_path, gfstrtok_r, find_addr2line): Remove functions. (cleanup): Don't free removed variables. * runtime/minimal.c (full_exe_path): Remove function. (set_args): Don't set exe_path. * gfortran.dg/backtrace_1.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227106 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libfortran/62296fxcoudert2015-08-232-4/+28
| | | | | | | | | | | | | * intrinsics/execute_command_line.c (EXEC_INVALIDCOMMAND): New error code. (cmdmsg_values): New error message. (set_cmdstat): Rework runtime error. (execute_command_line): Handle invalid command line error status. * gfortran.dg/execute_command_line_2.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227105 138bc75d-0d04-0410-961f-82ee72b054a4
* 2015-08-10 Steven G. Kargl <kargl@gcc.gnu.org>kargl2015-08-102-0/+7
| | | | | | | | PR libfortran/67140 * intrinsics/mvbits.c: Fix build for paltforms without c_int128_t. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@226769 138bc75d-0d04-0410-961f-82ee72b054a4
* 2015-08-10 Steven G. Kargl <kargl@gcc.gnu.org>kargl2015-08-103-0/+15
| | | | | | | | | | | | | | PR libfortran/67140 * gfortran.map: Add _gfortran_mvbits_i16. * intrinsics/mvbits.c: Generate mvbits for c_int128_t. 2015-08-10 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> PR libfortran/67140 * gfortran.dg/pr67140.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@226764 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libfortran/66936fxcoudert2015-08-092-0/+11
| | | | | | | * io/unix.c (__MINGW32__): Undefine HAVE_UMASK. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@226750 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libfortran/66458fxcoudert2015-08-072-1/+10
| | | | | | | * runtime/main.c (init): Only call set_fpu() if requested by user. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@226725 138bc75d-0d04-0410-961f-82ee72b054a4
* * runtime/compile_options.c (set_options): Fix typos.fxcoudert2015-08-062-2/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@226686 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/fpu-387.h: Remove unwanted whitespace.uros2015-08-041-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@226550 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/fpu-387.h (get_fpu_trap_exceptions): Add temporary variableuros2015-08-042-18/+26
| | | | | | | | to improve generated code. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@226549 138bc75d-0d04-0410-961f-82ee72b054a4
* PR fortran/64022fxcoudert2015-08-045-181/+646
| | | | | | | | | | | | | | | | | * simplify.c (gfc_simplify_ieee_selected_real_kind): Extend IEEE support to all real kinds. * ieee/ieee_exceptions.F90: Support all real kinds. * ieee/ieee_arithmetic.F90: Likewise. * ieee/ieee_helper.c (ieee_class_helper_10, ieee_class_helper_16): New functions * gfortran.map (GFORTRAN_1.7): Add entries. * gfortran.dg/ieee/ieee_7.f90: Adjust test. * gfortran.dg/ieee/large_1.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@226548 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libgfortran/66650uros2015-07-292-2/+7
| | | | | | | | | * libgfortran.h (GFC_DTYPE_SIZE_MASK): Rewrite to avoid "left shift of negative value" warning. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@226355 138bc75d-0d04-0410-961f-82ee72b054a4
* PR 66861 Fix null pointer crash on mingw.jb2015-07-142-2/+12
| | | | | | | | | | | | 2015-07-14 Janne Blomqvist <jb@gcc.gnu.org> PR libfortran/66861 * io/unix.c (compare_file_filename): Verify that u->filename is non-NULL before strcmp. (find_file0): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@225788 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libfortran/40267fxcoudert2015-07-064-95/+23
| | | | | | | | | * Makefile.am: Remove libgfortranbegin targets. * Makefile.in: Regenerate. * fmain.c: Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@225445 138bc75d-0d04-0410-961f-82ee72b054a4
* libstdc++, libgfortran gthr workaround for muslktkachov2015-04-223-2/+7
| | | | | | | | | | | | | | | | | | | | On behalf of szabolcs.nagy@arm.com [libstdc++-v3/] 2015-04-22 Szabolcs Nagy <szabolcs.nagy@arm.com> * config/os/generic/os_defines.h (_GLIBCXX_GTHREAD_USE_WEAK): Define. * configure.host (os_include_dir): Set to "os/generic" for linux-musl*. [libgfortran/] 2015-04-22 Szabolcs Nagy <szabolcs.nagy@arm.com> * acinclude.m4 (GTHREAD_USE_WEAK): Define as 0 for *-*-musl*. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222329 138bc75d-0d04-0410-961f-82ee72b054a4
* 2015-04-21 Jerry DeLisle <jvdelisle@gcc.gnu.org>jvdelisle2015-04-212-2/+17
| | | | | | | | | PR libgfortran/65234 * io/format.c (parse_format_list): Set the seen_dd flag in all cases where a data descriptor has been seen. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222274 138bc75d-0d04-0410-961f-82ee72b054a4
* 2015-04-21 Jerry DeLisle <jvdelisle@gcc.gnu.org>jvdelisle2015-04-212-2/+13
| | | | | | | | | | | PR libgfortran/56743 * io/list_read.c (CASE_SEPARATORS): Add case for '!'. (is_separator): Add condition for '!'. (eat_separator): Use notify_std to warn or errord if '!' is encountered before a proper separator. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222271 138bc75d-0d04-0410-961f-82ee72b054a4
* 2015-04-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>jvdelisle2015-04-154-19/+67
| | | | | | | | | | | | | | | PR libgfortran/65089 * io/format.h (free_format): New function to free memory allocated for building format error messages. * io/format.c (format_error): Add checks before freeing memory to avoid potential segfaults and free formatting data when needed on error conditions. Always allocate and NULL terminate the string. * io/transfer.c (st_read_done, st_write_done): Use new free_format function to clean up memory allocations when done. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222111 138bc75d-0d04-0410-961f-82ee72b054a4
* 2015-03-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>jvdelisle2015-03-283-3/+11
| | | | | | | | | | | | PR libgfortran/65596 * io/transfer.c (data_transfer_init): If in namelist mode and delimiter is not specified, set it to DELIM_QUOTE, independent of -std. * io/unit.c (init_units): Set flags.delim to the correct initial value of DELIM_UNSPECIFIED. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@221753 138bc75d-0d04-0410-961f-82ee72b054a4