]>
Commit | Line | Data |
---|---|---|
84937de2 MP |
1 | 2014-10-09 Marek Polacek <polacek@redhat.com> |
2 | ||
3 | PR c/63480 | |
4 | * c-typeck.c (pop_init_level): Don't warn about initializing | |
5 | with { }. | |
6 | ||
0382aaa0 MP |
7 | 2014-10-07 Marek Polacek <polacek@redhat.com> |
8 | ||
9 | PR c/59717 | |
10 | * c-decl.c (header_for_builtin_fn): New function. | |
11 | (implicitly_declare): Suggest which header to include. | |
12 | ||
7a0ca710 MP |
13 | 2014-10-07 Marek Polacek <polacek@redhat.com> |
14 | ||
15 | * c-convert.c (convert): Use error_operand_p. | |
16 | * c-typeck.c (require_complete_type): Likewise. | |
17 | (really_atomic_lvalue): Likewise. | |
18 | (digest_init): Likewise. | |
19 | (handle_omp_array_sections_1): Likewise. | |
20 | ||
6bc8a126 MP |
21 | 2014-10-03 Marek Polacek <polacek@redhat.com> |
22 | ||
23 | PR c/63453 | |
24 | * c-decl.c (pop_scope): Don't warn about "inline function declared | |
25 | but never defined" for functions marked with gnu_inline attribute. | |
26 | ||
d90c0a59 JJ |
27 | 2014-09-25 Jakub Jelinek <jakub@redhat.com> |
28 | ||
29 | PR c++/63249 | |
30 | * c-parser.c (c_parser_omp_variable_list): Call mark_exp_read | |
31 | on low_bound and length. | |
32 | ||
083e891e MP |
33 | 2014-09-24 Marek Polacek <polacek@redhat.com> |
34 | ||
35 | PR c/61405 | |
36 | PR c/53874 | |
37 | * c-parser.c: Don't define CPP_KEYWORD. | |
38 | (c_parser_switch_statement): Pass original type to c_finish_case. | |
39 | * c-tree.h (c_finish_case): Update declaration. | |
40 | * c-typeck.c (c_finish_case): Add TYPE parameter. Pass it | |
41 | conditionally to c_do_switch_warnings. | |
42 | ||
8d95fe25 MP |
43 | 2014-09-03 Marek Polacek <polacek@redhat.com> |
44 | ||
45 | PR c/62024 | |
46 | * c-parser.c (c_parser_static_assert_declaration_no_semi): Strip no-op | |
47 | conversions. | |
48 | ||
9a771876 JJ |
49 | 2014-09-02 Jakub Jelinek <jakub@redhat.com> |
50 | Balaji V. Iyer <balaji.v.iyer@intel.com> | |
51 | Igor Zamyatin <igor.zamyatin@intel.com> | |
52 | ||
53 | * c-parser.c (c_parser_cilk_for): New function. | |
54 | (c_parser_cilk_grainsize): Likewise. | |
55 | (c_get_temp_regvar): Likewise. | |
56 | (c_parser_statement_after_labels): Added RID_CILK_FOR case. | |
57 | (c_parser_pragma): Added PRAGMA_CILK_GRAINSIZE case. | |
58 | (c_parser_omp_for_loop): Added CILK_FOR and CILK_SIMD checks. | |
59 | * c-typeck.c (c_finish_omp_clauses): Added OMP_CLAUSE__CILK_FOR_COUNT_ | |
60 | case. | |
61 | ||
b7679d96 CG |
62 | 2014-08-27 Chen Gang <gang.chen.5i5j@gmail.com> |
63 | ||
64 | * c-aux-info.c (gen_type): Resize 'buff' from 10 to 23 bytes, | |
65 | with using HOST_WIDE_INT without truncation to 'int' | |
66 | ||
59ea0364 MP |
67 | 2014-08-22 Marek Polacek <polacek@redhat.com> |
68 | ||
69 | PR c++/62199 | |
70 | * c-typeck.c (parser_build_binary_op): Adjust call to | |
71 | warn_logical_not_parentheses. | |
72 | ||
671a475e IZ |
73 | 2014-08-22 Igor Zamyatin <igor.zamyatin@intel.com> |
74 | ||
75 | PR other/62008 | |
76 | * c-parser.c (c_parser_array_notation): Check for correct | |
77 | type of an array added. | |
78 | ||
04159acf MP |
79 | 2014-08-19 Marek Polacek <polacek@redhat.com> |
80 | ||
81 | PR c++/62153 | |
82 | * c-typeck.c (build_binary_op): If either operand of a comparison | |
83 | is a boolean expression, call maybe_warn_bool_compare. | |
84 | ||
c77935ee PP |
85 | 2014-08-19 Patrick Palka <ppalka@gcc.gnu.org> |
86 | ||
87 | PR c/45584 | |
88 | * c-typeck.c (build_c_cast): Do a conversion even when the | |
89 | TYPE_MAIN_VARIANTs are the same. | |
90 | ||
35aff4fb MP |
91 | 2014-08-19 Marek Polacek <polacek@redhat.com> |
92 | ||
93 | * c-decl.c (diagnose_mismatched_decls): Unconditionally call | |
94 | pedwarn_c99 instead of pedwarn. | |
95 | (grokfield): Likewise. | |
96 | (warn_defaults_to): New function. | |
97 | (grokdeclarator): Call warn_defaults_to instead of pedwarn_c99. | |
98 | Unconditionally call pedwarn_c99 instead of pedwarn. | |
99 | (start_function): Call warn_defaults_to instead of pedwarn_c99. | |
100 | (declspecs_add_scspec): Call pedwarn_c99 instead of pedwarn, don't | |
101 | check flag_isoc11 before. | |
102 | * c-errors.c (pedwarn_c99): Change the return type to bool. | |
103 | Handle -Wc99-c11-compat. | |
104 | * c-parser.c (disable_extension_diagnostics): Handle | |
105 | warn_c99_c11_compat. | |
106 | (restore_extension_diagnostics): Likewise. | |
107 | (c_parser_static_assert_declaration_no_semi): Call pedwarn_c99 | |
108 | instead of pedwarn, don't check flag_isoc11 before. | |
109 | (c_parser_declspecs): Likewise. | |
110 | (c_parser_alignas_specifier): Likewise. | |
111 | (c_parser_alignof_expression): Likewise. | |
112 | (c_parser_generic_selection): Likewise. | |
113 | * c-tree.h (pedwarn_c99): Update declaration. | |
114 | * c-typeck.c (c_finish_return): Call pedwarn or warning_at instead | |
115 | of pedwarn_c99. | |
116 | ||
177cce46 MP |
117 | 2014-08-19 Marek Polacek <polacek@redhat.com> |
118 | ||
119 | * c-decl.c (warn_variable_length_array): Pass OPT_Wvla unconditionally | |
120 | to pedwarn_c90. | |
121 | * c-errors.c: Include "opts.h". | |
122 | (pedwarn_c90): Rewrite to handle -Wno-c90-c99-compat better. | |
123 | * c-parser.c (disable_extension_diagnostics): Handle negative value | |
124 | of warn_c90_c99_compat, too. | |
125 | (restore_extension_diagnostics): Likewise. | |
126 | (c_parser_compound_statement_nostart): Pass | |
127 | OPT_Wdeclaration_after_statement unconditionally to pedwarn_c90. | |
128 | ||
6dc99c33 MP |
129 | 2014-08-12 Marek Polacek <polacek@redhat.com> |
130 | ||
131 | * c-parser.c (c_parser_postfix_expression) <case RID_FUNCTION_NAME>: | |
132 | Add pedwarn. | |
133 | (c_parser_postfix_expression) <case RID_PRETTY_FUNCTION_NAME>: | |
134 | Likewise. | |
135 | (c_parser_postfix_expression) <case RID_C99_FUNCTION_NAME>: Likewise. | |
136 | ||
f3bede71 MP |
137 | 2014-08-10 Marek Polacek <polacek@redhat.com> |
138 | ||
139 | PR c/51849 | |
140 | * c-decl.c (build_array_declarator): Remove check for !flag_isoc99. | |
141 | Call pedwarn_c90 instead of pedwarn. | |
142 | (check_bitfield_type_and_width): Likewise. | |
143 | (declspecs_add_qual): Likewise. | |
144 | (declspecs_add_type): Likewise. | |
145 | (warn_variable_length_array): Unify function for -pedantic and -Wvla. | |
146 | Adjust to only call pedwarn_c90. | |
147 | (grokdeclarator): Remove pedantic && !flag_isoc99 check. Call | |
148 | pedwarn_c90 instead of pedwarn. | |
149 | * c-errors.c (pedwarn_c90): Handle -Wc90-c99-compat. | |
150 | * c-parser.c (disable_extension_diagnostics): Handle | |
151 | warn_c90_c99_compat. | |
152 | (restore_extension_diagnostics): Likewise. | |
153 | (c_parser_enum_specifier): Remove check for !flag_isoc99. Call | |
154 | pedwarn_c90 instead of pedwarn. | |
155 | (c_parser_initelt): Likewise. | |
156 | (c_parser_postfix_expression): Likewise. | |
157 | (c_parser_postfix_expression_after_paren_type): Likewise. | |
158 | (c_parser_compound_statement_nostart): Remove check for !flag_isoc99. | |
159 | * c-tree.h: Fix formatting. | |
160 | * c-typeck.c (build_array_ref): Remove check for !flag_isoc99. Call | |
161 | pedwarn_c90 instead of pedwarn. | |
162 | ||
9f25a338 TS |
163 | 2014-08-07 Trevor Saunders <tsaunders@mozilla.com> |
164 | ||
165 | * c-typeck.c: Remove include of pointer-set.h. | |
166 | ||
044331a8 MP |
167 | 2014-08-07 Marek Polacek <polacek@redhat.com> |
168 | ||
169 | * c-typeck.c (pointer_diff): Remove P - (P + CST) optimization. | |
170 | ||
b787e7a2 TS |
171 | 2014-08-02 Trevor Saunders <tsaunders@mozilla.com> |
172 | ||
173 | * c-typeck.c: Use hash_map instead of pointer_map. | |
174 | ||
6e2830c3 TS |
175 | 2014-08-02 Trevor Saunders <tsaunders@mozilla.com> |
176 | ||
177 | * c-decl.c: Use hash_set instead of pointer_set. | |
178 | ||
a7ee52fb IZ |
179 | 2014-08-01 Igor Zamyatin <igor.zamyatin@intel.com> |
180 | ||
181 | PR middle-end/61455 | |
182 | * c-array-notation.c (expand_array_notations): Handling | |
183 | of DECL_EXPR added. | |
184 | ||
b4dfdc11 MG |
185 | 2014-07-31 Marc Glisse <marc.glisse@inria.fr> |
186 | ||
187 | PR c++/60517 | |
188 | * c-typeck.c (c_finish_return): Return 0 instead of the address of | |
189 | a local variable. | |
190 | ||
976d5a22 TT |
191 | 2014-07-30 Tom Tromey <tromey@redhat.com> |
192 | ||
193 | * c-typeck.c (struct constructor_stack) <designator_depth>: New | |
194 | field. | |
195 | (really_start_incremental_init, push_init_level): Initialize | |
196 | designator_depth. | |
197 | (pop_init_level): Set global designator_depth. | |
198 | (process_init_element): Check for designated_init attribute. | |
199 | ||
30281de2 MP |
200 | 2014-07-20 Marek Polacek <polacek@redhat.com> |
201 | ||
202 | PR c/61852 | |
203 | * c-decl.c (implicit_decl_warning): Add location_t parameter. Use it. | |
204 | (implicitly_declare): Pass location to implicit_decl_warning. | |
205 | ||
b108f48f JJ |
206 | 2014-07-14 Jakub Jelinek <jakub@redhat.com> |
207 | ||
208 | PR middle-end/61294 | |
209 | * c-parser.c (c_parser_expr_list): Add new argument literal_zero_mask. | |
210 | If non-NULL, call c_parser_check_literal_zero. | |
211 | (c_parser_check_literal_zero): New function. | |
212 | (c_parser_postfix_expression_after_primary): Adjust | |
213 | c_parser_expr_list caller, handle -Wmemset-transposed-args. | |
214 | ||
773ec47f MP |
215 | 2014-07-06 Marek Polacek <polacek@redhat.com> |
216 | ||
217 | PR c/6940 | |
218 | * c-decl.c (grokdeclarator): Set C_ARRAY_PARAMETER. | |
219 | * c-tree.h (C_ARRAY_PARAMETER): Define. | |
220 | * c-typeck.c (c_expr_sizeof_expr): Warn when using sizeof on an array | |
221 | function parameter. | |
222 | ||
22e1cf1c JH |
223 | 2014-07-02 Jan Hubicka <hubicka@ucw.cz> |
224 | Chen Gang <gang.chen.5i5j@gmail.com> | |
225 | ||
226 | * c-decl.c (duplicate_decls): CLear DECL_STRUCT_FUNCTION before | |
227 | releasing symbol. | |
228 | ||
52ec0ea3 MP |
229 | 2014-07-01 Marek Polacek <polacek@redhat.com> |
230 | ||
231 | * c-typeck.c (convert_for_assignment): Pass OPT_Wint_conversion | |
232 | instead of 0 to WARN_FOR_ASSIGNMENT. | |
233 | ||
d5c3d343 MP |
234 | 2014-07-01 Marek Polacek <polacek@redhat.com> |
235 | ||
236 | PR c/58286 | |
237 | * c-typeck.c (convert_for_assignment): Pass | |
238 | OPT_Wincompatible_pointer_types instead of 0 to WARN_FOR_ASSIGNMENT. | |
239 | ||
6a7253a4 MP |
240 | 2014-06-30 Marek Polacek <polacek@redhat.com> |
241 | ||
242 | * c-decl.c (grokdeclarator): Don't instrument VLAs if the function | |
243 | has no_sanitize_undefined attribute. | |
244 | ||
5e88a8f4 IZ |
245 | 2014-06-30 Igor Zamyatin <igor.zamyatin@intel.com> |
246 | ||
247 | PR middle-end/57541 | |
248 | * c-array-notation.c (fix_builtin_array_notation_fn): | |
249 | Check for 0 arguments in builtin call. Check that bultin argument is | |
250 | correct. | |
251 | * c-parser.c (c_parser_array_notation): Check for incorrect initial | |
252 | index. | |
253 | ||
9698b078 SH |
254 | 2014-06-27 Sebastian Huber <sebastian.huber@embedded-brains.de> |
255 | ||
256 | * c-parser.c (c_parser_declaration_or_fndef): Discard all type | |
257 | qualifiers in __auto_type for atomic types. | |
258 | (c_parser_typeof_specifier): Discard all type qualifiers in | |
259 | __typeof__ for atomic types. | |
260 | ||
6e07c515 MP |
261 | 2014-06-25 Marek Polacek <polacek@redhat.com> |
262 | ||
263 | PR c/61162 | |
264 | * c-parser.c (c_parser_statement_after_labels): Pass the location of | |
265 | the return expression to c_finish_return. | |
266 | ||
da6f124d JJ |
267 | 2014-06-25 Jakub Jelinek <jakub@redhat.com> |
268 | ||
269 | * c-typeck.c (c_finish_omp_clauses): Make sure | |
270 | OMP_CLAUSE_LINEAR_STEP has correct type. | |
271 | ||
c203e8a7 TS |
272 | 2014-06-24 Trevor Saunders <tsaunders@mozilla.com> |
273 | ||
274 | * c-decl.c: Adjust. | |
275 | ||
56ad0e38 JJ |
276 | 2014-06-24 Jakub Jelinek <jakub@redhat.com> |
277 | ||
278 | * c-parser.c (c_parser_omp_for_loop): For | |
279 | #pragma omp parallel for simd move lastprivate clause from parallel | |
280 | to for rather than simd. | |
281 | ||
47c2554f MP |
282 | 2014-06-23 Marek Polacek <polacek@redhat.com> |
283 | ||
284 | * c-typeck.c (parser_build_binary_op): Don't call | |
285 | warn_logical_not_parentheses if the RHS is TRUTH_NOT_EXPR. | |
286 | ||
56363ffd JH |
287 | 2014-06-15 Jan Hubicka <hubicka@ucw.cz> |
288 | ||
289 | * c-parser.c (c_parser_omp_threadprivate): Likewise. | |
290 | * c-decl.c (merge_decls): Likewise. | |
291 | ||
d7ff7ae5 MP |
292 | 2014-06-09 Marek Polacek <polacek@redhat.com> |
293 | ||
294 | PR c/36446 | |
295 | * c-typeck.c (error_init): Call inform instead of error_at. | |
296 | (pedwarn_init): Call inform instead of pedwarn. | |
297 | (warning_init): Call inform instead of warning_at. | |
298 | ||
24d047a3 JH |
299 | 2014-06-07 Jan Hubicka <hubicka@ucw.cz> |
300 | ||
301 | * c-decl.c (merge_decls): Use set_decl_section_name. | |
302 | (duplicate_decls): Remove node if it exists. | |
303 | ||
9bac5cbb G |
304 | 2014-06-05 S. Gilles <sgilles@terpmail.umd.edu> |
305 | ||
306 | PR c/53119 | |
307 | * c-typeck.c (push_init_level, process_init_element, | |
308 | pop_init_level): Correct check for zero initialization, move | |
309 | missing brace warning to respect zero initialization. | |
310 | ||
8ffcdea8 MP |
311 | 2014-06-05 Marek Polacek <polacek@redhat.com> |
312 | ||
313 | PR c/56724 | |
314 | * c-typeck.c (convert_for_assignment): Use expr_loc for ic_argpass. | |
315 | ||
742938c9 MP |
316 | 2014-06-05 Marek Polacek <polacek@redhat.com> |
317 | ||
318 | PR c/49706 | |
319 | * c-typeck.c (parser_build_binary_op): Warn when logical not is used | |
320 | on the left hand side operand of a comparison. | |
321 | ||
6447c55d MP |
322 | 2014-06-05 Marek Polacek <polacek@redhat.com> |
323 | ||
324 | PR c/48062 | |
325 | * c-decl.c (warn_if_shadowing): Call inform instead of warning_at. | |
326 | Print note only if the warning was printed. | |
327 | ||
9dc7743c IZ |
328 | 2014-06-04 Igor Zamyatin <igor.zamyatin@intel.com> |
329 | ||
330 | PR c/58942 | |
331 | * c-array-notation.c (fix_builtin_array_notation_fn): Handle the case | |
332 | with a pointer. | |
333 | ||
fedfecef MP |
334 | 2014-06-03 Marek Polacek <polacek@redhat.com> |
335 | ||
336 | PR c/60439 | |
337 | * c-parser.c (c_parser_switch_statement): Pass explicit_cast_p to | |
338 | c_start_case. | |
339 | * c-tree.h (c_start_case): Update. | |
340 | * c-typeck.c (c_start_case): Add new boolean parameter. Warn if | |
341 | switch condition has boolean value. | |
342 | ||
9b2b7279 AM |
343 | 2014-06-02 Andrew MacLeod <amacleod@redhat.com> |
344 | ||
345 | * c-decl.c: Include builtins.h. | |
346 | * c-parser.c: Likewise. | |
347 | ||
5c1bc275 MP |
348 | 2014-05-27 Marek Polacek <polacek@redhat.com> |
349 | ||
350 | PR c/56724 | |
351 | * c-typeck.c (convert_arguments): Get location of a parameter. Change | |
352 | error and warning calls to error_at and warning_at. Pass location of | |
353 | a parameter to it. Call warning_at with OPT_Wtraditional_conversion. | |
354 | (convert_for_assignment): Add parameter to WARN_FOR_ASSIGNMENT and | |
355 | WARN_FOR_QUALIFIERS. Pass expr_loc to those. | |
356 | ||
97563bc8 IZ |
357 | 2014-05-26 Igor Zamyatin <igor.zamyatin@intel.com> |
358 | ||
359 | PR c/61191 | |
360 | * c-array-notation.c (fix_builtin_array_notation_fn): Check invalid | |
361 | function parameters. | |
362 | ||
aede2c10 JH |
363 | 2014-05-23 Jan Hubicka <hubicka@ucw.cz> |
364 | ||
365 | * c-decl.c (merge_decls): Preserve symtab node pointers. | |
366 | (duplicate_decls): Free new decl. | |
367 | ||
edbba2ce TS |
368 | 2014-05-23 Thomas Schwinge <thomas@codesourcery.com> |
369 | ||
f3316c6d TS |
370 | * c-typeck.c (c_finish_omp_clauses): Remove duplicated variable |
371 | initialization. | |
372 | ||
edbba2ce TS |
373 | * c-parser.c (c_parser_omp_target): Return bool values. |
374 | ||
68c81f24 TS |
375 | 2014-05-22 Thomas Schwinge <thomas@codesourcery.com> |
376 | ||
377 | * c-parser.c (c_parser_omp_clause_thread_limit): Rename | |
378 | num_teams_loc variable to num_thread_limit_loc. | |
379 | ||
632f2871 RS |
380 | 2014-05-21 Richard Sandiford <rsandifo@linux.vnet.ibm.com> |
381 | ||
382 | * c-array-notation.c (expand_array_notations): Use void_node | |
383 | instead of void_zero_node. | |
384 | ||
766090c2 TS |
385 | 2014-05-17 Trevor Saunders <tsaunders@mozilla.com> |
386 | ||
387 | * c-decl.c (finish_struct): Adjust. | |
388 | (finish_enum): Likewise. | |
389 | (bind): Adjust. | |
390 | (record_inline_static): Likewise. | |
391 | (push_scope): Likewise. | |
392 | (make_label): Likewise. | |
393 | (lookup_label_for_goto): Likewise. | |
394 | (finish_struct): Likewise. | |
395 | (finish_enum): Likewise. | |
396 | (store_parm_decls): Likewise. | |
397 | (c_push_function_context): Likewise. | |
398 | * c-lang.h: Remove usage of variable_size gty attribute. | |
399 | * c-parser.c (c_parse_init): Adjust. | |
400 | (c_parse_file): Likewise. | |
401 | ||
2b107f6b MP |
402 | 2014-05-13 Marek Polacek <polacek@redhat.com> |
403 | ||
404 | PR c/61162 | |
405 | * c-typeck.c (convert_for_assignment): Pass location to | |
406 | WARN_FOR_ASSIGNMENT instead of input_location. | |
407 | ||
d033409e MP |
408 | 2014-05-10 Marek Polacek <polacek@redhat.com> |
409 | ||
410 | * c-parser.c (c_parser_declaration_or_fndef): Pass init_loc to | |
411 | maybe_warn_string_init. | |
412 | (c_parser_postfix_expression_after_paren_type): Pass type_loc to | |
413 | maybe_warn_string_init. | |
414 | * c-tree.h (maybe_warn_string_init): Update declaration. | |
415 | * c-typeck.c (maybe_warn_string_init): Add location parameter. | |
416 | Call pedwarn_init with loc instead of with input_location. | |
417 | (digest_init): Pass init_loc to maybe_warn_string_init. | |
418 | (pop_init_level): Call pedwarn_init with loc instead of with | |
419 | input_location. | |
420 | (set_init_index): Likewise. | |
421 | (process_init_element): Likewise. | |
422 | ||
ea58ef42 MP |
423 | 2014-05-09 Marek Polacek <polacek@redhat.com> |
424 | ||
425 | PR c/61096 | |
426 | * c-parser.c (c_parser_braced_init): Pass brace_loc to push_init_level. | |
427 | (c_parser_initelt): Pass location to set_init_label. Pass array index | |
428 | location to set_init_index. | |
429 | * c-tree.h (push_init_level): Update declaration. | |
430 | (pop_init_level): Likewise. | |
431 | (set_init_index): Likewise. | |
432 | (set_init_label): Likewise. | |
433 | * c-typeck.c (error_init): Add location parameter. Call error_at | |
434 | instead of error. | |
435 | (digest_init): Pass init_loc to error_init. | |
436 | (really_start_incremental_init): | |
437 | (push_init_level): Add location parameter. Pass loc to pop_init_level | |
438 | and error_init. | |
439 | (pop_init_level): Likewise. | |
440 | (set_designator): Add location parameter. Pass loc to pop_init_level, | |
441 | push_init_level, and error_init. | |
442 | (set_init_index): Add location parameter. Pass loc to error_init and | |
443 | set_designator. | |
444 | (set_init_label): Likewise. | |
445 | (output_init_element): Pass loc to error_init. | |
446 | (process_init_element): Pass loc to error_init, pop_init_level, | |
447 | pedwarn_init, and push_init_level. | |
448 | ||
661a0813 MP |
449 | 2014-05-09 Marek Polacek <polacek@redhat.com> |
450 | ||
451 | PR c/50459 | |
452 | * c-parser.c (c_parser_attributes): Parse the arguments as an | |
453 | expression-list if the attribute takes identifier. | |
454 | ||
2793eeab MP |
455 | 2014-05-08 Marek Polacek <polacek@redhat.com> |
456 | ||
457 | PR c/61053 | |
458 | * c-decl.c (grokdeclarator): Use min_align_of_type instead of | |
459 | TYPE_ALIGN_UNIT. | |
460 | ||
f827930a MP |
461 | 2014-05-08 Marek Polacek <polacek@redhat.com> |
462 | ||
463 | PR c/61077 | |
464 | * c-decl.c (start_function): Warn for _Atomic-qualified return type | |
465 | of main. | |
466 | ||
1d60af08 KZ |
467 | 2014-05-06 Kenneth Zadeck <zadeck@naturalbridge.com> |
468 | Mike Stump <mikestump@comcast.net> | |
469 | Richard Sandiford <rdsandiford@googlemail.com> | |
470 | ||
471 | * c-decl.c (check_bitfield_type_and_width): Use TYPE_SIGN. | |
472 | (finish_enum): Use wide-int interfaces. | |
473 | * c-parser.c (c_parser_cilk_clause_vectorlength): Likewise. | |
474 | * c-typeck.c (build_c_cast): Likewise. | |
475 | (set_nonincremental_init_from_string): Likewise. | |
476 | (c_tree_equal): Likewise. | |
477 | ||
a0e24419 MP |
478 | 2014-05-02 Marek Polacek <polacek@redhat.com> |
479 | ||
480 | PR c/25801 | |
481 | * c-typeck.c (c_size_in_bytes): Update comment. Don't call error. | |
482 | Return size_one_node when the type is not complete. | |
483 | (pointer_diff): Remove comment. | |
484 | (build_unary_op): Improve error messages. | |
485 | ||
19fc9faa MP |
486 | 2014-05-02 Marek Polacek <polacek@redhat.com> |
487 | ||
488 | * c-typeck.c (c_finish_return): Separate warning_at calls. | |
489 | ||
63bc4e87 MP |
490 | 2014-05-02 Marek Polacek <polacek@redhat.com> |
491 | ||
492 | * c-tree.h (error_init): Remove declaration. | |
493 | (pedwarn_init): Likewise. | |
494 | * c-typeck.c (error_init): Make static and move above. | |
495 | (pedwarn_init): Likewise. | |
496 | (warning_init): Move above. | |
497 | (maybe_warn_string_init): Likewise. | |
498 | ||
4bd2511b JL |
499 | 2014-05-01 Jeff Law <law@redhat.com> |
500 | ||
501 | Revert: | |
502 | ||
503 | 2014-04-24 Prathamesh Kulkarni <bilbotheelffriend@gmail.com> | |
504 | * c-parser.c (c_parser_sizeof_expression): Reorganize slightly to | |
505 | avoid goto. | |
506 | ||
6a358dcb MP |
507 | 2014-05-02 Marek Polacek <polacek@redhat.com> |
508 | ||
509 | PR c/60784 | |
510 | * c-typeck.c (push_init_level): Set constructor_designated to | |
511 | p->designated for structures. | |
512 | ||
ae5ebda4 MP |
513 | 2014-05-01 Marek Polacek <polacek@redhat.com> |
514 | ||
515 | PR c/60915 | |
516 | * c-parser.c (c_parser_declaration_or_fndef): Give better error if | |
517 | function-definition has an attribute after the declarator. | |
518 | ||
96b40f8d MP |
519 | 2014-05-01 Marek Polacek <polacek@redhat.com> |
520 | ||
521 | PR c/60257 | |
522 | * c-typeck.c (warning_init): Add location_t parameter. Call | |
523 | warning_at instead of warning. | |
524 | (push_init_level): Pass input_location to warning_init. | |
525 | (add_pending_init): Add location_t parameter. Pass loc to | |
526 | warning_init. | |
527 | (set_nonincremental_init): Pass input_location to add_pending_init. | |
528 | (set_nonincremental_init_from_string): Likewise. | |
529 | (output_init_element): Pass loc to warning_init and to | |
530 | add_pending_init. | |
531 | ||
32e00768 MP |
532 | 2014-05-01 Marek Polacek <polacek@redhat.com> |
533 | ||
534 | PR c/43395 | |
535 | * c-typeck.c (c_finish_return): Distinguish between label and variable | |
536 | when warning about returning local address. | |
537 | ||
c9379ce2 MP |
538 | 2014-05-01 Marek Polacek <polacek@redhat.com> |
539 | ||
540 | PR c/29467 | |
541 | * c-decl.c (declspecs_add_type): Pedwarn if boolean types are used | |
542 | in C89 mode. | |
543 | ||
d00887e8 MP |
544 | 2014-05-01 Marek Polacek <polacek@redhat.com> |
545 | ||
546 | PR c/43245 | |
547 | * c-typeck.c (convert_for_assignment): Pass OPT_Wdiscarded_qualifiers | |
548 | instead of 0 to WARN_FOR_QUALIFIERS. | |
549 | ||
5436fa2e MP |
550 | 2014-05-01 Marek Polacek <polacek@redhat.com> |
551 | ||
552 | PR c/56989 | |
553 | * c-typeck.c (default_conversion): Use better location for | |
554 | error call. | |
555 | ||
f8ed5150 MP |
556 | 2014-04-30 Marek Polacek <polacek@redhat.com> |
557 | ||
558 | * c-typeck.c (build_binary_op): Call ubsan_instrument_division | |
559 | also when SANITIZE_FLOAT_DIVIDE is on. | |
560 | ||
8337d1db MP |
561 | 2014-04-30 Marek Polacek <polacek@redhat.com> |
562 | ||
563 | PR c/60139 | |
564 | * c-typeck.c (output_init_element): Pass OPT_Wpedantic to pedwarn | |
565 | and pedwarn_init. Use loc insted of input_location. | |
566 | ||
c4bdc42f MP |
567 | 2014-04-30 Marek Polacek <polacek@redhat.com> |
568 | ||
569 | PR c/60351 | |
570 | * c-typeck.c (build_binary_op): Use location when warning about | |
571 | shift count. | |
572 | ||
45484dcf MP |
573 | 2014-04-25 Marek Polacek <polacek@redhat.com> |
574 | ||
575 | PR c/18079 | |
576 | * c-decl.c (diagnose_mismatched_decls): Warn for mismatched | |
577 | always_inline/noinline and hot/cold attributes. | |
578 | ||
34cf811f MP |
579 | 2014-04-25 Marek Polacek <polacek@redhat.com> |
580 | ||
581 | PR c/60114 | |
582 | * c-parser.c (c_parser_initelt): Pass input_location to | |
583 | process_init_element. | |
584 | (c_parser_initval): Pass loc to process_init_element. | |
585 | * c-tree.h (process_init_element): Adjust declaration. | |
586 | * c-typeck.c (push_init_level): Pass input_location to | |
587 | process_init_element. | |
588 | (pop_init_level): Likewise. | |
589 | (set_designator): Likewise. | |
590 | (output_init_element): Add location_t parameter. Pass loc to | |
591 | digest_init. | |
592 | (output_pending_init_elements): Pass input_location to | |
593 | output_init_element. | |
594 | (process_init_element): Add location_t parameter. Pass loc to | |
595 | output_init_element. | |
596 | ||
42056eac JJ |
597 | 2014-04-24 Jakub Jelinek <jakub@redhat.com> |
598 | ||
599 | * c-parser.c (c_parser_omp_atomic): Allow seq_cst before | |
600 | atomic-clause, allow comma in between atomic-clause and | |
601 | seq_cst. | |
602 | ||
e162a134 JJ |
603 | 2014-04-22 Jakub Jelinek <jakub@redhat.com> |
604 | ||
605 | PR c/59073 | |
606 | * c-parser.c (c_parser_omp_parallel): If c_parser_omp_for | |
607 | fails, don't set OM_PARALLEL_COMBINED and return NULL. | |
608 | ||
2f6babac IZ |
609 | 2014-04-12 Igor Zamyatin <igor.zamyatin@intel.com> |
610 | ||
611 | PR middle-end/60469 | |
612 | * c-array-notation.c (fix_builtin_array_notation_fn): Use | |
613 | create_tmp_var instead build_decl for creating temps. | |
614 | (build_array_notation_expr): Likewise. | |
615 | (fix_conditional_array_notations_1): Likewise. | |
616 | (fix_array_notation_expr): Likewise. | |
617 | (fix_array_notation_call_expr): Likewise. | |
618 | ||
8edbfaa6 JJ |
619 | 2014-03-28 Jakub Jelinek <jakub@redhat.com> |
620 | ||
621 | PR c++/60689 | |
622 | * c-tree.h (c_build_function_call_vec): New prototype. | |
623 | * c-typeck.c (build_function_call_vec): Don't call | |
624 | resolve_overloaded_builtin here. | |
625 | (c_build_function_call_vec): New wrapper function around | |
626 | build_function_call_vec. Call resolve_overloaded_builtin here. | |
627 | (convert_lvalue_to_rvalue, build_function_call, build_atomic_assign): | |
628 | Call c_build_function_call_vec instead of build_function_call_vec. | |
629 | * c-parser.c (c_parser_postfix_expression_after_primary): Likewise. | |
630 | * c-decl.c (finish_decl): Likewise. | |
631 | ||
7485aeea MLI |
632 | 2014-03-18 Manuel López-Ibáñez <manu@gcc.gnu.org> |
633 | ||
634 | PR c/55383 | |
635 | * c-typeck.c: Use correct format string in cast-qual warning | |
636 | ||
b17a8b07 TS |
637 | 2014-03-07 Thomas Schwinge <thomas@codesourcery.com> |
638 | ||
639 | * c-decl.c (c_decl_attributes): Use | |
640 | lang_hooks.types.omp_mappable_type. | |
641 | * c-typeck.c (c_finish_omp_clauses): Likewise. | |
642 | ||
3af9c5e9 MP |
643 | 2014-03-06 Marek Polacek <polacek@redhat.com> |
644 | ||
645 | PR c/60197 | |
646 | * c-typeck.c (c_finish_return): Call contains_cilk_spawn_stmt instead | |
647 | of checking tree code. | |
648 | ||
1c9f5f33 PK |
649 | 2014-02-19 Prathamesh Kulkarni <bilbotheelffriend@gmail.com> |
650 | ||
651 | * c-parser.c (c_parser_declspecs): Replace call to error by error_at. | |
652 | (c_parser_parameter_declaration): Likewise. | |
653 | ||
cc28fc7f MP |
654 | 2014-02-19 Marek Polacek <polacek@redhat.com> |
655 | ||
656 | PR c/60195 | |
657 | * c-typeck.c (convert_lvalue_to_rvalue): Set TREE_NO_WARNING on tmp. | |
658 | Call mark_exp_read on exp.value. | |
659 | (build_atomic_assign): Set TREE_NO_WARNING on val and old. Set | |
660 | TREE_ADDRESSABLE on old instead of val. | |
661 | (emit_side_effect_warnings): Warn only if RHS has !TREE_NO_WARNING. | |
662 | ||
b581c05c PK |
663 | 2014-02-07 Prathamesh Kulkarni <bilbotheelffriend@gmail.com> |
664 | ||
665 | * c-parser.c (c_parser_get_builtin_args): Replace calls to | |
666 | C_EXPR_APPEND by vec_safe_push. | |
667 | * c-tree.h (C_EXPR_APPEND): Remove. | |
668 | ||
81e5eca8 MP |
669 | 2014-01-31 Marek Polacek <polacek@redhat.com> |
670 | ||
671 | PR c/59963 | |
672 | * c-typeck.c (convert_lvalue_to_rvalue): Pass vNULL to | |
673 | build_function_call_vec. | |
674 | (build_function_call): Likewise. | |
675 | (build_atomic_assign): Likewise. | |
676 | (build_function_call_vec): Add arg_loc parameter. Use it. | |
677 | (convert_arguments): Likewise. | |
678 | (convert_for_assignment): Rename rhs_loc to expr_loc. | |
679 | * c-parser.c (c_parser_attributes): Pass NULL to c_parser_expr_list. | |
680 | (c_parser_objc_keywordexpr): Likewise. | |
681 | (c_parser_postfix_expression_after_primary): Call | |
682 | build_function_call_vec with expr_loc rather than op_loc. | |
683 | Call c_parser_expr_list to fill arg_loc. Pass arg_loc to | |
684 | build_function_call_vec. | |
685 | (c_parser_expr_list): Add locations parameter. Fill it with locations | |
686 | of function arguments. | |
687 | * c-decl.c (finish_decl): Pass vNULL to build_function_call_vec. | |
688 | ||
68fca595 MP |
689 | 2014-01-30 Marek Polacek <polacek@redhat.com> |
690 | ||
691 | PR c/59940 | |
692 | * c-typeck.c (build_function_call_vec): Use loc parameter. | |
693 | (convert_arguments): Add location parameter. Use it. | |
694 | (ep_convert_and_check): Likewise. | |
695 | (build_atomic_assign): Adjust convert_for_assignment call. | |
696 | (build_modify_expr): Likewise. | |
697 | (digest_init): Likewise. | |
698 | (c_finish_return): Likewise. | |
699 | (build_conditional_expr): Adjust ep_convert_and_check calls. | |
700 | (convert_for_assignment): Add rhs_loc parameter. Use it. | |
701 | (build_binary_op): Adjust convert_and_check and ep_convert_and_check | |
702 | calls. | |
703 | ||
fa337f3a RB |
704 | 2014-01-30 Richard Biener <rguenther@suse.de> |
705 | ||
706 | PR c/59905 | |
707 | * c-typeck.c (build_function_call_vec): Do not replace calls | |
708 | to a function via an incompatible type with a runtime abort. | |
709 | ||
b72271b9 BI |
710 | 2014-01-24 Balaji V. Iyer <balaji.v.iyer@intel.com> |
711 | ||
712 | * c-parser.c (c_parser_declaration_or_fndef): Replaced | |
713 | flag_enable_cilkplus with flag_cilkplus. | |
714 | (c_parser_direct_declarator_inner): Likewise. | |
715 | (c_parser_attribute_any_word): Likewise. | |
716 | (c_parser_attributes): Likewise. | |
717 | (c_parser_compound_statement): Likewise. | |
718 | (c_parser_statement_after_labels): Likewise. | |
719 | (c_parser_if_statement): Likewise. | |
720 | (c_parser_switch_statement): Likewise. | |
721 | (c_parser_do_statement): Likewise. | |
722 | (c_parser_for_statement): Likewise. | |
723 | (c_parser_unary_expression): Likewise. | |
724 | (c_parser_postfix_expression): Likewise. | |
725 | (c_parser_postfix_expression_after_primary): Likewise. | |
726 | (c_parser_postfix_expression_after_primary): Likewise. | |
727 | (c_parser_omp_clause_name): Likewise. | |
728 | (c_finish_omp_declare_simd): Likewise. | |
729 | (c_parser_cilk_verify_simd): Likewise. | |
730 | * c-typeck.c (build_array_ref): Likewise. | |
731 | (build_function_call_vec): Likewise. | |
732 | (convert_arguments): Likewise. | |
733 | (build_compound_expr): Likewise. | |
734 | (c_finish_return): Likewise. | |
735 | (c_finish_if_stmt): Likewise. | |
736 | (c_finish_loop): Likewise. | |
737 | (build_binary_op): Likewise. | |
738 | ||
393e8e8b MP |
739 | 2014-01-23 Marek Polacek <polacek@redhat.com> |
740 | ||
741 | PR c/59846 | |
742 | * c-typeck.c (parser_build_binary_op): Use location instead of | |
743 | input_location. | |
744 | (build_binary_op): Pass location to shorten_compare. | |
745 | ||
f04dda30 MP |
746 | 2014-01-23 Marek Polacek <polacek@redhat.com> |
747 | ||
748 | PR c/58346 | |
749 | * c-typeck.c (pointer_diff): Give an error on arithmetic on pointer to | |
750 | an empty aggregate. | |
751 | ||
789eadcd MP |
752 | 2014-01-23 Marek Polacek <polacek@redhat.com> |
753 | ||
754 | PR c/59871 | |
755 | * c-typeck.c (build_compound_expr): Warn even for right-hand operand | |
756 | of a comma expression. | |
757 | (emit_side_effect_warnings): Likewise. | |
758 | ||
40f14e9f BI |
759 | 2014-01-23 Balaji V. Iyer <balaji.v.iyer@intel.com> |
760 | ||
761 | PR c/59825 | |
762 | * c-array-notation.c (expand_array_notation_exprs): Rewrote this | |
763 | function to use walk_tree and moved a lot of its functionality to | |
764 | expand_array_notations. | |
765 | (expand_array_notations): New function. | |
766 | ||
74558dd9 BI |
767 | 2014-01-23 Balaji V. Iyer <balaji.v.iyer@intel.com> |
768 | ||
769 | * c-parser.c (c_finish_omp_declare_simd): Made "cilk simd function" | |
770 | attribute an attribute without value. | |
771 | ||
652fea39 JJ |
772 | 2014-01-23 Jakub Jelinek <jakub@redhat.com> |
773 | ||
774 | PR middle-end/58809 | |
775 | * c-typeck.c (c_finish_omp_clause): Reject MIN_EXPR, MAX_EXPR, | |
776 | BIT_AND_EXPR, BIT_IOR_EXPR and BIT_XOR_EXPR on COMPLEX_TYPEs. | |
777 | ||
f34f1c87 MP |
778 | 2014-01-22 Marek Polacek <polacek@redhat.com> |
779 | ||
780 | PR c/59891 | |
781 | * c-typeck.c (build_conditional_expr): Call c_fully_fold instead | |
782 | of remove_c_maybe_const_expr on op1 and op2. | |
783 | ||
241f845a JJ |
784 | 2014-01-15 Jakub Jelinek <jakub@redhat.com> |
785 | ||
786 | PR c/58943 | |
787 | * c-typeck.c (build_modify_expr): For lhs op= rhs, if rhs has side | |
788 | effects, preevaluate rhs using SAVE_EXPR first. | |
789 | ||
9a74f20c BI |
790 | 2014-01-09 Balaji V. Iyer <balaji.v.iyer@intel.com> |
791 | ||
792 | PR c++/59631 | |
793 | * c-parser.c (c_parser_postfix_expression): Replaced consecutive if | |
794 | statements with if-elseif statements. | |
795 | ||
96066ce1 MP |
796 | 2014-01-06 Marek Polacek <polacek@redhat.com> |
797 | ||
798 | PR c/57773 | |
799 | * c-decl.c (check_bitfield_type_and_width): Warn for implementation | |
800 | defined bit-field types only in ISO C. | |
801 | ||
23a5b65a RS |
802 | 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com> |
803 | ||
804 | Update copyright years | |
805 | ||
f9030485 RS |
806 | 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com> |
807 | ||
808 | * c-array-notation.c: Use the standard form for the copyright notice. | |
809 | ||
41958c28 BI |
810 | 2013-12-18 Balaji V. Iyer <balaji.v.iyer@intel.com> |
811 | ||
812 | * c-parser.c (struct c_parser::cilk_simd_fn_tokens): Added new field. | |
813 | (c_parser_declaration_or_fndef): Added a check if cilk_simd_fn_tokens | |
814 | field in parser is not empty. If not-empty, call the function | |
815 | c_parser_finish_omp_declare_simd. | |
816 | (c_parser_cilk_clause_vectorlength): Modified function to be shared | |
817 | between SIMD-enabled functions and #pragma simd. Added new parameter. | |
818 | (c_parser_cilk_all_clauses): Modified the usage of the function | |
819 | c_parser_cilk_clause_vectorlength as mentioned above. | |
820 | (c_parser_cilk_simd_fn_vector_attrs): New function. | |
821 | (c_finish_cilk_simd_fn_tokens): Likewise. | |
822 | (is_cilkplus_vector_p): Likewise. | |
823 | (c_parser_omp_clause_name): Added checking for "vectorlength," | |
824 | "nomask," and "mask" strings in clause name. | |
825 | (c_parser_omp_all_clauses): Added 3 new case statements: | |
826 | PRAGMA_CILK_CLAUSE_VECTORLENGTH, PRAGMA_CILK_CLAUSE_MASK and | |
827 | PRAGMA_CILK_CLAUSE_NOMASK. | |
828 | (c_parser_attributes): Added a cilk_simd_fn_tokens parameter. Added a | |
829 | check for vector attribute and if so call the function | |
830 | c_parser_cilk_simd_fn_vector_attrs. Also, when Cilk plus is enabled, | |
831 | called the function c_finish_cilk_simd_fn_tokens. | |
832 | (c_finish_omp_declare_simd): Added a check if cilk_simd_fn_tokens in | |
833 | parser field is non-empty. If so, parse them as you would parse | |
834 | the omp declare simd pragma. | |
835 | (c_parser_omp_clause_linear): Added a new bool parm. is_cilk_simd_fn. | |
836 | Added a check when step is a parameter and flag it as error. | |
837 | (CILK_SIMD_FN_CLAUSE_MASK): New #define. | |
838 | (c_parser_cilk_clause_name): Changed pragma_cilk_clause to | |
839 | pragma_omp_clause. | |
840 | ||
cef0fd0e TS |
841 | 2013-12-17 Thomas Schwinge <thomas@codesourcery.com> |
842 | ||
843 | * c-parser.c (c_parser_omp_parallel): Fix description. | |
844 | ||
12893402 BI |
845 | 2013-12-11 Balaji V. Iyer <balaji.v.iyer@intel.com> |
846 | ||
847 | * c-objc-common.h (LANG_HOOKS_CILKPLUS_FRAME_CLEANUP): Remove. | |
848 | (LANG_HOOKS_CILKPLUS_DETECT_SPAWN_AND_UNWRAP): Likewise. | |
849 | (LANG_HOOKS_CILKPLUS_CILKPLUS_GIMPLIFY_SPAWN): Likewise. | |
850 | * c-typeck.c (cilk_install_body_with_frame_cleanup): New function. | |
851 | ||
296674db JM |
852 | 2013-12-04 Joseph Myers <joseph@codesourcery.com> |
853 | ||
854 | PR c/52023 | |
855 | * c-parser.c (c_parser_alignas_specifier): Use | |
856 | c_sizeof_or_alignof_type instead of c_alignof. | |
857 | (c_parser_alignof_expression): Likewise, with min_alignof | |
858 | parameter depending on alignof spelling used. | |
859 | ||
edd28054 MP |
860 | 2013-12-04 Marek Polacek <polacek@redhat.com> |
861 | ||
862 | PR c/54113 | |
863 | * c-decl.c (start_function): Don't warn for missing prototype for | |
864 | inline functions. | |
865 | ||
da0fc454 MP |
866 | 2013-12-03 Marek Polacek <polacek@redhat.com> |
867 | ||
868 | PR c/59351 | |
869 | * c-decl.c (build_compound_literal): Allow compound literals with | |
870 | empty initial value. | |
871 | ||
4c2ecab0 JM |
872 | 2013-12-02 Joseph Myers <joseph@codesourcery.com> |
873 | ||
874 | PR c/58235 | |
875 | * c-typeck.c (build_modify_expr): Diagnose assignment to | |
876 | expression with array type. | |
877 | ||
340baef7 JM |
878 | 2013-11-29 Joseph Myers <joseph@codesourcery.com> |
879 | ||
880 | PR c/42262 | |
881 | * c-typeck.c (process_init_element): Do not treat a string as | |
882 | initializing a whole array when used with a designator for an | |
883 | individual element. | |
884 | ||
6763b9f7 JM |
885 | 2013-11-29 Joseph Myers <joseph@codesourcery.com> |
886 | ||
887 | PR c/57574 | |
888 | * c-decl.c (merge_decls): Clear DECL_EXTERNAL for a definition of | |
889 | an inline function following a static declaration. | |
890 | ||
e7bd1de1 JJ |
891 | 2013-11-28 Jakub Jelinek <jakub@redhat.com> |
892 | ||
893 | PR c/59310 | |
894 | * c-parser.c (c_parser_omp_target): Copy "#pragma omp target" | |
895 | to p_name before calling c_parser_omp_teams instead of after. | |
896 | (c_parser_cilk_simd): Remove wrong ATTRIBUTE_UNUSED from parser | |
897 | argument. Remove unused p_name variable. | |
898 | ||
0136f8f0 AH |
899 | 2013-11-27 Aldy Hernandez <aldyh@redhat.com> |
900 | Jakub Jelinek <jakub@redhat.com> | |
901 | ||
902 | * c-decl.c (c_builtin_function_ext_scope): Avoid binding if | |
903 | external_scope is NULL. | |
904 | ||
241b71bb TV |
905 | 2013-11-27 Tom de Vries <tom@codesourcery.com> |
906 | Marc Glisse <marc.glisse@inria.fr> | |
907 | ||
908 | PR c++/59032 | |
909 | * c-typeck.c (build_unary_op): Allow vector increment and decrement. | |
910 | ||
2fb9a547 AM |
911 | 2013-11-22 Andrew MacLeod <amacleod@redhat.com> |
912 | ||
913 | * c-typeck.c: Add required include files from gimple.h. | |
914 | ||
8400e75e DM |
915 | 2013-11-22 David Malcolm <dmalcolm@redhat.com> |
916 | ||
917 | * c-decl.c (define_label, shadow_tag_warned) | |
918 | (check_bitfield_type_and_width, grokdeclarator, grokparms, | |
919 | store_parm_decls_newstyle, store_parm_decls_oldstyle) | |
920 | (declspecs_add_type): Remove use of in_system_header macro. | |
921 | * c-parser.c (c_parser_unary_expression): Likewise. | |
922 | * c-typeck.c (store_init_value, process_init_element) | |
923 | (c_start_case): Likewise. | |
924 | ||
925 | * c-decl.c (build_enumerator): Remove use of EXPR_LOC_OR_HERE | |
926 | macro. | |
927 | ||
928 | * c-parser.c (c_parser_set_source_position_from_token): Remove | |
929 | reference to in_system_header from comment. | |
930 | ||
386b1f1f RS |
931 | 2013-11-18 Richard Sandiford <rdsandiford@googlemail.com> |
932 | ||
933 | * c-decl.c (grokdeclarator): Update comment to refer to | |
934 | tree_to_[su]hwi rather than tree_low_cst. | |
935 | ||
ae7e9ddd RS |
936 | 2013-11-18 Richard Sandiford <rdsandiford@googlemail.com> |
937 | ||
938 | * c-decl.c, c-typeck.c: Replace tree_low_cst (..., 1) with | |
939 | tree_to_uhwi throughout. | |
940 | ||
9439e9a1 RS |
941 | 2013-11-18 Richard Sandiford <rdsandiford@googlemail.com> |
942 | ||
943 | * c-parser.c: Replace tree_low_cst (..., 0) with tree_to_shwi | |
944 | throughout. | |
945 | ||
9541ffee RS |
946 | 2013-11-18 Richard Sandiford <rdsandiford@googlemail.com> |
947 | ||
948 | * c-parser.c: Replace host_integerp (..., 0) with tree_fits_shwi_p | |
949 | throughout. | |
950 | ||
c02065fc AH |
951 | 2013-11-15 Aldy Hernandez <aldyh@redhat.com> |
952 | ||
953 | * c-parser.c (c_parser_cilk_simd): New. | |
954 | (c_parser_cilk_verify_simd): New. | |
955 | (c_parser_pragma): Add case for PRAGMA_CILK_SIMD. | |
956 | (c_parser_omp_for_loop): Add case for NE_EXPR. | |
957 | Set c_break_label for CILK_SIMD. | |
958 | (c_parser_cilk_clause_vectorlength): New. | |
959 | (c_parser_cilk_clause_linear): New. | |
960 | (c_parser_cilk_clause_name): New. | |
961 | (c_parser_cilk_all_clauses): New. | |
962 | * c-typeck.c (build_unary_op): Pass location argument to | |
963 | readonly_error. | |
964 | (build_modify_expr): Same. | |
965 | (build_asm_expr): Same. | |
966 | (c_finish_bc_stmt): Error on break/continue in loops. | |
967 | ||
18f429e2 AM |
968 | 2013-11-14 Andrew MacLeod <amacleod@redhat.com> |
969 | ||
970 | * c-typeck.c: Include only gimplify.h and gimple.h as needed. | |
971 | ||
d8a2d370 DN |
972 | 2013-11-14 Diego Novillo <dnovillo@google.com> |
973 | ||
974 | * c-decl.c: Include print-tree.h. | |
975 | Include stor-layout.h. | |
976 | Include varasm.h. | |
977 | Include attribs.h. | |
978 | Include stringpool.h. | |
979 | * c-lang.c: Include fold-const.h. | |
980 | * c-parser.c: Include stringpool.h. | |
981 | Include attribs.h. | |
982 | Include stor-layout.h. | |
983 | Include varasm.h. | |
984 | Include trans-mem.h. | |
985 | * c-typeck.c: Include stor-layout.h. | |
986 | Include trans-mem.h. | |
987 | Include varasm.h. | |
988 | Include stmt.h. | |
989 | ||
38b7bc7f JM |
990 | 2013-11-13 Joseph Myers <joseph@codesourcery.com> |
991 | ||
992 | * c-tree.h (c_typespec_keyword): Add cts_auto_type. | |
993 | * c-decl.c (declspecs_add_type, finish_declspecs): Handle | |
994 | __auto_type. | |
995 | * c-parser.c (c_token_starts_typename, c_token_starts_declspecs) | |
996 | (c_parser_attribute_any_word, c_parser_objc_selector): Handle | |
997 | RID_AUTO_TYPE. | |
998 | (c_parser_declspecs): Take argument AUTO_TYPE_OK. | |
999 | (c_parser_declaration_or_fndef, c_parser_struct_declaration) | |
1000 | (c_parser_declarator, c_parser_direct_declarator_inner) | |
1001 | (c_parser_parameter_declaration, c_parser_type_name): All callers | |
1002 | changed. | |
1003 | (c_parser_declaration_or_fndef): Handle declarations with type | |
1004 | determined from the initializer. | |
1005 | ||
45b0be94 AM |
1006 | 2013-11-12 Andrew MacLeod <amacleod@redhat.com> |
1007 | ||
18f429e2 | 1008 | * c-typeck.c: Include gimplify.h. |
45b0be94 | 1009 | |
582d9b50 JM |
1010 | 2013-11-12 Joseph Myers <joseph@codesourcery.com> |
1011 | ||
1012 | * c-tree.h (struct c_declspecs): Add thread_gnu_p field. | |
1013 | * c-parser.c (c_parser_declspecs): Mention _Thread_local in | |
1014 | comment. | |
1015 | * c-decl.c (shadow_tag_warned, grokdeclarator): Mention __thread | |
1016 | or _Thread_local as appropriate in diagnostics. | |
1017 | (build_null_declspecs): Initialize ret->thread_gnu_p. | |
1018 | (declspecs_add_scspec): Handle either __thread or _Thread_local | |
1019 | for RID_THREAD. Diagnose _Thread_local for pre-C11 standards if | |
1020 | pedantic. Do not disallow _Thread_local extern and _Thread_local | |
1021 | static. | |
1022 | ||
267bac10 JM |
1023 | 2013-11-07 Joseph Myers <joseph@codesourcery.com> |
1024 | Andrew MacLeod <amacleod@redhat.com> | |
1025 | ||
1026 | * c-aux-info.c (gen_type): Handle atomic qualifier. | |
1027 | * c-decl.c (validate_proto_after_old_defn): Do not remove atomic | |
1028 | qualifiers when compating types. | |
1029 | (shadow_tag_warned): Handle atomic_p in declspecs. | |
1030 | (quals_from_declspecs): Likewise. | |
1031 | (start_decl): Use c_type_promotes_to when promoting argument | |
1032 | types. | |
1033 | (grokdeclarator): Handle _Atomic. | |
1034 | (get_parm_info): Diagnose any qualifier on "void" as only | |
1035 | parameter. | |
1036 | (store_parm_decls_oldstyle): Do not remove atomic qualifiers when | |
1037 | comparing types. Use c_type_promotes_to when promoting argument | |
1038 | types. | |
1039 | (finish_function): Use c_type_promotes_to when promoting argument | |
1040 | types. | |
1041 | (build_null_declspecs): Handle atomic_p in declspecs. | |
1042 | (declspecs_add_qual): Handle RID_ATOMIC. | |
1043 | * c-parser.c (c_token_starts_typename, c_token_is_qualifier) | |
1044 | (c_token_starts_declspecs): Handle RID_ATOMIC. | |
1045 | (c_parser_declspecs): Handle atomic type specifiers and | |
1046 | qualifiers. | |
1047 | (c_parser_typeof_specifier): Remove const and _Atomic qualifiers | |
1048 | from types of expressions with atomic type. | |
1049 | (c_parser_direct_declarator_inner): Use convert_lvalue_to_rvalue. | |
1050 | (c_parser_attribute_any_word): Handle RID_ATOMIC. | |
1051 | (c_parser_initializer, c_parser_initelt, c_parser_initval) | |
1052 | (c_parser_statement_after_labels, c_parser_switch_statement) | |
1053 | (c_parser_for_statement, c_parser_expr_no_commas) | |
1054 | (c_parser_conditional_expression, c_parser_binary_expression) | |
1055 | (c_parser_cast_expression, c_parser_unary_expression) | |
1056 | (c_parser_postfix_expression) | |
1057 | (c_parser_postfix_expression_after_primary, c_parser_expression): | |
1058 | Use convert_lvalue_to_rvalue. | |
1059 | (c_parser_expression_conv, c_parser_expr_list): Document | |
1060 | conversion of lvalues to rvalues. Use convert_lvalue_to_rvalue. | |
1061 | (c_parser_objc_synchronized_statement): Use | |
1062 | convert_lvalue_to_rvalue. | |
1063 | (c_parser_objc_selector): Handle RID_ATOMIC. | |
1064 | (c_parser_objc_receiver, c_parser_array_notation): Use | |
1065 | convert_lvalue_to_rvalue. | |
1066 | * c-tree.h (ctsk_typeof): Adjust comment to mention use for | |
1067 | _Atomic (type-name). | |
1068 | (struct c_declspecs): Add atomic_p field. | |
1069 | (convert_lvalue_to_rvalue): Declare. | |
1070 | * c-typeck.c (c_type_promotes_to): Promote atomic types to | |
1071 | corresponding atomic types. | |
1072 | (qualify_type): Don't add _Atomic qualifiers from second argument. | |
1073 | (comp_target_types): Do not allow _Atomic mismatches. | |
1074 | (type_lists_compatible_p): Do not remove atomic qualifiers when | |
1075 | comparing types. | |
1076 | (really_atomic_lvalue, convert_lvalue_to_rvalue) | |
1077 | (build_atomic_assign): New functions. | |
1078 | (build_unary_op): Use build_atomic_assign for atomic increment and | |
1079 | decrement. | |
1080 | (build_conditional_expr): Do not treat _Atomic void as a qualified | |
1081 | version of void. | |
1082 | (build_modify_expr): Use build_atomic_assign for atomic LHS. | |
1083 | (find_anonymous_field_with_type, convert_to_anonymous_field) | |
1084 | (convert_for_assignment): Do not remove atomic qualifiers when | |
1085 | comparing types. | |
1086 | (digest_init): Do not accept initialization of arrays of atomic | |
1087 | elements by string constants. | |
1088 | (build_asm_expr): Use convert_lvalue_to_rvalue. | |
1089 | (build_binary_op): Do not treat _Atomic void as a qualified | |
1090 | version of void. | |
1091 | ||
0c249d4b DD |
1092 | 2013-11-06 DJ Delorie <dj@redhat.com> |
1093 | ||
1094 | * c-decl.c (locate_old_decl): If a previous conflicting decl is | |
1095 | both explicit and builtin, print the location of the explicit one. | |
1096 | ||
6d7f7e0a TB |
1097 | 2013-11-05 Tobias Burnus <burnus@net-b.de> |
1098 | ||
1099 | * c-parser.c (c_parser_omp_for, c_parser_omp_parallel, | |
1100 | c_parser_omp_distribute, c_parser_omp_teams, | |
1101 | c_parser_omp_target, c_parser_omp_declare): Handle | |
1102 | -fopenmp-simd. | |
1103 | ||
b906f4ca MP |
1104 | 2013-11-03 Marek Polacek <polacek@redhat.com> |
1105 | ||
1106 | * c-decl.c (grokdeclarator): Add VLA instrumentation. | |
1107 | ||
ee1d5a02 JJ |
1108 | 2013-11-01 Jakub Jelinek <jakub@redhat.com> |
1109 | ||
1110 | * c-typeck.c (c_finish_omp_clauses) <case OMP_CLAUSE_UNIFORM>: Go to | |
1111 | check_dup_generic at the end, unless remove is true. | |
1112 | (c_finish_omp_clauses) <case OMP_CLAUSE_REDUCTION>: Add break; after | |
1113 | remove = true;. | |
1114 | (c_finish_omp_clauses) <case OMP_CLAUSE_COPYIN>: Likewise. | |
1115 | ||
5a9785fb JJ |
1116 | 2013-10-31 Jakub Jelinek <jakub@redhat.com> |
1117 | ||
1118 | * c-typeck.c (c_finish_omp_clauses): Diagnose aligned clause | |
1119 | with decl that is not pointer nor array. | |
1120 | ||
939b37da BI |
1121 | 2013-10-29 Balaji V. Iyer <balaji.v.iyer@intel.com> |
1122 | ||
1123 | * c-decl.c (finish_function): Added a call for insert_cilk_frame when | |
1124 | a spawning function is found. | |
1125 | * c-objc-common.h (LANG_HOOKS_CILKPLUS_GIMPLIFY_SPAWN): New #define. | |
1126 | (LANG_HOOKS_CILKPLUS_FRAME_CLEANUP): Likewise. | |
1127 | (LANG_HOOKS_CILKPLUS_DETECT_SPAWN_AND_UNWRAP): Likewise. | |
1128 | * c-parser.c (c_parser_statement_after_labels): Added RID_CILK_SYNC | |
1129 | case. | |
1130 | (c_parser_postfix_expression): Added RID_CILK_SPAWN case. | |
1131 | * c-typeck.c (build_compound_expr): Reject _Cilk_spawn in a comma | |
1132 | expr. | |
1133 | (c_finish_return): Added a check to reject _Cilk_spawn in return | |
1134 | expression. | |
1135 | (build_cilk_spawn): New function. | |
1136 | (build_cilk_sync): Likewise. | |
1137 | * Makefile.in (c-decl.o): Added cilk.h in dependency list. | |
1138 | ||
d4af74d4 TB |
1139 | 2013-10-27 Tobias Burnus <burnus@net-b.de> |
1140 | ||
1141 | PR other/33426 | |
1142 | * c-parser.c (c_parser_while_statement, c_parser_while_statement, | |
1143 | c_parser_pragma): Add GCC ivdep support to 'do' and 'while'. | |
1144 | (c_parser_statement_after_labels): Update calls. | |
1145 | ||
d73749df | 1146 | 2013-10-24 Tobias Burnus <burnus@net-b.de> |
8170608b TB |
1147 | |
1148 | PR other/33426 | |
1149 | * c-parser.c (c_parser_pragma, c_parser_for_statement): | |
1150 | Handle PRAGMA_IVDEP. | |
1151 | (c_parser_statement_after_labels): Update call. | |
1152 | ||
f28aa681 MP |
1153 | 2013-10-24 Marek Polacek <polacek@redhat.com> |
1154 | ||
1155 | * c-parser.c (c_parser_struct_declaration): Add a comment. | |
1156 | (c_parser_declarator): Don't allow _Alignas here. | |
1157 | ||
0645c1a2 AM |
1158 | 2013-10-17 Andrew MacLeod <amacleod@redhat.com> |
1159 | ||
1160 | * c-parser.c: Include omp-low.h. | |
1161 | * c-typeck.c: Likewise. | |
1162 | ||
568a31f2 MP |
1163 | 2013-10-17 Marek Polacek <polacek@redhat.com> |
1164 | ||
1165 | PR c/58267 | |
1166 | * c-parser.c (c_parser_declspecs): Add alignspec_ok parameter. | |
1167 | Document syntax of the array-declarator. | |
1168 | (c_parser_declspecs) <RID_ALIGNAS>: Bail out if alignment specs | |
1169 | are not permitted. | |
1170 | (c_parser_declaration_or_fndef): Adjust c_parser_declspecs call. | |
1171 | (c_parser_struct_declaration): Likewise. | |
1172 | (c_parser_declarator): Likewise. | |
1173 | (c_parser_direct_declarator_inner): Likewise. | |
1174 | (c_parser_parameter_declaration): Likewise. | |
1175 | (c_parser_type_name): Likewise. | |
1176 | ||
acf0174b JJ |
1177 | 2013-10-11 Jakub Jelinek <jakub@redhat.com> |
1178 | ||
1179 | * c-lang.h (current_omp_declare_target_attribute): New extern | |
1180 | decl. | |
1181 | * c-parser.c: Include c-lang.h. | |
1182 | (struct c_parser): Change tokens to c_token *. | |
1183 | Add tokens_buf field. Change tokens_avail type to unsigned int. | |
1184 | (c_parser_consume_token): If parser->tokens isn't | |
1185 | &parser->tokens_buf[0], increment parser->tokens. | |
1186 | (c_parser_consume_pragma): Likewise. | |
1187 | (enum pragma_context): Add pragma_struct and pragma_param. | |
1188 | (c_parser_external_declaration): Adjust | |
1189 | c_parser_declaration_or_fndef caller. | |
1190 | (c_parser_declaration_or_fndef): Add omp_declare_simd_clauses | |
1191 | argument, if it is non-vNULL vector, call c_finish_omp_declare_simd. | |
1192 | Adjust recursive call. | |
1193 | (c_parser_struct_or_union_specifier): Use pragma_struct instead | |
1194 | of pragma_external. | |
1195 | (c_parser_parameter_declaration): Use pragma_param instead of | |
1196 | pragma_external. | |
1197 | (c_parser_compound_statement_nostart, c_parser_label, | |
1198 | c_parser_for_statement): Adjust | |
1199 | c_parser_declaration_or_fndef callers. | |
1200 | (c_parser_expr_no_commas): Add omp_atomic_lhs argument, pass | |
1201 | it through to c_parser_conditional_expression. | |
1202 | (c_parser_conditional_expression): Add omp_atomic_lhs argument, | |
1203 | pass it through to c_parser_binary_expression. Adjust recursive | |
1204 | call. | |
1205 | (c_parser_binary_expression): Remove prec argument, add | |
1206 | omp_atomic_lhs argument instead. Always start from PREC_NONE, if | |
1207 | omp_atomic_lhs is non-NULL and one of the arguments of toplevel | |
1208 | binop matches it, use build2 instead of parser_build_binary_op. | |
1209 | (c_parser_pragma): Handle PRAGMA_OMP_CANCEL, | |
1210 | PRAGMA_OMP_CANCELLATION_POINT, PRAGMA_OMP_TARGET, | |
1211 | PRAGMA_OMP_END_DECLARE_TARGET, PRAGMA_OMP_DECLARE_REDUCTION. | |
1212 | Handle pragma_struct and pragma_param the same as pragma_external. | |
1213 | (c_parser_omp_clause_name): Parse new OpenMP 4.0 clause names. | |
1214 | (c_parser_omp_variable_list): Parse array sections for | |
1215 | OMP_CLAUSE_{DEPEND,MAP,TO,FROM} clauses. | |
1216 | (c_parser_omp_clause_collapse): Fully fold collapse expression. | |
1217 | (c_parser_omp_clause_reduction): Handle user defined reductions. | |
1218 | (c_parser_omp_clause_branch, c_parser_omp_clause_cancelkind, | |
1219 | c_parser_omp_clause_num_teams, c_parser_omp_clause_thread_limit, | |
1220 | c_parser_omp_clause_aligned, c_parser_omp_clause_linear, | |
1221 | c_parser_omp_clause_safelen, c_parser_omp_clause_simdlen, | |
1222 | c_parser_omp_clause_depend, c_parser_omp_clause_map, | |
1223 | c_parser_omp_clause_device, c_parser_omp_clause_dist_schedule, | |
1224 | c_parser_omp_clause_proc_bind, c_parser_omp_clause_to, | |
1225 | c_parser_omp_clause_from, c_parser_omp_clause_uniform): New functions. | |
1226 | (c_parser_omp_all_clauses): Add finish_p argument. Don't call | |
1227 | c_finish_omp_clauses if it is false. Handle new OpenMP 4.0 clauses. | |
1228 | (c_parser_omp_atomic): Parse seq_cst clause, pass true if it is | |
1229 | present to c_finish_omp_atomic. Handle OpenMP 4.0 atomic forms. | |
1230 | (c_parser_omp_for_loop): Add CODE argument, pass it through | |
1231 | to c_finish_omp_for. Change last argument to cclauses, | |
1232 | and adjust uses to grab parallel clauses from the array of all | |
1233 | the split clauses. Adjust c_parser_binary_expression, | |
1234 | c_parser_declaration_or_fndef and c_finish_omp_for callers. | |
1235 | (omp_split_clauses): New function. | |
1236 | (c_parser_omp_simd): New function. | |
1237 | (c_parser_omp_for): Add p_name, mask and cclauses arguments. | |
1238 | Allow the function to be called also when parsing combined constructs, | |
1239 | and call c_parser_omp_simd when parsing for simd. | |
1240 | (c_parser_omp_sections_scope): If section-sequence doesn't start with | |
1241 | #pragma omp section, require exactly one structured-block instead of | |
1242 | sequence of statements. | |
1243 | (c_parser_omp_sections): Add p_name, mask and cclauses arguments. | |
1244 | Allow the function to be called also when parsing combined constructs. | |
1245 | (c_parser_omp_parallel): Add p_name, mask and cclauses arguments. | |
1246 | Allow the function to be called also when parsing combined | |
1247 | constructs. | |
1248 | (c_parser_omp_taskgroup, c_parser_omp_cancel, | |
1249 | c_parser_omp_cancellation_point, c_parser_omp_distribute, | |
1250 | c_parser_omp_teams, c_parser_omp_target_data, | |
1251 | c_parser_omp_target_update, c_parser_omp_target, | |
1252 | c_parser_omp_declare_simd, c_finish_omp_declare_simd, | |
1253 | c_parser_omp_declare_target, c_parser_omp_end_declare_target, | |
1254 | c_parser_omp_declare_reduction, c_parser_omp_declare): New functions. | |
1255 | (c_parser_omp_construct): Add p_name and mask vars. Handle | |
1256 | PRAGMA_OMP_DISTRIBUTE, PRAGMA_OMP_SIMD, PRAGMA_OMP_TASKGROUP, | |
1257 | PRAGMA_OMP_TEAMS. Adjust c_parser_omp_for, c_parser_omp_parallel | |
1258 | and c_parser_omp_sections callers. | |
1259 | (c_parse_file): Initialize tparser.tokens and the_parser->tokens here. | |
1260 | (OMP_FOR_CLAUSE_MASK, OMP_SECTIONS_CLAUSE_MASK, | |
1261 | OMP_SINGLE_CLAUSE_MASK): Use OMP_CLAUSE_MASK_1 instead of 1. | |
1262 | (OMP_PARALLEL_CLAUSE_MASK): Likewise. Add OMP_CLAUSE_PROC_BIND. | |
1263 | (OMP_TASK_CLAUSE_MASK): Use OMP_CLAUSE_MASK_1 instead of 1. Add | |
1264 | OMP_CLAUSE_DEPEND. | |
1265 | (OMP_SIMD_CLAUSE_MASK, OMP_CANCEL_CLAUSE_MASK, | |
1266 | OMP_CANCELLATION_POINT_CLAUSE_MASK, OMP_DISTRIBUTE_CLAUSE_MASK, | |
1267 | OMP_TEAMS_CLAUSE_MASK, OMP_TARGET_DATA_CLAUSE_MASK, | |
1268 | OMP_TARGET_UPDATE_CLAUSE_MASK, OMP_TARGET_CLAUSE_MASK, | |
1269 | OMP_DECLARE_SIMD_CLAUSE_MASK): Define. | |
1270 | * c-typeck.c: Include tree-inline.h. | |
1271 | (c_finish_omp_cancel, c_finish_omp_cancellation_point, | |
1272 | handle_omp_array_sections_1, handle_omp_array_sections, | |
1273 | c_clone_omp_udr, c_find_omp_placeholder_r): New functions. | |
1274 | (c_finish_omp_clauses): Handle new OpenMP 4.0 clauses and | |
1275 | user defined reductions. | |
1276 | (c_tree_equal): New function. | |
1277 | * c-tree.h (temp_store_parm_decls, temp_pop_parm_decls, | |
1278 | c_finish_omp_cancel, c_finish_omp_cancellation_point, c_tree_equal, | |
1279 | c_omp_reduction_id, c_omp_reduction_decl, c_omp_reduction_lookup, | |
1280 | c_check_omp_declare_reduction_r): New prototypes. | |
1281 | * c-decl.c (current_omp_declare_target_attribute): New variable. | |
1282 | (c_decl_attributes): New function. | |
1283 | (start_decl, start_function): Use it instead of decl_attributes. | |
1284 | (temp_store_parm_decls, temp_pop_parm_decls, c_omp_reduction_id, | |
1285 | c_omp_reduction_decl, c_omp_reduction_lookup, | |
1286 | c_check_omp_declare_reduction_r): New functions. | |
1287 | ||
0a6c2227 TT |
1288 | 2013-09-25 Tom Tromey <tromey@redhat.com> |
1289 | ||
1290 | * Make-lang.in (c/gccspec.o): Remove. | |
1291 | (CFLAGS-c/gccspec.o): New variable. | |
1292 | (cc1-checksum.o, C_TREE_H, c/c-aux-info.o, c/c-convert.o) | |
1293 | (c/c-decl.o, c/c-errors.o, c/c-lang.o, c/c-objc-common.o) | |
1294 | (c/c-parser.o, c/c-typeck.o, c/c-array-notation.o): Remove. | |
1295 | ||
f3bc55f0 TT |
1296 | 2013-09-25 Tom Tromey <tromey@redhat.com> |
1297 | ||
1298 | * Make-lang.in (c/gccspec.o): Don't use subshell. | |
1299 | ||
a24d975c MP |
1300 | 2013-09-18 Marek Polacek <polacek@redhat.com> |
1301 | ||
1302 | PR sanitize/58443 | |
1303 | * c-typeck.c (build_binary_op): Properly honor -fsanitize options. | |
1304 | Remove unnecessary check. | |
1305 | ||
ce6923c5 MP |
1306 | 2013-09-18 Marek Polacek <polacek@redhat.com> |
1307 | ||
1308 | PR sanitizer/58411 | |
1309 | * c-typeck.c (build_binary_op): Don't sanitize function if it has the | |
1310 | no_sanitize_undefined attribute. | |
1311 | ||
a1e51df9 KT |
1312 | 2013-09-13 Kai Tietz <ktietz@redhat.com> |
1313 | ||
1314 | PR target/57848 | |
1315 | * c-decl.c (c_builtin_function_ext_scope): Remove | |
1316 | wrong assumption that it is never called on prexisting | |
1317 | symbol. | |
1318 | ||
0af94e6f JR |
1319 | 2013-09-08 Joern Rennecke <joern.rennecke@embecosm.com> |
1320 | ||
1321 | * c-typeck.c (build_binary_op): Use vector_types_compatible_elements_p. | |
1322 | ||
20059c8b GDR |
1323 | 2013-09-03 Gabriel Dos Reis <gdr@integrable-solutions.net> |
1324 | ||
1325 | * c-objc-common.c (c_tree_printer): Tidy. | |
1326 | ||
de5a5fa1 MP |
1327 | 2013-08-30 Marek Polacek <polacek@redhat.com> |
1328 | ||
1329 | * c-typeck.c (build_binary_op): Add division by zero and shift | |
1330 | instrumentation. | |
1331 | ||
2531a1d9 | 1332 | 2013-08-26 Joern Rennecke <joern.rennecke@embecosm.com> |
0fdd4508 | 1333 | Joseph Myers <joseph@codesourcery.com> |
2531a1d9 | 1334 | |
6e2bcc98 | 1335 | PR c/35649 |
2531a1d9 JR |
1336 | * c-typeck.c (c_common_type): Prefer double_type_node over |
1337 | other REAL_TYPE types with the same precision. | |
1338 | (convert_arguments): Likewise. | |
1339 | ||
025311c4 GDR |
1340 | 2013-08-23 Gabriel Dos Reis <gdr@integrable-solutions.net> |
1341 | ||
1342 | * c-objc-common.c (c_tree_printer): Document the nature of the cast. | |
1343 | (c_initialize_diagnostics): Call a destructor for the early printer. | |
1344 | ||
da6ca2b5 GDR |
1345 | 2013-08-22 Gabriel Dos Reis <gdr@integrable-solutions.net> |
1346 | ||
1347 | * c-objc-common.c (c_initialize_diagnostics): Simplify C pretty | |
1348 | printer initialization. | |
1349 | ||
318cda85 | 1350 | 2013-08-19 Balaji V. Iyer <balaji.v.iyer@intel.com> |
da6ca2b5 | 1351 | |
318cda85 BI |
1352 | PR c/57490 |
1353 | * c-array-notation.c (fix_conditional_array_notations_1): Added a | |
1354 | check for truth values. | |
1355 | (expand_array_notation_exprs): Added truth values case. Removed an | |
1356 | unwanted else. Added for-loop to walk through subtrees in default | |
1357 | case. | |
1358 | ||
b066401f GDR |
1359 | 2013-08-04 Gabriel Dos Reis <gdr@integrable-solutions.net> |
1360 | ||
1361 | * c-objc-common.c (c_initialize_diagnostics): Don't call pp_base. | |
1362 | ||
fb48aadc JM |
1363 | 2013-07-23 Joseph Myers <joseph@codesourcery.com> |
1364 | ||
1365 | * c-parser.c (struct c_generic_association): Fix typo. | |
1366 | ||
433cc7b0 TT |
1367 | 2013-07-23 Tom Tromey <tromey@redhat.com> |
1368 | Joseph Myers <joseph@codesourcery.com> | |
1369 | ||
1370 | * c-parser.c (struct c_generic_association): New. | |
1371 | (c_generic_association_d): New typedef. | |
1372 | (c_parser_generic_selection): New function. | |
1373 | (c_parser_postfix_expression): Handle RID_GENERIC. | |
1374 | ||
26d40c3d JM |
1375 | 2013-07-13 Jason Merrill <jason@redhat.com> |
1376 | ||
1377 | PR c++/57793 | |
1378 | * c-decl.c (finish_struct): Check for too-large class. | |
1379 | ||
ecdbd01a | 1380 | 2013-07-04 Joern Rennecke <joern.rennecke@embecosm.com> |
40d3d530 JR |
1381 | |
1382 | PR c/57821 | |
1383 | * c-typeck.c (set_init_index): When folding, check for index overflow. | |
1384 | ||
1141ed3f BI |
1385 | 2013-06-28 Balaji V. Iyer <balaji.v.iyer@intel.com> |
1386 | ||
1387 | * c-parser.c (c_parser_array_notation): Removed rejection of array | |
1388 | notations in an array of function pointers. | |
1389 | ||
713b46fa BI |
1390 | 2013-06-21 Balaji V. Iyer <balaji.v.iyer@intel.com> |
1391 | ||
1392 | * c-array-notation.c (make_triplet_val_inv): New function. | |
1393 | (create_cmp_incr): Likewise. | |
1394 | (create_array_refs): Likewise. | |
1395 | (fix_builtin_array_notation_fn): Replaced all mallocs with tree vec. | |
1396 | Also modularized common parts between functions and called the function. | |
1397 | (build_array_notation_expr): Likewise. | |
1398 | (fix_conditional_array_notations_1): Likewise. | |
1399 | (fix_array_notation_expr): Likewise. | |
1400 | (fix_array_notation_call_expr): Likewise. | |
1401 | ||
92f20202 MP |
1402 | 2013-06-18 Marek Polacek <polacek@redhat.com> |
1403 | ||
1404 | PR c/57630 | |
1405 | * c-decl.c (check_for_loop_decls): Improve diagnostics messages. | |
1406 | ||
73a23b06 BI |
1407 | 2013-06-12 Balaji V. Iyer <balaji.v.iyer@intel.com> |
1408 | ||
1409 | * c-array-notation.c (build_array_notation_expr): Reject array notation | |
1410 | mismatch between LHS and RHS even inside a call_expr. Also, removed | |
1411 | a couple while statements that were dead code. | |
1412 | ||
00b8517d BI |
1413 | 2013-06-10 Balaji V. Iyer <balaji.v.iyer@intel.com> |
1414 | ||
1415 | * c-array-notation.c (fix_builtin_array_notation_fn): Fully folded | |
1416 | excessive precision expressions in function parameters. Also removed | |
1417 | couple unwanted while statements. | |
1418 | ||
1509bdda BI |
1419 | 2013-06-07 Balaji V. Iyer <balaji.v.iyer@intel.com> |
1420 | ||
1421 | * c-array-notation.c (expand_array_notation_exprs): Added | |
1422 | ARRAY_NOTATION_REF case. | |
1423 | ||
d60f1706 BI |
1424 | 2013-06-07 Balaji V. Iyer <balaji.v.iyer@intel.com> |
1425 | ||
1426 | * c-array-notation.c (length_mismatch_in_expr_p): Moved this | |
1427 | function to c-family/array-notation-common.c. | |
1428 | (is_cilkplus_reduce_builtin): Likewise. | |
1429 | (find_rank): Likewise. | |
1430 | (extract_array_notation_exprs): Likewise. | |
1431 | (replace_array_notations): Likewise. | |
1432 | (find_inv_trees): Likewise. | |
1433 | (replace_inv_trees): Likewise. | |
1434 | (contains_array_notation_expr): Likewise. | |
1435 | (find_correct_array_notation_type): Likewise. | |
1436 | (replace_invariant_exprs): Initialized additional_tcodes to NULL. | |
1437 | (struct inv_list): Moved this to c-family/array-notation-common.c. | |
1438 | * c-tree.h (is_cilkplus_builtin_reduce): Remove prototype. | |
1439 | ||
6d6efbb3 BI |
1440 | 2013-06-05 Balaji V. Iyer <balaji.v.iyer@intel.com> |
1441 | ||
1442 | * c-typeck.c (convert_arguments): Moved checking of builtin cilkplus | |
1443 | reduction functions outside the for-loop. Added a check if the fundecl | |
1444 | is non-NULL. Finally, removed an unwanted if-statement, and made the | |
1445 | body unconditional. | |
1446 | ||
25c22937 BI |
1447 | 2013-06-03 Balaji V. Iyer <balaji.v.iyer@intel.com> |
1448 | ||
1449 | * c-typeck.c (c_finish_if_stmt): Added a check to see if the rank of the | |
1450 | condition of the if-statement matches the rank of else-block and then- | |
1451 | block when array notations are used. | |
1452 | * c-parser.c (c_parser_declaration_or_fndef): Expanded array notation | |
1453 | expression after the entire function body is parsed. | |
1454 | (c_parser_expr_no_commas): Delayed creating array notation expressions | |
1455 | to the end of function parsing. | |
1456 | * c-array-notation.c (fix_conditional_array_notations_1): Expanded the | |
1457 | whole if-statement instead of just the condition. | |
1458 | (expand_array_notation_exprs): Added MODIFY_EXPR case. | |
1459 | ||
edd25645 BI |
1460 | 2013-06-03 Balaji V. Iyer <balaji.v.iyer@intel.com> |
1461 | ||
1462 | PR c/57474 | |
1463 | * c-array-notation.c (build_array_notation_expr): Initialized rhs_length | |
1464 | array to NULL_TREE if they are unused. Also added a check for the | |
1465 | field to be NULL before its fields are used in future. | |
1466 | ||
065ce7f1 RO |
1467 | 2013-05-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1468 | ||
1469 | PR bootstrap/57450 | |
1470 | * c-array-notation.c (length_mismatch_in_expr_p): Use absu_hwi. | |
1471 | (build_array_notation_expr): Likewise. | |
1472 | ||
36536d79 BI |
1473 | 2013-05-28 Balaji V. Iyer <balaji.v.iyer@intel.com> |
1474 | ||
1475 | * c-typeck.c (build_array_ref): Added a check to see if array's | |
1476 | index is greater than one. If true, then emit an error. | |
1477 | (build_function_call_vec): Exclude error reporting and checking | |
1478 | for builtin array-notation functions. | |
1479 | (convert_arguments): Likewise. | |
1480 | (c_finish_return): Added a check for array notations as a return | |
1481 | expression. If true, then emit an error. | |
1482 | (c_finish_loop): Added a check for array notations in a loop | |
1483 | condition. If true then emit an error. | |
1484 | (lvalue_p): Added a ARRAY_NOTATION_REF case. | |
1485 | (build_binary_op): Added a check for array notation expr inside | |
1486 | op1 and op0. If present, we call another function to find correct | |
1487 | type. | |
1488 | * Make-lang.in (C_AND_OBJC_OBJS): Added c-array-notation.o. | |
1489 | * c-parser.c (c_parser_compound_statement): Check if array | |
1490 | notation code is used in tree, if so, then transform them into | |
1491 | appropriate C code. | |
1492 | (c_parser_expr_no_commas): Check if array notation is used in LHS | |
1493 | or RHS, if so, then build array notation expression instead of | |
1494 | regular modify. | |
1495 | (c_parser_postfix_expression_after_primary): Added a check for | |
1496 | colon(s) after square braces, if so then handle it like an array | |
1497 | notation. Also, break up array notations in unary op if found. | |
1498 | (c_parser_direct_declarator_inner): Added a check for array | |
1499 | notation. | |
1500 | (c_parser_compound_statement): Added a check for array notation in | |
1501 | a stmt. If one is present, then expand array notation expr. | |
1502 | (c_parser_if_statement): Likewise. | |
1503 | (c_parser_switch_statement): Added a check for array notations in | |
1504 | a switch statement's condition. If true, then output an error. | |
1505 | (c_parser_while_statement): Similarly, but for a while. | |
1506 | (c_parser_do_statement): Similarly, but for a do-while. | |
1507 | (c_parser_for_statement): Similarly, but for a for-loop. | |
1508 | (c_parser_unary_expression): Check if array notation is used in a | |
1509 | pre-increment or pre-decrement expression. If true, then expand | |
1510 | them. | |
1511 | (c_parser_array_notation): New function. | |
1512 | * c-array-notation.c: New file. | |
1513 | * c-tree.h (is_cilkplus_reduce_builtin): Protoize. | |
1514 | ||
cd192ccc MS |
1515 | 2013-05-23 Mike Stump <mikestump@comcast.net> |
1516 | ||
1517 | * c-typeck.c (convert_for_assignment): Handle references to memory | |
1518 | spaces better. | |
1519 | ||
427b248d JM |
1520 | 2013-05-16 Jason Merrill <jason@redhat.com> |
1521 | ||
1522 | * Make-lang.in (cc1$(exeext)): Use link mutex. | |
1523 | ||
44d90fe1 PC |
1524 | 2013-04-24 Paolo Carlini <paolo.carlini@oracle.com> |
1525 | ||
1526 | * c-typeck.c (pointer_diff): Change -Wpointer-arith pedwarns | |
1527 | to simply use OPT_Wpointer_arith. | |
1528 | (build_unary_op): Likewise. | |
1529 | ||
4e7d7b3d JJ |
1530 | 2013-04-03 Jakub Jelinek <jakub@redhat.com> |
1531 | ||
1532 | PR c/19449 | |
1533 | * c-parser.c (c_parser_get_builtin_args): Add choose_expr_p | |
1534 | argument. If set, or it temporarily for parsing of the first | |
1535 | argument into force_folding_builtin_constant_p. | |
1536 | (c_parser_postfix_expression): Adjust callers. | |
1537 | ||
839b422f RB |
1538 | 2013-03-21 Richard Biener <rguenther@suse.de> |
1539 | ||
1540 | * c-objc-common.c (c_tree_printer): Use DECL_HAS_DEBUG_EXPR_P | |
1541 | instead of DECL_DEBUG_EXPR_IS_FROM. Guard properly. | |
1542 | ||
2ee028f1 MP |
1543 | 2013-02-12 Marek Polacek <polacek@redhat.com> |
1544 | ||
1545 | PR c/44938 | |
1546 | * c-parser.c (c_parser_postfix_expression_after_primary): Initialize | |
1547 | origtypes to NULL. | |
1548 | ||
8824edff JJ |
1549 | 2013-01-24 Jakub Jelinek <jakub@redhat.com> |
1550 | ||
1551 | PR c/56078 | |
1552 | * c-typeck.c (set_nonincremental_init_from_string): If | |
1553 | constructor_max_index is NULL, treat it as if tree_int_cst_lt | |
1554 | returned false. | |
1555 | (process_init_element): Likewise. | |
1556 | ||
eadd3d0d JJ |
1557 | 2012-12-20 Jakub Jelinek <jakub@redhat.com> |
1558 | ||
1559 | PR c++/55619 | |
1560 | * c-parser.c (c_parser_asm_operands): Remove CONVERT_P | |
1561 | argument, don't call default_function_array_conversion | |
1562 | nor c_fully_fold here. | |
1563 | (c_parser_asm_statement): Adjust callers. | |
1564 | * c-typeck.c (build_asm_expr): Call c_fully_fold on inputs | |
1565 | and outputs here, and call default_function_array_conversion | |
1566 | on inputs that don't need to be addressable. | |
1567 | ||
f8a93a2e JJ |
1568 | 2012-12-18 Jakub Jelinek <jakub@redhat.com> |
1569 | ||
1570 | PR c/39464 | |
1571 | * c-typeck.c (convert_for_assignment): For -Wpointer-sign | |
1572 | warning require that both c_common_unsigned_type as well as | |
1573 | c_common_signed_type is the same for both mvl and mvr types. | |
1574 | ||
9771b263 DN |
1575 | 2012-11-16 Diego Novillo <dnovillo@google.com> |
1576 | ||
1577 | Adjust for new vec API (http://gcc.gnu.org/wiki/cxx-conversion/cxx-vec) | |
1578 | ||
1579 | * c-common.c: Use new vec API in vec.h. | |
1580 | * c-common.h: Likewise. | |
1581 | * c-gimplify.c: Likewise. | |
1582 | * c-pragma.c: Likewise. | |
1583 | * c-pretty-print.c: Likewise. | |
1584 | * c-pretty-print.h: Likewise. | |
1585 | * c-semantics.c: Likewise. | |
1586 | * c-decl.c: Likewise. | |
1587 | * c-parser.c: Likewise. | |
1588 | * c-tree.h: Likewise. | |
1589 | * c-typeck.c: Likewise. | |
1590 | ||
880661a4 JW |
1591 | 2012-10-29 Jonathan Wakely <jwakely.gcc@gmail.com> |
1592 | ||
1593 | PR c++/54930 | |
1594 | * c-typeck.c (c_finish_return): Use OPT_Wreturn_local_addr. | |
1595 | ||
077d1abe MLI |
1596 | 2012-10-29 Manuel López-Ibáñez <manu@gcc.gnu.org> |
1597 | ||
1598 | PR c/53066 | |
1599 | * c-decl.c (warn_if_shadowing): Do not warn if a variable | |
1600 | shadows a function, unless the variable is a function or a | |
1601 | pointer-to-function. | |
1602 | ||
3a785c97 JJ |
1603 | 2012-10-12 Jakub Jelinek <jakub@redhat.com> |
1604 | ||
1605 | PR c/54381 | |
1606 | * c-parser.c (struct c_tree_loc_pair): Removed. | |
1607 | (c_parser_expr_list): Remove struct c_tree_loc_pair * argument, | |
1608 | add location_t * and tree * arguments, fill in array of 3 | |
1609 | sizeof_arg trees and corresponding locs. | |
1610 | (c_parser_attributes, c_parser_objc_keywordexpr): Adjust | |
1611 | c_parser_expr_list callers. | |
1612 | (c_parser_postfix_expression_after_primary): Likewise. Pass | |
1613 | array of 3 sizeof_arg trees and locs (corresponding to first | |
1614 | 3 arguments) to sizeof_pointer_memaccess_warning. | |
1615 | ||
703c8606 LC |
1616 | 2012-10-09 Lawrence Crowl <crowl@google.com> |
1617 | ||
1618 | * Make-lang.in (c-decl.o): Add dependence on hash-table.h. | |
1619 | * c-decl.c (detect_field_duplicates_hash): Change to new type-safe | |
1620 | hash table. | |
1621 | ||
5d9de0d0 PC |
1622 | 2012-10-09 Paolo Carlini <paolo.carlini@oracle.com> |
1623 | ||
1624 | PR c++/54194 | |
1625 | * c-typeck.c (parser_build_binary_op): Update warn_about_parentheses | |
1626 | call. | |
1627 | ||
a212e43f MG |
1628 | 2012-10-09 Marc Glisse <marc.glisse@inria.fr> |
1629 | ||
1630 | PR c++/54427 | |
1631 | * c-typeck.c: Include c-common.h. | |
1632 | (enum stv_conv): Moved to c-common.h. | |
1633 | (scalar_to_vector): Moved to c-common.c. | |
1634 | (build_binary_op): Adapt to scalar_to_vector's new prototype. | |
1635 | * Make-lang.in: c-typeck.c depends on c-common.h. | |
1636 | ||
3b78de56 AC |
1637 | 2012-10-04 Arnaud Charlet <charlet@adacore.com> |
1638 | ||
1639 | * c-decl.c (c_write_global_declarations): Fix handling of | |
1640 | -fdump-ada-spec*. | |
1641 | ||
78c60e3d SS |
1642 | 2012-09-30 Sharad Singhai <singhai@google.com> |
1643 | ||
1644 | * c-decl.c (c_write_global_declarations): Use a different method | |
1645 | to determine if the dump has ben initialized. | |
1646 | ||
9f33203d JM |
1647 | 2012-09-14 Joseph Myers <joseph@codesourcery.com> |
1648 | ||
1649 | PR c/54552 | |
1650 | * c-typeck.c (c_cast_expr): When casting to a type requiring | |
1651 | C_MAYBE_CONST_EXPR to be created, pass the inner expression to | |
1652 | c_fully_fold first. | |
1653 | ||
a27d595d JM |
1654 | 2012-09-14 Joseph Myers <joseph@codesourcery.com> |
1655 | ||
1656 | PR c/54103 | |
1657 | * c-typeck.c (build_unary_op): Pass original argument of | |
1658 | TRUTH_NOT_EXPR to c_objc_common_truthvalue_conversion, then remove | |
1659 | any C_MAYBE_CONST_EXPR, if it has integer operands. | |
1660 | (build_binary_op): Pass original arguments of TRUTH_ANDIF_EXPR, | |
1661 | TRUTH_ORIF_EXPR, TRUTH_AND_EXPR, TRUTH_OR_EXPR and TRUTH_XOR_EXPR | |
1662 | to c_objc_common_truthvalue_conversion, then remove any | |
1663 | C_MAYBE_CONST_EXPR, if they have integer operands. Use | |
1664 | c_objc_common_truthvalue_conversion not | |
1665 | c_common_truthvalue_conversion. | |
1666 | (c_objc_common_truthvalue_conversion): Build NE_EXPR directly and | |
1667 | call note_integer_operands for arguments with integer operands | |
1668 | that are not integer constants. | |
1669 | ||
9feb29df JJ |
1670 | 2012-09-13 Jakub Jelinek <jakub@redhat.com> |
1671 | ||
1672 | PR c/54559 | |
1673 | * c-typeck.c (c_finish_return): Do convert to BOOLEAN_TYPE or | |
1674 | COMPLEX_TYPE with in_late_binary_op set temporarily to true. | |
1675 | ||
d409320c JJ |
1676 | 2012-08-31 Jakub Jelinek <jakub@redhat.com> |
1677 | ||
1678 | PR c/54428 | |
1679 | * c-convert.c (convert): Don't call fold_convert_loc if | |
1680 | TYPE_MAIN_VARIANT of a COMPLEX_TYPE is the same, unless e | |
1681 | is a COMPLEX_EXPR. Remove TYPE_MAIN_VARIANT check from | |
1682 | COMPLEX_TYPE -> COMPLEX_TYPE conversion. | |
1683 | ||
6265d07c JJ |
1684 | 2012-08-24 Jakub Jelinek <jakub@redhat.com> |
1685 | ||
1686 | PR c/54355 | |
1687 | * c-decl.c (c_parser_label): Pass true as nested and fix up comments | |
1688 | for nested and empty_ok arguments in the call to | |
1689 | c_parser_declaration_or_fndef. | |
1690 | ||
1a4049e7 JJ |
1691 | 2012-08-17 Jakub Jelinek <jakub@redhat.com> |
1692 | ||
1693 | * c-tree.h (c_last_sizeof_arg): Declare. | |
1694 | * c-parser.c (struct c_tree_loc_pair): New type. | |
1695 | (c_parser_expr_list): Add sizeof_arg argument. Fill it in if | |
1696 | non-NULL. | |
1697 | (c_parser_attributes, c_parser_objc_keywordexpr): Adjust callers. | |
1698 | (c_parser_postfix_expression_after_primary): Likewise. Call | |
1699 | sizeof_pointer_memaccess_warning if needed. | |
1700 | (sizeof_ptr_memacc_comptypes): New function. | |
1701 | * c-typeck.c (c_last_sizeof_arg): New global variable. | |
1702 | (c_expr_sizeof_expr, c_expr_sizeof_type): Initialize it. | |
1703 | ||
0229aee9 UB |
1704 | 2012-07-24 Uros Bizjak <ubizjak@gmail.com> |
1705 | ||
1706 | * c-lang.h (lang_decl): Add variable_size GTY option. | |
1707 | ||
7ee2468b SB |
1708 | 2012-07-16 Steven Bosscher <steven@gcc.gnu.org> |
1709 | ||
1710 | * c-decl.c: Include dumpfile.h instead of tree-dump.h. | |
1711 | * Make-lang.in: Fix dependencies. | |
1712 | ||
d4a10d0a SB |
1713 | 2012-06-29 Steven Bosscher <steven@gcc.gnu.org> |
1714 | ||
1715 | * Make-lang.in: New file, rules migrated from gcc/Makefile.in | |
1716 | and add language Makefile hooks. | |
1717 | * config-lang.in: New file. | |
1718 | * c-config-lang.in: Moved from gcc/config-lang.in to here, and | |
1719 | add the required "normal" config-lang.in rules. | |
1720 | * c-lang.h: Moved from gcc/ to here. | |
1721 | * c-tree.h: Likewise. | |
1722 | * c-objc-common.c: Likewise. | |
1723 | * c-objc-common.h: Likewise. | |
1724 | * c-typeck.c: Likewise. | |
1725 | * c-convert.c: Likewise. | |
1726 | * c-lang.c: Likewise. | |
1727 | * c-aux-info.c: Likewise. | |
1728 | * c-errors.c: Likewise. | |
1729 | * gccspec.c: Likewise. | |
1730 | * c-decl.c: Likewise. Include gt-c-c-decl.h, not gt-c-decl.h. | |
1731 | * c-parser.c: Likewise. Include gt-c-c-parser.h, not gt-c-parser.h. | |
1732 | \f | |
23a5b65a | 1733 | Copyright (C) 2012-2014 Free Software Foundation, Inc. |
d4a10d0a SB |
1734 | |
1735 | Copying and distribution of this file, with or without modification, | |
1736 | are permitted in any medium without royalty provided the copyright | |
1737 | notice and this notice are preserved. |