1 2010-11-01 Nicola Pero <nicola.pero@meta-innovation.com>
3 Implemented format and noreturn attributes for Objective-C methods.
4 * c-common.c (handle_noreturn_attribute): Recognize 'noreturn'
5 attribute for Objective-C methods.
7 2010-10-31 Jason Merrill <jason@redhat.com>
9 * c-common.c (conversion_warning, warn_for_collisions_1): Use
12 2010-10-30 Nicola Pero <nicola.pero@meta-innovation.com>
14 Implemented Objective-C 2.0 @property, @synthesize and @dynamic.
15 * c-common.h (enum rid): Removed RID_COPIES and RID_IVAR.
16 (objc_add_property_declaration): Removed arguments for copies and
18 (objc_build_getter_call): Renamed to
19 objc_maybe_build_component_ref.
20 (objc_build_setter_call): Renamed to objc_maybe_build_modify_expr.
21 (objc_is_property_ref): New.
22 * c-common.c (c_common_reswords): Removed copies and ivar.
23 * stub-objc.c (objc_add_property_declaration): Removed arguments
25 (objc_build_getter_call): Renamed to
26 objc_maybe_build_component_ref.
27 (objc_build_setter_call): Renamed to objc_maybe_build_modify_expr.
28 (objc_is_property_ref): New.
30 2010-10-29 Arnaud Charlet <charlet@adacore.com>
31 Matthew Gingell <gingell@adacore.com>
33 * c-ada-spec.c (separate_class_package): New function.
34 (pp_ada_tree_identifier): Prefix references to C++ classes with the
35 name of their enclosing package.
36 (print_ada_declaration): Use separate_class_package.
38 2010-10-27 Jason Merrill <jason@redhat.com>
40 * c-common.c (c_common_reswords): Add __is_literal_type.
41 * c-common.h (enum rid): Add RID_IS_LITERAL_TYPE.
43 * c-common.c (check_case_value): Remove special C++ code.
45 2010-10-27 Nicola Pero <nicola.pero@meta-innovation.com>
47 * c-common.h (enum rid): Added RID_READWRITE, RID_ASSIGN,
48 RID_RETAIN, RID_COPY and RID_NONATOMIC. Updated RID_FIRST_PATTR
50 (objc_add_property_declaration): Added additional arguments.
51 (objc_property_attribute_kind): Removed.
52 (objc_set_property_attr): Removed.
53 * c-common.c (c_common_reswords): Added readwrite, assign, retain,
55 * stub-objc.c (objc_add_property_declaration): Added additional
57 (objc_set_property_attr): Removed.
59 2010-10-27 Nicola Pero <nicola.pero@meta-innovation.com>
61 * c-common.h (objc_add_property_variable): Renamed to
62 objc_add_property_declaration. Added location argument.
63 * stub-objc.c (objc_add_property_variable): Same change.
65 2010-10-23 Nicola Pero <nicola.pero@meta-innovation.com>
67 * c-common.h (objc_maybe_printable_name): New.
68 * stub-objc.c (objc_maybe_printable_name): New.
70 2010-10-22 Artjoms Sinkarovs <artyom.shinakroff@gmail.com>
71 Andrew Pinski <pinskia@gmail.com>
73 * c-common.h (c_common_mark_addressable_vec): Declare.
74 * c-common.c (c_common_mark_addressable_vec): New function.
76 2010-10-20 Nicola Pero <nicola.pero@meta-innovation.com>
78 * c-common.h (objc_set_method_type): Removed.
79 (objc_add_method_declaration): Added boolean argument.
80 (objc_start_method_definition): Same change.
81 (objc_build_method_signature): Same change.
82 * stub-objc.c (objc_set_method_type): Removed.
83 (objc_add_method_declaration): Added boolean argument.
84 (objc_start_method_definition): Same change.
85 (objc_build_method_signature): Same change.
87 2010-10-20 Nicola Pero <nicola.pero@meta-innovation.com>
89 * c-common.h (finish_file): Removed.
90 (objc_write_global_declarations): New.
91 * c-opts.c (c_common_parse_file): Do not call finish_file.
92 * stub-objc.c (objc_write_global_declarations): New.
94 2010-10-18 Nicola Pero <nicola.pero@meta-innovation.com>
96 Implemented parsing @synthesize and @dynamic for
97 Objective-C/Objective-C++.
98 * c-common.h (enum rid): Add RID_AT_SYNTHESIZE and RID_AT_DYNAMIC.
99 (objc_add_synthesize_declaration): New.
100 (objc_add_dynamic_declaration): New.
101 * c-common.c (c_common_reswords): Add synthesize and dynamic.
102 * stub-objc.c (objc_add_synthesize_declaration): New.
103 (objc_add_dynamic_declaration): New.
105 2010-10-18 Michael Meissner <meissner@linux.vnet.ibm.com>
108 * c-cppbuiltin.c (mode_has_fma): Move function here from
109 builtins.c. Don't use the fma optab, instead just use the
110 HAVE_fma* macros, so that __FP_FAST_FMA* will be defined when
113 2010-10-18 Nicola Pero <nicola.pero@meta-innovation.com>
115 Merge from 'apple/trunk' branch on FSF servers.
117 2005-11-08 Fariborz Jahanian <fjahanian@apple.com>
120 * c-common.h (objc_non_volatilized_type): New declaration
121 * stub-objc.c (objc_non_volatilized_type): New stub.
123 2010-10-17 Nicola Pero <nicola.pero@meta-innovation.com>
125 Merge from 'apple/trunk' branch on FSF servers.
127 2006-03-27 Fariborz Jahanian <fjahanian@apple.com>
130 * c-common.h (objc_diagnose_private_ivar): New decl.
131 * stub-objc.c (objc_diagnose_private_ivar): New stub.
133 2010-10-17 Iain Sandoe <iains@gcc.gnu.org>
135 * c-common.c (c_common_reswords): Add package, RID_AT_PACKAGE.
136 * c-common.h (enum rid): Add RID_AT_PACKAGE.
137 (objc_ivar_visibility_kind): New enum.
138 (objc_set_visibility): Adjust prototype to use visibility enum.
139 * stub-objc.c (objc_set_visibility): Adjust stub to use
142 2010-10-14 Michael Meissner <meissner@linux.vnet.ibm.com>
144 * c-cppbuiltin.c (builtin_define_float_constants): Emit
145 __FP_FAST_FMA, __FP_FAST_FMAF, and __FP_FAST_FMAL if the machine
146 has the appropriate fma builtins.
147 (c_cpp_builtins): Adjust call to builtin_define_float_constants.
149 2010-10-14 Iain Sandoe <iains@gcc.gnu.org>
151 merge from FSF apple 'trunk' branch.
152 2006 Fariborz Jahanian <fjahanian@apple.com>
154 Radars 4436866, 4505126, 4506903, 4517826
155 * c-common.c (c_common_resword): Define @property and its attributes.
156 * c-common.h: Define property attribute enum entries.
157 (OBJC_IS_PATTR_KEYWORD): New.
158 (objc_property_attribute_kind): New enum.
159 Declare objc_set_property_attr (), objc_add_property_variable (),
160 objc_build_getter_call () and objc_build_setter_call ().
161 * stub-objc.c (objc_set_property_attr): New stub.
162 (objc_add_property_variable): Likewise.
163 (objc_build_getter_call): Likewise.
164 (objc_build_setter_call) Likewise.
166 2010-10-13 Iain Sandoe <iains@gcc.gnu.org>
168 merge from FSF apple 'trunk' branch.
169 2006-04-26 Fariborz Jahanian <fjahanian@apple.com>
171 Radar 3803157 (method attributes)
172 * c-common.c (handle_deprecated_attribute): Recognize
173 objc methods as valid declarations.
174 * c-common.h: Declare objc_method_decl ().
175 * stub-objc.c (objc_method_decl): New stub.
177 2010-10-08 Joseph Myers <joseph@codesourcery.com>
179 * c-common.c (parse_optimize_options): Call
180 decode_cmdline_options_to_array_default_mask before
181 decode_options. Update arguments to decode_options.
182 * c-common.h (c_common_init_options_struct): Declare.
183 * c-opts.c (c_common_init_options_struct): New. Split out from
184 c_common_init_options.
186 2010-10-06 Nicola Pero <nicola.pero@meta-innovation.com>
188 Implemented fast enumeration for Objective-C.
189 * c-common.h (objc_finish_foreach_loop): New.
190 * stub-objc.c (objc_finish_foreach_loop): New.
192 2010-10-05 Joseph Myers <joseph@codesourcery.com>
194 * c-common.h (struct diagnostic_context): Don't declare here.
195 (c_common_initialize_diagnostics): Declare using
196 diagnostic_context typedef.
197 * c-opts.c (c_common_handle_option): Pass global_dc to
198 handle_generated_option.
200 2010-10-04 Joseph Myers <joseph@codesourcery.com>
202 * c-opts.c (c_common_handle_option): Pass &global_options_set to
203 handle_generated_option.
205 2010-10-03 Ian Lance Taylor <iant@google.com>
207 * c.opt (-fplan9-extensions): New option.
209 2010-10-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
211 * c-cppbuiltin.c (define__GNUC__, builtin_define_type_precision):
213 (c_cpp_builtins): Call functions from cppbuiltin.c instead
216 2010-09-30 Iain Sandoe <iains@gcc.gnu.org>
218 * c-common.c: Add two new entries for @optional
219 and @required keywords.
221 merge from FSF 'apple/trunk' branch.
222 2006-01-30 Fariborz Jahanian <fjahanian@apple.com>
225 * c-common.h (RID_AT_OPTIONAL, RID_AT_REQUIRED): Two new
226 objective-c keywords.
227 (objc_set_method_opt): New declaration.
228 * stub-objc.c (objc_set_method_opt): New stub.
230 2010-09-30 Joseph Myers <joseph@codesourcery.com>
232 * c-common.c (handle_optimize_attribute): Pass &global_options to
233 cl_optimization_save and cl_optimization_restore.
234 * c-opts.c (c_common_handle_option): Pass &global_options to
235 handle_generated_option.
236 * c-pragma.c (handle_pragma_diagnostic): Use option_flag_var.
237 (handle_pragma_pop_options, handle_pragma_reset_options): Pass
238 &global_options to cl_optimization_restore.
240 2010-09-30 Nicola Pero <nicola.pero@meta-innovation.com>
242 * c-lex.c (c_lex_with_flags): Updated comments for CPP_AT_NAME
243 Objective-C/Objective-C++ keywords.
245 2010-09-29 Nicola Pero <nicola.pero@meta-innovation.com>
247 Merge from 'apple/trunk' branch on FSF servers.
249 2005-10-04 Fariborz Jahanian <fjahanian@apple.com>
252 * c-common.h (objc_check_global_decl): New declaration.
253 * stub-objc.c (objc_check_global_decl): New stub.
255 2010-09-29 Joseph Myers <joseph@codesourcery.com>
257 * c.opt: Don't use VarExists.
259 2010-09-29 Joseph Myers <joseph@codesourcery.com>
261 * c-common.c (c_cpp_error): Update names of diagnostic_context
263 * c-cppbuiltin.c (c_cpp_builtins_optimize_pragma): Update names of
264 cl_optimization members.
265 * c-opts.c (warning_as_error_callback, c_common_handle_option,
266 sanitize_cpp_opts, finish_options): Update names of cpp_options
269 2010-09-29 Nicola Pero <nicola.pero@meta-innovation.com>
271 * c-common.h (OBJC_IS_CXX_KEYWORD): New macro. Updated comments.
272 (objc_is_reserved_word): Removed.
273 * c-common.c: Updated comments.
274 * c-lex.c (c_lex_with_flags): Use OBJC_IS_CXX_KEYWORD instead of
275 objc_is_reserved_word.
276 * stub-objc.c (objc_is_reserved_word): Removed.
278 2010-09-28 Iain Sandoe <iains@gcc.gnu.org>
280 * c-common.h (objc_add_method_declaration): Adjust prototype to
282 (objc_start_method_definition): Likewise.
283 (objc_build_keyword_decl): Likewise.
284 * stub-objc.c:(objc_add_method_declaration): Handle attributes.
285 (objc_start_method_definition): Likewise.
286 (objc_build_keyword_decl): Likewise.
288 2010-09-28 Iain Sandoe <iains@gcc.gnu.org>
290 * c-common.h (objc_start_class_interface): Adjust prototype.
291 (objc_start_category_interface): Likewise.
292 (objc_start_protocol): Likewise.
293 * stub-objc.c (objc_start_protocol): Adjust for extra argument.
294 (objc_start_class_interface): Likewise.
295 (objc_start_category_interface): Likewise.
297 2010-09-27 Ian Lance Taylor <iant@google.com>
299 * c-common.c (c_common_attribute_table): Add no_split_stack.
300 (handle_no_split_stack_attribute): New static function.
302 2010-09-27 Nicola Pero <nicola.pero@meta-innovation.com>
304 Merge from 'apple/trunk' branch on FSF servers.
306 2005-12-15 Fariborz Jahanian <fjahanian@apple.com>
309 * c-common.h (objc_have_common_type): New declaration.
310 * stub-objc.c (objc_have_common_type): New stub.
312 2005-06-22 Ziemowit Laski <zlaski@apple.com>
315 * c-common.h (objc_common_type): New prototype.
316 * stub-objc.c (objc_common_type): New stub.
318 2010-09-24 Jan Hubicka <jh@suse.cz>
320 * c-common.c (handle_leaf_attribute): New function.
321 (struct attribute_spec c_common_att): Add leaf.
323 2010-09-22 Joseph Myers <joseph@codesourcery.com>
325 * c.opt (-all-warnings, -ansi, -assert, -assert=, -comments,
326 -comments-in-macros, -define-macro, -define-macro=, -dependencies,
327 -dump, -dump=, -imacros, -imacros=, -include, -include=,
328 -include-barrier, -include-directory, -include-directory=,
329 -include-directory-after, -include-directory-after=,
330 -include-prefix, -include-prefix=, -include-with-prefix,
331 -include-with-prefix=, -include-with-prefix-after,
332 -include-with-prefix-after=, -include-with-prefix-before,
333 -include-with-prefix-before=, -no-integrated-cpp,
334 -no-line-commands, -no-standard-includes, -no-warnings, -output,
335 -output=, -pedantic, -pedantic-errors, -preprocess,
336 -print-missing-file-dependencies, -trace-includes, -traditional,
337 -traditional-cpp, -trigraphs, -undefine-macro, -undefine-macro=,
338 -user-dependencies, -verbose, -write-dependencies,
339 -write-user-dependencies, no-integrated-cpp, traditional): New.
341 2010-09-21 Nicola Pero <nicola.pero@meta-innovation.com>
344 * c-common.h (objc_start_method_definition): Return bool instead
346 * stub-objc.c (objc_start_method_definition): Return bool instead
349 2010-09-21 Nicola Pero <nicola.pero@meta-innovation.com>
352 * c-common.h (objc_get_interface_ivars): New declaration.
353 * stub-objc.c (objc_get_interface_ivars): New stub.
355 2010-09-15 Ian Lance Taylor <iant@google.com>
357 * c-common.c (parse_optimize_options): Do not capitalize warning
358 messages. Remove period at end of warning message.
360 2010-09-09 Nathan Sidwell <nathan@codesourcery.com>
362 * c-common.c (handle_alias_ifunc_attribute): New, broken out of ...
363 (handle_alias_attribute): ... here.
364 (handle_ifunc_attribute): New.
366 2010-09-06 Mark Mitchell <mark@codesourcery.com>
368 * c-common.h (do_warn_double_promotion): Declare.
369 * c-common.c (do_warn_double_promotion): Define.
371 2010-09-05 Mark Mitchell <mark@codesourcery.com>
373 * c.opt (Wdouble-promotion): New.
375 2010-09-02 Joseph Myers <joseph@codesourcery.com>
377 * c.opt (falt-external-templates, fhuge-objects, fvtable-gc,
378 fvtable-thunks, fxref): Mark no longer supported in help text.
380 2010-09-02 Joseph Myers <joseph@codesourcery.com>
382 * c.opt (Wimport, fall-virtual, falt-external-templates,
383 fdefault-inline, fenum-int-equiv, fexternal-templates,
384 fguiding-decls, fhonor-std, fhuge-objects, flabels-ok,
385 fname-mangling-version-, fnew-abi, fnonnull-objects,
386 foptional-diags, fsquangle, fstrict-prototype, fthis-is-variable,
387 fvtable-gc, fvtable-thunks, fxref): Mark with Ignore and Warn as
389 (fhandle-exceptions): Mark with Alias and Warn.
390 * c-opts.c (c_common_handle_option): Don't handle options marked
393 2010-09-02 Joseph Myers <joseph@codesourcery.com>
395 * c.opt (Wcomments, Werror-implicit-function-declaration,
396 ftemplate-depth-, std=c89, std=c9x, std=gnu89, std=gnu9x,
397 std=iso9899:1990, std=iso9899:1999, std=iso9899:199x): Mark as
399 * c-common.c (option_codes): Use OPT_Wcomment instead of
401 * c-opts.c (warning_as_error_callback, c_common_handle_option):
402 Don't handle options marked as aliases.
404 2010-08-25 Richard Guenther <rguenther@suse.de>
406 * c-common.c (c_common_get_alias_set): Remove special
407 handling for pointers.
409 2010-08-20 Nathan Froyd <froydnj@codesourcery.com>
411 * c-common.c: Use FOR_EACH_VEC_ELT.
412 * c-gimplify.c: Likewise.
413 * c-pragma.c: Likewise.
415 2010-08-16 Joseph Myers <joseph@codesourcery.com>
417 * c.opt (MDX): Change back to MD. Mark NoDriverArg instead of
419 (MMDX): Change back to MMD. Mark NoDriverArg instead of
421 * c-opts.c (c_common_handle_option): Use OPT_MD and OPT_MMD
422 instead of OPT_MDX and OPT_MMDX.
424 2010-08-16 Joseph Myers <joseph@codesourcery.com>
426 * c.opt (MDX, MMDX, lang-asm): Mark RejectDriver.
428 2010-08-12 Joseph Myers <joseph@codesourcery.com>
430 * c.opt (MD, MMD): Change to MDX and MMDX.
431 * c-opts.c (c_common_handle_option): Use OPT_MMD and OPT_MMDX.
433 2010-08-11 Joseph Myers <joseph@codesourcery.com>
435 * c-opts.c (c_common_handle_option): Call handle_generated_option
436 instead of handle_option.
438 2010-08-08 Nathan Froyd <froydnj@codesourcery.com>
440 * c-pragma.c (add_to_renaming_pragma_list): Fix call to VEC_safe_push.
441 (maybe_apply_renaming_pragma): Delete unneeded declarations.
443 2010-08-08 Nathan Froyd <froydnj@codesourcery.com>
445 * c-pragma.c (pending_redefinition): Declare. Declare a VEC of it.
446 (pending_redefine_extname): Change type to a VEC.
447 (add_to_renaming_pragma_list): Update for new type of
448 pending_redefine_extname.
449 (maybe_apply_renaming_pragma): Likewise.
451 2010-08-04 Arnaud Charlet <charlet@adacore.com>
453 * c-ada-spec.c (dump_ada_template): Mark underlying instance type as
455 (dump_generic_ada_node): Code clean up. Use TREE_VISITED flag to
456 decide whether a type has already been declared/seen.
457 Do not go to the original type.
458 (dump_nested_types): New parameter forward.
459 Generate forward declaration if needed and mark type as visited.
460 (print_ada_declaration): Call dump_nested_types if not already done.
461 Mark types as visited.
463 2010-08-03 Joseph Myers <joseph@codesourcery.com>
465 * c.opt (-print-pch-checksum): Remove option.
466 * c-opts.c (c_common_handle_option): Don't handle
467 OPT_print_pch_checksum.
469 2010-07-27 Joseph Myers <joseph@codesourcery.com>
471 * c-common.h (c_common_handle_option): Update prototype and return
473 * c-opts.c (c_common_handle_option): Update prototype and return
474 value type. Update calls to handle_option and
475 enable_warning_as_error.
477 2010-07-27 Jakub Jelinek <jakub@redhat.com>
480 * c-pretty-print.c (pp_c_expression): Handle C_MAYBE_CONST_EXPR.
482 2010-07-27 Joseph Myers <joseph@codesourcery.com>
484 * c-common.h (c_common_missing_argument): Remove.
485 * c-opts.c (c_common_missing_argument): Remove.
486 * c.opt (A, D, F, I, MD, MMD, MQ, MT, U, fconstant-string-class=,
487 idirafter, imacros, include, isysroot, isystem, iquote): Add
489 * c-objc-common.h (LANG_HOOKS_MISSING_ARGUMENT): Remove.
491 2010-07-27 Joseph Myers <joseph@codesourcery.com>
493 * c-common.h (c_common_option_lang_mask,
494 c_common_initialize_diagnostics, c_common_complain_wrong_lang_p):
496 (c_common_init_options): Update prototype.
497 * c-opts.c (c_common_option_lang_mask): New.
498 (c_common_initialize_diagnostics): Split out of
499 c_common_init_options.
500 (accept_all_c_family_options, c_common_complain_wrong_lang_p):
502 (c_common_init_options): Update prototype. Use decoded options in
503 search for -lang-asm.
505 2010-07-15 Nathan Froyd <froydnj@codesourcery.com>
507 * c-common.c: Carefully replace TREE_CHAIN with DECL_CHAIN.
508 * c-format.c: Likewise.
510 2010-07-08 Manuel López-Ibáñez <manu@gcc.gnu.org>
512 * c-common.h: Include diagnostic-core.h. Error if already
514 * c-semantics.c: Do not define GCC_DIAG_STYLE here.
516 2010-07-03 Manuel López-Ibáñez <manu@gcc.gnu.org>
518 * c-family/c-common.c (IN_GCC_FRONTEND): Do not undef.
519 Do not include expr.h
520 (vector_mode_valid_p): Move here.
522 2010-06-21 DJ Delorie <dj@redhat.com>
524 * c-pragma.c (handle_pragma_diagnostic): Add push/pop,
525 allow these pragmas anywhere.
527 2010-06-14 Jakub Jelinek <jakub@redhat.com>
530 * c-cppbuiltin.c: Include gt-c-family-c-cppbuiltin.h.
531 (lazy_hex_fp_values, lazy_hex_fp_value_count): Add GTY(()) markers.
532 (lazy_hex_fp_value, builtin_define_with_hex_fp_value): Use
533 ggc_strdup instead of xstrdup.
535 2010-06-10 Jakub Jelinek <jakub@redhat.com>
537 * c-cppbuiltin.c: Include cpp-id-data.h.
538 (lazy_hex_fp_values, lazy_hex_fp_value_count): New variables.
539 (lazy_hex_fp_value): New function.
540 (builtin_define_with_hex_fp_value): Provide definitions lazily.
542 2010-06-30 Manuel López-Ibáñez <manu@gcc.gnu.org>
544 * c-gimplify.c: Do not include tree-flow.h
546 2010-06-29 Joern Rennecke <joern.rennecke@embecosm.com>
549 * c-common.c: Rename targetm member:
550 targetm.enum_va_list -> targetm.enum_va_list_p
552 2010-06-28 Anatoly Sokolov <aesok@post.ru>
554 * c-common.c (shorten_compare): Adjust call to force_fit_type_double.
556 2010-06-28 Steven Bosscher <steven@gcc.gnu.org>
558 * c-cppbuiltin.c: Do not include except.h.
560 2010-06-24 Andi Kleen <ak@linux.intel.com>
562 * c-common.c (warn_for_omitted_condop): New.
563 * c-common.h (warn_for_omitted_condop): Add prototype.
565 2010-06-21 Joseph Myers <joseph@codesourcery.com>
567 * c.opt (lang-objc): Remove.
568 * c-opts.c (c_common_handle_option): Don't handle OPT_lang_objc.
570 2010-06-21 Joern Rennecke <joern.rennecke@embecosm.com>
572 * c-opts.c: Include "tm_p.h".
574 2010-06-20 Joseph Myers <joseph@codesourcery.com>
576 * c-common.c (parse_optimize_options): Update call to
579 2010-06-18 Nathan Froyd <froydnj@codesourcery.com>
581 * c-common.c (record_types_used_by_current_var_decl): Adjust for
582 new type of types_used_by_cur_var_decl.
584 2010-06-17 Joern Rennecke <joern.rennecke@embecosm.com>
587 * c-cppbuiltin.c (builtin_define_with_hex_fp_value): Add cast
588 for C++ standard compliance.
590 2010-06-16 Jason Merrill <jason@redhat.com>
592 * c.opt: Add -Wnoexcept.
594 2010-06-16 Richard Guenther <rguenther@suse.de>
597 * c-common.c (c_common_truthvalue_conversion): Remove
598 premature and wrong optimization concering ADDR_EXPRs.
600 2010-06-15 Arnaud Charlet <charlet@adacore.com>
602 * c-ada-spec.c (dump_sloc): Remove column info.
603 (is_simple_enum): New function.
604 (dump_generic_ada_node, print_ada_declaration): Map C enum types to Ada
605 enum types when relevant.
607 2010-06-11 Manuel López-Ibáñez <manu@gcc.gnu.org>
609 * c-common.c (conversion_warning): Warn at expression
612 2010-06-10 Joseph Myers <joseph@codesourcery.com>
614 * c-opts.c (c_common_handle_option): Don't handle
617 2010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com>
619 * c-pragma.c (push_alignment): Use typed GC allocation.
620 (handle_pragma_push_options): Likewise.
622 * c-common.c (parse_optimize_options): Likewise.
624 * c-common.h (struct sorted_fields_type): Add variable_size GTY
627 2010-06-07 Joseph Myers <joseph@codesourcery.com>
629 * c-common.c (flag_preprocess_only, flag_undef, flag_no_builtin,
630 flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
631 flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
632 flag_signed_bitfields, warn_strict_null_sentinel,
633 flag_nil_receivers, flag_zero_link, flag_replace_objc_classes,
634 flag_gen_declaration, flag_no_gnu_keywords,
635 flag_implement_inlines, flag_implicit_templates,
636 flag_implicit_inline_templates, flag_optional_diags,
637 flag_elide_constructors, flag_default_inline, flag_rtti,
638 flag_conserve_space, flag_access_control, flag_check_new,
639 flag_new_for_scope, flag_weak, flag_working_directory,
640 flag_use_cxa_atexit, flag_use_cxa_get_exception_ptr,
641 flag_enforce_eh_specs, flag_threadsafe_statics,
642 flag_pretty_templates): Remove.
643 * c-common.h (flag_preprocess_only, flag_nil_receivers,
644 flag_objc_exceptions, flag_objc_sjlj_exceptions, flag_zero_link,
645 flag_replace_objc_classes, flag_undef, flag_no_builtin,
646 flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
647 flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
648 flag_const_strings, flag_signed_bitfields, flag_gen_declaration,
649 flag_no_gnu_keywords, flag_implement_inlines,
650 flag_implicit_templates, flag_implicit_inline_templates,
651 flag_optional_diags, flag_elide_constructors, flag_default_inline,
652 flag_rtti, flag_conserve_space, flag_access_control,
653 flag_check_new, flag_new_for_scope, flag_weak,
654 flag_working_directory, flag_use_cxa_atexit,
655 flag_use_cxa_get_exception_ptr, flag_enforce_eh_specs,
656 flag_threadsafe_statics, flag_pretty_templates,
657 warn_strict_null_sentinel): Remove.
658 * c.opt (E, Wstrict-null-sentinel, faccess-control, fasm,
659 fbuiltin, fcheck-new, fconserve-space, felide-constructors,
660 fenforce-eh-specs, ffor-scope, fgnu-keywords, fimplement-inlines,
661 fimplicit-inline-templates, fimplicit-templates,
662 flax-vector-conversions, fms-extensions, fnil-receivers,
663 fnonansi-builtins, fpretty-templates, freplace-objc-classes,
664 frtti, fshort-double, fshort-enums, fshort-wchar,
665 fsigned-bitfields, fsigned-char, fstats, fthreadsafe-statics,
666 funsigned-bitfields, funsigned-char, fuse-cxa-atexit,
667 fuse-cxa-get-exception-ptr, fweak, fworking-directory, fzero-link,
668 gen-decls, undef): Use Var.
669 (fdefault-inline, foptional-diags): Document as doing nothing.
670 * c-opts.c (c_common_handle_option): Remove cases for options now
671 using Var. Mark ignored options as such.
673 2010-06-05 Steven Bosscher <steven@gcc.gnu.org>
675 * c-common.c: Moved to here from parent directory.
676 * c-common.def: Likewise.
677 * c-common.h: Likewise.
678 * c-cppbuiltin.c: Likewise.
679 * c-dump.c: Likewise.
680 * c-format.c: Likewise.
681 * c-format.h : Likewise.
682 * c-gimplify.c: Likewise.
686 * c-opts.c: Likewise.
688 * c-ppoutput.c: Likewise.
689 * c-pragma.c: Likewise.
690 * c-pragma.h: Likewise.
691 * c-pretty-print.c: Likewise.
692 * c-pretty-print.h: Likewise.
693 * c-semantics.c: Likewise.
694 * stub-objc.c: Likewise.
696 * c-common.c: Include gt-c-family-c-common.h.
697 * c-pragma.c: Include gt-c-family-c-pragma.h.
699 Copyright (C) 2010 Free Software Foundation, Inc.
701 Copying and distribution of this file, with or without modification,
702 are permitted in any medium without royalty provided the copyright
703 notice and this notice are preserved.