poly_int: TYPE_VECTOR_SUBPARTS
[official-gcc.git] / gcc / fortran / ChangeLog
blob6188c250b3d20eee0bb798589010945a5584f795
1 2018-01-03  Richard Sandiford  <richard.sandiford@linaro.org>
2             Alan Hayward  <alan.hayward@arm.com>
3             David Sherwood  <david.sherwood@arm.com>
5         * trans-types.c (gfc_type_for_mode): Check valid_vector_subparts_p.
7 2018-01-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
9         PR fortran/83664
10         * check.c (gfc_check_eoshift): Error for missing boundary if array
11         is not one of the standard types.
13 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
15         Update copyright years.
17         * gfortranspec.c (lang_specific_driver): Update copyright notice
18         dates.
19         * gfc-internals.texi: Bump @copying's copyright year.
20         * gfortran.texi: Ditto.
21         * intrinsic.texi: Ditto.
22         * invoke.texi: Ditto.
24 2017-01-02  Thomas Koenig  <tkoenig@gcc.gnu.org>
26         PR fortran/45689
27         * intrinsic.c (add_function): Add gfc_simplify_maxloc and
28         gfc_simplify_minloc to maxloc and minloc, respectively.
29         * intrinsic.h: Add prototypes for gfc_simplify_minloc
30         and gfc_simplify_maxloc.
31         * simplify.c (min_max_chose): Adjust prototype.  Modify function
32         to have a return value which indicates if the extremum was found.
33         (is_constant_array_expr): Fix typo in comment.
34         (simplify_minmaxloc_to_scalar): New function.
35         (simplify_minmaxloc_nodim): New function.
36         (new_array): New function.
37         (simplify_minmaxloc_to_array): New function.
38         (gfc_simplify_minmaxloc): New function.
39         (simplify_minloc): New function.
40         (simplify_maxloc): New function.
42 2018-01-02  Thomas Koenig  <tkoenig@gcc.gnu.org>
44         PR fortran/45689
45         PR fortran/83650
46         * simplify.c (gfc_simplify_cshift): Re-implement to allow full
47         range of arguments.
49 2018-01-01  Paul Thomas  <pault@gcc.gnu.org>
51         PR fortran/83076
52         * resolve.c (resolve_fl_derived0): Add caf_token fields for
53         allocatable and pointer scalars, when -fcoarray selected.
54         * trans-types.c (gfc_copy_dt_decls_ifequal): Copy the token
55         field as well as the backend_decl.
56         (gfc_get_derived_type): Flag GFC_FCOARRAY_LIB for module
57         derived types that are not vtypes. Components with caf_token
58         attribute are pvoid types. For a component requiring it, find
59         the caf_token field and have the component token field point to
60         its backend_decl.
62         PR fortran/83319
63         *trans-types.c (gfc_get_array_descriptor_base): Add the token
64         field to the descriptor even when codimen not set.
66 Copyright (C) 2018 Free Software Foundation, Inc.
68 Copying and distribution of this file, with or without modification,
69 are permitted in any medium without royalty provided the copyright
70 notice and this notice are preserved.