1 2010-09-21 Nicola Pero <nicola.pero@meta-innovation.com>
4 * c-family/c-common.h (objc_start_method_definition): Return bool
6 * c-family/stub-objc.c (objc_start_method_definition): Return bool
9 2010-09-15 Ian Lance Taylor <iant@google.com>
11 * c-common.c (parse_optimize_options): Do not capitalize warning
12 messages. Remove period at end of warning message.
14 2010-09-09 Nathan Sidwell <nathan@codesourcery.com>
16 * c-common.c (handle_alias_ifunc_attribute): New, broken out of ...
17 (handle_alias_attribute): ... here.
18 (handle_ifunc_attribute): New.
20 2010-09-06 Mark Mitchell <mark@codesourcery.com>
22 * c-common.h (do_warn_double_promotion): Declare.
23 * c-common.c (do_warn_double_promotion): Define.
25 2010-09-05 Mark Mitchell <mark@codesourcery.com>
27 * c.opt (Wdouble-promotion): New.
29 2010-09-02 Joseph Myers <joseph@codesourcery.com>
31 * c.opt (falt-external-templates, fhuge-objects, fvtable-gc,
32 fvtable-thunks, fxref): Mark no longer supported in help text.
34 2010-09-02 Joseph Myers <joseph@codesourcery.com>
36 * c.opt (Wimport, fall-virtual, falt-external-templates,
37 fdefault-inline, fenum-int-equiv, fexternal-templates,
38 fguiding-decls, fhonor-std, fhuge-objects, flabels-ok,
39 fname-mangling-version-, fnew-abi, fnonnull-objects,
40 foptional-diags, fsquangle, fstrict-prototype, fthis-is-variable,
41 fvtable-gc, fvtable-thunks, fxref): Mark with Ignore and Warn as
43 (fhandle-exceptions): Mark with Alias and Warn.
44 * c-opts.c (c_common_handle_option): Don't handle options marked
47 2010-09-02 Joseph Myers <joseph@codesourcery.com>
49 * c.opt (Wcomments, Werror-implicit-function-declaration,
50 ftemplate-depth-, std=c89, std=c9x, std=gnu89, std=gnu9x,
51 std=iso9899:1990, std=iso9899:1999, std=iso9899:199x): Mark as
53 * c-common.c (option_codes): Use OPT_Wcomment instead of
55 * c-opts.c (warning_as_error_callback, c_common_handle_option):
56 Don't handle options marked as aliases.
58 2010-08-25 Richard Guenther <rguenther@suse.de>
60 * c-common.c (c_common_get_alias_set): Remove special
61 handling for pointers.
63 2010-08-20 Nathan Froyd <froydnj@codesourcery.com>
65 * c-common.c: Use FOR_EACH_VEC_ELT.
66 * c-gimplify.c: Likewise.
67 * c-pragma.c: Likewise.
69 2010-08-16 Joseph Myers <joseph@codesourcery.com>
71 * c.opt (MDX): Change back to MD. Mark NoDriverArg instead of
73 (MMDX): Change back to MMD. Mark NoDriverArg instead of
75 * c-opts.c (c_common_handle_option): Use OPT_MD and OPT_MMD
76 instead of OPT_MDX and OPT_MMDX.
78 2010-08-16 Joseph Myers <joseph@codesourcery.com>
80 * c.opt (MDX, MMDX, lang-asm): Mark RejectDriver.
82 2010-08-12 Joseph Myers <joseph@codesourcery.com>
84 * c.opt (MD, MMD): Change to MDX and MMDX.
85 * c-opts.c (c_common_handle_option): Use OPT_MMD and OPT_MMDX.
87 2010-08-11 Joseph Myers <joseph@codesourcery.com>
89 * c-opts.c (c_common_handle_option): Call handle_generated_option
90 instead of handle_option.
92 2010-08-08 Nathan Froyd <froydnj@codesourcery.com>
94 * c-pragma.c (add_to_renaming_pragma_list): Fix call to VEC_safe_push.
95 (maybe_apply_renaming_pragma): Delete unneeded declarations.
97 2010-08-08 Nathan Froyd <froydnj@codesourcery.com>
99 * c-pragma.c (pending_redefinition): Declare. Declare a VEC of it.
100 (pending_redefine_extname): Change type to a VEC.
101 (add_to_renaming_pragma_list): Update for new type of
102 pending_redefine_extname.
103 (maybe_apply_renaming_pragma): Likewise.
105 2010-08-04 Arnaud Charlet <charlet@adacore.com>
107 * c-ada-spec.c (dump_ada_template): Mark underlying instance type as
109 (dump_generic_ada_node): Code clean up. Use TREE_VISITED flag to
110 decide whether a type has already been declared/seen.
111 Do not go to the original type.
112 (dump_nested_types): New parameter forward.
113 Generate forward declaration if needed and mark type as visited.
114 (print_ada_declaration): Call dump_nested_types if not already done.
115 Mark types as visited.
117 2010-08-03 Joseph Myers <joseph@codesourcery.com>
119 * c.opt (-print-pch-checksum): Remove option.
120 * c-opts.c (c_common_handle_option): Don't handle
121 OPT_print_pch_checksum.
123 2010-07-27 Joseph Myers <joseph@codesourcery.com>
125 * c-common.h (c_common_handle_option): Update prototype and return
127 * c-opts.c (c_common_handle_option): Update prototype and return
128 value type. Update calls to handle_option and
129 enable_warning_as_error.
131 2010-07-27 Jakub Jelinek <jakub@redhat.com>
134 * c-pretty-print.c (pp_c_expression): Handle C_MAYBE_CONST_EXPR.
136 2010-07-27 Joseph Myers <joseph@codesourcery.com>
138 * c-common.h (c_common_missing_argument): Remove.
139 * c-opts.c (c_common_missing_argument): Remove.
140 * c.opt (A, D, F, I, MD, MMD, MQ, MT, U, fconstant-string-class=,
141 idirafter, imacros, include, isysroot, isystem, iquote): Add
143 * c-objc-common.h (LANG_HOOKS_MISSING_ARGUMENT): Remove.
145 2010-07-27 Joseph Myers <joseph@codesourcery.com>
147 * c-common.h (c_common_option_lang_mask,
148 c_common_initialize_diagnostics, c_common_complain_wrong_lang_p):
150 (c_common_init_options): Update prototype.
151 * c-opts.c (c_common_option_lang_mask): New.
152 (c_common_initialize_diagnostics): Split out of
153 c_common_init_options.
154 (accept_all_c_family_options, c_common_complain_wrong_lang_p):
156 (c_common_init_options): Update prototype. Use decoded options in
157 search for -lang-asm.
159 2010-07-15 Nathan Froyd <froydnj@codesourcery.com>
161 * c-common.c: Carefully replace TREE_CHAIN with DECL_CHAIN.
162 * c-format.c: Likewise.
164 2010-07-08 Manuel López-Ibáñez <manu@gcc.gnu.org>
166 * c-common.h: Include diagnostic-core.h. Error if already
168 * c-semantics.c: Do not define GCC_DIAG_STYLE here.
170 2010-07-03 Manuel López-Ibáñez <manu@gcc.gnu.org>
172 * c-family/c-common.c (IN_GCC_FRONTEND): Do not undef.
173 Do not include expr.h
174 (vector_mode_valid_p): Move here.
176 2010-06-21 DJ Delorie <dj@redhat.com>
178 * c-pragma.c (handle_pragma_diagnostic): Add push/pop,
179 allow these pragmas anywhere.
181 2010-06-14 Jakub Jelinek <jakub@redhat.com>
184 * c-cppbuiltin.c: Include gt-c-family-c-cppbuiltin.h.
185 (lazy_hex_fp_values, lazy_hex_fp_value_count): Add GTY(()) markers.
186 (lazy_hex_fp_value, builtin_define_with_hex_fp_value): Use
187 ggc_strdup instead of xstrdup.
189 2010-06-10 Jakub Jelinek <jakub@redhat.com>
191 * c-cppbuiltin.c: Include cpp-id-data.h.
192 (lazy_hex_fp_values, lazy_hex_fp_value_count): New variables.
193 (lazy_hex_fp_value): New function.
194 (builtin_define_with_hex_fp_value): Provide definitions lazily.
196 2010-06-30 Manuel López-Ibáñez <manu@gcc.gnu.org>
198 * c-gimplify.c: Do not include tree-flow.h
200 2010-06-29 Joern Rennecke <joern.rennecke@embecosm.com>
203 * c-common.c: Rename targetm member:
204 targetm.enum_va_list -> targetm.enum_va_list_p
206 2010-06-28 Anatoly Sokolov <aesok@post.ru>
208 * c-common.c (shorten_compare): Adjust call to force_fit_type_double.
210 2010-06-28 Steven Bosscher <steven@gcc.gnu.org>
212 * c-cppbuiltin.c: Do not include except.h.
214 2010-06-24 Andi Kleen <ak@linux.intel.com>
216 * c-common.c (warn_for_omitted_condop): New.
217 * c-common.h (warn_for_omitted_condop): Add prototype.
219 2010-06-21 Joseph Myers <joseph@codesourcery.com>
221 * c.opt (lang-objc): Remove.
222 * c-opts.c (c_common_handle_option): Don't handle OPT_lang_objc.
224 2010-06-21 Joern Rennecke <joern.rennecke@embecosm.com>
226 * c-opts.c: Include "tm_p.h".
228 2010-06-20 Joseph Myers <joseph@codesourcery.com>
230 * c-common.c (parse_optimize_options): Update call to
233 2010-06-18 Nathan Froyd <froydnj@codesourcery.com>
235 * c-common.c (record_types_used_by_current_var_decl): Adjust for
236 new type of types_used_by_cur_var_decl.
238 2010-06-17 Joern Rennecke <joern.rennecke@embecosm.com>
241 * c-cppbuiltin.c (builtin_define_with_hex_fp_value): Add cast
242 for C++ standard compliance.
244 2010-06-16 Jason Merrill <jason@redhat.com>
246 * c.opt: Add -Wnoexcept.
248 2010-06-16 Richard Guenther <rguenther@suse.de>
251 * c-common.c (c_common_truthvalue_conversion): Remove
252 premature and wrong optimization concering ADDR_EXPRs.
254 2010-06-15 Arnaud Charlet <charlet@adacore.com>
256 * c-ada-spec.c (dump_sloc): Remove column info.
257 (is_simple_enum): New function.
258 (dump_generic_ada_node, print_ada_declaration): Map C enum types to Ada
259 enum types when relevant.
261 2010-06-11 Manuel López-Ibáñez <manu@gcc.gnu.org>
263 * c-common.c (conversion_warning): Warn at expression
266 2010-06-10 Joseph Myers <joseph@codesourcery.com>
268 * c-opts.c (c_common_handle_option): Don't handle
271 2010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com>
273 * c-pragma.c (push_alignment): Use typed GC allocation.
274 (handle_pragma_push_options): Likewise.
276 * c-common.c (parse_optimize_options): Likewise.
278 * c-common.h (struct sorted_fields_type): Add variable_size GTY
281 2010-06-07 Joseph Myers <joseph@codesourcery.com>
283 * c-common.c (flag_preprocess_only, flag_undef, flag_no_builtin,
284 flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
285 flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
286 flag_signed_bitfields, warn_strict_null_sentinel,
287 flag_nil_receivers, flag_zero_link, flag_replace_objc_classes,
288 flag_gen_declaration, flag_no_gnu_keywords,
289 flag_implement_inlines, flag_implicit_templates,
290 flag_implicit_inline_templates, flag_optional_diags,
291 flag_elide_constructors, flag_default_inline, flag_rtti,
292 flag_conserve_space, flag_access_control, flag_check_new,
293 flag_new_for_scope, flag_weak, flag_working_directory,
294 flag_use_cxa_atexit, flag_use_cxa_get_exception_ptr,
295 flag_enforce_eh_specs, flag_threadsafe_statics,
296 flag_pretty_templates): Remove.
297 * c-common.h (flag_preprocess_only, flag_nil_receivers,
298 flag_objc_exceptions, flag_objc_sjlj_exceptions, flag_zero_link,
299 flag_replace_objc_classes, flag_undef, flag_no_builtin,
300 flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
301 flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
302 flag_const_strings, flag_signed_bitfields, flag_gen_declaration,
303 flag_no_gnu_keywords, flag_implement_inlines,
304 flag_implicit_templates, flag_implicit_inline_templates,
305 flag_optional_diags, flag_elide_constructors, flag_default_inline,
306 flag_rtti, flag_conserve_space, flag_access_control,
307 flag_check_new, flag_new_for_scope, flag_weak,
308 flag_working_directory, flag_use_cxa_atexit,
309 flag_use_cxa_get_exception_ptr, flag_enforce_eh_specs,
310 flag_threadsafe_statics, flag_pretty_templates,
311 warn_strict_null_sentinel): Remove.
312 * c.opt (E, Wstrict-null-sentinel, faccess-control, fasm,
313 fbuiltin, fcheck-new, fconserve-space, felide-constructors,
314 fenforce-eh-specs, ffor-scope, fgnu-keywords, fimplement-inlines,
315 fimplicit-inline-templates, fimplicit-templates,
316 flax-vector-conversions, fms-extensions, fnil-receivers,
317 fnonansi-builtins, fpretty-templates, freplace-objc-classes,
318 frtti, fshort-double, fshort-enums, fshort-wchar,
319 fsigned-bitfields, fsigned-char, fstats, fthreadsafe-statics,
320 funsigned-bitfields, funsigned-char, fuse-cxa-atexit,
321 fuse-cxa-get-exception-ptr, fweak, fworking-directory, fzero-link,
322 gen-decls, undef): Use Var.
323 (fdefault-inline, foptional-diags): Document as doing nothing.
324 * c-opts.c (c_common_handle_option): Remove cases for options now
325 using Var. Mark ignored options as such.
327 2010-06-05 Steven Bosscher <steven@gcc.gnu.org>
329 * c-common.c: Moved to here from parent directory.
330 * c-common.def: Likewise.
331 * c-common.h: Likewise.
332 * c-cppbuiltin.c: Likewise.
333 * c-dump.c: Likewise.
334 * c-format.c: Likewise.
335 * c-format.h : Likewise.
336 * c-gimplify.c: Likewise.
340 * c-opts.c: Likewise.
342 * c-ppoutput.c: Likewise.
343 * c-pragma.c: Likewise.
344 * c-pragma.h: Likewise.
345 * c-pretty-print.c: Likewise.
346 * c-pretty-print.h: Likewise.
347 * c-semantics.c: Likewise.
348 * stub-objc.c: Likewise.
350 * c-common.c: Include gt-c-family-c-common.h.
351 * c-pragma.c: Include gt-c-family-c-pragma.h.
353 Copyright (C) 2010 Free Software Foundation, Inc.
355 Copying and distribution of this file, with or without modification,
356 are permitted in any medium without royalty provided the copyright
357 notice and this notice are preserved.