1 2010-09-27 Ian Lance Taylor <iant@google.com>
3 * c-common.c (c_common_attribute_table): Add no_split_stack.
4 (handle_no_split_stack_attribute): New static function.
6 2010-09-27 Nicola Pero <nicola.pero@meta-innovation.com>
8 Merge from 'apple/trunk' branch on FSF servers.
10 2005-12-15 Fariborz Jahanian <fjahanian@apple.com>
13 * c-common.h (objc_have_common_type): New declaration.
14 * stub-objc.c (objc_have_common_type): New stub.
16 2005-06-22 Ziemowit Laski <zlaski@apple.com>
19 * c-common.h (objc_common_type): New prototype.
20 * stub-objc.c (objc_common_type): New stub.
22 2010-09-24 Jan Hubicka <jh@suse.cz>
24 * c-common.c (handle_leaf_attribute): New function.
25 (struct attribute_spec c_common_att): Add leaf.
27 2010-09-22 Joseph Myers <joseph@codesourcery.com>
29 * c.opt (-all-warnings, -ansi, -assert, -assert=, -comments,
30 -comments-in-macros, -define-macro, -define-macro=, -dependencies,
31 -dump, -dump=, -imacros, -imacros=, -include, -include=,
32 -include-barrier, -include-directory, -include-directory=,
33 -include-directory-after, -include-directory-after=,
34 -include-prefix, -include-prefix=, -include-with-prefix,
35 -include-with-prefix=, -include-with-prefix-after,
36 -include-with-prefix-after=, -include-with-prefix-before,
37 -include-with-prefix-before=, -no-integrated-cpp,
38 -no-line-commands, -no-standard-includes, -no-warnings, -output,
39 -output=, -pedantic, -pedantic-errors, -preprocess,
40 -print-missing-file-dependencies, -trace-includes, -traditional,
41 -traditional-cpp, -trigraphs, -undefine-macro, -undefine-macro=,
42 -user-dependencies, -verbose, -write-dependencies,
43 -write-user-dependencies, no-integrated-cpp, traditional): New.
45 2010-09-21 Nicola Pero <nicola.pero@meta-innovation.com>
48 * c-common.h (objc_start_method_definition): Return bool instead
50 * stub-objc.c (objc_start_method_definition): Return bool instead
53 2010-09-21 Nicola Pero <nicola.pero@meta-innovation.com>
56 * c-common.h (objc_get_interface_ivars): New declaration.
57 * stub-objc.c (objc_get_interface_ivars): New stub.
59 2010-09-15 Ian Lance Taylor <iant@google.com>
61 * c-common.c (parse_optimize_options): Do not capitalize warning
62 messages. Remove period at end of warning message.
64 2010-09-09 Nathan Sidwell <nathan@codesourcery.com>
66 * c-common.c (handle_alias_ifunc_attribute): New, broken out of ...
67 (handle_alias_attribute): ... here.
68 (handle_ifunc_attribute): New.
70 2010-09-06 Mark Mitchell <mark@codesourcery.com>
72 * c-common.h (do_warn_double_promotion): Declare.
73 * c-common.c (do_warn_double_promotion): Define.
75 2010-09-05 Mark Mitchell <mark@codesourcery.com>
77 * c.opt (Wdouble-promotion): New.
79 2010-09-02 Joseph Myers <joseph@codesourcery.com>
81 * c.opt (falt-external-templates, fhuge-objects, fvtable-gc,
82 fvtable-thunks, fxref): Mark no longer supported in help text.
84 2010-09-02 Joseph Myers <joseph@codesourcery.com>
86 * c.opt (Wimport, fall-virtual, falt-external-templates,
87 fdefault-inline, fenum-int-equiv, fexternal-templates,
88 fguiding-decls, fhonor-std, fhuge-objects, flabels-ok,
89 fname-mangling-version-, fnew-abi, fnonnull-objects,
90 foptional-diags, fsquangle, fstrict-prototype, fthis-is-variable,
91 fvtable-gc, fvtable-thunks, fxref): Mark with Ignore and Warn as
93 (fhandle-exceptions): Mark with Alias and Warn.
94 * c-opts.c (c_common_handle_option): Don't handle options marked
97 2010-09-02 Joseph Myers <joseph@codesourcery.com>
99 * c.opt (Wcomments, Werror-implicit-function-declaration,
100 ftemplate-depth-, std=c89, std=c9x, std=gnu89, std=gnu9x,
101 std=iso9899:1990, std=iso9899:1999, std=iso9899:199x): Mark as
103 * c-common.c (option_codes): Use OPT_Wcomment instead of
105 * c-opts.c (warning_as_error_callback, c_common_handle_option):
106 Don't handle options marked as aliases.
108 2010-08-25 Richard Guenther <rguenther@suse.de>
110 * c-common.c (c_common_get_alias_set): Remove special
111 handling for pointers.
113 2010-08-20 Nathan Froyd <froydnj@codesourcery.com>
115 * c-common.c: Use FOR_EACH_VEC_ELT.
116 * c-gimplify.c: Likewise.
117 * c-pragma.c: Likewise.
119 2010-08-16 Joseph Myers <joseph@codesourcery.com>
121 * c.opt (MDX): Change back to MD. Mark NoDriverArg instead of
123 (MMDX): Change back to MMD. Mark NoDriverArg instead of
125 * c-opts.c (c_common_handle_option): Use OPT_MD and OPT_MMD
126 instead of OPT_MDX and OPT_MMDX.
128 2010-08-16 Joseph Myers <joseph@codesourcery.com>
130 * c.opt (MDX, MMDX, lang-asm): Mark RejectDriver.
132 2010-08-12 Joseph Myers <joseph@codesourcery.com>
134 * c.opt (MD, MMD): Change to MDX and MMDX.
135 * c-opts.c (c_common_handle_option): Use OPT_MMD and OPT_MMDX.
137 2010-08-11 Joseph Myers <joseph@codesourcery.com>
139 * c-opts.c (c_common_handle_option): Call handle_generated_option
140 instead of handle_option.
142 2010-08-08 Nathan Froyd <froydnj@codesourcery.com>
144 * c-pragma.c (add_to_renaming_pragma_list): Fix call to VEC_safe_push.
145 (maybe_apply_renaming_pragma): Delete unneeded declarations.
147 2010-08-08 Nathan Froyd <froydnj@codesourcery.com>
149 * c-pragma.c (pending_redefinition): Declare. Declare a VEC of it.
150 (pending_redefine_extname): Change type to a VEC.
151 (add_to_renaming_pragma_list): Update for new type of
152 pending_redefine_extname.
153 (maybe_apply_renaming_pragma): Likewise.
155 2010-08-04 Arnaud Charlet <charlet@adacore.com>
157 * c-ada-spec.c (dump_ada_template): Mark underlying instance type as
159 (dump_generic_ada_node): Code clean up. Use TREE_VISITED flag to
160 decide whether a type has already been declared/seen.
161 Do not go to the original type.
162 (dump_nested_types): New parameter forward.
163 Generate forward declaration if needed and mark type as visited.
164 (print_ada_declaration): Call dump_nested_types if not already done.
165 Mark types as visited.
167 2010-08-03 Joseph Myers <joseph@codesourcery.com>
169 * c.opt (-print-pch-checksum): Remove option.
170 * c-opts.c (c_common_handle_option): Don't handle
171 OPT_print_pch_checksum.
173 2010-07-27 Joseph Myers <joseph@codesourcery.com>
175 * c-common.h (c_common_handle_option): Update prototype and return
177 * c-opts.c (c_common_handle_option): Update prototype and return
178 value type. Update calls to handle_option and
179 enable_warning_as_error.
181 2010-07-27 Jakub Jelinek <jakub@redhat.com>
184 * c-pretty-print.c (pp_c_expression): Handle C_MAYBE_CONST_EXPR.
186 2010-07-27 Joseph Myers <joseph@codesourcery.com>
188 * c-common.h (c_common_missing_argument): Remove.
189 * c-opts.c (c_common_missing_argument): Remove.
190 * c.opt (A, D, F, I, MD, MMD, MQ, MT, U, fconstant-string-class=,
191 idirafter, imacros, include, isysroot, isystem, iquote): Add
193 * c-objc-common.h (LANG_HOOKS_MISSING_ARGUMENT): Remove.
195 2010-07-27 Joseph Myers <joseph@codesourcery.com>
197 * c-common.h (c_common_option_lang_mask,
198 c_common_initialize_diagnostics, c_common_complain_wrong_lang_p):
200 (c_common_init_options): Update prototype.
201 * c-opts.c (c_common_option_lang_mask): New.
202 (c_common_initialize_diagnostics): Split out of
203 c_common_init_options.
204 (accept_all_c_family_options, c_common_complain_wrong_lang_p):
206 (c_common_init_options): Update prototype. Use decoded options in
207 search for -lang-asm.
209 2010-07-15 Nathan Froyd <froydnj@codesourcery.com>
211 * c-common.c: Carefully replace TREE_CHAIN with DECL_CHAIN.
212 * c-format.c: Likewise.
214 2010-07-08 Manuel López-Ibáñez <manu@gcc.gnu.org>
216 * c-common.h: Include diagnostic-core.h. Error if already
218 * c-semantics.c: Do not define GCC_DIAG_STYLE here.
220 2010-07-03 Manuel López-Ibáñez <manu@gcc.gnu.org>
222 * c-family/c-common.c (IN_GCC_FRONTEND): Do not undef.
223 Do not include expr.h
224 (vector_mode_valid_p): Move here.
226 2010-06-21 DJ Delorie <dj@redhat.com>
228 * c-pragma.c (handle_pragma_diagnostic): Add push/pop,
229 allow these pragmas anywhere.
231 2010-06-14 Jakub Jelinek <jakub@redhat.com>
234 * c-cppbuiltin.c: Include gt-c-family-c-cppbuiltin.h.
235 (lazy_hex_fp_values, lazy_hex_fp_value_count): Add GTY(()) markers.
236 (lazy_hex_fp_value, builtin_define_with_hex_fp_value): Use
237 ggc_strdup instead of xstrdup.
239 2010-06-10 Jakub Jelinek <jakub@redhat.com>
241 * c-cppbuiltin.c: Include cpp-id-data.h.
242 (lazy_hex_fp_values, lazy_hex_fp_value_count): New variables.
243 (lazy_hex_fp_value): New function.
244 (builtin_define_with_hex_fp_value): Provide definitions lazily.
246 2010-06-30 Manuel López-Ibáñez <manu@gcc.gnu.org>
248 * c-gimplify.c: Do not include tree-flow.h
250 2010-06-29 Joern Rennecke <joern.rennecke@embecosm.com>
253 * c-common.c: Rename targetm member:
254 targetm.enum_va_list -> targetm.enum_va_list_p
256 2010-06-28 Anatoly Sokolov <aesok@post.ru>
258 * c-common.c (shorten_compare): Adjust call to force_fit_type_double.
260 2010-06-28 Steven Bosscher <steven@gcc.gnu.org>
262 * c-cppbuiltin.c: Do not include except.h.
264 2010-06-24 Andi Kleen <ak@linux.intel.com>
266 * c-common.c (warn_for_omitted_condop): New.
267 * c-common.h (warn_for_omitted_condop): Add prototype.
269 2010-06-21 Joseph Myers <joseph@codesourcery.com>
271 * c.opt (lang-objc): Remove.
272 * c-opts.c (c_common_handle_option): Don't handle OPT_lang_objc.
274 2010-06-21 Joern Rennecke <joern.rennecke@embecosm.com>
276 * c-opts.c: Include "tm_p.h".
278 2010-06-20 Joseph Myers <joseph@codesourcery.com>
280 * c-common.c (parse_optimize_options): Update call to
283 2010-06-18 Nathan Froyd <froydnj@codesourcery.com>
285 * c-common.c (record_types_used_by_current_var_decl): Adjust for
286 new type of types_used_by_cur_var_decl.
288 2010-06-17 Joern Rennecke <joern.rennecke@embecosm.com>
291 * c-cppbuiltin.c (builtin_define_with_hex_fp_value): Add cast
292 for C++ standard compliance.
294 2010-06-16 Jason Merrill <jason@redhat.com>
296 * c.opt: Add -Wnoexcept.
298 2010-06-16 Richard Guenther <rguenther@suse.de>
301 * c-common.c (c_common_truthvalue_conversion): Remove
302 premature and wrong optimization concering ADDR_EXPRs.
304 2010-06-15 Arnaud Charlet <charlet@adacore.com>
306 * c-ada-spec.c (dump_sloc): Remove column info.
307 (is_simple_enum): New function.
308 (dump_generic_ada_node, print_ada_declaration): Map C enum types to Ada
309 enum types when relevant.
311 2010-06-11 Manuel López-Ibáñez <manu@gcc.gnu.org>
313 * c-common.c (conversion_warning): Warn at expression
316 2010-06-10 Joseph Myers <joseph@codesourcery.com>
318 * c-opts.c (c_common_handle_option): Don't handle
321 2010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com>
323 * c-pragma.c (push_alignment): Use typed GC allocation.
324 (handle_pragma_push_options): Likewise.
326 * c-common.c (parse_optimize_options): Likewise.
328 * c-common.h (struct sorted_fields_type): Add variable_size GTY
331 2010-06-07 Joseph Myers <joseph@codesourcery.com>
333 * c-common.c (flag_preprocess_only, flag_undef, flag_no_builtin,
334 flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
335 flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
336 flag_signed_bitfields, warn_strict_null_sentinel,
337 flag_nil_receivers, flag_zero_link, flag_replace_objc_classes,
338 flag_gen_declaration, flag_no_gnu_keywords,
339 flag_implement_inlines, flag_implicit_templates,
340 flag_implicit_inline_templates, flag_optional_diags,
341 flag_elide_constructors, flag_default_inline, flag_rtti,
342 flag_conserve_space, flag_access_control, flag_check_new,
343 flag_new_for_scope, flag_weak, flag_working_directory,
344 flag_use_cxa_atexit, flag_use_cxa_get_exception_ptr,
345 flag_enforce_eh_specs, flag_threadsafe_statics,
346 flag_pretty_templates): Remove.
347 * c-common.h (flag_preprocess_only, flag_nil_receivers,
348 flag_objc_exceptions, flag_objc_sjlj_exceptions, flag_zero_link,
349 flag_replace_objc_classes, flag_undef, flag_no_builtin,
350 flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
351 flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
352 flag_const_strings, flag_signed_bitfields, flag_gen_declaration,
353 flag_no_gnu_keywords, flag_implement_inlines,
354 flag_implicit_templates, flag_implicit_inline_templates,
355 flag_optional_diags, flag_elide_constructors, flag_default_inline,
356 flag_rtti, flag_conserve_space, flag_access_control,
357 flag_check_new, flag_new_for_scope, flag_weak,
358 flag_working_directory, flag_use_cxa_atexit,
359 flag_use_cxa_get_exception_ptr, flag_enforce_eh_specs,
360 flag_threadsafe_statics, flag_pretty_templates,
361 warn_strict_null_sentinel): Remove.
362 * c.opt (E, Wstrict-null-sentinel, faccess-control, fasm,
363 fbuiltin, fcheck-new, fconserve-space, felide-constructors,
364 fenforce-eh-specs, ffor-scope, fgnu-keywords, fimplement-inlines,
365 fimplicit-inline-templates, fimplicit-templates,
366 flax-vector-conversions, fms-extensions, fnil-receivers,
367 fnonansi-builtins, fpretty-templates, freplace-objc-classes,
368 frtti, fshort-double, fshort-enums, fshort-wchar,
369 fsigned-bitfields, fsigned-char, fstats, fthreadsafe-statics,
370 funsigned-bitfields, funsigned-char, fuse-cxa-atexit,
371 fuse-cxa-get-exception-ptr, fweak, fworking-directory, fzero-link,
372 gen-decls, undef): Use Var.
373 (fdefault-inline, foptional-diags): Document as doing nothing.
374 * c-opts.c (c_common_handle_option): Remove cases for options now
375 using Var. Mark ignored options as such.
377 2010-06-05 Steven Bosscher <steven@gcc.gnu.org>
379 * c-common.c: Moved to here from parent directory.
380 * c-common.def: Likewise.
381 * c-common.h: Likewise.
382 * c-cppbuiltin.c: Likewise.
383 * c-dump.c: Likewise.
384 * c-format.c: Likewise.
385 * c-format.h : Likewise.
386 * c-gimplify.c: Likewise.
390 * c-opts.c: Likewise.
392 * c-ppoutput.c: Likewise.
393 * c-pragma.c: Likewise.
394 * c-pragma.h: Likewise.
395 * c-pretty-print.c: Likewise.
396 * c-pretty-print.h: Likewise.
397 * c-semantics.c: Likewise.
398 * stub-objc.c: Likewise.
400 * c-common.c: Include gt-c-family-c-common.h.
401 * c-pragma.c: Include gt-c-family-c-pragma.h.
403 Copyright (C) 2010 Free Software Foundation, Inc.
405 Copying and distribution of this file, with or without modification,
406 are permitted in any medium without royalty provided the copyright
407 notice and this notice are preserved.