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