[Ada] Missing finalization in case expression
[gcc.git] / gcc / ada / ChangeLog
1 2018-01-11 Hristian Kirtchev <kirtchev@adacore.com>
2
3 * exp_ch4.adb (Process_Action): Do not abandon the inspection of an
4 individual action because the action may denote a complex expression,
5 such as a case statement, which in turn may contain additional
6 transient objects.
7
8 2018-01-11 Ed Schonberg <schonberg@adacore.com>
9
10 * sem_aggr.adb (Resolve_Iterated_Component_Association): Perform
11 analysis on a copy of the expression with a copy of the index variable,
12 because full expansion will rewrite construct into a loop with the
13 original loop variable.
14 * exp_aggr.adb (Gen_Assign): Defer analysis and resolution if the
15 expression is an iterated component association. Full analysis takes
16 place when construct is rewritten as a loop.
17 (In_Place_Assign_OK, Safe_Component): An iterated_component_association
18 is not safe for in-place assignment.
19 * sem_util.adb (Remove_Entity): Handle properly the case of an isolated
20 entity with no homonym and no other entity in the scope.
21
22 2018-01-11 Justin Squirek <squirek@adacore.com>
23
24 * sem_prag.adb (Analyze_Pragma:Pragma_Loop_Variant): Modify error
25 message to be printed on the pragma argument identifier.
26
27 2018-01-11 Hristian Kirtchev <kirtchev@adacore.com>
28
29 * exp_util.adb (Build_Invariant_Procedure_Declaration): Set the last
30 entity of the generated invariant procedure in order to construct a
31 proper entity chain.
32
33 2018-01-11 Piotr Trojanek <trojanek@adacore.com>
34
35 * sem_ch13.adb (Build_Predicate_Functions): Fix minor issues in
36 comment.
37
38 2018-01-11 Arnaud Charlet <charlet@adacore.com>
39
40 * einfo.ads, einfo.adb (Activation_Record_Component,
41 Set_Activation_Record_Component, Set_Is_Uplevel_Referenced_Entity):
42 Allow E_Discriminant.
43
44 2018-01-10 Eric Botcazou <ebotcazou@adacore.com>
45
46 * gcc-interface/decl.c (gnat_to_gnu_component_type): Apply the check
47 for atomic access once the component size is taken into account and
48 also do it if the component type is Atomic or Volatile_Full_Access.
49
50 2018-01-04 Eric Botcazou <ebotcazou@adacore.com>
51
52 * gnatvsn.ads: Bump copyright year.
53
54 2018-01-03 Richard Sandiford <richard.sandiford@linaro.org>
55 Alan Hayward <alan.hayward@arm.com>
56 David Sherwood <david.sherwood@arm.com>
57
58 * gcc-interface/misc.c (enumerate_modes): Treat GET_MODE_BITSIZE
59 as polynomial.
60
61 2018-01-03 Richard Sandiford <richard.sandiford@linaro.org>
62 Alan Hayward <alan.hayward@arm.com>
63 David Sherwood <david.sherwood@arm.com>
64
65 * gcc-interface/misc.c (enumerate_modes): Treat GET_MODE_PRECISION
66 as polynomial.
67
68 2018-01-03 Richard Sandiford <richard.sandiford@linaro.org>
69 Alan Hayward <alan.hayward@arm.com>
70 David Sherwood <david.sherwood@arm.com>
71
72 * gcc-interface/utils.c (gnat_types_compatible_p): Handle
73 polynomial TYPE_VECTOR_SUBPARTS.
74
75 2018-01-03 Richard Sandiford <richard.sandiford@linaro.org>
76 Alan Hayward <alan.hayward@arm.com>
77 David Sherwood <david.sherwood@arm.com>
78
79 * gcc-interface/misc.c (enumerate_modes): Handle polynomial
80 GET_MODE_NUNITS.
81
82 2018-01-03 Jakub Jelinek <jakub@redhat.com>
83
84 Update copyright years.
85
86 * gnat_ugn.texi: Bump @copying's copyright year.
87 * gnat_rm.texi: Likewise.
88 \f
89 Copyright (C) 2018 Free Software Foundation, Inc.
90
91 Copying and distribution of this file, with or without modification,
92 are permitted in any medium without royalty provided the copyright
93 notice and this notice are preserved.