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