lex.c (parse_strconst_pragma): Return error_mark_node instead of "(tree)-1" to indica...
[gcc.git] / libgfortran / ChangeLog
1 2006-02-12 Janne Blomqvist <jb@gcc.gnu.org>
2
3 PR libgfortran/25949
4 * io/io.h: Add set function pointer to struct stream.
5 * io/unix.c (fd_seek): Only update offset, don't seek.
6 (fd_sset): New function.
7 (fd_read): Call lseek directly if necessary.
8 (fd_write): Likewise.
9 (fd_open): Set pointer to fd_sset.
10 (mem_set): New function.
11 (open_internal): Set pointer to mem_set.
12 * io/transfer.c (write_block_direct): Rename to write_buf, add
13 error return, non-pointer length argument.
14 (unformatted_write): Update to use write_buf.
15 (us_write): Simplify by using swrite instead of salloc_w.
16 (write_us_marker): New function.
17 (new_record_w): Use sset instead of memset, use write_us_marker,
18 simplify by using swrite instead of salloc_w.
19
20 2006-02-08 Francois-Xavier Coudert <coudert@clipper.ens.fr>
21
22 PR libfortran/25425
23 * libgfortran.h: Add pedantic field to compile_options struct.
24 * io/write.c (calculate_G_format): Depending on the standard,
25 choose E or F format for list-directed output of 0.0.
26 * runtime/error.c (notify_std): Make warning and error dependent
27 on pedanticity.
28 * runtime/compile_options.c (set_std): Use new pedantic argument.
29
30 2006-02-07 Dale Ranta <dir@lanl.gov>
31
32 PR fortran/25577
33 * intrinsics/mvbits.c: Shift '(TYPE)1' type when building 'lenmask'.
34
35 2006-02-07 Rainer Emrich <r.emrich@de.tecosim.com>
36
37 * intrinsics/c99_functions.c: Work around incompatible
38 declarations of cabs{,f,l} on pre-C99 IRIX systems.
39
40 2005-02-06 Thomas Koenig <Thomas.Koenig@online.de>
41
42 PR libfortran/23815
43 * runtime/environ.c (init_unformatted): Add GFORTRAN_CONVERT_UNIT
44 environment variable.
45 (top level): Add defines, type and static variables for
46 GFORTRAN_CONVERT_UNIT handling.
47 (search_unit): New function.
48 (match_word): New function.
49 (match_integer): New function.
50 (next_token): New function.
51 (push_token): New function.
52 (mark_single): New function.
53 (mark_range): New funciton.
54 (do_parse): New function.
55 (init_unformatted): New function.
56 (get_unformatted_convert): New function.
57 * runtime/compile_options.c: Add set_convert().
58 * libgfortran.h: Add convert to compile_options_t.
59 * io/open.c (st_open): Call get_unformatted_convert to get
60 unit default; if CONVERT_NONE is returned, check for
61 the presence of a CONVERT specifier and use it.
62 As default, use compile_options.convert.
63 * io/io.h (top level): Add CONVERT_NONE to unit_convert, to signal
64 "nothing has been set".
65 (top level): Add prototype for get_unformatted_convert.
66
67 2006-02-06 Francois-Xavier Coudert <coudert@clipper.ens.fr>
68
69 PR libfortran/24685
70 * io/write.c (write_real): Widen the default format for real(10)
71 variables output.
72
73 2006-01-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
74
75 PR libgfortran/25835
76 * io/transfer.c (st_read_done): Flush buffers when read is done.
77
78 2006-01-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>
79
80 PR libgfortran/25697
81 * io/transfer.c (us_read): Detect end of file condition from previous
82 operations and bail out (no need to pre-position).
83
84 2006-01-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>
85
86 PR libgfortran/25631
87 * io/transfer.c (formatted_transfer_scalar): Adjust pending_spaces and
88 skips so that TL works correctly when no bytes_used yet.
89
90 2006-01-16 Roger Sayle <roger@eyesopen.com>
91
92 * configure.ac (CFLAGS): Update to include -std=gnu99 so that
93 the configure tests will be run with the same environment as
94 used to compile the libgfortran source code.
95 * configure: Regenerate.
96
97 2006-01-12 Roger Sayle <roger@eyesopen.com>
98
99 * intrinsics/c99_functions.c: Add function prototypes to avoid
100 warnings from -Wstrict-prototypes -Wmissing-prototypes. On Tru64
101 work around a brain-dead libm by redirecting calls to cabs{,f,l}
102 to a local __gfc_cabs{,f,l}.
103
104 2006-01-07 Janne Blomqvist <jb@gcc.gnu.org>
105
106 * configure.ac: Remove check for sys/mman.h.
107 * configure: Regenerated.
108 * Makefile.in: Regenerated.
109 * config.h.in: Regenerated.
110 * aclocal.m4: Regenerated.
111
112 2006-01-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
113
114 PR libgfortran/25598
115 * io/file_pos.c (unformatted_backspace): Assure the new file position
116 to seek is not less than zero.
117 (st_backspace): Set unit bytes_left to zero.
118 * io/transfer.c (next_record_r): Fix line lengths, no functional change.
119
120 2006-01-02 Paolo Bonzini <bonzini@gnu.org>
121
122 PR target/25259
123 * configure.ac: Use GCC_HEADER_STDINT.
124 * libgfortran.h: Include gstdint.h.
125 * aclocal.m4: Regenerate.
126 * configure: Regenerate.
127
128 2006-01-01 Steven G. Kargl <kargls@comcast.net>
129
130 * ChangeLog: Split into years ...
131 * ChangeLog-2002: here.
132 * ChangeLog-2003: here.
133 * ChangeLog-2004: here.
134 * ChangeLog-2005: here.