1 2014-04-22 Jakub Jelinek <jakub@redhat.com>
4 * c-parser.c (c_parser_omp_parallel): If c_parser_omp_for
5 fails, don't set OM_PARALLEL_COMBINED and return NULL.
7 2014-04-22 Release Manager
11 2014-04-15 Igor Zamyatin <igor.zamyatin@intel.com>
14 * c-array-notation.c (fix_builtin_array_notation_fn): Use
15 create_tmp_var instead build_decl for creating temps.
16 (build_array_notation_expr): Likewise.
17 (fix_conditional_array_notations_1): Likewise.
18 (fix_array_notation_expr): Likewise.
19 (fix_array_notation_call_expr): Likewise.
21 2014-03-28 Jakub Jelinek <jakub@redhat.com>
24 * c-tree.h (c_build_function_call_vec): New prototype.
25 * c-typeck.c (build_function_call_vec): Don't call
26 resolve_overloaded_builtin here.
27 (c_build_function_call_vec): New wrapper function around
28 build_function_call_vec. Call resolve_overloaded_builtin here.
29 (convert_lvalue_to_rvalue, build_function_call, build_atomic_assign):
30 Call c_build_function_call_vec instead of build_function_call_vec.
31 * c-parser.c (c_parser_postfix_expression_after_primary): Likewise.
32 * c-decl.c (finish_decl): Likewise.
34 2014-03-18 Manuel López-Ibáñez <manu@gcc.gnu.org>
37 * c-typeck.c: Use correct format string in cast-qual warning
39 2014-03-07 Thomas Schwinge <thomas@codesourcery.com>
41 * c-decl.c (c_decl_attributes): Use
42 lang_hooks.types.omp_mappable_type.
43 * c-typeck.c (c_finish_omp_clauses): Likewise.
45 2014-03-06 Marek Polacek <polacek@redhat.com>
48 * c-typeck.c (c_finish_return): Call contains_cilk_spawn_stmt instead
49 of checking tree code.
51 2014-02-19 Prathamesh Kulkarni <bilbotheelffriend@gmail.com>
53 * c-parser.c (c_parser_declspecs): Replace call to error by error_at.
54 (c_parser_parameter_declaration): Likewise.
56 2014-02-19 Marek Polacek <polacek@redhat.com>
59 * c-typeck.c (convert_lvalue_to_rvalue): Set TREE_NO_WARNING on tmp.
60 Call mark_exp_read on exp.value.
61 (build_atomic_assign): Set TREE_NO_WARNING on val and old. Set
62 TREE_ADDRESSABLE on old instead of val.
63 (emit_side_effect_warnings): Warn only if RHS has !TREE_NO_WARNING.
65 2014-02-07 Prathamesh Kulkarni <bilbotheelffriend@gmail.com>
67 * c-parser.c (c_parser_get_builtin_args): Replace calls to
68 C_EXPR_APPEND by vec_safe_push.
69 * c-tree.h (C_EXPR_APPEND): Remove.
71 2014-01-31 Marek Polacek <polacek@redhat.com>
74 * c-typeck.c (convert_lvalue_to_rvalue): Pass vNULL to
75 build_function_call_vec.
76 (build_function_call): Likewise.
77 (build_atomic_assign): Likewise.
78 (build_function_call_vec): Add arg_loc parameter. Use it.
79 (convert_arguments): Likewise.
80 (convert_for_assignment): Rename rhs_loc to expr_loc.
81 * c-parser.c (c_parser_attributes): Pass NULL to c_parser_expr_list.
82 (c_parser_objc_keywordexpr): Likewise.
83 (c_parser_postfix_expression_after_primary): Call
84 build_function_call_vec with expr_loc rather than op_loc.
85 Call c_parser_expr_list to fill arg_loc. Pass arg_loc to
86 build_function_call_vec.
87 (c_parser_expr_list): Add locations parameter. Fill it with locations
88 of function arguments.
89 * c-decl.c (finish_decl): Pass vNULL to build_function_call_vec.
91 2014-01-30 Marek Polacek <polacek@redhat.com>
94 * c-typeck.c (build_function_call_vec): Use loc parameter.
95 (convert_arguments): Add location parameter. Use it.
96 (ep_convert_and_check): Likewise.
97 (build_atomic_assign): Adjust convert_for_assignment call.
98 (build_modify_expr): Likewise.
99 (digest_init): Likewise.
100 (c_finish_return): Likewise.
101 (build_conditional_expr): Adjust ep_convert_and_check calls.
102 (convert_for_assignment): Add rhs_loc parameter. Use it.
103 (build_binary_op): Adjust convert_and_check and ep_convert_and_check
106 2014-01-30 Richard Biener <rguenther@suse.de>
109 * c-typeck.c (build_function_call_vec): Do not replace calls
110 to a function via an incompatible type with a runtime abort.
112 2014-01-24 Balaji V. Iyer <balaji.v.iyer@intel.com>
114 * c-parser.c (c_parser_declaration_or_fndef): Replaced
115 flag_enable_cilkplus with flag_cilkplus.
116 (c_parser_direct_declarator_inner): Likewise.
117 (c_parser_attribute_any_word): Likewise.
118 (c_parser_attributes): Likewise.
119 (c_parser_compound_statement): Likewise.
120 (c_parser_statement_after_labels): Likewise.
121 (c_parser_if_statement): Likewise.
122 (c_parser_switch_statement): Likewise.
123 (c_parser_do_statement): Likewise.
124 (c_parser_for_statement): Likewise.
125 (c_parser_unary_expression): Likewise.
126 (c_parser_postfix_expression): Likewise.
127 (c_parser_postfix_expression_after_primary): Likewise.
128 (c_parser_postfix_expression_after_primary): Likewise.
129 (c_parser_omp_clause_name): Likewise.
130 (c_finish_omp_declare_simd): Likewise.
131 (c_parser_cilk_verify_simd): Likewise.
132 * c-typeck.c (build_array_ref): Likewise.
133 (build_function_call_vec): Likewise.
134 (convert_arguments): Likewise.
135 (build_compound_expr): Likewise.
136 (c_finish_return): Likewise.
137 (c_finish_if_stmt): Likewise.
138 (c_finish_loop): Likewise.
139 (build_binary_op): Likewise.
141 2014-01-23 Marek Polacek <polacek@redhat.com>
144 * c-typeck.c (parser_build_binary_op): Use location instead of
146 (build_binary_op): Pass location to shorten_compare.
148 2014-01-23 Marek Polacek <polacek@redhat.com>
151 * c-typeck.c (pointer_diff): Give an error on arithmetic on pointer to
154 2014-01-23 Marek Polacek <polacek@redhat.com>
157 * c-typeck.c (build_compound_expr): Warn even for right-hand operand
158 of a comma expression.
159 (emit_side_effect_warnings): Likewise.
161 2014-01-23 Balaji V. Iyer <balaji.v.iyer@intel.com>
164 * c-array-notation.c (expand_array_notation_exprs): Rewrote this
165 function to use walk_tree and moved a lot of its functionality to
166 expand_array_notations.
167 (expand_array_notations): New function.
169 2014-01-23 Balaji V. Iyer <balaji.v.iyer@intel.com>
171 * c-parser.c (c_finish_omp_declare_simd): Made "cilk simd function"
172 attribute an attribute without value.
174 2014-01-23 Jakub Jelinek <jakub@redhat.com>
177 * c-typeck.c (c_finish_omp_clause): Reject MIN_EXPR, MAX_EXPR,
178 BIT_AND_EXPR, BIT_IOR_EXPR and BIT_XOR_EXPR on COMPLEX_TYPEs.
180 2014-01-22 Marek Polacek <polacek@redhat.com>
183 * c-typeck.c (build_conditional_expr): Call c_fully_fold instead
184 of remove_c_maybe_const_expr on op1 and op2.
186 2014-01-15 Jakub Jelinek <jakub@redhat.com>
189 * c-typeck.c (build_modify_expr): For lhs op= rhs, if rhs has side
190 effects, preevaluate rhs using SAVE_EXPR first.
192 2014-01-09 Balaji V. Iyer <balaji.v.iyer@intel.com>
195 * c-parser.c (c_parser_postfix_expression): Replaced consecutive if
196 statements with if-elseif statements.
198 2014-01-06 Marek Polacek <polacek@redhat.com>
201 * c-decl.c (check_bitfield_type_and_width): Warn for implementation
202 defined bit-field types only in ISO C.
204 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
206 Update copyright years
208 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
210 * c-array-notation.c: Use the standard form for the copyright notice.
212 2013-12-18 Balaji V. Iyer <balaji.v.iyer@intel.com>
214 * c-parser.c (struct c_parser::cilk_simd_fn_tokens): Added new field.
215 (c_parser_declaration_or_fndef): Added a check if cilk_simd_fn_tokens
216 field in parser is not empty. If not-empty, call the function
217 c_parser_finish_omp_declare_simd.
218 (c_parser_cilk_clause_vectorlength): Modified function to be shared
219 between SIMD-enabled functions and #pragma simd. Added new parameter.
220 (c_parser_cilk_all_clauses): Modified the usage of the function
221 c_parser_cilk_clause_vectorlength as mentioned above.
222 (c_parser_cilk_simd_fn_vector_attrs): New function.
223 (c_finish_cilk_simd_fn_tokens): Likewise.
224 (is_cilkplus_vector_p): Likewise.
225 (c_parser_omp_clause_name): Added checking for "vectorlength,"
226 "nomask," and "mask" strings in clause name.
227 (c_parser_omp_all_clauses): Added 3 new case statements:
228 PRAGMA_CILK_CLAUSE_VECTORLENGTH, PRAGMA_CILK_CLAUSE_MASK and
229 PRAGMA_CILK_CLAUSE_NOMASK.
230 (c_parser_attributes): Added a cilk_simd_fn_tokens parameter. Added a
231 check for vector attribute and if so call the function
232 c_parser_cilk_simd_fn_vector_attrs. Also, when Cilk plus is enabled,
233 called the function c_finish_cilk_simd_fn_tokens.
234 (c_finish_omp_declare_simd): Added a check if cilk_simd_fn_tokens in
235 parser field is non-empty. If so, parse them as you would parse
236 the omp declare simd pragma.
237 (c_parser_omp_clause_linear): Added a new bool parm. is_cilk_simd_fn.
238 Added a check when step is a parameter and flag it as error.
239 (CILK_SIMD_FN_CLAUSE_MASK): New #define.
240 (c_parser_cilk_clause_name): Changed pragma_cilk_clause to
243 2013-12-17 Thomas Schwinge <thomas@codesourcery.com>
245 * c-parser.c (c_parser_omp_parallel): Fix description.
247 2013-12-11 Balaji V. Iyer <balaji.v.iyer@intel.com>
249 * c-objc-common.h (LANG_HOOKS_CILKPLUS_FRAME_CLEANUP): Remove.
250 (LANG_HOOKS_CILKPLUS_DETECT_SPAWN_AND_UNWRAP): Likewise.
251 (LANG_HOOKS_CILKPLUS_CILKPLUS_GIMPLIFY_SPAWN): Likewise.
252 * c-typeck.c (cilk_install_body_with_frame_cleanup): New function.
254 2013-12-04 Joseph Myers <joseph@codesourcery.com>
257 * c-parser.c (c_parser_alignas_specifier): Use
258 c_sizeof_or_alignof_type instead of c_alignof.
259 (c_parser_alignof_expression): Likewise, with min_alignof
260 parameter depending on alignof spelling used.
262 2013-12-04 Marek Polacek <polacek@redhat.com>
265 * c-decl.c (start_function): Don't warn for missing prototype for
268 2013-12-03 Marek Polacek <polacek@redhat.com>
271 * c-decl.c (build_compound_literal): Allow compound literals with
274 2013-12-02 Joseph Myers <joseph@codesourcery.com>
277 * c-typeck.c (build_modify_expr): Diagnose assignment to
278 expression with array type.
280 2013-11-29 Joseph Myers <joseph@codesourcery.com>
283 * c-typeck.c (process_init_element): Do not treat a string as
284 initializing a whole array when used with a designator for an
287 2013-11-29 Joseph Myers <joseph@codesourcery.com>
290 * c-decl.c (merge_decls): Clear DECL_EXTERNAL for a definition of
291 an inline function following a static declaration.
293 2013-11-28 Jakub Jelinek <jakub@redhat.com>
296 * c-parser.c (c_parser_omp_target): Copy "#pragma omp target"
297 to p_name before calling c_parser_omp_teams instead of after.
298 (c_parser_cilk_simd): Remove wrong ATTRIBUTE_UNUSED from parser
299 argument. Remove unused p_name variable.
301 2013-11-27 Aldy Hernandez <aldyh@redhat.com>
302 Jakub Jelinek <jakub@redhat.com>
304 * c-decl.c (c_builtin_function_ext_scope): Avoid binding if
305 external_scope is NULL.
307 2013-11-27 Tom de Vries <tom@codesourcery.com>
308 Marc Glisse <marc.glisse@inria.fr>
311 * c-typeck.c (build_unary_op): Allow vector increment and decrement.
313 2013-11-22 Andrew MacLeod <amacleod@redhat.com>
315 * c-typeck.c: Add required include files from gimple.h.
317 2013-11-22 David Malcolm <dmalcolm@redhat.com>
319 * c-decl.c (define_label, shadow_tag_warned)
320 (check_bitfield_type_and_width, grokdeclarator, grokparms,
321 store_parm_decls_newstyle, store_parm_decls_oldstyle)
322 (declspecs_add_type): Remove use of in_system_header macro.
323 * c-parser.c (c_parser_unary_expression): Likewise.
324 * c-typeck.c (store_init_value, process_init_element)
325 (c_start_case): Likewise.
327 * c-decl.c (build_enumerator): Remove use of EXPR_LOC_OR_HERE
330 * c-parser.c (c_parser_set_source_position_from_token): Remove
331 reference to in_system_header from comment.
333 2013-11-18 Richard Sandiford <rdsandiford@googlemail.com>
335 * c-decl.c (grokdeclarator): Update comment to refer to
336 tree_to_[su]hwi rather than tree_low_cst.
338 2013-11-18 Richard Sandiford <rdsandiford@googlemail.com>
340 * c-decl.c, c-typeck.c: Replace tree_low_cst (..., 1) with
341 tree_to_uhwi throughout.
343 2013-11-18 Richard Sandiford <rdsandiford@googlemail.com>
345 * c-parser.c: Replace tree_low_cst (..., 0) with tree_to_shwi
348 2013-11-18 Richard Sandiford <rdsandiford@googlemail.com>
350 * c-parser.c: Replace host_integerp (..., 0) with tree_fits_shwi_p
353 2013-11-15 Aldy Hernandez <aldyh@redhat.com>
355 * c-parser.c (c_parser_cilk_simd): New.
356 (c_parser_cilk_verify_simd): New.
357 (c_parser_pragma): Add case for PRAGMA_CILK_SIMD.
358 (c_parser_omp_for_loop): Add case for NE_EXPR.
359 Set c_break_label for CILK_SIMD.
360 (c_parser_cilk_clause_vectorlength): New.
361 (c_parser_cilk_clause_linear): New.
362 (c_parser_cilk_clause_name): New.
363 (c_parser_cilk_all_clauses): New.
364 * c-typeck.c (build_unary_op): Pass location argument to
366 (build_modify_expr): Same.
367 (build_asm_expr): Same.
368 (c_finish_bc_stmt): Error on break/continue in loops.
370 2013-11-14 Andrew MacLeod <amacleod@redhat.com>
372 * c-typeck.c: Include only gimplify.h and gimple.h as needed.
374 2013-11-14 Diego Novillo <dnovillo@google.com>
376 * c-decl.c: Include print-tree.h.
377 Include stor-layout.h.
380 Include stringpool.h.
381 * c-lang.c: Include fold-const.h.
382 * c-parser.c: Include stringpool.h.
384 Include stor-layout.h.
387 * c-typeck.c: Include stor-layout.h.
392 2013-11-13 Joseph Myers <joseph@codesourcery.com>
394 * c-tree.h (c_typespec_keyword): Add cts_auto_type.
395 * c-decl.c (declspecs_add_type, finish_declspecs): Handle
397 * c-parser.c (c_token_starts_typename, c_token_starts_declspecs)
398 (c_parser_attribute_any_word, c_parser_objc_selector): Handle
400 (c_parser_declspecs): Take argument AUTO_TYPE_OK.
401 (c_parser_declaration_or_fndef, c_parser_struct_declaration)
402 (c_parser_declarator, c_parser_direct_declarator_inner)
403 (c_parser_parameter_declaration, c_parser_type_name): All callers
405 (c_parser_declaration_or_fndef): Handle declarations with type
406 determined from the initializer.
408 2013-11-12 Andrew MacLeod <amacleod@redhat.com>
410 * c-typeck.c: Include gimplify.h.
412 2013-11-12 Joseph Myers <joseph@codesourcery.com>
414 * c-tree.h (struct c_declspecs): Add thread_gnu_p field.
415 * c-parser.c (c_parser_declspecs): Mention _Thread_local in
417 * c-decl.c (shadow_tag_warned, grokdeclarator): Mention __thread
418 or _Thread_local as appropriate in diagnostics.
419 (build_null_declspecs): Initialize ret->thread_gnu_p.
420 (declspecs_add_scspec): Handle either __thread or _Thread_local
421 for RID_THREAD. Diagnose _Thread_local for pre-C11 standards if
422 pedantic. Do not disallow _Thread_local extern and _Thread_local
425 2013-11-07 Joseph Myers <joseph@codesourcery.com>
426 Andrew MacLeod <amacleod@redhat.com>
428 * c-aux-info.c (gen_type): Handle atomic qualifier.
429 * c-decl.c (validate_proto_after_old_defn): Do not remove atomic
430 qualifiers when compating types.
431 (shadow_tag_warned): Handle atomic_p in declspecs.
432 (quals_from_declspecs): Likewise.
433 (start_decl): Use c_type_promotes_to when promoting argument
435 (grokdeclarator): Handle _Atomic.
436 (get_parm_info): Diagnose any qualifier on "void" as only
438 (store_parm_decls_oldstyle): Do not remove atomic qualifiers when
439 comparing types. Use c_type_promotes_to when promoting argument
441 (finish_function): Use c_type_promotes_to when promoting argument
443 (build_null_declspecs): Handle atomic_p in declspecs.
444 (declspecs_add_qual): Handle RID_ATOMIC.
445 * c-parser.c (c_token_starts_typename, c_token_is_qualifier)
446 (c_token_starts_declspecs): Handle RID_ATOMIC.
447 (c_parser_declspecs): Handle atomic type specifiers and
449 (c_parser_typeof_specifier): Remove const and _Atomic qualifiers
450 from types of expressions with atomic type.
451 (c_parser_direct_declarator_inner): Use convert_lvalue_to_rvalue.
452 (c_parser_attribute_any_word): Handle RID_ATOMIC.
453 (c_parser_initializer, c_parser_initelt, c_parser_initval)
454 (c_parser_statement_after_labels, c_parser_switch_statement)
455 (c_parser_for_statement, c_parser_expr_no_commas)
456 (c_parser_conditional_expression, c_parser_binary_expression)
457 (c_parser_cast_expression, c_parser_unary_expression)
458 (c_parser_postfix_expression)
459 (c_parser_postfix_expression_after_primary, c_parser_expression):
460 Use convert_lvalue_to_rvalue.
461 (c_parser_expression_conv, c_parser_expr_list): Document
462 conversion of lvalues to rvalues. Use convert_lvalue_to_rvalue.
463 (c_parser_objc_synchronized_statement): Use
464 convert_lvalue_to_rvalue.
465 (c_parser_objc_selector): Handle RID_ATOMIC.
466 (c_parser_objc_receiver, c_parser_array_notation): Use
467 convert_lvalue_to_rvalue.
468 * c-tree.h (ctsk_typeof): Adjust comment to mention use for
470 (struct c_declspecs): Add atomic_p field.
471 (convert_lvalue_to_rvalue): Declare.
472 * c-typeck.c (c_type_promotes_to): Promote atomic types to
473 corresponding atomic types.
474 (qualify_type): Don't add _Atomic qualifiers from second argument.
475 (comp_target_types): Do not allow _Atomic mismatches.
476 (type_lists_compatible_p): Do not remove atomic qualifiers when
478 (really_atomic_lvalue, convert_lvalue_to_rvalue)
479 (build_atomic_assign): New functions.
480 (build_unary_op): Use build_atomic_assign for atomic increment and
482 (build_conditional_expr): Do not treat _Atomic void as a qualified
484 (build_modify_expr): Use build_atomic_assign for atomic LHS.
485 (find_anonymous_field_with_type, convert_to_anonymous_field)
486 (convert_for_assignment): Do not remove atomic qualifiers when
488 (digest_init): Do not accept initialization of arrays of atomic
489 elements by string constants.
490 (build_asm_expr): Use convert_lvalue_to_rvalue.
491 (build_binary_op): Do not treat _Atomic void as a qualified
494 2013-11-06 DJ Delorie <dj@redhat.com>
496 * c-decl.c (locate_old_decl): If a previous conflicting decl is
497 both explicit and builtin, print the location of the explicit one.
499 2013-11-05 Tobias Burnus <burnus@net-b.de>
501 * c-parser.c (c_parser_omp_for, c_parser_omp_parallel,
502 c_parser_omp_distribute, c_parser_omp_teams,
503 c_parser_omp_target, c_parser_omp_declare): Handle
506 2013-11-03 Marek Polacek <polacek@redhat.com>
508 * c-decl.c (grokdeclarator): Add VLA instrumentation.
510 2013-11-01 Jakub Jelinek <jakub@redhat.com>
512 * c-typeck.c (c_finish_omp_clauses) <case OMP_CLAUSE_UNIFORM>: Go to
513 check_dup_generic at the end, unless remove is true.
514 (c_finish_omp_clauses) <case OMP_CLAUSE_REDUCTION>: Add break; after
516 (c_finish_omp_clauses) <case OMP_CLAUSE_COPYIN>: Likewise.
518 2013-10-31 Jakub Jelinek <jakub@redhat.com>
520 * c-typeck.c (c_finish_omp_clauses): Diagnose aligned clause
521 with decl that is not pointer nor array.
523 2013-10-29 Balaji V. Iyer <balaji.v.iyer@intel.com>
525 * c-decl.c (finish_function): Added a call for insert_cilk_frame when
526 a spawning function is found.
527 * c-objc-common.h (LANG_HOOKS_CILKPLUS_GIMPLIFY_SPAWN): New #define.
528 (LANG_HOOKS_CILKPLUS_FRAME_CLEANUP): Likewise.
529 (LANG_HOOKS_CILKPLUS_DETECT_SPAWN_AND_UNWRAP): Likewise.
530 * c-parser.c (c_parser_statement_after_labels): Added RID_CILK_SYNC
532 (c_parser_postfix_expression): Added RID_CILK_SPAWN case.
533 * c-typeck.c (build_compound_expr): Reject _Cilk_spawn in a comma
535 (c_finish_return): Added a check to reject _Cilk_spawn in return
537 (build_cilk_spawn): New function.
538 (build_cilk_sync): Likewise.
539 * Makefile.in (c-decl.o): Added cilk.h in dependency list.
541 2013-10-27 Tobias Burnus <burnus@net-b.de>
544 * c-parser.c (c_parser_while_statement, c_parser_while_statement,
545 c_parser_pragma): Add GCC ivdep support to 'do' and 'while'.
546 (c_parser_statement_after_labels): Update calls.
548 2013-10-24 Tobias Burnus <burnus@net-b.de>
551 * c-parser.c (c_parser_pragma, c_parser_for_statement):
553 (c_parser_statement_after_labels): Update call.
555 2013-10-24 Marek Polacek <polacek@redhat.com>
557 * c-parser.c (c_parser_struct_declaration): Add a comment.
558 (c_parser_declarator): Don't allow _Alignas here.
560 2013-10-17 Andrew MacLeod <amacleod@redhat.com>
562 * c-parser.c: Include omp-low.h.
563 * c-typeck.c: Likewise.
565 2013-10-17 Marek Polacek <polacek@redhat.com>
568 * c-parser.c (c_parser_declspecs): Add alignspec_ok parameter.
569 Document syntax of the array-declarator.
570 (c_parser_declspecs) <RID_ALIGNAS>: Bail out if alignment specs
572 (c_parser_declaration_or_fndef): Adjust c_parser_declspecs call.
573 (c_parser_struct_declaration): Likewise.
574 (c_parser_declarator): Likewise.
575 (c_parser_direct_declarator_inner): Likewise.
576 (c_parser_parameter_declaration): Likewise.
577 (c_parser_type_name): Likewise.
579 2013-10-11 Jakub Jelinek <jakub@redhat.com>
581 * c-lang.h (current_omp_declare_target_attribute): New extern
583 * c-parser.c: Include c-lang.h.
584 (struct c_parser): Change tokens to c_token *.
585 Add tokens_buf field. Change tokens_avail type to unsigned int.
586 (c_parser_consume_token): If parser->tokens isn't
587 &parser->tokens_buf[0], increment parser->tokens.
588 (c_parser_consume_pragma): Likewise.
589 (enum pragma_context): Add pragma_struct and pragma_param.
590 (c_parser_external_declaration): Adjust
591 c_parser_declaration_or_fndef caller.
592 (c_parser_declaration_or_fndef): Add omp_declare_simd_clauses
593 argument, if it is non-vNULL vector, call c_finish_omp_declare_simd.
594 Adjust recursive call.
595 (c_parser_struct_or_union_specifier): Use pragma_struct instead
597 (c_parser_parameter_declaration): Use pragma_param instead of
599 (c_parser_compound_statement_nostart, c_parser_label,
600 c_parser_for_statement): Adjust
601 c_parser_declaration_or_fndef callers.
602 (c_parser_expr_no_commas): Add omp_atomic_lhs argument, pass
603 it through to c_parser_conditional_expression.
604 (c_parser_conditional_expression): Add omp_atomic_lhs argument,
605 pass it through to c_parser_binary_expression. Adjust recursive
607 (c_parser_binary_expression): Remove prec argument, add
608 omp_atomic_lhs argument instead. Always start from PREC_NONE, if
609 omp_atomic_lhs is non-NULL and one of the arguments of toplevel
610 binop matches it, use build2 instead of parser_build_binary_op.
611 (c_parser_pragma): Handle PRAGMA_OMP_CANCEL,
612 PRAGMA_OMP_CANCELLATION_POINT, PRAGMA_OMP_TARGET,
613 PRAGMA_OMP_END_DECLARE_TARGET, PRAGMA_OMP_DECLARE_REDUCTION.
614 Handle pragma_struct and pragma_param the same as pragma_external.
615 (c_parser_omp_clause_name): Parse new OpenMP 4.0 clause names.
616 (c_parser_omp_variable_list): Parse array sections for
617 OMP_CLAUSE_{DEPEND,MAP,TO,FROM} clauses.
618 (c_parser_omp_clause_collapse): Fully fold collapse expression.
619 (c_parser_omp_clause_reduction): Handle user defined reductions.
620 (c_parser_omp_clause_branch, c_parser_omp_clause_cancelkind,
621 c_parser_omp_clause_num_teams, c_parser_omp_clause_thread_limit,
622 c_parser_omp_clause_aligned, c_parser_omp_clause_linear,
623 c_parser_omp_clause_safelen, c_parser_omp_clause_simdlen,
624 c_parser_omp_clause_depend, c_parser_omp_clause_map,
625 c_parser_omp_clause_device, c_parser_omp_clause_dist_schedule,
626 c_parser_omp_clause_proc_bind, c_parser_omp_clause_to,
627 c_parser_omp_clause_from, c_parser_omp_clause_uniform): New functions.
628 (c_parser_omp_all_clauses): Add finish_p argument. Don't call
629 c_finish_omp_clauses if it is false. Handle new OpenMP 4.0 clauses.
630 (c_parser_omp_atomic): Parse seq_cst clause, pass true if it is
631 present to c_finish_omp_atomic. Handle OpenMP 4.0 atomic forms.
632 (c_parser_omp_for_loop): Add CODE argument, pass it through
633 to c_finish_omp_for. Change last argument to cclauses,
634 and adjust uses to grab parallel clauses from the array of all
635 the split clauses. Adjust c_parser_binary_expression,
636 c_parser_declaration_or_fndef and c_finish_omp_for callers.
637 (omp_split_clauses): New function.
638 (c_parser_omp_simd): New function.
639 (c_parser_omp_for): Add p_name, mask and cclauses arguments.
640 Allow the function to be called also when parsing combined constructs,
641 and call c_parser_omp_simd when parsing for simd.
642 (c_parser_omp_sections_scope): If section-sequence doesn't start with
643 #pragma omp section, require exactly one structured-block instead of
644 sequence of statements.
645 (c_parser_omp_sections): Add p_name, mask and cclauses arguments.
646 Allow the function to be called also when parsing combined constructs.
647 (c_parser_omp_parallel): Add p_name, mask and cclauses arguments.
648 Allow the function to be called also when parsing combined
650 (c_parser_omp_taskgroup, c_parser_omp_cancel,
651 c_parser_omp_cancellation_point, c_parser_omp_distribute,
652 c_parser_omp_teams, c_parser_omp_target_data,
653 c_parser_omp_target_update, c_parser_omp_target,
654 c_parser_omp_declare_simd, c_finish_omp_declare_simd,
655 c_parser_omp_declare_target, c_parser_omp_end_declare_target,
656 c_parser_omp_declare_reduction, c_parser_omp_declare): New functions.
657 (c_parser_omp_construct): Add p_name and mask vars. Handle
658 PRAGMA_OMP_DISTRIBUTE, PRAGMA_OMP_SIMD, PRAGMA_OMP_TASKGROUP,
659 PRAGMA_OMP_TEAMS. Adjust c_parser_omp_for, c_parser_omp_parallel
660 and c_parser_omp_sections callers.
661 (c_parse_file): Initialize tparser.tokens and the_parser->tokens here.
662 (OMP_FOR_CLAUSE_MASK, OMP_SECTIONS_CLAUSE_MASK,
663 OMP_SINGLE_CLAUSE_MASK): Use OMP_CLAUSE_MASK_1 instead of 1.
664 (OMP_PARALLEL_CLAUSE_MASK): Likewise. Add OMP_CLAUSE_PROC_BIND.
665 (OMP_TASK_CLAUSE_MASK): Use OMP_CLAUSE_MASK_1 instead of 1. Add
667 (OMP_SIMD_CLAUSE_MASK, OMP_CANCEL_CLAUSE_MASK,
668 OMP_CANCELLATION_POINT_CLAUSE_MASK, OMP_DISTRIBUTE_CLAUSE_MASK,
669 OMP_TEAMS_CLAUSE_MASK, OMP_TARGET_DATA_CLAUSE_MASK,
670 OMP_TARGET_UPDATE_CLAUSE_MASK, OMP_TARGET_CLAUSE_MASK,
671 OMP_DECLARE_SIMD_CLAUSE_MASK): Define.
672 * c-typeck.c: Include tree-inline.h.
673 (c_finish_omp_cancel, c_finish_omp_cancellation_point,
674 handle_omp_array_sections_1, handle_omp_array_sections,
675 c_clone_omp_udr, c_find_omp_placeholder_r): New functions.
676 (c_finish_omp_clauses): Handle new OpenMP 4.0 clauses and
677 user defined reductions.
678 (c_tree_equal): New function.
679 * c-tree.h (temp_store_parm_decls, temp_pop_parm_decls,
680 c_finish_omp_cancel, c_finish_omp_cancellation_point, c_tree_equal,
681 c_omp_reduction_id, c_omp_reduction_decl, c_omp_reduction_lookup,
682 c_check_omp_declare_reduction_r): New prototypes.
683 * c-decl.c (current_omp_declare_target_attribute): New variable.
684 (c_decl_attributes): New function.
685 (start_decl, start_function): Use it instead of decl_attributes.
686 (temp_store_parm_decls, temp_pop_parm_decls, c_omp_reduction_id,
687 c_omp_reduction_decl, c_omp_reduction_lookup,
688 c_check_omp_declare_reduction_r): New functions.
690 2013-09-25 Tom Tromey <tromey@redhat.com>
692 * Make-lang.in (c/gccspec.o): Remove.
693 (CFLAGS-c/gccspec.o): New variable.
694 (cc1-checksum.o, C_TREE_H, c/c-aux-info.o, c/c-convert.o)
695 (c/c-decl.o, c/c-errors.o, c/c-lang.o, c/c-objc-common.o)
696 (c/c-parser.o, c/c-typeck.o, c/c-array-notation.o): Remove.
698 2013-09-25 Tom Tromey <tromey@redhat.com>
700 * Make-lang.in (c/gccspec.o): Don't use subshell.
702 2013-09-18 Marek Polacek <polacek@redhat.com>
705 * c-typeck.c (build_binary_op): Properly honor -fsanitize options.
706 Remove unnecessary check.
708 2013-09-18 Marek Polacek <polacek@redhat.com>
711 * c-typeck.c (build_binary_op): Don't sanitize function if it has the
712 no_sanitize_undefined attribute.
714 2013-09-13 Kai Tietz <ktietz@redhat.com>
717 * c-decl.c (c_builtin_function_ext_scope): Remove
718 wrong assumption that it is never called on prexisting
721 2013-09-08 Joern Rennecke <joern.rennecke@embecosm.com>
723 * c-typeck.c (build_binary_op): Use vector_types_compatible_elements_p.
725 2013-09-03 Gabriel Dos Reis <gdr@integrable-solutions.net>
727 * c-objc-common.c (c_tree_printer): Tidy.
729 2013-08-30 Marek Polacek <polacek@redhat.com>
731 * c-typeck.c (build_binary_op): Add division by zero and shift
734 2013-08-26 Joern Rennecke <joern.rennecke@embecosm.com>
735 Joseph Myers <joseph@codesourcery.com>
738 * c-typeck.c (c_common_type): Prefer double_type_node over
739 other REAL_TYPE types with the same precision.
740 (convert_arguments): Likewise.
742 2013-08-23 Gabriel Dos Reis <gdr@integrable-solutions.net>
744 * c-objc-common.c (c_tree_printer): Document the nature of the cast.
745 (c_initialize_diagnostics): Call a destructor for the early printer.
747 2013-08-22 Gabriel Dos Reis <gdr@integrable-solutions.net>
749 * c-objc-common.c (c_initialize_diagnostics): Simplify C pretty
750 printer initialization.
752 2013-08-19 Balaji V. Iyer <balaji.v.iyer@intel.com>
755 * c-array-notation.c (fix_conditional_array_notations_1): Added a
756 check for truth values.
757 (expand_array_notation_exprs): Added truth values case. Removed an
758 unwanted else. Added for-loop to walk through subtrees in default
761 2013-08-04 Gabriel Dos Reis <gdr@integrable-solutions.net>
763 * c-objc-common.c (c_initialize_diagnostics): Don't call pp_base.
765 2013-07-23 Joseph Myers <joseph@codesourcery.com>
767 * c-parser.c (struct c_generic_association): Fix typo.
769 2013-07-23 Tom Tromey <tromey@redhat.com>
770 Joseph Myers <joseph@codesourcery.com>
772 * c-parser.c (struct c_generic_association): New.
773 (c_generic_association_d): New typedef.
774 (c_parser_generic_selection): New function.
775 (c_parser_postfix_expression): Handle RID_GENERIC.
777 2013-07-13 Jason Merrill <jason@redhat.com>
780 * c-decl.c (finish_struct): Check for too-large class.
782 2013-07-04 Joern Rennecke <joern.rennecke@embecosm.com>
785 * c-typeck.c (set_init_index): When folding, check for index overflow.
787 2013-06-28 Balaji V. Iyer <balaji.v.iyer@intel.com>
789 * c-parser.c (c_parser_array_notation): Removed rejection of array
790 notations in an array of function pointers.
792 2013-06-21 Balaji V. Iyer <balaji.v.iyer@intel.com>
794 * c-array-notation.c (make_triplet_val_inv): New function.
795 (create_cmp_incr): Likewise.
796 (create_array_refs): Likewise.
797 (fix_builtin_array_notation_fn): Replaced all mallocs with tree vec.
798 Also modularized common parts between functions and called the function.
799 (build_array_notation_expr): Likewise.
800 (fix_conditional_array_notations_1): Likewise.
801 (fix_array_notation_expr): Likewise.
802 (fix_array_notation_call_expr): Likewise.
804 2013-06-18 Marek Polacek <polacek@redhat.com>
807 * c-decl.c (check_for_loop_decls): Improve diagnostics messages.
809 2013-06-12 Balaji V. Iyer <balaji.v.iyer@intel.com>
811 * c-array-notation.c (build_array_notation_expr): Reject array notation
812 mismatch between LHS and RHS even inside a call_expr. Also, removed
813 a couple while statements that were dead code.
815 2013-06-10 Balaji V. Iyer <balaji.v.iyer@intel.com>
817 * c-array-notation.c (fix_builtin_array_notation_fn): Fully folded
818 excessive precision expressions in function parameters. Also removed
819 couple unwanted while statements.
821 2013-06-07 Balaji V. Iyer <balaji.v.iyer@intel.com>
823 * c-array-notation.c (expand_array_notation_exprs): Added
824 ARRAY_NOTATION_REF case.
826 2013-06-07 Balaji V. Iyer <balaji.v.iyer@intel.com>
828 * c-array-notation.c (length_mismatch_in_expr_p): Moved this
829 function to c-family/array-notation-common.c.
830 (is_cilkplus_reduce_builtin): Likewise.
831 (find_rank): Likewise.
832 (extract_array_notation_exprs): Likewise.
833 (replace_array_notations): Likewise.
834 (find_inv_trees): Likewise.
835 (replace_inv_trees): Likewise.
836 (contains_array_notation_expr): Likewise.
837 (find_correct_array_notation_type): Likewise.
838 (replace_invariant_exprs): Initialized additional_tcodes to NULL.
839 (struct inv_list): Moved this to c-family/array-notation-common.c.
840 * c-tree.h (is_cilkplus_builtin_reduce): Remove prototype.
842 2013-06-05 Balaji V. Iyer <balaji.v.iyer@intel.com>
844 * c-typeck.c (convert_arguments): Moved checking of builtin cilkplus
845 reduction functions outside the for-loop. Added a check if the fundecl
846 is non-NULL. Finally, removed an unwanted if-statement, and made the
849 2013-06-03 Balaji V. Iyer <balaji.v.iyer@intel.com>
851 * c-typeck.c (c_finish_if_stmt): Added a check to see if the rank of the
852 condition of the if-statement matches the rank of else-block and then-
853 block when array notations are used.
854 * c-parser.c (c_parser_declaration_or_fndef): Expanded array notation
855 expression after the entire function body is parsed.
856 (c_parser_expr_no_commas): Delayed creating array notation expressions
857 to the end of function parsing.
858 * c-array-notation.c (fix_conditional_array_notations_1): Expanded the
859 whole if-statement instead of just the condition.
860 (expand_array_notation_exprs): Added MODIFY_EXPR case.
862 2013-06-03 Balaji V. Iyer <balaji.v.iyer@intel.com>
865 * c-array-notation.c (build_array_notation_expr): Initialized rhs_length
866 array to NULL_TREE if they are unused. Also added a check for the
867 field to be NULL before its fields are used in future.
869 2013-05-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
872 * c-array-notation.c (length_mismatch_in_expr_p): Use absu_hwi.
873 (build_array_notation_expr): Likewise.
875 2013-05-28 Balaji V. Iyer <balaji.v.iyer@intel.com>
877 * c-typeck.c (build_array_ref): Added a check to see if array's
878 index is greater than one. If true, then emit an error.
879 (build_function_call_vec): Exclude error reporting and checking
880 for builtin array-notation functions.
881 (convert_arguments): Likewise.
882 (c_finish_return): Added a check for array notations as a return
883 expression. If true, then emit an error.
884 (c_finish_loop): Added a check for array notations in a loop
885 condition. If true then emit an error.
886 (lvalue_p): Added a ARRAY_NOTATION_REF case.
887 (build_binary_op): Added a check for array notation expr inside
888 op1 and op0. If present, we call another function to find correct
890 * Make-lang.in (C_AND_OBJC_OBJS): Added c-array-notation.o.
891 * c-parser.c (c_parser_compound_statement): Check if array
892 notation code is used in tree, if so, then transform them into
894 (c_parser_expr_no_commas): Check if array notation is used in LHS
895 or RHS, if so, then build array notation expression instead of
897 (c_parser_postfix_expression_after_primary): Added a check for
898 colon(s) after square braces, if so then handle it like an array
899 notation. Also, break up array notations in unary op if found.
900 (c_parser_direct_declarator_inner): Added a check for array
902 (c_parser_compound_statement): Added a check for array notation in
903 a stmt. If one is present, then expand array notation expr.
904 (c_parser_if_statement): Likewise.
905 (c_parser_switch_statement): Added a check for array notations in
906 a switch statement's condition. If true, then output an error.
907 (c_parser_while_statement): Similarly, but for a while.
908 (c_parser_do_statement): Similarly, but for a do-while.
909 (c_parser_for_statement): Similarly, but for a for-loop.
910 (c_parser_unary_expression): Check if array notation is used in a
911 pre-increment or pre-decrement expression. If true, then expand
913 (c_parser_array_notation): New function.
914 * c-array-notation.c: New file.
915 * c-tree.h (is_cilkplus_reduce_builtin): Protoize.
917 2013-05-23 Mike Stump <mikestump@comcast.net>
919 * c-typeck.c (convert_for_assignment): Handle references to memory
922 2013-05-16 Jason Merrill <jason@redhat.com>
924 * Make-lang.in (cc1$(exeext)): Use link mutex.
926 2013-04-24 Paolo Carlini <paolo.carlini@oracle.com>
928 * c-typeck.c (pointer_diff): Change -Wpointer-arith pedwarns
929 to simply use OPT_Wpointer_arith.
930 (build_unary_op): Likewise.
932 2013-04-03 Jakub Jelinek <jakub@redhat.com>
935 * c-parser.c (c_parser_get_builtin_args): Add choose_expr_p
936 argument. If set, or it temporarily for parsing of the first
937 argument into force_folding_builtin_constant_p.
938 (c_parser_postfix_expression): Adjust callers.
940 2013-03-21 Richard Biener <rguenther@suse.de>
942 * c-objc-common.c (c_tree_printer): Use DECL_HAS_DEBUG_EXPR_P
943 instead of DECL_DEBUG_EXPR_IS_FROM. Guard properly.
945 2013-02-12 Marek Polacek <polacek@redhat.com>
948 * c-parser.c (c_parser_postfix_expression_after_primary): Initialize
951 2013-01-24 Jakub Jelinek <jakub@redhat.com>
954 * c-typeck.c (set_nonincremental_init_from_string): If
955 constructor_max_index is NULL, treat it as if tree_int_cst_lt
957 (process_init_element): Likewise.
959 2012-12-20 Jakub Jelinek <jakub@redhat.com>
962 * c-parser.c (c_parser_asm_operands): Remove CONVERT_P
963 argument, don't call default_function_array_conversion
964 nor c_fully_fold here.
965 (c_parser_asm_statement): Adjust callers.
966 * c-typeck.c (build_asm_expr): Call c_fully_fold on inputs
967 and outputs here, and call default_function_array_conversion
968 on inputs that don't need to be addressable.
970 2012-12-18 Jakub Jelinek <jakub@redhat.com>
973 * c-typeck.c (convert_for_assignment): For -Wpointer-sign
974 warning require that both c_common_unsigned_type as well as
975 c_common_signed_type is the same for both mvl and mvr types.
977 2012-11-16 Diego Novillo <dnovillo@google.com>
979 Adjust for new vec API (http://gcc.gnu.org/wiki/cxx-conversion/cxx-vec)
981 * c-common.c: Use new vec API in vec.h.
982 * c-common.h: Likewise.
983 * c-gimplify.c: Likewise.
984 * c-pragma.c: Likewise.
985 * c-pretty-print.c: Likewise.
986 * c-pretty-print.h: Likewise.
987 * c-semantics.c: Likewise.
988 * c-decl.c: Likewise.
989 * c-parser.c: Likewise.
990 * c-tree.h: Likewise.
991 * c-typeck.c: Likewise.
993 2012-10-29 Jonathan Wakely <jwakely.gcc@gmail.com>
996 * c-typeck.c (c_finish_return): Use OPT_Wreturn_local_addr.
998 2012-10-29 Manuel López-Ibáñez <manu@gcc.gnu.org>
1001 * c-decl.c (warn_if_shadowing): Do not warn if a variable
1002 shadows a function, unless the variable is a function or a
1003 pointer-to-function.
1005 2012-10-12 Jakub Jelinek <jakub@redhat.com>
1008 * c-parser.c (struct c_tree_loc_pair): Removed.
1009 (c_parser_expr_list): Remove struct c_tree_loc_pair * argument,
1010 add location_t * and tree * arguments, fill in array of 3
1011 sizeof_arg trees and corresponding locs.
1012 (c_parser_attributes, c_parser_objc_keywordexpr): Adjust
1013 c_parser_expr_list callers.
1014 (c_parser_postfix_expression_after_primary): Likewise. Pass
1015 array of 3 sizeof_arg trees and locs (corresponding to first
1016 3 arguments) to sizeof_pointer_memaccess_warning.
1018 2012-10-09 Lawrence Crowl <crowl@google.com>
1020 * Make-lang.in (c-decl.o): Add dependence on hash-table.h.
1021 * c-decl.c (detect_field_duplicates_hash): Change to new type-safe
1024 2012-10-09 Paolo Carlini <paolo.carlini@oracle.com>
1027 * c-typeck.c (parser_build_binary_op): Update warn_about_parentheses
1030 2012-10-09 Marc Glisse <marc.glisse@inria.fr>
1033 * c-typeck.c: Include c-common.h.
1034 (enum stv_conv): Moved to c-common.h.
1035 (scalar_to_vector): Moved to c-common.c.
1036 (build_binary_op): Adapt to scalar_to_vector's new prototype.
1037 * Make-lang.in: c-typeck.c depends on c-common.h.
1039 2012-10-04 Arnaud Charlet <charlet@adacore.com>
1041 * c-decl.c (c_write_global_declarations): Fix handling of
1044 2012-09-30 Sharad Singhai <singhai@google.com>
1046 * c-decl.c (c_write_global_declarations): Use a different method
1047 to determine if the dump has ben initialized.
1049 2012-09-14 Joseph Myers <joseph@codesourcery.com>
1052 * c-typeck.c (c_cast_expr): When casting to a type requiring
1053 C_MAYBE_CONST_EXPR to be created, pass the inner expression to
1056 2012-09-14 Joseph Myers <joseph@codesourcery.com>
1059 * c-typeck.c (build_unary_op): Pass original argument of
1060 TRUTH_NOT_EXPR to c_objc_common_truthvalue_conversion, then remove
1061 any C_MAYBE_CONST_EXPR, if it has integer operands.
1062 (build_binary_op): Pass original arguments of TRUTH_ANDIF_EXPR,
1063 TRUTH_ORIF_EXPR, TRUTH_AND_EXPR, TRUTH_OR_EXPR and TRUTH_XOR_EXPR
1064 to c_objc_common_truthvalue_conversion, then remove any
1065 C_MAYBE_CONST_EXPR, if they have integer operands. Use
1066 c_objc_common_truthvalue_conversion not
1067 c_common_truthvalue_conversion.
1068 (c_objc_common_truthvalue_conversion): Build NE_EXPR directly and
1069 call note_integer_operands for arguments with integer operands
1070 that are not integer constants.
1072 2012-09-13 Jakub Jelinek <jakub@redhat.com>
1075 * c-typeck.c (c_finish_return): Do convert to BOOLEAN_TYPE or
1076 COMPLEX_TYPE with in_late_binary_op set temporarily to true.
1078 2012-08-31 Jakub Jelinek <jakub@redhat.com>
1081 * c-convert.c (convert): Don't call fold_convert_loc if
1082 TYPE_MAIN_VARIANT of a COMPLEX_TYPE is the same, unless e
1083 is a COMPLEX_EXPR. Remove TYPE_MAIN_VARIANT check from
1084 COMPLEX_TYPE -> COMPLEX_TYPE conversion.
1086 2012-08-24 Jakub Jelinek <jakub@redhat.com>
1089 * c-decl.c (c_parser_label): Pass true as nested and fix up comments
1090 for nested and empty_ok arguments in the call to
1091 c_parser_declaration_or_fndef.
1093 2012-08-17 Jakub Jelinek <jakub@redhat.com>
1095 * c-tree.h (c_last_sizeof_arg): Declare.
1096 * c-parser.c (struct c_tree_loc_pair): New type.
1097 (c_parser_expr_list): Add sizeof_arg argument. Fill it in if
1099 (c_parser_attributes, c_parser_objc_keywordexpr): Adjust callers.
1100 (c_parser_postfix_expression_after_primary): Likewise. Call
1101 sizeof_pointer_memaccess_warning if needed.
1102 (sizeof_ptr_memacc_comptypes): New function.
1103 * c-typeck.c (c_last_sizeof_arg): New global variable.
1104 (c_expr_sizeof_expr, c_expr_sizeof_type): Initialize it.
1106 2012-07-24 Uros Bizjak <ubizjak@gmail.com>
1108 * c-lang.h (lang_decl): Add variable_size GTY option.
1110 2012-07-16 Steven Bosscher <steven@gcc.gnu.org>
1112 * c-decl.c: Include dumpfile.h instead of tree-dump.h.
1113 * Make-lang.in: Fix dependencies.
1115 2012-06-29 Steven Bosscher <steven@gcc.gnu.org>
1117 * Make-lang.in: New file, rules migrated from gcc/Makefile.in
1118 and add language Makefile hooks.
1119 * config-lang.in: New file.
1120 * c-config-lang.in: Moved from gcc/config-lang.in to here, and
1121 add the required "normal" config-lang.in rules.
1122 * c-lang.h: Moved from gcc/ to here.
1123 * c-tree.h: Likewise.
1124 * c-objc-common.c: Likewise.
1125 * c-objc-common.h: Likewise.
1126 * c-typeck.c: Likewise.
1127 * c-convert.c: Likewise.
1128 * c-lang.c: Likewise.
1129 * c-aux-info.c: Likewise.
1130 * c-errors.c: Likewise.
1131 * gccspec.c: Likewise.
1132 * c-decl.c: Likewise. Include gt-c-c-decl.h, not gt-c-decl.h.
1133 * c-parser.c: Likewise. Include gt-c-c-parser.h, not gt-c-parser.h.
1135 Copyright (C) 2012-2014 Free Software Foundation, Inc.
1137 Copying and distribution of this file, with or without modification,
1138 are permitted in any medium without royalty provided the copyright
1139 notice and this notice are preserved.