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