]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/c-family/ChangeLog
2011-11-05 Quentin Neill <quentin.neill@amd.com>
[thirdparty/gcc.git] / gcc / c-family / ChangeLog
CommitLineData
83e25171 12011-11-06 Joseph Myers <joseph@codesourcery.com>
2
3 * c-common.c (c_common_reswords): Add _Alignas and _Alignof.
4 (c_sizeof_or_alignof_type): Diagnose alignof applied to a function
5 type.
6 (check_user_alignment): New. Split out of
7 handle_aligned_attribute. Disallow integer constants with
8 noninteger types. Conditionally allow zero.
9 (handle_aligned_attribute): Use check_user_alignment.
10 * c-common.h (RID_ALIGNAS, check_user_alignment): New.
11
1cd6e20d 122011-11-06 Andrew MacLeod <amacleod@redhat.com>
13 Richard Henderson <rth@redhat.com>
14
15 Merged from cxx-mem-model.
16
17 * c-cppbuiltin.c (c_cpp_builtins): Test both atomic and sync patterns.
18 * c-common.c (sync_resolve_params, sync_resolve_return): Only tweak
19 parameters that are the same type size.
20 (get_atomic_generic_size): New. Find size of generic
21 atomic function parameters and do typechecking.
22 (add_atomic_size_parameter): New. Insert size into parameter list.
23 (resolve_overloaded_atomic_exchange): Restructure __atomic_exchange to
24 either __atomic_exchange_n or external library call.
25 (resolve_overloaded_atomic_compare_exchange): Restructure
26 __atomic_compare_exchange to either _n variant or external library call.
27 (resolve_overloaded_atomic_load): Restructure __atomic_load to either
28 __atomic_load_n or an external library call.
29 (resolve_overloaded_atomic_store): Restructure __atomic_store to either
30 __atomic_store_n or an external library call.
31 (resolve_overloaded_builtin): Handle new __atomic builtins.
32
7549df0d 332011-11-04 Eric Botcazou <ebotcazou@adacore.com>
34
35 PR c++/50608
36 * c-common.c (c_fully_fold_internal) <ADDR_EXPR>: Call fold_offsetof_1.
37 (fold_offsetof_1): Make global. Remove STOP_REF argument and adjust.
38 <INDIRECT_REF>: Return the argument.
39 <ARRAY_REF>: Remove special code for negative offset.
40 Call fold_build_pointer_plus instead of size_binop.
41 (fold_offsetof): Remove STOP_REF argument and adjust.
42 * c-common.h (fold_offsetof_1): Declare.
43 (fold_offsetof): Remove STOP_REF argument.
44
7e783eb3 452011-11-02 Paolo Carlini <paolo.carlini@oracle.com>
46
47 PR c++/50810
48 * c-opts.c (c_common_handle_option): Enable -Wnarrowing as part
49 of -Wall; include -Wnarrowing in -Wc++0x-compat; adjust default
50 Wnarrowing for C++0x and C++98.
51 * c.opt ([Wnarrowing]): Update.
52
8fe701f5 532011-11-01 Paolo Carlini <paolo.carlini@oracle.com>
54
55 PR c++/44277
56 * c.opt: Add Wzero-as-null-pointer-constant.
57
0d84dc2d 582011-10-31 Jason Merrill <jason@redhat.com>
59
67031f52 60 * c.opt (-fdeduce-init-list): Off by default.
61
0d84dc2d 62 PR c++/50920
63 * c-common.h (cxx_dialect): Add cxx11 and cxx03.
64 * c.opt: Add -std=c++11, -std=gnu++11, -std=gnu++03,
65 and -Wc++11-compat.
66 * c-opts.c (set_std_cxx11): Rename from set_std_cxx0x.
67
66f24c41 682011-10-27 Roberto Agostino Vitillo <ravitillo@lbl.gov>
69
70 PR c++/30066
71 * c.opt (fvisibility-inlines-hidden): Description change.
72
244db24d 732011-10-26 Ed Smith-Rowland <3dw4rd@verizon.net>
74
75 Implement C++11 user-defined literals.
76 * c-common.c (build_userdef_literal): New.
77 * c-common.def: New tree code.
78 * c-common.h (tree_userdef_literal): New tree struct and accessors.
79 * c-lex.c (interpret_float): Add suffix parm.
80 (c_lex_with_flags): Build literal tokens.
81
235be70f 822011-10-23 Paolo Carlini <paolo.carlini@oracle.com>
83
84 PR c++/50841
85 Revert:
86 2011-10-23 Paolo Carlini <paolo.carlini@oracle.com>
87
88 PR c++/50810
89 * c-opts.c (c_common_handle_option): Enable -Wnarrowing as part
90 of -Wall; include -Wnarrowing in -Wc++0x-compat; adjust default
91 Wnarrowing for C++0x and C++98.
92 * c.opt ([Wnarrowing]): Update.
93
4fe0fb1c 942011-10-23 Paolo Carlini <paolo.carlini@oracle.com>
95
96 PR c++/50810
97 * c-opts.c (c_common_handle_option): Enable -Wnarrowing as part
98 of -Wall; include -Wnarrowing in -Wc++0x-compat; adjust default
99 Wnarrowing for C++0x and C++98.
100 * c.opt ([Wnarrowing]): Update.
101
5f7504f9 1022011-10-21 Paolo Carlini <paolo.carlini@oracle.com>
103
104 PR c++/45385
105 * c-common.c (conversion_warning): Remove code looking for
106 artificial operands.
107
2a688977 1082011-10-18 Dodji Seketeli <dodji@redhat.com>
109
110 PR bootstrap/50760
111 * c-lex.c (fe_file_change): Use LINEMAP_SYSP when
112 !NO_IMPLICIT_EXTERN_C.
113
326e3391 1142011-10-17 Michael Spertus <mike_spertus@symantec.com>
115
116 * c-common.c (c_common_reswords): Add __bases,
117 __direct_bases.
118 * c-common.h: Add RID_BASES and RID_DIRECT_BASES.
119
1202011-10-17 Paolo Carlini <paolo.carlini@oracle.com>
121
122 PR c++/50757
123 * c.opt ([Wnonnull]): Add C++ and Objective-C++.
124
62db153a 1252011-10-15 Tom Tromey <tromey@redhat.com>
126 Dodji Seketeli <dodji@redhat.com>
127
128 * c.opt (fdebug-cpp): New option.
129 * c-opts.c (c_common_handle_option): Handle the option.
130 * c-ppoutput.c (maybe_print_line_1): New static function. Takes an
131 output stream in parameter. Factorized from ...
132 (maybe_print_line): ... this. Dump location debug information when
133 -fdebug-cpp is in effect.
134 (print_line_1): New static function. Takes an output stream in
135 parameter. Factorized from ...
136 (print_line): ... here. Dump location information when -fdebug-cpp
137 is in effect.
138 (scan_translation_unit): Dump location information when
139 -fdebug-cpp is in effect.
140
ce70f433 1412011-10-15 Tom Tromey <tromey@redhat.com>
142 Dodji Seketeli <dodji@redhat.com>
143
144 * c.opt (ftrack-macro-expansion): New option. Handle it with and
145 without argument.
146 * c-opts.c (c_common_handle_option)<case
147 OPT_ftrack_macro_expansion_, case OPT_ftrack_macro_expansion>: New
148 cases. Handle -ftrack-macro-expansion with and without argument.
149
97bfb9ef 1502011-10-15 Tom Tromey <tromey@redhat.com>
151 Dodji Seketeli <dodji@redhat.com>
152
153 * c-ppoutput.c (scan_translation_unit, maybe_print_line)
154 (print_line, cb_define, do_line_change): Adjust to avoid touching
155 the internals of struct line_map. Use the public API instead.
156 * c-pch.c (c_common_read_pch): Likewise.
157 * c-lex.c (fe_file_change): Likewise.
158
326e3391 1592011-10-14 Paolo Carlini <paolo.carlini@oracle.com>
160
161 PR c++/17212
162 * c.opt ([Wformat-zero-length]): Add C++ and Objective-C++.
163
1642011-10-11 Paolo Carlini <paolo.carlini@oracle.com>
165
166 PR c++/33067
167 * c-pretty-print.c (pp_c_floating_constant): Output
168 max_digits10 (in the ISO C++ WG N1822 sense) decimal digits.
169
b9a16870 1702011-10-11 Michael Meissner <meissner@linux.vnet.ibm.com>
171
172 * c-common.c (def_builtin_1): Delete old interface with two
173 parallel arrays to hold standard builtin declarations, and replace
174 it with a function based interface that can support creating
175 builtins on the fly in the future. Change all uses, and poison
176 the old names. Make sure 0 is not a legitimate builtin index.
177 * c-omp.c (c_finish_omp_barrier): Ditto.
178 (c_finish_omp_taskwait): Ditto.
179 (c_finish_omp_flush): Ditto.
180
c7964868 1812011-10-11 Tristan Gingold <gingold@adacore.com>
182
183 * c.opt: (fallow-parameterless-variadic-functions): New.
184
a4e3ffad 1852011-09-08 Dodji Seketeli <dodji@redhat.com>
186
187 PR c++/33255 - Support -Wunused-local-typedefs warning
188 * c-common.h (struct c_language_function::local_typedefs): New
189 field.
190 (record_locally_defined_typedef, maybe_record_typedef_use)
191 (maybe_warn_unused_local_typedefs): Declare new functions.
192 * c-common.c (record_locally_defined_typedef)
193 (maybe_record_typedef_use)
194 (maybe_warn_unused_local_typedefs): Define new functions.
195 * c.opt: Declare new -Wunused-local-typedefs flag.
196
737a23cc 1972011-09-06 Eric Botcazou <ebotcazou@adacore.com>
198
199 PR middle-end/50266
200 * c-common.c (c_fully_fold_internal) <ADDR_EXPR>: Fold offsetof-like
201 computations.
202
7542c3b4 2032011-09-05 Richard Guenther <rguenther@suse.de>
204
205 * c-common.c (complete_array_type): Use ssize_int (-1) instead
206 of integer_minus_one_node for empty array upper bounds.
207
1dc92c59 2082011-08-28 Dodji Seketeli <dodji@redhat.com>
209
210 * c-pch.c (c_common_read_pch): Call linemap_add with LC_ENTER as
211 it's the first time it's being called on this main TU.
212
2bdf2b6e 2132011-08-24 Richard Guenther <rguenther@suse.de>
214
215 PR c/49396
216 * c-cppbuiltin.c (c_cpp_builtins_optimize_pragma): Fix conditional.
217
2182011-08-22 Gabriel Charette <gchare@google.com>
6ea2c7a3 219
220 * c-opts.c (c_finish_options): Force BUILTINS_LOCATION for tokens
221 defined in cpp_init_builtins and c_cpp_builtins.
222
bff4ad11 2232011-08-19 Joseph Myers <joseph@codesourcery.com>
224
225 * c-common.c (c_common_reswords): Add __builtin_complex.
226 * c-common.h (RID_BUILTIN_COMPLEX): New.
227
985c6e3a 2282011-08-18 Joseph Myers <joseph@codesourcery.com>
229
230 * c-common.c (c_common_reswords): Add _Noreturn.
231 (keyword_is_function_specifier): Handle RID_NORETURN.
232 * c-common.h (RID_NORETURN): New.
233
7dfa155b 2342011-08-10 Artjoms Sinkarovs <artyom.shinakroff@gmail.com>
235
236 * c-common.c (unsafe_conversion_p): New function. Check if it is
237 unsafe to convert an expression to the type.
238 (conversion_warning): Adjust, use unsafe_conversion_p.
239 * c-common.h (unsafe_conversion_p): New function declaration.
240
2169f33b 2412011-08-02 Jakub Jelinek <jakub@redhat.com>
242
243 * c-common.h (c_finish_omp_atomic): Adjust prototype.
244 (c_finish_omp_taskyield): New prototype.
245 * c-omp.c (c_finish_omp_atomic): Add OPCODE, V, LHS1 and RHS1
246 arguments. Handle OMP_ATOMIC_READ, OMP_ATOMIC_CAPTURE_OLD and
247 OMP_ATOMIC_CAPTURE_NEW in addition to OMP_ATOMIC. If LHS1
248 or RHS1 have side-effects, evaluate those too in the right spot,
249 if it is a decl and LHS is also a decl, error out if they
250 aren't the same.
251 (c_finish_omp_taskyield): New function.
252 * c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP to 201107.
253 * c-pragma.c (omp_pragmas): Add taskyield.
254 * c-pragma.h (enum pragma_kind): Add PRAGMA_OMP_TASKYIELD.
255 (enum pragma_omp_clause): Add PRAGMA_OMP_CLAUSE_FINAL and
256 PRAGMA_OMP_CLAUSE_MERGEABLE.
257
ab77850e 2582011-07-25 Dodji Seketeli <dodji@redhat.com>
259
260 * c-common.h (set_underlying_type): Remove parm name from
261 declaration.
262
6ee97920 2632011-07-25 Romain Geissler <romain.geissler@gmail.com>
264
265 * c-pretty-print.h: Search c-common.h in c-family.
266
dc251364 2672011-07-22 Jason Merrill <jason@redhat.com>
268
1a2a35f0 269 PR c++/49793
270 * c.opt (Wnarrowing): New.
271
27282252 272 PR c++/30112
273 * c-common.h: Declare c_linkage_bindings.
274 * c-pragma.c (handle_pragma_redefine_extname): Use it.
275
dc251364 276 PR c++/49813
277 * c-opts.c (set_std_cxx0x): Set flag_isoc94 and flag_isoc99.
278 * c-pretty-print.c (pp_c_cv_qualifiers): Check c_dialect_cxx as well
279 as flag_isoc99 for 'restrict'.
280 (pp_c_specifier_qualifier_list): Likewise for _Complex.
281
fc501191 2822011-07-21 Ian Lance Taylor <iant@google.com>
283
284 PR middle-end/49705
285 * c-common.c (c_disable_warnings): New static function.
286 (c_enable_warnings): New static function.
287 (c_fully_fold_internal): Change local unused_p to bool. Call
288 c_disable_warnings and c_enable_warnings rather than change
289 c_inhibit_evaluation_warnings.
290
07b8f133 2912011-07-20 Jason Merrill <jason@redhat.com>
292
293 PR c++/6709 (DR 743)
294 PR c++/42603 (DR 950)
295 * c-common.h (CPP_KEYWORD, CPP_TEMPLATE_ID): Move from cp/parser.h.
296 (CPP_NESTED_NAME_SPECIFIER, N_CP_TTYPES): Likewise.
297 (CPP_DECLTYPE): New.
298 * c-common.c (c_parse_error): Handle CPP_DECLTYPE.
299
2cc66f2a 3002011-07-19 Richard Guenther <rguenther@suse.de>
301
302 * c-common.c (pointer_int_sum): Use fold_build_pointer_plus.
303 * c-omp.c (c_finish_omp_for): Likewise.
304
3c802a1e 3052011-07-12 Eric Botcazou <ebotcazou@adacore.com>
306
307 * c-ada-spec.c (dump_nested_types): Put semi-colon after empty loop
308 body on the next line.
309
98a33d9f 3102011-07-08 Jason Merrill <jason@redhat.com>
311
3115bda0 312 PR c++/45437
313 * c-omp.c (check_omp_for_incr_expr): Handle preevaluation.
314
98a33d9f 315 PR c++/49673
316 * c-common.c (c_apply_type_quals_to_decl): Don't check
317 TYPE_NEEDS_CONSTRUCTING.
318
c38a75b7 3192011-07-06 Richard Guenther <rguenther@suse.de>
320
321 * c-common.c (c_common_nodes_and_builtins):
322 Merge calls to build_common_tree_nodes and build_common_tree_nodes_2.
323
e593356b 3242011-07-05 Richard Guenther <rguenther@suse.de>
325
326 * c-common.c (c_common_nodes_and_builtins): Build all common
327 tree nodes first.
328
fca0886c 3292011-06-27 Jakub Jelinek <jakub@redhat.com>
330
a68f7a8d 331 * c-common.h (c_tree_chain_next): New static inline function.
332
fca0886c 333 * c-common.c (check_builtin_function_arguments): Handle
334 BUILT_IN_ASSUME_ALIGNED.
335
2797f13a 3362011-06-21 Andrew MacLeod <amacleod@redhat.com>
337
338 * c-common.c: Add sync_ or SYNC__ to builtin names.
339 * c-omp.c: Add sync_ or SYNC__ to builtin names.
9cad95b7 340
3412011-06-20 Pierre Vittet <piervit@pvittet.com>
342
343 * c-pragma.h (pragma_handler_1arg, pragma_handler_2arg): New
344 handler.
345 (gen_pragma_handler): New union.
346 (internal_pragma_handler): New type.
347 (c_register_pragma_with_data)
348 (c_register_pragma_with_expansion_and_data): New functions.
349
350 * c-pragma.c (registered_pragmas, c_register_pragma_1)
351 (c_register_pragma, c_register_pragma_with_expansion)
352 (c_invoke_pragma_handler): Changed to work with
353 internal_pragma_handler.
354 (c_register_pragma_with_data)
355 (c_register_pragma_with_expansion_and_data): New functions.
356
218e3e4e 3572011-06-14 Joseph Myers <joseph@codesourcery.com>
358
359 * c-common.c: Include common/common-target.h.
360 (handle_section_attribute): Use
361 targetm_common.have_named_sections.
362 * c-cppbuiltin.c: Include common/common-target.h.
363 (c_cpp_builtins): Use targetm_common.except_unwind_info.
364
41e53ed2 3652011-06-10 Richard Guenther <rguenther@suse.de>
366
367 * c-pretty-print.c (pp_c_type_specifier): Use pp_c_identifier
368 to print a IDENTIFIER_NODE.
369
a6f06169 3702011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
371 Joseph Myers <joseph@codesourcery.com>
372
373 * c.opt (fbuilding-libgcc): New option.
374 * c-cppbuiltin.c (c_cpp_builtins): Define
375 __LIBGCC_TRAMPOLINE_SIZE__ if flag_building_libgcc.
376
1ea9269b 3772011-06-07 Jason Merrill <jason@redhat.com>
378
8ce59854 379 * c-common.c (max_tinst_depth): Lower default to 900.
380
1ea9269b 381 * c-format.c (gcc_cxxdiag_char_table): Add 'S' format.
382
1af0124d 3832011-06-07 Richard Guenther <rguenther@suse.de>
384
385 * c-common.c (c_common_nodes_and_builtins): Do not set
386 size_type_node or call set_sizetype.
387
0e9a4c01 3882011-06-07 Dodji Seketeli <dodji@redhat.com>
389
390 PR debug/49130
391 * c-pretty-print.c (pp_c_integer_constant): Consider the canonical
392 type when using pointer comparison to compare types.
393
90b40725 3942011-06-02 Jonathan Wakely <jwakely.gcc@gmail.com>
395
396 * c.opt: Add -Wdelete-non-virtual-dtor.
397 * c-opts.c (c_common_handle_option): Include it in -Wall.
398
fc9c9e87 3992011-05-30 Nathan Froyd <froydnj@gcc.gnu.org>
400
401 PR bootstrap/49190
402
403 Revert:
404 2011-05-26 Nathan Froyd <froydnj@codesourcery.com>
405
406 * c-common.h (struct c_common_identifier): Inherit from tree_typed,
407 not tree_common.
408
d0389adc 4092011-05-27 Jakub Jelinek <jakub@redhat.com>
410
411 PR c++/49165
412 * c-common.c (c_common_truthvalue_conversion) <case COND_EXPR>: For
413 C++ don't call c_common_truthvalue_conversion on void type arms.
414
cacfdc02 4152011-05-27 Nathan Froyd <froydnj@codesourcery.com>
416
417 * c-common.h (struct stmt_tree_s) [x_cur_stmt_list]: Change to a VEC.
418 (stmt_list_stack): Define.
419 (cur_stmt_list): Adjust for new type of x_cur_stmt_list.
420 * c-semantics.c (push_stmt_list, pop_stmt_list): Likewise.
421
027fc6ef 4222011-05-26 Nathan Froyd <froydnj@codesourcery.com>
423
424 * c-common.c (warning_candidate_p): Check for BLOCKs.
425
f21317a1 4262011-05-26 Nathan Froyd <froydnj@codesourcery.com>
427
428 * c-common.h (struct c_common_identifier): Inherit from tree_typed,
429 not tree_common.
430
789e953d 4312011-05-25 Jakub Jelinek <jakub@redhat.com>
432
433 * c-common.c (def_fn_type): Remove extra va_end.
434
7f506bca 4352011-05-23 Jason Merrill <jason@redhat.com>
436
437 PR c++/48106
438 * c-common.c (c_common_get_narrower): New.
439 (shorten_binary_op, shorten_compare, warn_for_sign_compare): Use it.
440
774e9d58 4412011-05-23 Nathan Froyd <froydnj@codesourcery.com>
442
443 * c-common.h (check_function_arguments): Tweak prototype of
444 check_function_arguments.
445 * c-common.c (check_function_arguments): Likewise. Adjust
446 calls to check_function_nonnull, check_function_format, and
447 check_function_sentinel.
448 (check_function_sentinel): Take a FUNCTION_TYPE rather than
449 separate attributes and typelist arguments. Use
450 FOREACH_FUNCTION_ARGS to iterate over argument types.
451
23407dc9 4522011-05-15 Paolo Carlini <paolo.carlini@oracle.com>
453
454 * c-common.c (c_common_reswords): Reorder.
455 * c-common.h (rid): Likewise.
456
3a939d12 4572011-05-10 Nathan Froyd <froydnj@codesourcery.com>
458
459 * c-common.c (def_fn_type): Don't call build_function_type, call
460 build_function_type_array or build_varargs_function_type_array
461 instead.
462 (c_common_nodes_and_builtins): Likewise.
463
b6e3dd65 4642011-05-05 Nathan Froyd <froydnj@codesourcery.com>
465
466 * c-common.c (c_add_case_label): Omit the loc argument to
467 build_case_label.
468 * c-common.h (build_case_label): Remove.
469 * c-semantics.c (build_case_label): Remove.
470
4232a958 4712011-05-05 Joseph Myers <joseph@codesourcery.com>
472
473 * c-objc.h (objc_start_method_definition): Update prototype.
474 * stub-objc.c (objc_start_method_definition): Add extra parameter.
475
d0af78c5 4762011-05-04 Nathan Froyd <froydnj@codesourcery.com>
477
478 * c-common.c (check_main_parameter_types): Reindent. Don't use
479 TYPE_ARG_TYPES directly.
480 (handle_nonnull_attribute): Likewise.
481 (sync_resolve_params): Likewise.
482 * c-format.c (handle_format_arg_attribute): Likewise. Adjust call
483 to check_format_string.
484 (handle_format_attribute): Likewise.
485 (check_format_string): Take a function type to examine instead of
486 a type list. Use a function_arg_iterator to step through argument
487 types.
488
ceb7b692 4892011-05-04 Richard Guenther <rguenther@suse.de>
490
491 * c-common.c (fix_string_type): Use size_int for index type bounds.
492 (start_fname_decls): Do not pass NULL to build_int_cst.
493 (c_init_attributes): Likewise.
494 * c-lex.c (c_lex_with_flags): Likewise.
495
c66c81be 4962011-04-27 Jason Merrill <jason@redhat.com>
497
498 * c-common.c (make_tree_vector_from_list): New.
499 * c-common.h: Declare it.
500
16930c72 5012011-04-26 Richard Guenther <rguenther@suse.de>
502
503 PR preprocessor/48248
504 * c-ppoutput.c (maybe_print_line): Always optimize newlines
505 for output size with -P.
506
23407dc9 5072011-04-25 Paolo Carlini <paolo.carlini@oracle.com>
508
509 * c-common.c (struct c_common_resword): Add __underlying_type.
510 * c-common.h (enum rid): Add RID_UNDERLYING_TYPE.
511
dd045aee 5122011-04-20 Jim Meyering <meyering@redhat.com>
513
514 * c-format.c (init_dollar_format_checking): Remove useless
515 if-before-free.
516
394dd737 5172011-04-15 Nicola Pero <nicola.pero@meta-innovation.com>
518
519 * c-objc.h (objc_get_interface_ivars): Removed.
23407dc9 520 (objc_detect_field_duplicates): New.
394dd737 521 * stub-objc.c: Likewise.
23407dc9 522
a758bf7d 5232011-04-14 Nicola Pero <nicola.pero@meta-innovation.com>
524
525 * stub-objc.c (objc_declare_protocols): Renamed to
526 objc_declare_protocol.
527 * c-objc.h: Likewise.
23407dc9 528
29d7200d 5292011-04-14 Nicola Pero <nicola.pero@meta-innovation.com>
530
531 * stub-objc.c (objc_declare_class): Updated argument name.
532
9b88d08d 5332011-04-12 Nathan Froyd <froydnj@codesourcery.com>
534
535 * c-common.h (c_common_init_ts): Declare.
536 * c-common.c (c_common_init_ts): Define.
537
4185cf58 5382011-04-12 Nicola Pero <nicola.pero@meta-innovation.com>
539
540 * c-objc.h (objc_build_message_expr): Updated prototype.
541 * stub-objc.c (objc_build_message_expr): Likewise.
542
5a90471f 5432011-04-12 Martin Jambor <mjambor@suse.cz>
544
545 * c-gimplify.c (c_genericize): Call cgraph_get_create_node instead
546 of cgraph_node.
547
783bb57e 5482011-04-11 Richard Guenther <rguenther@suse.de>
549
550 * c-common.c (complete_array_type): Build a range type of
551 proper type.
552
c33080b9 5532011-04-08 Nathan Froyd <froydnj@codesourcery.com>
554
555 * c-common.c (handle_sentinel_attribute): Don't use TYPE_ARG_TYPES.
556 (handle_type_generic_attribute): Likewise.
557
f8913d47 5582011-04-07 Jason Merrill <jason@redhat.com>
559
560 PR c++/48450
561 * c-common.c (c_common_truthvalue_conversion): Don't ignore
562 conversion from C++0x scoped enum.
563
c94b1d0e 5642011-04-06 Joseph Myers <joseph@codesourcery.com>
565
566 * c-target-def.h: New file.
567 * c-target.def: New file.
568 * c-target.h: New file.
569 * c-common.c (targetcm): Don't define here.
570 * c-common.h (default_handle_c_option): Declare.
571 * c-format.c: Include c-target.h instead of target.h.
572 * c-opts.c: Include c-target.h instead of target.h. Explicitly
573 include tm.h.
574 (default_handle_c_option): Move from targhooks.c.
575
acb10f41 5762011-03-29 Jakub Jelinek <jakub@redhat.com>
577
578 PR preprocessor/48248
579 * c-ppoutput.c (print): Add src_file field.
580 (init_pp_output): Initialize it.
581 (maybe_print_line): Don't optimize by adding up to 8 newlines
582 if map->to_file and print.src_file are different file.
583 (print_line): Update print.src_file.
584
82715bcd 5852011-03-25 Kai Tietz <ktietz@redhat.com>
586
587 * c-ada-spec.c (compare_comment): Use filename_cmp
588 instead of strcmp for filename.
589
451c8e2f 5902011-03-25 Jeff Law <law@redhat.com>
591
592 * c-family/c-common.c (def_fn_type): Add missing va_end.
593
3c47771c 5942011-03-25 Jason Merrill <jason@redhat.com>
595
596 * c.opt: Add -std=c++03.
597
97e6200f 5982011-03-22 Eric Botcazou <ebotcazou@adacore.com>
599
600 * c-ada-spec.c (dump_ada_template): Skip non-class instances.
601
ac86af5d 6022011-03-17 Kai Tietz
603
604 PR target/12171
ee212425 605 * c-pretty-print.c (pp_c_specifier_qualifier_list):
606 Display allowed attributes for function pointer types.
607 (pp_c_attributes_display): New function to display
608 attributes having affects_type_identity flag set to true.
609 * c-pretty-print.h (pp_c_attributes_display): New prototype.
610
ac86af5d 611 * c-common.c (c_common_attribute_table):
612 Add new element.
613 (c_common_format_attribute_table): Likewise.
614
914d1151 6152011-03-18 Jason Merrill <jason@redhat.com>
616
69788bdf 617 * c.opt (fconstexpr-depth): Add Var(max_constexpr_depth).
618 * c-common.h: Don't declare it here.
619 * c-common.c: Or define it here.
620 * c-opts.c (c_common_handle_option): Or set it here.
621
914d1151 622 PR c++/35315
623 * c-common.c (handle_transparent_union_attribute): Don't
624 make a duplicate type in C++.
625
54cf6eed 6262011-03-15 Jason Merrill <jason@redhat.com>
627
628 * c-common.c (max_constexpr_depth): New.
629 * c-common.h: Declare it.
630 * c-opts.c (c_common_handle_option): Set it.
631 * c.opt (fconstexpr-depth): New option.
632
02cb1060 6332011-03-11 Jason Merrill <jason@redhat.com>
634
9bf1c74e 635 * c-common.c (attribute_takes_identifier_p): Add missing const.
636
02cb1060 637 PR c++/46803
638 * c-common.c (attribute_takes_identifier_p): Assume that an
639 unknown attribute takes an identifier.
640
ecf2703d 6412011-03-07 Nathan Froyd <froydnj@codesourcery.com>
642
643 PR c/47786
644 * c-common.c (c_type_hash): Call list_length instead of iterating
645 through DECL_CHAIN. Rename 'i' to 'n_elements'.
646
2b19dfe4 6472011-02-19 Jakub Jelinek <jakub@redhat.com>
648
649 PR c/47809
650 * c-common.c (c_fully_fold_internal): Handle VIEW_CONVERT_EXPR.
651
29cf2335 6522011-02-17 Iain Sandoe <iains@gcc.gnu.org>
653
654 * c.opt (fobjc-abi-version=) New.
655 (fobjc-nilcheck): New.
656
fad3f658 6572011-02-03 Nathan Froyd <froydnj@codesourcery.com>
658
659 PR c++/46890
660 * c-common.h (keyword_is_decl_specifier): Declare.
661 * c-common.c (keyword_is_decl_specifier): Define.
662 (keyword_is_function_specifier): New function.
663
a12319b3 6642011-01-26 Jakub Jelinek <jakub@redhat.com>
665
666 PR c/47473
667 * c-lex.c (interpret_float): If CPP_N_IMAGINARY, ensure
668 EXCESS_PRECISION_EXPR is created with COMPLEX_TYPE instead of
669 REAL_TYPE.
670
5c128dc8 6712011-01-26 Arnaud Charlet <charlet@adacore.com>
672
673 * c-ada-spec.c (dump_generic_ada_node): Avoid dereferencing null type.
674
8d67b0c7 6752011-01-26 Jakub Jelinek <jakub@redhat.com>
676
677 PR pch/47430
678 * c-opts.c (c_common_post_options): Call c_common_no_more_pch
679 after init_c_lex if pch_file is set.
680
0675168d 6812011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
682
e8911163 683 PR c++/43601
0675168d 684 * c.opt (-fkeep-inline-dllexport): New switch.
685
0725e25c 6862011-01-12 Richard Guenther <rguenther@suse.de>
687
688 PR middle-end/32511
689 * c-common.c (handle_weak_attribute): Warn instead of error
690 on declaring an inline function weak.
691
fdd84b77 6922011-01-05 Tom Tromey <tromey@redhat.com>
693
694 * c-common.h (lvalue_error): Update.
695 * c-common.c (lvalue_error): Add 'loc' argument. Call error_at,
696 not error.
697
e6e73d14 6982010-12-29 Nicola Pero <nicola.pero@meta-innovation.com>
699
d67e8485 700 PR objc/47075
701 * c-objc.h (objc_finish_message_expr): Added argument to
702 prototype.
703
a36cf284 7042010-12-22 Nathan Froyd <froydnj@codesourcery.com>
705
706 * c-common.c (handle_nonnull_attribute, handle_sentinel_attribute):
707 Use prototype_p.
708
33b3681f 7092010-12-18 Nicola Pero <nicola.pero@meta-innovation.com>
710
711 * c-objc.h (objc_maybe_warn_exceptions): New.
712 * stub-objc.c (objc_maybe_warn_exceptions): New.
713
a1f90215 7142010-12-10 Nathan Froyd <froydnj@codesourcery.com>
715
716 * c-common.h (readonly_error): Declare.
717 * c-common.c (readonly_error): Define.
718
b1bbc8e5 7192010-12-09 Nathan Froyd <froydnj@codesourcery.com>
720
721 * c-common.h (invalid_indirection_error): Declare.
722 * c-common.c (invalid_indirection_error): Define.
723
b0d55af9 7242010-12-03 Richard Guenther <rguenther@suse.de>
725
726 PR c/46745
727 * c-pretty-print.c (pp_c_postfix_expression): Handle MEM_REF.
728 (pp_c_unary_expression): Likewise.
729 (pp_c_expression): Likewise.
730
d7489d8d 7312010-11-30 Nicola Pero <nicola.pero@meta-innovation.com>
732
733 * c-common.h (objc_finish_function): New.
734 (objc_non_volatilized_type): Removed.
735 (objc_type_quals_match): Removed.
736 * stub-objc.c (objc_finish_function): New.
737 (objc_non_volatilized_type): Removed.
738 (objc_type_quals_match): Removed.
739
92468061 7402010-11-30 Joseph Myers <joseph@codesourcery.com>
741
742 * c-common.h (parse_optimize_options): Declare.
743 * c-cppbuiltin.c, c-format.c, c-gimplify.c, c-lex.c, c-omp.c,
744 c-pch.c, c-pragma.c, c-semantics.c: Don't include toplev.h.
745
967958e4 7462010-11-29 Joseph Myers <joseph@codesourcery.com>
747
748 * c-opts.c (check_deps_environment_vars): Use getenv instead of
749 GET_ENVIRONMENT.
750 * c-pch.c (O_BINARY): Don't define here.
751 * c-pragma.h: Include "cpplib.h" instead of <cpplib.h>.
752
b213bf24 7532010-11-25 Joseph Myers <joseph@codesourcery.com>
754
755 * c-cppbuiltin.c (c_cpp_builtins): Pass &global_options to
756 targetm.except_unwind_info.
757
9faf44d6 7582010-11-23 Joseph Myers <joseph@codesourcery.com>
759
760 * c-opts.c (c_common_handle_option): Pass location to
761 set_struct_debug_option.
762
79396169 7632010-11-23 Joseph Myers <joseph@codesourcery.com>
764
765 * c-common.c (visibility_options): Move from ../opts.c.
766 * c-common.h (struct visibility_flags, visibility_options):
767 Declare here.
768 * c-opts.c (finish_options): Rename to c_finish_options.
769 (c_common_init): Update call to finish_options.
770
b4aa4123 7712010-11-22 Nicola Pero <nicola.pero@meta-innovation.com>
772
773 PR objc/34033
774 * c-lex.c (lex_string): Check that each string in an Objective-C
775 string concat sequence starts with either one or zero '@', and
776 that there are no spurious '@' signs at the end.
777
3e0e49f2 7782010-11-20 Joseph Myers <joseph@codesourcery.com>
779
780 * c-pragma.c: Remove conditionals on HANDLE_PRAGMA_PACK,
781 HANDLE_PRAGMA_PACK_PUSH_POP, HANDLE_PRAGMA_WEAK and
782 HANDLE_PRAGMA_VISIBILITY.
783 * c-pragma.h (HANDLE_PRAGMA_WEAK, HANDLE_PRAGMA_PACK,
784 HANDLE_PRAGMA_VISIBILITY): Don't define.
785 (HANDLE_SYSV_PRAGMA, HANDLE_PRAGMA_PACK_PUSH_POP): Don't test.
786
a9ffdd35 7872010-11-20 Nathan Froyd <froydnj@codesourcery.com>
788
789 PR c++/16189
790 PR c++/36888
791 PR c++/45331
792 * c-common.h (keyword_begins_type_specifier): Declare.
793 (keyword_is_storage_class_specifier): Declare.
794 (keyword_is_type_qualifier): Declare.
795 * c-common.c (keyword_begins_type_specifier): New function.
796 (keyword_is_storage_class_specifier): New function.
797 (keyword_is_type_qualifier): Declare.
798
93be21c0 7992010-11-19 Joseph Myers <joseph@codesourcery.com>
800
801 PR c/46547
802 * c-common.c (in_late_binary_op): Define.
803 (c_common_truthvalue_conversion): Check in_late_binary_op before
804 calling c_save_expr.
805 * c-common.h (in_late_binary_op): Declare.
806
d7175aef 8072010-11-19 Joseph Myers <joseph@codesourcery.com>
808
809 * c-opts.c (c_common_handle_option): Update calls to
810 set_struct_debug_option.
811
c213e196 8122010-11-19 Nicola Pero <nicola.pero@meta-innovation.com>
813
814 * c-common.h (objc_declare_protocols): Added additional argument.
815 * stub-objc.c (objc_declare_protocol): Same change.
816
0b5fc5d6 8172010-11-18 Nathan Froyd <froydnj@codesourcery.com>
818
819 PR c/33193
820 * c-common.h (build_real_imag_expr): Declare.
821 * c-semantics.c (build_real_imag_expr): Define.
822
b8ba44e7 8232010-11-17 Joseph Myers <joseph@codesourcery.com>
824
825 * c-opts.c (c_common_parse_file): Take no arguments.
826 * c-common.h (c_common_parse_file): Update prototype.
827
6ef8d12f 8282010-11-16 Jakub Jelinek <jakub@redhat.com>
829
830 PR c++/46401
831 * c-common.c (warning_candidate_p): Don't track non-const calls
832 or STRING_CSTs.
833
929d2a90 8342010-11-15 Ian Lance Taylor <iant@google.com>
835
836 * c-lex.c (init_c_lex): Set macro debug callbacks if
837 flag_dump_go_spec is set.
838
e4a7640a 8392010-11-15 Nicola Pero <nicola.pero@meta-innovation.com>
840
841 * c-common.h (objc_build_incr_expr_for_property_ref): New.
842 * stub-objc.c (objc_build_incr_expr_for_property_ref): New.
843
597d2d81 8442010-11-15 Nathan Froyd <froydnj@codesourcery.com>
845
846 PR preprocessor/45038
847 * c-cppbuiltin.c (c_cpp_builtins): Use different format for C++
848 dialects.
849
c123f04d 8502010-11-12 Joseph Myers <joseph@codesourcery.com>
851
852 * c-common.h (c_family_lang_mask): Declare.
853 * c-opts.c (c_family_lang_mask): Make extern.
854 * c-pragma.c (handle_pragma_diagnostic): Use
855 control_warning_option.
856
3c6c0e40 8572010-11-12 Joseph Myers <joseph@codesourcery.com>
858
859 * c-common.c (parse_optimize_options): Update call to
860 decode_options.
861 * c-common.h (c_common_handle_option): Update prototype.
862 * c-opts.c (c_common_handle_option): Take location_t parameter and
863 pass it to other functions.
864
19ec5c9e 8652010-11-11 Joseph Myers <joseph@codesourcery.com>
866
867 * c-opts.c (warning_as_error_callback): Remove.
868 (c_common_initialize_diagnostics): Don't call
869 register_warning_as_error_callback.
870 (c_common_handle_option): Handle -Werror=normalized= here.
871
bf776685 8722010-11-10 Joseph Myers <joseph@codesourcery.com>
873
874 * c-common.c (handle_mode_attribute): Use %' and word "signedness"
875 in diagnostic.
876 * c-opts.c (c_common_parse_file): Start diagnostics with lowercase
877 letter.
878 * c-pragma.c (handle_pragma_target, handle_pragma_optimize):
879 Remove trailing '.' from diagnostics.
880 * c.opt (Wwrite-strings_: Avoid '`' in help text.
881
6bd9d862 8822010-11-10 Joseph Myers <joseph@codesourcery.com>
883
884 * c-common.c (parse_optimize_options): Pass global_dc to
885 decode_options.
886 * c-opts.c (c_common_handle_option): Pass &global_options to
887 set_Wstrict_aliasing.
888 * c.opt (v): Don't mark Common or document here.
889
1f6616ee 8902010-11-06 Iain Sandoe <iains@gcc.gnu.org>
891
892 PR target/44981
893 * c-format.c (format_type): New type gcc_objc_string_format_type.
894 (valid_stringptr_type_p): New.
895 (handle_format_arg_attribute): Use valid_stringptr_type_p ().
896 (check_format_string): Pass expected type, use
897 valid_stringptr_type_p (), check that the format string types are
898 consistent with the format specification.
899 (decode_format_attr): Warn if NSString is used outside objective-c.
900 (format_types_orig): Add NSString.
901 (format_name): New.
902 (format_flags): New.
903 (check_format_arg): Handle format strings requiring an external parser.
904 first_target_format_type: New variable.
905 (handle_format_attribute): Set up first_target_format_type, pass the
906 expected format arg string type to check_format_string().
907 * c-common.h (FMT_FLAG_PARSE_ARG_CONVERT_EXTERNAL): New flag.
908 * stub-objc.c (objc_string_ref_type_p): New.
909 (objc_check_format_arg): New.
910
b0d0931f 9112010-11-04 Nicola Pero <nicola.pero@meta-innovation.com>
912
913 Fixed using the Objective-C 2.0 dot-syntax with class names.
914 * c-common.h (objc_build_class_component_ref): New.
915 * stub-objc.c (objc_build_class_component_ref): New.
916
f26877d5 9172010-11-03 Nicola Pero <nicola.pero@meta-innovation.com>
918
919 * c.opt (Wproperty-assign-default): New option.
920
1ef143b6 9212010-11-03 Nicola Pero <nicola.pero@meta-innovation.com>
922
923 Implemented -fobjc-std=objc1 flag.
924 * c.opt (fobjc-std=objc1): New option.
925
8c582e4f 9262010-11-01 Nicola Pero <nicola.pero@meta-innovation.com>
927
928 Implemented format and noreturn attributes for Objective-C methods.
929 * c-common.c (handle_noreturn_attribute): Recognize 'noreturn'
930 attribute for Objective-C methods.
931
8637f1db 9322010-10-31 Jason Merrill <jason@redhat.com>
933
934 * c-common.c (conversion_warning, warn_for_collisions_1): Use
935 EXPR_LOC_OR_HERE.
936
9d9f5bb3 9372010-10-30 Nicola Pero <nicola.pero@meta-innovation.com>
938
939 Implemented Objective-C 2.0 @property, @synthesize and @dynamic.
940 * c-common.h (enum rid): Removed RID_COPIES and RID_IVAR.
941 (objc_add_property_declaration): Removed arguments for copies and
942 ivar.
943 (objc_build_getter_call): Renamed to
944 objc_maybe_build_component_ref.
945 (objc_build_setter_call): Renamed to objc_maybe_build_modify_expr.
946 (objc_is_property_ref): New.
947 * c-common.c (c_common_reswords): Removed copies and ivar.
948 * stub-objc.c (objc_add_property_declaration): Removed arguments
949 for copies and ivar.
950 (objc_build_getter_call): Renamed to
951 objc_maybe_build_component_ref.
952 (objc_build_setter_call): Renamed to objc_maybe_build_modify_expr.
953 (objc_is_property_ref): New.
954
56f907a0 9552010-10-29 Arnaud Charlet <charlet@adacore.com>
956 Matthew Gingell <gingell@adacore.com>
957
958 * c-ada-spec.c (separate_class_package): New function.
959 (pp_ada_tree_identifier): Prefix references to C++ classes with the
960 name of their enclosing package.
961 (print_ada_declaration): Use separate_class_package.
962
b5fa273e 9632010-10-27 Jason Merrill <jason@redhat.com>
964
5290e253 965 * c-common.c (c_common_reswords): Add __is_literal_type.
966 * c-common.h (enum rid): Add RID_IS_LITERAL_TYPE.
967
b5fa273e 968 * c-common.c (check_case_value): Remove special C++ code.
969
7590f0e5 9702010-10-27 Nicola Pero <nicola.pero@meta-innovation.com>
971
972 * c-common.h (enum rid): Added RID_READWRITE, RID_ASSIGN,
973 RID_RETAIN, RID_COPY and RID_NONATOMIC. Updated RID_FIRST_PATTR
974 and RID_LAST_PATTR.
975 (objc_add_property_declaration): Added additional arguments.
976 (objc_property_attribute_kind): Removed.
977 (objc_set_property_attr): Removed.
978 * c-common.c (c_common_reswords): Added readwrite, assign, retain,
979 copy and nonatomic.
980 * stub-objc.c (objc_add_property_declaration): Added additional
981 arguments.
982 (objc_set_property_attr): Removed.
983
1d894bcf 9842010-10-27 Nicola Pero <nicola.pero@meta-innovation.com>
985
986 * c-common.h (objc_add_property_variable): Renamed to
987 objc_add_property_declaration. Added location argument.
988 * stub-objc.c (objc_add_property_variable): Same change.
989
e23bf1fb 9902010-10-23 Nicola Pero <nicola.pero@meta-innovation.com>
991
992 * c-common.h (objc_maybe_printable_name): New.
993 * stub-objc.c (objc_maybe_printable_name): New.
994
93426222 9952010-10-22 Artjoms Sinkarovs <artyom.shinakroff@gmail.com>
996 Andrew Pinski <pinskia@gmail.com>
997
998 * c-common.h (c_common_mark_addressable_vec): Declare.
999 * c-common.c (c_common_mark_addressable_vec): New function.
1000
45b2b110 10012010-10-20 Nicola Pero <nicola.pero@meta-innovation.com>
1002
1003 * c-common.h (objc_set_method_type): Removed.
1004 (objc_add_method_declaration): Added boolean argument.
1005 (objc_start_method_definition): Same change.
1006 (objc_build_method_signature): Same change.
1007 * stub-objc.c (objc_set_method_type): Removed.
1008 (objc_add_method_declaration): Added boolean argument.
1009 (objc_start_method_definition): Same change.
1010 (objc_build_method_signature): Same change.
1011
64cd9619 10122010-10-20 Nicola Pero <nicola.pero@meta-innovation.com>
1013
1014 * c-common.h (finish_file): Removed.
1015 (objc_write_global_declarations): New.
1016 * c-opts.c (c_common_parse_file): Do not call finish_file.
1017 * stub-objc.c (objc_write_global_declarations): New.
1018
e1f293c0 10192010-10-18 Nicola Pero <nicola.pero@meta-innovation.com>
1020
1021 Implemented parsing @synthesize and @dynamic for
1022 Objective-C/Objective-C++.
1023 * c-common.h (enum rid): Add RID_AT_SYNTHESIZE and RID_AT_DYNAMIC.
1024 (objc_add_synthesize_declaration): New.
1025 (objc_add_dynamic_declaration): New.
1026 * c-common.c (c_common_reswords): Add synthesize and dynamic.
1027 * stub-objc.c (objc_add_synthesize_declaration): New.
1028 (objc_add_dynamic_declaration): New.
1029
ef97a312 10302010-10-18 Michael Meissner <meissner@linux.vnet.ibm.com>
1031
1032 PR target/46041
1033 * c-cppbuiltin.c (mode_has_fma): Move function here from
1034 builtins.c. Don't use the fma optab, instead just use the
1035 HAVE_fma* macros, so that __FP_FAST_FMA* will be defined when
1036 using -save-temps.
1037
69b07042 10382010-10-18 Nicola Pero <nicola.pero@meta-innovation.com>
1039
1040 Merge from 'apple/trunk' branch on FSF servers.
ef97a312 1041
69b07042 1042 2005-11-08 Fariborz Jahanian <fjahanian@apple.com>
1043
1044 Radar 4330422
1045 * c-common.h (objc_non_volatilized_type): New declaration
1046 * stub-objc.c (objc_non_volatilized_type): New stub.
1047
f15f2e56 10482010-10-17 Nicola Pero <nicola.pero@meta-innovation.com>
1049
69b07042 1050 Merge from 'apple/trunk' branch on FSF servers.
f15f2e56 1051
1052 2006-03-27 Fariborz Jahanian <fjahanian@apple.com>
1053
1054 Radar 4133425
1055 * c-common.h (objc_diagnose_private_ivar): New decl.
ef97a312 1056 * stub-objc.c (objc_diagnose_private_ivar): New stub.
f15f2e56 1057
4a8875ed 10582010-10-17 Iain Sandoe <iains@gcc.gnu.org>
1059
1060 * c-common.c (c_common_reswords): Add package, RID_AT_PACKAGE.
1061 * c-common.h (enum rid): Add RID_AT_PACKAGE.
1062 (objc_ivar_visibility_kind): New enum.
1063 (objc_set_visibility): Adjust prototype to use visibility enum.
ef97a312 1064 * stub-objc.c (objc_set_visibility): Adjust stub to use
4a8875ed 1065 visibility enum.
1066
7e0713b1 10672010-10-14 Michael Meissner <meissner@linux.vnet.ibm.com>
1068
1069 * c-cppbuiltin.c (builtin_define_float_constants): Emit
1070 __FP_FAST_FMA, __FP_FAST_FMAF, and __FP_FAST_FMAL if the machine
1071 has the appropriate fma builtins.
1072 (c_cpp_builtins): Adjust call to builtin_define_float_constants.
1073
86c110ac 10742010-10-14 Iain Sandoe <iains@gcc.gnu.org>
1075
7e0713b1 1076 merge from FSF apple 'trunk' branch.
86c110ac 1077 2006 Fariborz Jahanian <fjahanian@apple.com>
7e0713b1 1078
86c110ac 1079 Radars 4436866, 4505126, 4506903, 4517826
1080 * c-common.c (c_common_resword): Define @property and its attributes.
1081 * c-common.h: Define property attribute enum entries.
1082 (OBJC_IS_PATTR_KEYWORD): New.
1083 (objc_property_attribute_kind): New enum.
1084 Declare objc_set_property_attr (), objc_add_property_variable (),
1085 objc_build_getter_call () and objc_build_setter_call ().
1086 * stub-objc.c (objc_set_property_attr): New stub.
1087 (objc_add_property_variable): Likewise.
1088 (objc_build_getter_call): Likewise.
1089 (objc_build_setter_call) Likewise.
7e0713b1 1090
40c8d1dd 10912010-10-13 Iain Sandoe <iains@gcc.gnu.org>
1092
7e0713b1 1093 merge from FSF apple 'trunk' branch.
40c8d1dd 1094 2006-04-26 Fariborz Jahanian <fjahanian@apple.com>
1095
1096 Radar 3803157 (method attributes)
1097 * c-common.c (handle_deprecated_attribute): Recognize
1098 objc methods as valid declarations.
1099 * c-common.h: Declare objc_method_decl ().
7e0713b1 1100 * stub-objc.c (objc_method_decl): New stub.
40c8d1dd 1101
f3f006ad 11022010-10-08 Joseph Myers <joseph@codesourcery.com>
1103
1104 * c-common.c (parse_optimize_options): Call
1105 decode_cmdline_options_to_array_default_mask before
1106 decode_options. Update arguments to decode_options.
1107 * c-common.h (c_common_init_options_struct): Declare.
1108 * c-opts.c (c_common_init_options_struct): New. Split out from
1109 c_common_init_options.
1110
0a65c3bb 11112010-10-06 Nicola Pero <nicola.pero@meta-innovation.com>
1112
1113 Implemented fast enumeration for Objective-C.
1114 * c-common.h (objc_finish_foreach_loop): New.
1115 * stub-objc.c (objc_finish_foreach_loop): New.
1116
24ca3b4e 11172010-10-05 Joseph Myers <joseph@codesourcery.com>
1118
1119 * c-common.h (struct diagnostic_context): Don't declare here.
1120 (c_common_initialize_diagnostics): Declare using
1121 diagnostic_context typedef.
1122 * c-opts.c (c_common_handle_option): Pass global_dc to
1123 handle_generated_option.
1124
f83b64ca 11252010-10-04 Joseph Myers <joseph@codesourcery.com>
1126
1127 * c-opts.c (c_common_handle_option): Pass &global_options_set to
1128 handle_generated_option.
1129
2fdec027 11302010-10-03 Ian Lance Taylor <iant@google.com>
1131
1132 * c.opt (-fplan9-extensions): New option.
1133
41acdfa4 11342010-10-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
1135
1136 * c-cppbuiltin.c (define__GNUC__, builtin_define_type_precision):
1137 Remove.
1138 (c_cpp_builtins): Call functions from cppbuiltin.c instead
1139 of duplicating code.
1140
069761fb 11412010-09-30 Iain Sandoe <iains@gcc.gnu.org>
1142
1143 * c-common.c: Add two new entries for @optional
1144 and @required keywords.
1145
1146 merge from FSF 'apple/trunk' branch.
1147 2006-01-30 Fariborz Jahanian <fjahanian@apple.com>
1148
1149 Radar 4386773
1150 * c-common.h (RID_AT_OPTIONAL, RID_AT_REQUIRED): Two new
1151 objective-c keywords.
1152 (objc_set_method_opt): New declaration.
1153 * stub-objc.c (objc_set_method_opt): New stub.
1154
2c5d2e39 11552010-09-30 Joseph Myers <joseph@codesourcery.com>
1156
1157 * c-common.c (handle_optimize_attribute): Pass &global_options to
1158 cl_optimization_save and cl_optimization_restore.
1159 * c-opts.c (c_common_handle_option): Pass &global_options to
1160 handle_generated_option.
1161 * c-pragma.c (handle_pragma_diagnostic): Use option_flag_var.
1162 (handle_pragma_pop_options, handle_pragma_reset_options): Pass
1163 &global_options to cl_optimization_restore.
1164
e5c75ac3 11652010-09-30 Nicola Pero <nicola.pero@meta-innovation.com>
1166
1167 * c-lex.c (c_lex_with_flags): Updated comments for CPP_AT_NAME
1168 Objective-C/Objective-C++ keywords.
1169
3511333e 11702010-09-29 Nicola Pero <nicola.pero@meta-innovation.com>
e147d6aa 1171
1172 Merge from 'apple/trunk' branch on FSF servers.
1173
1174 2005-10-04 Fariborz Jahanian <fjahanian@apple.com>
1175
1176 Radar 4281748
1177 * c-common.h (objc_check_global_decl): New declaration.
1178 * stub-objc.c (objc_check_global_decl): New stub.
1179
5461e683 11802010-09-29 Joseph Myers <joseph@codesourcery.com>
1181
1182 * c.opt: Don't use VarExists.
1183
5ae82d58 11842010-09-29 Joseph Myers <joseph@codesourcery.com>
1185
1186 * c-common.c (c_cpp_error): Update names of diagnostic_context
1187 members.
1188 * c-cppbuiltin.c (c_cpp_builtins_optimize_pragma): Update names of
1189 cl_optimization members.
1190 * c-opts.c (warning_as_error_callback, c_common_handle_option,
1191 sanitize_cpp_opts, finish_options): Update names of cpp_options
1192 members.
1193
b27e241e 11942010-09-29 Nicola Pero <nicola.pero@meta-innovation.com>
1195
1196 * c-common.h (OBJC_IS_CXX_KEYWORD): New macro. Updated comments.
1197 (objc_is_reserved_word): Removed.
1198 * c-common.c: Updated comments.
1199 * c-lex.c (c_lex_with_flags): Use OBJC_IS_CXX_KEYWORD instead of
1200 objc_is_reserved_word.
1201 * stub-objc.c (objc_is_reserved_word): Removed.
1202
03fc2271 12032010-09-28 Iain Sandoe <iains@gcc.gnu.org>
1204
1205 * c-common.h (objc_add_method_declaration): Adjust prototype to
1206 include attributes.
1207 (objc_start_method_definition): Likewise.
1208 (objc_build_keyword_decl): Likewise.
1209 * stub-objc.c:(objc_add_method_declaration): Handle attributes.
1210 (objc_start_method_definition): Likewise.
1211 (objc_build_keyword_decl): Likewise.
1212
a336eb4b 12132010-09-28 Iain Sandoe <iains@gcc.gnu.org>
1214
1215 * c-common.h (objc_start_class_interface): Adjust prototype.
1216 (objc_start_category_interface): Likewise.
1217 (objc_start_protocol): Likewise.
1218 * stub-objc.c (objc_start_protocol): Adjust for extra argument.
1219 (objc_start_class_interface): Likewise.
1220 (objc_start_category_interface): Likewise.
1221
48b14f50 12222010-09-27 Ian Lance Taylor <iant@google.com>
1223
1224 * c-common.c (c_common_attribute_table): Add no_split_stack.
1225 (handle_no_split_stack_attribute): New static function.
1226
4abfc532 12272010-09-27 Nicola Pero <nicola.pero@meta-innovation.com>
1228
1229 Merge from 'apple/trunk' branch on FSF servers.
1230
1231 2005-12-15 Fariborz Jahanian <fjahanian@apple.com>
1232
1233 Radar 4229905
1234 * c-common.h (objc_have_common_type): New declaration.
1235 * stub-objc.c (objc_have_common_type): New stub.
1236
1237 2005-06-22 Ziemowit Laski <zlaski@apple.com>
1238
1239 Radar 4154928
1240 * c-common.h (objc_common_type): New prototype.
1241 * stub-objc.c (objc_common_type): New stub.
1242
7bd95dfd 12432010-09-24 Jan Hubicka <jh@suse.cz>
1244
1245 * c-common.c (handle_leaf_attribute): New function.
1246 (struct attribute_spec c_common_att): Add leaf.
1247
5789e05b 12482010-09-22 Joseph Myers <joseph@codesourcery.com>
1249
1250 * c.opt (-all-warnings, -ansi, -assert, -assert=, -comments,
1251 -comments-in-macros, -define-macro, -define-macro=, -dependencies,
1252 -dump, -dump=, -imacros, -imacros=, -include, -include=,
1253 -include-barrier, -include-directory, -include-directory=,
1254 -include-directory-after, -include-directory-after=,
1255 -include-prefix, -include-prefix=, -include-with-prefix,
1256 -include-with-prefix=, -include-with-prefix-after,
1257 -include-with-prefix-after=, -include-with-prefix-before,
1258 -include-with-prefix-before=, -no-integrated-cpp,
1259 -no-line-commands, -no-standard-includes, -no-warnings, -output,
1260 -output=, -pedantic, -pedantic-errors, -preprocess,
1261 -print-missing-file-dependencies, -trace-includes, -traditional,
1262 -traditional-cpp, -trigraphs, -undefine-macro, -undefine-macro=,
1263 -user-dependencies, -verbose, -write-dependencies,
1264 -write-user-dependencies, no-integrated-cpp, traditional): New.
1265
e6fb54ba 12662010-09-21 Nicola Pero <nicola.pero@meta-innovation.com>
1267
1268 PR objc/23710
9b60f3b0 1269 * c-common.h (objc_start_method_definition): Return bool instead
1270 of void.
1271 * stub-objc.c (objc_start_method_definition): Return bool instead
1272 of void.
1273
12742010-09-21 Nicola Pero <nicola.pero@meta-innovation.com>
1275
1276 PR objc/25965
1277 * c-common.h (objc_get_interface_ivars): New declaration.
1278 * stub-objc.c (objc_get_interface_ivars): New stub.
e6fb54ba 1279
e44b0a1f 12802010-09-15 Ian Lance Taylor <iant@google.com>
1281
1282 * c-common.c (parse_optimize_options): Do not capitalize warning
ebd7c4c1 1283 messages. Remove period at end of warning message.
e44b0a1f 1284
85c0a25c 12852010-09-09 Nathan Sidwell <nathan@codesourcery.com>
1286
1287 * c-common.c (handle_alias_ifunc_attribute): New, broken out of ...
1288 (handle_alias_attribute): ... here.
1289 (handle_ifunc_attribute): New.
1290
5ba33bf4 12912010-09-06 Mark Mitchell <mark@codesourcery.com>
1292
1293 * c-common.h (do_warn_double_promotion): Declare.
1294 * c-common.c (do_warn_double_promotion): Define.
1295
c920faa3 12962010-09-05 Mark Mitchell <mark@codesourcery.com>
1297
1298 * c.opt (Wdouble-promotion): New.
1299
9604e070 13002010-09-02 Joseph Myers <joseph@codesourcery.com>
1301
1302 * c.opt (falt-external-templates, fhuge-objects, fvtable-gc,
1303 fvtable-thunks, fxref): Mark no longer supported in help text.
1304
3b0273a1 13052010-09-02 Joseph Myers <joseph@codesourcery.com>
1306
1307 * c.opt (Wimport, fall-virtual, falt-external-templates,
1308 fdefault-inline, fenum-int-equiv, fexternal-templates,
1309 fguiding-decls, fhonor-std, fhuge-objects, flabels-ok,
1310 fname-mangling-version-, fnew-abi, fnonnull-objects,
1311 foptional-diags, fsquangle, fstrict-prototype, fthis-is-variable,
1312 fvtable-gc, fvtable-thunks, fxref): Mark with Ignore and Warn as
1313 applicable.
1314 (fhandle-exceptions): Mark with Alias and Warn.
1315 * c-opts.c (c_common_handle_option): Don't handle options marked
1316 as ignored.
1317
67089c6b 13182010-09-02 Joseph Myers <joseph@codesourcery.com>
1319
1320 * c.opt (Wcomments, Werror-implicit-function-declaration,
1321 ftemplate-depth-, std=c89, std=c9x, std=gnu89, std=gnu9x,
1322 std=iso9899:1990, std=iso9899:1999, std=iso9899:199x): Mark as
1323 aliases.
1324 * c-common.c (option_codes): Use OPT_Wcomment instead of
1325 OPT_Wcomments.
1326 * c-opts.c (warning_as_error_callback, c_common_handle_option):
1327 Don't handle options marked as aliases.
1328
2af087f2 13292010-08-25 Richard Guenther <rguenther@suse.de>
1330
1331 * c-common.c (c_common_get_alias_set): Remove special
1332 handling for pointers.
1333
48148244 13342010-08-20 Nathan Froyd <froydnj@codesourcery.com>
1335
1336 * c-common.c: Use FOR_EACH_VEC_ELT.
1337 * c-gimplify.c: Likewise.
1338 * c-pragma.c: Likewise.
1339
89c69892 13402010-08-16 Joseph Myers <joseph@codesourcery.com>
1341
1342 * c.opt (MDX): Change back to MD. Mark NoDriverArg instead of
1343 RejectDriver.
1344 (MMDX): Change back to MMD. Mark NoDriverArg instead of
1345 RejectDriver.
1346 * c-opts.c (c_common_handle_option): Use OPT_MD and OPT_MMD
1347 instead of OPT_MDX and OPT_MMDX.
1348
e28aa114 13492010-08-16 Joseph Myers <joseph@codesourcery.com>
1350
1351 * c.opt (MDX, MMDX, lang-asm): Mark RejectDriver.
1352
99b66d21 13532010-08-12 Joseph Myers <joseph@codesourcery.com>
1354
1355 * c.opt (MD, MMD): Change to MDX and MMDX.
1356 * c-opts.c (c_common_handle_option): Use OPT_MMD and OPT_MMDX.
1357
666f4bf0 13582010-08-11 Joseph Myers <joseph@codesourcery.com>
1359
1360 * c-opts.c (c_common_handle_option): Call handle_generated_option
1361 instead of handle_option.
1362
5ec815f6 13632010-08-08 Nathan Froyd <froydnj@codesourcery.com>
1364
1365 * c-pragma.c (add_to_renaming_pragma_list): Fix call to VEC_safe_push.
1366 (maybe_apply_renaming_pragma): Delete unneeded declarations.
1367
d13143cf 13682010-08-08 Nathan Froyd <froydnj@codesourcery.com>
1369
1370 * c-pragma.c (pending_redefinition): Declare. Declare a VEC of it.
1371 (pending_redefine_extname): Change type to a VEC.
1372 (add_to_renaming_pragma_list): Update for new type of
1373 pending_redefine_extname.
5ec815f6 1374 (maybe_apply_renaming_pragma): Likewise.
d13143cf 1375
2008c983 13762010-08-04 Arnaud Charlet <charlet@adacore.com>
1377
1378 * c-ada-spec.c (dump_ada_template): Mark underlying instance type as
1379 visited.
1380 (dump_generic_ada_node): Code clean up. Use TREE_VISITED flag to
1381 decide whether a type has already been declared/seen.
1382 Do not go to the original type.
1383 (dump_nested_types): New parameter forward.
1384 Generate forward declaration if needed and mark type as visited.
1385 (print_ada_declaration): Call dump_nested_types if not already done.
1386 Mark types as visited.
1387
9b091a73 13882010-08-03 Joseph Myers <joseph@codesourcery.com>
1389
1390 * c.opt (-print-pch-checksum): Remove option.
1391 * c-opts.c (c_common_handle_option): Don't handle
1392 OPT_print_pch_checksum.
1393
b78351e5 13942010-07-27 Joseph Myers <joseph@codesourcery.com>
1395
1396 * c-common.h (c_common_handle_option): Update prototype and return
1397 value type.
1398 * c-opts.c (c_common_handle_option): Update prototype and return
1399 value type. Update calls to handle_option and
1400 enable_warning_as_error.
1401
34416a90 14022010-07-27 Jakub Jelinek <jakub@redhat.com>
1403
1404 PR c/45079
1405 * c-pretty-print.c (pp_c_expression): Handle C_MAYBE_CONST_EXPR.
1406
fecf9011 14072010-07-27 Joseph Myers <joseph@codesourcery.com>
1408
1409 * c-common.h (c_common_missing_argument): Remove.
1410 * c-opts.c (c_common_missing_argument): Remove.
1411 * c.opt (A, D, F, I, MD, MMD, MQ, MT, U, fconstant-string-class=,
1412 idirafter, imacros, include, isysroot, isystem, iquote): Add
1413 MissingArgError.
1414 * c-objc-common.h (LANG_HOOKS_MISSING_ARGUMENT): Remove.
1415
e88d34f6 14162010-07-27 Joseph Myers <joseph@codesourcery.com>
1417
1418 * c-common.h (c_common_option_lang_mask,
1419 c_common_initialize_diagnostics, c_common_complain_wrong_lang_p):
1420 New.
1421 (c_common_init_options): Update prototype.
1422 * c-opts.c (c_common_option_lang_mask): New.
1423 (c_common_initialize_diagnostics): Split out of
1424 c_common_init_options.
1425 (accept_all_c_family_options, c_common_complain_wrong_lang_p):
1426 New.
1427 (c_common_init_options): Update prototype. Use decoded options in
1428 search for -lang-asm.
1429
1767a056 14302010-07-15 Nathan Froyd <froydnj@codesourcery.com>
1431
1432 * c-common.c: Carefully replace TREE_CHAIN with DECL_CHAIN.
1433 * c-format.c: Likewise.
1434
0b205f4c 14352010-07-08 Manuel López-Ibáñez <manu@gcc.gnu.org>
1436
1437 * c-common.h: Include diagnostic-core.h. Error if already
1438 included.
1439 * c-semantics.c: Do not define GCC_DIAG_STYLE here.
1440
1c58e3f1 14412010-07-03 Manuel López-Ibáñez <manu@gcc.gnu.org>
1442
1443 * c-family/c-common.c (IN_GCC_FRONTEND): Do not undef.
1444 Do not include expr.h
1445 (vector_mode_valid_p): Move here.
1446
33cc157c 14472010-06-21 DJ Delorie <dj@redhat.com>
1448
1449 * c-pragma.c (handle_pragma_diagnostic): Add push/pop,
1450 allow these pragmas anywhere.
1451
14522010-06-14 Jakub Jelinek <jakub@redhat.com>
1453
1454 PR bootstrap/44509
1455 * c-cppbuiltin.c: Include gt-c-family-c-cppbuiltin.h.
1456 (lazy_hex_fp_values, lazy_hex_fp_value_count): Add GTY(()) markers.
1457 (lazy_hex_fp_value, builtin_define_with_hex_fp_value): Use
1458 ggc_strdup instead of xstrdup.
1459
14602010-06-10 Jakub Jelinek <jakub@redhat.com>
1461
1462 * c-cppbuiltin.c: Include cpp-id-data.h.
1463 (lazy_hex_fp_values, lazy_hex_fp_value_count): New variables.
1464 (lazy_hex_fp_value): New function.
1465 (builtin_define_with_hex_fp_value): Provide definitions lazily.
1466
9b40bfbf 14672010-06-30 Manuel López-Ibáñez <manu@gcc.gnu.org>
1468
1469 * c-gimplify.c: Do not include tree-flow.h
1470
202d6e5f 14712010-06-29 Joern Rennecke <joern.rennecke@embecosm.com>
1472
1473 PR other/44034
1474 * c-common.c: Rename targetm member:
1475 targetm.enum_va_list -> targetm.enum_va_list_p
1476
d3237426 14772010-06-28 Anatoly Sokolov <aesok@post.ru>
1478
1479 * c-common.c (shorten_compare): Adjust call to force_fit_type_double.
1480
596981c8 14812010-06-28 Steven Bosscher <steven@gcc.gnu.org>
1482
1483 * c-cppbuiltin.c: Do not include except.h.
1484
b9bdfa0b 14852010-06-24 Andi Kleen <ak@linux.intel.com>
1486
1487 * c-common.c (warn_for_omitted_condop): New.
1488 * c-common.h (warn_for_omitted_condop): Add prototype.
1489
55ad092d 14902010-06-21 Joseph Myers <joseph@codesourcery.com>
1491
1492 * c.opt (lang-objc): Remove.
1493 * c-opts.c (c_common_handle_option): Don't handle OPT_lang_objc.
1494
9e7c2572 14952010-06-21 Joern Rennecke <joern.rennecke@embecosm.com>
1496
1497 * c-opts.c: Include "tm_p.h".
1498
615ef0bb 14992010-06-20 Joseph Myers <joseph@codesourcery.com>
1500
1501 * c-common.c (parse_optimize_options): Update call to
1502 decode_options.
1503
aef48c9a 15042010-06-18 Nathan Froyd <froydnj@codesourcery.com>
1505
1506 * c-common.c (record_types_used_by_current_var_decl): Adjust for
1507 new type of types_used_by_cur_var_decl.
1508
d74003b4 15092010-06-17 Joern Rennecke <joern.rennecke@embecosm.com>
1510
1511 PR bootstrap/44512
1512 * c-cppbuiltin.c (builtin_define_with_hex_fp_value): Add cast
1513 for C++ standard compliance.
1514
1194d077 15152010-06-16 Jason Merrill <jason@redhat.com>
1516
1517 * c.opt: Add -Wnoexcept.
1518
d473d901 15192010-06-16 Richard Guenther <rguenther@suse.de>
1520
1521 PR c/44555
1522 * c-common.c (c_common_truthvalue_conversion): Remove
1523 premature and wrong optimization concering ADDR_EXPRs.
1524
b62dbfd3 15252010-06-15 Arnaud Charlet <charlet@adacore.com>
1526
1527 * c-ada-spec.c (dump_sloc): Remove column info.
1528 (is_simple_enum): New function.
1529 (dump_generic_ada_node, print_ada_declaration): Map C enum types to Ada
1530 enum types when relevant.
1531
200dd99c 15322010-06-11 Manuel López-Ibáñez <manu@gcc.gnu.org>
1533
1534 * c-common.c (conversion_warning): Warn at expression
1535 location.
1536
abf6a617 15372010-06-10 Joseph Myers <joseph@codesourcery.com>
1538
1539 * c-opts.c (c_common_handle_option): Don't handle
1540 OPT_fshow_column.
1541
ba72912a 15422010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com>
1543
1544 * c-pragma.c (push_alignment): Use typed GC allocation.
1545 (handle_pragma_push_options): Likewise.
1546
1547 * c-common.c (parse_optimize_options): Likewise.
1548
1549 * c-common.h (struct sorted_fields_type): Add variable_size GTY
1550 option.
1551
4aafe913 15522010-06-07 Joseph Myers <joseph@codesourcery.com>
1553
1554 * c-common.c (flag_preprocess_only, flag_undef, flag_no_builtin,
1555 flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
1556 flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
1557 flag_signed_bitfields, warn_strict_null_sentinel,
1558 flag_nil_receivers, flag_zero_link, flag_replace_objc_classes,
1559 flag_gen_declaration, flag_no_gnu_keywords,
1560 flag_implement_inlines, flag_implicit_templates,
1561 flag_implicit_inline_templates, flag_optional_diags,
1562 flag_elide_constructors, flag_default_inline, flag_rtti,
1563 flag_conserve_space, flag_access_control, flag_check_new,
1564 flag_new_for_scope, flag_weak, flag_working_directory,
1565 flag_use_cxa_atexit, flag_use_cxa_get_exception_ptr,
1566 flag_enforce_eh_specs, flag_threadsafe_statics,
1567 flag_pretty_templates): Remove.
1568 * c-common.h (flag_preprocess_only, flag_nil_receivers,
1569 flag_objc_exceptions, flag_objc_sjlj_exceptions, flag_zero_link,
1570 flag_replace_objc_classes, flag_undef, flag_no_builtin,
1571 flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
1572 flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
1573 flag_const_strings, flag_signed_bitfields, flag_gen_declaration,
1574 flag_no_gnu_keywords, flag_implement_inlines,
1575 flag_implicit_templates, flag_implicit_inline_templates,
1576 flag_optional_diags, flag_elide_constructors, flag_default_inline,
1577 flag_rtti, flag_conserve_space, flag_access_control,
1578 flag_check_new, flag_new_for_scope, flag_weak,
1579 flag_working_directory, flag_use_cxa_atexit,
1580 flag_use_cxa_get_exception_ptr, flag_enforce_eh_specs,
1581 flag_threadsafe_statics, flag_pretty_templates,
1582 warn_strict_null_sentinel): Remove.
1583 * c.opt (E, Wstrict-null-sentinel, faccess-control, fasm,
1584 fbuiltin, fcheck-new, fconserve-space, felide-constructors,
1585 fenforce-eh-specs, ffor-scope, fgnu-keywords, fimplement-inlines,
1586 fimplicit-inline-templates, fimplicit-templates,
1587 flax-vector-conversions, fms-extensions, fnil-receivers,
1588 fnonansi-builtins, fpretty-templates, freplace-objc-classes,
1589 frtti, fshort-double, fshort-enums, fshort-wchar,
1590 fsigned-bitfields, fsigned-char, fstats, fthreadsafe-statics,
1591 funsigned-bitfields, funsigned-char, fuse-cxa-atexit,
1592 fuse-cxa-get-exception-ptr, fweak, fworking-directory, fzero-link,
1593 gen-decls, undef): Use Var.
1594 (fdefault-inline, foptional-diags): Document as doing nothing.
1595 * c-opts.c (c_common_handle_option): Remove cases for options now
1596 using Var. Mark ignored options as such.
1597
7bedc3a0 15982010-06-05 Steven Bosscher <steven@gcc.gnu.org>
1599
1600 * c-common.c: Moved to here from parent directory.
1601 * c-common.def: Likewise.
1602 * c-common.h: Likewise.
1603 * c-cppbuiltin.c: Likewise.
1604 * c-dump.c: Likewise.
1605 * c-format.c: Likewise.
1606 * c-format.h : Likewise.
1607 * c-gimplify.c: Likewise.
1608 * c-lex.c: Likewise.
1609 * c-omp.c: Likewise.
1610 * c.opt: Likewise.
1611 * c-opts.c: Likewise.
1612 * c-pch.c: Likewise.
1613 * c-ppoutput.c: Likewise.
1614 * c-pragma.c: Likewise.
1615 * c-pragma.h: Likewise.
1616 * c-pretty-print.c: Likewise.
1617 * c-pretty-print.h: Likewise.
1618 * c-semantics.c: Likewise.
1619 * stub-objc.c: Likewise.
1620
1621 * c-common.c: Include gt-c-family-c-common.h.
1622 * c-pragma.c: Include gt-c-family-c-pragma.h.
1623\f
dd045aee 1624Copyright (C) 2010, 2011 Free Software Foundation, Inc.
7bedc3a0 1625
1626Copying and distribution of this file, with or without modification,
1627are permitted in any medium without royalty provided the copyright
1628notice and this notice are preserved.