OSDN Git Service

2010-03-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / libgfortran / ChangeLog
1 2010-03-29  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
2
3         PR libfortran/43265
4         * io/transfer.c (next_record_r): Only call hit_eof for specific
5         conditions when an EOF is encountered.
6
7 2010-03-29  Tobias Burnus  <burnus@net-b.de>
8
9         PR fortran/43551
10         * io/unix.c (buf_write): Set physical_offset after lseek.
11
12 2010-03-25  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
13
14         PR libfortran/43517
15         * io/read.c (read_x): Return if seen EOR condition.
16
17 2010-03-21  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
18
19         PR fortran/43409
20         * io/io.h: Fix type of size in st_parameter_inquire structure.
21
22 2010-03-20  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
23
24         PR fortran/43409
25         * io/unix.h: Add prototype for new function to return file size.
26         * io/unix.c (file_size): New function.
27         * io/inquire.c (inquire_via_unit): Use new function.
28         (inquire_via_filename): Use new function.
29
30 2010-03-17  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
31
32         * io/transfer.c (read_sf_internal): Remove stray function declaration
33         used during debugging.
34
35 2010-03-17  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
36
37         PR libfortran/43265
38         * io/io.h: Delete prototype for read_sf, making it static.
39         * io/read.c (read_x): Modify to call hit_eof if PAD="no".
40         * io/transfer.c (read_sf_internal): New static function extracted from
41         read_sf for use on internal units only. Handle empty string case.
42         (read_sf): New factoring of this function, make it static.  Add special
43         conditions for EOF based on ADVANCE="no", PAD="no", and whether any
44         bytes have been previously read from the record.
45         (read_block_form): Modify to call read_sf or read_sf_internal.
46         (next_record_r): Add a done flag similar to next_record_w. Call hit_eof
47         if internal array unit next record returns finished, meaning an EOF was
48         found and not done, ie not the last record expected.  For external
49         units call hit_eof if item_count is 1 or there are no pending spaces.
50         (next_record): Update call to next_record_r.
51
52 2010-03-12  Kai Tietz  <kai.tietz@onevision.com>
53
54         PR/42950
55         * io/format.c (parse_format_list): Add to ERROR, WARNING,
56         SILENT enumerators NOTIFICATION_ prefix.
57         * runtime/error.c (notification_std): Likewise.
58         * libgfortran.h (notification): Likewise.
59         (GFC_LARGEST_BUF): Check for HAVE_GFC_INTEGER_16.
60
61 2010-03-11  Tobias Burnus  <burnus@net-b.de>
62
63         PR fortran/43228
64         * io/list_read.c (nml_parse_qualifier): Disable expanded_read
65         for array sections.
66
67 2010-03-10  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
68
69         PR libfortran/43320
70         * io/transfer.c (next_record_r): Add hit_eof based on item_count
71         condition.
72
73 2010-03-09  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
74
75         PR libfortran/43265
76         * io/read.c: Include fbuf.h and unix.h to enable lower level I/O for
77         read_x. (read_x): Replace the use of read_sf with equivalent lower level
78         I/O, eliminating unneeded code and handling EOF and EOR conditions.
79         * io/io.h: Revise prototype for read_sf.
80         * io/transfer.c (read_sf): Delete no_error parameter and all uses of it.
81         (read_block_form): Likewise.
82         (next_record_r): Delete wrong code call to hit_eof.
83
84 2010-03-08  Kai TIetz  <kai.tietz@onevision.com>
85
86         PR/42950
87         * libgfortran.h (_POSIX): Define if __MINGW32__ is defined.
88         (gfc_printf): Define to gnu_printf for __MINGW32__ case,
89         otherwise to __printf__.
90         (gfc_strtof,gfc_strtod,gfc_strtold): Define for mingw case
91         to POSIX compatible converter functions.
92         (runtime_error): Use instead gfc_printf as formatter
93         attribute name.
94         (runtime_error_at): Likewise.
95         (runtime_warning_at): Likewise.
96         (st_printf): Likewise.
97         * intrinsics/date_and_time.c (localtime_r): Undefine
98         possible defined macro.
99         (gmtime_r): Likewise.
100         * io/read.c (convert_real): Use gfc_strtof, gfc_strtod,
101         and gfc_strtold.
102
103 2010-02-24  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
104
105         PR libfortran/43155
106         * io/transfer.c (require_type): Subtract one from item_count for output
107         of error message.  Add comment before formatted_transfer function
108         explaining why the item_count is off by one.
109
110 2010-02-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
111
112         * io/write_float.def (WRITE_FLOAT): Use __builtin_signbit.
113
114 2010-02-22  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
115
116         * io/list_read.c (list_formatted_read_scalar): Remove duplicate code.
117
118 2010-02-09  Tobias Burnus  <burnus@net-b.de>
119
120         PR fortran/42996
121         * intrinsics/args.c (get_command_argument_i4): Always return
122         commandline-argument length for length parameter.
123
124 2010-02-06  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
125
126         PR libfortran/42742
127         * io/format.c (reset_fnode_counters): Use the correct pointer to the
128         head of the fnode list. (parse_format): Remove previous hack that set
129         limit on size of format string for caching.
130
131 2010-02-06  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
132
133         PR libfortran
134         * io/transfer.c (read_sf): Handle EOR and EOF conditions for
135         ADVANCE="no" with PAD="yes" or PAD="no".
136
137 2010-02-03  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
138
139         PR libfortran/42901
140         * io/list_read.c (nml_get_obj_data): Add new qualifier flag, clean up
141         code, and adjust logic to set namelist info pointer correctly for array
142         qualifiers of derived type components.
143
144 2010-01-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
145
146         PR libfortran/42742
147         * io/format.c (parse_format): Set limit on size of format strings that
148         will be cached.
149
150 2010-01-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
151
152         * configure: Regenerate.
153
154 2010-01-03  Janne Blomqvist  <jb@gcc.gnu.org>
155
156         PR libfortran/42420
157         * io/unix.c: Defines for MINGW stat and fstat.
158         (gfstat_t): New typedef.
159         (id_from_fd): Use gfstat_t instead of struct stat.
160         (fd_to_stream): Likewise.
161         (compare_file_filename): Likewise.
162         (find_file): Likewise.
163         (file_exists): Likewise.
164         (inquire_sequential): Likewise.
165         (inquire_direct): Likewise.
166         (inquire_formatted): Likewise.
167
168 \f
169 Copyright (C) 2010 Free Software Foundation, Inc.
170
171 Copying and distribution of this file, with or without modification,
172 are permitted in any medium without royalty provided the copyright
173 notice and this notice are preserved.