aboutsummaryrefslogtreecommitdiff
path: root/libgfortran
AgeCommit message (Collapse)AuthorFilesLines
2011-03-01re PR libfortran/47567 (Wrong output for small absolute values with F editing)Jerry DeLisle2-14/+25
2011-02-28 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/47567 * io/write_float.def (output_float): Move handling of w = 0 to after output rounding. Check for zero and set zero_flag accordingly. Set width according to zero_flag. Add better comments. From-SVN: r170585
2011-02-27re PR fortran/47778 (reading two arrays of structures from namelist fails)Jerry DeLisle2-0/+17
2011-02-27 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/47778 * io/list_read.c (namelist_read): Intialize the error string buffere. If pprev_nl was used during the previous namelist read and the rank was zero, reset the pointer to NULL for the next namelist read. From-SVN: r170548
2011-02-26re PR libfortran/45165 (unix.c:fallback_access() leaks file descriptors)Francois-Xavier Coudert2-2/+11
PR libfortran/45165 * unix.c (fallback_access): Fix file descriptor leaks. From-SVN: r170517
2011-02-25acinclude.m4 (LIBGFOR_CHECK_FPSETMASK): Set shell variable tested in ↵Francois-Xavier Coudert3-0/+8
configure.host. * acinclude.m4 (LIBGFOR_CHECK_FPSETMASK): Set shell variable tested in configure.host. * configure: Regenerate. From-SVN: r170500
2011-02-24PR 47802 Use strftime for CTIME and FDATE intrinsicsJanne Blomqvist7-127/+91
From-SVN: r170478
2011-02-24re PR fortran/47878 (187.facerec miscompares)Jakub Jelinek2-6/+13
PR fortran/47878 * io/transfer.c (read_sf): Call fbuf_getptr only at the end, and subtract n, dtp->u.p.sf_seen_eor and seen_comma from it. * gfortran.dg/pr47878.f90: New test. From-SVN: r170476
2011-02-24PR 47802 Test for POSIX getpwuid_rJanne Blomqvist5-2/+84
From-SVN: r170471
2011-02-24re PR libfortran/47567 (Wrong output for small absolute values with F editing)Jerry DeLisle2-19/+6
2011-02-23 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/47567 * io/write_float.def (output_float): Remove special case handling of zero with width 1. From-SVN: r170458
2011-02-23PR 47694 Read from named pipe failsJanne Blomqvist3-20/+30
Co-Authored-By: Jerry DeLisle <jvdelisle@gcc.gnu.org> From-SVN: r170432
2011-02-22re PR libfortran/47830 (errors in intrinsics/c99_functions.c)Tobias Burnus2-1/+8
2011-02-22 Tobias Burnus <burnus@net-b.de> Kai-Uwe Eckhardt <kuehro@gmx.de> PR libfortran/47830 * intrinsics/c99_functions.c (roundl): Make C valid for HAVE_NEXTAFTERL. Co-Authored-By: Kai-Uwe Eckhardt <kuehro@gmx.de> From-SVN: r170396
2011-02-19re PR libfortran/47567 (Wrong output for small absolute values with F editing)Jerry DeLisle2-2/+8
2011-02-19 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/47567 * io/write_float.def (output_float): Adjust width for F0.d to allow space for negative signs on zero. From-SVN: r170318
2011-02-17re PR libfortran/47567 (Wrong output for small absolute values with F editing)Jerry DeLisle2-11/+36
2011-02-16 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/47567 * io/list_read.c (read_logical): Check for end of line before calling eat_line. (read_integer): Likewise. (parse_real): Don't unget the separator. Check for end of line before calling eat_line. (read_complex): Allow line-end before and after parenthesis and comma. Check for end of line before calling eat_line. (read_real): Check for end of line before calling eat_line. From-SVN: r170239
2011-02-16re PR libfortran/47757 (Unintentionally? not exported _gfortran_* symbols in ↵Jakub Jelinek2-0/+40
libgfortran.so.3) PR libfortran/47757 * gfortran.map (GFORTRAN_1.4): Export _gfortran_{m,s}i{all,any,parity}_i{1,2,4,8,16} and _gfortran_{cshift0,eoshift{0,2}}_16_char4. * gfortran.dg/pr47757-1.f90: New test. * gfortran.dg/pr47757-2.f90: New test. * gfortran.dg/pr47757-3.f90: New test. From-SVN: r170215
2011-02-15re PR libfortran/47716 (libgfortran quadmath_weak.h not found on NetBSD 5.1)Tobias Burnus3-34/+108
2011-02-15 Tobias Burnus <burnus@net-b.de> PR fortran/47716 PR fortran/47648 * acinclude.m4 (LIBGFOR_CHECK_FLOAT128): Use check from libquadmath, which uses more features. * configure: Regenerate. From-SVN: r170200
2011-02-14re PR fortran/47642 (real(kind=16) - libquadmath - segfault on amd64 FreeBSD)Jakub Jelinek3-5/+15
PR fortran/47642 * libquadmath.texi (quadmath_snprintf): Document. (quadmath_flt128tostr): Remove. * Makefile.am (libquadmath_la_SOURCES): Add printf/*.c. Remove quadmath_io.c, gdtoa/gdtoa.c, gdtoa/g__fmt.c, gdtoa/g_Qfmt.c, gdtoa/dmisc.c and gdtoa/ulp.c. * quadmath.h (quadmath_snprintf): New prototype. (quadmath_flt128tostr): Remove. * quadmath_weak.h (quadmath_snprintf): Add. (quadmath_flt128tostr): Remove. * configure.ac: New AC_CHECK_HEADERS headers: langinfo.h, wchar.h, wctype.h, limits.h, ctype.h, printf.h, errno.h. (AC_USE_SYSTEM_EXTENSIONS): Add. (HAVE_HIDDEN_VISIBILITY, HAVE_PRINTF_HOOKS, USE_LOCALE_SUPPORT, USE_I18N_NUMBER_H): New checks. * quadmath.map (QUADMATH_1.0): Add quadmath_snprintf. Remove quadmath_flt128tostr. * printf/printf_fphex.c: New file. * printf/_itowa.h: New file. * printf/mul_n.c: New file. * printf/quadmath-printf.h: New file. * printf/submul_1.c: New file. * printf/quadmath-printf.c: New file. * printf/gmp-impl.h: New file. * printf/lshift.c: New file. * printf/fpioconst.h: New file. * printf/add_n.c: New file. * printf/cmp.c: New file. * printf/sub_n.c: New file. * printf/mul.c: New file. * printf/divrem.c: New file. * printf/addmul_1.c: New file. * printf/printf_fp.c: New file. * printf/_itoa.h: New file. * printf/fpioconst.c: New file. * printf/_i18n_number.h: New file. * printf/flt1282mpn.c: New file. * printf/rshift.c: New file. * printf/mul_1.c: New file. * quadmath_io.c: Removed. * gdtoa/gdtoa.c: Removed. * gdtoa/g__fmt.c: Removed. * gdtoa/g_Qfmt.c: Removed. * gdtoa/dmisc.c: Removed. * gdtoa/ulp.c: Removed. * config.h.in: Regenerated. * configure: Regenerated. * Makefile.in: Regenerated. * io/write_float.def (DTOAQ): Use quadmath_snprintf instead of quadmath_flt128tostr. * io/transfer128.c (tmp2): Initialize to quadmath_snprintf instead of quadmath_flt128tostr. From-SVN: r170135
2011-02-13Remove freebsd1 from libtool.m4 macros and config.rpath.Ralf Wildenhues4-28/+17
/: Import from Libtool and gnulib: 2011-01-27 Gerald Pfeifer <gerald@pfeifer.com> Prepare for supporting FreeBSD 10. * config.rpath: Remove handling of freebsd1* which soon would match FreeBSD 10.0. 2011-01-20 Gerald Pfeifer <gerald@pfeifer.com> (tiny change) Remove support for FreeBSD 1.x. * libtool.m4 (_LT_LINKER_SHLIBS) (_LT_SYS_DYNAMIC_LINKER): Remove handling of freebsd1* which soon would incorrectly match FreeBSD 10.0. boehm-gc/: * configure: Regenerate. gcc/: * configure: Regenerate. libffi/: * configure: Regenerate. libgfortran/: * Makefile.in: Regenerate. * aclocal.m4: Likewise. * configure: Likewise. libgo/: * config/libtool.m4: (_LT_LINKER_SHLIBS) (_LT_SYS_DYNAMIC_LINKER): Remove handling of freebsd1* which soon would incorrectly match FreeBSD 10.0. * configure: Regenerate. libgomp/: * configure: Regenerate. libjava/: * configure: Regenerate. * shlibpath.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER): Remove handling of freebsd1* which soon would incorrectly match FreeBSD 10.0. libjava/classpath/: * config.rpath, ltcf-c.sh, ltcf-gcj.sh, ltconfig: Remove handling of freebsd1* which soon would match FreeBSD 10.0. * configure: Regenerate. libjava/libltdl/: * acinclude.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) (AC_LIBTOOL_SYS_DYNAMIC_LINKER): Remove handling of freebsd1* which soon would incorrectly match FreeBSD 10.0. * configure: Regenerate. libmudflap/: * configure: Regenerate. libobjc/: * configure: Regenerate. libquadmath/: * Makefile.in: Regenerate. * aclocal.m4: Likewise. * configure: Likewise. libssp/: * Makefile.in: Regenerate. * aclocal.m4: Likewise. * configure: Likewise. libstdc++-v3/: * configure: Regenerate. lto-plugin/: * Makefile.in: Regenerate. * aclocal.m4: Regenerate. * configure: Regenerate. zlib/: * configure: Regenerate. From-SVN: r170106
2011-02-05re PR libfortran/47567 (Wrong output for small absolute values with F editing)Jerry DeLisle2-7/+14
2011-02-05 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/47567 * io/write_float.def (output_float): Eliminate some redundant code. Adjust width for case of F0.X for values of zero and all other values. Expand cases where '*' is set to give cleaner results. From-SVN: r169853
2011-02-05PR 47571 Fix HPUX bootstrap regression, cleanupJanne Blomqvist4-62/+98
From-SVN: r169852
2011-02-02PR 47571 Weakref trickery for clock_gettime()Janne Blomqvist4-13/+42
From-SVN: r169517
2011-02-01Include errno.h needed by fallbacksJanne Blomqvist2-0/+6
From-SVN: r169467
2011-01-31Fix GF_CLOCK_MONOTONIC from r169449Janne Blomqvist2-1/+5
From-SVN: r169450
2011-01-31Use clock_gettime in libgfortran timing intrinsics, cleanupJanne Blomqvist10-174/+257
From-SVN: r169449
2011-01-29re PR libfortran/47434 (Wrong field width for NaN with (F0.n) formatting)Jerry DeLisle2-14/+44
2011-01-29 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/47434 * io/write_float.def (write_infnan): Use calculate_sign to determine if the sign should be given and check field widths accordingly. From-SVN: r169390
2011-01-29ctime.c (ctime_r): Improve implementation.Kai Tietz2-1/+11
2011-01-29 Kai Tietz <kai.tietz@onevision.com> * intrinsics/ctime.c (ctime_r): Improve implementation. From-SVN: r169389
2011-01-27Pr 47431 CTIME/FDATE thread-safety using ctime_r()Janne Blomqvist5-8/+42
From-SVN: r169338
2011-01-27PR 47432 Use ttyname_r() if availableJanne Blomqvist8-32/+72
From-SVN: r169337
2011-01-27PR 47491 getpwuid_r() bootstrap regression on SolarisJanne Blomqvist4-643/+1420
From-SVN: r169334
2011-01-27re PR libfortran/47285 (G format outputs wrong number of characters when ↵Jerry DeLisle2-15/+28
decimal supplied in literal) 2011-01-26 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/47285 * io/write_float.def (output_float): Return SUCCESS or FAILURE and use the result to set the padding. From-SVN: r169320
2011-01-26getlog.c (getlog): Fix label/statement issue.Kai Tietz2-0/+6
2011-01-26 Kai Tietz <kai.tietz@onevision.com> * intrinsics/getlog.c (getlog): Fix label/statement issue. From-SVN: r169279
2011-01-25PR 47375 getlog thread safetyJanne Blomqvist5-12/+40
From-SVN: r169243
2011-01-22PR 46267 strerror thread safetyJanne Blomqvist8-29/+74
From-SVN: r169110
2011-01-17PR47296 Segfault when running out of file descriptorsJanne Blomqvist2-8/+10
From-SVN: r168888
2011-01-16re PR fortran/46625 (libquadmath: Mangle internal symbols; rename __float128 ↵Jakub Jelinek4-19/+22
<-> string functions) PR fortran/46625 * quadmath.map (QUADMATH_1.0): Remove quadmath_strtopQ and quadmath_dtoaq. Add strtoflt128 and quadmath_flt128tostr. * quadmath_weak.h (quadmath_strtopQ, quadmath_dtoaq): Remove. (strtoflt128, quadmath_flt128tostr): Add. * gdtoa/strtopQ.c (quadmath_strtopQ): Rename to... (strtoflt128): ... this. Return __float128, instead of writing to memory pointed by last argument. * quadmath.h: Use C style comments instead of C++ style. (quadmath_strtopQ, quadmath_dtoaq): Remove prototypes. (strtoflt128, quadmath_flt128tostr): Add prototypes. * libquadmath.texi (quadmath_dtoaq): Rename to quadmath_flt128tostr. (quadmath_strtopQ): Rename to strtoflt128. Adjust prototype, adjust examples. * quadmath_io.c (quadmath_dtoaq): Rename to... (quadmath_flt128tostr): ... this. libgfortran/ * io/write_float.def (DTOAQ): Use quadmath_flt128tostr instead of quadmath_dtoa. * io/transfer128.c (tmp1, tmp2): New variables, bring in strtoflt128 and quadmath_flt128tostr. (transfer_real128, transfer_real128_write, transfer_complex128, transfer_complex128_write): Remove tmp1/tmp2 variables. * io/read.c (convert_real): Use strtoflt128 instead of quadmath_strtopQ, adjust for the changed arguments and return value. From-SVN: r168856
2011-01-15re PR fortran/47296 (I/O Segfault when running out of file descriptors)Jerry DeLisle2-0/+8
2011-01-14 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/47296 * io/unix.c (unpack_filename): Return non-zero if the filename passed in is NULL. From-SVN: r168832
2011-01-05re PR libfortran/47154 (END= does not work in namelist read)Jerry DeLisle2-12/+14
2011-01-04 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/47154 * io/list_read.c (namelist_read): Remove calls to hit_eof to avoid the duplicate calls via next_record. From-SVN: r168502
2011-01-03Update Copyright years for files modified in 2010.Jakub Jelinek52-52/+59
From-SVN: r168438
2011-01-02Rotate ChangeLogs.H.J. Lu2-1008/+1014
From-SVN: r168399
2010-12-10re PR fortran/46540 (libquadmath: Implement --disable-libquadmath)Tobias Burnus4-7/+63
/ 2010-12-10 Tobias Burnus <burnus@net-b.de> PR fortran/46540 * configure.ac: Add --disable-libquadmath and --disable-libquadmath-support. * configure: Regenerate. gcc/ 2010-12-10 Tobias Burnus <burnus@net-b.de> PR fortran/46540 * configure.ac: Handle --disable-libquadmath-support. * doc/install.texi: Document --disable-libquadmath and --disable-libquadmath-support * configure: Regenerate. * config.in: Regenerate. gcc/fortran/ 2010-12-10 Tobias Burnus <burnus@net-b.de> PR fortran/46540 * trans-types.c (gfc_init_kinds): Handle --disable-libquadmath-support. libgfortran/ 2010-12-10 Tobias Burnus <burnus@net-b.de> PR fortran/46540 * acinclude.m4 (LIBGFOR_CHECK_FLOAT128): Honour --disable-libquadmath-support. * configure.ac: Handle --disable-libquadmath-support. * configure: Regenerate. From-SVN: r167684
2010-12-06re PR target/40125 (libgcc_s DLL installed in wrong directory in cross ↵Dave Korn6-13/+51
toolchain) config/ChangeLog: 2010-12-06 Dave Korn <dave.korn.cygwin@gmail.com> PR target/40125 PR lto/46695 * lthostflags.m4: New file. (ACX_LT_HOST_FLAGS): Define. libgfortran/ChangeLog: 2010-12-06 Dave Korn <dave.korn.cygwin@gmail.com> PR target/40125 PR lto/46695 * configure.ac: Invoke ACX_LT_HOST_FLAGS. * Makefile.am (LTLDFLAGS): Use lt_host_flags. * aclocal.m4: Regenerate. * configure: Regenerate. * Makefile.in: Regenerate. libgomp/ChangeLog: 2010-12-06 Dave Korn <dave.korn.cygwin@gmail.com> PR target/40125 PR lto/46695 * configure.ac: Invoke ACX_LT_HOST_FLAGS. * Makefile.am (libgomp_la_LDFLAGS): Use lt_host_flags. * aclocal.m4: Regenerate. * configure: Regenerate. * Makefile.in: Regenerate. * testsuite/Makefile.in: Regenerate. libjava/ChangeLog: 2010-12-06 Dave Korn <dave.korn.cygwin@gmail.com> PR target/40125 PR lto/46695 * configure.ac: Invoke ACX_LT_HOST_FLAGS. * configure.host (libgcj_sublib_ltflags): Use lt_host_flags. * aclocal.m4: Regenerate. * configure: Regenerate. * Makefile.in: Regenerate. * gcj/Makefile.in: Regenerate. * include/Makefile.in: Regenerate. * testsuite/Makefile.in: Regenerate. libobjc/ChangeLog: 2010-12-06 Dave Korn <dave.korn.cygwin@gmail.com> PR target/40125 PR lto/46695 * configure.ac (extra_ldflags_libobjc): Invoke ACX_LT_HOST_FLAGS. * Makefile.in (lt_host_flags): Import AC_SUBST'd value. * aclocal.m4: Regenerate. * configure: Regenerate. libquadmath/ChangeLog: 2010-12-06 Dave Korn <dave.korn.cygwin@gmail.com> PR target/40125 PR lto/46695 * configure.ac: Invoke ACX_LT_HOST_FLAGS. * Makefile.am (libquadmath_la_LDFLAGS): Use lt_host_flags. * aclocal.m4: Regenerate. * configure: Regenerate. * Makefile.in: Regenerate. libssp/ChangeLog: 2010-12-06 Dave Korn <dave.korn.cygwin@gmail.com> PR target/40125 PR lto/46695 * configure.ac: Invoke ACX_LT_HOST_FLAGS. * Makefile.am (libssp_la_LDFLAGS): Use lt_host_flags. * aclocal.m4: Regenerate. * configure: Regenerate. * Makefile.in: Regenerate. libstdc++-v3/ChangeLog: 2010-12-06 Dave Korn <dave.korn.cygwin@gmail.com> PR target/40125 PR lto/46695 * configure.ac: Invoke ACX_LT_HOST_FLAGS. * configure.host (OPT_LDFLAGS): Use lt_host_flags for cygming. * aclocal.m4: Regenerate. * configure: Regenerate. * Makefile.in: Regenerate. * doc/Makefile.in: Regenerate. * include/Makefile.in: Regenerate. * libsupc++/Makefile.in: Regenerate. * po/Makefile.in: Regenerate. * python/Makefile.in: Regenerate. * src/Makefile.in: Regenerate. * testsuite/Makefile.in: Regenerate. lto-plugin/ChangeLog: 2010-12-06 Dave Korn <dave.korn.cygwin@gmail.com> PR target/40125 PR lto/46695 * configure.ac: Invoke ACX_LT_HOST_FLAGS. * Makefile.am (liblto_plugin_la_LDFLAGS): Use lt_host_flags but override -bindir setting. * aclocal.m4: Regenerate. * configure: Regenerate. * Makefile.in: Regenerate. From-SVN: r167480
2010-11-16re PR fortran/32049 (Support on x86_64 also kind=16)Francois-Xavier Coudert40-111/+891
/ 2010-11-13 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> Tobias Burnus <burnus@net-b.de> PR fortran/32049 * Makefile.def: Add libquadmath; build it with language=fortran. * configure.ac: Add libquadmath. * Makefile.tpl: Handle multiple libs in check-[+language+]. * Makefile.in: Regenerate. * configure: Regenerate. libquadmath/ 2010-11-13 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> Tobias Burnus <burnus@net-b.de> PR fortran/32049 Initial implementation and checkin. gcc/fortran/ 2010-11-13 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> Tobias Burnus <burnus@net-b.de> PR fortran/32049 * gfortranspec.c (find_spec_file): New function. (lang_specific_driver): Try to find .spec file and use it. * trans-io.c (iocall): Define * IOCALL_X_REAL128/COMPLEX128(,write). (gfc_build_io_library_fndecls): Build decl for __float128 I/O. (transfer_expr): Call __float128 I/O functions. * trans-types.c (gfc_init_kinds): Allow kind-16 belonging to __float128. gcc/testsuite/ 2010-11-13 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> Tobias Burnus <burnus@net-b.de> PR fortran/32049 * gfortran.dg/quad_1.f90: New. * lib/gcc-defs.exp (gcc-set-multilib-library-path): Use also compiler arguments. * lib/gfortran.exp (gfortran_link_flags): Add libquadmath to library search path; call gcc-set-multilib-library-path with arguments such that libgfortran.spec is found. (gfortran_init): Add path for libgfortran.spec to GFORTRAN_UNDER_TEST. libgomp/ 2010-11-13 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> Tobias Burnus <burnus@net-b.de> PR fortran/32049 * configure.ac: * configure: Regenerate. libgfortran/ 2010-11-13 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> Tobias Burnus <burnus@net-b.de> PR fortran/32049 * Makefile.am: Add missing pow_r16_i4.c, add transfer128.c, link libquadmath, if used. * acinclude.m4 (LIBGFOR_CHECK_FLOAT128): Add. * configure.ac: Use it, touch spec file. * gfortran.map: Add pow_r16_i4 and transfer_(real,complex)128(,write) functions. * intrinsics/cshift0.c (cshift0): Handle __float128 type. * intrinsics/erfc_scaled_inc.c: Ditto. * intrinsics/pack_generic.c (pack): Ditto * intrinsics/spread_generic.c (spread): Ditto. * intrinsics/unpack_generic.c (unpack1): Ditto. * io/read.c (convert_real): Ditto. * io/transfer.c: Update comments. * io/transfer128.c: New file. * io/write_float.def (write_float): Handle __float128 type. * libgfortran.h: #include quadmath_weak.h, define __builtin_infq and nanq. * m4/mtype.m4: Handle __float128 type. * runtime/in_pack_generic.c (internal_pack): Ditto. * runtime/in_unpack_generic.c (internal_unpack): Ditto. * kinds-override.h: New file. * libgfortran.spec.in: Ditto. * generated/pow_r16_i4.c: Generated. * Makefile.in: Regenerate. * configure: Regenerate. * config.h: Regenerate. * bessel_r10.c: Regenerate. * bessel_r16.c: Regenerate. * bessel_r4.c: Regenerate. * bessel_r8.c: Regenerate. * exponent_r16.c: Regenerate. * fraction_r16.c: Regenerate. * nearest_r16.c: Regenerate. * norm2_r10.c: Regenerate. * norm2_r16.c: Regenerate. * norm2_r4.c: Regenerate. * norm2_r8.c: Regenerate. * rrspacing_r16.c: Regenerate. * set_exponent_r16.c: Regenerate. * spacing_r16.c: Regenerate. Co-Authored-By: Tobias Burnus <burnus@net-b.de> From-SVN: r166825
2010-11-09Cache stat values, reduce syscallsJanne Blomqvist2-18/+44
From-SVN: r166502
2010-11-09re PR libfortran/46373 (fflush called when reading from a string)Jerry DeLisle2-1/+8
2010-11-09 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/46373 * io/transfer.c (data_transfer_init): Do not call flush_if_preconnected if this is an internal unit. From-SVN: r166490
2010-11-04PR 44931 Move struct unix_stream to unix.cJanne Blomqvist4-25/+38
From-SVN: r166325
2010-11-04Remove prot from unix_streamJanne Blomqvist3-34/+16
From-SVN: r166284
2010-11-03Remove unused empty_internal_buffer functionJanne Blomqvist3-12/+5
From-SVN: r166276
2010-11-03re PR fortran/43899 (Wrong unused-variable warning with NAMELISTs)Jerry DeLisle4-2/+40
2010-11-03 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/43899 * runtime/error.c (generate_warning): New function to generate a run time warning message. Fix some whitespace. * libgfortran.h: Add prototype for new function. * io/list_read.c (nml_read_obj): Use new function to warn when a character namelist object is truncated. Only warn if compiled with -fbounds-check. From-SVN: r166252
2010-11-02PR 45629 Remove usage of setjmp/longjmpJanne Blomqvist4-179/+274
From-SVN: r166180
2010-10-26re PR fortran/46010 (I/O: Namelist-reading bug)Jerry DeLisle3-5/+14
2010-10-26 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/46010 * io/list_read.c (nml_parse_qualifier): Add additional conditions for setting the end index for loop specification. Fix some whitespace. * io/write.c (write_default_char4): Const-ify the source argument. From-SVN: r165979
2010-10-21re PR fortran/46007 (wrong code for SHAPE in a scalarized loop)Thomas Koenig5-4/+53
2010-10-21 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/46007 * m4/shape.m4 (shape_'rtype_kind`): Use variable for rank. Allocate return array if unallocated. * generated/shape_i4.c: Regenerated. * generated/shape_i8.c: Regenerated. * generated/shape_i16.c: Regenerated. 2010-10-21 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/46007 * gfortran.dg/shape_5.f90: New test case. From-SVN: r165770
2010-10-21re PR fortran/46079 (ABI for empty stop statement broken)Jerry DeLisle3-1/+29
2010-10-20 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/46079 * runtime/stop.c (stop_numeric_f08): New function. (stop_numeric): Restore to previous behavior. * gfortran.map: Add symbol _gfortran_stop_numeric_f08. 2010-10-20 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/46079 * trans_stmt.c (gfc_trans_stop): Fix whitespace. Build a call to new F08 numeric stop function. * trans.h: Add declaration for gfor_fndecl_stop_numeric_f08. * trans-decl.c (gfc_build_builtin_function_decls): Build declaration for stop_numeric_f08. From-SVN: r165746