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