1 2010-08-08 Nathan Froyd <froydnj@codesourcery.com>
3 * c-pragma.c (add_to_renaming_pragma_list): Fix call to VEC_safe_push.
4 (maybe_apply_renaming_pragma): Delete unneeded declarations.
6 2010-08-08 Nathan Froyd <froydnj@codesourcery.com>
8 * c-pragma.c (pending_redefinition): Declare. Declare a VEC of it.
9 (pending_redefine_extname): Change type to a VEC.
10 (add_to_renaming_pragma_list): Update for new type of
11 pending_redefine_extname.
12 (maybe_apply_renaming_pragma): Likewise.
14 2010-08-04 Arnaud Charlet <charlet@adacore.com>
16 * c-ada-spec.c (dump_ada_template): Mark underlying instance type as
18 (dump_generic_ada_node): Code clean up. Use TREE_VISITED flag to
19 decide whether a type has already been declared/seen.
20 Do not go to the original type.
21 (dump_nested_types): New parameter forward.
22 Generate forward declaration if needed and mark type as visited.
23 (print_ada_declaration): Call dump_nested_types if not already done.
24 Mark types as visited.
26 2010-08-03 Joseph Myers <joseph@codesourcery.com>
28 * c.opt (-print-pch-checksum): Remove option.
29 * c-opts.c (c_common_handle_option): Don't handle
30 OPT_print_pch_checksum.
32 2010-07-27 Joseph Myers <joseph@codesourcery.com>
34 * c-common.h (c_common_handle_option): Update prototype and return
36 * c-opts.c (c_common_handle_option): Update prototype and return
37 value type. Update calls to handle_option and
38 enable_warning_as_error.
40 2010-07-27 Jakub Jelinek <jakub@redhat.com>
43 * c-pretty-print.c (pp_c_expression): Handle C_MAYBE_CONST_EXPR.
45 2010-07-27 Joseph Myers <joseph@codesourcery.com>
47 * c-common.h (c_common_missing_argument): Remove.
48 * c-opts.c (c_common_missing_argument): Remove.
49 * c.opt (A, D, F, I, MD, MMD, MQ, MT, U, fconstant-string-class=,
50 idirafter, imacros, include, isysroot, isystem, iquote): Add
52 * c-objc-common.h (LANG_HOOKS_MISSING_ARGUMENT): Remove.
54 2010-07-27 Joseph Myers <joseph@codesourcery.com>
56 * c-common.h (c_common_option_lang_mask,
57 c_common_initialize_diagnostics, c_common_complain_wrong_lang_p):
59 (c_common_init_options): Update prototype.
60 * c-opts.c (c_common_option_lang_mask): New.
61 (c_common_initialize_diagnostics): Split out of
62 c_common_init_options.
63 (accept_all_c_family_options, c_common_complain_wrong_lang_p):
65 (c_common_init_options): Update prototype. Use decoded options in
68 2010-07-15 Nathan Froyd <froydnj@codesourcery.com>
70 * c-common.c: Carefully replace TREE_CHAIN with DECL_CHAIN.
71 * c-format.c: Likewise.
73 2010-07-08 Manuel López-Ibáñez <manu@gcc.gnu.org>
75 * c-common.h: Include diagnostic-core.h. Error if already
77 * c-semantics.c: Do not define GCC_DIAG_STYLE here.
79 2010-07-03 Manuel López-Ibáñez <manu@gcc.gnu.org>
81 * c-family/c-common.c (IN_GCC_FRONTEND): Do not undef.
83 (vector_mode_valid_p): Move here.
85 2010-06-21 DJ Delorie <dj@redhat.com>
87 * c-pragma.c (handle_pragma_diagnostic): Add push/pop,
88 allow these pragmas anywhere.
90 2010-06-14 Jakub Jelinek <jakub@redhat.com>
93 * c-cppbuiltin.c: Include gt-c-family-c-cppbuiltin.h.
94 (lazy_hex_fp_values, lazy_hex_fp_value_count): Add GTY(()) markers.
95 (lazy_hex_fp_value, builtin_define_with_hex_fp_value): Use
96 ggc_strdup instead of xstrdup.
98 2010-06-10 Jakub Jelinek <jakub@redhat.com>
100 * c-cppbuiltin.c: Include cpp-id-data.h.
101 (lazy_hex_fp_values, lazy_hex_fp_value_count): New variables.
102 (lazy_hex_fp_value): New function.
103 (builtin_define_with_hex_fp_value): Provide definitions lazily.
105 2010-06-30 Manuel López-Ibáñez <manu@gcc.gnu.org>
107 * c-gimplify.c: Do not include tree-flow.h
109 2010-06-29 Joern Rennecke <joern.rennecke@embecosm.com>
112 * c-common.c: Rename targetm member:
113 targetm.enum_va_list -> targetm.enum_va_list_p
115 2010-06-28 Anatoly Sokolov <aesok@post.ru>
117 * c-common.c (shorten_compare): Adjust call to force_fit_type_double.
119 2010-06-28 Steven Bosscher <steven@gcc.gnu.org>
121 * c-cppbuiltin.c: Do not include except.h.
123 2010-06-24 Andi Kleen <ak@linux.intel.com>
125 * c-common.c (warn_for_omitted_condop): New.
126 * c-common.h (warn_for_omitted_condop): Add prototype.
128 2010-06-21 Joseph Myers <joseph@codesourcery.com>
130 * c.opt (lang-objc): Remove.
131 * c-opts.c (c_common_handle_option): Don't handle OPT_lang_objc.
133 2010-06-21 Joern Rennecke <joern.rennecke@embecosm.com>
135 * c-opts.c: Include "tm_p.h".
137 2010-06-20 Joseph Myers <joseph@codesourcery.com>
139 * c-common.c (parse_optimize_options): Update call to
142 2010-06-18 Nathan Froyd <froydnj@codesourcery.com>
144 * c-common.c (record_types_used_by_current_var_decl): Adjust for
145 new type of types_used_by_cur_var_decl.
147 2010-06-17 Joern Rennecke <joern.rennecke@embecosm.com>
150 * c-cppbuiltin.c (builtin_define_with_hex_fp_value): Add cast
151 for C++ standard compliance.
153 2010-06-16 Jason Merrill <jason@redhat.com>
155 * c.opt: Add -Wnoexcept.
157 2010-06-16 Richard Guenther <rguenther@suse.de>
160 * c-common.c (c_common_truthvalue_conversion): Remove
161 premature and wrong optimization concering ADDR_EXPRs.
163 2010-06-15 Arnaud Charlet <charlet@adacore.com>
165 * c-ada-spec.c (dump_sloc): Remove column info.
166 (is_simple_enum): New function.
167 (dump_generic_ada_node, print_ada_declaration): Map C enum types to Ada
168 enum types when relevant.
170 2010-06-11 Manuel López-Ibáñez <manu@gcc.gnu.org>
172 * c-common.c (conversion_warning): Warn at expression
175 2010-06-10 Joseph Myers <joseph@codesourcery.com>
177 * c-opts.c (c_common_handle_option): Don't handle
180 2010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com>
182 * c-pragma.c (push_alignment): Use typed GC allocation.
183 (handle_pragma_push_options): Likewise.
185 * c-common.c (parse_optimize_options): Likewise.
187 * c-common.h (struct sorted_fields_type): Add variable_size GTY
190 2010-06-07 Joseph Myers <joseph@codesourcery.com>
192 * c-common.c (flag_preprocess_only, flag_undef, flag_no_builtin,
193 flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
194 flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
195 flag_signed_bitfields, warn_strict_null_sentinel,
196 flag_nil_receivers, flag_zero_link, flag_replace_objc_classes,
197 flag_gen_declaration, flag_no_gnu_keywords,
198 flag_implement_inlines, flag_implicit_templates,
199 flag_implicit_inline_templates, flag_optional_diags,
200 flag_elide_constructors, flag_default_inline, flag_rtti,
201 flag_conserve_space, flag_access_control, flag_check_new,
202 flag_new_for_scope, flag_weak, flag_working_directory,
203 flag_use_cxa_atexit, flag_use_cxa_get_exception_ptr,
204 flag_enforce_eh_specs, flag_threadsafe_statics,
205 flag_pretty_templates): Remove.
206 * c-common.h (flag_preprocess_only, flag_nil_receivers,
207 flag_objc_exceptions, flag_objc_sjlj_exceptions, flag_zero_link,
208 flag_replace_objc_classes, flag_undef, flag_no_builtin,
209 flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
210 flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
211 flag_const_strings, flag_signed_bitfields, flag_gen_declaration,
212 flag_no_gnu_keywords, flag_implement_inlines,
213 flag_implicit_templates, flag_implicit_inline_templates,
214 flag_optional_diags, flag_elide_constructors, flag_default_inline,
215 flag_rtti, flag_conserve_space, flag_access_control,
216 flag_check_new, flag_new_for_scope, flag_weak,
217 flag_working_directory, flag_use_cxa_atexit,
218 flag_use_cxa_get_exception_ptr, flag_enforce_eh_specs,
219 flag_threadsafe_statics, flag_pretty_templates,
220 warn_strict_null_sentinel): Remove.
221 * c.opt (E, Wstrict-null-sentinel, faccess-control, fasm,
222 fbuiltin, fcheck-new, fconserve-space, felide-constructors,
223 fenforce-eh-specs, ffor-scope, fgnu-keywords, fimplement-inlines,
224 fimplicit-inline-templates, fimplicit-templates,
225 flax-vector-conversions, fms-extensions, fnil-receivers,
226 fnonansi-builtins, fpretty-templates, freplace-objc-classes,
227 frtti, fshort-double, fshort-enums, fshort-wchar,
228 fsigned-bitfields, fsigned-char, fstats, fthreadsafe-statics,
229 funsigned-bitfields, funsigned-char, fuse-cxa-atexit,
230 fuse-cxa-get-exception-ptr, fweak, fworking-directory, fzero-link,
231 gen-decls, undef): Use Var.
232 (fdefault-inline, foptional-diags): Document as doing nothing.
233 * c-opts.c (c_common_handle_option): Remove cases for options now
234 using Var. Mark ignored options as such.
236 2010-06-05 Steven Bosscher <steven@gcc.gnu.org>
238 * c-common.c: Moved to here from parent directory.
239 * c-common.def: Likewise.
240 * c-common.h: Likewise.
241 * c-cppbuiltin.c: Likewise.
242 * c-dump.c: Likewise.
243 * c-format.c: Likewise.
244 * c-format.h : Likewise.
245 * c-gimplify.c: Likewise.
249 * c-opts.c: Likewise.
251 * c-ppoutput.c: Likewise.
252 * c-pragma.c: Likewise.
253 * c-pragma.h: Likewise.
254 * c-pretty-print.c: Likewise.
255 * c-pretty-print.h: Likewise.
256 * c-semantics.c: Likewise.
257 * stub-objc.c: Likewise.
259 * c-common.c: Include gt-c-family-c-common.h.
260 * c-pragma.c: Include gt-c-family-c-pragma.h.
262 Copyright (C) 2010 Free Software Foundation, Inc.
264 Copying and distribution of this file, with or without modification,
265 are permitted in any medium without royalty provided the copyright
266 notice and this notice are preserved.