1 2017-01-09 Jakub Jelinek <jakub@redhat.com>
5 * decl.c (attr_decl1): Fix spelling in translatable string.
6 * intrinsic.texi: Fix spelling - invokation -> invocation.
7 * lang.opt (faggressive-function-elimination, gfc_convert): Fix
9 * openmp.c (resolve_omp_clauses): Add missing whitespace to
12 2017-01-08 Martin Sebor <msebor@redhat.com>
14 PR tree-optimization/78913
16 * trans-common.c (build_equiv_decl): Increase buffer size to avoid
17 truncation for any argument.
18 * trans-types.c (gfc_build_logical_type): Same.
20 2017-01-07 Andre Vehreschild <vehre@gcc.gnu.org>
24 * expr.c (gfc_check_pointer_assign): Return the same error message for
25 rewritten coarray pointer assignments like for plain ones.
26 * gfortran.h: Change prototype.
27 * primary.c (caf_variable_attr): Set attributes used ones only only
28 ones. Add setting of pointer_comp attribute.
29 (gfc_caf_attr): Add setting of pointer_comp attribute.
30 * trans-array.c (gfc_array_allocate): Add flag that the component to
31 allocate is not an ultimate coarray component. Add allocation of
33 (structure_alloc_comps): Extend nullify to treat pointer components in
34 coarrays correctly. Restructure nullify to remove redundant code.
35 (gfc_nullify_alloc_comp): Allow setting caf_mode flags.
36 * trans-array.h: Change prototype of gfc_nullify_alloc_comp ().
37 * trans-decl.c (generate_coarray_sym_init): Call nullify_alloc_comp for
38 derived type coarrays with pointer components.
39 * trans-expr.c (gfc_trans_structure_assign): Also treat pointer
41 (trans_caf_token_assign): Handle assignment of token of scalar pointer
43 (gfc_trans_pointer_assignment): Call above routine.
44 * trans-intrinsic.c (conv_expr_ref_to_caf_ref): Add treating pointer
46 (gfc_conv_intrinsic_caf_get): Likewise.
47 (conv_caf_send): Likewise.
48 * trans-stmt.c (gfc_trans_allocate): After allocating a derived type in
49 a coarray pre-register the tokens.
50 (gfc_trans_deallocate): Simply determining the coarray type (scalar or
51 array) and deregistering it correctly.
52 * trans-types.c (gfc_typenode_for_spec): Replace in_coarray flag by the
53 actual codim to allow lookup of array types in the cache.
54 (gfc_build_array_type): Likewise.
55 (gfc_get_array_descriptor_base): Likewise.
56 (gfc_get_array_type_bounds): Likewise.
57 (gfc_get_derived_type): Likewise.
58 * trans-types.h: Likewise.
59 * trans.c (gfc_deallocate_with_status): Enable deregistering of all kind
60 of coarray components.
61 (gfc_deallocate_scalar_with_status): Use free() in fcoarray_single mode
62 instead of caf_deregister.
64 2017-01-06 Jakub Jelinek <jakub@redhat.com>
66 * simplify.c (simplify_transformation_to_array): Use
67 GCC_DIAGNOSTIC_PUSH_IGNORED and GCC_DIAGNOSTIC_POP instead of
68 #pragma GCC diagnostic {push,ignored,pop}.
70 2017-01-06 Alexandre Oliva <aoliva@redhat.com>
72 * simplify.c (simplify_transformation_to_array): Silence
73 array bounds warning. Fix whitespace.
75 2017-01-04 Alexandre Oliva <aoliva@redhat.com>
77 * module.c (load_omp_udrs): Initialize name.
79 2017-01-02 Janne Blomqvist <jb@gcc.gnu.org>
82 * trans-expr.c (gfc_trans_string_copy): Rework string copy
83 algorithm to avoid -Wstringop-overflow warning.
85 2017-01-01 Jakub Jelinek <jakub@redhat.com>
87 Update copyright years.
89 * gfortranspec.c (lang_specific_driver): Update copyright notice
91 * gfc-internals.texi: Bump @copying's copyright year.
92 * gfortran.texi: Ditto.
93 * intrinsic.texi: Ditto.
96 Copyright (C) 2017 Free Software Foundation, Inc.
98 Copying and distribution of this file, with or without modification,
99 are permitted in any medium without royalty provided the copyright
100 notice and this notice are preserved.