1 2016-01-27 Janus Weil <janus@gcc.gnu.org>
4 * invoke.texi: Fix documentation of -Wall with respect to -Wtabs.
6 2016-01-27 Paul Thomas <pault@gcc.gnu.org>
9 * trans-expr.c (is_scalar_reallocatable_lhs): Remove the check
10 for allocatable components, whilst checking if the symbol is a
11 derived or class entity..
13 2016-01-26 Paul Thomas <pault@gcc.gnu.org>
16 * trans-expr.c (gfc_trans_assignment_1): Exclude initialization
17 assignments from check on assignment of scalars to unassigned
18 arrays and correct wrong code within the corresponding block.
20 2016-01-26 David Malcolm <dmalcolm@redhat.com>
23 * error.c (gfc_diagnostic_starter): Delete use of pp_newline.
25 2016-01-23 Jerry DeLisle <jvdelisle@gcc.gnu.org>
29 * interface.c (gfc_arglist_matches_symbol): Replace assert with
30 a return false if not a procedure.
31 * resolve.c (resolve_generic_f): Test if we are resolving an
32 initialization expression and adjust error message accordingly.
34 2016-01-24 Thomas Koenig <tkoenig@gcc.gnu.org>
37 * frontend-passes.c (matmul_lhs_realloc): Add
38 forgotten break statement.
40 2016-01-24 Dominique d'Humieres <dominiq@lps.ens.fr>
43 * primary.c (gfc_variable_attr): revert revision r221955,
44 call gfc_internal_error only if there is no error.
46 2016-01-24 Thomas Koenig <tkoenig@gcc.gnu.org>
49 * frontend-passes.c (enum matrix_case): Add case A2B2T for
50 MATMUL(A,TRANSPoSE(B)) where A and B are rank 2.
51 (inline_limit_check): Also add A2B2T.
52 (matmul_lhs_realloc): Handle A2B2T.
53 (check_conjg_variable): Rename to
54 (check_conjg_transpose_variable): and also count TRANSPOSE.
55 (inline_matmul_assign): Handle A2B2T.
57 2016-01-21 Jerry DeLisle <jvdelisle@gcc.gnu.org>
60 * error.c (gfc_error): Save the state of abort_on_error and set
61 it to false for buffered errors to allow normal processing.
62 Restore the state before leaving.
64 2016-01-19 Martin Jambor <mjambor@suse.cz>
66 * types.def (BT_FN_VOID_UINT_PTR_INT_PTR): New.
67 (BT_FN_VOID_INT_OMPFN_SIZE_PTR_PTR_PTR_UINT_PTR_INT_INT): Removed.
68 (BT_FN_VOID_INT_OMPFN_SIZE_PTR_PTR_PTR_UINT_PTR_PTR): New.
70 2016-01-15 Paul Thomas <pault@gcc.gnu.org>
73 * resolve.c (check_uop_procedure): Prevent deferred length
74 characters from being trapped by assumed length error.
82 * trans-array.c (gfc_conv_scalarized_array_ref): Pass decl for
83 function as well as variable expressions.
84 (gfc_array_init_size): Add 'expr' as an argument. Use this to
85 correctly set the descriptor dtype for deferred characters.
86 (gfc_array_allocate): Add 'expr' to the call to
87 'gfc_array_init_size'.
88 * trans.c (gfc_build_array_ref): Expand logic for setting span
89 to include indirect references to character lengths.
90 * trans-decl.c (gfc_get_symbol_decl): Ensure that deferred
91 result char lengths that are PARM_DECLs are indirectly
92 referenced both for directly passed and by reference.
93 (create_function_arglist): If the length type is a pointer type
94 then store the length as the 'passed_length' and make the char
95 length an indirect reference to it.
96 (gfc_trans_deferred_vars): If a character length has escaped
97 being set as an indirect reference, return it via the 'passed
99 * trans-expr.c (gfc_conv_procedure_call): The length of
100 deferred character length results is set TREE_STATIC and set to
102 (gfc_trans_assignment_1): Do not fix the rse string_length if
103 it is a variable, a parameter or an indirect reference. Add the
104 code to trap assignment of scalars to unallocated arrays.
105 * trans-stmt.c (gfc_trans_allocate): Remove 'def_str_len' and
106 all references to it. Instead, replicate the code to obtain a
107 explicitly defined string length and provide a value before
108 array allocation so that the dtype is correctly set.
109 trans-types.c (gfc_get_character_type): If the character length
110 is a pointer, use the indirect reference.
112 2016-01-10 Thomas Koenig <tkoenig@gcc.gnu.org>
115 * frontend-passes.c (in_where): New variable.
116 (inline_matmul_assign): Don't try this if we are within
118 (gfc_code_walker): Keep track of in_where.
120 2016-01-10 Paul Thomas <pault@gcc.gnu.org>
123 * trans_array.c (gfc_conv_scalarized_array_ref): Add missing
124 se->use_offset from condition for calculation of 'base'.
126 2016-01-08 Jakub Jelinek <jakub@redhat.com>
129 * trans.h (OMPWS_SCALARIZER_BODY): Define.
130 (OMPWS_NOWAIT): Renumber.
131 * trans-stmt.c (gfc_trans_where_3): Only set OMPWS_SCALARIZER_WS
132 if OMPWS_SCALARIZER_BODY is not set already, and set also
133 OMPWS_SCALARIZER_BODY until the final loop creation.
134 * trans-expr.c (gfc_trans_assignment_1): Likewise.
135 * trans-openmp.c (gfc_trans_omp_workshare): Also clear
136 OMPWS_SCALARIZER_BODY.
137 * trans-array.c (gfc_trans_scalarized_loop_end): Don't create
138 OMP_FOR if OMPWS_SCALARIZER_BODY is set.
140 2016-01-04 Jakub Jelinek <jakub@redhat.com>
142 Update copyright years.
144 * gfortranspec.c (lang_specific_driver): Update copyright notice
146 * gfc-internals.texi: Bump @copying's copyright year.
147 * gfortran.texi: Ditto.
148 * intrinsic.texi: Ditto.
149 * invoke.texi: Ditto.
151 2016-01-01 Paul Thomas <pault@gcc.gnu.org>
154 * trans-array.c (evaluate_bound): If deferred, test that 'desc'
155 is an array descriptor before using gfc_conv_descriptor_xxx.
157 Copyright (C) 2016 Free Software Foundation, Inc.
159 Copying and distribution of this file, with or without modification,
160 are permitted in any medium without royalty provided the copyright
161 notice and this notice are preserved.