1 2013-04-24 Paolo Carlini <paolo.carlini@oracle.com>
3 * c-cppbuiltin.c (c_cpp_builtins): Define __GXX_EXPERIMENTAL_CXX1Y__.
5 2013-04-12 Jakub Jelinek <jakub@redhat.com>
7 * c-format.c (gcc_diag_char_table, gcc_tdiag_char_table,
8 gcc_cdiag_char_table, gcc_cxxdiag_char_table): Add %r and %R format
11 2013-04-07 Steven Bosscher <steven@gcc.gnu.org>
13 * c-pragma.c (add_to_renaming_pragma_list): Fix leading comment.
15 2013-04-03 Paolo Carlini <paolo.carlini@oracle.com>
17 * c-common.c (pointer_int_sum): Remove dead code.
19 2013-03-09 Richard Sandiford <rdsandiford@googlemail.com>
22 * c-common.c (handle_optimize_attribute): Don't call
23 save_optabs_if_changed.
25 2013-03-05 Jakub Jelinek <jakub@redhat.com>
28 * c-pch.c (pch_init): Free target_validity at the end.
30 2013-03-04 Jakub Jelinek <jakub@redhat.com>
32 * c-pretty-print.c (pp_c_pretty_printer_init): Clear pp->flags.
34 2013-02-28 Konstantin Serebryany <konstantin.s.serebryany@gmail.com>
35 Jakub Jelinek <jakub@redhat.com>
38 * c-common.c (handle_no_sanitize_address_attribute): New function.
39 (c_common_attribute_table): Add no_sanitize_address attribute.
40 (handle_no_address_safety_analysis_attribute): Add
41 no_sanitize_address attribute, not no_address_safety_analysis
44 2013-02-18 Aldy Hernandez <aldyh@redhat.com>
47 * c-common.c (handle_optimize_attribute): Call
48 save_optabs_if_changed.
50 2013-02-18 Jakub Jelinek <jakub@redhat.com>
51 Steven Bosscher <steven@gcc.gnu.org>
54 * c-opts.c (c_common_post_options): If debug info is enabled
55 and non-dwarf*, refuse to load PCH files and when writing PCH
58 2013-02-05 Jakub Jelinek <jakub@redhat.com>
61 * c-common.c (handle_error_attribute): Fix condition.
63 2013-01-30 Jakub Jelinek <jakub@redhat.com>
66 * c-common.c (handle_target_attribute): Revert 2012-12-26 change.
68 2013-01-18 Jason Merrill <jason@redhat.com>
71 * c.opt (-fextern-tls-init): New.
72 * c-opts.c (c_common_post_options): Handle it.
74 2013-01-09 Jakub Jelinek <jakub@redhat.com>
77 * c-common.c (c_fully_fold_internal): Warn for LSHIFT_EXPR and
78 RSHIFT_EXPR, if orig_op1 isn't INTEGER_CST, op1 is INTEGER_CST
79 and is either negative or bigger or equal to type precision
82 2012-12-03 Marek Polacek <polacek@redhat.com>
85 * c-common.c (check_user_alignment): Swap order of tests,
86 check TREE_CODE first.
88 2012-11-29 Ed Smith-Rowland <3dw4rd@verizon.net>
91 * c-common.h (overflow_type): New enum.
92 (build_userdef_literal): Add overflow_type argument.
93 (tree_userdef_literal): Add overflow_type.
94 (USERDEF_LITERAL_OVERFLOW): New access macro.
95 * c-common.c (build_userdef_literal): Add overflow_type
97 * c-lex.c (c_lex_with_flags): Add overflow_type to
98 build_userdef_literal calls.
99 (interpret_integer, interpret_float): Add overflow_type argument.
101 2012-11-28 Richard Biener <rguenther@suse.de>
104 * c-gimplify.c (c_gimplify_expr): Gimplify self-modify expressions
105 here and use a type with proper overflow behavior for types that would
106 need to be promoted for the arithmetic.
108 2012-11-23 Jakub Jelinek <jakub@redhat.com>
111 * c-common.c (handle_no_address_safety_analysis_attribute): New
113 (c_common_attribute_table): Add no_address_safety_analysis.
115 2012-11-16 Simon Baldwin <simonb@google.com>
117 * c.opt: Add f[no-]canonical-system-headers.
118 * c-opts.c (c_common_handle_option): Handle
119 OPT_fcanonical_system_headers.
121 2012-11-09 Ed Smith-Rowland <3dw4rd@verizon.net>
124 * c-opts.c (c_common_handle_option): Set new flags.
125 * c.opt: Describe new flags.
127 2012-11-09 Jason Merrill <jason@redhat.com>
129 * c.opt (Wabi-tag): New.
131 2012-11-09 Andi Kleen <ak@linux.intel.com>
134 * c-common.c (get_atomic_generic_size): Mask with
137 2012-11-07 Manuel López-Ibáñez <manu@gcc.gnu.org>
140 * c.opt (Wformat): Make it Alias Wformat=1.
141 (Wformat-contains-nul,Wformat-extra-args,Wformat-nonliteral,
142 Wformat-security,Wformat-y2k,Wformat-zero-length): Use
144 (Wformat=): RejectNegative. Use LangEnabledBy.
145 (Wnonnull): Use LangEnabledBy.
146 * c-opts.c (c_common_handle_option): Do not handle Wformat here.
147 * c-format.c (set_Wformat): Delete.
148 (decode_format_attr): Replace OPT_Wformat with OPT_Wformat_.
149 (maybe_read_dollar_number): Likewise.
150 (avoid_dollar_number): Likewise.
151 (finish_dollar_format_checking): Likewise.
152 (check_format_info): Likewise.
153 (check_format_info_main): Likewise.
154 (check_format_types): Likewise.
155 (format_type_warning): Likewise.
156 * c-common.c (int): Likewise.
157 (check_function_sentinel): Likewise.
158 * c-common.h (warn_format,set_Wformat): Do not declare here.
160 2012-11-07 Manuel López-Ibáñez <manu@gcc.gnu.org>
163 * c.opt(Warray-bounds,Wdelete-non-virtual-dtor,Wenum-compare,
164 Wmain,Woverlength-strings, Wunknown-pragmas,Wunused-macros):
166 (Wswitch,Wswitch-default,Wswitch-enum): Likewise. Move here from
168 (Wvariadic-macros): Init(1).
169 * c-opts.c (c_common_handle_option): Do not handle them
171 (c_common_post_options): Likewise.
172 (sanitize_cpp_opts): warn_unused_macros is now
173 cpp_warn_unused_macros.
174 (push_command_line_include): Likewise.
175 * c-common.c (warn_unknown_pragmas): Do not define.
176 * c-common.h (warn_unknown_pragmas): Do not declare.
178 2012-11-07 Manuel López-Ibáñez <manu@gcc.gnu.org>
181 * c-common.c (conversion_warning): Handle conditional expressions.
183 2012-10-29 Jonathan Wakely <jwakely.gcc@gmail.com>
186 * c.opt (Wreturn_local_addr): Define new option.
188 2012-10-25 Jason Merrill <jason@redhat.com>
190 * c.opt (Wvirtual-move-assign): New.
192 * c.opt (Winherited-variadic-ctor): New.
194 2012-10-25 Marc Glisse <marc.glisse@inria.fr>
197 * c-common.c (scalar_to_vector): Handle VEC_COND_EXPR.
199 2012-10-23 Joseph Myers <joseph@codesourcery.com>
201 * c-common.h (pch_cpp_save_state): Declare.
202 * c-target.def (c_preinclude): New hook.
203 * c-opts.c (done_preinclude): New.
204 (push_command_line_include): Handle default preincluded header.
205 (cb_file_change): Call pch_cpp_save_state when calling
206 push_command_line_include.
207 * c-pch.c (pch_ready_to_save_cpp_state, pch_cpp_state_saved)
208 (pch_cpp_save_state): New.
209 (pch_init): Call pch_cpp_save_state conditionally, instead of
210 calling cpp_save_state.
212 2012-10-20 Manuel López-Ibáñez <manu@gcc.gnu.org>
216 * c.opt (Waddress,Wchar-subscripts,Wsign-conversion,Wimplicit,
217 Wimplicit-function-declaration,Wimplicit-int,Wsizeof-pointer-memaccess,
218 Wnarrowing,Wparentheses,Wpointer-sign,Wreturn-type,Wsequence-point,
219 Wsign-compare,Wuninitialized,Wmaybe-uninitialized,Wunused,
220 Wvolatile-register-var): Add LangEnabledBy or EnabledBy.
221 * c-opts.c (c_common_handle_option): Remove explicit handling from
223 (c_common_post_options): Likewise.
225 2012-10-18 Eric Botcazou <ebotcazou@adacore.com>
227 * c-ada-spec.c (LOCATION_COL): Delete.
228 (compare_location): New function.
229 (compare_node): Use it.
230 (compare_comment): Likewise.
232 2012-10-16 Manuel López-Ibáñez <manu@gcc.gnu.org>
236 * c.opt (Wstrict-aliasing=,Wstrict-overflow=): Use LangEnabledBy.
237 * c-opts.c (c_common_handle_option): Do not set them here. Add
239 (c_common_post_options): Likewise.
241 2012-10-16 Eric Botcazou <ebotcazou@adacore.com>
243 * c-ada-spec.c (ADA_HOST_WIDE_INT_PRINT_DOUBLE_HEX): Define.
244 (dump_generic_ada_node) <INTEGER_CST>: Deal with sizetype specially.
245 Remove POINTER_TYPE handling, add large unsigned handling and use
246 ADA_HOST_WIDE_INT_PRINT_DOUBLE_HEX for big numbers.
248 2012-10-12 Jakub Jelinek <jakub@redhat.com>
251 * c-common.h (sizeof_pointer_memaccess_warning): Adjust prototype.
252 * c-common.c (sizeof_pointer_memaccess_warning): Take array of 3
253 locs and array of 3 trees instead of just single loc and single
254 sizeof_arg tree. Handle __builtin___*_chk builtins too, and
255 also stpncpy, bcopy, bcmp, bzero, snprintf and vsnprintf builtins.
256 For *cmp* builtins that take two sources strings report warnings
257 about first and second source, not about destination and source.
259 2012-10-12 Marc Glisse <marc.glisse@inria.fr>
262 * c-common.h (enum ref_operator) [RO_ARROW_STAR]: New.
264 2012-10-11 Eric Botcazou <ebotcazou@adacore.com>
266 * c-ada-spec.c (dump_ada_template): Bail out for template declarations
267 declaring something coming from another file.
269 2012-10-10 Arnaud Charlet <charlet@adacore.com>
272 * c-ada-spec.c (print_ada_struct_decl): Increase buf size.
274 2012-10-09 Paolo Carlini <paolo.carlini@oracle.com>
277 * c-common.c (warn_about_parentheses): Add location_t parameter;
279 * c-common.h: Update declaration.
281 2012-10-09 Marc Glisse <marc.glisse@inria.fr>
284 * c-common.c (scalar_to_vector): Moved from c-typeck.c. Support
285 more operations. Make error messages optional.
286 * c-common.h (enum stv_conv): Moved from c-typeck.c.
287 (scalar_to_vector): Declare.
289 2012-10-08 Jason Merrill <jason@redhat.com>
291 * c-common.c (c_common_reswords): Add thread_local.
293 2012-10-08 Dodji Seketeli <dodji@redhat.com>
295 PR c++/53528 C++11 attribute support
296 * c-common.h (bitfield_p, cxx_fundamental_alignment_p): Declare
298 * c-common.c (check_cxx_fundamental_alignment_constraints): New
300 (handle_aligned_attribute): In choose strictest alignment
301 among many. Use new check_cxx_fundamental_alignment_constraints.
302 (handle_transparent_union_attribute): In c++11 attribute syntax,
303 don't look through typedefs.
305 2012-10-04 Arnaud Charlet <charlet@adacore.com>
307 * c-ada-spec.c (print_ada_declaration): Remove handling of TDF_RAW.
308 * c.opt (-fdump-ada-spec, -fdump-ada-spec-slim): Move switch definition
311 2012-09-25 Dehao Chen <dehao@google.com>
314 * c-pch.c (c_common_read_pch): Rebuild the location_adhoc_data
315 map when read in the pch.
317 2012-09-18 Arnaud Charlet <charlet@adacore.com>
319 * c-ada-spec.c: Style fixes.
321 2012-09-18 Thomas Quinot <quinot@adacore.com>
323 * c.opt (-fada-spec-parent): Define new command line switch.
324 * c-ada-spec.c (get_ada_package): When -fada-spec-parent
325 is specified, generate binding spec as a child of the specified unit.
327 2012-09-13 Paolo Carlini <paolo.carlini@oracle.com>
328 Manuel López-Ibáñez <manu@gcc.gnu.org>
331 * c.opt ([Winit-self]): Enabled by -Wall in C++.
333 2012-08-23 Arnaud Charlet <charlet@adacore.com>
335 * c-ada-spec.c (dump_generic_ada_node): Fix handling of name_only
336 for pointers, and add missing Convention C pragma.
337 (print_ada_struct_decl): Add missing aliased keyword.
338 (dump_ads): Add pragma Ada_2005 and Style_Checks (Off).
340 2012-08-17 Jakub Jelinek <jakub@redhat.com>
342 * c-common.c (sizeof_pointer_memaccess_warning): New function.
343 * c.opt (-Wsizeof-pointer-memaccess): Add new option.
344 * c-opts.c (c_common_handle_option): Enable it for -Wall.
345 * c-common.h (sizeof_pointer_memaccess_warning): Add prototype.
346 * c-common.def (SIZEOF_EXPR): Moved here from cp-tree.def.
348 2012-08-10 Richard Guenther <rguenther@suse.de>
350 * c-pretty-print.c (pp_c_expression): Handle anonymous SSA names.
352 2012-08-07 Steven Bosscher <steven@gcc.gnu.org>
354 * c-pretty-print.c (pp_c_function_definition): Use pp_newline_and_flush
355 instead of separate pp_newline and pp_flush.
356 (print_c_tree): Likewise.
358 2012-07-26 Richard Henderson <rth@redhat.com>
360 * c-common.c (handle_hot_attribute): Allow labels.
361 (handle_cold_attribute): Likewise.
363 2012-07-20 Jakub Jelinek <jakub@redhat.com>
366 * c-common.c (check_function_nonnull): Handle multiple nonnull
369 2012-07-16 Steven Bosscher <steven@gcc.gnu.org>
371 * c-gimplify.c: Include dumpfile.h instead of tree-dump.h.
372 * c-ada-spec.c: Likewise.
373 * c-dump.c (dump_stmt): Move to cp/dump.c, the only user.
375 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
377 * c-pch.c (CHECK_NO_ASM_OUT_DURING_PCH): Do not define.
378 Remove code conditional on it.
380 2012-07-11 Steven Bosscher <steven@gcc.gnu.org>
382 * c-gimplify.c: Do not include basic-block.h.
383 * c-common.c: Do not include linfuncs.h.
385 2012-07-08 Steven Bosscher <steven@gcc.gnu.org>
387 * c-common.h: Include tree.h.
389 2012-07-02 Jason Merrill <jason@redhat.com>
392 * c-common.c (get_priority): Call default_conversion.
394 2012-07-01 Uros Bizjak <ubizjak@gmail.com>
396 * c-pch.c (c_common_write_pch): Remove unused variables.
398 2012-06-29 Steven Bosscher <steven@gcc.gnu.org>
400 * cppspec.c: Moved from gcc/ to here.
402 2012-06-27 Kai Tietz <ktietz@redhat.com>
404 PR preprocessor/37215
405 * c-ppoutput.c (preprocess_file): Check for nonempty buffer.
407 2012-06-21 Steven Bosscher <steven@gcc.gnu.org>
409 * c-common.h (c_common_print_pch_checksum): Remove.
410 * c-pch.c: Do not include output.h.
411 (CHECK_NO_ASM_OUT_DURING_PCH): Define and add FIXME.
412 (asm_out_file): Define iff CHECK_NO_ASM_OUT_DURING_PCH isdefined.
413 (asm_file_startpos): Define iff CHECK_NO_ASM_OUT_DURING_PCH is defined.
414 (struct c_pch_header): Remove.
415 (get_ident): Update gpch version.
416 (pch_init): Do not print executable_checksum to asm_out_file.
417 Do not fail if there is no asm_out_file to read back from. Set
418 asm_file_startpos only if CHECK_NO_ASM_OUT_DURING_PCH is defined.
419 (c_common_write_pch): Verify that nothing was written to asm_out_file
420 since pch_init was called. Do not write a c_pch_header, and do not
421 copy from asm_out_file to the PCH.
422 (c_common_read_pch): Do not read a c_pch_header, and do not restore
423 the content of asm_out_file from the PCH.
424 (c_common_print_pch_checksum): Remove.
425 * c-opts.c (c_common_init): Print out executable_checksum directly.
427 2012-06-19 Steven Bosscher <steven@gcc.gnu.org>
429 * c-target.def (objc_declare_unresolved_class_reference,
430 objc_declare_class_definition): Add new hooks.
432 2012-06-19 Steven Bosscher <steven@gcc.gnu.org>
434 * c-lex.c: Do not include output.h.
435 (cb_ident): Try to put out .ident with targetm.asm_out.output_ident.
436 Remove uses of ASM_OUTPUT_IDENT.
438 2012-06-15 Marc Glisse <marc.glisse@inria.fr>
441 * c-common.h (c_build_vec_perm_expr): Move decl here.
442 * c-common.c (c_build_vec_perm_expr): Move definition
445 2012-06-06 Steven Bosscher <steven@gcc.gnu.org>
447 * c.opt (fconserve-space): Turn into a no-op.
449 2012-06-04 Sterling Augustine <saugustine@google.com>
451 * c-pretty-print.h (pp_c_flag_gnu_v3): New enumerator.
452 * c-pretty-print.c (pp_c_specifier_qualifier_list): Check it at
453 both the start and end of the function.
455 2012-06-04 Steven Bosscher <steven@gcc.gnu.org>
457 * c-common.c: Do not include output.h.
458 * c-pragma.c: Likewise.
460 2012-06-04 Steven Bosscher <steven@gcc.gnu.org>
462 * error.c (dump_decl): Check pp_c_flag_gnu_v3.
463 (decl_as_dwarf_string, lang_decl_dwarf_name): New functions.
464 (lang_decl_name): Handle namespace decls.
466 2012-05-31 Steven Bosscher <steven@gcc.gnu.org>
468 * c-ada-spec.c: Do not include output.h.
469 * c-semantics.c: Likewise.
471 2012-05-29 Joseph Myers <joseph@codesourcery.com>
473 * c-common.c: Fix typo.
475 2012-05-29 Michael Matz <matz@suse.de>
477 * c-common.h (c_expand_decl): Remove prototype.
479 2012-05-29 Manuel López-Ibáñez <manu@gcc.gnu.org>
481 * c.opt (Wmissing-braces): Use LangEnabledBy(C ObjC,Wall).
482 * c-opts.c (c_common_handle_option): Remove code handling
485 2012-05-28 Paolo Carlini <paolo.carlini@oracle.com>
488 * c-opts.c (c_common_handle_option): For C++ -Wall doesn't enable
491 2012-05-22 Dodji Seketeli <dodji@redhat.com>
494 * c.opt (Wunused-local-typedefs): Use EnabledBy(Wunused).
496 2012-05-17 Manuel López-Ibáñez <manu@gcc.gnu.org>
498 * c.opt (--pedantic-errors,-pedantic-errors): Do not handle here.
499 * c-opts.c (c_common_handle_option): Do not handle explicitly
500 Wreturn-type, Wwrite-strings, warn_ecpp, and -pedantic-errors.
502 2012-05-16 Dodji Seketeli <dodji@redhat.com>
505 * c-lex.c (c_lex_with_flags): Pass a virtual location to the call
506 to cpp_classify_number. For diagnostics, use the precise location
507 instead of the global input_location.
509 2012-05-15 Paolo Carlini <paolo.carlini@oracle.com>
512 * c-common.c (shorten_compare): Check c_inhibit_evaluation_warnings.
514 2012-05-14 Bernd Schmidt <bernds@codesourcery.com>
516 * c-common.c (DEF_ATTR_STRING): Define and undefine as necessary.
518 2012-05-14 Manuel López-Ibáñez <manu@gcc.gnu.org>
521 * c.opt (Wc++0X-compat,Wdelete-non-virtual-dtor,Wjump-misses-init,
522 Wreorder): Use LangEnabledBy.
523 * c-opts.c (c_common_handle_option): Do not enable them
524 explicitly. Call lang-specific generated functions.
525 (c_common_post_options): Do not set them here.
527 2012-05-13 Manuel López-Ibáñez <manu@gcc.gnu.org>
529 * c.opt (Wclobbered,Wempty-body,Wignored-qualifiers,
530 Wmissing-field-initializers,Wmissing-parameter-type,
531 Wold-style-declaration,Woverride-init): Use EnabledBy.
532 * c-opts.c (c_common_post_options): Do not set here explicitly.
534 2012-05-11 Manuel López-Ibáñez <manu@gcc.gnu.org>
537 * c-opts.c (c_common_handle_option): Use handle_generated_option
538 to enable sub-options.
540 2012-05-10 Paolo Carlini <paolo.carlini@oracle.com>
543 * c-common.c (warnings_for_convert_and_check): Use warning_at.
545 2012-05-10 Richard Guenther <rguenther@suse.de>
547 * c-common.c (c_sizeof_or_alignof_type): Remove assert and
548 adjust commentary about TYPE_IS_SIZETYPE types.
550 2012-05-09 Manuel López-Ibáñez <manu@gcc.gnu.org>
553 * c-common.c (warn_logical_operator): Check that argument of
554 integer_zerop is not NULL.
556 2012-05-05 Manuel López-Ibáñez <manu@gcc.gnu.org>
559 * c-common.c (warn_logical_operator): Do not warn if either side
560 is already true or false.
562 2012-05-04 Manuel López-Ibáñez <manu@gcc.gnu.org>
565 * c-common.c (expr_original_type): New.
566 (shorten_compare): Do not warn for enumeration types.
568 2012-05-03 Manuel López-Ibáñez <manu@gcc.gnu.org>
570 * c.opt (fpermissive): Add Var(flag_permissive).
572 2012-04-30 Marc Glisse <marc.glisse@inria.fr>
575 * c-common.c (convert_vector_to_pointer_for_subscript): New function.
576 * c-common.h (convert_vector_to_pointer_for_subscript): Declare it.
578 2012-04-30 Dodji Seketeli <dodji@redhat.com>
581 * c.opt (Wvarargs): Define new option.
583 2012-04-30 Manuel López-Ibáñez <manu@gcc.gnu.org>
585 * c-common.c (check_function_arguments): Replace
586 Wmissing-format-attribute with Wsuggest-attribute=format.
588 2012-04-30 Manuel López-Ibáñez <manu@gcc.gnu.org>
590 * c.opt (Wsuggest-attribute=format): New. Alias of
591 Wmissing-format-attribute.
592 * c-format.c (decode_format_type): Replace
593 Wmissing-format-attribute with Wsuggest-attribute=format.
594 (check_function_format): Likewise.
596 2012-04-27 Ollie Wild <aaw@google.com>
598 * c-common.c: Add CPP_W_LITERAL_SUFFIX mapping.
599 * c-opts.c (c_common_handle_option): Handle OPT_Wliteral_suffix.
600 * c.opt: Add Wliteral-suffix.
602 2012-04-22 Manuel López-Ibáñez <manu@gcc.gnu.org>
605 * c.opt (Wpedantic): New.
606 (pedantic): Alias Wpedantic.
607 * c-opts.c (c_common_handle_option): Replace -pedantic with -Wpedantic.
608 (c_common_post_options): Likewise.
609 (sanitize_cpp_opts): Likewise.
610 * c-lex.c (interpret_float): Likewise.
611 * c-format.c (check_format_types): Likewise.
612 * c-common.c (pointer_int_sum): Likewise.
613 (c_sizeof_or_alignof_type): Likewise.
614 (c_add_case_label): Likewise.
615 (c_do_switch_warnings): Likewise.
616 * c-pragma.c (handle_pragma_float_const_decimal64): Likewise.
618 2012-04-15 Jason Merrill <jason@redhat.com>
621 * c-format.c (CPLUSPLUS_STD_VER): C++11 inherits from C99.
622 (C_STD_NAME): Distinguish between C++98 and C++11.
624 2012-04-11 Eric Botcazou <ebotcazou@adacore.com>
627 * c-common.h (uint16_type_node): Rename into...
628 (c_uint16_type_node): ...this.
629 * c-common.c (c_common_nodes_and_builtins): Adjust for above renaming.
630 * c-cppbuiltin.c (builtin_define_stdint_macros): Likewise.
632 2012-04-10 Manuel López-Ibáñez <manu@gcc.gnu.org>
634 * c-common.c (warn_if_unused_value): Move definition to here.
635 * c-common.h (warn_if_unused_value): Move declaration to here.
637 2012-03-23 William Bader <williambader@hotmail.com>
639 * c-lex.c (c_lex_with_flags): Avoid declarations after stmts.
641 2012-03-20 Jason Merrill <jason@redhat.com>
643 * c-common.h (enum cxx_dialect): Add cxx1y.
644 * c-common.c (c_common_nodes_and_builtins): Use >= for cxx_dialect
646 * c-cppbuiltin.c (c_cpp_builtins): Likewise.
647 * c-opts.c (c_common_post_options): Likewise.
648 (set_std_cxx1y): New.
649 (c_common_handle_option): Call it.
650 * c.opt (-std=c++1y, -std=gnu++1y): New flags.
652 2012-03-19 Paolo Carlini <paolo.carlini@oracle.com>
655 * c.opt ([Wuseless-cast]): Add.
657 2012-03-16 Richard Guenther <rguenther@suse.de>
659 * c-pretty-print.c (pp_c_initializer_list): Adjust.
661 2012-03-15 Manuel López-Ibáñez <manu@gcc.gnu.org>
664 * c.opt (ftemplate-backtrace-limit) Add.
666 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
668 * c-cppbuiltin.c (c_cpp_builtins): Remove #pragma extern_prefix
670 * c-pragma.c (handle_pragma_extern_prefix): Remove.
671 (init_pragma): Don't register extern_prefix.
673 2012-03-12 Richard Guenther <rguenther@suse.de>
675 * c-common.c (c_common_get_narrower): Use c_common_type_for_size.
676 (builtin_type_for_size): Likewise.
678 2012-02-13 Jakub Jelinek <jakub@redhat.com>
681 * c-common.c (sync_resolve_params): Don't decide whether to convert
682 or not based on TYPE_SIZE comparison, convert whenever arg_type
683 is unsigned INTEGER_TYPE.
685 2012-02-06 Paolo Carlini <paolo.carlini@oracle.com>
688 * c.opt ([Wunused-local-typedefs]): Fix description.
690 2012-01-24 Mike Stump <mikestump@comcast.net>
692 * c-common.c (c_common_type_for_mode): Match signed/unsigned types
695 2012-01-18 Richard Guenther <rguenther@suse.de>
697 * c-opts.c (c_common_post_options): Reset LTO flags if
698 we are about to generate a PCH.
700 2012-01-17 Paolo Carlini <paolo.carlini@oracle.com>
703 * c-pretty-print.c (pp_c_integer_constant): For unsigned constants
704 use pp_unsigned_wide_integer.
706 2012-01-10 Richard Guenther <rguenther@suse.de>
709 * c-opts.c (c_common_handle_option): Move -Werror handling
710 to language independent code.
712 2012-01-05 Richard Guenther <rguenther@suse.de>
715 * c.opt (Wmudflap, fmudflap, fmudflapth, fmudflapir): Move here
718 2011-12-30 Paolo Carlini <paolo.carlini@oracle.com>
721 * c-common.c (c_sizeof_or_alignof_type): In C++ allow for alignof
722 of array types with an unknown bound.
724 2011-12-20 Joseph Myers <joseph@codesourcery.com>
726 * c-common.c (flag_isoc99): Update comment to refer to C11.
727 (flag_isoc1x): Change to flag_isoc11.
728 * c-common.h (flag_isoc99): Update comment to refer to C11.
729 (flag_isoc1x): Change to flag_isoc11.
730 * c-cppbuiltin.c (cpp_atomic_builtins): Change comment to refer to
732 * c-opts.c (set_std_c1x): Change to set_std_c11.
733 (c_common_handle_option): Handle OPT_std_c11 and OPT_std_gnu11.
735 (set_std_c89, set_std_c99, set_std_c11): Use flag_isoc11.
736 (set_std_c1): Use CLK_STDC11 and CLK_GNUC11.
737 * c.opt (std=c1x): Change to std=c11. Document as non-draft
739 (std=c1x, std=iso9899:2011): Add as aliases of std=c11.
740 (std=gnu1x): Change to std=gnu11. Refer to non-draft standard.
741 (std=gnu1x): Make alias of std=gnu11.
743 2011-12-19 Jason Merrill <jason@redhat.com>
746 * c-common.c (handle_transparent_union_attribute): Check the first
747 field if the type is complete.
749 2011-12-15 Jonathan Wakely <jwakely.gcc@gmail.com>
752 * c-common.c (RID_IS_FINAL): Add.
753 * c-common.h (RID_IS_FINAL): Add.
755 2011-11-30 Iain Sandoe <iains@gcc.gnu.org>
757 * c.opt (fgnu-runtime): Provide full description.
758 (fnext-runtime): Likewise.
759 * c-opts.c (OPT_fgnu_runtime, OPT_fnext_runtime) Remove.
761 2011-11-28 Andrew MacLeod <amacleod@redhat.com>
763 * c-cpp-builtin.c (cpp_atomic_builtins):New. Emit all atomic
764 predefines in one place. Add LOCK_FREE predefines.
765 (c_cpp_builtins): Move Legacy HAVE_SYNC predefines to
768 2011-11-24 Andrew MacLeod <amacleod@redhat.com>
771 * c-common.c (get_atomic_generic_size): Check for various error
773 (resolve_overloaded_atomic_exchange,
774 resolve_overloaded_atomic_compare_exchange,
775 resolve_overloaded_atomic_load, resolve_overloaded_atomic_store): Return
776 error_mark_node for error conditions.
778 2011-11-08 Richard Guenther <rguenther@suse.de>
783 2011-11-07 Richard Henderson <rth@redhat.com>
784 Aldy Hernandez <aldyh@redhat.com>
785 Torvald Riegel <triegel@redhat.com>
787 Merged from transactional-memory.
789 * c-common.c (handle_tm_wrap_attribute,
790 handle_tm_attribute, ignore_attribute, parse_tm_stmt_attr): New.
791 (struct c_common_reswords): Added __transaction* keywords.
792 (struct c_common_attribute_table): Added transaction* and tm_regparm
794 * c-common.h: Added RID_TRANSACTION*. Added TM_ATTR* and TM_STMT*
796 (parse_tm_stmt_attr, tm_attr_to_mask, tm_mask_to_attr,
797 find_tm_attribute): Declare.
799 2011-11-07 Jason Merrill <jason@redhat.com>
802 * c-common.c, c-common.h: Revert yesterday's changes.
804 2011-11-06 Jason Merrill <jason@redhat.com>
807 * c-common.c (decl_has_visibility_attr): Split out from...
808 (c_determine_visibility): ...here.
809 * c-common.h: Declare it.
811 2011-11-06 Joseph Myers <joseph@codesourcery.com>
813 * c-common.c (c_common_reswords): Add _Alignas and _Alignof.
814 (c_sizeof_or_alignof_type): Diagnose alignof applied to a function
816 (check_user_alignment): New. Split out of
817 handle_aligned_attribute. Disallow integer constants with
818 noninteger types. Conditionally allow zero.
819 (handle_aligned_attribute): Use check_user_alignment.
820 * c-common.h (RID_ALIGNAS, check_user_alignment): New.
822 2011-11-06 Andrew MacLeod <amacleod@redhat.com>
823 Richard Henderson <rth@redhat.com>
825 Merged from cxx-mem-model.
827 * c-cppbuiltin.c (c_cpp_builtins): Test both atomic and sync patterns.
828 * c-common.c (sync_resolve_params, sync_resolve_return): Only tweak
829 parameters that are the same type size.
830 (get_atomic_generic_size): New. Find size of generic
831 atomic function parameters and do typechecking.
832 (add_atomic_size_parameter): New. Insert size into parameter list.
833 (resolve_overloaded_atomic_exchange): Restructure __atomic_exchange to
834 either __atomic_exchange_n or external library call.
835 (resolve_overloaded_atomic_compare_exchange): Restructure
836 __atomic_compare_exchange to either _n variant or external library call.
837 (resolve_overloaded_atomic_load): Restructure __atomic_load to either
838 __atomic_load_n or an external library call.
839 (resolve_overloaded_atomic_store): Restructure __atomic_store to either
840 __atomic_store_n or an external library call.
841 (resolve_overloaded_builtin): Handle new __atomic builtins.
843 2011-11-04 Eric Botcazou <ebotcazou@adacore.com>
846 * c-common.c (c_fully_fold_internal) <ADDR_EXPR>: Call fold_offsetof_1.
847 (fold_offsetof_1): Make global. Remove STOP_REF argument and adjust.
848 <INDIRECT_REF>: Return the argument.
849 <ARRAY_REF>: Remove special code for negative offset.
850 Call fold_build_pointer_plus instead of size_binop.
851 (fold_offsetof): Remove STOP_REF argument and adjust.
852 * c-common.h (fold_offsetof_1): Declare.
853 (fold_offsetof): Remove STOP_REF argument.
855 2011-11-02 Paolo Carlini <paolo.carlini@oracle.com>
858 * c-opts.c (c_common_handle_option): Enable -Wnarrowing as part
859 of -Wall; include -Wnarrowing in -Wc++0x-compat; adjust default
860 Wnarrowing for C++0x and C++98.
861 * c.opt ([Wnarrowing]): Update.
863 2011-11-01 Paolo Carlini <paolo.carlini@oracle.com>
866 * c.opt: Add Wzero-as-null-pointer-constant.
868 2011-10-31 Jason Merrill <jason@redhat.com>
870 * c.opt (-fdeduce-init-list): Off by default.
873 * c-common.h (cxx_dialect): Add cxx11 and cxx03.
874 * c.opt: Add -std=c++11, -std=gnu++11, -std=gnu++03,
876 * c-opts.c (set_std_cxx11): Rename from set_std_cxx0x.
878 2011-10-27 Roberto Agostino Vitillo <ravitillo@lbl.gov>
881 * c.opt (fvisibility-inlines-hidden): Description change.
883 2011-10-26 Ed Smith-Rowland <3dw4rd@verizon.net>
885 Implement C++11 user-defined literals.
886 * c-common.c (build_userdef_literal): New.
887 * c-common.def: New tree code.
888 * c-common.h (tree_userdef_literal): New tree struct and accessors.
889 * c-lex.c (interpret_float): Add suffix parm.
890 (c_lex_with_flags): Build literal tokens.
892 2011-10-23 Paolo Carlini <paolo.carlini@oracle.com>
896 2011-10-23 Paolo Carlini <paolo.carlini@oracle.com>
899 * c-opts.c (c_common_handle_option): Enable -Wnarrowing as part
900 of -Wall; include -Wnarrowing in -Wc++0x-compat; adjust default
901 Wnarrowing for C++0x and C++98.
902 * c.opt ([Wnarrowing]): Update.
904 2011-10-23 Paolo Carlini <paolo.carlini@oracle.com>
907 * c-opts.c (c_common_handle_option): Enable -Wnarrowing as part
908 of -Wall; include -Wnarrowing in -Wc++0x-compat; adjust default
909 Wnarrowing for C++0x and C++98.
910 * c.opt ([Wnarrowing]): Update.
912 2011-10-21 Paolo Carlini <paolo.carlini@oracle.com>
915 * c-common.c (conversion_warning): Remove code looking for
918 2011-10-18 Dodji Seketeli <dodji@redhat.com>
921 * c-lex.c (fe_file_change): Use LINEMAP_SYSP when
922 !NO_IMPLICIT_EXTERN_C.
924 2011-10-17 Michael Spertus <mike_spertus@symantec.com>
926 * c-common.c (c_common_reswords): Add __bases,
928 * c-common.h: Add RID_BASES and RID_DIRECT_BASES.
930 2011-10-17 Paolo Carlini <paolo.carlini@oracle.com>
933 * c.opt ([Wnonnull]): Add C++ and Objective-C++.
935 2011-10-15 Tom Tromey <tromey@redhat.com>
936 Dodji Seketeli <dodji@redhat.com>
938 * c.opt (fdebug-cpp): New option.
939 * c-opts.c (c_common_handle_option): Handle the option.
940 * c-ppoutput.c (maybe_print_line_1): New static function. Takes an
941 output stream in parameter. Factorized from ...
942 (maybe_print_line): ... this. Dump location debug information when
943 -fdebug-cpp is in effect.
944 (print_line_1): New static function. Takes an output stream in
945 parameter. Factorized from ...
946 (print_line): ... here. Dump location information when -fdebug-cpp
948 (scan_translation_unit): Dump location information when
949 -fdebug-cpp is in effect.
951 2011-10-15 Tom Tromey <tromey@redhat.com>
952 Dodji Seketeli <dodji@redhat.com>
954 * c.opt (ftrack-macro-expansion): New option. Handle it with and
956 * c-opts.c (c_common_handle_option)<case
957 OPT_ftrack_macro_expansion_, case OPT_ftrack_macro_expansion>: New
958 cases. Handle -ftrack-macro-expansion with and without argument.
960 2011-10-15 Tom Tromey <tromey@redhat.com>
961 Dodji Seketeli <dodji@redhat.com>
963 * c-ppoutput.c (scan_translation_unit, maybe_print_line)
964 (print_line, cb_define, do_line_change): Adjust to avoid touching
965 the internals of struct line_map. Use the public API instead.
966 * c-pch.c (c_common_read_pch): Likewise.
967 * c-lex.c (fe_file_change): Likewise.
969 2011-10-14 Paolo Carlini <paolo.carlini@oracle.com>
972 * c.opt ([Wformat-zero-length]): Add C++ and Objective-C++.
974 2011-10-11 Paolo Carlini <paolo.carlini@oracle.com>
977 * c-pretty-print.c (pp_c_floating_constant): Output
978 max_digits10 (in the ISO C++ WG N1822 sense) decimal digits.
980 2011-10-11 Michael Meissner <meissner@linux.vnet.ibm.com>
982 * c-common.c (def_builtin_1): Delete old interface with two
983 parallel arrays to hold standard builtin declarations, and replace
984 it with a function based interface that can support creating
985 builtins on the fly in the future. Change all uses, and poison
986 the old names. Make sure 0 is not a legitimate builtin index.
987 * c-omp.c (c_finish_omp_barrier): Ditto.
988 (c_finish_omp_taskwait): Ditto.
989 (c_finish_omp_flush): Ditto.
991 2011-10-11 Tristan Gingold <gingold@adacore.com>
993 * c.opt: (fallow-parameterless-variadic-functions): New.
995 2011-09-08 Dodji Seketeli <dodji@redhat.com>
997 PR c++/33255 - Support -Wunused-local-typedefs warning
998 * c-common.h (struct c_language_function::local_typedefs): New
1000 (record_locally_defined_typedef, maybe_record_typedef_use)
1001 (maybe_warn_unused_local_typedefs): Declare new functions.
1002 * c-common.c (record_locally_defined_typedef)
1003 (maybe_record_typedef_use)
1004 (maybe_warn_unused_local_typedefs): Define new functions.
1005 * c.opt: Declare new -Wunused-local-typedefs flag.
1007 2011-09-06 Eric Botcazou <ebotcazou@adacore.com>
1010 * c-common.c (c_fully_fold_internal) <ADDR_EXPR>: Fold offsetof-like
1013 2011-09-05 Richard Guenther <rguenther@suse.de>
1015 * c-common.c (complete_array_type): Use ssize_int (-1) instead
1016 of integer_minus_one_node for empty array upper bounds.
1018 2011-08-28 Dodji Seketeli <dodji@redhat.com>
1020 * c-pch.c (c_common_read_pch): Call linemap_add with LC_ENTER as
1021 it's the first time it's being called on this main TU.
1023 2011-08-24 Richard Guenther <rguenther@suse.de>
1026 * c-cppbuiltin.c (c_cpp_builtins_optimize_pragma): Fix conditional.
1028 2011-08-22 Gabriel Charette <gchare@google.com>
1030 * c-opts.c (c_finish_options): Force BUILTINS_LOCATION for tokens
1031 defined in cpp_init_builtins and c_cpp_builtins.
1033 2011-08-19 Joseph Myers <joseph@codesourcery.com>
1035 * c-common.c (c_common_reswords): Add __builtin_complex.
1036 * c-common.h (RID_BUILTIN_COMPLEX): New.
1038 2011-08-18 Joseph Myers <joseph@codesourcery.com>
1040 * c-common.c (c_common_reswords): Add _Noreturn.
1041 (keyword_is_function_specifier): Handle RID_NORETURN.
1042 * c-common.h (RID_NORETURN): New.
1044 2011-08-10 Artjoms Sinkarovs <artyom.shinakroff@gmail.com>
1046 * c-common.c (unsafe_conversion_p): New function. Check if it is
1047 unsafe to convert an expression to the type.
1048 (conversion_warning): Adjust, use unsafe_conversion_p.
1049 * c-common.h (unsafe_conversion_p): New function declaration.
1051 2011-08-02 Jakub Jelinek <jakub@redhat.com>
1053 * c-common.h (c_finish_omp_atomic): Adjust prototype.
1054 (c_finish_omp_taskyield): New prototype.
1055 * c-omp.c (c_finish_omp_atomic): Add OPCODE, V, LHS1 and RHS1
1056 arguments. Handle OMP_ATOMIC_READ, OMP_ATOMIC_CAPTURE_OLD and
1057 OMP_ATOMIC_CAPTURE_NEW in addition to OMP_ATOMIC. If LHS1
1058 or RHS1 have side-effects, evaluate those too in the right spot,
1059 if it is a decl and LHS is also a decl, error out if they
1061 (c_finish_omp_taskyield): New function.
1062 * c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP to 201107.
1063 * c-pragma.c (omp_pragmas): Add taskyield.
1064 * c-pragma.h (enum pragma_kind): Add PRAGMA_OMP_TASKYIELD.
1065 (enum pragma_omp_clause): Add PRAGMA_OMP_CLAUSE_FINAL and
1066 PRAGMA_OMP_CLAUSE_MERGEABLE.
1068 2011-07-25 Dodji Seketeli <dodji@redhat.com>
1070 * c-common.h (set_underlying_type): Remove parm name from
1073 2011-07-25 Romain Geissler <romain.geissler@gmail.com>
1075 * c-pretty-print.h: Search c-common.h in c-family.
1077 2011-07-22 Jason Merrill <jason@redhat.com>
1080 * c.opt (Wnarrowing): New.
1083 * c-common.h: Declare c_linkage_bindings.
1084 * c-pragma.c (handle_pragma_redefine_extname): Use it.
1087 * c-opts.c (set_std_cxx0x): Set flag_isoc94 and flag_isoc99.
1088 * c-pretty-print.c (pp_c_cv_qualifiers): Check c_dialect_cxx as well
1089 as flag_isoc99 for 'restrict'.
1090 (pp_c_specifier_qualifier_list): Likewise for _Complex.
1092 2011-07-21 Ian Lance Taylor <iant@google.com>
1095 * c-common.c (c_disable_warnings): New static function.
1096 (c_enable_warnings): New static function.
1097 (c_fully_fold_internal): Change local unused_p to bool. Call
1098 c_disable_warnings and c_enable_warnings rather than change
1099 c_inhibit_evaluation_warnings.
1101 2011-07-20 Jason Merrill <jason@redhat.com>
1103 PR c++/6709 (DR 743)
1104 PR c++/42603 (DR 950)
1105 * c-common.h (CPP_KEYWORD, CPP_TEMPLATE_ID): Move from cp/parser.h.
1106 (CPP_NESTED_NAME_SPECIFIER, N_CP_TTYPES): Likewise.
1107 (CPP_DECLTYPE): New.
1108 * c-common.c (c_parse_error): Handle CPP_DECLTYPE.
1110 2011-07-19 Richard Guenther <rguenther@suse.de>
1112 * c-common.c (pointer_int_sum): Use fold_build_pointer_plus.
1113 * c-omp.c (c_finish_omp_for): Likewise.
1115 2011-07-12 Eric Botcazou <ebotcazou@adacore.com>
1117 * c-ada-spec.c (dump_nested_types): Put semi-colon after empty loop
1118 body on the next line.
1120 2011-07-08 Jason Merrill <jason@redhat.com>
1123 * c-omp.c (check_omp_for_incr_expr): Handle preevaluation.
1126 * c-common.c (c_apply_type_quals_to_decl): Don't check
1127 TYPE_NEEDS_CONSTRUCTING.
1129 2011-07-06 Richard Guenther <rguenther@suse.de>
1131 * c-common.c (c_common_nodes_and_builtins):
1132 Merge calls to build_common_tree_nodes and build_common_tree_nodes_2.
1134 2011-07-05 Richard Guenther <rguenther@suse.de>
1136 * c-common.c (c_common_nodes_and_builtins): Build all common
1139 2011-06-27 Jakub Jelinek <jakub@redhat.com>
1141 * c-common.h (c_tree_chain_next): New static inline function.
1143 * c-common.c (check_builtin_function_arguments): Handle
1144 BUILT_IN_ASSUME_ALIGNED.
1146 2011-06-21 Andrew MacLeod <amacleod@redhat.com>
1148 * c-common.c: Add sync_ or SYNC__ to builtin names.
1149 * c-omp.c: Add sync_ or SYNC__ to builtin names.
1151 2011-06-20 Pierre Vittet <piervit@pvittet.com>
1153 * c-pragma.h (pragma_handler_1arg, pragma_handler_2arg): New
1155 (gen_pragma_handler): New union.
1156 (internal_pragma_handler): New type.
1157 (c_register_pragma_with_data)
1158 (c_register_pragma_with_expansion_and_data): New functions.
1160 * c-pragma.c (registered_pragmas, c_register_pragma_1)
1161 (c_register_pragma, c_register_pragma_with_expansion)
1162 (c_invoke_pragma_handler): Changed to work with
1163 internal_pragma_handler.
1164 (c_register_pragma_with_data)
1165 (c_register_pragma_with_expansion_and_data): New functions.
1167 2011-06-14 Joseph Myers <joseph@codesourcery.com>
1169 * c-common.c: Include common/common-target.h.
1170 (handle_section_attribute): Use
1171 targetm_common.have_named_sections.
1172 * c-cppbuiltin.c: Include common/common-target.h.
1173 (c_cpp_builtins): Use targetm_common.except_unwind_info.
1175 2011-06-10 Richard Guenther <rguenther@suse.de>
1177 * c-pretty-print.c (pp_c_type_specifier): Use pp_c_identifier
1178 to print a IDENTIFIER_NODE.
1180 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1181 Joseph Myers <joseph@codesourcery.com>
1183 * c.opt (fbuilding-libgcc): New option.
1184 * c-cppbuiltin.c (c_cpp_builtins): Define
1185 __LIBGCC_TRAMPOLINE_SIZE__ if flag_building_libgcc.
1187 2011-06-07 Jason Merrill <jason@redhat.com>
1189 * c-common.c (max_tinst_depth): Lower default to 900.
1191 * c-format.c (gcc_cxxdiag_char_table): Add 'S' format.
1193 2011-06-07 Richard Guenther <rguenther@suse.de>
1195 * c-common.c (c_common_nodes_and_builtins): Do not set
1196 size_type_node or call set_sizetype.
1198 2011-06-07 Dodji Seketeli <dodji@redhat.com>
1201 * c-pretty-print.c (pp_c_integer_constant): Consider the canonical
1202 type when using pointer comparison to compare types.
1204 2011-06-02 Jonathan Wakely <jwakely.gcc@gmail.com>
1206 * c.opt: Add -Wdelete-non-virtual-dtor.
1207 * c-opts.c (c_common_handle_option): Include it in -Wall.
1209 2011-05-30 Nathan Froyd <froydnj@gcc.gnu.org>
1214 2011-05-26 Nathan Froyd <froydnj@codesourcery.com>
1216 * c-common.h (struct c_common_identifier): Inherit from tree_typed,
1219 2011-05-27 Jakub Jelinek <jakub@redhat.com>
1222 * c-common.c (c_common_truthvalue_conversion) <case COND_EXPR>: For
1223 C++ don't call c_common_truthvalue_conversion on void type arms.
1225 2011-05-27 Nathan Froyd <froydnj@codesourcery.com>
1227 * c-common.h (struct stmt_tree_s) [x_cur_stmt_list]: Change to a VEC.
1228 (stmt_list_stack): Define.
1229 (cur_stmt_list): Adjust for new type of x_cur_stmt_list.
1230 * c-semantics.c (push_stmt_list, pop_stmt_list): Likewise.
1232 2011-05-26 Nathan Froyd <froydnj@codesourcery.com>
1234 * c-common.c (warning_candidate_p): Check for BLOCKs.
1236 2011-05-26 Nathan Froyd <froydnj@codesourcery.com>
1238 * c-common.h (struct c_common_identifier): Inherit from tree_typed,
1241 2011-05-25 Jakub Jelinek <jakub@redhat.com>
1243 * c-common.c (def_fn_type): Remove extra va_end.
1245 2011-05-23 Jason Merrill <jason@redhat.com>
1248 * c-common.c (c_common_get_narrower): New.
1249 (shorten_binary_op, shorten_compare, warn_for_sign_compare): Use it.
1251 2011-05-23 Nathan Froyd <froydnj@codesourcery.com>
1253 * c-common.h (check_function_arguments): Tweak prototype of
1254 check_function_arguments.
1255 * c-common.c (check_function_arguments): Likewise. Adjust
1256 calls to check_function_nonnull, check_function_format, and
1257 check_function_sentinel.
1258 (check_function_sentinel): Take a FUNCTION_TYPE rather than
1259 separate attributes and typelist arguments. Use
1260 FOREACH_FUNCTION_ARGS to iterate over argument types.
1262 2011-05-15 Paolo Carlini <paolo.carlini@oracle.com>
1264 * c-common.c (c_common_reswords): Reorder.
1265 * c-common.h (rid): Likewise.
1267 2011-05-10 Nathan Froyd <froydnj@codesourcery.com>
1269 * c-common.c (def_fn_type): Don't call build_function_type, call
1270 build_function_type_array or build_varargs_function_type_array
1272 (c_common_nodes_and_builtins): Likewise.
1274 2011-05-05 Nathan Froyd <froydnj@codesourcery.com>
1276 * c-common.c (c_add_case_label): Omit the loc argument to
1278 * c-common.h (build_case_label): Remove.
1279 * c-semantics.c (build_case_label): Remove.
1281 2011-05-05 Joseph Myers <joseph@codesourcery.com>
1283 * c-objc.h (objc_start_method_definition): Update prototype.
1284 * stub-objc.c (objc_start_method_definition): Add extra parameter.
1286 2011-05-04 Nathan Froyd <froydnj@codesourcery.com>
1288 * c-common.c (check_main_parameter_types): Reindent. Don't use
1289 TYPE_ARG_TYPES directly.
1290 (handle_nonnull_attribute): Likewise.
1291 (sync_resolve_params): Likewise.
1292 * c-format.c (handle_format_arg_attribute): Likewise. Adjust call
1293 to check_format_string.
1294 (handle_format_attribute): Likewise.
1295 (check_format_string): Take a function type to examine instead of
1296 a type list. Use a function_arg_iterator to step through argument
1299 2011-05-04 Richard Guenther <rguenther@suse.de>
1301 * c-common.c (fix_string_type): Use size_int for index type bounds.
1302 (start_fname_decls): Do not pass NULL to build_int_cst.
1303 (c_init_attributes): Likewise.
1304 * c-lex.c (c_lex_with_flags): Likewise.
1306 2011-04-27 Jason Merrill <jason@redhat.com>
1308 * c-common.c (make_tree_vector_from_list): New.
1309 * c-common.h: Declare it.
1311 2011-04-26 Richard Guenther <rguenther@suse.de>
1313 PR preprocessor/48248
1314 * c-ppoutput.c (maybe_print_line): Always optimize newlines
1315 for output size with -P.
1317 2011-04-25 Paolo Carlini <paolo.carlini@oracle.com>
1319 * c-common.c (struct c_common_resword): Add __underlying_type.
1320 * c-common.h (enum rid): Add RID_UNDERLYING_TYPE.
1322 2011-04-20 Jim Meyering <meyering@redhat.com>
1324 * c-format.c (init_dollar_format_checking): Remove useless
1327 2011-04-15 Nicola Pero <nicola.pero@meta-innovation.com>
1329 * c-objc.h (objc_get_interface_ivars): Removed.
1330 (objc_detect_field_duplicates): New.
1331 * stub-objc.c: Likewise.
1333 2011-04-14 Nicola Pero <nicola.pero@meta-innovation.com>
1335 * stub-objc.c (objc_declare_protocols): Renamed to
1336 objc_declare_protocol.
1337 * c-objc.h: Likewise.
1339 2011-04-14 Nicola Pero <nicola.pero@meta-innovation.com>
1341 * stub-objc.c (objc_declare_class): Updated argument name.
1343 2011-04-12 Nathan Froyd <froydnj@codesourcery.com>
1345 * c-common.h (c_common_init_ts): Declare.
1346 * c-common.c (c_common_init_ts): Define.
1348 2011-04-12 Nicola Pero <nicola.pero@meta-innovation.com>
1350 * c-objc.h (objc_build_message_expr): Updated prototype.
1351 * stub-objc.c (objc_build_message_expr): Likewise.
1353 2011-04-12 Martin Jambor <mjambor@suse.cz>
1355 * c-gimplify.c (c_genericize): Call cgraph_get_create_node instead
1358 2011-04-11 Richard Guenther <rguenther@suse.de>
1360 * c-common.c (complete_array_type): Build a range type of
1363 2011-04-08 Nathan Froyd <froydnj@codesourcery.com>
1365 * c-common.c (handle_sentinel_attribute): Don't use TYPE_ARG_TYPES.
1366 (handle_type_generic_attribute): Likewise.
1368 2011-04-07 Jason Merrill <jason@redhat.com>
1371 * c-common.c (c_common_truthvalue_conversion): Don't ignore
1372 conversion from C++0x scoped enum.
1374 2011-04-06 Joseph Myers <joseph@codesourcery.com>
1376 * c-target-def.h: New file.
1377 * c-target.def: New file.
1378 * c-target.h: New file.
1379 * c-common.c (targetcm): Don't define here.
1380 * c-common.h (default_handle_c_option): Declare.
1381 * c-format.c: Include c-target.h instead of target.h.
1382 * c-opts.c: Include c-target.h instead of target.h. Explicitly
1384 (default_handle_c_option): Move from targhooks.c.
1386 2011-03-29 Jakub Jelinek <jakub@redhat.com>
1388 PR preprocessor/48248
1389 * c-ppoutput.c (print): Add src_file field.
1390 (init_pp_output): Initialize it.
1391 (maybe_print_line): Don't optimize by adding up to 8 newlines
1392 if map->to_file and print.src_file are different file.
1393 (print_line): Update print.src_file.
1395 2011-03-25 Kai Tietz <ktietz@redhat.com>
1397 * c-ada-spec.c (compare_comment): Use filename_cmp
1398 instead of strcmp for filename.
1400 2011-03-25 Jeff Law <law@redhat.com>
1402 * c-family/c-common.c (def_fn_type): Add missing va_end.
1404 2011-03-25 Jason Merrill <jason@redhat.com>
1406 * c.opt: Add -std=c++03.
1408 2011-03-22 Eric Botcazou <ebotcazou@adacore.com>
1410 * c-ada-spec.c (dump_ada_template): Skip non-class instances.
1412 2011-03-17 Kai Tietz
1415 * c-pretty-print.c (pp_c_specifier_qualifier_list):
1416 Display allowed attributes for function pointer types.
1417 (pp_c_attributes_display): New function to display
1418 attributes having affects_type_identity flag set to true.
1419 * c-pretty-print.h (pp_c_attributes_display): New prototype.
1421 * c-common.c (c_common_attribute_table):
1423 (c_common_format_attribute_table): Likewise.
1425 2011-03-18 Jason Merrill <jason@redhat.com>
1427 * c.opt (fconstexpr-depth): Add Var(max_constexpr_depth).
1428 * c-common.h: Don't declare it here.
1429 * c-common.c: Or define it here.
1430 * c-opts.c (c_common_handle_option): Or set it here.
1433 * c-common.c (handle_transparent_union_attribute): Don't
1434 make a duplicate type in C++.
1436 2011-03-15 Jason Merrill <jason@redhat.com>
1438 * c-common.c (max_constexpr_depth): New.
1439 * c-common.h: Declare it.
1440 * c-opts.c (c_common_handle_option): Set it.
1441 * c.opt (fconstexpr-depth): New option.
1443 2011-03-11 Jason Merrill <jason@redhat.com>
1445 * c-common.c (attribute_takes_identifier_p): Add missing const.
1448 * c-common.c (attribute_takes_identifier_p): Assume that an
1449 unknown attribute takes an identifier.
1451 2011-03-07 Nathan Froyd <froydnj@codesourcery.com>
1454 * c-common.c (c_type_hash): Call list_length instead of iterating
1455 through DECL_CHAIN. Rename 'i' to 'n_elements'.
1457 2011-02-19 Jakub Jelinek <jakub@redhat.com>
1460 * c-common.c (c_fully_fold_internal): Handle VIEW_CONVERT_EXPR.
1462 2011-02-17 Iain Sandoe <iains@gcc.gnu.org>
1464 * c.opt (fobjc-abi-version=) New.
1465 (fobjc-nilcheck): New.
1467 2011-02-03 Nathan Froyd <froydnj@codesourcery.com>
1470 * c-common.h (keyword_is_decl_specifier): Declare.
1471 * c-common.c (keyword_is_decl_specifier): Define.
1472 (keyword_is_function_specifier): New function.
1474 2011-01-26 Jakub Jelinek <jakub@redhat.com>
1477 * c-lex.c (interpret_float): If CPP_N_IMAGINARY, ensure
1478 EXCESS_PRECISION_EXPR is created with COMPLEX_TYPE instead of
1481 2011-01-26 Arnaud Charlet <charlet@adacore.com>
1483 * c-ada-spec.c (dump_generic_ada_node): Avoid dereferencing null type.
1485 2011-01-26 Jakub Jelinek <jakub@redhat.com>
1488 * c-opts.c (c_common_post_options): Call c_common_no_more_pch
1489 after init_c_lex if pch_file is set.
1491 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
1494 * c.opt (-fkeep-inline-dllexport): New switch.
1496 2011-01-12 Richard Guenther <rguenther@suse.de>
1499 * c-common.c (handle_weak_attribute): Warn instead of error
1500 on declaring an inline function weak.
1502 2011-01-05 Tom Tromey <tromey@redhat.com>
1504 * c-common.h (lvalue_error): Update.
1505 * c-common.c (lvalue_error): Add 'loc' argument. Call error_at,
1508 2010-12-29 Nicola Pero <nicola.pero@meta-innovation.com>
1511 * c-objc.h (objc_finish_message_expr): Added argument to
1514 2010-12-22 Nathan Froyd <froydnj@codesourcery.com>
1516 * c-common.c (handle_nonnull_attribute, handle_sentinel_attribute):
1519 2010-12-18 Nicola Pero <nicola.pero@meta-innovation.com>
1521 * c-objc.h (objc_maybe_warn_exceptions): New.
1522 * stub-objc.c (objc_maybe_warn_exceptions): New.
1524 2010-12-10 Nathan Froyd <froydnj@codesourcery.com>
1526 * c-common.h (readonly_error): Declare.
1527 * c-common.c (readonly_error): Define.
1529 2010-12-09 Nathan Froyd <froydnj@codesourcery.com>
1531 * c-common.h (invalid_indirection_error): Declare.
1532 * c-common.c (invalid_indirection_error): Define.
1534 2010-12-03 Richard Guenther <rguenther@suse.de>
1537 * c-pretty-print.c (pp_c_postfix_expression): Handle MEM_REF.
1538 (pp_c_unary_expression): Likewise.
1539 (pp_c_expression): Likewise.
1541 2010-11-30 Nicola Pero <nicola.pero@meta-innovation.com>
1543 * c-common.h (objc_finish_function): New.
1544 (objc_non_volatilized_type): Removed.
1545 (objc_type_quals_match): Removed.
1546 * stub-objc.c (objc_finish_function): New.
1547 (objc_non_volatilized_type): Removed.
1548 (objc_type_quals_match): Removed.
1550 2010-11-30 Joseph Myers <joseph@codesourcery.com>
1552 * c-common.h (parse_optimize_options): Declare.
1553 * c-cppbuiltin.c, c-format.c, c-gimplify.c, c-lex.c, c-omp.c,
1554 c-pch.c, c-pragma.c, c-semantics.c: Don't include toplev.h.
1556 2010-11-29 Joseph Myers <joseph@codesourcery.com>
1558 * c-opts.c (check_deps_environment_vars): Use getenv instead of
1560 * c-pch.c (O_BINARY): Don't define here.
1561 * c-pragma.h: Include "cpplib.h" instead of <cpplib.h>.
1563 2010-11-25 Joseph Myers <joseph@codesourcery.com>
1565 * c-cppbuiltin.c (c_cpp_builtins): Pass &global_options to
1566 targetm.except_unwind_info.
1568 2010-11-23 Joseph Myers <joseph@codesourcery.com>
1570 * c-opts.c (c_common_handle_option): Pass location to
1571 set_struct_debug_option.
1573 2010-11-23 Joseph Myers <joseph@codesourcery.com>
1575 * c-common.c (visibility_options): Move from ../opts.c.
1576 * c-common.h (struct visibility_flags, visibility_options):
1578 * c-opts.c (finish_options): Rename to c_finish_options.
1579 (c_common_init): Update call to finish_options.
1581 2010-11-22 Nicola Pero <nicola.pero@meta-innovation.com>
1584 * c-lex.c (lex_string): Check that each string in an Objective-C
1585 string concat sequence starts with either one or zero '@', and
1586 that there are no spurious '@' signs at the end.
1588 2010-11-20 Joseph Myers <joseph@codesourcery.com>
1590 * c-pragma.c: Remove conditionals on HANDLE_PRAGMA_PACK,
1591 HANDLE_PRAGMA_PACK_PUSH_POP, HANDLE_PRAGMA_WEAK and
1592 HANDLE_PRAGMA_VISIBILITY.
1593 * c-pragma.h (HANDLE_PRAGMA_WEAK, HANDLE_PRAGMA_PACK,
1594 HANDLE_PRAGMA_VISIBILITY): Don't define.
1595 (HANDLE_SYSV_PRAGMA, HANDLE_PRAGMA_PACK_PUSH_POP): Don't test.
1597 2010-11-20 Nathan Froyd <froydnj@codesourcery.com>
1602 * c-common.h (keyword_begins_type_specifier): Declare.
1603 (keyword_is_storage_class_specifier): Declare.
1604 (keyword_is_type_qualifier): Declare.
1605 * c-common.c (keyword_begins_type_specifier): New function.
1606 (keyword_is_storage_class_specifier): New function.
1607 (keyword_is_type_qualifier): Declare.
1609 2010-11-19 Joseph Myers <joseph@codesourcery.com>
1612 * c-common.c (in_late_binary_op): Define.
1613 (c_common_truthvalue_conversion): Check in_late_binary_op before
1614 calling c_save_expr.
1615 * c-common.h (in_late_binary_op): Declare.
1617 2010-11-19 Joseph Myers <joseph@codesourcery.com>
1619 * c-opts.c (c_common_handle_option): Update calls to
1620 set_struct_debug_option.
1622 2010-11-19 Nicola Pero <nicola.pero@meta-innovation.com>
1624 * c-common.h (objc_declare_protocols): Added additional argument.
1625 * stub-objc.c (objc_declare_protocol): Same change.
1627 2010-11-18 Nathan Froyd <froydnj@codesourcery.com>
1630 * c-common.h (build_real_imag_expr): Declare.
1631 * c-semantics.c (build_real_imag_expr): Define.
1633 2010-11-17 Joseph Myers <joseph@codesourcery.com>
1635 * c-opts.c (c_common_parse_file): Take no arguments.
1636 * c-common.h (c_common_parse_file): Update prototype.
1638 2010-11-16 Jakub Jelinek <jakub@redhat.com>
1641 * c-common.c (warning_candidate_p): Don't track non-const calls
1644 2010-11-15 Ian Lance Taylor <iant@google.com>
1646 * c-lex.c (init_c_lex): Set macro debug callbacks if
1647 flag_dump_go_spec is set.
1649 2010-11-15 Nicola Pero <nicola.pero@meta-innovation.com>
1651 * c-common.h (objc_build_incr_expr_for_property_ref): New.
1652 * stub-objc.c (objc_build_incr_expr_for_property_ref): New.
1654 2010-11-15 Nathan Froyd <froydnj@codesourcery.com>
1656 PR preprocessor/45038
1657 * c-cppbuiltin.c (c_cpp_builtins): Use different format for C++
1660 2010-11-12 Joseph Myers <joseph@codesourcery.com>
1662 * c-common.h (c_family_lang_mask): Declare.
1663 * c-opts.c (c_family_lang_mask): Make extern.
1664 * c-pragma.c (handle_pragma_diagnostic): Use
1665 control_warning_option.
1667 2010-11-12 Joseph Myers <joseph@codesourcery.com>
1669 * c-common.c (parse_optimize_options): Update call to
1671 * c-common.h (c_common_handle_option): Update prototype.
1672 * c-opts.c (c_common_handle_option): Take location_t parameter and
1673 pass it to other functions.
1675 2010-11-11 Joseph Myers <joseph@codesourcery.com>
1677 * c-opts.c (warning_as_error_callback): Remove.
1678 (c_common_initialize_diagnostics): Don't call
1679 register_warning_as_error_callback.
1680 (c_common_handle_option): Handle -Werror=normalized= here.
1682 2010-11-10 Joseph Myers <joseph@codesourcery.com>
1684 * c-common.c (handle_mode_attribute): Use %' and word "signedness"
1686 * c-opts.c (c_common_parse_file): Start diagnostics with lowercase
1688 * c-pragma.c (handle_pragma_target, handle_pragma_optimize):
1689 Remove trailing '.' from diagnostics.
1690 * c.opt (Wwrite-strings_: Avoid '`' in help text.
1692 2010-11-10 Joseph Myers <joseph@codesourcery.com>
1694 * c-common.c (parse_optimize_options): Pass global_dc to
1696 * c-opts.c (c_common_handle_option): Pass &global_options to
1697 set_Wstrict_aliasing.
1698 * c.opt (v): Don't mark Common or document here.
1700 2010-11-06 Iain Sandoe <iains@gcc.gnu.org>
1703 * c-format.c (format_type): New type gcc_objc_string_format_type.
1704 (valid_stringptr_type_p): New.
1705 (handle_format_arg_attribute): Use valid_stringptr_type_p ().
1706 (check_format_string): Pass expected type, use
1707 valid_stringptr_type_p (), check that the format string types are
1708 consistent with the format specification.
1709 (decode_format_attr): Warn if NSString is used outside objective-c.
1710 (format_types_orig): Add NSString.
1712 (format_flags): New.
1713 (check_format_arg): Handle format strings requiring an external parser.
1714 first_target_format_type: New variable.
1715 (handle_format_attribute): Set up first_target_format_type, pass the
1716 expected format arg string type to check_format_string().
1717 * c-common.h (FMT_FLAG_PARSE_ARG_CONVERT_EXTERNAL): New flag.
1718 * stub-objc.c (objc_string_ref_type_p): New.
1719 (objc_check_format_arg): New.
1721 2010-11-04 Nicola Pero <nicola.pero@meta-innovation.com>
1723 Fixed using the Objective-C 2.0 dot-syntax with class names.
1724 * c-common.h (objc_build_class_component_ref): New.
1725 * stub-objc.c (objc_build_class_component_ref): New.
1727 2010-11-03 Nicola Pero <nicola.pero@meta-innovation.com>
1729 * c.opt (Wproperty-assign-default): New option.
1731 2010-11-03 Nicola Pero <nicola.pero@meta-innovation.com>
1733 Implemented -fobjc-std=objc1 flag.
1734 * c.opt (fobjc-std=objc1): New option.
1736 2010-11-01 Nicola Pero <nicola.pero@meta-innovation.com>
1738 Implemented format and noreturn attributes for Objective-C methods.
1739 * c-common.c (handle_noreturn_attribute): Recognize 'noreturn'
1740 attribute for Objective-C methods.
1742 2010-10-31 Jason Merrill <jason@redhat.com>
1744 * c-common.c (conversion_warning, warn_for_collisions_1): Use
1747 2010-10-30 Nicola Pero <nicola.pero@meta-innovation.com>
1749 Implemented Objective-C 2.0 @property, @synthesize and @dynamic.
1750 * c-common.h (enum rid): Removed RID_COPIES and RID_IVAR.
1751 (objc_add_property_declaration): Removed arguments for copies and
1753 (objc_build_getter_call): Renamed to
1754 objc_maybe_build_component_ref.
1755 (objc_build_setter_call): Renamed to objc_maybe_build_modify_expr.
1756 (objc_is_property_ref): New.
1757 * c-common.c (c_common_reswords): Removed copies and ivar.
1758 * stub-objc.c (objc_add_property_declaration): Removed arguments
1759 for copies and ivar.
1760 (objc_build_getter_call): Renamed to
1761 objc_maybe_build_component_ref.
1762 (objc_build_setter_call): Renamed to objc_maybe_build_modify_expr.
1763 (objc_is_property_ref): New.
1765 2010-10-29 Arnaud Charlet <charlet@adacore.com>
1766 Matthew Gingell <gingell@adacore.com>
1768 * c-ada-spec.c (separate_class_package): New function.
1769 (pp_ada_tree_identifier): Prefix references to C++ classes with the
1770 name of their enclosing package.
1771 (print_ada_declaration): Use separate_class_package.
1773 2010-10-27 Jason Merrill <jason@redhat.com>
1775 * c-common.c (c_common_reswords): Add __is_literal_type.
1776 * c-common.h (enum rid): Add RID_IS_LITERAL_TYPE.
1778 * c-common.c (check_case_value): Remove special C++ code.
1780 2010-10-27 Nicola Pero <nicola.pero@meta-innovation.com>
1782 * c-common.h (enum rid): Added RID_READWRITE, RID_ASSIGN,
1783 RID_RETAIN, RID_COPY and RID_NONATOMIC. Updated RID_FIRST_PATTR
1785 (objc_add_property_declaration): Added additional arguments.
1786 (objc_property_attribute_kind): Removed.
1787 (objc_set_property_attr): Removed.
1788 * c-common.c (c_common_reswords): Added readwrite, assign, retain,
1790 * stub-objc.c (objc_add_property_declaration): Added additional
1792 (objc_set_property_attr): Removed.
1794 2010-10-27 Nicola Pero <nicola.pero@meta-innovation.com>
1796 * c-common.h (objc_add_property_variable): Renamed to
1797 objc_add_property_declaration. Added location argument.
1798 * stub-objc.c (objc_add_property_variable): Same change.
1800 2010-10-23 Nicola Pero <nicola.pero@meta-innovation.com>
1802 * c-common.h (objc_maybe_printable_name): New.
1803 * stub-objc.c (objc_maybe_printable_name): New.
1805 2010-10-22 Artjoms Sinkarovs <artyom.shinakroff@gmail.com>
1806 Andrew Pinski <pinskia@gmail.com>
1808 * c-common.h (c_common_mark_addressable_vec): Declare.
1809 * c-common.c (c_common_mark_addressable_vec): New function.
1811 2010-10-20 Nicola Pero <nicola.pero@meta-innovation.com>
1813 * c-common.h (objc_set_method_type): Removed.
1814 (objc_add_method_declaration): Added boolean argument.
1815 (objc_start_method_definition): Same change.
1816 (objc_build_method_signature): Same change.
1817 * stub-objc.c (objc_set_method_type): Removed.
1818 (objc_add_method_declaration): Added boolean argument.
1819 (objc_start_method_definition): Same change.
1820 (objc_build_method_signature): Same change.
1822 2010-10-20 Nicola Pero <nicola.pero@meta-innovation.com>
1824 * c-common.h (finish_file): Removed.
1825 (objc_write_global_declarations): New.
1826 * c-opts.c (c_common_parse_file): Do not call finish_file.
1827 * stub-objc.c (objc_write_global_declarations): New.
1829 2010-10-18 Nicola Pero <nicola.pero@meta-innovation.com>
1831 Implemented parsing @synthesize and @dynamic for
1832 Objective-C/Objective-C++.
1833 * c-common.h (enum rid): Add RID_AT_SYNTHESIZE and RID_AT_DYNAMIC.
1834 (objc_add_synthesize_declaration): New.
1835 (objc_add_dynamic_declaration): New.
1836 * c-common.c (c_common_reswords): Add synthesize and dynamic.
1837 * stub-objc.c (objc_add_synthesize_declaration): New.
1838 (objc_add_dynamic_declaration): New.
1840 2010-10-18 Michael Meissner <meissner@linux.vnet.ibm.com>
1843 * c-cppbuiltin.c (mode_has_fma): Move function here from
1844 builtins.c. Don't use the fma optab, instead just use the
1845 HAVE_fma* macros, so that __FP_FAST_FMA* will be defined when
1848 2010-10-18 Nicola Pero <nicola.pero@meta-innovation.com>
1850 Merge from 'apple/trunk' branch on FSF servers.
1852 2005-11-08 Fariborz Jahanian <fjahanian@apple.com>
1855 * c-common.h (objc_non_volatilized_type): New declaration
1856 * stub-objc.c (objc_non_volatilized_type): New stub.
1858 2010-10-17 Nicola Pero <nicola.pero@meta-innovation.com>
1860 Merge from 'apple/trunk' branch on FSF servers.
1862 2006-03-27 Fariborz Jahanian <fjahanian@apple.com>
1865 * c-common.h (objc_diagnose_private_ivar): New decl.
1866 * stub-objc.c (objc_diagnose_private_ivar): New stub.
1868 2010-10-17 Iain Sandoe <iains@gcc.gnu.org>
1870 * c-common.c (c_common_reswords): Add package, RID_AT_PACKAGE.
1871 * c-common.h (enum rid): Add RID_AT_PACKAGE.
1872 (objc_ivar_visibility_kind): New enum.
1873 (objc_set_visibility): Adjust prototype to use visibility enum.
1874 * stub-objc.c (objc_set_visibility): Adjust stub to use
1877 2010-10-14 Michael Meissner <meissner@linux.vnet.ibm.com>
1879 * c-cppbuiltin.c (builtin_define_float_constants): Emit
1880 __FP_FAST_FMA, __FP_FAST_FMAF, and __FP_FAST_FMAL if the machine
1881 has the appropriate fma builtins.
1882 (c_cpp_builtins): Adjust call to builtin_define_float_constants.
1884 2010-10-14 Iain Sandoe <iains@gcc.gnu.org>
1886 merge from FSF apple 'trunk' branch.
1887 2006 Fariborz Jahanian <fjahanian@apple.com>
1889 Radars 4436866, 4505126, 4506903, 4517826
1890 * c-common.c (c_common_resword): Define @property and its attributes.
1891 * c-common.h: Define property attribute enum entries.
1892 (OBJC_IS_PATTR_KEYWORD): New.
1893 (objc_property_attribute_kind): New enum.
1894 Declare objc_set_property_attr (), objc_add_property_variable (),
1895 objc_build_getter_call () and objc_build_setter_call ().
1896 * stub-objc.c (objc_set_property_attr): New stub.
1897 (objc_add_property_variable): Likewise.
1898 (objc_build_getter_call): Likewise.
1899 (objc_build_setter_call) Likewise.
1901 2010-10-13 Iain Sandoe <iains@gcc.gnu.org>
1903 merge from FSF apple 'trunk' branch.
1904 2006-04-26 Fariborz Jahanian <fjahanian@apple.com>
1906 Radar 3803157 (method attributes)
1907 * c-common.c (handle_deprecated_attribute): Recognize
1908 objc methods as valid declarations.
1909 * c-common.h: Declare objc_method_decl ().
1910 * stub-objc.c (objc_method_decl): New stub.
1912 2010-10-08 Joseph Myers <joseph@codesourcery.com>
1914 * c-common.c (parse_optimize_options): Call
1915 decode_cmdline_options_to_array_default_mask before
1916 decode_options. Update arguments to decode_options.
1917 * c-common.h (c_common_init_options_struct): Declare.
1918 * c-opts.c (c_common_init_options_struct): New. Split out from
1919 c_common_init_options.
1921 2010-10-06 Nicola Pero <nicola.pero@meta-innovation.com>
1923 Implemented fast enumeration for Objective-C.
1924 * c-common.h (objc_finish_foreach_loop): New.
1925 * stub-objc.c (objc_finish_foreach_loop): New.
1927 2010-10-05 Joseph Myers <joseph@codesourcery.com>
1929 * c-common.h (struct diagnostic_context): Don't declare here.
1930 (c_common_initialize_diagnostics): Declare using
1931 diagnostic_context typedef.
1932 * c-opts.c (c_common_handle_option): Pass global_dc to
1933 handle_generated_option.
1935 2010-10-04 Joseph Myers <joseph@codesourcery.com>
1937 * c-opts.c (c_common_handle_option): Pass &global_options_set to
1938 handle_generated_option.
1940 2010-10-03 Ian Lance Taylor <iant@google.com>
1942 * c.opt (-fplan9-extensions): New option.
1944 2010-10-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
1946 * c-cppbuiltin.c (define__GNUC__, builtin_define_type_precision):
1948 (c_cpp_builtins): Call functions from cppbuiltin.c instead
1949 of duplicating code.
1951 2010-09-30 Iain Sandoe <iains@gcc.gnu.org>
1953 * c-common.c: Add two new entries for @optional
1954 and @required keywords.
1956 merge from FSF 'apple/trunk' branch.
1957 2006-01-30 Fariborz Jahanian <fjahanian@apple.com>
1960 * c-common.h (RID_AT_OPTIONAL, RID_AT_REQUIRED): Two new
1961 objective-c keywords.
1962 (objc_set_method_opt): New declaration.
1963 * stub-objc.c (objc_set_method_opt): New stub.
1965 2010-09-30 Joseph Myers <joseph@codesourcery.com>
1967 * c-common.c (handle_optimize_attribute): Pass &global_options to
1968 cl_optimization_save and cl_optimization_restore.
1969 * c-opts.c (c_common_handle_option): Pass &global_options to
1970 handle_generated_option.
1971 * c-pragma.c (handle_pragma_diagnostic): Use option_flag_var.
1972 (handle_pragma_pop_options, handle_pragma_reset_options): Pass
1973 &global_options to cl_optimization_restore.
1975 2010-09-30 Nicola Pero <nicola.pero@meta-innovation.com>
1977 * c-lex.c (c_lex_with_flags): Updated comments for CPP_AT_NAME
1978 Objective-C/Objective-C++ keywords.
1980 2010-09-29 Nicola Pero <nicola.pero@meta-innovation.com>
1982 Merge from 'apple/trunk' branch on FSF servers.
1984 2005-10-04 Fariborz Jahanian <fjahanian@apple.com>
1987 * c-common.h (objc_check_global_decl): New declaration.
1988 * stub-objc.c (objc_check_global_decl): New stub.
1990 2010-09-29 Joseph Myers <joseph@codesourcery.com>
1992 * c.opt: Don't use VarExists.
1994 2010-09-29 Joseph Myers <joseph@codesourcery.com>
1996 * c-common.c (c_cpp_error): Update names of diagnostic_context
1998 * c-cppbuiltin.c (c_cpp_builtins_optimize_pragma): Update names of
1999 cl_optimization members.
2000 * c-opts.c (warning_as_error_callback, c_common_handle_option,
2001 sanitize_cpp_opts, finish_options): Update names of cpp_options
2004 2010-09-29 Nicola Pero <nicola.pero@meta-innovation.com>
2006 * c-common.h (OBJC_IS_CXX_KEYWORD): New macro. Updated comments.
2007 (objc_is_reserved_word): Removed.
2008 * c-common.c: Updated comments.
2009 * c-lex.c (c_lex_with_flags): Use OBJC_IS_CXX_KEYWORD instead of
2010 objc_is_reserved_word.
2011 * stub-objc.c (objc_is_reserved_word): Removed.
2013 2010-09-28 Iain Sandoe <iains@gcc.gnu.org>
2015 * c-common.h (objc_add_method_declaration): Adjust prototype to
2017 (objc_start_method_definition): Likewise.
2018 (objc_build_keyword_decl): Likewise.
2019 * stub-objc.c:(objc_add_method_declaration): Handle attributes.
2020 (objc_start_method_definition): Likewise.
2021 (objc_build_keyword_decl): Likewise.
2023 2010-09-28 Iain Sandoe <iains@gcc.gnu.org>
2025 * c-common.h (objc_start_class_interface): Adjust prototype.
2026 (objc_start_category_interface): Likewise.
2027 (objc_start_protocol): Likewise.
2028 * stub-objc.c (objc_start_protocol): Adjust for extra argument.
2029 (objc_start_class_interface): Likewise.
2030 (objc_start_category_interface): Likewise.
2032 2010-09-27 Ian Lance Taylor <iant@google.com>
2034 * c-common.c (c_common_attribute_table): Add no_split_stack.
2035 (handle_no_split_stack_attribute): New static function.
2037 2010-09-27 Nicola Pero <nicola.pero@meta-innovation.com>
2039 Merge from 'apple/trunk' branch on FSF servers.
2041 2005-12-15 Fariborz Jahanian <fjahanian@apple.com>
2044 * c-common.h (objc_have_common_type): New declaration.
2045 * stub-objc.c (objc_have_common_type): New stub.
2047 2005-06-22 Ziemowit Laski <zlaski@apple.com>
2050 * c-common.h (objc_common_type): New prototype.
2051 * stub-objc.c (objc_common_type): New stub.
2053 2010-09-24 Jan Hubicka <jh@suse.cz>
2055 * c-common.c (handle_leaf_attribute): New function.
2056 (struct attribute_spec c_common_att): Add leaf.
2058 2010-09-22 Joseph Myers <joseph@codesourcery.com>
2060 * c.opt (-all-warnings, -ansi, -assert, -assert=, -comments,
2061 -comments-in-macros, -define-macro, -define-macro=, -dependencies,
2062 -dump, -dump=, -imacros, -imacros=, -include, -include=,
2063 -include-barrier, -include-directory, -include-directory=,
2064 -include-directory-after, -include-directory-after=,
2065 -include-prefix, -include-prefix=, -include-with-prefix,
2066 -include-with-prefix=, -include-with-prefix-after,
2067 -include-with-prefix-after=, -include-with-prefix-before,
2068 -include-with-prefix-before=, -no-integrated-cpp,
2069 -no-line-commands, -no-standard-includes, -no-warnings, -output,
2070 -output=, -pedantic, -pedantic-errors, -preprocess,
2071 -print-missing-file-dependencies, -trace-includes, -traditional,
2072 -traditional-cpp, -trigraphs, -undefine-macro, -undefine-macro=,
2073 -user-dependencies, -verbose, -write-dependencies,
2074 -write-user-dependencies, no-integrated-cpp, traditional): New.
2076 2010-09-21 Nicola Pero <nicola.pero@meta-innovation.com>
2079 * c-common.h (objc_start_method_definition): Return bool instead
2081 * stub-objc.c (objc_start_method_definition): Return bool instead
2084 2010-09-21 Nicola Pero <nicola.pero@meta-innovation.com>
2087 * c-common.h (objc_get_interface_ivars): New declaration.
2088 * stub-objc.c (objc_get_interface_ivars): New stub.
2090 2010-09-15 Ian Lance Taylor <iant@google.com>
2092 * c-common.c (parse_optimize_options): Do not capitalize warning
2093 messages. Remove period at end of warning message.
2095 2010-09-09 Nathan Sidwell <nathan@codesourcery.com>
2097 * c-common.c (handle_alias_ifunc_attribute): New, broken out of ...
2098 (handle_alias_attribute): ... here.
2099 (handle_ifunc_attribute): New.
2101 2010-09-06 Mark Mitchell <mark@codesourcery.com>
2103 * c-common.h (do_warn_double_promotion): Declare.
2104 * c-common.c (do_warn_double_promotion): Define.
2106 2010-09-05 Mark Mitchell <mark@codesourcery.com>
2108 * c.opt (Wdouble-promotion): New.
2110 2010-09-02 Joseph Myers <joseph@codesourcery.com>
2112 * c.opt (falt-external-templates, fhuge-objects, fvtable-gc,
2113 fvtable-thunks, fxref): Mark no longer supported in help text.
2115 2010-09-02 Joseph Myers <joseph@codesourcery.com>
2117 * c.opt (Wimport, fall-virtual, falt-external-templates,
2118 fdefault-inline, fenum-int-equiv, fexternal-templates,
2119 fguiding-decls, fhonor-std, fhuge-objects, flabels-ok,
2120 fname-mangling-version-, fnew-abi, fnonnull-objects,
2121 foptional-diags, fsquangle, fstrict-prototype, fthis-is-variable,
2122 fvtable-gc, fvtable-thunks, fxref): Mark with Ignore and Warn as
2124 (fhandle-exceptions): Mark with Alias and Warn.
2125 * c-opts.c (c_common_handle_option): Don't handle options marked
2128 2010-09-02 Joseph Myers <joseph@codesourcery.com>
2130 * c.opt (Wcomments, Werror-implicit-function-declaration,
2131 ftemplate-depth-, std=c89, std=c9x, std=gnu89, std=gnu9x,
2132 std=iso9899:1990, std=iso9899:1999, std=iso9899:199x): Mark as
2134 * c-common.c (option_codes): Use OPT_Wcomment instead of
2136 * c-opts.c (warning_as_error_callback, c_common_handle_option):
2137 Don't handle options marked as aliases.
2139 2010-08-25 Richard Guenther <rguenther@suse.de>
2141 * c-common.c (c_common_get_alias_set): Remove special
2142 handling for pointers.
2144 2010-08-20 Nathan Froyd <froydnj@codesourcery.com>
2146 * c-common.c: Use FOR_EACH_VEC_ELT.
2147 * c-gimplify.c: Likewise.
2148 * c-pragma.c: Likewise.
2150 2010-08-16 Joseph Myers <joseph@codesourcery.com>
2152 * c.opt (MDX): Change back to MD. Mark NoDriverArg instead of
2154 (MMDX): Change back to MMD. Mark NoDriverArg instead of
2156 * c-opts.c (c_common_handle_option): Use OPT_MD and OPT_MMD
2157 instead of OPT_MDX and OPT_MMDX.
2159 2010-08-16 Joseph Myers <joseph@codesourcery.com>
2161 * c.opt (MDX, MMDX, lang-asm): Mark RejectDriver.
2163 2010-08-12 Joseph Myers <joseph@codesourcery.com>
2165 * c.opt (MD, MMD): Change to MDX and MMDX.
2166 * c-opts.c (c_common_handle_option): Use OPT_MMD and OPT_MMDX.
2168 2010-08-11 Joseph Myers <joseph@codesourcery.com>
2170 * c-opts.c (c_common_handle_option): Call handle_generated_option
2171 instead of handle_option.
2173 2010-08-08 Nathan Froyd <froydnj@codesourcery.com>
2175 * c-pragma.c (add_to_renaming_pragma_list): Fix call to VEC_safe_push.
2176 (maybe_apply_renaming_pragma): Delete unneeded declarations.
2178 2010-08-08 Nathan Froyd <froydnj@codesourcery.com>
2180 * c-pragma.c (pending_redefinition): Declare. Declare a VEC of it.
2181 (pending_redefine_extname): Change type to a VEC.
2182 (add_to_renaming_pragma_list): Update for new type of
2183 pending_redefine_extname.
2184 (maybe_apply_renaming_pragma): Likewise.
2186 2010-08-04 Arnaud Charlet <charlet@adacore.com>
2188 * c-ada-spec.c (dump_ada_template): Mark underlying instance type as
2190 (dump_generic_ada_node): Code clean up. Use TREE_VISITED flag to
2191 decide whether a type has already been declared/seen.
2192 Do not go to the original type.
2193 (dump_nested_types): New parameter forward.
2194 Generate forward declaration if needed and mark type as visited.
2195 (print_ada_declaration): Call dump_nested_types if not already done.
2196 Mark types as visited.
2198 2010-08-03 Joseph Myers <joseph@codesourcery.com>
2200 * c.opt (-print-pch-checksum): Remove option.
2201 * c-opts.c (c_common_handle_option): Don't handle
2202 OPT_print_pch_checksum.
2204 2010-07-27 Joseph Myers <joseph@codesourcery.com>
2206 * c-common.h (c_common_handle_option): Update prototype and return
2208 * c-opts.c (c_common_handle_option): Update prototype and return
2209 value type. Update calls to handle_option and
2210 enable_warning_as_error.
2212 2010-07-27 Jakub Jelinek <jakub@redhat.com>
2215 * c-pretty-print.c (pp_c_expression): Handle C_MAYBE_CONST_EXPR.
2217 2010-07-27 Joseph Myers <joseph@codesourcery.com>
2219 * c-common.h (c_common_missing_argument): Remove.
2220 * c-opts.c (c_common_missing_argument): Remove.
2221 * c.opt (A, D, F, I, MD, MMD, MQ, MT, U, fconstant-string-class=,
2222 idirafter, imacros, include, isysroot, isystem, iquote): Add
2224 * c-objc-common.h (LANG_HOOKS_MISSING_ARGUMENT): Remove.
2226 2010-07-27 Joseph Myers <joseph@codesourcery.com>
2228 * c-common.h (c_common_option_lang_mask,
2229 c_common_initialize_diagnostics, c_common_complain_wrong_lang_p):
2231 (c_common_init_options): Update prototype.
2232 * c-opts.c (c_common_option_lang_mask): New.
2233 (c_common_initialize_diagnostics): Split out of
2234 c_common_init_options.
2235 (accept_all_c_family_options, c_common_complain_wrong_lang_p):
2237 (c_common_init_options): Update prototype. Use decoded options in
2238 search for -lang-asm.
2240 2010-07-15 Nathan Froyd <froydnj@codesourcery.com>
2242 * c-common.c: Carefully replace TREE_CHAIN with DECL_CHAIN.
2243 * c-format.c: Likewise.
2245 2010-07-08 Manuel López-Ibáñez <manu@gcc.gnu.org>
2247 * c-common.h: Include diagnostic-core.h. Error if already
2249 * c-semantics.c: Do not define GCC_DIAG_STYLE here.
2251 2010-07-03 Manuel López-Ibáñez <manu@gcc.gnu.org>
2253 * c-family/c-common.c (IN_GCC_FRONTEND): Do not undef.
2254 Do not include expr.h
2255 (vector_mode_valid_p): Move here.
2257 2010-06-21 DJ Delorie <dj@redhat.com>
2259 * c-pragma.c (handle_pragma_diagnostic): Add push/pop,
2260 allow these pragmas anywhere.
2262 2010-06-14 Jakub Jelinek <jakub@redhat.com>
2265 * c-cppbuiltin.c: Include gt-c-family-c-cppbuiltin.h.
2266 (lazy_hex_fp_values, lazy_hex_fp_value_count): Add GTY(()) markers.
2267 (lazy_hex_fp_value, builtin_define_with_hex_fp_value): Use
2268 ggc_strdup instead of xstrdup.
2270 2010-06-10 Jakub Jelinek <jakub@redhat.com>
2272 * c-cppbuiltin.c: Include cpp-id-data.h.
2273 (lazy_hex_fp_values, lazy_hex_fp_value_count): New variables.
2274 (lazy_hex_fp_value): New function.
2275 (builtin_define_with_hex_fp_value): Provide definitions lazily.
2277 2010-06-30 Manuel López-Ibáñez <manu@gcc.gnu.org>
2279 * c-gimplify.c: Do not include tree-flow.h
2281 2010-06-29 Joern Rennecke <joern.rennecke@embecosm.com>
2284 * c-common.c: Rename targetm member:
2285 targetm.enum_va_list -> targetm.enum_va_list_p
2287 2010-06-28 Anatoly Sokolov <aesok@post.ru>
2289 * c-common.c (shorten_compare): Adjust call to force_fit_type_double.
2291 2010-06-28 Steven Bosscher <steven@gcc.gnu.org>
2293 * c-cppbuiltin.c: Do not include except.h.
2295 2010-06-24 Andi Kleen <ak@linux.intel.com>
2297 * c-common.c (warn_for_omitted_condop): New.
2298 * c-common.h (warn_for_omitted_condop): Add prototype.
2300 2010-06-21 Joseph Myers <joseph@codesourcery.com>
2302 * c.opt (lang-objc): Remove.
2303 * c-opts.c (c_common_handle_option): Don't handle OPT_lang_objc.
2305 2010-06-21 Joern Rennecke <joern.rennecke@embecosm.com>
2307 * c-opts.c: Include "tm_p.h".
2309 2010-06-20 Joseph Myers <joseph@codesourcery.com>
2311 * c-common.c (parse_optimize_options): Update call to
2314 2010-06-18 Nathan Froyd <froydnj@codesourcery.com>
2316 * c-common.c (record_types_used_by_current_var_decl): Adjust for
2317 new type of types_used_by_cur_var_decl.
2319 2010-06-17 Joern Rennecke <joern.rennecke@embecosm.com>
2322 * c-cppbuiltin.c (builtin_define_with_hex_fp_value): Add cast
2323 for C++ standard compliance.
2325 2010-06-16 Jason Merrill <jason@redhat.com>
2327 * c.opt: Add -Wnoexcept.
2329 2010-06-16 Richard Guenther <rguenther@suse.de>
2332 * c-common.c (c_common_truthvalue_conversion): Remove
2333 premature and wrong optimization concering ADDR_EXPRs.
2335 2010-06-15 Arnaud Charlet <charlet@adacore.com>
2337 * c-ada-spec.c (dump_sloc): Remove column info.
2338 (is_simple_enum): New function.
2339 (dump_generic_ada_node, print_ada_declaration): Map C enum types to Ada
2340 enum types when relevant.
2342 2010-06-11 Manuel López-Ibáñez <manu@gcc.gnu.org>
2344 * c-common.c (conversion_warning): Warn at expression
2347 2010-06-10 Joseph Myers <joseph@codesourcery.com>
2349 * c-opts.c (c_common_handle_option): Don't handle
2352 2010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com>
2354 * c-pragma.c (push_alignment): Use typed GC allocation.
2355 (handle_pragma_push_options): Likewise.
2357 * c-common.c (parse_optimize_options): Likewise.
2359 * c-common.h (struct sorted_fields_type): Add variable_size GTY
2362 2010-06-07 Joseph Myers <joseph@codesourcery.com>
2364 * c-common.c (flag_preprocess_only, flag_undef, flag_no_builtin,
2365 flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
2366 flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
2367 flag_signed_bitfields, warn_strict_null_sentinel,
2368 flag_nil_receivers, flag_zero_link, flag_replace_objc_classes,
2369 flag_gen_declaration, flag_no_gnu_keywords,
2370 flag_implement_inlines, flag_implicit_templates,
2371 flag_implicit_inline_templates, flag_optional_diags,
2372 flag_elide_constructors, flag_default_inline, flag_rtti,
2373 flag_conserve_space, flag_access_control, flag_check_new,
2374 flag_new_for_scope, flag_weak, flag_working_directory,
2375 flag_use_cxa_atexit, flag_use_cxa_get_exception_ptr,
2376 flag_enforce_eh_specs, flag_threadsafe_statics,
2377 flag_pretty_templates): Remove.
2378 * c-common.h (flag_preprocess_only, flag_nil_receivers,
2379 flag_objc_exceptions, flag_objc_sjlj_exceptions, flag_zero_link,
2380 flag_replace_objc_classes, flag_undef, flag_no_builtin,
2381 flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
2382 flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
2383 flag_const_strings, flag_signed_bitfields, flag_gen_declaration,
2384 flag_no_gnu_keywords, flag_implement_inlines,
2385 flag_implicit_templates, flag_implicit_inline_templates,
2386 flag_optional_diags, flag_elide_constructors, flag_default_inline,
2387 flag_rtti, flag_conserve_space, flag_access_control,
2388 flag_check_new, flag_new_for_scope, flag_weak,
2389 flag_working_directory, flag_use_cxa_atexit,
2390 flag_use_cxa_get_exception_ptr, flag_enforce_eh_specs,
2391 flag_threadsafe_statics, flag_pretty_templates,
2392 warn_strict_null_sentinel): Remove.
2393 * c.opt (E, Wstrict-null-sentinel, faccess-control, fasm,
2394 fbuiltin, fcheck-new, fconserve-space, felide-constructors,
2395 fenforce-eh-specs, ffor-scope, fgnu-keywords, fimplement-inlines,
2396 fimplicit-inline-templates, fimplicit-templates,
2397 flax-vector-conversions, fms-extensions, fnil-receivers,
2398 fnonansi-builtins, fpretty-templates, freplace-objc-classes,
2399 frtti, fshort-double, fshort-enums, fshort-wchar,
2400 fsigned-bitfields, fsigned-char, fstats, fthreadsafe-statics,
2401 funsigned-bitfields, funsigned-char, fuse-cxa-atexit,
2402 fuse-cxa-get-exception-ptr, fweak, fworking-directory, fzero-link,
2403 gen-decls, undef): Use Var.
2404 (fdefault-inline, foptional-diags): Document as doing nothing.
2405 * c-opts.c (c_common_handle_option): Remove cases for options now
2406 using Var. Mark ignored options as such.
2408 2010-06-05 Steven Bosscher <steven@gcc.gnu.org>
2410 * c-common.c: Moved to here from parent directory.
2411 * c-common.def: Likewise.
2412 * c-common.h: Likewise.
2413 * c-cppbuiltin.c: Likewise.
2414 * c-dump.c: Likewise.
2415 * c-format.c: Likewise.
2416 * c-format.h : Likewise.
2417 * c-gimplify.c: Likewise.
2418 * c-lex.c: Likewise.
2419 * c-omp.c: Likewise.
2421 * c-opts.c: Likewise.
2422 * c-pch.c: Likewise.
2423 * c-ppoutput.c: Likewise.
2424 * c-pragma.c: Likewise.
2425 * c-pragma.h: Likewise.
2426 * c-pretty-print.c: Likewise.
2427 * c-pretty-print.h: Likewise.
2428 * c-semantics.c: Likewise.
2429 * stub-objc.c: Likewise.
2431 * c-common.c: Include gt-c-family-c-common.h.
2432 * c-pragma.c: Include gt-c-family-c-pragma.h.
2434 Copyright (C) 2010-2013 Free Software Foundation, Inc.
2436 Copying and distribution of this file, with or without modification,
2437 are permitted in any medium without royalty provided the copyright
2438 notice and this notice are preserved.