aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.7/libgfortran
diff options
context:
space:
mode:
authorBen Cheng <bccheng@google.com>2012-10-01 10:30:31 -0700
committerBen Cheng <bccheng@google.com>2012-10-01 10:30:31 -0700
commit82bcbebce43f0227f506d75a5b764b6847041bae (patch)
treefe9f8597b48a430c4daeb5123e3e8eb28e6f9da9 /gcc-4.7/libgfortran
parent3c052de3bb16ac53b6b6ed659ec7557eb84c7590 (diff)
downloadtoolchain_gcc-82bcbebce43f0227f506d75a5b764b6847041bae.tar.gz
toolchain_gcc-82bcbebce43f0227f506d75a5b764b6847041bae.tar.bz2
toolchain_gcc-82bcbebce43f0227f506d75a5b764b6847041bae.zip
Initial check-in of gcc 4.7.2.
Change-Id: I4a2f5a921c21741a0e18bda986d77e5f1bef0365
Diffstat (limited to 'gcc-4.7/libgfortran')
-rw-r--r--gcc-4.7/libgfortran/ChangeLog107
-rw-r--r--gcc-4.7/libgfortran/ChangeLog-200267
-rw-r--r--gcc-4.7/libgfortran/ChangeLog-2003549
-rw-r--r--gcc-4.7/libgfortran/ChangeLog-20041111
-rw-r--r--gcc-4.7/libgfortran/ChangeLog-20052922
-rw-r--r--gcc-4.7/libgfortran/ChangeLog-20061641
-rw-r--r--gcc-4.7/libgfortran/ChangeLog-20072487
-rw-r--r--gcc-4.7/libgfortran/ChangeLog-20082532
-rw-r--r--gcc-4.7/libgfortran/ChangeLog-20092502
-rw-r--r--gcc-4.7/libgfortran/ChangeLog-20101013
-rw-r--r--gcc-4.7/libgfortran/ChangeLog-20111485
-rw-r--r--gcc-4.7/libgfortran/Makefile.am1003
-rw-r--r--gcc-4.7/libgfortran/Makefile.in6051
-rw-r--r--gcc-4.7/libgfortran/acinclude.m4363
-rw-r--r--gcc-4.7/libgfortran/aclocal.m41017
-rw-r--r--gcc-4.7/libgfortran/c99_protos.h633
-rw-r--r--gcc-4.7/libgfortran/caf/libcaf.h88
-rw-r--r--gcc-4.7/libgfortran/caf/mpi.c367
-rw-r--r--gcc-4.7/libgfortran/caf/single.c191
-rw-r--r--gcc-4.7/libgfortran/config.h.in924
-rw-r--r--gcc-4.7/libgfortran/config/fpu-387.h136
-rw-r--r--gcc-4.7/libgfortran/config/fpu-aix.h83
-rw-r--r--gcc-4.7/libgfortran/config/fpu-generic.h52
-rw-r--r--gcc-4.7/libgfortran/config/fpu-glibc.h87
-rw-r--r--gcc-4.7/libgfortran/config/fpu-sysv.h82
-rwxr-xr-xgcc-4.7/libgfortran/configure28867
-rw-r--r--gcc-4.7/libgfortran/configure.ac570
-rw-r--r--gcc-4.7/libgfortran/configure.host47
-rw-r--r--gcc-4.7/libgfortran/fmain.c24
-rw-r--r--gcc-4.7/libgfortran/generated/_abs_c10.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_abs_c16.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_abs_c4.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_abs_c8.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_abs_i16.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_abs_i4.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_abs_i8.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_abs_r10.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_abs_r16.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_abs_r4.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_abs_r8.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_acos_r10.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_acos_r16.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_acos_r4.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_acos_r8.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_acosh_r10.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_acosh_r16.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_acosh_r4.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_acosh_r8.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_aimag_c10.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_aimag_c16.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_aimag_c4.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_aimag_c8.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_aint_r10.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_aint_r16.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_aint_r4.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_aint_r8.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_anint_r10.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_anint_r16.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_anint_r4.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_anint_r8.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_asin_r10.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_asin_r16.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_asin_r4.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_asin_r8.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_asinh_r10.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_asinh_r16.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_asinh_r4.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_asinh_r8.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_atan2_r10.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_atan2_r16.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_atan2_r4.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_atan2_r8.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_atan_r10.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_atan_r16.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_atan_r4.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_atan_r8.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_atanh_r10.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_atanh_r16.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_atanh_r4.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_atanh_r8.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_conjg_c10.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_conjg_c16.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_conjg_c4.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_conjg_c8.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_cos_c10.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_cos_c16.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_cos_c4.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_cos_c8.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_cos_r10.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_cos_r16.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_cos_r4.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_cos_r8.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_cosh_r10.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_cosh_r16.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_cosh_r4.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_cosh_r8.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_dim_i16.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_dim_i4.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_dim_i8.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_dim_r10.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_dim_r16.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_dim_r4.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_dim_r8.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_exp_c10.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_exp_c16.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_exp_c4.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_exp_c8.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_exp_r10.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_exp_r16.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_exp_r4.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_exp_r8.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_log10_r10.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_log10_r16.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_log10_r4.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_log10_r8.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_log_c10.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_log_c16.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_log_c4.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_log_c8.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_log_r10.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_log_r16.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_log_r4.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_log_r8.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_mod_i16.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_mod_i4.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_mod_i8.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_mod_r10.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_mod_r16.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_mod_r4.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_mod_r8.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_sign_i16.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_sign_i4.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_sign_i8.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_sign_r10.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_sign_r16.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_sign_r4.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_sign_r8.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_sin_c10.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_sin_c16.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_sin_c4.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_sin_c8.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_sin_r10.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_sin_r16.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_sin_r4.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_sin_r8.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_sinh_r10.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_sinh_r16.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_sinh_r4.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_sinh_r8.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_sqrt_c10.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_sqrt_c16.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_sqrt_c4.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_sqrt_c8.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_sqrt_r10.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_sqrt_r16.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_sqrt_r4.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_sqrt_r8.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_tan_r10.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_tan_r16.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_tan_r4.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_tan_r8.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_tanh_r10.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_tanh_r16.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_tanh_r4.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/_tanh_r8.F9046
-rw-r--r--gcc-4.7/libgfortran/generated/all_l1.c221
-rw-r--r--gcc-4.7/libgfortran/generated/all_l16.c221
-rw-r--r--gcc-4.7/libgfortran/generated/all_l2.c221
-rw-r--r--gcc-4.7/libgfortran/generated/all_l4.c221
-rw-r--r--gcc-4.7/libgfortran/generated/all_l8.c221
-rw-r--r--gcc-4.7/libgfortran/generated/any_l1.c221
-rw-r--r--gcc-4.7/libgfortran/generated/any_l16.c221
-rw-r--r--gcc-4.7/libgfortran/generated/any_l2.c221
-rw-r--r--gcc-4.7/libgfortran/generated/any_l4.c221
-rw-r--r--gcc-4.7/libgfortran/generated/any_l8.c221
-rw-r--r--gcc-4.7/libgfortran/generated/bessel_r10.c186
-rw-r--r--gcc-4.7/libgfortran/generated/bessel_r16.c190
-rw-r--r--gcc-4.7/libgfortran/generated/bessel_r4.c186
-rw-r--r--gcc-4.7/libgfortran/generated/bessel_r8.c186
-rw-r--r--gcc-4.7/libgfortran/generated/count_16_l.c217
-rw-r--r--gcc-4.7/libgfortran/generated/count_1_l.c217
-rw-r--r--gcc-4.7/libgfortran/generated/count_2_l.c217
-rw-r--r--gcc-4.7/libgfortran/generated/count_4_l.c217
-rw-r--r--gcc-4.7/libgfortran/generated/count_8_l.c217
-rw-r--r--gcc-4.7/libgfortran/generated/cshift0_c10.c171
-rw-r--r--gcc-4.7/libgfortran/generated/cshift0_c16.c171
-rw-r--r--gcc-4.7/libgfortran/generated/cshift0_c4.c171
-rw-r--r--gcc-4.7/libgfortran/generated/cshift0_c8.c171
-rw-r--r--gcc-4.7/libgfortran/generated/cshift0_i1.c171
-rw-r--r--gcc-4.7/libgfortran/generated/cshift0_i16.c171
-rw-r--r--gcc-4.7/libgfortran/generated/cshift0_i2.c171
-rw-r--r--gcc-4.7/libgfortran/generated/cshift0_i4.c171
-rw-r--r--gcc-4.7/libgfortran/generated/cshift0_i8.c171
-rw-r--r--gcc-4.7/libgfortran/generated/cshift0_r10.c171
-rw-r--r--gcc-4.7/libgfortran/generated/cshift0_r16.c171
-rw-r--r--gcc-4.7/libgfortran/generated/cshift0_r4.c171
-rw-r--r--gcc-4.7/libgfortran/generated/cshift0_r8.c171
-rw-r--r--gcc-4.7/libgfortran/generated/cshift1_16.c273
-rw-r--r--gcc-4.7/libgfortran/generated/cshift1_4.c273
-rw-r--r--gcc-4.7/libgfortran/generated/cshift1_8.c273
-rw-r--r--gcc-4.7/libgfortran/generated/eoshift1_16.c316
-rw-r--r--gcc-4.7/libgfortran/generated/eoshift1_4.c316
-rw-r--r--gcc-4.7/libgfortran/generated/eoshift1_8.c316
-rw-r--r--gcc-4.7/libgfortran/generated/eoshift3_16.c335
-rw-r--r--gcc-4.7/libgfortran/generated/eoshift3_4.c335
-rw-r--r--gcc-4.7/libgfortran/generated/eoshift3_8.c335
-rw-r--r--gcc-4.7/libgfortran/generated/exponent_r10.c45
-rw-r--r--gcc-4.7/libgfortran/generated/exponent_r16.c49
-rw-r--r--gcc-4.7/libgfortran/generated/exponent_r4.c45
-rw-r--r--gcc-4.7/libgfortran/generated/exponent_r8.c45
-rw-r--r--gcc-4.7/libgfortran/generated/fraction_r10.c44
-rw-r--r--gcc-4.7/libgfortran/generated/fraction_r16.c48
-rw-r--r--gcc-4.7/libgfortran/generated/fraction_r4.c44
-rw-r--r--gcc-4.7/libgfortran/generated/fraction_r8.c44
-rw-r--r--gcc-4.7/libgfortran/generated/iall_i1.c509
-rw-r--r--gcc-4.7/libgfortran/generated/iall_i16.c509
-rw-r--r--gcc-4.7/libgfortran/generated/iall_i2.c509
-rw-r--r--gcc-4.7/libgfortran/generated/iall_i4.c509
-rw-r--r--gcc-4.7/libgfortran/generated/iall_i8.c509
-rw-r--r--gcc-4.7/libgfortran/generated/iany_i1.c509
-rw-r--r--gcc-4.7/libgfortran/generated/iany_i16.c509
-rw-r--r--gcc-4.7/libgfortran/generated/iany_i2.c509
-rw-r--r--gcc-4.7/libgfortran/generated/iany_i4.c509
-rw-r--r--gcc-4.7/libgfortran/generated/iany_i8.c509
-rw-r--r--gcc-4.7/libgfortran/generated/in_pack_c10.c119
-rw-r--r--gcc-4.7/libgfortran/generated/in_pack_c16.c119
-rw-r--r--gcc-4.7/libgfortran/generated/in_pack_c4.c119
-rw-r--r--gcc-4.7/libgfortran/generated/in_pack_c8.c119
-rw-r--r--gcc-4.7/libgfortran/generated/in_pack_i1.c119
-rw-r--r--gcc-4.7/libgfortran/generated/in_pack_i16.c119
-rw-r--r--gcc-4.7/libgfortran/generated/in_pack_i2.c119
-rw-r--r--gcc-4.7/libgfortran/generated/in_pack_i4.c119
-rw-r--r--gcc-4.7/libgfortran/generated/in_pack_i8.c119
-rw-r--r--gcc-4.7/libgfortran/generated/in_pack_r10.c119
-rw-r--r--gcc-4.7/libgfortran/generated/in_pack_r16.c119
-rw-r--r--gcc-4.7/libgfortran/generated/in_pack_r4.c119
-rw-r--r--gcc-4.7/libgfortran/generated/in_pack_r8.c119
-rw-r--r--gcc-4.7/libgfortran/generated/in_unpack_c10.c107
-rw-r--r--gcc-4.7/libgfortran/generated/in_unpack_c16.c107
-rw-r--r--gcc-4.7/libgfortran/generated/in_unpack_c4.c107
-rw-r--r--gcc-4.7/libgfortran/generated/in_unpack_c8.c107
-rw-r--r--gcc-4.7/libgfortran/generated/in_unpack_i1.c107
-rw-r--r--gcc-4.7/libgfortran/generated/in_unpack_i16.c107
-rw-r--r--gcc-4.7/libgfortran/generated/in_unpack_i2.c107
-rw-r--r--gcc-4.7/libgfortran/generated/in_unpack_i4.c107
-rw-r--r--gcc-4.7/libgfortran/generated/in_unpack_i8.c107
-rw-r--r--gcc-4.7/libgfortran/generated/in_unpack_r10.c107
-rw-r--r--gcc-4.7/libgfortran/generated/in_unpack_r16.c107
-rw-r--r--gcc-4.7/libgfortran/generated/in_unpack_r4.c107
-rw-r--r--gcc-4.7/libgfortran/generated/in_unpack_r8.c107
-rw-r--r--gcc-4.7/libgfortran/generated/iparity_i1.c509
-rw-r--r--gcc-4.7/libgfortran/generated/iparity_i16.c509
-rw-r--r--gcc-4.7/libgfortran/generated/iparity_i2.c509
-rw-r--r--gcc-4.7/libgfortran/generated/iparity_i4.c509
-rw-r--r--gcc-4.7/libgfortran/generated/iparity_i8.c509
-rw-r--r--gcc-4.7/libgfortran/generated/matmul_c10.c376
-rw-r--r--gcc-4.7/libgfortran/generated/matmul_c16.c376
-rw-r--r--gcc-4.7/libgfortran/generated/matmul_c4.c376
-rw-r--r--gcc-4.7/libgfortran/generated/matmul_c8.c376
-rw-r--r--gcc-4.7/libgfortran/generated/matmul_i1.c376
-rw-r--r--gcc-4.7/libgfortran/generated/matmul_i16.c376
-rw-r--r--gcc-4.7/libgfortran/generated/matmul_i2.c376
-rw-r--r--gcc-4.7/libgfortran/generated/matmul_i4.c376
-rw-r--r--gcc-4.7/libgfortran/generated/matmul_i8.c376
-rw-r--r--gcc-4.7/libgfortran/generated/matmul_l16.c239
-rw-r--r--gcc-4.7/libgfortran/generated/matmul_l4.c239
-rw-r--r--gcc-4.7/libgfortran/generated/matmul_l8.c239
-rw-r--r--gcc-4.7/libgfortran/generated/matmul_r10.c376
-rw-r--r--gcc-4.7/libgfortran/generated/matmul_r16.c376
-rw-r--r--gcc-4.7/libgfortran/generated/matmul_r4.c376
-rw-r--r--gcc-4.7/libgfortran/generated/matmul_r8.c376
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc0_16_i1.c383
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc0_16_i16.c383
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc0_16_i2.c383
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc0_16_i4.c383
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc0_16_i8.c383
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc0_16_r10.c383
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc0_16_r16.c383
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc0_16_r4.c383
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc0_16_r8.c383
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc0_4_i1.c383
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc0_4_i16.c383
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc0_4_i2.c383
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc0_4_i4.c383
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc0_4_i8.c383
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc0_4_r10.c383
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc0_4_r16.c383
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc0_4_r4.c383
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc0_4_r8.c383
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc0_8_i1.c383
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc0_8_i16.c383
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc0_8_i2.c383
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc0_8_i4.c383
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc0_8_i8.c383
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc0_8_r10.c383
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc0_8_r16.c383
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc0_8_r4.c383
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc0_8_r8.c383
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc1_16_i1.c563
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc1_16_i16.c563
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc1_16_i2.c563
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc1_16_i4.c563
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc1_16_i8.c563
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc1_16_r10.c563
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc1_16_r16.c563
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc1_16_r4.c563
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc1_16_r8.c563
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc1_4_i1.c563
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc1_4_i16.c563
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc1_4_i2.c563
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc1_4_i4.c563
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc1_4_i8.c563
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc1_4_r10.c563
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc1_4_r16.c563
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc1_4_r4.c563
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc1_4_r8.c563
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc1_8_i1.c563
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc1_8_i16.c563
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc1_8_i2.c563
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc1_8_i4.c563
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc1_8_i8.c563
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc1_8_r10.c563
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc1_8_r16.c563
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc1_8_r4.c563
-rw-r--r--gcc-4.7/libgfortran/generated/maxloc1_8_r8.c563
-rw-r--r--gcc-4.7/libgfortran/generated/maxval_i1.c550
-rw-r--r--gcc-4.7/libgfortran/generated/maxval_i16.c550
-rw-r--r--gcc-4.7/libgfortran/generated/maxval_i2.c550
-rw-r--r--gcc-4.7/libgfortran/generated/maxval_i4.c550
-rw-r--r--gcc-4.7/libgfortran/generated/maxval_i8.c550
-rw-r--r--gcc-4.7/libgfortran/generated/maxval_r10.c550
-rw-r--r--gcc-4.7/libgfortran/generated/maxval_r16.c550
-rw-r--r--gcc-4.7/libgfortran/generated/maxval_r4.c550
-rw-r--r--gcc-4.7/libgfortran/generated/maxval_r8.c550
-rw-r--r--gcc-4.7/libgfortran/generated/minloc0_16_i1.c383
-rw-r--r--gcc-4.7/libgfortran/generated/minloc0_16_i16.c383
-rw-r--r--gcc-4.7/libgfortran/generated/minloc0_16_i2.c383
-rw-r--r--gcc-4.7/libgfortran/generated/minloc0_16_i4.c383
-rw-r--r--gcc-4.7/libgfortran/generated/minloc0_16_i8.c383
-rw-r--r--gcc-4.7/libgfortran/generated/minloc0_16_r10.c383
-rw-r--r--gcc-4.7/libgfortran/generated/minloc0_16_r16.c383
-rw-r--r--gcc-4.7/libgfortran/generated/minloc0_16_r4.c383
-rw-r--r--gcc-4.7/libgfortran/generated/minloc0_16_r8.c383
-rw-r--r--gcc-4.7/libgfortran/generated/minloc0_4_i1.c383
-rw-r--r--gcc-4.7/libgfortran/generated/minloc0_4_i16.c383
-rw-r--r--gcc-4.7/libgfortran/generated/minloc0_4_i2.c383
-rw-r--r--gcc-4.7/libgfortran/generated/minloc0_4_i4.c383
-rw-r--r--gcc-4.7/libgfortran/generated/minloc0_4_i8.c383
-rw-r--r--gcc-4.7/libgfortran/generated/minloc0_4_r10.c383
-rw-r--r--gcc-4.7/libgfortran/generated/minloc0_4_r16.c383
-rw-r--r--gcc-4.7/libgfortran/generated/minloc0_4_r4.c383
-rw-r--r--gcc-4.7/libgfortran/generated/minloc0_4_r8.c383
-rw-r--r--gcc-4.7/libgfortran/generated/minloc0_8_i1.c383
-rw-r--r--gcc-4.7/libgfortran/generated/minloc0_8_i16.c383
-rw-r--r--gcc-4.7/libgfortran/generated/minloc0_8_i2.c383
-rw-r--r--gcc-4.7/libgfortran/generated/minloc0_8_i4.c383
-rw-r--r--gcc-4.7/libgfortran/generated/minloc0_8_i8.c383
-rw-r--r--gcc-4.7/libgfortran/generated/minloc0_8_r10.c383
-rw-r--r--gcc-4.7/libgfortran/generated/minloc0_8_r16.c383
-rw-r--r--gcc-4.7/libgfortran/generated/minloc0_8_r4.c383
-rw-r--r--gcc-4.7/libgfortran/generated/minloc0_8_r8.c383
-rw-r--r--gcc-4.7/libgfortran/generated/minloc1_16_i1.c563
-rw-r--r--gcc-4.7/libgfortran/generated/minloc1_16_i16.c563
-rw-r--r--gcc-4.7/libgfortran/generated/minloc1_16_i2.c563
-rw-r--r--gcc-4.7/libgfortran/generated/minloc1_16_i4.c563
-rw-r--r--gcc-4.7/libgfortran/generated/minloc1_16_i8.c563
-rw-r--r--gcc-4.7/libgfortran/generated/minloc1_16_r10.c563
-rw-r--r--gcc-4.7/libgfortran/generated/minloc1_16_r16.c563
-rw-r--r--gcc-4.7/libgfortran/generated/minloc1_16_r4.c563
-rw-r--r--gcc-4.7/libgfortran/generated/minloc1_16_r8.c563
-rw-r--r--gcc-4.7/libgfortran/generated/minloc1_4_i1.c563
-rw-r--r--gcc-4.7/libgfortran/generated/minloc1_4_i16.c563
-rw-r--r--gcc-4.7/libgfortran/generated/minloc1_4_i2.c563
-rw-r--r--gcc-4.7/libgfortran/generated/minloc1_4_i4.c563
-rw-r--r--gcc-4.7/libgfortran/generated/minloc1_4_i8.c563
-rw-r--r--gcc-4.7/libgfortran/generated/minloc1_4_r10.c563
-rw-r--r--gcc-4.7/libgfortran/generated/minloc1_4_r16.c563
-rw-r--r--gcc-4.7/libgfortran/generated/minloc1_4_r4.c563
-rw-r--r--gcc-4.7/libgfortran/generated/minloc1_4_r8.c563
-rw-r--r--gcc-4.7/libgfortran/generated/minloc1_8_i1.c563
-rw-r--r--gcc-4.7/libgfortran/generated/minloc1_8_i16.c563
-rw-r--r--gcc-4.7/libgfortran/generated/minloc1_8_i2.c563
-rw-r--r--gcc-4.7/libgfortran/generated/minloc1_8_i4.c563
-rw-r--r--gcc-4.7/libgfortran/generated/minloc1_8_i8.c563
-rw-r--r--gcc-4.7/libgfortran/generated/minloc1_8_r10.c563
-rw-r--r--gcc-4.7/libgfortran/generated/minloc1_8_r16.c563
-rw-r--r--gcc-4.7/libgfortran/generated/minloc1_8_r4.c563
-rw-r--r--gcc-4.7/libgfortran/generated/minloc1_8_r8.c563
-rw-r--r--gcc-4.7/libgfortran/generated/minval_i1.c550
-rw-r--r--gcc-4.7/libgfortran/generated/minval_i16.c550
-rw-r--r--gcc-4.7/libgfortran/generated/minval_i2.c550
-rw-r--r--gcc-4.7/libgfortran/generated/minval_i4.c550
-rw-r--r--gcc-4.7/libgfortran/generated/minval_i8.c550
-rw-r--r--gcc-4.7/libgfortran/generated/minval_r10.c550
-rw-r--r--gcc-4.7/libgfortran/generated/minval_r16.c550
-rw-r--r--gcc-4.7/libgfortran/generated/minval_r4.c550
-rw-r--r--gcc-4.7/libgfortran/generated/minval_r8.c550
-rw-r--r--gcc-4.7/libgfortran/generated/misc_specifics.F90206
-rw-r--r--gcc-4.7/libgfortran/generated/nearest_r10.c51
-rw-r--r--gcc-4.7/libgfortran/generated/nearest_r16.c55
-rw-r--r--gcc-4.7/libgfortran/generated/nearest_r4.c51
-rw-r--r--gcc-4.7/libgfortran/generated/nearest_r8.c51
-rw-r--r--gcc-4.7/libgfortran/generated/norm2_r10.c211
-rw-r--r--gcc-4.7/libgfortran/generated/norm2_r16.c215
-rw-r--r--gcc-4.7/libgfortran/generated/norm2_r4.c211
-rw-r--r--gcc-4.7/libgfortran/generated/norm2_r8.c211
-rw-r--r--gcc-4.7/libgfortran/generated/pack_c10.c259
-rw-r--r--gcc-4.7/libgfortran/generated/pack_c16.c259
-rw-r--r--gcc-4.7/libgfortran/generated/pack_c4.c259
-rw-r--r--gcc-4.7/libgfortran/generated/pack_c8.c259
-rw-r--r--gcc-4.7/libgfortran/generated/pack_i1.c259
-rw-r--r--gcc-4.7/libgfortran/generated/pack_i16.c259
-rw-r--r--gcc-4.7/libgfortran/generated/pack_i2.c259
-rw-r--r--gcc-4.7/libgfortran/generated/pack_i4.c259
-rw-r--r--gcc-4.7/libgfortran/generated/pack_i8.c259
-rw-r--r--gcc-4.7/libgfortran/generated/pack_r10.c259
-rw-r--r--gcc-4.7/libgfortran/generated/pack_r16.c259
-rw-r--r--gcc-4.7/libgfortran/generated/pack_r4.c259
-rw-r--r--gcc-4.7/libgfortran/generated/pack_r8.c259
-rw-r--r--gcc-4.7/libgfortran/generated/parity_l1.c191
-rw-r--r--gcc-4.7/libgfortran/generated/parity_l16.c191
-rw-r--r--gcc-4.7/libgfortran/generated/parity_l2.c191
-rw-r--r--gcc-4.7/libgfortran/generated/parity_l4.c191
-rw-r--r--gcc-4.7/libgfortran/generated/parity_l8.c191
-rw-r--r--gcc-4.7/libgfortran/generated/pow_c10_i16.c75
-rw-r--r--gcc-4.7/libgfortran/generated/pow_c10_i4.c75
-rw-r--r--gcc-4.7/libgfortran/generated/pow_c10_i8.c75
-rw-r--r--gcc-4.7/libgfortran/generated/pow_c16_i16.c75
-rw-r--r--gcc-4.7/libgfortran/generated/pow_c16_i4.c75
-rw-r--r--gcc-4.7/libgfortran/generated/pow_c16_i8.c75
-rw-r--r--gcc-4.7/libgfortran/generated/pow_c4_i16.c75
-rw-r--r--gcc-4.7/libgfortran/generated/pow_c4_i4.c75
-rw-r--r--gcc-4.7/libgfortran/generated/pow_c4_i8.c75
-rw-r--r--gcc-4.7/libgfortran/generated/pow_c8_i16.c75
-rw-r--r--gcc-4.7/libgfortran/generated/pow_c8_i4.c75
-rw-r--r--gcc-4.7/libgfortran/generated/pow_c8_i8.c75
-rw-r--r--gcc-4.7/libgfortran/generated/pow_i16_i16.c77
-rw-r--r--gcc-4.7/libgfortran/generated/pow_i16_i4.c77
-rw-r--r--gcc-4.7/libgfortran/generated/pow_i16_i8.c77
-rw-r--r--gcc-4.7/libgfortran/generated/pow_i4_i16.c77
-rw-r--r--gcc-4.7/libgfortran/generated/pow_i4_i4.c77
-rw-r--r--gcc-4.7/libgfortran/generated/pow_i4_i8.c77
-rw-r--r--gcc-4.7/libgfortran/generated/pow_i8_i16.c77
-rw-r--r--gcc-4.7/libgfortran/generated/pow_i8_i4.c77
-rw-r--r--gcc-4.7/libgfortran/generated/pow_i8_i8.c77
-rw-r--r--gcc-4.7/libgfortran/generated/pow_r10_i16.c75
-rw-r--r--gcc-4.7/libgfortran/generated/pow_r10_i8.c75
-rw-r--r--gcc-4.7/libgfortran/generated/pow_r16_i16.c75
-rw-r--r--gcc-4.7/libgfortran/generated/pow_r16_i4.c75
-rw-r--r--gcc-4.7/libgfortran/generated/pow_r16_i8.c75
-rw-r--r--gcc-4.7/libgfortran/generated/pow_r4_i16.c75
-rw-r--r--gcc-4.7/libgfortran/generated/pow_r4_i8.c75
-rw-r--r--gcc-4.7/libgfortran/generated/pow_r8_i16.c75
-rw-r--r--gcc-4.7/libgfortran/generated/pow_r8_i8.c75
-rw-r--r--gcc-4.7/libgfortran/generated/product_c10.c508
-rw-r--r--gcc-4.7/libgfortran/generated/product_c16.c508
-rw-r--r--gcc-4.7/libgfortran/generated/product_c4.c508
-rw-r--r--gcc-4.7/libgfortran/generated/product_c8.c508
-rw-r--r--gcc-4.7/libgfortran/generated/product_i1.c508
-rw-r--r--gcc-4.7/libgfortran/generated/product_i16.c508
-rw-r--r--gcc-4.7/libgfortran/generated/product_i2.c508
-rw-r--r--gcc-4.7/libgfortran/generated/product_i4.c508
-rw-r--r--gcc-4.7/libgfortran/generated/product_i8.c508
-rw-r--r--gcc-4.7/libgfortran/generated/product_r10.c508
-rw-r--r--gcc-4.7/libgfortran/generated/product_r16.c508
-rw-r--r--gcc-4.7/libgfortran/generated/product_r4.c508
-rw-r--r--gcc-4.7/libgfortran/generated/product_r8.c508
-rw-r--r--gcc-4.7/libgfortran/generated/reshape_c10.c360
-rw-r--r--gcc-4.7/libgfortran/generated/reshape_c16.c360
-rw-r--r--gcc-4.7/libgfortran/generated/reshape_c4.c360
-rw-r--r--gcc-4.7/libgfortran/generated/reshape_c8.c360
-rw-r--r--gcc-4.7/libgfortran/generated/reshape_i16.c360
-rw-r--r--gcc-4.7/libgfortran/generated/reshape_i4.c360
-rw-r--r--gcc-4.7/libgfortran/generated/reshape_i8.c360
-rw-r--r--gcc-4.7/libgfortran/generated/reshape_r10.c360
-rw-r--r--gcc-4.7/libgfortran/generated/reshape_r16.c360
-rw-r--r--gcc-4.7/libgfortran/generated/reshape_r4.c360
-rw-r--r--gcc-4.7/libgfortran/generated/reshape_r8.c360
-rw-r--r--gcc-4.7/libgfortran/generated/rrspacing_r10.c54
-rw-r--r--gcc-4.7/libgfortran/generated/rrspacing_r16.c58
-rw-r--r--gcc-4.7/libgfortran/generated/rrspacing_r4.c54
-rw-r--r--gcc-4.7/libgfortran/generated/rrspacing_r8.c54
-rw-r--r--gcc-4.7/libgfortran/generated/set_exponent_r10.c44
-rw-r--r--gcc-4.7/libgfortran/generated/set_exponent_r16.c48
-rw-r--r--gcc-4.7/libgfortran/generated/set_exponent_r4.c44
-rw-r--r--gcc-4.7/libgfortran/generated/set_exponent_r8.c44
-rw-r--r--gcc-4.7/libgfortran/generated/shape_i16.c67
-rw-r--r--gcc-4.7/libgfortran/generated/shape_i4.c67
-rw-r--r--gcc-4.7/libgfortran/generated/shape_i8.c67
-rw-r--r--gcc-4.7/libgfortran/generated/spacing_r10.c53
-rw-r--r--gcc-4.7/libgfortran/generated/spacing_r16.c57
-rw-r--r--gcc-4.7/libgfortran/generated/spacing_r4.c53
-rw-r--r--gcc-4.7/libgfortran/generated/spacing_r8.c53
-rw-r--r--gcc-4.7/libgfortran/generated/spread_c10.c269
-rw-r--r--gcc-4.7/libgfortran/generated/spread_c16.c269
-rw-r--r--gcc-4.7/libgfortran/generated/spread_c4.c269
-rw-r--r--gcc-4.7/libgfortran/generated/spread_c8.c269
-rw-r--r--gcc-4.7/libgfortran/generated/spread_i1.c269
-rw-r--r--gcc-4.7/libgfortran/generated/spread_i16.c269
-rw-r--r--gcc-4.7/libgfortran/generated/spread_i2.c269
-rw-r--r--gcc-4.7/libgfortran/generated/spread_i4.c269
-rw-r--r--gcc-4.7/libgfortran/generated/spread_i8.c269
-rw-r--r--gcc-4.7/libgfortran/generated/spread_r10.c269
-rw-r--r--gcc-4.7/libgfortran/generated/spread_r16.c269
-rw-r--r--gcc-4.7/libgfortran/generated/spread_r4.c269
-rw-r--r--gcc-4.7/libgfortran/generated/spread_r8.c269
-rw-r--r--gcc-4.7/libgfortran/generated/sum_c10.c508
-rw-r--r--gcc-4.7/libgfortran/generated/sum_c16.c508
-rw-r--r--gcc-4.7/libgfortran/generated/sum_c4.c508
-rw-r--r--gcc-4.7/libgfortran/generated/sum_c8.c508
-rw-r--r--gcc-4.7/libgfortran/generated/sum_i1.c508
-rw-r--r--gcc-4.7/libgfortran/generated/sum_i16.c508
-rw-r--r--gcc-4.7/libgfortran/generated/sum_i2.c508
-rw-r--r--gcc-4.7/libgfortran/generated/sum_i4.c508
-rw-r--r--gcc-4.7/libgfortran/generated/sum_i8.c508
-rw-r--r--gcc-4.7/libgfortran/generated/sum_r10.c508
-rw-r--r--gcc-4.7/libgfortran/generated/sum_r16.c508
-rw-r--r--gcc-4.7/libgfortran/generated/sum_r4.c508
-rw-r--r--gcc-4.7/libgfortran/generated/sum_r8.c508
-rw-r--r--gcc-4.7/libgfortran/generated/transpose_c10.c114
-rw-r--r--gcc-4.7/libgfortran/generated/transpose_c16.c114
-rw-r--r--gcc-4.7/libgfortran/generated/transpose_c4.c114
-rw-r--r--gcc-4.7/libgfortran/generated/transpose_c8.c114
-rw-r--r--gcc-4.7/libgfortran/generated/transpose_i16.c114
-rw-r--r--gcc-4.7/libgfortran/generated/transpose_i4.c114
-rw-r--r--gcc-4.7/libgfortran/generated/transpose_i8.c114
-rw-r--r--gcc-4.7/libgfortran/generated/transpose_r10.c114
-rw-r--r--gcc-4.7/libgfortran/generated/transpose_r16.c114
-rw-r--r--gcc-4.7/libgfortran/generated/transpose_r4.c114
-rw-r--r--gcc-4.7/libgfortran/generated/transpose_r8.c114
-rw-r--r--gcc-4.7/libgfortran/generated/unpack_c10.c331
-rw-r--r--gcc-4.7/libgfortran/generated/unpack_c16.c331
-rw-r--r--gcc-4.7/libgfortran/generated/unpack_c4.c331
-rw-r--r--gcc-4.7/libgfortran/generated/unpack_c8.c331
-rw-r--r--gcc-4.7/libgfortran/generated/unpack_i1.c331
-rw-r--r--gcc-4.7/libgfortran/generated/unpack_i16.c331
-rw-r--r--gcc-4.7/libgfortran/generated/unpack_i2.c331
-rw-r--r--gcc-4.7/libgfortran/generated/unpack_i4.c331
-rw-r--r--gcc-4.7/libgfortran/generated/unpack_i8.c331
-rw-r--r--gcc-4.7/libgfortran/generated/unpack_r10.c331
-rw-r--r--gcc-4.7/libgfortran/generated/unpack_r16.c331
-rw-r--r--gcc-4.7/libgfortran/generated/unpack_r4.c331
-rw-r--r--gcc-4.7/libgfortran/generated/unpack_r8.c331
-rw-r--r--gcc-4.7/libgfortran/gfortran.map1351
-rw-r--r--gcc-4.7/libgfortran/intrinsics/abort.c34
-rw-r--r--gcc-4.7/libgfortran/intrinsics/access.c90
-rw-r--r--gcc-4.7/libgfortran/intrinsics/args.c270
-rw-r--r--gcc-4.7/libgfortran/intrinsics/associated.c58
-rw-r--r--gcc-4.7/libgfortran/intrinsics/bit_intrinsics.c138
-rw-r--r--gcc-4.7/libgfortran/intrinsics/c99_functions.c2136
-rw-r--r--gcc-4.7/libgfortran/intrinsics/chdir.c111
-rw-r--r--gcc-4.7/libgfortran/intrinsics/chmod.c524
-rw-r--r--gcc-4.7/libgfortran/intrinsics/clock.c52
-rw-r--r--gcc-4.7/libgfortran/intrinsics/cpu_time.c109
-rw-r--r--gcc-4.7/libgfortran/intrinsics/cshift0.c452
-rw-r--r--gcc-4.7/libgfortran/intrinsics/ctime.c110
-rw-r--r--gcc-4.7/libgfortran/intrinsics/date_and_time.c631
-rw-r--r--gcc-4.7/libgfortran/intrinsics/dprod_r8.f9032
-rw-r--r--gcc-4.7/libgfortran/intrinsics/dtime.c87
-rw-r--r--gcc-4.7/libgfortran/intrinsics/env.c195
-rw-r--r--gcc-4.7/libgfortran/intrinsics/eoshift0.c299
-rw-r--r--gcc-4.7/libgfortran/intrinsics/eoshift2.c324
-rw-r--r--gcc-4.7/libgfortran/intrinsics/erfc_scaled.c52
-rw-r--r--gcc-4.7/libgfortran/intrinsics/erfc_scaled_inc.c193
-rw-r--r--gcc-4.7/libgfortran/intrinsics/etime.c73
-rw-r--r--gcc-4.7/libgfortran/intrinsics/execute_command_line.c180
-rw-r--r--gcc-4.7/libgfortran/intrinsics/exit.c50
-rw-r--r--gcc-4.7/libgfortran/intrinsics/extends_type_of.c58
-rw-r--r--gcc-4.7/libgfortran/intrinsics/f2c_specifics.F90197
-rw-r--r--gcc-4.7/libgfortran/intrinsics/fnum.c48
-rw-r--r--gcc-4.7/libgfortran/intrinsics/gerror.c57
-rw-r--r--gcc-4.7/libgfortran/intrinsics/getXid.c67
-rw-r--r--gcc-4.7/libgfortran/intrinsics/getcwd.c83
-rw-r--r--gcc-4.7/libgfortran/intrinsics/getlog.c122
-rw-r--r--gcc-4.7/libgfortran/intrinsics/hostnm.c144
-rw-r--r--gcc-4.7/libgfortran/intrinsics/ierrno.c49
-rw-r--r--gcc-4.7/libgfortran/intrinsics/ishftc.c100
-rw-r--r--gcc-4.7/libgfortran/intrinsics/iso_c_binding.c189
-rw-r--r--gcc-4.7/libgfortran/intrinsics/iso_c_binding.h55
-rw-r--r--gcc-4.7/libgfortran/intrinsics/iso_c_generated_procs.c466
-rw-r--r--gcc-4.7/libgfortran/intrinsics/kill.c92
-rw-r--r--gcc-4.7/libgfortran/intrinsics/link.c131
-rw-r--r--gcc-4.7/libgfortran/intrinsics/malloc.c47
-rw-r--r--gcc-4.7/libgfortran/intrinsics/move_alloc.c66
-rw-r--r--gcc-4.7/libgfortran/intrinsics/mvbits.c86
-rw-r--r--gcc-4.7/libgfortran/intrinsics/pack_generic.c643
-rw-r--r--gcc-4.7/libgfortran/intrinsics/perror.c53
-rw-r--r--gcc-4.7/libgfortran/intrinsics/rand.c136
-rw-r--r--gcc-4.7/libgfortran/intrinsics/random.c798
-rw-r--r--gcc-4.7/libgfortran/intrinsics/rename.c125
-rw-r--r--gcc-4.7/libgfortran/intrinsics/reshape_generic.c388
-rw-r--r--gcc-4.7/libgfortran/intrinsics/reshape_packed.c49
-rw-r--r--gcc-4.7/libgfortran/intrinsics/selected_char_kind.c46
-rw-r--r--gcc-4.7/libgfortran/intrinsics/selected_int_kind.f9046
-rw-r--r--gcc-4.7/libgfortran/intrinsics/selected_real_kind.f9095
-rw-r--r--gcc-4.7/libgfortran/intrinsics/signal.c229
-rw-r--r--gcc-4.7/libgfortran/intrinsics/size.c61
-rw-r--r--gcc-4.7/libgfortran/intrinsics/sleep.c67
-rw-r--r--gcc-4.7/libgfortran/intrinsics/spread_generic.c652
-rw-r--r--gcc-4.7/libgfortran/intrinsics/stat.c556
-rw-r--r--gcc-4.7/libgfortran/intrinsics/string_intrinsics.c102
-rw-r--r--gcc-4.7/libgfortran/intrinsics/string_intrinsics_inc.c453
-rw-r--r--gcc-4.7/libgfortran/intrinsics/symlnk.c131
-rw-r--r--gcc-4.7/libgfortran/intrinsics/system.c61
-rw-r--r--gcc-4.7/libgfortran/intrinsics/system_clock.c207
-rw-r--r--gcc-4.7/libgfortran/intrinsics/time.c50
-rw-r--r--gcc-4.7/libgfortran/intrinsics/time_1.h218
-rw-r--r--gcc-4.7/libgfortran/intrinsics/transpose_generic.c151
-rw-r--r--gcc-4.7/libgfortran/intrinsics/umask.c90
-rw-r--r--gcc-4.7/libgfortran/intrinsics/unlink.c91
-rw-r--r--gcc-4.7/libgfortran/intrinsics/unpack_generic.c630
-rw-r--r--gcc-4.7/libgfortran/io/close.c102
-rw-r--r--gcc-4.7/libgfortran/io/fbuf.c269
-rw-r--r--gcc-4.7/libgfortran/io/fbuf.h87
-rw-r--r--gcc-4.7/libgfortran/io/file_pos.c458
-rw-r--r--gcc-4.7/libgfortran/io/format.c1400
-rw-r--r--gcc-4.7/libgfortran/io/format.h145
-rw-r--r--gcc-4.7/libgfortran/io/inquire.c720
-rw-r--r--gcc-4.7/libgfortran/io/intrinsics.c397
-rw-r--r--gcc-4.7/libgfortran/io/io.h814
-rw-r--r--gcc-4.7/libgfortran/io/list_read.c3107
-rw-r--r--gcc-4.7/libgfortran/io/lock.c67
-rw-r--r--gcc-4.7/libgfortran/io/open.c864
-rw-r--r--gcc-4.7/libgfortran/io/read.c1256
-rw-r--r--gcc-4.7/libgfortran/io/size_from_kind.c83
-rw-r--r--gcc-4.7/libgfortran/io/transfer.c3773
-rw-r--r--gcc-4.7/libgfortran/io/transfer128.c98
-rw-r--r--gcc-4.7/libgfortran/io/unit.c825
-rw-r--r--gcc-4.7/libgfortran/io/unix.c1829
-rw-r--r--gcc-4.7/libgfortran/io/unix.h187
-rw-r--r--gcc-4.7/libgfortran/io/write.c2007
-rw-r--r--gcc-4.7/libgfortran/io/write_float.def1071
-rw-r--r--gcc-4.7/libgfortran/kinds-override.h46
-rw-r--r--gcc-4.7/libgfortran/libgfortran.h1361
-rw-r--r--gcc-4.7/libgfortran/libgfortran.spec.in8
-rw-r--r--gcc-4.7/libgfortran/libtool-version6
-rw-r--r--gcc-4.7/libgfortran/m4/all.m444
-rw-r--r--gcc-4.7/libgfortran/m4/any.m444
-rw-r--r--gcc-4.7/libgfortran/m4/bessel.m4187
-rw-r--r--gcc-4.7/libgfortran/m4/count.m440
-rw-r--r--gcc-4.7/libgfortran/m4/cshift0.m4172
-rw-r--r--gcc-4.7/libgfortran/m4/cshift1.m4274
-rw-r--r--gcc-4.7/libgfortran/m4/eoshift1.m4317
-rw-r--r--gcc-4.7/libgfortran/m4/eoshift3.m4336
-rw-r--r--gcc-4.7/libgfortran/m4/exponent.m445
-rw-r--r--gcc-4.7/libgfortran/m4/fraction.m444
-rw-r--r--gcc-4.7/libgfortran/m4/head.m425
-rw-r--r--gcc-4.7/libgfortran/m4/iall.m446
-rw-r--r--gcc-4.7/libgfortran/m4/iany.m446
-rw-r--r--gcc-4.7/libgfortran/m4/iforeach.m4279
-rw-r--r--gcc-4.7/libgfortran/m4/ifunction.m4505
-rw-r--r--gcc-4.7/libgfortran/m4/ifunction_logical.m4208
-rw-r--r--gcc-4.7/libgfortran/m4/in_pack.m4122
-rw-r--r--gcc-4.7/libgfortran/m4/in_unpack.m4110
-rw-r--r--gcc-4.7/libgfortran/m4/iparity.m446
-rw-r--r--gcc-4.7/libgfortran/m4/iparm.m437
-rw-r--r--gcc-4.7/libgfortran/m4/matmul.m4378
-rw-r--r--gcc-4.7/libgfortran/m4/matmull.m4241
-rw-r--r--gcc-4.7/libgfortran/m4/maxloc0.m4126
-rw-r--r--gcc-4.7/libgfortran/m4/maxloc1.m4101
-rw-r--r--gcc-4.7/libgfortran/m4/maxval.m488
-rw-r--r--gcc-4.7/libgfortran/m4/minloc0.m4126
-rw-r--r--gcc-4.7/libgfortran/m4/minloc1.m4101
-rw-r--r--gcc-4.7/libgfortran/m4/minval.m488
-rw-r--r--gcc-4.7/libgfortran/m4/misc_specifics.m464
-rw-r--r--gcc-4.7/libgfortran/m4/mtype.m413
-rw-r--r--gcc-4.7/libgfortran/m4/nearest.m451
-rw-r--r--gcc-4.7/libgfortran/m4/norm2.m461
-rw-r--r--gcc-4.7/libgfortran/m4/pack.m4260
-rw-r--r--gcc-4.7/libgfortran/m4/parity.m440
-rw-r--r--gcc-4.7/libgfortran/m4/pow.m483
-rw-r--r--gcc-4.7/libgfortran/m4/product.m446
-rw-r--r--gcc-4.7/libgfortran/m4/reshape.m4364
-rw-r--r--gcc-4.7/libgfortran/m4/rrspacing.m454
-rw-r--r--gcc-4.7/libgfortran/m4/set_exponent.m444
-rw-r--r--gcc-4.7/libgfortran/m4/shape.m468
-rw-r--r--gcc-4.7/libgfortran/m4/spacing.m453
-rw-r--r--gcc-4.7/libgfortran/m4/specific.m443
-rw-r--r--gcc-4.7/libgfortran/m4/specific2.m430
-rw-r--r--gcc-4.7/libgfortran/m4/spread.m4270
-rw-r--r--gcc-4.7/libgfortran/m4/sum.m446
-rw-r--r--gcc-4.7/libgfortran/m4/transpose.m4115
-rw-r--r--gcc-4.7/libgfortran/m4/types.m44
-rw-r--r--gcc-4.7/libgfortran/m4/unpack.m4332
-rwxr-xr-xgcc-4.7/libgfortran/mk-kinds-h.sh119
-rwxr-xr-xgcc-4.7/libgfortran/mk-sik-inc.sh34
-rwxr-xr-xgcc-4.7/libgfortran/mk-srk-inc.sh34
-rw-r--r--gcc-4.7/libgfortran/runtime/backtrace.c279
-rw-r--r--gcc-4.7/libgfortran/runtime/bounds.c272
-rw-r--r--gcc-4.7/libgfortran/runtime/compile_options.c277
-rw-r--r--gcc-4.7/libgfortran/runtime/convert_char.c69
-rw-r--r--gcc-4.7/libgfortran/runtime/environ.c830
-rw-r--r--gcc-4.7/libgfortran/runtime/error.c614
-rw-r--r--gcc-4.7/libgfortran/runtime/fpu.c41
-rw-r--r--gcc-4.7/libgfortran/runtime/in_pack_generic.c218
-rw-r--r--gcc-4.7/libgfortran/runtime/in_unpack_generic.c242
-rw-r--r--gcc-4.7/libgfortran/runtime/main.c257
-rw-r--r--gcc-4.7/libgfortran/runtime/memory.c61
-rw-r--r--gcc-4.7/libgfortran/runtime/pause.c70
-rw-r--r--gcc-4.7/libgfortran/runtime/select.c46
-rw-r--r--gcc-4.7/libgfortran/runtime/select_inc.c133
-rw-r--r--gcc-4.7/libgfortran/runtime/stop.c109
-rw-r--r--gcc-4.7/libgfortran/runtime/string.c112
703 files changed, 231462 insertions, 0 deletions
diff --git a/gcc-4.7/libgfortran/ChangeLog b/gcc-4.7/libgfortran/ChangeLog
new file mode 100644
index 000000000..cfddafe90
--- /dev/null
+++ b/gcc-4.7/libgfortran/ChangeLog
@@ -0,0 +1,107 @@
+2012-09-20 Release Manager
+
+ * GCC 4.7.2 released.
+
+2012-09-05 Uros Bizjak <ubizjak@gmail.com>
+
+ * config/fpu-387.h (set_fpu): Prefix stmxcsr and ldmxcsr with %v.
+
+2012-06-14 Release Manager
+
+ * GCC 4.7.1 released.
+
+2012-05-31 Benjamin Kosnik <bkoz@redhat.com>
+
+ PR libstdc++/52007
+ * configure.ac: Allow gnu, gnu* variants for --enable-symvers argument.
+ * configure: Regenerated.
+
+2012-05-12 Tobias Burnus <burnus@net-b.de>
+
+ PR fortran/53310
+ * intrinsics/eoshift2.c (eoshift2): Do not leak
+ memory by allocating it in the loop.
+
+2012-03-30 Uros Bizjak <ubizjak@gmail.com>
+
+ PR libgfortran/52758
+ * intrinsics/chmod.c (chmod_func): Remove out-of-bounds
+ initialization of rwxXstugo.
+
+2012-03-22 Release Manager
+
+ * GCC 4.7.0 released.
+
+2012-01-20 Tobias Burnus <burnus@net-b.de>
+
+ PR libgfortran/51899
+ * configure.ac: Check whether umask is available.
+ * intrinsics/chmod.c (chmod_func): Make compile with MinGW.
+ * configure: Regenerate.
+ * config.h.in: Regenerate.
+
+2012-01-12 Tobias Burnus <burnus@net-b.de>
+
+ PR fortran/36755
+ * intrinsics/chmod.c (chmod_func): Replace call to /bin/chmod
+
+2012-01-12 Janne Blomqvist <jb@gcc.gnu.org>
+
+ * configure.ac: Remove check for fdopen.
+ * runtime/backtrace.c (CAN_PIPE): Fix comment, remove check for
+ fdopen.
+ * configure: Regenerated.
+ * config.h.in: Regenerated.
+
+2012-01-12 Janne Blomqvist <jb@gcc.gnu.org>
+ Tobias Burnus <burnus@net-b.de>
+
+ PR libfortran/51803
+ * runtime/main.c (store_exe_path): Avoid malloc if getcwd fails or
+ is not available.
+
+2012-01-11 Tobias Burnus <burnus@net-b.de>
+
+ * runtime/main.c (store_exe_path): Fix absolute path
+ detection for Windows.
+
+2012-01-11 Janne Blomqvist <jb@gcc.gnu.org>
+ Mike Stump <mikestump@comcast.net>
+
+ PR libfortran/51803
+ * runtime/main.c (store_exe_path): Handle getcwd failure and lack
+ of the function better.
+
+2012-01-10 Tobias Burnus <burnus@net-b.de>
+
+ PR fortran/51197
+ * runtime/compile_options.c (show_signal): List
+ more signals.
+
+2012-01-09 Harald Anlauf <anlauf@gmx.de>
+ Tobias Burnus <burnus@net-b.de>
+
+ PR fortran/51197
+ * runtime/backtrace.c (show_backtrace): Modify wording written
+ before the backtrace.
+ * runtime/compile_options.c (show_signal): New function.
+ (backtrace_handler): Use it.
+
+2012-01-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * Makefile.am (libgfortran_la_LDFLAGS): Add -Wc,-shared-libgcc.
+ * Makefile.in: Regenerate.
+
+2012-01-06 Tobias Burnus <burnus@net-b.de>
+
+ * caf/single.c (_gfortran_caf_register, _gfortran_caf_deregister):
+ Fix token handling.
+ * caf/mpi.c (_gfortran_caf_register, _gfortran_caf_deregister): Ditto.
+ * caf/libcaf.h (STAT_STOPPED_IMAGE): Sync with libgfortran.h.
+ (_gfortran_caf_register, _gfortran_caf_deregister): Update prototype.
+
+Copyright (C) 2012 Free Software Foundation, Inc.
+
+Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved.
diff --git a/gcc-4.7/libgfortran/ChangeLog-2002 b/gcc-4.7/libgfortran/ChangeLog-2002
new file mode 100644
index 000000000..a7043dd90
--- /dev/null
+++ b/gcc-4.7/libgfortran/ChangeLog-2002
@@ -0,0 +1,67 @@
+2002-12-29 Paul Brook <paul@nowt.org>
+
+ * intrinsics/reshape.*: New files.
+ * gcc_config.patch: Update to new GCC configure system.
+
+2002-10-10 Paul Brook <paul@nowt.org>
+
+ * intrinsics/size.c: New file.
+ * intrinsics/shape.m4: New file.
+ * Makefile.am: Add above files.
+
+2002-10-02 Paul Brook <paul@nowt.org>
+
+ * fmain.c (main): Move here.
+ * libgfor.c: From here.
+ * libgfor.h (gfor_init, gfor_runtime_cleanup): Declare.
+ * Makefile.am: Build libgforbegin.
+ * gcc_config.patch: Remove stray -march=athlon.
+ * dotprodl.m4: Fix use of L8_TO_L4 macro.
+ * ifunction.m4: Move variable declarations to allow compilation with
+ gcc < 3.0
+ * specific.m4, specific4.m4: Fix typo typecode->type_code.
+ * README: Document use of patch -p1.
+
+2002-09-12 Paul Brook <paul@nowt.org>
+
+ * math/*: Add complex math library functions.
+ * intrinsics/specific(2).m4: Generate Specific intrinsic functions.
+ * Makefile.am: Add details for above.
+ * configure.in: Use AC_PROG_F95. Test for the presence of csin.
+
+2002-09-09 Paul Brook <paul@nowt.org>
+
+ * libgfor.c (determine_endianness): Use an array rather than a struct.
+ * intrinsics/dotprod*, matmul*: Implement DOT_PRODUCT and MATMUL.
+
+2002-09-09 Steven Bosscher <s.bosscher@student.tudelft.nl>
+
+ * libgfor.c: Add fatal signal handler.
+ Romove superfluous abort() calls.
+
+2002-09-07 Paul Brook <paul@nowt.org>
+
+ * Makefile.am, intrinsics: Major rewrite.
+
+2002-09-02 Paul Brook <paul@nowt.org>
+
+ * Makefile.am: Added -I$(srcdir) to m4 rule.
+
+2002-08-30 Paul Brook <paul@nowt.org>
+
+ * io/*: Integrated libgforio.
+ * Makefile.am, configure.in: Make compatable with GCC. Build code for
+ intrinsics in the intrisics directory.
+ * intrinsics/intrinsics.m4: Move here. Strip directories from the
+ filename. Add 'and' and 'all' intrinsics.
+
+2002-08-17 Paul Brook <paul@nowt.org>
+
+ * ALL: First release as more than just a single file
+
+
+Copyright (C) 2002 Free Software Foundation, Inc.
+
+Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved.
diff --git a/gcc-4.7/libgfortran/ChangeLog-2003 b/gcc-4.7/libgfortran/ChangeLog-2003
new file mode 100644
index 000000000..98b3508f7
--- /dev/null
+++ b/gcc-4.7/libgfortran/ChangeLog-2003
@@ -0,0 +1,549 @@
+2003-12-12 Huang Chun <chunhuang73@hotmal.com>
+
+ * intrinsics/string_intrinsics.c (string_index): Fix logics thinko.
+
+2003-12-05 Melvin Hadasht <melvin.hadasht@free.fr>
+
+ * io/transfer.c (data_transfer_init): Give a runtime error for list
+ formatted reads and writes from/to files opened for unformatted IO.
+
+2003-11-30 Paul Brook <paul@nowt.org>
+
+ * runtime/memory.c (push_context): Remove.
+ (pop_context): Remove.
+ * libgfortran.h: Remove prototypes.
+
+2003-11-27 Paul Brook <paul@nowt.org>
+
+ * runtime/memory.c (deallocate): Nullify pointer after freeing.
+
+2003-11-27 Paul Brook <paul@nowt.org>
+
+ * intrinsics/string_intrinsics.c: Use new memory allocation interface.
+ * libgfortran.h: Ditto.
+ * m4/in_pack.m4: Ditto.
+ * runtime/in_pack_generic.c: Ditto.
+ * runtime/memory.c: Ditto.
+
+2003-11-26 Richard Henderson <rth@redhat.com>
+
+ * m4/exponent.m4, m4/fraction.m4: New.
+ * m4/nearest.m4, m4/set_exponent.m4: New.
+ * generated/*: Update.
+ * Makefile.am: Add them.
+ (AM_CFLAGS): New. Use -std=gnu99.
+ * Makefile.in: Regenerate.
+
+2003-11-08 Paul Brook <paul@nowt.org>
+
+ PR fortran/12704
+ * m4/maxloc0.m4: Use default value of 1. Handle zero sized arrays.
+ * m4/maxloc1.m4: Ditto.
+ * m4/minloc0.m4: Ditto.
+ * m4/minloc1.m4: Ditto.
+ * m4/ifunction.m4: Set return value for zero sized arrays.
+ * m4/iforeach.m4: Ditto.
+ * m4/all.m4, m4/any.m4, m4/count.m4, m4/maxloc1.m4, m4/minloc1.m4,
+ m4/mxaval.m4, m4/minval.m4, m4/product.m4, m4/sum.m4: Ditto.
+ * generated/*: Update.
+
+2003-10-30 Toon Moene <toon@moene.indiv.nluug.nl>
+
+ PR fortran/12702
+ * io/list_read.c (eat_spaces): Treat tab as space.
+
+2003-10-30 Lars Segerlund <Lars.Segerlund@comsys.se>
+
+ * intrinsics/random.c: Add reference to paper containing algorithm.
+ (random_seed): Extra error checking and proper handling of arrays.
+ (arandom_r4, arandom_r8): Implement.
+
+2003-10-29 Toon Moene <toon@moene.indiv.nluug.nl>
+
+ PR fortran/12703
+ * runtime/memory.c (allocate_size): Allow allocation
+ of zero-sized objects.
+
+2003-10-29 Toon Moene <toon@moene.indiv.nluug.nl>
+
+ PR fortran/12701
+ * open.c (new_unit): Open without a file name opens
+ a file with name fort.<unit>.
+
+2003-10-12 Feng Wang <wf_cs@yahoo.com>
+
+ * intrinsics/cshift0.c: New file.
+ * m4/cshift1.m4: New file
+ * generated/cshift*.c: New files.
+ * Makefile.am: Add them.
+ * Makefile.in: Regenerate.
+
+2003-10-12 XiaoQiang Zhang <zhangapache@yahoo.com>
+
+ * io/list_read.c (read_character): Remove unwanted call to free_saved.
+
+2003-10-11 Huang Chun <jiwang@mail.edu.cn>
+
+ * intrinsics/string_intrinsics.c (string_trim): New function.
+ (string_repeat): New function.
+
+2003-10-11 Paul Brook <paul@nowt.org>
+
+ * intrinsics/dprod_r8.f90: New file.
+ * Makefile.am (gfor_specific_src): Add it.
+ (gfor_built_specific_src): Rename from gfor_build_specific_c.
+ Add new intrinsics.
+ (gfor_specific2_src): Rename from gfor_built_specific2_c.
+ Add new intrinsics.
+ * Makefile.in: Regenerate.
+ * generated/_aint_*.f90: New files.
+ * generated/_anint*.f90: New files.
+ * generated/_atan2*.f90: New files.
+ * generated/_mod*.f90: New files.
+
+2003-09-20 Kejia Zhao <kejia_zh@yahoo.com.cn>
+
+ * intrinsics/selected_kind.f90: New file.
+ * Makefile.am: Add it.
+ * Makefile.in: regenerate.
+
+2003-09-19 Lars Segerlund <Lars.Segerlund@comsys.se>
+ Paul Brook <paul@nowt.org>
+
+ * intrinsics/random.c: New file.
+ * Makefile.am (gfor_hemper_src): Add it.
+ (gfor_specific_c): Fix typo.
+
+2003-09-19 Paul Brook <paul@nowt.org>
+
+ * All: rename g95->gfc.
+
+2003-09-18 XiaoQiang Zhang <zhangapache@yahoo.com>
+
+ * io/write.c (output_float): Fix bug of FMT_E, Add comments.
+
+2003-09-09 XiaoQiang Zhang <zhangapache@yahoo.com>
+
+ * io/write.c (write_float): Dectection of positive infinite number,
+ Not a Number(NaN) and negative infinite number.
+ (ioutput_float): Bug fix for FMT_E and FMT_D processing to
+ output a very_very small number ( < 0.1e-100 ).
+
+2003-09-07 XiaoQiang Zhang <zhangapache@yahoo.com>
+
+ * libgfortran.h (xtoa, itoa): Parameter modified.
+ * io/io.h (namelist_info): Declaration to support namelist I/O
+ (st_parameter): Add namelist related component
+ (ionml, empty_internal_buffer, st_set_nml_var_int,
+ st_set_nml_var_float, st_set_nml_var_char, st_set_nml_var_complex,
+ st_set_nml_var_log): Declaration
+ (set_integer, set_integer): Parameter changed
+ * io/format.c (free_nodes): Fix annoying bug of lefting "deallocated"
+ fnodes
+ (parse_format_list): Fix bug about FMT_SLASH
+ * io/list_read.c (push_char): Totally clear old saved_string, zeroize
+ newly allocated saved_string
+ (next_char): Add detection of End_Of_Line support
+ (convert_integer): Now can process 64 bits interger
+ (read_real): Bug fixed
+ (init_at_eol, find_nml_node, match_namelist_name): Add new functions
+ (match_namelist_name): New implemention
+ * io/lock.c (ionml): New global variable
+ (library_end): Free memory in ionml
+ * io/open.c (st_open): Variable initializtion
+ * io/read.c (max_value): 64 bits interger support
+ (convert_precsion_real): New procedure to replace "strtod" with more
+ features
+ (read_f, read_radix): Input bug fix
+ * io/transfer.c: (sf_seen_eor): New static variable
+ (read_sf): Zeroize base buffer; fix bugs: single read statement can
+ not get input in mutli line when read from stdin
+ (formatted_transfer): Fix bug of FMT_O, FMT_B, FMT_Z for INTEGER type
+ request
+ (data_transfer_init): Clear internal buffer for Internel File I/O.
+ Internal File now worked. Detect some error condition for namelist.
+ Some minor bug fix
+ (next_record_w): Internal file and Namelist I/O support.
+ (st_set_nml_var, st_set_nml_var_float, st_set_nml_var_char,
+ st_set_nml_var_complex, st_set_nml_var_log): Implemention.
+ * io/unit.c (implicit_unit): Deletion
+ (get_unit): Now cannot open a unit implicitly.
+ * io/unix.c (mmap_alloc): Fix fatal error in calculating the length of
+ mapped buffer.
+ (mem_alloc_r_at): Internal file I/O support added
+ (empty_internal_buffer): New function
+ * io/write.c (extract_int): Support 64 bits interger processing
+ (output_float): Varibale initialization
+ (write_float): Infinite real number detection.
+ (write_int): 64 bits integer I/O support
+ (write_decimal): New function to output decimal number
+ (otoa, btoa): Better implemention and 64 bits interger support
+ (namelist_write): New function
+ * runtime/error.c (itoa, xtoa): Better implemention and 64 bits
+ interger support
+
+2003-08-15 Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>
+
+ * libgfortran.h (os_error, runtime_error,internal_error, sys_exit,
+ get_mem ): Add attribute.
+ * intrinsics/spread_generic.c (__spread): Fix spelling.
+ * io/inquire.c (inquire_via_filename): Add const.
+ * io/io.h (sys_exit): Add attribute.
+ * io/io.h (move_pos_offset): Add move_pos_offset.
+ * io/io.h (compare_file_filename, inquire_sequential, inquire_direct,
+ inquire_formatted, inquire_unformatted, inquire_read, inquire_write,
+ inquire_readwrite, convert_real, write_a, write_b, write_d, write_e,
+ write_en, write_es, write_f, write_i, write_l, write_o, write_x,
+ write_z): Add const.
+ * io/read.c (convert_real): Add const.
+ * io/transfer.c (type_name): Add const.
+ * io/unix.c (unpack_filename, compare_file_filename,inquire_sequential,
+ inquire_direct, inquire_formatted, inquire_unformatted, inquire_access,
+ inquire_read, inquire_write, inquire_readwrite): Add const.
+ * io/write.c (output_float): Remove unused variable.
+ * io/write.c (write_a, extract_int, extract_real, output_float,
+ write_float, write_int, write_i, write_b, write_o, write_z, write_d,
+ write_e, write_f, write_en, write_es, write_logical, write_integer,
+ write_character, write_real, write_complex): Add const.
+ * runtime/error.c (rtoa): Remove unused variable.
+ * runtime/select.c (select_string): Add const.
+ * runtime/stop.c (stop_string): Add const.
+
+2003-08-10 Paul Brook <paul@nowt.org>
+
+ * Makefile.am (gfor_helper_src): Add intrinsics/abort.c.
+ (FFLAGS): Add -fno-underscoring.
+ * Makefile.in: Regenerate.
+ * intrinsics/abort.c: New file.
+
+2003-08-10 Erik Schnetter <schnetter@uni-tuebingen.de>
+
+ * fmain.c (main): Do not call init and cleanup; call set_args instead.
+ * libgfortran.h (init, cleanup): Remove declarations.
+ (set_args): Add declaration.
+ * runtime/main.c (init, cleanup): Make them static, and give them
+ the constructor and destructor attributes.
+ (set_args): New function.
+
+2003-08-10 Paul Brook <paul@nowt.org>
+
+ * intrinsics/strinf_intrinsics.c (compare_string): Return value based
+ on which string is longest.
+
+2003-08-10 Paul Brook <paul@nowt.org>
+
+ * Makefile.am (EXTRA_DIST): Remove old files.
+ * Makefile.in: Regenerate.
+
+2003-07-26 Paul Brook <paul@nowt.org>
+
+ Rename library to libgfortran.
+ * libgfortran.h: Change prefix to _libgfortran_.
+
+2003-07-24 Paul Brook <paul@nowt.org>
+
+ * configure.in: Don't pull in system libtool. Use toplevel
+ auxiliary files.
+
+2003-07-22 Paul Brook <paul@nowt.org>
+
+ Regenerate all configury files.
+
+2003-07-09 Chun Huang <compiler@sohu.com>
+
+ * intrinsics/string_intrinsic.c (string_scan): New function.
+ (string_verify): New function.
+
+2003-06-25 Paul Brook <paul@nowt.org>
+
+ * io/unix.c (mem_alloc_r_at, mem_alloc_w_at): Advance logical_offset.
+ (mem_seek): Don't bother setting physical_offset.
+
+2003-06-20 Paul Brook <paul@nowt.org>
+
+ * libgfor.h (stop_numeric): Declare.
+ * runtime/pause.c: New file.
+ * Makefile.am: Add it.
+
+2003-06-08 Paul Brook <paul@nowt.org>
+
+ * m4/cexp.m4 (cabs): Use correct typed version.
+ (csqrt): New function.
+
+2003-06-07 Canqun Yang <canqun@yahoo.com.cn>
+
+ Spotted by Benjamin and Tobias:
+ * io/list_read.c: Add Separator '\t'.
+ (parse_real, read_real): Accept real values starting with an optional
+ sign follows a decimal point.
+
+2003-06-06 Steven Bosscher <steven@gcc.gnu.org>
+
+ * Makefile.am: Don't put cmath objects in subdir.
+ * configure.in: Rename MATHOBJ to MATH_OBJ.
+
+2003-06-02 Kejia Zhao <Kejia_zh@yahoo.com.cn>
+
+ * intrinsics/associated.c: New file.
+ * Makefile.am: Add it. Regenerate Makefile.in.
+ * libgfor.h: Define g95_array_void, G95_DESCRIPTOR_DATA, and
+ G95_DESCRIPTOR_DTYPE.
+
+2003-06-01 Canqun Yang <canqun@yahoo.com.cn>
+
+ * io/write.c (calcuate_exp): Rewrite it to avoid overflow.
+ (calculate_G_format): Rewrite it to eliminate an infinte loop and set
+ the scale_factor to 0 for F editing.
+
+2003-05-11 Tobias Schlter <innenminister@gmx.de>
+
+ * libgfor.h: Only include stdint.h if it exists.
+
+2003-05-07 Paul Brook <paul@nowt.org>
+
+ * libgfor.h: Use stdint.h types.
+ * intrinsics/ishift.c: Ditto.
+ * runtime/memory.c (malloc_t): Reorder fields for better alignment.
+
+2003-05-05 Steven Bosscher <steven@gcc.gnu.org>
+
+ * libgfor.h (offsetof): Define if nobody else does.
+ * runtime/memory.c (HEADER_SIZE): Use it.
+
+2003-05-01 Tobias Schlter <innenminister@gmx.de>
+
+ * configure.in: Require autoconf 2.54.
+
+2003-04-28 Tobias Schlter <innenminister@gmx.de>
+ Paul Brook <paul@nowt.org>
+
+ * intrinsics/reshape_generic.c: Copy the whole element, not just the
+ first byte.
+ * m4/transpose.m4: New file.
+ * Makefile.am: Add them.
+ Regenerate generated files.
+
+2003-04-18 Steven Bosscher <steven@gcc.gnu.org>
+
+ * io/format.c (parse_format_list): Allow 'X' without integer
+ prefix. This is an extension. Interpretation is '1X'.
+
+2003-04-18 Tobias Schlter <Tobias.Schlueter@physik.uni-muenchen.de>
+
+ * io/format.c (parse_format_list): Allow '0P'.
+
+2003-04-18 Steven Bosscher <steven@gcc.gnu.org>
+
+ * Makefile.in: Re-regenerate for automake 1.7.3.
+
+2003-04-18 Canqun Yang <canqun@yahoo.com.cn>
+
+ Port implementation for CHARACTER SELECT from Andy's tree.
+ * runtime/select.c: New file
+ * Makefile.am: Add it.
+ * Makefile.in: Regenerate.
+
+2003-04-17 Xiaoqiang Zhang <zhangapache@yahoo.com>
+
+ * io/transfer.c (formatted_transfer): Modified
+ * io/unix.c (move_pos_offset): New Function.
+ * io/format.c (parse_format_list): Modified.
+
+2003-04-15 Xiaoqiang Zhang <zhangapache@yahoo.com>
+
+ * io/write.c (write_float,write_real): New implemention of
+ FMT_G and default float editing.
+ (calculate_exp,calculate_G_format,output_float): New Function.
+ (write_float,write_real,write_logical): Modified
+ * libgfor.h (default_rtoa): Remove Declaration.
+ * runtime/error.c (default_rtoa): Remove Function.
+
+2003-04-15 Steven Bosscher <steven@gcc.gnu.org>
+
+ Spotted by Yang:
+ * io/write.c (extract_real): Add missing break statement.
+
+2003-04-13 Steven Bosscher <steven@gcc.gnu.org>
+
+ * cpu_time.c: Make sure we have a definition of HZ. Don't
+ rely on CLOCKS_PER_SEC, it is always 1000000, on any system.
+
+2003-04-13 Steven Bosscher <steven@gcc.gnu.org>
+ Paul Brook <paul@nowt.org>
+
+ * configure.in: Check for process time headers and GETTIMEOFDAY.
+ * makefile.am: Add intrinsics/cpu_time.c.
+ * acinclude.m4: New file.
+ * intrinsics/cpu_time.c: New file.
+ * m4/dotprodl.m4: Fix typo.
+ Regenerate generated files.
+
+2003-04-11 Xiaoqiang Zhang <zhangapache@yahoo.com>
+
+ * io/write.c (extract_real): Ouput floating point value.
+ (write_float): New Function.
+ (write_e, write_f, write_en, write_es): Modified
+ * io/transfer.c (formatted_transfer): Modified.
+ * libgfor.h (default_rtoa): Declaration.
+ (rtoa): Declaration.
+ * runtime/error.c (default_rtoa): New Function.
+ (rtoa): New Function.
+
+2003-04-05 Paul Brook <paul@nowt.org>
+
+ * intrinsics/spread_generic.c: New file.
+ * Makefile.am: Add it. Regenerate Makefile.in.
+
+2003-03-29 Paul Brook <paul@nowt.org>
+
+ * intrinsics/pack_generic.c: New file.
+ * intrinsics/unpack_generic.c: New file.
+ * Makefile.am: Add them. Regenerate Makefile.in.
+
+2003-03-25 Paul Brook <paul@nowt.org>
+
+ * intrinsics/eoshift0.c: New file.
+ * intrinsics/eoshift2.c: New file.
+ * m4/eoshift1.m4: New file.
+ * m4/eoshift3.m4: New file.
+ * Makefile.am: Add them.
+ * in_unpack_generic.c: Initialize src.
+ Regenerate generated files.
+
+2003-03-14 Paul Brook <paul@nowt.org>
+
+ * m4/shape.m4: Work properly with array temporaries.
+ * m4/in_pack.m4: Skip redundant checks for array temporaries.
+ * runtime/in_pack_generic.c: Ditto.
+
+2003-03-12 Paul Brook <paul@nowt.org>
+
+ * m4/shape.m4: Work properly with noncontiguous arrays.
+
+2003-03-08 Paul Brook <paul@nowt.org>
+
+ * m4/in_pack.m4: Correctly handle zero sized and assumed size arrays.
+ * runtime/in_pack_generic.c: Ditto.
+
+2003-02-08 Paul Brook <paul@nowt.org>
+
+ * intrinsics/reshape_generic.c: Use runtime_error to report errors.
+ * io/close.c (st_close): Return void.
+ * io/open.c (st_open): Return void.
+ * libgfor.h (g95_array_char): Declare.
+ (internal_malloc_size): Ditto.
+ (internal_pack*, internal_unpack*): Ditto.
+ * m4/in_pack.m4: Allocate storage if neccessary. Fix logic for packed
+ arrays.
+ * m4/in_unpack.m4: Include file fixes.
+ * m4/reshape.m4: Increment the correct source pointer.
+ * Makefile.am (maxloc): Fix typo.
+ * runtime/in_pack_generic.c: Call optimized functions. Allocate
+ storage if neccessary. Fix logic for packed arrays.
+ * runtime/in_unpack_generic.c: Call optimized functions.
+ * runtime/main.c: Use runtime_error to report errors.
+ * memory.c (internal_malloc_size): Make non-static.
+
+2003-02-02 Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>
+
+ * reshape_packed.c, lock.c: Add #include <string.h>.
+ * libgfor.h, format.c, inquire.c, io.h, transfer.c, unix.c,
+ environ.c, error.c, memory.c, string.c: Add const.
+ * error.c (show_locus): Add void.
+
+2003-02-21 Paul Brook <paul@nowt.org>
+
+ * m4/in_pack.m4: Avoid returning const * parameter.
+ * Makefile.am: Only regenerate files in maintainer mode.
+
+2003-02-20 Paul Brook <paul@nowt.org>
+
+ Add array repacking support functions.
+ * m4/in_pack.m4, m4/in_unpack.m4: New files.
+ * runtime/in_pack_generic.c, runtime/in_unpack_generic.c: New files.
+ * Makefile.am: Build them. Regenerate configury files.
+ * generated/: New directory for generated files (need to move
+ everything else there).
+
+2003-02-07 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
+
+ * m4/cexp.m4: Fix typo.
+
+2003-01-26 Paul Brook <paul@nowt.org>
+
+ * intrinsics/: Add missing generated files.
+
+2003-01-26 Paul Brook <paul@nowt.org>
+
+ * Makefile.am: Put -I before the filename.
+
+2003-01-24 Paul Brook <paul@nowt.org>
+
+ * configure.in: Add AM_MAINTAINER_MODE.
+
+2003-01-23 Paul Brook <paul@nowt.org>
+
+ * configure.in, Makefile.am: Modify to work with unmodified autoconf
+ and auotmake.
+ Also regenerate other configury files.
+
+2003-01-21 Paul Brook <paul@nowt.org>
+
+ * io/read.c: Don't use stdint.h, it doesn't exist on cygwin.
+
+2003-01-20 Steven Bosscher <s.bosscher@student.tudelft.nl>
+
+ * io/read.c (read_f): Don't use alloca, but safe get_mem instead.
+ Don't include "alloca.h".
+
+2003-01-20 Steven Bosscher <s.bosscher@student.tudelft.nl>
+
+ * intrinsics/string.c: Rename to intrinsics/string_intrinsics.c.
+ * Makefile.am: Adjust file name.
+ * Makefile.in: Regenerate.
+ * gfortypes.h: Kill, include everything in...
+ * libgfor.h: ...here. Include config.h
+ * fmain.c, intrinsics/ishftc.c, intrinsic/reshape_generic.c,
+ intrinsics/reshape_i4.c, intrinsics/reshape_i8.c,
+ intrinsics/reshape_packed.c, intrinsics/size.c,
+ m4/reshape.m4, runtime/main.c, runtime/memory.c: Use macro
+ for prefix for all functions instead of hardcoded.
+
+2003-01-19 Steven Bosscher <s.bosscher@student.tudelft.nl>
+
+ * io/lock.c (library_end): Propagate library return
+ code.
+
+2003-01-19 Steven Bosscher <s.bosscher@student.tudelft.nl>
+
+ Port fixes from Andy's tree:
+ * io/read.c (read_decimal): Reverse sense of overflow
+ comparison during integer reads.
+ * io/format.c (revert): Fix comment.
+ (next_format): Fix format revision.
+ * io/unix.c: Fix and simplify mmap version of stream
+ functions.
+
+2003-01-11 Paul Brook <paul@nowt.org>
+
+ * configure, Makefile.in: Regenerate.
+
+2003-01-11 Paul Brook <paul@nowt.org>
+
+ * runtime/stop.c: Rewrite.
+
+2003-01-08 Paul Brook <paul@nowt.org>
+
+ * configure, Makefile.in: Regenerate.
+
+2003-01-05 Paul Brook <paul@nowt.org>
+
+ * (*.m4) Move to m4/.
+ * intrinsics/string.c (_gfor_string_index): New Function.
+
+
+Copyright (C) 2003 Free Software Foundation, Inc.
+
+Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved.
diff --git a/gcc-4.7/libgfortran/ChangeLog-2004 b/gcc-4.7/libgfortran/ChangeLog-2004
new file mode 100644
index 000000000..4775115a3
--- /dev/null
+++ b/gcc-4.7/libgfortran/ChangeLog-2004
@@ -0,0 +1,1111 @@
+2004-12-27 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
+
+ * libgfortran/libgfortran.h (GFC_UINTEGER_1, GFC_UINTEGER_2):
+ Define.
+ * intrinsics/ishftc.c: Update copyright years.
+ (ishftc8): Change 'shift' and 'size' to GFC_INTEGER_4.
+ * intrinsics/mvbits.c: Correct non-ASCII character in my name.
+ Add implementations for GFC_INTEGER_1 and GFC_INTEGER_2.
+
+2004-12-23 Bud Davis <bdavis9659@comcast.net>
+
+ PR fortran/19071
+ * io/tranfer.c (formatted_transfer): moved check for
+ format reversion inside the processing loop.
+
+2004-12-19 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
+
+ PR libfortran/19074
+ * libgfortran.h (itoa): Rename to gfc_itoa.
+ * io/write.c (itoa): Same.
+ * runtime/environ.c (itoa): Same.
+ * runtime/error.c (itoa): Same.
+
+2004-12-15 Bud Davis <bdavis9659@comcast.net>
+ Steven G. Kargl <kargls@comcast.net>
+
+ PR fortran/17597
+ * io/list_read.c (read_real): do not push back a comma when
+ it delimits a real value without a decimal point
+
+2004-12-14 Steve Ellcey <sje@cup.hp.com>
+
+ * libgfortran/io/transfer.c (us_read): Use memcpy/memset
+ instead of assignment to fill unaligned buffer.
+ (us_write): Ditto.
+ (next_record_w): Ditto.
+
+2004-12-14 Steven G. Kargl <kargls@comcast.net>
+
+ PR libfortran/18966
+ * gfortran.h: typedef GFC_INTEGER_1 and GFC_INTEGER_2
+ * intrinsics/cshift0.c (cshift0_1,cshift0_2): New functions.
+ * intrinsics/eoshift0.c (eoshift0_1,eoshift0_2): New functions.
+ * intrinsics/eoshift2.c (eoshift2_1,eoshift2_2): New functions.
+
+2004-12-13 David Edelsohn <edelsohn@gnu.org>
+
+ * io/transfer.c (read_sf): Change bitwise "and" to logical "and".
+
+2004-12-12 Richard Henderson <rth@redhat.com>
+
+ * intrinsics/cshift0.c, intrinsics/eoshift0.c, intrinsics/eoshift2.c,
+ intrinsics/pack_generic.c, intrinsics/reshape_generic.c,
+ intrinsics/spread_generic.c, intrinsics/transpose_generic.c,
+ intrinsics/unpack_generic.c, m4/cshift1.m4, m4/dotprod.m4,
+ m4/dotprodc.m4, m4/dotprodl.m4, m4/eoshift1.m4, m4/eoshift3.m4,
+ m4/iforeach.m4, m4/ifunction.m4, m4/matmul.m4, m4/matmull.m4,
+ m4/reshape.m4, m4/shape.m4, m4/transpose.m4: Use standard prefix
+ instead of "__".
+ * generated/*: Rebuild.
+
+2004-12-12 Richard Henderson <rth@redhat.com>
+
+ * acinclude.m4 (LIBGFOR_CHECK_ATTRIBUTE_VISIBILITY): New.
+ (LIBGFOR_CHECK_ATTRIBUTE_DLLEXPORT): New.
+ (LIBGFOR_CHECK_ATTRIBUTE_ALIAS): New.
+ * configure.ac: Use them.
+ * configure, config.h.in, aclocal.m4: Rebuild.
+ * libgfortran.h (prefix): Remove.
+ (PREFIX, IPREFIX): New.
+ (sym_rename, sym_rename1, sym_rename2): New.
+ (internal_proto, export_proto, export_proto_np): New.
+ (iexport_proto, iexport): New.
+ (iexport_data_proto, iexport_data): New.
+ * intrinsics/abort.c, intrinsics/args.c, intrinsics/associated.c,
+ intrinsics/cpu_time.c, intrinsics/cshift0.c,
+ intrinsics/date_and_time.c, intrinsics/env.c, intrinsics/eoshift0.c,
+ intrinsics/eoshift2.c, intrinsics/etime.c, intrinsics/exit.c,
+ intrinsics/flush.c, intrinsics/fnum.c, intrinsics/getXid.c,
+ intrinsics/getcwd.c, intrinsics/ishftc.c, intrinsics/mvbits.c,
+ intrinsics/pack_generic.c, intrinsics/rand.c, intrinsics/random.c,
+ intrinsics/reshape_generic.c, intrinsics/size.c,
+ intrinsics/spread_generic.c, intrinsics/stat.c,
+ intrinsics/string_intrinsics.c, intrinsics/system.c,
+ intrinsics/system_clock.c, intrinsics/transpose_generic.c,
+ intrinsics/umask.c, intrinsics/unlink.c, intrinsics/unpack_generic.c,
+ io/backspace.c, io/close.c, io/endfile.c, io/inquire.c, io/io.h,
+ io/open.c, io/rewind.c, io/transfer.c, libgfortran.h, m4/cshift1.m4,
+ m4/dotprod.m4, m4/dotprodc.m4, m4/dotprodl.m4, m4/eoshift1.m4,
+ m4/eoshift3.m4, m4/exponent.m4, m4/fraction.m4, m4/iforeach.m4,
+ m4/ifunction.m4, m4/matmul.m4, m4/matmull.m4, m4/nearest.m4,
+ m4/pow.m4, m4/reshape.m4, m4/set_exponent.m4, m4/shape.m4,
+ m4/transpose.m4, runtime/environ.c, runtime/error.c,
+ runtime/in_pack_generic.c, runtime/in_unpack_generic.c,
+ runtime/main.c, runtime/memory.c, runtime/pause.c, runtime/select.c,
+ runtime/stop.c: Use them to mark symbols internal or external.
+ * generated/*: Rebuild.
+
+2004-12-09 David Edelsohn <edelsohn@gnu.org>
+
+ PR bootstrap/18895
+ Revert 2004-12-07 change.
+ * Makefile.am (AM_MAKEFLAGS): Delete.
+ * Makefile.in: Regenerate.
+
+2004-12-07 Steve Ellcey <sje@cup.hp.com>
+
+ * libgfortran/Makefile.am (AM_MAKEFLAGS): New.
+ * libgfortran/Makefile.in: Regenerate
+
+2004-12-07 Steve Ellcey <sje@cup.hp.com>
+
+ * io/io.h (open_external): Change prototype.
+ * io/unix.c (regular_file): Change prototype and set flags->action if
+ needed.
+ (open_external): Ditto.
+ * io/open.c (new_unit): Let open_external set flags->action.
+
+2004-12-07 Eric Botcazou <ebotcazou@libertysurf.fr>
+
+ * configure.ac: Check for ieeefp.h. Check for fabsf in libm.
+ * configure: Regenerate.
+ * config.h.in: Likewise.
+ * c99_protos.h: New file.
+ * libgfortran.h: Include c99_protos.h and conditionally ieeefp.h.
+ * intrinsics/c99_functions.c (fabsf): New function.
+
+2004-12-06 Richard Henderson <rth@redhat.com>
+
+ * intrinsics/cshift0.c, intrinsics/eoshift0.c, intrinsics/eoshift2.c,
+ intrinsics/pack_generic.c, intrinsics/string_intrinsics.c,
+ intrinsics/transpose_generic.c, m4/ifunction.m4, m4/matmul.m4,
+ m4/matmull.m4, m4/transpose.m4: Use internal_malloc_size instead
+ of internal_malloc.
+ * generated/*: Rebuild.
+
+2004-12-06 Richard Henderson <rth@redhat.com>
+
+ * intrinsics/c99_functions.c, intrinsics/eoshift0.c,
+ intrinsics/eoshift2.c, intrinsics/exit.c, intrinsics/flush.c,
+ intrinsics/ishftc.c, intrinsics/mvbits.c, intrinsics/pack_generic.c,
+ intrinsics/random.c, intrinsics/reshape_generic.c, intrinsics/size.c,
+ intrinsics/spread_generic.c, intrinsics/stat.c,
+ intrinsics/string_intrinsics.c, intrinsics/system_clock.c,
+ intrinsics/transpose_generic.c, intrinsics/unlink.c,
+ intrinsics/unpack_generic.c, io/backspace.c, io/format.c,
+ io/list_read.c, io/lock.c, io/open.c, io/transfer.c, io/unix.c,
+ io/write.c, runtime/environ.c, runtime/error.c,
+ runtime/in_pack_generic.c, runtime/in_unpack_generic.c, runtime/main.c,
+ runtime/memory.c, runtime/pause.c, runtime/stop.c,
+ runtime/string.c: Whitespace fixes.
+
+2004-12-06 Richard Henderson <rth@redhat.com>
+
+ * Makefile.am: Generate all m4 output under $(srcdir).
+ * Makefile.in: Regenerate.
+
+2004-12-02 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
+
+ PR fortran/18710
+ * io/transfer.c (unformatted_read, unformatted_write): width of
+ a COMPLEX is twice its kind.
+
+2004-12-02 Richard Sandiford <rsandifo@redhat.com>
+
+ * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
+ * configure, aclocal.m4, Makefile.in: Regenerate.
+
+2004-12-02 Bud Davis <bdavis9659@comcast.net>
+
+ PR libfortran/18284
+ * io/unix.c (fd_alloc_w_at): Update file_length when extending.
+ * io/backspace.c (formatted_backspace): Reset endfile after backspace.
+
+2004-12-02 Bud Davis <bdavis9659@comcast.net>
+
+ * io/inquire.c (inquire_via_unit): do not allow a direct access
+ file to be opened for sequential I/O.
+
+2004-12-02 Steven G. Kargl <kargls@comcast.net>
+ Paul Brook <paul@codesourcery.com>
+
+ * intrinsics/flush.c: New file.
+ * intrinsics/fnum.c: ditto
+ * intrinsics/stat.c: ditto
+ * io/io.h (unit_to_fd): Add prototype.
+ * io/unix.c (unit_to_fd): New function.
+ * configure.ac: Add test for members of struct stat. Check for
+ sys/types.h and sys/stat.h
+ * Makefile.am: Add intrinsics/{flush.c,fnum.c,stat.c}
+ * configure.in: Regenerate.
+ * config.h.in: Regenerate.
+ * Makefile.in: Regenerate.
+
+2004-12-01 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
+
+ * Makefile.am (AM_CPPFLAGS): Use -iquote instead of -I.
+
+2004-11-28 Bud Davis <bdavis9659@comcast.net>
+
+ * io/unix.c (mmap_alloc_w_a): check for a write to a location
+ less than the mapped area.
+
+2004-11-27 Bud Davis <bdavis9659@comcast.net>
+
+ PR fortran/18364
+ * io/endfile.c (st_endfile): flush the stream before truncating.
+
+2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
+
+ * configure: Regenerate for libtool change.
+
+2004-11-22 Steven Bosscher <stevenb@suse.de>
+
+ PR libfortran/15960
+ * configure.ac: Check for finite in libm.
+ * libgfortran.h: Define isfinite macro if not defined.
+ * intrinsics/c99_functions.c: Use defined(fpclassify) instead of
+ HAVE_FPCLASSIFY.
+ * io/write.c (write_float): Use isfinite instead of finite.
+ * configure, config.h.in: Rebuilt.
+
+2004-11-20 Roger Sayle <roger@eyesopen.com>
+
+ * io/write.c (write_float, list_formatted_write): Fix indentation.
+
+2004-11-20 Eric Botcazou <ebotcazou@libertysurf.fr>
+
+ PR target/16135
+ * acinclude.m4 (LIBGFOR_TARGET_ILP32): New check.
+ * configure.ac: Include LIBGFOR_TARGET_ILP32.
+ * configure: Regenerate.
+ * config.h.in: Likewise.
+ * libgfortran.h: Provide default definitions for C99 types
+ on ILP32 targets that don't have them.
+
+ PR target/17999
+ * configure.ac: Check for snprintf.
+ * configure: Regenerate.
+ * config.h.in: Likewise.
+ * intrinsics/date_and_time.c (date_and_time): Do not
+ use snprinf if it is not available.
+ * io/write.c (output_float): Likewise.
+
+2004-11-20 Steven G. Kargl <kargls@comcast.net>
+
+ * Makefile.am: Add intrinsics/{umask.c,unlink.c,exit.c}
+ * Makefile.in: Regenerated
+ * intrinsics/umask.c: New file
+ * intrinsics/unlink.c: ditto
+ * intrinsics/exit.c: ditto
+
+2004-11-18 Victor Leikehman <lei@il.ibm.com>
+
+ * m4/matmul.m4: Loops reordered to improve cache behavior.
+ * generated/matmul_??.c: Regenerated.
+
+2004-11-10 Paul Brook <paul@codesourcery.com>
+
+ PR fortran/18218
+ * configure.ac: Check for strtof.
+ * configure: Regenerate.
+ * config.h.in: Regenerate.
+ * io/read.c (convert_real): Use strtof if available.
+ (convert_precision_real): Remove.
+ (read_f): Avoid poor exponentiation algorithm.
+
+2004-11-05 Andreas Schwab <schwab@suse.de>
+
+ * configure.ac: Use AC_PROG_FC, FC and FCFLAGS instead of
+ AC_PROG_F77, F77 and FFLAGS.
+ * Makefile.am (selected_int_kind.inc, selected_real_kind.inc): Use
+ FCCOMPILE instead of F77COMPILE.
+ * configure, Makefile.in: Regenerate.
+
+2004-11-05 Kelley Cook <kcook@gcc.gnu.org>
+
+ * acinclude.m4: Properly quote AC_CACHE_CHECK.
+ * Makefile.am: Add in ACLOCAL_AMFLAGS.
+ * aclocal.m4, configure, Makefile.in: Regenerate.
+
+2004-10-30 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
+
+ * config.h.in: Regenerate.
+ * configure: Regenerate.
+ * configure.ac (AC_CHECK_FUNCS): Add mkstemp.
+ * io/unix.c (S_IRGRP): Define if undefined.
+ (S_IWGRP): Same.
+ (S_IROTH): Same.
+ (S_IWOTH): Same.
+ (tempfile): Use mktemp if mkstemp missing, fix typos.
+
+2004-10-30 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
+
+ * intrinsics/system.c ("libgfortran.h"): Move after system headers.
+
+2004-10-30 Canqun Yang <canqun@nudt.edu.cn>
+
+ * intrinsics/rand.c (irand): Handle NULL argument.
+
+2004-10-07 Paul Brook <paul@codesourcery.com>
+
+ * io/transfer.c (finalize_transfer): Free internal streams.
+ * io/unix.c (mem_close): Free stream object.
+
+2004-10-07 Paul Brook <paul@codesourcery.com>
+
+ * intrinsics/string_intrinsics.c (string_verify): Fix off by one
+ error.
+
+2004-10-06 Paul Brook <paul@codesourcery.com>
+
+ PR libfortran/17709
+ * io/transfer.c (data_transfer_init): Reset sf_seen_eor.
+
+2004-10-04 Andrew Pinski <pinskia@physics.uc.edu>
+
+ * intrinsics/mvbits.c: Commit the file.
+
+2004-10-04 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
+
+ PR fortran/17283
+ * intrinsics/pack_generic.c (__pack): Allocate memory for return array
+ if not done by caller.
+ (__pack_s): New function.
+ * runtime/memory.c (internal_malloc, internal_malloc64): Allow
+ allocating zero memory.
+
+ PR fortran/17631
+ * Makefile.am (gfor_helper_src): Add intrinsics/mvbits.h.
+ * Makefile.in: Regenerate.
+ * intrinsics/mvbits.h: New file.
+
+ PR fortran/17776
+ * intrinsics/system.c: New file.
+ * Makefile.am: Add dependency for the new file.
+ * Makefile.in: Regenerate.
+
+2004-10-04 Paul Brook <paul@codesourcery.com>
+ Bud Davis <bdavis9659@comcast.net>
+
+ PR fortran/17706
+ PR fortran/16434
+ * io/format.c (parse_format_list): Set repeat count for S, SP, SS,
+ BN and BZ formats.
+ * io/write.c (output_float): Don't output minus zero.
+
+2004-10-03 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
+
+ * intrinsics/abort.c ("libgfortran.h"): Move.
+ * intrinsics/date_and_time.c ("libgfortran.h"): Same.
+ * intrinsics/write.c ("libgfortran.h"): Same.
+
+2004-09-26 Tobias Schlueter <tobis.schlueter@physik.uni-muenchen.de>
+
+ PR libfortran/16137
+ * config.h.in (HAVE_POWF): Undefine.
+ * configure.ac: Check for 'powf' in library.
+ * configure: Regenerate.
+ * intrinsics/c99_functions.c (powf): New function.
+
+2004-09-24 Tobias Schlueter <tobis.schlueter@physik.uni-muenchen.de>
+
+ * intrinsics/etime.c (etime_): New function.
+
+2004-09-21 Steven G. Kargl <kargls@comcast.net>
+
+ * libgfortran.h: define gfc_alloca()
+ * intrinsics/env.c (getenv, get_environment_variable_i4): Use it.
+
+2004-09-21 Bud Davis <bdavis9659@comcast.net>
+
+ PR fortran/17286
+ * io/list_read.c (namelist_read): ignore spaces after
+ the '=' for namelist reads.
+
+2004-09-15 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
+
+ * config.h.in: Regenerate.
+ * configure: Regenerate.
+ * configure.ac (AC_CHECK_HEADERS): Check for sys/mman.h.
+ * unix.c: Include stdio.h.
+ (HAVE_SYS_MMAN_H): Check.
+ (PROT_READ, PROT_WRITE): Provide default definitions.
+
+2004-09-15 Steven G. Kargl <kargls@comcast.net>
+
+ * intrincics/getcwd.c: New file.
+ * Makefile.am: Add getcwd.c.
+ * Makefile.in: Regenerated.
+
+2004-09-15 Steven G. Kargl <kargls@comcast.net>
+ Paul Brook <paul@codesourcery.com>
+
+ * intrinsics/env.c (getenv, get_environmental_variable): Remove
+ trailing white space. Use alloca. Honour trim_name.
+
+2004-09-13 Bud Davis <bdavis9659@comcast.net>
+
+ PR fortran/17090
+
+ * io/list_read.c (list_formatted_read): Handle trailing spaces
+ at end of line.
+
+2004-09-06 Steven G. Kargl <kargls@comcast.net>
+
+ * io/write.c (output_float): Typo in comment. Remove debugging
+ printf. Fix format for FP of form 1e10.
+
+2004-09-03 Richard Henderson <rth@redhat.com>
+
+ * intrinsics/cshift0.c (DEF_COPY_LOOP, copy_loop_int, copy_loop_long,
+ copy_loop_double, copy_loop_ldouble): New.
+ (__cshift0): Make shift type ssize_t. Use % operator instead of
+ div. Use specialized versions of copy loop depending on the shape.
+
+2004-09-02 Paul Brook <paul@codesourcery.com>
+
+ * io/format.c (parse_format_list): Set repeat count for P descriptors.
+ * write.c (output_float): Fix condition. Correctly handle nonzero
+ scale factor.
+
+2004-09-01 Eric Botcazou <ebotcazou@libertysurf.fr>
+
+ * mk-sik-inc.sh: Use a temporary string instead of 'echo -n'.
+ * mk-srk-inc.sh: Likewise.
+
+2004-09-01 Paul Brook <paul@codesourcery.com>
+
+ * runtime/error.c (generate_error): Set both iostat and
+ library_return.
+
+2004-08-31 Paul Brook <paul@codesourcery.com>
+
+ PR libfortran/16805
+ * io/list_read.c (next_char): Don't signal EOF for internal files.
+ * io/unix.c (mem_alloc_r_at): Don't return NULL for incomplete reads.
+
+2004-08-31 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
+
+ * io/unit.c: Separate copyright years by ','.
+ (compare, insert_unit, delete_unit, is_internal_unit, close_units):
+ Remove blank line in beginning of function.
+ (get_unit): Simplify code.
+
+2004-08-31 Paul Brook <paul@codesourcery.com>
+
+ * io/unit.c (get_unit): Remove superfluous if.
+
+2004-08-31 Paul Brook <paul@codesourcery.com>
+
+ * io/transfer.c (read_sf): Rename uinty to readlen. Detect EOF.
+ (finalize_transfer): Move setjmp after namlist IO.
+ * io/unix.c (mem_alloc_r_at): Calculate remaining length correctly.
+
+2004-08-31 Paul Brook <paul@codesourcery.com>
+
+ * list_read.c (eat_separator): Set at_eo when a '/' is seen.
+
+2004-08-31 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
+
+ * libgfortran.h: Replace 'gfc_strlen_type' by
+ 'gfc_charlen_type'. Update comment accordingly.
+ * intrinsics/args.c, intrinsics/env.c, io/io.h, io/transfer.c:
+ Replace all occurences of 'gfc_strlen_type' by 'gfc_charlen_type'.
+
+2004-08-31 Paul Brook <paul@codesourcery.com>
+
+ * libgfortran.h: Add comments.
+
+2004-08-30 Richard Henderson <rth@redhat.com>
+
+ * Makefile.am (gfor_helper_src): Split selected_kind.f90.
+ (gfor_built_src): Add selected_int_kind.inc selected_real_kind.inc.
+ (selected_int_kind.inc selected_real_kind.inc): New rules.
+ * Makefile.in: Regenerate.
+ * mk-sik-inc.sh, mk-srk-inc.sh: New files.
+ * intrinsics/selected_int_kind.f90: Split from selected_kind.f90,
+ include table of detected kinds.
+ * intrinsics/selected_real_kind.f90: Similarly.
+
+2004-08-29 Steven G. Kargl <kargls@comcast.net>
+ Paul Brook <paul@codesourcery.com>
+
+ * intrinsics/bessel.c: New file.
+ * intrinsics/erf.c: New file.
+ * Makefie.am: Add intrinsics/bessel.c and intrinsics/erf.c.
+ * configure.ac: Test for C99 Bessel and Error functions.
+ * Makefile.in: Regenerate.
+ * config.h.in: Regenerate.
+ * configure: Regenerate.
+
+2004-08-29 Steven G. Kargl <kargls@comcast.net>
+ Paul Brook <paul@codesourcery.com>
+
+ * Makefile.am: Add intrinsics/getXid.c.
+ * configure.ac: Add tests for get{g,p,u}id.
+ * config.h.in: Regenerate.
+ * Makefile.in: Regenerate.
+ * configure: Regenerate.
+
+2004-08-28 Paul Brook <paul@codesourcery.com>
+
+ PR libfortran/17195
+ * libgfortran.h (rtoa): Remove prototype.
+ * runtime/error.c (rtoa): Remove.
+ * io/write.c (calculate_G_format): Don't add blanks if E format is
+ used. Add correct number of blanks when exponent width is specified.
+ (output_float): Rewrite.
+
+2004-08-27 Paul Brook <paul@codesourcery.com>
+
+ * io/rewind.c (st_rewind): Reset unit to read mode.
+
+2004-08-27 Bud Davis <bdavis9659@comcast.net>
+
+ PR fortran/16597
+ * io/io.h: created typedef for unit_mode.
+ * io/io.h (gfc_unit): added mode to unit structure.
+ * io/transfer.c (data_transfer_init): flush if a write then
+ read is done on a unit (direct access files).
+ * io/rewind.c (st_rewind): Used unit mode instead of global.
+
+2004-08-24 Bud Davis <bdavis9659@comcast.net>
+
+ PR fortran/17143
+ * runtime/error.c (itoa): keep from overflowing during
+ mod operation by using unsigned variable.
+
+2004-08-24 Bud Davis <bdavis9659@comcast.net>
+
+ PR fortran/17164
+ * runtime/string_intrinsics.c (string_index):check for
+ substring longer than string.
+
+2004-08-24 David Edelsohn <edelsohn@gnu.org>
+
+ * Makefile.am (libgfortran_la_LDFLAGS): Add -lm.
+ * Makefile.in: Rebuilt.
+
+2004-08-23 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
+
+ * io/io.h, io/list_read.c, io/open.c, io/transfer.c, io/write.c:
+ Fix formatting issues, update copyright years.
+
+2004-08-21 Bud Davis <bdavis9659@comcast.net>
+
+ PR 16908
+ * io/transfer.c (next_record_w): Do not blank pad.
+ * io/transfer.c (next_record): Take into account partial records.
+
+2004-08-18 Victor Leikehman <lei@il.ibm.com>
+
+ PR fortran/13278
+ * io/transfer.c (st_set_nml_var)
+ * io/write.c (namelist_write): Allow var_name and var_name_len to be
+ null. For strings, use string_length field instead of len.
+ * io/io.h (struct namelist_type): New field string_length.
+ (st_set_nml_var_char): New argument string_length.
+
+2004-08-13 Bud Davis <bdavis9659@comcast.net>
+
+ PR gfortran/16935
+ * io/open.c (st_open): use flags instead of the unit structure.
+
+2004-08-10 Victor Leikehman <lei@il.ibm.com>
+
+ * io/list_read.c (namelist_read): Convert variable names
+ to lower case, so that mixed-case names are recognized.
+ Don't read beyond terminating slash.
+
+2004-08-09 Richard Henderson <rth@redhat.com>
+ Roger Sayle <roger@eyesopen.com>
+
+ * intrinsics/c99_functions.c (nextafterf): New implementation that
+ works correctly with denormalized numbers.
+
+2004-08-09 Victor Leikehman <lei@il.ibm.com>
+
+ * m4/matmul.m4, m4/matmull.m4, intrinsics/eoshift0.c,
+ intrinsics/eoshift2.c, intrinsics/transpose_generic.c:
+ Allocate space if return value has NULL in its data field.
+ * generated/*.c: Regenerate.
+
+2004-08-06 Janne Blomqvist <jblomqvi@cc.hut.fi>
+
+ * intrinsics/env.c: New file.
+ * Makefile.am: Add env.c to build.
+ * Makefile.in: Regenerate.
+
+2004-08-05 Victor Leikehman <lei@il.ibm.com>
+
+ PR libfortran/16704
+ * io/read.c (read_radix): Understand letters f and F as hex digits.
+
+2004-08-04 Victor Leikehman <lei@il.ibm.com>
+
+ * libgfortran.h (array_t, size0) New declarations.
+ * m4/ifunction.m4, m4/transpose.m4, intrinsics/cshift0.c: Allocate
+ space if return value descriptor has NULL in its data field,
+ and initialize bounds and stride.
+ * intrinsics/size.c (array_t, size0): Declarations moved to
+ libgfortran.h.
+ * generated/*.c: Regenerate.
+
+2004-08-03 Roger Sayle <roger@eyesopen.com>
+
+ PR libfortran/16137
+ * configure.ac: Add tests for acosf, asinf, atan2f, atanf, ceilf,
+ copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
+ scalbnf, sinf, sinhf, sqrtf, tanf and tanhf in libm.
+ * config.h.in: Regenerate.
+ * configure: Regenerate.
+
+ * instrinsics/c99_functions.c (acosf, asinf, atan2f, atanf, ceilf,
+ copysignf, cosf, coshf, expf, floorf, frexpf, hypotf, logf, log10f,
+ nextafterf, scalbnf, sinf, sinhf, sqrtf, tanf, tanhf): New stub
+ implementations for targets that don't support C99 float functions.
+
+2004-08-01 Roger Sayle <roger@eyesopen.com>
+
+ * io/write.c (write_float): Use the slightly more portable isnan
+ in preference to isinf.
+
+2004-07-18 Bud Davis <bdavis9659@comcast.net>
+
+ * configure.ac: Add check for LFS support.
+ * configure: Regenerate
+
+2004-07-11 Paul Brook <paul@codesourcery.com>
+
+ PR fortran/16303
+ * m4/cexp.m4 (carg): Return -pi to pi.
+ * generated/exp_c?.c: Regenerate.
+
+2004-07-08 Andreas Krebbel <krebbel1@de.ibm.com>
+
+ PR fortran/16291
+ * libgfortran/io/write.c: (write_float): Added length check.
+ Remove pointless memset calls.
+
+2004-07-04 Bud Davis <bdavis9659@comcast.net>
+ Paul Brook <paul@codesourcery.com>
+
+ PR fortran/15472
+ * io/transfer.c(us_write): set recl for seq unform writes to max size.
+ * io/transfer.c(data_transfer_init): handle un-opened seq unform unit.
+ * io/unix.c(fd_alloc_w_at): handle requests at start, fd_flush at
+ right time.
+ * io/unix.c(is_seekable): set based upon the file/device, not the
+ method being used to access it (fd or mmap).
+ * io/unix.c(fd_flush): don't set file_size if !seekable.
+ * io/unix.c(fd_truncate: ditto.
+
+2004-07-04 Janne Blomqvist <jblomqvi@cc.hut.fi>
+ Paul Brook <paul@codesourcery.com>
+
+ PR fortran/15280
+ PR fortran/15665
+ * libgfortran.h (gfc_strlen_type): Define.
+ * intrinsics/args.c (getarg): Rename ...
+ (getarg_i4): ... to this.
+ (getarg_i8, get_command_argument_i4, get_command_argument_i8,
+ get_command_i4, get_command_i8): New functions.
+
+2004-07-04 Matthias Klose <doko@debian.org>
+
+ * libtool-version: New.
+ * Makefile.am (libgfortran_la_LDFLAGS): Use -version-info for soname.
+ * Makefile.in: Regenerate.
+ * configure.ac: Remove libtool_VERSION macro
+ * configure: Regenerate
+
+2004-06-30 Steve Kargl <sgk@troutmask.apl.washington.edu>
+ Steven Bosscher <stevenb@suse.de>
+
+ * intrinsics/rand.c (rand): Wrap the irand() call from the previous
+ commit in prefix.
+
+2004-06-29 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
+ Paul Brook <paul@codesourcery.com>
+
+ * runtime/normalize.c (normalize_r4_i4, normalize_r8_i8): Fix
+ comments.
+ * intrinsics/rand.c (rand): Call irand() in call to normalize_r4_i4.
+
+2004-06-27 Bud Davis <bdavis9659@comcast.net>
+
+ PR gfortran/12839
+ * io/write.c (write_float): check signbit for Infinity.
+
+2004-06-26 Bud Davis <bdavis9659@comcast.net>
+
+ PR gfortran/16196
+ * unix.c(regular_file): create file if it does not exist.
+
+2004-06-24 Andrew Pinski <apinski@apple.com>
+
+ * configure.ac: Remove check for libmx.
+ * configure: Regenerate.
+
+2004-06-22 Janne Blomqvist <jblomqvi@cc.hut.fi>
+
+ PR fortran/15750
+ * inquire.c (st_inquire): Add comment
+ * io.h (st_parameter): Add iolength.
+ (st_iolength, st_iolength_done): Declare.
+ * transfer.c (iolength_transfer, iolength_transfer_init,
+ st_iolength, st_iolength_done): New functions.
+
+2004-06-21 Steven G. Kargl <kargls@comcast.net>
+
+ * etime.c (etime_sub): Remove array rank check;
+ Add check for sufficient space.
+
+2004-06-19 Bud Davis <bdavis9659@comcast.net>
+
+ PR gfortran/16080
+ * io/list_read.c(set_value): fixed spelling.
+
+2004-06-19 Bud Davis <bdavis9659@comcast.net>
+
+ PR gfortran/16080
+ * io/list_read.c(set_value): don't copy if the string is null.
+
+2004-06-14 Bud Davis <bdavis9659@comcast.net>
+
+ PR gfortran/15292
+ * intrinsics/c99_functions.c: Use fpclassify if it exists.
+
+2004-06-13 Paul Brook <paul@codesourcery.com>
+
+ * Makefile.am (gfor_helper_src): Add runtime/normalize.f90.
+ * configure.ac: Add checks for nextafter and nextafterf.
+ * Makefile.in, config.h.in, configure: Regenerate.
+ * libgfortran.h (normalize_r4_i4, normalize_r8_i8): Declare.
+ * intrinsics/rand.c (rand): Use normalize_r4_i4.
+ * intrinsics/random.c (random_r4): Use normalize_r4_i4.
+ (random_r8): Use normalize_r8_i8.
+ * runtime/normalize.c: New file.
+
+2004-06-13 Steven G. Kargl <kargls@comcast.net>
+ Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
+
+ * random.c: Fix several spelling and formatting mistakes in
+ comments.
+ (random_r8): Fix loop to make random numbers range in [0,1(.
+
+
+2004-06-13 Steven G. Kargl <kargls@comcast.net>
+
+ * random.c (random_r4): Burn a random number.
+ (random_r8): fix infinite loop.
+
+2004-06-12 Bud Davis <bdavis9659@comcast.net>
+ Steve Kargl <sgk@troutmask.apl.washington.edu>
+
+ PR gfortran/15292
+ * intrinsics/c99_functions.c: New file.
+ * Makefile.am: Add new file.
+ * configure.ac: Added test for round/roundf.
+ * Makefile.in: Regenerate.
+ * configure: Regenerate.
+ * configure.h.in: Regenerate.
+
+2004-06-12 Steven G. Kargl <kargls@comcast.net>
+
+ * Makefile.am: Add rand.c and etime.c
+ * Makefile.in: Regenerated.
+ * aclocal.in: Regenerated.
+ * cpu_time.c (second_sub, second): New functions.
+ * rand.c (irand, rand, srand): New file.
+ * etime.c (etime_sub, etime): New file.
+
+2004-06-12 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
+ Steven Bosscher <stevenb@suse.de>
+
+ PR fortran/14923
+ * intrinsics/date_and_time.c: New file.
+ * Makefile.am (gfor_helper_src): Add intrinsics/date_and_time.c.
+ * Makefile.in, aclocal.m4: Regenerate.
+ * libgfortran.h: Prototype date_and_time().
+
+2004-06-12 Bud Davis <bdavis9659@comcast.net>
+
+ PR fortran/15665
+ * intrinsics/args.c: Implement GETARG and IARGC.
+ * Makefile.am: Add it.
+ * Makefile.in: Regenerate.
+
+2004-06-12 Bud Davis <bdavis9659@comcast.net>
+
+ PR gfortran/12839
+ * io/write.c(write_float): Format inf and nan IAW F2003.
+
+2004-06-09 Bud Davis <bdavis9659@comcaste.net>
+
+ PR gfortran/14897
+ * io/transfer.c (formatted_transfer): position is unique
+ for T and TL edit descriptors.
+ (data_transfer_init): set record length to size of internal
+ file.
+
+2004-06-09 Bud Davis <bdavis9659@comcast.net>
+
+ PR gfortran/15755
+ * io/backspace.c(st_backspace): call correct routine for
+ formatted and un-formatted units.
+
+2004-05-30 Andreas Jaeger <aj@suse.de>, Steven Bosscher <stevenb@suse.de>
+
+ PR gfortran/11800
+ * Makefile.am (AM_CPPFLAGS): Renamed from INCLUDES.
+ (lib_LTLIBRARIES): Rename to ...
+ (toolexeclib_LTLIBRARIES): this for multilib support.
+ * configure.in: Rename to ...
+ * configure.ac: this. Update to modern autoconf style, enable
+ multilibs, support --enable-version-specific-runtime-libs.
+ * Makefile.in: Regenerated.
+ * configure: Regenerated.
+ * aclocal.m4: Regenerated.
+
+2004-05-30 Steven G. Kargl <kargls@comcast.net>
+
+ * libgfortran.h (random_seed): Update prototype.
+ * intrinsics/random.c: Disable old implementation and add new one.
+
+2004-05-30 Andreas Jaeger <aj@suse.de>
+
+ * intrinsics/random.c: Include unistd.h for close and read
+ prototypes, remove unneeded inclusion of assert.h.
+
+ * intrinsics/abort.c: Include stdlib.h for abort prototype, remove
+ unneeded inclusion of assert.h.
+
+2004-05-27 Tobias Schlueter <tobias.shclueter@physik.uni-muenchen.de>
+
+ PR fortran/15234
+ * intrinsics/associated.c: Remove enum.
+ (associated): Replace TRUE/FALSE by 1/0.
+
+2004-05-23 Steven G. Kargl <kargls@comcast.net>
+
+ * random.c (random_seed): Use correct variable.
+
+2004-05-22 Steven G. Kargl <kargls@comcast.net>
+
+ * intrinsics/system_clock: New file.
+ * Makefile.am: Add intrinsics/system_clock.c.
+ * Makefile.in: Regenerate.
+
+2004-05-21 Roger Sayle <roger@eyesopen.com>
+
+ * io/format.c (parse_format_list): Allow the comma after a string
+ literal to be optional.
+
+2004-05-18 Paul Brook <paul@codesourcery.com>
+ Feng Wang <fengwang@nudt.edu.cn>
+
+ * Makefile.am (i_pow_c): Set it. Add build rule.
+ (gfor_built_src): Use it.
+ (m4_files): add m4/pow.m4.
+ * Makefile.in: Regenerate.
+ * m4/pow.m4: New file.
+ * generated/pow_*.c: Regenerate.
+
+2004-05-18 Paul Brook <paul@codesourcery.com>
+
+ * Makefile.am: Remove references to types.m4.
+ * m4/iparm.m4: Merge with types.m4.
+ * m4/types.m4: Remove.
+ * m4/cshift1.m4, m4/dotprod.m4, m4/dotprodc.m4, m4/dotprodl.m4,
+ m4/eoshift1.m4, m4/eoshift3.m4, m4/iforeach.m4, m4/ifunction.m4,
+ m4/in_pack.m4, m4/in_unpack.m4, m4/iparm.m4, m4/matmul.m4,
+ m4/matmull.m4, m4/maxloc0.m4, m4/maxloc1.m4, m4/maxval.m4,
+ m4/minloc0.m4, m4/minloc1.m4, m4/minval.m4, m4/reshape.m4,
+ m4/shape.m4, m4/specific.m4, m4/specific2.m4, m4/transpose.m4):
+ Update to use new iparm.m4.
+ * generated/*.c: Regenerate.
+
+2004-05-18 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
+
+ PR fortran/15235
+ * gfortran.h (offset_t): Rename to ...
+ (gfc_offset): ... this.
+ * io/backspace.c (formatted_backspace, unformatted_backspace),
+ io/io.h (stream, gfc_unit, global_t, file_length, file_position),
+ transfer.c (us_read, us_write, next_record_r, next_record_w),
+ io/unit.c (init_units), unix.c (unix_stream, fd_alloc,
+ fd_alloc_r_at, fd_alloc_w_at, fd_seek, mmap_alloc,
+ mmap_alloc_r_at, mmap_alloc_w_at, mmap_seek, mem_alloc_r_at,
+ mem_alloc_w_at, mem_seek, file_length, file_position): Replace all
+ occurences of offset_t by gfc_offset.
+
+2004-05-16 Paul Brook <paul@codesourcery.com>
+
+ * io/format.c (write_real): Don't include padding in format.
+
+2004-05-16 Paul Brook <paul@codesourcery.com>
+
+ * io/format.c (format_lex): Make c an int.
+
+2004-05-16 Janne Blomqvist <jblomqvi@cc.hut.fi>
+ Paul Brook <paul@codesourcery.com>
+
+ * io/write.c (write_logical): Don't print extra blank.
+ (write_integer): Base field width on kind.
+ (list_formatted_write): Output initial blank.
+
+2004-05-16 Janne Blomqvist <jblomqvi@cc.hut.fi>
+
+ * io/io.h (flush): Add prototype.
+ * io/transfer.c (finalize_transfer): Flush partial records.
+ * io/unix.c (flush): New function.
+
+2004-05-15 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
+
+ PR fortran/15234
+ * io/io.h (unit_t): Rename to ...
+ (gfc_unit) ... this.
+ (unit_root, current_unit, find_file, find_unit, get_unit): Now
+ of type gfc_unit.
+ (delete_file, insert_unit, close_unit): Argument now of type
+ gfc_unit.
+ * backspace.c (st_backspace), close.c (st_close), endfile.c
+ (st_endfile), inquire.c (inquire_via_unit, st_inquire), open.c
+ (test_endfile, edit_modes, new_unit, already_open, st_open),
+ rewind.c (st_rewind), transfer.c (current_unit), unit.c
+ (internal_unit, unit_cache, rotate_left, rotate_right, insert,
+ insert_unit, delete_root, delete_treap, delete_unit, find_unit,
+ get_unit, init_units, close_unit), unix.c (find_file0,
+ find_file, delete_file): Replace all occurences of unit_t by
+ gfc_unit.
+
+2004-05-15 Bud Davis <bdavis9659@comcast.net>
+
+ PR fortran/15311
+ * io/write.c (write_a): right justify A edit output.
+
+2004-05-14 Bud Davis <bdavis9659@comcast.net>
+
+ PR fortran/15149
+ * libgfortan.h,intrinsics/random.c: Made random_seed visible.
+ * runtime/main.c(init): Call random_seed as part of MAIN init.
+
+2004-05-13 Tobias Schlter <tobias.schlueter@physik.uni-muenchen.de>
+
+ * io/format.c: (parse_format_list): No comma is required after
+ P descriptor.
+
+2004-05-13 Bud Davis <bdavis9659@comcast.net>
+
+ PR fortran/15204
+ * io/intrinsic/string_intrinsics.c (adjustr): rework logic.
+
+2004-05-06 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
+ Steven Bosscher <stevenb@suse.de>
+
+ PR libfortran/15234
+ * libgfortran.h: Include <inttypes.h> if available.
+
+2004-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
+
+ * io/unix.c (MAP_FAILED): Define if missing.
+ (mmap_alloc): Cast MAP_FAILED to char *.
+ (mmap_open): Likewise.
+
+2004-04-26 Bud Davis <bdavis9659@comcast.net>
+
+ * generated/_abs_i8.f90: New file.
+ * generated/_abs_c4.f90: New file.
+ * generated/_abs_c8.f90: New file.
+ * Makefile.am: Add them.
+ * Makefile.in: Regenerate.
+`
+2004-04-26 Bud Davis <bdavis9659@comcast.net>
+
+ PR fortran/14056
+ * generated/_abs_i4.f90: New file.
+ * Makefile.am: Add it.
+ * Makefile.in: Regenerate.
+
+2004-04-25 Bud Davis <bdavis9659@comcast.net>
+
+ PR fortran/14942
+ * io/list_read.c(list_formatted_read): finish consuming the
+ spaces and seperators at eoln to get ready for next item.
+
+2004-04-23 Bud Davis <bdavis9659@comcast.net>
+
+ PR fortran/15113
+ * io/read.c(read_a): Handle field width > destination and no field width.
+
+2004-04-22 Bud Davis <bdavis9659@comcast.net>
+
+ PR fortran/14906
+ * io/format.c (format_item): gracefully handle a ')'
+ when it is the first character encountered in the string.
+
+2004-04-11 Bud Davis <bdavis9659@comcast.net>
+
+ PR fortran/14904
+ * io/transfer.c (next_record): Update last_record when
+ more than one record is written to a direct access file
+ with one write statement.
+
+2004-04-11 Bud Davis <bdavis9659@comcast.net>
+
+ PR fortran/14901
+ * io/transfer.c (next_record_w) : No '\n' if internal.
+ * io/unix.c (empty_internal_buffer) : Init to spaces, not '\n'.
+
+2004-04-11 Bud Davis <bdavis9659@comcast.net>
+
+ * io.h (ioparm): Interface from FE is 32 bit, irregardless of offset_t.
+ Will need to change this later to support direct access files > 2gb.
+
+2004-04-03 Bud Davis <bdavis9659@comcast.net>
+
+ PR gfortran/14762
+ * io/transfer.c (next_record_r) : Skip to next record.
+
+2004-04-03 Bud Davis <bdavis9659@comcast.net>
+
+ PR gfortran/14836
+ * io/transfer.c (next_record): Update last_record for DIRECT
+
+2004-04-03 Bud Davis <bdavis9659@comcast.net>
+
+ PR gfortran/14837
+ * io/unix.c (find_file0): Use fd field of struct
+
+2004-04-03 Bud Davis <bdavis9659@comcast.net>
+
+ PR 14831
+ * io/inquire.c (inquire_via_unit): Changed return string for
+ BLANK=NULL. Use correct variable for ACTION.
+
+2004-04-01 Bud Davis <bdavis9659@comcast.net>
+
+ PR 14746
+ * io/read.c (read_f): Allow a decimal without a leading digit.
+ * io/write.c (output_float): remove a leading '0' to keep from
+ overflowing the field (F edit descriptor).
+
+2004-04-01 Bud Davis <bdavis9659@comcast.net>
+
+ PR gfortran/14565
+ * io/open.c (new_unit),
+ * io/io.h : new_unit is now visible
+ * io/transfer.c (data_transfer_init): open unit if no OPEN statement.
+ * io/transfer.c (data_transfer_init): remove compile warnings.
+ * io/rewind.c (st_rewind): ftruncate if writing.
+
+2004-03-24 Bud Davis <bdavis9659@comcast.net>
+
+ * write.c (write_l): Use extract_int for 'L' edit descriptor.
+
+2004-03-24 Bud Davis <bdavis9659@comcast.net>
+
+ PR 13919
+ * io/io.h (global_t):
+ * io/list_read.c (next_char,list_formatted_read,ist_formatted_read):
+ Move eof_jmp to a global structure.
+ * io/transfer.c(finalize_transfer) : Set up eof_jump for callers.
+
+2004-03-24 Bud Davis <bdavis9659@comcast.net>
+
+ * m4/cexp.m4 (csqrt): Actually use the passed value.
+ * generated/exp_c?.c: Regenerate.
+
+2004-03-24 Bud Davis <bdavis9659@comcast.net>
+
+ PR 12921
+ * io.h, transfer.c, open.c : recl_in changed from ptr to variable.
+ * open.c (new_unit): Moved test for positioned direct access error.
+ (init_units): Corrected calculation of max records.
+
+2004-02-06 Feng Wang <fengwang@nudt.edu.cn>
+
+ * Makefile.am: Add m4/dotprodc.m4. And fix spelling.
+ * Makefile.in: Regenerate.
+ * m4/dotprodc.m4: New file. Implement complex dot_product.
+ * m4/dotprod.m4: Delete the complex implementation.
+ * generated/dotprod_*: Update.
+
+2004-02-07 Bud Davis <bdavis9659@comcast.net>
+
+ * transfer.c (write_constant_string): Do not delete H's in hollerith
+ formats.
+
+2004-01-05 Andrew Pinski <apinski@apple.com>
+
+ * configure.in: Check for csin in -lmx also.
+ * configure: Regenerate.
+
+2004-01-01 Paul Brook <paul@codesourcery.com>
+
+ * io/list_read.c (find_nml_node): Make static.
+ (match_namelist_name): Ditto.
+ * io/read.c (convert_precision_real): Make static, fix spelling.
+ * io/transfer.c (extract_real): Remove unused prototype.
+ (st_set_nml_var): Make static.
+ * io/write.c (extract_real): Make static.
+
+
+Copyright (C) 2004 Free Software Foundation, Inc.
+
+Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved.
diff --git a/gcc-4.7/libgfortran/ChangeLog-2005 b/gcc-4.7/libgfortran/ChangeLog-2005
new file mode 100644
index 000000000..1e04f52d1
--- /dev/null
+++ b/gcc-4.7/libgfortran/ChangeLog-2005
@@ -0,0 +1,2922 @@
+2005-12-31 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/25594
+ PR libfortran/25419
+ * io/list_read.c (list_formatted_read_scalar): Test for comma to return
+ a null value (default). Revert patch of 25419 on 2005-12-28.
+
+2005-12-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/25139
+ * io/unix.c (fd_truncate): Set s->active to zero.
+ PR libfortran/25510
+ * libgfortran.h: Add ERROR_INTERNAL and ERROR_INTERNAL_UNIT.
+ * runtime/error.c (translate_error): Add messages for new errors.
+ * io/list_read.c (next_char): Use new errors.
+ * io/transfer.c (next_record_r) (next_record_w): Use new errors.
+
+2005-12-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/25550
+ * io/file_pos.c (st_rewind): Reset bytes left so no error occurs in
+ next_record_r.
+
+2005-12-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/25419
+ * io/list_read.c (list_formatted_read_scalar): Allow comma to return a
+ null value (default).
+
+2005-12-21 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/25307
+ * io/list_read.c (next_char): Handle end-of-file conditions for
+ internal units and add support for internal character array units.
+
+2005-12-18 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/25463
+ * io/transfer.c (finalize_transfer): Fix execution order so that
+ next_record is set to zero in all cases.
+
+2005-12-16 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/25264
+ PR libfortran/25349
+ * io/unit.c (get_unit): Delete code that cleared the string when the
+ unit was opened, which is too soon.
+ * io/transfer.c (next_record_w): Pass done flag in. Change logic for
+ setting max_pos. Add code to position unit and pad record as needed.
+
+2005-12-13 Richard Sandiford <richard@codesourcery.com>
+ Victor Leikehman <LEI@il.ibm.com>
+
+ * m4/matmul.m4: Use a different order in the special case of a
+ transposed first argument.
+ * generated/matmul_c4.c, generated/matmul_c8.c, generated/matmul_c10.c,
+ * generated/matmul_c16.c, generated/matmul_i4.c, generated/matmul_i8.c,
+ * generated/matmul_i10.c, generated/matmul_r4.c, generated/matmul_r8.c
+ * generated/matmul_r10.c, generated/matmul_r16.c: Regenerated.
+
+2005-12-10 Janne Blomqvist <jb@gcc.gnu.org>
+
+ * Makefile.am: Enable loop unrolling for matmul.
+ * configure: Regenerated.
+ * Makefile.in: Regenerated.
+ * aclocal.m4: Regenerated.
+
+2005-12-10 Thomas Koenig <Thomas.Koenig@online.de>
+
+ PR fortran/23815
+ * io/file_pos.c (unformatted_backspace): If flags.convert
+ does not equal CONVERT_NATIVE, reverse the record marker.
+ * io/open.c: Add convert_opt[].
+ (st_open): If no convert option is given, set CONVERT_NATIVE.
+ If CONVERT_BIG or CONVERT_LITTLE are given, set flags.convert to
+ CONVERT_NATIVE or CONVERT_SWAP (depending on wether we have
+ a big- or little-endian system).
+ * io/transfer.c (unformatted_read): Remove unused attribute
+ from arguments.
+ If we need to reverse
+ bytes, break up large transfers into a loop. Split complex
+ numbers into its two parts.
+ (unformatted_write): Likewise.
+ (us_read): If flags.convert does not equal CONVERT_NATIVE,
+ reverse the record marker.
+ (next_record_w): Likewise.
+ (reverse_memcpy): New function.
+ * io/inquire.c (inquire_via_unit): Implement convert.
+ * io/io.h (top level): Add enum unit_convert.
+ Add convert to st_parameter_open and st_parameter_inquire.
+ Define IOPARM_OPEN_HAS_CONVERT and IOPARM_INQUIRE_HAS_CONVERT.
+ Increase padding for st_parameter_dt.
+ Declare reverse_memcpy().
+
+2005-12-09 Jakub Jelinek <jakub@redhat.com>
+
+ PR libfortran/24991
+ * acinclude.m4: Include acx.m4 and no-executables.m4.
+ * configure.ac: Add GCC_TOPLEVEL_SUBDIRS.
+ * configure: Rebuilt.
+ * Makefile.am (AM_CPPFLAGS): Use $(host_subdir) in build dir
+ path.
+ * Makefile.in: Rebuilt.
+
+2005-12-08 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/25039
+ * io/io.h: Create a new flag sf_read_comma to control comma
+ separators in numeric reads.
+ * io/transfer.c (formatted_transfer_scalar): Initialize the flag.
+ (read_sf): Check for commas coming in and if the flag is set,
+ shortcut the read.
+ * io/read.c (read_a) (read_x): Clear the flag for character reads and
+ reset it after the reads.
+
+2005-12-04 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * io/format.c: Removing unused code.
+ * intrinsics/random.c: Likewise.
+
+2005-12-02 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/25116
+ * io/transfer.c (data_transfer_init): Don't set the default for
+ namelist I/O on preconnected files to UNFORMATTED.
+
+2005-11-30 Eric Botcazou <ebotcazou@libertysurf.fr>
+
+ * libgfortran.h (ILP32 typedefs): Define _UINT8_T, _UINT32_T and
+ _UINT64_T on Solaris.
+
+2005-11-28 Steven G. Kargl <kargls@comcast.net>
+
+ PR libfortran/25149
+ * intrinsics/abort.c: Add external abort_ to allow linking when
+ invoking -std=f95 in testsuite.
+
+2005-11-28 Jakub Jelinek <jakub@redhat.com>
+
+ PR libfortran/24991
+ * acinclude.m4 (LIBGFOR_CHECK_PRAGMA_WEAK): Rename to...
+ (LIBGFOR_GTHREAD_WEAK): ... this. Define SUPPORTS_WEAK rather
+ than HAVE_PRAGMA_WEAK. Define GTHREAD_USE_WEAK to 0 on hosts
+ that shouldn't use weak in gthr.h.
+ * configure.ac: Use LIBGFOR_GTHREAD_WEAK instead of
+ LIBGFOR_CHECK_PRAGMA_WEAK.
+ * config.h.in: Regenerated.
+ * configure: Regenerated.
+ * io/io.h (SUPPORTS_WEAK): Don't define here.
+
+ * intrinsics/ftell.c (ftell, FTELL_SUB): Add unlock_unit call.
+ * intrinsics/fget.c (fgetc, fputs): Likewise.
+ * intrinsics/tty.c (ttynam): Likewise.
+
+2005-11-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/25109
+ * io/unit.c (init_units): Set default flag to BLANK_NULL per
+ requirement of F95 standard. Set PAD_YES for stdin.
+
+2005-11-27 David Edelsohn <edelsohn@gnu.org>
+
+ * intrinsics/random.c: Include config.h
+ * io/size_from_kind.c: Include config.h and libgfortran.h
+ * io/io.h: Revert 2005-11-21 change.
+
+2005-11-27 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * io/write.c (namelist_write): Correct type in previous
+ commit.
+
+2005-11-27 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/24919
+ * io/list_read.c (eat_separator, finish_separator,
+ read_character): Handle CRLF separators correctly during reads.
+ (nml_query): Use the HAVE_CRLF macro to print adequate newlines.
+ * io/io.h (st_parameter_dt): Add comment about the possible
+ values for sf_seen_eor.
+ * io/unix.c (tempfile, regular_file): HAVE_CRLF doesn't imply
+ that O_BINARY is defined, so we add that condition.
+ (stream_at_bof): Fix typo in comment.
+ * io/transfer.c (read_sf): Handle correctly CRLF, setting
+ sf_seen_eor value to 2 instead of 1.
+ (formatted_transfer_scalar): Use the sf_seen_eor value to
+ handle CRLF the right way.
+ * io/write.c (nml_write_obj, namelist_write): Use CRLF as newline
+ when HAVE_CRLF is defined.
+
+2005-11-27 Janne Blomqvist <jb@gcc.gnu.org>
+
+ * m4/ifunction.m4: Add const restrict to function arguments.
+ * m4/iforeach.m4: Likewise.
+ * m4/eoshift1.m4: Likewise.
+ * m4/eoshift3.m4: Likewise.
+ * m4/dotprod.m4: Likewise.
+ * m4/dotprodc.m4: Likewise.
+ * m4/dotprodl.m4: Likewise.
+ * m4/shape.m4: Likewise.
+ * m4/cshift1.m4: Likewise.
+ * m4/reshape.m4: Likewise.
+ * m4/transpose.m4: Likewise.
+ * generated/eoshift*: Regenerated
+ * generated/dotprod*: Likewise.
+ * generated/shape*: Likewise.
+ * generated/cshift1*: Likewise.
+ * generated/reshape*: Likewise.
+ * generated/transpose*: Likewise.
+
+2005-11-26 Richard Henderson <rth@redhat.com>
+
+ * io/list_read.c (nml_parse_qualifier): Use ssize_t instead of int
+ in dtp->u.p.value.
+
+2005-11-26 Janne Blomqvist <jb@gcc.gnu.org>
+
+ PR libfortran/24945
+ * io/open.c (edit_modes): Check for STATUS_UNKNOWN flag.
+
+2005-11-25 Richard Henderson <rth@redhat.com>
+
+ * io/list_read.c (nml_parse_qualifier): Use memcpy to extract
+ values from dtp->u.p.value.
+ * io/io.h (struct st_parameter_dt): Change reversion_flag, first_item,
+ seen_dollar, sf_seen_eor, eor_condition, no_leading_blank, char_flag,
+ input_complete, at_eol, comma_flag, namelist_mode, nml_read_error to
+ single-bit fields. Move value to where it'll be at least pointer
+ aligned.
+
+2005-11-23 Alan Modra <amodra@bigpond.net.au>
+
+ * io/open.c (new_unit): Use the right unit number when checking
+ for stdin, stdout, stderr.
+
+2005-11-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/24794
+ * io/list_read.c (read_character): Add auto completion on short
+ namelist reads.
+
+2005-11-21 David Edelsohn <edelsohn@gnu.org>
+
+ * io/io.h (_LARGE_FILES): Undefine for AIX.
+ (_LARGE_FILE_API): Define for AIX.
+
+2005-11-21 Jakub Jelinek <jakub@redhat.com>
+
+ PR fortran/24774
+ PR fortran/14943
+ PR fortran/21647
+ * Makefile.am (AM_CPPFLAGS): Add gcc directories as -I paths,
+ add -D_GNU_SOURCE.
+ * Makefile.in: Regenerated.
+ * acinclude.m4 (LIBGFOR_CHECK_SYNC_FETCH_AND_ADD,
+ LIBGFOR_CHECK_GTHR_DEFAULT, LIBGFOR_CHECK_PRAGMA_WEAK): New macros.
+ * configure.ac: Add them.
+ * configure: Rebuilt.
+ * config.h.in: Rebuilt.
+ * libtool-version: Bump libgfortran.so SONAME to libgfortran.so.1.
+ * libgfortran.h (library_start, show_locus, internal_error,
+ generate_error, find_option): Add st_parameter_common * argument.
+ (library_end): Change into a dummy macro.
+ * io/io.h: Include gthr.h.
+ (SUPPORTS_WEAK): Define if HAVE_PRAGMA_WEAK.
+ (CHARACTER): Remove define.
+ (st_parameter, global_t): Remove typedef.
+ (ioparm, g, ionml, current_unit): Remove variables.
+ (init_error_stream): Remove prototype.
+ (CHARACTER1, CHARACTER2): Define.
+ (st_parameter_common, st_parameter_open, st_parameter_close,
+ st_parameter_filepos, st_parameter_inquire, st_parameter_dt): New
+ typedefs.
+ (IOPARM_LIBRETURN_MASK, IOPARM_LIBRETURN_OK, IOPARM_LIBRETURN_ERROR,
+ IOPARM_LIBRETURN_END, IOPARM_LIBRETURN_EOR, IOPARM_ERR, IOPARM_END,
+ IOPARM_EOR, IOPARM_HAS_IOSTAT, IOPARM_HAS_IOMSG, IOPARM_COMMON_MASK,
+ IOPARM_OPEN_HAS_RECL_IN, IOPARM_OPEN_HAS_FILE, IOPARM_OPEN_HAS_STATUS,
+ IOPARM_OPEN_HAS_ACCESS, IOPARM_OPEN_HAS_FORM, IOPARM_OPEN_HAS_BLANK,
+ IOPARM_OPEN_HAS_POSITION, IOPARM_OPEN_HAS_ACTION,
+ IOPARM_OPEN_HAS_DELIM, IOPARM_OPEN_HAS_PAD, IOPARM_CLOSE_HAS_STATUS,
+ IOPARM_INQUIRE_HAS_EXIST, IOPARM_INQUIRE_HAS_OPENED,
+ IOPARM_INQUIRE_HAS_NUMBER, IOPARM_INQUIRE_HAS_NAMED,
+ IOPARM_INQUIRE_HAS_NEXTREC, IOPARM_INQUIRE_HAS_RECL_OUT,
+ IOPARM_INQUIRE_HAS_FILE, IOPARM_INQUIRE_HAS_ACCESS,
+ IOPARM_INQUIRE_HAS_FORM, IOPARM_INQUIRE_HAS_BLANK,
+ IOPARM_INQUIRE_HAS_POSITION, IOPARM_INQUIRE_HAS_ACTION,
+ IOPARM_INQUIRE_HAS_DELIM, IOPARM_INQUIRE_HAS_PAD,
+ IOPARM_INQUIRE_HAS_NAME, IOPARM_INQUIRE_HAS_SEQUENTIAL,
+ IOPARM_INQUIRE_HAS_DIRECT, IOPARM_INQUIRE_HAS_FORMATTED,
+ IOPARM_INQUIRE_HAS_UNFORMATTED, IOPARM_INQUIRE_HAS_READ,
+ IOPARM_INQUIRE_HAS_WRITE, IOPARM_INQUIRE_HAS_READWRITE,
+ IOPARM_DT_LIST_FORMAT, IOPARM_DT_NAMELIST_READ_MODE,
+ IOPARM_DT_HAS_REC, IOPARM_DT_HAS_SIZE, IOPARM_DT_HAS_IOLENGTH,
+ IOPARM_DT_HAS_FORMAT, IOPARM_DT_HAS_ADVANCE,
+ IOPARM_DT_HAS_INTERNAL_UNIT, IOPARM_DT_HAS_NAMELIST_NAME,
+ IOPARM_DT_IONML_SET): Define.
+ (gfc_unit): Add lock, waiting and close fields. Change file
+ from flexible array member into pointer to char.
+ (open_external): Add st_parameter_open * argument.
+ (find_file, file_exists): Add file and file_len arguments.
+ (flush_all_units): New prototype.
+ (max_offset, unit_root, unit_lock): New variable.
+ (is_internal_unit, is_array_io, next_array_record,
+ parse_format, next_format, unget_format, format_error,
+ read_block, write_block, next_record, convert_real,
+ read_a, read_f, read_l, read_x, read_radix, read_decimal,
+ list_formatted_read, finish_list_read, namelist_read,
+ namelist_write, write_a, write_b, write_d, write_e, write_en,
+ write_es, write_f, write_i, write_l, write_o, write_x, write_z,
+ list_formatted_write, get_unit): Add st_parameter_dt * argument.
+ (insert_unit): Remove prototype.
+ (find_or_create_unit, unlock_unit): New prototype.
+ (new_unit): Return gfc_unit *. Add st_parameter_open *
+ and gfc_unit * arguments.
+ (free_fnodes): Remove prototype.
+ (free_format_data): New prototype.
+ (scratch): Remove.
+ (init_at_eol): Remove prototype.
+ (free_ionml): New prototype.
+ (inc_waiting_locked, predec_waiting_locked, dec_waiting_unlocked):
+ New inline functions.
+ * io/unit.c (max_offset, unit_root, unit_lock): New variables.
+ (insert): Adjust os_error caller.
+ (insert_unit): Made static. Allocate memory here, initialize
+ lock and after inserting it return it, locked.
+ (delete_unit): Adjust for deletion of g.
+ (find_unit_1): New function.
+ (find_unit): Use it.
+ (find_or_create_unit): New function.
+ (get_unit): Add dtp argument, change meaning of the int argument
+ as creation request flag. Adjust for different st_* calling
+ conventions, lock internal unit's lock before returning it
+ and removal of g. Call find_unit_1 instead of find_unit.
+ (is_internal_unit, is_array_io): Add dtp argument, adjust for
+ removal of most of global variables.
+ (init_units): Initialize unit_lock. Adjust insert_unit callers
+ and adjust for g removal.
+ (close_unit_1): New function.
+ (close_unit): Use it.
+ (unlock_unit): New function.
+ (close_units): Lock unit_lock, use close_unit_1 rather than
+ close_unit.
+ * io/close.c (st_close): Add clp argument. Adjust for new
+ st_* calling conventions and internal function API changes.
+ * io/file_pos.c (st_backspace, st_endfile, st_rewind, st_flush):
+ Add fpp argument. Adjust for new st_* calling conventions and
+ internal function API changes.
+ (formatted_backspace, unformatted_backspace): Likewise. Add
+ u argument.
+ * io/open.c (edit_modes, st_open): Add opp argument. Adjust for
+ new st_* calling conventions and internal function API changes.
+ (already_open): Likewise. If not HAVE_UNLINK_OPEN_FILE, unlink
+ scratch file. Instead of calling close_unit just call sclose,
+ free u->file if any and clear a few u fields before calling
+ new_unit.
+ (new_unit): Return gfc_unit *. Add opp and u arguments.
+ Adjust for new st_* calling conventions and internal function
+ API changes. Don't allocate unit here, rather than work with
+ already created unit u already locked on entry. In case
+ of failure, close_unit it.
+ * io/unix.c: Include unix.h.
+ (BUFFER_SIZE, unix_stream): Moved to unix.h.
+ (unit_to_fd): Add unlock_unit call.
+ (tempfile): Add opp argument, use its fields rather than ioparm.
+ (regular_file): Likewise.
+ (open_external): Likewise. Only unlink file if fd >= 0.
+ (init_error_stream): Add error argument, set structure it points
+ to rather than filling static variable and returning its address.
+ (FIND_FILE0_DECL, FIND_FILE0_ARGS): Define.
+ (find_file0): Use them. Don't crash if u->s == NULL.
+ (find_file): Add file and file_len arguments, use them instead
+ of ioparm. Add locking. Pass either an array of 2 struct stat
+ or file and file_len pair to find_file0.
+ (flush_all_units_1, flush_all_units): New functions.
+ (file_exists): Add file and file_len arguments, use them instead
+ of ioparm.
+ * io/unix.h: New file.
+ * io/lock.c (ioparm, g, ionml): Remove variables.
+ (library_start): Add cmp argument, adjust for new st_* calling
+ conventions.
+ (library_end): Remove.
+ (free_ionml): New function.
+ * io/inquire.c (inquire_via_unit, inquire_via_filename,
+ st_inquire): Add iqp argument, adjust for new st_* calling
+ conventions and internal function API changes.
+ * io/format.c (FARRAY_SIZE): Decrease to 64.
+ (fnode_array, format_data): New typedefs.
+ (avail, array, format_string, string, error, saved_token, value,
+ format_string_len, reversion_ok, saved_format): Remove variables.
+ (colon_node): Add const.
+ (free_fnode, free_fnodes): Remove.
+ (free_format_data): New function.
+ (next_char, unget_char, get_fnode, format_lex, parse_format_list,
+ format_error, parse_format, revert, unget_format, next_test): Add
+ fmt or dtp arguments, pass it all around, adjust for internal
+ function API changes and adjust for removal of global variables.
+ (next_format): Likewise. Constify return type.
+ (next_format0): Constify return type.
+ * io/transfer.c (current_unit, sf_seen_eor, eor_condition, max_pos,
+ skips, pending_spaces, scratch, line_buffer, advance_status,
+ transfer): Remove variables.
+ (transfer_integer, transfer_real, transfer_logical,
+ transfer_character, transfer_complex, transfer_array, current_mode,
+ read_sf, read_block, read_block_direct, write_block,
+ write_block_direct, unformatted_read, unformatted_write,
+ type_name, write_constant_string, require_type,
+ formatted_transfer_scalar, us_read, us_write, pre_position,
+ data_transfer_init, next_record_r, next_record_w, next_record,
+ finalize_transfer, iolength_transfer, iolength_transfer_init,
+ st_iolength, st_iolength_done, st_read, st_read_done, st_write,
+ st_write_done, st_set_nml_var, st_set_nml_var_dim,
+ next_array_record): Add dtp argument, pass it all around, adjust for
+ internal function API changes and removal of global variables.
+ * io/list_read.c (repeat_count, saved_length, saved_used,
+ input_complete, at_eol, comma_flag, last_char, saved_string,
+ saved_type, namelist_mode, nml_read_error, value, parse_err_msg,
+ nml_err_msg, prev_nl): Remove variables.
+ (push_char, free_saved, next_char, unget_char, eat_spaces,
+ eat_separator, finish_separator, nml_bad_return, convert_integer,
+ parse_repeat, read_logical, read_integer, read_character,
+ parse_real, read_complex, read_real, check_type,
+ list_formatted_read_scalar, list_formatted_read, finish_list_read,
+ find_nml_node, nml_untouch_nodes, nml_match_name, nml_query,
+ namelist_read): Add dtp argument, pass it all around, adjust for
+ internal function API changes and removal of global variables.
+ (nml_parse_qualifier): Likewise. Add parse_err_msg argument.
+ (nml_read_obj): Likewise. Add pprev_nl, nml_err_msg, clow and
+ chigh arguments.
+ (nml_get_obj_data): Likewise. Add pprev_nl and nml_err_msg
+ arguments.
+ (init_at_eol): Removed.
+ * io/read.c (convert_real, read_l, read_a, next_char, read_decimal,
+ read_radix, read_f, read_x): Add dtp argument, pass it all around,
+ adjust for internal function API changes and removal of global
+ variables.
+ (set_integer): Adjust internal_error caller.
+ * io/write.c (no_leading_blank, nml_delim): Remove variables.
+ (write_a, calculate_sign, calculate_G_format, output_float,
+ write_l, write_float, write_int, write_decimal, write_i, write_b,
+ write_o, write_z, write_d, write_e, write_f, write_en, write_es,
+ write_x, write_char, write_logical, write_integer, write_character,
+ write_real, write_complex, write_separator,
+ list_formatted_write_scalar, list_formatted_write, nml_write_obj,
+ namelist_write): Add dtp argument, pass it all around, adjust for
+ internal function API changes and removal of global variables.
+ (extract_int, extract_uint, extract_real): Adjust internal_error
+ callers.
+ * runtime/fpu.c (_GNU_SOURCE): Don't define here.
+ * runtime/error.c: Include ../io/unix.h.
+ (filename, line): Remove variables.
+ (st_printf): Pass address of a local variable to init_error_stream.
+ (show_locus): Add cmp argument. Use fields it points to rather than
+ filename and line variables.
+ (os_error, runtime_error): Remove show_locus calls.
+ (internal_error): Add cmp argument. Pass it down to show_locus.
+ (generate_error): Likewise. Use flags bitmask instead of non-NULL
+ check for iostat and iomsg parameter presence, adjust for st_*
+ calling convention changes.
+ * runtime/stop.c (stop_numeric, stop_string): Remove show_locus
+ calls.
+ * runtime/pause.c (pause_numeric, pause_string): Likewise.
+ * runtime/string.c: Include ../io/io.h.
+ (find_option): Add cmp argument. Pass it down to generate_error.
+ * intrinsics/flush.c (recursive_flush): Remove.
+ (flush_i4, flush_i8): Use flush_all_units. Add unlock_unit
+ call.
+ * intrinsics/rand.c: Include ../io/io.h.
+ (rand_seed_lock): New variable.
+ (srand, irand): Add locking.
+ (init): New constructor function.
+ * intrinsics/random.c: Include ../io/io.h.
+ (random_lock): New variable.
+ (random_r4, random_r8, arandom_r4, arandom_r8): Add locking.
+ (random_seed): Likewise. open failed if fd < 0. Set i correctly.
+ (init): New constructor function.
+ * intrinsics/system_clock.c (tp0, t0): Remove.
+ (system_clock_4, system_clock_8): Don't subtract tp0/t0 from current
+ time, use just integer arithmetics.
+ * intrinsics/tty.c (isatty_l4, isatty_l8, ttynam_sub): Add
+ unlock_unit calls.
+
+2005-11-20 Richard Henderson <rth@redhat.com>
+
+ * Makefile.am: Revert 2005-11-14 change. Enable -free-vectorize
+ via gmake per-target variables.
+ * Makefile.in, aclocal.m4: Regenerate.
+
+2005-11-18 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * configure.ac: Add "-I ." to the AM_FCFLAGS.
+ * configure: Regenerate.
+
+2005-11-18 Hans-Peter Nilsson <hp@axis.com>
+
+ * config/fpu-glibc.h (set_fpu): Only call fedisableexcept for
+ nonzero FE_ALL_EXCEPT.
+
+2005-11-17 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR fortran/24892
+ * io/io.h (unit_access): Add ACCESS_APPEND.
+ * io/open.c (access_opt): Add APPEND value for ACCESS keyword.
+ (st_open): Use that new value to set the POSITION accordingly.
+
+2005-11-14 Janne Blomqvist <jb@gcc.gnu.org>
+
+ PR fortran/21468
+ * Makefile.am: Add -ftree-vectorize for compiling matmul.
+ * m4/matmul.m4: Add const and restrict to type declarations as
+ appropriate.
+ * m4/matmull.m4: Likewise.
+ * Makefile.in: Regenerated.
+ * generated/matmul_*.c: Likewise.
+
+2005-11-13 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * intrinsics/fget.c: New file.
+ * intrinsics/ftell.c: New file.
+ * io/unix.c (stream_offset): New function.
+ * io/io.h: Add prototype for stream_offset.
+ * Makefile.am: Add intrinsics/fget.c and intrinsics/ftell.c.
+ * Makefile.in: Regenerate.
+
+2005-11-12 Steven G. Kargl <kargls@comcast.net>
+
+ PR libfortran/24787
+ * intrinsics/string_intrinsics.c (string_scan): Off by one; Fix typos
+ in nearby comment.
+
+2005-11-10 Andreas Jaeger <aj@suse.de>
+
+ * libgfortran.h: Add proper defines where needed.
+
+2005-11-10 Andreas Jaeger <aj@suse.de>
+
+ * libgfortran.h: Add missing prototypes for internal_pack
+ functions.
+
+2005-11-06 Janne Blomqvist <jb@gcc.gnu.org>
+
+ PR fortran/24174
+ PR fortran/24305
+ * io/io.h: Add argument to prototypes, add prototypes for
+ size_from_*_kind functions.
+ * io/list_read.c (read_complex): Add size argument, use
+ it.
+ (list_formatted_read): Add size argument, cleanup.
+ (list_formatted_read_scalar): Add size argument.
+ (nml_read_obj): Fix for padding.
+ * io/transfer.c: Add argument to transfer function pointer.
+ (unformatted_read): Add size argument.
+ (unformatted_write): Likewise.
+ (formatted_transfer_scalar): Fix for padding with complex(10).
+ (formatted_transfer): Add size argument, cleanup.
+ (transfer_integer): Add size argument to transfer call.
+ (transfer_real): Likewise.
+ (transfer_logical): Likewise.
+ (transfer_character): Likewise.
+ (transfer_complex): Likewise.
+ (transfer_array): New kind argument, use it.
+ (data_transfer_init): Add size argument to formatted_transfer
+ call.
+ (iolength_transfer): Add size argument, cleanup.
+ * io/write.c (write_complex): Add size argument, fix for padding
+ with complex(10).
+ (list_formatted_write): Add size argument, cleanup.
+ (list_formatted_write_scalar): Add size argument, use it.
+ (nml_write_obj): Fix for size vs. kind issue.
+ * io/size_from_kind.c: New file.
+ * Makefile.am: Add io/size_from_kind.c.
+ * configure: Regenerate.
+ * Makefile.in: Regenerate.
+
+2005-11-06 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * intrinsics/ctime.c: New file.
+ * configure.ac: Add check for ctime.
+ * Makefile.am: Add ctime.c
+ * configure: Regenerate.
+ * config.h.in: Regenerate.
+ * Makefile.in: Regenerate.
+
+2005-11-05 Richard Guenther <rguenther@suse.de>
+
+ * configure.ac: Use AM_FCFLAGS for extra flags, not FCFLAGS.
+ * configure: Regenerate.
+
+2005-11-05 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * intrinsics/tty.c (ttynam): New function.
+
+2005-11-04 Steven G. Kargl <kargls@comcast.net>
+
+ PR fortran/24636
+ * runtime/stop.c (stop_numeric): Use stop_code = -1.
+
+2005-11-04 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/22298
+ * runtime/main.c (stupid_function_name_for_static_linking): New
+ function.
+ * runtime/error.c (internal_error): Call
+ stupid_function_name_for_static_linking.
+ * libgfortran.h: Add prototype for
+ stupid_function_name_for_static_linking.
+
+2005-11-01 Paul Thomas <pault@gcc.gnu.org>
+
+ PR fortran/14994
+ * libgfortran/intrinsics/date_and_time.c: Add interface to
+ the functions date_and_time for the intrinsic function secnds.
+
+2005-10-31 Jerry DeLisle <jvdelisle@verizon.net>
+
+ PR libfortran/24584
+ * io/list_read.c (free_saved): Set saved_used to zero.
+
+2005-10-30 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/20179
+ * io/unix.c (flush_if_preconnected): New function.
+ * io/io.h: Add prototype for flush_if_preconnected.
+ * io/transfer.c (data_transfer_init): Use flush_if_preconnected
+ to workaround buggy mixed C-Fortran code.
+
+2005-10-30 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * Makefile.am: Add intrinsics/malloc.c file.
+ * Makefile.in: Regenerate.
+ * intrinsics/malloc.c: New file, with implementations for free
+ and malloc library functions.
+
+2005-10-29 Mike Stump <mrs@apple.com>
+
+ * Makefile.am (kinds.h): Remove target, if command fails.
+ (selected_int_kind.inc): Likewise.
+ (selected_real_kind.inc): Likewise.
+ * Makefile.in: Regenerate.
+
+2005-10-28 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+
+ * Makefile.am (intrinsics): Add signal.c.
+ * Makefile.in: Regenerate.
+ * configure.ac: Checks for signal and alarm.
+ * config.h.in: Regenerate.
+ * configure: Regenerate.
+ * intrinsics/signal.c: New file for SIGNAL and ALARM intrinsics.
+
+2005-10-28 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * acinclude.m4 (LIBGFOR_CHECK_FPSETMASK): New check.
+ * configure.ac: Check for floatingpoint.h, fptrap.h and float.h
+ headers. Use LIBGFOR_CHECK_FPSETMASK. Check for fp_trap and
+ fp_enable functions.
+ * configure.host: Add case for systems with fpsetmask and systems
+ with fp_trap/fp_enable.
+ * config/fpu-sysv.h: New file, FPU code using fpsetmask.
+ * config/fpu-aix.h: New file, FPU code for AIX using fp_trap and
+ fp_enable.
+ * aclocal.m4: Regenerate.
+ * configure: Regenerate.
+ * config.h.in: Regenerate.
+
+2005-10-24 Jerry DeLisle <jvdelisle@verizon.net>
+
+ PR libfortran/24224
+ * libgfortran.h: Remove array stride error code.
+ * runtime/error.c: Remove array stride error.
+ * io/io.h: Change name of 'nml_loop_spec' to 'array_loop_spec' to be
+ generic. Add pointer to array_loop_spec and rank to gfc_unit
+ structure.
+ * io/list_read.c: Revise nml_loop_spec references to array_loop_spec.
+ * io/transfer.c (init_loop_spec): New function to initialize
+ an array_loop_spec.
+ (next_array_record): New function to return the index to the next array
+ record by incrementing through the array_loop_spec.
+ (next_record_r): Use new function.
+ (next_record_w): Use new function.
+ (finalize_transfer): Free memory allocated for array_loop_spec.
+ * io/unit.c (get_array_unit_len): Delete this function. Use new
+ function init_loop_spec to initialize the array_loop_spec.
+
+2005-10-24 Paul Thomas <pault@gcc.gnu.org>
+
+ PR fortran/24416
+ * libgfortran/io/list_read.c (namelist_read): Exit with call to
+ free_saved () so that character strings do not accumulate.
+
+2005-10-23 Jerry DeLisle <jvdelisle@verizon.net>
+
+ PR libfortran/24489
+ * io/transfer.c (read_block): Change the order of execution to not read
+ past end-of-record.
+ (read_block_direct): Same change.
+
+2005-10-23 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/23272
+ * acinclude.m4 (LIBGFOR_CHECK_WORKING_STAT): New check.
+ * configure.ac: Use LIBGFOR_CHECK_WORKING_STAT.
+ * Makefile.in: Regenerate.
+ * configure: Regenerate.
+ * config.h.in: Regenerate.
+ * aclocal.m4: Regenerate.
+ * io/unix.c (compare_file_filename): Add fallback case for
+ systems without working stat.
+ * io/open.c (already_open): Correct call to
+ compare_file_filename.
+ * io/io.h: Correct proto for compare_file_filename.
+
+2005-10-23 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * runtime/fpu.c: Add _GNU_SOURCE definition.
+ * config/fpu-glibc.h: Remove __USE_GNU definition.
+
+2005-10-23 Paul Thomas <pault@gcc.gnu.org>
+
+ PR fortran/24384
+ * intrinsics/spread_generic.c (spread_internal_scalar): New
+ function that handles the special case of spread with a scalar
+ source. This has new interface functions -
+ (spread_scalar, spread_char_scalar): New functions to interface
+ with the calls specified in gfc_resolve_spread.
+
+2005-10-21 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/24383
+ * io/unix.c: Add fallback definition for SSIZE_MAX.
+
+2005-10-19 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * c99_protos.h: Define preprocessor HAVE_ macros with value 1
+ instead of empty value.
+ * intrinsics/c99_functions.c: Likewise.
+ * intrinsics/getXid.c: Define HAVE_GETPID with value 1 instead of
+ empty value.
+ * intrinsics/sleep.c: Define HAVE_SLEEP with value 1 instead of
+ empty value.
+
+2005-10-19 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/24432
+ * c99_protos.h: Define HAVE_ macros for all provided functions.
+
+2005-10-14 Uros Bizjak <uros@kss-loka.si>
+
+ * config/fpu-387.h (set_fpu): Remove extra ":" in stmxcsr.
+ Change cw and cw_sse variables to unsigned.
+ (SSE): New definition.
+ (has_sse): Use it.
+
+2005-10-13 Thomas Koenig <Thomas.Koenig@online.de>
+
+ * io/unix.c(fd_alloc_r_at): Use read() instead of do_read()
+ only in case of special files (e.g. terminals).
+
+2005-10-13 Uros Bizjak <uros@kss-loka.si>
+
+ * config/fpu-387.h (set_fpu): Add "=m" for stmxcsr.
+
+2005-10-12 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * Makefile.am: Add fpu.c to the build process, and
+ target-dependent code as fpu-target.h.
+ * Makefile.in: Regenerate.
+ * configure.ac: Add call to configure.host to set
+ FPU_HOST_HEADER.
+ * configure: Regenerate.
+ * configure.host: New script to determine which host-dependent
+ code should go in.
+ * libgfortran.h: Add fpe option, remove previous fpu_ options.
+ Add bitmasks for different FPE traps. Add prototype for set_fpu.
+ * runtime/environ.c: Remove environment variables to control
+ fpu behaviour.
+ * runtime/fpu.c (set_fpe): New function for the front-end.
+ * runtime/main.c (init): Set FPU state.
+ * config: New directory to store host-dependent code.
+ * config/fpu-387.h: New file with code handling the i387 FPU.
+ * config/fpu-glibc.h: New file with code for glibc systems.
+ * config/fpu-generic.h: Fallback for the most generic host. Issue
+ warnings.
+
+2005-10-12 Janne Blomqvist <jblomqvi@cc.hut.fi>
+
+ * io/unix.c(fd_alloc_r_at): Remove parts of patch of 2005/10/07 that
+ cause input from the terminal to hang.
+
+2005-10-11 Steven G. Kargl <kargls@comcast.net>
+
+ PR libfortran/24313
+ * c99_functions.c (csqrtf, csqrt): Fix choice of branch cut. Note
+ csqrt{f} were imported from glibc, and this bug is still present
+ there. glibc PR is 1146.
+
+2005-10-07 Janne Blomqvist <jblomqvi@cc.hut.fi>
+
+ PR fortran/16339
+ PR fortran/23363
+ * io/io.h: Add read and write members to stream, define access
+ macros.
+ * io/transfer.c (read_block_direct): New function.
+ (write_block_direct): New function.
+ (unformatted_read): Change to use read_block_direct.
+ (unformatted_write): Change to use write_block_direct.
+ * io/unix.c: Remove mmap includes and defines.
+ (writen): Remove.
+ (readn): Remove.
+ (reset_stream): New function.
+ (do_read): New function.
+ (do_write): New function.
+ (fd_flush): Change to use do_write() instead of writen().
+ (fd_alloc_r_at): Change to use do_read().
+ (fd_seek): Change return type to try, as the prototype. Add check
+ to avoid syscall overhead if possible.
+ (fd_read): New function.
+ (fd_write): New function.
+ (fd_open): Set pointers for new functions.
+ (mem_read): New function.
+ (mem_write): New function.
+ (open_internal): Set pointers for new functions.
+ (is_seekable): Clean up comment.
+
+2005-10-07 Jerry DeLisle <jvdelisle@verizon.net>
+
+ * io/transfer.c (write_block): Add test for end-of-file condition,
+ removed from mem_alloc_w_at. (next_record_w): Clean up checks for
+ NULL pointer returns from s_alloc_w.
+ * io/unix.c (mem_alloc_w_at): Remove call to generate_error end-of-file.
+ * io/write.c (write_float): Add checks for NULL pointer returns from
+ write_block calls. (write_integer): Same.
+
+2005-10-03 Jakub Jelinek <jakub@redhat.com>
+
+ * runtime/memory.c (allocate_size): Malloc 1 byte if size == 0.
+
+2005-10-03 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/19308
+ PR libfortran/22437
+ * Makefile.am: Add generated files for large real and integers
+ kinds. Add a rule to create the kinds.inc c99_protos.inc files.
+ Use kinds.inc to preprocess Fortran generated files.
+ * libgfortran.h: Add macro definitions for GFC_INTEGER_16_HUGE,
+ GFC_REAL_10_HUGE and GFC_REAL_16_HUGE. Add types gfc_array_i16,
+ gfc_array_r10, gfc_array_r16, gfc_array_c10, gfc_array_c16,
+ gfc_array_l16.
+ * mk-kinds-h.sh: Define macros HAVE_GFC_LOGICAL_* and
+ HAVE_GFC_COMPLEX_* when these types are available.
+ * intrinsics/ishftc.c (ishftc16): New function for GFC_INTEGER_16.
+ * m4/all.m4, m4/any.m4, m4/count.m4, m4/cshift1.m4, m4/dotprod.m4,
+ m4/dotprodc.m4, m4/dotprodl.m4, m4/eoshift1.m4, m4/eoshift3.m4,
+ m4/exponent.m4, m4/fraction.m4, m4/in_pack.m4, m4/in_unpack.m4,
+ m4/matmul.m4, m4/matmull.m4, m4/maxloc0.m4, m4/maxloc1.m4,
+ m4/maxval.m4, m4/minloc0.m4, m4/minloc1.m4, m4/minval.m4, m4/mtype.m4,
+ m4/nearest.m4, m4/pow.m4, m4/product.m4, m4/reshape.m4,
+ m4/set_exponent.m4, m4/shape.m4, m4/specific.m4, m4/specific2.m4,
+ m4/sum.m4, m4/transpose.m4: Protect generated functions with
+ appropriate "#if defined (HAVE_GFC_type_kind)" preprocessor directives.
+ * Makefile.in: Regenerate.
+ * all files in generated/: Regenerate.
+
+2005-10-01 Jakub Jelinek <jakub@redhat.com>
+
+ * runtime/memory.c (malloc_t): Remove.
+ (GFC_MALLOC_MAGIC, HEADER_SIZE, DATA_POINTER, DATA_HEADER): Remove.
+ (mem_root, runtime_cleanup, malloc_with_header): Remove.
+ (internal_malloc_size): Use just get_mem if size != 0, return NULL
+ otherwise.
+ (internal_free): Just free if non-NULL.
+ (internal_realloc_size): Remove debugging stuff.
+ (allocate_size): Use malloc directly, remove debugging stuff.
+ (deallocate): Use free directly, fix error message wording.
+
+ * libgfortran.h (GFC_ITOA_BUF_SIZE, GFC_XTOA_BUF_SIZE,
+ GFC_OTOA_BUF_SIZE, GFC_BTOA_BUF_SIZE): Define.
+ (gfc_itoa, xtoa): Add 2 extra arguments.
+ * runtime/environ.c: Include stdio.h.
+ (check_buffered): Use sprintf.
+ * runtime/error.c: Include assert.h.
+ (gfc_itoa, xtoa): Add 2 extra arguments, avoid using static
+ buffers.
+ (st_printf, st_sprintf): Adjust callers.
+ * io/write.c (otoa, btoa): Add 2 extra arguments, avoid using
+ static buffers.
+ (write_int, write_decimal): Add 2 extra arguments to conv
+ function pointer, adjust caller.
+ (write_integer): Adjust gfc_itoa caller.
+
+ * io/unit.c (get_array_unit_len): Return 0 rather than NULL.
+
+ * io/read.c (read_f): Remove spurious pointer dereference.
+
+2005-09-30 Janne Blomqvist <jblomqvi@cc.hut.fi>
+
+ PR 24112
+ * io/open.c (edit_modes): Check for correct flag.
+
+2005-09-29 Jakub Jelinek <jakub@redhat.com>
+
+ * runtime/string.c (find_option): Change 3rd argument to
+ const st_option *.
+ * libgfortran.h (find_option): Likewise.
+ * runtime/environ.c (rounding, precision, signal_choices): Constify.
+ (init_choice, show_choice): Change 2nd argument to const choice *.
+ * io/open.c (access_opt, action_opt, blank_opt, delim_opt, form_opt,
+ position_opt, status_opt, pad_opt): Constify.
+ * io/transfer.c (advance_opt): Likewise.
+ * io/inquire.c (undefined): Likewise.
+ * io/close.c (status_opt): Likewise.
+ * io/format.c (posint_required, period_required, nonneg_required,
+ unexpected_element, unexpected_end, bad_string, bad_hollerith,
+ reversion_error): Likewise.
+ * io/unix.c (yes, no, unknown): Change from const char *
+ into const char [].
+
+2005-09-27 Steve Ellcey <sje@cup.hp.com>
+
+ PR target/23552
+ * acinclude.m4 (LIBGFOR_CHECK_FOR_BROKEN_ISFINITE): New.
+ (LIBGFOR_CHECK_FOR_BROKEN_ISNAN): New.
+ (LIBGFOR_CHECK_FOR_BROKEN_FPCLASSIFY): New.
+ * configure.ac (LIBGFOR_CHECK_FOR_BROKEN_ISFINITE): Add use.
+ (LIBGFOR_CHECK_FOR_BROKEN_ISNAN): Add use.
+ (LIBGFOR_CHECK_FOR_BROKEN_FPCLASSIFY): Add use.
+ * configure: Regenerate.
+ * config.h.in: Regenerate.
+ * libgfortan.h (isfinite): undef if broken, set if needed.
+ (isnan): undef if broken, set if needed.
+ (fpclassify): undef if broken, set if needed.
+ * io/write.c: Remove TODO comment about working isfinite.
+ * intrinsics/c99_functions.c (round): Use isfinite instead
+ of fpclassify.
+ * intrinsics/c99_functions.c (roundf): Ditto.
+
+2005-09-24 Janne Blomqvist <jblomqvi@cc.hut.fi>
+
+ * io.h: Changed prototypes of list_formatted_{read|write}.
+ * list_read.c (list_formatted_read): Renamed to
+ list_formatted_read_scalar and made static.
+ (list_formatted_read): New function.
+ * transfer.c: Prototype for transfer_array. Changed transfer
+ function pointer.
+ (unformatted_read): Add nelems argument, use it.
+ (unformatted_write): Likewise.
+ (formatted_transfer): Changed name to formatted_transfer_scalar.
+ (formatted_transfer): New function.
+ (transfer_integer): Add nelems argument to transfer call, move
+ updating item count to transfer functions.
+ (transfer_real): Likewise.
+ (transfer_logical): Likewise.
+ (transfer_character): Likewise.
+ (transfer_complex): Likewise.
+ (transfer_array): New function.
+ (data_transfer_init): Call formatted_transfer with new argument.
+ (iolength_transfer): New argument, use it.
+ * write.c (list_formatted_write): Renamed to
+ list_formatted_write_scalar, made static.
+ (list_formatted_write): New function.
+
+2005-09-26 David Edelsohn <edelsohn@gnu.org>
+
+ * configure.ac: Add check for __clog.
+ * configure: Regenerate.
+
+2005-09-25 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * c99_protos.h: Add prototypes for C99 complex functions.
+ * libgfortran.h: Include complex.h before c99_protos.h.
+ * intrinsics/c99_functions.c: Define HAVE_ macros for the
+ fallback functions we provide.
+ (cabsf, cabs, cabsl, cargf, carg, cargl, cexpf, cexp, cexpl,
+ clogf, clog, clogl, clog10f, clog10, clog10l, cpowf, cpow, cpowl,
+ cqsrtf, csqrt, csqrtl, csinhf, csinh, csinhl, ccoshf, ccosh,
+ ccoshl, ctanhf, ctanh, ctanhl, csinf, csin, csinl, ccosf, ccos,
+ ccosl, ctanf, ctan, ctanl): New fallback functions.
+ * Makefile.am (gfor_math_trig_c, gfor_math_trig_obj,
+ gfor_specific_c, gfor_cmath_src, gfor_cmath_obj): Remove.
+ * Makefile.in: Regenerate.
+ * configure.ac: Remove checks for csin. Add checks for all C99
+ complex functions.
+ * config.h.in: Regenerate.
+ * configure: Regenerate.
+ * aclocal.m4: Regenerate.
+
+2005-09-25 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+ Danny Smith <dannysmith@users.sourceforge.net>
+
+ PR libfortran/23803
+ * intrinsics/getXid.c: Add getpid wrapper for MinGW.
+ * intrinsics/getlog.c: Add getlogin wrapper for MinGW.
+ * intrinsics/hostnm.c: Add gethostname wrapper for MinGW.
+
+2005-09-24 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/23802
+ * intrinsics/sleep.c: Add correct sleep macro for MinGW.
+
+2005-09-24 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/23380
+ * intrinsics/cpu_time.c (__cpu_time_1): Provide a MS Windows
+ version.
+
+2005-09-14 Jerry DeLisle <jvdelisle@verizon.net
+
+ PR fortran/21875 Internal Unit Array I/O, NIST
+ * libgfortran.h: Add run time error code for array stride.
+ * runtime/error.c (translate_error): Add error message for
+ array stride.
+ * io/io.h: Add array descriptor pointer to IOPARM structure.
+ Add prtotypes for two new functions.
+ * io/transfer.c (data_transfer_init): Removed initialization and
+ moved to unit.c (get_unit)
+ * io/transfer.c (next_record_r): Include internal unit read
+ functionality.
+ * io/transfer.c (next_record_w): Include internal unit write
+ functionality, including padding of character array records.
+ * io/unit.c (get_array_unit_len): New function to return the number
+ of records in the character array 'file' from the array descriptor.
+ * io/unit.c (get_unit): Gathered initialization code from
+ init_data_transfer for internal units and added initialization of
+ character array unit.
+ * io/unit.c (is_array_io): New function to determine if internal unit
+ is an array.
+ * io/unix.c (mem_alloc_w_at): Add error checks for bad record length
+ and end of file.
+
+2005-09-13 Richard Sandiford <richard@codesourcery.com>
+
+ PR target/19269
+ * intrinsics/cshift0.c (cshift0): Add an extra size argument.
+ (cshift0_1, cshift0_2, cshift0_4, cshift0_8): Replace explicit
+ implementations with...
+ (DEFINE_CSHIFT): ...this new macro. Define character versions too.
+ * intrinsics/eoshift0.c (zeros): Delete.
+ (eoshift0): Add extra size and filler arguments. Use memset if no
+ bound is provided.
+ (eoshift0_1, eoshift0_2, eoshift0_4, eoshift0_8): Replace explicit
+ implementations with...
+ (DEFINE_EOSHIFT): ...this new macro. Define character versions too.
+ * intrinsics/eoshift2.c (zeros): Delete.
+ (eoshift2): Add extra size and filler arguments. Use memset if no
+ bound is provided.
+ (eoshift2_1, eoshift2_2, eoshift2_4, eoshift2_8): Replace explicit
+ implementations with...
+ (DEFINE_EOSHIFT): ...this new macro. Define character versions too.
+ * intrinsics/pack.c (pack_internal): New static function, reusing
+ the contents of pack and adding an extra size argument. Change
+ "mptr" rather than "m" when calculating the array size.
+ (pack): Redefine as a forwarder to pack_internal.
+ (pack_s_internal): New static function, reusing the contents of
+ pack_s and adding an extra size argument.
+ (pack_s): Redefine as a forwarder to pack_s_internal.
+ (pack_char, pack_s_char): New functions.
+ * intrinsics/reshape.c (reshape_internal): New static function,
+ reusing the contents of reshape and adding an extra size argument.
+ (reshape): Redefine as a forwarder to reshape_internal.
+ (reshape_char): New function.
+ * intrinsics/spread.c (spread_internal): New static function,
+ reusing the contents of spread and adding an extra size argument.
+ (spread): Redefine as a forwarder to spread_internal.
+ (spread_char): New function.
+ * intrinsics/transpose.c (transpose_internal): New static function,
+ reusing the contents of transpose and adding an extra size argument.
+ (transpose): Redefine as a forwarder to transpose_internal.
+ (transpose_char): New function.
+ * intrinsics/unpack.c (unpack_internal): New static function, reusing
+ the contents of unpack1 and adding extra size and fsize arguments.
+ (unpack1): Redefine as a forwarder to unpack_internal.
+ (unpack0): Call unpack_internal instead of unpack1.
+ (unpack1_char, unpack0_char): New functions.
+ * m4/cshift1.m4 (cshift1): New static function, reusing the contents
+ of cshift1_<kind> and adding an extra size argument.
+ (cshift1_<kind>): Redefine as a forwarder to cshift1.
+ (cshift1_<kind>_char): New function.
+ * m4/eoshift1.m4 (zeros): Delete.
+ (eoshift1): New static function, reusing the contents of
+ eoshift1_<kind> and adding extra size and filler arguments.
+ Fix calculation of hstride. Use memset if no bound is provided.
+ (eoshift1_<kind>): Redefine as a forwarder to eoshift1.
+ (eoshift1_<kind>_char): New function.
+ * m4/eoshift3.m4 (zeros): Delete.
+ (eoshift3): New static function, reusing the contents of
+ eoshift3_<kind> and adding extra size and filler arguments.
+ Use memset if no bound is provided.
+ (eoshift3_<kind>): Redefine as a forwarder to eoshift3.
+ (eoshift3_<kind>_char): New function.
+ * generated/cshift1_4.c, generated/cshift1_8.c,
+ * generated/eoshift1_4.c, generated/eoshift1_8.c,
+ * generated/eoshift3_4.c, generated/eoshift3_8.c: Regenerate.
+
+2005-09-11 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/20179
+ * io/unix.c (is_preconnected): Add function to test if a stream
+ corresponds to a preconnected unit.
+ * io/io.h: Add prototype for is_preconnected.
+ * io/transfer.c (data_transfer_init): Do not truncate
+ preconnected units.
+
+2005-09-10 Janne Blomqvist <jblomqvi@cc.hut.fi>
+
+ * io/unix.c: Remove mmap code.
+
+2005-09-09 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/23784
+ * io/close.c (st_close): Call library_end even in case of error.
+
+2005-09-09 Thomas Koenig <Thomas.Koenig@online.de>
+
+ * io/io.h: Add iomsg as last field of st_parameter.
+ * runtime/error.c (generate_error): If iomsg is present, copy
+ the message there.
+
+2005-09-09 Richard Sandiford <richard@codesourcery.com>
+
+ PR fortran/12840
+ * runtime/memory.c (internal_malloc_size): Return a null pointer
+ if the size is zero.
+ (internal_free): Do nothing if the pointer is null.
+ (internal_realloc_size, internal_realloc, internal_realloc64): New.
+
+2005-09-07 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/23262
+ * acinclude.m4 (LIBGFOR_CHECK_CRLF): New check.
+ * configure.ac: Use new check.
+ * configure.in: Regenerate.
+ * config.h.in: Regenerate.
+ * configure: Regenerate.
+ * io/transfer.c (next_record_w): Add case for CRLF as line
+ terminator.
+ * io/unix.c (tempfile, regular_file): Open files with
+ O_BINARY on systems with CRLF.
+
+2005-09-07 Steve Ellcey <sje@cup.hp.com>
+
+ PR libfortran/23419
+ * io/write.c (extract_int): Use memcpy to access buffer.
+ (extract_uint): Ditto.
+ (extract_real): Ditto.
+
+2005-09-05 Thomas Koenig <Thomas.Koenig@online.de>
+
+ * io/list_read.c: Adjust size of of value to 32 (to hold
+ kind=16 complex values).
+
+2005-09-04 Thomas Koenig <Thomas.Koenig@online.de>
+
+ PR libfortran/23321
+ * io/transfer.c(data_transfer_init): Check for a too-large
+ record number. Return if sseek failed.
+
+2005-09-03 Jakub Jelinek <jakub@redhat.com>
+
+ * io/read.c (read_x): Take int argument instead of fnode * and
+ digging the N from F->u.n.
+ * io/io.h (read_x): Adjust prototype.
+ * io/transfer.c (formatted_transfer): Adjust callers. Don't clobber
+ f->u.n for FMT_T.
+
+2005-09-02 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * io/unix.c (stream_ttyname): Protect use of ttyname by
+ HAVE_TTYNAME macro.
+ * configure.ac: Add check for ttyname.
+ * config.h.in: Regenerate.
+ * configure: Regenerate.
+
+2005-09-02 Andreas Jaeger <aj@suse.de>
+
+ * libgfortran.h: Add prototype for init_compile_options.
+
+ * io/io.h: Add prototype for notify_std.
+
+2005-08-31 Steve Ellcey <sje@cup.hp.com>
+
+ * io/read.c (set_integer): Use memcpy to fill buffer.
+
+2005-08-31 Steve Ellcey <sje@cup.hp.com>
+
+ PR target/23556
+ * io/read.c (convert_real): Use memcpy to fill buffer.
+
+2005-08-29 Thomas Koenig <Thomas.Koenig@online.de>
+
+ PR libfortran/23598
+ * io/lock.c(library_start): If ioparm.iostat is present, clear
+ it unconditionally.
+
+2005-08-27 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * acinclude.m4 (LIBGFOR_CHECK_UNLINK_OPEN_FILE): Add check to see
+ if target can unlink open files.
+ * configure.ac: Use this new test.
+ * config.h.in: Regenerate.
+ * configure: Regenerate.
+ * Makefile.in: Regenerate.
+ * aclocal.ac: Regenerate.
+ * io/io.h: Add prototype for unpack_filename.
+ * io/close.c (st_close): Delete file after closing unit if
+ HAVE_UNLINK_OPEN_FILE is not defined.
+ * io/unix.c (unpack_filename): Unlink scratch file after opening
+ it only if HAVE_UNLINK_OPEN_FILE is defined.
+
+2005-08-17 Kelley Cook <kcook@gcc.gnu.org>
+
+ * All files: Update FSF address.
+
+2005-08-16 Thomas Koenig <Thomas.Koenig@online.de>
+
+ PR libfortran/23428
+ * io/transfer.c (iolength_transfer): Remove __attribute__ ((unused))
+ from type. Return correct length for inquire(iolength=)
+ for complex variables.
+
+2005-08-11 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+ Steven Bosscher <stevenb@suse.de>
+
+ PR libfortran/20006
+ * Makefile.am: Add file runtime/compile_options.c.
+ * Makefile.in: Regenerate.
+ * libgfortran.h: Create structure compile_options_t. Define the
+ compile_options variable and GFC_STD_ macros.
+ * runtime/compile_options.c: New file.
+ * runtime/error.c (notify_std): New function.
+ * runtime/main.c (init): Call init_compile_options during
+ initialization.
+ * io/format.c: Use the new notify_std function for the $
+ descriptor extension.
+
+2005-08-09 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+ * Makefile.am: Add file intrinsics/tty.c to Makefile process.
+ * Makefile.in: Regenerate.
+ * io/io.h: Prototypes for new functions stream_isatty and
+ stream_ttyname.
+ * io/unix (stream_isatty, stream_ttyname): New functions to call
+ isatty() and ttyname() on a given unit.
+ * intrinsics/tty.c: New file to implement g77 intrinsics TTYNAM
+ and ISATTY.
+
+2005-08-08 Jerry DeLisle <jvdelisle@verizon.net>
+
+ PR libfortran/23154
+ * io/transfer.c (data_transfer_init): Initialize
+ current_unit->bytes_left for a read.
+
+2005-08-07 Janne Blomqvist <jblomqvi@cc.hut.fi>
+
+ PR fortran/22390
+ * io/backspace.c: File removed, contents moved to ...
+ * io/endfile.c: Ditto.
+ * io/rewind.c: Ditto.
+ * io/file_pos.c: New file, ... here.
+ * Makefile.am: Add file_pos.c to list, remove obsolete files.
+ * Makefile.in: Regenerated.
+
+2005-08-07 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * io/io.h: Change DEFAULT_TEMPDIR to /tmp instead of /var/tmp.
+ * io/unix.c (tempfile): Look at the TEMP environment variable
+ to find the temporary files directory. Whitespace correction.
+
+2005-08-06 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * io/unix.c: Add O_RDWR to open() call.
+
+2005-08-04 Paul Thomas <pault@gcc.gnu.org>
+
+ * transfer.c (data_transfer_init): Truncate file in
+ sequential WRITE when last_record == 0, rather than
+ current_record. Cures problem on RH9.
+
+2005-08-03 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * libgfortran.h: When isfinite is not provided by the system,
+ define it as a macro, so that it can accept any floating point
+ type.
+
+2005-08-01 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/23178
+ * intrinsics/flush.c (flush_i8): Add function flush_i8. Update
+ copyright years.
+
+2005-07-31 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/21787
+ * intrinsics/abort.c (abort): Close units before aborting.
+ Updated copyright years.
+
+2005-07-30 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/22436
+ * io/write.c (write_real): Add default formats for real(10) and
+ real(16).
+
+2005-07-30 Paul Thomas <pault@gcc.gnu.org>
+
+ PR fortran/22570 and related issues.
+ * transfer.c (formatted_transfer): Make sure that there
+ really is data present before X- or T- editing. Move all
+ treatment of tabbing during writes to start of next data
+ producing format. Suppress incorrect zeroing of bytes_left
+ in slash formating. Insert int cast for assignment of a
+ difference of two gfc_offsets.
+
+2005-07-23 Jerry DeLisle <jvdelisle@verizon.net>
+
+ * io/write.c (write_float): Revise output of IEEE exceptional
+ values to comply with F95 and F2003 standards.
+
+2005-07-22 Jerry DeLisle <jvdelisle@verizon.net>
+
+ PR libfortran/22570
+ * io/unit.c (init_units): Replace BLANK_ZERO with
+ BLANK_UNSPECIFIED.
+
+2005-07-22 Jerry DeLisle <jvdelisle@verizon.net>
+
+ PR libfortran/21875 (FM111.f)
+ * io/read.c (next_char): Return a ' ' character when BLANK_ZERO
+ or BLANK_NULL are active.
+ (read_decimal): Interpret ' ' character correctly for BZ or BN.
+ (read_radix): Interpret ' ' character correctly for BZ or BN.
+ (read_f): Interpret ' ' character correctly for BZ or BN.
+
+2005-07-22 Paul Thomas <pault@gcc.gnu.org>
+
+ PR libfortran/22570
+ * read.c (read_x): Correct the condition for doing the
+ x-editing during formatted input.
+ * transfer.c (formatted_transfer): Cast offset difference
+ as int, clean-up arithmetic with new variable, bytes_used,
+ zero counters for FMT_SLASH,
+ (data_transfer_init) Zero X- and T-editing counters
+ unconditionally.
+ (next_record_w) Zero X- and T-editing counters.
+ unconditionally.
+
+2005-07-17 Jerry DeLisle <jvdelisle@verizon.net>
+
+ * io/write.c (write_float): Fix field width checks for
+ printing 'Infinity' or 'Inf'.
+ (output_float): Fix typo in comment.
+
+2005-07-12 Paul Thomas <pault@gcc.gnu.org>
+
+ PR libfortran/16435
+ * transfer.c (formatted_transfer): Correct the problems
+ with X- and T-editting that caused TLs followed by TRs
+ to overwrite data, which caused NIST FM908.FOR to fail
+ on many tests.
+ (data_transfer_init): Zero X- and T-editting counters at
+ the start of formatted IO.
+ * write.c (write_x): Write specified number of skips with
+ specified number of spaces at the end.
+
+2005-07-13 Paul Thomas <pault@gcc.gnu.org>
+
+ * io/read.c (read_complex): Prevent X formatting during reads
+ from going beyond EOR to fix NIST fm908.FOR failure.
+ * io/list_read.c (read_complex): Allow complex data in list-
+ directed reads to have eols either side of the comma to
+ fix NIST FM906.FOR failure.
+
+2005-07-12 Thomas Koenig <Thomas.Koenig@online.de>
+
+ PR libfortran/21593
+ * io/unix.c: Add member special_file to type unix_stream.
+ (fd_truncate): Don't call ftruncate or chsize if
+ s refers to a special file.
+ (fd_to_stream): initialize s->special_file.
+
+2005-07-11 David Edelsohn <edelsohn@gnu.org>
+
+ PR libfortran/22412
+ * io/write.c (otoa): Bias p by SCRATCH_SIZE, not
+ sizeof (SCRATCH_SIZE).
+ (btoa): Same.
+
+2005-07-09 Jerry DeLisle <jvdelisle@verizon.net>
+
+ PR libfortran/21875 (FM111.f)
+ * io/read.c (next_char): Return a ' ' character when BLANK_ZERO or
+ BLANK_NULL are active.
+ (read_decimal): Interpret ' ' character correctly for BZ or BN.
+ (read_radix): Interpret ' ' character correctly for BZ or BN.
+ (read_f): Interpret ' ' character correctly for BZ or BN.
+ * gfortran.dg/test (fmt_read_bz_bn.f90): New test case.
+
+2005-07-09 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+ Thomas Koenig <Thomas.Koenig@online.de>
+
+ PR libfortran/22217
+ * io/write.c (extract_unit): New function; extract
+ ints as unsigned signed int of the correct size.
+ (write_int): Use it.
+ * runtime/error.c: Adjust copyright years.
+ Adjust size of buffer to maximum that can occur.
+
+2005-07-07 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de>
+
+ * libgfortran.h (GFC_ARRAY_DESCRIPTOR): Replace 'type *base' by
+ 'size_t offset'.
+ * intrinsics/cshift0.c, intrinsics/eoshift0.c,
+ intrinsics/eoshift2.c,intrinsics/pack_generic.c,
+ intrinsics/reshape_generic.c, intrinsics/spread_generic.c,
+ intrinsics/transpose_generic.c, intrinsics/unpack_generic,
+ m4/cshift1.m4, m4/eoshift1.m4, m4/eoshift3.m4, m4/iforeach.m4,
+ m4/ifunction.m4, m4/matmul.m4, m4/matmull.m4, m4/reshape.m4,
+ m4,transpose.m4: Set renamed field 'offset' to zero instead of
+ 'base'.
+ * generated/all_l4.c, generated/all_l8.c,
+ generated/any_l4.c, generated/any_l8.c, generated/count_4_l4.c,
+ generated/count_4_l8.c, generated/count_8_l4.c,
+ generated/count_8_l8.c, generated/chift1_4.c,
+ generated/cshift1_8.c, generated/eoshift1_4.c,
+ generated/eoshift1_8.c, generated/eoshift3_4.c,
+ generated/eoshift3_8.c, generated/matmul_c4.c,
+ generated/matmul_c8.c, generated/matmul_i4.c, matmul_i8.c,
+ generated/matmul_l4.c, generated/matmul_l8.c,
+ generated/matmul_r4.c, generated/matmul_r8.c,
+ generated/maxloc0_4_i4.c, generated/maxloc0_4_i8.c,
+ generated/maxloc0_4_r4.c, generated/maxloc0_4_r8.c,
+ generated/maxloc0_8_i4.c, generated/maxloc0_8_i8.c,
+ generated/maxloc0_8_r4.c, generated/maxloc0_8_r8.c,
+ generated/maxloc1_4_i4.c, generated/maxloc1_4_i8.c,
+ generated/maxloc1_4_r4.c, generated/maxloc1_4_r8.c,
+ generated/maxloc1_8_i4.c, generated/maxloc1_8_i8.c,
+ generated/maxloc1_8_r4.c, generated/maxloc1_8_r8.c,
+ generated/maxval_i4.c, generated/maxval_i8.c,
+ generated/maxval_r4.c, generated/maxval_r8.c,
+ generated/minloc0_4_i4.c, generated/minloc0_4_i8.c,
+ generated/minloc0_4_r4.c, generated/minloc0_4_r8.c,
+ generated/minloc0_8_i4.c, generated/minloc0_8_i8.c,
+ generated/minloc0_8_r4.c, generated/minloc0_8_r8.c,
+ generated/minloc1_4_i4.c, generated/minloc1_4_i8.c,
+ generated/minloc1_4_r4.c, generated/minloc1_4_r8.c,
+ generated/minloc1_8_i4.c, generated/minloc1_8_i8.c,
+ generated/minloc1_8_r4.c, generated/minloc1_8_r8.c,
+ generated/minval_i4.c, generated/minval_i8.c,
+ generated/minval_r4.c, generated/minval_r8.c,
+ generated/product_c4.c, generated/product_c8.c,
+ generated/product_i4.c, generated/product_i8.c,
+ generated/product_r4.c, generated/product_r8.c,
+ generated/reshape_c4.c, generated/reshape_c8.c,
+ generated/reshape_i4.c, generated/reshape_i8.c,
+ generated/sum_c4.c, generated/sum_c8.c, generated/sum_i4.c,
+ generated/sum_i8.c, generated/sum_r4.c, generated/sum_r8.c,
+ generated/transpose_c4.c, generated/transpose_c8.c,
+ generated/transpose_i4.c, generated/transpose_i8.c: Regenerate:
+
+2005-07-07 Thomas Koenig <Thomas.Koenig@online.de>
+
+ PR libfortran/21594
+ * intrinsics/eoshift0.c: If abs(shift) > len, fill the
+ the whole array with the boundary value, but don't overrun it.
+ * intrinsics/eoshift2.c: Likewise.
+ * m4/eoshift1.m4: Likewise.
+ * m4/eoshift3.m4: Likewise.
+ * generated/eoshift1_4.c: Regenerated.
+ * generated/eoshift1_8.c: Regenerated.
+ * generated/eoshift3_4.c: Regenerated.
+ * generated/eoshift3_8.c: Regenerated.
+
+2005-07-07 Feng Wang <fengwang@nudt.edu.cn>
+
+ PR fortran/16531
+ * io/transfer.c (formatted_transfer): Enable FMT_A on other types to
+ support Hollerith constants.
+
+2005-07-01 Andreas Jaeger <aj@suse.de>
+
+ * intrinsics/unpack_generic.c: Remove const from parameter.
+
+ * io/transfer.c (formatted_transfer): Remove unused variable.
+
+2005-06-28 Thomas Koenig <Thomas.Koenig@online.de>
+
+ PR libfortran/22142
+ * m4/eoshift1.m4: Correct bstride (it needs to be multiplied
+ by size since it's a char pointer).
+ * m4/eoshift1_4.c: Regenerated.
+ * m4/eoshift1_8.c: Regenerated.
+
+2005-06-28 Thomas Koenig <Thomas.Koenig@online.de>
+
+ PR libfortran/22142
+ * m4/eoshift3.m4: Correct bstride (it needs to be multiplied
+ by size since it's a char pointer).
+ * m4/eoshift3_4.c: Regenerated.
+ * m4/eoshift3_8.c: Regenerated.
+
+2005-06-28 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/22170
+ * io/transfer.c (formatted_transfer): Do not iterate on the
+ repeat count of a FMT_SLASH, since this is already done in
+ next_format().
+
+2005-06-25 Thomas Koenig <Thomas.Koenig@online.de>
+
+ PR libfortran/22144
+ * m4/cshift1.m4: Remove const from argument ret.
+ Populate return array descriptor if ret->data is NULL.
+ * m4/eoshift1.m4: Likewise.
+ * m4/eoshift3.m4: Likewise.
+ * generated/cshift1_4.c: Regenerated.
+ * generated/cshift1_8.c: Regenerated.
+ * generated/eoshift1_4.c: Regenerated.
+ * generated/eoshift1_8.c: Regenerated.
+ * generated/eoshift3_4.c: Regenerated.
+ * generated/eoshift3_8.c: Regenerated.
+
+2005-06-24 Jerry DeLisle <jvdelisle@verizon.net>
+
+ PR libfortran/21915
+ * Makefile.am: Include intrinsics/hyper.c.
+ * c99_protos.h: Add prototypes for single precision versions of
+ acosh, asinh, and atanh for platforms that do not have these.
+ * config.h.in: Add #undef for wrappers.
+ * configure.ac: Add checks for single precision versions.
+ * aclocal.m4: Regenerated.
+ * Makefile.in: Regenerated.
+ * configure: Regenerated.
+ * intrinsics/hyper.c: New file, adds new wrapper functions.
+
+2005-06-23 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * intrinsics/c99_functions.c (log10l): New log10l function for
+ systems where this is not available.
+ * c99_protos.h: Prototype for log10l function.
+ * libgfortran.h: Use generated kinds.h to define GFC_INTEGER_*,
+ GFC_UINTEGER_*, GFC_LOGICAL_*, GFC_REAL_*, GFC_COMPLEX_*. Update
+ prototypes for gfc_itoa and xtoa.
+ * io/io.h: Update prototypes for set_integer and max_value.
+ * io/list_read.c (convert_integer): Use new
+ GFC_(INTEGER|REAL)_LARGEST type.
+ * io/read.c (set_integer): Likewise.
+ (max_value): Likewise.
+ (convert_real): Likewise.
+ (real_l): Likewise.
+ (next_char): Likewise.
+ (read_decimal): Likewise.
+ (read_radix): Likewise.
+ (read_f): Likewise.
+ * io/write.c (extract_int): Use new GFC_INTEGER_LARGEST type.
+ (extract_real): Use new GFC_REAL_LARGEST type.
+ (calculate_exp): Likewise.
+ (calculate_G_format): Likewise.
+ (output_float): Likewise. Use log10l for long double values.
+ Add comment for sprintf format. Use GFC_REAL_LARGEST_FORMAT.
+ (write_l): Use new GFC_INTEGER_LARGEST type.
+ (write_float): Use new GFC_REAL_LARGEST type.
+ (write_int): Remove useless special case for (len < 8).
+ (write_decimal): Use GFC_INTEGER_LARGEST.
+ (otoa): Use GFC_UINTEGER_LARGEST as argument.
+ (btoa): Use GFC_UINTEGER_LARGEST as argument.
+ * runtime/error.c (gfc_itoa): Use GFC_INTEGER_LARGEST as
+ argument.
+ (xtoa): Use GFC_UINTEGER_LARGEST as argument.
+ * Makefile.am: Use mk-kinds-h.sh to generate header kinds.h
+ with all Fortran kinds available.
+ * configure.ac: Check for strtold and log10l.
+ * Makefile.in: Regenerate.
+ * aclocal.m4: Regenerate.
+ * configure: Regenerate.
+ * config.h.in: Regenerate.
+ * mk-kinds-h.sh: Configuration script for available integer
+ and real kinds.
+
+
+2005-06-18 Janne Blomqvist <jblomqvi@cc.hut.fi>
+
+ * unix.c (stream_at_bof): Don't assume that all non-mmapped files
+ are non-seekable.
+ (stream_at_eof): Likewise.
+
+2005-06-18 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/19155
+ * io/read.c (convert_real): strtod can set errno to EINVAL on an
+ empty string, but we shouldn't have an error in that case.
+
+2005-06-17 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/19216
+ * io/list_read.c (eat_separator): No need to call next_record,
+ even in non-namelist_mode.
+
+2005-06-17 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * io/transfer.c (formatted_transfer): Fix typo in error message.
+
+2005-06-17 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/16436
+ * io/transfer.c (read_sf): Correct updating of bytes_left field.
+ (formatted_transfer): Correct updating of bytes_left field and
+ reformatting code (comments and whitespace).
+ * io/unix.c (move_pos_offset): "active" field should not be
+ changed here. Whitespace corrections.
+
+2005-06-15 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/21950
+ * intrinsics/c99_functions.c (scalbn): Provide fallback
+ implementation for scalbn.
+ * c99_protos.h: Prototype for scalbn.
+ * configure.ac: Add check for scalbn.
+ * configure: Regenerate.
+ * config.h.in: Regenerate.
+
+2005-06-14 Thomas Koenig <Thomas.Koenig@online.de>
+
+ * intrinsics/eoshift0.c: Removed prototype for eoshift0.
+ * intrinsics/eoshift2.c: Removed prototype for eoshift2.
+
+2005-06-14 Tom Tromey <tromey@redhat.com>
+
+ PR libgcj/19877:
+ * configure, aclocal.m4, Makefile.in: Rebuilt.
+
+2005-06-12 Thomas Koenig <Thomas.Koenig@online.de>
+
+ PR libfortran/21594
+ * intrinsics/eoshift0.c: Add prototype for eoshift0.
+ * intrinsics/eoshift2.c: Add prototype for eoshift2.
+
+2005-06-12 Steven G. Kargl <kargls@comcast.net>
+ Thomas Koenig <Thomas.Koenig@online.de>
+
+ PR libfortran/PR21797
+ * m4/cexp.m4 (csqrt`'q): Add type qualifyer to
+ sqrt and fabs.
+ * generated/exp_c4.c: Regenerated.
+
+2005-06-12 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/19155
+ * io/read.c (read_f): Take care of spaces after initial sign.
+
+2005-06-11 Thomas Koenig <Thomas.Koenig@onlinde.de>
+
+ PR libfortran/21333
+ * Makefile.am: Add in_pack_c4.c, in_pack_c8.c, in_unpack_c4.c
+ and in_unpack_c8.c.
+ * Makefile.in: Regenerate.
+ * libgfortran.h: Declare internal_pack_c4, internal_pack_c8,
+ internal_unpack_c4 and internal_unpack_c8.
+ * m4/in_pack.m4: Use rtype_ccode insteald of rtype_kind
+ in function name.
+ Use sizeof (rtype_name) as size for memory allocation.
+ * m4/in_unpack.m4: Use rtype_ccode insteald of rtype_kind
+ in function name.
+ Use sizeof (rtype_name) for calculation of sizes for memcpy.
+ * runtime/in_pack_generic.c: For real, integer and logical
+ call internal_pack_4 if size==4 and internal_pack_8 if
+ size==8.
+ For complex, call internal_pack_c4 if size==8 and
+ internal_pack_c8 if size==16.
+ * runtime/in_unpack_generic.c: For real, integer and logical
+ call internal_unpack_4 if size==4 and internal_unpack_8 if
+ size==8.
+ For complex, call internal_unpack_c4 if size==8 and
+ internal_unpack_c8 if size==16.
+ * generated/in_pack_i4.c: Regenerated.
+ * generated/in_pack_i8.c: Regenerated.
+ * generated/in_unpack_i4.c: Regenerated.
+ * generated/in_unpack_i8.c: Regenerated.
+ * generated/in_pack_c4.c: New file.
+ * generated/in_pack_c8.c: New file.
+ * generated/in_unpack_c4.c: New file.
+ * generated/in_unpack_c8.c: New file.
+
+2005-06-09 Thomas Koenig <Thomas.Koenig@online.de>
+
+ PR libfortran/21480
+ * m4/reshape.m4: Use sizeof (rtype_name) for sizes to be passed
+ to reshape_packed.
+ * generated/reshape_c4.c: Regenerated.
+ * generated/reshape_c8.c: Regenerated.
+ * generated/reshape_i4.c: Regenerated.
+ * generated/reshape_i8.c: Regenerated.
+
+2005-06-07 Thomas Koenig <Thomas.Koenig@online.de>
+
+ PR libfortran/21926
+ * m4/matmul.m4: Correct zeroing of result for non-packed
+ arrays with lowest stride is one.
+ * generated/matmul_c4.c: Regenerated.
+ * generated/matmul_c8.c: Regenerated.
+ * generated/matmul_i4.c: Regenerated.
+ * generated/matmul_i8.c: Regenerated.
+ * generated/matmul_r4.c: Regenerated.
+ * generated/matmul_r8.c: Regenerated.
+
+2005-05-30 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/20179
+ * io/unix.c (fd_close): Add test so that we don't close()
+ stdout and stderr.
+
+2005-05-29 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/20006
+ * io/format.c (parse_format_list): Set repeat count of $ format
+ node to 1.
+ * io/transfer.c (read_sf): Add g.seen_dollar to the test
+ concerning advancing I/O.
+ (data_transfer_init): Likewise.
+ (finalize_transfer): Likewise.
+
+2005-05-27 Thomas Koenig <Thomas.Koenig@online.de>
+
+ * runtime/in_pack_generic.c: Adjust copyright years.
+ (in_pack_generic): Change dimension of auxiliary arrays from
+ GFC_MAX_DIMENSION - 1 to GFC_MAX_DIMENSION.
+ * runtime/in_unpack_generic.c: Adjust copyright years.
+ (in_unpack_generic): Change dimension of auxiliary arrays from
+ GFC_MAX_DIMENSION - 1 to GFC_MAX_DIMENSION.
+
+2005-05-26 Thomas Koenig <Thomas.Koenig@online.de>
+
+ PR libfortran/17283
+ * intrinsics/unpack_generic.c: Fix name of routine
+ on top. Update copyright years.
+ (unpack1): Remove const from return array descriptor.
+ rs: New variable, for calculating return sizes.
+ Populate return array descriptor if ret->data is NULL.
+
+2005-05-22 Peter Wainwright <prw@ceiriog1.demon.co.uk>
+
+ PR libfortran/21376
+ * io/write.c (output_float): Rework logic to avoid call to log10
+ with argument equal to zero.
+
+2005-05-21 Eric Botcazou <ebotcazou@libertysurf.fr>
+
+ * configure.ac: Check for trunc and truncf in libm.
+ * configure: Regenerate.
+ * config.h.in: Likewise.
+ * intrinsics/c99_functions.c (trunc, truncf): New functions.
+ * c99_protos.h (trunc, truncf): Declare them.
+
+2005-05-18 Thomas Koenig <Thomas.Koenig@online.de>
+
+ PR libfortran/21127
+ * Makefile.am: Really commit.
+ * Makefile.in: Really commit.
+
+2005-05-18 Thomas Koenig <Thomas.Koenig@online.de>
+
+ PR libfortran/21127
+ * Makefile.am: Add generated/reshape_c4.c and
+ generated/reshape_c8.c.
+ * Makefile.in: Regenerated.
+ * m4/iparm.m4: Define rtype_ccode to be c4 or c8 for
+ complex types, 4 or 8 otherwise.
+ * m4/reshape.m4: Use rtype_ccode instead of rtype_kind
+ in function name.
+ * generated/reshape_c4.c: New file.
+ * generated/reshape_c8.c: New file.
+
+2005-05-16 Andreas Jaeger <aj@suse.de>
+
+ * configure.ac: Add additional warning flags.
+ * configure: Regenerate.
+
+ * io/write.c (calculate_G_format): Remove unused parameter.
+ (output_float): Remove unused parameter.
+ (write_float): Change callers.
+ (nml_write_obj): Avoid signed warning.
+ Make variable const to support -Wwrite-strings.
+
+ * io/unix.c (fd_alloc, mmap_open, mmap_sfree, mem_sfree,
+ mem_truncate): Mark argument as unused.
+
+ * io/unit.c (get_unit): Mark argument as unused.
+ (init_units): Avoid warning about signed comparision.
+
+ * io/transfer.c (next_record_r): Remove unused parameter.
+ (next_record_w): Remove unused parameter.
+ (next_record): Change callers.
+ (iolength_transfer): Mark arguments as unused.
+
+ * io/open.c: Add initializer.
+
+ * io/list_read.c (read_character): Mark argument as unused.
+ (nml_match_name): Add const to make compile with -Wwrite-strings.
+
+ * io/format.c: Add initializer.
+
+2005-05-15 Andreas Jaeger <aj@suse.de>
+
+ * m4/eoshift1.m4: Initialize variables to avoid warnings.
+ * m4/eoshift3.m4: Initialize variables to avoid warnings.
+ * generated/eoshift1_4.c, generated/eoshift1_8.c,
+ generated/eoshift3_4.c, generated/eoshift3_8.c: Regenerated.
+
+ * intrinsics/spread_generic.c (spread): Initialize variables to
+ avoid warnings.
+
+ * intrinsics/eoshift0.c (eoshift0): Initialize variables to avoid
+ warnings.
+ * intrinsics/eoshift2.c (eoshift2): Initialize variables to avoid
+ warnings.
+
+ * io/list_read.c (nml_get_obj_data): Initialize variables to avoid
+ warnings.
+
+ * intrinsics/pack_generic.c (pack): Remove unneeded calculation.
+
+ * m4/matmull.m4 (matmul_): Remove unneeded calculations, fix
+ pointer cast to avoid warning.
+ * generated/matmul_l4.c: Regenerated.
+ * generated/matmul_l8.c: Regenerated.
+
+ * Makefile.am: Remove AM_CFLAGS here.
+ * configure.ac: Define AM_CFLAGS and AM_FCFLAGS so that warnings
+ are set. Set additionally -Wstrict-prototypes for CFLAGS.
+ * Makefile.in: Regenerated.
+ * aclocal.m4: Regenerated.
+ * configure: Regenerated.
+
+ * intrinsics/system_clock.c (system_clock_4, system_clock_8): Add
+ missing returns, reformat a bit.
+
+ * io/write.c (nml_write_obj): Use %d again - and cast to int,
+ st_sprintf does not handle %ld.
+
+ * io/unit.c (is_internal_unit): Add void as parameter list.
+
+ * io/transfer.c: Move prototype declarations before the functions.
+
+ * runtime/normalize.c (almostone_r4, almostone_r8): Fix parameter
+ list.
+
+ * intrinsics/random.c (KISS_DEFAULT_SEED): Remove extra semicolon.
+
+ * io/transfer.c: Do not use empty initializers for global objects.
+ Add missing initializers.
+
+ * io/lock.c: Do not use empty initializers for global objects.
+
+ * io/close.c: Add missing initializers.
+
+ * runtime/environ.c: Add missing initializers. Do not use empty
+ initializers for global object.
+ (init_string): Mark argument as unused.
+
+ * runtime/main.c (cleanup): Fix parameter list.
+
+ * io/io.h: Fix parameter lists.
+
+ * m4/transpose.m4, m4/matmul.m4: Fix pointer cast to avoid
+ warning.
+
+ * generated/transpose_c4.c, generated/transpose_c8.c,
+ generated/transpose_i4.c, generated/transpose_i8.c,
+ generated/matmul_c4.c, generated/matmul_c8.c,
+ generated/matmul_i4.c, generated/matmul_i8.c,
+ generated/matmul_r4.c, generated/matmul_r8.c: Regenerated.
+
+ * io/write.c (nml_write_obj): Fix 64-bit problem.
+
+ * io/list_read.c (nml_get_obj_data): Add missing braces around
+ initializer to avoid warnings.
+
+ * intrinsics/etime.c (etime_sub): Remove unused variable.
+
+ * intrinsics/chdir.c, intrinsics/getlog.c, intrinsics/link.c,
+ intrinsics/symlnk.c, intrinsics/perror.c: Include <string.h> for
+ prototypes.
+
+ * runtime/string.c (compare0): Remove unused variable.
+ * io/unit.c (init_units): Remove unused variables.
+ * intrinsics/getcwd.c (getcwd_i4_sub): Remove unused variable.
+ * intrinsics/unlink.c (unlink_i4_sub): Remove unused variable.
+ * intrinsics/stat.c (stat_i4_sub, fstat_i8_sub, fstat_i4_sub,
+ stat_i8_sub): Remove unused variable.
+
+2005-05-12 Thomas Koenig <Thomas.Koenig@online.de>
+
+ PR libfortran/21324
+ * runtime/memory.c: Don't define GFC_CLEAR_MEMORY (it's a
+ performance hog).
+ * io/open.c (new_unit): Zero freshly allocated memory for
+ unit structure.
+ * io/unit.c (init_units): Zero freshly allocated memory for
+ STDIN, STDOUT and STDERR.
+ * io/unix.c (open_internal): Zero freshly allocated memory
+ for unix_stream.
+ (fd_to_stream): Likewise.
+
+2005-05-11 Bud Davis <bdavis@gfortran.org>
+
+ PR fortran/19478
+ * io/unix.c (fd_truncate): update positions when ftruncate
+ fails (like writing to /dev/null).
+
+2005-05-10 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/21471
+ * open.c (new_unit): Take care of the case where POSITION_APPEND
+ is specified (sseek to the end, and set u>-endfile).
+
+2005-05-10 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de>
+
+ PR fortran/20178
+ * Makefile.am (gfor_specific_src): Add 'intrinsics/f2c_intrinsics.F90'
+ to dependencies.
+ * Makefile.in: Regenerate.
+ * intrinsics/f2c_specific.F90: New file.
+
+2005-05-10 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/20788
+ * io/unix.c (fd_to_stream): Add an avoid_mmap argument indicating
+ we don't we to mmap this stream. Use fd_open instead of mmap_open
+ in that case.
+ (open_external): Call fd_to_stream with avoid_mmap = 0.
+ (input_stream): Call fd_to_stream with avoid_mmap = 1.
+ (output_stream): Likewise.
+ (error_stream): Likewise.
+
+2005-05-09 Mike Stump <mrs@apple.com>
+
+ * configure: Regenerate.
+
+2005-05-09 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/19155
+ * io/read.c (read_f): Accept 'e', 'E', 'd' and 'D' as first
+ non-blank characters of a real number.
+
+2005-05-04 Thomas Koenig <Thomas.Koenig@online.de>
+
+ PR libfortran/21354
+ * m4/cshift1.m4: Change dimension of auxiliary arrays from
+ GFC_MAX_DIMENSION - 1 to GFC_MAX_DIMENSION.
+ * m4/eoshift1.m4: Likewise.
+ * m4/eoshift3.m4: Likewise.
+ * m4/ifunction.m4: Likewise.
+ * m4/in_pack.m4: Likewise.
+ * m4/in_unpack.m4: Likewise.
+ * intrinsics/cshift0.c: Likewise.
+ * intrinsics/eoshift0.c: Likewise.
+ * intrinsics/eoshift2.c: Likewise.
+ * intrinsics/random.c: Likewise.
+ * intrinsics/spread_generic.c: Likewise.
+ * intrinsics/stat.c: Likewise.
+ * generated/all_l4.c: Regenerated.
+ * generated/all_l8.c: Regenerated.
+ * generated/any_l4.c: Regenerated.
+ * generated/any_l8.c: Regenerated.
+ * generated/count_4_l4.c: Regenerated.
+ * generated/count_4_l8.c: Regenerated.
+ * generated/count_8_l4.c: Regenerated.
+ * generated/count_8_l8.c: Regenerated.
+ * generated/cshift1_4.c: Regenerated.
+ * generated/cshift1_8.c: Regenerated.
+ * generated/eoshift1_4.c: Regenerated.
+ * generated/eoshift1_8.c: Regenerated.
+ * generated/eoshift3_4.c: Regenerated.
+ * generated/eoshift3_8.c: Regenerated.
+ * generated/in_pack_i4.c: Regenerated.
+ * generated/in_pack_i8.c: Regenerated.
+ * generated/in_unpack_i4.c: Regenerated.
+ * generated/in_unpack_i8.c: Regenerated.
+ * generated/maxloc0_4_i4.c: Regenerated.
+ * generated/maxloc0_4_i8.c: Regenerated.
+ * generated/maxloc0_4_r4.c: Regenerated.
+ * generated/maxloc0_4_r8.c: Regenerated.
+ * generated/maxloc0_8_i4.c: Regenerated.
+ * generated/maxloc0_8_i8.c: Regenerated.
+ * generated/maxloc0_8_r4.c: Regenerated.
+ * generated/maxloc0_8_r8.c: Regenerated.
+ * generated/maxloc1_4_i4.c: Regenerated.
+ * generated/maxloc1_4_i8.c: Regenerated.
+ * generated/maxloc1_4_r4.c: Regenerated.
+ * generated/maxloc1_4_r8.c: Regenerated.
+ * generated/maxloc1_8_i4.c: Regenerated.
+ * generated/maxloc1_8_i8.c: Regenerated.
+ * generated/maxloc1_8_r4.c: Regenerated.
+ * generated/maxloc1_8_r8.c: Regenerated.
+ * generated/maxval_i4.c: Regenerated.
+ * generated/maxval_i8.c: Regenerated.
+ * generated/maxval_r4.c: Regenerated.
+ * generated/maxval_r8.c: Regenerated.
+ * generated/minloc0_4_i4.c: Regenerated.
+ * generated/minloc0_4_i8.c: Regenerated.
+ * generated/minloc0_4_r4.c: Regenerated.
+ * generated/minloc0_4_r8.c: Regenerated.
+ * generated/minloc0_8_i4.c: Regenerated.
+ * generated/minloc0_8_i8.c: Regenerated.
+ * generated/minloc0_8_r4.c: Regenerated.
+ * generated/minloc0_8_r8.c: Regenerated.
+ * generated/minloc1_4_i4.c: Regenerated.
+ * generated/minloc1_4_i8.c: Regenerated.
+ * generated/minloc1_4_r4.c: Regenerated.
+ * generated/minloc1_4_r8.c: Regenerated.
+ * generated/minloc1_8_i4.c: Regenerated.
+ * generated/minloc1_8_i8.c: Regenerated.
+ * generated/minloc1_8_r4.c: Regenerated.
+ * generated/minloc1_8_r8.c: Regenerated.
+ * generated/minval_i4.c: Regenerated.
+ * generated/minval_i8.c: Regenerated.
+ * generated/minval_r4.c: Regenerated.
+ * generated/minval_r8.c: Regenerated.
+ * generated/product_c4.c: Regenerated.
+ * generated/product_c8.c: Regenerated.
+ * generated/product_i4.c: Regenerated.
+ * generated/product_i8.c: Regenerated.
+ * generated/product_r4.c: Regenerated.
+ * generated/product_r8.c: Regenerated.
+ * generated/sum_c4.c: Regenerated.
+ * generated/sum_c8.c: Regenerated.
+ * generated/sum_i4.c: Regenerated.
+ * generated/sum_i8.c: Regenerated.
+ * generated/sum_r4.c: Regenerated.
+ * generated/sum_r8.c: Regenerated.
+
+2005-04-30 Thomas Koenig <Thomas.Koenig@online.de>
+
+ PR libfortran/18958
+ libgfortran.h: Change typedef of index_type from size_t
+ to ssize_t.
+
+2005-04-30 Paul Thomas <pault@gcc.gnu.org>
+
+ PR libfortran/18857
+ * generated/matmul_r8.c: Remove incorrect assertions.
+ * generated/matmul_c4.c: Regenerate
+ * generated/matmul_c8.c: Regenerate
+ * generated/matmul_i4.c: Regenerate
+ * generated/matmul_i8.c: Regenerate
+ * generated/matmul_r4.c: Regenerate
+ * generated/matmul_r8.c: Regenerate
+
+2005-04-29 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * configure.ac: Check for ftruncate and chsize.
+ * io/unix.c (fd_truncate): Provide chsize as alternative to
+ ftruncate.
+ * config.h.in: Regenerate.
+ * configure: Regenerate.
+
+2005-04-29 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de>
+
+ * intrinsics/rename.c: Add missing #includes.
+
+2005-04-28 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de>
+
+ * AUTHORS, COPYING, INSTALL, NEWS, README: Remove.
+
+2005-04-26 David Edelsohn <edelsohn@gnu.org>
+
+ PR libfortran/20930
+ * io/rewind.c (st_rewind): Flush the stream when resetting the mode
+ from WRITING to READING.
+
+2005-04-22 Paul Thomas <pault@gcc.gnu.org>
+ Jerry DeLisle <jvdelisle@verizon.net>
+
+ * io/write.c (nml_write_obj): Provide 1 more byte for ext_name.
+ * io/list_read.c (nml_get_obj_data): Put extra brackets in get_mem
+ call for ext_name. These fix the bug reported by Jerry DeLisle to
+ the fortran list and are based on his suggested fix.
+
+2005-04-22 Thomas Koenig <Thomas.Koenig@online.de>
+
+ PR libfortran/20074
+ PR libfortran/20436
+ PR libfortran/21108
+ * m4/reshape.m4 (reshape_`'rtype_kind): rs, rex: New
+ variables, to be used in calculation of return array sizes.
+ Populate return array descriptor if ret->data is NULL.
+ Fix condition for early return (it used to test something
+ undefined if order was used).
+ Remove duplicate check wether pad is used.
+ * intrinsics/reshape_generic.c (reshape_generic): Likewise.
+ Fix a few places where the wrong variables were set.
+ * generated/reshape_i4.c: Regenerated.
+ * generated/reshape_i8.c: Regenerated.
+
+2005-04-18 Paul Thomas <pault@gcc.gnu.org>
+
+ * io/list_read.c (nml_touch_nodes, nml_read_obj,
+ nml_get_obj_data): Fix memory leaks in code for derived types.
+
+2005-04-11 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/20950
+ * io/inquire.c (inquire_via_unit): Check for the gfc_unit being
+ NULL when setting ioparm.sequential.
+
+2005-04-17 Thomas Koenig <Thomas.Koenig@online.de>
+
+ PR libfortran/21075
+ * m4/reshape.m4 (reshape_`'rtype_kind): Change dimension
+ of auxiliary arrays from GFC_MAX_DIMENSIONS - 1 to
+ GFC_MAX_DIMENSIONS.
+ * intrinsics/reshape_generic.c (reshape_generic): Likewise.
+ * generated/reshape_i4.c: Regenerated.
+ * generated/reshape_i8.c: Regenerated.
+
+2005-04-17 Paul Thomas <pault@gcc.gnu.org>
+
+ * io/list_read.c (eat_separator): at_eol = 1 replaced
+ (zapped at some time?).
+
+2005-04-17 Paul Thomas <pault@gcc.gnu.org>
+
+ PR libfortran/12884
+ PR libfortran/17285
+ PR libfortran/18122
+ PR libfortran/18210
+ PR libfortran/18392
+ PR libfortran/18591
+ PR libfortran/18879
+ * io/io.h (nml_ls): Declare.
+ (namelist_info): Modify for arrays.
+ * io/list_read.c (namelist_read): Reduced to call to new functions.
+ (match_namelist_name): Simplified.
+ (nml_query): Handles stdin queries ? and =?. New function.
+ (nml_get_obj_data): Parses object name. New function.
+ (touch_nml_nodes): Marks objects for read. New function.
+ (untouch_nml_nodes): Resets objects. New function.
+ (parse_qualifier): Parses and checks qualifiers. New function
+ (nml_read_object): Reads and stores object data. New function.
+ (eat_separator): No new_record on '/' in namelist.
+ (finish_separator): No new_record on '/' in namelist.
+ (read_logical): Error return for namelist.
+ (read_integer): Error return for namelist.
+ (read_complex): Error return for namelist.
+ (read_real): Error return for namelist.
+ * io/lock.c (library_end): Free extended namelist_info types.
+ * io/transfer.c (st_set_nml_var): Modified for arrays.
+ (st_set_nml_var_dim): Dimension descriptors. New function.
+ * io/write.c (namelist_write): Reduced to call to new functions.
+ (nml_write_obj): Writes output for object. New function.
+ (write_integer): Suppress leading blanks for repeat counts.
+ (write_int): Suppress leading blanks for repeat counts.
+ (write_float): Suppress leading blanks for repeat counts.
+ (output_float): Suppress leading blanks for repeat counts.
+
+2005-04-15 Thomas Koenig <Thomas.Koenig@online.de>
+
+ PR libfortran/18495
+ * intrinsics/spread_generic.c (spread): Remove const from
+ return array descriptor.
+ New variables: rrank (rank of return array), rs (for
+ calculating the size of the return array), srank (rank
+ of the source array).
+ Generate runtime error if the dim= argument is larger than
+ the rank of the return array.
+ Generate runtime error if the needed rank of the return
+ array is larger than 7.
+ If ret->data is null, populate the return array descriptor
+ and initialize the variables for the actual operation.
+ Otherwise, set ret->dim[0].stride to one if it is zero.
+ Change second, independent use of variable dim to srank.
+
+2005-04-12 Mike Stump <mrs@apple.com>
+
+ * configure: Regenerate.
+
+2005-04-13 Thomas Koenig <Thomas.Koenig@online.de>
+
+ PR libfortran/19106
+ * m4/iforeach.c (name`'rtype_qual`_'atype_code): Add TODO
+ that setting correct strides is a front end job.
+ (`m'name`'rtype_qual`_'atype_code): Likewise. If mask has
+ a lowest stride of 0, adjust to 1.
+ * m4/ifunction.c (name`'rtype_qual`_'atype_code): Add TODO
+ that setting correct strides is a front end job.
+ (`m'name`'rtype_qual`_'atype_code): Likewise. If mask has
+ a lowest stride of 0, adjust to 1.
+ * maxloc0_4_i4.c: Regenerated
+ * maxloc0_4_i8.c: Regenerated
+ * maxloc0_4_r4.c: Regenerated
+ * maxloc0_4_r8.c: Regenerated
+ * maxloc0_8_i4.c: Regenerated
+ * maxloc0_8_i8.c: Regenerated
+ * maxloc0_8_r4.c: Regenerated
+ * maxloc0_8_r8.c: Regenerated
+ * maxloc1_4_i4.c: Regenerated
+ * maxloc1_4_i8.c: Regenerated
+ * maxloc1_4_r4.c: Regenerated
+ * maxloc1_4_r8.c: Regenerated
+ * maxloc1_8_i4.c: Regenerated
+ * maxloc1_8_i8.c: Regenerated
+ * maxloc1_8_r4.c: Regenerated
+ * maxloc1_8_r8.c: Regenerated
+ * maxval_i4.c: Regenerated
+ * maxval_i8.c: Regenerated
+ * maxval_r4.c: Regenerated
+ * maxval_r8.c: Regenerated
+ * minloc0_4_i4.c: Regenerated
+ * minloc0_4_i8.c: Regenerated
+ * minloc0_4_r4.c: Regenerated
+ * minloc0_4_r8.c: Regenerated
+ * minloc0_8_i4.c: Regenerated
+ * minloc0_8_i8.c: Regenerated
+ * minloc0_8_r4.c: Regenerated
+ * minloc0_8_r8.c: Regenerated
+ * minloc1_4_i4.c: Regenerated
+ * minloc1_4_i8.c: Regenerated
+ * minloc1_4_r4.c: Regenerated
+ * minloc1_4_r8.c: Regenerated
+ * minloc1_8_i4.c: Regenerated
+ * minloc1_8_i8.c: Regenerated
+ * minloc1_8_r4.c: Regenerated
+ * minloc1_8_r8.c: Regenerated
+ * minval_i4.c: Regenerated
+ * minval_i8.c: Regenerated
+ * minval_r4.c: Regenerated
+ * minval_r8.c: Regenerated
+ * product_c4.c: Regenerated
+ * product_c8.c: Regenerated
+ * product_i4.c: Regenerated
+ * product_i8.c: Regenerated
+ * product_r4.c: Regenerated
+ * product_r8.c: Regenerated
+ * sum_c4.c: Regenerated
+ * sum_c8.c: Regenerated
+ * sum_i4.c: Regenerated
+ * sum_i8.c: Regenerated
+ * sum_r4.c: Regenerated
+ * sum_r8.c: Regenerated
+
+2005-04-10 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/20788
+ * runtime/environ.c (init_unsigned_integer): Function for
+ environment variables we want to be positive.
+ (init_integer): Function to allow negative environment
+ variables (e.g. for GFORTRAN_STDIN_UNIT).
+
+2005-04-10 Thomas Koenig <Thomas.Koenig@online.de>
+
+ PR libfortran/17992
+ PR libfortran/19568
+ PR libfortran/19595
+ PR libfortran/20005
+ PR libfortran/20092
+ PR libfortran/20131
+ PR libfortran/20661
+ PR libfortran/20744
+ * io/transfer.c (top level): eor_condition: New static variable.
+ (read_sf): Remove unnecessary zeroing of buffer (there is enough
+ information in its length).
+ Return a string of length 0 (to be padded by caller) if EOR was
+ seen previously.
+ Remove erroneous special casing of EOR for standard input.
+ Set eor_condition for non-advancing I/O if an end of line was
+ detected.
+ Increment ioparm.size if necessary.
+ (formatted_transfer): Skip the function if there is an EOR condition.
+ (data_transfer_init): Initialize eor_condition to zero (false).
+ (next_record_r): Clear sf_seen_eor if a \n has been seen already.
+ (finalize_transfer): If there is an EOR condition, raise the error.
+
+2005-04-09 Bud Davis <bdavis@gfortran.org>
+ Steven G. Kargl <kargls@comcast.net>
+
+ PR fortran/19872
+ * io/transfer.c (data_transfer_init): truncate an existing
+ file on the first write.
+
+2005-04-09 Thomas Koenig <Thomas.Koenig@online.de>
+
+ PR libfortran/19106
+ PR libfortran/19014
+ * m4/ifunction.m4 (name`'rtype_qual`_'atype_code): ditto.
+ If retarray->data is NULL (i.e. the front end does not
+ know the rank and dimenson of the array), fill in its
+ properties and allocate memory.
+ Change the assertions about rank and dimension of retarray into
+ runtime errors and only check them for retarray->data != NULL.
+ Do the same for correcting the stride from 0 to 1 in retarray.
+ (`m'name`'rtype_qual`_'atype_code): Likewise.
+ * m4/iforeach.m4 (name`'rtype_qual`_'atype_code): Likewise.
+ Change assertion about rank of array to runtime error.
+ (`m'name`'rtype_qual`_'atype_code): Likewise.
+ * generated/all_l4.c: Regenerated.
+ * generated/all_l8.c: Regenerated.
+ * generated/any_l4.c: Regenerated.
+ * generated/any_l8.c: Regenerated.
+ * generated/count_4_l4.c: Regenerated.
+ * generated/count_4_l8.c: Regenerated.
+ * generated/count_8_l4.c: Regenerated.
+ * generated/count_8_l8.c: Regenerated.
+ * generated/maxloc0_4_i4.c: Regenerated.
+ * generated/maxloc0_4_i8.c: Regenerated.
+ * generated/maxloc0_4_r4.c: Regenerated.
+ * generated/maxloc0_4_r8.c: Regenerated.
+ * generated/maxloc0_8_i4.c: Regenerated.
+ * generated/maxloc0_8_i8.c: Regenerated.
+ * generated/maxloc0_8_r4.c: Regenerated.
+ * generated/maxloc0_8_r8.c: Regenerated.
+ * generated/maxloc1_4_i4.c: Regenerated.
+ * generated/maxloc1_4_i8.c: Regenerated.
+ * generated/maxloc1_4_r4.c: Regenerated.
+ * generated/maxloc1_4_r8.c: Regenerated.
+ * generated/maxloc1_8_i4.c: Regenerated.
+ * generated/maxloc1_8_i8.c: Regenerated.
+ * generated/maxloc1_8_r4.c: Regenerated.
+ * generated/maxloc1_8_r8.c: Regenerated.
+ * generated/maxval_i4.c: Regenerated.
+ * generated/maxval_i8.c: Regenerated.
+ * generated/maxval_r4.c: Regenerated.
+ * generated/maxval_r8.c: Regenerated.
+ * generated/minloc0_4_i4.c: Regenerated.
+ * generated/minloc0_4_i8.c: Regenerated.
+ * generated/minloc0_4_r4.c: Regenerated.
+ * generated/minloc0_4_r8.c: Regenerated.
+ * generated/minloc0_8_i4.c: Regenerated.
+ * generated/minloc0_8_i8.c: Regenerated.
+ * generated/minloc0_8_r4.c: Regenerated.
+ * generated/minloc0_8_r8.c: Regenerated.
+ * generated/minloc1_4_i4.c: Regenerated.
+ * generated/minloc1_4_i8.c: Regenerated.
+ * generated/minloc1_4_r4.c: Regenerated.
+ * generated/minloc1_4_r8.c: Regenerated.
+ * generated/minloc1_8_i4.c: Regenerated.
+ * generated/minloc1_8_i8.c: Regenerated.
+ * generated/minloc1_8_r4.c: Regenerated.
+ * generated/minloc1_8_r8.c: Regenerated.
+ * generated/minval_i4.c: Regenerated.
+ * generated/minval_i8.c: Regenerated.
+ * generated/minval_r4.c: Regenerated.
+ * generated/minval_r8.c: Regenerated.
+ * generated/product_c4.c: Regenerated.
+ * generated/product_c8.c: Regenerated.
+ * generated/product_i4.c: Regenerated.
+ * generated/product_i8.c: Regenerated.
+ * generated/product_r4.c: Regenerated.
+ * generated/product_r8.c: Regenerated.
+ * generated/sum_c4.c: Regenerated.
+ * generated/sum_c8.c: Regenerated.
+ * generated/sum_i4.c: Regenerated.
+ * generated/sum_i8.c: Regenerated.
+ * generated/sum_r4.c: Regenerated.
+ * generated/sum_r8.c: Regenerated.
+
+2005-04-09 Thomas Koenig <Thomas.Koenig@online.de>
+
+ PR libfortran/20163
+ * runtime/string.c (compare0): Use fstrlen() to
+ strip trailing blanks from option string.
+
+2005-04-09 Andrew Pinski <pinskia@physics.uc.edu>
+
+ PR fortran/13257
+ * format.c (parse_format_list): Allow an optional comma
+ between descriptors.
+
+2005-04-08 Eric Botcazou <ebotcazou@libertysurf.fr>
+
+ * io/backspace.c (unformatted_backspace): Do not dereference
+ the pointer to the stream.
+
+2005-04-07 Andrew Pinski <pinskia@physics.uc.edu>
+
+ PR libfortran/20766
+ * configure.ac (extra_ldflags_libgfortran): Set for *-darwin* to
+ "-Wl,-single_module".
+ * configure: Regenerate.
+ * Makefile.am (libgfortran_la_LDFLAGS): Add extra_ldflags_libgfortran.
+ * Makefile.in: Regenerate.
+
+2005-04-05 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/20755
+ * write.c (write_float): A G edit descriptor may locally change
+ the scale factor, but it needs to be restored afterwards.
+
+2005-04-03 Dale Ranta <dir@lanl.gov>
+ Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/20068
+ PR libfortran/20125
+ PR libfortran/20156
+ PR libfortran/20471
+ * io/backspace.c (unformatted_backspace): Fix error in arithmetic.
+ (st_backspace): When in WRITING mode, we flush and falling back
+ into READING mode. In all cases, correctly position the stream.
+
+2005-03-31 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/20660
+ * io/inquire.c (inquire_via_unit): Non-opened units should still be
+ reported by an INQUIRE statement as existing.
+ * io/transfer.c (data_transfer_init): Never accept negative units.
+
+2005-03-29 Dale Ranta <dir@lanl.gov>
+ Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/20163
+ * io/open.c (st_open): call library_end() before returning even if
+ an error arises.
+
+2005-03-25 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/19678
+ * list_read.c (next_char, eat_separator, finish_separator, read_real)
+ (namelist_read): Add support for '\r' as well as '\n' as EOL
+ character.
+
+ PR libfortran/19679
+ * list_read.c (read_sf): Add a '\r' in a test to support DOS
+ line-endings when line length is exceeded.
+
+2005-03-25 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/15332
+ * io/format.c (parse_format_list): format node for colon edit
+ descriptor needs a repeat counter set to 1.
+
+2005-02-24 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * config.h.in: Regenerate.
+
+2005-02-23 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/18025
+ * write.c (output_float): Handling the "F0.d" format similarly as
+ commercial compilers.
+
+2005-03-22 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * Makefile.am: Added new files.
+ * Makefile.in: Regenerate.
+ * aclocal.m4: Regenerate.
+ * configure.ac: add checks for signal.h headers file, as well as
+ following functions: chdir, strerror, getlogin, gethostname, kill,
+ link, symlink, perror, sleep, time.
+ * configure: Regenerate.
+ * intrinsics/chdir.c, intrinsics/gerror.c, intrinsics/getlog.c,
+ intrinsics/hostnm.c, intrinsics/ierrno.c, intrinsics/kill.c,
+ intrinsics/link.c, intrinsics/perror.c, intrinsics/rename.c,
+ intrinsics/sleep.c, intrinsics/symlnk.c, intrinsics/time.c: Newly
+ implementend g77 intrinsics.
+
+2005-03-21 Zack Weinberg <zack@codesourcery.com>
+
+ * configure.ac: Do not invoke TL_AC_GCC_VERSION.
+ In all substitutions, leave gcc_version to be expanded by the Makefile.
+ * aclocal.m4, configure: Regenerate.
+ * Makefile.am: Set gcc_version.
+ * Makefile.in: Regenerate.
+
+2005-03-16 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/20257
+ * open.c (new_unit): set record length to max_offset rather than
+ using a hard-coded limit (which was too low).
+
+2005-03-16 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/20480
+ * write.c (output_float): special check when writing 0.0 with
+ EN and ES formats.
+
+2005-03-11 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/20124
+ * write.c (output_float): Adds a nzero_real variable to store
+ the number of leading zeros whatever the format width is. Corrects
+ the rounding of numbers less than 10^(-width). Fixes typo in an
+ error message. Updates copyright years
+
+2005-02-27 Toon Moene <toon@moene.indiv.nluug.nl>
+
+ * runtime/environ.c: Update copyright years.
+
+2005-02-27 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de>
+
+ * io/write.c: Update copyright years.
+
+2005-02-27 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/20101
+ * io/write.c (output_float): Added special check for value 0.0 in
+ PE format.
+
+2005-02-27 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de>
+
+ * io/write.c (output_float): Fix typo in condition.
+
+2005-02-25 Peter O'Gorman <peter@pogma.com>
+ Toon Moene <toon@moene.indiv.nluug.nl>
+
+ PR libfortran/17748
+ * runtime/environ.c: Remove references to environ.
+ (show_variables): remove GFORTRAN_UNBUFFERED_* and
+ GFORTRAN_NAME_* because they require environ.
+ (pattern_scan): Remove function.
+
+2005-02-22 Paul Thomas <paulthomas2@wannado.fr>
+ Bud Davis <bdavis@gfortran.org>
+
+ * io/list_read.c (read_real): Handle separators properly
+ in list directed read.
+
+2005-02-21 Bud Davis <bdavis@gfortran.org>
+
+ PR fortran/20086
+ * io/transfer.c (write_constant_string): accept an 'h' as
+ the start of a hollerith format string.
+
+2005-02-21 Eric Botcazou <ebotcazou@libertysurf.fr>
+
+ PR libfortran/19302
+ * intrinsics/c99_functions.c (nextafterf): Special-case infinite
+ numbers.
+
+2005-02-21 Steven G. Kargl <kargls@comcast.net>
+
+ * io/write.c (output_float): Typo in error meesage.
+
+2005-02-20 Steven G. Kargl <kargls@comcast.net>
+
+ PR 20085
+ * intrinsic/args.c (iargc): Off by 1.
+
+2005-02-19 Steven G. Kargl <kargls@comcast.net>
+
+ * intrinsic/date_and_time.c: Fix conformance problems.
+
+2005-02-01 Paul Thomas <paulthomas2@wanadoo.fr>
+
+ PR libfortran/19363
+ PR libfortran/19691
+ * libgfortran.h (isfinite): Work around broken isfinite(x) in Cygwin.
+
+2005-01-30 Bud Davis <bdavis@gfortran.org>
+
+ PR fortran/19647
+ * io/inquire.c (inquire_via_unit): Use correct variable for
+ pad.
+
+2005-01-29 Thomas Koenig <Thomas.Koenig@online.de>
+
+ PR libfortran/19595
+ * io/transfer.c (data_transfer_init): eor requires advance="NO".
+
+2005-01-25 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de>
+
+ PR libfortran/19524
+ * io/read.c (read_f): Don't free uninitialized pointer.
+
+2005-01-23 James A. Morrison <phython@gcc.gnu.org>
+ Paul Brook <paul@codesourcery.com>
+
+ PR fortran/19294
+ * Makefile.am: Add transpose_c4.c and transpose_c8.c.
+ * intrinsics/cshift0.c: Use separate optimized loops for complex types.
+ * m4/transpose.m4: Include type letter in function name.
+ * Makefile.in: Regenerate.
+ * generated/transpose_*.c: Regenerate.
+
+2005-01-22 Thomas Koenig <Thomas.Koenig@online.de>
+
+ PR libfortran/19451
+ * io/transfer.c (finalize_transfer): Don't do anything if
+ there is an error condition.
+
+2005-01-22 David Edelsohn <edelsohn@gnu.org>
+
+ PR libfortran/19052
+ * libgfortran.h (options_t): Add stderr_unit.
+ * io/io.h (error_stream): Declare.
+ * io/open.c (new_unit): Do not terminate abnormally if opening
+ file preconnected to stdin, stdout, or stderr.
+ * io/unit.c (init_units): Initialize stderr_unit.
+ * io/unix.c (error_stream): New function.
+ * runtime/environ.c (GFORTRAN_STDERR_UNIT): New environment variable.
+
+2005-01-22 Thomas Koenig <Thomas.Koenig@online.de>
+
+ PR libfortran/18982
+ * io/unix.c (regular_file): No need to change flags->action
+ if an error occurs. Document this.
+ No need to call stat() for STATUS_OLD, open() will
+ fail anyway.
+ For ACTION_UNSPECIFIED, try open for read-write, then for
+ read-only if open fails with EACCES, then for write-only
+ if that fails with EACCES again.
+ * io/unix.c (open_external): Document changed behavior of
+ regular_file.
+
+2005-01-22 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de>
+
+ PR fortran/19194
+ * io/io.h (st_parameter): Use 'GFC_INTEGER_4' instead of 'int',
+ use CHARACTER macro for definition of string valued paramters.
+
+2005-01-22 Bud Davis <bdavis9659@comcast.net>
+
+ PR fortran/19314
+ * io/inquire.c(inquire_via_unit): implement POSITION=.
+ * io/transfer.c(next_record): update position for
+ INQUIRE.
+ * io/rewind.c(st_rewind): update position for
+ INQUIRE.
+
+2005-01-16 Bud Davis <bdavis9659@comcast.net>
+
+ PR fortran/18778
+ * io/transfer.c (us_read): no bytes available is not a
+ runtime error.
+
+2005-01-15 Bud Davis <bdavis9659@comcast.net>
+
+ PR fortran/18983
+ * io/transfer.c (st_write_done): only truncate when it
+ is required.
+
+2005-01-12 Toon Moene <toon@moene.indiv.nluug.nl>
+
+ PR libfortran/19280
+ c99_protos.h: License changed to GPL+exception.
+ libgfortran.h: Ditto.
+ intrinsics/abort.c: Ditto.
+ intrinsics/args.c: Ditto.
+ intrinsics/associated.c: Ditto.
+ intrinsics/bessel.c: Ditto.
+ intrinsics/c99_functions.c: Ditto.
+ intrinsics/cpu_time.c: Ditto.
+ intrinsics/cshift0.c: Ditto.
+ intrinsics/date_and_time.c: Ditto.
+ intrinsics/env.c: Ditto.
+ intrinsics/eoshift0.c: Ditto.
+ intrinsics/eoshift2.c: Ditto.
+ intrinsics/erf.c: Ditto.
+ intrinsics/etime.c: Ditto.
+ intrinsics/exit.c: Ditto.
+ intrinsics/flush.c: Ditto.
+ intrinsics/fnum.c: Ditto.
+ intrinsics/getXid.c: Ditto.
+ intrinsics/getcwd.c: Ditto.
+ intrinsics/ishftc.c: Ditto.
+ intrinsics/mvbits.c: Ditto.
+ intrinsics/pack_generic.c: Ditto.
+ intrinsics/rand.c: Ditto.
+ intrinsics/random.c: Ditto.
+ intrinsics/reshape_generic.c: Ditto.
+ intrinsics/reshape_packed.c: Ditto.
+ intrinsics/size.c: Ditto.
+ intrinsics/spread_generic.c: Ditto.
+ intrinsics/stat.c: Ditto.
+ intrinsics/string_intrinsics.c: Ditto.
+ intrinsics/system.c: Ditto.
+ intrinsics/system_clock.c: Ditto.
+ intrinsics/transpose_generic.c: Ditto.
+ intrinsics/umask.c: Ditto.
+ intrinsics/unlink.c: Ditto.
+ intrinsics/unpack_generic.c: Ditto.
+ io/backspace.c: Ditto.
+ io/close.c: Ditto.
+ io/endfile.c: Ditto.
+ io/format.c: Ditto.
+ io/inquire.c: Ditto.
+ io/io.h: Ditto.
+ io/list_read.c: Ditto.
+ io/lock.c: Ditto.
+ io/open.c: Ditto.
+ io/read.c: Ditto.
+ io/rewind.c: Ditto.
+ io/transfer.c: Ditto.
+ io/unit.c: Ditto.
+ io/unix.c: Ditto.
+ io/write.c: Ditto.
+ m4/all.m4: Ditto.
+ m4/any.m4: Ditto.
+ m4/cexp.m4: Ditto.
+ m4/chyp.m4: Ditto.
+ m4/count.m4: Ditto.
+ m4/cshift1.m4: Ditto.
+ m4/ctrig.m4: Ditto.
+ m4/dotprod.m4: Ditto.
+ m4/dotprodc.m4: Ditto.
+ m4/dotprodl.m4: Ditto.
+ m4/eoshift1.m4: Ditto.
+ m4/eoshift3.m4: Ditto.
+ m4/exponent.m4: Ditto.
+ m4/fraction.m4: Ditto.
+ m4/head.m4: Ditto.
+ m4/iforeach.m4: Ditto.
+ m4/ifunction.m4: Ditto.
+ m4/in_pack.m4: Ditto.
+ m4/in_unpack.m4: Ditto.
+ m4/iparm.m4: Ditto.
+ m4/matmul.m4: Ditto.
+ m4/matmull.m4: Ditto.
+ m4/maxloc0.m4: Ditto.
+ m4/maxloc1.m4: Ditto.
+ m4/maxval.m4: Ditto.
+ m4/minloc0.m4: Ditto.
+ m4/minloc1.m4: Ditto.
+ m4/minval.m4: Ditto.
+ m4/mtype.m4: Ditto.
+ m4/nearest.m4: Ditto.
+ m4/pow.m4: Ditto.
+ m4/product.m4: Ditto.
+ m4/reshape.m4: Ditto.
+ m4/set_exponent.m4: Ditto.
+ m4/shape.m4: Ditto.
+ m4/specific.m4: Ditto.
+ m4/specific2.m4: Ditto.
+ m4/sum.m4: Ditto.
+ m4/transpose.m4: Ditto.
+ m4/types.m4: Ditto.
+ runtime/environ.c: Ditto.
+ runtime/error.c: Ditto.
+ runtime/in_pack_generic.c: Ditto.
+ runtime/in_unpack_generic.c: Ditto.
+ runtime/main.c: Ditto.
+ runtime/memory.c: Ditto.
+ runtime/normalize.c: Ditto.
+ runtime/pause.c: Ditto.
+ runtime/select.c: Ditto.
+ runtime/stop.c: Ditto.
+ runtime/string.c: Ditto.
+ generated/_abs_c4.f90: Regenerated.
+ generated/_abs_c8.f90: Regenerated.
+ generated/_abs_i4.f90: Regenerated.
+ generated/_abs_i8.f90: Regenerated.
+ generated/_abs_r4.f90: Regenerated.
+ generated/_abs_r8.f90: Regenerated.
+ generated/_acos_r4.f90: Regenerated.
+ generated/_acos_r8.f90: Regenerated.
+ generated/_aint_r4.f90: Regenerated.
+ generated/_aint_r8.f90: Regenerated.
+ generated/_anint_r4.f90: Regenerated.
+ generated/_anint_r8.f90: Regenerated.
+ generated/_asin_r4.f90: Regenerated.
+ generated/_asin_r8.f90: Regenerated.
+ generated/_atan2_r4.f90: Regenerated.
+ generated/_atan2_r8.f90: Regenerated.
+ generated/_atan_r4.f90: Regenerated.
+ generated/_atan_r8.f90: Regenerated.
+ generated/_conjg_c4.f90: Regenerated.
+ generated/_conjg_c8.f90: Regenerated.
+ generated/_cos_c4.f90: Regenerated.
+ generated/_cos_c8.f90: Regenerated.
+ generated/_cos_r4.f90: Regenerated.
+ generated/_cos_r8.f90: Regenerated.
+ generated/_cosh_r4.f90: Regenerated.
+ generated/_cosh_r8.f90: Regenerated.
+ generated/_dim_i4.f90: Regenerated.
+ generated/_dim_i8.f90: Regenerated.
+ generated/_dim_r4.f90: Regenerated.
+ generated/_dim_r8.f90: Regenerated.
+ generated/_exp_c4.f90: Regenerated.
+ generated/_exp_c8.f90: Regenerated.
+ generated/_exp_r4.f90: Regenerated.
+ generated/_exp_r8.f90: Regenerated.
+ generated/_log10_r4.f90: Regenerated.
+ generated/_log10_r8.f90: Regenerated.
+ generated/_log_c4.f90: Regenerated.
+ generated/_log_c8.f90: Regenerated.
+ generated/_log_r4.f90: Regenerated.
+ generated/_log_r8.f90: Regenerated.
+ generated/_mod_i4.f90: Regenerated.
+ generated/_mod_i8.f90: Regenerated.
+ generated/_mod_r4.f90: Regenerated.
+ generated/_mod_r8.f90: Regenerated.
+ generated/_sign_i4.f90: Regenerated.
+ generated/_sign_i8.f90: Regenerated.
+ generated/_sign_r4.f90: Regenerated.
+ generated/_sign_r8.f90: Regenerated.
+ generated/_sin_c4.f90: Regenerated.
+ generated/_sin_c8.f90: Regenerated.
+ generated/_sin_r4.f90: Regenerated.
+ generated/_sin_r8.f90: Regenerated.
+ generated/_sinh_r4.f90: Regenerated.
+ generated/_sinh_r8.f90: Regenerated.
+ generated/_sqrt_c4.f90: Regenerated.
+ generated/_sqrt_c8.f90: Regenerated.
+ generated/_sqrt_r4.f90: Regenerated.
+ generated/_sqrt_r8.f90: Regenerated.
+ generated/_tan_r4.f90: Regenerated.
+ generated/_tan_r8.f90: Regenerated.
+ generated/_tanh_r4.f90: Regenerated.
+ generated/_tanh_r8.f90: Regenerated.
+ generated/all_l4.c: Regenerated.
+ generated/all_l8.c: Regenerated.
+ generated/any_l4.c: Regenerated.
+ generated/any_l8.c: Regenerated.
+ generated/count_4_l4.c: Regenerated.
+ generated/count_4_l8.c: Regenerated.
+ generated/count_8_l4.c: Regenerated.
+ generated/count_8_l8.c: Regenerated.
+ generated/cshift1_4.c: Regenerated.
+ generated/cshift1_8.c: Regenerated.
+ generated/dotprod_c4.c: Regenerated.
+ generated/dotprod_c8.c: Regenerated.
+ generated/dotprod_i4.c: Regenerated.
+ generated/dotprod_i8.c: Regenerated.
+ generated/dotprod_l4.c: Regenerated.
+ generated/dotprod_l8.c: Regenerated.
+ generated/dotprod_r4.c: Regenerated.
+ generated/dotprod_r8.c: Regenerated.
+ generated/eoshift1_4.c: Regenerated.
+ generated/eoshift1_8.c: Regenerated.
+ generated/eoshift3_4.c: Regenerated.
+ generated/eoshift3_8.c: Regenerated.
+ generated/exp_c4.c: Regenerated.
+ generated/exp_c8.c: Regenerated.
+ generated/exponent_r4.c: Regenerated.
+ generated/exponent_r8.c: Regenerated.
+ generated/fraction_r4.c: Regenerated.
+ generated/fraction_r8.c: Regenerated.
+ generated/hyp_c4.c: Regenerated.
+ generated/hyp_c8.c: Regenerated.
+ generated/in_pack_i4.c: Regenerated.
+ generated/in_pack_i8.c: Regenerated.
+ generated/in_unpack_i4.c: Regenerated.
+ generated/in_unpack_i8.c: Regenerated.
+ generated/matmul_c4.c: Regenerated.
+ generated/matmul_c8.c: Regenerated.
+ generated/matmul_i4.c: Regenerated.
+ generated/matmul_i8.c: Regenerated.
+ generated/matmul_l4.c: Regenerated.
+ generated/matmul_l8.c: Regenerated.
+ generated/matmul_r4.c: Regenerated.
+ generated/matmul_r8.c: Regenerated.
+ generated/maxloc0_4_i4.c: Regenerated.
+ generated/maxloc0_4_i8.c: Regenerated.
+ generated/maxloc0_4_r4.c: Regenerated.
+ generated/maxloc0_4_r8.c: Regenerated.
+ generated/maxloc0_8_i4.c: Regenerated.
+ generated/maxloc0_8_i8.c: Regenerated.
+ generated/maxloc0_8_r4.c: Regenerated.
+ generated/maxloc0_8_r8.c: Regenerated.
+ generated/maxloc1_4_i4.c: Regenerated.
+ generated/maxloc1_4_i8.c: Regenerated.
+ generated/maxloc1_4_r4.c: Regenerated.
+ generated/maxloc1_4_r8.c: Regenerated.
+ generated/maxloc1_8_i4.c: Regenerated.
+ generated/maxloc1_8_i8.c: Regenerated.
+ generated/maxloc1_8_r4.c: Regenerated.
+ generated/maxloc1_8_r8.c: Regenerated.
+ generated/maxval_i4.c: Regenerated.
+ generated/maxval_i8.c: Regenerated.
+ generated/maxval_r4.c: Regenerated.
+ generated/maxval_r8.c: Regenerated.
+ generated/minloc0_4_i4.c: Regenerated.
+ generated/minloc0_4_i8.c: Regenerated.
+ generated/minloc0_4_r4.c: Regenerated.
+ generated/minloc0_4_r8.c: Regenerated.
+ generated/minloc0_8_i4.c: Regenerated.
+ generated/minloc0_8_i8.c: Regenerated.
+ generated/minloc0_8_r4.c: Regenerated.
+ generated/minloc0_8_r8.c: Regenerated.
+ generated/minloc1_4_i4.c: Regenerated.
+ generated/minloc1_4_i8.c: Regenerated.
+ generated/minloc1_4_r4.c: Regenerated.
+ generated/minloc1_4_r8.c: Regenerated.
+ generated/minloc1_8_i4.c: Regenerated.
+ generated/minloc1_8_i8.c: Regenerated.
+ generated/minloc1_8_r4.c: Regenerated.
+ generated/minloc1_8_r8.c: Regenerated.
+ generated/minval_i4.c: Regenerated.
+ generated/minval_i8.c: Regenerated.
+ generated/minval_r4.c: Regenerated.
+ generated/minval_r8.c: Regenerated.
+ generated/nearest_r4.c: Regenerated.
+ generated/nearest_r8.c: Regenerated.
+ generated/pow_c4_i4.c: Regenerated.
+ generated/pow_c4_i8.c: Regenerated.
+ generated/pow_c8_i4.c: Regenerated.
+ generated/pow_c8_i8.c: Regenerated.
+ generated/pow_i4_i4.c: Regenerated.
+ generated/pow_i4_i8.c: Regenerated.
+ generated/pow_i8_i4.c: Regenerated.
+ generated/pow_i8_i8.c: Regenerated.
+ generated/pow_r4_i4.c: Regenerated.
+ generated/pow_r4_i8.c: Regenerated.
+ generated/pow_r8_i4.c: Regenerated.
+ generated/pow_r8_i8.c: Regenerated.
+ generated/product_c4.c: Regenerated.
+ generated/product_c8.c: Regenerated.
+ generated/product_i4.c: Regenerated.
+ generated/product_i8.c: Regenerated.
+ generated/product_r4.c: Regenerated.
+ generated/product_r8.c: Regenerated.
+ generated/reshape_i4.c: Regenerated.
+ generated/reshape_i8.c: Regenerated.
+ generated/set_exponent_r4.c: Regenerated.
+ generated/set_exponent_r8.c: Regenerated.
+ generated/shape_i4.c: Regenerated.
+ generated/shape_i8.c: Regenerated.
+ generated/sum_c4.c: Regenerated.
+ generated/sum_c8.c: Regenerated.
+ generated/sum_i4.c: Regenerated.
+ generated/sum_i8.c: Regenerated.
+ generated/sum_r4.c: Regenerated.
+ generated/sum_r8.c: Regenerated.
+ generated/transpose_i4.c: Regenerated.
+ generated/transpose_i8.c: Regenerated.
+ generated/trig_c4.c: Regenerated.
+ generated/trig_c8.c: Regenerated.
+
+2005-01-07 Bud Davis <bdavis9659@comcast.net>
+
+ PR fortran/18398
+ * transfer.c (next_record_r): always skip the
+ eol search if it was found during sf_read.
+
+
+Copyright (C) 2005 Free Software Foundation, Inc.
+
+Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved.
diff --git a/gcc-4.7/libgfortran/ChangeLog-2006 b/gcc-4.7/libgfortran/ChangeLog-2006
new file mode 100644
index 000000000..5c8dfef25
--- /dev/null
+++ b/gcc-4.7/libgfortran/ChangeLog-2006
@@ -0,0 +1,1641 @@
+2006-12-30 Thomas Koenig <Thomas.Koenig@online.de>
+
+ PR libfortran/30321
+ * m4/ifunction.m4 (name`'rtype_qual`_'atype_code):
+ Check for extents < 0 for zero-sized arrays. If
+ no retarray has been specified and the size is zero,
+ return early.
+ (`m'name`'rtype_qual`_'atype_code): Likewise.
+ * generated/all_l16.c: Regenerated.
+ * generated/all_l4.c: Regenerated.
+ * generated/all_l8.c: Regenerated.
+ * generated/any_l16.c: Regenerated.
+ * generated/any_l4.c: Regenerated.
+ * generated/any_l8.c: Regenerated.
+ * generated/count_16_l16.c: Regenerated.
+ * generated/count_16_l4.c: Regenerated.
+ * generated/count_16_l8.c: Regenerated.
+ * generated/count_4_l16.c: Regenerated.
+ * generated/count_4_l4.c: Regenerated.
+ * generated/count_4_l8.c: Regenerated.
+ * generated/count_8_l16.c: Regenerated.
+ * generated/count_8_l4.c: Regenerated.
+ * generated/count_8_l8.c: Regenerated.
+ * generated/cshift1_16.c: Regenerated.
+ * generated/cshift1_4.c: Regenerated.
+ * generated/cshift1_8.c: Regenerated.
+ * generated/maxloc1_16_i16.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_i16.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_i16.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_i16.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_i16.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_i16.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_i16.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_i16.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_i16.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_i16.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.
+
+2006-12-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/30014
+ *io/io.h (st_parameter_dt): Change *size and *iolength type to
+ GFC_IO_INT.
+ *io/transfer.c (finalize_transfer): Cast dtp->u.p.size_used to
+ GFC_IO_INT. (iolength_transfer): Cast size * nelems to GFC_IO_INT.
+
+2006-12-17 Tobias Burnus <burnus@net-b.de>
+
+ * intrinsics/associated.c: Check for associated(NULL,NULL).
+
+2006-12-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/30145
+ * io/transfer.c (transfer_array): Check for negative extent.
+
+2006-12-13 Richard Guenther <rguenther@suse.de>
+
+ PR fortran/30115
+ * runtime/memory.c (allocate_size): Change interface to
+ void *()(size_t, GFC_INTEGER_4 *).
+ (allocate): Likewise.
+ (allocate64): Likewise.
+ (allocate_array): Change interface to
+ void *()(void *, size_t, GFC_INTEGER_4 *).
+ (allocate64_array): Likewise.
+ (deallocate): Change interface to
+ void ()(void *, GFC_INTEGER_4 *).
+
+2006-12-06 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/29810
+ * intrinsics/c99_functions.c (fmodf, fmodl, floorl): New functions.
+ * c99_protos.h (fmodf, fmodl, floorl): New prototypes.
+ * configure.ac: Check for fmodf, fmod and fmodl.
+ * configure: Regenerate.
+ * config.h.in: Regenerate.
+
+2006-12-06 Thomas Koenig <Thomas.Koenig@online.de>
+
+ PR libfortran/30009
+ PR libfortran/30056
+ * libgfortran.h: Add ERROR_CORRUPT_FILE to error_codes.
+ * runtime/error.c (translate_error): Add handling for
+ ERROR_CORRUPT_FILE.
+ * io/transfer.c (read_block_direct): Add comment about
+ EOR for stream files.
+ Remove test for no bytes left for direct access files.
+ Generate an ERROR_SHORT_RECORD if the read was short.
+ For unformatted sequential files: Check endfile condition.
+ Remove test for no bytes left. End of file here means
+ that the file structure has been corrupted. Pre-position
+ the file for the next record in case of error.
+ (write_buf): Whitespace fix. Subtract the number of bytes
+ written from bytes_left.
+
+2006-12-04 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/30005
+ * io/open.c: Add errno.h include.
+ (new_unit): Add new error messages with file name for file open.
+
+2006-12-01 Thomas Koenig <Thomas.Koenig@online.de>
+
+ PR libfortran/29568
+ * libgfortran/libgfortran.h (compile_options_t): Add
+ record_marker. (top level): Define GFC_MAX_SUBRECORD_LENGTH.
+ * runtime/compile_options.c (set_record_marker): Change
+ default to four-byte record marker.
+ (set_max_subrecord_length): New function.
+ * runtime/error.c (translate_error): Change error message
+ for short record on unformatted read.
+ * io/io.h (gfc_unit): Add recl_subrecord, bytes_left_subrecord
+ and continued.
+ * io/file_pos.c (unformatted_backspace): Change default of record
+ marker size to four bytes. Loop over subrecords.
+ * io/open.c: Default recl is max_offset. If
+ compile_options.max_subrecord_length has been set, set set
+ u->recl_subrecord to its value, to the maximum value otherwise.
+ * io/transfer.c (top level): Add prototypes for us_read, us_write,
+ next_record_r_unf and next_record_w_unf.
+ (read_block_direct): Separate codepaths for unformatted direct
+ and unformatted sequential. If a recl has been set by the
+ user, use the number of bytes left for the record if it is smaller
+ than the read request. Loop over subrecords. Set an error if the
+ user has set a recl and the read was short.
+ (write_buf): Separate codepaths for unformatted direct and
+ unformatted sequential. If a recl has been set by the
+ user, use the number of bytes left for the record if it is smaller
+ than the read request. Loop over subrecords. Set an error if the
+ user has set a recl and the read was short.
+ (us_read): Add parameter continued (to indicate that bytes_left
+ should not be intialized). Change default of record marker size
+ to four bytes. Use subrecord. If the subrecord length is smaller than
+ zero, this indicates a continuation.
+ (us_write): Add parameter continued (to indicate that the continued
+ flag should be set). Use subrecord.
+ (pre_position): Use 0 for continued on us_write and us_read calls.
+ (skip_record): New function.
+ (next_record_r_unf): New function.
+ (next_record_r): Use next_record_r_unf.
+ (write_us_marker): Default size for record markers is four bytes.
+ (next_record_w_unf): New function.
+ (next_record_w): Use next_record_w_unf.
+
+2006-11-25 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * Makefile.am: Remove intrinsics/erf.c and intrinsics/bessel.c.
+ * Makefile.in: Regenerate.
+ * intrinsics/erf.c: Remove.
+ * intrinsics/bessel.c: Remove.
+ * c99_protos.h: Add prototypes for bessel and error functions.
+ * intrinsics/c99_functions.c: Move content for intrinsics/erf.c
+ and intrinsics/bessel.c here.
+
+2006-11-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ * io/io.h (unit_flags): Add new flag has_recl.
+ * io.open.c (new_unit): Set flag if RECL= was specified.
+ * io/transfer.c (us_write): If flag set, leave recl as initialized by
+ new_unit.
+
+2006-11-16 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * io/open.c (new_unit): Format %d expects an int variable.
+ * runtime/error.c (show_locus): Format %d expects an int variable.
+
+2006-11-08 Steven G. Kargl <kargl@gcc.gnu.org>
+
+ * io/read.c (max_value): Hide "int n" in an #ifdef.
+
+2006-11-08 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/29752
+ * io/transfer.c (finalize_transfer): Flush on ADVANCE_NO.
+
+2006-11-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ * io/transfer.c (next_record_w): Fix indentation.
+
+2006-11-04 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/25545
+ * io/transfer.c (write_block): Cleanup code paths between
+ stream and non-stream I/O.
+ (write_buf): Cleanup.
+ (read_block): Cleanup.
+ (finalize_transfer): Call next_record for '$' edit descriptor handling
+ of internal unit. Cleanup code for readability.
+
+2006-11-03 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/27895
+ * intrinsics/reshape_generic.c (reshape_internal): Fix so that it
+ works correctly for zero-sized arrays.
+ * m4/reshape.m4: Likewise.
+ * generated/reshape_r16.c: Regenerate.
+ * generated/reshape_c4.c: Regenerate.
+ * generated/reshape_i4.c: Regenerate.
+ * generated/reshape_c16.c: Regenerate.
+ * generated/reshape_r10.c: Regenerate.
+ * generated/reshape_r8.c: Regenerate.
+ * generated/reshape_c10.c: Regenerate.
+ * generated/reshape_c8.c: Regenerate.
+ * generated/reshape_i8.c: Regenerate.
+ * generated/reshape_i16.c: Regenerate.
+ * generated/reshape_r4.c: Regenerate.
+
+2006-10-31 Thomas Koenig <Thomas.Koenig@online.de>
+
+ PR libfortran/29627
+ * libgfortran.h: Add ERROR_SHORT_RECORD
+ * runtime/error.c (translate_error): Add case
+ for ERROR_SHORT_RECORD.
+ * io/transfer.c (read_block_direct): Separate codepaths
+ for stream and record unformatted I/O. Remove unneeded
+ tests for standard input, padding and formatted I/O.
+ If the record is short, read in as much data as possible,
+ then raise the error.
+
+2006-10-30 Tobias Burnus <burnus@net-b.de>
+
+ PR fortran/29452
+ * runtime/string.c (compare0): Check whether string lengths match.
+
+2006-10-29 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * configure: Regenerate.
+ * Makefile.in: Regenerate.
+ * aclocal.m4: Regenerate.
+
+2006-10-28 Tobias Burnus <burnus@net-b.de>
+
+ PR fortran/29625
+ * io/transfer.c (formatted_transfer_scalar): Allow binary edit
+ descriptors for real variables; give error for BOZ edit
+ descriptor for non-integers when using -std=f*.
+
+2006-10-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/29563
+ * io/list_read.c (next_char): Fix an error in previous commit.
+
+2006-10-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/29563
+ * io/io.h (st_parameter_dt): Add new flag at_eof.
+ * io/list_read.c (next_char): Set flag when EOF and return '\n' to
+ signal EOR. Check flag on next call and jump out.
+ * io/unit.c (get_internal_unit): Initialize new flag.
+
+2006-10-22 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR fortran/26025
+ * m4/matmul.m4: Add possible call to gemm routine.
+ * generated/matmul_r8.c: Regenerate.
+ * generated/matmul_r16.c: Regenerate.
+ * generated/matmul_c8.c: Regenerate.
+ * generated/matmul_i8.c: Regenerate.
+ * generated/matmul_c16.c: Regenerate.
+ * generated/matmul_r10.c: Regenerate.
+ * generated/matmul_r4.c: Regenerate.
+ * generated/matmul_c10.c: Regenerate.
+ * generated/matmul_c4.c: Regenerate.
+ * generated/matmul_i4.c: Regenerate.
+ * generated/matmul_i16.c: Regenerate.
+
+2006-10-21 Steven G. Kargl <kargl@gcc.gnu.org>
+
+ * runtime/error.c: Add errno.h
+ (generate_error): Set iostat to errno on OS error.
+ * libgfortran.h: Set ERROR_OS to 5000
+
+2006-10-20 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * generated/minval_r8.c: Regenerate.
+ * generated/maxloc1_4_r8.c: Regenerate.
+ * generated/minloc1_16_r16.c: Regenerate.
+ * generated/sum_i8.c: Regenerate.
+ * generated/eoshift3_4.c: Regenerate.
+ * generated/any_l16.c: Regenerate.
+ * generated/eoshift1_8.c: Regenerate.
+ * generated/reshape_r16.c: Regenerate.
+ * generated/product_r4.c: Regenerate.
+ * generated/maxloc1_8_i4.c: Regenerate.
+ * generated/maxloc0_4_r4.c: Regenerate.
+ * generated/in_unpack_i8.c: Regenerate.
+ * generated/minloc0_4_r16.c: Regenerate.
+ * generated/reshape_c4.c: Regenerate.
+ * generated/maxloc0_4_r16.c: Regenerate.
+ * generated/minloc1_8_r16.c: Regenerate.
+ * generated/maxloc1_8_r16.c: Regenerate.
+ * generated/in_unpack_i16.c: Regenerate.
+ * generated/maxloc0_8_i8.c: Regenerate.
+ * generated/sum_r16.c: Regenerate.
+ * generated/minloc1_4_r8.c: Regenerate.
+ * generated/maxloc1_16_r16.c: Regenerate.
+ * generated/minloc1_16_i4.c: Regenerate.
+ * generated/maxloc1_16_i4.c: Regenerate.
+ * generated/minloc0_16_i8.c: Regenerate.
+ * generated/maxloc0_16_i8.c: Regenerate.
+ * generated/maxval_r16.c: Regenerate.
+ * generated/count_16_l16.c: Regenerate.
+ * generated/count_8_l8.c: Regenerate.
+ * generated/product_c10.c: Regenerate.
+ * generated/minloc1_8_i4.c: Regenerate.
+ * generated/minloc0_16_i16.c: Regenerate.
+ * generated/eoshift1_16.c: Regenerate.
+ * generated/minloc0_4_r4.c: Regenerate.
+ * generated/product_c4.c: Regenerate.
+ * generated/sum_r4.c: Regenerate.
+ * generated/in_pack_c16.c: Regenerate.
+ * generated/reshape_i4.c: Regenerate.
+ * generated/minloc0_8_i8.c: Regenerate.
+ * generated/minloc1_16_r10.c: Regenerate.
+ * generated/in_pack_c4.c: Regenerate.
+ * generated/all_l16.c: Regenerate.
+ * generated/reshape_c16.c: Regenerate.
+ * generated/maxloc1_8_r8.c: Regenerate.
+ * generated/minval_i16.c: Regenerate.
+ * generated/reshape_r10.c: Regenerate.
+ * generated/maxval_i4.c: Regenerate.
+ * generated/any_l4.c: Regenerate.
+ * generated/minval_i8.c: Regenerate.
+ * generated/maxloc1_4_i8.c: Regenerate.
+ * generated/maxloc0_16_i16.c: Regenerate.
+ * generated/maxloc0_8_r4.c: Regenerate.
+ * generated/minloc1_4_i16.c: Regenerate.
+ * generated/minloc0_4_r10.c: Regenerate.
+ * generated/maxloc1_4_i16.c: Regenerate.
+ * generated/minloc0_8_i16.c: Regenerate.
+ * generated/maxloc0_4_r10.c: Regenerate.
+ * generated/maxloc0_8_i16.c: Regenerate.
+ * generated/minloc1_8_r10.c: Regenerate.
+ * generated/product_i4.c: Regenerate.
+ * generated/minloc0_16_r4.c: Regenerate.
+ * generated/sum_c16.c: Regenerate.
+ * generated/maxloc1_8_r10.c: Regenerate.
+ * generated/maxloc0_16_r4.c: Regenerate.
+ * generated/minloc1_16_r8.c: Regenerate.
+ * generated/maxloc0_4_i4.c: Regenerate.
+ * generated/maxloc1_16_r8.c: Regenerate.
+ * generated/cshift1_4.c: Regenerate.
+ * generated/sum_r10.c: Regenerate.
+ * generated/sum_c4.c: Regenerate.
+ * generated/maxloc1_16_r10.c: Regenerate.
+ * generated/count_4_l16.c: Regenerate.
+ * generated/in_pack_i4.c: Regenerate.
+ * generated/minloc1_8_r8.c: Regenerate.
+ * generated/count_4_l4.c: Regenerate.
+ * generated/maxval_r10.c: Regenerate.
+ * generated/minloc1_4_i8.c: Regenerate.
+ * generated/in_unpack_c4.c: Regenerate.
+ * generated/minloc0_8_r4.c: Regenerate.
+ * generated/product_i16.c: Regenerate.
+ * generated/minloc0_16_r16.c: Regenerate.
+ * generated/reshape_r8.c: Regenerate.
+ * generated/all_l4.c: Regenerate.
+ * generated/in_pack_c10.c: Regenerate.
+ * generated/minloc0_4_i4.c: Regenerate.
+ * generated/reshape_c10.c: Regenerate.
+ * generated/minval_r4.c: Regenerate.
+ * generated/maxloc1_4_r4.c: Regenerate.
+ * generated/sum_i4.c: Regenerate.
+ * generated/count_16_l8.c: Regenerate.
+ * generated/maxval_r8.c: Regenerate.
+ * generated/eoshift1_4.c: Regenerate.
+ * generated/eoshift3_8.c: Regenerate.
+ * generated/minval_r16.c: Regenerate.
+ * generated/product_r8.c: Regenerate.
+ * generated/maxloc1_8_i8.c: Regenerate.
+ * generated/maxloc0_4_r8.c: Regenerate.
+ * generated/maxloc0_16_r16.c: Regenerate.
+ * generated/in_unpack_i4.c: Regenerate.
+ * generated/sum_c10.c: Regenerate.
+ * generated/minloc1_4_r16.c: Regenerate.
+ * generated/maxloc1_4_r16.c: Regenerate.
+ * generated/in_unpack_c16.c: Regenerate.
+ * generated/minloc0_8_r16.c: Regenerate.
+ * generated/reshape_c8.c: Regenerate.
+ * generated/maxloc0_8_r16.c: Regenerate.
+ * generated/maxloc0_8_i4.c: Regenerate.
+ * generated/minloc1_4_r4.c: Regenerate.
+ * generated/minloc0_16_i4.c: Regenerate.
+ * generated/maxloc0_16_i4.c: Regenerate.
+ * generated/minloc1_16_i8.c: Regenerate.
+ * generated/maxloc1_16_i8.c: Regenerate.
+ * generated/count_8_l4.c: Regenerate.
+ * generated/minloc0_16_r10.c: Regenerate.
+ * generated/minloc1_8_i8.c: Regenerate.
+ * generated/minloc0_4_r8.c: Regenerate.
+ * generated/product_r16.c: Regenerate.
+ * generated/product_c8.c: Regenerate.
+ * generated/sum_r8.c: Regenerate.
+ * generated/in_pack_i16.c: Regenerate.
+ * generated/minloc0_8_i4.c: Regenerate.
+ * generated/minloc1_16_i16.c: Regenerate.
+ * generated/reshape_i8.c: Regenerate.
+ * generated/in_pack_c8.c: Regenerate.
+ * generated/maxloc1_8_r4.c: Regenerate.
+ * generated/reshape_i16.c: Regenerate.
+ * generated/minval_r10.c: Regenerate.
+ * generated/minval_i4.c: Regenerate.
+ * generated/maxloc1_4_i4.c: Regenerate.
+ * generated/maxval_i8.c: Regenerate.
+ * generated/eoshift3_16.c: Regenerate.
+ * generated/any_l8.c: Regenerate.
+ * generated/maxloc0_16_r10.c: Regenerate.
+ * generated/minloc0_4_i16.c: Regenerate.
+ * generated/maxloc0_8_r8.c: Regenerate.
+ * generated/maxloc0_4_i16.c: Regenerate.
+ * generated/minloc1_4_r10.c: Regenerate.
+ * generated/minloc1_8_i16.c: Regenerate.
+ * generated/maxloc1_4_r10.c: Regenerate.
+ * generated/minloc0_8_r10.c: Regenerate.
+ * generated/maxloc1_8_i16.c: Regenerate.
+ * generated/in_unpack_c10.c: Regenerate.
+ * generated/maxloc0_8_r10.c: Regenerate.
+ * generated/minloc1_16_r4.c: Regenerate.
+ * generated/maxloc1_16_r4.c: Regenerate.
+ * generated/minloc0_16_r8.c: Regenerate.
+ * generated/product_i8.c: Regenerate.
+ * generated/maxloc0_16_r8.c: Regenerate.
+ * generated/sum_i16.c: Regenerate.
+ * generated/maxloc0_4_i8.c: Regenerate.
+ * generated/cshift1_8.c: Regenerate.
+ * generated/maxloc1_16_i16.c: Regenerate.
+ * generated/minloc1_8_r4.c: Regenerate.
+ * generated/sum_c8.c: Regenerate.
+ * generated/count_8_l16.c: Regenerate.
+ * generated/in_pack_i8.c: Regenerate.
+ * generated/maxval_i16.c: Regenerate.
+ * generated/count_4_l8.c: Regenerate.
+ * generated/minloc1_4_i4.c: Regenerate.
+ * generated/product_c16.c: Regenerate.
+ * generated/reshape_r4.c: Regenerate.
+ * generated/minloc0_8_r8.c: Regenerate.
+ * generated/in_unpack_c8.c: Regenerate.
+ * generated/product_r10.c: Regenerate.
+ * generated/cshift1_16.c: Regenerate.
+ * generated/all_l8.c: Regenerate.
+ * generated/minloc0_4_i8.c: Regenerate.
+ * generated/maxval_r4.c: Regenerate.
+ * generated/count_16_l4.c: Regenerate.
+
+2006-10-19 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/27895
+ * intrinsics/cshift0.c: Special cases for zero-sized arrays.
+ * intrinsics/pack_generic.c: Likewise.
+ * intrinsics/spread_generic.c: Likewise.
+
+2006-10-18 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/29277
+ * io/write.c (write_a): Add conversion of LF to CR-LF for systems with
+ #define HAVE_CRLF.
+
+2006-10-18 Tobias Burnus <burnus@net-b.de>
+
+ * m4/in_pack.m4: Fixed a typo.
+ * m4/iforeach.m4: Fixed a typo.
+ * m4/eoshift1.m4: Fixed a typo.
+ * m4/eoshift3.m4: Fixed a typo.
+ * m4/cshift1.m4: Fixed a typo.
+ * m4/in_unpack.m4: Fixed a typo.
+ * m4/reshape.m4: Fixed a typo.
+ * m4/ifunction.m4: Fixed a typo.
+ * runtime/environ.c: Fixed a typo.
+ * runtime/in_pack_generic.c: Fixed a typo.
+ * runtime/in_unpack_generic.c: Fixed a typo.
+ * runtime/memory.c: Fixed a typo.
+ * intrinsics/cshift0.c: Fixed a typo.
+ * intrinsics/cpu_time.c: Fixed a typo.
+ * intrinsics/pack_generic.c: Fixed a typo.
+ * intrinsics/unpack_generic.c: Fixed a typo.
+ * intrinsics/eoshift0.c: Fixed a typo.
+ * intrinsics/eoshift2.c: Fixed a typo.
+ * intrinsics/reshape_generic.c: Fixed a typo.
+ * io/open.c: Fixed a typo.
+ * io/list_read.c: Fixed a typo.
+ * io/io.h: Fixed a typo.
+ * io/transfer.c: Fixed a typo.
+ * io/write.c: Fixed a typo.
+
+2006-10-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/29277
+ * io/list_read.c (next_char): Update strm_pos.
+ (eat_separator): Delete extra call to unget_char.
+ * io/transfer.c (read_block): Use read_sf for formatted stream I/O.
+ (next_record_r): Update strm_pos for formatted stream I/O and handle
+ end-of-record correctly.
+ (next_record_w): Ditto.
+ (next_record): Enable next record (r/w) functions and update strm_pos.
+ (finalize_transfer): Call next_record to finish the record.
+
+2006-10-13 Steven G. Kargl <kargl@gcc.gnu.org>
+
+ * m4/spacing.m4: Use scalbn[f,l] if ldexp[f,l] is unavailable.
+ * m4/rrspacing.m4: Ditto.
+ * generated/spacing_r4.c: Regenerated.
+ * generated/spacing_r8.c: Ditto.
+ * generated/spacing_r10.c: Ditto.
+ * generated/spacing_r16.c: Ditto.
+ * generated/rrspacing_r4.c: Ditto.
+ * generated/rrspacing_r8.c: Ditto.
+ * generated/rrspacing_r10.c: Ditto.
+ * generated/rrspacing_r16.c: Ditto.
+
+2006-10-06 Steven G. Kargl <kargl@gcc.gnu.org>
+
+ PR fortran/15441
+ PR fortran/29312
+ * configure.ac: Add HAVE_LDEXPF, HAVE_LDEXP, and HAVE_LDEXPL
+ * m4/spacing.m4: New file. Use new HAVE_* defines.
+ * m4/rrspacing.m4: Ditto.
+ * Makefile.am: Handle new files.
+ * configure: Regenerated.
+ * Makefile.in: Ditto.
+ * config.h.in: Ditto.
+ * generated/spacing_r4.c: Generated.
+ * generated/spacing_r8.c: Ditto.
+ * generated/spacing_r10.c: Ditto.
+ * generated/spacing_r16.c: Ditto.
+ * generated/rrspacing_r4.c: Ditto.
+ * generated/rrspacing_r8.c: Ditto.
+ * generated/rrspacing_r10.c: Ditto.
+ * generated/rrspacing_r16.c: Ditto.
+
+2006-10-08 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * intrinsics/hyper.c: Remove file.
+ * intrinsics/c99_functions.c: Add fallback functions asinhf,
+ acoshf and atanhf.
+ * Makefile.am: Remove file intrinsics/hyper.c.
+ * Makefile.in: Regenerate.
+
+2006-10-08 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * c99_protos.h: Correctly protect definitions of prototypes for
+ asinhf, acoshf and atanhf to be the same as in intrinsics/hyper.c.
+
+2006-10-08 Paul Thomas <pault@gcc.gnu.org>
+ Erik Edelmann <edelmann@gcc.gnu.org>
+
+ PR libfortran/20541
+ * Makefile.in : Add move_alloc.
+ * intrinsics/move_alloc.c: New function.
+ * Makefile.am : Add move_alloc.
+
+2006-10-08 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/26540
+ * intrinsics/signal.c (signal_sub, signal_sub_int): Use intptr_t
+ if available to cast function pointers to int and back.
+ * configure.ac: Check for intptr_t.
+ * config.h.in: Regenerate.
+ * configure: Regenerate.
+
+2006-10-01 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR fortran/16580
+ PR fortran/29288
+ * libgfortran/Makefile.am: Add the new files to the build
+ process, and rules to build them.
+ * libgfortran/Makefile.in: Regenerate.
+ * libgfortran/m4/misc_specifics.m4: New file.
+ * libgfortran/m4/specific.m4: Add new special cases for function
+ with complex argument and real result, like abs_c* and aimag_c*.
+ * libgfortran/intrinsics/f2c_specifics.F90: Add specifics for
+ AIMAG, ASINH, ACOSH and ATANH.
+ * libgfortran/generated/_aimag_c4.F90: New file.
+ * libgfortran/generated/_aimag_c8.F90: New file.
+ * libgfortran/generated/_asinh_r10.F90: New file.
+ * libgfortran/generated/_acosh_r16.F90: New file.
+ * libgfortran/generated/_aimag_c10.F90: New file.
+ * libgfortran/generated/_atanh_r16.F90: New file.
+ * libgfortran/generated/_acosh_r4.F90: New file.
+ * libgfortran/generated/_acosh_r8.F90: New file.
+ * libgfortran/generated/_asinh_r4.F90: New file.
+ * libgfortran/generated/_asinh_r8.F90: New file.
+ * libgfortran/generated/_asinh_r16.F90: New file.
+ * libgfortran/generated/_atanh_r4.F90: New file.
+ * libgfortran/generated/_atanh_r8.F90: New file.
+ * libgfortran/generated/_acosh_r10.F90: New file.
+ * libgfortran/generated/misc_specifics.F90: New file.
+ * libgfortran/generated/_aimag_c16.F90: New file.
+ * libgfortran/generated/_atanh_r10.F90: New file.
+
+2006-10-05 Danny Smith <dannysmith@users.sourceforge.net>
+
+ * acinclude.m4 (HAVE_ATTRIBUTE_ALIAS): Remove __USER_LABEL_PREFIX__
+ from test.
+ * configure: Regenerate.
+
+2006-10-05 Steven G. Kargl <kargl@gcc.gnu.org>
+
+ * Makefile.am: Use $(M4) instead of m4.
+ * Makefile.in: Regenerated.
+
+2006-10-01 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * libgfortran.h: Add prototype for internal_unpack_c16.
+
+2006-09-29 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/18791
+ * m4/specific.m4: Special-case cabs so that its return type is
+ real. Special-case conjg so that their suffices are _4, _8, _10 and
+ _16 instead of _c4, _c8, _c10 and _c16.
+ * intrinsics/f2c_specifics.F90: Special-case conjg functions so
+ that their suffices are _4 and _8 instead of _c4 and _c8.
+ * generated/_conjg_c4.F90: Regenerate.
+ * generated/_conjg_c8.F90: Regenerate.
+ * generated/_conjg_c10.F90: Regenerate.
+ * generated/_conjg_c16.F90: Regenerate.
+ * generated/_abs_c4.F90: Regenerate.
+ * generated/_abs_c8.F90: Regenerate.
+ * generated/_abs_c10.F90: Regenerate.
+ * generated/_abs_c16.F90: Regenerate.
+
+2006-09-29 Steven G. Kargl <kargl@gcc.gnu.org>
+
+ * intrinsics/cpu_time.c: Add cpu_time_10 and cpu_time_16 routines.
+
+2006-09-28 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+D
+ * Makefile.am: Install libgfortranbegin inside compiler libraries
+ directory instead of system libraries directory.
+ * Makefile.in: Regenerate.
+
+2006-09-24 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * Makefile.am: Remove dependency on gfortypes.h.
+ * Makefile.in: Regenerate.
+
+2006-09-22 Danny Smith <dannysmith@users.sourceforge.net>
+
+ PR libfortran/27964
+ * configure.ac: Check for setmode() function.
+ * configure: Regenerate.
+ * config.h.in: Regenerate.
+ * io/unix.c (output_stream): Force stdout to binary mode.
+ (error_stream): Force stderr to binary mode.
+
+2006-09-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/29099
+ * intrinsics/date_and_time.c (secnds): Fix case of zero time.
+
+2006-09-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/29053
+ * io.h (gfc_unit): Add variable, strm_pos, to track
+ STREAM I/O file position.
+ * file_pos.c (st_rewind): Set strm_pos to beginning.
+ * open.c (new_unit): Initialize strm_pos.
+ * read.c (read_x): Bump strm_pos.
+ * inquire.c (inquire_via_unit): Return strm_pos value.
+ * transfer.c (read_block),(read_block_direct),(write_block)
+ (write_buf): Seek to strm_pos - 1. Update strm_pos when done.
+ (pre_position): Initialize strm_pos.
+ (data_transfer_init): Set strm_pos if DT_HAS_REC.
+ (finalize_transfer): Flush file, no need to update strm_pos.
+
+2006-09-10 Paul Thomas <pault@gcc.gnu.org>
+
+ PR libfortran/28947
+ * m4/matmul.m4: For the case where the second input argument is
+ transposed, ensure that the case with rank (a) == 1 is
+ correctly calculated.
+ * generated/matmul_r4.c: Regenerate.
+ * generated/matmul_r8.c: Regenerate.
+ * generated/matmul_r10.c: Regenerate.
+ * generated/matmul_r16.c: Regenerate.
+ * generated/matmul_c4.c: Regenerate.
+ * generated/matmul_c8.c: Regenerate.
+ * generated/matmul_c10.c: Regenerate.
+ * generated/matmul_c16.c: Regenerate.
+ * generated/matmul_i4.c: Regenerate.
+ * generated/matmul_i8.c: Regenerate.
+ * generated/matmul_i16.c: Regenerate.
+
+2006-08-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/28354
+ * io/write.c: Check for special case of zero precision in format
+ and pre-round the real value.
+
+2006-08-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/25828
+ * libgfortran.h: Rename GFC_LARGE_IO_INT to GFC_IO_INT.
+ * io/file_pos.c (st_backspace): Ignore if access=STREAM.
+ (st_rewind): Handle case of access=STREAM.
+ * io/open.c (access_opt): Add STREAM_ACCESS.
+ (edit_modes): Set current_record to zero only if not STREAM.
+ (new_unit): Initialize maxrec, recl, and last_record for STREAM.
+ * io/read.c (read_x): Advance file position for STREAM.
+ * io/io.h (enum unit_access): Align IOPARM flags with frontend.
+ Add ACCESS_STREAM. Add prototype for is_stream_io () function.
+ Use GFC_IO_INT.
+ * io/inquire.c (inquire_via_unit): Add text for access = "STREAM".
+ * io/unit.c (is_stream_io): New function to return true if access =
+ STREAM.
+ * io/transfer.c (file_mode): Add modes for unformatted stream and
+ formatted stream. (current_mode): Return appropriate file mode based
+ on access flags.
+ (read_block): Handle formatted stream reads.
+ (read_block_direct): Handle unformatted stream reads.
+ (write_block): Handle formatted stream writes.
+ (write_buf): Handle unformatted stream writes.
+ (unformatted_read): Fix up, use temporary for size.
+ (pre_position): Position file for STREAM access.
+ (data_transfer_init): Initialize for stream access, skip irrelevent
+ error checks.
+ (next_record_r),(next_record_w), and (next_record): Do nothing for
+ stream I/O.
+ (finalize_transfer): Flush when all done if stream I/O.
+
+2006-08-12 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * intrinsics/bessel.c: Add prototypes for all functions.
+
+2006-08-05 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * intrinsics/access.c (access_func): Remove export directive.
+
+2006-08-02 Thomas Koenig <Thomas.Koenig@online.de>
+
+ * Makefile.in: Regenerate using automake 1.9.6.
+ * aclocal.m4: Revert to previous version.
+
+2006-08-01 Thomas Koenig <Thomas.Koenig@online.de>
+
+ PR libfortran/28452
+ * Makefile.am: Remove normalize.c.
+ * aclocal.m4: Regenerate using aclocal 1.9.3.
+ * Makefile.in: Regenerate using automake 1.9.3.
+ * libgfortran.h: #include <float.h>.
+ Define GFC_REAL_*_DIGITS and GFC_REAL_*_RADIX.
+ Remove prototypes for normalize_r4_i4 and normalize_r8_i8.
+ * intrinsics/random.c (top level): Add prototypes for
+ random_r10, arandom_r10, random_r16 and arandom_r16.
+ (rnumber_4): New static function.
+ (rnumber_8): New static function.
+ (rnumber_10): New static function.
+ (rnumber_16): New static function.
+ (top level): Set to kiss_size to 12 if we have
+ REAL(KIND=16), to 8 otherwise.
+ Define KISS_DEFAULT_SEED_1, KISS_DEFAULT_SEED_2 and
+ KISS_DEFAULT_SEED_3.
+ (kiss_random_kernel): Take argument to differentiate
+ between different random number generators.
+ (random_r4): Add argument to call to kiss_random_kernel,
+ use rnumber_*.
+ (random_r8): Likewise.
+ (random_r10): New function.
+ (random_r16): New function.
+ (arandom_r4): Add argument to call to kiss_random_kernel,
+ use_rnumber_*.
+ (arandom_r8): Likewise.
+ (arandom_r10): New function.
+ (arandom_r16): New function.
+ * intrinsics/rand.c (rand): Use shift and mask.
+ * runtime/normalize.c: Remove.
+
+2006-07-30 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/28335
+ * file_position.c (st_flush): Add clearer error when UNIT does not
+ exist. Add reference to standard in comment.
+
+2006-07-30 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/28335
+ * close.c (st_close): Revert previous patch and add comment.
+ * file_position.c (st_flush): Revert previous patch and add comment.
+
+2006-07-30 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * intrinsics/date_and_time.c: Add functions for GMTIME and LTIME.
+ * intrinsics/access.c: New file.
+ * intrinsics/chmod.c: New file.
+ * configure.ac: Add checks for <sys/wait.h>, access, fork,execl
+ and wait.
+ * Makefile.am: Add new files intrinsics/access.c and
+ intrinsics/chmod.c.
+ * configure: Regenerate.
+ * config.h.in: Regenerate.
+ * Makefile.in: Regenerate.
+
+2006-07-30 Janne Blomqvist <jb@gcc.gnu.org>
+
+ * io/transfer.c (transfer_array): Remove stride0 fix.
+
+2006-07-26 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * configure.ac: Check for function clock.
+ * Makefile.am: Compile new file intrinsics/clock.c.
+ * intrinsics/clock.c: New file.
+ * Makefile.in: Regenerate.
+ * configure: Regenerate.
+ * config.h.in: Regenerate.
+ * intrinsics/stat.c: Rename the old stat_i?_sub functions to
+ helper functions stat_i?_sub_0, and use them for both STAT and
+ LSTAT.
+
+2006-07-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/28335
+ * close.c (st_close): Add error when UNIT does not exist.
+ * file_position.c (st_flush): Add error when UNIT does not exist.
+
+2006-07-25 Paolo Bonzini <bonzini@gnu.org>
+
+ PR build/26188
+ * configure: Regenerate.
+
+2006-07-23 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/25289
+ * libgfortran.h: Add conditional definition of GFC_LARGE_IO_INT type.
+ * io/io.h (st_parameter_dt): Define rec as type GFC_LARGE_IO_INT.
+
+2006-07-21 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/28339
+ * io/transfer.c (next_record_w): Use next_array_record result to set
+ END_FILE. (write_block): Test for END_FILE before the next write occurs.
+ * io/unit.c (get_internal_unit): Initialize iunit->endfile for internal
+ unit.
+
+2006-07-19 Janne Blomqvist <jb@gcc.gnu.org>
+
+ PR fortran/27919
+ * m4/dotprodc.m4: Remove.
+ * m4/dotprodl.m4: Remove.
+ * m4/dotprod.m4: Remove.
+ * generated/dotprod_*.c: Remove.
+ * Makefile.am: Remove any references to dot_product
+ implementation.
+ * Makefile.in: Regenerated.
+
+2006-07-18 Paolo Bonzini <bonzini@gnu.org>
+
+ * configure: Regenerate.
+
+2006-07-15 Steven G. Kargl <kargls@comcast.net>
+
+ * intrinsics/etime.c: Remove etime_
+ * libtool-version: Bump from libgfortran.so.1 to libgfortran.so.2
+
+2006-07-12 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR fortran/28163
+ * intrinsics/string_intrinsics.c (copy_string): Remove function.
+
+2006-07-04 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * intrinsics/date_and_time.c (itime0,idate0,itime_i4,itime_i8,
+ idate_i4,idate_i8): New functions.
+
+2006-07-03 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/27704
+ * runtime/error.c (notify_std): Pass common flags into function. Use
+ flags to show locus of error or warning.
+ * libgfortran.h: Add enum try. Add prototype for notify_std.
+ * io/open.c (edit_modes): Allow status="old" and add extension to
+ allow status="scratch"
+ *io/list_read.c (nml_read_obj): Update call to notify_std.
+ *io/io.h: Remove enum try and prototype for notify_std.
+ *io/transfer.c (read_sf): Update call to notify_std.
+ *io/format.c (parse_format_list): Update call to notify_std.
+
+2006-06-25 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * io/io.h: Move proto for unit_to_fd...
+ * libgfortran.h: ...here.
+
+2006-06-24 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * intrinsics/ierrno.c: Don't include "io/io.h".
+ * intrinsics/sleep.c: Likewise.
+ * intrinsics/perror.c: Likewise.
+ * intrinsics/stat.c: Likewise.
+ * intrinsics/kill.c: Likewise.
+ * intrinsics/time.c: Likewise.
+ * intrinsics/fnum.c: Likewise.
+ * intrinsics/rename.c: Likewise.
+ * intrinsics/symlnk.c: Likewise.
+ * intrinsics/chdir.c: Likewise.
+ * intrinsics/link.c: Likewise.
+ * intrinsics/random.c: Don't include "io/io.h". Include <gthr.h>.
+ * intrinsics/rand.c: Likewise.
+
+2006-06-24 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR fortran/28094
+ * Makefile.am: Add _mod_r10.F90 and _mod_r16.F90.
+ * Makefile.in: Regenerate.
+ * generated/_mod_r10.F90: New file.
+ * generated/_mod_r16.F90: New file.
+
+2006-06-22 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/26769
+ * Makefile.am: Add r4 and r8 versions of reshape and transpose.
+ * Makefile.in: Regenerate.
+ * generated/reshape_r4.c: New file.
+ * generated/reshape_r8.c: New file.
+ * generated/transpose_r4.c: New file.
+ * generated/transpose_r8.c: New file.
+
+2006-06-20 Paul Thomas <pault@gcc.gnu.org>
+
+ PR libfortran/28005
+ * m4/matmul.m4: aystride = 1 does not uniquely detect the
+ presence of a temporary transpose; an array element in the
+ first dimension produces the same signature. Detect this
+ using the rank of a and add specific code.
+ * generated/matmul_r4.c: Regenerate.
+ * generated/matmul_r8.c: Regenerate.
+ * generated/matmul_r10.c: Regenerate.
+ * generated/matmul_r16.c: Regenerate.
+ * generated/matmul_c4.c: Regenerate.
+ * generated/matmul_c8.c: Regenerate.
+ * generated/matmul_c10.c: Regenerate.
+ * generated/matmul_c16.c: Regenerate.
+ * generated/matmul_i4.c: Regenerate.
+ * generated/matmul_i8.c: Regenerate.
+ * generated/matmul_i16.c: Regenerate.
+
+2006-06-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ PR libgomp/27254
+ * io/unit.c (get_internal_unit): Initialize and lock thread mutex
+ for internal units.
+
+2006-06-06 Janne Blomqvist <jb@gcc.gnu.org>
+
+ * m4/in_pack.m4: Add TODO comment about detecting temporaries,
+ remove test for stride 0, update copyright year.
+ * m4/transpose.m4: Remove test for stride 0, update copyright
+ year.
+ * m4/iforeach.m4: Likewise.
+ * m4/shape.m4: Likewise.
+ * m4/in_unpack.m4: Likewise.
+ * m4/reshape.m4: Likewise.
+ * m4/ifunction.m4: Likewise.
+ * m4/matmul.m4: Likewise.
+ * m4/matmull.m4: Likewise.
+ * intrinsics/etime.c: Likewise.
+ * intrinsics/transpose_generic.c: Likewise.
+ * intrinsics/spread_generic.c: Likewise.
+ * intrinsics/stat.c: Likewise.
+ * intrinsics/reshape_generic.c: Likewise.
+ * intrinsics/random.c: Likewise.
+ * generated/*: Regenerated from above changed m4 files.
+
+2006-05-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/27757
+ * io/unix.c (fd_seek): Set active to zero.
+
+2006-05-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/27634
+ * io/format.c (parse_format_list): Allow missing period in format only
+ if -std=legacy.
+
+2006-05-28 Thomas Koenig <Thomas.Koenig@online.de>
+
+ * intrinsics/string_intrinsics.c (compare_string):
+ Use memcmp instead of strncmp to avoid tripping over
+ CHAR(0) in a string.
+
+2006-05-27 Janne Blomqvist <jb@gcc.gnu.org>
+
+ * io/io.h (find_or_create_unit): Correct export declaration.
+
+2006-05-27 Janne Blomqvist <jb@gcc.gnu.org>
+
+ * intrinsics/abort.c (abort_): Remove.
+
+2006-05-26 Janne Blomqvist <jb@gcc.gnu.org>
+
+ * configure.ac: Remove AC_FUNC_MMAP.
+ * configure: Regenerated.
+ * Makefile.in: Regenerated.
+ * config.h.in: Regenerated.
+ * aclocal.m4: Regenerated.
+
+2006-05-25 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * intrinsics/associated.c (associated): Zero-sized arrays should
+ not be reported as ASSOCIATED.
+
+2006-05-24 Carlos O'Donell <carlos@codesourcery.com>
+
+ * Makefile.am: Add install-html target. Add install-html to .PHONY
+ * Makefile.in: Regenerate.
+ * aclocal.m4: Regenerate.
+
+2006-05-20 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/24459
+ * io/list_read.c (nml_parse_qualifier): Leave loop spec end value
+ at default value unless -std=f95 or if an array section
+ is specified in namelist input. Warn if -pedantic.
+ * io/io.h (st_parameter_dt): Add expanded_read flag.
+
+2006-05-19 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/22423
+ * io/transfer.c (read_block): Return NULL instead of nothing.
+
+2006-05-16 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/27575
+ * io/transfer.c (read_block): Add check for end file condition.
+ (read_block_direct): Add check for end file condition.
+
+2006-05-05 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/26985
+ * m4/matmul.m4: Correct the condition for the memset call,
+ and remove the unneeded call to size0.
+ * generated/matmul_r4.c: Regenerate.
+ * generated/matmul_r8.c: Regenerate.
+ * generated/matmul_r10.c: Regenerate.
+ * generated/matmul_r16.c: Regenerate.
+ * generated/matmul_c4.c: Regenerate.
+ * generated/matmul_c8.c: Regenerate.
+ * generated/matmul_c10.c: Regenerate.
+ * generated/matmul_c16.c: Regenerate.
+ * generated/matmul_i4.c: Regenerate.
+ * generated/matmul_i8.c: Regenerate.
+ * generated/matmul_i16.c: Regenerate.
+
+2006-04-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/27360
+ * io/list_read.c (read_logical): Free line_buffer and free saved.
+
+2006-04-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/27304
+ * io/transfer.c (formatted_transfer_scalar): Generate error if data
+ descriptors are exhausted.
+ * io/format.c (next_format0): Fix comment.
+
+2006-04-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/20257
+ * io/io.h: Add prototypes for get_internal_unit and free_internal_unit.
+ * io/unit.c (get_internal_unit): Initialize unit number, not zero.
+ (free_internal_unit): New function to consolidate freeing memory.
+ (get_unit): Initialize internal_unit_desc to NULL when unit is
+ external.
+ * io/unix.c (mem_close): Check for not NULL before freeing memory.
+ * io/transfer.c (read_block): Reset bytes_left and skip error if unit
+ is preconnected and default record length is reached.
+ (read_block_direct): Ditto.
+ (write_block): Ditto.
+ (write_buf): Ditto.
+ (data_transfer_init): Only flush if not internal unit.
+ (finalize_transfer): Ditto and delete code to free memory used by
+ internal units.
+ (st_read_done): Use new function - free_internal_unit.
+ (st_write_done): Use new function - free_internal unit.
+
+2006-04-22 Jakub Jelinek <jakub@redhat.com>
+
+ PR fortran/26769
+ * Makefile.am (i_transpose_c): Add generated/transpose_r16.c.
+ (i_reshape_c): Add generated/reshape_r16.c.
+ * Makefile.in: Regenerated.
+ * generated/transpose_r16.c: Generated new file.
+ * generated/redhape_r16.c: Generated new file.
+
+2006-04-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/27138
+ * io/list_read.c (eat_line): New function.
+ (parse_repeat): Use new function and free_saved.
+ (read_logical): Same.
+ (read_integer): Use new function.
+ (parse_real): Use nml_bad_return and new function.
+ (read_complex): Use new function and free_saved.
+ (read_real): Same.
+
+2006-04-12 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/26766
+ * io/io.h: Add bit to identify associated unit as internal.
+ * io/unit.c (get_external_unit): Renamed the find_unit_1 function to
+ reflect the external unit functionality vs internal unit.
+ (get_internal_unit): New function to allocate and initialize an internal
+ unit structure.
+ (get_unit): Use get_internal_unit and get_external_unit.
+ (is_internal_unit): Revised to use new bit added in io.h.
+ * io/transfer.c (data_transfer_init): Fix line width.
+ (st_read_done): Free memory allocated for internal unit.
+ (st_write_done): Add test to only flush and truncate when not an
+ internal unit. Free memory allocated for internal unit.
+
+2006-04-11 Jakub Jelinek <jakub@redhat.com>
+
+ * io/io.h (st_parameter_dt): Revert 2005-12-10 change to
+ u.pad, fix comment.
+ (check_st_parameter_dt): New compile time assert.
+
+2006-04-10 Jakub Jelinek <jakub@redhat.com>
+
+ PR libfortran/24685
+ * io/write.c (MIN_FIELD_WIDTH, STR, STR1): Define.
+ (output_float): Increase buffer sizes for IEEE quad and IBM extended
+ long double.
+ (write_real): Output REAL(16) as 1PG43.34E4 rather than 1PG40.31E4.
+
+2006-04-07 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/26890
+ * io/io.h: Revert change to pad size made on 2006-03-30.
+ Add comment explaining dependency with fortran/trans-io.c.
+
+2006-04-03 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ * io/write.c (output_float): Update condition to not error when
+ decimal precision in format specifier is zero.
+
+2006-04-01 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * config/fpu-387.h: Use previously added SSE code in all
+ cases, as it really is the right thing to do.
+
+2006-03-30 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/26890
+ * io/io.h: Add size_used to st_parameter_dt, adjust pad size.
+ *io/transfer.c (data_transfer_init): Initialize size_used to zero.
+ (read_sf): Use size_used.
+ (read_block): Likewise.
+ (read_block_direct): Likewise.
+ (write_block): Likewise.
+ (write_buf): Likewise and eliminate erroneous FAILURE return.
+ (finalize_transfer): Assign value of size_used to *dtp->size.
+
+2006-03-30 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/26712
+ * config/fpu-387.h: Add special case for handling of SSE
+ control bit on i386-darwin.
+
+2006-03-30 Thomas Koenig <Thomas.Koenig@online.de>
+
+ PR fortran/25031
+ * runtime/memory.c (allocate_array): If stat is present and
+ the variable is already allocated, free the variable, do
+ the allocation and set stat.
+ (allocate_array_64): Likewise. Whitespace fix.
+
+2006-03-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/26880
+ * io/file_pos.c (st_rewind): Clear read_bad flag.
+
+2006-03-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/26661
+ * io/io.h: Add read_sf so it can be used by read_x.
+ * io/transfer.c (read_sf): Pass no_error flag to read_sf. Use it to
+ break out rather than error on EOF or EOR conditions.
+ (read_block): Update call to read_sf.
+ (read_block_direct): Ditto.
+ * io/read.c (read_x): Use the modified read_sf instead of read_block.
+
+2006-03-25 Thomas Koenig <Thomas.Koenig@online.de>
+
+ PR libfortran/26735
+ * io/transfer.c (data_transfer_init): Set u_flags.convert
+ on an unopened unit if specified by environment variable
+ (via get_unformatted_convert) or by compile-time option.
+
+2006-03-25 Thomas Koenig <Thomas.Koenig@online.de>
+
+ PR fortran/26769
+ * Makefile.am: Add transpose_r10.c and reshape_r10.c.
+ * aclocal.m4: Regenerate using aclocal 1.9.3.
+ * Makefile.in: Regenerate using automake 1.9.3.
+ * m4/iparm.m4 (rtype_ccode): If rtype_letter is `i',
+ evaluate to rtype_kind, otherwise to rtype_code.
+ * generated/transpose_r10.c: Add.
+ * generated/reshape_r10.c: Add.
+
+2006-03-22 Thomas Koenig <Thomas.Koenig@online.de>
+
+ PR fortran/19303
+ * libgfortran.h (compile_options_t): Add record_marker.
+ * runtime/compile_options.c (set_record_marker):
+ New function.
+ * io/open.c: If we have four-byte record markers, use
+ GFC_INTEGER_4_HUGE as default record length.
+ * io/file_pos.c (unformatted_backspace): Handle
+ different size record markers.
+ * io/transfer.c (us_read): Likewise.
+ (us_write): Likewise.
+ (next_record_r): Likewise.
+ (write_us_marker): Likewise.
+ (next_record_w): Likewise.
+
+2006-03-20 Thomas Koenig <Thomas.Koenig@online.de>
+
+ PR fortran/20935
+ * m4/iforeach.m4: Add SCALAR_FOREACH_FUNCTION macro.
+ * m4/ifunction.m4: Add SCALAR_ARRAY_FUNCTION macro.
+ * m4/minloc0.m4: Use SCALAR_FOREACH_FUNCTION.
+ * m4/minloc1.m4: Use SCALAR_ARRAY_FUNCTION.
+ * m4/maxloc0.m4: Use SCALAR_FOREACH_FUNCTION.
+ * m4/maxloc1.m4: Use SCALAR_ARRAY_FUNCTION.
+ * m4/minval.m4: Likewise.
+ * m4/maxval.m4: Likewise.
+ * m4/product.m4: Likewise.
+ * m4/sum.m4: Likewise.
+ * minloc0_16_i16.c : Regenerated.
+ * minloc0_16_i4.c : Regenerated.
+ * minloc0_16_i8.c : Regenerated.
+ * minloc0_16_r10.c : Regenerated.
+ * minloc0_16_r16.c : Regenerated.
+ * minloc0_16_r4.c : Regenerated.
+ * minloc0_16_r8.c : Regenerated.
+ * minloc0_4_i16.c : Regenerated.
+ * minloc0_4_i4.c : Regenerated.
+ * minloc0_4_i8.c : Regenerated.
+ * minloc0_4_r10.c : Regenerated.
+ * minloc0_4_r16.c : Regenerated.
+ * minloc0_4_r4.c : Regenerated.
+ * minloc0_4_r8.c : Regenerated.
+ * minloc0_8_i16.c : Regenerated.
+ * minloc0_8_i4.c : Regenerated.
+ * minloc0_8_i8.c : Regenerated.
+ * minloc0_8_r10.c : Regenerated.
+ * minloc0_8_r16.c : Regenerated.
+ * minloc0_8_r4.c : Regenerated.
+ * minloc0_8_r8.c : Regenerated.
+ * minloc1_16_i16.c : Regenerated.
+ * minloc1_16_i4.c : Regenerated.
+ * minloc1_16_i8.c : Regenerated.
+ * minloc1_16_r10.c : Regenerated.
+ * minloc1_16_r16.c : Regenerated.
+ * minloc1_16_r4.c : Regenerated.
+ * minloc1_16_r8.c : Regenerated.
+ * minloc1_4_i16.c : Regenerated.
+ * minloc1_4_i4.c : Regenerated.
+ * minloc1_4_i8.c : Regenerated.
+ * minloc1_4_r10.c : Regenerated.
+ * minloc1_4_r16.c : Regenerated.
+ * minloc1_4_r4.c : Regenerated.
+ * minloc1_4_r8.c : Regenerated.
+ * minloc1_8_i16.c : Regenerated.
+ * minloc1_8_i4.c : Regenerated.
+ * minloc1_8_i8.c : Regenerated.
+ * minloc1_8_r10.c : Regenerated.
+ * minloc1_8_r16.c : Regenerated.
+ * minloc1_8_r4.c : Regenerated.
+ * minloc1_8_r8.c : Regenerated.
+ * maxloc0_16_i16.c : Regenerated.
+ * maxloc0_16_i4.c : Regenerated.
+ * maxloc0_16_i8.c : Regenerated.
+ * maxloc0_16_r10.c : Regenerated.
+ * maxloc0_16_r16.c : Regenerated.
+ * maxloc0_16_r4.c : Regenerated.
+ * maxloc0_16_r8.c : Regenerated.
+ * maxloc0_4_i16.c : Regenerated.
+ * maxloc0_4_i4.c : Regenerated.
+ * maxloc0_4_i8.c : Regenerated.
+ * maxloc0_4_r10.c : Regenerated.
+ * maxloc0_4_r16.c : Regenerated.
+ * maxloc0_4_r4.c : Regenerated.
+ * maxloc0_4_r8.c : Regenerated.
+ * maxloc0_8_i16.c : Regenerated.
+ * maxloc0_8_i4.c : Regenerated.
+ * maxloc0_8_i8.c : Regenerated.
+ * maxloc0_8_r10.c : Regenerated.
+ * maxloc0_8_r16.c : Regenerated.
+ * maxloc0_8_r4.c : Regenerated.
+ * maxloc0_8_r8.c : Regenerated.
+ * maxloc1_16_i16.c : Regenerated.
+ * maxloc1_16_i4.c : Regenerated.
+ * maxloc1_16_i8.c : Regenerated.
+ * maxloc1_16_r10.c : Regenerated.
+ * maxloc1_16_r16.c : Regenerated.
+ * maxloc1_16_r4.c : Regenerated.
+ * maxloc1_16_r8.c : Regenerated.
+ * maxloc1_4_i16.c : Regenerated.
+ * maxloc1_4_i4.c : Regenerated.
+ * maxloc1_4_i8.c : Regenerated.
+ * maxloc1_4_r10.c : Regenerated.
+ * maxloc1_4_r16.c : Regenerated.
+ * maxloc1_4_r4.c : Regenerated.
+ * maxloc1_4_r8.c : Regenerated.
+ * maxloc1_8_i16.c : Regenerated.
+ * maxloc1_8_i4.c : Regenerated.
+ * maxloc1_8_i8.c : Regenerated.
+ * maxloc1_8_r10.c : Regenerated.
+ * maxloc1_8_r16.c : Regenerated.
+ * maxloc1_8_r4.c : Regenerated.
+ * maxloc1_8_r8.c : Regenerated.
+ * maxval_i16.c : Regenerated.
+ * maxval_i4.c : Regenerated.
+ * maxval_i8.c : Regenerated.
+ * maxval_r10.c : Regenerated.
+ * maxval_r16.c : Regenerated.
+ * maxval_r4.c : Regenerated.
+ * maxval_r8.c : Regenerated.
+ * minval_i16.c : Regenerated.
+ * minval_i4.c : Regenerated.
+ * minval_i8.c : Regenerated.
+ * minval_r10.c : Regenerated.
+ * minval_r16.c : Regenerated.
+ * minval_r4.c : Regenerated.
+ * minval_r8.c : Regenerated.
+ * sum_c10.c : Regenerated.
+ * sum_c16.c : Regenerated.
+ * sum_c4.c : Regenerated.
+ * sum_c8.c : Regenerated.
+ * sum_i16.c : Regenerated.
+ * sum_i4.c : Regenerated.
+ * sum_i8.c : Regenerated.
+ * sum_r10.c : Regenerated.
+ * sum_r16.c : Regenerated.
+ * sum_r4.c : Regenerated.
+ * sum_r8.c : Regenerated.
+ * product_c10.c : Regenerated.
+ * product_c16.c : Regenerated.
+ * product_c4.c : Regenerated.
+ * product_c8.c : Regenerated.
+ * product_i16.c : Regenerated.
+ * product_i4.c : Regenerated.
+ * product_i8.c : Regenerated.
+ * product_r10.c : Regenerated.
+ * product_r16.c : Regenerated.
+ * product_r4.c : Regenerated.
+ * product_r8.c : Regenerated.
+
+2006-03-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/26509
+ * libgfortran.h: Add ERROR_DIRECT_EOR.
+ * runtime/error.c (translate_error): Add translation for new error.
+ * io/transfer.c (write_buf): Add check for EOR when mode is
+ direct access.
+
+2006-03-13 Paul Thomas <pault@gcc.gnu.org>
+
+ PR fortran/25378
+ * libgfortran/m4/minloc1.m4: Set the initial position to zero and
+ modify the condition for updating it, to implement the F2003
+ requirement for all(mask).eq.false.
+ * libgfortran/m4/maxloc1.m4: The same.
+ * libgfortran/m4/iforeach.m4: The same.
+ * libgfortran/m4/minloc0.m4: The same.
+ * libgfortran/m4/maxloc0.m4: The same.
+ * libgfortran/generated/maxloc0_16_i16.c: Regenerated, together
+ with 41 others.
+ * libgfortran/generated/minloc0_16_i16.c: Regenerated, together
+ with 41 others.
+
+2006-03-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/26499
+ * io/file_pos (st_rewind): Flush always.
+ * io/unix.c (fd_truncate): Return SUCCESS rather than FAILURE for
+ special files like /dev/null.
+ * io/transfer.c (st_write_done): Remove broken logic that
+ prevented calling fd_truncate.
+
+2006-03-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/26554
+ * io/list_read.c (read_logical): Return the value if not in namelist
+ mode.
+
+2006-03-03 Thomas Koenig <Thomas.Koenig@online.de>
+
+ PR fortran/25031
+ * runtime/memory.c: Adjust copyright years.
+ (allocate_array): New function.
+ (allocate64_array): New function.
+ * libgfortran.h (error_codes): Add ERROR_ALLOCATION.
+
+2006-02-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/26136
+ * io/io.h: Add flag for reading from line_buffer.
+ * io/list_read.c (l_push_char): New function to save namelist
+ input when reading logicals.
+ (free_line): New function to free line_buffer memory.
+ (next_char): Added feature to read from line_buffer.
+ (read_logical): Use new functions to test for '=' after reading a
+ logical value, checking for possible variable name.
+ (namelist_read): Use free_line when all done.
+
+2006-02-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/26464
+ * io/file_pos.c (st_backspace): Flush and truncate file
+ when in AFTER_ENDFILE condition.
+ * io/transfer.c (st_read_done): Remove flush, no longer needed.
+
+2006-02-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/26423
+ * io/unix.c (fd_seek): Revert change from 25949.
+ (fd_read): Same.
+ (fd_write): Same.
+
+2006-02-19 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * io/open.c (edit_modes): Correct abusive copy-pasting.
+
+2006-02-16 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/24903
+ * m4/dotprodc.m4: Use __builtin_conj instead of assigning real
+ and imaginary parts separately.
+ * generated/dotprod_c4.c: Regenerated.
+ * generated/dotprod_c8.c: Regenerated.
+ * generated/dotprod_c10.c: Regenerated.
+ * generated/dotprod_c16.c: Regenerated.
+
+2006-02-12 Janne Blomqvist <jb@gcc.gnu.org>
+
+ PR libfortran/25949
+ * io/io.h: Add set function pointer to struct stream.
+ * io/unix.c (fd_seek): Only update offset, don't seek.
+ (fd_sset): New function.
+ (fd_read): Call lseek directly if necessary.
+ (fd_write): Likewise.
+ (fd_open): Set pointer to fd_sset.
+ (mem_set): New function.
+ (open_internal): Set pointer to mem_set.
+ * io/transfer.c (write_block_direct): Rename to write_buf, add
+ error return, non-pointer length argument.
+ (unformatted_write): Update to use write_buf.
+ (us_write): Simplify by using swrite instead of salloc_w.
+ (write_us_marker): New function.
+ (new_record_w): Use sset instead of memset, use write_us_marker,
+ simplify by using swrite instead of salloc_w.
+
+2006-02-08 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/25425
+ * libgfortran.h: Add pedantic field to compile_options struct.
+ * io/write.c (calculate_G_format): Depending on the standard,
+ choose E or F format for list-directed output of 0.0.
+ * runtime/error.c (notify_std): Make warning and error dependent
+ on pedanticity.
+ * runtime/compile_options.c (set_std): Use new pedantic argument.
+
+2006-02-07 Dale Ranta <dir@lanl.gov>
+
+ PR fortran/25577
+ * intrinsics/mvbits.c: Shift '(TYPE)1' type when building 'lenmask'.
+
+2006-02-07 Rainer Emrich <r.emrich@de.tecosim.com>
+
+ * intrinsics/c99_functions.c: Work around incompatible
+ declarations of cabs{,f,l} on pre-C99 IRIX systems.
+
+2005-02-06 Thomas Koenig <Thomas.Koenig@online.de>
+
+ PR libfortran/23815
+ * runtime/environ.c (init_unformatted): Add GFORTRAN_CONVERT_UNIT
+ environment variable.
+ (top level): Add defines, type and static variables for
+ GFORTRAN_CONVERT_UNIT handling.
+ (search_unit): New function.
+ (match_word): New function.
+ (match_integer): New function.
+ (next_token): New function.
+ (push_token): New function.
+ (mark_single): New function.
+ (mark_range): New funciton.
+ (do_parse): New function.
+ (init_unformatted): New function.
+ (get_unformatted_convert): New function.
+ * runtime/compile_options.c: Add set_convert().
+ * libgfortran.h: Add convert to compile_options_t.
+ * io/open.c (st_open): Call get_unformatted_convert to get
+ unit default; if CONVERT_NONE is returned, check for
+ the presence of a CONVERT specifier and use it.
+ As default, use compile_options.convert.
+ * io/io.h (top level): Add CONVERT_NONE to unit_convert, to signal
+ "nothing has been set".
+ (top level): Add prototype for get_unformatted_convert.
+
+2006-02-06 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/24685
+ * io/write.c (write_real): Widen the default format for real(10)
+ variables output.
+
+2006-01-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/25835
+ * io/transfer.c (st_read_done): Flush buffers when read is done.
+
+2006-01-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/25697
+ * io/transfer.c (us_read): Detect end of file condition from previous
+ operations and bail out (no need to pre-position).
+
+2006-01-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/25631
+ * io/transfer.c (formatted_transfer_scalar): Adjust pending_spaces and
+ skips so that TL works correctly when no bytes_used yet.
+
+2006-01-16 Roger Sayle <roger@eyesopen.com>
+
+ * configure.ac (CFLAGS): Update to include -std=gnu99 so that
+ the configure tests will be run with the same environment as
+ used to compile the libgfortran source code.
+ * configure: Regenerate.
+
+2006-01-12 Roger Sayle <roger@eyesopen.com>
+
+ * intrinsics/c99_functions.c: Add function prototypes to avoid
+ warnings from -Wstrict-prototypes -Wmissing-prototypes. On Tru64
+ work around a brain-dead libm by redirecting calls to cabs{,f,l}
+ to a local __gfc_cabs{,f,l}.
+
+2006-01-07 Janne Blomqvist <jb@gcc.gnu.org>
+
+ * configure.ac: Remove check for sys/mman.h.
+ * configure: Regenerated.
+ * Makefile.in: Regenerated.
+ * config.h.in: Regenerated.
+ * aclocal.m4: Regenerated.
+
+2006-01-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/25598
+ * io/file_pos.c (unformatted_backspace): Assure the new file position
+ to seek is not less than zero.
+ (st_backspace): Set unit bytes_left to zero.
+ * io/transfer.c (next_record_r): Fix line lengths, no functional change.
+
+2006-01-02 Paolo Bonzini <bonzini@gnu.org>
+
+ PR target/25259
+ * configure.ac: Use GCC_HEADER_STDINT.
+ * libgfortran.h: Include gstdint.h.
+ * aclocal.m4: Regenerate.
+ * configure: Regenerate.
+
+2006-01-01 Steven G. Kargl <kargls@comcast.net>
+
+ * ChangeLog: Split into years ...
+ * ChangeLog-2002: here.
+ * ChangeLog-2003: here.
+ * ChangeLog-2004: here.
+ * ChangeLog-2005: here.
+
+
+Copyright (C) 2006 Free Software Foundation, Inc.
+
+Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved.
diff --git a/gcc-4.7/libgfortran/ChangeLog-2007 b/gcc-4.7/libgfortran/ChangeLog-2007
new file mode 100644
index 000000000..11f9df093
--- /dev/null
+++ b/gcc-4.7/libgfortran/ChangeLog-2007
@@ -0,0 +1,2487 @@
+2007-12-27 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR libfortran/22423
+ * intrinsics/pack_generic.c (pack): Change type of mask argument
+ to gfc_array_l1 * in prototype and function.
+ (pack_char): Likewise.
+ * intrinsics/unpack_generic.c (unpack1): Likewise.
+ (unpack1_char): Likewise.
+ (unpack0): Likewise.
+ (unpack0_char): Likewise.
+
+2007-12-27 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR libfortran/34594
+ * runtime/error.c: If there was a previous error, don't
+ mask it with another error mesage, EOF or EOR condition.
+
+2007-12-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/34560
+ * io/transfer.c (read_sf): Check if readlen was less than the requested
+ number of bytes to read and if so, generate error.
+
+2007-12-25 Daniel Franke <franke.daniel@gmail.com>
+
+ PR fortran/34533
+ * intrinsics/cpu_time.c: Moved code commonly usable for CPU_TIME,
+ DTIME and ETIME to ...
+ * intrinsics/time_1.h: ... here.
+ * intrinsics/dtime.c: New file.
+ * intrinsics/etime.c: Newly implemented using the common
+ time-aquisition function from time_1.h.
+ * gfortran.map (_gfortran_dtime, _gfortran_dtime_sub): New.
+ * Makefile.am: Added new file.
+ * Makefile.in: Regenerated.
+ * configure: Regenerated.
+
+2007-12-25 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR libfortran/34566
+ * m4/matmull.m4: Multiply xstride and ystride by correct kind.
+ * generated/matmul_l4.c: Regenerated.
+ * generated/matmul_l8.c: Regenerated.
+ * generated/matmul_l16.c: Regenerated.
+
+2007-12-19 Tobias Burnus <burnus@net-b.de>
+
+ PR fortran/34530
+ * io/list_read.c (eat_line): Move up in the file.
+ (eat_separator): In namelist mode, skip over comment lines.
+
+2007-12-16 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR fortran/34427
+ * io/list_read.c (read_real): Handle intervening line ends and spaces.
+ (get_name): Don't push separators to saved_string.
+ (eat_separator): If in namelist mode eat spaces and line ends as well.
+
+2007-12-13 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR libfortran/34370
+ PR libfortran/34323
+ PR libfortran/34405
+ * io/io.h: Add previous_nonadvancing_write to gfc_unit.
+ Add prototype for finish_last_advance_record.
+ * io/file_pos.c (st_backspace): Generate error if backspace is
+ attempted for direct access or unformatted stream.
+ If there are bytes left from a previous ADVANCE="no", write
+ them out before performing the backspace.
+ (st_endfile): Generate error if endfile is attempted for
+ direct access.
+ If there are bytes left from a previous ADVANCE="no", write
+ them out before performing the endfile.
+ (st_rewind): Generate error if rewind is attempted for
+ direct access.
+ * unit.c (close_unit_1): Move functionality to write
+ previously written bytes to...
+ (finish_last_advance_record): ... here.
+ * transfer.c (data_transfer_init): If reading, reset
+ previous_nonadvancing_write.
+ (finalize_transfer): Set the previous_noadvancing_write
+ flag if we are writing and ADVANCE="no" was specified.
+ Only call next_record() if advance="no" wasn't specified.
+
+2007-12-13 Tobias Burnus <burnus@net-b.de>
+
+ PR fortran/34427
+ * io/list_read.c (read_real): Fix unwinding for namelists.
+
+2007-12-10 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/34411
+ * io/read.c (convert_real, read_l, read_decimal, read_radix, read_f):
+ Call next_record after bad read or overflow error.
+
+2007-12-09 Tobias Burnus <burnus@net-b.de>
+
+ PR fortran/34404
+ * io/list_read.c (parse_real): Remove superfluous "goto bad;".
+
+2007-12-08 Tobias Burnus <burnus@net-b.de>
+
+ PR fortran/34319
+ * io/list_read.c (parse_real, read_real): Support NaN/Infinity.
+
+2007-12-02 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+ Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR libfortran/33985
+ * io/transfer.c (read_block, read_block_direct, write_block, write_buf):
+ Don't seek if file position is already there for STREAM I/O.
+ (finalize_transfer): For STREAM I/O don't flush unless the file position
+ has moved past the start position before the transfer.
+
+2007-12-01 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ * intrinsic/stat.c (stat_i4_sub_0, stat_i8_sub_0): Mark parameter
+ with unused attribute.
+ * intrinsics/system_clock.c (system_clock_4, system_clock_8):
+ Remove unused variable.
+ * intrinsics/umask.c: Include unistd.h.
+
+2007-11-30 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/34291
+ * io/list_read.c (read_character): When reading an unquoted string,
+ return if special characters that could signify the end of the namelist
+ read are encountered.
+
+2007-11-29 Steven G. Kargl <kargls@comcast.net>
+
+ PR libfortran/33583
+ * libgfortran/gfortran.map: Add tgammaf, tgamma, lgamma, and lgammaf.
+ * gfortran.dg/gamma_5.f90: Remove xfail.
+
+2007-11-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ PR libfortran/33583
+ PR libfortran/33698
+ * intrinsics/c99_functions.c (tgamma, tgammaf, lgamma, lgammaf):
+ New fallback functions.
+ * c99_protos.h (tgamma, tgammaf, lgamma, lgammaf): New prototypes.
+ * configure.ac: Add checks for tgamma, tgammaf, tgammal, lgamma,
+ lgammaf and lgammal.
+ * config.h.in: Regenerate.
+ * configure: Regenerate.
+
+2007-11-08 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ * mk-kinds-h.sh: Change sed syntax.
+
+2007-11-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/33985
+ * io/transfer.c (finalize_transfer): Revert previous patch.
+
+2007-11-03 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/33985
+ * io/transfer.c (finalize_transfer): Do not flush for
+ unformatted STREAM I/O.
+
+2007-10-27 Tobias Burnus <burnus@net-b.de>
+
+ * mk-kinds-h.sh: Change LANG=C to LC_ALL=C.
+
+2007-10-26 Tobias Burnus <burnus@net-b.de>
+
+ * mk-kinds-h.sh: Add "LANG=C".
+
+2007-10-26 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ * libgfortran.h (GFC_REAL_*_HUGE, GFC_REAL_*_DIGITS,
+ GFC_REAL_*_RADIX): Remove.
+ * mk-kinds-h.sh: Define GFC_REAL_*_HUGE, GFC_REAL_*_DIGITS and
+ GFC_REAL_*_RADIX. Don't define GFC_REAL_LARGEST_FORMAT and
+ GFC_REAL_LARGEST.
+
+2007-10-19 Ben Elliston <bje@au.ibm.com>
+
+ * intrinsics/signal.c (alarm_sub_i4): Mark conditionally unused
+ parameters with __attribute__ ((unused)).
+ (alarm_sub_i8): Likewise.
+ (alarm_sub_int_i4): Likewise.
+ (alarm_sub_int_i8): Likewise.
+
+2007-10-18 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+ Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/33795
+ * libgfortran.h: Add unbuffered_preconnected.
+ * io/unix.c (output_stream): Set stream unbuffered flag if
+ options.unbuffered_preconnected has been set.
+ (error_stream): Ditto.
+ * runtime/environ.c (variable_table): Add to environment variable table
+ the entry: GFORTRAN_UNBUFFERED_PRECONNECTED.
+
+2007-10-18 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ PR libfortran/32021
+ * runtime/backtrace.c (local_strcasestr): Protect by appropriate
+ macros.
+ * runtime/main.c (cleanup): Cast argument to free.
+ * intrinsics/spread_generic.c (spread_internal): Match runtime_error
+ arguments and format.
+ * intrinsics/signal.c (alarm_sub_int_i4, alarm_sub_int_i8): Cast
+ pointers to avoid warnings.
+
+2007-10-18 Ben Elliston <bje@au.ibm.com>
+
+ * runtime/environ.c (init_choice): Remove unused function.
+ (show_choice): Likewise.
+ (choice): Remove.
+ (FP_ROUND_NEAREST, FP_ROUND_UP, FP_ROUND_DOWN, FP_ROUND_ZERO):
+ Remove.
+ (precision, signal_choices): Remove.
+
+2007-10-15 Christopher D. Rickett <crickett@lanl.gov>
+
+ PR fortran/32600
+ * libgfortran/intrinsics/iso_c_binding.c: Remove c_associated_1
+ and c_associated_2.
+ * libgfortran/intrinsics/iso_c_binding.h: Ditto.
+ * libgfortran/gfortran.map: Ditto.
+
+2007-10-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/33055
+ * io/inquire.c (inquire_via_unit): If inquiring by unit, check for
+ an error condition from the IOSTAT variable and set EXIST to false if
+ there was a bad unit number.
+
+2007-10-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/33672
+ * io/list_read.c (nml_parse_qualifier): Add character specific error
+ messages. Check for proper form of sub-string qualifiers. Return the
+ parsed_rank flag indicating a non-zero rank qualifier.
+ (nml_get_obj_data): Count the instances of non-zero rank qualifiers.
+ Issue an error if more that one non-zero rank qualifier is found.
+
+2007-10-04 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/33253
+ * io/list_read.c (read_character): Use line_buffer to scan ahead for
+ object name or string when no delimiter is found.
+
+2007-10-04 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ PR libfortran/32021
+ * runtime/environ.c (init_mem, show_mem, init_round, show_round,
+ init_precision, show_precision, init_signal, show_signal): Remove.
+ (variable_table): Remove GFORTRAN_MEM_INIT, GFORTRAN_MEM_CHECK,
+ GFORTRAN_SIGHUP, GFORTRAN_SIGINT, GFORTRAN_FPU_ROUND and
+ GFORTRAN_FPU_PRECISION.
+ * libgfortran.h (options_t): Remove mem_check, fpu_round,
+ fpu_precision, sighup, sigint, allocate_init_flag and
+ allocate_init_value.
+
+2007-10-02 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/33253
+ * io/list_read.c (read_character): Use DELIM_APOSTROPHE and DELIM_QUOTE
+ and quote value in check of first character in string.
+
+2007-10-02 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ PR fortran/33469
+ * io/write.c (write_real): Widen the default formats.
+
+2007-09-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/33400
+ * io/list_read.c (next_char): Interpret encountering the end of file the
+ first time as an end of line. Subsequent reads give EOF error.
+
+2007-09-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/33421
+ * io/list_read.c (read_character): Revert r128057.
+
+2007-09-21 Bernhard Fischer <aldot>
+
+ PR fortran/31546
+ * (configure.ac): Add --enable-intermodule for onestep build.
+ * (Makefile.am): Handle onestep build.
+ * (configure, Makefile.in): Regenerate.
+
+2007-09-21 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ PR libfortran/26253
+ * intrinsics/c99_functions.c (scalbn): Use ldexp if appopriate.
+
+2007-09-21 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ PR libfortran/23272
+ * io/unix.c (id_from_handle, id_from_path, id_from_fd): New
+ functions.
+ (compare_file_filename, find_file, find_file0): Use the new
+ functions above.
+
+2007-09-21 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ * acinclude.m4 (LIBGFOR_TARGET_ILP32): Remove test.
+ * configure.ac: Don't call LIBGFOR_TARGET_ILP32.
+ * configure: Regenerate.
+ * config.h.in: Regenerate.
+
+2007-09-15 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ PR libfortran/21185
+ * runtime/compile_options.c (set_options): Fix typo.
+ * runtime/main.c (store_exe_path): If getcwd is not available,
+ don't use it.
+ * intrinsics/getcwd.c: Same thing here.
+ * io/unix.c (fallback_access): New fallback function for access.
+ (fix_fd): Don't use dup if it's not available.
+ * configure.ac: Check for dup and getcwd.
+ * configure: Regenerate.
+ * config.h.in: Regenerate.
+
+2007-09-12 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ * io/io.h: Include libgfortran.h first.
+
+2007-09-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ PR libfortran/33386
+ * runtime/select.c (select_string): Initialize default_jump.
+
+2007-09-07 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/33307
+ * io/filepos.c (st_backspace): Don't truncate when already at the end
+ of the file.
+
+2007-09-07 Uros Bizjak <ubizjak@gmail.com>
+
+ * config/fpu-387.h: Include cpuid.h.
+ (set_fpu): Use __get_cpuid to check for SSE.
+
+2007-09-06 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR fortran/33298
+ * intrinsics/spread_generic.c(spread_internal): Enable
+ bounds checking by comparing extents if the bounds_check
+ option has been set. If any extent is <=0, return early.
+
+2007-09-06 David Edelsohn <edelsohn@gnu.org>
+
+ * libgfortran.h: Include config.h first.
+ * io/io.h (struct stream): Rename truncate to trunc.
+ * io/unix.c (fd_open): Same.
+ (open_internal): Same.
+
+2007-09-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/33253
+ * io/write.c (nml_write_obj): Set the delimiter correctly before
+ calling write_character. (namelist_write): Clean up the code a little
+ and add comments to clarify what its doing.
+
+2007-09-04 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/33225
+ * io/write.c (stdbool.h): Add include. (sign_t): Move typedef to
+ new file write_float.def. Include write_float.def.
+ (extract_real): Delete. (calculate_sign): Delete.
+ (calculate_exp): Delete. (calculate_G_format): Delete.
+ (output_float): Delete. (write_float): Delete.
+ * io/write_float.def (calculate_sign): Added.
+ (output_float): Refactored to be independent of kind and added to this
+ file for inclusion. (write_infnan): New function to write "Infinite"
+ or "NaN" depending on flags passed, independent of kind.
+ (CALCULATE_EXP): New macro to build kind specific functions. Use it.
+ (OUTPUT_FLOAT_FMT_G): New macro, likewise. Use it.
+ (DTOA, DTOAL): Macros to implement "decimal to ascii".
+ (WRITE_FLOAT): New macro for kind specific write_float functions.
+ (write_float): Revised function to determine kind and use WRITE_FLOAT
+ to implement kind specific output.
+
+2007-09-03 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/33253
+ * io/list_read.c (read_character): Use DELIM_APOSTROPHE and
+ DELIM_QUOTE in check of first character in string.
+
+2007-09-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ PR fortran/31675
+ * libgfortran.h: Include gcc/fortran/libgfortran.h.
+ Remove M_PI, GFC_MAX_DIMENSIONS, GFC_DTYPE_*, GFC_NUM_RANK_BITS,
+ error_codes, GFC_STD_*, GFC_FPE_* and unit_convert.
+ * runtime/environ.c (variable_table): Use GFC_*_UNIT_NUMBER instead
+ of hardcoded constants.
+ (do_parse, init_unformatted): Use GFC_CONVERT_* macros instead of
+ CONVERT_*.
+ * runtime/string.c (find_option): Use LIBERROR_BAD_OPTION instead
+ of ERROR_BAD_OPTION.
+ * runtime/error.c (translate_error, generate_error): Use
+ LIBERROR_* macros instead of ERROR_*.
+ * io/file_pos.c (formatted_backspace, unformatted_backspace,
+ st_backspace, st_rewind, st_flush): Rename macros.
+ * io/open.c (convert_opt, edit_modes, new_unit, already_open,
+ st_open): Likewise.
+ * io/close.c (st_close): Likewise.
+ * io/list_read.c (next_char, convert_integer, parse_repeat,
+ read_logical, read_integer, read_character, parse_real,
+ check_type, list_formatted_read_scalar, namelist_read,
+ nml_err_ret): Likewise.
+ * io/read.c (convert_real, read_l, read_decimal, read_radix,
+ read_f): Likewise.
+ * io/inquire.c (inquire_via_unit): Likewise.
+ * io/unit.c (get_internal_unit): Likewise.
+ * io/transfer.c (read_sf, read_block, read_block_direct,
+ write_block, write_buf, unformatted_read, unformatted_write,
+ formatted_transfer_scalar, us_read, us_write, data_transfer_init,
+ skip_record, next_record_r, write_us_marker, next_record_w_unf,
+ next_record_w, finalize_transfer, st_read, st_write_done):
+ Likewise.
+ * io/format.c (format_error): Likewise.
+
+2007-08-31 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ * m4/minloc1.m4: Update copyright year and ajust headers order.
+ * m4/maxloc1.m4: Likewise.
+ * m4/in_pack.m4: Likewise.
+ * m4/sum.m4: Likewise.
+ * m4/fraction.m4: Likewise.
+ * m4/all.m4: Likewise.
+ * m4/set_exponent.m4: Likewise.
+ * m4/transpose.m4: Likewise.
+ * m4/eoshift1.m4: Likewise.
+ * m4/spacing.m4: Likewise.
+ * m4/eoshift3.m4: Likewise.
+ * m4/minval.m4: Likewise.
+ * m4/count.m4: Likewise.
+ * m4/maxval.m4: Likewise.
+ * m4/exponent.m4: Likewise.
+ * m4/shape.m4: Likewise.
+ * m4/head.m4: Likewise.
+ * m4/cshift1.m4: Likewise.
+ * m4/minloc0.m4: Likewise.
+ * m4/nearest.m4: Likewise.
+ * m4/maxloc0.m4: Likewise.
+ * m4/pow.m4: Likewise.
+ * m4/in_unpack.m4: Likewise.
+ * m4/matmull.m4: Likewise.
+ * m4/product.m4: Likewise.
+ * m4/reshape.m4: Likewise.
+ * m4/any.m4: Likewise.
+ * m4/rrspacing.m4: Likewise.
+ * m4/matmul.m4: Likewise.
+ * runtime/backtrace.c: Likewise.
+ * runtime/environ.c: Likewise.
+ * runtime/in_pack_generic.c: Likewise.
+ * runtime/compile_options.c: Likewise.
+ * runtime/in_unpack_generic.c: Likewise.
+ * runtime/main.c: Likewise.
+ * runtime/stop.c: Likewise.
+ * runtime/string.c: Likewise.
+ * runtime/memory.c: Likewise.
+ * runtime/error.c: Likewise.
+ * runtime/pause.c: Likewise.
+ * intrinsics/ierrno.c: Likewise.
+ * intrinsics/system_clock.c: Likewise.
+ * intrinsics/cshift0.c: Likewise.
+ * intrinsics/unlink.c: Likewise.
+ * intrinsics/ctime.c: Likewise.
+ * intrinsics/etime.c: Likewise.
+ * intrinsics/cpu_time.c: Likewise.
+ * intrinsics/malloc.c: Likewise.
+ * intrinsics/hostnm.c: Likewise.
+ * intrinsics/sleep.c: Likewise.
+ * intrinsics/exit.c: Likewise.
+ * intrinsics/perror.c: Likewise.
+ * intrinsics/transpose_generic.c: Likewise.
+ * intrinsics/pack_generic.c: Likewise.
+ * intrinsics/spread_generic.c: Likewise.
+ * intrinsics/stat.c: Likewise.
+ * intrinsics/string_intrinsics.c: Likewise.
+ * intrinsics/getcwd.c: Likewise.
+ * intrinsics/date_and_time.c: Likewise.
+ * intrinsics/unpack_generic.c: Likewise.
+ * intrinsics/move_alloc.c: Likewise.
+ * intrinsics/getlog.c: Likewise.
+ * intrinsics/eoshift0.c: Likewise.
+ * intrinsics/eoshift2.c: Likewise.
+ * intrinsics/reshape_generic.c: Likewise.
+ * intrinsics/system.c: Likewise.
+ * intrinsics/iso_c_binding.c: Likewise.
+ * intrinsics/env.c: Likewise.
+ * intrinsics/kill.c: Likewise.
+ * intrinsics/reshape_packed.c: Likewise.
+ * intrinsics/time.c: Likewise.
+ * intrinsics/gerror.c: Likewise.
+ * intrinsics/access.c: Likewise.
+ * intrinsics/fnum.c: Likewise.
+ * intrinsics/abort.c: Likewise.
+ * intrinsics/rename.c: Likewise.
+ * intrinsics/signal.c: Likewise.
+ * intrinsics/symlnk.c: Likewise.
+ * intrinsics/random.c: Likewise.
+ * intrinsics/umask.c: Likewise.
+ * intrinsics/getXid.c: Likewise.
+ * intrinsics/rand.c: Likewise.
+ * intrinsics/chdir.c: Likewise.
+ * intrinsics/chmod.c: Likewise.
+ * intrinsics/clock.c: Likewise.
+ * intrinsics/args.c: Likewise.
+ * intrinsics/link.c: Likewise.
+ * c99_protos.h: Likewise.
+ * config/fpu-387.h: Likewise.
+ * config/fpu-aix.h: Likewise.
+ * config/fpu-sysv.h: Likewise.
+ * config/fpu-generic.h: Likewise.
+ * config/fpu-glibc.h: Likewise.
+ * io/file_pos.c: Likewise.
+ * io/open.c: Likewise.
+ * io/size_from_kind.c: Likewise.
+ * io/close.c: Likewise.
+ * io/list_read.c: Likewise.
+ * io/read.c: Likewise.
+ * io/inquire.c: Likewise.
+ * io/unit.c: Likewise.
+ * io/unix.c: Likewise.
+ * io/transfer.c: Likewise.
+ * io/intrinsics.c: Likewise.
+ * io/format.c: Likewise.
+ * io/lock.c: Likewise.
+ * io/write.c: Likewise.
+ * io/write_float.def: Likewise.
+ * fmain.c: Likewise.
+ * generated/minval_r8.c: Regenerate.
+ * generated/minloc1_16_r16.c: Regenerate.
+ * generated/maxloc1_4_r8.c: Regenerate.
+ * generated/sum_i8.c: Regenerate.
+ * generated/eoshift3_4.c: Regenerate.
+ * generated/transpose_c8.c: Regenerate.
+ * generated/any_l16.c: Regenerate.
+ * generated/eoshift1_8.c: Regenerate.
+ * generated/pow_r8_i8.c: Regenerate.
+ * generated/reshape_r16.c: Regenerate.
+ * generated/pow_i4_i16.c: Regenerate.
+ * generated/maxval_i2.c: Regenerate.
+ * generated/product_r4.c: Regenerate.
+ * generated/maxloc1_8_i4.c: Regenerate.
+ * generated/exponent_r16.c: Regenerate.
+ * generated/maxloc0_4_r4.c: Regenerate.
+ * generated/fraction_r16.c: Regenerate.
+ * generated/in_unpack_i8.c: Regenerate.
+ * generated/matmul_r8.c: Regenerate.
+ * generated/product_i2.c: Regenerate.
+ * generated/fraction_r4.c: Regenerate.
+ * generated/minloc0_4_r16.c: Regenerate.
+ * generated/reshape_c4.c: Regenerate.
+ * generated/minloc0_4_i1.c: Regenerate.
+ * generated/maxloc0_4_r16.c: Regenerate.
+ * generated/maxloc0_4_i2.c: Regenerate.
+ * generated/minloc1_8_r16.c: Regenerate.
+ * generated/maxloc1_8_r16.c: Regenerate.
+ * generated/set_exponent_r8.c: Regenerate.
+ * generated/in_unpack_i16.c: Regenerate.
+ * generated/transpose_c16.c: Regenerate.
+ * generated/maxloc0_8_i8.c: Regenerate.
+ * generated/pow_c4_i8.c: Regenerate.
+ * generated/sum_r16.c: Regenerate.
+ * generated/sum_i1.c: Regenerate.
+ * generated/minloc1_4_r8.c: Regenerate.
+ * generated/transpose_r10.c: Regenerate.
+ * generated/pow_i8_i4.c: Regenerate.
+ * generated/maxloc1_16_r16.c: Regenerate.
+ * generated/minloc1_16_i4.c: Regenerate.
+ * generated/maxloc1_16_i4.c: Regenerate.
+ * generated/minloc0_16_i8.c: Regenerate.
+ * generated/maxloc0_16_i8.c: Regenerate.
+ * generated/nearest_r8.c: Regenerate.
+ * generated/spacing_r16.c: Regenerate.
+ * generated/transpose_i8.c: Regenerate.
+ * generated/count_16_l16.c: Regenerate.
+ * generated/maxval_r16.c: Regenerate.
+ * generated/count_8_l8.c: Regenerate.
+ * generated/product_c10.c: Regenerate.
+ * generated/minloc1_8_i4.c: Regenerate.
+ * generated/minloc0_16_i16.c: Regenerate.
+ * generated/matmul_r16.c: Regenerate.
+ * generated/eoshift1_16.c: Regenerate.
+ * generated/minloc0_4_r4.c: Regenerate.
+ * generated/pow_c16_i16.c: Regenerate.
+ * generated/set_exponent_r10.c: Regenerate.
+ * generated/pow_i16_i16.c: Regenerate.
+ * generated/product_c4.c: Regenerate.
+ * generated/sum_r4.c: Regenerate.
+ * generated/pow_c16_i4.c: Regenerate.
+ * generated/rrspacing_r10.c: Regenerate.
+ * generated/in_pack_c16.c: Regenerate.
+ * generated/minloc0_4_i2.c: Regenerate.
+ * generated/maxloc0_8_i1.c: Regenerate.
+ * generated/reshape_i4.c: Regenerate.
+ * generated/minloc0_8_i8.c: Regenerate.
+ * generated/matmul_c8.c: Regenerate.
+ * generated/spacing_r4.c: Regenerate.
+ * generated/in_pack_c4.c: Regenerate.
+ * generated/all_l16.c: Regenerate.
+ * generated/minloc1_16_r10.c: Regenerate.
+ * generated/sum_i2.c: Regenerate.
+ * generated/minloc0_16_i1.c: Regenerate.
+ * generated/reshape_c16.c: Regenerate.
+ * generated/maxloc0_16_i1.c: Regenerate.
+ * generated/maxloc1_8_r8.c: Regenerate.
+ * generated/minval_i16.c: Regenerate.
+ * generated/reshape_r10.c: Regenerate.
+ * generated/exponent_r10.c: Regenerate.
+ * generated/maxval_i4.c: Regenerate.
+ * generated/any_l4.c: Regenerate.
+ * generated/minval_i8.c: Regenerate.
+ * generated/maxloc1_4_i8.c: Regenerate.
+ * generated/fraction_r10.c: Regenerate.
+ * generated/maxloc0_16_i16.c: Regenerate.
+ * generated/shape_i4.c: Regenerate.
+ * generated/pow_r16_i8.c: Regenerate.
+ * generated/maxloc0_8_r4.c: Regenerate.
+ * generated/rrspacing_r8.c: Regenerate.
+ * generated/pow_c10_i4.c: Regenerate.
+ * generated/minloc1_4_i16.c: Regenerate.
+ * generated/minloc0_4_r10.c: Regenerate.
+ * generated/maxloc1_4_i16.c: Regenerate.
+ * generated/minloc0_8_i16.c: Regenerate.
+ * generated/maxloc0_4_r10.c: Regenerate.
+ * generated/maxloc0_8_i16.c: Regenerate.
+ * generated/minloc1_8_r10.c: Regenerate.
+ * generated/product_i4.c: Regenerate.
+ * generated/minloc0_16_r4.c: Regenerate.
+ * generated/sum_c16.c: Regenerate.
+ * generated/maxloc1_8_r10.c: Regenerate.
+ * generated/maxloc0_16_r4.c: Regenerate.
+ * generated/transpose_c10.c: Regenerate.
+ * generated/minloc1_16_r8.c: Regenerate.
+ * generated/minloc0_8_i1.c: Regenerate.
+ * generated/maxloc0_4_i4.c: Regenerate.
+ * generated/transpose_r4.c: Regenerate.
+ * generated/maxloc1_16_r8.c: Regenerate.
+ * generated/pow_i16_i8.c: Regenerate.
+ * generated/cshift1_4.c: Regenerate.
+ * generated/maxloc0_8_i2.c: Regenerate.
+ * generated/sum_r10.c: Regenerate.
+ * generated/nearest_r16.c: Regenerate.
+ * generated/sum_c4.c: Regenerate.
+ * generated/maxloc1_16_r10.c: Regenerate.
+ * generated/count_4_l16.c: Regenerate.
+ * generated/pow_c8_i8.c: Regenerate.
+ * generated/matmul_i8.c: Regenerate.
+ * generated/in_pack_i4.c: Regenerate.
+ * generated/pow_i4_i8.c: Regenerate.
+ * generated/minloc0_16_i2.c: Regenerate.
+ * generated/minloc1_8_r8.c: Regenerate.
+ * generated/maxloc0_16_i2.c: Regenerate.
+ * generated/exponent_r4.c: Regenerate.
+ * generated/spacing_r10.c: Regenerate.
+ * generated/matmul_c16.c: Regenerate.
+ * generated/pow_c4_i16.c: Regenerate.
+ * generated/maxval_r10.c: Regenerate.
+ * generated/count_4_l4.c: Regenerate.
+ * generated/shape_i16.c: Regenerate.
+ * generated/minval_i1.c: Regenerate.
+ * generated/maxloc1_4_i1.c: Regenerate.
+ * generated/matmul_r10.c: Regenerate.
+ * generated/minloc1_4_i8.c: Regenerate.
+ * generated/pow_r10_i8.c: Regenerate.
+ * generated/minloc0_8_r4.c: Regenerate.
+ * generated/in_unpack_c4.c: Regenerate.
+ * generated/matmul_l4.c: Regenerate.
+ * generated/product_i16.c: Regenerate.
+ * generated/minloc0_16_r16.c: Regenerate.
+ * generated/reshape_r8.c: Regenerate.
+ * generated/pow_r10_i16.c: Regenerate.
+ * generated/all_l4.c: Regenerate.
+ * generated/in_pack_c10.c: Regenerate.
+ * generated/minloc0_4_i4.c: Regenerate.
+ * generated/minloc0_8_i2.c: Regenerate.
+ * generated/matmul_i1.c: Regenerate.
+ * generated/reshape_c10.c: Regenerate.
+ * generated/minval_r4.c: Regenerate.
+ * generated/maxloc1_4_r4.c: Regenerate.
+ * generated/pow_r8_i16.c: Regenerate.
+ * generated/sum_i4.c: Regenerate.
+ * generated/maxval_r8.c: Regenerate.
+ * generated/count_16_l8.c: Regenerate.
+ * generated/transpose_c4.c: Regenerate.
+ * generated/eoshift1_4.c: Regenerate.
+ * generated/eoshift3_8.c: Regenerate.
+ * generated/minval_r16.c: Regenerate.
+ * generated/minloc1_4_i1.c: Regenerate.
+ * generated/minval_i2.c: Regenerate.
+ * generated/maxloc1_4_i2.c: Regenerate.
+ * generated/pow_i8_i16.c: Regenerate.
+ * generated/product_r8.c: Regenerate.
+ * generated/maxloc1_8_i8.c: Regenerate.
+ * generated/maxloc0_4_r8.c: Regenerate.
+ * generated/maxloc0_16_r16.c: Regenerate.
+ * generated/in_unpack_i4.c: Regenerate.
+ * generated/matmul_r4.c: Regenerate.
+ * generated/sum_c10.c: Regenerate.
+ * generated/minloc1_4_r16.c: Regenerate.
+ * generated/fraction_r8.c: Regenerate.
+ * generated/maxloc1_4_r16.c: Regenerate.
+ * generated/set_exponent_r4.c: Regenerate.
+ * generated/minloc0_8_r16.c: Regenerate.
+ * generated/in_unpack_c16.c: Regenerate.
+ * generated/reshape_c8.c: Regenerate.
+ * generated/maxloc0_8_r16.c: Regenerate.
+ * generated/nearest_r10.c: Regenerate.
+ * generated/maxloc0_8_i4.c: Regenerate.
+ * generated/pow_c4_i4.c: Regenerate.
+ * generated/matmul_i2.c: Regenerate.
+ * generated/minloc1_4_r4.c: Regenerate.
+ * generated/transpose_i16.c: Regenerate.
+ * generated/matmul_c10.c: Regenerate.
+ * generated/minloc0_16_i4.c: Regenerate.
+ * generated/maxloc0_16_i4.c: Regenerate.
+ * generated/pow_i8_i8.c: Regenerate.
+ * generated/nearest_r4.c: Regenerate.
+ * generated/minloc1_16_i8.c: Regenerate.
+ * generated/maxloc1_16_i8.c: Regenerate.
+ * generated/transpose_i4.c: Regenerate.
+ * generated/count_8_l4.c: Regenerate.
+ * generated/minloc1_4_i2.c: Regenerate.
+ * generated/matmul_l16.c: Regenerate.
+ * generated/maxloc1_8_i1.c: Regenerate.
+ * generated/minloc0_16_r10.c: Regenerate.
+ * generated/minloc1_8_i8.c: Regenerate.
+ * generated/minloc0_4_r8.c: Regenerate.
+ * generated/product_r16.c: Regenerate.
+ * generated/product_c8.c: Regenerate.
+ * generated/pow_r16_i16.c: Regenerate.
+ * generated/sum_r8.c: Regenerate.
+ * generated/pow_c16_i8.c: Regenerate.
+ * generated/in_pack_i16.c: Regenerate.
+ * generated/minloc0_8_i4.c: Regenerate.
+ * generated/matmul_c4.c: Regenerate.
+ * generated/minloc1_16_i16.c: Regenerate.
+ * generated/reshape_i8.c: Regenerate.
+ * generated/spacing_r8.c: Regenerate.
+ * generated/in_pack_c8.c: Regenerate.
+ * generated/maxloc1_8_r4.c: Regenerate.
+ * generated/minloc1_16_i1.c: Regenerate.
+ * generated/maxloc1_16_i1.c: Regenerate.
+ * generated/reshape_i16.c: Regenerate.
+ * generated/minval_r10.c: Regenerate.
+ * generated/pow_r4_i8.c: Regenerate.
+ * generated/minloc1_8_i1.c: Regenerate.
+ * generated/minval_i4.c: Regenerate.
+ * generated/maxloc1_4_i4.c: Regenerate.
+ * generated/maxloc1_8_i2.c: Regenerate.
+ * generated/maxval_i8.c: Regenerate.
+ * generated/eoshift3_16.c: Regenerate.
+ * generated/any_l8.c: Regenerate.
+ * generated/maxloc0_16_r10.c: Regenerate.
+ * generated/rrspacing_r4.c: Regenerate.
+ * generated/shape_i8.c: Regenerate.
+ * generated/maxloc0_8_r8.c: Regenerate.
+ * generated/minloc0_4_i16.c: Regenerate.
+ * generated/maxloc0_4_i16.c: Regenerate.
+ * generated/minloc1_4_r10.c: Regenerate.
+ * generated/minloc1_8_i16.c: Regenerate.
+ * generated/pow_c10_i8.c: Regenerate.
+ * generated/maxloc1_4_r10.c: Regenerate.
+ * generated/maxloc1_8_i16.c: Regenerate.
+ * generated/in_unpack_c10.c: Regenerate.
+ * generated/minloc0_8_r10.c: Regenerate.
+ * generated/maxloc0_8_r10.c: Regenerate.
+ * generated/minloc1_16_r4.c: Regenerate.
+ * generated/maxloc1_16_r4.c: Regenerate.
+ * generated/minloc0_16_r8.c: Regenerate.
+ * generated/pow_i16_i4.c: Regenerate.
+ * generated/product_i8.c: Regenerate.
+ * generated/maxloc0_16_r8.c: Regenerate.
+ * generated/sum_i16.c: Regenerate.
+ * generated/maxloc0_4_i8.c: Regenerate.
+ * generated/transpose_r8.c: Regenerate.
+ * generated/cshift1_8.c: Regenerate.
+ * generated/maxloc1_16_i16.c: Regenerate.
+ * generated/matmul_i4.c: Regenerate.
+ * generated/pow_c8_i4.c: Regenerate.
+ * generated/pow_i4_i4.c: Regenerate.
+ * generated/minloc1_8_r4.c: Regenerate.
+ * generated/sum_c8.c: Regenerate.
+ * generated/count_8_l16.c: Regenerate.
+ * generated/minloc1_16_i2.c: Regenerate.
+ * generated/maxloc1_16_i2.c: Regenerate.
+ * generated/in_pack_i8.c: Regenerate.
+ * generated/transpose_r16.c: Regenerate.
+ * generated/maxval_i16.c: Regenerate.
+ * generated/exponent_r8.c: Regenerate.
+ * generated/matmul_i16.c: Regenerate.
+ * generated/count_4_l8.c: Regenerate.
+ * generated/pow_c8_i16.c: Regenerate.
+ * generated/maxval_i1.c: Regenerate.
+ * generated/minloc1_4_i4.c: Regenerate.
+ * generated/minloc1_8_i2.c: Regenerate.
+ * generated/pow_c10_i16.c: Regenerate.
+ * generated/product_c16.c: Regenerate.
+ * generated/reshape_r4.c: Regenerate.
+ * generated/in_unpack_c8.c: Regenerate.
+ * generated/minloc0_8_r8.c: Regenerate.
+ * generated/matmul_l8.c: Regenerate.
+ * generated/product_r10.c: Regenerate.
+ * generated/set_exponent_r16.c: Regenerate.
+ * generated/cshift1_16.c: Regenerate.
+ * generated/product_i1.c: Regenerate.
+ * generated/all_l8.c: Regenerate.
+ * generated/maxloc0_4_i1.c: Regenerate.
+ * generated/rrspacing_r16.c: Regenerate.
+ * generated/minloc0_4_i8.c: Regenerate.
+ * generated/pow_r4_i16.c: Regenerate.
+ * generated/count_16_l4.c: Regenerate.
+ * generated/maxval_r4.c: Regenerate.
+
+2007-08-30 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/33225
+ * io/write.c: Revert changes from patch of 2007-08-27.
+ * io/write_float.def: Remove file, reverting addition.
+
+2007-08-29 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ * runtime/memory.c (internal_realloc, allocate, allocate_array,
+ deallocate): Remove functions.
+ * gfortran.map (_gfortran_allocate, _gfortran_allocate_array,
+ _gfortran_deallocate, _gfortran_internal_realloc): Remove symbols.
+ * libgfortran.h (error_codes): Add comment.
+
+2007-08-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/33055
+ Revert previous patch.
+
+2007-08-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ * io/write.c (stdbool.h): Add include. (sign_t): Move typedef to
+ new file write_float.def. Include write_float.def.
+ (extract_real): Delete. (calculate_sign): Delete.
+ (calculate_exp): Delete. (calculate_G_format): Delete.
+ (output_float): Delete. (write_float): Delete.
+ * io/write_float.def (calculate_sign): Added.
+ (output_float): Refactored to be independent of kind and added to this
+ file for inclusion. (write_infnan): New function to write "Infinite"
+ or "NaN" depending on flags passed, independent of kind.
+ (CALCULATE_EXP): New macro to build kind specific functions. Use it.
+ (OUTPUT_FLOAT_FMT_G): New macro, likewise. Use it.
+ (DTOA, DTOAL): Macros to implement "decimal to ascii".
+ (WRITE_FLOAT): New macro for kind specific write_float functions.
+ (write_float): Revised function to determine kind and use WRITE_FLOAT
+ to implement kind specific output.
+
+2007-08-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/33055
+ * io/inquire.c (inquire_via_unit): If inquiring by unit, check for
+ an error condition from the IOSTAT variable and set EXIST to false if
+ there was a bad unit number.
+
+2007-08-24 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR fortran/32972
+ * libgfortran.h: Remove GFOR_POINTER_L8_TO_L4 macro.
+ Add GFOR_POINTER_TO_L1 macro.
+ * m4/iforeach.m4(`m'name`'rtype_qual`_'atype_code):
+ Change argument 'mask' to gfc_array_l1. Adjust prototype.
+ Change mask pointer to GFC_LOGICAL_1. Multiply strides
+ by kind of mask
+ * m4/ifunction.m4: Likewise.
+ * intrinsics/pack_generic.c(pack_internal): Likewise.
+ * intrinsics/unpack_generic.c(unpack_internal): Likewise.
+ * m4/matmull.m4: Switch to GFC_LOGICAL_1. Multiply strides by
+ kind of logical arguments a and b.
+ * generated/matmul_l16.c: Regenerated.
+ * generated/matmul_l4.c: Regenerated.
+ * generated/matmul_l8.c: Regenerated.
+ * generated/maxloc0_16_i1.c: Regenerated.
+ * generated/maxloc0_16_i16.c: Regenerated.
+ * generated/maxloc0_16_i2.c: Regenerated.
+ * generated/maxloc0_16_i4.c: Regenerated.
+ * generated/maxloc0_16_i8.c: Regenerated.
+ * generated/maxloc0_16_r10.c: Regenerated.
+ * generated/maxloc0_16_r16.c: Regenerated.
+ * generated/maxloc0_16_r4.c: Regenerated.
+ * generated/maxloc0_16_r8.c: Regenerated.
+ * generated/maxloc0_4_i1.c: Regenerated.
+ * generated/maxloc0_4_i16.c: Regenerated.
+ * generated/maxloc0_4_i2.c: Regenerated.
+ * generated/maxloc0_4_i4.c: Regenerated.
+ * generated/maxloc0_4_i8.c: Regenerated.
+ * generated/maxloc0_4_r10.c: Regenerated.
+ * generated/maxloc0_4_r16.c: Regenerated.
+ * generated/maxloc0_4_r4.c: Regenerated.
+ * generated/maxloc0_4_r8.c: Regenerated.
+ * generated/maxloc0_8_i1.c: Regenerated.
+ * generated/maxloc0_8_i16.c: Regenerated.
+ * generated/maxloc0_8_i2.c: Regenerated.
+ * generated/maxloc0_8_i4.c: Regenerated.
+ * generated/maxloc0_8_i8.c: Regenerated.
+ * generated/maxloc0_8_r10.c: Regenerated.
+ * generated/maxloc0_8_r16.c: Regenerated.
+ * generated/maxloc0_8_r4.c: Regenerated.
+ * generated/maxloc0_8_r8.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/minloc0_16_i1.c: Regenerated.
+ * generated/minloc0_16_i16.c: Regenerated.
+ * generated/minloc0_16_i2.c: Regenerated.
+ * generated/minloc0_16_i4.c: Regenerated.
+ * generated/minloc0_16_i8.c: Regenerated.
+ * generated/minloc0_16_r10.c: Regenerated.
+ * generated/minloc0_16_r16.c: Regenerated.
+ * generated/minloc0_16_r4.c: Regenerated.
+ * generated/minloc0_16_r8.c: Regenerated.
+ * generated/minloc0_4_i1.c: Regenerated.
+ * generated/minloc0_4_i16.c: Regenerated.
+ * generated/minloc0_4_i2.c: Regenerated.
+ * generated/minloc0_4_i4.c: Regenerated.
+ * generated/minloc0_4_i8.c: Regenerated.
+ * generated/minloc0_4_r10.c: Regenerated.
+ * generated/minloc0_4_r16.c: Regenerated.
+ * generated/minloc0_4_r4.c: Regenerated.
+ * generated/minloc0_4_r8.c: Regenerated.
+ * generated/minloc0_8_i1.c: Regenerated.
+ * generated/minloc0_8_i16.c: Regenerated.
+ * generated/minloc0_8_i2.c: Regenerated.
+ * generated/minloc0_8_i4.c: Regenerated.
+ * generated/minloc0_8_i8.c: Regenerated.
+ * generated/minloc0_8_r10.c: Regenerated.
+ * generated/minloc0_8_r16.c: Regenerated.
+ * generated/minloc0_8_r4.c: Regenerated.
+ * generated/minloc0_8_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.
+
+2007-08-23 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ PR libfortran/23138
+ * acinclude.m4 (LIBGFOR_CHECK_MINGW_SNPRINTF): New check.
+ * configure.ac: Use LIBGFOR_CHECK_MINGW_SNPRINTF.
+ * libgfortran.h: If HAVE_MINGW_SNPRINTF is true, use __mingw_snprintf
+ instead of snprintf.
+ * config.h.in: Regenerate.
+ * configure: Regenerate.
+
+2007-08-22 Bernhard Fischer <rep.dot.nop@gmail.com>
+
+ * libgfortran/Makefile.am (AM_CPPFLAGS): Commentary typo fix.
+
+2007-08-17 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ PR fortran/33079
+ * intrinsics/string_intrinsics.c (string_trim, string_minmax): Fix
+ the zero-length result case.
+
+2007-08-15 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ PR fortran/33077
+ * intrinsics/random.c (random_seed_i8): Fix code logic.
+
+2007-08-13 Danny Smith <dannysmit@users.sourceforge.net>
+
+ * acinclude.m4 (GTHREAD_USE_WEAK) Define to 0 for mingw32.
+ * configure: Regenerate.
+
+2007-08-12 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ PR fortran/30964
+ PR fortran/33054
+ * intrinsics/random.c (random_seed): Rename into random_seed_i4.
+ (random_seed_i8): New function.
+ * gfortran.map (GFORTRAN_1.0): Remove _gfortran_random_seed,
+ add _gfortran_random_seed_i4 and _gfortran_random_seed_i8.
+ * libgfortran.h (iexport_proto): Replace random_seed by
+ random_seed_i4 and random_seed_i8.
+ * runtime/main.c (init): Call the new random_seed_i4.
+
+2007-08-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+ Tobias Burnus <burnus@gcc.gnu.org>
+
+ PR fortran/31189
+ * runtime/backtrace.c (show_backtrace): Skip _gfortrani_handler
+ when displaying backtrace.
+ * runtime/compile_options.c: Include <signal.h>.
+ (handler): New function.
+ (set_options): Set signal handlers for backtrace.
+ * libgfortran.h (handler): Add prototype.
+
+2007-08-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ * intrinsics/string_intrinsics.c (compare_string): Return an int.
+ * libgfortran.h (compare_string): Likewise.
+
+2007-08-10 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ PR fortran/31270
+ * runtime/error.c (runtime_error_at): Add a variable number of
+ arguments.
+ * libgfortran.h (runtime_error_at): Update prototype.
+
+2007-08-10 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ PR fortran/32933
+ * intrinsics/associated.c: Change return type of associated into
+ a C int.
+
+2007-08-10 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/33039
+ * io/list_read.c (find_nml_name): Check for a space after a namelist
+ name match.
+
+2007-08-09 Tobias Burnus <burnus@net-b.de>
+
+ PR fortran/32987
+ * io/format.c (next_char): Treat '\t' as ' ' in format specification.
+
+2007-08-06 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ PR fortran/30947
+ * intrinsics/signal.c: Create specific versions of alarm_sub and
+ alarm_sub_int according to the integer kind of the last argument.
+ * gfortran.map (GFORTRAN_1.0): Remove _gfortran_alarm_sub and
+ _gfortran_alarm_sub_int, add _gfortran_alarm_sub_i4,
+ _gfortran_alarm_sub_i8, _gfortran_alarm_sub_int_i4 and
+ _gfortran_alarm_sub_int_i8.
+
+2007-08-06 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ PR fortran/29828
+ * intrinsics/string_intrinsics.c (string_minmax): New function
+ and prototype.
+ * gfortran.map (GFORTRAN_1.0): Add _gfortran_string_minmax
+
+2007-08-05 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ PR fortran/31202
+ * intrinsics/c99_functions.c (roundl): Provide fallback
+ implementation for systems without ceill.
+ * c99_protos.h (roundl): Define prototype in all cases.
+
+2007-08-03 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR libfortran/32977
+ * io/unix.c: If there is no vsnprintf, use vsprintf and issue
+ a fatal error when a buffer overrun occurs.
+
+2007-08-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ PR fortran/31202
+ * intrinsics/c99_functions.c (roundl,lroundf,lround,lroundl,
+ llroundf,llround,llroundl): New functions.
+ * c99_protos.h (roundl,lroundf,lround,lroundl,llroundf,llround,
+ llroundl): New prototypes.
+ * configure.ac: Check for lroundf, lround, lroundl, llroundf,
+ llround and llroundl.
+ * configure: Regenerate.
+ * Makefile.in: Regenerate.
+ * config.h.in: Regenerate.
+
+2007-07-30 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ * libgfortran.h: Include <stdarg.h>.
+
+2007-07-29 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR libfortran/32858
+ PR libfortran/30814
+ * configure.ac: Added checks for presence of stdio.h and
+ stdarg.h. Test presence of vsnprintf().
+ * configure: Regenerated.
+ * config.h.in: Regenerated.
+ * libgfortran.h: Include <stdio.h>. Add printf attribute to
+ prototype of runtime_error. Remove prototype for st_sprintf.
+ Add prototype for st_vprintf.
+ * runtime/main.c (store_exec_path): Replace st_sprintf by sprintf.
+ * runtime/error.c (st_sprintf): Remove.
+ (runtime_error): Rewrite as a variadic function. Call
+ st_vprintf().
+ * intrinsics/pack_generic.c: Output extents of LHS and RHS for
+ bounds error.
+ * io/open.c (new_unit): Replace st_sprintf by sprintf.
+ * io/list_read.c (convert_integer): Likewise.
+ (parse_repeat): Likewise.
+ (read_logical): Likewise.
+ (read_character): Likewise.
+ (parse_real): Likewise.
+ (read_real): Likewise.
+ (check_type): Likewise.
+ (nml_parse_qualifyer): Likewise.
+ (nml_read_obj): Likewise.
+ (nml_get_ojb_data): Likewise.
+ * io/unix.c (init_error_stream): Remove.
+ (tempfile): Replace st_sprintf by sprintf.
+ (st_vprintf): New function.
+ (st_printf): Rewrite to call st_vprintf.
+ * io/transfer.c (require_type): Replace st_sprintf by sprintf.
+ * io/format.c (format_error): Likewise.
+ * io/write.c (nml_write_obj): Likewise.
+
+2007-07-27 Janne Blomqvist <jb@gcc.gnu.org>
+
+ * io/transfer.c (st_set_nml_var_dim): Use index_type instead of
+ GFC_INTEGER_4 for array descriptor triplets.
+
+2007-07-27 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ * io/unix.c (stream_ttyname): Mark argument as potentialy unused.
+
+2007-07-27 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ PR fortran/32035
+ * runtime/select.c (select_string): Adjust prototype and function
+ so that the return value is an integer, not a pointer.
+
+2007-07-24 Tobias Burnus <burnus@net-b.de>
+
+ * libgfortran.h: Add bounds_check to compile_options_t.
+
+2007-07-24 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR fortran/30814
+ * libgfortran.h: Add bounds_check to compile_options_t.
+ * runtime/compile_options.c (set_options): Add handling
+ of compile_options.bounds_check.
+ * intrinsics/pack_generic.c (pack_internal): Also determine
+ the number of elements if compile_options.bounds_check is
+ true. Raise runtime error if a different array shape is
+ detected.
+
+2007-07-23 Christopher D. Rickett <crickett@lanl.gov>
+
+ PR fortran/32600
+ * intrinsics/iso_c_binding.c (c_funloc): Remove.
+ * intrinsics/iso_c_binding.h: Remove c_funloc.
+ * gfortran.map: Ditto.
+
+2007-07-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ * io/read.c (convert_real): Generate error only on EINVAL.
+
+2007-07-21 Christopher D. Rickett <crickett@lanl.gov>
+
+ PR fortran/32627
+ * libgfortran/intrinsics/iso_c_generated_procs.c: Add c_f_pointer
+ for character/string arguments.
+ * libgfortran/intrinsic/iso_c_binding.c (c_f_pointer_u0): Allow
+ the optional SHAPE arg to be any valid integer kind.
+ * libgfortran/gfortran.map: Add c_f_pointer_s0.
+ * libgfortran/mk-kinds-h.sh: Save smallest integer kind as default
+ character kind.
+ * libgfortran/intrinsics/iso_c_generated_procs.c: Add versions of
+ c_f_pointer for complex and logical types.
+ * libgfortran/gfortran.map: Add c_f_pointer versions for logical
+ and complex types.
+
+2007-07-19 Christopher D. Rickett <crickett@lanl.gov>
+
+ PR fortran/32600
+ * libgfortran/intrinsics/iso_c_binding.c: Remove C_LOC.
+ * libgfortran/intrinsics/iso_c_binding.h: Ditto.
+ * libgfortran/gfortran.map: Ditto.
+
+2007-07-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+ Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ PR fortran/32611
+ * runtime/compile_options.c (set_std): Remove.
+ (set_options): New function.
+ (init_compile_options): Add initialization for -fsign-zero option.
+ * gfortran.map (GFORTRAN_1.0): Rename _gfortran_set_std into
+ _gfortran_set_options.
+ * libgfortran.h (compile_options_t): Add sign_zero field.
+ * io/write.c (output_float): Use the sign bit of the value to determine
+ if a negative sign should be emitted for zero values. Do not emit the
+ negative sign for zero if -fno-sign-zero was set during compile.
+
+2007-07-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libgfortran/32752
+ * io/unix.c (unix_stream): Move buffer pointer adjacent to
+ small_buffer.
+ * io/transfer.c (formatted_transfer_scalar): If stream I/O, set
+ bytes_used to zero. Fix off by one error in calculation of pos and
+ skips. Eliminate duplicate pending_spaces check.
+
+2007-07-15 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ PR fortran/32357
+ * intrinsics/mvbits.c: Change prototype so that FROMPOS, LEN and
+ TOPOS arguments are C int.
+
+2007-07-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libgfortran/32702
+ * io/unix.c (unix_stream): Restore buffer pointer and small_buffer.
+ (fd_alloc): If the number of bytes needed is greater than the default
+ BUFFER_SIZE, allocate a new buffer large enough. Free the old buffer
+ if necessary. (fd_sfree): Restore use of buffer pointer.
+ (fd_close): Likewise. (fd_open): Likewise.
+ (init_error_stream): Likewise.
+
+2007-07-09 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR libfortran/32336
+ * m4/matmul.m4: When the dimension of b is incorrect,
+ raise a runtime error instead of a failed assertion.
+ * generated/matmul_i1.c: Regenerated.
+ * generated/matmul_i2.c: Regenerated.
+ * generated/matmul_i4.c: Regenerated.
+ * generated/matmul_i8.c: Regenerated.
+ * generated/matmul_i16.c: Regenerated.
+ * generated/matmul_r4.c: Regenerated.
+ * generated/matmul_r8.c: Regenerated.
+ * generated/matmul_r10.c: Regenerated.
+ * generated/matmul_r16.c: Regenerated.
+
+2007-07-08 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libgfortran/32678
+ * io/transfer.c (formatted_transfer_scalar): Don't allow
+ pending_spaces to go negative.
+
+2007-07-08 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR libfortran/32217
+ * intrinsics/unpack_generic.c: If the destination array is
+ empty, return early.
+
+2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
+
+ * aclocal.m4: Regenerated.
+
+2007-07-04 David Edelsohn <edelsohn@gnu.org>
+
+ * configure.ac: SUBST CFLAGS.
+ * configure: Regenerate.
+
+2007-07-03 Janne Blomqvist <jb@gcc.gnu.org>
+
+ * libgfortran.h: Mark internal_malloc_size as a malloc function.
+ * runtime/memory.c (internal_realloc_size): Remove.
+ (internal_realloc): Call realloc directly instead of
+ internal_realloc_size.
+ (allocate_size): Remove.
+ (allocate): Call malloc directly instead of allocate_size, mark as
+ malloc function.
+
+2007-07-02 Steven G. Kargl <kargl@gcc.gnu.org>
+
+ Restore collateral damage from ISO C Binding merge.
+
+2007-06-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libgfortran/32456
+ * io/unit.c (filename_from_unit): Don't use find_unit, instead search
+ for unit directly.
+
+2007-07-02 Steven G. Kargl <kargl@gcc.gnu.org>
+
+ * Makefile.in: Regenerated with automake 1.9.6.
+
+2007-07-02 Steven G. Kargl <kargl@gcc.gnu.org>
+
+ * Makefile.in: Remove extraneous kill.lo rule.
+
+2007-07-02 Janne Blomqvist <jb@gcc.gnu.org>
+
+ PR fortran/32239
+ * generated/pow_r*_i4.c: Removed.
+
+2007-07-01 Christopher D. Rickett <crickett@lanl.gov>
+
+ * Makefile.in: Add support for iso_c_generated_procs.c and
+ iso_c_binding.c.
+ * Makefile.am: Ditto.
+ * intrinsics/iso_c_generated_procs.c: New file containing helper
+ functions.
+ * intrinsics/iso_c_binding.c: Ditto.
+ * intrinsics/iso_c_binding.h: New file
+ * gfortran.map: Include the __iso_c_binding_c_* functions.
+ * libgfortran.h: define GFC_NUM_RANK_BITS.
+
+2007-07-01 Janne Blomqvist <jb@gcc.gnu.org>
+
+ PR fortran/32239
+ * Makefile.am: Don't generate real**int4 pow functions.
+ * gfortran.map: Remove real**int4 pow symbols.
+ * Makefile.in: Regenerated.
+
+2007-07-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libgfortran/32554
+ * io/write.c (output_float): Set edigits to a fixed size, avoiding
+ variation in field width calculation and eliminate buffer overrun.
+
+2007-07-01 Janne Blomqvist <jb@gcc.gnu.org>
+
+ * runtime/memory.c (internal_realloc): Use index_type for size
+ argument instead of GFC_INTEGER_4.
+ (allocate_array): Likewise.
+ (allocate): Likewise, add ifdef around unnecessary check.
+ (internal_reallo64): Remove.
+ (allocate_array64): Remove.
+ (allocate64): Remove.
+ * gfortran.map: Remove symbols for 64-bit allocation functions.
+
+2007-06-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libgfortran/32456
+ * io/unit.c (filename_from_unit): Don't use find_unit, instead search
+ for unit directly.
+
+2007-06-24 Adam Nemet <anemet@caviumnetworks.com>
+
+ PR libfortran/32495
+ * runtime/backtrace.c (local_strcasestr): Rename from strcasestr.
+ (show_backtrace): Rename strcasestr to local_strcasestr.
+
+2007-06-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libgfortran/32456
+ * runtime/error.c (show_locus): Update to emit the unit number
+ and file name involved with the error. Use new function
+ filename_from_unit.
+ * libgfortran.h (filename_from_unit): Declare new function.
+ * io/unit.c (init_units): Set the unit file name for stdin, stdout,
+ and stderr for use later in error reporting.
+ (filename_from_unit): Add this new function.
+
+2007-06-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libgfortran/32446
+ * io/write.c (output_float): Calculate ndigits correctly for large
+ numbered formats that must pad zeros before the decimal point.
+
+2007-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
+
+ PR libfortran/32345
+ * runtime/backtrace.c (show_backtrace): Only use snprintf if
+ available.
+
+2007-06-10 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libgfortran/32235
+ * io/transfer.c (st_read): Remove test for end of file condition.
+ (next_record_r): Add test for end of file condition.
+
+2007-06-02 Paolo Bonzini <bonzini@gnu.org>
+
+ * configure: Regenerate.
+
+2007-05-28 Tobias Burnus <burnus@net-b.de>
+
+ PR fortran/32124
+ * runtime/memory.c (allocate_size): Use ERROR_ALLOCATION.
+ (allocate,allocate64): Use stat variable if present.
+
+2007-05-27 Janne Blomqvist <jb@gcc.gnu.org>
+
+ * runtime/string.c (compare0): Use gfc_charlen_type instead of
+ int.
+ (fstrlen): Likewise.
+ (find_option): Likewise.
+ (fstrcpy): Use gfc_charlen_type instead of int, return length.
+ (cf_strcpy): Likewise.
+ * libgfortran.h: Change string prototypes to use gfc_charlen_type.
+ * io/open.c (new_unit): Use snprintf if available.
+ * io/list_read.c (nml_touch_nodes): Use memcpy instead of
+ strcpy/strcat.
+ (nml_read_obj): Likewise.
+ * io/transfer.c (st_set_nml_var): Likewise.
+ * io/write.c (output_float): Use snprintf if available.
+ (nml_write_obj) Use memcpy instead of strcpy/strcat.
+
+2007-05-26 Janne Blomqvist <jb@gcc.gnu.org>
+
+ * io/unix.c (unix_stream): Rearrange struct members, remove
+ small_buffer.
+ (int_stream): New struct.
+ (fd_alloc): Always use existing buffer, never reallocate.
+ (fd_sfree): Remove check for buffer != small_buffer.
+ (fd_close): Likewise.
+ (mem_alloc_r_at): Change to use int_stream.
+ (mem_alloc_w_at): Likewise.
+ (mem_read): Likewise.
+ (mem_write): Likewise.
+ (mem_set): Likewise.
+ (mem_truncate): Likewise.
+ (mem_close): Likewise.
+ (mem_sfree): Likewise.
+ (empty_internal_buffer): Likewise.
+ (open_internal): Likewise.
+
+2007-05-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ * io/transfer.c (unformatted_read): Use size from front end
+ eliminating use of size_from_real_kind.
+ (unformatted_write): Ditto.
+
+2007-05-23 Steve Ellcey <sje@cup.hp.com>
+
+ * Makefile.in: Regenerate.
+ * configure: Regenerate.
+ * aclocal.m4: Regenerate.
+
+2007-05-22 Tobias Burnus <burnus@net-b.de>
+
+ * libgfortran.h: Mark stop_numeric as noreturn.
+
+2007-05-22 Tobias Burnus <burnus@net-b.de>
+
+ PR libgfortran/31295
+ * intrinsics/eoshift0.c (eoshift0): Silence uninitialized warning.
+ * intrinsics/eoshift2.c (eoshift2): Ditto.
+
+2007-05-18 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/31964
+ * intrinsics/ishftc.c (ishftc4, ishftc8, ishftc16): Fix mask to handle
+ shift of bit-size number of bits.
+
+2007-05-17 Tobias Burnus <burnus@net-b.de>
+
+ PR fortran/31917
+ * runtime/environ.c (mark_range): Fix setting default convert unit.
+
+2007-05-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/31922
+ * intrinsics/string_intrinsics.c (string_trim): Set result to null if
+ string length is zero.
+
+2007-05-15 Tobias Burnus <burnus@net-b.de>
+
+ PR libfortran/31915
+ * io/transfer.c (unformatted_read): Use proper size for real(10).
+ (unformatted_write): Ditto.
+
+2007-05-14 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ PR fortran/30723
+ * runtime/memory.c (internal_malloc, internal_malloc64,
+ internal_free): Remove.
+ * runtime/error.c (os_error): Export function.
+ * intrinsics/move_alloc.c: Include stdlib.h.
+ (move_alloc): Call free instead of internal_free.
+ (move_alloc_c): Wrap long lines.
+ * libgfortran.h (os_error): Export prototype.
+ (internal_free): Remove prototype.
+ * gfortran.map (GFORTRAN_1.0): Remove _gfortran_internal_free,
+ _gfortran_internal_malloc and _gfortran_internal_malloc64.
+ Add _gfortran_os_error.
+
+2007-05-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/31880
+ * io/unix.c (fd_alloc_r_at): Fix calculation of physical offset.
+
+2007-05-07 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ PR libfortran/31607
+ * intrinsics/system.c (system_sub): Call flush_all_units.
+ * io/io.h (flush_all_units): Move prototype to libgfortran.h.
+ * libgfortran.h (flush_all_units): Add prototype.
+
+2007-05-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/31201
+ * runtime/error.c (runtime_error_at): New function.
+ (generate_error): Export this function.
+ * gfortran.map: Add _gfortran_generate_error and
+ _gfortran_runtime_error_at.
+ * libgfortran.h: Add comment to reference error codes in front end.
+ (library_start): Locate prototype with library_end macro and add
+ a new comment. Add prototype for runtime_error_at. Export prototype
+ for generate_error.
+ * io/lock.c (library_start): Fix check for error condition.
+ * io/transfer.c (data_transfer_init): Add library check.
+
+2007-05-04 Daniel Franke <franke.daniel@gmail.com>
+
+ PR fortran/22359
+ * io/intrinsics.c (fseek_sub): New.
+ * io/unix.c (fd_fseek): Change logical and physical offsets only
+ if seek succeeds.
+ * gfortran.map (fseek_sub): New.
+
+2007-05-04 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ PR libfortran/31210
+ * io/transfer.c (transfer_character): Avoid passing a NULL
+ pointer as source to the transfer routines, if the string length
+ is zero.
+
+2007-04-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/31501
+ * io/list_read.c (next_char): Fix whitespace.
+ * io/io.h: Remove prototypes and define macros for is_array_io,
+ is_stream_io, and is_internal_unit.
+ * io/unit.c (is_array_io), (is_internal_unit), (is_stream_io): Delete
+ these functions.
+ * io/transfer.c (read_sf): Change handling of internal_unit to make a
+ single call to salloc_r and use memcpy to transfer the data.
+
+2007-04-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/31532
+ * io/file_pos.c (st_backspace): Set flags.position for end of file
+ condition and use new function update_position.
+ (st_endfile): Use new function update_position.
+ * io/io.h: Add prototype for new function.
+ * io/inquire.c (inquire_via_unit): If not direct access, set NEXTREC
+ to zero.
+ * io/unit.c (update_position): New function to update position info
+ used by inquire.
+ * io/transfer.c (next_record): Fix typo and use new function.
+
+2007-04-25 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ PR libfortran/31299
+ * intrinsics/getlog.c: Use getpwuid and geteuid instead of
+ getlogin if they are available.
+ * configure.ac: Add checks for getpwuid and geteuid.
+ * configure: Regenerate.
+ * config.h.in: Regenerate.
+
+2007-04-25 Janne Blomqvist <jb@gcc.gnu.org>
+
+ * configure: Regenerate using autoconf 2.59.
+ * Makefile.in: Likewise.
+ * config.h.in: Likewise.
+
+2007-04-24 Janne Blomqvist <jb@gcc.gnu.org>
+
+ PR libfortran/27740
+ * configure.ac: New test to determine if symbol versioning is
+ supported.
+ * Makefile.am: Use result of above test to add appropriate linker
+ flags.
+ * gfortran.map: New file.
+ * configure: Regenerated.
+ * Makefile.in: Regenerated.
+ * config.h.in: Regenerated.
+
+2007-04-23 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR fortran/31618
+ * io/transfer.c (read_block_direct): Instead of calling us_read,
+ set dtp->u.p.current_unit->current_record = 0 so that pre_position
+ will read the record marker.
+ (data_transfer_init): For different error conditions, call
+ generate_error, then return.
+
+2007-04-19 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ * runtime/main.c (please_free_exe_path_when_done): New variable.
+ (store_exe_path): Initialize character buffer, and mark whether
+ exe_path should be free'd by the library destructor function.
+ (cleanup): Only free exe_path if needed.
+
+2007-04-18 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+ Tobias Burnus <burnus@net-b.de>
+
+ PR libfortran/31286
+ PR libfortran/31296
+ * intrinsics/cshift0.c (cshift0): Initialize sstride[0] and rstride[0].
+ * intrinsics/unpack_generic.c (unpack0, unpack0_char): Zero the
+ array structures we pass to unpack_internal.
+
+2007-04-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ * io/open.c (test_endfile): Revert changes for 31052, restoring this
+ function.
+
+2007-04-14 Steve Ellcey <sje@cup.hp.com>
+
+ * Makefile.am: Add -I .. to ACLOCAL_AMFLAGS. Add libgfortran_la_LINK.
+ * Makefile.in: Regenerate.
+
+2007-04-11 Kai Tietz <kai.tietz@onevision.com>
+
+ * configure: Regenerate.
+
+2007-04-06 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ * intrinsics/cpu_time.c: Don't include headers already included
+ by libgfortran.h. Protect inclusion of sys/times.h.
+ * configure.ac: Remove unneeded checks for finit, stdio.h,
+ stddef.h, math.h and sys/params.h.
+ * config/fpu-aix.h: Don't include headers already included by
+ libgfortran.h.
+ * config/fpu-sysv.h: Likewise.
+ * io/write.c: Likewise.
+ * m4/minloc1.m4: Likewise.
+ * m4/maxloc1.m4: Likewise.
+ * m4/fraction.m4: Likewise.
+ * m4/set_exponent.m4: Likewise.
+ * m4/spacing.m4: Likewise.
+ * m4/minval.m4: Likewise.
+ * m4/maxval.m4: Likewise.
+ * m4/exponent.m4: Likewise.
+ * m4/nearest.m4: Likewise.
+ * m4/minloc0.m4: Likewise.
+ * m4/maxloc0.m4: Likewise.
+ * m4/rrspacing.m4: Likewise.
+ * runtime/main.c: Likewise.
+ * runtime/error.c: Likewise.
+ * intrinsics/system_clock.c: Likewise.
+ * intrinsics/etime.c: Likewise.
+ * intrinsics/stat.c: Likewise.
+ * intrinsics/date_and_time.c: Likewise.
+ * intrinsics/env.c: Likewise.
+ * intrinsics/kill.c: Likewise.
+ * intrinsics/getXid.c: Likewise.
+ * intrinsics/chmod.c: Likewise.
+ * intrinsics/args.c: Likewise.
+ * intrinsics/c99_functions.c: Likewise.
+ * generated/minval_r8.c: Regenerate.
+ * generated/maxloc1_4_r8.c: Regenerate.
+ * generated/minloc1_16_r16.c: Regenerate.
+ * generated/maxval_i2.c: Regenerate.
+ * generated/maxloc1_8_i4.c: Regenerate.
+ * generated/exponent_r16.c: Regenerate.
+ * generated/maxloc0_4_r4.c: Regenerate.
+ * generated/fraction_r16.c: Regenerate.
+ * generated/fraction_r4.c: Regenerate.
+ * generated/minloc0_4_r16.c: Regenerate.
+ * generated/minloc0_4_i1.c: Regenerate.
+ * generated/maxloc0_4_r16.c: Regenerate.
+ * generated/maxloc0_4_i2.c: Regenerate.
+ * generated/minloc1_8_r16.c: Regenerate.
+ * generated/maxloc1_8_r16.c: Regenerate.
+ * generated/set_exponent_r8.c: Regenerate.
+ * generated/maxloc0_8_i8.c: Regenerate.
+ * generated/minloc1_4_r8.c: Regenerate.
+ * generated/maxloc1_16_r16.c: Regenerate.
+ * generated/minloc1_16_i4.c: Regenerate.
+ * generated/maxloc1_16_i4.c: Regenerate.
+ * generated/minloc0_16_i8.c: Regenerate.
+ * generated/maxloc0_16_i8.c: Regenerate.
+ * generated/nearest_r8.c: Regenerate.
+ * generated/spacing_r16.c: Regenerate.
+ * generated/maxval_r16.c: Regenerate.
+ * generated/minloc1_8_i4.c: Regenerate.
+ * generated/minloc0_16_i16.c: Regenerate.
+ * generated/minloc0_4_r4.c: Regenerate.
+ * generated/set_exponent_r10.c: Regenerate.
+ * generated/rrspacing_r10.c: Regenerate.
+ * generated/minloc0_4_i2.c: Regenerate.
+ * generated/maxloc0_8_i1.c: Regenerate.
+ * generated/minloc0_8_i8.c: Regenerate.
+ * generated/spacing_r4.c: Regenerate.
+ * generated/minloc1_16_r10.c: Regenerate.
+ * generated/minloc0_16_i1.c: Regenerate.
+ * generated/maxloc0_16_i1.c: Regenerate.
+ * generated/maxloc1_8_r8.c: Regenerate.
+ * generated/minval_i16.c: Regenerate.
+ * generated/exponent_r10.c: Regenerate.
+ * generated/maxval_i4.c: Regenerate.
+ * generated/minval_i8.c: Regenerate.
+ * generated/maxloc1_4_i8.c: Regenerate.
+ * generated/fraction_r10.c: Regenerate.
+ * generated/maxloc0_16_i16.c: Regenerate.
+ * generated/maxloc0_8_r4.c: Regenerate.
+ * generated/rrspacing_r8.c: Regenerate.
+ * generated/minloc1_4_i16.c: Regenerate.
+ * generated/minloc0_4_r10.c: Regenerate.
+ * generated/maxloc1_4_i16.c: Regenerate.
+ * generated/minloc0_8_i16.c: Regenerate.
+ * generated/maxloc0_4_r10.c: Regenerate.
+ * generated/maxloc0_8_i16.c: Regenerate.
+ * generated/minloc1_8_r10.c: Regenerate.
+ * generated/minloc0_16_r4.c: Regenerate.
+ * generated/maxloc1_8_r10.c: Regenerate.
+ * generated/maxloc0_16_r4.c: Regenerate.
+ * generated/minloc1_16_r8.c: Regenerate.
+ * generated/minloc0_8_i1.c: Regenerate.
+ * generated/maxloc0_4_i4.c: Regenerate.
+ * generated/maxloc1_16_r8.c: Regenerate.
+ * generated/maxloc0_8_i2.c: Regenerate.
+ * generated/nearest_r16.c: Regenerate.
+ * generated/maxloc1_16_r10.c: Regenerate.
+ * generated/minloc0_16_i2.c: Regenerate.
+ * generated/minloc1_8_r8.c: Regenerate.
+ * generated/maxloc0_16_i2.c: Regenerate.
+ * generated/exponent_r4.c: Regenerate.
+ * generated/spacing_r10.c: Regenerate.
+ * generated/maxval_r10.c: Regenerate.
+ * generated/minval_i1.c: Regenerate.
+ * generated/maxloc1_4_i1.c: Regenerate.
+ * generated/minloc1_4_i8.c: Regenerate.
+ * generated/minloc0_8_r4.c: Regenerate.
+ * generated/minloc0_16_r16.c: Regenerate.
+ * generated/minloc0_4_i4.c: Regenerate.
+ * generated/minloc0_8_i2.c: Regenerate.
+ * generated/minval_r4.c: Regenerate.
+ * generated/maxloc1_4_r4.c: Regenerate.
+ * generated/maxval_r8.c: Regenerate.
+ * generated/minval_r16.c: Regenerate.
+ * generated/minloc1_4_i1.c: Regenerate.
+ * generated/minval_i2.c: Regenerate.
+ * generated/maxloc1_4_i2.c: Regenerate.
+ * generated/maxloc1_8_i8.c: Regenerate.
+ * generated/maxloc0_4_r8.c: Regenerate.
+ * generated/maxloc0_16_r16.c: Regenerate.
+ * generated/minloc1_4_r16.c: Regenerate.
+ * generated/fraction_r8.c: Regenerate.
+ * generated/maxloc1_4_r16.c: Regenerate.
+ * generated/set_exponent_r4.c: Regenerate.
+ * generated/minloc0_8_r16.c: Regenerate.
+ * generated/maxloc0_8_r16.c: Regenerate.
+ * generated/nearest_r10.c: Regenerate.
+ * generated/maxloc0_8_i4.c: Regenerate.
+ * generated/minloc1_4_r4.c: Regenerate.
+ * generated/minloc0_16_i4.c: Regenerate.
+ * generated/maxloc0_16_i4.c: Regenerate.
+ * generated/nearest_r4.c: Regenerate.
+ * generated/minloc1_16_i8.c: Regenerate.
+ * generated/maxloc1_16_i8.c: Regenerate.
+ * generated/minloc1_4_i2.c: Regenerate.
+ * generated/maxloc1_8_i1.c: Regenerate.
+ * generated/minloc0_16_r10.c: Regenerate.
+ * generated/minloc1_8_i8.c: Regenerate.
+ * generated/minloc0_4_r8.c: Regenerate.
+ * generated/minloc0_8_i4.c: Regenerate.
+ * generated/minloc1_16_i16.c: Regenerate.
+ * generated/spacing_r8.c: Regenerate.
+ * generated/maxloc1_8_r4.c: Regenerate.
+ * generated/minloc1_16_i1.c: Regenerate.
+ * generated/maxloc1_16_i1.c: Regenerate.
+ * generated/minval_r10.c: Regenerate.
+ * generated/minval_i4.c: Regenerate.
+ * generated/minloc1_8_i1.c: Regenerate.
+ * generated/maxloc1_4_i4.c: Regenerate.
+ * generated/maxloc1_8_i2.c: Regenerate.
+ * generated/maxval_i8.c: Regenerate.
+ * generated/maxloc0_16_r10.c: Regenerate.
+ * generated/rrspacing_r4.c: Regenerate.
+ * generated/minloc0_4_i16.c: Regenerate.
+ * generated/maxloc0_8_r8.c: Regenerate.
+ * generated/maxloc0_4_i16.c: Regenerate.
+ * generated/minloc1_4_r10.c: Regenerate.
+ * generated/minloc1_8_i16.c: Regenerate.
+ * generated/maxloc1_4_r10.c: Regenerate.
+ * generated/minloc0_8_r10.c: Regenerate.
+ * generated/maxloc1_8_i16.c: Regenerate.
+ * generated/maxloc0_8_r10.c: Regenerate.
+ * generated/minloc1_16_r4.c: Regenerate.
+ * generated/maxloc1_16_r4.c: Regenerate.
+ * generated/minloc0_16_r8.c: Regenerate.
+ * generated/maxloc0_16_r8.c: Regenerate.
+ * generated/maxloc0_4_i8.c: Regenerate.
+ * generated/maxloc1_16_i16.c: Regenerate.
+ * generated/minloc1_8_r4.c: Regenerate.
+ * generated/minloc1_16_i2.c: Regenerate.
+ * generated/maxloc1_16_i2.c: Regenerate.
+ * generated/maxval_i16.c: Regenerate.
+ * generated/exponent_r8.c: Regenerate.
+ * generated/minloc1_4_i4.c: Regenerate.
+ * generated/maxval_i1.c: Regenerate.
+ * generated/minloc1_8_i2.c: Regenerate.
+ * generated/minloc0_8_r8.c: Regenerate.
+ * generated/set_exponent_r16.c: Regenerate.
+ * generated/maxloc0_4_i1.c: Regenerate.
+ * generated/rrspacing_r16.c: Regenerate.
+ * generated/minloc0_4_i8.c: Regenerate.
+ * generated/maxval_r4.c: Regenerate.
+ * configure: Regenerate.
+ * config.h.in: Regenerate.
+
+2007-04-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/31395
+ * io/format.c (parse_format_list): Fix parsing.
+
+2007-04-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ PR fortran/31304
+ intrinsics/string_intrinsics.c (string_repeat): Remove.
+
+2007-04-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/31052
+ * io/open.c (test_endfile): Delete this function.
+ (edit_modes): Delete call to test_endfile.
+ (new_unit): Likewise.
+ * io/io.h: Delete prototype for test_endfile.
+ * io/transfer.c (next_record_r): Remove use of test_endfile.
+ (st_read): Add test for end file condition and adjust status.
+
+2007-04-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/31366
+ * io/transfer.c (read_block_direct): Do not generate error when reading
+ past EOF on a short record that is less than the RECL= specified.
+
+2007-04-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/31207
+ * io/unit.c (close_unit_1): If there are bytes previously written from
+ ADVANCE="no", move to the end before closing.
+
+2007-03-31 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ PR libfortran/31335
+ * intrinsics/stat.c: Only provide STAT and FSTAT library routines
+ if stat() and fstat() library functions are available. When lstat()
+ is not available, use stat() instead.
+ * configure.ac: Add checks for stat, fstat and lstat.
+ * configure: Regenerate.
+ * config.h.in: Regenerate.
+
+2007-03-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/31052
+ * io/transfer.c (next_record_r): Do not call test_endfile if in
+ namelist mode.
+
+2007-03-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/31199
+ * io/io.h: Add saved_pos to gfc_unit structure.
+ * io/open.c (new_unit): Initialize saved_pos.
+ * io/transfer.c (data_transfer_init): Set max_pos to value in
+ saved_pos.
+ (next_record_w): Fix whitespace.
+ (finalze_transfer): Calculate max_pos for ADVANCE="no" and save it for
+ later use. If not ADVANCE="no" set saved_pos to zero.
+
+2007-03-25 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR libfortran/31196
+ * intrinsics/reshape_generic.c (reshape_internal): Increment
+ correct variable.
+
+2007-03-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/31052
+ * file_pos.c: Update Copyright year.
+ * io/open.c (test_endfile): Restore test_endfile to fix SPEC
+ regression. Update Copyright year.
+ * io/io.h: Same.
+ * io/unix.c (is_special): Add missing type for this function.
+ Update Copyright year.
+ * io/transfer.c (next_record_r): Restore test_endfile.
+ (st_read): Fix whitespace. Update Copyright year
+
+2007-03-20 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * configure.ac: Add missing check for gettimeofday.
+ * config.h.in: Renegerate.
+ * configure: Regenerate.
+
+2007-03-18 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/31052
+ * io/file_position (st_rewind): Fix comments. Remove use of
+ test_endfile. Don't seek if already at 0 position. Use new is_special
+ function to set endfile state.
+ * io/open.c (test_endfile): Delete this function.
+ * io/io.h: Delete prototype for test_endfile. Add prototype
+ for is_special.
+ * io/unix.c (is_special): New function. Fix whitespace.
+ * io/transfer.c (next_record_r): Remove use of test_endfile.
+
+2007-03-16 David Edelsohn <edelsohn@gnu.org>
+
+ * runtime/main.c: Include "config.h" first.
+
+2007-03-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/31099
+ * io/file_pos.c (st_rewind): Don't set bytes_left to zero.
+
+2007-03-15 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * runtime/backtrace.c: New file.
+ * runtime/environ.c (variable_table): New GFORTRAN_ERROR_BACKTRACE
+ environment variable.
+ * runtime/compile_options.c (set_std): Add new argument.
+ * runtime/main.c (store_exe_path, full_exe_path): New functions.
+ * runtime/error.c (sys_exit): Add call to show_backtrace.
+ * libgfortran.h (options_t): New backtrace field.
+ (store_exe_path, full_exe_path, show_backtrace): New prototypes.
+ * configure.ac: Add checks for execinfo.h, execvp, pipe, dup2,
+ close, fdopen, strcasestr, getrlimit, backtrace, backtrace_symbols
+ and getppid.
+ * Makefile.am: Add runtime/backtrace.c.
+ * fmain.c (main): Add call to store_exe_path.
+ * Makefile.in: Renegerate.
+ * config.h.in: Renegerate.
+ * configure: Regenerate.
+
+2007-03-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/31051
+ * io/transfer.c (formatted_transfer_scalar): Adjust position for
+ pending spaces when in writing mode. Clean up some formatting.
+
+2007-03-14 Thomas Koenig <Thomas.Koenig@online.de>
+
+ PR libfortran/30690
+ * all.m4: Quote everything, except for m4 macros.
+ * any.m4: Likewise.
+ * count.m4: Likewise.
+ * cshift1.m4: Likewise.
+ * eoshift1.m4: Likewise.
+ * eoshift3.m4: Likewise.
+ * exponent.m4: Likewise.
+ * fraction.m4: Likewise.
+ * in_pack.m4: Likewise.
+ * in_unpack.m4: Likewise.
+ * matmul.m4: Likewise.
+ * matmull.m4: Likewise.
+ * nearest.m4: Likewise.
+ * pow.m4: Likewise.
+ * product.m4: Likewise.
+ * reshape.m4: Likewise.
+ * rrspacing.m4: Likewise.
+ * set_exponent.m4: Likewise.
+ * shape.m4: Likewise.
+ * spacing.m4: Likewise.
+ * transpose.m4: Likewise.
+
+2007-03-14 Jakub Jelinek <jakub@redhat.com>
+
+ * io/unix.c (regular_file): For ACTION_UNSPECIFIED retry with
+ O_RDONLY even if errno is EROFS.
+
+2007-03-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/31099
+ * io/open.c (new_unit): Initialize bytes_left and recl_subrecord.
+ * io/transfer.c (next_record_w): Set bytes left to record length for
+ sequential unformatted I/O.
+ (next_record_r): Ditto.
+ (read_block_direct): Fix test for exceeding bytes_left.
+
+2007-03-08 Daniel Franke <franke.daniel@gmail.com>
+
+ PR fortran/30947
+ * intrinsics/signal.c (alarm_sub_int): Avoid SEGFAULT with
+ integer arguments.
+
+2007-03-04 Thomas Koenig <Thomas.Koenig@online.de>
+
+ PR libfortran/30981
+ * m4/pow_m4: Use appropriate unsigned int type for u.
+ * generated/pow_c10_i16.c: Regenerated.
+ * generated/pow_c10_i4.c: Regenerated.
+ * generated/pow_c10_i8.c: Regenerated.
+ * generated/pow_c16_i16.c: Regenerated.
+ * generated/pow_c16_i4.c: Regenerated.
+ * generated/pow_c16_i8.c: Regenerated.
+ * generated/pow_c4_i16.c: Regenerated.
+ * generated/pow_c4_i4.c: Regenerated.
+ * generated/pow_c4_i8.c: Regenerated.
+ * generated/pow_c8_i16.c: Regenerated.
+ * generated/pow_c8_i4.c: Regenerated.
+ * generated/pow_c8_i8.c: Regenerated.
+ * generated/pow_i16_i16.c: Regenerated.
+ * generated/pow_i16_i4.c: Regenerated.
+ * generated/pow_i16_i8.c: Regenerated.
+ * generated/pow_i4_i16.c: Regenerated.
+ * generated/pow_i4_i4.c: Regenerated.
+ * generated/pow_i4_i8.c: Regenerated.
+ * generated/pow_i8_i16.c: Regenerated.
+ * generated/pow_i8_i4.c: Regenerated.
+ * generated/pow_i8_i8.c: Regenerated.
+ * generated/pow_r10_i16.c: Regenerated.
+ * generated/pow_r10_i4.c: Regenerated.
+ * generated/pow_r10_i8.c: Regenerated.
+ * generated/pow_r16_i16.c: Regenerated.
+ * generated/pow_r16_i4.c: Regenerated.
+ * generated/pow_r16_i8.c: Regenerated.
+ * generated/pow_r4_i16.c: Regenerated.
+ * generated/pow_r4_i4.c: Regenerated.
+ * generated/pow_r4_i8.c: Regenerated.
+ * generated/pow_r8_i16.c: Regenerated.
+ * generated/pow_r8_i4.c: Regenerated.
+ * generated/pow_r8_i8.c: Regenerated.
+
+2007-03-03 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/31001
+ * intrinsics/pack_generic.c (pack_internal): Add special checks
+ for zero-sized arrays.
+
+2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
+
+ * Makefile.am: Add dummy install-pdf target.
+ * Makefile.in: Regenerate
+
+2007-02-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/30918
+ * io/listread.c (namelist_read): Eat comment line.
+
+2007-02-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/30910
+ * io/write.c (output_float): Add condition of format F only for
+ special case rounding with zero precision.
+
+2007-02-19 Thomas Koenig <Thomas.Koenig@online.de>
+
+ PR libfortran/30533
+ PR libfortran/30765
+ * Makefile.am: Add $(srcdir) too all files in generated/.
+ (i_maxloc0_c): Add maxloc0_4_i1.c, maxloc0_8_i1.c,
+ maxloc0_16_i1.c, maxloc0_4_i2.c, maxloc0_8_i2.c and
+ maxloc0_16_i2.c.
+ (i_maxloc1_c): Add maxloc1_4_i1.c, maxloc1_8_i1.c,
+ maxloc1_16_i1.c, maxloc1_4_i2.c, maxloc1_8_i2.c and
+ maxloc1_16_i2.c.
+ (i_maxval_c): Add maxval_i1.c and maxval_i2.c.
+ (i_minloc0_c): Add minloc0_4_i1.c, minloc0_8_i1.c,
+ minloc0_16_i1.c, minloc0_4_i2.c, minloc0_8_i2.c and
+ minloc0_16_i2.c.
+ (i_minloc_1.c): Add minloc1_4_i1.c, minloc1_8_i1.c,
+ minloc1_16_i1.c, minloc1_4_i2.c, minloc1_8_i2.c and
+ minloc1_16_i2.c.
+ (i_minval_c): Add minval_i1.c and minval_i2.c.
+ (i_sum_c): Add sum_i1.c and sum_i2.c.
+ (i_product_c): Add product_i1.c and product_i2.c.
+ (i_matmul_c): Add matmul_i1.c and matmul_i2.c.
+ (gfor_built_specific_src): Remove $(srcdir) from target.
+ (gfor_bulit_specific2_src): Likewise.
+ Makefile.in: Regenerated.
+ libgfortran.h: Add GFC_INTEGER_1_HUGE and GFC_INTEGER_2_HUGE.
+ Add gfc_array_i1 and gfc_array_i2.
+ * generated/matmul_i1.c: New file.
+ * generated/matmul_i2.c: New file.
+ * generated/maxloc0_16_i1.c: New file.
+ * generated/maxloc0_16_i2.c: New file.
+ * generated/maxloc0_4_i1.c: New file.
+ * generated/maxloc0_4_i2.c: New file.
+ * generated/maxloc0_8_i1.c: New file.
+ * generated/maxloc0_8_i2.c: New file.
+ * generated/maxloc1_16_i1.c: New file.
+ * generated/maxloc1_16_i2.c: New file.
+ * generated/maxloc1_4_i1.c: New file.
+ * generated/maxloc1_4_i2.c: New file.
+ * generated/maxloc1_8_i1.c: New file.
+ * generated/maxloc1_8_i2.c: New file.
+ * generated/maxval_i1.c: New file.
+ * generated/maxval_i2.c: New file.
+ * generated/minloc0_16_i1.c: New file.
+ * generated/minloc0_16_i2.c: New file.
+ * generated/minloc0_4_i1.c: New file.
+ * generated/minloc0_4_i2.c: New file.
+ * generated/minloc0_8_i1.c: New file.
+ * generated/minloc0_8_i2.c: New file.
+ * generated/minloc1_16_i1.c: New file.
+ * generated/minloc1_16_i2.c: New file.
+ * generated/minloc1_4_i1.c: New file.
+ * generated/minloc1_4_i2.c: New file.
+ * generated/minloc1_8_i1.c: New file.
+ * generated/minloc1_8_i2.c: New file.
+ * generated/minval_i1.c: New file.
+ * generated/minval_i2.c: New file.
+ * generated/product_i1.c: New file.
+ * generated/product_i2.c: New file.
+ * generated/sum_i1.c: New file.
+ * generated/sum_i2.c: New file.
+
+2007-02-16 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * runtime/memory.c (deallocate): Correct comment.
+
+2007-02-10 Thomas Koenig <Thomas.Koenig@online.de>
+
+ * Makefile.am: Use $(M4) instead of m4.
+ * Makefile.in: Regenerate.
+
+2007-02-10 Thomas Koenig <Thomas.Koenig@online.de>
+
+ * Makefile.am: Remove $(srcdir) from assorted targets
+ in maintainer mode.
+ * Makefile.in: Regenerate.
+
+2007-02-09 Thomas Koenig <Thomas.Koenig@online.de>
+ Tobias Burnus <burnus@net-b.de>
+
+ PR fortran/30512
+ * m4/iparm.m4: Use HUGE-1 for most negative integer.
+ * generated/maxloc1_8_i4.c: Regenerate.
+ * generated/maxloc0_8_i8.c: Regenerate.
+ * generated/maxloc1_16_i4.c: Regenerate.
+ * generated/maxloc0_16_i8.c: Regenerate.
+ * generated/maxval_i4.c: Regenerate.
+ * generated/maxloc1_4_i8.c: Regenerate.
+ * generated/maxloc0_16_i16.c: Regenerate.
+ * generated/maxloc1_4_i16.c: Regenerate.
+ * generated/maxloc0_8_i16.c: Regenerate.
+ * generated/maxloc0_4_i4.c: Regenerate.
+ * generated/maxloc1_8_i8.c: Regenerate.
+ * generated/maxloc0_8_i4.c: Regenerate.
+ * generated/maxloc0_16_i4.c: Regenerate.
+ * generated/maxloc1_16_i8.c: Regenerate.
+ * generated/maxloc1_4_i4.c: Regenerate.
+ * generated/maxval_i8.c: Regenerate.
+ * generated/maxloc0_4_i16.c: Regenerate.
+ * generated/maxloc1_8_i16.c: Regenerate.
+ * generated/maxloc0_4_i8.c: Regenerate.
+ * generated/maxloc1_16_i16.c: Regenerate.
+ * generated/maxval_i16.c: Regenerate.
+
+2007-02-04 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR fortran/30611
+ * intrinsics/string_intrinsics.c (string_repeat): Don't check
+ if ncopies is negative.
+
+2007-02-04 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/30007
+ * libgfortran.h: Do not prefix symbol name with
+ __USER_LABEL_PREFIX__ when used in __attribute__((__alias__(...))).
+
+2007-02-02 Paul Thomas <pault@gcc.gnu.org>
+
+ PR fortran/30284
+ PR fortran/30626
+ * io/transfer.c (init_loop_spec, next_array_record): Change to
+ lbound rather than unity base.
+
+2007-01-21 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * runtime/error.c: Include sys/time.h before sys/resource.h.
+
+2007-01-21 Thomas Koenig <Thomas.Koenig@online.de>
+
+ PR libfortran/30525
+ * intrinsics/string_intrinsics.c(compare_string): Make
+ sure that comparisons are done unsigned.
+
+2007-01-21 Tobias Burnus <burnus@net-b.de>
+
+ PR libfortran/30015
+ * intrinsics/date_and_time.c (date_and_time): Fix case where time
+ can go backwards.
+ * configure.ac: Remove AC_TRY_RUN test for timezone in
+ gettimeofday.
+ * acinclude.m4: Ditto.
+ * configure: Regenerate.
+ * config.h.in: Regenerate.
+
+2007-01-20 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ * m4/misc_specifics.m4: Add _gfortran prefix to specific names.
+ * m4/specific2.m4: Likewise.
+ * m4/specific.m4: Likewise.
+ * intrinsics/f2c_specifics.F90: Likewise.
+ * intrinsics/selected_int_kind.f90: Add _gfortran prefix.
+ * intrinsics/selected_real_kind.f90: Likewise.
+ * intrinsics/dprod_r8.f90: Likewise.
+ * Makefile.am: Add -fallow-leading-underscore to the
+ gfor_specific_src files, as well as selected_real_kind.F90
+ and selected_int_kind.F90
+ * Makefile.in: Regenerate.
+ * generated/_sqrt_c8.F90: Regenerate.
+ * generated/_sign_r16.F90: Regenerate.
+ * generated/_log_c16.F90: Regenerate.
+ * generated/_sin_c10.F90: Regenerate.
+ * generated/_tanh_r4.F90: Regenerate.
+ * generated/_tanh_r8.F90: Regenerate.
+ * generated/_log10_r10.F90: Regenerate.
+ * generated/_aimag_c4.F90: Regenerate.
+ * generated/_sign_r4.F90: Regenerate.
+ * generated/_aimag_c8.F90: Regenerate.
+ * generated/_sign_r8.F90: Regenerate.
+ * generated/_mod_i4.F90: Regenerate.
+ * generated/_cos_r16.F90: Regenerate.
+ * generated/_aint_r10.F90: Regenerate.
+ * generated/_mod_i8.F90: Regenerate.
+ * generated/_abs_i16.F90: Regenerate.
+ * generated/_sqrt_c10.F90: Regenerate.
+ * generated/_atan2_r4.F90: Regenerate.
+ * generated/_cos_c4.F90: Regenerate.
+ * generated/_atan_r16.F90: Regenerate.
+ * generated/_tanh_r10.F90: Regenerate.
+ * generated/_atan2_r8.F90: Regenerate.
+ * generated/_cos_c8.F90: Regenerate.
+ * generated/_exp_r4.F90: Regenerate.
+ * generated/_log_r10.F90: Regenerate.
+ * generated/_exp_r8.F90: Regenerate.
+ * generated/_abs_r4.F90: Regenerate.
+ * generated/_abs_r8.F90: Regenerate.
+ * generated/_sin_r16.F90: Regenerate.
+ * generated/_tan_r4.F90: Regenerate.
+ * generated/_tan_r8.F90: Regenerate.
+ * generated/_sign_i4.F90: Regenerate.
+ * generated/_sign_i8.F90: Regenerate.
+ * generated/_exp_c16.F90: Regenerate.
+ * generated/_sqrt_r16.F90: Regenerate.
+ * generated/_conjg_c4.F90: Regenerate.
+ * generated/_conjg_c8.F90: Regenerate.
+ * generated/_dim_r16.F90: Regenerate.
+ * generated/_mod_r10.F90: Regenerate.
+ * generated/_abs_c10.F90: Regenerate.
+ * generated/_conjg_c16.F90: Regenerate.
+ * generated/_tan_r16.F90: Regenerate.
+ * generated/_asinh_r10.F90: Regenerate.
+ * generated/_abs_i4.F90: Regenerate.
+ * generated/_abs_i8.F90: Regenerate.
+ * generated/_acos_r10.F90: Regenerate.
+ * generated/_exp_r10.F90: Regenerate.
+ * generated/_acosh_r16.F90: Regenerate.
+ * generated/_atan2_r16.F90: Regenerate.
+ * generated/_cos_c16.F90: Regenerate.
+ * generated/_mod_i16.F90: Regenerate.
+ * generated/_asin_r4.F90: Regenerate.
+ * generated/_anint_r16.F90: Regenerate.
+ * generated/_asin_r8.F90: Regenerate.
+ * generated/_aimag_c10.F90: Regenerate.
+ * generated/_exp_c4.F90: Regenerate.
+ * generated/_sinh_r10.F90: Regenerate.
+ * generated/_exp_c8.F90: Regenerate.
+ * generated/_log10_r4.F90: Regenerate.
+ * generated/_log10_r8.F90: Regenerate.
+ * generated/_abs_c4.F90: Regenerate.
+ * generated/_abs_r16.F90: Regenerate.
+ * generated/_abs_c8.F90: Regenerate.
+ * generated/_asin_r10.F90: Regenerate.
+ * generated/_sign_r10.F90: Regenerate.
+ * generated/_atanh_r16.F90: Regenerate.
+ * generated/_log_c10.F90: Regenerate.
+ * generated/_cosh_r16.F90: Regenerate.
+ * generated/_sin_c16.F90: Regenerate.
+ * generated/_cos_r10.F90: Regenerate.
+ * generated/_log10_r16.F90: Regenerate.
+ * generated/_aint_r16.F90: Regenerate.
+ * generated/_acos_r4.F90: Regenerate.
+ * generated/_acos_r8.F90: Regenerate.
+ * generated/_sqrt_c16.F90: Regenerate.
+ * generated/_acosh_r4.F90: Regenerate.
+ * generated/_atan_r10.F90: Regenerate.
+ * generated/_acosh_r8.F90: Regenerate.
+ * generated/_sign_i16.F90: Regenerate.
+ * generated/_tanh_r16.F90: Regenerate.
+ * generated/_log_r4.F90: Regenerate.
+ * generated/_log_r8.F90: Regenerate.
+ * generated/_sin_r4.F90: Regenerate.
+ * generated/_sin_r8.F90: Regenerate.
+ * generated/_log_r16.F90: Regenerate.
+ * generated/_sin_r10.F90: Regenerate.
+ * generated/_sqrt_r4.F90: Regenerate.
+ * generated/_exp_c10.F90: Regenerate.
+ * generated/_sqrt_r8.F90: Regenerate.
+ * generated/_asinh_r4.F90: Regenerate.
+ * generated/_sqrt_r10.F90: Regenerate.
+ * generated/_asinh_r8.F90: Regenerate.
+ * generated/_dim_r4.F90: Regenerate.
+ * generated/_dim_r8.F90: Regenerate.
+ * generated/_dim_r10.F90: Regenerate.
+ * generated/_cosh_r4.F90: Regenerate.
+ * generated/_conjg_c10.F90: Regenerate.
+ * generated/_tan_r10.F90: Regenerate.
+ * generated/_cosh_r8.F90: Regenerate.
+ * generated/_mod_r16.F90: Regenerate.
+ * generated/_abs_c16.F90: Regenerate.
+ * generated/_cos_r4.F90: Regenerate.
+ * generated/_asinh_r16.F90: Regenerate.
+ * generated/_cos_r8.F90: Regenerate.
+ * generated/_atanh_r4.F90: Regenerate.
+ * generated/_atanh_r8.F90: Regenerate.
+ * generated/_acos_r16.F90: Regenerate.
+ * generated/_anint_r4.F90: Regenerate.
+ * generated/_acosh_r10.F90: Regenerate.
+ * generated/_anint_r8.F90: Regenerate.
+ * generated/_exp_r16.F90: Regenerate.
+ * generated/_mod_r4.F90: Regenerate.
+ * generated/_cos_c10.F90: Regenerate.
+ * generated/_atan2_r10.F90: Regenerate.
+ * generated/_dim_i16.F90: Regenerate.
+ * generated/_mod_r8.F90: Regenerate.
+ * generated/_anint_r10.F90: Regenerate.
+ * generated/_aint_r4.F90: Regenerate.
+ * generated/_aint_r8.F90: Regenerate.
+ * generated/_dim_i4.F90: Regenerate.
+ * generated/_sinh_r4.F90: Regenerate.
+ * generated/_log_c4.F90: Regenerate.
+ * generated/_dim_i8.F90: Regenerate.
+ * generated/_sinh_r8.F90: Regenerate.
+ * generated/_log_c8.F90: Regenerate.
+ * generated/_sin_c4.F90: Regenerate.
+ * generated/_sin_c8.F90: Regenerate.
+ * generated/misc_specifics.F90: Regenerate.
+ * generated/_abs_r10.F90: Regenerate.
+ * generated/_aimag_c16.F90: Regenerate.
+ * generated/_atan_r4.F90: Regenerate.
+ * generated/_sinh_r16.F90: Regenerate.
+ * generated/_atan_r8.F90: Regenerate.
+ * generated/_atanh_r10.F90: Regenerate.
+ * generated/_cosh_r10.F90: Regenerate.
+ * generated/_sqrt_c4.F90: Regenerate.
+ * generated/_asin_r16.F90: Regenerate.
+
+2007-01-19 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/26893
+ * acinclude.m4 (LIBGFOR_WORKING_GFORTRAN): New check.
+ * configure.ac: Add call to LIBGFOR_WORKING_GFORTRAN.
+ * configure: Regenerate.
+ * config.h.in: Regenerate because it was forgottent in the last
+ commit.
+
+2007-01-18 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+ Tobias Burnus <burnus@net-b.de>
+
+ PR libfortran/29649
+ * runtime/environ.c (variable_table): New GFORTRAN_ERROR_DUMPCORE
+ environment variable.
+ * runtime/compile_options.c (set_std): Add new argument.
+ * runtime/error.c (sys_exit): Move from io/unix.c. Add coredump
+ functionality.
+ * libgfortran.h (options_t): New dump_core and backtrace members.
+ (sys_exit): Move prototype.
+ * io/unix.c (sys_exit): Move to runtime/error.c.
+ * configure.ac: Add check for getrlimit.
+ * configure: Regenerate.
+
+2007-01-17 Tom Tromey <tromey@redhat.com>
+
+ PR libfortran/27107:
+ * aclocal.m4, configure, Makefile.in: Rebuilt.
+ * configure.ac: Enable automake dependency tracking. Update
+ minimum automake version.
+
+2007-01-17 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/27107
+ * runtime/environ.c: Don't include io/io.h.
+ * runtime/string.c: Don't include io/io.h.
+ (compare0): Add cast to avoid warning.
+ * runtime/error.c: Don't include io/io.h.
+ (st_printf): Move to io/unix.c.
+ * intrinsics/flush.c: Delete, contents moved to io/intrinsics.c.
+ * intrinsics/fget.c: Likewise.
+ * intrinsics/ftell.c: Likewise.
+ * intrinsics/tty.c: Likewise.
+ * libgfortran.h (DEFAULT_RECL, notification_std,
+ get_unformatted_convert, IOPARM_*, st_parameter_common, unit_convert,
+ DEFAULT_TEMPDIR): New declarations.
+ * io/io.h (DEFAULT_RECL, notification_std, get_unformatted_convert,
+ IOPARM_*, st_parameter_common, unit_convert, DEFAULT_TEMPDIR):
+ Move to libgfortran.h.
+ * io/unix.c: Add io/unix.h content.
+ (st_printf): New function.
+ * io/intrinsics.c: New file.
+ * io/unix.h: Remove, contents moved into unix.c.
+ * libtool-version: Update library version to 3.0.0.
+ * configure.ac: Update library version to 0.3.
+ * Makefile.am (intrinsics/fget.c, intrinsics/flush.c,
+ intrinsics/ftell.c, intrinsics/tty.c, libgfortran.h): Remove targets.
+ * Makefile.in: Regenerate.
+ * configure: Regenerate.
+
+2007-01-12 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/30435
+ * io/list_read.c (finish_separator): Don't call next_record.
+ (list_formatted_read_scalar): Clean up some comments and whitespace.
+ (nml_read_obj): Whitespace fix.
+
+2007-01-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/30162
+ * io/unix.c (fd_flush): Don't seek if file is not seekable, defined as
+ s->file_length == -1.
+ (fd_alloc_w_at): Do not adjust file_length if file is not seekable.
+ (fd_seek): If not seekable, just return success.
+ (fd_truncate): If not seekable, no need to truncate. Return failure
+ if seek fails and the stream is not a pipe.
+ (fd_to_stream): Make test for non-seekable file more robust.
+
+2007-01-01 Steven G. Kargl <kargls@comcast.net>
+
+ * ChangeLog: Copied to ...
+ * ChangeLog-2006: here.
+
+
+Copyright (C) 2007 Free Software Foundation, Inc.
+
+Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved.
diff --git a/gcc-4.7/libgfortran/ChangeLog-2008 b/gcc-4.7/libgfortran/ChangeLog-2008
new file mode 100644
index 000000000..6b3139995
--- /dev/null
+++ b/gcc-4.7/libgfortran/ChangeLog-2008
@@ -0,0 +1,2532 @@
+2008-12-29 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ PR fortran/31832
+ * acinclude.m4 (LIBGFOR_CHECK_FOR_BROKEN_POWF): New autoconf check for
+ broken powf.
+ * configure.ac (LIBGFOR_CHECK_FOR_BROKEN_POWF): Use it.
+ * intrinsics/c99_functions.c: Use internal powf implementation if
+ HAVE_BROKEN_POWF is defined.
+ * configure: Rebuilt.
+ * config.h.in: Rebuilt.
+
+2008-12-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/37472
+ * io/write_float.def (output_float_FMT_G_): Modify calculation of temp
+ to avoid sensitivity to round-off.
+
+2008-12-21 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/38398
+ * io/io.h (st_parameter_dt): Add new bit to keep track of when to
+ suppress blanks for g0 formatting.
+ * io/transfer.c (formatted_transfer_scalar): Always call write_real_g0
+ for g0 formatting.
+ * io.c (write.c): Do not use ES formatting and use new bit to suppress
+ blanks.
+ * io/write_float.def (output_float): Adjust the location of setting the
+ width so that it can be adjusted when suppressing blanks. Set number of
+ blanks to zero when dtp->u.p.g0_no_blanks is set. Do some minor code
+ clean-up and add some white space for readability.
+
+2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ * configure: Regenerate.
+
+2008-12-13 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/38504
+ io/write.c (write_decimal): Skip extra sign '-' at beginning of string
+ returned by gfc_itoa.
+
+2008-12-08 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/38430
+ * io/transfer.c (data_transfer_init): Move constraint check for REC=
+ and STREAM access into condition for other REC= constraints to simplify.
+ Comment out this constraint to avoid breaking compatibility with 4.3
+ until later. Added a TODO for above comment and this one.
+ Fix test for max pos.
+
+2008-12-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/38291
+ * io/transfer.c (data_transfer_init): Add fbuf_flush inadvertently
+ ommitted. Add check for invalid use of REC= with ACCESS="stream". Fix
+ comment.
+
+2008-12-06 Adam Nemet <anemet@caviumnetworks.com>
+
+ * runtime/main.c (store_exe_path): Don't crash if argv0 is NULL.
+
+2008-12-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/38291
+ * io/transfer.c (data_transfer_init): Add checks for POS= valid range.
+ Add check for unit opened with ACCESS="stream". Flush and seek if
+ current stream position does not match. Check ENDFILE on read.
+
+2008-12-04 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR fortran/38285
+ * write_float.def (WRITE_FLOAT): Zero the float value for special case
+ only if scale_factor = 0.
+
+2008-11-23 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR libfortran/38234
+ * intrinsics/reshape_generic.c (reshape_internal):
+ Source can be larger than shape.
+ * m4/reshape.m4: Likewise.
+ * generated/reshape_c10.c Regenerated.
+ * generated/reshape_c16.c Regenerated.
+ * generated/reshape_c4.c Regenerated.
+ * generated/reshape_c8.c Regenerated.
+ * generated/reshape_i16.c Regenerated.
+ * generated/reshape_i4.c Regenerated.
+ * generated/reshape_i8.c Regenerated.
+ * generated/reshape_r10.c Regenerated.
+ * generated/reshape_r16.c Regenerated.
+ * generated/reshape_r4.c Regenerated.
+ * generated/reshape_r8.c Regenerated.
+
+2008-11-22 Danny Smith <dannysmith@users.sourceforge.net>
+
+ * libgfortran.h (__mingw_snprintf): Declare with gnu_printf
+ format attribute.
+
+
+2008-11-22 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR libfortran/38225
+ * intrinsics/reshape_generic.c (reshape_internal):
+ Use all dimensions of source for bounds checking.
+ * m4/reshape.m4: Likewise.
+ * generated/reshape_c10.c Regenerated.
+ * generated/reshape_c16.c Regenerated.
+ * generated/reshape_c4.c Regenerated.
+ * generated/reshape_c8.c Regenerated.
+ * generated/reshape_i16.c Regenerated.
+ * generated/reshape_i4.c Regenerated.
+ * generated/reshape_i8.c Regenerated.
+ * generated/reshape_r10.c Regenerated.
+ * generated/reshape_r16.c Regenerated.
+ * generated/reshape_r4.c Regenerated.
+ * generated/reshape_r8.c Regenerated.
+
+2008-11-22 Jakub Jelinek <jakub@redhat.com>
+
+ PR libfortran/37839
+ * io/io.h (IOPARM_INQUIRE_HAS_ROUND, IOPARM_INQUIRE_HAS_SIGN,
+ IOPARM_INQUIRE_HAS_PENDING): Adjust values.
+ (st_parameter_inquire): Reorder and fix types of round, sign and
+ pending fields.
+ (st_parameter_43, st_parameter_44): Removed.
+ (st_parameter_dt): Put back struct definition directly to u.p
+ declaration. Change type of u.p.size_used from gfc_offset to
+ GFC_IO_INT. Decrease back size of u.pad to 16 pointers and
+ 32 ints. Put id, pos, asynchronous, blank, decimal, delim,
+ pad, round and sign fields after the union.
+ * io/inquire.c (inquire_via_unit, inquire_via_filename): Only read
+ flags2 if it is defined.
+ * io/transfer.c (read_sf, read_block_form, write_block): Cast
+ additions to size_used to GFC_IO_INT instead of gfc_offset.
+ (data_transfer_init): Clear whole u.p struct. Adjust
+ for moving id, pos, asynchronous, blank, decimal, delim, pad,
+ round and sign fields from u.p directly into st_parameter_dt.
+ (finalize_transfer): Don't cast size_used to GFC_IO_INT.
+ * io/file_pos.c (st_endfile): Clear whole u.p struct.
+
+2008-11-20 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/37472
+ * io/write_float.def (output_float_FMT_G_): Adjust conversion of
+ G format specification to F format.
+
+2008-11-18 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR libfortran/38135
+ * m4/reshape.m4: Correct bounds checking when PAD is present.
+ Treat PAD as if it were SOURCE when SOURCE is empty.
+ * intrinsics/reshape_generic.c: Likewise.
+ * generated/reshape_c10.c Regenerated.
+ * generated/reshape_c16.c Regenerated.
+ * generated/reshape_c4.c Regenerated.
+ * generated/reshape_c8.c Regenerated.
+ * generated/reshape_i16.c Regenerated.
+ * generated/reshape_i4.c Regenerated.
+ * generated/reshape_i8.c Regenerated.
+ * generated/reshape_r10.c Regenerated.
+ * generated/reshape_r16.c Regenerated.
+ * generated/reshape_r4.c Regenerated.
+ * generated/reshape_r8.c Regenerated.
+
+2008-11-16 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/38097
+ * io/read.c (read_f): Initialize exponent. Fix comment. Set loop
+ conditions for BZ/BN.
+ * io/unit.c (get_internal_unit): Initialize flags.blank.
+ * io/transfer.c (data_transfer_init): Fix whitespace.
+
+2008-11-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/37294
+ * io/write.c (namelist_write_newline): Use array loop specification to
+ advance to next internal array unit record. (namelist_write): Adjust to
+ accomodate the internal array unit behavior.
+
+2008-11-01 Dennis Wassel <dennis.wassel@gmail.com>
+
+ PR fortran/37159
+ * intrinsics/random.c: Added comment to adapt check.c, should
+ kiss_size change.
+ Few cosmetic changes to existing comments.
+
+2008-10-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/37707
+ * io/list_read.c (read_character): Remove code to look ahead in namelist
+ reads to descriminate non-delimited strings from namelist objects.
+ * io/write.c (namelist_write): Delimit character strings with quote or
+ apostrophe, defaulting to quote.
+
+2008-10-21 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR libfortran/34670
+ * intrinsics/transpose_generic.c: Implement bounds checking.
+ * m4/transpose.m4: Likewise.
+ * generated/transpose_c8.c: Regenerated.
+ * generated/transpose_c16.c: Regenerated.
+ * generated/transpose_r10.c: Regenerated.
+ * generated/transpose_i8.c: Regenerated.
+ * generated/transpose_c10.c: Regenerated.
+ * generated/transpose_r4.c: Regenerated.
+ * generated/transpose_c4.c: Regenerated.
+ * generated/transpose_i16.c: Regenerated.
+ * generated/transpose_i4.c: Regenerated.
+ * generated/transpose_r8.c: Regenerated.
+ * generated/transpose_r16.c: Regenerated.
+
+2008-10-19 Jerry DeLisle <jvdelisle@gcc.gnu.org
+
+ PR libfortran/37834
+ * io/write_float.def (output_float): Emit '0.' for special case of
+ format specifier 'f0.0' and value of zero. Likewise emit '0' for 'f1.0'.
+
+2008-10-17 Jerry DeLisle <jvdelisle@gcc.gnu.org
+
+ PR libfortran/37863
+ * io/write_float.def (WRITE_FLOAT): Round to 1.0 correctly.
+ * io/io.h (st_parameter_44): Fix id type declaration.
+
+2008-10-16 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ * io/file_pos.c (unformatted_backspace): Normal case is
+ GFC_CONVERT_NATIVE.
+ * io/transfer.c (read_sf): Mark paths leading to generate_error()
+ as unlikely.
+ (readl_block_form): Likewise.
+ (read_block_direct): Likewise.
+ (write_block): Likewise.
+ (write_buf): Likewise.
+ (us_read): Likewise. Normal case is GFC_CONVERT_NATIVE.
+ (next_record_w_unf): Mark paths leading to generate_error()
+ as unlikely.
+
+2008-10-16 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR libfortran/34670
+ * generated/spread_r4.c: Regenerated.
+
+2008-10-15 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR libfortran/34670
+ * intrinsics/reshape_generic.c: Add bounds checking.
+ * m4/reshape.m4: Likewise.
+ * generated/reshape_c10.c: Regenerated.
+ * generated/reshape_c16.c: Regenerated.
+ * generated/reshape_c4.c: Regenerated.
+ * generated/reshape_c8.c: Regenerated.
+ * generated/reshape_i16.c: Regenerated.
+ * generated/reshape_i4.c: Regenerated.
+ * generated/reshape_i8.c: Regenerated.
+ * generated/reshape_r10.c: Regenerated.
+ * generated/reshape_r16.c: Regenerated.
+ * generated/reshape_r4.c: Regenerated.
+ * generated/reshape_r8.c: Regenerated.
+ * generated/spread_r4.c: Regenerated.
+
+2008-10-13 Jerry DeLisle <jvdelisle@gcc.gnu.org
+
+ PR libfortran/37083
+ * io/list_read.c (next_char): Simplify EOF tests and set endfile flag.
+ (finish_list_read): Add EOF check.
+
+2008-10-09 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR libfortran/37753
+ * io/transfer.c (unformatted_read): CONVERT_NATIVE
+ is the usual case. Check for kind==1 for non-byte-reversing
+ operation.
+ (unformatted_write): Likewise.
+
+2008-10-08 Jerry DeLisle <jvdelisle@gcc.gnu.org
+
+ PR libfortran/37707
+ * io/list_read.c (nml_get_obj_data): If the first namelist object rank
+ is greater than zero, call nml_object_read with the first object rather
+ than the sub-object.
+
+2008-09-26 Peter O'Gorman <pogma@thewrittenword.com>
+ Steve Ellcey <sje@cup.hp.com>
+
+ * configure: Regenerate for new libtool.
+ * Makefile.in: Ditto.
+
+2008-09-25 Jerry DeLisle <jvdelisle@gcc.gnu.org
+
+ PR libfortran/37498
+ * list_read.c (eat_separator): Revert previous patch and move
+ delim_status, decimal_status, and pad_status to gfc_unit.
+ (parse_real): Ditto. (read_real): Ditto.
+ * read.c (read_a): Likewise. (read_a_char4): Likewise.
+ (read_f): Likewise.
+ * inquire.c (inquire_via_unit): Add missing check for
+ IOPARM_INQUIRE_HAS_FLAGS2. (inquire_via_filename): Likewise.
+ * io.h (unit_sign_s): Move delim_status, decimal_status, and pad_status
+ to gfc_unit.
+ * transfer.c (read_sf): Ditto. (read_block_form): Ditto.
+ (formatted_transfer_scalar): Ditto. (data_transfer_init): Ditto.
+ * write.c (write_default_char4): Ditto. (write_utf8_char4): Ditto.
+ (write_character): Ditto. (write_real_g0): Ditto.
+ (list_formatted_write_scalar): Ditto. (nml_write_obj): Ditto.
+ (namelist_write): Ditto.
+ * write_float.def (calculate_sign): Ditto. (output_float): Ditto.
+
+2008-09-24 Tobias Burnus <burnus@net-b.de>
+
+ * runtime/compile_options.c (init_compile_options):
+ Sync flags with front end.
+
+2008-09-22 Jerry DeLisle <jvdelisle@gcc.gnu.org
+
+ PR libfortran/37498
+ * file_pos (st_endfile): Clear memory only for libfortran 4.3 private
+ area.
+ * list_read.c (eat_separator): Only access F2003 I/O parameters if
+ IOPARM_DT_HAS_F2003 bit is set. (parse_real): Ditto.
+ (read_real): Ditto.
+ * read.c (read_a): Likewise. (read_a_char4): Likewise though not
+ strictly necessary. (read_f): Likewise.
+ * io.h (unit_sign_s): New enumerator to allow duplication of
+ st_parameter structures. (IOPARM_DT_HAS_F2003): New mask bit.
+ (st_parameter_43): New structure copied from 4.3 version of
+ st_paramater_dt private section. (st_parameter_44): New structure with
+ F2003 items added. (st_parameter_dt): Modified to create union of new
+ and old structures to allow correct memory setting for 4.3 ABI
+ compatibility. Bumped the pad size.
+ * transfer.c (read_sf): Do not use F2003 I/O memory areas unless
+ IOPARM_DT_HAS_F2003 bit has been set. (read_block_form): Ditto.
+ (formatted_transfer_scalar): Ditto. (data_transfer_init): Ditto and
+ add comment, fix formatting.
+ * write.c (write_default_char4): Likewise though not strictly necessary.
+ (write_utf8_char4): Ditto. (write_character): Ditto.
+ (write_real_g0): Ditto. (list_formatted_write_scalar): Ditto.
+ (nml_write_obj): Ditto. (namelist_write): Ditto.
+ * write_float.def (calculate_sign): Eliminate warning by including all
+ cases in switch. (output_float): Output only decimal point of F2003 flag
+ is not set.
+
+2008-09-10 Tobias Burnus <burnus@net-b.de>
+ H. J. Lu <hongjiu.lu@intel.com>
+
+ * mk-sik-inc.sh: Make -Wunused-variable proof.
+ * mk-srk-inc.sh: Make -Wunused-variable proof.
+
+2008-09-10 Tobias Burnus <burnus@net-b.de>
+
+ * mk-kinds-h.sh: Make -Wunused-variable proof.
+
+2008-09-07 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR fortran/37203
+ * intrinsics/reshape_generic.c: Add checking on
+ out-of-bounds and duplicate values of order argument.
+ * m4/reshape.m4: Likewise.
+ * generated/reshape_c10.c: Regenerated.
+ * generated/reshape_c16.c: Regenerated.
+ * generated/reshape_c4.c: Regenerated.
+ * generated/reshape_c8.c: Regenerated.
+ * generated/reshape_i16.c: Regenerated.
+ * generated/reshape_i4.c: Regenerated.
+ * generated/reshape_i8.c: Regenerated.
+ * generated/reshape_r10.c: Regenerated.
+ * generated/reshape_r16.c: Regenerated.
+ * generated/reshape_r4.c: Regenerated.
+ * generated/reshape_r8.c: Regenerated.
+
+2008-09-06 Tobias Burnus <burnus@net-b.de>
+
+ * libgfortran.h (likely,unlikely): New makros.
+ (runtime_warning_at,__mingw_snprintf): Add __attribute__(format()).
+ * m4/spread.m4 (spread_'rtype_code`): Use unlikely for bounds_check.
+ * m4/iforeach.m4 (name`'rtype_qual`_'atype_code): Ditto.
+ * m4/matmull.m4 (matmul_'rtype_code`): Ditto.
+ * m4/ifunction_logical.m4 (name`'rtype_qual`_'atype_code): Ditto.
+ * m4/ifunction.m4 (name`'rtype_qual`_'atype_code): Ditto.
+ * m4/matmul.m4 (matmul_'rtype_code`): Ditto.
+
+ * generated/minval_r8.c: Regenerated.
+ * generated/spread_r10.c: Regenerated.
+ * generated/minloc1_16_r16.c: Regenerated.
+ * generated/maxloc1_4_r8.c: Regenerated.
+ * generated/sum_i8.c: Regenerated.
+ * generated/any_l16.c: Regenerated.
+ * generated/spread_i8.c: Regenerated.
+ * generated/maxval_i2.c: Regenerated.
+ * generated/any_l2.c: Regenerated.
+ * generated/product_r4.c: Regenerated.
+ * generated/maxloc1_8_i4.c: Regenerated.
+ * generated/maxloc0_4_r4.c: Regenerated.
+ * generated/all_l1.c: Regenerated.
+ * generated/matmul_r8.c: Regenerated.
+ * generated/product_i2.c: Regenerated.
+ * generated/minloc0_4_r16.c: Regenerated.
+ * generated/minloc0_4_i1.c: Regenerated.
+ * generated/maxloc0_4_r16.c: Regenerated.
+ * generated/maxloc0_4_i2.c: Regenerated.
+ * generated/minloc1_8_r16.c: Regenerated.
+ * generated/maxloc1_8_r16.c: Regenerated.
+ * generated/maxloc0_8_i8.c: Regenerated.
+ * generated/sum_r16.c: Regenerated.
+ * generated/sum_i1.c: Regenerated.
+ * generated/minloc1_4_r8.c: Regenerated.
+ * generated/maxloc1_16_r16.c: Regenerated.
+ * generated/minloc1_16_i4.c: Regenerated.
+ * generated/maxloc1_16_i4.c: Regenerated.
+ * generated/minloc0_16_i8.c: Regenerated.
+ * generated/spread_i1.c: Regenerated.
+ * generated/maxloc0_16_i8.c: Regenerated.
+ * generated/maxval_r16.c: Regenerated.
+ * generated/product_c10.c: Regenerated.
+ * generated/minloc1_8_i4.c: Regenerated.
+ * generated/minloc0_16_i16.c: Regenerated.
+ * generated/matmul_r16.c: Regenerated.
+ * generated/minloc0_4_r4.c: Regenerated.
+ * generated/all_l2.c: Regenerated.
+ * generated/product_c4.c: Regenerated.
+ * generated/sum_r4.c: Regenerated.
+ * generated/minloc0_4_i2.c: Regenerated.
+ * generated/spread_c10.c: Regenerated.
+ * generated/maxloc0_8_i1.c: Regenerated.
+ * generated/spread_r4.c: Regenerated.
+ * generated/minloc0_8_i8.c: Regenerated.
+ * generated/matmul_c8.c: Regenerated.
+ * generated/all_l16.c: Regenerated.
+ * generated/minloc1_16_r10.c: Regenerated.
+ * generated/sum_i2.c: Regenerated.
+ * generated/minloc0_16_i1.c: Regenerated.
+ * generated/maxloc0_16_i1.c: Regenerated.
+ * generated/maxloc1_8_r8.c: Regenerated.
+ * generated/minval_i16.c: Regenerated.
+ * generated/spread_i2.c: Regenerated.
+ * generated/maxval_i4.c: Regenerated.
+ * generated/minval_i8.c: Regenerated.
+ * generated/any_l4.c: Regenerated.
+ * generated/maxloc1_4_i8.c: Regenerated.
+ * generated/maxloc0_16_i16.c: Regenerated.
+ * generated/maxloc0_8_r4.c: Regenerated.
+ * generated/minloc1_4_i16.c: Regenerated.
+ * generated/maxloc1_4_i16.c: Regenerated.
+ * generated/minloc0_4_r10.c: Regenerated.
+ * generated/minloc0_8_i16.c: Regenerated.
+ * generated/maxloc0_4_r10.c: Regenerated.
+ * generated/maxloc0_8_i16.c: Regenerated.
+ * generated/minloc1_8_r10.c: Regenerated.
+ * generated/product_i4.c: Regenerated.
+ * generated/minloc0_16_r4.c: Regenerated.
+ * generated/sum_c16.c: Regenerated.
+ * generated/maxloc1_8_r10.c: Regenerated.
+ * generated/maxloc0_16_r4.c: Regenerated.
+ * generated/minloc1_16_r8.c: Regenerated.
+ * generated/minloc0_8_i1.c: Regenerated.
+ * generated/maxloc0_4_i4.c: Regenerated.
+ * generated/maxloc1_16_r8.c: Regenerated.
+ * generated/maxloc0_8_i2.c: Regenerated.
+ * generated/sum_r10.c: Regenerated.
+ * generated/count_4_l.c: Regenerated.
+ * generated/sum_c4.c: Regenerated.
+ * generated/count_8_l.c: Regenerated.
+ * generated/maxloc1_16_r10.c: Regenerated.
+ * generated/matmul_i8.c: Regenerated.
+ * generated/minloc0_16_i2.c: Regenerated.
+ * generated/minloc1_8_r8.c: Regenerated.
+ * generated/maxloc0_16_i2.c: Regenerated.
+ * generated/spread_c4.c: Regenerated.
+ * generated/matmul_c16.c: Regenerated.
+ * generated/maxval_r10.c: Regenerated.
+ * generated/minval_i1.c: Regenerated.
+ * generated/maxloc1_4_i1.c: Regenerated.
+ * generated/matmul_r10.c: Regenerated.
+ * generated/minloc1_4_i8.c: Regenerated.
+ * generated/minloc0_8_r4.c: Regenerated.
+ * generated/matmul_l4.c: Regenerated.
+ * generated/product_i16.c: Regenerated.
+ * generated/minloc0_16_r16.c: Regenerated.
+ * generated/all_l4.c: Regenerated.
+ * generated/minloc0_4_i4.c: Regenerated.
+ * generated/minloc0_8_i2.c: Regenerated.
+ * generated/matmul_i1.c: Regenerated.
+ * generated/minval_r4.c: Regenerated.
+ * generated/maxloc1_4_r4.c: Regenerated.
+ * generated/spread_i16.c: Regenerated.
+ * generated/sum_i4.c: Regenerated.
+ * generated/maxval_r8.c: Regenerated.
+ * generated/spread_i4.c: Regenerated.
+ * generated/minloc1_4_i1.c: Regenerated.
+ * generated/minval_r16.c: Regenerated.
+ * generated/minval_i2.c: Regenerated.
+ * generated/maxloc1_4_i2.c: Regenerated.
+ * generated/product_r8.c: Regenerated.
+ * generated/maxloc1_8_i8.c: Regenerated.
+ * generated/maxloc0_4_r8.c: Regenerated.
+ * generated/maxloc0_16_r16.c: Regenerated.
+ * generated/matmul_r4.c: Regenerated.
+ * generated/sum_c10.c: Regenerated.
+ * generated/minloc1_4_r16.c: Regenerated.
+ * generated/maxloc1_4_r16.c: Regenerated.
+ * generated/minloc0_8_r16.c: Regenerated.
+ * generated/maxloc0_8_r16.c: Regenerated.
+ * generated/count_1_l.c: Regenerated.
+ * generated/maxloc0_8_i4.c: Regenerated.
+ * generated/matmul_i2.c: Regenerated.
+ * generated/minloc1_4_r4.c: Regenerated.
+ * generated/matmul_c10.c: Regenerated.
+ * generated/minloc0_16_i4.c: Regenerated.
+ * generated/maxloc0_16_i4.c: Regenerated.
+ * generated/minloc1_16_i8.c: Regenerated.
+ * generated/maxloc1_16_i8.c: Regenerated.
+ * generated/minloc1_4_i2.c: Regenerated.
+ * generated/matmul_l16.c: Regenerated.
+ * generated/maxloc1_8_i1.c: Regenerated.
+ * generated/minloc0_16_r10.c: Regenerated.
+ * generated/minloc1_8_i8.c: Regenerated.
+ * generated/minloc0_4_r8.c: Regenerated.
+ * generated/product_r16.c: Regenerated.
+ * generated/product_c8.c: Regenerated.
+ * generated/sum_r8.c: Regenerated.
+ * generated/minloc0_8_i4.c: Regenerated.
+ * generated/matmul_c4.c: Regenerated.
+ * generated/minloc1_16_i16.c: Regenerated.
+ * generated/spread_r8.c: Regenerated.
+ * generated/maxloc1_8_r4.c: Regenerated.
+ * generated/minloc1_16_i1.c: Regenerated.
+ * generated/maxloc1_16_i1.c: Regenerated.
+ * generated/spread_r16.c: Regenerated.
+ * generated/minval_r10.c: Regenerated.
+ * generated/count_16_l.c: Regenerated.
+ * generated/minval_i4.c: Regenerated.
+ * generated/minloc1_8_i1.c: Regenerated.
+ * generated/maxloc1_4_i4.c: Regenerated.
+ * generated/maxloc1_8_i2.c: Regenerated.
+ * generated/maxval_i8.c: Regenerated.
+ * generated/any_l8.c: Regenerated.
+ * generated/maxloc0_16_r10.c: Regenerated.
+ * generated/minloc0_4_i16.c: Regenerated.
+ * generated/maxloc0_8_r8.c: Regenerated.
+ * generated/maxloc0_4_i16.c: Regenerated.
+ * generated/minloc1_4_r10.c: Regenerated.
+ * generated/minloc1_8_i16.c: Regenerated.
+ * generated/maxloc1_4_r10.c: Regenerated.
+ * generated/maxloc1_8_i16.c: Regenerated.
+ * generated/minloc0_8_r10.c: Regenerated.
+ * generated/maxloc0_8_r10.c: Regenerated.
+ * generated/minloc1_16_r4.c: Regenerated.
+ * generated/maxloc1_16_r4.c: Regenerated.
+ * generated/minloc0_16_r8.c: Regenerated.
+ * generated/product_i8.c: Regenerated.
+ * generated/maxloc0_16_r8.c: Regenerated.
+ * generated/sum_i16.c: Regenerated.
+ * generated/count_2_l.c: Regenerated.
+ * generated/maxloc0_4_i8.c: Regenerated.
+ * generated/maxloc1_16_i16.c: Regenerated.
+ * generated/matmul_i4.c: Regenerated.
+ * generated/minloc1_8_r4.c: Regenerated.
+ * generated/sum_c8.c: Regenerated.
+ * generated/minloc1_16_i2.c: Regenerated.
+ * generated/maxloc1_16_i2.c: Regenerated.
+ * generated/maxval_i16.c: Regenerated.
+ * generated/spread_c8.c: Regenerated.
+ * generated/matmul_i16.c: Regenerated.
+ * generated/minloc1_4_i4.c: Regenerated.
+ * generated/maxval_i1.c: Regenerated.
+ * generated/minloc1_8_i2.c: Regenerated.
+ * generated/any_l1.c: Regenerated.
+ * generated/product_c16.c: Regenerated.
+ * generated/minloc0_8_r8.c: Regenerated.
+ * generated/matmul_l8.c: Regenerated.
+ * generated/product_r10.c: Regenerated.
+ * generated/product_i1.c: Regenerated.
+ * generated/all_l8.c: Regenerated.
+ * generated/maxloc0_4_i1.c: Regenerated.
+ * generated/minloc0_4_i8.c: Regenerated.
+ * generated/spread_c16.c: Regenerated.
+ * generated/maxval_r4.c: Regenerated.
+
+2008-09-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/37301
+ PR libfortran/37228
+ * io/io.h (write_real_g0): Declare new function to handle g0.d format.
+ * io/transfer.c (formatted_transfer_scalar): Use new function.
+ * io/format.c (parse_format_list): Enable g0.d.
+ * io/write.c (write_a_char4): Delete unused var.
+ (set_fnode_default): New function to set the default fnode w, d, and e
+ factored from write_real. (write_real): Use new factored function.
+ (write_real_g0): New function that sets d to that passed by g0.d format
+ specifier and set format to ES. Default values for w and e are used
+ from the new function, set_fnode_default.
+
+2008-09-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ * runtime/error.c: Fix cast for printf.
+
+2008-08-30 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/36895
+ * io/write.c (namelist_write_newline): New function to correctly mark
+ next records in both external and internal units.
+ (nml_write_obj): Use new function.
+ (namelist_write: Use new function.
+
+2008-08-19 Tobias Burnus <burnus@net-b.de>
+
+ PR libfortran/35863
+ * io/write.c (write_a_char4): Add missing variable declaration
+ in HAVE_CRLF block.
+
+2008-08-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/35863
+ * intrinsics/selected_char_kind.c: Enable iso_10646.
+ * io/read.c (typedef uchar): New type.
+ (read_utf8): New function to read a single UTF-8 encoded character.
+ (read_utf8_char1): New function to read UTF-8 into a KIND=1 string.
+ (read_default_char1): New functio to read default into KIND=1 string.
+ (read_utf8_char4): New function to read UTF-8 into a KIND=4 string.
+ (read_default_char4): New function to read UTF-8 into a KIND=4 string.
+ (read_a): Modify to use the new functions.
+ (read_a_char4): Modify to use the new functions.
+ * io/write.c (error.h): Add include. (typedef uchar): New type.
+ (write_default_char4): New function to default write KIND=4 string.
+ (write_utf8_char4): New function to UTF-8 write KIND=4 string.
+ (write_a_char4): Modify to use new functions.
+ (write_character): Modify to use new functions.
+
+2008-08-14 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR libfortran/37123
+ * intrinsics/cshift0.c (cshift0): Fix 2 typos.
+
+2008-08-14 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR libfortran/36886
+ * Makefile.am: Added $(i_cshift0_c).
+ Added $(i_cshift0_c) to gfor_built_specific_src.
+ Add rule to build from cshift0.m4.
+ * Makefile.in: Regenerated.
+ * libgfortran.h: Addedd prototypes for cshift0_i1,
+ cshift0_i2, cshift0_i4, cshift0_i8, cshift0_i16,
+ cshift0_r4, cshift0_r8, cshift0_r10, cshift0_r16,
+ cshift0_c4, cshift0_c8, cshift0_c10, cshift0_c16.
+ Define Macros GFC_UNALIGNED_C4 and GFC_UNALIGNED_C8.
+ * intrinsics/cshift0.c: Remove helper functions for
+ the innter shift loop.
+ (cshift0): Call specific functions depending on type
+ of array argument. Only call specific functions for
+ correct alignment for other types.
+ * m4/cshift0.m4: New file.
+ * generated/cshift0_i1.c: New file.
+ * generated/cshift0_i2.c: New file.
+ * generated/cshift0_i4.c: New file.
+ * generated/cshift0_i8:.c New file.
+ * generated/cshift0_i16.c: New file.
+ * generated/cshift0_r4.c: New file.
+ * generated/cshift0_r8.c: New file.
+ * generated/cshift0_r10.c: New file.
+ * generated/cshift0_r16.c: New file.
+ * generated/cshift0_c4.c: New file.
+ * generated/cshift0_c8.c: New file.
+ * generated/cshift0_c10.c: New file.
+ * generated/cshift0_c16.c: New file.
+
+2008-07-27 Tobias Burnus <burnus@net-b.de>
+
+ PR fortran/36132
+ PR fortran/29952
+ PR fortran/36909
+ * runtime/error.c: New function runtime_error_at.
+ * gfortran.map: Ditto.
+ * libgfortran.h: Ditto.
+
+2008-07-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR fortran/36582
+ * io/list_read.c: If variable rank is zero, do not adjust the found
+ namelist object pointer.
+
+2008-07-22 Daniel Kraft <d@domob.eu>
+
+ PR fortran/29835
+ * io/format.c (struct format_data): New member error_element.
+ (unexpected_element): Added '%c' to message.
+ (next_char): Keep track of last parsed character in fmt->error_element.
+ (format_error): If the message is unexpected_element, output the
+ offending character, too.
+
+2008-07-22 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR libfortran/36890
+ * io/file_pos.c: Declare READ_CHUNK as signed to avoid
+ signed/unsigned comparison warning in formatted_backspace.
+
+2008-07-21 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR libfortran/36773
+ * intrinsics/cshift0.c (cshift0): Return early if size of array
+ is zero.
+ * intrinsics/eoshift0.c (eoshift0): Return early if size of
+ return array is zero.
+ * intrinsics/eoshift2.c (eoshift2): Likewise.
+ * m4/eoshift1.m4 (eoshift1): Return early if size of array
+ is zero.
+ * m4/eoshift3.m4 (eoshift3): Likewise.
+ * m4/eoshift2.m4 (eoshift2): Return early if size of return
+ array is zero.
+ * m4/eoshift4.m4 (eoshift2): Return early if size of return
+ array is zero.
+ * generated/cshift1_16.c: Regenerated.
+ * generated/cshift1_4.c: Regenerated.
+ * generated/cshift1_8.c: Regenerated.
+ * generated/eoshift1_16.c: Regenerated.
+ * generated/eoshift1_4.c: Regenerated.
+ * generated/eoshift1_8.c: Regenerated.
+ * generated/eoshift3_16.c: Regenerated.
+ * generated/eoshift3_4.c: Regenerated.
+ * generated/eoshift3_8.c: Regenerated.
+
+2008-07-20 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR fortran/36857
+ * io/write_float.def: Comment out locale dependent code and fix general
+ comments.
+
+2008-07-07 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR fortran/36341
+ PR fortran/34670
+ * m4/matmul.m4: Add bounds checking.
+ * m4/matmull.m4: Likewise.
+ * generated/matmul_c10.c: Regenerated.
+ * generated/matmul_c16.c: Regenerated.
+ * generated/matmul_c4.c: Regenerated.
+ * generated/matmul_c8.c: Regenerated.
+ * generated/matmul_i1.c: Regenerated.
+ * generated/matmul_i16.c: Regenerated.
+ * generated/matmul_i2.c: Regenerated.
+ * generated/matmul_i4.c: Regenerated.
+ * generated/matmul_i8.c: Regenerated.
+ * generated/matmul_l16.c: Regenerated.
+ * generated/matmul_l4.c: Regenerated.
+ * generated/matmul_l8.c: Regenerated.
+ * generated/matmul_r10.c: Regenerated.
+ * generated/matmul_r16.c: Regenerated.
+ * generated/matmul_r4.c: Regenerated.
+ * generated/matmul_r8.c: Regenerated.
+
+2008-07-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ * acinclude.m4 (LIBGFOR_CHECK_GTHR_DEFAULT): Fix configure cache
+ variable name.
+ * configure: Regenerate.
+
+2008-07-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR fortran/36676
+ * io/list_read.c (find_nml_name): Use eat_separator instead of eat_line.
+
+2008-06-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR fortran/36657
+ * io/list_read.c (read_character): Check for '!' along with separators.
+ (find_nml_name): Likewise and eat the comment if found.
+
+2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ * configure: Regenerate.
+
+2008-06-16 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR fortran/36546
+ * io/list_read.c (eat_separator): Add tab character to condition
+ for looping past whitespace.
+
+2008-06-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR fortran/36515
+ * libgfortran.h (compile_options_t): Add int range_check to structure.
+ * runtime/compile_options.c (set_options): Add range_check option.
+ (init_compile_options): Likewise.
+ *io/read.c (read_decimal): Change overflow checks to include
+ range_check.
+
+2008-06-13 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR fortran/36538
+ * io/list_read.c (namelist_read): Add eat_separator to eliminate leading
+ tabs.
+
+2008-06-13 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR fortran/35863
+ * libgfortran.h: Change l8_to_l4_offset to big_endian and add endian_off.
+ * runtime/main.c: Fix error in comment. Change l8_to_l4_offset to
+ big_endian. (determine_endianness): Add endian_off and set its value
+ according to big_endian.
+ * gfortran.map: Add symbol for new _gfortran_transfer_character_wide.
+ * io/io.h: Add prototype declarations for new functions.
+ * io/list_read.c (list_formatted_read_scalar): Modify to handle kind=4.
+ (list_formatted_read): Calculate stride based on kind for character type
+ and use it when calling list_formatted_read_scalar.
+ * io/inquire.c (inquire_via_unit): Change l8_to_l4_offset to big_endian.
+ * io/open.c (st_open): Change l8_to_l4_offset to big_endian.
+ * io/read.c (read_a_char4): New function to handle formatted read.
+ * io/write.c: Define GFC_CHAR4(x) to improve readability of code.
+ (write_a_char4): New function to handle formatted write.
+ (write_character): Modify to accept the kind parameter and adjust for
+ endianess of the machine. (list_formatted_write): Calculate the stride
+ resulting from the kind and adjust the list_formatted_write_scalar call
+ accordingly. (nml_write_obj): Adjust calls to write_character.
+ (namelist_write): Likewise.
+ * io/transfer.c (formatted_transfer_scaler): Rename 'len' argument to
+ 'kind' argument to better describe what it is. Add calls to new
+ functions for kind == 4. (formatted_transfer): Modify to handle the case
+ of type character and kind equals 4 to pass in the kind to the transfer
+ routines. (transfer_character_wide): Add this new function.
+ (transfer_array): Don't set kind to the character string length. Adjust
+ strides bases on character kind.
+ (unformatted_read): Adjust size based on kind for character types.
+ (unformatted_write): Likewise. (data_transfer_init): Change
+ l8_to_l4_offset to big_endian.
+ io/fbuf.c (fbuf_seek): Add cast to eliminate warning.
+
+2008-06-13 Tobias Burnus <burnus@net-b.de>
+
+ * configure.ac (AM_CFLAGS): Remove -Werror again.
+ * configure: Regenerate.
+
+2008-06-13 Tobias Burnus <burnus@net-b.de>
+
+ PR libgfortran/36518
+ * configure.ac (AM_CFLAGS): Add -Werror.
+ * configure: Regenerate.
+ * m4/ifunction_logical.m4: Cast "n" to "(int)".
+ * generated/any_l16.c: Regenerate.
+ * generated/any_l2.c: Regenerate.
+ * generated/all_l1.c: Regenerate.
+ * generated/all_l2.c: Regenerate.
+ * generated/all_l16.c: Regenerate.
+ * generated/any_l4.c: Regenerate.
+ * generated/count_4_l.c: Regenerate.
+ * generated/count_8_l.c: Regenerate.
+ * generated/all_l4.c: Regenerate.
+ * generated/count_1_l.c: Regenerate.
+ * generated/count_16_l.c: Regenerate.
+ * generated/any_l8.c: Regenerate.
+ * generated/count_2_l.c: Regenerate.
+ * generated/any_l1.c: Regenerate.
+ * generated/all_l8.c: Regenerate.
+
+2008-06-13 Tobias Burnus <burnus@net-b.de>
+
+ PR fortran/36495
+ * configure.ac (AM_FCFLAGS): Add "-Werror -fimplicit-none".
+ * configure: (generated) ditto.
+ * intrinsics/dprod_r8.f90: Add "implicit none".
+
+2008-06-07 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/36420
+ PR libfortran/36421
+ PR libfortran/36422
+ * io/io.h: Add prototype for write_real.
+ * io/transfer.c (formatted_transfer_scalar): For FMT_G and width zero,
+ use write_real.
+ * io/format.c: Add zero width error message. (parse_format_list): Use
+ error message for FMT_A if followed by FMT_ZERO. Use zero width error
+ message for FMT_G if mode is READ or if -std=f95 or f2003. (fmormat0):
+ Fix typo in comment.
+ * io/write.c(write_a): Set wlen to len if FMT_G and length is zero.
+ (write_l): Add wlen variable and use it if FMT_G and width is zero.
+ (write_decimal): If FMT_G, set m to -1 to flag processor dependent
+ formatting. (write_real): Remove static declaration.
+
+2008-05-28 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ PR fortran/36319
+ * intrinsics/string_intrinsics_inc.c (string_index): Return
+ correct value for zero-length substring.
+ * intrinsics/cshift0.c: Add _char4 variant.
+ * intrinsics/eoshift0.c (eoshift0): Allow filler to be a pattern
+ wider than a single byte. Add _char4 variant and use above
+ functionality.
+ * intrinsics/eoshift2.c (eoshift2): Likewise.
+ * m4/eoshift1.m4: Likewise.
+ * m4/eoshift3.m4: Likewise.
+ * m4/cshift1.m4: Add _char4 variants.
+ * gfortran.map (GFORTRAN_1.1): Add _gfortran_cshift0_1_char4,
+ _gfortran_cshift0_2_char4, _gfortran_cshift0_4_char4,
+ _gfortran_cshift0_8_char4, _gfortran_cshift1_16_char4,
+ _gfortran_cshift1_4_char4, _gfortran_cshift1_8_char4,
+ _gfortran_eoshift0_1_char4, _gfortran_eoshift0_2_char4,
+ _gfortran_eoshift0_4_char4, _gfortran_eoshift0_8_char4,
+ _gfortran_eoshift1_16_char4, _gfortran_eoshift1_4_char4,
+ _gfortran_eoshift1_8_char4, _gfortran_eoshift2_1_char4,
+ _gfortran_eoshift2_2_char4, _gfortran_eoshift2_4_char4,
+ _gfortran_eoshift2_8_char4, _gfortran_eoshift3_16_char4,
+ _gfortran_eoshift3_4_char4 and _gfortran_eoshift3_8_char4.
+ * generated/eoshift3_4.c: Regenerate.
+ * generated/eoshift1_8.c: Regenerate.
+ * generated/eoshift1_16.c: Regenerate.
+ * generated/cshift1_4.c: Regenerate.
+ * generated/eoshift1_4.c: Regenerate.
+ * generated/eoshift3_8.c: Regenerate.
+ * generated/eoshift3_16.c: Regenerate.
+ * generated/cshift1_8.c: Regenerate.
+ * generated/cshift1_16.c: Regenerate.
+
+2008-05-25 Tobias Burnus <burnus@net-b.de>
+
+ PR fortran/32600
+ * intrinsics/iso_c_binding.c (c_f_procpointer): Remove.
+ * intrinsics/iso_c_binding.h (c_f_procpointer): Remove.
+ * gfortran.map (c_f_procpointer): Remove.
+
+2008-05-22 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR libgfortran/36302
+ * gfortran.map (GFORTRAN_1.1): Add _gfortran_eoshift0_16,
+ _gfortran_eoshift0_16_char, _gfortran_eoshift2_16,
+ _gfortran_eoshift2_16_char,_gfortran_cshift0_16,
+ _gfortran_cshift0_16_char. Sort alphabetically.
+ * intrinsics/eoshift0.c: Add function for kind=16 integer.
+ * intrinsics/eoshift2.c: Likewise.
+ * intrinsics/cshift0.c: Likewise.
+
+2008-05-18 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ * m4/in_pack.m4 (internal_pack_'rtype_code`): Destination
+ pointer is restrict.
+ * m4/transpose.m4 (transpose_'rtype_code`): Likewise.
+ * m4/pack.m4 (pack_'rtype_code`): Likewise.
+ * m4/spread.m4 (spread_'rtype_code`): Likewise.
+ (spread_scalar_'rtype_code`): Likewise.
+ * m4/iforeach.m4 (name`'rtype_qual`_'atype_code): Likewise.
+ * m4/eoshift1.m4 (eoshift1): Likewise.
+ * m4/eoshift3.m4 (eoshift3): Likewise.
+ * m4/in_unpack.m4 (internal_unpack_'rtype_ccode`): Likewise.
+ * m4/unpack.m4 (unpack0_'rtype_code`): Likewise.
+ (unpack1_'rtype_code`): Likewise.
+ * intrinsics/pack_generic.c (pack_generic.c): Likewise.
+ * intrinsics/unpack_generic.c (unpack_internal): Likewise.
+ * intrinsics/eoshift0.c (eoshift0): Likewise.
+ * intrinsics/eoshift2.c (eoshift2): Likewise.
+ * intrinsics/reshape_generic.c (reshape_internal): Likewise.
+ * intrinsics/reshape_packed.c (reshape_packed): Likewise.
+ * generated/eoshift1_16.c: Regenerated.
+ * generated/eoshift1_4.c: Regenerated.
+ * generated/eoshift1_8.c: Regenerated.
+ * generated/eoshift3_16.c: Regenerated.
+ * generated/eoshift3_4.c: Regenerated.
+ * generated/eoshift3_8.c: Regenerated.
+ * generated/in_pack_c10.c: Regenerated.
+ * generated/in_pack_c16.c: Regenerated.
+ * generated/in_pack_c4.c: Regenerated.
+ * generated/in_pack_c8.c: Regenerated.
+ * generated/in_pack_i1.c: Regenerated.
+ * generated/in_pack_i16.c: Regenerated.
+ * generated/in_pack_i2.c: Regenerated.
+ * generated/in_pack_i4.c: Regenerated.
+ * generated/in_pack_i8.c: Regenerated.
+ * generated/in_pack_r10.c: Regenerated.
+ * generated/in_pack_r16.c: Regenerated.
+ * generated/in_pack_r4.c: Regenerated.
+ * generated/in_pack_r8.c: Regenerated.
+ * generated/in_unpack_c10.c: Regenerated.
+ * generated/in_unpack_c16.c: Regenerated.
+ * generated/in_unpack_c4.c: Regenerated.
+ * generated/in_unpack_c8.c: Regenerated.
+ * generated/in_unpack_i1.c: Regenerated.
+ * generated/in_unpack_i16.c: Regenerated.
+ * generated/in_unpack_i2.c: Regenerated.
+ * generated/in_unpack_i4.c: Regenerated.
+ * generated/in_unpack_i8.c: Regenerated.
+ * generated/in_unpack_r10.c: Regenerated.
+ * generated/in_unpack_r16.c: Regenerated.
+ * generated/in_unpack_r4.c: Regenerated.
+ * generated/in_unpack_r8.c: Regenerated.
+ * generated/maxloc0_16_i1.c: Regenerated.
+ * generated/maxloc0_16_i16.c: Regenerated.
+ * generated/maxloc0_16_i2.c: Regenerated.
+ * generated/maxloc0_16_i4.c: Regenerated.
+ * generated/maxloc0_16_i8.c: Regenerated.
+ * generated/maxloc0_16_r10.c: Regenerated.
+ * generated/maxloc0_16_r16.c: Regenerated.
+ * generated/maxloc0_16_r4.c: Regenerated.
+ * generated/maxloc0_16_r8.c: Regenerated.
+ * generated/maxloc0_4_i1.c: Regenerated.
+ * generated/maxloc0_4_i16.c: Regenerated.
+ * generated/maxloc0_4_i2.c: Regenerated.
+ * generated/maxloc0_4_i4.c: Regenerated.
+ * generated/maxloc0_4_i8.c: Regenerated.
+ * generated/maxloc0_4_r10.c: Regenerated.
+ * generated/maxloc0_4_r16.c: Regenerated.
+ * generated/maxloc0_4_r4.c: Regenerated.
+ * generated/maxloc0_4_r8.c: Regenerated.
+ * generated/maxloc0_8_i1.c: Regenerated.
+ * generated/maxloc0_8_i16.c: Regenerated.
+ * generated/maxloc0_8_i2.c: Regenerated.
+ * generated/maxloc0_8_i4.c: Regenerated.
+ * generated/maxloc0_8_i8.c: Regenerated.
+ * generated/maxloc0_8_r10.c: Regenerated.
+ * generated/maxloc0_8_r16.c: Regenerated.
+ * generated/maxloc0_8_r4.c: Regenerated.
+ * generated/maxloc0_8_r8.c: Regenerated.
+ * generated/minloc0_16_i1.c: Regenerated.
+ * generated/minloc0_16_i16.c: Regenerated.
+ * generated/minloc0_16_i2.c: Regenerated.
+ * generated/minloc0_16_i4.c: Regenerated.
+ * generated/minloc0_16_i8.c: Regenerated.
+ * generated/minloc0_16_r10.c: Regenerated.
+ * generated/minloc0_16_r16.c: Regenerated.
+ * generated/minloc0_16_r4.c: Regenerated.
+ * generated/minloc0_16_r8.c: Regenerated.
+ * generated/minloc0_4_i1.c: Regenerated.
+ * generated/minloc0_4_i16.c: Regenerated.
+ * generated/minloc0_4_i2.c: Regenerated.
+ * generated/minloc0_4_i4.c: Regenerated.
+ * generated/minloc0_4_i8.c: Regenerated.
+ * generated/minloc0_4_r10.c: Regenerated.
+ * generated/minloc0_4_r16.c: Regenerated.
+ * generated/minloc0_4_r4.c: Regenerated.
+ * generated/minloc0_4_r8.c: Regenerated.
+ * generated/minloc0_8_i1.c: Regenerated.
+ * generated/minloc0_8_i16.c: Regenerated.
+ * generated/minloc0_8_i2.c: Regenerated.
+ * generated/minloc0_8_i4.c: Regenerated.
+ * generated/minloc0_8_i8.c: Regenerated.
+ * generated/minloc0_8_r10.c: Regenerated.
+ * generated/minloc0_8_r16.c: Regenerated.
+ * generated/minloc0_8_r4.c: Regenerated.
+ * generated/minloc0_8_r8.c: Regenerated.
+ * generated/pack_c10.c: Regenerated.
+ * generated/pack_c16.c: Regenerated.
+ * generated/pack_c4.c: Regenerated.
+ * generated/pack_c8.c: Regenerated.
+ * generated/pack_i1.c: Regenerated.
+ * generated/pack_i16.c: Regenerated.
+ * generated/pack_i2.c: Regenerated.
+ * generated/pack_i4.c: Regenerated.
+ * generated/pack_i8.c: Regenerated.
+ * generated/pack_r10.c: Regenerated.
+ * generated/pack_r16.c: Regenerated.
+ * generated/pack_r4.c: Regenerated.
+ * generated/pack_r8.c: Regenerated.
+ * generated/spread_c10.c: Regenerated.
+ * generated/spread_c16.c: Regenerated.
+ * generated/spread_c4.c: Regenerated.
+ * generated/spread_c8.c: Regenerated.
+ * generated/spread_i1.c: Regenerated.
+ * generated/spread_i16.c: Regenerated.
+ * generated/spread_i2.c: Regenerated.
+ * generated/spread_i4.c: Regenerated.
+ * generated/spread_i8.c: Regenerated.
+ * generated/spread_r10.c: Regenerated.
+ * generated/spread_r16.c: Regenerated.
+ * generated/spread_r4.c: Regenerated.
+ * generated/spread_r8.c: Regenerated.
+ * generated/transpose_c10.c: Regenerated.
+ * generated/transpose_c16.c: Regenerated.
+ * generated/transpose_c4.c: Regenerated.
+ * generated/transpose_c8.c: Regenerated.
+ * generated/transpose_i16.c: Regenerated.
+ * generated/transpose_i4.c: Regenerated.
+ * generated/transpose_i8.c: Regenerated.
+ * generated/transpose_r10.c: Regenerated.
+ * generated/transpose_r16.c: Regenerated.
+ * generated/transpose_r4.c: Regenerated.
+ * generated/transpose_r8.c: Regenerated.
+ * generated/unpack_c10.c: Regenerated.
+ * generated/unpack_c16.c: Regenerated.
+ * generated/unpack_c4.c: Regenerated.
+ * generated/unpack_c8.c: Regenerated.
+ * generated/unpack_i1.c: Regenerated.
+ * generated/unpack_i16.c: Regenerated.
+ * generated/unpack_i2.c: Regenerated.
+ * generated/unpack_i4.c: Regenerated.
+ * generated/unpack_i8.c: Regenerated.
+ * generated/unpack_r10.c: Regenerated.
+ * generated/unpack_r16.c: Regenerated.
+ * generated/unpack_r4.c: Regenerated.
+ * generated/unpack_r8.c: Regenerated.
+
+2008-05-18 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ * runtime/select.c: Moved content to select_inc.c. Include it.
+ Add macros for different character types.
+ * runtime/select_inc.c: New file.
+ * runtime/convert_char.c: New file.
+ * intrinsics/pack_generic.c (pack_char4, pack_s_char4): New
+ functions.
+ * intrinsics/transpose_generic.c (transpose_char4): New function.
+ * intrinsics/spread_generic.c (spread_char4, spread_char4_scalar):
+ New functions.
+ * intrinsics/unpack_generic.c (unpack1_char4, unpack0_char4):
+ New functions.
+ * intrinsics/reshape_generic.c (reshape_char): Use
+ gfc_charlen_type as type for length variables.
+ (reshape_char4): New function.
+ * gfortran.map (GFORTRAN_1.1): Add _gfortran_select_string_char4,
+ _gfortran_convert_char1_to_char4, _gfortran_convert_char4_to_char1,
+ _gfortran_transpose_char4, _gfortran_spread_char4,
+ _gfortran_spread_char4_scalar, _gfortran_reshape_char4,
+ _gfortran_pack_char4, _gfortran_pack_s_char4,
+ _gfortran_unpack0_char4 and _gfortran_unpack1_char4.
+ * Makefile.am: Add runtime/convert_char.c.
+ * Makefile.in: Regenerate.
+
+2008-05-17 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ * io/list_read.c (list_formatted_read_scalar): Declare
+ type as volatile to shut up compiler warning.
+
+2008-05-16 Janne Blomqvist <jb@gcc.gnu.org>
+
+ PR libfortran/25561
+ * io/io.h (struct fbuf): Change pointer to position offset.
+ * io/fbuf.c (fbuf_init): Reduce default size of buffer, ptr=>pos
+ changes.
+ (fbuf_reset): ptr=>pos changes.
+ (fbuf_alloc): If the request doesn't fit, don't waste memory by
+ keeping flushed bytes. ptr=>pos changes.
+ (fbuf_flush): ptr=>pos changes.
+ (fbuf_seek): Don't seek past the left tab limit, don't update active
+ byte count.
+ * io/open.c (new_unit): If RECL has been specified, used that as
+ initial buffer size.
+
+2008-05-16 Janne Blomqvist <jb@gcc.gnu.org>
+
+ PR libfortran/35632
+ * io/open.c (new_unit): Set stream position to correct value.
+
+2008-05-15 Janne Blomqvist <jb@gcc.gnu.org>
+
+ PR libfortran/25561
+ * Makefile.am: Add fbuf.c to gfor_io_src.
+ * Makefile.in: Regenerate.
+ * io/io.h (read_block): Remove.
+ (struct stream): Remove alloc_r_at function pointer.
+ (salloc_r): Remove.
+ (salloc_r_at): Remove.
+ (salloc_w_at): Remove.
+ (salloc_w): Remove offset argument.
+ (struct fbuf): New struct for format buffer.
+ (struct gfc_unit): Add fbuf.
+ (read_block_form): New prototype.
+ (fbuf_init): Likewise.
+ (fbuf_destroy): Likewise.
+ (fbuf_reset): Likewise.
+ (fbuf_alloc): Likewise.
+ (fbuf_flush): Likewise.
+ (fbuf_seek): Likewise.
+ * io/file_pos.c (formatted_backspace): Change to use sread.
+ (unformatted_backspace): Likewise.
+ (st_backspace): Flush format buffer.
+ (st_rewind): Likewise.
+ * io/list_read.c (next_char): Likewise.
+ (nml_query): Tidying, flush format buffer.
+ * io/open.c (new_unit): Init format buffer.
+ * io/read.c (read_l): Change to use read_block_form.
+ (read_a): Likewise.
+ (read_decimal): Likewise.
+ (read_radix): Likewise.
+ (read_f): Likewise.
+ (read_x): Empty reads also for stream I/O.
+ * io/transfer.c (read_sf): Change to use sread.
+ (read_block): Rename to read_block_form, change prototype, use sread.
+ (read_block_direct): Don't seek stream files.
+ (write_block): Change to use fbuf if external file, don't seek stream
+ files.
+ (write_buf): Don't seek stream files.
+ (formatted_transfer_scalar): Use fbuf for external files.
+ (us_read): Change to use sread.
+ (pre_position): Do nothing for stream I/O.
+ (data_transfer_init): Flush fbuf when switching from write to read, if
+ POS is specified, seek stream file to correct offset.
+ (skip_record): Change to use sread.
+ (min_off): New function.
+ (next_record_r): Change to use sread.
+ (next_record_w): Change to use sset/sseek, flush fbuf.
+ (finalize_transfer): Flush fbuf.
+ * io/unit.c (init_units): Init fbuf for stdout, stderr.
+ (close_unit_1): Destroy fbuf.
+ (finish_last_advance_record): Flush fbuf, no need to seek.
+ * io/unix.c (fd_alloc_r_at): Remove unused where argument.
+ (fd_alloc_w_at): Likewise.
+ (fd_read): Remove third argument to fd_alloc_r_at.
+ (fd_write): Remove third argument to fd_alloc_w_at.
+ (fd_sset): Likewise.
+ (fd_open): Don't set alloc_r_at.
+ (mem_alloc_r_at): Remove unused where argument.
+ (mem_alloc_w_at): Likewise.
+ (mem_read): Don't incorrectly return previous errno, remove unused
+ third argument to alloc function.
+ (mem_write): Likewise.
+ (mem_set): Likewise.
+ (open_internal): Don't set alloc_r_at pointer.
+ * io/fbuf.c: New file.
+
+2008-05-14 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ * libgfortran.h (gfc_char4_t): New type.
+ (GFC_SIZE_OF_CHAR_KIND): New macro.
+ (compare_string): Adjust prototype.
+ (compare_string_char4): New prototype.
+ * gfortran.map (GFORTRAN_1.1): Add _gfortran_adjustl_char4,
+ _gfortran_adjustr_char4, _gfortran_compare_string_char4,
+ _gfortran_concat_string_char4, _gfortran_string_index_char4,
+ _gfortran_string_len_trim_char4, _gfortran_string_minmax_char4,
+ _gfortran_string_scan_char4, _gfortran_string_trim_char4 and
+ _gfortran_string_verify_char4.
+ * intrinsics/string_intrinsics_inc.c: New file from content of
+ string_intrinsics.c with types replaced by macros.
+ * intrinsics/string_intrinsics.c: Move content to
+ string_intrinsics_inc.c.
+
+2008-05-11 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/36202
+ * io/list_read (eat_separator): Handle the CR-LF case correctly.
+
+2008-05-09 Julian Brown <julian@codesourcery.com>
+
+ * Makefile.am (LTLDFLAGS): New.
+ (libgfortran_la_LDFLAGS): Use above.
+ * Makefile.in: Regenerate.
+
+2008-05-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/36131
+ * io/transfer.c (formatted_transfer_scalar): Revert patch for PR34974.
+ (next_record_w): Likewise.
+
+2008-05-04 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR libfortran/35995
+ * m4/ifunction_logical.m4: If the extent of "array"
+ is less than zero, set it to zero. Use an explicit
+ flag for breaking out of the main loop to avoid, because
+ the data pointer for "array" may be NULL for an empty
+ array.
+ * m4/ifunction.m4: Likewise.
+ * generated/all_l1.c: Regenerated.
+ * generated/all_l16.c: Regenerated.
+ * generated/all_l2.c: Regenerated.
+ * generated/all_l4.c: Regenerated.
+ * generated/all_l8.c: Regenerated.
+ * generated/any_l1.c: Regenerated.
+ * generated/any_l16.c: Regenerated.
+ * generated/any_l2.c: Regenerated.
+ * generated/any_l4.c: Regenerated.
+ * generated/any_l8.c: Regenerated.
+ * generated/count_16_l.c: Regenerated.
+ * generated/count_1_l.c: Regenerated.
+ * generated/count_2_l.c: Regenerated.
+ * generated/count_4_l.c: Regenerated.
+ * generated/count_8_l.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.
+
+2008-05-04 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR libfortran/35990
+ * intrinsics/pack_generic.c: Really commit.
+
+2008-05-04 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR libfortran/35990
+ * intrinsics/pack_generic.c: If an extent of the source
+ array is less then zero, set it to zero. Set the source
+ pointer to NULL if the source size is zero. Set the total
+ number of elements to zero if the vector has an extent
+ less or equal to zero.
+ * m4/pack.m4: Set the source pointer to NULL if the
+ source array is zero-sized. Set the total number of
+ elemements to zero if the vector has an extent less or
+ equal to zero.
+ * generated/pack_i1.c: Regenerated.
+ * generated/pack_i2.c: Regenerated.
+ * generated/pack_i4.c: Regenerated.
+ * generated/pack_i8.c: Regenerated.
+ * generated/pack_i16.c: Regenerated.
+ * generated/pack_r4.c: Regenerated.
+ * generated/pack_r8.c: Regenerated.
+ * generated/pack_r10.c: Regenerated.
+ * generated/pack_r16.c: Regenerated.
+ * generated/pack_c4.c: Regenerated.
+ * generated/pack_c8.c: Regenerated.
+ * generated/pack_c10.c: Regenerated.
+ * generated/pack_c16.c: Regenerated.
+
+2008-05-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/36094
+ * runtime/error.c (show_locus): Provide modified error message when
+ filename has not yet been associated with a unit number.
+ * io/open.c (encoding_opt[]): Comment out "utf-8" option and add TODO.
+
+2008-04-30 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ * intrinsics/selected_char_kind.c: New file.
+ * gfortran.map (GFORTRAN_1.1): Add _gfortran_selected_char_kind.
+ * Makefile.am: Add intrinsics/selected_char_kind.c.
+ * Makefile.in: Regenerate.
+
+2008-04-30 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR libfortran/35993
+ * ifunction.m4 (SCALAR_ARRAY_FUNCTION): Use correct
+ implementation for multi-dimensional return arrays when
+ the mask is .false.
+ * 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.
+
+2008-04-25 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR libfortran/35960
+ * m4/reshape.m4: Fix typo in last commit.
+ * generated/reshape_i4.c: Regererated.
+ * generated/reshape_i8.c: Regenerated.
+ * generated/reshape_i16.c: Regenerated.
+ * generated/reshape_r4.c: Regenerated.
+ * generated/reshape_r8.c: Regenerated.
+ * generated/reshape_r10.c: Regenerated.
+ * generated/reshape_r16.c: Regenerated.
+ * generated/reshape_c4.c: Regenerated.
+ * generated/reshape_c8.c: Regenerated.
+ * generated/reshape_c10.c: Regenerated.
+ * generated/reshape_c16.c: Regenerated.
+
+2008-04-24 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ * intrinsics/time_1.h (__time_1): Remove unused variable.
+
+2008-04-23 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR libfortran/35988
+ * m4/matmul.m4: Only issue a runtime error if extents are
+ non-zero.
+ * generated/matmul_i1.c: Regenerated.
+ * generated/matmul_i2.c: Regenerated.
+ * generated/matmul_i4.c: Regenerated.
+ * generated/matmul_i8.c: Regenerated.
+ * generated/matmul_i16.c: Regenerated.
+ * generated/matmul_r4.c: Regenerated.
+ * generated/matmul_r8.c: Regenerated.
+ * generated/matmul_r10.c: Regenerated.
+ * generated/matmul_r16.c: Regenerated.
+ * generated/matmul_c4.c: Regenerated.
+ * generated/matmul_c8.c: Regenerated.
+ * generated/matmul_c10.c: Regenerated.
+ * generated/matmul_c16.c: Regenerated.
+
+2008-04-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ * acinclude.m4 (LIBGFOR_CHECK_ATTRIBUTE_VISIBILITY)
+ (LIBGFOR_CHECK_ATTRIBUTE_DLLEXPORT)
+ (LIBGFOR_CHECK_ATTRIBUTE_ALIAS, LIBGFOR_CHECK_SYNC_FETCH_AND_ADD)
+ (LIBGFOR_GTHREAD_WEAK, LIBGFOR_CHECK_UNLINK_OPEN_FILE)
+ (LIBGFOR_CHECK_CRLF, LIBGFOR_CHECK_FOR_BROKEN_ISFINITE)
+ (LIBGFOR_CHECK_FOR_BROKEN_ISNAN)
+ (LIBGFOR_CHECK_FOR_BROKEN_FPCLASSIFY, LIBGFOR_CHECK_WORKING_STAT)
+ (LIBGFOR_CHECK_FPSETMASK, LIBGFOR_CHECK_MINGW_SNPRINTF):
+ Fix cache variable names.
+ * configure, Makefile.in: Regenerate.
+
+2008-04-20 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR fortran/35991
+ * intrinsics/cshift0.c (cshift0): Avoid divide by zero.
+
+2008-04-20 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR libfortran/35960
+ * intrinsics/reshape_generic.c (reshape_internal): If the size
+ of the resized array is zero, as determined by the SHAPE
+ argument, return early.
+ * m4/reshape.m4: Likewise.
+ * generated/reshape_i4.c: Regererated.
+ * generated/reshape_i8.c: Regenerated.
+ * generated/reshape_i16.c: Regenerated.
+ * generated/reshape_r4.c: Regenerated.
+ * generated/reshape_r8.c: Regenerated.
+ * generated/reshape_r10.c: Regenerated.
+ * generated/reshape_r16.c: Regenerated.
+ * generated/reshape_c4.c: Regenerated.
+ * generated/reshape_c8.c: Regenerated.
+ * generated/reshape_c10.c: Regenerated.
+ * generated/reshape_c16.c: Regenerated.
+
+2008-04-18 Paolo Bonzini <bonzini@gnu.org>
+
+ PR bootstrap/35457
+ * aclocal.m4: Regenerate.
+ * configure: Regenerate.
+
+2008-04-14 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR libfortran/32972
+ * intrinsics/spread_generic.c (spread): Use spread_i2()
+ for GFC_DTYPE_DERIVED_2 (fix typo from previous commit).
+
+2008-04-13 Thomas Koenig <tkoenig@gcc.gnu.org>
+ Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ PR libfortran/32972
+ PR libfortran/32512
+ configure.ac: Add test for uintptr_t.
+ configure: Regenerated.
+ config.h.in: Regenerated.
+ * libgfortran.h: GFC_DTYPE_DERIVED_1: New macro.
+ GFC_DTYPE_DERIVED_2: New macro.
+ GFC_DTYPE_DERIVED_4: New macro.
+ GFC_DTYPE_DERIVED_8: New macro.
+ GFC_DTYPE_DERIVED_16: New macro.
+ GFC_UNALIGNED_2: New macro.
+ GFC_UNALIGNED_4: New macro.
+ GFC_UNALIGNED_8: New macro.
+ GFC_UNALIGNED_16: New macro.
+ intptr_t: Define if we don't have it.
+ uintptr_t: Likewise.
+ * runtime/backtrace.c (show_backtrace): Use intptr_t.
+ * intrinsics/signal.c (signal_sub): Likewise.
+ (signal_sub_int): Likewise.
+ (alarm_sub_int_i4): Likewise.
+ * intrinsics/spread_generic.c (spread): Use the integer
+ routines for handling derived types of sizes 1, 2, 4, 8 and 16
+ if the alignment of all pointers is correct.
+ (spread_scalar): Likewise.
+ * intrinsics/pack_generic.c (pack): Likewise.
+ Use GFD_DTYPE_TYPE_SIZE to avoid nested switch statements.
+ * intrinsics/unpack_generic.c (unpack1): Likewise.
+ (unpack0): Likewise.
+ * runtime/in_pack_generic.c (internal_pack): Likewise.
+ * runtime/in_unpack_generic.c (internal_unpack): Likewise.
+
+2008-04-09 Jakub Jelinek <jakub@redhat.com>
+
+ * io/list_read.c (snprintf): Define if HAVE_SNPRINTF isn't defined.
+ (nml_read_obj): Add nml_err_msg_size argument. Pass it down to
+ recursive call. Use snprintf instead of sprintf when %s nl->var_name
+ is used.
+ (nml_get_obj_data): Add nml_err_msg_size argument. Pass it down to
+ nml_read_obj call. Use snprintf instead of sprintf when %s
+ nl->var_name is used. Pass nml_err_msg to nml_parse_qualifier instead
+ of parse_err_msg array. Append " for namelist variable " and
+ nl->var_name to it.
+ (namelist_read): Increase size of nml_err_msg array to 200. Pass
+ sizeof nml_err_msg as extra argument to nml_get_obj_data.
+
+2008-04-07 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR fortran/25829 28655
+ * io/open.c (edit_modes): Set flags.async. (new_unit) Set flags.async
+ and flags.status. (st_open): Initialize flags.async.
+ * io/list_read.c (read_charactor): Use delim_status instead of
+ flags.delim.
+ * io/read.c (read_x): Use pad_status instead of flags.pad.
+ * io/inquire.c (inquire_via_unit): Add new checks.
+ (inquire_via_filename): Likewise.
+ * io/io.h (st_parameter_inquire): Add new flags.
+ (st_parameter_dt): Likewise.
+ * io/unit.c (get_internal_unit): Set flags.async. (init_units): Set
+ flags.async.
+ * io/transfer.c: Add delim and pad option arrays. (read_sf): Use
+ pad_status instead of flags.pad. (read_block): Likewise.
+ (data_transfer_init): Set flags.async and add checks.
+ * io/write.c (write_character): Use delim_status.
+ (list_formatted_write_scalar): Likewise. (nml_write_obj): Likewise.
+ (namelist_write): Likewise.
+
+2008-04-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR fortran/25829 28655
+ * gfortran.map: Add new symbol, _gfortran_st_wait.
+ * libgfortran.h (st_paramter_common): Add new I/O parameters.
+ * open.c (st_option decimal_opt[], st_option encoding_opt[],
+ st_option round_opt[], st_option sign_opt[], st_option async_opt[]): New
+ parameter option arrays. (edit_modes): Add checks for new parameters.
+ (new_unit): Likewise. (st_open): Likewise.
+ * list_read.c (CASE_SEPERATORS): Add ';' as a valid separator.
+ (eat_separator): Handle deimal comma. (read_logical): Fix whitespace.
+ (parse_real): Handle decimal comma. (read_real): Handle decimal comma.
+ * read.c (read_a): Use decimal status flag to allow comma in place of a
+ decimal point. (read_f): Allow comma as acceptable character in float.
+ According to decimal flag, substitute a period for a comma.
+ (read_x): If decimal status flag is comma, disable the read_comma flag,
+ not allowing comma as a delimiter, an extension otherwise.
+ * io.h: (unit_decimal, unit_encoding, unit_round, unit_sign,
+ unit_async): New enumerators. Add all new I/O parameters.
+ * unix.c (unix_stream, int_stream): Add io_mode asychronous I/O control.
+ (move_pos_offset, fd_alloc_w_at): Fix some whitespace.
+ (fd_sfree): Use new enumerator. (fd_read): Likewise.
+ (fd_write): Likewise. (fd_close): Fix whitespace.
+ (fd_open): Use new enumertors. (tempfile, regular_file,
+ open_external): Fix whitespace. (output_stream, error_stream): Set
+ method. (stream_offset): Fix whitespace.
+ * transfer.c: (st_option decimal_opt[], sign_opt[], blank_opt[]): New
+ option arrays. (formatted_transfer_scalar): Set sf_read_comma flag
+ based on new decimal_status flag. (data_transfer_init): Initialize new
+ parameters. Add checks for decimal, sign, and blank. (st_wait): New stub.
+ * format.c: (format_lex): Add format specifiers DP, DC, and D.
+ (parse_format_list): Parse the new specifiers.
+ * write.c (write_decimal): Use new sign enumerators to set the sign.
+ (write_complex): Handle decimal comma and semi-colon separator.
+ (nml_write_obj): Likewise.
+ * write_float.def: Revise sign enumerators. (calculate_sign): Use new
+ sign enumerators. (output_float): Likewise. Use new decimal_status flag
+ to set the decimal character to a point or a comma.
+
+2008-03-28 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR libfortran/32972
+ PR libfortran/32512
+ * Makefile.am: Add new variable, i_spread_c, containing
+ pack_i1.c, pack_i2.c, pack_i4.c, pack_i8.c, spread_i16.c,
+ spread_r4.c, spread_r8.c, spread_r10.c, spread_r16.c,
+ spread_c4.c, spread_c8.c, spread_c10.c, spread_c16.c.
+ * Makefile.in: Regenerated.
+ * libgfortran.h: Add prototypes for spread_i1, spread_i2,
+ spread_i4, spread_i8, spread_i16, spread_r4, spread_r8,
+ spread_c4, spread_c8, spread_c10, spread_c16,
+ spread_scalar_i1, spread_scalar_i2, spread_scalar_i4,
+ spread_scalar_i8, spread_scalar_i16, spread_scalar_r4
+ spread_scalar_r8, spread_scalar_c4, spread_scalar_c8,
+ spread_scalar_c10 and spread_scalar_c16.
+ Add macros to isolate both type and size information
+ from array descriptors with a single mask operation.
+ * intrinsics/spread_generic.c: Add calls to specific
+ spread functions.
+ * m4/spread.m4: New file.
+ * generated/spread_i1.c: New file.
+ * generated/spread_i2.c: New file.
+ * generated/spread_i4.c: New file.
+ * generated/spread_i8.c: New file.
+ * generated/spread_i16.c: New file.
+ * generated/spread_r4.c: New file.
+ * generated/spread_r8.c: New file.
+ * generated/spread_r10.c: New file.
+ * generated/spread_r16.c: New file.
+ * generated/spread_c4.c: New file.
+ * generated/spread_c8.c: New file.
+ * generated/spread_c10.c: New file.
+ * generated/spread_c16.c: New file.
+
+2008-03-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/35699
+ * io/transfer.c (write_buf): Don't pad the record, just return if the
+ data is NULL. (next_record_w): If there are bytes left in the record
+ for unformatted direct I/O, pad out the record with zero bytes.
+
+2008-03-28 Tobias Burnus <burnus@net-b.de>
+
+ PR fortran/35721
+ * intrinsics/associated.c (associated): Ignore different
+ stride of pointer vs. target if only one element is referred.
+
+2008-03-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ * io/unix.c (fd_close): Do not close STDIN.
+
+2008-03-23 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR libfortran/32972
+ * Makefile.am: Add new variable, i_unpack_c, containing
+ unpack_i1.c, unpack_i2.c, unpack_i4.c, unpack_i8.c,
+ unpack_i16.c, unpack_r4.c, unpack_r8.c, unpack_r10.c,
+ unpack_r16.c, unpack_c4.c, unpack_c8.c, unpack_c10.c
+ and unpack_c16.c
+ Add i_unpack_c to gfor_built_src.
+ Add rule to generate i_unpack_c from m4/unpack.m4.
+ * Makefile.in: Regenerated.
+ * libgfortran.h: Add prototypes for unpack0_i1, unpack0_i2,
+ unpack0_i4, unpack0_i8, unpack0_i16, unpack0_r4, unpack0_r8,
+ unpack0_r10, unpack0_r16, unpack0_c4, unpack0_c8, unpack0_c10,
+ unpack0_c16, unpack1_i1, unpack1_i2, unpack1_i4, unpack1_i8,
+ unpack1_i16, unpack1_r4, unpack1_r8, unpack1_r10, unpack1_r16,
+ unpack1_c4, unpack1_c8, unpack1_c10 and unpack1_c16.
+ * intrinsics/pack_generic.c (unpack1): Add calls to specific
+ unpack1 functions.
+ (unpack0): Add calls to specific unpack0 functions.
+ * m4/unpack.m4: New file.
+ * generated/unpack_i1.c: New file.
+ * generated/unpack_i2.c: New file.
+ * generated/unpack_i4.c: New file.
+ * generated/unpack_i8.c: New file.
+ * generated/unpack_i16.c: New file.
+ * generated/unpack_r4.c: New file.
+ * generated/unpack_r8.c: New file.
+ * generated/unpack_r10.c: New file.
+ * generated/unpack_r16.c: New file.
+ * generated/unpack_c4.c: New file.
+ * generated/unpack_c8.c: New file.
+ * generated/unpack_c10.c: New file.
+ * generated/unpack_c16.c: New file.
+
+2008-03-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/35632
+ * io/transfer.c (data_transfer_init): Fix whitespace.
+ (next_record_w): Truncate the file only if the stream
+ position is short of the file end.
+
+2008-03-21 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ * intrinsics/pack_generic.c: Fix typo.
+
+2008-03-21 Janne Blomqvist <jb@gcc.gnu.org>
+
+ * gfortran.map: Move erfc_scaled symbols to new symbol node
+ GFORTRAN_1.1, thereby fixing ABI bug introduced in r132846.
+
+2008-03-21 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR libfortran/32972
+ * runtime/in_pack_generic.c (internal_pack): Call correct
+ function, pack_i16, for GFC_INTEGER_16.
+
+2008-03-21 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR libfortran/32972
+ * Makefile.am: Add new variable, i_pack_c, containing
+ pack_i1.c, pack_i2.c, pack_i4.c, pack_i8.c, pack_i16.c,
+ pack_r4.c, pack_r8.c, pack_r10.c, pack_r16.c, pack_c4.c,
+ pack_c8.c, pack_c10.c, pack_c16.c.
+ Add m4/pack.m4 to m4_files.
+ Add i_pack_c to gfor_built_src.
+ Add rule to generate i_pack_c from m4/pack.m4.
+ * Makefile.in: Regenerated.
+ * libgfortran.h: Add prototypes for pack_i1, pack_i2, pack_i4,
+ pack_i8, pack_i16, pack_r4, pack_r8, pack_c4, pack_c8,
+ pack_c10, pack_c16.
+ * intrinsics/pack_generic.c: Add calls to specific
+ pack functions.
+ * m4/pack.m4: New file.
+ * generated/pack_i1.c: New file.
+ * generated/pack_i2.c: New file.
+ * generated/pack_i4.c: New file.
+ * generated/pack_i8.c: New file.
+ * generated/pack_i16.c: New file.
+ * generated/pack_r4.c: New file.
+ * generated/pack_r8.c: New file.
+ * generated/pack_r10.c: New file.
+ * generated/pack_r16.c: New file.
+ * generated/pack_c4.c: New file.
+ * generated/pack_c8.c: New file.
+ * generated/pack_c10.c: New file.
+ * generated/pack_c16.c: New file.
+
+2008-03-19 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/35627
+ * io/list_read.c (free_line): Clear the line buffer enable flag and
+ reset the index into line_buffer, aka item_count.
+ (next_char): Cleanup whitespace.
+ (read_logical): Use unget_char to assure that the first character of the
+ bad logical is saved in case it is part of an object name. Remove the
+ clearing of index and flag that is now in free_line.
+ (read_real): Likewise.
+
+2008-03-19 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR libfortran/32972
+ * runtime/in_pack_generic.c (internal_pack): Fix typo in
+ last commit.
+
+2008-03-19 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR libfortran/32972
+ * Makefile.am (in_pack_c): Add in_pack_i1.c, in_pack_i2.c,
+ in_pack_r4.c, in_pack_r8.c, in_pack_r10.c and in_pack_r16.c.
+ (in_unpack_c): Add in_unpack_i1.c, in_unpack_i2.c,
+ in_unpack_r4.c, in_unpack_r8.c, in_unpack_r10.c and
+ in_unpack_r16.c.
+ * Makefile.in: Regenerate.
+ * libgfortran.h: Add prototypes for internal_pack_1,
+ internal_pack_2, internal_pack_16, internal_pack_r4,
+ internal_pack_r8, internal_pack_r10, internal_pack_r16,
+ internal_pack_c10 and internal_pack_c16. Add prototypes for
+ internal_unpack_1, internal_unpack_2, internal_unpack_16,
+ internal_unpack_r4, internal_unpack_r8, internal_unpack_r10,
+ internal_unpack_r16, internal_unpack_c10 and
+ internal_unpack_c16.
+ * runtime/in_pack_generic.c (internal_pack): Use sizeof instead
+ of hardwired sizes.
+ Add calls to internal_pack_1, internal_pack_2,
+ internal_pack_16, internal_pack_r4, internal_pack_r8,
+ internal_pack_r10, internal_pack_r16, internal_pack_c10 and
+ internal_pack_c16.
+ * runtime/in_unpack_generic.c (internal_unpack): Use sizeof
+ instead of hardwired sizes.
+ Add calls to internal_unpack_1, internal_unpack_2,
+ internal_unpack_16, internal_unpack_r4, internal_unpack_r8,
+ internal_unpack_r10, internal_unpack_r16, internal_unpack_c10
+ and internal_unpack_c16.
+ * generated/in_pack_r4.c: New file.
+ * generated/in_pack_i2.c: New file.
+ * generated/in_unpack_i1.c: New file.
+ * generated/in_pack_r10.c: New file.
+ * generated/in_unpack_r4.c: New file.
+ * generated/in_unpack_i2.c: New file.
+ * generated/in_unpack_r16.c: New file.
+ * generated/in_pack_r8.c: New file.
+ * generated/in_unpack_r10.c: New file.
+ * generated/in_unpack_r8.c: New file.
+ * generated/in_pack_r16.c: New file.
+ * generated/in_pack_i1.c: New file.
+
+2008-03-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/35617
+ * io/list_read.c (eat_separator): If next character after eatline is '!'
+ then eatline again.
+
+2008-03-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ * aclocal.m4: Regenerate.
+ * configure: Likewise.
+ * Makefile.in: Likewise.
+
+2008-03-12 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ PR libfortran/35524
+ * intrinsics/erfc_scaled_inc.c: Only define the long double
+ variant of erfc_scaled if expl is available.
+
+2008-03-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ PR libfortran/32812
+ * intrinsics/random.c (scramble_seed, unscramble_seed): New
+ functions.
+ (random_seed_i4): Scramble the seed the user gives us before
+ storing it, and unscramble it when we return it back later.
+
+2008-03-05 Hans-Peter Nilsson <hp@axis.com>
+
+ PR libfortran/35293
+ * io/unix.c (fd_truncate): Fold s->special_file case into
+ success case of ftruncate/chsize call instead of the failure case.
+ Make failure case actually return failure. Properly update stream
+ pointers on failure. Call runtime_error for targets without
+ neither ftruncate nor chsize where such a call would be needed.
+
+2008-03-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ PR fortran/33197
+ * intrinsics/erfc_scaled_inc.c: New file.
+ * intrinsics/erfc_scaled.c: New file.
+ * gfortran.map (GFORTRAN_1.0): Add _gfortran_erfc_scaled_r*.
+ * Makefile.am: Add intrinsics/erfc_scaled.c.
+ * config.h.in: Regenerate.
+ * configure: Regenerate.
+ * Makefile.in: Regenerate.
+
+2008-03-01 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ PR libfortran/35355
+ * intrinsics/time_1.h (__time_1): Fix calculation of user_usec
+ for mingw.
+
+2008-03-01 Janne Blomqvist <jb@gcc.gnu.org>
+
+ PR libfortran/35063
+ * io/unit.c (destroy_unit_mutex): Call __gthread_mutex_destroy
+ instead of macro kludge.
+
+2008-02-25 Janne Blomqvist <jb@gcc.gnu.org>
+
+ PR fortran/29549
+ * Makefile.am: Add -fcx-fortran-rules to AM_CFLAGS for all of
+ libgfortran.
+ * Makefile.in: Regenerated.
+
+2008-02-25 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ * m4/ifunction_logical.m4: Add casts to get rid of warnings.
+ * generated/all_l1.c: Regenerate.
+ * generated/all_l2.c: Regenerate.
+ * generated/all_l4.c: Regenerate.
+ * generated/all_l8.c: Regenerate.
+ * generated/all_l16.c: Regenerate.
+ * generated/any_l1.c: Regenerate.
+ * generated/any_l2.c: Regenerate.
+ * generated/any_l4.c: Regenerate.
+ * generated/any_l8.c: Regenerate.
+ * generated/any_l16.c: Regenerate.
+ * generated/count_1_l.c: Regenerate.
+ * generated/count_2_l.c: Regenerate.
+ * generated/count_4_l.c: Regenerate.
+ * generated/count_8_l.c: Regenerate.
+ * generated/count_16_l.c: Regenerate.
+
+2008-02-24 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ PR libfortran/32841
+ * acinclude.m4: Don't use HAVE_MATH_H.
+ * configure: Regenerate.
+
+2008-02-20 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/35132
+ * io/transfer.c (next_record_w): Truncate after the last record for
+ STREAM I/O.
+
+ PR libfortran/34954
+ * io/transfer.c (data_transfer_init): Initialize dtp->rec if writing.
+
+ PR libfortran/34974
+ * io/transfer.c (formatted_transfer_scalar): Flush the buffer if skips
+ is less than zero. (next_record_w): Use sseek to position the file to
+ the max position reached.
+
+2008-02-20 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/35036
+ * write_float.def (output_float): Add error checks for zero digits
+ after decimal point in E and D format specifiers.
+
+2008-02-10 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/35063
+ * io/unit.c (destroy_unit_mutex): New function that uses
+ __gthread_mutex_destroy_function or pthread_mutex_destroy after
+ unlocking and before free_mem for final closure of I/O unit.
+ (delete_root): Use new function.
+ (free_internal_unit): Likewise.
+ (close_unit_1): Likewise.
+
+2008-02-02 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR libfortran/35001
+ * m4/shape.m4: Return 0 for extents <= 0.
+ * generated/shape_i4.c: Regenerated.
+ * generated/shape_i8.c: Regenerated.
+ * generated/shape_i16.c: Regenerated.
+
+2008-01-27 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR libfortran/34980
+ * m4/shape.m4: If return array is empty, return early.
+ * generated/shape_i4.c: Regenerated.
+ * generated/shape_i8.c: Regenerated.
+ * generated/shape_i16.c: Regenerated.
+
+2008-01-26 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR libfofortran/34887
+ * io/transfer.c (next_record_w): Always move to the farthest
+ position when completing the record (also when we are
+ processing a slash edit descriptor).
+
+2008-01-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/34876
+ * io/transfer.c (write_buf): Handle case of zero sized array.
+ (transfer_array): Set data pointer to NULL and size to zero. Then
+ make a data transfer and return.
+
+2008-01-24 David Edelsohn <edelsohn@gnu.org>
+
+ * configure: Regenerate.
+
+2008-01-19 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/34795
+ * io/inquire.c (inquire_via_unit): If a unit is opened, return values
+ according to the open action for DIRECT, FORMATTED, and UNFORMATTED.
+ (inquire_via_filename): Return "UNKNOWN" for SEQUENTIAL, DIRECT,
+ FORAMATTED, and UNFORMATTED inquiries.
+ * io/unix.c (inquire_sequential): Return "UNKNOWN" when appropriate
+ for files that are not opened. (inquire_direct): Same.
+ (inquire_formatted): Same.
+
+2008-01-18 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/34782
+ * io/transfer.c (formatted_transfer_scalar): Set max_pos to the greater
+ of the current max_pos or the newly calculated position.
+
+2008-01-18 Tobias Burnus <burnus@net-b.de>
+
+ * io/write.c (write_real): Increase default precision
+ for REAL(16) by one.
+
+2008-01-16 Steven Bosscher <steven@gcc.gnu.org>
+
+ PR libfortran/34669
+ * mk-kinds-h.sh: Compile with -S to avoid calling the assembler,
+ to avoid piping the -fdump-parse-tree output to the assembler
+ when configuring with -pipe.
+ * mk-sik-inc.sh: Likewise.
+ * mk-srk-inc.sh: Likewise.
+
+2008-01-15 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR libfortran/34671
+ * gfortran.am: Added _gfortran_all_l1, _gfortran_all_l2,
+ _gfortran_any_l1, _gfortran_any_l2, -28,15 _gfortran_count_1_l,
+ _gfortran_count_16_l, _gfortran_count_2_l, _gfortran_count_4_l and
+ _gfortran_count_8_l Removed _gfortran_count_16_l16,
+ _gfortran_count_16_l4, _gfortran_count_16_l8,
+ _gfortran_count_4_l16, _gfortran_count_4_l4, _gfortran_count_4_l8,
+ _gfortran_count_8_l16, _gfortran_count_8_l4 and
+ _gfortran_count_8_l8.
+ * Makefile.am: Added generated/any_l1.c and generated/any_l2.c to
+ i_any_c. Added generated/all_l1. and generated/all_l2.c to
+ i_all_c. Removed generated/count_4_l4.c, generated/count_8_l4.c,
+ generated/count_16_l4.c, generated/count_4_l8.c,
+ generated/count_8_l8.c, generated/count_16_l8.c,
+ generated/count_4_l16.c, generated/count_8_l16.c, and
+ generated/count_16_l16.c from i_count_c. Added count_1_l.c,
+ count_2_l.c, count_4_l.c, count_8_l.c and count_16_l.c to
+ i_count_c. I_M4_DEPS2 depends on ifunction_logical.m4, for
+ any of the files generated from all.m4, any.m4 and count.m4.
+ * Makefile.in: Regenerated.
+ * m4/ifunction_logical.m4: New file. Use
+ GFC_LOGICAL_1 pointer for access to source arrays.
+ * m4/any.m4: Include ifunction_logical.m4 instead of
+ ifunction.m4. Don't check atype_name.
+ * m4/all.m4: Likewise.
+ * m4/count.m4: Likewise.
+ * generated/any_l1.c: New file.
+ * generated/any_l2.c: New file.
+ * generated/all_l1.c: New file.
+ * generated/count_1_l.c: New file.
+ * generated/count_2_l.c: New file.
+ * generated/count_4_l.c: New file.
+ * generated/count_8_l.c: New file.
+ * generated/count_16_l.c: New file.
+ * generated/any_l4.c: Regenerated.
+ * generated/any_l8.c: Regenerated.
+ * generated/any_l16.c: Regenerated.
+ * generated/all_l4.c: Regenerated.
+ * generated/all_l8.c: Regenerated.
+ * generated/all_l16.c: Regenerated.
+ * generated/count_4_l4.c: Removed.
+ * generated/count_4_l8.c: Removed.
+ * generated/count_4_l16.c: Removed.
+ * generated/count_8_l4.c: Removed.
+ * generated/count_8_l8.c: Removed.
+ * generated/count_8_l16.c: Removed.
+ * generated/count_16_l4.c: Removed.
+ * generated/count_16_l8.c: Removed.
+ * generated/count_16_l16.c: Removed.
+
+2008-01-13 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR libfortran/34746
+ * m4/iforeach.m4 (name`'rtype_qual`_'atype_code): Use %ld
+ in printf format for all bounds checking; cast all
+ integer-like arguments to runtime_error() to long int.
+ (`m'name`'rtype_qual`_'atype_code): Likewise.
+ (`s'name`'rtype_qual`_'atype_code): Likewise.
+ * m4/ifunction.m4 (name`'rtype_qual`_'atype_code): Likewise.
+ (`m'name`'rtype_qual`_'atype_code): Likewise.
+ (`s'name`'rtype_qual`_'atype_code): Likewise.
+ * generated/all_l16.c: Regenerated.
+ * generated/all_l4.c: Regenerated.
+ * generated/all_l8.c: Regenerated.
+ * generated/any_l16.c: Regenerated.
+ * generated/any_l4.c: Regenerated.
+ * generated/any_l8.c: Regenerated.
+ * generated/count_16_l16.c: Regenerated.
+ * generated/count_16_l4.c: Regenerated.
+ * generated/count_16_l8.c: Regenerated.
+ * generated/count_4_l16.c: Regenerated.
+ * generated/count_4_l4.c: Regenerated.
+ * generated/count_4_l8.c: Regenerated.
+ * generated/count_8_l16.c: Regenerated.
+ * generated/count_8_l4.c: Regenerated.
+ * generated/count_8_l8.c: Regenerated.
+ * generated/maxloc0_16_i1.c: Regenerated.
+ * generated/maxloc0_16_i16.c: Regenerated.
+ * generated/maxloc0_16_i2.c: Regenerated.
+ * generated/maxloc0_16_i4.c: Regenerated.
+ * generated/maxloc0_16_i8.c: Regenerated.
+ * generated/maxloc0_16_r10.c: Regenerated.
+ * generated/maxloc0_16_r16.c: Regenerated.
+ * generated/maxloc0_16_r4.c: Regenerated.
+ * generated/maxloc0_16_r8.c: Regenerated.
+ * generated/maxloc0_4_i1.c: Regenerated.
+ * generated/maxloc0_4_i16.c: Regenerated.
+ * generated/maxloc0_4_i2.c: Regenerated.
+ * generated/maxloc0_4_i4.c: Regenerated.
+ * generated/maxloc0_4_i8.c: Regenerated.
+ * generated/maxloc0_4_r10.c: Regenerated.
+ * generated/maxloc0_4_r16.c: Regenerated.
+ * generated/maxloc0_4_r4.c: Regenerated.
+ * generated/maxloc0_4_r8.c: Regenerated.
+ * generated/maxloc0_8_i1.c: Regenerated.
+ * generated/maxloc0_8_i16.c: Regenerated.
+ * generated/maxloc0_8_i2.c: Regenerated.
+ * generated/maxloc0_8_i4.c: Regenerated.
+ * generated/maxloc0_8_i8.c: Regenerated.
+ * generated/maxloc0_8_r10.c: Regenerated.
+ * generated/maxloc0_8_r16.c: Regenerated.
+ * generated/maxloc0_8_r4.c: Regenerated.
+ * generated/maxloc0_8_r8.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/minloc0_16_i1.c: Regenerated.
+ * generated/minloc0_16_i16.c: Regenerated.
+ * generated/minloc0_16_i2.c: Regenerated.
+ * generated/minloc0_16_i4.c: Regenerated.
+ * generated/minloc0_16_i8.c: Regenerated.
+ * generated/minloc0_16_r10.c: Regenerated.
+ * generated/minloc0_16_r16.c: Regenerated.
+ * generated/minloc0_16_r4.c: Regenerated.
+ * generated/minloc0_16_r8.c: Regenerated.
+ * generated/minloc0_4_i1.c: Regenerated.
+ * generated/minloc0_4_i16.c: Regenerated.
+ * generated/minloc0_4_i2.c: Regenerated.
+ * generated/minloc0_4_i4.c: Regenerated.
+ * generated/minloc0_4_i8.c: Regenerated.
+ * generated/minloc0_4_r10.c: Regenerated.
+ * generated/minloc0_4_r16.c: Regenerated.
+ * generated/minloc0_4_r4.c: Regenerated.
+ * generated/minloc0_4_r8.c: Regenerated.
+ * generated/minloc0_8_i1.c: Regenerated.
+ * generated/minloc0_8_i16.c: Regenerated.
+ * generated/minloc0_8_i2.c: Regenerated.
+ * generated/minloc0_8_i4.c: Regenerated.
+ * generated/minloc0_8_i8.c: Regenerated.
+ * generated/minloc0_8_r10.c: Regenerated.
+ * generated/minloc0_8_r16.c: Regenerated.
+ * generated/minloc0_8_r4.c: Regenerated.
+ * generated/minloc0_8_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.
+
+2008-01-11 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR libfortran/34670
+ * m4/iparm.m4 (upcase): New macro (copied from the m4 manual).
+ (u_name): New macro for the upper case name of the intrinsic.
+ * m4/iforeach.m4 (name`'rtype_qual`_'atype_code): Add
+ bounds checking and rank check, depending on
+ compile_options.bounds_check.
+ (`m'name`'rtype_qual`_'atype_code): Likewise.
+ (`s'name`'rtype_qual`_'atype_code): Likewise.
+ * m4/ifunction.m4 (name`'rtype_qual`_'atype_code): Add
+ bounds checking and rank check, depending on
+ compile_options.bounds_check.
+ (`m'name`'rtype_qual`_'atype_code): Likewise.
+ (`s'name`'rtype_qual`_'atype_code): Likewise.
+ * generated/all_l16.c: Regenerated.
+ * generated/all_l4.c: Regenerated.
+ * generated/all_l8.c: Regenerated.
+ * generated/any_l16.c: Regenerated.
+ * generated/any_l4.c: Regenerated.
+ * generated/any_l8.c: Regenerated.
+ * generated/count_16_l16.c: Regenerated.
+ * generated/count_16_l4.c: Regenerated.
+ * generated/count_16_l8.c: Regenerated.
+ * generated/count_4_l16.c: Regenerated.
+ * generated/count_4_l4.c: Regenerated.
+ * generated/count_4_l8.c: Regenerated.
+ * generated/count_8_l16.c: Regenerated.
+ * generated/count_8_l4.c: Regenerated.
+ * generated/count_8_l8.c: Regenerated.
+ * generated/maxloc0_16_i1.c: Regenerated.
+ * generated/maxloc0_16_i16.c: Regenerated.
+ * generated/maxloc0_16_i2.c: Regenerated.
+ * generated/maxloc0_16_i4.c: Regenerated.
+ * generated/maxloc0_16_i8.c: Regenerated.
+ * generated/maxloc0_16_r10.c: Regenerated.
+ * generated/maxloc0_16_r16.c: Regenerated.
+ * generated/maxloc0_16_r4.c: Regenerated.
+ * generated/maxloc0_16_r8.c: Regenerated.
+ * generated/maxloc0_4_i1.c: Regenerated.
+ * generated/maxloc0_4_i16.c: Regenerated.
+ * generated/maxloc0_4_i2.c: Regenerated.
+ * generated/maxloc0_4_i4.c: Regenerated.
+ * generated/maxloc0_4_i8.c: Regenerated.
+ * generated/maxloc0_4_r10.c: Regenerated.
+ * generated/maxloc0_4_r16.c: Regenerated.
+ * generated/maxloc0_4_r4.c: Regenerated.
+ * generated/maxloc0_4_r8.c: Regenerated.
+ * generated/maxloc0_8_i1.c: Regenerated.
+ * generated/maxloc0_8_i16.c: Regenerated.
+ * generated/maxloc0_8_i2.c: Regenerated.
+ * generated/maxloc0_8_i4.c: Regenerated.
+ * generated/maxloc0_8_i8.c: Regenerated.
+ * generated/maxloc0_8_r10.c: Regenerated.
+ * generated/maxloc0_8_r16.c: Regenerated.
+ * generated/maxloc0_8_r4.c: Regenerated.
+ * generated/maxloc0_8_r8.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/minloc0_16_i1.c: Regenerated.
+ * generated/minloc0_16_i16.c: Regenerated.
+ * generated/minloc0_16_i2.c: Regenerated.
+ * generated/minloc0_16_i4.c: Regenerated.
+ * generated/minloc0_16_i8.c: Regenerated.
+ * generated/minloc0_16_r10.c: Regenerated.
+ * generated/minloc0_16_r16.c: Regenerated.
+ * generated/minloc0_16_r4.c: Regenerated.
+ * generated/minloc0_16_r8.c: Regenerated.
+ * generated/minloc0_4_i1.c: Regenerated.
+ * generated/minloc0_4_i16.c: Regenerated.
+ * generated/minloc0_4_i2.c: Regenerated.
+ * generated/minloc0_4_i4.c: Regenerated.
+ * generated/minloc0_4_i8.c: Regenerated.
+ * generated/minloc0_4_r10.c: Regenerated.
+ * generated/minloc0_4_r16.c: Regenerated.
+ * generated/minloc0_4_r4.c: Regenerated.
+ * generated/minloc0_4_r8.c: Regenerated.
+ * generated/minloc0_8_i1.c: Regenerated.
+ * generated/minloc0_8_i16.c: Regenerated.
+ * generated/minloc0_8_i2.c: Regenerated.
+ * generated/minloc0_8_i4.c: Regenerated.
+ * generated/minloc0_8_i8.c: Regenerated.
+ * generated/minloc0_8_r10.c: Regenerated.
+ * generated/minloc0_8_r16.c: Regenerated.
+ * generated/minloc0_8_r4.c: Regenerated.
+ * generated/minloc0_8_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.
+
+2008-01-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libfortran/34676
+ * io/list_read.c (next_char): Only save the EOF condition for later if
+ advance="no".
+
+2008-01-03 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ PR libfortran/34565
+ * io/io.h: Adjust protoypes for open_internal(),
+ next_array_record() and init_loop_spec().
+ * io/list_read.c (next_char): Use argument "finished"
+ of next_array_record to check for end on internal file.
+ * io/unit.c: Calculate the offset for an array
+ internal file and supply this informatin to open_internal().
+ * io/unix.c (open_internal): Set the offset for the internal
+ file on open.
+ * io/transfer.c (init_loop_spec): Calculate the starting
+ record in case of negative strides. Return size of 0 for
+ an empty array.
+ (next_array_record): Use an extra flag to signal that the
+ array is finished.
+ (next_record_r): Use the new flag to next_array_record().
+ (next_record_w): Likewise.
+
+
+Copyright (C) 2008 Free Software Foundation, Inc.
+
+Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved.
diff --git a/gcc-4.7/libgfortran/ChangeLog-2009 b/gcc-4.7/libgfortran/ChangeLog-2009
new file mode 100644
index 000000000..2611ef1ae
--- /dev/null
+++ b/gcc-4.7/libgfortran/ChangeLog-2009
@@ -0,0 +1,2502 @@
+2009-12-19 Janne Blomqvist <jb@gcc.gnu.org>
+
+ * intrinsics/system_clock.c: Fix library name in comment, move TCK
+ definition into functions.
+ (system_clock_4): Remove unused struct timezone.
+ (system_clock_8): Remove unused struct timezone, increase TCK.
+
+2009-12-08 Tobias Burnus <burnus@net-b.de>
+
+ PR fortran/41711
+ * io/read.c (set_integer): Support kind=10 for reading
+ real/complex BOZ.
+
+2009-12-06 Janus Weil <janus@gcc.gnu.org>
+
+ PR fortran/41478
+ PR fortran/42268
+ * intrinsics/pack_generic.c (pack): Add safety checks for the case that
+ 'vector' is NULL.
+
+2009-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ * Makefile.in: Regenerate.
+ * configure: Regenerate.
+
+2009-12-04 Janne Blomqvist <jb@gcc.gnu.org>
+
+ PR libfortran/40812
+ * libgfortran.h: typedef gfc_offset differently for MinGW.
+ * io/unix.h (struct stream): Change function pointers to use
+ gfc_offset instead of off_t.
+ (sseek): Change prototype to use gfc_offset instead of off_t.
+ (stell): Likewise.
+ (struncate): Likewise.
+ * io/unix.c: Redefine lseek() for mingw.
+ (raw_seek): Use gfc_offset instead of off_t.
+ (raw_tell): Likewise.
+ (buf_seek): Likewise.
+ (buf_tell): Likewise.
+ (buf_truncate): Likewise.
+ (mem_seek): Likewise.
+ (mem_tell): Likewise.
+ (mem_truncate): Likewise.
+ (fd_to_stream): Likewise.
+ (file_length): Likewise.
+ (raw_truncate): Use gfc_offset instead of off_t, add large file
+ capable implementation for MinGW.
+
+2009-11-30 Janus Weil <janus@gcc.gnu.org>
+
+ * gfortran.map: Add _gfortran_is_extension_of.
+ * Makefile.am: Add intrinsics/extends_type_of.c.
+ * Makefile.in: Regenerated.
+ * intrinsics/extends_type_of.c: New file.
+
+2009-11-30 Kai Tietz <Kai.Tietz@onevision.com>
+
+ * io/unix.c (find_file): Add variable id conditionally for
+ mingw targets.
+
+2009-11-28 Jakub Jelinek <jakub@redhat.com>
+
+ * intrinsics/pack_generic.c (pack_internal): Remove unused
+ zero_sized variable.
+ * intrinsics/unpack_generic.c (unpack0): Remove unused size
+ variable.
+ * io/write.c (namelist_write_newline): Remove unused length
+ variable.
+ * io/unix.c (find_file): Remove unused id variable.
+ * m4/ifunction.m4 (SCALAR_ARRAY_FUNCTION): Remove unused sstride
+ variable.
+ * 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.
+
+2009-11-19 Janne Blomqvist <jb@gcc.gnu.org>
+
+ * io/fbuf.h: Move includes after include guard.
+ * io/format.h: Likewise.
+ * io/unix.h: Likewise.
+
+2009-11-18 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libgfortran/42090
+ * io/transfer.c (skip_record): Set bytes_left_subrecord to zero after
+ skipping the remaining bytes in the record.
+ (next_record_r): Call skip_record with the number of bytes_left to be
+ skipped.
+
+2009-11-02 Janne Blomqvist <jb@gcc.gnu.org>
+
+ * Makefile.am (gfor_io_headers): Add fbuf.h, format.h, unix.h.
+ * Makefile.in: Regenerated.
+ * io/fbuf.h: New file.
+ * io/format.h: New file.
+ * io/unix.h: New file.
+ * io/io.h (struct stream): Move to unix.h, add forward declaration.
+ (sread): Likewise.
+ (swrite): Likewise.
+ (sseek): Likewise.
+ (stell): Likewise.
+ (struncate): Likewise.
+ (sflush): Likewise.
+ (sflush): Likewise.
+ (sclose): Likewise.
+ (compared_files): Move prototype to unix.h.
+ (open_external): Likewise.
+ (open_internal): Likewise.
+ (mem_alloc_w): Likewise.
+ (mem_alloc_r): Likewise.
+ (input_stream): Likewise.
+ (output_stream): Likewise.
+ (error_stream): Likewise.
+ (compare_file_filename): Likewise.
+ (find_file): Likewise.
+ (delete_file): Likewise.
+ (file_exists): Likewise.
+ (inquire_sequential): Likewise.
+ (inquire_direct): Likewise.
+ (inquire_formatted): Likewise.
+ (inquire_unformatted): Likewise.
+ (inquire_read): Likewise.
+ (inquire_write): Likewise.
+ (inquire_readwrite): Likewise.
+ (file_length): Likewise.
+ (is_seekable): Likewise.
+ (is_special): Likewise.
+ (flush_if_preconnected): Likewise.
+ (empty_internal_buffer): Likewise.
+ (stream_isatty): Likewise.
+ (stream_ttyname): Likewise.
+ (unpack_filename): Likewise.
+ (struct fbuf): Move to fbuf.h, add forward declaration.
+ (fbuf_init): Move prototype to fbuf.h.
+ (fbuf_destroy): Likewise.
+ (fbuf_reset): Likewise.
+ (fbuf_alloc): Likewise.
+ (fbuf_flush): Likewise.
+ (fbuf_seek): Likewise.
+ (fbuf_read): Likewise.
+ (fbuf_getc_refill): Likewise.
+ (fbuf_getc): Move inline function to fbuf.h.
+ (enum format_token): Move to format.h.
+ (struct fnode): Move to format.h, add forward declaration.
+ (parse_format): Move prototype to format.h.
+ (next_format): Likewise.
+ (unget_format): Likewise.
+ (format_error): Likewise.
+ (free_format_data): Likewise.
+ (free_format_hash_table): Likewise.
+ (init_format_hash): Likewise.
+ (free_format_hash): Likewise.
+ * io/close.c: Include unix.h.
+ * io/fbuf.c: Include fbuf.h and unix.h.
+ * io/file_pos.c: Include fbuf.h and unix.h.
+ * io/format.c: Include format.h.
+ * io/inquire.c: Include unix.h.
+ * io/intrinsics.c: Include fbuf.h and unix.h.
+ * io/list_read.c: Include fbuf.h and unix.h.
+ * io/open.c: Include fbuf.h and unix.h.
+ * io/read.c: Include format.h.
+ * io/transfer.c: Include fbuf.h, format.h, and unix.h.
+ * io/unit.c: Likewise.
+ * io/unix.c: Include unix.h.
+ * io/write.c: Include format.h and unix.h.
+
+2009-10-31 Janne Blomqvist <jb@gcc.gnu.org>
+
+ PR libfortran/41219
+ * intrinsics/unpack_generic.c (unpack_internal): Remove unused
+ argument from prototype.
+ (unpack1): Update unpack_internal call.
+ (unpack1_char): Likewise.
+ (unpack1_char4): Likewise.
+ (unpack0): Likewise.
+ (unpack0_char): Likewise.
+ (unpack0_char4): Likewise.
+ * intrinsics/iso_c_binding.c (c_f_pointer_u0): Get rid of
+ uninitialized variable warning.
+
+2009-10-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libgfortran/41711
+ * libgfortran.h: Define larger sizes for BOZ conversion buffers.
+ * io/write.c (extract_uint): Include case where size is 10 if integer
+ is large enough. (write_int): Rename to write_boz. (write_boz): Factor
+ out extract_uint and delete the conversion function.
+ (btoa_big): New binary conversion function.
+ (otoa_big): New octal conversion function.
+ (ztoa_big): New hexidecimal conversion function.
+ (write_b): Modify to use new function.
+ (write_o): Likewise.
+ (write_z): Likewise.
+
+2009-10-12 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libgfortran/41683
+ * io/format.c (parse_format_list): Allow a repeat specifier immediately
+ after a P specifier.
+
+2009-10-11 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libgfortran/38439
+ * io/format.c (parse_format_list): Correct logic for FMT_F reading vs
+ writing. Code clean-up.
+
+2009-10-11 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libgfortran/38439
+ * io/format.c (parse_format_list): Add check for tokens not allowed
+ after P specifier. Fix comments. Remove un-needed code. Fix the
+ default exponent list. Correct pointer assignment error.
+
+2009-10-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libgfortran/35862
+ * write_float.def (outout_float): Fix handling of special case where no
+ digits after the decimal point and values less than 1.0. Adjust index
+ into digits string. (WRITE_FLOAT): Remove special case code from macro.
+
+2009-09-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libgfortran/35862
+ * io.h (gfc_unit): Add round_status.
+ (format_token): Add enumerators for rounding format specifiers.
+ * transfer.c (round_opt): New options table.
+ (formatted_transfer_scalar_read): Add set round_status for each rounding
+ format token. (formatted_transfer_scalar_write): Likewise.
+ * format.c (format_lex): Tokenize the rounding format specifiers.
+ (parse_format_list): Parse the rounding format specifiers.
+ * write_float.def (outout_float): Modify rounding code to use new
+ variable rchar to set the appropriate rounding. Fix some whitespace.
+ * unit.c (get_internal_unit): Initialize rounding mode for internal
+ units. (init_units): Likewise.
+
+2009-09-19 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
+
+ * configure.ac: Check for GFORTRAN_C99_1.1 funcs in OS libm.
+ * configure: Regenerate.
+ * config.h.in: Ditto.
+
+2009-09-18 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libgfortran/41328