1 2010-09-29 Joseph Myers <joseph@codesourcery.com>
3 * c.opt: Don't use VarExists.
5 2010-09-29 Joseph Myers <joseph@codesourcery.com>
7 * c-common.c (c_cpp_error): Update names of diagnostic_context
9 * c-cppbuiltin.c (c_cpp_builtins_optimize_pragma): Update names of
10 cl_optimization members.
11 * c-opts.c (warning_as_error_callback, c_common_handle_option,
12 sanitize_cpp_opts, finish_options): Update names of cpp_options
15 2010-09-29 Nicola Pero <nicola.pero@meta-innovation.com>
17 * c-common.h (OBJC_IS_CXX_KEYWORD): New macro. Updated comments.
18 (objc_is_reserved_word): Removed.
19 * c-common.c: Updated comments.
20 * c-lex.c (c_lex_with_flags): Use OBJC_IS_CXX_KEYWORD instead of
21 objc_is_reserved_word.
22 * stub-objc.c (objc_is_reserved_word): Removed.
24 2010-09-28 Iain Sandoe <iains@gcc.gnu.org>
26 * c-common.h (objc_add_method_declaration): Adjust prototype to
28 (objc_start_method_definition): Likewise.
29 (objc_build_keyword_decl): Likewise.
30 * stub-objc.c:(objc_add_method_declaration): Handle attributes.
31 (objc_start_method_definition): Likewise.
32 (objc_build_keyword_decl): Likewise.
34 2010-09-28 Iain Sandoe <iains@gcc.gnu.org>
36 * c-common.h (objc_start_class_interface): Adjust prototype.
37 (objc_start_category_interface): Likewise.
38 (objc_start_protocol): Likewise.
39 * stub-objc.c (objc_start_protocol): Adjust for extra argument.
40 (objc_start_class_interface): Likewise.
41 (objc_start_category_interface): Likewise.
43 2010-09-27 Ian Lance Taylor <iant@google.com>
45 * c-common.c (c_common_attribute_table): Add no_split_stack.
46 (handle_no_split_stack_attribute): New static function.
48 2010-09-27 Nicola Pero <nicola.pero@meta-innovation.com>
50 Merge from 'apple/trunk' branch on FSF servers.
52 2005-12-15 Fariborz Jahanian <fjahanian@apple.com>
55 * c-common.h (objc_have_common_type): New declaration.
56 * stub-objc.c (objc_have_common_type): New stub.
58 2005-06-22 Ziemowit Laski <zlaski@apple.com>
61 * c-common.h (objc_common_type): New prototype.
62 * stub-objc.c (objc_common_type): New stub.
64 2010-09-24 Jan Hubicka <jh@suse.cz>
66 * c-common.c (handle_leaf_attribute): New function.
67 (struct attribute_spec c_common_att): Add leaf.
69 2010-09-22 Joseph Myers <joseph@codesourcery.com>
71 * c.opt (-all-warnings, -ansi, -assert, -assert=, -comments,
72 -comments-in-macros, -define-macro, -define-macro=, -dependencies,
73 -dump, -dump=, -imacros, -imacros=, -include, -include=,
74 -include-barrier, -include-directory, -include-directory=,
75 -include-directory-after, -include-directory-after=,
76 -include-prefix, -include-prefix=, -include-with-prefix,
77 -include-with-prefix=, -include-with-prefix-after,
78 -include-with-prefix-after=, -include-with-prefix-before,
79 -include-with-prefix-before=, -no-integrated-cpp,
80 -no-line-commands, -no-standard-includes, -no-warnings, -output,
81 -output=, -pedantic, -pedantic-errors, -preprocess,
82 -print-missing-file-dependencies, -trace-includes, -traditional,
83 -traditional-cpp, -trigraphs, -undefine-macro, -undefine-macro=,
84 -user-dependencies, -verbose, -write-dependencies,
85 -write-user-dependencies, no-integrated-cpp, traditional): New.
87 2010-09-21 Nicola Pero <nicola.pero@meta-innovation.com>
90 * c-common.h (objc_start_method_definition): Return bool instead
92 * stub-objc.c (objc_start_method_definition): Return bool instead
95 2010-09-21 Nicola Pero <nicola.pero@meta-innovation.com>
98 * c-common.h (objc_get_interface_ivars): New declaration.
99 * stub-objc.c (objc_get_interface_ivars): New stub.
101 2010-09-15 Ian Lance Taylor <iant@google.com>
103 * c-common.c (parse_optimize_options): Do not capitalize warning
104 messages. Remove period at end of warning message.
106 2010-09-09 Nathan Sidwell <nathan@codesourcery.com>
108 * c-common.c (handle_alias_ifunc_attribute): New, broken out of ...
109 (handle_alias_attribute): ... here.
110 (handle_ifunc_attribute): New.
112 2010-09-06 Mark Mitchell <mark@codesourcery.com>
114 * c-common.h (do_warn_double_promotion): Declare.
115 * c-common.c (do_warn_double_promotion): Define.
117 2010-09-05 Mark Mitchell <mark@codesourcery.com>
119 * c.opt (Wdouble-promotion): New.
121 2010-09-02 Joseph Myers <joseph@codesourcery.com>
123 * c.opt (falt-external-templates, fhuge-objects, fvtable-gc,
124 fvtable-thunks, fxref): Mark no longer supported in help text.
126 2010-09-02 Joseph Myers <joseph@codesourcery.com>
128 * c.opt (Wimport, fall-virtual, falt-external-templates,
129 fdefault-inline, fenum-int-equiv, fexternal-templates,
130 fguiding-decls, fhonor-std, fhuge-objects, flabels-ok,
131 fname-mangling-version-, fnew-abi, fnonnull-objects,
132 foptional-diags, fsquangle, fstrict-prototype, fthis-is-variable,
133 fvtable-gc, fvtable-thunks, fxref): Mark with Ignore and Warn as
135 (fhandle-exceptions): Mark with Alias and Warn.
136 * c-opts.c (c_common_handle_option): Don't handle options marked
139 2010-09-02 Joseph Myers <joseph@codesourcery.com>
141 * c.opt (Wcomments, Werror-implicit-function-declaration,
142 ftemplate-depth-, std=c89, std=c9x, std=gnu89, std=gnu9x,
143 std=iso9899:1990, std=iso9899:1999, std=iso9899:199x): Mark as
145 * c-common.c (option_codes): Use OPT_Wcomment instead of
147 * c-opts.c (warning_as_error_callback, c_common_handle_option):
148 Don't handle options marked as aliases.
150 2010-08-25 Richard Guenther <rguenther@suse.de>
152 * c-common.c (c_common_get_alias_set): Remove special
153 handling for pointers.
155 2010-08-20 Nathan Froyd <froydnj@codesourcery.com>
157 * c-common.c: Use FOR_EACH_VEC_ELT.
158 * c-gimplify.c: Likewise.
159 * c-pragma.c: Likewise.
161 2010-08-16 Joseph Myers <joseph@codesourcery.com>
163 * c.opt (MDX): Change back to MD. Mark NoDriverArg instead of
165 (MMDX): Change back to MMD. Mark NoDriverArg instead of
167 * c-opts.c (c_common_handle_option): Use OPT_MD and OPT_MMD
168 instead of OPT_MDX and OPT_MMDX.
170 2010-08-16 Joseph Myers <joseph@codesourcery.com>
172 * c.opt (MDX, MMDX, lang-asm): Mark RejectDriver.
174 2010-08-12 Joseph Myers <joseph@codesourcery.com>
176 * c.opt (MD, MMD): Change to MDX and MMDX.
177 * c-opts.c (c_common_handle_option): Use OPT_MMD and OPT_MMDX.
179 2010-08-11 Joseph Myers <joseph@codesourcery.com>
181 * c-opts.c (c_common_handle_option): Call handle_generated_option
182 instead of handle_option.
184 2010-08-08 Nathan Froyd <froydnj@codesourcery.com>
186 * c-pragma.c (add_to_renaming_pragma_list): Fix call to VEC_safe_push.
187 (maybe_apply_renaming_pragma): Delete unneeded declarations.
189 2010-08-08 Nathan Froyd <froydnj@codesourcery.com>
191 * c-pragma.c (pending_redefinition): Declare. Declare a VEC of it.
192 (pending_redefine_extname): Change type to a VEC.
193 (add_to_renaming_pragma_list): Update for new type of
194 pending_redefine_extname.
195 (maybe_apply_renaming_pragma): Likewise.
197 2010-08-04 Arnaud Charlet <charlet@adacore.com>
199 * c-ada-spec.c (dump_ada_template): Mark underlying instance type as
201 (dump_generic_ada_node): Code clean up. Use TREE_VISITED flag to
202 decide whether a type has already been declared/seen.
203 Do not go to the original type.
204 (dump_nested_types): New parameter forward.
205 Generate forward declaration if needed and mark type as visited.
206 (print_ada_declaration): Call dump_nested_types if not already done.
207 Mark types as visited.
209 2010-08-03 Joseph Myers <joseph@codesourcery.com>
211 * c.opt (-print-pch-checksum): Remove option.
212 * c-opts.c (c_common_handle_option): Don't handle
213 OPT_print_pch_checksum.
215 2010-07-27 Joseph Myers <joseph@codesourcery.com>
217 * c-common.h (c_common_handle_option): Update prototype and return
219 * c-opts.c (c_common_handle_option): Update prototype and return
220 value type. Update calls to handle_option and
221 enable_warning_as_error.
223 2010-07-27 Jakub Jelinek <jakub@redhat.com>
226 * c-pretty-print.c (pp_c_expression): Handle C_MAYBE_CONST_EXPR.
228 2010-07-27 Joseph Myers <joseph@codesourcery.com>
230 * c-common.h (c_common_missing_argument): Remove.
231 * c-opts.c (c_common_missing_argument): Remove.
232 * c.opt (A, D, F, I, MD, MMD, MQ, MT, U, fconstant-string-class=,
233 idirafter, imacros, include, isysroot, isystem, iquote): Add
235 * c-objc-common.h (LANG_HOOKS_MISSING_ARGUMENT): Remove.
237 2010-07-27 Joseph Myers <joseph@codesourcery.com>
239 * c-common.h (c_common_option_lang_mask,
240 c_common_initialize_diagnostics, c_common_complain_wrong_lang_p):
242 (c_common_init_options): Update prototype.
243 * c-opts.c (c_common_option_lang_mask): New.
244 (c_common_initialize_diagnostics): Split out of
245 c_common_init_options.
246 (accept_all_c_family_options, c_common_complain_wrong_lang_p):
248 (c_common_init_options): Update prototype. Use decoded options in
249 search for -lang-asm.
251 2010-07-15 Nathan Froyd <froydnj@codesourcery.com>
253 * c-common.c: Carefully replace TREE_CHAIN with DECL_CHAIN.
254 * c-format.c: Likewise.
256 2010-07-08 Manuel López-Ibáñez <manu@gcc.gnu.org>
258 * c-common.h: Include diagnostic-core.h. Error if already
260 * c-semantics.c: Do not define GCC_DIAG_STYLE here.
262 2010-07-03 Manuel López-Ibáñez <manu@gcc.gnu.org>
264 * c-family/c-common.c (IN_GCC_FRONTEND): Do not undef.
265 Do not include expr.h
266 (vector_mode_valid_p): Move here.
268 2010-06-21 DJ Delorie <dj@redhat.com>
270 * c-pragma.c (handle_pragma_diagnostic): Add push/pop,
271 allow these pragmas anywhere.
273 2010-06-14 Jakub Jelinek <jakub@redhat.com>
276 * c-cppbuiltin.c: Include gt-c-family-c-cppbuiltin.h.
277 (lazy_hex_fp_values, lazy_hex_fp_value_count): Add GTY(()) markers.
278 (lazy_hex_fp_value, builtin_define_with_hex_fp_value): Use
279 ggc_strdup instead of xstrdup.
281 2010-06-10 Jakub Jelinek <jakub@redhat.com>
283 * c-cppbuiltin.c: Include cpp-id-data.h.
284 (lazy_hex_fp_values, lazy_hex_fp_value_count): New variables.
285 (lazy_hex_fp_value): New function.
286 (builtin_define_with_hex_fp_value): Provide definitions lazily.
288 2010-06-30 Manuel López-Ibáñez <manu@gcc.gnu.org>
290 * c-gimplify.c: Do not include tree-flow.h
292 2010-06-29 Joern Rennecke <joern.rennecke@embecosm.com>
295 * c-common.c: Rename targetm member:
296 targetm.enum_va_list -> targetm.enum_va_list_p
298 2010-06-28 Anatoly Sokolov <aesok@post.ru>
300 * c-common.c (shorten_compare): Adjust call to force_fit_type_double.
302 2010-06-28 Steven Bosscher <steven@gcc.gnu.org>
304 * c-cppbuiltin.c: Do not include except.h.
306 2010-06-24 Andi Kleen <ak@linux.intel.com>
308 * c-common.c (warn_for_omitted_condop): New.
309 * c-common.h (warn_for_omitted_condop): Add prototype.
311 2010-06-21 Joseph Myers <joseph@codesourcery.com>
313 * c.opt (lang-objc): Remove.
314 * c-opts.c (c_common_handle_option): Don't handle OPT_lang_objc.
316 2010-06-21 Joern Rennecke <joern.rennecke@embecosm.com>
318 * c-opts.c: Include "tm_p.h".
320 2010-06-20 Joseph Myers <joseph@codesourcery.com>
322 * c-common.c (parse_optimize_options): Update call to
325 2010-06-18 Nathan Froyd <froydnj@codesourcery.com>
327 * c-common.c (record_types_used_by_current_var_decl): Adjust for
328 new type of types_used_by_cur_var_decl.
330 2010-06-17 Joern Rennecke <joern.rennecke@embecosm.com>
333 * c-cppbuiltin.c (builtin_define_with_hex_fp_value): Add cast
334 for C++ standard compliance.
336 2010-06-16 Jason Merrill <jason@redhat.com>
338 * c.opt: Add -Wnoexcept.
340 2010-06-16 Richard Guenther <rguenther@suse.de>
343 * c-common.c (c_common_truthvalue_conversion): Remove
344 premature and wrong optimization concering ADDR_EXPRs.
346 2010-06-15 Arnaud Charlet <charlet@adacore.com>
348 * c-ada-spec.c (dump_sloc): Remove column info.
349 (is_simple_enum): New function.
350 (dump_generic_ada_node, print_ada_declaration): Map C enum types to Ada
351 enum types when relevant.
353 2010-06-11 Manuel López-Ibáñez <manu@gcc.gnu.org>
355 * c-common.c (conversion_warning): Warn at expression
358 2010-06-10 Joseph Myers <joseph@codesourcery.com>
360 * c-opts.c (c_common_handle_option): Don't handle
363 2010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com>
365 * c-pragma.c (push_alignment): Use typed GC allocation.
366 (handle_pragma_push_options): Likewise.
368 * c-common.c (parse_optimize_options): Likewise.
370 * c-common.h (struct sorted_fields_type): Add variable_size GTY
373 2010-06-07 Joseph Myers <joseph@codesourcery.com>
375 * c-common.c (flag_preprocess_only, flag_undef, flag_no_builtin,
376 flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
377 flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
378 flag_signed_bitfields, warn_strict_null_sentinel,
379 flag_nil_receivers, flag_zero_link, flag_replace_objc_classes,
380 flag_gen_declaration, flag_no_gnu_keywords,
381 flag_implement_inlines, flag_implicit_templates,
382 flag_implicit_inline_templates, flag_optional_diags,
383 flag_elide_constructors, flag_default_inline, flag_rtti,
384 flag_conserve_space, flag_access_control, flag_check_new,
385 flag_new_for_scope, flag_weak, flag_working_directory,
386 flag_use_cxa_atexit, flag_use_cxa_get_exception_ptr,
387 flag_enforce_eh_specs, flag_threadsafe_statics,
388 flag_pretty_templates): Remove.
389 * c-common.h (flag_preprocess_only, flag_nil_receivers,
390 flag_objc_exceptions, flag_objc_sjlj_exceptions, flag_zero_link,
391 flag_replace_objc_classes, flag_undef, flag_no_builtin,
392 flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
393 flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
394 flag_const_strings, flag_signed_bitfields, flag_gen_declaration,
395 flag_no_gnu_keywords, flag_implement_inlines,
396 flag_implicit_templates, flag_implicit_inline_templates,
397 flag_optional_diags, flag_elide_constructors, flag_default_inline,
398 flag_rtti, flag_conserve_space, flag_access_control,
399 flag_check_new, flag_new_for_scope, flag_weak,
400 flag_working_directory, flag_use_cxa_atexit,
401 flag_use_cxa_get_exception_ptr, flag_enforce_eh_specs,
402 flag_threadsafe_statics, flag_pretty_templates,
403 warn_strict_null_sentinel): Remove.
404 * c.opt (E, Wstrict-null-sentinel, faccess-control, fasm,
405 fbuiltin, fcheck-new, fconserve-space, felide-constructors,
406 fenforce-eh-specs, ffor-scope, fgnu-keywords, fimplement-inlines,
407 fimplicit-inline-templates, fimplicit-templates,
408 flax-vector-conversions, fms-extensions, fnil-receivers,
409 fnonansi-builtins, fpretty-templates, freplace-objc-classes,
410 frtti, fshort-double, fshort-enums, fshort-wchar,
411 fsigned-bitfields, fsigned-char, fstats, fthreadsafe-statics,
412 funsigned-bitfields, funsigned-char, fuse-cxa-atexit,
413 fuse-cxa-get-exception-ptr, fweak, fworking-directory, fzero-link,
414 gen-decls, undef): Use Var.
415 (fdefault-inline, foptional-diags): Document as doing nothing.
416 * c-opts.c (c_common_handle_option): Remove cases for options now
417 using Var. Mark ignored options as such.
419 2010-06-05 Steven Bosscher <steven@gcc.gnu.org>
421 * c-common.c: Moved to here from parent directory.
422 * c-common.def: Likewise.
423 * c-common.h: Likewise.
424 * c-cppbuiltin.c: Likewise.
425 * c-dump.c: Likewise.
426 * c-format.c: Likewise.
427 * c-format.h : Likewise.
428 * c-gimplify.c: Likewise.
432 * c-opts.c: Likewise.
434 * c-ppoutput.c: Likewise.
435 * c-pragma.c: Likewise.
436 * c-pragma.h: Likewise.
437 * c-pretty-print.c: Likewise.
438 * c-pretty-print.h: Likewise.
439 * c-semantics.c: Likewise.
440 * stub-objc.c: Likewise.
442 * c-common.c: Include gt-c-family-c-common.h.
443 * c-pragma.c: Include gt-c-family-c-pragma.h.
445 Copyright (C) 2010 Free Software Foundation, Inc.
447 Copying and distribution of this file, with or without modification,
448 are permitted in any medium without royalty provided the copyright
449 notice and this notice are preserved.