1 2014-03-28 Jakub Jelinek <jakub@redhat.com>
4 * c-tree.h (c_build_function_call_vec): New prototype.
5 * c-typeck.c (build_function_call_vec): Don't call
6 resolve_overloaded_builtin here.
7 (c_build_function_call_vec): New wrapper function around
8 build_function_call_vec. Call resolve_overloaded_builtin here.
9 (convert_lvalue_to_rvalue, build_function_call, build_atomic_assign):
10 Call c_build_function_call_vec instead of build_function_call_vec.
11 * c-parser.c (c_parser_postfix_expression_after_primary): Likewise.
12 * c-decl.c (finish_decl): Likewise.
14 2014-03-18 Manuel López-Ibáñez <manu@gcc.gnu.org>
17 * c-typeck.c: Use correct format string in cast-qual warning
19 2014-03-07 Thomas Schwinge <thomas@codesourcery.com>
21 * c-decl.c (c_decl_attributes): Use
22 lang_hooks.types.omp_mappable_type.
23 * c-typeck.c (c_finish_omp_clauses): Likewise.
25 2014-03-06 Marek Polacek <polacek@redhat.com>
28 * c-typeck.c (c_finish_return): Call contains_cilk_spawn_stmt instead
29 of checking tree code.
31 2014-02-19 Prathamesh Kulkarni <bilbotheelffriend@gmail.com>
33 * c-parser.c (c_parser_declspecs): Replace call to error by error_at.
34 (c_parser_parameter_declaration): Likewise.
36 2014-02-19 Marek Polacek <polacek@redhat.com>
39 * c-typeck.c (convert_lvalue_to_rvalue): Set TREE_NO_WARNING on tmp.
40 Call mark_exp_read on exp.value.
41 (build_atomic_assign): Set TREE_NO_WARNING on val and old. Set
42 TREE_ADDRESSABLE on old instead of val.
43 (emit_side_effect_warnings): Warn only if RHS has !TREE_NO_WARNING.
45 2014-02-07 Prathamesh Kulkarni <bilbotheelffriend@gmail.com>
47 * c-parser.c (c_parser_get_builtin_args): Replace calls to
48 C_EXPR_APPEND by vec_safe_push.
49 * c-tree.h (C_EXPR_APPEND): Remove.
51 2014-01-31 Marek Polacek <polacek@redhat.com>
54 * c-typeck.c (convert_lvalue_to_rvalue): Pass vNULL to
55 build_function_call_vec.
56 (build_function_call): Likewise.
57 (build_atomic_assign): Likewise.
58 (build_function_call_vec): Add arg_loc parameter. Use it.
59 (convert_arguments): Likewise.
60 (convert_for_assignment): Rename rhs_loc to expr_loc.
61 * c-parser.c (c_parser_attributes): Pass NULL to c_parser_expr_list.
62 (c_parser_objc_keywordexpr): Likewise.
63 (c_parser_postfix_expression_after_primary): Call
64 build_function_call_vec with expr_loc rather than op_loc.
65 Call c_parser_expr_list to fill arg_loc. Pass arg_loc to
66 build_function_call_vec.
67 (c_parser_expr_list): Add locations parameter. Fill it with locations
68 of function arguments.
69 * c-decl.c (finish_decl): Pass vNULL to build_function_call_vec.
71 2014-01-30 Marek Polacek <polacek@redhat.com>
74 * c-typeck.c (build_function_call_vec): Use loc parameter.
75 (convert_arguments): Add location parameter. Use it.
76 (ep_convert_and_check): Likewise.
77 (build_atomic_assign): Adjust convert_for_assignment call.
78 (build_modify_expr): Likewise.
79 (digest_init): Likewise.
80 (c_finish_return): Likewise.
81 (build_conditional_expr): Adjust ep_convert_and_check calls.
82 (convert_for_assignment): Add rhs_loc parameter. Use it.
83 (build_binary_op): Adjust convert_and_check and ep_convert_and_check
86 2014-01-30 Richard Biener <rguenther@suse.de>
89 * c-typeck.c (build_function_call_vec): Do not replace calls
90 to a function via an incompatible type with a runtime abort.
92 2014-01-24 Balaji V. Iyer <balaji.v.iyer@intel.com>
94 * c-parser.c (c_parser_declaration_or_fndef): Replaced
95 flag_enable_cilkplus with flag_cilkplus.
96 (c_parser_direct_declarator_inner): Likewise.
97 (c_parser_attribute_any_word): Likewise.
98 (c_parser_attributes): Likewise.
99 (c_parser_compound_statement): Likewise.
100 (c_parser_statement_after_labels): Likewise.
101 (c_parser_if_statement): Likewise.
102 (c_parser_switch_statement): Likewise.
103 (c_parser_do_statement): Likewise.
104 (c_parser_for_statement): Likewise.
105 (c_parser_unary_expression): Likewise.
106 (c_parser_postfix_expression): Likewise.
107 (c_parser_postfix_expression_after_primary): Likewise.
108 (c_parser_postfix_expression_after_primary): Likewise.
109 (c_parser_omp_clause_name): Likewise.
110 (c_finish_omp_declare_simd): Likewise.
111 (c_parser_cilk_verify_simd): Likewise.
112 * c-typeck.c (build_array_ref): Likewise.
113 (build_function_call_vec): Likewise.
114 (convert_arguments): Likewise.
115 (build_compound_expr): Likewise.
116 (c_finish_return): Likewise.
117 (c_finish_if_stmt): Likewise.
118 (c_finish_loop): Likewise.
119 (build_binary_op): Likewise.
121 2014-01-23 Marek Polacek <polacek@redhat.com>
124 * c-typeck.c (parser_build_binary_op): Use location instead of
126 (build_binary_op): Pass location to shorten_compare.
128 2014-01-23 Marek Polacek <polacek@redhat.com>
131 * c-typeck.c (pointer_diff): Give an error on arithmetic on pointer to
134 2014-01-23 Marek Polacek <polacek@redhat.com>
137 * c-typeck.c (build_compound_expr): Warn even for right-hand operand
138 of a comma expression.
139 (emit_side_effect_warnings): Likewise.
141 2014-01-23 Balaji V. Iyer <balaji.v.iyer@intel.com>
144 * c-array-notation.c (expand_array_notation_exprs): Rewrote this
145 function to use walk_tree and moved a lot of its functionality to
146 expand_array_notations.
147 (expand_array_notations): New function.
149 2014-01-23 Balaji V. Iyer <balaji.v.iyer@intel.com>
151 * c-parser.c (c_finish_omp_declare_simd): Made "cilk simd function"
152 attribute an attribute without value.
154 2014-01-23 Jakub Jelinek <jakub@redhat.com>
157 * c-typeck.c (c_finish_omp_clause): Reject MIN_EXPR, MAX_EXPR,
158 BIT_AND_EXPR, BIT_IOR_EXPR and BIT_XOR_EXPR on COMPLEX_TYPEs.
160 2014-01-22 Marek Polacek <polacek@redhat.com>
163 * c-typeck.c (build_conditional_expr): Call c_fully_fold instead
164 of remove_c_maybe_const_expr on op1 and op2.
166 2014-01-15 Jakub Jelinek <jakub@redhat.com>
169 * c-typeck.c (build_modify_expr): For lhs op= rhs, if rhs has side
170 effects, preevaluate rhs using SAVE_EXPR first.
172 2014-01-09 Balaji V. Iyer <balaji.v.iyer@intel.com>
175 * c-parser.c (c_parser_postfix_expression): Replaced consecutive if
176 statements with if-elseif statements.
178 2014-01-06 Marek Polacek <polacek@redhat.com>
181 * c-decl.c (check_bitfield_type_and_width): Warn for implementation
182 defined bit-field types only in ISO C.
184 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
186 Update copyright years
188 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
190 * c-array-notation.c: Use the standard form for the copyright notice.
192 2013-12-18 Balaji V. Iyer <balaji.v.iyer@intel.com>
194 * c-parser.c (struct c_parser::cilk_simd_fn_tokens): Added new field.
195 (c_parser_declaration_or_fndef): Added a check if cilk_simd_fn_tokens
196 field in parser is not empty. If not-empty, call the function
197 c_parser_finish_omp_declare_simd.
198 (c_parser_cilk_clause_vectorlength): Modified function to be shared
199 between SIMD-enabled functions and #pragma simd. Added new parameter.
200 (c_parser_cilk_all_clauses): Modified the usage of the function
201 c_parser_cilk_clause_vectorlength as mentioned above.
202 (c_parser_cilk_simd_fn_vector_attrs): New function.
203 (c_finish_cilk_simd_fn_tokens): Likewise.
204 (is_cilkplus_vector_p): Likewise.
205 (c_parser_omp_clause_name): Added checking for "vectorlength,"
206 "nomask," and "mask" strings in clause name.
207 (c_parser_omp_all_clauses): Added 3 new case statements:
208 PRAGMA_CILK_CLAUSE_VECTORLENGTH, PRAGMA_CILK_CLAUSE_MASK and
209 PRAGMA_CILK_CLAUSE_NOMASK.
210 (c_parser_attributes): Added a cilk_simd_fn_tokens parameter. Added a
211 check for vector attribute and if so call the function
212 c_parser_cilk_simd_fn_vector_attrs. Also, when Cilk plus is enabled,
213 called the function c_finish_cilk_simd_fn_tokens.
214 (c_finish_omp_declare_simd): Added a check if cilk_simd_fn_tokens in
215 parser field is non-empty. If so, parse them as you would parse
216 the omp declare simd pragma.
217 (c_parser_omp_clause_linear): Added a new bool parm. is_cilk_simd_fn.
218 Added a check when step is a parameter and flag it as error.
219 (CILK_SIMD_FN_CLAUSE_MASK): New #define.
220 (c_parser_cilk_clause_name): Changed pragma_cilk_clause to
223 2013-12-17 Thomas Schwinge <thomas@codesourcery.com>
225 * c-parser.c (c_parser_omp_parallel): Fix description.
227 2013-12-11 Balaji V. Iyer <balaji.v.iyer@intel.com>
229 * c-objc-common.h (LANG_HOOKS_CILKPLUS_FRAME_CLEANUP): Remove.
230 (LANG_HOOKS_CILKPLUS_DETECT_SPAWN_AND_UNWRAP): Likewise.
231 (LANG_HOOKS_CILKPLUS_CILKPLUS_GIMPLIFY_SPAWN): Likewise.
232 * c-typeck.c (cilk_install_body_with_frame_cleanup): New function.
234 2013-12-04 Joseph Myers <joseph@codesourcery.com>
237 * c-parser.c (c_parser_alignas_specifier): Use
238 c_sizeof_or_alignof_type instead of c_alignof.
239 (c_parser_alignof_expression): Likewise, with min_alignof
240 parameter depending on alignof spelling used.
242 2013-12-04 Marek Polacek <polacek@redhat.com>
245 * c-decl.c (start_function): Don't warn for missing prototype for
248 2013-12-03 Marek Polacek <polacek@redhat.com>
251 * c-decl.c (build_compound_literal): Allow compound literals with
254 2013-12-02 Joseph Myers <joseph@codesourcery.com>
257 * c-typeck.c (build_modify_expr): Diagnose assignment to
258 expression with array type.
260 2013-11-29 Joseph Myers <joseph@codesourcery.com>
263 * c-typeck.c (process_init_element): Do not treat a string as
264 initializing a whole array when used with a designator for an
267 2013-11-29 Joseph Myers <joseph@codesourcery.com>
270 * c-decl.c (merge_decls): Clear DECL_EXTERNAL for a definition of
271 an inline function following a static declaration.
273 2013-11-28 Jakub Jelinek <jakub@redhat.com>
276 * c-parser.c (c_parser_omp_target): Copy "#pragma omp target"
277 to p_name before calling c_parser_omp_teams instead of after.
278 (c_parser_cilk_simd): Remove wrong ATTRIBUTE_UNUSED from parser
279 argument. Remove unused p_name variable.
281 2013-11-27 Aldy Hernandez <aldyh@redhat.com>
282 Jakub Jelinek <jakub@redhat.com>
284 * c-decl.c (c_builtin_function_ext_scope): Avoid binding if
285 external_scope is NULL.
287 2013-11-27 Tom de Vries <tom@codesourcery.com>
288 Marc Glisse <marc.glisse@inria.fr>
291 * c-typeck.c (build_unary_op): Allow vector increment and decrement.
293 2013-11-22 Andrew MacLeod <amacleod@redhat.com>
295 * c-typeck.c: Add required include files from gimple.h.
297 2013-11-22 David Malcolm <dmalcolm@redhat.com>
299 * c-decl.c (define_label, shadow_tag_warned)
300 (check_bitfield_type_and_width, grokdeclarator, grokparms,
301 store_parm_decls_newstyle, store_parm_decls_oldstyle)
302 (declspecs_add_type): Remove use of in_system_header macro.
303 * c-parser.c (c_parser_unary_expression): Likewise.
304 * c-typeck.c (store_init_value, process_init_element)
305 (c_start_case): Likewise.
307 * c-decl.c (build_enumerator): Remove use of EXPR_LOC_OR_HERE
310 * c-parser.c (c_parser_set_source_position_from_token): Remove
311 reference to in_system_header from comment.
313 2013-11-18 Richard Sandiford <rdsandiford@googlemail.com>
315 * c-decl.c (grokdeclarator): Update comment to refer to
316 tree_to_[su]hwi rather than tree_low_cst.
318 2013-11-18 Richard Sandiford <rdsandiford@googlemail.com>
320 * c-decl.c, c-typeck.c: Replace tree_low_cst (..., 1) with
321 tree_to_uhwi throughout.
323 2013-11-18 Richard Sandiford <rdsandiford@googlemail.com>
325 * c-parser.c: Replace tree_low_cst (..., 0) with tree_to_shwi
328 2013-11-18 Richard Sandiford <rdsandiford@googlemail.com>
330 * c-parser.c: Replace host_integerp (..., 0) with tree_fits_shwi_p
333 2013-11-15 Aldy Hernandez <aldyh@redhat.com>
335 * c-parser.c (c_parser_cilk_simd): New.
336 (c_parser_cilk_verify_simd): New.
337 (c_parser_pragma): Add case for PRAGMA_CILK_SIMD.
338 (c_parser_omp_for_loop): Add case for NE_EXPR.
339 Set c_break_label for CILK_SIMD.
340 (c_parser_cilk_clause_vectorlength): New.
341 (c_parser_cilk_clause_linear): New.
342 (c_parser_cilk_clause_name): New.
343 (c_parser_cilk_all_clauses): New.
344 * c-typeck.c (build_unary_op): Pass location argument to
346 (build_modify_expr): Same.
347 (build_asm_expr): Same.
348 (c_finish_bc_stmt): Error on break/continue in loops.
350 2013-11-14 Andrew MacLeod <amacleod@redhat.com>
352 * c-typeck.c: Include only gimplify.h and gimple.h as needed.
354 2013-11-14 Diego Novillo <dnovillo@google.com>
356 * c-decl.c: Include print-tree.h.
357 Include stor-layout.h.
360 Include stringpool.h.
361 * c-lang.c: Include fold-const.h.
362 * c-parser.c: Include stringpool.h.
364 Include stor-layout.h.
367 * c-typeck.c: Include stor-layout.h.
372 2013-11-13 Joseph Myers <joseph@codesourcery.com>
374 * c-tree.h (c_typespec_keyword): Add cts_auto_type.
375 * c-decl.c (declspecs_add_type, finish_declspecs): Handle
377 * c-parser.c (c_token_starts_typename, c_token_starts_declspecs)
378 (c_parser_attribute_any_word, c_parser_objc_selector): Handle
380 (c_parser_declspecs): Take argument AUTO_TYPE_OK.
381 (c_parser_declaration_or_fndef, c_parser_struct_declaration)
382 (c_parser_declarator, c_parser_direct_declarator_inner)
383 (c_parser_parameter_declaration, c_parser_type_name): All callers
385 (c_parser_declaration_or_fndef): Handle declarations with type
386 determined from the initializer.
388 2013-11-12 Andrew MacLeod <amacleod@redhat.com>
390 * c-typeck.c: Include gimplify.h.
392 2013-11-12 Joseph Myers <joseph@codesourcery.com>
394 * c-tree.h (struct c_declspecs): Add thread_gnu_p field.
395 * c-parser.c (c_parser_declspecs): Mention _Thread_local in
397 * c-decl.c (shadow_tag_warned, grokdeclarator): Mention __thread
398 or _Thread_local as appropriate in diagnostics.
399 (build_null_declspecs): Initialize ret->thread_gnu_p.
400 (declspecs_add_scspec): Handle either __thread or _Thread_local
401 for RID_THREAD. Diagnose _Thread_local for pre-C11 standards if
402 pedantic. Do not disallow _Thread_local extern and _Thread_local
405 2013-11-07 Joseph Myers <joseph@codesourcery.com>
406 Andrew MacLeod <amacleod@redhat.com>
408 * c-aux-info.c (gen_type): Handle atomic qualifier.
409 * c-decl.c (validate_proto_after_old_defn): Do not remove atomic
410 qualifiers when compating types.
411 (shadow_tag_warned): Handle atomic_p in declspecs.
412 (quals_from_declspecs): Likewise.
413 (start_decl): Use c_type_promotes_to when promoting argument
415 (grokdeclarator): Handle _Atomic.
416 (get_parm_info): Diagnose any qualifier on "void" as only
418 (store_parm_decls_oldstyle): Do not remove atomic qualifiers when
419 comparing types. Use c_type_promotes_to when promoting argument
421 (finish_function): Use c_type_promotes_to when promoting argument
423 (build_null_declspecs): Handle atomic_p in declspecs.
424 (declspecs_add_qual): Handle RID_ATOMIC.
425 * c-parser.c (c_token_starts_typename, c_token_is_qualifier)
426 (c_token_starts_declspecs): Handle RID_ATOMIC.
427 (c_parser_declspecs): Handle atomic type specifiers and
429 (c_parser_typeof_specifier): Remove const and _Atomic qualifiers
430 from types of expressions with atomic type.
431 (c_parser_direct_declarator_inner): Use convert_lvalue_to_rvalue.
432 (c_parser_attribute_any_word): Handle RID_ATOMIC.
433 (c_parser_initializer, c_parser_initelt, c_parser_initval)
434 (c_parser_statement_after_labels, c_parser_switch_statement)
435 (c_parser_for_statement, c_parser_expr_no_commas)
436 (c_parser_conditional_expression, c_parser_binary_expression)
437 (c_parser_cast_expression, c_parser_unary_expression)
438 (c_parser_postfix_expression)
439 (c_parser_postfix_expression_after_primary, c_parser_expression):
440 Use convert_lvalue_to_rvalue.
441 (c_parser_expression_conv, c_parser_expr_list): Document
442 conversion of lvalues to rvalues. Use convert_lvalue_to_rvalue.
443 (c_parser_objc_synchronized_statement): Use
444 convert_lvalue_to_rvalue.
445 (c_parser_objc_selector): Handle RID_ATOMIC.
446 (c_parser_objc_receiver, c_parser_array_notation): Use
447 convert_lvalue_to_rvalue.
448 * c-tree.h (ctsk_typeof): Adjust comment to mention use for
450 (struct c_declspecs): Add atomic_p field.
451 (convert_lvalue_to_rvalue): Declare.
452 * c-typeck.c (c_type_promotes_to): Promote atomic types to
453 corresponding atomic types.
454 (qualify_type): Don't add _Atomic qualifiers from second argument.
455 (comp_target_types): Do not allow _Atomic mismatches.
456 (type_lists_compatible_p): Do not remove atomic qualifiers when
458 (really_atomic_lvalue, convert_lvalue_to_rvalue)
459 (build_atomic_assign): New functions.
460 (build_unary_op): Use build_atomic_assign for atomic increment and
462 (build_conditional_expr): Do not treat _Atomic void as a qualified
464 (build_modify_expr): Use build_atomic_assign for atomic LHS.
465 (find_anonymous_field_with_type, convert_to_anonymous_field)
466 (convert_for_assignment): Do not remove atomic qualifiers when
468 (digest_init): Do not accept initialization of arrays of atomic
469 elements by string constants.
470 (build_asm_expr): Use convert_lvalue_to_rvalue.
471 (build_binary_op): Do not treat _Atomic void as a qualified
474 2013-11-06 DJ Delorie <dj@redhat.com>
476 * c-decl.c (locate_old_decl): If a previous conflicting decl is
477 both explicit and builtin, print the location of the explicit one.
479 2013-11-05 Tobias Burnus <burnus@net-b.de>
481 * c-parser.c (c_parser_omp_for, c_parser_omp_parallel,
482 c_parser_omp_distribute, c_parser_omp_teams,
483 c_parser_omp_target, c_parser_omp_declare): Handle
486 2013-11-03 Marek Polacek <polacek@redhat.com>
488 * c-decl.c (grokdeclarator): Add VLA instrumentation.
490 2013-11-01 Jakub Jelinek <jakub@redhat.com>
492 * c-typeck.c (c_finish_omp_clauses) <case OMP_CLAUSE_UNIFORM>: Go to
493 check_dup_generic at the end, unless remove is true.
494 (c_finish_omp_clauses) <case OMP_CLAUSE_REDUCTION>: Add break; after
496 (c_finish_omp_clauses) <case OMP_CLAUSE_COPYIN>: Likewise.
498 2013-10-31 Jakub Jelinek <jakub@redhat.com>
500 * c-typeck.c (c_finish_omp_clauses): Diagnose aligned clause
501 with decl that is not pointer nor array.
503 2013-10-29 Balaji V. Iyer <balaji.v.iyer@intel.com>
505 * c-decl.c (finish_function): Added a call for insert_cilk_frame when
506 a spawning function is found.
507 * c-objc-common.h (LANG_HOOKS_CILKPLUS_GIMPLIFY_SPAWN): New #define.
508 (LANG_HOOKS_CILKPLUS_FRAME_CLEANUP): Likewise.
509 (LANG_HOOKS_CILKPLUS_DETECT_SPAWN_AND_UNWRAP): Likewise.
510 * c-parser.c (c_parser_statement_after_labels): Added RID_CILK_SYNC
512 (c_parser_postfix_expression): Added RID_CILK_SPAWN case.
513 * c-typeck.c (build_compound_expr): Reject _Cilk_spawn in a comma
515 (c_finish_return): Added a check to reject _Cilk_spawn in return
517 (build_cilk_spawn): New function.
518 (build_cilk_sync): Likewise.
519 * Makefile.in (c-decl.o): Added cilk.h in dependency list.
521 2013-10-27 Tobias Burnus <burnus@net-b.de>
524 * c-parser.c (c_parser_while_statement, c_parser_while_statement,
525 c_parser_pragma): Add GCC ivdep support to 'do' and 'while'.
526 (c_parser_statement_after_labels): Update calls.
528 2013-10-24 Tobias Burnus <burnus@net-b.de>
531 * c-parser.c (c_parser_pragma, c_parser_for_statement):
533 (c_parser_statement_after_labels): Update call.
535 2013-10-24 Marek Polacek <polacek@redhat.com>
537 * c-parser.c (c_parser_struct_declaration): Add a comment.
538 (c_parser_declarator): Don't allow _Alignas here.
540 2013-10-17 Andrew MacLeod <amacleod@redhat.com>
542 * c-parser.c: Include omp-low.h.
543 * c-typeck.c: Likewise.
545 2013-10-17 Marek Polacek <polacek@redhat.com>
548 * c-parser.c (c_parser_declspecs): Add alignspec_ok parameter.
549 Document syntax of the array-declarator.
550 (c_parser_declspecs) <RID_ALIGNAS>: Bail out if alignment specs
552 (c_parser_declaration_or_fndef): Adjust c_parser_declspecs call.
553 (c_parser_struct_declaration): Likewise.
554 (c_parser_declarator): Likewise.
555 (c_parser_direct_declarator_inner): Likewise.
556 (c_parser_parameter_declaration): Likewise.
557 (c_parser_type_name): Likewise.
559 2013-10-11 Jakub Jelinek <jakub@redhat.com>
561 * c-lang.h (current_omp_declare_target_attribute): New extern
563 * c-parser.c: Include c-lang.h.
564 (struct c_parser): Change tokens to c_token *.
565 Add tokens_buf field. Change tokens_avail type to unsigned int.
566 (c_parser_consume_token): If parser->tokens isn't
567 &parser->tokens_buf[0], increment parser->tokens.
568 (c_parser_consume_pragma): Likewise.
569 (enum pragma_context): Add pragma_struct and pragma_param.
570 (c_parser_external_declaration): Adjust
571 c_parser_declaration_or_fndef caller.
572 (c_parser_declaration_or_fndef): Add omp_declare_simd_clauses
573 argument, if it is non-vNULL vector, call c_finish_omp_declare_simd.
574 Adjust recursive call.
575 (c_parser_struct_or_union_specifier): Use pragma_struct instead
577 (c_parser_parameter_declaration): Use pragma_param instead of
579 (c_parser_compound_statement_nostart, c_parser_label,
580 c_parser_for_statement): Adjust
581 c_parser_declaration_or_fndef callers.
582 (c_parser_expr_no_commas): Add omp_atomic_lhs argument, pass
583 it through to c_parser_conditional_expression.
584 (c_parser_conditional_expression): Add omp_atomic_lhs argument,
585 pass it through to c_parser_binary_expression. Adjust recursive
587 (c_parser_binary_expression): Remove prec argument, add
588 omp_atomic_lhs argument instead. Always start from PREC_NONE, if
589 omp_atomic_lhs is non-NULL and one of the arguments of toplevel
590 binop matches it, use build2 instead of parser_build_binary_op.
591 (c_parser_pragma): Handle PRAGMA_OMP_CANCEL,
592 PRAGMA_OMP_CANCELLATION_POINT, PRAGMA_OMP_TARGET,
593 PRAGMA_OMP_END_DECLARE_TARGET, PRAGMA_OMP_DECLARE_REDUCTION.
594 Handle pragma_struct and pragma_param the same as pragma_external.
595 (c_parser_omp_clause_name): Parse new OpenMP 4.0 clause names.
596 (c_parser_omp_variable_list): Parse array sections for
597 OMP_CLAUSE_{DEPEND,MAP,TO,FROM} clauses.
598 (c_parser_omp_clause_collapse): Fully fold collapse expression.
599 (c_parser_omp_clause_reduction): Handle user defined reductions.
600 (c_parser_omp_clause_branch, c_parser_omp_clause_cancelkind,
601 c_parser_omp_clause_num_teams, c_parser_omp_clause_thread_limit,
602 c_parser_omp_clause_aligned, c_parser_omp_clause_linear,
603 c_parser_omp_clause_safelen, c_parser_omp_clause_simdlen,
604 c_parser_omp_clause_depend, c_parser_omp_clause_map,
605 c_parser_omp_clause_device, c_parser_omp_clause_dist_schedule,
606 c_parser_omp_clause_proc_bind, c_parser_omp_clause_to,
607 c_parser_omp_clause_from, c_parser_omp_clause_uniform): New functions.
608 (c_parser_omp_all_clauses): Add finish_p argument. Don't call
609 c_finish_omp_clauses if it is false. Handle new OpenMP 4.0 clauses.
610 (c_parser_omp_atomic): Parse seq_cst clause, pass true if it is
611 present to c_finish_omp_atomic. Handle OpenMP 4.0 atomic forms.
612 (c_parser_omp_for_loop): Add CODE argument, pass it through
613 to c_finish_omp_for. Change last argument to cclauses,
614 and adjust uses to grab parallel clauses from the array of all
615 the split clauses. Adjust c_parser_binary_expression,
616 c_parser_declaration_or_fndef and c_finish_omp_for callers.
617 (omp_split_clauses): New function.
618 (c_parser_omp_simd): New function.
619 (c_parser_omp_for): Add p_name, mask and cclauses arguments.
620 Allow the function to be called also when parsing combined constructs,
621 and call c_parser_omp_simd when parsing for simd.
622 (c_parser_omp_sections_scope): If section-sequence doesn't start with
623 #pragma omp section, require exactly one structured-block instead of
624 sequence of statements.
625 (c_parser_omp_sections): Add p_name, mask and cclauses arguments.
626 Allow the function to be called also when parsing combined constructs.
627 (c_parser_omp_parallel): Add p_name, mask and cclauses arguments.
628 Allow the function to be called also when parsing combined
630 (c_parser_omp_taskgroup, c_parser_omp_cancel,
631 c_parser_omp_cancellation_point, c_parser_omp_distribute,
632 c_parser_omp_teams, c_parser_omp_target_data,
633 c_parser_omp_target_update, c_parser_omp_target,
634 c_parser_omp_declare_simd, c_finish_omp_declare_simd,
635 c_parser_omp_declare_target, c_parser_omp_end_declare_target,
636 c_parser_omp_declare_reduction, c_parser_omp_declare): New functions.
637 (c_parser_omp_construct): Add p_name and mask vars. Handle
638 PRAGMA_OMP_DISTRIBUTE, PRAGMA_OMP_SIMD, PRAGMA_OMP_TASKGROUP,
639 PRAGMA_OMP_TEAMS. Adjust c_parser_omp_for, c_parser_omp_parallel
640 and c_parser_omp_sections callers.
641 (c_parse_file): Initialize tparser.tokens and the_parser->tokens here.
642 (OMP_FOR_CLAUSE_MASK, OMP_SECTIONS_CLAUSE_MASK,
643 OMP_SINGLE_CLAUSE_MASK): Use OMP_CLAUSE_MASK_1 instead of 1.
644 (OMP_PARALLEL_CLAUSE_MASK): Likewise. Add OMP_CLAUSE_PROC_BIND.
645 (OMP_TASK_CLAUSE_MASK): Use OMP_CLAUSE_MASK_1 instead of 1. Add
647 (OMP_SIMD_CLAUSE_MASK, OMP_CANCEL_CLAUSE_MASK,
648 OMP_CANCELLATION_POINT_CLAUSE_MASK, OMP_DISTRIBUTE_CLAUSE_MASK,
649 OMP_TEAMS_CLAUSE_MASK, OMP_TARGET_DATA_CLAUSE_MASK,
650 OMP_TARGET_UPDATE_CLAUSE_MASK, OMP_TARGET_CLAUSE_MASK,
651 OMP_DECLARE_SIMD_CLAUSE_MASK): Define.
652 * c-typeck.c: Include tree-inline.h.
653 (c_finish_omp_cancel, c_finish_omp_cancellation_point,
654 handle_omp_array_sections_1, handle_omp_array_sections,
655 c_clone_omp_udr, c_find_omp_placeholder_r): New functions.
656 (c_finish_omp_clauses): Handle new OpenMP 4.0 clauses and
657 user defined reductions.
658 (c_tree_equal): New function.
659 * c-tree.h (temp_store_parm_decls, temp_pop_parm_decls,
660 c_finish_omp_cancel, c_finish_omp_cancellation_point, c_tree_equal,
661 c_omp_reduction_id, c_omp_reduction_decl, c_omp_reduction_lookup,
662 c_check_omp_declare_reduction_r): New prototypes.
663 * c-decl.c (current_omp_declare_target_attribute): New variable.
664 (c_decl_attributes): New function.
665 (start_decl, start_function): Use it instead of decl_attributes.
666 (temp_store_parm_decls, temp_pop_parm_decls, c_omp_reduction_id,
667 c_omp_reduction_decl, c_omp_reduction_lookup,
668 c_check_omp_declare_reduction_r): New functions.
670 2013-09-25 Tom Tromey <tromey@redhat.com>
672 * Make-lang.in (c/gccspec.o): Remove.
673 (CFLAGS-c/gccspec.o): New variable.
674 (cc1-checksum.o, C_TREE_H, c/c-aux-info.o, c/c-convert.o)
675 (c/c-decl.o, c/c-errors.o, c/c-lang.o, c/c-objc-common.o)
676 (c/c-parser.o, c/c-typeck.o, c/c-array-notation.o): Remove.
678 2013-09-25 Tom Tromey <tromey@redhat.com>
680 * Make-lang.in (c/gccspec.o): Don't use subshell.
682 2013-09-18 Marek Polacek <polacek@redhat.com>
685 * c-typeck.c (build_binary_op): Properly honor -fsanitize options.
686 Remove unnecessary check.
688 2013-09-18 Marek Polacek <polacek@redhat.com>
691 * c-typeck.c (build_binary_op): Don't sanitize function if it has the
692 no_sanitize_undefined attribute.
694 2013-09-13 Kai Tietz <ktietz@redhat.com>
697 * c-decl.c (c_builtin_function_ext_scope): Remove
698 wrong assumption that it is never called on prexisting
701 2013-09-08 Joern Rennecke <joern.rennecke@embecosm.com>
703 * c-typeck.c (build_binary_op): Use vector_types_compatible_elements_p.
705 2013-09-03 Gabriel Dos Reis <gdr@integrable-solutions.net>
707 * c-objc-common.c (c_tree_printer): Tidy.
709 2013-08-30 Marek Polacek <polacek@redhat.com>
711 * c-typeck.c (build_binary_op): Add division by zero and shift
714 2013-08-26 Joern Rennecke <joern.rennecke@embecosm.com>
715 Joseph Myers <joseph@codesourcery.com>
718 * c-typeck.c (c_common_type): Prefer double_type_node over
719 other REAL_TYPE types with the same precision.
720 (convert_arguments): Likewise.
722 2013-08-23 Gabriel Dos Reis <gdr@integrable-solutions.net>
724 * c-objc-common.c (c_tree_printer): Document the nature of the cast.
725 (c_initialize_diagnostics): Call a destructor for the early printer.
727 2013-08-22 Gabriel Dos Reis <gdr@integrable-solutions.net>
729 * c-objc-common.c (c_initialize_diagnostics): Simplify C pretty
730 printer initialization.
732 2013-08-19 Balaji V. Iyer <balaji.v.iyer@intel.com>
735 * c-array-notation.c (fix_conditional_array_notations_1): Added a
736 check for truth values.
737 (expand_array_notation_exprs): Added truth values case. Removed an
738 unwanted else. Added for-loop to walk through subtrees in default
741 2013-08-04 Gabriel Dos Reis <gdr@integrable-solutions.net>
743 * c-objc-common.c (c_initialize_diagnostics): Don't call pp_base.
745 2013-07-23 Joseph Myers <joseph@codesourcery.com>
747 * c-parser.c (struct c_generic_association): Fix typo.
749 2013-07-23 Tom Tromey <tromey@redhat.com>
750 Joseph Myers <joseph@codesourcery.com>
752 * c-parser.c (struct c_generic_association): New.
753 (c_generic_association_d): New typedef.
754 (c_parser_generic_selection): New function.
755 (c_parser_postfix_expression): Handle RID_GENERIC.
757 2013-07-13 Jason Merrill <jason@redhat.com>
760 * c-decl.c (finish_struct): Check for too-large class.
762 2013-07-04 Joern Rennecke <joern.rennecke@embecosm.com>
765 * c-typeck.c (set_init_index): When folding, check for index overflow.
767 2013-06-28 Balaji V. Iyer <balaji.v.iyer@intel.com>
769 * c-parser.c (c_parser_array_notation): Removed rejection of array
770 notations in an array of function pointers.
772 2013-06-21 Balaji V. Iyer <balaji.v.iyer@intel.com>
774 * c-array-notation.c (make_triplet_val_inv): New function.
775 (create_cmp_incr): Likewise.
776 (create_array_refs): Likewise.
777 (fix_builtin_array_notation_fn): Replaced all mallocs with tree vec.
778 Also modularized common parts between functions and called the function.
779 (build_array_notation_expr): Likewise.
780 (fix_conditional_array_notations_1): Likewise.
781 (fix_array_notation_expr): Likewise.
782 (fix_array_notation_call_expr): Likewise.
784 2013-06-18 Marek Polacek <polacek@redhat.com>
787 * c-decl.c (check_for_loop_decls): Improve diagnostics messages.
789 2013-06-12 Balaji V. Iyer <balaji.v.iyer@intel.com>
791 * c-array-notation.c (build_array_notation_expr): Reject array notation
792 mismatch between LHS and RHS even inside a call_expr. Also, removed
793 a couple while statements that were dead code.
795 2013-06-10 Balaji V. Iyer <balaji.v.iyer@intel.com>
797 * c-array-notation.c (fix_builtin_array_notation_fn): Fully folded
798 excessive precision expressions in function parameters. Also removed
799 couple unwanted while statements.
801 2013-06-07 Balaji V. Iyer <balaji.v.iyer@intel.com>
803 * c-array-notation.c (expand_array_notation_exprs): Added
804 ARRAY_NOTATION_REF case.
806 2013-06-07 Balaji V. Iyer <balaji.v.iyer@intel.com>
808 * c-array-notation.c (length_mismatch_in_expr_p): Moved this
809 function to c-family/array-notation-common.c.
810 (is_cilkplus_reduce_builtin): Likewise.
811 (find_rank): Likewise.
812 (extract_array_notation_exprs): Likewise.
813 (replace_array_notations): Likewise.
814 (find_inv_trees): Likewise.
815 (replace_inv_trees): Likewise.
816 (contains_array_notation_expr): Likewise.
817 (find_correct_array_notation_type): Likewise.
818 (replace_invariant_exprs): Initialized additional_tcodes to NULL.
819 (struct inv_list): Moved this to c-family/array-notation-common.c.
820 * c-tree.h (is_cilkplus_builtin_reduce): Remove prototype.
822 2013-06-05 Balaji V. Iyer <balaji.v.iyer@intel.com>
824 * c-typeck.c (convert_arguments): Moved checking of builtin cilkplus
825 reduction functions outside the for-loop. Added a check if the fundecl
826 is non-NULL. Finally, removed an unwanted if-statement, and made the
829 2013-06-03 Balaji V. Iyer <balaji.v.iyer@intel.com>
831 * c-typeck.c (c_finish_if_stmt): Added a check to see if the rank of the
832 condition of the if-statement matches the rank of else-block and then-
833 block when array notations are used.
834 * c-parser.c (c_parser_declaration_or_fndef): Expanded array notation
835 expression after the entire function body is parsed.
836 (c_parser_expr_no_commas): Delayed creating array notation expressions
837 to the end of function parsing.
838 * c-array-notation.c (fix_conditional_array_notations_1): Expanded the
839 whole if-statement instead of just the condition.
840 (expand_array_notation_exprs): Added MODIFY_EXPR case.
842 2013-06-03 Balaji V. Iyer <balaji.v.iyer@intel.com>
845 * c-array-notation.c (build_array_notation_expr): Initialized rhs_length
846 array to NULL_TREE if they are unused. Also added a check for the
847 field to be NULL before its fields are used in future.
849 2013-05-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
852 * c-array-notation.c (length_mismatch_in_expr_p): Use absu_hwi.
853 (build_array_notation_expr): Likewise.
855 2013-05-28 Balaji V. Iyer <balaji.v.iyer@intel.com>
857 * c-typeck.c (build_array_ref): Added a check to see if array's
858 index is greater than one. If true, then emit an error.
859 (build_function_call_vec): Exclude error reporting and checking
860 for builtin array-notation functions.
861 (convert_arguments): Likewise.
862 (c_finish_return): Added a check for array notations as a return
863 expression. If true, then emit an error.
864 (c_finish_loop): Added a check for array notations in a loop
865 condition. If true then emit an error.
866 (lvalue_p): Added a ARRAY_NOTATION_REF case.
867 (build_binary_op): Added a check for array notation expr inside
868 op1 and op0. If present, we call another function to find correct
870 * Make-lang.in (C_AND_OBJC_OBJS): Added c-array-notation.o.
871 * c-parser.c (c_parser_compound_statement): Check if array
872 notation code is used in tree, if so, then transform them into
874 (c_parser_expr_no_commas): Check if array notation is used in LHS
875 or RHS, if so, then build array notation expression instead of
877 (c_parser_postfix_expression_after_primary): Added a check for
878 colon(s) after square braces, if so then handle it like an array
879 notation. Also, break up array notations in unary op if found.
880 (c_parser_direct_declarator_inner): Added a check for array
882 (c_parser_compound_statement): Added a check for array notation in
883 a stmt. If one is present, then expand array notation expr.
884 (c_parser_if_statement): Likewise.
885 (c_parser_switch_statement): Added a check for array notations in
886 a switch statement's condition. If true, then output an error.
887 (c_parser_while_statement): Similarly, but for a while.
888 (c_parser_do_statement): Similarly, but for a do-while.
889 (c_parser_for_statement): Similarly, but for a for-loop.
890 (c_parser_unary_expression): Check if array notation is used in a
891 pre-increment or pre-decrement expression. If true, then expand
893 (c_parser_array_notation): New function.
894 * c-array-notation.c: New file.
895 * c-tree.h (is_cilkplus_reduce_builtin): Protoize.
897 2013-05-23 Mike Stump <mikestump@comcast.net>
899 * c-typeck.c (convert_for_assignment): Handle references to memory
902 2013-05-16 Jason Merrill <jason@redhat.com>
904 * Make-lang.in (cc1$(exeext)): Use link mutex.
906 2013-04-24 Paolo Carlini <paolo.carlini@oracle.com>
908 * c-typeck.c (pointer_diff): Change -Wpointer-arith pedwarns
909 to simply use OPT_Wpointer_arith.
910 (build_unary_op): Likewise.
912 2013-04-03 Jakub Jelinek <jakub@redhat.com>
915 * c-parser.c (c_parser_get_builtin_args): Add choose_expr_p
916 argument. If set, or it temporarily for parsing of the first
917 argument into force_folding_builtin_constant_p.
918 (c_parser_postfix_expression): Adjust callers.
920 2013-03-21 Richard Biener <rguenther@suse.de>
922 * c-objc-common.c (c_tree_printer): Use DECL_HAS_DEBUG_EXPR_P
923 instead of DECL_DEBUG_EXPR_IS_FROM. Guard properly.
925 2013-02-12 Marek Polacek <polacek@redhat.com>
928 * c-parser.c (c_parser_postfix_expression_after_primary): Initialize
931 2013-01-24 Jakub Jelinek <jakub@redhat.com>
934 * c-typeck.c (set_nonincremental_init_from_string): If
935 constructor_max_index is NULL, treat it as if tree_int_cst_lt
937 (process_init_element): Likewise.
939 2012-12-20 Jakub Jelinek <jakub@redhat.com>
942 * c-parser.c (c_parser_asm_operands): Remove CONVERT_P
943 argument, don't call default_function_array_conversion
944 nor c_fully_fold here.
945 (c_parser_asm_statement): Adjust callers.
946 * c-typeck.c (build_asm_expr): Call c_fully_fold on inputs
947 and outputs here, and call default_function_array_conversion
948 on inputs that don't need to be addressable.
950 2012-12-18 Jakub Jelinek <jakub@redhat.com>
953 * c-typeck.c (convert_for_assignment): For -Wpointer-sign
954 warning require that both c_common_unsigned_type as well as
955 c_common_signed_type is the same for both mvl and mvr types.
957 2012-11-16 Diego Novillo <dnovillo@google.com>
959 Adjust for new vec API (http://gcc.gnu.org/wiki/cxx-conversion/cxx-vec)
961 * c-common.c: Use new vec API in vec.h.
962 * c-common.h: Likewise.
963 * c-gimplify.c: Likewise.
964 * c-pragma.c: Likewise.
965 * c-pretty-print.c: Likewise.
966 * c-pretty-print.h: Likewise.
967 * c-semantics.c: Likewise.
968 * c-decl.c: Likewise.
969 * c-parser.c: Likewise.
970 * c-tree.h: Likewise.
971 * c-typeck.c: Likewise.
973 2012-10-29 Jonathan Wakely <jwakely.gcc@gmail.com>
976 * c-typeck.c (c_finish_return): Use OPT_Wreturn_local_addr.
978 2012-10-29 Manuel López-Ibáñez <manu@gcc.gnu.org>
981 * c-decl.c (warn_if_shadowing): Do not warn if a variable
982 shadows a function, unless the variable is a function or a
985 2012-10-12 Jakub Jelinek <jakub@redhat.com>
988 * c-parser.c (struct c_tree_loc_pair): Removed.
989 (c_parser_expr_list): Remove struct c_tree_loc_pair * argument,
990 add location_t * and tree * arguments, fill in array of 3
991 sizeof_arg trees and corresponding locs.
992 (c_parser_attributes, c_parser_objc_keywordexpr): Adjust
993 c_parser_expr_list callers.
994 (c_parser_postfix_expression_after_primary): Likewise. Pass
995 array of 3 sizeof_arg trees and locs (corresponding to first
996 3 arguments) to sizeof_pointer_memaccess_warning.
998 2012-10-09 Lawrence Crowl <crowl@google.com>
1000 * Make-lang.in (c-decl.o): Add dependence on hash-table.h.
1001 * c-decl.c (detect_field_duplicates_hash): Change to new type-safe
1004 2012-10-09 Paolo Carlini <paolo.carlini@oracle.com>
1007 * c-typeck.c (parser_build_binary_op): Update warn_about_parentheses
1010 2012-10-09 Marc Glisse <marc.glisse@inria.fr>
1013 * c-typeck.c: Include c-common.h.
1014 (enum stv_conv): Moved to c-common.h.
1015 (scalar_to_vector): Moved to c-common.c.
1016 (build_binary_op): Adapt to scalar_to_vector's new prototype.
1017 * Make-lang.in: c-typeck.c depends on c-common.h.
1019 2012-10-04 Arnaud Charlet <charlet@adacore.com>
1021 * c-decl.c (c_write_global_declarations): Fix handling of
1024 2012-09-30 Sharad Singhai <singhai@google.com>
1026 * c-decl.c (c_write_global_declarations): Use a different method
1027 to determine if the dump has ben initialized.
1029 2012-09-14 Joseph Myers <joseph@codesourcery.com>
1032 * c-typeck.c (c_cast_expr): When casting to a type requiring
1033 C_MAYBE_CONST_EXPR to be created, pass the inner expression to
1036 2012-09-14 Joseph Myers <joseph@codesourcery.com>
1039 * c-typeck.c (build_unary_op): Pass original argument of
1040 TRUTH_NOT_EXPR to c_objc_common_truthvalue_conversion, then remove
1041 any C_MAYBE_CONST_EXPR, if it has integer operands.
1042 (build_binary_op): Pass original arguments of TRUTH_ANDIF_EXPR,
1043 TRUTH_ORIF_EXPR, TRUTH_AND_EXPR, TRUTH_OR_EXPR and TRUTH_XOR_EXPR
1044 to c_objc_common_truthvalue_conversion, then remove any
1045 C_MAYBE_CONST_EXPR, if they have integer operands. Use
1046 c_objc_common_truthvalue_conversion not
1047 c_common_truthvalue_conversion.
1048 (c_objc_common_truthvalue_conversion): Build NE_EXPR directly and
1049 call note_integer_operands for arguments with integer operands
1050 that are not integer constants.
1052 2012-09-13 Jakub Jelinek <jakub@redhat.com>
1055 * c-typeck.c (c_finish_return): Do convert to BOOLEAN_TYPE or
1056 COMPLEX_TYPE with in_late_binary_op set temporarily to true.
1058 2012-08-31 Jakub Jelinek <jakub@redhat.com>
1061 * c-convert.c (convert): Don't call fold_convert_loc if
1062 TYPE_MAIN_VARIANT of a COMPLEX_TYPE is the same, unless e
1063 is a COMPLEX_EXPR. Remove TYPE_MAIN_VARIANT check from
1064 COMPLEX_TYPE -> COMPLEX_TYPE conversion.
1066 2012-08-24 Jakub Jelinek <jakub@redhat.com>
1069 * c-decl.c (c_parser_label): Pass true as nested and fix up comments
1070 for nested and empty_ok arguments in the call to
1071 c_parser_declaration_or_fndef.
1073 2012-08-17 Jakub Jelinek <jakub@redhat.com>
1075 * c-tree.h (c_last_sizeof_arg): Declare.
1076 * c-parser.c (struct c_tree_loc_pair): New type.
1077 (c_parser_expr_list): Add sizeof_arg argument. Fill it in if
1079 (c_parser_attributes, c_parser_objc_keywordexpr): Adjust callers.
1080 (c_parser_postfix_expression_after_primary): Likewise. Call
1081 sizeof_pointer_memaccess_warning if needed.
1082 (sizeof_ptr_memacc_comptypes): New function.
1083 * c-typeck.c (c_last_sizeof_arg): New global variable.
1084 (c_expr_sizeof_expr, c_expr_sizeof_type): Initialize it.
1086 2012-07-24 Uros Bizjak <ubizjak@gmail.com>
1088 * c-lang.h (lang_decl): Add variable_size GTY option.
1090 2012-07-16 Steven Bosscher <steven@gcc.gnu.org>
1092 * c-decl.c: Include dumpfile.h instead of tree-dump.h.
1093 * Make-lang.in: Fix dependencies.
1095 2012-06-29 Steven Bosscher <steven@gcc.gnu.org>
1097 * Make-lang.in: New file, rules migrated from gcc/Makefile.in
1098 and add language Makefile hooks.
1099 * config-lang.in: New file.
1100 * c-config-lang.in: Moved from gcc/config-lang.in to here, and
1101 add the required "normal" config-lang.in rules.
1102 * c-lang.h: Moved from gcc/ to here.
1103 * c-tree.h: Likewise.
1104 * c-objc-common.c: Likewise.
1105 * c-objc-common.h: Likewise.
1106 * c-typeck.c: Likewise.
1107 * c-convert.c: Likewise.
1108 * c-lang.c: Likewise.
1109 * c-aux-info.c: Likewise.
1110 * c-errors.c: Likewise.
1111 * gccspec.c: Likewise.
1112 * c-decl.c: Likewise. Include gt-c-c-decl.h, not gt-c-decl.h.
1113 * c-parser.c: Likewise. Include gt-c-c-parser.h, not gt-c-parser.h.
1115 Copyright (C) 2012-2014 Free Software Foundation, Inc.
1117 Copying and distribution of this file, with or without modification,
1118 are permitted in any medium without royalty provided the copyright
1119 notice and this notice are preserved.