]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/c/ChangeLog
re PR tree-optimization/56812 (Simple loop is not SLP-vectorized after r196872)
[thirdparty/gcc.git] / gcc / c / ChangeLog
CommitLineData
839b422f
RB
12013-03-21 Richard Biener <rguenther@suse.de>
2
3 * c-objc-common.c (c_tree_printer): Use DECL_HAS_DEBUG_EXPR_P
4 instead of DECL_DEBUG_EXPR_IS_FROM. Guard properly.
5
2ee028f1
MP
62013-02-12 Marek Polacek <polacek@redhat.com>
7
8 PR c/44938
9 * c-parser.c (c_parser_postfix_expression_after_primary): Initialize
10 origtypes to NULL.
11
8824edff
JJ
122013-01-24 Jakub Jelinek <jakub@redhat.com>
13
14 PR c/56078
15 * c-typeck.c (set_nonincremental_init_from_string): If
16 constructor_max_index is NULL, treat it as if tree_int_cst_lt
17 returned false.
18 (process_init_element): Likewise.
19
eadd3d0d
JJ
202012-12-20 Jakub Jelinek <jakub@redhat.com>
21
22 PR c++/55619
23 * c-parser.c (c_parser_asm_operands): Remove CONVERT_P
24 argument, don't call default_function_array_conversion
25 nor c_fully_fold here.
26 (c_parser_asm_statement): Adjust callers.
27 * c-typeck.c (build_asm_expr): Call c_fully_fold on inputs
28 and outputs here, and call default_function_array_conversion
29 on inputs that don't need to be addressable.
30
f8a93a2e
JJ
312012-12-18 Jakub Jelinek <jakub@redhat.com>
32
33 PR c/39464
34 * c-typeck.c (convert_for_assignment): For -Wpointer-sign
35 warning require that both c_common_unsigned_type as well as
36 c_common_signed_type is the same for both mvl and mvr types.
37
9771b263
DN
382012-11-16 Diego Novillo <dnovillo@google.com>
39
40 Adjust for new vec API (http://gcc.gnu.org/wiki/cxx-conversion/cxx-vec)
41
42 * c-common.c: Use new vec API in vec.h.
43 * c-common.h: Likewise.
44 * c-gimplify.c: Likewise.
45 * c-pragma.c: Likewise.
46 * c-pretty-print.c: Likewise.
47 * c-pretty-print.h: Likewise.
48 * c-semantics.c: Likewise.
49 * c-decl.c: Likewise.
50 * c-parser.c: Likewise.
51 * c-tree.h: Likewise.
52 * c-typeck.c: Likewise.
53
880661a4
JW
542012-10-29 Jonathan Wakely <jwakely.gcc@gmail.com>
55
56 PR c++/54930
57 * c-typeck.c (c_finish_return): Use OPT_Wreturn_local_addr.
58
077d1abe
MLI
592012-10-29 Manuel López-Ibáñez <manu@gcc.gnu.org>
60
61 PR c/53066
62 * c-decl.c (warn_if_shadowing): Do not warn if a variable
63 shadows a function, unless the variable is a function or a
64 pointer-to-function.
65
3a785c97
JJ
662012-10-12 Jakub Jelinek <jakub@redhat.com>
67
68 PR c/54381
69 * c-parser.c (struct c_tree_loc_pair): Removed.
70 (c_parser_expr_list): Remove struct c_tree_loc_pair * argument,
71 add location_t * and tree * arguments, fill in array of 3
72 sizeof_arg trees and corresponding locs.
73 (c_parser_attributes, c_parser_objc_keywordexpr): Adjust
74 c_parser_expr_list callers.
75 (c_parser_postfix_expression_after_primary): Likewise. Pass
76 array of 3 sizeof_arg trees and locs (corresponding to first
77 3 arguments) to sizeof_pointer_memaccess_warning.
78
703c8606
LC
792012-10-09 Lawrence Crowl <crowl@google.com>
80
81 * Make-lang.in (c-decl.o): Add dependence on hash-table.h.
82 * c-decl.c (detect_field_duplicates_hash): Change to new type-safe
83 hash table.
84
5d9de0d0
PC
852012-10-09 Paolo Carlini <paolo.carlini@oracle.com>
86
87 PR c++/54194
88 * c-typeck.c (parser_build_binary_op): Update warn_about_parentheses
89 call.
90
a212e43f
MG
912012-10-09 Marc Glisse <marc.glisse@inria.fr>
92
93 PR c++/54427
94 * c-typeck.c: Include c-common.h.
95 (enum stv_conv): Moved to c-common.h.
96 (scalar_to_vector): Moved to c-common.c.
97 (build_binary_op): Adapt to scalar_to_vector's new prototype.
98 * Make-lang.in: c-typeck.c depends on c-common.h.
99
3b78de56
AC
1002012-10-04 Arnaud Charlet <charlet@adacore.com>
101
102 * c-decl.c (c_write_global_declarations): Fix handling of
103 -fdump-ada-spec*.
104
78c60e3d
SS
1052012-09-30 Sharad Singhai <singhai@google.com>
106
107 * c-decl.c (c_write_global_declarations): Use a different method
108 to determine if the dump has ben initialized.
109
9f33203d
JM
1102012-09-14 Joseph Myers <joseph@codesourcery.com>
111
112 PR c/54552
113 * c-typeck.c (c_cast_expr): When casting to a type requiring
114 C_MAYBE_CONST_EXPR to be created, pass the inner expression to
115 c_fully_fold first.
116
a27d595d
JM
1172012-09-14 Joseph Myers <joseph@codesourcery.com>
118
119 PR c/54103
120 * c-typeck.c (build_unary_op): Pass original argument of
121 TRUTH_NOT_EXPR to c_objc_common_truthvalue_conversion, then remove
122 any C_MAYBE_CONST_EXPR, if it has integer operands.
123 (build_binary_op): Pass original arguments of TRUTH_ANDIF_EXPR,
124 TRUTH_ORIF_EXPR, TRUTH_AND_EXPR, TRUTH_OR_EXPR and TRUTH_XOR_EXPR
125 to c_objc_common_truthvalue_conversion, then remove any
126 C_MAYBE_CONST_EXPR, if they have integer operands. Use
127 c_objc_common_truthvalue_conversion not
128 c_common_truthvalue_conversion.
129 (c_objc_common_truthvalue_conversion): Build NE_EXPR directly and
130 call note_integer_operands for arguments with integer operands
131 that are not integer constants.
132
9feb29df
JJ
1332012-09-13 Jakub Jelinek <jakub@redhat.com>
134
135 PR c/54559
136 * c-typeck.c (c_finish_return): Do convert to BOOLEAN_TYPE or
137 COMPLEX_TYPE with in_late_binary_op set temporarily to true.
138
d409320c
JJ
1392012-08-31 Jakub Jelinek <jakub@redhat.com>
140
141 PR c/54428
142 * c-convert.c (convert): Don't call fold_convert_loc if
143 TYPE_MAIN_VARIANT of a COMPLEX_TYPE is the same, unless e
144 is a COMPLEX_EXPR. Remove TYPE_MAIN_VARIANT check from
145 COMPLEX_TYPE -> COMPLEX_TYPE conversion.
146
6265d07c
JJ
1472012-08-24 Jakub Jelinek <jakub@redhat.com>
148
149 PR c/54355
150 * c-decl.c (c_parser_label): Pass true as nested and fix up comments
151 for nested and empty_ok arguments in the call to
152 c_parser_declaration_or_fndef.
153
1a4049e7
JJ
1542012-08-17 Jakub Jelinek <jakub@redhat.com>
155
156 * c-tree.h (c_last_sizeof_arg): Declare.
157 * c-parser.c (struct c_tree_loc_pair): New type.
158 (c_parser_expr_list): Add sizeof_arg argument. Fill it in if
159 non-NULL.
160 (c_parser_attributes, c_parser_objc_keywordexpr): Adjust callers.
161 (c_parser_postfix_expression_after_primary): Likewise. Call
162 sizeof_pointer_memaccess_warning if needed.
163 (sizeof_ptr_memacc_comptypes): New function.
164 * c-typeck.c (c_last_sizeof_arg): New global variable.
165 (c_expr_sizeof_expr, c_expr_sizeof_type): Initialize it.
166
0229aee9
UB
1672012-07-24 Uros Bizjak <ubizjak@gmail.com>
168
169 * c-lang.h (lang_decl): Add variable_size GTY option.
170
7ee2468b
SB
1712012-07-16 Steven Bosscher <steven@gcc.gnu.org>
172
173 * c-decl.c: Include dumpfile.h instead of tree-dump.h.
174 * Make-lang.in: Fix dependencies.
175
d4a10d0a
SB
1762012-06-29 Steven Bosscher <steven@gcc.gnu.org>
177
178 * Make-lang.in: New file, rules migrated from gcc/Makefile.in
179 and add language Makefile hooks.
180 * config-lang.in: New file.
181 * c-config-lang.in: Moved from gcc/config-lang.in to here, and
182 add the required "normal" config-lang.in rules.
183 * c-lang.h: Moved from gcc/ to here.
184 * c-tree.h: Likewise.
185 * c-objc-common.c: Likewise.
186 * c-objc-common.h: Likewise.
187 * c-typeck.c: Likewise.
188 * c-convert.c: Likewise.
189 * c-lang.c: Likewise.
190 * c-aux-info.c: Likewise.
191 * c-errors.c: Likewise.
192 * gccspec.c: Likewise.
193 * c-decl.c: Likewise. Include gt-c-c-decl.h, not gt-c-decl.h.
194 * c-parser.c: Likewise. Include gt-c-c-parser.h, not gt-c-parser.h.
195\f
d1e082c2 196Copyright (C) 2012-2013 Free Software Foundation, Inc.
d4a10d0a
SB
197
198Copying and distribution of this file, with or without modification,
199are permitted in any medium without royalty provided the copyright
200notice and this notice are preserved.