]>
Commit | Line | Data |
---|---|---|
9248ee41 GA |
1 | 2022-01-15 Harald Anlauf <anlauf@gmx.de> |
2 | ||
3 | PR fortran/83079 | |
4 | * target-memory.c (gfc_interpret_character): Result length is | |
5 | in bytes and thus depends on the character kind. | |
6 | * trans-intrinsic.c (gfc_conv_intrinsic_transfer): Compute correct | |
7 | string length for the result of the TRANSFER intrinsic and for | |
8 | temporaries for the different character kinds. | |
9 | ||
617db51d GA |
10 | 2022-01-14 Harald Anlauf <anlauf@gmx.de> |
11 | ||
12 | PR fortran/99256 | |
13 | * intrinsic.c: Do not check formal argument type when checking | |
14 | arguments of intrinsics for alternate return specifiers. | |
15 | ||
16 | 2022-01-14 Harald Anlauf <anlauf@gmx.de> | |
17 | ||
18 | PR fortran/103782 | |
19 | * expr.c (gfc_simplify_expr): Adjust logic for when to scalarize a | |
20 | call of an intrinsic which may have been overloaded. | |
21 | ||
ad3f0d08 GA |
22 | 2022-01-13 Hafiz Abid Qadeer <abidh@codesourcery.com> |
23 | ||
24 | * dump-parse-tree.c (show_omp_clauses): Handle OMP_LIST_ALLOCATE. | |
25 | * gfortran.h (OMP_LIST_ALLOCATE): New enum value. | |
26 | * openmp.c (enum omp_mask1): Add OMP_CLAUSE_ALLOCATE. | |
27 | (gfc_match_omp_clauses): Handle OMP_CLAUSE_ALLOCATE | |
28 | (OMP_PARALLEL_CLAUSES, OMP_DO_CLAUSES, OMP_SECTIONS_CLAUSES) | |
29 | (OMP_TASK_CLAUSES, OMP_TASKLOOP_CLAUSES, OMP_TARGET_CLAUSES) | |
30 | (OMP_TEAMS_CLAUSES, OMP_DISTRIBUTE_CLAUSES) | |
31 | (OMP_SINGLE_CLAUSES): Add OMP_CLAUSE_ALLOCATE. | |
32 | (OMP_TASKGROUP_CLAUSES): New. | |
33 | (gfc_match_omp_taskgroup): Use OMP_TASKGROUP_CLAUSES instead of | |
34 | OMP_CLAUSE_TASK_REDUCTION. | |
35 | (resolve_omp_clauses): Handle OMP_LIST_ALLOCATE. | |
36 | (resolve_omp_do): Avoid warning when loop iteration variable is | |
37 | in allocate clause. | |
38 | * trans-openmp.c (gfc_trans_omp_clauses): Handle translation of | |
39 | allocate clause. | |
40 | (gfc_split_omp_clauses): Update for OMP_LIST_ALLOCATE. | |
41 | ||
42 | 2022-01-13 Harald Anlauf <anlauf@gmx.de> | |
43 | ||
44 | PR fortran/67804 | |
45 | * primary.c (gfc_match_structure_constructor): Recover from errors | |
46 | that occurred while checking for a valid structure constructor in | |
47 | a DATA statement. | |
48 | ||
01a254e3 GA |
49 | 2022-01-11 Thomas Koenig <tkoenig@gcc.gnu.org> |
50 | ||
51 | * libgfortran.h (unit_convert): Add flags. | |
52 | ||
53 | 2022-01-11 Jakub Jelinek <jakub@redhat.com> | |
54 | ||
55 | * trans-types.c (gfc_init_kinds): When setting abi_kind to 17, if not | |
56 | targetting glibc 2.32 or later and -fbuilding-libgfortran, set | |
57 | gfc_real16_is_float128 and c_float128 in gfc_real_kinds. | |
58 | (gfc_build_real_type): Don't set c_long_double if c_float128 is | |
59 | already set. | |
60 | * trans-intrinsic.c (builtin_decl_for_precision): Don't use | |
61 | long_double_built_in if gfc_real16_is_float128 and | |
62 | long_double_type_node == gfc_float128_type_node. | |
63 | * lang.opt (fbuilding-libgfortran): New undocumented option. | |
64 | ||
65 | 2022-01-11 Jakub Jelinek <jakub@redhat.com> | |
66 | ||
67 | * trans-intrinsic.c (gfc_get_intrinsic_lib_fndecl): Use | |
68 | gfc_type_abi_kind. | |
69 | ||
70 | 2022-01-11 Jakub Jelinek <jakub@redhat.com> | |
71 | ||
72 | * trans-io.c (transfer_array_desc): Pass abi kind instead of kind | |
73 | to libgfortran. | |
74 | ||
75 | 2022-01-11 Jakub Jelinek <jakub@redhat.com> | |
76 | ||
77 | * trans-io.c (transfer_namelist_element): Use gfc_type_abi_kind, | |
78 | formatting fixes. | |
79 | (transfer_expr): Use gfc_type_abi_kind, use *REAL128* APIs even | |
80 | for abi_kind == 17. | |
81 | ||
82 | 2022-01-11 Jakub Jelinek <jakub@redhat.com> | |
83 | ||
84 | * gfortran.h (gfc_real_info): Add abi_kind member. | |
85 | (gfc_type_abi_kind): Declare. | |
86 | * trans-types.c (gfc_init_kinds): Initialize abi_kind. | |
87 | * intrinsic.c (gfc_type_abi_kind): New function. | |
88 | (conv_name): Use it. | |
89 | * iresolve.c (resolve_transformational, gfc_resolve_abs, | |
90 | gfc_resolve_char_achar, gfc_resolve_acos, gfc_resolve_acosh, | |
91 | gfc_resolve_aimag, gfc_resolve_and, gfc_resolve_aint, gfc_resolve_all, | |
92 | gfc_resolve_anint, gfc_resolve_any, gfc_resolve_asin, | |
93 | gfc_resolve_asinh, gfc_resolve_atan, gfc_resolve_atanh, | |
94 | gfc_resolve_atan2, gfc_resolve_bessel_n2, gfc_resolve_ceiling, | |
95 | gfc_resolve_cmplx, gfc_resolve_complex, gfc_resolve_cos, | |
96 | gfc_resolve_cosh, gfc_resolve_count, gfc_resolve_dble, | |
97 | gfc_resolve_dim, gfc_resolve_dot_product, gfc_resolve_dprod, | |
98 | gfc_resolve_exp, gfc_resolve_floor, gfc_resolve_hypot, | |
99 | gfc_resolve_int, gfc_resolve_int2, gfc_resolve_int8, gfc_resolve_long, | |
100 | gfc_resolve_log, gfc_resolve_log10, gfc_resolve_logical, | |
101 | gfc_resolve_matmul, gfc_resolve_minmax, gfc_resolve_maxloc, | |
102 | gfc_resolve_findloc, gfc_resolve_maxval, gfc_resolve_merge, | |
103 | gfc_resolve_minloc, gfc_resolve_minval, gfc_resolve_mod, | |
104 | gfc_resolve_modulo, gfc_resolve_nearest, gfc_resolve_or, | |
105 | gfc_resolve_real, gfc_resolve_realpart, gfc_resolve_reshape, | |
106 | gfc_resolve_sign, gfc_resolve_sin, gfc_resolve_sinh, gfc_resolve_sqrt, | |
107 | gfc_resolve_tan, gfc_resolve_tanh, gfc_resolve_transpose, | |
108 | gfc_resolve_trigd, gfc_resolve_xor, gfc_resolve_random_number): | |
109 | Likewise. | |
110 | * trans-decl.c (gfc_build_intrinsic_function_decls): Likewise. | |
111 | ||
d9450aa0 GA |
112 | 2022-01-10 Paul Thomas <pault@gcc.gnu.org> |
113 | ||
114 | PR fortran/103366 | |
115 | * trans-expr.c (gfc_conv_gfc_desc_to_cfi_desc): Allow unlimited | |
116 | polymorphic actual argument passed to assumed type formal. | |
117 | ||
3a5702df GA |
118 | 2022-01-09 Harald Anlauf <anlauf@gmx.de> |
119 | ||
120 | PR fortran/103777 | |
121 | * simplify.c (gfc_simplify_maskr): Check validity of argument 'I' | |
122 | before simplifying. | |
123 | (gfc_simplify_maskl): Likewise. | |
124 | ||
125 | 2022-01-09 Harald Anlauf <anlauf@gmx.de> | |
126 | ||
127 | PR fortran/101762 | |
128 | * expr.c (gfc_check_pointer_assign): For pointer initialization | |
129 | targets, check that subscripts and substring indices in | |
130 | specifications are constant expressions. | |
131 | ||
132 | 2022-01-09 Mikael Morin <mikael@gcc.gnu.org> | |
133 | ||
134 | PR fortran/103789 | |
135 | * trans-array.c (arg_evaluated_for_scalarization): Add MASKL, MASKR, | |
136 | SCAN and VERIFY to the list of intrinsics whose KIND argument is to be | |
137 | ignored. | |
138 | ||
55e96bf9 GA |
139 | 2022-01-07 Sandra Loosemore <sandra@codesourcery.com> |
140 | ||
141 | PR fortran/103898 | |
142 | * trans-intrinsic.c (gfc_conv_intrinsic_size): Make size_var | |
143 | actually be a variable and fix surrounding code. | |
144 | ||
11ce8d04 GA |
145 | 2022-01-06 Steve Kargl <kargl@gcc.gnu.org> |
146 | Sandra Loosemore <sandra@codesourcery.com> | |
147 | ||
148 | PR fortran/103287 | |
149 | * interface.c (argument_rank_mismatch): Replace incorrect assertion | |
150 | with return. | |
151 | ||
0fbefa25 GA |
152 | 2022-01-05 Sandra Loosemore <sandra@codesourcery.com> |
153 | ||
154 | PR fortran/103258 | |
155 | * decl.c (gfc_match_char_spec): Suppress errors around call | |
156 | to gfc_reduce_init_expr. | |
157 | * error.c (gfc_query_suppress_errors): New. | |
158 | * gfortran.h (gfc_query_suppress_errors): Declare. | |
159 | * symbol.c (gfc_set_default_type): Check gfc_query_suppress_errors. | |
160 | ||
a4ae8c37 GA |
161 | 2022-01-03 Sandra Loosemore <sandra@codesourcery.com> |
162 | ||
163 | PR fortran/103390 | |
164 | * expr.c (gfc_is_simply_contiguous): Make it smarter about | |
165 | function calls. | |
166 | * trans-expr.c (gfc_conv_gfc_desc_to_cfi_desc): Do not generate | |
167 | copy loops for array expressions that are not "variables" (lvalues). | |
168 | ||
169 | 2022-01-03 Jakub Jelinek <jakub@redhat.com> | |
170 | ||
171 | * gfortranspec.c (lang_specific_driver): Update copyright notice | |
172 | dates. | |
173 | * gfc-internals.texi: Bump @copying's copyright year. | |
174 | * gfortran.texi: Ditto. | |
175 | * intrinsic.texi: Ditto. | |
176 | * invoke.texi: Ditto. | |
177 | ||
21fa2a29 | 178 | \f |
6123f29a | 179 | Copyright (C) 2022 Free Software Foundation, Inc. |
ad41bd84 JM |
180 | |
181 | Copying and distribution of this file, with or without modification, | |
182 | are permitted in any medium without royalty provided the copyright | |
183 | notice and this notice are preserved. |