sem_attr.adb (Analyze_Access_Attribute): Treat P'Access like a call only in the stati...
[gcc.git] / libgfortran / ChangeLog
1 2013-04-04 Tobias Burnus <burnus@net-b.de>
2
3 PR fortran/56810
4 * io/list_read.c (check_type): Fix kind checking for COMPLEX.
5
6 2013-04-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
7
8 PR libfortran/56660
9 * io/list_read.c (nml_read_obj): Do not reset the read error flag
10 inside nml_read_obj. If the read error flag is found set just exit.
11 Fix some whitespace on comments.
12 (nml_read_obj_data): Reset the read error flag before the first call
13 to nml_read_object.
14
15 2013-03-31 Jerry DeLisle <jvdelisle@gcc.gnu.org>
16
17 PR libfortran/56786
18 * io/list_read.c (nml_parse_qualifier): Remove spurious next_char call
19 when checking for EOF. Use error return mechanism when EOF detected.
20 Do not return false unless parse_err_msg and parse_err_msg_size have
21 been set. Use hit_eof.
22 (nml_get_obj_data): Likewise use the correct error mechanism.
23 * io/transfer.c (hit_eof): Do not set AFTER_ENDFILE if in namelist
24 mode.
25
26 2013-03-29 Tobias Burnus <burnus@net-b.de>
27
28 PR fortran/56737
29 * io/format.c (parse_format_list): Also cache FMT_STRING.
30 (parse_format): Update call.
31
32 2013-03-29 Tobias Burnus <burnus@net-b.de>
33
34 PR fortran/56737
35 * io/format.c (parse_format): With caching, copy
36 dtp->format string.
37 (save_parsed_format): Use dtp->format directy without
38 copying.
39
40 2013-03-29 Tobias Burnus <burnus@net-b.de>
41
42 PR fortran/56735
43 * io/list_read.c (nml_query): Only abort when
44 an error occured.
45 (namelist_read): Add goto instead of falling through.
46
47 2013-03-25 Tilo Schwarz <tilo@tilo-schwarz.de>
48
49 PR libfortran/52512
50 * io/list_read.c (nml_parse_qualifier): To check for a derived type
51 don't use the namelist head element type but the current element type.
52 (nml_get_obj_data): Add current namelist element type to
53 nml_parse_qualifier call.
54
55 2013-03-24 Tobias Burnus <burnus@net-b.de>
56
57 PR fortran/56696
58 * io/list_read.c (read_real): Fix EOF diagnostic.
59
60 2013-03-20 Tilo Schwarz <tilo@tilo-schwarz.de>
61
62 PR libfortran/51825
63 * io/list_read.c (nml_read_obj): Don't end the component loop on a
64 nested derived type, but continue with the next loop iteration.
65 (nml_get_obj_data): Don't move the first_nl pointer further in the
66 list if a qualifier was found.
67
68 2013-03-20 Tilo Schwarz <tilo@tilo-schwarz.de>
69
70 PR libfortran/48618
71 * io/open.c (st_open): Raise error for unit number < 0 only if
72 unit number does not exist already.
73
74 2013-03-19 Janne Blomqvist <jb@gcc.gnu.org>
75
76 * libgfortran.h: Include stdbool.h.
77 (enum try): Remove.
78 (notify_std): Change return type to bool.
79 * intrinsics/chmod.c: Don't include stdbool.h.
80 * intrinsics/execute_command_line.c: Likewise.
81 * io/format.c: Likewise.
82 * io/list_read.c (nml_parse_qualifier): Change return type to bool.
83 (nml_read_obj): Likewise.
84 (nml_get_obj_data): Likewise.
85 * io/transfer.c (read_block_form): Fix comment.
86 (write_buf): Change return type to bool.
87 * io/write.c: Don't include stdbool.h.
88 * io/write_float.def (output_float): Change return type to bool.
89 (output_float_FMT_G_ ## x): Change type of result variable.
90 * runtime/error.c (notify_std): Change return type to bool.
91
92 2013-03-11 Tobias Burnus <burnus@net-b.de>
93
94 * io/transfer.c (read_block_direct): Correct condition.
95 * intrinsics/execute_command_line.c (execute_command_line):
96 Remove dead code for the HAVE_FORK case.
97
98 2013-02-21 Janne Blomqvist <jb@gcc.gnu.org>
99
100 PR libfortran/30162
101 * io/open.c (test_endfile): Call stell only if size != 0.
102 * io/unix.c (raw_tell): Revert r194679.
103 (raw_size): Return size field only for regular files, otherwise 0.
104
105 2013-02-19 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
106
107 PR target/56347
108 * acinclude.m4 (LIBGFOR_CHECK_FOR_BROKEN_POWF): Remove check for
109 broken powf.
110 * configure.ac (LIBGFOR_CHECK_FOR_BROKEN_POWF): Likewise.
111 * intrinsics/c99_functions.c: Likewise.
112 * configure: Rebuilt.
113 * config.h.in: Rebuilt.
114
115 2013-02-06 Janus Weil <janus@gcc.gnu.org>
116
117 PR fortran/55978
118 * runtime/in_pack_generic.c (internal_pack): Return if base_addr is
119 NULL.
120
121 2013-01-23 Janne Blomqvist <jb@gcc.gnu.org>
122
123 * io/file_pos.c (unformatted_backspace): Use __builtin_bswapXX
124 instead of reverse_memcpy.
125 * io/io.h (reverse_memcpy): Remove prototype.
126 * io/transfer.c (reverse_memcpy): Make static, move towards
127 beginning of file.
128 (bswap_array): New function.
129 (unformatted_read): Use bswap_array to byte swap the data
130 in-place.
131 (unformatted_write): Use a larger temp buffer and bswap_array.
132 (us_read): Use __builtin_bswapXX instead of reverse_memcpy.
133 (write_us_marker): Likewise.
134
135 2013-01-14 Richard Sandiford <rdsandiford@googlemail.com>
136
137 Update copyright years.
138
139 2013-01-06 Tobias Burnus <burnus@net-b.de>
140
141 PR fortran/54678
142 * intrinsics/env.c (get_environment_variable_i8): Don't use
143 uninitialized variable.
144
145 2013-01-02 Jerry DeLisle <jvdelisle@gcc.gnu.org>
146
147 PR libfortran/55818
148 * io/list_read.c (read_real): Do not call hit_eof when EOF can be
149 treated as a value separator.
150 (parse_real): Likewise.
151 (read_logical): Likewise.
152 (read_character): Likewise.
153 (read_complex): Likewise.
154 \f
155 Copyright (C) 2013 Free Software Foundation, Inc.
156
157 Copying and distribution of this file, with or without modification,
158 are permitted in any medium without royalty provided the copyright
159 notice and this notice are preserved.