]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/c/ChangeLog
compiler: Use backend interface for unary expressions.
[thirdparty/gcc.git] / gcc / c / ChangeLog
CommitLineData
393e8e8b
MP
12014-01-23 Marek Polacek <polacek@redhat.com>
2
3 PR c/59846
4 * c-typeck.c (parser_build_binary_op): Use location instead of
5 input_location.
6 (build_binary_op): Pass location to shorten_compare.
7
f04dda30
MP
82014-01-23 Marek Polacek <polacek@redhat.com>
9
10 PR c/58346
11 * c-typeck.c (pointer_diff): Give an error on arithmetic on pointer to
12 an empty aggregate.
13
789eadcd
MP
142014-01-23 Marek Polacek <polacek@redhat.com>
15
16 PR c/59871
17 * c-typeck.c (build_compound_expr): Warn even for right-hand operand
18 of a comma expression.
19 (emit_side_effect_warnings): Likewise.
20
40f14e9f
BI
212014-01-23 Balaji V. Iyer <balaji.v.iyer@intel.com>
22
23 PR c/59825
24 * c-array-notation.c (expand_array_notation_exprs): Rewrote this
25 function to use walk_tree and moved a lot of its functionality to
26 expand_array_notations.
27 (expand_array_notations): New function.
28
74558dd9
BI
292014-01-23 Balaji V. Iyer <balaji.v.iyer@intel.com>
30
31 * c-parser.c (c_finish_omp_declare_simd): Made "cilk simd function"
32 attribute an attribute without value.
33
652fea39
JJ
342014-01-23 Jakub Jelinek <jakub@redhat.com>
35
36 PR middle-end/58809
37 * c-typeck.c (c_finish_omp_clause): Reject MIN_EXPR, MAX_EXPR,
38 BIT_AND_EXPR, BIT_IOR_EXPR and BIT_XOR_EXPR on COMPLEX_TYPEs.
39
f34f1c87
MP
402014-01-22 Marek Polacek <polacek@redhat.com>
41
42 PR c/59891
43 * c-typeck.c (build_conditional_expr): Call c_fully_fold instead
44 of remove_c_maybe_const_expr on op1 and op2.
45
241f845a
JJ
462014-01-15 Jakub Jelinek <jakub@redhat.com>
47
48 PR c/58943
49 * c-typeck.c (build_modify_expr): For lhs op= rhs, if rhs has side
50 effects, preevaluate rhs using SAVE_EXPR first.
51
9a74f20c
BI
522014-01-09 Balaji V. Iyer <balaji.v.iyer@intel.com>
53
54 PR c++/59631
55 * c-parser.c (c_parser_postfix_expression): Replaced consecutive if
56 statements with if-elseif statements.
57
96066ce1
MP
582014-01-06 Marek Polacek <polacek@redhat.com>
59
60 PR c/57773
61 * c-decl.c (check_bitfield_type_and_width): Warn for implementation
62 defined bit-field types only in ISO C.
63
23a5b65a
RS
642014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
65
66 Update copyright years
67
f9030485
RS
682014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
69
70 * c-array-notation.c: Use the standard form for the copyright notice.
71
41958c28
BI
722013-12-18 Balaji V. Iyer <balaji.v.iyer@intel.com>
73
74 * c-parser.c (struct c_parser::cilk_simd_fn_tokens): Added new field.
75 (c_parser_declaration_or_fndef): Added a check if cilk_simd_fn_tokens
76 field in parser is not empty. If not-empty, call the function
77 c_parser_finish_omp_declare_simd.
78 (c_parser_cilk_clause_vectorlength): Modified function to be shared
79 between SIMD-enabled functions and #pragma simd. Added new parameter.
80 (c_parser_cilk_all_clauses): Modified the usage of the function
81 c_parser_cilk_clause_vectorlength as mentioned above.
82 (c_parser_cilk_simd_fn_vector_attrs): New function.
83 (c_finish_cilk_simd_fn_tokens): Likewise.
84 (is_cilkplus_vector_p): Likewise.
85 (c_parser_omp_clause_name): Added checking for "vectorlength,"
86 "nomask," and "mask" strings in clause name.
87 (c_parser_omp_all_clauses): Added 3 new case statements:
88 PRAGMA_CILK_CLAUSE_VECTORLENGTH, PRAGMA_CILK_CLAUSE_MASK and
89 PRAGMA_CILK_CLAUSE_NOMASK.
90 (c_parser_attributes): Added a cilk_simd_fn_tokens parameter. Added a
91 check for vector attribute and if so call the function
92 c_parser_cilk_simd_fn_vector_attrs. Also, when Cilk plus is enabled,
93 called the function c_finish_cilk_simd_fn_tokens.
94 (c_finish_omp_declare_simd): Added a check if cilk_simd_fn_tokens in
95 parser field is non-empty. If so, parse them as you would parse
96 the omp declare simd pragma.
97 (c_parser_omp_clause_linear): Added a new bool parm. is_cilk_simd_fn.
98 Added a check when step is a parameter and flag it as error.
99 (CILK_SIMD_FN_CLAUSE_MASK): New #define.
100 (c_parser_cilk_clause_name): Changed pragma_cilk_clause to
101 pragma_omp_clause.
102
cef0fd0e
TS
1032013-12-17 Thomas Schwinge <thomas@codesourcery.com>
104
105 * c-parser.c (c_parser_omp_parallel): Fix description.
106
12893402
BI
1072013-12-11 Balaji V. Iyer <balaji.v.iyer@intel.com>
108
109 * c-objc-common.h (LANG_HOOKS_CILKPLUS_FRAME_CLEANUP): Remove.
110 (LANG_HOOKS_CILKPLUS_DETECT_SPAWN_AND_UNWRAP): Likewise.
111 (LANG_HOOKS_CILKPLUS_CILKPLUS_GIMPLIFY_SPAWN): Likewise.
112 * c-typeck.c (cilk_install_body_with_frame_cleanup): New function.
113
296674db
JM
1142013-12-04 Joseph Myers <joseph@codesourcery.com>
115
116 PR c/52023
117 * c-parser.c (c_parser_alignas_specifier): Use
118 c_sizeof_or_alignof_type instead of c_alignof.
119 (c_parser_alignof_expression): Likewise, with min_alignof
120 parameter depending on alignof spelling used.
121
edd28054
MP
1222013-12-04 Marek Polacek <polacek@redhat.com>
123
124 PR c/54113
125 * c-decl.c (start_function): Don't warn for missing prototype for
126 inline functions.
127
da0fc454
MP
1282013-12-03 Marek Polacek <polacek@redhat.com>
129
130 PR c/59351
131 * c-decl.c (build_compound_literal): Allow compound literals with
132 empty initial value.
133
4c2ecab0
JM
1342013-12-02 Joseph Myers <joseph@codesourcery.com>
135
136 PR c/58235
137 * c-typeck.c (build_modify_expr): Diagnose assignment to
138 expression with array type.
139
340baef7
JM
1402013-11-29 Joseph Myers <joseph@codesourcery.com>
141
142 PR c/42262
143 * c-typeck.c (process_init_element): Do not treat a string as
144 initializing a whole array when used with a designator for an
145 individual element.
146
6763b9f7
JM
1472013-11-29 Joseph Myers <joseph@codesourcery.com>
148
149 PR c/57574
150 * c-decl.c (merge_decls): Clear DECL_EXTERNAL for a definition of
151 an inline function following a static declaration.
152
e7bd1de1
JJ
1532013-11-28 Jakub Jelinek <jakub@redhat.com>
154
155 PR c/59310
156 * c-parser.c (c_parser_omp_target): Copy "#pragma omp target"
157 to p_name before calling c_parser_omp_teams instead of after.
158 (c_parser_cilk_simd): Remove wrong ATTRIBUTE_UNUSED from parser
159 argument. Remove unused p_name variable.
160
0136f8f0
AH
1612013-11-27 Aldy Hernandez <aldyh@redhat.com>
162 Jakub Jelinek <jakub@redhat.com>
163
164 * c-decl.c (c_builtin_function_ext_scope): Avoid binding if
165 external_scope is NULL.
166
241b71bb
TV
1672013-11-27 Tom de Vries <tom@codesourcery.com>
168 Marc Glisse <marc.glisse@inria.fr>
169
170 PR c++/59032
171 * c-typeck.c (build_unary_op): Allow vector increment and decrement.
172
2fb9a547
AM
1732013-11-22 Andrew MacLeod <amacleod@redhat.com>
174
175 * c-typeck.c: Add required include files from gimple.h.
176
8400e75e
DM
1772013-11-22 David Malcolm <dmalcolm@redhat.com>
178
179 * c-decl.c (define_label, shadow_tag_warned)
180 (check_bitfield_type_and_width, grokdeclarator, grokparms,
181 store_parm_decls_newstyle, store_parm_decls_oldstyle)
182 (declspecs_add_type): Remove use of in_system_header macro.
183 * c-parser.c (c_parser_unary_expression): Likewise.
184 * c-typeck.c (store_init_value, process_init_element)
185 (c_start_case): Likewise.
186
187 * c-decl.c (build_enumerator): Remove use of EXPR_LOC_OR_HERE
188 macro.
189
190 * c-parser.c (c_parser_set_source_position_from_token): Remove
191 reference to in_system_header from comment.
192
386b1f1f
RS
1932013-11-18 Richard Sandiford <rdsandiford@googlemail.com>
194
195 * c-decl.c (grokdeclarator): Update comment to refer to
196 tree_to_[su]hwi rather than tree_low_cst.
197
ae7e9ddd
RS
1982013-11-18 Richard Sandiford <rdsandiford@googlemail.com>
199
200 * c-decl.c, c-typeck.c: Replace tree_low_cst (..., 1) with
201 tree_to_uhwi throughout.
202
9439e9a1
RS
2032013-11-18 Richard Sandiford <rdsandiford@googlemail.com>
204
205 * c-parser.c: Replace tree_low_cst (..., 0) with tree_to_shwi
206 throughout.
207
9541ffee
RS
2082013-11-18 Richard Sandiford <rdsandiford@googlemail.com>
209
210 * c-parser.c: Replace host_integerp (..., 0) with tree_fits_shwi_p
211 throughout.
212
c02065fc
AH
2132013-11-15 Aldy Hernandez <aldyh@redhat.com>
214
215 * c-parser.c (c_parser_cilk_simd): New.
216 (c_parser_cilk_verify_simd): New.
217 (c_parser_pragma): Add case for PRAGMA_CILK_SIMD.
218 (c_parser_omp_for_loop): Add case for NE_EXPR.
219 Set c_break_label for CILK_SIMD.
220 (c_parser_cilk_clause_vectorlength): New.
221 (c_parser_cilk_clause_linear): New.
222 (c_parser_cilk_clause_name): New.
223 (c_parser_cilk_all_clauses): New.
224 * c-typeck.c (build_unary_op): Pass location argument to
225 readonly_error.
226 (build_modify_expr): Same.
227 (build_asm_expr): Same.
228 (c_finish_bc_stmt): Error on break/continue in loops.
229
18f429e2
AM
2302013-11-14 Andrew MacLeod <amacleod@redhat.com>
231
232 * c-typeck.c: Include only gimplify.h and gimple.h as needed.
233
d8a2d370
DN
2342013-11-14 Diego Novillo <dnovillo@google.com>
235
236 * c-decl.c: Include print-tree.h.
237 Include stor-layout.h.
238 Include varasm.h.
239 Include attribs.h.
240 Include stringpool.h.
241 * c-lang.c: Include fold-const.h.
242 * c-parser.c: Include stringpool.h.
243 Include attribs.h.
244 Include stor-layout.h.
245 Include varasm.h.
246 Include trans-mem.h.
247 * c-typeck.c: Include stor-layout.h.
248 Include trans-mem.h.
249 Include varasm.h.
250 Include stmt.h.
251
38b7bc7f
JM
2522013-11-13 Joseph Myers <joseph@codesourcery.com>
253
254 * c-tree.h (c_typespec_keyword): Add cts_auto_type.
255 * c-decl.c (declspecs_add_type, finish_declspecs): Handle
256 __auto_type.
257 * c-parser.c (c_token_starts_typename, c_token_starts_declspecs)
258 (c_parser_attribute_any_word, c_parser_objc_selector): Handle
259 RID_AUTO_TYPE.
260 (c_parser_declspecs): Take argument AUTO_TYPE_OK.
261 (c_parser_declaration_or_fndef, c_parser_struct_declaration)
262 (c_parser_declarator, c_parser_direct_declarator_inner)
263 (c_parser_parameter_declaration, c_parser_type_name): All callers
264 changed.
265 (c_parser_declaration_or_fndef): Handle declarations with type
266 determined from the initializer.
267
45b0be94
AM
2682013-11-12 Andrew MacLeod <amacleod@redhat.com>
269
18f429e2 270 * c-typeck.c: Include gimplify.h.
45b0be94 271
582d9b50
JM
2722013-11-12 Joseph Myers <joseph@codesourcery.com>
273
274 * c-tree.h (struct c_declspecs): Add thread_gnu_p field.
275 * c-parser.c (c_parser_declspecs): Mention _Thread_local in
276 comment.
277 * c-decl.c (shadow_tag_warned, grokdeclarator): Mention __thread
278 or _Thread_local as appropriate in diagnostics.
279 (build_null_declspecs): Initialize ret->thread_gnu_p.
280 (declspecs_add_scspec): Handle either __thread or _Thread_local
281 for RID_THREAD. Diagnose _Thread_local for pre-C11 standards if
282 pedantic. Do not disallow _Thread_local extern and _Thread_local
283 static.
284
267bac10
JM
2852013-11-07 Joseph Myers <joseph@codesourcery.com>
286 Andrew MacLeod <amacleod@redhat.com>
287
288 * c-aux-info.c (gen_type): Handle atomic qualifier.
289 * c-decl.c (validate_proto_after_old_defn): Do not remove atomic
290 qualifiers when compating types.
291 (shadow_tag_warned): Handle atomic_p in declspecs.
292 (quals_from_declspecs): Likewise.
293 (start_decl): Use c_type_promotes_to when promoting argument
294 types.
295 (grokdeclarator): Handle _Atomic.
296 (get_parm_info): Diagnose any qualifier on "void" as only
297 parameter.
298 (store_parm_decls_oldstyle): Do not remove atomic qualifiers when
299 comparing types. Use c_type_promotes_to when promoting argument
300 types.
301 (finish_function): Use c_type_promotes_to when promoting argument
302 types.
303 (build_null_declspecs): Handle atomic_p in declspecs.
304 (declspecs_add_qual): Handle RID_ATOMIC.
305 * c-parser.c (c_token_starts_typename, c_token_is_qualifier)
306 (c_token_starts_declspecs): Handle RID_ATOMIC.
307 (c_parser_declspecs): Handle atomic type specifiers and
308 qualifiers.
309 (c_parser_typeof_specifier): Remove const and _Atomic qualifiers
310 from types of expressions with atomic type.
311 (c_parser_direct_declarator_inner): Use convert_lvalue_to_rvalue.
312 (c_parser_attribute_any_word): Handle RID_ATOMIC.
313 (c_parser_initializer, c_parser_initelt, c_parser_initval)
314 (c_parser_statement_after_labels, c_parser_switch_statement)
315 (c_parser_for_statement, c_parser_expr_no_commas)
316 (c_parser_conditional_expression, c_parser_binary_expression)
317 (c_parser_cast_expression, c_parser_unary_expression)
318 (c_parser_postfix_expression)
319 (c_parser_postfix_expression_after_primary, c_parser_expression):
320 Use convert_lvalue_to_rvalue.
321 (c_parser_expression_conv, c_parser_expr_list): Document
322 conversion of lvalues to rvalues. Use convert_lvalue_to_rvalue.
323 (c_parser_objc_synchronized_statement): Use
324 convert_lvalue_to_rvalue.
325 (c_parser_objc_selector): Handle RID_ATOMIC.
326 (c_parser_objc_receiver, c_parser_array_notation): Use
327 convert_lvalue_to_rvalue.
328 * c-tree.h (ctsk_typeof): Adjust comment to mention use for
329 _Atomic (type-name).
330 (struct c_declspecs): Add atomic_p field.
331 (convert_lvalue_to_rvalue): Declare.
332 * c-typeck.c (c_type_promotes_to): Promote atomic types to
333 corresponding atomic types.
334 (qualify_type): Don't add _Atomic qualifiers from second argument.
335 (comp_target_types): Do not allow _Atomic mismatches.
336 (type_lists_compatible_p): Do not remove atomic qualifiers when
337 comparing types.
338 (really_atomic_lvalue, convert_lvalue_to_rvalue)
339 (build_atomic_assign): New functions.
340 (build_unary_op): Use build_atomic_assign for atomic increment and
341 decrement.
342 (build_conditional_expr): Do not treat _Atomic void as a qualified
343 version of void.
344 (build_modify_expr): Use build_atomic_assign for atomic LHS.
345 (find_anonymous_field_with_type, convert_to_anonymous_field)
346 (convert_for_assignment): Do not remove atomic qualifiers when
347 comparing types.
348 (digest_init): Do not accept initialization of arrays of atomic
349 elements by string constants.
350 (build_asm_expr): Use convert_lvalue_to_rvalue.
351 (build_binary_op): Do not treat _Atomic void as a qualified
352 version of void.
353
0c249d4b
DD
3542013-11-06 DJ Delorie <dj@redhat.com>
355
356 * c-decl.c (locate_old_decl): If a previous conflicting decl is
357 both explicit and builtin, print the location of the explicit one.
358
6d7f7e0a
TB
3592013-11-05 Tobias Burnus <burnus@net-b.de>
360
361 * c-parser.c (c_parser_omp_for, c_parser_omp_parallel,
362 c_parser_omp_distribute, c_parser_omp_teams,
363 c_parser_omp_target, c_parser_omp_declare): Handle
364 -fopenmp-simd.
365
b906f4ca
MP
3662013-11-03 Marek Polacek <polacek@redhat.com>
367
368 * c-decl.c (grokdeclarator): Add VLA instrumentation.
369
ee1d5a02
JJ
3702013-11-01 Jakub Jelinek <jakub@redhat.com>
371
372 * c-typeck.c (c_finish_omp_clauses) <case OMP_CLAUSE_UNIFORM>: Go to
373 check_dup_generic at the end, unless remove is true.
374 (c_finish_omp_clauses) <case OMP_CLAUSE_REDUCTION>: Add break; after
375 remove = true;.
376 (c_finish_omp_clauses) <case OMP_CLAUSE_COPYIN>: Likewise.
377
5a9785fb
JJ
3782013-10-31 Jakub Jelinek <jakub@redhat.com>
379
380 * c-typeck.c (c_finish_omp_clauses): Diagnose aligned clause
381 with decl that is not pointer nor array.
382
939b37da
BI
3832013-10-29 Balaji V. Iyer <balaji.v.iyer@intel.com>
384
385 * c-decl.c (finish_function): Added a call for insert_cilk_frame when
386 a spawning function is found.
387 * c-objc-common.h (LANG_HOOKS_CILKPLUS_GIMPLIFY_SPAWN): New #define.
388 (LANG_HOOKS_CILKPLUS_FRAME_CLEANUP): Likewise.
389 (LANG_HOOKS_CILKPLUS_DETECT_SPAWN_AND_UNWRAP): Likewise.
390 * c-parser.c (c_parser_statement_after_labels): Added RID_CILK_SYNC
391 case.
392 (c_parser_postfix_expression): Added RID_CILK_SPAWN case.
393 * c-typeck.c (build_compound_expr): Reject _Cilk_spawn in a comma
394 expr.
395 (c_finish_return): Added a check to reject _Cilk_spawn in return
396 expression.
397 (build_cilk_spawn): New function.
398 (build_cilk_sync): Likewise.
399 * Makefile.in (c-decl.o): Added cilk.h in dependency list.
400
d4af74d4
TB
4012013-10-27 Tobias Burnus <burnus@net-b.de>
402
403 PR other/33426
404 * c-parser.c (c_parser_while_statement, c_parser_while_statement,
405 c_parser_pragma): Add GCC ivdep support to 'do' and 'while'.
406 (c_parser_statement_after_labels): Update calls.
407
d73749df 4082013-10-24 Tobias Burnus <burnus@net-b.de>
8170608b
TB
409
410 PR other/33426
411 * c-parser.c (c_parser_pragma, c_parser_for_statement):
412 Handle PRAGMA_IVDEP.
413 (c_parser_statement_after_labels): Update call.
414
f28aa681
MP
4152013-10-24 Marek Polacek <polacek@redhat.com>
416
417 * c-parser.c (c_parser_struct_declaration): Add a comment.
418 (c_parser_declarator): Don't allow _Alignas here.
419
0645c1a2
AM
4202013-10-17 Andrew MacLeod <amacleod@redhat.com>
421
422 * c-parser.c: Include omp-low.h.
423 * c-typeck.c: Likewise.
424
568a31f2
MP
4252013-10-17 Marek Polacek <polacek@redhat.com>
426
427 PR c/58267
428 * c-parser.c (c_parser_declspecs): Add alignspec_ok parameter.
429 Document syntax of the array-declarator.
430 (c_parser_declspecs) <RID_ALIGNAS>: Bail out if alignment specs
431 are not permitted.
432 (c_parser_declaration_or_fndef): Adjust c_parser_declspecs call.
433 (c_parser_struct_declaration): Likewise.
434 (c_parser_declarator): Likewise.
435 (c_parser_direct_declarator_inner): Likewise.
436 (c_parser_parameter_declaration): Likewise.
437 (c_parser_type_name): Likewise.
438
acf0174b
JJ
4392013-10-11 Jakub Jelinek <jakub@redhat.com>
440
441 * c-lang.h (current_omp_declare_target_attribute): New extern
442 decl.
443 * c-parser.c: Include c-lang.h.
444 (struct c_parser): Change tokens to c_token *.
445 Add tokens_buf field. Change tokens_avail type to unsigned int.
446 (c_parser_consume_token): If parser->tokens isn't
447 &parser->tokens_buf[0], increment parser->tokens.
448 (c_parser_consume_pragma): Likewise.
449 (enum pragma_context): Add pragma_struct and pragma_param.
450 (c_parser_external_declaration): Adjust
451 c_parser_declaration_or_fndef caller.
452 (c_parser_declaration_or_fndef): Add omp_declare_simd_clauses
453 argument, if it is non-vNULL vector, call c_finish_omp_declare_simd.
454 Adjust recursive call.
455 (c_parser_struct_or_union_specifier): Use pragma_struct instead
456 of pragma_external.
457 (c_parser_parameter_declaration): Use pragma_param instead of
458 pragma_external.
459 (c_parser_compound_statement_nostart, c_parser_label,
460 c_parser_for_statement): Adjust
461 c_parser_declaration_or_fndef callers.
462 (c_parser_expr_no_commas): Add omp_atomic_lhs argument, pass
463 it through to c_parser_conditional_expression.
464 (c_parser_conditional_expression): Add omp_atomic_lhs argument,
465 pass it through to c_parser_binary_expression. Adjust recursive
466 call.
467 (c_parser_binary_expression): Remove prec argument, add
468 omp_atomic_lhs argument instead. Always start from PREC_NONE, if
469 omp_atomic_lhs is non-NULL and one of the arguments of toplevel
470 binop matches it, use build2 instead of parser_build_binary_op.
471 (c_parser_pragma): Handle PRAGMA_OMP_CANCEL,
472 PRAGMA_OMP_CANCELLATION_POINT, PRAGMA_OMP_TARGET,
473 PRAGMA_OMP_END_DECLARE_TARGET, PRAGMA_OMP_DECLARE_REDUCTION.
474 Handle pragma_struct and pragma_param the same as pragma_external.
475 (c_parser_omp_clause_name): Parse new OpenMP 4.0 clause names.
476 (c_parser_omp_variable_list): Parse array sections for
477 OMP_CLAUSE_{DEPEND,MAP,TO,FROM} clauses.
478 (c_parser_omp_clause_collapse): Fully fold collapse expression.
479 (c_parser_omp_clause_reduction): Handle user defined reductions.
480 (c_parser_omp_clause_branch, c_parser_omp_clause_cancelkind,
481 c_parser_omp_clause_num_teams, c_parser_omp_clause_thread_limit,
482 c_parser_omp_clause_aligned, c_parser_omp_clause_linear,
483 c_parser_omp_clause_safelen, c_parser_omp_clause_simdlen,
484 c_parser_omp_clause_depend, c_parser_omp_clause_map,
485 c_parser_omp_clause_device, c_parser_omp_clause_dist_schedule,
486 c_parser_omp_clause_proc_bind, c_parser_omp_clause_to,
487 c_parser_omp_clause_from, c_parser_omp_clause_uniform): New functions.
488 (c_parser_omp_all_clauses): Add finish_p argument. Don't call
489 c_finish_omp_clauses if it is false. Handle new OpenMP 4.0 clauses.
490 (c_parser_omp_atomic): Parse seq_cst clause, pass true if it is
491 present to c_finish_omp_atomic. Handle OpenMP 4.0 atomic forms.
492 (c_parser_omp_for_loop): Add CODE argument, pass it through
493 to c_finish_omp_for. Change last argument to cclauses,
494 and adjust uses to grab parallel clauses from the array of all
495 the split clauses. Adjust c_parser_binary_expression,
496 c_parser_declaration_or_fndef and c_finish_omp_for callers.
497 (omp_split_clauses): New function.
498 (c_parser_omp_simd): New function.
499 (c_parser_omp_for): Add p_name, mask and cclauses arguments.
500 Allow the function to be called also when parsing combined constructs,
501 and call c_parser_omp_simd when parsing for simd.
502 (c_parser_omp_sections_scope): If section-sequence doesn't start with
503 #pragma omp section, require exactly one structured-block instead of
504 sequence of statements.
505 (c_parser_omp_sections): Add p_name, mask and cclauses arguments.
506 Allow the function to be called also when parsing combined constructs.
507 (c_parser_omp_parallel): Add p_name, mask and cclauses arguments.
508 Allow the function to be called also when parsing combined
509 constructs.
510 (c_parser_omp_taskgroup, c_parser_omp_cancel,
511 c_parser_omp_cancellation_point, c_parser_omp_distribute,
512 c_parser_omp_teams, c_parser_omp_target_data,
513 c_parser_omp_target_update, c_parser_omp_target,
514 c_parser_omp_declare_simd, c_finish_omp_declare_simd,
515 c_parser_omp_declare_target, c_parser_omp_end_declare_target,
516 c_parser_omp_declare_reduction, c_parser_omp_declare): New functions.
517 (c_parser_omp_construct): Add p_name and mask vars. Handle
518 PRAGMA_OMP_DISTRIBUTE, PRAGMA_OMP_SIMD, PRAGMA_OMP_TASKGROUP,
519 PRAGMA_OMP_TEAMS. Adjust c_parser_omp_for, c_parser_omp_parallel
520 and c_parser_omp_sections callers.
521 (c_parse_file): Initialize tparser.tokens and the_parser->tokens here.
522 (OMP_FOR_CLAUSE_MASK, OMP_SECTIONS_CLAUSE_MASK,
523 OMP_SINGLE_CLAUSE_MASK): Use OMP_CLAUSE_MASK_1 instead of 1.
524 (OMP_PARALLEL_CLAUSE_MASK): Likewise. Add OMP_CLAUSE_PROC_BIND.
525 (OMP_TASK_CLAUSE_MASK): Use OMP_CLAUSE_MASK_1 instead of 1. Add
526 OMP_CLAUSE_DEPEND.
527 (OMP_SIMD_CLAUSE_MASK, OMP_CANCEL_CLAUSE_MASK,
528 OMP_CANCELLATION_POINT_CLAUSE_MASK, OMP_DISTRIBUTE_CLAUSE_MASK,
529 OMP_TEAMS_CLAUSE_MASK, OMP_TARGET_DATA_CLAUSE_MASK,
530 OMP_TARGET_UPDATE_CLAUSE_MASK, OMP_TARGET_CLAUSE_MASK,
531 OMP_DECLARE_SIMD_CLAUSE_MASK): Define.
532 * c-typeck.c: Include tree-inline.h.
533 (c_finish_omp_cancel, c_finish_omp_cancellation_point,
534 handle_omp_array_sections_1, handle_omp_array_sections,
535 c_clone_omp_udr, c_find_omp_placeholder_r): New functions.
536 (c_finish_omp_clauses): Handle new OpenMP 4.0 clauses and
537 user defined reductions.
538 (c_tree_equal): New function.
539 * c-tree.h (temp_store_parm_decls, temp_pop_parm_decls,
540 c_finish_omp_cancel, c_finish_omp_cancellation_point, c_tree_equal,
541 c_omp_reduction_id, c_omp_reduction_decl, c_omp_reduction_lookup,
542 c_check_omp_declare_reduction_r): New prototypes.
543 * c-decl.c (current_omp_declare_target_attribute): New variable.
544 (c_decl_attributes): New function.
545 (start_decl, start_function): Use it instead of decl_attributes.
546 (temp_store_parm_decls, temp_pop_parm_decls, c_omp_reduction_id,
547 c_omp_reduction_decl, c_omp_reduction_lookup,
548 c_check_omp_declare_reduction_r): New functions.
549
0a6c2227
TT
5502013-09-25 Tom Tromey <tromey@redhat.com>
551
552 * Make-lang.in (c/gccspec.o): Remove.
553 (CFLAGS-c/gccspec.o): New variable.
554 (cc1-checksum.o, C_TREE_H, c/c-aux-info.o, c/c-convert.o)
555 (c/c-decl.o, c/c-errors.o, c/c-lang.o, c/c-objc-common.o)
556 (c/c-parser.o, c/c-typeck.o, c/c-array-notation.o): Remove.
557
f3bc55f0
TT
5582013-09-25 Tom Tromey <tromey@redhat.com>
559
560 * Make-lang.in (c/gccspec.o): Don't use subshell.
561
a24d975c
MP
5622013-09-18 Marek Polacek <polacek@redhat.com>
563
564 PR sanitize/58443
565 * c-typeck.c (build_binary_op): Properly honor -fsanitize options.
566 Remove unnecessary check.
567
ce6923c5
MP
5682013-09-18 Marek Polacek <polacek@redhat.com>
569
570 PR sanitizer/58411
571 * c-typeck.c (build_binary_op): Don't sanitize function if it has the
572 no_sanitize_undefined attribute.
573
a1e51df9
KT
5742013-09-13 Kai Tietz <ktietz@redhat.com>
575
576 PR target/57848
577 * c-decl.c (c_builtin_function_ext_scope): Remove
578 wrong assumption that it is never called on prexisting
579 symbol.
580
0af94e6f
JR
5812013-09-08 Joern Rennecke <joern.rennecke@embecosm.com>
582
583 * c-typeck.c (build_binary_op): Use vector_types_compatible_elements_p.
584
20059c8b
GDR
5852013-09-03 Gabriel Dos Reis <gdr@integrable-solutions.net>
586
587 * c-objc-common.c (c_tree_printer): Tidy.
588
de5a5fa1
MP
5892013-08-30 Marek Polacek <polacek@redhat.com>
590
591 * c-typeck.c (build_binary_op): Add division by zero and shift
592 instrumentation.
593
2531a1d9 5942013-08-26 Joern Rennecke <joern.rennecke@embecosm.com>
0fdd4508 595 Joseph Myers <joseph@codesourcery.com>
2531a1d9 596
6e2bcc98 597 PR c/35649
2531a1d9
JR
598 * c-typeck.c (c_common_type): Prefer double_type_node over
599 other REAL_TYPE types with the same precision.
600 (convert_arguments): Likewise.
601
025311c4
GDR
6022013-08-23 Gabriel Dos Reis <gdr@integrable-solutions.net>
603
604 * c-objc-common.c (c_tree_printer): Document the nature of the cast.
605 (c_initialize_diagnostics): Call a destructor for the early printer.
606
da6ca2b5
GDR
6072013-08-22 Gabriel Dos Reis <gdr@integrable-solutions.net>
608
609 * c-objc-common.c (c_initialize_diagnostics): Simplify C pretty
610 printer initialization.
611
318cda85 6122013-08-19 Balaji V. Iyer <balaji.v.iyer@intel.com>
da6ca2b5 613
318cda85
BI
614 PR c/57490
615 * c-array-notation.c (fix_conditional_array_notations_1): Added a
616 check for truth values.
617 (expand_array_notation_exprs): Added truth values case. Removed an
618 unwanted else. Added for-loop to walk through subtrees in default
619 case.
620
b066401f
GDR
6212013-08-04 Gabriel Dos Reis <gdr@integrable-solutions.net>
622
623 * c-objc-common.c (c_initialize_diagnostics): Don't call pp_base.
624
fb48aadc
JM
6252013-07-23 Joseph Myers <joseph@codesourcery.com>
626
627 * c-parser.c (struct c_generic_association): Fix typo.
628
433cc7b0
TT
6292013-07-23 Tom Tromey <tromey@redhat.com>
630 Joseph Myers <joseph@codesourcery.com>
631
632 * c-parser.c (struct c_generic_association): New.
633 (c_generic_association_d): New typedef.
634 (c_parser_generic_selection): New function.
635 (c_parser_postfix_expression): Handle RID_GENERIC.
636
26d40c3d
JM
6372013-07-13 Jason Merrill <jason@redhat.com>
638
639 PR c++/57793
640 * c-decl.c (finish_struct): Check for too-large class.
641
ecdbd01a 6422013-07-04 Joern Rennecke <joern.rennecke@embecosm.com>
40d3d530
JR
643
644 PR c/57821
645 * c-typeck.c (set_init_index): When folding, check for index overflow.
646
1141ed3f
BI
6472013-06-28 Balaji V. Iyer <balaji.v.iyer@intel.com>
648
649 * c-parser.c (c_parser_array_notation): Removed rejection of array
650 notations in an array of function pointers.
651
713b46fa
BI
6522013-06-21 Balaji V. Iyer <balaji.v.iyer@intel.com>
653
654 * c-array-notation.c (make_triplet_val_inv): New function.
655 (create_cmp_incr): Likewise.
656 (create_array_refs): Likewise.
657 (fix_builtin_array_notation_fn): Replaced all mallocs with tree vec.
658 Also modularized common parts between functions and called the function.
659 (build_array_notation_expr): Likewise.
660 (fix_conditional_array_notations_1): Likewise.
661 (fix_array_notation_expr): Likewise.
662 (fix_array_notation_call_expr): Likewise.
663
92f20202
MP
6642013-06-18 Marek Polacek <polacek@redhat.com>
665
666 PR c/57630
667 * c-decl.c (check_for_loop_decls): Improve diagnostics messages.
668
73a23b06
BI
6692013-06-12 Balaji V. Iyer <balaji.v.iyer@intel.com>
670
671 * c-array-notation.c (build_array_notation_expr): Reject array notation
672 mismatch between LHS and RHS even inside a call_expr. Also, removed
673 a couple while statements that were dead code.
674
00b8517d
BI
6752013-06-10 Balaji V. Iyer <balaji.v.iyer@intel.com>
676
677 * c-array-notation.c (fix_builtin_array_notation_fn): Fully folded
678 excessive precision expressions in function parameters. Also removed
679 couple unwanted while statements.
680
1509bdda
BI
6812013-06-07 Balaji V. Iyer <balaji.v.iyer@intel.com>
682
683 * c-array-notation.c (expand_array_notation_exprs): Added
684 ARRAY_NOTATION_REF case.
685
d60f1706
BI
6862013-06-07 Balaji V. Iyer <balaji.v.iyer@intel.com>
687
688 * c-array-notation.c (length_mismatch_in_expr_p): Moved this
689 function to c-family/array-notation-common.c.
690 (is_cilkplus_reduce_builtin): Likewise.
691 (find_rank): Likewise.
692 (extract_array_notation_exprs): Likewise.
693 (replace_array_notations): Likewise.
694 (find_inv_trees): Likewise.
695 (replace_inv_trees): Likewise.
696 (contains_array_notation_expr): Likewise.
697 (find_correct_array_notation_type): Likewise.
698 (replace_invariant_exprs): Initialized additional_tcodes to NULL.
699 (struct inv_list): Moved this to c-family/array-notation-common.c.
700 * c-tree.h (is_cilkplus_builtin_reduce): Remove prototype.
701
6d6efbb3
BI
7022013-06-05 Balaji V. Iyer <balaji.v.iyer@intel.com>
703
704 * c-typeck.c (convert_arguments): Moved checking of builtin cilkplus
705 reduction functions outside the for-loop. Added a check if the fundecl
706 is non-NULL. Finally, removed an unwanted if-statement, and made the
707 body unconditional.
708
25c22937
BI
7092013-06-03 Balaji V. Iyer <balaji.v.iyer@intel.com>
710
711 * c-typeck.c (c_finish_if_stmt): Added a check to see if the rank of the
712 condition of the if-statement matches the rank of else-block and then-
713 block when array notations are used.
714 * c-parser.c (c_parser_declaration_or_fndef): Expanded array notation
715 expression after the entire function body is parsed.
716 (c_parser_expr_no_commas): Delayed creating array notation expressions
717 to the end of function parsing.
718 * c-array-notation.c (fix_conditional_array_notations_1): Expanded the
719 whole if-statement instead of just the condition.
720 (expand_array_notation_exprs): Added MODIFY_EXPR case.
721
edd25645
BI
7222013-06-03 Balaji V. Iyer <balaji.v.iyer@intel.com>
723
724 PR c/57474
725 * c-array-notation.c (build_array_notation_expr): Initialized rhs_length
726 array to NULL_TREE if they are unused. Also added a check for the
727 field to be NULL before its fields are used in future.
728
065ce7f1
RO
7292013-05-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
730
731 PR bootstrap/57450
732 * c-array-notation.c (length_mismatch_in_expr_p): Use absu_hwi.
733 (build_array_notation_expr): Likewise.
734
36536d79
BI
7352013-05-28 Balaji V. Iyer <balaji.v.iyer@intel.com>
736
737 * c-typeck.c (build_array_ref): Added a check to see if array's
738 index is greater than one. If true, then emit an error.
739 (build_function_call_vec): Exclude error reporting and checking
740 for builtin array-notation functions.
741 (convert_arguments): Likewise.
742 (c_finish_return): Added a check for array notations as a return
743 expression. If true, then emit an error.
744 (c_finish_loop): Added a check for array notations in a loop
745 condition. If true then emit an error.
746 (lvalue_p): Added a ARRAY_NOTATION_REF case.
747 (build_binary_op): Added a check for array notation expr inside
748 op1 and op0. If present, we call another function to find correct
749 type.
750 * Make-lang.in (C_AND_OBJC_OBJS): Added c-array-notation.o.
751 * c-parser.c (c_parser_compound_statement): Check if array
752 notation code is used in tree, if so, then transform them into
753 appropriate C code.
754 (c_parser_expr_no_commas): Check if array notation is used in LHS
755 or RHS, if so, then build array notation expression instead of
756 regular modify.
757 (c_parser_postfix_expression_after_primary): Added a check for
758 colon(s) after square braces, if so then handle it like an array
759 notation. Also, break up array notations in unary op if found.
760 (c_parser_direct_declarator_inner): Added a check for array
761 notation.
762 (c_parser_compound_statement): Added a check for array notation in
763 a stmt. If one is present, then expand array notation expr.
764 (c_parser_if_statement): Likewise.
765 (c_parser_switch_statement): Added a check for array notations in
766 a switch statement's condition. If true, then output an error.
767 (c_parser_while_statement): Similarly, but for a while.
768 (c_parser_do_statement): Similarly, but for a do-while.
769 (c_parser_for_statement): Similarly, but for a for-loop.
770 (c_parser_unary_expression): Check if array notation is used in a
771 pre-increment or pre-decrement expression. If true, then expand
772 them.
773 (c_parser_array_notation): New function.
774 * c-array-notation.c: New file.
775 * c-tree.h (is_cilkplus_reduce_builtin): Protoize.
776
cd192ccc
MS
7772013-05-23 Mike Stump <mikestump@comcast.net>
778
779 * c-typeck.c (convert_for_assignment): Handle references to memory
780 spaces better.
781
427b248d
JM
7822013-05-16 Jason Merrill <jason@redhat.com>
783
784 * Make-lang.in (cc1$(exeext)): Use link mutex.
785
44d90fe1
PC
7862013-04-24 Paolo Carlini <paolo.carlini@oracle.com>
787
788 * c-typeck.c (pointer_diff): Change -Wpointer-arith pedwarns
789 to simply use OPT_Wpointer_arith.
790 (build_unary_op): Likewise.
791
4e7d7b3d
JJ
7922013-04-03 Jakub Jelinek <jakub@redhat.com>
793
794 PR c/19449
795 * c-parser.c (c_parser_get_builtin_args): Add choose_expr_p
796 argument. If set, or it temporarily for parsing of the first
797 argument into force_folding_builtin_constant_p.
798 (c_parser_postfix_expression): Adjust callers.
799
839b422f
RB
8002013-03-21 Richard Biener <rguenther@suse.de>
801
802 * c-objc-common.c (c_tree_printer): Use DECL_HAS_DEBUG_EXPR_P
803 instead of DECL_DEBUG_EXPR_IS_FROM. Guard properly.
804
2ee028f1
MP
8052013-02-12 Marek Polacek <polacek@redhat.com>
806
807 PR c/44938
808 * c-parser.c (c_parser_postfix_expression_after_primary): Initialize
809 origtypes to NULL.
810
8824edff
JJ
8112013-01-24 Jakub Jelinek <jakub@redhat.com>
812
813 PR c/56078
814 * c-typeck.c (set_nonincremental_init_from_string): If
815 constructor_max_index is NULL, treat it as if tree_int_cst_lt
816 returned false.
817 (process_init_element): Likewise.
818
eadd3d0d
JJ
8192012-12-20 Jakub Jelinek <jakub@redhat.com>
820
821 PR c++/55619
822 * c-parser.c (c_parser_asm_operands): Remove CONVERT_P
823 argument, don't call default_function_array_conversion
824 nor c_fully_fold here.
825 (c_parser_asm_statement): Adjust callers.
826 * c-typeck.c (build_asm_expr): Call c_fully_fold on inputs
827 and outputs here, and call default_function_array_conversion
828 on inputs that don't need to be addressable.
829
f8a93a2e
JJ
8302012-12-18 Jakub Jelinek <jakub@redhat.com>
831
832 PR c/39464
833 * c-typeck.c (convert_for_assignment): For -Wpointer-sign
834 warning require that both c_common_unsigned_type as well as
835 c_common_signed_type is the same for both mvl and mvr types.
836
9771b263
DN
8372012-11-16 Diego Novillo <dnovillo@google.com>
838
839 Adjust for new vec API (http://gcc.gnu.org/wiki/cxx-conversion/cxx-vec)
840
841 * c-common.c: Use new vec API in vec.h.
842 * c-common.h: Likewise.
843 * c-gimplify.c: Likewise.
844 * c-pragma.c: Likewise.
845 * c-pretty-print.c: Likewise.
846 * c-pretty-print.h: Likewise.
847 * c-semantics.c: Likewise.
848 * c-decl.c: Likewise.
849 * c-parser.c: Likewise.
850 * c-tree.h: Likewise.
851 * c-typeck.c: Likewise.
852
880661a4
JW
8532012-10-29 Jonathan Wakely <jwakely.gcc@gmail.com>
854
855 PR c++/54930
856 * c-typeck.c (c_finish_return): Use OPT_Wreturn_local_addr.
857
077d1abe
MLI
8582012-10-29 Manuel López-Ibáñez <manu@gcc.gnu.org>
859
860 PR c/53066
861 * c-decl.c (warn_if_shadowing): Do not warn if a variable
862 shadows a function, unless the variable is a function or a
863 pointer-to-function.
864
3a785c97
JJ
8652012-10-12 Jakub Jelinek <jakub@redhat.com>
866
867 PR c/54381
868 * c-parser.c (struct c_tree_loc_pair): Removed.
869 (c_parser_expr_list): Remove struct c_tree_loc_pair * argument,
870 add location_t * and tree * arguments, fill in array of 3
871 sizeof_arg trees and corresponding locs.
872 (c_parser_attributes, c_parser_objc_keywordexpr): Adjust
873 c_parser_expr_list callers.
874 (c_parser_postfix_expression_after_primary): Likewise. Pass
875 array of 3 sizeof_arg trees and locs (corresponding to first
876 3 arguments) to sizeof_pointer_memaccess_warning.
877
703c8606
LC
8782012-10-09 Lawrence Crowl <crowl@google.com>
879
880 * Make-lang.in (c-decl.o): Add dependence on hash-table.h.
881 * c-decl.c (detect_field_duplicates_hash): Change to new type-safe
882 hash table.
883
5d9de0d0
PC
8842012-10-09 Paolo Carlini <paolo.carlini@oracle.com>
885
886 PR c++/54194
887 * c-typeck.c (parser_build_binary_op): Update warn_about_parentheses
888 call.
889
a212e43f
MG
8902012-10-09 Marc Glisse <marc.glisse@inria.fr>
891
892 PR c++/54427
893 * c-typeck.c: Include c-common.h.
894 (enum stv_conv): Moved to c-common.h.
895 (scalar_to_vector): Moved to c-common.c.
896 (build_binary_op): Adapt to scalar_to_vector's new prototype.
897 * Make-lang.in: c-typeck.c depends on c-common.h.
898
3b78de56
AC
8992012-10-04 Arnaud Charlet <charlet@adacore.com>
900
901 * c-decl.c (c_write_global_declarations): Fix handling of
902 -fdump-ada-spec*.
903
78c60e3d
SS
9042012-09-30 Sharad Singhai <singhai@google.com>
905
906 * c-decl.c (c_write_global_declarations): Use a different method
907 to determine if the dump has ben initialized.
908
9f33203d
JM
9092012-09-14 Joseph Myers <joseph@codesourcery.com>
910
911 PR c/54552
912 * c-typeck.c (c_cast_expr): When casting to a type requiring
913 C_MAYBE_CONST_EXPR to be created, pass the inner expression to
914 c_fully_fold first.
915
a27d595d
JM
9162012-09-14 Joseph Myers <joseph@codesourcery.com>
917
918 PR c/54103
919 * c-typeck.c (build_unary_op): Pass original argument of
920 TRUTH_NOT_EXPR to c_objc_common_truthvalue_conversion, then remove
921 any C_MAYBE_CONST_EXPR, if it has integer operands.
922 (build_binary_op): Pass original arguments of TRUTH_ANDIF_EXPR,
923 TRUTH_ORIF_EXPR, TRUTH_AND_EXPR, TRUTH_OR_EXPR and TRUTH_XOR_EXPR
924 to c_objc_common_truthvalue_conversion, then remove any
925 C_MAYBE_CONST_EXPR, if they have integer operands. Use
926 c_objc_common_truthvalue_conversion not
927 c_common_truthvalue_conversion.
928 (c_objc_common_truthvalue_conversion): Build NE_EXPR directly and
929 call note_integer_operands for arguments with integer operands
930 that are not integer constants.
931
9feb29df
JJ
9322012-09-13 Jakub Jelinek <jakub@redhat.com>
933
934 PR c/54559
935 * c-typeck.c (c_finish_return): Do convert to BOOLEAN_TYPE or
936 COMPLEX_TYPE with in_late_binary_op set temporarily to true.
937
d409320c
JJ
9382012-08-31 Jakub Jelinek <jakub@redhat.com>
939
940 PR c/54428
941 * c-convert.c (convert): Don't call fold_convert_loc if
942 TYPE_MAIN_VARIANT of a COMPLEX_TYPE is the same, unless e
943 is a COMPLEX_EXPR. Remove TYPE_MAIN_VARIANT check from
944 COMPLEX_TYPE -> COMPLEX_TYPE conversion.
945
6265d07c
JJ
9462012-08-24 Jakub Jelinek <jakub@redhat.com>
947
948 PR c/54355
949 * c-decl.c (c_parser_label): Pass true as nested and fix up comments
950 for nested and empty_ok arguments in the call to
951 c_parser_declaration_or_fndef.
952
1a4049e7
JJ
9532012-08-17 Jakub Jelinek <jakub@redhat.com>
954
955 * c-tree.h (c_last_sizeof_arg): Declare.
956 * c-parser.c (struct c_tree_loc_pair): New type.
957 (c_parser_expr_list): Add sizeof_arg argument. Fill it in if
958 non-NULL.
959 (c_parser_attributes, c_parser_objc_keywordexpr): Adjust callers.
960 (c_parser_postfix_expression_after_primary): Likewise. Call
961 sizeof_pointer_memaccess_warning if needed.
962 (sizeof_ptr_memacc_comptypes): New function.
963 * c-typeck.c (c_last_sizeof_arg): New global variable.
964 (c_expr_sizeof_expr, c_expr_sizeof_type): Initialize it.
965
0229aee9
UB
9662012-07-24 Uros Bizjak <ubizjak@gmail.com>
967
968 * c-lang.h (lang_decl): Add variable_size GTY option.
969
7ee2468b
SB
9702012-07-16 Steven Bosscher <steven@gcc.gnu.org>
971
972 * c-decl.c: Include dumpfile.h instead of tree-dump.h.
973 * Make-lang.in: Fix dependencies.
974
d4a10d0a
SB
9752012-06-29 Steven Bosscher <steven@gcc.gnu.org>
976
977 * Make-lang.in: New file, rules migrated from gcc/Makefile.in
978 and add language Makefile hooks.
979 * config-lang.in: New file.
980 * c-config-lang.in: Moved from gcc/config-lang.in to here, and
981 add the required "normal" config-lang.in rules.
982 * c-lang.h: Moved from gcc/ to here.
983 * c-tree.h: Likewise.
984 * c-objc-common.c: Likewise.
985 * c-objc-common.h: Likewise.
986 * c-typeck.c: Likewise.
987 * c-convert.c: Likewise.
988 * c-lang.c: Likewise.
989 * c-aux-info.c: Likewise.
990 * c-errors.c: Likewise.
991 * gccspec.c: Likewise.
992 * c-decl.c: Likewise. Include gt-c-c-decl.h, not gt-c-decl.h.
993 * c-parser.c: Likewise. Include gt-c-c-parser.h, not gt-c-parser.h.
994\f
23a5b65a 995Copyright (C) 2012-2014 Free Software Foundation, Inc.
d4a10d0a
SB
996
997Copying and distribution of this file, with or without modification,
998are permitted in any medium without royalty provided the copyright
999notice and this notice are preserved.