]> gcc.gnu.org Git - gcc.git/blame - gcc/c-family/ChangeLog
backwards_compatibility.xml: Fix autoconf tests for C++11 compiler features and libra...
[gcc.git] / gcc / c-family / ChangeLog
CommitLineData
86951993
AM
12011-11-06 Andrew MacLeod <amacleod@redhat.com>
2 Richard Henderson <rth@redhat.com>
3
4 Merged from cxx-mem-model.
5
6 * c-cppbuiltin.c (c_cpp_builtins): Test both atomic and sync patterns.
7 * c-common.c (sync_resolve_params, sync_resolve_return): Only tweak
8 parameters that are the same type size.
9 (get_atomic_generic_size): New. Find size of generic
10 atomic function parameters and do typechecking.
11 (add_atomic_size_parameter): New. Insert size into parameter list.
12 (resolve_overloaded_atomic_exchange): Restructure __atomic_exchange to
13 either __atomic_exchange_n or external library call.
14 (resolve_overloaded_atomic_compare_exchange): Restructure
15 __atomic_compare_exchange to either _n variant or external library call.
16 (resolve_overloaded_atomic_load): Restructure __atomic_load to either
17 __atomic_load_n or an external library call.
18 (resolve_overloaded_atomic_store): Restructure __atomic_store to either
19 __atomic_store_n or an external library call.
20 (resolve_overloaded_builtin): Handle new __atomic builtins.
21
cf9e9959
EB
222011-11-04 Eric Botcazou <ebotcazou@adacore.com>
23
24 PR c++/50608
25 * c-common.c (c_fully_fold_internal) <ADDR_EXPR>: Call fold_offsetof_1.
26 (fold_offsetof_1): Make global. Remove STOP_REF argument and adjust.
27 <INDIRECT_REF>: Return the argument.
28 <ARRAY_REF>: Remove special code for negative offset.
29 Call fold_build_pointer_plus instead of size_binop.
30 (fold_offsetof): Remove STOP_REF argument and adjust.
31 * c-common.h (fold_offsetof_1): Declare.
32 (fold_offsetof): Remove STOP_REF argument.
33
25339f10
JM
342011-11-02 Paolo Carlini <paolo.carlini@oracle.com>
35
36 PR c++/50810
37 * c-opts.c (c_common_handle_option): Enable -Wnarrowing as part
38 of -Wall; include -Wnarrowing in -Wc++0x-compat; adjust default
39 Wnarrowing for C++0x and C++98.
40 * c.opt ([Wnarrowing]): Update.
41
89401152
PC
422011-11-01 Paolo Carlini <paolo.carlini@oracle.com>
43
44 PR c++/44277
45 * c.opt: Add Wzero-as-null-pointer-constant.
46
97e3ad20
JM
472011-10-31 Jason Merrill <jason@redhat.com>
48
15694fdd
JM
49 * c.opt (-fdeduce-init-list): Off by default.
50
97e3ad20
JM
51 PR c++/50920
52 * c-common.h (cxx_dialect): Add cxx11 and cxx03.
53 * c.opt: Add -std=c++11, -std=gnu++11, -std=gnu++03,
54 and -Wc++11-compat.
55 * c-opts.c (set_std_cxx11): Rename from set_std_cxx0x.
56
fb9120e3
RAV
572011-10-27 Roberto Agostino Vitillo <ravitillo@lbl.gov>
58
59 PR c++/30066
60 * c.opt (fvisibility-inlines-hidden): Description change.
61
3ce4f9e4
ESR
622011-10-26 Ed Smith-Rowland <3dw4rd@verizon.net>
63
64 Implement C++11 user-defined literals.
65 * c-common.c (build_userdef_literal): New.
66 * c-common.def: New tree code.
67 * c-common.h (tree_userdef_literal): New tree struct and accessors.
68 * c-lex.c (interpret_float): Add suffix parm.
69 (c_lex_with_flags): Build literal tokens.
70
5f53c243
PC
712011-10-23 Paolo Carlini <paolo.carlini@oracle.com>
72
73 PR c++/50841
74 Revert:
75 2011-10-23 Paolo Carlini <paolo.carlini@oracle.com>
76
77 PR c++/50810
78 * c-opts.c (c_common_handle_option): Enable -Wnarrowing as part
79 of -Wall; include -Wnarrowing in -Wc++0x-compat; adjust default
80 Wnarrowing for C++0x and C++98.
81 * c.opt ([Wnarrowing]): Update.
82
263734e1
PC
832011-10-23 Paolo Carlini <paolo.carlini@oracle.com>
84
85 PR c++/50810
86 * c-opts.c (c_common_handle_option): Enable -Wnarrowing as part
87 of -Wall; include -Wnarrowing in -Wc++0x-compat; adjust default
88 Wnarrowing for C++0x and C++98.
89 * c.opt ([Wnarrowing]): Update.
90
d2e312d7
PC
912011-10-21 Paolo Carlini <paolo.carlini@oracle.com>
92
93 PR c++/45385
94 * c-common.c (conversion_warning): Remove code looking for
95 artificial operands.
96
d17687f6
DS
972011-10-18 Dodji Seketeli <dodji@redhat.com>
98
99 PR bootstrap/50760
100 * c-lex.c (fe_file_change): Use LINEMAP_SYSP when
101 !NO_IMPLICIT_EXTERN_C.
102
fc8396e9
PC
1032011-10-17 Michael Spertus <mike_spertus@symantec.com>
104
105 * c-common.c (c_common_reswords): Add __bases,
106 __direct_bases.
107 * c-common.h: Add RID_BASES and RID_DIRECT_BASES.
108
1092011-10-17 Paolo Carlini <paolo.carlini@oracle.com>
110
111 PR c++/50757
112 * c.opt ([Wnonnull]): Add C++ and Objective-C++.
113
847e697a
TT
1142011-10-15 Tom Tromey <tromey@redhat.com>
115 Dodji Seketeli <dodji@redhat.com>
116
117 * c.opt (fdebug-cpp): New option.
118 * c-opts.c (c_common_handle_option): Handle the option.
119 * c-ppoutput.c (maybe_print_line_1): New static function. Takes an
120 output stream in parameter. Factorized from ...
121 (maybe_print_line): ... this. Dump location debug information when
122 -fdebug-cpp is in effect.
123 (print_line_1): New static function. Takes an output stream in
124 parameter. Factorized from ...
125 (print_line): ... here. Dump location information when -fdebug-cpp
126 is in effect.
127 (scan_translation_unit): Dump location information when
128 -fdebug-cpp is in effect.
129
92582b75
TT
1302011-10-15 Tom Tromey <tromey@redhat.com>
131 Dodji Seketeli <dodji@redhat.com>
132
133 * c.opt (ftrack-macro-expansion): New option. Handle it with and
134 without argument.
135 * c-opts.c (c_common_handle_option)<case
136 OPT_ftrack_macro_expansion_, case OPT_ftrack_macro_expansion>: New
137 cases. Handle -ftrack-macro-expansion with and without argument.
138
46427374
TT
1392011-10-15 Tom Tromey <tromey@redhat.com>
140 Dodji Seketeli <dodji@redhat.com>
141
142 * c-ppoutput.c (scan_translation_unit, maybe_print_line)
143 (print_line, cb_define, do_line_change): Adjust to avoid touching
144 the internals of struct line_map. Use the public API instead.
145 * c-pch.c (c_common_read_pch): Likewise.
146 * c-lex.c (fe_file_change): Likewise.
147
fc8396e9
PC
1482011-10-14 Paolo Carlini <paolo.carlini@oracle.com>
149
150 PR c++/17212
151 * c.opt ([Wformat-zero-length]): Add C++ and Objective-C++.
152
1532011-10-11 Paolo Carlini <paolo.carlini@oracle.com>
154
155 PR c++/33067
156 * c-pretty-print.c (pp_c_floating_constant): Output
157 max_digits10 (in the ISO C++ WG N1822 sense) decimal digits.
158
e79983f4
MM
1592011-10-11 Michael Meissner <meissner@linux.vnet.ibm.com>
160
161 * c-common.c (def_builtin_1): Delete old interface with two
162 parallel arrays to hold standard builtin declarations, and replace
163 it with a function based interface that can support creating
164 builtins on the fly in the future. Change all uses, and poison
165 the old names. Make sure 0 is not a legitimate builtin index.
166 * c-omp.c (c_finish_omp_barrier): Ditto.
167 (c_finish_omp_taskwait): Ditto.
168 (c_finish_omp_flush): Ditto.
169
6637388f
TG
1702011-10-11 Tristan Gingold <gingold@adacore.com>
171
172 * c.opt: (fallow-parameterless-variadic-functions): New.
173
3797cb21
DS
1742011-09-08 Dodji Seketeli <dodji@redhat.com>
175
176 PR c++/33255 - Support -Wunused-local-typedefs warning
177 * c-common.h (struct c_language_function::local_typedefs): New
178 field.
179 (record_locally_defined_typedef, maybe_record_typedef_use)
180 (maybe_warn_unused_local_typedefs): Declare new functions.
181 * c-common.c (record_locally_defined_typedef)
182 (maybe_record_typedef_use)
183 (maybe_warn_unused_local_typedefs): Define new functions.
184 * c.opt: Declare new -Wunused-local-typedefs flag.
185
693ddb1b
EB
1862011-09-06 Eric Botcazou <ebotcazou@adacore.com>
187
188 PR middle-end/50266
189 * c-common.c (c_fully_fold_internal) <ADDR_EXPR>: Fold offsetof-like
190 computations.
191
830c740f
RG
1922011-09-05 Richard Guenther <rguenther@suse.de>
193
194 * c-common.c (complete_array_type): Use ssize_int (-1) instead
195 of integer_minus_one_node for empty array upper bounds.
196
892a371f
DS
1972011-08-28 Dodji Seketeli <dodji@redhat.com>
198
199 * c-pch.c (c_common_read_pch): Call linemap_add with LC_ENTER as
200 it's the first time it's being called on this main TU.
201
0e3fdb48
RB
2022011-08-24 Richard Guenther <rguenther@suse.de>
203
204 PR c/49396
205 * c-cppbuiltin.c (c_cpp_builtins_optimize_pragma): Fix conditional.
206
2072011-08-22 Gabriel Charette <gchare@google.com>
e3dfef44
GC
208
209 * c-opts.c (c_finish_options): Force BUILTINS_LOCATION for tokens
210 defined in cpp_init_builtins and c_cpp_builtins.
211
d4a83c10
JM
2122011-08-19 Joseph Myers <joseph@codesourcery.com>
213
214 * c-common.c (c_common_reswords): Add __builtin_complex.
215 * c-common.h (RID_BUILTIN_COMPLEX): New.
216
bbceee64
JM
2172011-08-18 Joseph Myers <joseph@codesourcery.com>
218
219 * c-common.c (c_common_reswords): Add _Noreturn.
220 (keyword_is_function_specifier): Handle RID_NORETURN.
221 * c-common.h (RID_NORETURN): New.
222
0e3a99ae
AS
2232011-08-10 Artjoms Sinkarovs <artyom.shinakroff@gmail.com>
224
225 * c-common.c (unsafe_conversion_p): New function. Check if it is
226 unsafe to convert an expression to the type.
227 (conversion_warning): Adjust, use unsafe_conversion_p.
228 * c-common.h (unsafe_conversion_p): New function declaration.
229
20906c66
JJ
2302011-08-02 Jakub Jelinek <jakub@redhat.com>
231
232 * c-common.h (c_finish_omp_atomic): Adjust prototype.
233 (c_finish_omp_taskyield): New prototype.
234 * c-omp.c (c_finish_omp_atomic): Add OPCODE, V, LHS1 and RHS1
235 arguments. Handle OMP_ATOMIC_READ, OMP_ATOMIC_CAPTURE_OLD and
236 OMP_ATOMIC_CAPTURE_NEW in addition to OMP_ATOMIC. If LHS1
237 or RHS1 have side-effects, evaluate those too in the right spot,
238 if it is a decl and LHS is also a decl, error out if they
239 aren't the same.
240 (c_finish_omp_taskyield): New function.
241 * c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP to 201107.
242 * c-pragma.c (omp_pragmas): Add taskyield.
243 * c-pragma.h (enum pragma_kind): Add PRAGMA_OMP_TASKYIELD.
244 (enum pragma_omp_clause): Add PRAGMA_OMP_CLAUSE_FINAL and
245 PRAGMA_OMP_CLAUSE_MERGEABLE.
246
770e5a2e
DS
2472011-07-25 Dodji Seketeli <dodji@redhat.com>
248
249 * c-common.h (set_underlying_type): Remove parm name from
250 declaration.
251
1baae426
RG
2522011-07-25 Romain Geissler <romain.geissler@gmail.com>
253
254 * c-pretty-print.h: Search c-common.h in c-family.
255
fcb21722
JM
2562011-07-22 Jason Merrill <jason@redhat.com>
257
76f86d00
JM
258 PR c++/49793
259 * c.opt (Wnarrowing): New.
260
3a636414
JM
261 PR c++/30112
262 * c-common.h: Declare c_linkage_bindings.
263 * c-pragma.c (handle_pragma_redefine_extname): Use it.
264
fcb21722
JM
265 PR c++/49813
266 * c-opts.c (set_std_cxx0x): Set flag_isoc94 and flag_isoc99.
267 * c-pretty-print.c (pp_c_cv_qualifiers): Check c_dialect_cxx as well
268 as flag_isoc99 for 'restrict'.
269 (pp_c_specifier_qualifier_list): Likewise for _Complex.
270
02614448
ILT
2712011-07-21 Ian Lance Taylor <iant@google.com>
272
273 PR middle-end/49705
274 * c-common.c (c_disable_warnings): New static function.
275 (c_enable_warnings): New static function.
276 (c_fully_fold_internal): Change local unused_p to bool. Call
277 c_disable_warnings and c_enable_warnings rather than change
278 c_inhibit_evaluation_warnings.
279
34429675
JM
2802011-07-20 Jason Merrill <jason@redhat.com>
281
282 PR c++/6709 (DR 743)
283 PR c++/42603 (DR 950)
284 * c-common.h (CPP_KEYWORD, CPP_TEMPLATE_ID): Move from cp/parser.h.
285 (CPP_NESTED_NAME_SPECIFIER, N_CP_TTYPES): Likewise.
286 (CPP_DECLTYPE): New.
287 * c-common.c (c_parse_error): Handle CPP_DECLTYPE.
288
5d49b6a7
RG
2892011-07-19 Richard Guenther <rguenther@suse.de>
290
291 * c-common.c (pointer_int_sum): Use fold_build_pointer_plus.
292 * c-omp.c (c_finish_omp_for): Likewise.
293
e84a58ff
EB
2942011-07-12 Eric Botcazou <ebotcazou@adacore.com>
295
296 * c-ada-spec.c (dump_nested_types): Put semi-colon after empty loop
297 body on the next line.
298
329af3c7
JM
2992011-07-08 Jason Merrill <jason@redhat.com>
300
4063e61b
JM
301 PR c++/45437
302 * c-omp.c (check_omp_for_incr_expr): Handle preevaluation.
303
329af3c7
JM
304 PR c++/49673
305 * c-common.c (c_apply_type_quals_to_decl): Don't check
306 TYPE_NEEDS_CONSTRUCTING.
307
1a072294
RG
3082011-07-06 Richard Guenther <rguenther@suse.de>
309
310 * c-common.c (c_common_nodes_and_builtins):
311 Merge calls to build_common_tree_nodes and build_common_tree_nodes_2.
312
fce5dddd
RG
3132011-07-05 Richard Guenther <rguenther@suse.de>
314
315 * c-common.c (c_common_nodes_and_builtins): Build all common
316 tree nodes first.
317
45d439ac
JJ
3182011-06-27 Jakub Jelinek <jakub@redhat.com>
319
56300785
JJ
320 * c-common.h (c_tree_chain_next): New static inline function.
321
45d439ac
JJ
322 * c-common.c (check_builtin_function_arguments): Handle
323 BUILT_IN_ASSUME_ALIGNED.
324
e0a8ecf2
AM
3252011-06-21 Andrew MacLeod <amacleod@redhat.com>
326
327 * c-common.c: Add sync_ or SYNC__ to builtin names.
328 * c-omp.c: Add sync_ or SYNC__ to builtin names.
dfb43cd5
PV
329
3302011-06-20 Pierre Vittet <piervit@pvittet.com>
331
332 * c-pragma.h (pragma_handler_1arg, pragma_handler_2arg): New
333 handler.
334 (gen_pragma_handler): New union.
335 (internal_pragma_handler): New type.
336 (c_register_pragma_with_data)
337 (c_register_pragma_with_expansion_and_data): New functions.
338
339 * c-pragma.c (registered_pragmas, c_register_pragma_1)
340 (c_register_pragma, c_register_pragma_with_expansion)
341 (c_invoke_pragma_handler): Changed to work with
342 internal_pragma_handler.
343 (c_register_pragma_with_data)
344 (c_register_pragma_with_expansion_and_data): New functions.
345
677f3fa8
JM
3462011-06-14 Joseph Myers <joseph@codesourcery.com>
347
348 * c-common.c: Include common/common-target.h.
349 (handle_section_attribute): Use
350 targetm_common.have_named_sections.
351 * c-cppbuiltin.c: Include common/common-target.h.
352 (c_cpp_builtins): Use targetm_common.except_unwind_info.
353
d7fc8c14
RG
3542011-06-10 Richard Guenther <rguenther@suse.de>
355
356 * c-pretty-print.c (pp_c_type_specifier): Use pp_c_identifier
357 to print a IDENTIFIER_NODE.
358
10e48e39
RO
3592011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
360 Joseph Myers <joseph@codesourcery.com>
361
362 * c.opt (fbuilding-libgcc): New option.
363 * c-cppbuiltin.c (c_cpp_builtins): Define
364 __LIBGCC_TRAMPOLINE_SIZE__ if flag_building_libgcc.
365
6976ae51
JM
3662011-06-07 Jason Merrill <jason@redhat.com>
367
3ff60975
JM
368 * c-common.c (max_tinst_depth): Lower default to 900.
369
6976ae51
JM
370 * c-format.c (gcc_cxxdiag_char_table): Add 'S' format.
371
009db074
RG
3722011-06-07 Richard Guenther <rguenther@suse.de>
373
374 * c-common.c (c_common_nodes_and_builtins): Do not set
375 size_type_node or call set_sizetype.
376
b4592b92
DS
3772011-06-07 Dodji Seketeli <dodji@redhat.com>
378
379 PR debug/49130
380 * c-pretty-print.c (pp_c_integer_constant): Consider the canonical
381 type when using pointer comparison to compare types.
382
014ab419
JW
3832011-06-02 Jonathan Wakely <jwakely.gcc@gmail.com>
384
385 * c.opt: Add -Wdelete-non-virtual-dtor.
386 * c-opts.c (c_common_handle_option): Include it in -Wall.
387
4f60111f
NF
3882011-05-30 Nathan Froyd <froydnj@gcc.gnu.org>
389
390 PR bootstrap/49190
391
392 Revert:
393 2011-05-26 Nathan Froyd <froydnj@codesourcery.com>
394
395 * c-common.h (struct c_common_identifier): Inherit from tree_typed,
396 not tree_common.
397
4cc4f2f4
JJ
3982011-05-27 Jakub Jelinek <jakub@redhat.com>
399
400 PR c++/49165
401 * c-common.c (c_common_truthvalue_conversion) <case COND_EXPR>: For
402 C++ don't call c_common_truthvalue_conversion on void type arms.
403
38e01f9e
NF
4042011-05-27 Nathan Froyd <froydnj@codesourcery.com>
405
406 * c-common.h (struct stmt_tree_s) [x_cur_stmt_list]: Change to a VEC.
407 (stmt_list_stack): Define.
408 (cur_stmt_list): Adjust for new type of x_cur_stmt_list.
409 * c-semantics.c (push_stmt_list, pop_stmt_list): Likewise.
410
92e948a8
NF
4112011-05-26 Nathan Froyd <froydnj@codesourcery.com>
412
413 * c-common.c (warning_candidate_p): Check for BLOCKs.
414
a2fc3e63
NF
4152011-05-26 Nathan Froyd <froydnj@codesourcery.com>
416
417 * c-common.h (struct c_common_identifier): Inherit from tree_typed,
418 not tree_common.
419
0957c029
JJ
4202011-05-25 Jakub Jelinek <jakub@redhat.com>
421
422 * c-common.c (def_fn_type): Remove extra va_end.
423
828fb3ba
JM
4242011-05-23 Jason Merrill <jason@redhat.com>
425
426 PR c++/48106
427 * c-common.c (c_common_get_narrower): New.
428 (shorten_binary_op, shorten_compare, warn_for_sign_compare): Use it.
429
dde05067
NF
4302011-05-23 Nathan Froyd <froydnj@codesourcery.com>
431
432 * c-common.h (check_function_arguments): Tweak prototype of
433 check_function_arguments.
434 * c-common.c (check_function_arguments): Likewise. Adjust
435 calls to check_function_nonnull, check_function_format, and
436 check_function_sentinel.
437 (check_function_sentinel): Take a FUNCTION_TYPE rather than
438 separate attributes and typelist arguments. Use
439 FOREACH_FUNCTION_ARGS to iterate over argument types.
440
3c0d13bf
PC
4412011-05-15 Paolo Carlini <paolo.carlini@oracle.com>
442
443 * c-common.c (c_common_reswords): Reorder.
444 * c-common.h (rid): Likewise.
445
8242dd04
NF
4462011-05-10 Nathan Froyd <froydnj@codesourcery.com>
447
448 * c-common.c (def_fn_type): Don't call build_function_type, call
449 build_function_type_array or build_varargs_function_type_array
450 instead.
451 (c_common_nodes_and_builtins): Likewise.
452
3d528853
NF
4532011-05-05 Nathan Froyd <froydnj@codesourcery.com>
454
455 * c-common.c (c_add_case_label): Omit the loc argument to
456 build_case_label.
457 * c-common.h (build_case_label): Remove.
458 * c-semantics.c (build_case_label): Remove.
459
a04a722b
JM
4602011-05-05 Joseph Myers <joseph@codesourcery.com>
461
462 * c-objc.h (objc_start_method_definition): Update prototype.
463 * stub-objc.c (objc_start_method_definition): Add extra parameter.
464
e19a18d4
NF
4652011-05-04 Nathan Froyd <froydnj@codesourcery.com>
466
467 * c-common.c (check_main_parameter_types): Reindent. Don't use
468 TYPE_ARG_TYPES directly.
469 (handle_nonnull_attribute): Likewise.
470 (sync_resolve_params): Likewise.
471 * c-format.c (handle_format_arg_attribute): Likewise. Adjust call
472 to check_format_string.
473 (handle_format_attribute): Likewise.
474 (check_format_string): Take a function type to examine instead of
475 a type list. Use a function_arg_iterator to step through argument
476 types.
477
c62c040f
RG
4782011-05-04 Richard Guenther <rguenther@suse.de>
479
480 * c-common.c (fix_string_type): Use size_int for index type bounds.
481 (start_fname_decls): Do not pass NULL to build_int_cst.
482 (c_init_attributes): Likewise.
483 * c-lex.c (c_lex_with_flags): Likewise.
484
c12ff9d8
JM
4852011-04-27 Jason Merrill <jason@redhat.com>
486
487 * c-common.c (make_tree_vector_from_list): New.
488 * c-common.h: Declare it.
489
304dfbe3
RG
4902011-04-26 Richard Guenther <rguenther@suse.de>
491
492 PR preprocessor/48248
493 * c-ppoutput.c (maybe_print_line): Always optimize newlines
494 for output size with -P.
495
3c0d13bf
PC
4962011-04-25 Paolo Carlini <paolo.carlini@oracle.com>
497
498 * c-common.c (struct c_common_resword): Add __underlying_type.
499 * c-common.h (enum rid): Add RID_UNDERLYING_TYPE.
500
04695783
JM
5012011-04-20 Jim Meyering <meyering@redhat.com>
502
503 * c-format.c (init_dollar_format_checking): Remove useless
504 if-before-free.
505
0dc33c3c
NP
5062011-04-15 Nicola Pero <nicola.pero@meta-innovation.com>
507
508 * c-objc.h (objc_get_interface_ivars): Removed.
3c0d13bf 509 (objc_detect_field_duplicates): New.
0dc33c3c 510 * stub-objc.c: Likewise.
3c0d13bf 511
c59633d9
NP
5122011-04-14 Nicola Pero <nicola.pero@meta-innovation.com>
513
514 * stub-objc.c (objc_declare_protocols): Renamed to
515 objc_declare_protocol.
516 * c-objc.h: Likewise.
3c0d13bf 517
32dabdaf
NP
5182011-04-14 Nicola Pero <nicola.pero@meta-innovation.com>
519
520 * stub-objc.c (objc_declare_class): Updated argument name.
521
81f653d6
NF
5222011-04-12 Nathan Froyd <froydnj@codesourcery.com>
523
524 * c-common.h (c_common_init_ts): Declare.
525 * c-common.c (c_common_init_ts): Define.
526
eb345401
NP
5272011-04-12 Nicola Pero <nicola.pero@meta-innovation.com>
528
529 * c-objc.h (objc_build_message_expr): Updated prototype.
530 * stub-objc.c (objc_build_message_expr): Likewise.
531
a358e188
MJ
5322011-04-12 Martin Jambor <mjambor@suse.cz>
533
534 * c-gimplify.c (c_genericize): Call cgraph_get_create_node instead
535 of cgraph_node.
536
e6313a78
RG
5372011-04-11 Richard Guenther <rguenther@suse.de>
538
539 * c-common.c (complete_array_type): Build a range type of
540 proper type.
541
dcf0c47e
NF
5422011-04-08 Nathan Froyd <froydnj@codesourcery.com>
543
544 * c-common.c (handle_sentinel_attribute): Don't use TYPE_ARG_TYPES.
545 (handle_type_generic_attribute): Likewise.
546
1ee44b26
JM
5472011-04-07 Jason Merrill <jason@redhat.com>
548
549 PR c++/48450
550 * c-common.c (c_common_truthvalue_conversion): Don't ignore
551 conversion from C++0x scoped enum.
552
acce4e77
JM
5532011-04-06 Joseph Myers <joseph@codesourcery.com>
554
555 * c-target-def.h: New file.
556 * c-target.def: New file.
557 * c-target.h: New file.
558 * c-common.c (targetcm): Don't define here.
559 * c-common.h (default_handle_c_option): Declare.
560 * c-format.c: Include c-target.h instead of target.h.
561 * c-opts.c: Include c-target.h instead of target.h. Explicitly
562 include tm.h.
563 (default_handle_c_option): Move from targhooks.c.
564
e2eefb55
JJ
5652011-03-29 Jakub Jelinek <jakub@redhat.com>
566
567 PR preprocessor/48248
568 * c-ppoutput.c (print): Add src_file field.
569 (init_pp_output): Initialize it.
570 (maybe_print_line): Don't optimize by adding up to 8 newlines
571 if map->to_file and print.src_file are different file.
572 (print_line): Update print.src_file.
573
ba78087b
KT
5742011-03-25 Kai Tietz <ktietz@redhat.com>
575
576 * c-ada-spec.c (compare_comment): Use filename_cmp
577 instead of strcmp for filename.
578
0edf1bb2
JL
5792011-03-25 Jeff Law <law@redhat.com>
580
581 * c-family/c-common.c (def_fn_type): Add missing va_end.
582
c7dc8804
JM
5832011-03-25 Jason Merrill <jason@redhat.com>
584
585 * c.opt: Add -std=c++03.
586
d1d879b1
EB
5872011-03-22 Eric Botcazou <ebotcazou@adacore.com>
588
589 * c-ada-spec.c (dump_ada_template): Skip non-class instances.
590
62d784f7
KT
5912011-03-17 Kai Tietz
592
593 PR target/12171
5050afdf
KT
594 * c-pretty-print.c (pp_c_specifier_qualifier_list):
595 Display allowed attributes for function pointer types.
596 (pp_c_attributes_display): New function to display
597 attributes having affects_type_identity flag set to true.
598 * c-pretty-print.h (pp_c_attributes_display): New prototype.
599
62d784f7
KT
600 * c-common.c (c_common_attribute_table):
601 Add new element.
602 (c_common_format_attribute_table): Likewise.
603
82d37118
JM
6042011-03-18 Jason Merrill <jason@redhat.com>
605
49a000c3
JM
606 * c.opt (fconstexpr-depth): Add Var(max_constexpr_depth).
607 * c-common.h: Don't declare it here.
608 * c-common.c: Or define it here.
609 * c-opts.c (c_common_handle_option): Or set it here.
610
82d37118
JM
611 PR c++/35315
612 * c-common.c (handle_transparent_union_attribute): Don't
613 make a duplicate type in C++.
614
17bc631c
JM
6152011-03-15 Jason Merrill <jason@redhat.com>
616
617 * c-common.c (max_constexpr_depth): New.
618 * c-common.h: Declare it.
619 * c-opts.c (c_common_handle_option): Set it.
620 * c.opt (fconstexpr-depth): New option.
621
1b9b91a6
JM
6222011-03-11 Jason Merrill <jason@redhat.com>
623
f231b5ff
JM
624 * c-common.c (attribute_takes_identifier_p): Add missing const.
625
1b9b91a6
JM
626 PR c++/46803
627 * c-common.c (attribute_takes_identifier_p): Assume that an
628 unknown attribute takes an identifier.
629
a19e4d44
NF
6302011-03-07 Nathan Froyd <froydnj@codesourcery.com>
631
632 PR c/47786
633 * c-common.c (c_type_hash): Call list_length instead of iterating
634 through DECL_CHAIN. Rename 'i' to 'n_elements'.
635
982d62f6
JJ
6362011-02-19 Jakub Jelinek <jakub@redhat.com>
637
638 PR c/47809
639 * c-common.c (c_fully_fold_internal): Handle VIEW_CONVERT_EXPR.
640
0a256240
NP
6412011-02-17 Iain Sandoe <iains@gcc.gnu.org>
642
643 * c.opt (fobjc-abi-version=) New.
644 (fobjc-nilcheck): New.
645
ba9e6dd5
NF
6462011-02-03 Nathan Froyd <froydnj@codesourcery.com>
647
648 PR c++/46890
649 * c-common.h (keyword_is_decl_specifier): Declare.
650 * c-common.c (keyword_is_decl_specifier): Define.
651 (keyword_is_function_specifier): New function.
652
7273813a
JJ
6532011-01-26 Jakub Jelinek <jakub@redhat.com>
654
655 PR c/47473
656 * c-lex.c (interpret_float): If CPP_N_IMAGINARY, ensure
657 EXCESS_PRECISION_EXPR is created with COMPLEX_TYPE instead of
658 REAL_TYPE.
659
908ef79b
AC
6602011-01-26 Arnaud Charlet <charlet@adacore.com>
661
662 * c-ada-spec.c (dump_generic_ada_node): Avoid dereferencing null type.
663
237e9384
JJ
6642011-01-26 Jakub Jelinek <jakub@redhat.com>
665
666 PR pch/47430
667 * c-opts.c (c_common_post_options): Call c_common_no_more_pch
668 after init_c_lex if pch_file is set.
669
47ea1edf
DK
6702011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
671
d4dba752 672 PR c++/43601
47ea1edf
DK
673 * c.opt (-fkeep-inline-dllexport): New switch.
674
2aa9c6ae
RG
6752011-01-12 Richard Guenther <rguenther@suse.de>
676
677 PR middle-end/32511
678 * c-common.c (handle_weak_attribute): Warn instead of error
679 on declaring an inline function weak.
680
7bd11157
TT
6812011-01-05 Tom Tromey <tromey@redhat.com>
682
683 * c-common.h (lvalue_error): Update.
684 * c-common.c (lvalue_error): Add 'loc' argument. Call error_at,
685 not error.
686
0e66e494
NP
6872010-12-29 Nicola Pero <nicola.pero@meta-innovation.com>
688
b4f588c4
NP
689 PR objc/47075
690 * c-objc.h (objc_finish_message_expr): Added argument to
691 prototype.
692
f4da8dce
NF
6932010-12-22 Nathan Froyd <froydnj@codesourcery.com>
694
695 * c-common.c (handle_nonnull_attribute, handle_sentinel_attribute):
696 Use prototype_p.
697
46270f14
NP
6982010-12-18 Nicola Pero <nicola.pero@meta-innovation.com>
699
700 * c-objc.h (objc_maybe_warn_exceptions): New.
701 * stub-objc.c (objc_maybe_warn_exceptions): New.
702
4816c593
NF
7032010-12-10 Nathan Froyd <froydnj@codesourcery.com>
704
705 * c-common.h (readonly_error): Declare.
706 * c-common.c (readonly_error): Define.
707
7a6daeb0
NF
7082010-12-09 Nathan Froyd <froydnj@codesourcery.com>
709
710 * c-common.h (invalid_indirection_error): Declare.
711 * c-common.c (invalid_indirection_error): Define.
712
892f6119
RG
7132010-12-03 Richard Guenther <rguenther@suse.de>
714
715 PR c/46745
716 * c-pretty-print.c (pp_c_postfix_expression): Handle MEM_REF.
717 (pp_c_unary_expression): Likewise.
718 (pp_c_expression): Likewise.
719
6c39e757
NP
7202010-11-30 Nicola Pero <nicola.pero@meta-innovation.com>
721
722 * c-common.h (objc_finish_function): New.
723 (objc_non_volatilized_type): Removed.
724 (objc_type_quals_match): Removed.
725 * stub-objc.c (objc_finish_function): New.
726 (objc_non_volatilized_type): Removed.
727 (objc_type_quals_match): Removed.
728
7c475d11
JM
7292010-11-30 Joseph Myers <joseph@codesourcery.com>
730
731 * c-common.h (parse_optimize_options): Declare.
732 * c-cppbuiltin.c, c-format.c, c-gimplify.c, c-lex.c, c-omp.c,
733 c-pch.c, c-pragma.c, c-semantics.c: Don't include toplev.h.
734
71f3e391
JM
7352010-11-29 Joseph Myers <joseph@codesourcery.com>
736
737 * c-opts.c (check_deps_environment_vars): Use getenv instead of
738 GET_ENVIRONMENT.
739 * c-pch.c (O_BINARY): Don't define here.
740 * c-pragma.h: Include "cpplib.h" instead of <cpplib.h>.
741
d5fabb58
JM
7422010-11-25 Joseph Myers <joseph@codesourcery.com>
743
744 * c-cppbuiltin.c (c_cpp_builtins): Pass &global_options to
745 targetm.except_unwind_info.
746
299404a1
JM
7472010-11-23 Joseph Myers <joseph@codesourcery.com>
748
749 * c-opts.c (c_common_handle_option): Pass location to
750 set_struct_debug_option.
751
c98cd5bf
JM
7522010-11-23 Joseph Myers <joseph@codesourcery.com>
753
754 * c-common.c (visibility_options): Move from ../opts.c.
755 * c-common.h (struct visibility_flags, visibility_options):
756 Declare here.
757 * c-opts.c (finish_options): Rename to c_finish_options.
758 (c_common_init): Update call to finish_options.
759
a9546771
NP
7602010-11-22 Nicola Pero <nicola.pero@meta-innovation.com>
761
762 PR objc/34033
763 * c-lex.c (lex_string): Check that each string in an Objective-C
764 string concat sequence starts with either one or zero '@', and
765 that there are no spurious '@' signs at the end.
766
24a57808
JM
7672010-11-20 Joseph Myers <joseph@codesourcery.com>
768
769 * c-pragma.c: Remove conditionals on HANDLE_PRAGMA_PACK,
770 HANDLE_PRAGMA_PACK_PUSH_POP, HANDLE_PRAGMA_WEAK and
771 HANDLE_PRAGMA_VISIBILITY.
772 * c-pragma.h (HANDLE_PRAGMA_WEAK, HANDLE_PRAGMA_PACK,
773 HANDLE_PRAGMA_VISIBILITY): Don't define.
774 (HANDLE_SYSV_PRAGMA, HANDLE_PRAGMA_PACK_PUSH_POP): Don't test.
775
a9aa2c3a
NF
7762010-11-20 Nathan Froyd <froydnj@codesourcery.com>
777
778 PR c++/16189
779 PR c++/36888
780 PR c++/45331
781 * c-common.h (keyword_begins_type_specifier): Declare.
782 (keyword_is_storage_class_specifier): Declare.
783 (keyword_is_type_qualifier): Declare.
784 * c-common.c (keyword_begins_type_specifier): New function.
785 (keyword_is_storage_class_specifier): New function.
786 (keyword_is_type_qualifier): Declare.
787
5386338c
JM
7882010-11-19 Joseph Myers <joseph@codesourcery.com>
789
790 PR c/46547
791 * c-common.c (in_late_binary_op): Define.
792 (c_common_truthvalue_conversion): Check in_late_binary_op before
793 calling c_save_expr.
794 * c-common.h (in_late_binary_op): Declare.
795
69ccdddb
JM
7962010-11-19 Joseph Myers <joseph@codesourcery.com>
797
798 * c-opts.c (c_common_handle_option): Update calls to
799 set_struct_debug_option.
800
6b192a09
NP
8012010-11-19 Nicola Pero <nicola.pero@meta-innovation.com>
802
803 * c-common.h (objc_declare_protocols): Added additional argument.
804 * stub-objc.c (objc_declare_protocol): Same change.
805
fb52b50a
NF
8062010-11-18 Nathan Froyd <froydnj@codesourcery.com>
807
808 PR c/33193
809 * c-common.h (build_real_imag_expr): Declare.
810 * c-semantics.c (build_real_imag_expr): Define.
811
b37421c6
JM
8122010-11-17 Joseph Myers <joseph@codesourcery.com>
813
814 * c-opts.c (c_common_parse_file): Take no arguments.
815 * c-common.h (c_common_parse_file): Update prototype.
816
07078664
JJ
8172010-11-16 Jakub Jelinek <jakub@redhat.com>
818
819 PR c++/46401
820 * c-common.c (warning_candidate_p): Don't track non-const calls
821 or STRING_CSTs.
822
c6a13190
ILT
8232010-11-15 Ian Lance Taylor <iant@google.com>
824
825 * c-lex.c (init_c_lex): Set macro debug callbacks if
826 flag_dump_go_spec is set.
827
925e8657
NP
8282010-11-15 Nicola Pero <nicola.pero@meta-innovation.com>
829
830 * c-common.h (objc_build_incr_expr_for_property_ref): New.
831 * stub-objc.c (objc_build_incr_expr_for_property_ref): New.
832
bb0a9581
NF
8332010-11-15 Nathan Froyd <froydnj@codesourcery.com>
834
835 PR preprocessor/45038
836 * c-cppbuiltin.c (c_cpp_builtins): Use different format for C++
837 dialects.
838
c5fa0890
JM
8392010-11-12 Joseph Myers <joseph@codesourcery.com>
840
841 * c-common.h (c_family_lang_mask): Declare.
842 * c-opts.c (c_family_lang_mask): Make extern.
843 * c-pragma.c (handle_pragma_diagnostic): Use
844 control_warning_option.
845
a4d8c676
JM
8462010-11-12 Joseph Myers <joseph@codesourcery.com>
847
848 * c-common.c (parse_optimize_options): Update call to
849 decode_options.
850 * c-common.h (c_common_handle_option): Update prototype.
851 * c-opts.c (c_common_handle_option): Take location_t parameter and
852 pass it to other functions.
853
f954bd2c
JM
8542010-11-11 Joseph Myers <joseph@codesourcery.com>
855
856 * c-opts.c (warning_as_error_callback): Remove.
857 (c_common_initialize_diagnostics): Don't call
858 register_warning_as_error_callback.
859 (c_common_handle_option): Handle -Werror=normalized= here.
860
d8a07487
JM
8612010-11-10 Joseph Myers <joseph@codesourcery.com>
862
863 * c-common.c (handle_mode_attribute): Use %' and word "signedness"
864 in diagnostic.
865 * c-opts.c (c_common_parse_file): Start diagnostics with lowercase
866 letter.
867 * c-pragma.c (handle_pragma_target, handle_pragma_optimize):
868 Remove trailing '.' from diagnostics.
869 * c.opt (Wwrite-strings_: Avoid '`' in help text.
870
d5478783
JM
8712010-11-10 Joseph Myers <joseph@codesourcery.com>
872
873 * c-common.c (parse_optimize_options): Pass global_dc to
874 decode_options.
875 * c-opts.c (c_common_handle_option): Pass &global_options to
876 set_Wstrict_aliasing.
877 * c.opt (v): Don't mark Common or document here.
878
91ebb981
IS
8792010-11-06 Iain Sandoe <iains@gcc.gnu.org>
880
881 PR target/44981
882 * c-format.c (format_type): New type gcc_objc_string_format_type.
883 (valid_stringptr_type_p): New.
884 (handle_format_arg_attribute): Use valid_stringptr_type_p ().
885 (check_format_string): Pass expected type, use
886 valid_stringptr_type_p (), check that the format string types are
887 consistent with the format specification.
888 (decode_format_attr): Warn if NSString is used outside objective-c.
889 (format_types_orig): Add NSString.
890 (format_name): New.
891 (format_flags): New.
892 (check_format_arg): Handle format strings requiring an external parser.
893 first_target_format_type: New variable.
894 (handle_format_attribute): Set up first_target_format_type, pass the
895 expected format arg string type to check_format_string().
896 * c-common.h (FMT_FLAG_PARSE_ARG_CONVERT_EXTERNAL): New flag.
897 * stub-objc.c (objc_string_ref_type_p): New.
898 (objc_check_format_arg): New.
899
bede2adc
NP
9002010-11-04 Nicola Pero <nicola.pero@meta-innovation.com>
901
902 Fixed using the Objective-C 2.0 dot-syntax with class names.
903 * c-common.h (objc_build_class_component_ref): New.
904 * stub-objc.c (objc_build_class_component_ref): New.
905
9a179d01
NP
9062010-11-03 Nicola Pero <nicola.pero@meta-innovation.com>
907
908 * c.opt (Wproperty-assign-default): New option.
909
22d8d616
NP
9102010-11-03 Nicola Pero <nicola.pero@meta-innovation.com>
911
912 Implemented -fobjc-std=objc1 flag.
913 * c.opt (fobjc-std=objc1): New option.
914
2debdb4f
NP
9152010-11-01 Nicola Pero <nicola.pero@meta-innovation.com>
916
917 Implemented format and noreturn attributes for Objective-C methods.
918 * c-common.c (handle_noreturn_attribute): Recognize 'noreturn'
919 attribute for Objective-C methods.
920
ec52b111
JM
9212010-10-31 Jason Merrill <jason@redhat.com>
922
923 * c-common.c (conversion_warning, warn_for_collisions_1): Use
924 EXPR_LOC_OR_HERE.
925
46a88c12
NP
9262010-10-30 Nicola Pero <nicola.pero@meta-innovation.com>
927
928 Implemented Objective-C 2.0 @property, @synthesize and @dynamic.
929 * c-common.h (enum rid): Removed RID_COPIES and RID_IVAR.
930 (objc_add_property_declaration): Removed arguments for copies and
931 ivar.
932 (objc_build_getter_call): Renamed to
933 objc_maybe_build_component_ref.
934 (objc_build_setter_call): Renamed to objc_maybe_build_modify_expr.
935 (objc_is_property_ref): New.
936 * c-common.c (c_common_reswords): Removed copies and ivar.
937 * stub-objc.c (objc_add_property_declaration): Removed arguments
938 for copies and ivar.
939 (objc_build_getter_call): Renamed to
940 objc_maybe_build_component_ref.
941 (objc_build_setter_call): Renamed to objc_maybe_build_modify_expr.
942 (objc_is_property_ref): New.
943
1e4bf85b
AC
9442010-10-29 Arnaud Charlet <charlet@adacore.com>
945 Matthew Gingell <gingell@adacore.com>
946
947 * c-ada-spec.c (separate_class_package): New function.
948 (pp_ada_tree_identifier): Prefix references to C++ classes with the
949 name of their enclosing package.
950 (print_ada_declaration): Use separate_class_package.
951
81f0bab2
JM
9522010-10-27 Jason Merrill <jason@redhat.com>
953
2b08f2c5
JM
954 * c-common.c (c_common_reswords): Add __is_literal_type.
955 * c-common.h (enum rid): Add RID_IS_LITERAL_TYPE.
956
81f0bab2
JM
957 * c-common.c (check_case_value): Remove special C++ code.
958
200290f2
NP
9592010-10-27 Nicola Pero <nicola.pero@meta-innovation.com>
960
961 * c-common.h (enum rid): Added RID_READWRITE, RID_ASSIGN,
962 RID_RETAIN, RID_COPY and RID_NONATOMIC. Updated RID_FIRST_PATTR
963 and RID_LAST_PATTR.
964 (objc_add_property_declaration): Added additional arguments.
965 (objc_property_attribute_kind): Removed.
966 (objc_set_property_attr): Removed.
967 * c-common.c (c_common_reswords): Added readwrite, assign, retain,
968 copy and nonatomic.
969 * stub-objc.c (objc_add_property_declaration): Added additional
970 arguments.
971 (objc_set_property_attr): Removed.
972
f614132b
NP
9732010-10-27 Nicola Pero <nicola.pero@meta-innovation.com>
974
975 * c-common.h (objc_add_property_variable): Renamed to
976 objc_add_property_declaration. Added location argument.
977 * stub-objc.c (objc_add_property_variable): Same change.
978
b8a18805
NP
9792010-10-23 Nicola Pero <nicola.pero@meta-innovation.com>
980
981 * c-common.h (objc_maybe_printable_name): New.
982 * stub-objc.c (objc_maybe_printable_name): New.
983
30cd1c5d
AS
9842010-10-22 Artjoms Sinkarovs <artyom.shinakroff@gmail.com>
985 Andrew Pinski <pinskia@gmail.com>
986
987 * c-common.h (c_common_mark_addressable_vec): Declare.
988 * c-common.c (c_common_mark_addressable_vec): New function.
989
249a82c4
NP
9902010-10-20 Nicola Pero <nicola.pero@meta-innovation.com>
991
992 * c-common.h (objc_set_method_type): Removed.
993 (objc_add_method_declaration): Added boolean argument.
994 (objc_start_method_definition): Same change.
995 (objc_build_method_signature): Same change.
996 * stub-objc.c (objc_set_method_type): Removed.
997 (objc_add_method_declaration): Added boolean argument.
998 (objc_start_method_definition): Same change.
999 (objc_build_method_signature): Same change.
1000
977e30bc
NP
10012010-10-20 Nicola Pero <nicola.pero@meta-innovation.com>
1002
1003 * c-common.h (finish_file): Removed.
1004 (objc_write_global_declarations): New.
1005 * c-opts.c (c_common_parse_file): Do not call finish_file.
1006 * stub-objc.c (objc_write_global_declarations): New.
1007
da57d1b9
NP
10082010-10-18 Nicola Pero <nicola.pero@meta-innovation.com>
1009
1010 Implemented parsing @synthesize and @dynamic for
1011 Objective-C/Objective-C++.
1012 * c-common.h (enum rid): Add RID_AT_SYNTHESIZE and RID_AT_DYNAMIC.
1013 (objc_add_synthesize_declaration): New.
1014 (objc_add_dynamic_declaration): New.
1015 * c-common.c (c_common_reswords): Add synthesize and dynamic.
1016 * stub-objc.c (objc_add_synthesize_declaration): New.
1017 (objc_add_dynamic_declaration): New.
1018
0069111f
MM
10192010-10-18 Michael Meissner <meissner@linux.vnet.ibm.com>
1020
1021 PR target/46041
1022 * c-cppbuiltin.c (mode_has_fma): Move function here from
1023 builtins.c. Don't use the fma optab, instead just use the
1024 HAVE_fma* macros, so that __FP_FAST_FMA* will be defined when
1025 using -save-temps.
1026
e426b47b
NP
10272010-10-18 Nicola Pero <nicola.pero@meta-innovation.com>
1028
1029 Merge from 'apple/trunk' branch on FSF servers.
0069111f 1030
e426b47b
NP
1031 2005-11-08 Fariborz Jahanian <fjahanian@apple.com>
1032
1033 Radar 4330422
1034 * c-common.h (objc_non_volatilized_type): New declaration
1035 * stub-objc.c (objc_non_volatilized_type): New stub.
1036
90fbfdc3
NP
10372010-10-17 Nicola Pero <nicola.pero@meta-innovation.com>
1038
e426b47b 1039 Merge from 'apple/trunk' branch on FSF servers.
90fbfdc3
NP
1040
1041 2006-03-27 Fariborz Jahanian <fjahanian@apple.com>
1042
1043 Radar 4133425
1044 * c-common.h (objc_diagnose_private_ivar): New decl.
0069111f 1045 * stub-objc.c (objc_diagnose_private_ivar): New stub.
90fbfdc3 1046
c37d8c30
IS
10472010-10-17 Iain Sandoe <iains@gcc.gnu.org>
1048
1049 * c-common.c (c_common_reswords): Add package, RID_AT_PACKAGE.
1050 * c-common.h (enum rid): Add RID_AT_PACKAGE.
1051 (objc_ivar_visibility_kind): New enum.
1052 (objc_set_visibility): Adjust prototype to use visibility enum.
0069111f 1053 * stub-objc.c (objc_set_visibility): Adjust stub to use
c37d8c30
IS
1054 visibility enum.
1055
1b1562a5
MM
10562010-10-14 Michael Meissner <meissner@linux.vnet.ibm.com>
1057
1058 * c-cppbuiltin.c (builtin_define_float_constants): Emit
1059 __FP_FAST_FMA, __FP_FAST_FMAF, and __FP_FAST_FMAL if the machine
1060 has the appropriate fma builtins.
1061 (c_cpp_builtins): Adjust call to builtin_define_float_constants.
1062
668ea4b1
IS
10632010-10-14 Iain Sandoe <iains@gcc.gnu.org>
1064
1b1562a5 1065 merge from FSF apple 'trunk' branch.
668ea4b1 1066 2006 Fariborz Jahanian <fjahanian@apple.com>
1b1562a5 1067
668ea4b1
IS
1068 Radars 4436866, 4505126, 4506903, 4517826
1069 * c-common.c (c_common_resword): Define @property and its attributes.
1070 * c-common.h: Define property attribute enum entries.
1071 (OBJC_IS_PATTR_KEYWORD): New.
1072 (objc_property_attribute_kind): New enum.
1073 Declare objc_set_property_attr (), objc_add_property_variable (),
1074 objc_build_getter_call () and objc_build_setter_call ().
1075 * stub-objc.c (objc_set_property_attr): New stub.
1076 (objc_add_property_variable): Likewise.
1077 (objc_build_getter_call): Likewise.
1078 (objc_build_setter_call) Likewise.
1b1562a5 1079
a1178b30
IS
10802010-10-13 Iain Sandoe <iains@gcc.gnu.org>
1081
1b1562a5 1082 merge from FSF apple 'trunk' branch.
a1178b30
IS
1083 2006-04-26 Fariborz Jahanian <fjahanian@apple.com>
1084
1085 Radar 3803157 (method attributes)
1086 * c-common.c (handle_deprecated_attribute): Recognize
1087 objc methods as valid declarations.
1088 * c-common.h: Declare objc_method_decl ().
1b1562a5 1089 * stub-objc.c (objc_method_decl): New stub.
a1178b30 1090
a75bfaa6
JM
10912010-10-08 Joseph Myers <joseph@codesourcery.com>
1092
1093 * c-common.c (parse_optimize_options): Call
1094 decode_cmdline_options_to_array_default_mask before
1095 decode_options. Update arguments to decode_options.
1096 * c-common.h (c_common_init_options_struct): Declare.
1097 * c-opts.c (c_common_init_options_struct): New. Split out from
1098 c_common_init_options.
1099
f05b9d93
NP
11002010-10-06 Nicola Pero <nicola.pero@meta-innovation.com>
1101
1102 Implemented fast enumeration for Objective-C.
1103 * c-common.h (objc_finish_foreach_loop): New.
1104 * stub-objc.c (objc_finish_foreach_loop): New.
1105
1ebe4b4f
JM
11062010-10-05 Joseph Myers <joseph@codesourcery.com>
1107
1108 * c-common.h (struct diagnostic_context): Don't declare here.
1109 (c_common_initialize_diagnostics): Declare using
1110 diagnostic_context typedef.
1111 * c-opts.c (c_common_handle_option): Pass global_dc to
1112 handle_generated_option.
1113
d4d24ba4
JM
11142010-10-04 Joseph Myers <joseph@codesourcery.com>
1115
1116 * c-opts.c (c_common_handle_option): Pass &global_options_set to
1117 handle_generated_option.
1118
478a1c5b
ILT
11192010-10-03 Ian Lance Taylor <iant@google.com>
1120
1121 * c.opt (-fplan9-extensions): New option.
1122
82a1c2fe
FXC
11232010-10-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
1124
1125 * c-cppbuiltin.c (define__GNUC__, builtin_define_type_precision):
1126 Remove.
1127 (c_cpp_builtins): Call functions from cppbuiltin.c instead
1128 of duplicating code.
1129
92902b1b
IS
11302010-09-30 Iain Sandoe <iains@gcc.gnu.org>
1131
1132 * c-common.c: Add two new entries for @optional
1133 and @required keywords.
1134
1135 merge from FSF 'apple/trunk' branch.
1136 2006-01-30 Fariborz Jahanian <fjahanian@apple.com>
1137
1138 Radar 4386773
1139 * c-common.h (RID_AT_OPTIONAL, RID_AT_REQUIRED): Two new
1140 objective-c keywords.
1141 (objc_set_method_opt): New declaration.
1142 * stub-objc.c (objc_set_method_opt): New stub.
1143
46625112
JM
11442010-09-30 Joseph Myers <joseph@codesourcery.com>
1145
1146 * c-common.c (handle_optimize_attribute): Pass &global_options to
1147 cl_optimization_save and cl_optimization_restore.
1148 * c-opts.c (c_common_handle_option): Pass &global_options to
1149 handle_generated_option.
1150 * c-pragma.c (handle_pragma_diagnostic): Use option_flag_var.
1151 (handle_pragma_pop_options, handle_pragma_reset_options): Pass
1152 &global_options to cl_optimization_restore.
1153
49b91f05
NP
11542010-09-30 Nicola Pero <nicola.pero@meta-innovation.com>
1155
1156 * c-lex.c (c_lex_with_flags): Updated comments for CPP_AT_NAME
1157 Objective-C/Objective-C++ keywords.
1158
13ed556f 11592010-09-29 Nicola Pero <nicola.pero@meta-innovation.com>
a6341d57
NP
1160
1161 Merge from 'apple/trunk' branch on FSF servers.
1162
1163 2005-10-04 Fariborz Jahanian <fjahanian@apple.com>
1164
1165 Radar 4281748
1166 * c-common.h (objc_check_global_decl): New declaration.
1167 * stub-objc.c (objc_check_global_decl): New stub.
1168
f0036cca
JM
11692010-09-29 Joseph Myers <joseph@codesourcery.com>
1170
1171 * c.opt: Don't use VarExists.
1172
e3339d0f
JM
11732010-09-29 Joseph Myers <joseph@codesourcery.com>
1174
1175 * c-common.c (c_cpp_error): Update names of diagnostic_context
1176 members.
1177 * c-cppbuiltin.c (c_cpp_builtins_optimize_pragma): Update names of
1178 cl_optimization members.
1179 * c-opts.c (warning_as_error_callback, c_common_handle_option,
1180 sanitize_cpp_opts, finish_options): Update names of cpp_options
1181 members.
1182
1973201f
NP
11832010-09-29 Nicola Pero <nicola.pero@meta-innovation.com>
1184
1185 * c-common.h (OBJC_IS_CXX_KEYWORD): New macro. Updated comments.
1186 (objc_is_reserved_word): Removed.
1187 * c-common.c: Updated comments.
1188 * c-lex.c (c_lex_with_flags): Use OBJC_IS_CXX_KEYWORD instead of
1189 objc_is_reserved_word.
1190 * stub-objc.c (objc_is_reserved_word): Removed.
1191
f7e71da5
IS
11922010-09-28 Iain Sandoe <iains@gcc.gnu.org>
1193
1194 * c-common.h (objc_add_method_declaration): Adjust prototype to
1195 include attributes.
1196 (objc_start_method_definition): Likewise.
1197 (objc_build_keyword_decl): Likewise.
1198 * stub-objc.c:(objc_add_method_declaration): Handle attributes.
1199 (objc_start_method_definition): Likewise.
1200 (objc_build_keyword_decl): Likewise.
1201
c165dca7
IS
12022010-09-28 Iain Sandoe <iains@gcc.gnu.org>
1203
1204 * c-common.h (objc_start_class_interface): Adjust prototype.
1205 (objc_start_category_interface): Likewise.
1206 (objc_start_protocol): Likewise.
1207 * stub-objc.c (objc_start_protocol): Adjust for extra argument.
1208 (objc_start_class_interface): Likewise.
1209 (objc_start_category_interface): Likewise.
1210
7458026b
ILT
12112010-09-27 Ian Lance Taylor <iant@google.com>
1212
1213 * c-common.c (c_common_attribute_table): Add no_split_stack.
1214 (handle_no_split_stack_attribute): New static function.
1215
b581b85b
NP
12162010-09-27 Nicola Pero <nicola.pero@meta-innovation.com>
1217
1218 Merge from 'apple/trunk' branch on FSF servers.
1219
1220 2005-12-15 Fariborz Jahanian <fjahanian@apple.com>
1221
1222 Radar 4229905
1223 * c-common.h (objc_have_common_type): New declaration.
1224 * stub-objc.c (objc_have_common_type): New stub.
1225
1226 2005-06-22 Ziemowit Laski <zlaski@apple.com>
1227
1228 Radar 4154928
1229 * c-common.h (objc_common_type): New prototype.
1230 * stub-objc.c (objc_common_type): New stub.
1231
46a4da10
JH
12322010-09-24 Jan Hubicka <jh@suse.cz>
1233
1234 * c-common.c (handle_leaf_attribute): New function.
1235 (struct attribute_spec c_common_att): Add leaf.
1236
e200444e
JM
12372010-09-22 Joseph Myers <joseph@codesourcery.com>
1238
1239 * c.opt (-all-warnings, -ansi, -assert, -assert=, -comments,
1240 -comments-in-macros, -define-macro, -define-macro=, -dependencies,
1241 -dump, -dump=, -imacros, -imacros=, -include, -include=,
1242 -include-barrier, -include-directory, -include-directory=,
1243 -include-directory-after, -include-directory-after=,
1244 -include-prefix, -include-prefix=, -include-with-prefix,
1245 -include-with-prefix=, -include-with-prefix-after,
1246 -include-with-prefix-after=, -include-with-prefix-before,
1247 -include-with-prefix-before=, -no-integrated-cpp,
1248 -no-line-commands, -no-standard-includes, -no-warnings, -output,
1249 -output=, -pedantic, -pedantic-errors, -preprocess,
1250 -print-missing-file-dependencies, -trace-includes, -traditional,
1251 -traditional-cpp, -trigraphs, -undefine-macro, -undefine-macro=,
1252 -user-dependencies, -verbose, -write-dependencies,
1253 -write-user-dependencies, no-integrated-cpp, traditional): New.
1254
29a80ea6
NP
12552010-09-21 Nicola Pero <nicola.pero@meta-innovation.com>
1256
1257 PR objc/23710
ac1fc2fc
NP
1258 * c-common.h (objc_start_method_definition): Return bool instead
1259 of void.
1260 * stub-objc.c (objc_start_method_definition): Return bool instead
1261 of void.
1262
12632010-09-21 Nicola Pero <nicola.pero@meta-innovation.com>
1264
1265 PR objc/25965
1266 * c-common.h (objc_get_interface_ivars): New declaration.
1267 * stub-objc.c (objc_get_interface_ivars): New stub.
29a80ea6 1268
de621752
ILT
12692010-09-15 Ian Lance Taylor <iant@google.com>
1270
1271 * c-common.c (parse_optimize_options): Do not capitalize warning
06730c5d 1272 messages. Remove period at end of warning message.
de621752 1273
ba885ec5
NS
12742010-09-09 Nathan Sidwell <nathan@codesourcery.com>
1275
1276 * c-common.c (handle_alias_ifunc_attribute): New, broken out of ...
1277 (handle_alias_attribute): ... here.
1278 (handle_ifunc_attribute): New.
1279
c5ee1358
MM
12802010-09-06 Mark Mitchell <mark@codesourcery.com>
1281
1282 * c-common.h (do_warn_double_promotion): Declare.
1283 * c-common.c (do_warn_double_promotion): Define.
1284
0a0b3574
MM
12852010-09-05 Mark Mitchell <mark@codesourcery.com>
1286
1287 * c.opt (Wdouble-promotion): New.
1288
d1779886
JM
12892010-09-02 Joseph Myers <joseph@codesourcery.com>
1290
1291 * c.opt (falt-external-templates, fhuge-objects, fvtable-gc,
1292 fvtable-thunks, fxref): Mark no longer supported in help text.
1293
2d2bd949
JM
12942010-09-02 Joseph Myers <joseph@codesourcery.com>
1295
1296 * c.opt (Wimport, fall-virtual, falt-external-templates,
1297 fdefault-inline, fenum-int-equiv, fexternal-templates,
1298 fguiding-decls, fhonor-std, fhuge-objects, flabels-ok,
1299 fname-mangling-version-, fnew-abi, fnonnull-objects,
1300 foptional-diags, fsquangle, fstrict-prototype, fthis-is-variable,
1301 fvtable-gc, fvtable-thunks, fxref): Mark with Ignore and Warn as
1302 applicable.
1303 (fhandle-exceptions): Mark with Alias and Warn.
1304 * c-opts.c (c_common_handle_option): Don't handle options marked
1305 as ignored.
1306
5de8299c
JM
13072010-09-02 Joseph Myers <joseph@codesourcery.com>
1308
1309 * c.opt (Wcomments, Werror-implicit-function-declaration,
1310 ftemplate-depth-, std=c89, std=c9x, std=gnu89, std=gnu9x,
1311 std=iso9899:1990, std=iso9899:1999, std=iso9899:199x): Mark as
1312 aliases.
1313 * c-common.c (option_codes): Use OPT_Wcomment instead of
1314 OPT_Wcomments.
1315 * c-opts.c (warning_as_error_callback, c_common_handle_option):
1316 Don't handle options marked as aliases.
1317
0ceb0201
RG
13182010-08-25 Richard Guenther <rguenther@suse.de>
1319
1320 * c-common.c (c_common_get_alias_set): Remove special
1321 handling for pointers.
1322
ac47786e
NF
13232010-08-20 Nathan Froyd <froydnj@codesourcery.com>
1324
1325 * c-common.c: Use FOR_EACH_VEC_ELT.
1326 * c-gimplify.c: Likewise.
1327 * c-pragma.c: Likewise.
1328
c878765b
JM
13292010-08-16 Joseph Myers <joseph@codesourcery.com>
1330
1331 * c.opt (MDX): Change back to MD. Mark NoDriverArg instead of
1332 RejectDriver.
1333 (MMDX): Change back to MMD. Mark NoDriverArg instead of
1334 RejectDriver.
1335 * c-opts.c (c_common_handle_option): Use OPT_MD and OPT_MMD
1336 instead of OPT_MDX and OPT_MMDX.
1337
603349bf
JM
13382010-08-16 Joseph Myers <joseph@codesourcery.com>
1339
1340 * c.opt (MDX, MMDX, lang-asm): Mark RejectDriver.
1341
644fa7ac
JM
13422010-08-12 Joseph Myers <joseph@codesourcery.com>
1343
1344 * c.opt (MD, MMD): Change to MDX and MMDX.
1345 * c-opts.c (c_common_handle_option): Use OPT_MMD and OPT_MMDX.
1346
481e1176
JM
13472010-08-11 Joseph Myers <joseph@codesourcery.com>
1348
1349 * c-opts.c (c_common_handle_option): Call handle_generated_option
1350 instead of handle_option.
1351
ac8dc9f7
NF
13522010-08-08 Nathan Froyd <froydnj@codesourcery.com>
1353
1354 * c-pragma.c (add_to_renaming_pragma_list): Fix call to VEC_safe_push.
1355 (maybe_apply_renaming_pragma): Delete unneeded declarations.
1356
4f8c876d
NF
13572010-08-08 Nathan Froyd <froydnj@codesourcery.com>
1358
1359 * c-pragma.c (pending_redefinition): Declare. Declare a VEC of it.
1360 (pending_redefine_extname): Change type to a VEC.
1361 (add_to_renaming_pragma_list): Update for new type of
1362 pending_redefine_extname.
ac8dc9f7 1363 (maybe_apply_renaming_pragma): Likewise.
4f8c876d 1364
3b0c690e
AC
13652010-08-04 Arnaud Charlet <charlet@adacore.com>
1366
1367 * c-ada-spec.c (dump_ada_template): Mark underlying instance type as
1368 visited.
1369 (dump_generic_ada_node): Code clean up. Use TREE_VISITED flag to
1370 decide whether a type has already been declared/seen.
1371 Do not go to the original type.
1372 (dump_nested_types): New parameter forward.
1373 Generate forward declaration if needed and mark type as visited.
1374 (print_ada_declaration): Call dump_nested_types if not already done.
1375 Mark types as visited.
1376
1890bccc
JM
13772010-08-03 Joseph Myers <joseph@codesourcery.com>
1378
1379 * c.opt (-print-pch-checksum): Remove option.
1380 * c-opts.c (c_common_handle_option): Don't handle
1381 OPT_print_pch_checksum.
1382
5f20c657
JM
13832010-07-27 Joseph Myers <joseph@codesourcery.com>
1384
1385 * c-common.h (c_common_handle_option): Update prototype and return
1386 value type.
1387 * c-opts.c (c_common_handle_option): Update prototype and return
1388 value type. Update calls to handle_option and
1389 enable_warning_as_error.
1390
f551f80c
JJ
13912010-07-27 Jakub Jelinek <jakub@redhat.com>
1392
1393 PR c/45079
1394 * c-pretty-print.c (pp_c_expression): Handle C_MAYBE_CONST_EXPR.
1395
61ff2bdc
JM
13962010-07-27 Joseph Myers <joseph@codesourcery.com>
1397
1398 * c-common.h (c_common_missing_argument): Remove.
1399 * c-opts.c (c_common_missing_argument): Remove.
1400 * c.opt (A, D, F, I, MD, MMD, MQ, MT, U, fconstant-string-class=,
1401 idirafter, imacros, include, isysroot, isystem, iquote): Add
1402 MissingArgError.
1403 * c-objc-common.h (LANG_HOOKS_MISSING_ARGUMENT): Remove.
1404
7a9bf9a4
JM
14052010-07-27 Joseph Myers <joseph@codesourcery.com>
1406
1407 * c-common.h (c_common_option_lang_mask,
1408 c_common_initialize_diagnostics, c_common_complain_wrong_lang_p):
1409 New.
1410 (c_common_init_options): Update prototype.
1411 * c-opts.c (c_common_option_lang_mask): New.
1412 (c_common_initialize_diagnostics): Split out of
1413 c_common_init_options.
1414 (accept_all_c_family_options, c_common_complain_wrong_lang_p):
1415 New.
1416 (c_common_init_options): Update prototype. Use decoded options in
1417 search for -lang-asm.
1418
910ad8de
NF
14192010-07-15 Nathan Froyd <froydnj@codesourcery.com>
1420
1421 * c-common.c: Carefully replace TREE_CHAIN with DECL_CHAIN.
1422 * c-format.c: Likewise.
1423
718f9c0f
MLI
14242010-07-08 Manuel López-Ibáñez <manu@gcc.gnu.org>
1425
1426 * c-common.h: Include diagnostic-core.h. Error if already
1427 included.
1428 * c-semantics.c: Do not define GCC_DIAG_STYLE here.
1429
4d451982
MLI
14302010-07-03 Manuel López-Ibáñez <manu@gcc.gnu.org>
1431
1432 * c-family/c-common.c (IN_GCC_FRONTEND): Do not undef.
1433 Do not include expr.h
1434 (vector_mode_valid_p): Move here.
1435
119fe915
SB
14362010-06-21 DJ Delorie <dj@redhat.com>
1437
1438 * c-pragma.c (handle_pragma_diagnostic): Add push/pop,
1439 allow these pragmas anywhere.
1440
14412010-06-14 Jakub Jelinek <jakub@redhat.com>
1442
1443 PR bootstrap/44509
1444 * c-cppbuiltin.c: Include gt-c-family-c-cppbuiltin.h.
1445 (lazy_hex_fp_values, lazy_hex_fp_value_count): Add GTY(()) markers.
1446 (lazy_hex_fp_value, builtin_define_with_hex_fp_value): Use
1447 ggc_strdup instead of xstrdup.
1448
14492010-06-10 Jakub Jelinek <jakub@redhat.com>
1450
1451 * c-cppbuiltin.c: Include cpp-id-data.h.
1452 (lazy_hex_fp_values, lazy_hex_fp_value_count): New variables.
1453 (lazy_hex_fp_value): New function.
1454 (builtin_define_with_hex_fp_value): Provide definitions lazily.
1455
6662d794
MLI
14562010-06-30 Manuel López-Ibáñez <manu@gcc.gnu.org>
1457
1458 * c-gimplify.c: Do not include tree-flow.h
1459
38f8b050
JR
14602010-06-29 Joern Rennecke <joern.rennecke@embecosm.com>
1461
1462 PR other/44034
1463 * c-common.c: Rename targetm member:
1464 targetm.enum_va_list -> targetm.enum_va_list_p
1465
9589f23e
AS
14662010-06-28 Anatoly Sokolov <aesok@post.ru>
1467
1468 * c-common.c (shorten_compare): Adjust call to force_fit_type_double.
1469
3b06d379
SB
14702010-06-28 Steven Bosscher <steven@gcc.gnu.org>
1471
1472 * c-cppbuiltin.c: Do not include except.h.
1473
d166d4c3
AK
14742010-06-24 Andi Kleen <ak@linux.intel.com>
1475
1476 * c-common.c (warn_for_omitted_condop): New.
1477 * c-common.h (warn_for_omitted_condop): Add prototype.
1478
70cb8be6
JM
14792010-06-21 Joseph Myers <joseph@codesourcery.com>
1480
1481 * c.opt (lang-objc): Remove.
1482 * c-opts.c (c_common_handle_option): Don't handle OPT_lang_objc.
1483
a4c97feb
JR
14842010-06-21 Joern Rennecke <joern.rennecke@embecosm.com>
1485
1486 * c-opts.c: Include "tm_p.h".
1487
6e2f1956
JM
14882010-06-20 Joseph Myers <joseph@codesourcery.com>
1489
1490 * c-common.c (parse_optimize_options): Update call to
1491 decode_options.
1492
bc87224e
NF
14932010-06-18 Nathan Froyd <froydnj@codesourcery.com>
1494
1495 * c-common.c (record_types_used_by_current_var_decl): Adjust for
1496 new type of types_used_by_cur_var_decl.
1497
b49cf425
JR
14982010-06-17 Joern Rennecke <joern.rennecke@embecosm.com>
1499
1500 PR bootstrap/44512
1501 * c-cppbuiltin.c (builtin_define_with_hex_fp_value): Add cast
1502 for C++ standard compliance.
1503
59f9c2ed
JM
15042010-06-16 Jason Merrill <jason@redhat.com>
1505
1506 * c.opt: Add -Wnoexcept.
1507
33766b66
RG
15082010-06-16 Richard Guenther <rguenther@suse.de>
1509
1510 PR c/44555
1511 * c-common.c (c_common_truthvalue_conversion): Remove
1512 premature and wrong optimization concering ADDR_EXPRs.
1513
eff7e30c
AC
15142010-06-15 Arnaud Charlet <charlet@adacore.com>
1515
1516 * c-ada-spec.c (dump_sloc): Remove column info.
1517 (is_simple_enum): New function.
1518 (dump_generic_ada_node, print_ada_declaration): Map C enum types to Ada
1519 enum types when relevant.
1520
6312e84d
MLI
15212010-06-11 Manuel López-Ibáñez <manu@gcc.gnu.org>
1522
1523 * c-common.c (conversion_warning): Warn at expression
1524 location.
1525
1cb42611
JM
15262010-06-10 Joseph Myers <joseph@codesourcery.com>
1527
1528 * c-opts.c (c_common_handle_option): Don't handle
1529 OPT_fshow_column.
1530
a9429e29
LB
15312010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com>
1532
1533 * c-pragma.c (push_alignment): Use typed GC allocation.
1534 (handle_pragma_push_options): Likewise.
1535
1536 * c-common.c (parse_optimize_options): Likewise.
1537
1538 * c-common.h (struct sorted_fields_type): Add variable_size GTY
1539 option.
1540
5498f011
JM
15412010-06-07 Joseph Myers <joseph@codesourcery.com>
1542
1543 * c-common.c (flag_preprocess_only, flag_undef, flag_no_builtin,
1544 flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
1545 flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
1546 flag_signed_bitfields, warn_strict_null_sentinel,
1547 flag_nil_receivers, flag_zero_link, flag_replace_objc_classes,
1548 flag_gen_declaration, flag_no_gnu_keywords,
1549 flag_implement_inlines, flag_implicit_templates,
1550 flag_implicit_inline_templates, flag_optional_diags,
1551 flag_elide_constructors, flag_default_inline, flag_rtti,
1552 flag_conserve_space, flag_access_control, flag_check_new,
1553 flag_new_for_scope, flag_weak, flag_working_directory,
1554 flag_use_cxa_atexit, flag_use_cxa_get_exception_ptr,
1555 flag_enforce_eh_specs, flag_threadsafe_statics,
1556 flag_pretty_templates): Remove.
1557 * c-common.h (flag_preprocess_only, flag_nil_receivers,
1558 flag_objc_exceptions, flag_objc_sjlj_exceptions, flag_zero_link,
1559 flag_replace_objc_classes, flag_undef, flag_no_builtin,
1560 flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
1561 flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
1562 flag_const_strings, flag_signed_bitfields, flag_gen_declaration,
1563 flag_no_gnu_keywords, flag_implement_inlines,
1564 flag_implicit_templates, flag_implicit_inline_templates,
1565 flag_optional_diags, flag_elide_constructors, flag_default_inline,
1566 flag_rtti, flag_conserve_space, flag_access_control,
1567 flag_check_new, flag_new_for_scope, flag_weak,
1568 flag_working_directory, flag_use_cxa_atexit,
1569 flag_use_cxa_get_exception_ptr, flag_enforce_eh_specs,
1570 flag_threadsafe_statics, flag_pretty_templates,
1571 warn_strict_null_sentinel): Remove.
1572 * c.opt (E, Wstrict-null-sentinel, faccess-control, fasm,
1573 fbuiltin, fcheck-new, fconserve-space, felide-constructors,
1574 fenforce-eh-specs, ffor-scope, fgnu-keywords, fimplement-inlines,
1575 fimplicit-inline-templates, fimplicit-templates,
1576 flax-vector-conversions, fms-extensions, fnil-receivers,
1577 fnonansi-builtins, fpretty-templates, freplace-objc-classes,
1578 frtti, fshort-double, fshort-enums, fshort-wchar,
1579 fsigned-bitfields, fsigned-char, fstats, fthreadsafe-statics,
1580 funsigned-bitfields, funsigned-char, fuse-cxa-atexit,
1581 fuse-cxa-get-exception-ptr, fweak, fworking-directory, fzero-link,
1582 gen-decls, undef): Use Var.
1583 (fdefault-inline, foptional-diags): Document as doing nothing.
1584 * c-opts.c (c_common_handle_option): Remove cases for options now
1585 using Var. Mark ignored options as such.
1586
39dabefd
SB
15872010-06-05 Steven Bosscher <steven@gcc.gnu.org>
1588
1589 * c-common.c: Moved to here from parent directory.
1590 * c-common.def: Likewise.
1591 * c-common.h: Likewise.
1592 * c-cppbuiltin.c: Likewise.
1593 * c-dump.c: Likewise.
1594 * c-format.c: Likewise.
1595 * c-format.h : Likewise.
1596 * c-gimplify.c: Likewise.
1597 * c-lex.c: Likewise.
1598 * c-omp.c: Likewise.
1599 * c.opt: Likewise.
1600 * c-opts.c: Likewise.
1601 * c-pch.c: Likewise.
1602 * c-ppoutput.c: Likewise.
1603 * c-pragma.c: Likewise.
1604 * c-pragma.h: Likewise.
1605 * c-pretty-print.c: Likewise.
1606 * c-pretty-print.h: Likewise.
1607 * c-semantics.c: Likewise.
1608 * stub-objc.c: Likewise.
1609
1610 * c-common.c: Include gt-c-family-c-common.h.
1611 * c-pragma.c: Include gt-c-family-c-pragma.h.
1612\f
04695783 1613Copyright (C) 2010, 2011 Free Software Foundation, Inc.
39dabefd
SB
1614
1615Copying and distribution of this file, with or without modification,
1616are permitted in any medium without royalty provided the copyright
1617notice and this notice are preserved.
This page took 0.669442 seconds and 5 git commands to generate.