summaryrefslogtreecommitdiffstats
path: root/libgfortran
Commit message (Collapse)AuthorAgeFilesLines
* Mark ChangeLoggccadmin2014-04-221-0/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209577 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-04-12 Jerry DeLisle <jvdelisle@gcc.gnu>jvdelisle2014-04-122-4/+7
| | | | | | | | PR libfortran/60810 io/unit.c (is_trim_ok): If internal unit is array, do not trim. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@209338 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-03-21 Jerry DeLisle <jvdelisle@gcc.gnu>jvdelisle2014-03-212-1/+8
| | | | | | | | | PR libfortran/60148 * io/transfer.c (data_transfer_init): If std= was specified, set delim status to DELIM_NONE of no other was specified. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208759 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.ac: Check for presence of fcntl.uweigand2014-03-185-4/+17
| | | | | | | | | * configure: Regenerate. * config.h.in: Regenerate. * io/unix.c (set_close_on_exec): Check for HAVE_FCNTL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208634 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix PR Number in logjvdelisle2014-03-181-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208630 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-03-17 Jerry DeLisle <jvdelisle@gcc.gnu>jvdelisle2014-03-182-8/+29
| | | | | | | | | | PR libfortran/58324 * io/list_read.c (list_formatted_read_scalar): Do not use eat_separator. Explicitly set the comma and end-of-line flags. Check for END condition from finish_separator. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208629 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-03-15 Jerry DeLisle <jvdelisle@gcc.gnu>jvdelisle2014-03-152-5/+19
| | | | | | | | | | | | PR libfortran/58324 * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208591 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-03-12 Jerry DeLisle <jvdelisle@gcc.gnu>jvdelisle2014-03-134-26/+75
| | | | | | | | | | | | | | | | PR libfortran/38199 * 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. * io/list_read.c (finish_list_read): Don't call eat_line for internal units. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208528 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-03-08 Jerry DeLisle <jvdelisle@gcc.gnu>jvdelisle2014-03-091-1/+1
| | | | | | | | | | PR libfortran/38199 * io/list_read.c (next_char): Mark unlikely error checks. (eat_spaces): For character array reading, skip ahead over spaces rather than call next_char multiple times. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208439 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-03-08 Jerry DeLisle <jvdelisle@gcc.gnu>jvdelisle2014-03-092-4/+53
| | | | | | | | | | PR libfortran/38199 * io/list_read.c (next_char): Delete unuseful error checks. (eat_spaces): For character array reading, skip ahead over spaces rather than call next_char multiple times. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208438 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-03-08 Tobias Burnus <burnus@net-b.de>burnus2014-03-082-0/+14
| | | | | | | | * libgfortran.h (unlikely, likely): Add usage comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208434 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-03-08 Dominique d'Humieres <dominiq@lps.ens.fr>jvdelisle2014-03-082-22/+38
| | | | | | | | | | | | | 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. PR libfortran/60128 * gfortran.dg/fmt_en.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208423 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-03-03 Jerry DeLisle <jvdelisle@gcc.gnu>jvdelisle2014-03-047-68/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR libfortran/60148 * io/inquire.c (inquire_via_unit): In the case of DELIM_UNSPECIFIED set inquire return string to "NONE". * io/list_read.c (read_character): In the case of DELIM_NONE and namelists, complete the character read using the namelist variable length. * io/open.c (new_unit): Don't set delim status to none if not specified so that DELIM_UNSPECIFIED can be used later. * io/transfer.c (data_transfer_init): For namelist I/O, if the unit delim status is unspecified set the current status to quote. Otherwise, set current status to the unit status. * io/unit.c (get_internel_unit, init_unit): Remember to set flags_delim initially to DELIM_UNSPECIFIED so defaults come out correctly. * io/write.c (write_character): Add a new function argument "mode" to signify that raw output is to be used vs output with delimiters. If the mode is set to DELIM (1) proceed with delimiters. (list_formatted_write_scalar): Write the separator only if a delimiter was previously specified. Update the call to write_character with the mode argument given. (namelist_write_newline): Use the mode argument. (nml_write_obj): Use the mode argument. Remove use of tmp_delim. Write the semi-colon or comma correctly only when needed with using delimiters. Cleanup whitespace. (namelist_write): If delim is not specified in namelist I/O, default to using quotes. Get rid of the tmp_delim variable and use the new mode argument in write_character. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208302 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-02-21 Tobias Burnus <burnus@net-b.de>burnus2014-02-212-26/+27
| | | | | | | | | | | | | | | | | PR fortran/60286 * libgfortran/io/inquire.c (yes, no): New static const char * vars. (inquire_via_unit): Use them. Use OPEN mode instead of using POSIX's access to query about write=, read= and readwrite=. 2014-02-21 Tobias Burnus <burnus@net-b.de> PR fortran/60286 * gfortran.dg/inquire_16.f90: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207979 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-01-20 Jerry DeLisle <jvdelisle@gcc.gnu>jvdelisle2014-01-212-2/+8
| | | | | | | | | | Dominique d'Humieres <dominiq@lps.ens.fr> * io/write_float.def (output_float): Remove inadvertent test code from previous patch. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206865 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-01-19 Jerry DeLisle <jvdelisle@gcc.gnu>jvdelisle2014-01-192-9/+23
| | | | | | | | | | | | | | Dominique d'Humieres <dominiq@lps.ens.fr> 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: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206785 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-01-11 Jerry DeLisle <jvdelisle@gcc.gnu>jvdelisle2014-01-113-23/+43
| | | | | | | | | | | | | | | | | | | Dominique d'Humieres <dominiq@lps.ens.fr> Steven G. Kargl <kargl@gcc.gnu.org> 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: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206553 138bc75d-0d04-0410-961f-82ee72b054a4
* Update copyright years in libgfortran/rsandifo2014-01-02669-669/+673
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206296 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-12-18 Steven G. Kargl <kargl@gcc.gnu.org>kargl2013-12-182-1/+7
| | | | | | | | | | | * io/read.c (read_f): Convert assert to runtime error. 2013-12-18 Steven G. Kargl <kargl@gcc.gnu.org> * gfortran.dg/io_err_1.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206102 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-12-17 Andreas Tobler <andreast@gcc.gnu.org>andreast2013-12-172-1/+5
| | | | | | | * io/unix.c (tempfile_open): Only use the needed flag O_CLOEXEC. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206064 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-12-16 Jerry DeLisle <jvdelisle@gcc.gnu>jvdelisle2013-12-174-38/+63
| | | | | | | | | | | | | PR libfortran/59419 * io/file_pos.c (st_rewind): Do proper return after generate_error. * io/open.c (edit_modes): Move action code inside block that checks for library ok. (new_unit): Do cleanup after error. (st_open): Do proper return after error. * io/transfer.c (data_transfer_init): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206039 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-12-11 Tobias Burnus <burnus@net-b.de>burnus2013-12-112-3/+8
| | | | | | | | | | * config/fpu-387.h (sigill_hdlr, get_fpu_rounding_mode): Emit * SSE instructions when __SSE_MATH__ is defined. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205903 138bc75d-0d04-0410-961f-82ee72b054a4
* Provide _M_2_SQRTPI if missing.ro2013-12-062-0/+7
| | | | | | * intrinsics/erfc_scaled.c (_M_2_SQRTPI): Define if missing. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205731 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libfortran/59313uros2013-12-013-12/+36
| | | | | | | | | * intrinsics/erfc_scaled.c (erfc_scaled_r16): Also provide for quadruple precision long double variant. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205574 138bc75d-0d04-0410-961f-82ee72b054a4
* Remove wrong PR linkschwab2013-11-211-1/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205201 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libfortran/59227fxcoudert2013-11-212-2/+10
| | | | | | | | * intrinsics/erfc_scaled.c (erfc_scaled_r16): Don't define if __float128 is not available. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205193 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libfortran/49024fxcoudert2013-11-203-6/+59
| | | | | | | | | | | * intrinsics/erfc_scaled.c (erfc_scaled_r16): New function. * intrinsics/erfc_scaled_inc.c: Do not provide quadruple precision variant. * gfortran.dg/erf_3.F90: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205151 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libfortran/51828fxcoudert2013-11-182-0/+9
| | | | | | | | * intrinsics/unpack_generic.c (unpack_internal): Let the compiler know that dim > 0 to avoid warnings. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204940 138bc75d-0d04-0410-961f-82ee72b054a4
* When file status is unknown, don't set O_CREAT when opening read-only.jb2013-11-152-7/+21
| | | | | | | | | | | | | 2013-11-15 Janne Blomqvist <jb@gcc.gnu.org> Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/59108 * io/unix.c (regular_file): Don't set O_CREAT when opening a file read-only with unknown status. Mask out O_CREAT when falling back to opening read-only if ACTION= is not set and read-write fails. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204864 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-11-15 Steve Ellcey <sellcey@mips.com>sje2013-11-153-4/+21
| | | | | | | | * configure.ac: Do not define HAVE_STRTOLD. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204855 138bc75d-0d04-0410-961f-82ee72b054a4
* Set close-on-exec flag when opening files.jb2013-11-107-60/+142
| | | | | | | | | | | | | | | | | | | 2013-11-10 Janne Blomqvist <jb@gcc.gnu.org> * configure.ac: Check presence of mkostemp. * io/unix.c (set_close_on_exec): New function. (tempfile_open): Use mkostemp and O_CLOEXEC if available, fallback to calling set_close_on_exec. (regular_file): Add O_CLOEXEC to flags if defined. (open_external): Call set_close_on_exec if O_CLOEXEC is not defined. * config.h.in: Regenerated. * configure: Regenerated. * Makefile.in: Regenerated. * aclocal.m4: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204654 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-10-01 Tobias Burnus <burnus@net-b.de>burnus2013-10-012-4/+35
| | | | | | | | | | | 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: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203086 138bc75d-0d04-0410-961f-82ee72b054a4
* * libtool.m4 (_LT_ENABLE_LOCK <ld -m flags>): Remove non-canonicalamodra2013-09-202-5/+15
| | | | | | | | | ppc host match. Support little-endian powerpc linux hosts. Regenerate configure throughout. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202773 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/fpu-387.h (get_fpu_rounding_mode): Read rounding modeuros2013-07-232-12/+32
| | | | | | | | from SSE mxcsr register on x86_64. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201161 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-07-21 Ondřej Bílka <neleai@seznam.cz>burnus2013-07-212-3/+7
| | | | | | | | | | | | | * trans-decl.c: Fix comment typos. * trans-expr.c: Ditto. 2013-07-21 Ondřej Bílka <neleai@seznam.cz> * io/transfer.c: Fix comment typos. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201107 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-07-21 Tobias Burnus <burnus@net-b.de>burnus2013-07-212-3/+9
| | | | | | | | | | PR fortran/35862 * config/fpu-387.h (set_fpu_rounding_mode, get_fpu_rounding_mode): Add missing _ to fix build. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201095 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-07-21 Tobias Burnus <burnus@net-b.de>burnus2013-07-2114-88/+452
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR fortran/35862 * libgfortran.h (GFC_FPE_DOWNWARD, GFC_FPE_TONEAREST, GFC_FPE_TOWARDZERO, GFC_FPE_UPWARD): New defines. 2013-07-21 Tobias Burnus <burnus@net-b.de> PR fortran/35862 * libgfortran.h (set_fpu_rounding_mode, get_fpu_rounding_mode): New prototypes. * config/fpu-387.h (set_fpu_rounding_mode, get_fpu_rounding_mode): New functions. * config/fpu-aix.h (set_fpu_rounding_mode, get_fpu_rounding_mode): Ditto. * config/fpu-generic.h (set_fpu_rounding_mode, get_fpu_rounding_mode): Ditto. * config/fpu-glibc.h (set_fpu_rounding_mode, get_fpu_rounding_mode): Ditto. * config/fpu-sysv.h (set_fpu_rounding_mode, get_fpu_rounding_mode): Ditto. * configure.ac: Check for fp_rnd and fp_rnd_t. * io/io.h (enum unit_round): Use GFC_FPE_* for the value. * io/read.c (convert_real): Set FP ronding mode. * Makefile.in: Regenerate. * aclocal.m4: Regenerate. * config.h.in: Regenerate. * configure: Regenerate. 2013-07-21 Tobias Burnus <burnus@net-b.de> PR fortran/35862 * gfortran.dg/round_4.f90: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201093 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-06-24 Steve Ellcey <sellcey@mips.com>sje2013-06-242-15/+63
| | | | | | | | * configure.ac (AC_CHECK_FUNCS_ONCE): Put into if statement. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200374 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-06-24 Tobias Burnus <burnus@net-b.de>burnus2013-06-245-0/+41
| | | | | | | | | | | * configure.ac: Check for fp_except and fp_except_t. * config/fpu-sysv.h: Conditionally use either type. * configure: Regenerate. * config.h.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200360 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/fpu-sysv.h (get_fpu_except_flags): Fix typo.ebotcazou2013-06-212-2/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200298 138bc75d-0d04-0410-961f-82ee72b054a4
* * ChangeLog: Add some missing lines.uros2013-06-201-0/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200256 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/fpu-387.h (_FPU_MASK_ALL): New.uros2013-06-202-30/+39
| | | | | | | | | | | | (_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. (get_fpu_except_flags): Simplify code. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200255 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-06-20 Tobias Burnus <burnus@net-b.de>burnus2013-06-202-2/+6
| | | | | | | | | | | | | | PR fortran/57633 * io/list_read.c (next_char, eat_separator): Don't set EOL for \r. 2013-06-20 Tobias Burnus <burnus@net-b.de> PR fortran/57633 * gfortran.dg/list_read_11.f90: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200238 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/fpu-387.h: Use __asm__ and __volatile__ consistently.uros2013-06-192-23/+19
| | | | | | | | (get_fpu_except_flags): Initialize result. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200187 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-06-17 Tobias Burnus <burnus@net-b.de>burnus2013-06-1712-13/+255
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gfortran.h (gfc_option_t): Add fpe_summary. * gfortran.texi (_gfortran_set_options): Update. * invoke.texi (-ffpe-summary): Add doc. * lang.opt (ffpe-summary): Add flag. * options.c (gfc_init_options, gfc_handle_option): Handle it. (gfc_handle_fpe_option): Renamed from gfc_handle_fpe_trap_option, also handle fpe_summary. * trans-decl.c (create_main_function): Update _gfortran_set_options call. 2013-06-17 Tobias Burnus <burnus@net-b.de> * libgfortran.h (compile_options_t) Add fpe_summary. (get_fpu_except_flags): New prototype. * runtime/compile_options.c (set_options, init_compile_options): Handle fpe_summary. * runtime/stop.c (report_exception): New function. (stop_numeric, stop_numeric_f08, stop_string, error_stop_string, error_stop_numeric): Call it. * config/fpu-387.h (get_fpu_except_flags): New function. * config/fpu-aix.h (get_fpu_except_flags): New function. * config/fpu-generic.h (get_fpu_except_flags): New function. * config/fpu-glibc.h (get_fpu_except_flags): New function. * config/fpu-glibc.h (get_fpu_except_flags): New function. * configure.ac: Check for fpxcp.h. * configure: Regenerate. * config.h.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200147 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-06-01 Tobias Burnus <burnus@net-b.de>burnus2013-06-032-20/+56
| | | | | | | | | | | | | PR fortran/57496 * io/write_float.def (ISFINITE2Q, ISFINITE2, ISFINITE2L, * ISFINITE, SIGNBIT2Q, SIGNBIT2, SIGNBIT2L, SIGNBIT, ISNAN2Q, ISNAN2, ISNAN2L, ISNAN): New macros. (output_float_FMT_G_,WRITE_FLOAT): Use them. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199598 138bc75d-0d04-0410-961f-82ee72b054a4
* Use -z ignore instead of --as-needed on Solarisro2013-05-243-10/+67
| | | | | | | * acinclude.m4 (libgfor_cv_have_as_needed): Check for -z ignore, too. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199285 138bc75d-0d04-0410-961f-82ee72b054a4
* * caf/libcaf.h (_gfortran_caf_critical): Add a prototype.dje2013-05-052-0/+8
| | | | | | | (_gfortran_caf_end_critical): Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198613 138bc75d-0d04-0410-961f-82ee72b054a4
* * runtime/environ.c: Include unistd.h.dje2013-05-047-0/+30
| | | | | | | | | | | * runtime/pause.c: Test HAVE_UNISTD_H. * runtime/stop.c: Same. * io/open.c: Same. * io/unix.c: Same. * io/read.c (si_max): Protect declaration of value. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198603 138bc75d-0d04-0410-961f-82ee72b054a4
* Simplify SYSTEM_CLOCK implementation.jb2013-04-292-57/+41
| | | | | | | | | | | | 2013-04-29 Janne Blomqvist <jb@gcc.gnu.org> * intrinsics/system_clock (gf_gettime_mono): Use variable resolution for fractional seconds argument. (system_clock_4): Simplify, update for gf_gettime_mono change. (system_clock_8): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198391 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud