1 2010-09-30 Nicola Pero <nicola.pero@meta-innovation.com>
3 * c-lex.c (c_lex_with_flags): Updated comments for CPP_AT_NAME
4 Objective-C/Objective-C++ keywords.
6 2010-09-29 Nicola Pero <nicola.pero@meta-innovation.com>
8 Merge from 'apple/trunk' branch on FSF servers.
10 2005-10-04 Fariborz Jahanian <fjahanian@apple.com>
13 * c-common.h (objc_check_global_decl): New declaration.
14 * stub-objc.c (objc_check_global_decl): New stub.
16 2010-09-29 Joseph Myers <joseph@codesourcery.com>
18 * c.opt: Don't use VarExists.
20 2010-09-29 Joseph Myers <joseph@codesourcery.com>
22 * c-common.c (c_cpp_error): Update names of diagnostic_context
24 * c-cppbuiltin.c (c_cpp_builtins_optimize_pragma): Update names of
25 cl_optimization members.
26 * c-opts.c (warning_as_error_callback, c_common_handle_option,
27 sanitize_cpp_opts, finish_options): Update names of cpp_options
30 2010-09-29 Nicola Pero <nicola.pero@meta-innovation.com>
32 * c-common.h (OBJC_IS_CXX_KEYWORD): New macro. Updated comments.
33 (objc_is_reserved_word): Removed.
34 * c-common.c: Updated comments.
35 * c-lex.c (c_lex_with_flags): Use OBJC_IS_CXX_KEYWORD instead of
36 objc_is_reserved_word.
37 * stub-objc.c (objc_is_reserved_word): Removed.
39 2010-09-28 Iain Sandoe <iains@gcc.gnu.org>
41 * c-common.h (objc_add_method_declaration): Adjust prototype to
43 (objc_start_method_definition): Likewise.
44 (objc_build_keyword_decl): Likewise.
45 * stub-objc.c:(objc_add_method_declaration): Handle attributes.
46 (objc_start_method_definition): Likewise.
47 (objc_build_keyword_decl): Likewise.
49 2010-09-28 Iain Sandoe <iains@gcc.gnu.org>
51 * c-common.h (objc_start_class_interface): Adjust prototype.
52 (objc_start_category_interface): Likewise.
53 (objc_start_protocol): Likewise.
54 * stub-objc.c (objc_start_protocol): Adjust for extra argument.
55 (objc_start_class_interface): Likewise.
56 (objc_start_category_interface): Likewise.
58 2010-09-27 Ian Lance Taylor <iant@google.com>
60 * c-common.c (c_common_attribute_table): Add no_split_stack.
61 (handle_no_split_stack_attribute): New static function.
63 2010-09-27 Nicola Pero <nicola.pero@meta-innovation.com>
65 Merge from 'apple/trunk' branch on FSF servers.
67 2005-12-15 Fariborz Jahanian <fjahanian@apple.com>
70 * c-common.h (objc_have_common_type): New declaration.
71 * stub-objc.c (objc_have_common_type): New stub.
73 2005-06-22 Ziemowit Laski <zlaski@apple.com>
76 * c-common.h (objc_common_type): New prototype.
77 * stub-objc.c (objc_common_type): New stub.
79 2010-09-24 Jan Hubicka <jh@suse.cz>
81 * c-common.c (handle_leaf_attribute): New function.
82 (struct attribute_spec c_common_att): Add leaf.
84 2010-09-22 Joseph Myers <joseph@codesourcery.com>
86 * c.opt (-all-warnings, -ansi, -assert, -assert=, -comments,
87 -comments-in-macros, -define-macro, -define-macro=, -dependencies,
88 -dump, -dump=, -imacros, -imacros=, -include, -include=,
89 -include-barrier, -include-directory, -include-directory=,
90 -include-directory-after, -include-directory-after=,
91 -include-prefix, -include-prefix=, -include-with-prefix,
92 -include-with-prefix=, -include-with-prefix-after,
93 -include-with-prefix-after=, -include-with-prefix-before,
94 -include-with-prefix-before=, -no-integrated-cpp,
95 -no-line-commands, -no-standard-includes, -no-warnings, -output,
96 -output=, -pedantic, -pedantic-errors, -preprocess,
97 -print-missing-file-dependencies, -trace-includes, -traditional,
98 -traditional-cpp, -trigraphs, -undefine-macro, -undefine-macro=,
99 -user-dependencies, -verbose, -write-dependencies,
100 -write-user-dependencies, no-integrated-cpp, traditional): New.
102 2010-09-21 Nicola Pero <nicola.pero@meta-innovation.com>
105 * c-common.h (objc_start_method_definition): Return bool instead
107 * stub-objc.c (objc_start_method_definition): Return bool instead
110 2010-09-21 Nicola Pero <nicola.pero@meta-innovation.com>
113 * c-common.h (objc_get_interface_ivars): New declaration.
114 * stub-objc.c (objc_get_interface_ivars): New stub.
116 2010-09-15 Ian Lance Taylor <iant@google.com>
118 * c-common.c (parse_optimize_options): Do not capitalize warning
119 messages. Remove period at end of warning message.
121 2010-09-09 Nathan Sidwell <nathan@codesourcery.com>
123 * c-common.c (handle_alias_ifunc_attribute): New, broken out of ...
124 (handle_alias_attribute): ... here.
125 (handle_ifunc_attribute): New.
127 2010-09-06 Mark Mitchell <mark@codesourcery.com>
129 * c-common.h (do_warn_double_promotion): Declare.
130 * c-common.c (do_warn_double_promotion): Define.
132 2010-09-05 Mark Mitchell <mark@codesourcery.com>
134 * c.opt (Wdouble-promotion): New.
136 2010-09-02 Joseph Myers <joseph@codesourcery.com>
138 * c.opt (falt-external-templates, fhuge-objects, fvtable-gc,
139 fvtable-thunks, fxref): Mark no longer supported in help text.
141 2010-09-02 Joseph Myers <joseph@codesourcery.com>
143 * c.opt (Wimport, fall-virtual, falt-external-templates,
144 fdefault-inline, fenum-int-equiv, fexternal-templates,
145 fguiding-decls, fhonor-std, fhuge-objects, flabels-ok,
146 fname-mangling-version-, fnew-abi, fnonnull-objects,
147 foptional-diags, fsquangle, fstrict-prototype, fthis-is-variable,
148 fvtable-gc, fvtable-thunks, fxref): Mark with Ignore and Warn as
150 (fhandle-exceptions): Mark with Alias and Warn.
151 * c-opts.c (c_common_handle_option): Don't handle options marked
154 2010-09-02 Joseph Myers <joseph@codesourcery.com>
156 * c.opt (Wcomments, Werror-implicit-function-declaration,
157 ftemplate-depth-, std=c89, std=c9x, std=gnu89, std=gnu9x,
158 std=iso9899:1990, std=iso9899:1999, std=iso9899:199x): Mark as
160 * c-common.c (option_codes): Use OPT_Wcomment instead of
162 * c-opts.c (warning_as_error_callback, c_common_handle_option):
163 Don't handle options marked as aliases.
165 2010-08-25 Richard Guenther <rguenther@suse.de>
167 * c-common.c (c_common_get_alias_set): Remove special
168 handling for pointers.
170 2010-08-20 Nathan Froyd <froydnj@codesourcery.com>
172 * c-common.c: Use FOR_EACH_VEC_ELT.
173 * c-gimplify.c: Likewise.
174 * c-pragma.c: Likewise.
176 2010-08-16 Joseph Myers <joseph@codesourcery.com>
178 * c.opt (MDX): Change back to MD. Mark NoDriverArg instead of
180 (MMDX): Change back to MMD. Mark NoDriverArg instead of
182 * c-opts.c (c_common_handle_option): Use OPT_MD and OPT_MMD
183 instead of OPT_MDX and OPT_MMDX.
185 2010-08-16 Joseph Myers <joseph@codesourcery.com>
187 * c.opt (MDX, MMDX, lang-asm): Mark RejectDriver.
189 2010-08-12 Joseph Myers <joseph@codesourcery.com>
191 * c.opt (MD, MMD): Change to MDX and MMDX.
192 * c-opts.c (c_common_handle_option): Use OPT_MMD and OPT_MMDX.
194 2010-08-11 Joseph Myers <joseph@codesourcery.com>
196 * c-opts.c (c_common_handle_option): Call handle_generated_option
197 instead of handle_option.
199 2010-08-08 Nathan Froyd <froydnj@codesourcery.com>
201 * c-pragma.c (add_to_renaming_pragma_list): Fix call to VEC_safe_push.
202 (maybe_apply_renaming_pragma): Delete unneeded declarations.
204 2010-08-08 Nathan Froyd <froydnj@codesourcery.com>
206 * c-pragma.c (pending_redefinition): Declare. Declare a VEC of it.
207 (pending_redefine_extname): Change type to a VEC.
208 (add_to_renaming_pragma_list): Update for new type of
209 pending_redefine_extname.
210 (maybe_apply_renaming_pragma): Likewise.
212 2010-08-04 Arnaud Charlet <charlet@adacore.com>
214 * c-ada-spec.c (dump_ada_template): Mark underlying instance type as
216 (dump_generic_ada_node): Code clean up. Use TREE_VISITED flag to
217 decide whether a type has already been declared/seen.
218 Do not go to the original type.
219 (dump_nested_types): New parameter forward.
220 Generate forward declaration if needed and mark type as visited.
221 (print_ada_declaration): Call dump_nested_types if not already done.
222 Mark types as visited.
224 2010-08-03 Joseph Myers <joseph@codesourcery.com>
226 * c.opt (-print-pch-checksum): Remove option.
227 * c-opts.c (c_common_handle_option): Don't handle
228 OPT_print_pch_checksum.
230 2010-07-27 Joseph Myers <joseph@codesourcery.com>
232 * c-common.h (c_common_handle_option): Update prototype and return
234 * c-opts.c (c_common_handle_option): Update prototype and return
235 value type. Update calls to handle_option and
236 enable_warning_as_error.
238 2010-07-27 Jakub Jelinek <jakub@redhat.com>
241 * c-pretty-print.c (pp_c_expression): Handle C_MAYBE_CONST_EXPR.
243 2010-07-27 Joseph Myers <joseph@codesourcery.com>
245 * c-common.h (c_common_missing_argument): Remove.
246 * c-opts.c (c_common_missing_argument): Remove.
247 * c.opt (A, D, F, I, MD, MMD, MQ, MT, U, fconstant-string-class=,
248 idirafter, imacros, include, isysroot, isystem, iquote): Add
250 * c-objc-common.h (LANG_HOOKS_MISSING_ARGUMENT): Remove.
252 2010-07-27 Joseph Myers <joseph@codesourcery.com>
254 * c-common.h (c_common_option_lang_mask,
255 c_common_initialize_diagnostics, c_common_complain_wrong_lang_p):
257 (c_common_init_options): Update prototype.
258 * c-opts.c (c_common_option_lang_mask): New.
259 (c_common_initialize_diagnostics): Split out of
260 c_common_init_options.
261 (accept_all_c_family_options, c_common_complain_wrong_lang_p):
263 (c_common_init_options): Update prototype. Use decoded options in
264 search for -lang-asm.
266 2010-07-15 Nathan Froyd <froydnj@codesourcery.com>
268 * c-common.c: Carefully replace TREE_CHAIN with DECL_CHAIN.
269 * c-format.c: Likewise.
271 2010-07-08 Manuel López-Ibáñez <manu@gcc.gnu.org>
273 * c-common.h: Include diagnostic-core.h. Error if already
275 * c-semantics.c: Do not define GCC_DIAG_STYLE here.
277 2010-07-03 Manuel López-Ibáñez <manu@gcc.gnu.org>
279 * c-family/c-common.c (IN_GCC_FRONTEND): Do not undef.
280 Do not include expr.h
281 (vector_mode_valid_p): Move here.
283 2010-06-21 DJ Delorie <dj@redhat.com>
285 * c-pragma.c (handle_pragma_diagnostic): Add push/pop,
286 allow these pragmas anywhere.
288 2010-06-14 Jakub Jelinek <jakub@redhat.com>
291 * c-cppbuiltin.c: Include gt-c-family-c-cppbuiltin.h.
292 (lazy_hex_fp_values, lazy_hex_fp_value_count): Add GTY(()) markers.
293 (lazy_hex_fp_value, builtin_define_with_hex_fp_value): Use
294 ggc_strdup instead of xstrdup.
296 2010-06-10 Jakub Jelinek <jakub@redhat.com>
298 * c-cppbuiltin.c: Include cpp-id-data.h.
299 (lazy_hex_fp_values, lazy_hex_fp_value_count): New variables.
300 (lazy_hex_fp_value): New function.
301 (builtin_define_with_hex_fp_value): Provide definitions lazily.
303 2010-06-30 Manuel López-Ibáñez <manu@gcc.gnu.org>
305 * c-gimplify.c: Do not include tree-flow.h
307 2010-06-29 Joern Rennecke <joern.rennecke@embecosm.com>
310 * c-common.c: Rename targetm member:
311 targetm.enum_va_list -> targetm.enum_va_list_p
313 2010-06-28 Anatoly Sokolov <aesok@post.ru>
315 * c-common.c (shorten_compare): Adjust call to force_fit_type_double.
317 2010-06-28 Steven Bosscher <steven@gcc.gnu.org>
319 * c-cppbuiltin.c: Do not include except.h.
321 2010-06-24 Andi Kleen <ak@linux.intel.com>
323 * c-common.c (warn_for_omitted_condop): New.
324 * c-common.h (warn_for_omitted_condop): Add prototype.
326 2010-06-21 Joseph Myers <joseph@codesourcery.com>
328 * c.opt (lang-objc): Remove.
329 * c-opts.c (c_common_handle_option): Don't handle OPT_lang_objc.
331 2010-06-21 Joern Rennecke <joern.rennecke@embecosm.com>
333 * c-opts.c: Include "tm_p.h".
335 2010-06-20 Joseph Myers <joseph@codesourcery.com>
337 * c-common.c (parse_optimize_options): Update call to
340 2010-06-18 Nathan Froyd <froydnj@codesourcery.com>
342 * c-common.c (record_types_used_by_current_var_decl): Adjust for
343 new type of types_used_by_cur_var_decl.
345 2010-06-17 Joern Rennecke <joern.rennecke@embecosm.com>
348 * c-cppbuiltin.c (builtin_define_with_hex_fp_value): Add cast
349 for C++ standard compliance.
351 2010-06-16 Jason Merrill <jason@redhat.com>
353 * c.opt: Add -Wnoexcept.
355 2010-06-16 Richard Guenther <rguenther@suse.de>
358 * c-common.c (c_common_truthvalue_conversion): Remove
359 premature and wrong optimization concering ADDR_EXPRs.
361 2010-06-15 Arnaud Charlet <charlet@adacore.com>
363 * c-ada-spec.c (dump_sloc): Remove column info.
364 (is_simple_enum): New function.
365 (dump_generic_ada_node, print_ada_declaration): Map C enum types to Ada
366 enum types when relevant.
368 2010-06-11 Manuel López-Ibáñez <manu@gcc.gnu.org>
370 * c-common.c (conversion_warning): Warn at expression
373 2010-06-10 Joseph Myers <joseph@codesourcery.com>
375 * c-opts.c (c_common_handle_option): Don't handle
378 2010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com>
380 * c-pragma.c (push_alignment): Use typed GC allocation.
381 (handle_pragma_push_options): Likewise.
383 * c-common.c (parse_optimize_options): Likewise.
385 * c-common.h (struct sorted_fields_type): Add variable_size GTY
388 2010-06-07 Joseph Myers <joseph@codesourcery.com>
390 * c-common.c (flag_preprocess_only, flag_undef, flag_no_builtin,
391 flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
392 flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
393 flag_signed_bitfields, warn_strict_null_sentinel,
394 flag_nil_receivers, flag_zero_link, flag_replace_objc_classes,
395 flag_gen_declaration, flag_no_gnu_keywords,
396 flag_implement_inlines, flag_implicit_templates,
397 flag_implicit_inline_templates, flag_optional_diags,
398 flag_elide_constructors, flag_default_inline, flag_rtti,
399 flag_conserve_space, flag_access_control, flag_check_new,
400 flag_new_for_scope, flag_weak, flag_working_directory,
401 flag_use_cxa_atexit, flag_use_cxa_get_exception_ptr,
402 flag_enforce_eh_specs, flag_threadsafe_statics,
403 flag_pretty_templates): Remove.
404 * c-common.h (flag_preprocess_only, flag_nil_receivers,
405 flag_objc_exceptions, flag_objc_sjlj_exceptions, flag_zero_link,
406 flag_replace_objc_classes, flag_undef, flag_no_builtin,
407 flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
408 flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
409 flag_const_strings, flag_signed_bitfields, flag_gen_declaration,
410 flag_no_gnu_keywords, flag_implement_inlines,
411 flag_implicit_templates, flag_implicit_inline_templates,
412 flag_optional_diags, flag_elide_constructors, flag_default_inline,
413 flag_rtti, flag_conserve_space, flag_access_control,
414 flag_check_new, flag_new_for_scope, flag_weak,
415 flag_working_directory, flag_use_cxa_atexit,
416 flag_use_cxa_get_exception_ptr, flag_enforce_eh_specs,
417 flag_threadsafe_statics, flag_pretty_templates,
418 warn_strict_null_sentinel): Remove.
419 * c.opt (E, Wstrict-null-sentinel, faccess-control, fasm,
420 fbuiltin, fcheck-new, fconserve-space, felide-constructors,
421 fenforce-eh-specs, ffor-scope, fgnu-keywords, fimplement-inlines,
422 fimplicit-inline-templates, fimplicit-templates,
423 flax-vector-conversions, fms-extensions, fnil-receivers,
424 fnonansi-builtins, fpretty-templates, freplace-objc-classes,
425 frtti, fshort-double, fshort-enums, fshort-wchar,
426 fsigned-bitfields, fsigned-char, fstats, fthreadsafe-statics,
427 funsigned-bitfields, funsigned-char, fuse-cxa-atexit,
428 fuse-cxa-get-exception-ptr, fweak, fworking-directory, fzero-link,
429 gen-decls, undef): Use Var.
430 (fdefault-inline, foptional-diags): Document as doing nothing.
431 * c-opts.c (c_common_handle_option): Remove cases for options now
432 using Var. Mark ignored options as such.
434 2010-06-05 Steven Bosscher <steven@gcc.gnu.org>
436 * c-common.c: Moved to here from parent directory.
437 * c-common.def: Likewise.
438 * c-common.h: Likewise.
439 * c-cppbuiltin.c: Likewise.
440 * c-dump.c: Likewise.
441 * c-format.c: Likewise.
442 * c-format.h : Likewise.
443 * c-gimplify.c: Likewise.
447 * c-opts.c: Likewise.
449 * c-ppoutput.c: Likewise.
450 * c-pragma.c: Likewise.
451 * c-pragma.h: Likewise.
452 * c-pretty-print.c: Likewise.
453 * c-pretty-print.h: Likewise.
454 * c-semantics.c: Likewise.
455 * stub-objc.c: Likewise.
457 * c-common.c: Include gt-c-family-c-common.h.
458 * c-pragma.c: Include gt-c-family-c-pragma.h.
460 Copyright (C) 2010 Free Software Foundation, Inc.
462 Copying and distribution of this file, with or without modification,
463 are permitted in any medium without royalty provided the copyright
464 notice and this notice are preserved.