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