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