f0592f5390bcef89d88dc4538de56d43dd719d4e
[gcc.git] / gcc / c-family / ChangeLog
1 2011-06-07 Dodji Seketeli <dodji@redhat.com>
2
3 PR debug/49130
4 * c-pretty-print.c (pp_c_integer_constant): Consider the canonical
5 type when using pointer comparison to compare types.
6
7 2011-06-02 Jonathan Wakely <jwakely.gcc@gmail.com>
8
9 * c.opt: Add -Wdelete-non-virtual-dtor.
10 * c-opts.c (c_common_handle_option): Include it in -Wall.
11
12 2011-05-30 Nathan Froyd <froydnj@gcc.gnu.org>
13
14 PR bootstrap/49190
15
16 Revert:
17 2011-05-26 Nathan Froyd <froydnj@codesourcery.com>
18
19 * c-common.h (struct c_common_identifier): Inherit from tree_typed,
20 not tree_common.
21
22 2011-05-27 Jakub Jelinek <jakub@redhat.com>
23
24 PR c++/49165
25 * c-common.c (c_common_truthvalue_conversion) <case COND_EXPR>: For
26 C++ don't call c_common_truthvalue_conversion on void type arms.
27
28 2011-05-27 Nathan Froyd <froydnj@codesourcery.com>
29
30 * c-common.h (struct stmt_tree_s) [x_cur_stmt_list]: Change to a VEC.
31 (stmt_list_stack): Define.
32 (cur_stmt_list): Adjust for new type of x_cur_stmt_list.
33 * c-semantics.c (push_stmt_list, pop_stmt_list): Likewise.
34
35 2011-05-26 Nathan Froyd <froydnj@codesourcery.com>
36
37 * c-common.c (warning_candidate_p): Check for BLOCKs.
38
39 2011-05-26 Nathan Froyd <froydnj@codesourcery.com>
40
41 * c-common.h (struct c_common_identifier): Inherit from tree_typed,
42 not tree_common.
43
44 2011-05-25 Jakub Jelinek <jakub@redhat.com>
45
46 * c-common.c (def_fn_type): Remove extra va_end.
47
48 2011-05-23 Jason Merrill <jason@redhat.com>
49
50 PR c++/48106
51 * c-common.c (c_common_get_narrower): New.
52 (shorten_binary_op, shorten_compare, warn_for_sign_compare): Use it.
53
54 2011-05-23 Nathan Froyd <froydnj@codesourcery.com>
55
56 * c-common.h (check_function_arguments): Tweak prototype of
57 check_function_arguments.
58 * c-common.c (check_function_arguments): Likewise. Adjust
59 calls to check_function_nonnull, check_function_format, and
60 check_function_sentinel.
61 (check_function_sentinel): Take a FUNCTION_TYPE rather than
62 separate attributes and typelist arguments. Use
63 FOREACH_FUNCTION_ARGS to iterate over argument types.
64
65 2011-05-15 Paolo Carlini <paolo.carlini@oracle.com>
66
67 * c-common.c (c_common_reswords): Reorder.
68 * c-common.h (rid): Likewise.
69
70 2011-05-10 Nathan Froyd <froydnj@codesourcery.com>
71
72 * c-common.c (def_fn_type): Don't call build_function_type, call
73 build_function_type_array or build_varargs_function_type_array
74 instead.
75 (c_common_nodes_and_builtins): Likewise.
76
77 2011-05-05 Nathan Froyd <froydnj@codesourcery.com>
78
79 * c-common.c (c_add_case_label): Omit the loc argument to
80 build_case_label.
81 * c-common.h (build_case_label): Remove.
82 * c-semantics.c (build_case_label): Remove.
83
84 2011-05-05 Joseph Myers <joseph@codesourcery.com>
85
86 * c-objc.h (objc_start_method_definition): Update prototype.
87 * stub-objc.c (objc_start_method_definition): Add extra parameter.
88
89 2011-05-04 Nathan Froyd <froydnj@codesourcery.com>
90
91 * c-common.c (check_main_parameter_types): Reindent. Don't use
92 TYPE_ARG_TYPES directly.
93 (handle_nonnull_attribute): Likewise.
94 (sync_resolve_params): Likewise.
95 * c-format.c (handle_format_arg_attribute): Likewise. Adjust call
96 to check_format_string.
97 (handle_format_attribute): Likewise.
98 (check_format_string): Take a function type to examine instead of
99 a type list. Use a function_arg_iterator to step through argument
100 types.
101
102 2011-05-04 Richard Guenther <rguenther@suse.de>
103
104 * c-common.c (fix_string_type): Use size_int for index type bounds.
105 (start_fname_decls): Do not pass NULL to build_int_cst.
106 (c_init_attributes): Likewise.
107 * c-lex.c (c_lex_with_flags): Likewise.
108
109 2011-04-27 Jason Merrill <jason@redhat.com>
110
111 * c-common.c (make_tree_vector_from_list): New.
112 * c-common.h: Declare it.
113
114 2011-04-26 Richard Guenther <rguenther@suse.de>
115
116 PR preprocessor/48248
117 * c-ppoutput.c (maybe_print_line): Always optimize newlines
118 for output size with -P.
119
120 2011-04-25 Paolo Carlini <paolo.carlini@oracle.com>
121
122 * c-common.c (struct c_common_resword): Add __underlying_type.
123 * c-common.h (enum rid): Add RID_UNDERLYING_TYPE.
124
125 2011-04-20 Jim Meyering <meyering@redhat.com>
126
127 * c-format.c (init_dollar_format_checking): Remove useless
128 if-before-free.
129
130 2011-04-15 Nicola Pero <nicola.pero@meta-innovation.com>
131
132 * c-objc.h (objc_get_interface_ivars): Removed.
133 (objc_detect_field_duplicates): New.
134 * stub-objc.c: Likewise.
135
136 2011-04-14 Nicola Pero <nicola.pero@meta-innovation.com>
137
138 * stub-objc.c (objc_declare_protocols): Renamed to
139 objc_declare_protocol.
140 * c-objc.h: Likewise.
141
142 2011-04-14 Nicola Pero <nicola.pero@meta-innovation.com>
143
144 * stub-objc.c (objc_declare_class): Updated argument name.
145
146 2011-04-12 Nathan Froyd <froydnj@codesourcery.com>
147
148 * c-common.h (c_common_init_ts): Declare.
149 * c-common.c (c_common_init_ts): Define.
150
151 2011-04-12 Nicola Pero <nicola.pero@meta-innovation.com>
152
153 * c-objc.h (objc_build_message_expr): Updated prototype.
154 * stub-objc.c (objc_build_message_expr): Likewise.
155
156 2011-04-12 Martin Jambor <mjambor@suse.cz>
157
158 * c-gimplify.c (c_genericize): Call cgraph_get_create_node instead
159 of cgraph_node.
160
161 2011-04-11 Richard Guenther <rguenther@suse.de>
162
163 * c-common.c (complete_array_type): Build a range type of
164 proper type.
165
166 2011-04-08 Nathan Froyd <froydnj@codesourcery.com>
167
168 * c-common.c (handle_sentinel_attribute): Don't use TYPE_ARG_TYPES.
169 (handle_type_generic_attribute): Likewise.
170
171 2011-04-07 Jason Merrill <jason@redhat.com>
172
173 PR c++/48450
174 * c-common.c (c_common_truthvalue_conversion): Don't ignore
175 conversion from C++0x scoped enum.
176
177 2011-04-06 Joseph Myers <joseph@codesourcery.com>
178
179 * c-target-def.h: New file.
180 * c-target.def: New file.
181 * c-target.h: New file.
182 * c-common.c (targetcm): Don't define here.
183 * c-common.h (default_handle_c_option): Declare.
184 * c-format.c: Include c-target.h instead of target.h.
185 * c-opts.c: Include c-target.h instead of target.h. Explicitly
186 include tm.h.
187 (default_handle_c_option): Move from targhooks.c.
188
189 2011-03-29 Jakub Jelinek <jakub@redhat.com>
190
191 PR preprocessor/48248
192 * c-ppoutput.c (print): Add src_file field.
193 (init_pp_output): Initialize it.
194 (maybe_print_line): Don't optimize by adding up to 8 newlines
195 if map->to_file and print.src_file are different file.
196 (print_line): Update print.src_file.
197
198 2011-03-25 Kai Tietz <ktietz@redhat.com>
199
200 * c-ada-spec.c (compare_comment): Use filename_cmp
201 instead of strcmp for filename.
202
203 2011-03-25 Jeff Law <law@redhat.com>
204
205 * c-family/c-common.c (def_fn_type): Add missing va_end.
206
207 2011-03-25 Jason Merrill <jason@redhat.com>
208
209 * c.opt: Add -std=c++03.
210
211 2011-03-22 Eric Botcazou <ebotcazou@adacore.com>
212
213 * c-ada-spec.c (dump_ada_template): Skip non-class instances.
214
215 2011-03-17 Kai Tietz
216
217 PR target/12171
218 * c-pretty-print.c (pp_c_specifier_qualifier_list):
219 Display allowed attributes for function pointer types.
220 (pp_c_attributes_display): New function to display
221 attributes having affects_type_identity flag set to true.
222 * c-pretty-print.h (pp_c_attributes_display): New prototype.
223
224 * c-common.c (c_common_attribute_table):
225 Add new element.
226 (c_common_format_attribute_table): Likewise.
227
228 2011-03-18 Jason Merrill <jason@redhat.com>
229
230 * c.opt (fconstexpr-depth): Add Var(max_constexpr_depth).
231 * c-common.h: Don't declare it here.
232 * c-common.c: Or define it here.
233 * c-opts.c (c_common_handle_option): Or set it here.
234
235 PR c++/35315
236 * c-common.c (handle_transparent_union_attribute): Don't
237 make a duplicate type in C++.
238
239 2011-03-15 Jason Merrill <jason@redhat.com>
240
241 * c-common.c (max_constexpr_depth): New.
242 * c-common.h: Declare it.
243 * c-opts.c (c_common_handle_option): Set it.
244 * c.opt (fconstexpr-depth): New option.
245
246 2011-03-11 Jason Merrill <jason@redhat.com>
247
248 * c-common.c (attribute_takes_identifier_p): Add missing const.
249
250 PR c++/46803
251 * c-common.c (attribute_takes_identifier_p): Assume that an
252 unknown attribute takes an identifier.
253
254 2011-03-07 Nathan Froyd <froydnj@codesourcery.com>
255
256 PR c/47786
257 * c-common.c (c_type_hash): Call list_length instead of iterating
258 through DECL_CHAIN. Rename 'i' to 'n_elements'.
259
260 2011-02-19 Jakub Jelinek <jakub@redhat.com>
261
262 PR c/47809
263 * c-common.c (c_fully_fold_internal): Handle VIEW_CONVERT_EXPR.
264
265 2011-02-17 Iain Sandoe <iains@gcc.gnu.org>
266
267 * c.opt (fobjc-abi-version=) New.
268 (fobjc-nilcheck): New.
269
270 2011-02-03 Nathan Froyd <froydnj@codesourcery.com>
271
272 PR c++/46890
273 * c-common.h (keyword_is_decl_specifier): Declare.
274 * c-common.c (keyword_is_decl_specifier): Define.
275 (keyword_is_function_specifier): New function.
276
277 2011-01-26 Jakub Jelinek <jakub@redhat.com>
278
279 PR c/47473
280 * c-lex.c (interpret_float): If CPP_N_IMAGINARY, ensure
281 EXCESS_PRECISION_EXPR is created with COMPLEX_TYPE instead of
282 REAL_TYPE.
283
284 2011-01-26 Arnaud Charlet <charlet@adacore.com>
285
286 * c-ada-spec.c (dump_generic_ada_node): Avoid dereferencing null type.
287
288 2011-01-26 Jakub Jelinek <jakub@redhat.com>
289
290 PR pch/47430
291 * c-opts.c (c_common_post_options): Call c_common_no_more_pch
292 after init_c_lex if pch_file is set.
293
294 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
295
296 PR c++/43601
297 * c.opt (-fkeep-inline-dllexport): New switch.
298
299 2011-01-12 Richard Guenther <rguenther@suse.de>
300
301 PR middle-end/32511
302 * c-common.c (handle_weak_attribute): Warn instead of error
303 on declaring an inline function weak.
304
305 2011-01-05 Tom Tromey <tromey@redhat.com>
306
307 * c-common.h (lvalue_error): Update.
308 * c-common.c (lvalue_error): Add 'loc' argument. Call error_at,
309 not error.
310
311 2010-12-29 Nicola Pero <nicola.pero@meta-innovation.com>
312
313 PR objc/47075
314 * c-objc.h (objc_finish_message_expr): Added argument to
315 prototype.
316
317 2010-12-22 Nathan Froyd <froydnj@codesourcery.com>
318
319 * c-common.c (handle_nonnull_attribute, handle_sentinel_attribute):
320 Use prototype_p.
321
322 2010-12-18 Nicola Pero <nicola.pero@meta-innovation.com>
323
324 * c-objc.h (objc_maybe_warn_exceptions): New.
325 * stub-objc.c (objc_maybe_warn_exceptions): New.
326
327 2010-12-10 Nathan Froyd <froydnj@codesourcery.com>
328
329 * c-common.h (readonly_error): Declare.
330 * c-common.c (readonly_error): Define.
331
332 2010-12-09 Nathan Froyd <froydnj@codesourcery.com>
333
334 * c-common.h (invalid_indirection_error): Declare.
335 * c-common.c (invalid_indirection_error): Define.
336
337 2010-12-03 Richard Guenther <rguenther@suse.de>
338
339 PR c/46745
340 * c-pretty-print.c (pp_c_postfix_expression): Handle MEM_REF.
341 (pp_c_unary_expression): Likewise.
342 (pp_c_expression): Likewise.
343
344 2010-11-30 Nicola Pero <nicola.pero@meta-innovation.com>
345
346 * c-common.h (objc_finish_function): New.
347 (objc_non_volatilized_type): Removed.
348 (objc_type_quals_match): Removed.
349 * stub-objc.c (objc_finish_function): New.
350 (objc_non_volatilized_type): Removed.
351 (objc_type_quals_match): Removed.
352
353 2010-11-30 Joseph Myers <joseph@codesourcery.com>
354
355 * c-common.h (parse_optimize_options): Declare.
356 * c-cppbuiltin.c, c-format.c, c-gimplify.c, c-lex.c, c-omp.c,
357 c-pch.c, c-pragma.c, c-semantics.c: Don't include toplev.h.
358
359 2010-11-29 Joseph Myers <joseph@codesourcery.com>
360
361 * c-opts.c (check_deps_environment_vars): Use getenv instead of
362 GET_ENVIRONMENT.
363 * c-pch.c (O_BINARY): Don't define here.
364 * c-pragma.h: Include "cpplib.h" instead of <cpplib.h>.
365
366 2010-11-25 Joseph Myers <joseph@codesourcery.com>
367
368 * c-cppbuiltin.c (c_cpp_builtins): Pass &global_options to
369 targetm.except_unwind_info.
370
371 2010-11-23 Joseph Myers <joseph@codesourcery.com>
372
373 * c-opts.c (c_common_handle_option): Pass location to
374 set_struct_debug_option.
375
376 2010-11-23 Joseph Myers <joseph@codesourcery.com>
377
378 * c-common.c (visibility_options): Move from ../opts.c.
379 * c-common.h (struct visibility_flags, visibility_options):
380 Declare here.
381 * c-opts.c (finish_options): Rename to c_finish_options.
382 (c_common_init): Update call to finish_options.
383
384 2010-11-22 Nicola Pero <nicola.pero@meta-innovation.com>
385
386 PR objc/34033
387 * c-lex.c (lex_string): Check that each string in an Objective-C
388 string concat sequence starts with either one or zero '@', and
389 that there are no spurious '@' signs at the end.
390
391 2010-11-20 Joseph Myers <joseph@codesourcery.com>
392
393 * c-pragma.c: Remove conditionals on HANDLE_PRAGMA_PACK,
394 HANDLE_PRAGMA_PACK_PUSH_POP, HANDLE_PRAGMA_WEAK and
395 HANDLE_PRAGMA_VISIBILITY.
396 * c-pragma.h (HANDLE_PRAGMA_WEAK, HANDLE_PRAGMA_PACK,
397 HANDLE_PRAGMA_VISIBILITY): Don't define.
398 (HANDLE_SYSV_PRAGMA, HANDLE_PRAGMA_PACK_PUSH_POP): Don't test.
399
400 2010-11-20 Nathan Froyd <froydnj@codesourcery.com>
401
402 PR c++/16189
403 PR c++/36888
404 PR c++/45331
405 * c-common.h (keyword_begins_type_specifier): Declare.
406 (keyword_is_storage_class_specifier): Declare.
407 (keyword_is_type_qualifier): Declare.
408 * c-common.c (keyword_begins_type_specifier): New function.
409 (keyword_is_storage_class_specifier): New function.
410 (keyword_is_type_qualifier): Declare.
411
412 2010-11-19 Joseph Myers <joseph@codesourcery.com>
413
414 PR c/46547
415 * c-common.c (in_late_binary_op): Define.
416 (c_common_truthvalue_conversion): Check in_late_binary_op before
417 calling c_save_expr.
418 * c-common.h (in_late_binary_op): Declare.
419
420 2010-11-19 Joseph Myers <joseph@codesourcery.com>
421
422 * c-opts.c (c_common_handle_option): Update calls to
423 set_struct_debug_option.
424
425 2010-11-19 Nicola Pero <nicola.pero@meta-innovation.com>
426
427 * c-common.h (objc_declare_protocols): Added additional argument.
428 * stub-objc.c (objc_declare_protocol): Same change.
429
430 2010-11-18 Nathan Froyd <froydnj@codesourcery.com>
431
432 PR c/33193
433 * c-common.h (build_real_imag_expr): Declare.
434 * c-semantics.c (build_real_imag_expr): Define.
435
436 2010-11-17 Joseph Myers <joseph@codesourcery.com>
437
438 * c-opts.c (c_common_parse_file): Take no arguments.
439 * c-common.h (c_common_parse_file): Update prototype.
440
441 2010-11-16 Jakub Jelinek <jakub@redhat.com>
442
443 PR c++/46401
444 * c-common.c (warning_candidate_p): Don't track non-const calls
445 or STRING_CSTs.
446
447 2010-11-15 Ian Lance Taylor <iant@google.com>
448
449 * c-lex.c (init_c_lex): Set macro debug callbacks if
450 flag_dump_go_spec is set.
451
452 2010-11-15 Nicola Pero <nicola.pero@meta-innovation.com>
453
454 * c-common.h (objc_build_incr_expr_for_property_ref): New.
455 * stub-objc.c (objc_build_incr_expr_for_property_ref): New.
456
457 2010-11-15 Nathan Froyd <froydnj@codesourcery.com>
458
459 PR preprocessor/45038
460 * c-cppbuiltin.c (c_cpp_builtins): Use different format for C++
461 dialects.
462
463 2010-11-12 Joseph Myers <joseph@codesourcery.com>
464
465 * c-common.h (c_family_lang_mask): Declare.
466 * c-opts.c (c_family_lang_mask): Make extern.
467 * c-pragma.c (handle_pragma_diagnostic): Use
468 control_warning_option.
469
470 2010-11-12 Joseph Myers <joseph@codesourcery.com>
471
472 * c-common.c (parse_optimize_options): Update call to
473 decode_options.
474 * c-common.h (c_common_handle_option): Update prototype.
475 * c-opts.c (c_common_handle_option): Take location_t parameter and
476 pass it to other functions.
477
478 2010-11-11 Joseph Myers <joseph@codesourcery.com>
479
480 * c-opts.c (warning_as_error_callback): Remove.
481 (c_common_initialize_diagnostics): Don't call
482 register_warning_as_error_callback.
483 (c_common_handle_option): Handle -Werror=normalized= here.
484
485 2010-11-10 Joseph Myers <joseph@codesourcery.com>
486
487 * c-common.c (handle_mode_attribute): Use %' and word "signedness"
488 in diagnostic.
489 * c-opts.c (c_common_parse_file): Start diagnostics with lowercase
490 letter.
491 * c-pragma.c (handle_pragma_target, handle_pragma_optimize):
492 Remove trailing '.' from diagnostics.
493 * c.opt (Wwrite-strings_: Avoid '`' in help text.
494
495 2010-11-10 Joseph Myers <joseph@codesourcery.com>
496
497 * c-common.c (parse_optimize_options): Pass global_dc to
498 decode_options.
499 * c-opts.c (c_common_handle_option): Pass &global_options to
500 set_Wstrict_aliasing.
501 * c.opt (v): Don't mark Common or document here.
502
503 2010-11-06 Iain Sandoe <iains@gcc.gnu.org>
504
505 PR target/44981
506 * c-format.c (format_type): New type gcc_objc_string_format_type.
507 (valid_stringptr_type_p): New.
508 (handle_format_arg_attribute): Use valid_stringptr_type_p ().
509 (check_format_string): Pass expected type, use
510 valid_stringptr_type_p (), check that the format string types are
511 consistent with the format specification.
512 (decode_format_attr): Warn if NSString is used outside objective-c.
513 (format_types_orig): Add NSString.
514 (format_name): New.
515 (format_flags): New.
516 (check_format_arg): Handle format strings requiring an external parser.
517 first_target_format_type: New variable.
518 (handle_format_attribute): Set up first_target_format_type, pass the
519 expected format arg string type to check_format_string().
520 * c-common.h (FMT_FLAG_PARSE_ARG_CONVERT_EXTERNAL): New flag.
521 * stub-objc.c (objc_string_ref_type_p): New.
522 (objc_check_format_arg): New.
523
524 2010-11-04 Nicola Pero <nicola.pero@meta-innovation.com>
525
526 Fixed using the Objective-C 2.0 dot-syntax with class names.
527 * c-common.h (objc_build_class_component_ref): New.
528 * stub-objc.c (objc_build_class_component_ref): New.
529
530 2010-11-03 Nicola Pero <nicola.pero@meta-innovation.com>
531
532 * c.opt (Wproperty-assign-default): New option.
533
534 2010-11-03 Nicola Pero <nicola.pero@meta-innovation.com>
535
536 Implemented -fobjc-std=objc1 flag.
537 * c.opt (fobjc-std=objc1): New option.
538
539 2010-11-01 Nicola Pero <nicola.pero@meta-innovation.com>
540
541 Implemented format and noreturn attributes for Objective-C methods.
542 * c-common.c (handle_noreturn_attribute): Recognize 'noreturn'
543 attribute for Objective-C methods.
544
545 2010-10-31 Jason Merrill <jason@redhat.com>
546
547 * c-common.c (conversion_warning, warn_for_collisions_1): Use
548 EXPR_LOC_OR_HERE.
549
550 2010-10-30 Nicola Pero <nicola.pero@meta-innovation.com>
551
552 Implemented Objective-C 2.0 @property, @synthesize and @dynamic.
553 * c-common.h (enum rid): Removed RID_COPIES and RID_IVAR.
554 (objc_add_property_declaration): Removed arguments for copies and
555 ivar.
556 (objc_build_getter_call): Renamed to
557 objc_maybe_build_component_ref.
558 (objc_build_setter_call): Renamed to objc_maybe_build_modify_expr.
559 (objc_is_property_ref): New.
560 * c-common.c (c_common_reswords): Removed copies and ivar.
561 * stub-objc.c (objc_add_property_declaration): Removed arguments
562 for copies and ivar.
563 (objc_build_getter_call): Renamed to
564 objc_maybe_build_component_ref.
565 (objc_build_setter_call): Renamed to objc_maybe_build_modify_expr.
566 (objc_is_property_ref): New.
567
568 2010-10-29 Arnaud Charlet <charlet@adacore.com>
569 Matthew Gingell <gingell@adacore.com>
570
571 * c-ada-spec.c (separate_class_package): New function.
572 (pp_ada_tree_identifier): Prefix references to C++ classes with the
573 name of their enclosing package.
574 (print_ada_declaration): Use separate_class_package.
575
576 2010-10-27 Jason Merrill <jason@redhat.com>
577
578 * c-common.c (c_common_reswords): Add __is_literal_type.
579 * c-common.h (enum rid): Add RID_IS_LITERAL_TYPE.
580
581 * c-common.c (check_case_value): Remove special C++ code.
582
583 2010-10-27 Nicola Pero <nicola.pero@meta-innovation.com>
584
585 * c-common.h (enum rid): Added RID_READWRITE, RID_ASSIGN,
586 RID_RETAIN, RID_COPY and RID_NONATOMIC. Updated RID_FIRST_PATTR
587 and RID_LAST_PATTR.
588 (objc_add_property_declaration): Added additional arguments.
589 (objc_property_attribute_kind): Removed.
590 (objc_set_property_attr): Removed.
591 * c-common.c (c_common_reswords): Added readwrite, assign, retain,
592 copy and nonatomic.
593 * stub-objc.c (objc_add_property_declaration): Added additional
594 arguments.
595 (objc_set_property_attr): Removed.
596
597 2010-10-27 Nicola Pero <nicola.pero@meta-innovation.com>
598
599 * c-common.h (objc_add_property_variable): Renamed to
600 objc_add_property_declaration. Added location argument.
601 * stub-objc.c (objc_add_property_variable): Same change.
602
603 2010-10-23 Nicola Pero <nicola.pero@meta-innovation.com>
604
605 * c-common.h (objc_maybe_printable_name): New.
606 * stub-objc.c (objc_maybe_printable_name): New.
607
608 2010-10-22 Artjoms Sinkarovs <artyom.shinakroff@gmail.com>
609 Andrew Pinski <pinskia@gmail.com>
610
611 * c-common.h (c_common_mark_addressable_vec): Declare.
612 * c-common.c (c_common_mark_addressable_vec): New function.
613
614 2010-10-20 Nicola Pero <nicola.pero@meta-innovation.com>
615
616 * c-common.h (objc_set_method_type): Removed.
617 (objc_add_method_declaration): Added boolean argument.
618 (objc_start_method_definition): Same change.
619 (objc_build_method_signature): Same change.
620 * stub-objc.c (objc_set_method_type): Removed.
621 (objc_add_method_declaration): Added boolean argument.
622 (objc_start_method_definition): Same change.
623 (objc_build_method_signature): Same change.
624
625 2010-10-20 Nicola Pero <nicola.pero@meta-innovation.com>
626
627 * c-common.h (finish_file): Removed.
628 (objc_write_global_declarations): New.
629 * c-opts.c (c_common_parse_file): Do not call finish_file.
630 * stub-objc.c (objc_write_global_declarations): New.
631
632 2010-10-18 Nicola Pero <nicola.pero@meta-innovation.com>
633
634 Implemented parsing @synthesize and @dynamic for
635 Objective-C/Objective-C++.
636 * c-common.h (enum rid): Add RID_AT_SYNTHESIZE and RID_AT_DYNAMIC.
637 (objc_add_synthesize_declaration): New.
638 (objc_add_dynamic_declaration): New.
639 * c-common.c (c_common_reswords): Add synthesize and dynamic.
640 * stub-objc.c (objc_add_synthesize_declaration): New.
641 (objc_add_dynamic_declaration): New.
642
643 2010-10-18 Michael Meissner <meissner@linux.vnet.ibm.com>
644
645 PR target/46041
646 * c-cppbuiltin.c (mode_has_fma): Move function here from
647 builtins.c. Don't use the fma optab, instead just use the
648 HAVE_fma* macros, so that __FP_FAST_FMA* will be defined when
649 using -save-temps.
650
651 2010-10-18 Nicola Pero <nicola.pero@meta-innovation.com>
652
653 Merge from 'apple/trunk' branch on FSF servers.
654
655 2005-11-08 Fariborz Jahanian <fjahanian@apple.com>
656
657 Radar 4330422
658 * c-common.h (objc_non_volatilized_type): New declaration
659 * stub-objc.c (objc_non_volatilized_type): New stub.
660
661 2010-10-17 Nicola Pero <nicola.pero@meta-innovation.com>
662
663 Merge from 'apple/trunk' branch on FSF servers.
664
665 2006-03-27 Fariborz Jahanian <fjahanian@apple.com>
666
667 Radar 4133425
668 * c-common.h (objc_diagnose_private_ivar): New decl.
669 * stub-objc.c (objc_diagnose_private_ivar): New stub.
670
671 2010-10-17 Iain Sandoe <iains@gcc.gnu.org>
672
673 * c-common.c (c_common_reswords): Add package, RID_AT_PACKAGE.
674 * c-common.h (enum rid): Add RID_AT_PACKAGE.
675 (objc_ivar_visibility_kind): New enum.
676 (objc_set_visibility): Adjust prototype to use visibility enum.
677 * stub-objc.c (objc_set_visibility): Adjust stub to use
678 visibility enum.
679
680 2010-10-14 Michael Meissner <meissner@linux.vnet.ibm.com>
681
682 * c-cppbuiltin.c (builtin_define_float_constants): Emit
683 __FP_FAST_FMA, __FP_FAST_FMAF, and __FP_FAST_FMAL if the machine
684 has the appropriate fma builtins.
685 (c_cpp_builtins): Adjust call to builtin_define_float_constants.
686
687 2010-10-14 Iain Sandoe <iains@gcc.gnu.org>
688
689 merge from FSF apple 'trunk' branch.
690 2006 Fariborz Jahanian <fjahanian@apple.com>
691
692 Radars 4436866, 4505126, 4506903, 4517826
693 * c-common.c (c_common_resword): Define @property and its attributes.
694 * c-common.h: Define property attribute enum entries.
695 (OBJC_IS_PATTR_KEYWORD): New.
696 (objc_property_attribute_kind): New enum.
697 Declare objc_set_property_attr (), objc_add_property_variable (),
698 objc_build_getter_call () and objc_build_setter_call ().
699 * stub-objc.c (objc_set_property_attr): New stub.
700 (objc_add_property_variable): Likewise.
701 (objc_build_getter_call): Likewise.
702 (objc_build_setter_call) Likewise.
703
704 2010-10-13 Iain Sandoe <iains@gcc.gnu.org>
705
706 merge from FSF apple 'trunk' branch.
707 2006-04-26 Fariborz Jahanian <fjahanian@apple.com>
708
709 Radar 3803157 (method attributes)
710 * c-common.c (handle_deprecated_attribute): Recognize
711 objc methods as valid declarations.
712 * c-common.h: Declare objc_method_decl ().
713 * stub-objc.c (objc_method_decl): New stub.
714
715 2010-10-08 Joseph Myers <joseph@codesourcery.com>
716
717 * c-common.c (parse_optimize_options): Call
718 decode_cmdline_options_to_array_default_mask before
719 decode_options. Update arguments to decode_options.
720 * c-common.h (c_common_init_options_struct): Declare.
721 * c-opts.c (c_common_init_options_struct): New. Split out from
722 c_common_init_options.
723
724 2010-10-06 Nicola Pero <nicola.pero@meta-innovation.com>
725
726 Implemented fast enumeration for Objective-C.
727 * c-common.h (objc_finish_foreach_loop): New.
728 * stub-objc.c (objc_finish_foreach_loop): New.
729
730 2010-10-05 Joseph Myers <joseph@codesourcery.com>
731
732 * c-common.h (struct diagnostic_context): Don't declare here.
733 (c_common_initialize_diagnostics): Declare using
734 diagnostic_context typedef.
735 * c-opts.c (c_common_handle_option): Pass global_dc to
736 handle_generated_option.
737
738 2010-10-04 Joseph Myers <joseph@codesourcery.com>
739
740 * c-opts.c (c_common_handle_option): Pass &global_options_set to
741 handle_generated_option.
742
743 2010-10-03 Ian Lance Taylor <iant@google.com>
744
745 * c.opt (-fplan9-extensions): New option.
746
747 2010-10-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
748
749 * c-cppbuiltin.c (define__GNUC__, builtin_define_type_precision):
750 Remove.
751 (c_cpp_builtins): Call functions from cppbuiltin.c instead
752 of duplicating code.
753
754 2010-09-30 Iain Sandoe <iains@gcc.gnu.org>
755
756 * c-common.c: Add two new entries for @optional
757 and @required keywords.
758
759 merge from FSF 'apple/trunk' branch.
760 2006-01-30 Fariborz Jahanian <fjahanian@apple.com>
761
762 Radar 4386773
763 * c-common.h (RID_AT_OPTIONAL, RID_AT_REQUIRED): Two new
764 objective-c keywords.
765 (objc_set_method_opt): New declaration.
766 * stub-objc.c (objc_set_method_opt): New stub.
767
768 2010-09-30 Joseph Myers <joseph@codesourcery.com>
769
770 * c-common.c (handle_optimize_attribute): Pass &global_options to
771 cl_optimization_save and cl_optimization_restore.
772 * c-opts.c (c_common_handle_option): Pass &global_options to
773 handle_generated_option.
774 * c-pragma.c (handle_pragma_diagnostic): Use option_flag_var.
775 (handle_pragma_pop_options, handle_pragma_reset_options): Pass
776 &global_options to cl_optimization_restore.
777
778 2010-09-30 Nicola Pero <nicola.pero@meta-innovation.com>
779
780 * c-lex.c (c_lex_with_flags): Updated comments for CPP_AT_NAME
781 Objective-C/Objective-C++ keywords.
782
783 2010-09-29 Nicola Pero <nicola.pero@meta-innovation.com>
784
785 Merge from 'apple/trunk' branch on FSF servers.
786
787 2005-10-04 Fariborz Jahanian <fjahanian@apple.com>
788
789 Radar 4281748
790 * c-common.h (objc_check_global_decl): New declaration.
791 * stub-objc.c (objc_check_global_decl): New stub.
792
793 2010-09-29 Joseph Myers <joseph@codesourcery.com>
794
795 * c.opt: Don't use VarExists.
796
797 2010-09-29 Joseph Myers <joseph@codesourcery.com>
798
799 * c-common.c (c_cpp_error): Update names of diagnostic_context
800 members.
801 * c-cppbuiltin.c (c_cpp_builtins_optimize_pragma): Update names of
802 cl_optimization members.
803 * c-opts.c (warning_as_error_callback, c_common_handle_option,
804 sanitize_cpp_opts, finish_options): Update names of cpp_options
805 members.
806
807 2010-09-29 Nicola Pero <nicola.pero@meta-innovation.com>
808
809 * c-common.h (OBJC_IS_CXX_KEYWORD): New macro. Updated comments.
810 (objc_is_reserved_word): Removed.
811 * c-common.c: Updated comments.
812 * c-lex.c (c_lex_with_flags): Use OBJC_IS_CXX_KEYWORD instead of
813 objc_is_reserved_word.
814 * stub-objc.c (objc_is_reserved_word): Removed.
815
816 2010-09-28 Iain Sandoe <iains@gcc.gnu.org>
817
818 * c-common.h (objc_add_method_declaration): Adjust prototype to
819 include attributes.
820 (objc_start_method_definition): Likewise.
821 (objc_build_keyword_decl): Likewise.
822 * stub-objc.c:(objc_add_method_declaration): Handle attributes.
823 (objc_start_method_definition): Likewise.
824 (objc_build_keyword_decl): Likewise.
825
826 2010-09-28 Iain Sandoe <iains@gcc.gnu.org>
827
828 * c-common.h (objc_start_class_interface): Adjust prototype.
829 (objc_start_category_interface): Likewise.
830 (objc_start_protocol): Likewise.
831 * stub-objc.c (objc_start_protocol): Adjust for extra argument.
832 (objc_start_class_interface): Likewise.
833 (objc_start_category_interface): Likewise.
834
835 2010-09-27 Ian Lance Taylor <iant@google.com>
836
837 * c-common.c (c_common_attribute_table): Add no_split_stack.
838 (handle_no_split_stack_attribute): New static function.
839
840 2010-09-27 Nicola Pero <nicola.pero@meta-innovation.com>
841
842 Merge from 'apple/trunk' branch on FSF servers.
843
844 2005-12-15 Fariborz Jahanian <fjahanian@apple.com>
845
846 Radar 4229905
847 * c-common.h (objc_have_common_type): New declaration.
848 * stub-objc.c (objc_have_common_type): New stub.
849
850 2005-06-22 Ziemowit Laski <zlaski@apple.com>
851
852 Radar 4154928
853 * c-common.h (objc_common_type): New prototype.
854 * stub-objc.c (objc_common_type): New stub.
855
856 2010-09-24 Jan Hubicka <jh@suse.cz>
857
858 * c-common.c (handle_leaf_attribute): New function.
859 (struct attribute_spec c_common_att): Add leaf.
860
861 2010-09-22 Joseph Myers <joseph@codesourcery.com>
862
863 * c.opt (-all-warnings, -ansi, -assert, -assert=, -comments,
864 -comments-in-macros, -define-macro, -define-macro=, -dependencies,
865 -dump, -dump=, -imacros, -imacros=, -include, -include=,
866 -include-barrier, -include-directory, -include-directory=,
867 -include-directory-after, -include-directory-after=,
868 -include-prefix, -include-prefix=, -include-with-prefix,
869 -include-with-prefix=, -include-with-prefix-after,
870 -include-with-prefix-after=, -include-with-prefix-before,
871 -include-with-prefix-before=, -no-integrated-cpp,
872 -no-line-commands, -no-standard-includes, -no-warnings, -output,
873 -output=, -pedantic, -pedantic-errors, -preprocess,
874 -print-missing-file-dependencies, -trace-includes, -traditional,
875 -traditional-cpp, -trigraphs, -undefine-macro, -undefine-macro=,
876 -user-dependencies, -verbose, -write-dependencies,
877 -write-user-dependencies, no-integrated-cpp, traditional): New.
878
879 2010-09-21 Nicola Pero <nicola.pero@meta-innovation.com>
880
881 PR objc/23710
882 * c-common.h (objc_start_method_definition): Return bool instead
883 of void.
884 * stub-objc.c (objc_start_method_definition): Return bool instead
885 of void.
886
887 2010-09-21 Nicola Pero <nicola.pero@meta-innovation.com>
888
889 PR objc/25965
890 * c-common.h (objc_get_interface_ivars): New declaration.
891 * stub-objc.c (objc_get_interface_ivars): New stub.
892
893 2010-09-15 Ian Lance Taylor <iant@google.com>
894
895 * c-common.c (parse_optimize_options): Do not capitalize warning
896 messages. Remove period at end of warning message.
897
898 2010-09-09 Nathan Sidwell <nathan@codesourcery.com>
899
900 * c-common.c (handle_alias_ifunc_attribute): New, broken out of ...
901 (handle_alias_attribute): ... here.
902 (handle_ifunc_attribute): New.
903
904 2010-09-06 Mark Mitchell <mark@codesourcery.com>
905
906 * c-common.h (do_warn_double_promotion): Declare.
907 * c-common.c (do_warn_double_promotion): Define.
908
909 2010-09-05 Mark Mitchell <mark@codesourcery.com>
910
911 * c.opt (Wdouble-promotion): New.
912
913 2010-09-02 Joseph Myers <joseph@codesourcery.com>
914
915 * c.opt (falt-external-templates, fhuge-objects, fvtable-gc,
916 fvtable-thunks, fxref): Mark no longer supported in help text.
917
918 2010-09-02 Joseph Myers <joseph@codesourcery.com>
919
920 * c.opt (Wimport, fall-virtual, falt-external-templates,
921 fdefault-inline, fenum-int-equiv, fexternal-templates,
922 fguiding-decls, fhonor-std, fhuge-objects, flabels-ok,
923 fname-mangling-version-, fnew-abi, fnonnull-objects,
924 foptional-diags, fsquangle, fstrict-prototype, fthis-is-variable,
925 fvtable-gc, fvtable-thunks, fxref): Mark with Ignore and Warn as
926 applicable.
927 (fhandle-exceptions): Mark with Alias and Warn.
928 * c-opts.c (c_common_handle_option): Don't handle options marked
929 as ignored.
930
931 2010-09-02 Joseph Myers <joseph@codesourcery.com>
932
933 * c.opt (Wcomments, Werror-implicit-function-declaration,
934 ftemplate-depth-, std=c89, std=c9x, std=gnu89, std=gnu9x,
935 std=iso9899:1990, std=iso9899:1999, std=iso9899:199x): Mark as
936 aliases.
937 * c-common.c (option_codes): Use OPT_Wcomment instead of
938 OPT_Wcomments.
939 * c-opts.c (warning_as_error_callback, c_common_handle_option):
940 Don't handle options marked as aliases.
941
942 2010-08-25 Richard Guenther <rguenther@suse.de>
943
944 * c-common.c (c_common_get_alias_set): Remove special
945 handling for pointers.
946
947 2010-08-20 Nathan Froyd <froydnj@codesourcery.com>
948
949 * c-common.c: Use FOR_EACH_VEC_ELT.
950 * c-gimplify.c: Likewise.
951 * c-pragma.c: Likewise.
952
953 2010-08-16 Joseph Myers <joseph@codesourcery.com>
954
955 * c.opt (MDX): Change back to MD. Mark NoDriverArg instead of
956 RejectDriver.
957 (MMDX): Change back to MMD. Mark NoDriverArg instead of
958 RejectDriver.
959 * c-opts.c (c_common_handle_option): Use OPT_MD and OPT_MMD
960 instead of OPT_MDX and OPT_MMDX.
961
962 2010-08-16 Joseph Myers <joseph@codesourcery.com>
963
964 * c.opt (MDX, MMDX, lang-asm): Mark RejectDriver.
965
966 2010-08-12 Joseph Myers <joseph@codesourcery.com>
967
968 * c.opt (MD, MMD): Change to MDX and MMDX.
969 * c-opts.c (c_common_handle_option): Use OPT_MMD and OPT_MMDX.
970
971 2010-08-11 Joseph Myers <joseph@codesourcery.com>
972
973 * c-opts.c (c_common_handle_option): Call handle_generated_option
974 instead of handle_option.
975
976 2010-08-08 Nathan Froyd <froydnj@codesourcery.com>
977
978 * c-pragma.c (add_to_renaming_pragma_list): Fix call to VEC_safe_push.
979 (maybe_apply_renaming_pragma): Delete unneeded declarations.
980
981 2010-08-08 Nathan Froyd <froydnj@codesourcery.com>
982
983 * c-pragma.c (pending_redefinition): Declare. Declare a VEC of it.
984 (pending_redefine_extname): Change type to a VEC.
985 (add_to_renaming_pragma_list): Update for new type of
986 pending_redefine_extname.
987 (maybe_apply_renaming_pragma): Likewise.
988
989 2010-08-04 Arnaud Charlet <charlet@adacore.com>
990
991 * c-ada-spec.c (dump_ada_template): Mark underlying instance type as
992 visited.
993 (dump_generic_ada_node): Code clean up. Use TREE_VISITED flag to
994 decide whether a type has already been declared/seen.
995 Do not go to the original type.
996 (dump_nested_types): New parameter forward.
997 Generate forward declaration if needed and mark type as visited.
998 (print_ada_declaration): Call dump_nested_types if not already done.
999 Mark types as visited.
1000
1001 2010-08-03 Joseph Myers <joseph@codesourcery.com>
1002
1003 * c.opt (-print-pch-checksum): Remove option.
1004 * c-opts.c (c_common_handle_option): Don't handle
1005 OPT_print_pch_checksum.
1006
1007 2010-07-27 Joseph Myers <joseph@codesourcery.com>
1008
1009 * c-common.h (c_common_handle_option): Update prototype and return
1010 value type.
1011 * c-opts.c (c_common_handle_option): Update prototype and return
1012 value type. Update calls to handle_option and
1013 enable_warning_as_error.
1014
1015 2010-07-27 Jakub Jelinek <jakub@redhat.com>
1016
1017 PR c/45079
1018 * c-pretty-print.c (pp_c_expression): Handle C_MAYBE_CONST_EXPR.
1019
1020 2010-07-27 Joseph Myers <joseph@codesourcery.com>
1021
1022 * c-common.h (c_common_missing_argument): Remove.
1023 * c-opts.c (c_common_missing_argument): Remove.
1024 * c.opt (A, D, F, I, MD, MMD, MQ, MT, U, fconstant-string-class=,
1025 idirafter, imacros, include, isysroot, isystem, iquote): Add
1026 MissingArgError.
1027 * c-objc-common.h (LANG_HOOKS_MISSING_ARGUMENT): Remove.
1028
1029 2010-07-27 Joseph Myers <joseph@codesourcery.com>
1030
1031 * c-common.h (c_common_option_lang_mask,
1032 c_common_initialize_diagnostics, c_common_complain_wrong_lang_p):
1033 New.
1034 (c_common_init_options): Update prototype.
1035 * c-opts.c (c_common_option_lang_mask): New.
1036 (c_common_initialize_diagnostics): Split out of
1037 c_common_init_options.
1038 (accept_all_c_family_options, c_common_complain_wrong_lang_p):
1039 New.
1040 (c_common_init_options): Update prototype. Use decoded options in
1041 search for -lang-asm.
1042
1043 2010-07-15 Nathan Froyd <froydnj@codesourcery.com>
1044
1045 * c-common.c: Carefully replace TREE_CHAIN with DECL_CHAIN.
1046 * c-format.c: Likewise.
1047
1048 2010-07-08 Manuel López-Ibáñez <manu@gcc.gnu.org>
1049
1050 * c-common.h: Include diagnostic-core.h. Error if already
1051 included.
1052 * c-semantics.c: Do not define GCC_DIAG_STYLE here.
1053
1054 2010-07-03 Manuel López-Ibáñez <manu@gcc.gnu.org>
1055
1056 * c-family/c-common.c (IN_GCC_FRONTEND): Do not undef.
1057 Do not include expr.h
1058 (vector_mode_valid_p): Move here.
1059
1060 2010-06-21 DJ Delorie <dj@redhat.com>
1061
1062 * c-pragma.c (handle_pragma_diagnostic): Add push/pop,
1063 allow these pragmas anywhere.
1064
1065 2010-06-14 Jakub Jelinek <jakub@redhat.com>
1066
1067 PR bootstrap/44509
1068 * c-cppbuiltin.c: Include gt-c-family-c-cppbuiltin.h.
1069 (lazy_hex_fp_values, lazy_hex_fp_value_count): Add GTY(()) markers.
1070 (lazy_hex_fp_value, builtin_define_with_hex_fp_value): Use
1071 ggc_strdup instead of xstrdup.
1072
1073 2010-06-10 Jakub Jelinek <jakub@redhat.com>
1074
1075 * c-cppbuiltin.c: Include cpp-id-data.h.
1076 (lazy_hex_fp_values, lazy_hex_fp_value_count): New variables.
1077 (lazy_hex_fp_value): New function.
1078 (builtin_define_with_hex_fp_value): Provide definitions lazily.
1079
1080 2010-06-30 Manuel López-Ibáñez <manu@gcc.gnu.org>
1081
1082 * c-gimplify.c: Do not include tree-flow.h
1083
1084 2010-06-29 Joern Rennecke <joern.rennecke@embecosm.com>
1085
1086 PR other/44034
1087 * c-common.c: Rename targetm member:
1088 targetm.enum_va_list -> targetm.enum_va_list_p
1089
1090 2010-06-28 Anatoly Sokolov <aesok@post.ru>
1091
1092 * c-common.c (shorten_compare): Adjust call to force_fit_type_double.
1093
1094 2010-06-28 Steven Bosscher <steven@gcc.gnu.org>
1095
1096 * c-cppbuiltin.c: Do not include except.h.
1097
1098 2010-06-24 Andi Kleen <ak@linux.intel.com>
1099
1100 * c-common.c (warn_for_omitted_condop): New.
1101 * c-common.h (warn_for_omitted_condop): Add prototype.
1102
1103 2010-06-21 Joseph Myers <joseph@codesourcery.com>
1104
1105 * c.opt (lang-objc): Remove.
1106 * c-opts.c (c_common_handle_option): Don't handle OPT_lang_objc.
1107
1108 2010-06-21 Joern Rennecke <joern.rennecke@embecosm.com>
1109
1110 * c-opts.c: Include "tm_p.h".
1111
1112 2010-06-20 Joseph Myers <joseph@codesourcery.com>
1113
1114 * c-common.c (parse_optimize_options): Update call to
1115 decode_options.
1116
1117 2010-06-18 Nathan Froyd <froydnj@codesourcery.com>
1118
1119 * c-common.c (record_types_used_by_current_var_decl): Adjust for
1120 new type of types_used_by_cur_var_decl.
1121
1122 2010-06-17 Joern Rennecke <joern.rennecke@embecosm.com>
1123
1124 PR bootstrap/44512
1125 * c-cppbuiltin.c (builtin_define_with_hex_fp_value): Add cast
1126 for C++ standard compliance.
1127
1128 2010-06-16 Jason Merrill <jason@redhat.com>
1129
1130 * c.opt: Add -Wnoexcept.
1131
1132 2010-06-16 Richard Guenther <rguenther@suse.de>
1133
1134 PR c/44555
1135 * c-common.c (c_common_truthvalue_conversion): Remove
1136 premature and wrong optimization concering ADDR_EXPRs.
1137
1138 2010-06-15 Arnaud Charlet <charlet@adacore.com>
1139
1140 * c-ada-spec.c (dump_sloc): Remove column info.
1141 (is_simple_enum): New function.
1142 (dump_generic_ada_node, print_ada_declaration): Map C enum types to Ada
1143 enum types when relevant.
1144
1145 2010-06-11 Manuel López-Ibáñez <manu@gcc.gnu.org>
1146
1147 * c-common.c (conversion_warning): Warn at expression
1148 location.
1149
1150 2010-06-10 Joseph Myers <joseph@codesourcery.com>
1151
1152 * c-opts.c (c_common_handle_option): Don't handle
1153 OPT_fshow_column.
1154
1155 2010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com>
1156
1157 * c-pragma.c (push_alignment): Use typed GC allocation.
1158 (handle_pragma_push_options): Likewise.
1159
1160 * c-common.c (parse_optimize_options): Likewise.
1161
1162 * c-common.h (struct sorted_fields_type): Add variable_size GTY
1163 option.
1164
1165 2010-06-07 Joseph Myers <joseph@codesourcery.com>
1166
1167 * c-common.c (flag_preprocess_only, flag_undef, flag_no_builtin,
1168 flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
1169 flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
1170 flag_signed_bitfields, warn_strict_null_sentinel,
1171 flag_nil_receivers, flag_zero_link, flag_replace_objc_classes,
1172 flag_gen_declaration, flag_no_gnu_keywords,
1173 flag_implement_inlines, flag_implicit_templates,
1174 flag_implicit_inline_templates, flag_optional_diags,
1175 flag_elide_constructors, flag_default_inline, flag_rtti,
1176 flag_conserve_space, flag_access_control, flag_check_new,
1177 flag_new_for_scope, flag_weak, flag_working_directory,
1178 flag_use_cxa_atexit, flag_use_cxa_get_exception_ptr,
1179 flag_enforce_eh_specs, flag_threadsafe_statics,
1180 flag_pretty_templates): Remove.
1181 * c-common.h (flag_preprocess_only, flag_nil_receivers,
1182 flag_objc_exceptions, flag_objc_sjlj_exceptions, flag_zero_link,
1183 flag_replace_objc_classes, flag_undef, flag_no_builtin,
1184 flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
1185 flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
1186 flag_const_strings, flag_signed_bitfields, flag_gen_declaration,
1187 flag_no_gnu_keywords, flag_implement_inlines,
1188 flag_implicit_templates, flag_implicit_inline_templates,
1189 flag_optional_diags, flag_elide_constructors, flag_default_inline,
1190 flag_rtti, flag_conserve_space, flag_access_control,
1191 flag_check_new, flag_new_for_scope, flag_weak,
1192 flag_working_directory, flag_use_cxa_atexit,
1193 flag_use_cxa_get_exception_ptr, flag_enforce_eh_specs,
1194 flag_threadsafe_statics, flag_pretty_templates,
1195 warn_strict_null_sentinel): Remove.
1196 * c.opt (E, Wstrict-null-sentinel, faccess-control, fasm,
1197 fbuiltin, fcheck-new, fconserve-space, felide-constructors,
1198 fenforce-eh-specs, ffor-scope, fgnu-keywords, fimplement-inlines,
1199 fimplicit-inline-templates, fimplicit-templates,
1200 flax-vector-conversions, fms-extensions, fnil-receivers,
1201 fnonansi-builtins, fpretty-templates, freplace-objc-classes,
1202 frtti, fshort-double, fshort-enums, fshort-wchar,
1203 fsigned-bitfields, fsigned-char, fstats, fthreadsafe-statics,
1204 funsigned-bitfields, funsigned-char, fuse-cxa-atexit,
1205 fuse-cxa-get-exception-ptr, fweak, fworking-directory, fzero-link,
1206 gen-decls, undef): Use Var.
1207 (fdefault-inline, foptional-diags): Document as doing nothing.
1208 * c-opts.c (c_common_handle_option): Remove cases for options now
1209 using Var. Mark ignored options as such.
1210
1211 2010-06-05 Steven Bosscher <steven@gcc.gnu.org>
1212
1213 * c-common.c: Moved to here from parent directory.
1214 * c-common.def: Likewise.
1215 * c-common.h: Likewise.
1216 * c-cppbuiltin.c: Likewise.
1217 * c-dump.c: Likewise.
1218 * c-format.c: Likewise.
1219 * c-format.h : Likewise.
1220 * c-gimplify.c: Likewise.
1221 * c-lex.c: Likewise.
1222 * c-omp.c: Likewise.
1223 * c.opt: Likewise.
1224 * c-opts.c: Likewise.
1225 * c-pch.c: Likewise.
1226 * c-ppoutput.c: Likewise.
1227 * c-pragma.c: Likewise.
1228 * c-pragma.h: Likewise.
1229 * c-pretty-print.c: Likewise.
1230 * c-pretty-print.h: Likewise.
1231 * c-semantics.c: Likewise.
1232 * stub-objc.c: Likewise.
1233
1234 * c-common.c: Include gt-c-family-c-common.h.
1235 * c-pragma.c: Include gt-c-family-c-pragma.h.
1236 \f
1237 Copyright (C) 2010, 2011 Free Software Foundation, Inc.
1238
1239 Copying and distribution of this file, with or without modification,
1240 are permitted in any medium without royalty provided the copyright
1241 notice and this notice are preserved.