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