re PR fortran/86322 (ICE in reference_record with data statement)
[official-gcc.git] / gcc / fortran / ChangeLog
blob678970b4621efa74de75d6f1cd1823737b3b4ee6
1 2019-01-10  Steven G. Kargl  <kargl@gcc.gnu.org>
3         PR fortran/86322
4         * decl.c (top_var_list): Set locus of expr.
5         (gfc_match_data): Detect pointer on non-rightmost part-refs.
7 2019-01-09  Steven G. Kargl  <kargl@gcc.gnu.org>
9         PR fortran/88376
10         * resolve.c (is_illegal_recursion): Remove an assert().
12 2019-01-09  Sandra Loosemore  <sandra@codesourcery.com>
14         PR other/16615
15         * expr.c: Change "can not" to "cannot".
17 2019-01-09  Sandra Loosemore  <sandra@codesourcery.com>
19         PR other/16615
20         * class.c: Mechanically replace "can not" with "cannot".
21         * decl.c: Likewise.
22         * expr.c: Likewise.
23         * gfc-internals.texi: Likewise.
24         * intrinsic.texi: Likewise.
25         * invoke.texi: Likewise.
26         * io.c: Likewise.
27         * match.c: Likewise.
28         * parse.c: Likewise.
29         * primary.c: Likewise.
30         * resolve.c: Likewise.
31         * symbol.c: Likewise.
32         * trans-array.c: Likewise.
33         * trans-decl.c: Likewise.
34         * trans-intrinsic.c: Likewise.
35         * trans-stmt.c: Likewise.
37 2019-01-09  Thomas Koenig  <tkoenig@gcc.gnu.org>
39         PR fortran/68426
40         * simplify.c (gfc_simplify_spread): Also simplify if the
41         type of source is an EXPR_STRUCTURE.
43 2019-01-08  Janus Weil  <janus@gcc.gnu.org>
45         PR fortran/88047
46         * class.c (gfc_find_vtab): For polymorphic typespecs, the components of
47         the class container may not be available (in case of invalid code).
49 2019-01-08  Richard Biener  <rguenther@suse.de>
51         PR fortran/88611
52         * trans-expr.c (gfc_conv_initializer): For ISOCBINDING_NULL_*
53         directly build the expected GENERIC tree.
55 2019-01-07  Thomas Koenig  <tkoenig@gcc.gnu.org>
56         Harald Anlauf <anlauf@gmx.de>
57         Tobias Burnus <burnus@gcc.gnu.org>
59         PR fortran/45424
60         * check.c (gfc_check_is_contiguous): New function.
61         * expr.c (gfc_is_not_contiguous): New function.
62         * gfortran.h (gfc_isym_id): Add GFC_ISYM_IS_CONTIGUOUS.
63         Add prototype for gfc_is_not_contiguous.
64         * intrinsic.c (do_ts29113_check): Add GFC_ISYM_IS_CONTIGUOUS.
65         (add_function): Add is_contiguous.
66         * intrinsic.h: Add prototypes for gfc_check_is_contiguous,
67         gfc_simplify_is_contiguous and gfc_resolve_is_contiguous.
68         * intrinsic.texi: Add IS_CONTIGUOUS.
69         * iresolve.c (gfc_resolve_is_contiguous): New function.
70         * simplify.c (gfc_simplify_is_contiguous): New function.
71         * trans-decl.c (gfor_fncecl_is_contiguous0): New variable.
72         (gfc_build_intrinsic_function_decl): Add it.
73         * trans-intrinsic.c (gfc_conv_intrinsic_is_contiguous): New
74         function.
75         (gfc_conv_intrinsic_function): Handle GFC_ISYM_IS_CONTIGUOUS.
77 2019-01-06  Thomas Koenig  <tkoenig@gcc.gnu.org>
79         PR fortran/88658
80         * gfortran.h: Add macro gfc_real_4_kind
81         * simplify.c (simplify_min_max): Special case for the types of
82         AMAX0, AMIN0, MAX1 and MIN1, which actually change the types of
83         their arguments.
85 2019-01-05  Janus Weil  <janus@gcc.gnu.org>
87         PR fortran/88009
88         * class.c (gfc_find_derived_vtab): Mark the _final component as
89         artificial.
90         (find_intrinsic_vtab): Ditto. Also add an extra check to avoid
91         dereferencing a null pointer and adjust indentation.
92         * resolve.c (resolve_fl_variable): Add extra check to avoid
93         dereferencing a null pointer. Move variable declarations to local scope.
94         (resolve_fl_procedure): Add extra check to avoid dereferencing a null
95         pointer.
96         * symbol.c (check_conflict): Suppress errors for artificial symbols.
98 2019-01-01  Steven G. Kargl  <kargl@gcc.gnu.org>
100         * parse.c (decode_statement):  Suppress "Unclassifiable statement"
101         error if previous error messages were emittes.
103 2019-01-01  Thomas Koenig  <tkoenig@gcc.gnu.org>
105         PR fortran/82743
106         * primary.c (gfc_convert_to_structure_constructor): If a character
107         in a constructor is too long, add a  warning with
108         -Wcharacter-truncation.
110 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
112         Update copyright years.
114         * gfortranspec.c (lang_specific_driver): Update copyright notice
115         dates.
116         * gfc-internals.texi: Bump @copying's copyright year.
117         * gfortran.texi: Ditto.
118         * intrinsic.texi: Ditto.
119         * invoke.texi: Ditto.
121 Copyright (C) 2019 Free Software Foundation, Inc.
123 Copying and distribution of this file, with or without modification,
124 are permitted in any medium without royalty provided the copyright
125 notice and this notice are preserved.