OSDN Git Service

PR ada/53517
[pf3gnuchains/gcc-fork.git] / gcc / c-family / ChangeLog
1 2012-03-23  William Bader  <williambader@hotmail.com>
2
3         PR c/52682
4         * c-lex.c (c_lex_with_flags): Avoid declarations after stmts.
5
6 2012-03-22  Release Manager
7
8         * GCC 4.7.0 released.
9
10 2012-02-13  Jakub Jelinek  <jakub@redhat.com>
11
12         PR c++/52215
13         * c-common.c (sync_resolve_params): Don't decide whether to convert
14         or not based on TYPE_SIZE comparison, convert whenever arg_type
15         is unsigned INTEGER_TYPE.
16
17 2012-02-06  Paolo Carlini  <paolo.carlini@oracle.com>
18
19         PR c/52118
20         * c.opt ([Wunused-local-typedefs]): Fix description.
21
22 2012-01-24  Mike Stump  <mikestump@comcast.net>
23
24         * c-common.c (c_common_type_for_mode): Match signed/unsigned types
25         exactly.
26
27 2012-01-18  Richard Guenther  <rguenther@suse.de>
28
29         * c-opts.c (c_common_post_options): Reset LTO flags if
30         we are about to generate a PCH.
31
32 2012-01-17  Paolo Carlini  <paolo.carlini@oracle.com>
33
34         PR c++/51777
35         * c-pretty-print.c (pp_c_integer_constant): For unsigned constants
36         use pp_unsigned_wide_integer.
37
38 2012-01-10  Richard Guenther  <rguenther@suse.de>
39
40         PR middle-end/51806
41         * c-opts.c (c_common_handle_option): Move -Werror handling
42         to language independent code.
43
44 2012-01-05  Richard Guenther  <rguenther@suse.de>
45
46         PR middle-end/51764
47         * c.opt (Wmudflap, fmudflap, fmudflapth, fmudflapir): Move here
48         from common.opt.
49
50 2011-12-30  Paolo Carlini  <paolo.carlini@oracle.com>
51
52         PR c++/51316
53         * c-common.c (c_sizeof_or_alignof_type): In C++ allow for alignof
54         of array types with an unknown bound.
55
56 2011-12-20  Joseph Myers  <joseph@codesourcery.com>
57
58         * c-common.c (flag_isoc99): Update comment to refer to C11.
59         (flag_isoc1x): Change to flag_isoc11.
60         * c-common.h (flag_isoc99): Update comment to refer to C11.
61         (flag_isoc1x): Change to flag_isoc11.
62         * c-cppbuiltin.c (cpp_atomic_builtins): Change comment to refer to
63         C11.
64         * c-opts.c (set_std_c1x): Change to set_std_c11.
65         (c_common_handle_option): Handle OPT_std_c11 and OPT_std_gnu11.
66         Call set_std_c11.
67         (set_std_c89, set_std_c99, set_std_c11): Use flag_isoc11.
68         (set_std_c1): Use CLK_STDC11 and CLK_GNUC11.
69         * c.opt (std=c1x): Change to std=c11.  Document as non-draft
70         standard.
71         (std=c1x, std=iso9899:2011): Add as aliases of std=c11.
72         (std=gnu1x): Change to std=gnu11.  Refer to non-draft standard.
73         (std=gnu1x): Make alias of std=gnu11.
74
75 2011-12-19  Jason Merrill  <jason@redhat.com>
76
77         PR c++/51228
78         * c-common.c (handle_transparent_union_attribute): Check the first
79         field if the type is complete.
80
81 2011-12-15  Jonathan Wakely  <jwakely.gcc@gmail.com>
82
83         PR libstdc++/51365
84         * c-common.c (RID_IS_FINAL): Add.
85         * c-common.h (RID_IS_FINAL): Add.
86
87 2011-11-30  Iain Sandoe  <iains@gcc.gnu.org>
88
89         * c.opt (fgnu-runtime): Provide full description.
90         (fnext-runtime): Likewise.
91         * c-opts.c (OPT_fgnu_runtime, OPT_fnext_runtime) Remove.
92
93 2011-11-28  Andrew MacLeod  <amacleod@redhat.com>
94
95         * c-cpp-builtin.c (cpp_atomic_builtins):New.  Emit all atomic
96         predefines in one place.  Add LOCK_FREE predefines.
97         (c_cpp_builtins): Move Legacy HAVE_SYNC predefines to
98         new func.
99
100 2011-11-24  Andrew MacLeod  <amacleod@redhat.com>
101
102         PR c/51256
103         * c-common.c (get_atomic_generic_size): Check for various error 
104         conditions
105         (resolve_overloaded_atomic_exchange, 
106         resolve_overloaded_atomic_compare_exchange, 
107         resolve_overloaded_atomic_load, resolve_overloaded_atomic_store): Return
108         error_mark_node for error conditions.
109         
110 2011-11-08  Richard Guenther  <rguenther@suse.de>
111
112         PR middle-end/51010
113         c-family/
114
115 2011-11-07  Richard Henderson  <rth@redhat.com>
116             Aldy Hernandez  <aldyh@redhat.com>
117             Torvald Riegel  <triegel@redhat.com>
118
119         Merged from transactional-memory.
120
121         * c-common.c (handle_tm_wrap_attribute,
122         handle_tm_attribute, ignore_attribute, parse_tm_stmt_attr): New.
123         (struct c_common_reswords): Added __transaction* keywords.
124         (struct c_common_attribute_table): Added transaction* and tm_regparm
125         attributes.
126         * c-common.h: Added RID_TRANSACTION*. Added TM_ATTR* and TM_STMT*
127         masks.
128         (parse_tm_stmt_attr, tm_attr_to_mask, tm_mask_to_attr,
129         find_tm_attribute): Declare.
130
131 2011-11-07  Jason Merrill  <jason@redhat.com>
132
133         PR c++/35688
134         * c-common.c, c-common.h: Revert yesterday's changes.
135
136 2011-11-06  Jason Merrill  <jason@redhat.com>
137
138         PR c++/35688
139         * c-common.c (decl_has_visibility_attr): Split out from...
140         (c_determine_visibility): ...here.
141         * c-common.h: Declare it.
142
143 2011-11-06  Joseph Myers  <joseph@codesourcery.com>
144
145         * c-common.c (c_common_reswords): Add _Alignas and _Alignof.
146         (c_sizeof_or_alignof_type): Diagnose alignof applied to a function
147         type.
148         (check_user_alignment): New.  Split out of
149         handle_aligned_attribute.  Disallow integer constants with
150         noninteger types.  Conditionally allow zero.
151         (handle_aligned_attribute): Use check_user_alignment.
152         * c-common.h (RID_ALIGNAS, check_user_alignment): New.
153
154 2011-11-06  Andrew MacLeod  <amacleod@redhat.com>
155             Richard Henderson  <rth@redhat.com>
156
157         Merged from cxx-mem-model.
158
159         * c-cppbuiltin.c (c_cpp_builtins): Test both atomic and sync patterns.
160         * c-common.c (sync_resolve_params, sync_resolve_return): Only tweak 
161         parameters that are the same type size.
162         (get_atomic_generic_size): New.  Find size of generic
163         atomic function parameters and do typechecking.
164         (add_atomic_size_parameter): New.  Insert size into parameter list.
165         (resolve_overloaded_atomic_exchange): Restructure __atomic_exchange to
166         either __atomic_exchange_n or external library call.
167         (resolve_overloaded_atomic_compare_exchange): Restructure 
168         __atomic_compare_exchange to either _n variant or external library call.
169         (resolve_overloaded_atomic_load): Restructure __atomic_load to either 
170         __atomic_load_n or an external library call.
171         (resolve_overloaded_atomic_store): Restructure __atomic_store to either
172         __atomic_store_n or an external library call.
173         (resolve_overloaded_builtin): Handle new __atomic builtins.
174
175 2011-11-04  Eric Botcazou  <ebotcazou@adacore.com>
176
177         PR c++/50608
178         * c-common.c (c_fully_fold_internal) <ADDR_EXPR>: Call fold_offsetof_1.
179         (fold_offsetof_1): Make global.  Remove STOP_REF argument and adjust.
180         <INDIRECT_REF>: Return the argument.
181         <ARRAY_REF>: Remove special code for negative offset.
182         Call fold_build_pointer_plus instead of size_binop.
183         (fold_offsetof): Remove STOP_REF argument and adjust.
184         * c-common.h (fold_offsetof_1): Declare.
185         (fold_offsetof): Remove STOP_REF argument.
186
187 2011-11-02  Paolo Carlini  <paolo.carlini@oracle.com>
188
189         PR c++/50810
190         * c-opts.c (c_common_handle_option): Enable -Wnarrowing as part
191         of -Wall; include -Wnarrowing in -Wc++0x-compat; adjust default
192         Wnarrowing for C++0x and C++98.
193         * c.opt ([Wnarrowing]): Update.
194
195 2011-11-01  Paolo Carlini  <paolo.carlini@oracle.com>
196
197         PR c++/44277
198         * c.opt: Add Wzero-as-null-pointer-constant.
199
200 2011-10-31  Jason Merrill  <jason@redhat.com>
201
202         * c.opt (-fdeduce-init-list): Off by default.
203
204         PR c++/50920
205         * c-common.h (cxx_dialect): Add cxx11 and cxx03.
206         * c.opt: Add -std=c++11, -std=gnu++11, -std=gnu++03,
207         and -Wc++11-compat.
208         * c-opts.c (set_std_cxx11): Rename from set_std_cxx0x.
209
210 2011-10-27  Roberto Agostino Vitillo  <ravitillo@lbl.gov>
211
212         PR c++/30066
213         * c.opt (fvisibility-inlines-hidden): Description change.
214
215 2011-10-26  Ed Smith-Rowland  <3dw4rd@verizon.net>
216
217         Implement C++11 user-defined literals.
218         * c-common.c (build_userdef_literal): New.
219         * c-common.def: New tree code.
220         * c-common.h (tree_userdef_literal): New tree struct and accessors.
221         * c-lex.c (interpret_float): Add suffix parm.
222         (c_lex_with_flags): Build literal tokens.
223
224 2011-10-23  Paolo Carlini  <paolo.carlini@oracle.com>
225
226         PR c++/50841
227         Revert:
228         2011-10-23  Paolo Carlini  <paolo.carlini@oracle.com>
229
230         PR c++/50810
231         * c-opts.c (c_common_handle_option): Enable -Wnarrowing as part
232         of -Wall; include -Wnarrowing in -Wc++0x-compat; adjust default
233         Wnarrowing for C++0x and C++98.
234         * c.opt ([Wnarrowing]): Update.
235
236 2011-10-23  Paolo Carlini  <paolo.carlini@oracle.com>
237
238         PR c++/50810
239         * c-opts.c (c_common_handle_option): Enable -Wnarrowing as part
240         of -Wall; include -Wnarrowing in -Wc++0x-compat; adjust default
241         Wnarrowing for C++0x and C++98.
242         * c.opt ([Wnarrowing]): Update.
243
244 2011-10-21  Paolo Carlini  <paolo.carlini@oracle.com>
245
246         PR c++/45385
247         * c-common.c (conversion_warning): Remove code looking for
248         artificial operands.
249
250 2011-10-18  Dodji Seketeli  <dodji@redhat.com>
251
252         PR bootstrap/50760
253         * c-lex.c (fe_file_change): Use LINEMAP_SYSP when
254         !NO_IMPLICIT_EXTERN_C.
255
256 2011-10-17  Michael Spertus  <mike_spertus@symantec.com>
257
258         * c-common.c (c_common_reswords): Add __bases,
259         __direct_bases.
260         * c-common.h: Add RID_BASES and RID_DIRECT_BASES.
261
262 2011-10-17  Paolo Carlini  <paolo.carlini@oracle.com>
263
264         PR c++/50757
265         * c.opt ([Wnonnull]): Add C++ and Objective-C++.
266
267 2011-10-15  Tom Tromey  <tromey@redhat.com>
268             Dodji Seketeli  <dodji@redhat.com>
269
270         * c.opt (fdebug-cpp): New option.
271         * c-opts.c (c_common_handle_option): Handle the option.
272         * c-ppoutput.c (maybe_print_line_1): New static function. Takes an
273         output stream in parameter. Factorized from ...
274         (maybe_print_line): ... this. Dump location debug information when
275         -fdebug-cpp is in effect.
276         (print_line_1): New static function. Takes an output stream in
277         parameter. Factorized from ...
278         (print_line): ... here. Dump location information when -fdebug-cpp
279         is in effect.
280         (scan_translation_unit): Dump location information when
281         -fdebug-cpp is in effect.
282
283 2011-10-15  Tom Tromey  <tromey@redhat.com>
284             Dodji Seketeli  <dodji@redhat.com>
285
286         * c.opt (ftrack-macro-expansion): New option. Handle it with and
287         without argument.
288         * c-opts.c (c_common_handle_option)<case
289         OPT_ftrack_macro_expansion_, case OPT_ftrack_macro_expansion>: New
290         cases. Handle -ftrack-macro-expansion with and without argument.
291
292 2011-10-15  Tom Tromey  <tromey@redhat.com>
293             Dodji Seketeli  <dodji@redhat.com>
294
295         * c-ppoutput.c (scan_translation_unit, maybe_print_line)
296         (print_line, cb_define, do_line_change): Adjust to avoid touching
297         the internals of struct line_map.  Use the public API instead.
298         * c-pch.c (c_common_read_pch): Likewise.
299         * c-lex.c (fe_file_change): Likewise.
300
301 2011-10-14  Paolo Carlini  <paolo.carlini@oracle.com>
302
303         PR c++/17212
304         * c.opt ([Wformat-zero-length]): Add C++ and Objective-C++.
305
306 2011-10-11  Paolo Carlini  <paolo.carlini@oracle.com>
307
308         PR c++/33067
309         * c-pretty-print.c (pp_c_floating_constant): Output
310         max_digits10 (in the ISO C++ WG N1822 sense) decimal digits.
311
312 2011-10-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
313
314         * c-common.c (def_builtin_1): Delete old interface with two
315         parallel arrays to hold standard builtin declarations, and replace
316         it with a function based interface that can support creating
317         builtins on the fly in the future.  Change all uses, and poison
318         the old names.  Make sure 0 is not a legitimate builtin index.
319         * c-omp.c (c_finish_omp_barrier): Ditto.
320         (c_finish_omp_taskwait): Ditto.
321         (c_finish_omp_flush): Ditto.
322
323 2011-10-11  Tristan Gingold  <gingold@adacore.com>
324
325         * c.opt: (fallow-parameterless-variadic-functions): New.
326
327 2011-09-08  Dodji Seketeli  <dodji@redhat.com>
328
329         PR c++/33255 - Support -Wunused-local-typedefs warning
330         * c-common.h (struct c_language_function::local_typedefs): New
331         field.
332         (record_locally_defined_typedef, maybe_record_typedef_use)
333         (maybe_warn_unused_local_typedefs): Declare new functions.
334         * c-common.c (record_locally_defined_typedef)
335         (maybe_record_typedef_use)
336         (maybe_warn_unused_local_typedefs): Define new functions.
337         * c.opt: Declare new -Wunused-local-typedefs flag.
338
339 2011-09-06  Eric Botcazou  <ebotcazou@adacore.com>
340
341         PR middle-end/50266
342         * c-common.c (c_fully_fold_internal) <ADDR_EXPR>: Fold offsetof-like
343         computations.
344
345 2011-09-05  Richard Guenther  <rguenther@suse.de>
346
347         * c-common.c (complete_array_type): Use ssize_int (-1) instead
348         of integer_minus_one_node for empty array upper bounds.
349
350 2011-08-28  Dodji Seketeli  <dodji@redhat.com>
351
352         * c-pch.c (c_common_read_pch): Call linemap_add with LC_ENTER as
353         it's the first time it's being called on this main TU.
354
355 2011-08-24  Richard Guenther  <rguenther@suse.de>
356
357         PR c/49396
358         * c-cppbuiltin.c (c_cpp_builtins_optimize_pragma): Fix conditional.
359
360 2011-08-22  Gabriel Charette  <gchare@google.com>
361
362         * c-opts.c (c_finish_options): Force BUILTINS_LOCATION for tokens
363         defined in cpp_init_builtins and c_cpp_builtins.
364
365 2011-08-19  Joseph Myers  <joseph@codesourcery.com>
366
367         * c-common.c (c_common_reswords): Add __builtin_complex.
368         * c-common.h (RID_BUILTIN_COMPLEX): New.
369
370 2011-08-18  Joseph Myers  <joseph@codesourcery.com>
371
372         * c-common.c (c_common_reswords): Add _Noreturn.
373         (keyword_is_function_specifier): Handle RID_NORETURN.
374         * c-common.h (RID_NORETURN): New.
375
376 2011-08-10  Artjoms Sinkarovs <artyom.shinakroff@gmail.com>
377
378         * c-common.c (unsafe_conversion_p): New function. Check if it is
379         unsafe to convert an expression to the type.
380         (conversion_warning): Adjust, use unsafe_conversion_p.
381         * c-common.h (unsafe_conversion_p): New function declaration.
382
383 2011-08-02  Jakub Jelinek  <jakub@redhat.com>
384
385         * c-common.h (c_finish_omp_atomic): Adjust prototype.
386         (c_finish_omp_taskyield): New prototype.
387         * c-omp.c (c_finish_omp_atomic): Add OPCODE, V, LHS1 and RHS1
388         arguments. Handle OMP_ATOMIC_READ, OMP_ATOMIC_CAPTURE_OLD and
389         OMP_ATOMIC_CAPTURE_NEW in addition to OMP_ATOMIC.  If LHS1
390         or RHS1 have side-effects, evaluate those too in the right spot,
391         if it is a decl and LHS is also a decl, error out if they
392         aren't the same.
393         (c_finish_omp_taskyield): New function.
394         * c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP to 201107.
395         * c-pragma.c (omp_pragmas): Add taskyield.
396         * c-pragma.h (enum pragma_kind): Add PRAGMA_OMP_TASKYIELD.
397         (enum pragma_omp_clause): Add PRAGMA_OMP_CLAUSE_FINAL and
398         PRAGMA_OMP_CLAUSE_MERGEABLE.
399
400 2011-07-25  Dodji Seketeli  <dodji@redhat.com>
401
402         * c-common.h (set_underlying_type): Remove parm name from
403         declaration.
404
405 2011-07-25  Romain Geissler  <romain.geissler@gmail.com>
406
407         * c-pretty-print.h: Search c-common.h in c-family.
408         
409 2011-07-22  Jason Merrill  <jason@redhat.com>
410
411         PR c++/49793
412         * c.opt (Wnarrowing): New.
413
414         PR c++/30112
415         * c-common.h: Declare c_linkage_bindings.
416         * c-pragma.c (handle_pragma_redefine_extname): Use it.
417
418         PR c++/49813
419         * c-opts.c (set_std_cxx0x): Set flag_isoc94 and flag_isoc99.
420         * c-pretty-print.c (pp_c_cv_qualifiers): Check c_dialect_cxx as well
421         as flag_isoc99 for 'restrict'.
422         (pp_c_specifier_qualifier_list): Likewise for _Complex.
423
424 2011-07-21  Ian Lance Taylor  <iant@google.com>
425
426         PR middle-end/49705
427         * c-common.c (c_disable_warnings): New static function.
428         (c_enable_warnings): New static function.
429         (c_fully_fold_internal): Change local unused_p to bool.  Call
430         c_disable_warnings and c_enable_warnings rather than change
431         c_inhibit_evaluation_warnings.
432
433 2011-07-20  Jason Merrill  <jason@redhat.com>
434
435         PR c++/6709 (DR 743)
436         PR c++/42603 (DR 950)
437         * c-common.h (CPP_KEYWORD, CPP_TEMPLATE_ID): Move from cp/parser.h.
438         (CPP_NESTED_NAME_SPECIFIER, N_CP_TTYPES): Likewise.
439         (CPP_DECLTYPE): New.
440         * c-common.c (c_parse_error): Handle CPP_DECLTYPE.
441
442 2011-07-19  Richard Guenther  <rguenther@suse.de>
443
444         * c-common.c (pointer_int_sum): Use fold_build_pointer_plus.
445         * c-omp.c (c_finish_omp_for): Likewise.
446
447 2011-07-12  Eric Botcazou  <ebotcazou@adacore.com>
448
449         * c-ada-spec.c (dump_nested_types): Put semi-colon after empty loop
450         body on the next line.
451
452 2011-07-08  Jason Merrill  <jason@redhat.com>
453
454         PR c++/45437
455         * c-omp.c (check_omp_for_incr_expr): Handle preevaluation.
456
457         PR c++/49673
458         * c-common.c (c_apply_type_quals_to_decl): Don't check
459         TYPE_NEEDS_CONSTRUCTING.
460
461 2011-07-06  Richard Guenther  <rguenther@suse.de>
462
463         * c-common.c (c_common_nodes_and_builtins):
464         Merge calls to build_common_tree_nodes and build_common_tree_nodes_2.
465
466 2011-07-05  Richard Guenther  <rguenther@suse.de>
467
468         * c-common.c (c_common_nodes_and_builtins): Build all common
469         tree nodes first.
470
471 2011-06-27  Jakub Jelinek  <jakub@redhat.com>
472
473         * c-common.h (c_tree_chain_next): New static inline function.
474
475         * c-common.c (check_builtin_function_arguments): Handle
476         BUILT_IN_ASSUME_ALIGNED.
477
478 2011-06-21  Andrew MacLeod  <amacleod@redhat.com>
479
480         * c-common.c: Add sync_ or SYNC__ to builtin names.
481         * c-omp.c: Add sync_ or SYNC__ to builtin names.
482
483 2011-06-20  Pierre Vittet  <piervit@pvittet.com>
484
485         * c-pragma.h (pragma_handler_1arg, pragma_handler_2arg): New
486         handler.
487         (gen_pragma_handler): New union.
488         (internal_pragma_handler): New type.
489         (c_register_pragma_with_data)
490         (c_register_pragma_with_expansion_and_data): New functions.
491
492         * c-pragma.c (registered_pragmas, c_register_pragma_1)
493         (c_register_pragma, c_register_pragma_with_expansion)
494         (c_invoke_pragma_handler): Changed to work with
495         internal_pragma_handler.
496         (c_register_pragma_with_data)
497         (c_register_pragma_with_expansion_and_data): New functions.
498
499 2011-06-14  Joseph Myers  <joseph@codesourcery.com>
500
501         * c-common.c: Include common/common-target.h.
502         (handle_section_attribute): Use
503         targetm_common.have_named_sections.
504         * c-cppbuiltin.c: Include common/common-target.h.
505         (c_cpp_builtins): Use targetm_common.except_unwind_info.
506
507 2011-06-10  Richard Guenther  <rguenther@suse.de>
508
509         * c-pretty-print.c (pp_c_type_specifier): Use pp_c_identifier
510         to print a IDENTIFIER_NODE.
511
512 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
513             Joseph Myers  <joseph@codesourcery.com>
514
515         * c.opt (fbuilding-libgcc): New option.
516         * c-cppbuiltin.c (c_cpp_builtins): Define
517         __LIBGCC_TRAMPOLINE_SIZE__ if flag_building_libgcc.
518
519 2011-06-07  Jason Merrill  <jason@redhat.com>
520
521         * c-common.c (max_tinst_depth): Lower default to 900.
522
523         * c-format.c (gcc_cxxdiag_char_table): Add 'S' format.
524
525 2011-06-07  Richard Guenther  <rguenther@suse.de>
526
527         * c-common.c (c_common_nodes_and_builtins): Do not set
528         size_type_node or call set_sizetype.
529
530 2011-06-07  Dodji Seketeli  <dodji@redhat.com>
531
532         PR debug/49130
533         * c-pretty-print.c (pp_c_integer_constant): Consider the canonical
534         type when using pointer comparison to compare types.
535
536 2011-06-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
537
538         * c.opt: Add -Wdelete-non-virtual-dtor.
539         * c-opts.c (c_common_handle_option): Include it in -Wall.
540
541 2011-05-30  Nathan Froyd  <froydnj@gcc.gnu.org>
542
543         PR bootstrap/49190
544
545         Revert:
546         2011-05-26  Nathan Froyd  <froydnj@codesourcery.com>
547
548         * c-common.h (struct c_common_identifier): Inherit from tree_typed,
549         not tree_common.
550
551 2011-05-27  Jakub Jelinek  <jakub@redhat.com>
552
553         PR c++/49165
554         * c-common.c (c_common_truthvalue_conversion) <case COND_EXPR>: For
555         C++ don't call c_common_truthvalue_conversion on void type arms.
556
557 2011-05-27  Nathan Froyd  <froydnj@codesourcery.com>
558
559         * c-common.h (struct stmt_tree_s) [x_cur_stmt_list]: Change to a VEC.
560         (stmt_list_stack): Define.
561         (cur_stmt_list): Adjust for new type of x_cur_stmt_list.
562         * c-semantics.c (push_stmt_list, pop_stmt_list): Likewise.
563
564 2011-05-26  Nathan Froyd  <froydnj@codesourcery.com>
565
566         * c-common.c (warning_candidate_p): Check for BLOCKs.
567
568 2011-05-26  Nathan Froyd  <froydnj@codesourcery.com>
569
570         * c-common.h (struct c_common_identifier): Inherit from tree_typed,
571         not tree_common.
572
573 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
574
575         * c-common.c (def_fn_type): Remove extra va_end.
576
577 2011-05-23  Jason Merrill  <jason@redhat.com>
578
579         PR c++/48106
580         * c-common.c (c_common_get_narrower): New.
581         (shorten_binary_op, shorten_compare, warn_for_sign_compare): Use it.
582
583 2011-05-23  Nathan Froyd  <froydnj@codesourcery.com>
584
585         * c-common.h (check_function_arguments): Tweak prototype of
586         check_function_arguments.
587         * c-common.c (check_function_arguments): Likewise.  Adjust
588         calls to check_function_nonnull, check_function_format, and
589         check_function_sentinel.
590         (check_function_sentinel): Take a FUNCTION_TYPE rather than
591         separate attributes and typelist arguments.  Use
592         FOREACH_FUNCTION_ARGS to iterate over argument types.
593
594 2011-05-15  Paolo Carlini  <paolo.carlini@oracle.com>
595
596         * c-common.c (c_common_reswords): Reorder.
597         * c-common.h (rid): Likewise.
598
599 2011-05-10  Nathan Froyd  <froydnj@codesourcery.com>
600
601         * c-common.c (def_fn_type): Don't call build_function_type, call
602         build_function_type_array or build_varargs_function_type_array
603         instead.
604         (c_common_nodes_and_builtins): Likewise.
605
606 2011-05-05  Nathan Froyd  <froydnj@codesourcery.com>
607
608         * c-common.c (c_add_case_label): Omit the loc argument to
609         build_case_label.
610         * c-common.h (build_case_label): Remove.
611         * c-semantics.c (build_case_label): Remove.
612
613 2011-05-05  Joseph Myers  <joseph@codesourcery.com>
614
615         * c-objc.h (objc_start_method_definition): Update prototype.
616         * stub-objc.c (objc_start_method_definition): Add extra parameter.
617
618 2011-05-04  Nathan Froyd  <froydnj@codesourcery.com>
619
620         * c-common.c (check_main_parameter_types): Reindent.  Don't use
621         TYPE_ARG_TYPES directly.
622         (handle_nonnull_attribute): Likewise.
623         (sync_resolve_params): Likewise.
624         * c-format.c (handle_format_arg_attribute): Likewise.  Adjust call
625         to check_format_string.
626         (handle_format_attribute): Likewise.
627         (check_format_string): Take a function type to examine instead of
628         a type list.  Use a function_arg_iterator to step through argument
629         types.
630
631 2011-05-04  Richard Guenther  <rguenther@suse.de>
632
633         * c-common.c (fix_string_type): Use size_int for index type bounds.
634         (start_fname_decls): Do not pass NULL to build_int_cst.
635         (c_init_attributes): Likewise.
636         * c-lex.c (c_lex_with_flags): Likewise.
637
638 2011-04-27  Jason Merrill  <jason@redhat.com>
639
640         * c-common.c (make_tree_vector_from_list): New.
641         * c-common.h: Declare it.
642
643 2011-04-26  Richard Guenther  <rguenther@suse.de>
644
645         PR preprocessor/48248
646         * c-ppoutput.c (maybe_print_line): Always optimize newlines
647         for output size with -P.
648
649 2011-04-25  Paolo Carlini  <paolo.carlini@oracle.com>
650
651         * c-common.c (struct c_common_resword): Add __underlying_type.
652         * c-common.h (enum rid): Add RID_UNDERLYING_TYPE.
653
654 2011-04-20  Jim Meyering  <meyering@redhat.com>
655
656         * c-format.c (init_dollar_format_checking): Remove useless
657         if-before-free.
658
659 2011-04-15  Nicola Pero  <nicola.pero@meta-innovation.com>
660
661         * c-objc.h (objc_get_interface_ivars): Removed.
662         (objc_detect_field_duplicates): New.
663         * stub-objc.c: Likewise.
664
665 2011-04-14  Nicola Pero  <nicola.pero@meta-innovation.com>
666
667         * stub-objc.c (objc_declare_protocols): Renamed to
668         objc_declare_protocol.
669         * c-objc.h: Likewise.
670
671 2011-04-14  Nicola Pero  <nicola.pero@meta-innovation.com>
672
673         * stub-objc.c (objc_declare_class): Updated argument name.
674
675 2011-04-12  Nathan Froyd  <froydnj@codesourcery.com>
676
677         * c-common.h (c_common_init_ts): Declare.
678         * c-common.c (c_common_init_ts): Define.
679
680 2011-04-12  Nicola Pero  <nicola.pero@meta-innovation.com>
681
682         * c-objc.h (objc_build_message_expr): Updated prototype.
683         * stub-objc.c (objc_build_message_expr): Likewise.
684         
685 2011-04-12  Martin Jambor  <mjambor@suse.cz>
686
687         * c-gimplify.c (c_genericize): Call cgraph_get_create_node instead
688         of cgraph_node.
689
690 2011-04-11  Richard Guenther  <rguenther@suse.de>
691
692         * c-common.c (complete_array_type): Build a range type of
693         proper type.
694
695 2011-04-08  Nathan Froyd  <froydnj@codesourcery.com>
696
697         * c-common.c (handle_sentinel_attribute): Don't use TYPE_ARG_TYPES.
698         (handle_type_generic_attribute): Likewise.
699
700 2011-04-07  Jason Merrill  <jason@redhat.com>
701
702         PR c++/48450
703         * c-common.c (c_common_truthvalue_conversion): Don't ignore
704         conversion from C++0x scoped enum.
705
706 2011-04-06  Joseph Myers  <joseph@codesourcery.com>
707
708         * c-target-def.h: New file.
709         * c-target.def: New file.
710         * c-target.h: New file.
711         * c-common.c (targetcm): Don't define here.
712         * c-common.h (default_handle_c_option): Declare.
713         * c-format.c: Include c-target.h instead of target.h.
714         * c-opts.c: Include c-target.h instead of target.h.  Explicitly
715         include tm.h.
716         (default_handle_c_option): Move from targhooks.c.
717
718 2011-03-29  Jakub Jelinek  <jakub@redhat.com>
719
720         PR preprocessor/48248
721         * c-ppoutput.c (print): Add src_file field.
722         (init_pp_output): Initialize it.
723         (maybe_print_line): Don't optimize by adding up to 8 newlines
724         if map->to_file and print.src_file are different file.
725         (print_line): Update print.src_file.
726
727 2011-03-25  Kai Tietz  <ktietz@redhat.com>
728
729         * c-ada-spec.c (compare_comment): Use filename_cmp
730         instead of strcmp for filename.
731
732 2011-03-25  Jeff Law  <law@redhat.com>
733
734         * c-family/c-common.c (def_fn_type): Add missing va_end.
735
736 2011-03-25  Jason Merrill  <jason@redhat.com>
737
738         * c.opt: Add -std=c++03.
739
740 2011-03-22  Eric Botcazou  <ebotcazou@adacore.com>
741
742         * c-ada-spec.c (dump_ada_template): Skip non-class instances.
743
744 2011-03-17  Kai Tietz
745
746         PR target/12171
747         * c-pretty-print.c (pp_c_specifier_qualifier_list):
748         Display allowed attributes for function pointer types.
749         (pp_c_attributes_display): New function to display
750         attributes having affects_type_identity flag set to true.
751         * c-pretty-print.h (pp_c_attributes_display): New prototype.
752
753         * c-common.c (c_common_attribute_table):
754         Add new element.
755         (c_common_format_attribute_table): Likewise.
756
757 2011-03-18  Jason Merrill  <jason@redhat.com>
758
759         * c.opt (fconstexpr-depth): Add Var(max_constexpr_depth).
760         * c-common.h: Don't declare it here.
761         * c-common.c: Or define it here.
762         * c-opts.c (c_common_handle_option): Or set it here.
763
764         PR c++/35315
765         * c-common.c (handle_transparent_union_attribute): Don't
766         make a duplicate type in C++.
767
768 2011-03-15  Jason Merrill  <jason@redhat.com>
769
770         * c-common.c (max_constexpr_depth): New.
771         * c-common.h: Declare it.
772         * c-opts.c (c_common_handle_option): Set it.
773         * c.opt (fconstexpr-depth): New option.
774
775 2011-03-11  Jason Merrill  <jason@redhat.com>
776
777         * c-common.c (attribute_takes_identifier_p): Add missing const.
778
779         PR c++/46803
780         * c-common.c (attribute_takes_identifier_p): Assume that an
781         unknown attribute takes an identifier.
782
783 2011-03-07  Nathan Froyd  <froydnj@codesourcery.com>
784
785         PR c/47786
786         * c-common.c (c_type_hash): Call list_length instead of iterating
787         through DECL_CHAIN.  Rename 'i' to 'n_elements'.
788
789 2011-02-19  Jakub Jelinek  <jakub@redhat.com>
790
791         PR c/47809
792         * c-common.c (c_fully_fold_internal): Handle VIEW_CONVERT_EXPR.
793
794 2011-02-17  Iain Sandoe  <iains@gcc.gnu.org>
795
796         * c.opt (fobjc-abi-version=) New.
797         (fobjc-nilcheck): New.
798
799 2011-02-03  Nathan Froyd  <froydnj@codesourcery.com>
800
801         PR c++/46890
802         * c-common.h (keyword_is_decl_specifier): Declare.
803         * c-common.c (keyword_is_decl_specifier): Define.
804         (keyword_is_function_specifier): New function.
805
806 2011-01-26  Jakub Jelinek  <jakub@redhat.com>
807
808         PR c/47473
809         * c-lex.c (interpret_float): If CPP_N_IMAGINARY, ensure
810         EXCESS_PRECISION_EXPR is created with COMPLEX_TYPE instead of
811         REAL_TYPE.
812
813 2011-01-26  Arnaud Charlet  <charlet@adacore.com>
814
815         * c-ada-spec.c (dump_generic_ada_node): Avoid dereferencing null type.
816
817 2011-01-26  Jakub Jelinek  <jakub@redhat.com>
818
819         PR pch/47430
820         * c-opts.c (c_common_post_options): Call c_common_no_more_pch
821         after init_c_lex if pch_file is set.
822
823 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
824
825         PR c++/43601
826         * c.opt (-fkeep-inline-dllexport): New switch.
827
828 2011-01-12  Richard Guenther  <rguenther@suse.de>
829
830         PR middle-end/32511
831         * c-common.c (handle_weak_attribute): Warn instead of error
832         on declaring an inline function weak.
833
834 2011-01-05  Tom Tromey  <tromey@redhat.com>
835
836         * c-common.h (lvalue_error): Update.
837         * c-common.c (lvalue_error): Add 'loc' argument.  Call error_at,
838         not error.
839
840 2010-12-29  Nicola Pero  <nicola.pero@meta-innovation.com>
841         
842         PR objc/47075
843         * c-objc.h (objc_finish_message_expr): Added argument to
844         prototype.
845
846 2010-12-22  Nathan Froyd  <froydnj@codesourcery.com>
847
848         * c-common.c (handle_nonnull_attribute, handle_sentinel_attribute):
849         Use prototype_p.
850
851 2010-12-18  Nicola Pero  <nicola.pero@meta-innovation.com>
852
853         * c-objc.h (objc_maybe_warn_exceptions): New.
854         * stub-objc.c (objc_maybe_warn_exceptions): New.        
855
856 2010-12-10  Nathan Froyd  <froydnj@codesourcery.com>
857
858         * c-common.h (readonly_error): Declare.
859         * c-common.c (readonly_error): Define.
860
861 2010-12-09  Nathan Froyd  <froydnj@codesourcery.com>
862
863         * c-common.h (invalid_indirection_error): Declare.
864         * c-common.c (invalid_indirection_error): Define.
865
866 2010-12-03  Richard Guenther  <rguenther@suse.de>
867
868         PR c/46745
869         * c-pretty-print.c (pp_c_postfix_expression): Handle MEM_REF.
870         (pp_c_unary_expression): Likewise.
871         (pp_c_expression): Likewise.
872
873 2010-11-30  Nicola Pero  <nicola.pero@meta-innovation.com>
874
875         * c-common.h (objc_finish_function): New.
876         (objc_non_volatilized_type): Removed.
877         (objc_type_quals_match): Removed.
878         * stub-objc.c (objc_finish_function): New.
879         (objc_non_volatilized_type): Removed.
880         (objc_type_quals_match): Removed.
881         
882 2010-11-30  Joseph Myers  <joseph@codesourcery.com>
883
884         * c-common.h (parse_optimize_options): Declare.
885         * c-cppbuiltin.c, c-format.c, c-gimplify.c, c-lex.c, c-omp.c,
886         c-pch.c, c-pragma.c, c-semantics.c: Don't include toplev.h.
887
888 2010-11-29  Joseph Myers  <joseph@codesourcery.com>
889
890         * c-opts.c (check_deps_environment_vars): Use getenv instead of
891         GET_ENVIRONMENT.
892         * c-pch.c (O_BINARY): Don't define here.
893         * c-pragma.h: Include "cpplib.h" instead of <cpplib.h>.
894
895 2010-11-25  Joseph Myers  <joseph@codesourcery.com>
896
897         * c-cppbuiltin.c (c_cpp_builtins): Pass &global_options to
898         targetm.except_unwind_info.
899
900 2010-11-23  Joseph Myers  <joseph@codesourcery.com>
901
902         * c-opts.c (c_common_handle_option): Pass location to
903         set_struct_debug_option.
904
905 2010-11-23  Joseph Myers  <joseph@codesourcery.com>
906
907         * c-common.c (visibility_options): Move from ../opts.c.
908         * c-common.h (struct visibility_flags, visibility_options):
909         Declare here.
910         * c-opts.c (finish_options): Rename to c_finish_options.
911         (c_common_init): Update call to finish_options.
912
913 2010-11-22  Nicola Pero  <nicola.pero@meta-innovation.com>
914
915         PR objc/34033
916         * c-lex.c (lex_string): Check that each string in an Objective-C
917         string concat sequence starts with either one or zero '@', and
918         that there are no spurious '@' signs at the end.
919
920 2010-11-20  Joseph Myers  <joseph@codesourcery.com>
921
922         * c-pragma.c: Remove conditionals on HANDLE_PRAGMA_PACK,
923         HANDLE_PRAGMA_PACK_PUSH_POP, HANDLE_PRAGMA_WEAK and
924         HANDLE_PRAGMA_VISIBILITY.
925         * c-pragma.h (HANDLE_PRAGMA_WEAK, HANDLE_PRAGMA_PACK,
926         HANDLE_PRAGMA_VISIBILITY): Don't define.
927         (HANDLE_SYSV_PRAGMA, HANDLE_PRAGMA_PACK_PUSH_POP): Don't test.
928
929 2010-11-20  Nathan Froyd  <froydnj@codesourcery.com>
930
931         PR c++/16189
932         PR c++/36888
933         PR c++/45331
934         * c-common.h (keyword_begins_type_specifier): Declare.
935         (keyword_is_storage_class_specifier): Declare.
936         (keyword_is_type_qualifier): Declare.
937         * c-common.c (keyword_begins_type_specifier): New function.
938         (keyword_is_storage_class_specifier): New function.
939         (keyword_is_type_qualifier): Declare.
940
941 2010-11-19  Joseph Myers  <joseph@codesourcery.com>
942
943         PR c/46547
944         * c-common.c (in_late_binary_op): Define.
945         (c_common_truthvalue_conversion): Check in_late_binary_op before
946         calling c_save_expr.
947         * c-common.h (in_late_binary_op): Declare.
948
949 2010-11-19  Joseph Myers  <joseph@codesourcery.com>
950
951         * c-opts.c (c_common_handle_option): Update calls to
952         set_struct_debug_option.
953
954 2010-11-19  Nicola Pero  <nicola.pero@meta-innovation.com>
955
956         * c-common.h (objc_declare_protocols): Added additional argument.
957         * stub-objc.c (objc_declare_protocol): Same change.
958         
959 2010-11-18  Nathan Froyd  <froydnj@codesourcery.com>
960
961         PR c/33193
962         * c-common.h (build_real_imag_expr): Declare.
963         * c-semantics.c (build_real_imag_expr): Define.
964
965 2010-11-17  Joseph Myers  <joseph@codesourcery.com>
966
967         * c-opts.c (c_common_parse_file): Take no arguments.
968         * c-common.h (c_common_parse_file): Update prototype.
969
970 2010-11-16  Jakub Jelinek  <jakub@redhat.com>
971
972         PR c++/46401
973         * c-common.c (warning_candidate_p): Don't track non-const calls
974         or STRING_CSTs.
975
976 2010-11-15  Ian Lance Taylor  <iant@google.com>
977
978         * c-lex.c (init_c_lex): Set macro debug callbacks if
979         flag_dump_go_spec is set.
980
981 2010-11-15  Nicola Pero  <nicola.pero@meta-innovation.com>
982
983         * c-common.h (objc_build_incr_expr_for_property_ref): New.
984         * stub-objc.c (objc_build_incr_expr_for_property_ref): New.
985
986 2010-11-15  Nathan Froyd  <froydnj@codesourcery.com>
987
988         PR preprocessor/45038
989         * c-cppbuiltin.c (c_cpp_builtins): Use different format for C++
990         dialects.
991
992 2010-11-12  Joseph Myers  <joseph@codesourcery.com>
993
994         * c-common.h (c_family_lang_mask): Declare.
995         * c-opts.c (c_family_lang_mask): Make extern.
996         * c-pragma.c (handle_pragma_diagnostic): Use
997         control_warning_option.
998
999 2010-11-12  Joseph Myers  <joseph@codesourcery.com>
1000
1001         * c-common.c (parse_optimize_options): Update call to
1002         decode_options.
1003         * c-common.h (c_common_handle_option): Update prototype.
1004         * c-opts.c (c_common_handle_option): Take location_t parameter and
1005         pass it to other functions.
1006
1007 2010-11-11  Joseph Myers  <joseph@codesourcery.com>
1008
1009         * c-opts.c (warning_as_error_callback): Remove.
1010         (c_common_initialize_diagnostics): Don't call
1011         register_warning_as_error_callback.
1012         (c_common_handle_option): Handle -Werror=normalized= here.
1013
1014 2010-11-10  Joseph Myers  <joseph@codesourcery.com>
1015
1016         * c-common.c (handle_mode_attribute): Use %' and word "signedness"
1017         in diagnostic.
1018         * c-opts.c (c_common_parse_file): Start diagnostics with lowercase
1019         letter.
1020         * c-pragma.c (handle_pragma_target, handle_pragma_optimize):
1021         Remove trailing '.' from diagnostics.
1022         * c.opt (Wwrite-strings_: Avoid '`' in help text.
1023
1024 2010-11-10  Joseph Myers  <joseph@codesourcery.com>
1025
1026         * c-common.c (parse_optimize_options): Pass global_dc to
1027         decode_options.
1028         * c-opts.c (c_common_handle_option): Pass &global_options to
1029         set_Wstrict_aliasing.
1030         * c.opt (v): Don't mark Common or document here.
1031
1032 2010-11-06  Iain Sandoe  <iains@gcc.gnu.org>
1033
1034         PR target/44981
1035         * c-format.c (format_type): New type gcc_objc_string_format_type.
1036         (valid_stringptr_type_p): New.
1037         (handle_format_arg_attribute): Use valid_stringptr_type_p ().
1038         (check_format_string): Pass expected type, use 
1039         valid_stringptr_type_p (), check that the format string types are
1040         consistent with the format specification.
1041         (decode_format_attr): Warn if NSString is used outside objective-c.
1042         (format_types_orig): Add NSString.
1043         (format_name): New.
1044         (format_flags): New.
1045         (check_format_arg): Handle format strings requiring an external parser.
1046         first_target_format_type: New variable.
1047         (handle_format_attribute): Set up first_target_format_type, pass the
1048         expected format arg string type to check_format_string().
1049         * c-common.h (FMT_FLAG_PARSE_ARG_CONVERT_EXTERNAL):  New flag.
1050         * stub-objc.c (objc_string_ref_type_p): New.
1051         (objc_check_format_arg): New.
1052
1053 2010-11-04  Nicola Pero  <nicola.pero@meta-innovation.com>
1054
1055         Fixed using the Objective-C 2.0 dot-syntax with class names.    
1056         * c-common.h (objc_build_class_component_ref): New.
1057         * stub-objc.c (objc_build_class_component_ref): New.
1058
1059 2010-11-03  Nicola Pero  <nicola.pero@meta-innovation.com>
1060
1061         * c.opt (Wproperty-assign-default): New option.
1062
1063 2010-11-03  Nicola Pero  <nicola.pero@meta-innovation.com>
1064
1065         Implemented -fobjc-std=objc1 flag.
1066         * c.opt (fobjc-std=objc1): New option.
1067
1068 2010-11-01  Nicola Pero  <nicola.pero@meta-innovation.com>
1069
1070         Implemented format and noreturn attributes for Objective-C methods.
1071         * c-common.c (handle_noreturn_attribute): Recognize 'noreturn'
1072         attribute for Objective-C methods.
1073
1074 2010-10-31  Jason Merrill  <jason@redhat.com>
1075
1076         * c-common.c (conversion_warning, warn_for_collisions_1): Use
1077         EXPR_LOC_OR_HERE.
1078
1079 2010-10-30  Nicola Pero  <nicola.pero@meta-innovation.com>
1080
1081         Implemented Objective-C 2.0 @property, @synthesize and @dynamic.
1082         * c-common.h (enum rid): Removed RID_COPIES and RID_IVAR.
1083         (objc_add_property_declaration): Removed arguments for copies and
1084         ivar.
1085         (objc_build_getter_call): Renamed to
1086         objc_maybe_build_component_ref.
1087         (objc_build_setter_call): Renamed to objc_maybe_build_modify_expr.
1088         (objc_is_property_ref): New.
1089         * c-common.c (c_common_reswords): Removed copies and ivar.
1090         * stub-objc.c (objc_add_property_declaration): Removed arguments
1091         for copies and ivar.
1092         (objc_build_getter_call): Renamed to
1093         objc_maybe_build_component_ref.
1094         (objc_build_setter_call): Renamed to objc_maybe_build_modify_expr.
1095         (objc_is_property_ref): New.
1096         
1097 2010-10-29  Arnaud Charlet  <charlet@adacore.com>
1098             Matthew Gingell  <gingell@adacore.com>
1099
1100         * c-ada-spec.c (separate_class_package): New function.
1101         (pp_ada_tree_identifier): Prefix references to C++ classes with the
1102         name of their enclosing package.
1103         (print_ada_declaration): Use separate_class_package.
1104
1105 2010-10-27  Jason Merrill  <jason@redhat.com>
1106
1107         * c-common.c (c_common_reswords): Add __is_literal_type.
1108         * c-common.h (enum rid): Add RID_IS_LITERAL_TYPE.
1109
1110         * c-common.c (check_case_value): Remove special C++ code.
1111
1112 2010-10-27  Nicola Pero  <nicola.pero@meta-innovation.com>
1113
1114         * c-common.h (enum rid): Added RID_READWRITE, RID_ASSIGN,
1115         RID_RETAIN, RID_COPY and RID_NONATOMIC.  Updated RID_FIRST_PATTR
1116         and RID_LAST_PATTR.
1117         (objc_add_property_declaration): Added additional arguments.
1118         (objc_property_attribute_kind): Removed.
1119         (objc_set_property_attr): Removed.
1120         * c-common.c (c_common_reswords): Added readwrite, assign, retain,
1121         copy and nonatomic.
1122         * stub-objc.c (objc_add_property_declaration): Added additional
1123         arguments.
1124         (objc_set_property_attr): Removed.
1125         
1126 2010-10-27  Nicola Pero  <nicola.pero@meta-innovation.com>
1127
1128         * c-common.h (objc_add_property_variable): Renamed to
1129         objc_add_property_declaration.  Added location argument.
1130         * stub-objc.c (objc_add_property_variable): Same change.
1131         
1132 2010-10-23  Nicola Pero  <nicola.pero@meta-innovation.com>
1133
1134         * c-common.h (objc_maybe_printable_name): New.
1135         * stub-objc.c (objc_maybe_printable_name): New.
1136
1137 2010-10-22  Artjoms Sinkarovs <artyom.shinakroff@gmail.com>
1138         Andrew Pinski <pinskia@gmail.com>
1139
1140         * c-common.h (c_common_mark_addressable_vec): Declare.
1141         * c-common.c (c_common_mark_addressable_vec): New function.
1142
1143 2010-10-20  Nicola Pero  <nicola.pero@meta-innovation.com>
1144
1145         * c-common.h (objc_set_method_type): Removed.
1146         (objc_add_method_declaration): Added boolean argument.
1147         (objc_start_method_definition): Same change.
1148         (objc_build_method_signature): Same change.
1149         * stub-objc.c (objc_set_method_type): Removed.
1150         (objc_add_method_declaration): Added boolean argument.
1151         (objc_start_method_definition): Same change.
1152         (objc_build_method_signature): Same change.
1153
1154 2010-10-20  Nicola Pero  <nicola.pero@meta-innovation.com>
1155
1156         * c-common.h (finish_file): Removed.
1157         (objc_write_global_declarations): New.
1158         * c-opts.c (c_common_parse_file): Do not call finish_file.
1159         * stub-objc.c (objc_write_global_declarations): New.
1160         
1161 2010-10-18  Nicola Pero  <nicola.pero@meta-innovation.com>
1162
1163         Implemented parsing @synthesize and @dynamic for
1164         Objective-C/Objective-C++.
1165         * c-common.h (enum rid): Add RID_AT_SYNTHESIZE and RID_AT_DYNAMIC.
1166         (objc_add_synthesize_declaration): New.
1167         (objc_add_dynamic_declaration): New.
1168         * c-common.c (c_common_reswords): Add synthesize and dynamic.
1169         * stub-objc.c (objc_add_synthesize_declaration): New.
1170         (objc_add_dynamic_declaration): New.
1171         
1172 2010-10-18  Michael Meissner  <meissner@linux.vnet.ibm.com>
1173
1174         PR target/46041
1175         * c-cppbuiltin.c (mode_has_fma): Move function here from
1176         builtins.c.  Don't use the fma optab, instead just use the
1177         HAVE_fma* macros, so that __FP_FAST_FMA* will be defined when
1178         using -save-temps.
1179
1180 2010-10-18  Nicola Pero  <nicola.pero@meta-innovation.com>
1181
1182         Merge from 'apple/trunk' branch on FSF servers.
1183
1184         2005-11-08  Fariborz Jahanian <fjahanian@apple.com>
1185
1186         Radar 4330422
1187         * c-common.h (objc_non_volatilized_type): New declaration
1188         * stub-objc.c (objc_non_volatilized_type): New stub.
1189
1190 2010-10-17  Nicola Pero  <nicola.pero@meta-innovation.com>
1191
1192         Merge from 'apple/trunk' branch on FSF servers.
1193
1194         2006-03-27 Fariborz Jahanian <fjahanian@apple.com>
1195
1196         Radar 4133425
1197         * c-common.h (objc_diagnose_private_ivar): New decl.
1198         * stub-objc.c (objc_diagnose_private_ivar): New stub.
1199
1200 2010-10-17  Iain Sandoe  <iains@gcc.gnu.org>
1201
1202         * c-common.c (c_common_reswords): Add package, RID_AT_PACKAGE.
1203         * c-common.h (enum rid): Add RID_AT_PACKAGE.
1204         (objc_ivar_visibility_kind): New enum.
1205         (objc_set_visibility): Adjust prototype to use visibility enum.
1206         * stub-objc.c (objc_set_visibility): Adjust stub to use
1207         visibility enum.
1208
1209 2010-10-14  Michael Meissner  <meissner@linux.vnet.ibm.com>
1210
1211         * c-cppbuiltin.c (builtin_define_float_constants): Emit
1212         __FP_FAST_FMA, __FP_FAST_FMAF, and __FP_FAST_FMAL if the machine
1213         has the appropriate fma builtins.
1214         (c_cpp_builtins): Adjust call to builtin_define_float_constants.
1215
1216 2010-10-14  Iain Sandoe  <iains@gcc.gnu.org>
1217
1218         merge from FSF apple 'trunk' branch.
1219         2006 Fariborz Jahanian <fjahanian@apple.com>
1220
1221         Radars 4436866, 4505126, 4506903, 4517826
1222         * c-common.c (c_common_resword): Define @property and its attributes.
1223         * c-common.h: Define property attribute enum entries.
1224         (OBJC_IS_PATTR_KEYWORD): New.
1225         (objc_property_attribute_kind): New enum.
1226         Declare objc_set_property_attr (), objc_add_property_variable (),
1227         objc_build_getter_call () and objc_build_setter_call ().
1228         * stub-objc.c (objc_set_property_attr): New stub.
1229         (objc_add_property_variable): Likewise.
1230         (objc_build_getter_call): Likewise.
1231         (objc_build_setter_call) Likewise.
1232
1233 2010-10-13  Iain Sandoe  <iains@gcc.gnu.org>
1234
1235         merge from FSF apple 'trunk' branch.
1236         2006-04-26 Fariborz Jahanian <fjahanian@apple.com>
1237
1238         Radar 3803157 (method attributes)
1239         * c-common.c (handle_deprecated_attribute): Recognize
1240         objc methods as valid declarations.
1241         * c-common.h: Declare objc_method_decl ().
1242         * stub-objc.c (objc_method_decl): New stub.
1243
1244 2010-10-08  Joseph Myers  <joseph@codesourcery.com>
1245
1246         * c-common.c (parse_optimize_options): Call
1247         decode_cmdline_options_to_array_default_mask before
1248         decode_options.  Update arguments to decode_options.
1249         * c-common.h (c_common_init_options_struct): Declare.
1250         * c-opts.c (c_common_init_options_struct): New.  Split out from
1251         c_common_init_options.
1252
1253 2010-10-06  Nicola Pero  <nicola.pero@meta-innovation.com>
1254
1255         Implemented fast enumeration for Objective-C.
1256         * c-common.h (objc_finish_foreach_loop): New.
1257         * stub-objc.c (objc_finish_foreach_loop): New.
1258
1259 2010-10-05  Joseph Myers  <joseph@codesourcery.com>
1260
1261         * c-common.h (struct diagnostic_context): Don't declare here.
1262         (c_common_initialize_diagnostics): Declare using
1263         diagnostic_context typedef.
1264         * c-opts.c (c_common_handle_option): Pass global_dc to
1265         handle_generated_option.
1266
1267 2010-10-04  Joseph Myers  <joseph@codesourcery.com>
1268
1269         * c-opts.c (c_common_handle_option): Pass &global_options_set to
1270         handle_generated_option.
1271
1272 2010-10-03  Ian Lance Taylor  <iant@google.com>
1273
1274         * c.opt (-fplan9-extensions): New option.
1275
1276 2010-10-03  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
1277
1278         * c-cppbuiltin.c (define__GNUC__, builtin_define_type_precision):
1279         Remove.
1280         (c_cpp_builtins): Call functions from cppbuiltin.c instead
1281         of duplicating code.
1282
1283 2010-09-30  Iain Sandoe  <iains@gcc.gnu.org>
1284
1285         * c-common.c: Add two new entries for @optional
1286         and @required keywords.
1287
1288         merge from FSF 'apple/trunk' branch.
1289         2006-01-30  Fariborz Jahanian <fjahanian@apple.com>
1290
1291         Radar 4386773
1292         * c-common.h (RID_AT_OPTIONAL, RID_AT_REQUIRED): Two new
1293         objective-c keywords.
1294         (objc_set_method_opt): New declaration.
1295         * stub-objc.c (objc_set_method_opt): New stub.
1296         
1297 2010-09-30  Joseph Myers  <joseph@codesourcery.com>
1298
1299         * c-common.c (handle_optimize_attribute): Pass &global_options to
1300         cl_optimization_save and cl_optimization_restore.
1301         * c-opts.c (c_common_handle_option): Pass &global_options to
1302         handle_generated_option.
1303         * c-pragma.c (handle_pragma_diagnostic): Use option_flag_var.
1304         (handle_pragma_pop_options, handle_pragma_reset_options): Pass
1305         &global_options to cl_optimization_restore.
1306
1307 2010-09-30  Nicola Pero  <nicola.pero@meta-innovation.com>
1308
1309         * c-lex.c (c_lex_with_flags): Updated comments for CPP_AT_NAME
1310         Objective-C/Objective-C++ keywords.
1311
1312 2010-09-29  Nicola Pero  <nicola.pero@meta-innovation.com>
1313
1314         Merge from 'apple/trunk' branch on FSF servers. 
1315         
1316         2005-10-04  Fariborz Jahanian <fjahanian@apple.com>
1317
1318         Radar 4281748
1319         * c-common.h (objc_check_global_decl): New declaration.
1320         * stub-objc.c (objc_check_global_decl): New stub.
1321
1322 2010-09-29  Joseph Myers  <joseph@codesourcery.com>
1323
1324         * c.opt: Don't use VarExists.
1325
1326 2010-09-29  Joseph Myers  <joseph@codesourcery.com>
1327
1328         * c-common.c (c_cpp_error): Update names of diagnostic_context
1329         members.
1330         * c-cppbuiltin.c (c_cpp_builtins_optimize_pragma): Update names of
1331         cl_optimization members.
1332         * c-opts.c (warning_as_error_callback, c_common_handle_option,
1333         sanitize_cpp_opts, finish_options): Update names of cpp_options
1334         members.
1335
1336 2010-09-29  Nicola Pero  <nicola.pero@meta-innovation.com>
1337
1338         * c-common.h (OBJC_IS_CXX_KEYWORD): New macro.  Updated comments.
1339         (objc_is_reserved_word): Removed.
1340         * c-common.c: Updated comments.
1341         * c-lex.c (c_lex_with_flags): Use OBJC_IS_CXX_KEYWORD instead of
1342         objc_is_reserved_word.
1343         * stub-objc.c (objc_is_reserved_word): Removed.
1344
1345 2010-09-28  Iain Sandoe  <iains@gcc.gnu.org>
1346
1347         * c-common.h (objc_add_method_declaration): Adjust prototype to 
1348         include attributes.
1349         (objc_start_method_definition): Likewise.
1350         (objc_build_keyword_decl): Likewise.
1351         * stub-objc.c:(objc_add_method_declaration): Handle attributes.
1352         (objc_start_method_definition): Likewise.
1353         (objc_build_keyword_decl): Likewise.
1354
1355 2010-09-28  Iain Sandoe  <iains@gcc.gnu.org>
1356
1357         * c-common.h (objc_start_class_interface): Adjust prototype.
1358         (objc_start_category_interface): Likewise.
1359         (objc_start_protocol): Likewise.
1360         * stub-objc.c (objc_start_protocol): Adjust for extra argument.
1361         (objc_start_class_interface): Likewise.
1362         (objc_start_category_interface): Likewise.
1363
1364 2010-09-27  Ian Lance Taylor  <iant@google.com>
1365
1366         * c-common.c (c_common_attribute_table): Add no_split_stack.
1367         (handle_no_split_stack_attribute): New static function.
1368
1369 2010-09-27  Nicola Pero  <nicola.pero@meta-innovation.com>
1370
1371         Merge from 'apple/trunk' branch on FSF servers. 
1372
1373         2005-12-15  Fariborz Jahanian <fjahanian@apple.com>
1374
1375         Radar 4229905   
1376         * c-common.h (objc_have_common_type): New declaration.
1377         * stub-objc.c (objc_have_common_type): New stub.
1378
1379         2005-06-22  Ziemowit Laski  <zlaski@apple.com>
1380
1381         Radar 4154928
1382         * c-common.h (objc_common_type): New prototype.
1383         * stub-objc.c (objc_common_type): New stub.     
1384
1385 2010-09-24  Jan Hubicka  <jh@suse.cz>
1386
1387         * c-common.c (handle_leaf_attribute): New function.
1388         (struct attribute_spec c_common_att): Add leaf.
1389
1390 2010-09-22  Joseph Myers  <joseph@codesourcery.com>
1391
1392         * c.opt (-all-warnings, -ansi, -assert, -assert=, -comments,
1393         -comments-in-macros, -define-macro, -define-macro=, -dependencies,
1394         -dump, -dump=, -imacros, -imacros=, -include, -include=,
1395         -include-barrier, -include-directory, -include-directory=,
1396         -include-directory-after, -include-directory-after=,
1397         -include-prefix, -include-prefix=, -include-with-prefix,
1398         -include-with-prefix=, -include-with-prefix-after,
1399         -include-with-prefix-after=, -include-with-prefix-before,
1400         -include-with-prefix-before=, -no-integrated-cpp,
1401         -no-line-commands, -no-standard-includes, -no-warnings, -output,
1402         -output=, -pedantic, -pedantic-errors, -preprocess,
1403         -print-missing-file-dependencies, -trace-includes, -traditional,
1404         -traditional-cpp, -trigraphs, -undefine-macro, -undefine-macro=,
1405         -user-dependencies, -verbose, -write-dependencies,
1406         -write-user-dependencies, no-integrated-cpp, traditional): New.
1407
1408 2010-09-21  Nicola Pero  <nicola.pero@meta-innovation.com>
1409
1410         PR objc/23710
1411         * c-common.h (objc_start_method_definition): Return bool instead
1412         of void.
1413         * stub-objc.c (objc_start_method_definition): Return bool instead
1414         of void.
1415
1416 2010-09-21  Nicola Pero  <nicola.pero@meta-innovation.com>
1417
1418         PR objc/25965
1419         * c-common.h (objc_get_interface_ivars): New declaration.
1420         * stub-objc.c (objc_get_interface_ivars): New stub.
1421
1422 2010-09-15  Ian Lance Taylor  <iant@google.com>
1423
1424         * c-common.c (parse_optimize_options): Do not capitalize warning
1425         messages.  Remove period at end of warning message.
1426
1427 2010-09-09  Nathan Sidwell  <nathan@codesourcery.com>
1428
1429         * c-common.c (handle_alias_ifunc_attribute): New, broken out of ...
1430         (handle_alias_attribute): ... here.
1431         (handle_ifunc_attribute): New.
1432
1433 2010-09-06  Mark Mitchell  <mark@codesourcery.com>
1434
1435         * c-common.h (do_warn_double_promotion): Declare.
1436         * c-common.c (do_warn_double_promotion): Define.
1437
1438 2010-09-05  Mark Mitchell  <mark@codesourcery.com>
1439
1440         * c.opt (Wdouble-promotion): New.
1441
1442 2010-09-02  Joseph Myers  <joseph@codesourcery.com>
1443
1444         * c.opt (falt-external-templates, fhuge-objects, fvtable-gc,
1445         fvtable-thunks, fxref): Mark no longer supported in help text.
1446
1447 2010-09-02  Joseph Myers  <joseph@codesourcery.com>
1448
1449         * c.opt (Wimport, fall-virtual, falt-external-templates,
1450         fdefault-inline, fenum-int-equiv, fexternal-templates,
1451         fguiding-decls, fhonor-std, fhuge-objects, flabels-ok,
1452         fname-mangling-version-, fnew-abi, fnonnull-objects,
1453         foptional-diags, fsquangle, fstrict-prototype, fthis-is-variable,
1454         fvtable-gc, fvtable-thunks, fxref): Mark with Ignore and Warn as
1455         applicable.
1456         (fhandle-exceptions): Mark with Alias and Warn.
1457         * c-opts.c (c_common_handle_option): Don't handle options marked
1458         as ignored.
1459
1460 2010-09-02  Joseph Myers  <joseph@codesourcery.com>
1461
1462         * c.opt (Wcomments, Werror-implicit-function-declaration,
1463         ftemplate-depth-, std=c89, std=c9x, std=gnu89, std=gnu9x,
1464         std=iso9899:1990, std=iso9899:1999, std=iso9899:199x): Mark as
1465         aliases.
1466         * c-common.c (option_codes): Use OPT_Wcomment instead of
1467         OPT_Wcomments.
1468         * c-opts.c (warning_as_error_callback, c_common_handle_option):
1469         Don't handle options marked as aliases.
1470
1471 2010-08-25  Richard Guenther  <rguenther@suse.de>
1472
1473         * c-common.c (c_common_get_alias_set): Remove special
1474         handling for pointers.
1475
1476 2010-08-20  Nathan Froyd  <froydnj@codesourcery.com>
1477
1478         * c-common.c: Use FOR_EACH_VEC_ELT.
1479         * c-gimplify.c: Likewise.
1480         * c-pragma.c: Likewise.
1481
1482 2010-08-16  Joseph Myers  <joseph@codesourcery.com>
1483
1484         * c.opt (MDX): Change back to MD.  Mark NoDriverArg instead of
1485         RejectDriver.
1486         (MMDX): Change back to MMD.  Mark NoDriverArg instead of
1487         RejectDriver.
1488         * c-opts.c (c_common_handle_option): Use OPT_MD and OPT_MMD
1489         instead of OPT_MDX and OPT_MMDX.
1490
1491 2010-08-16  Joseph Myers  <joseph@codesourcery.com>
1492
1493         * c.opt (MDX, MMDX, lang-asm): Mark RejectDriver.
1494
1495 2010-08-12  Joseph Myers  <joseph@codesourcery.com>
1496
1497         * c.opt (MD, MMD): Change to MDX and MMDX.
1498         * c-opts.c (c_common_handle_option): Use OPT_MMD and OPT_MMDX.
1499
1500 2010-08-11  Joseph Myers  <joseph@codesourcery.com>
1501
1502         * c-opts.c (c_common_handle_option): Call handle_generated_option
1503         instead of handle_option.
1504
1505 2010-08-08  Nathan Froyd  <froydnj@codesourcery.com>
1506
1507         * c-pragma.c (add_to_renaming_pragma_list): Fix call to VEC_safe_push.
1508         (maybe_apply_renaming_pragma): Delete unneeded declarations.
1509
1510 2010-08-08  Nathan Froyd  <froydnj@codesourcery.com>
1511
1512         * c-pragma.c (pending_redefinition): Declare.  Declare a VEC of it.
1513         (pending_redefine_extname): Change type to a VEC.
1514         (add_to_renaming_pragma_list): Update for new type of
1515         pending_redefine_extname.
1516         (maybe_apply_renaming_pragma): Likewise.
1517
1518 2010-08-04  Arnaud Charlet  <charlet@adacore.com>
1519
1520         * c-ada-spec.c (dump_ada_template): Mark underlying instance type as
1521         visited.
1522         (dump_generic_ada_node): Code clean up. Use TREE_VISITED flag to
1523         decide whether a type has already been declared/seen.
1524         Do not go to the original type.
1525         (dump_nested_types): New parameter forward.
1526         Generate forward declaration if needed and mark type as visited.
1527         (print_ada_declaration): Call dump_nested_types if not already done.
1528         Mark types as visited.
1529
1530 2010-08-03  Joseph Myers  <joseph@codesourcery.com>
1531
1532         * c.opt (-print-pch-checksum): Remove option.
1533         * c-opts.c (c_common_handle_option): Don't handle
1534         OPT_print_pch_checksum.
1535
1536 2010-07-27  Joseph Myers  <joseph@codesourcery.com>
1537
1538         * c-common.h (c_common_handle_option): Update prototype and return
1539         value type.
1540         * c-opts.c (c_common_handle_option): Update prototype and return
1541         value type.  Update calls to handle_option and
1542         enable_warning_as_error.
1543
1544 2010-07-27  Jakub Jelinek  <jakub@redhat.com>
1545
1546         PR c/45079
1547         * c-pretty-print.c (pp_c_expression): Handle C_MAYBE_CONST_EXPR.
1548
1549 2010-07-27  Joseph Myers  <joseph@codesourcery.com>
1550
1551         * c-common.h (c_common_missing_argument): Remove.
1552         * c-opts.c (c_common_missing_argument): Remove.
1553         * c.opt (A, D, F, I, MD, MMD, MQ, MT, U, fconstant-string-class=,
1554         idirafter, imacros, include, isysroot, isystem, iquote): Add
1555         MissingArgError.
1556         * c-objc-common.h (LANG_HOOKS_MISSING_ARGUMENT): Remove.
1557
1558 2010-07-27  Joseph Myers  <joseph@codesourcery.com>
1559
1560         * c-common.h (c_common_option_lang_mask,
1561         c_common_initialize_diagnostics, c_common_complain_wrong_lang_p):
1562         New.
1563         (c_common_init_options): Update prototype.
1564         * c-opts.c (c_common_option_lang_mask): New.
1565         (c_common_initialize_diagnostics): Split out of
1566         c_common_init_options.
1567         (accept_all_c_family_options, c_common_complain_wrong_lang_p):
1568         New.
1569         (c_common_init_options): Update prototype.  Use decoded options in
1570         search for -lang-asm.
1571
1572 2010-07-15  Nathan Froyd  <froydnj@codesourcery.com>
1573
1574         * c-common.c: Carefully replace TREE_CHAIN with DECL_CHAIN.
1575         * c-format.c: Likewise.
1576
1577 2010-07-08  Manuel López-Ibáñez  <manu@gcc.gnu.org>
1578
1579         * c-common.h: Include diagnostic-core.h. Error if already
1580         included.
1581         * c-semantics.c: Do not define GCC_DIAG_STYLE here.
1582
1583 2010-07-03  Manuel López-Ibáñez  <manu@gcc.gnu.org>
1584
1585         * c-family/c-common.c (IN_GCC_FRONTEND): Do not undef.
1586         Do not include expr.h
1587         (vector_mode_valid_p): Move here.
1588
1589 2010-06-21  DJ Delorie  <dj@redhat.com>
1590
1591         * c-pragma.c (handle_pragma_diagnostic): Add push/pop,
1592         allow these pragmas anywhere.
1593
1594 2010-06-14  Jakub Jelinek  <jakub@redhat.com>
1595
1596         PR bootstrap/44509
1597         * c-cppbuiltin.c: Include gt-c-family-c-cppbuiltin.h.
1598         (lazy_hex_fp_values, lazy_hex_fp_value_count): Add GTY(()) markers.
1599         (lazy_hex_fp_value, builtin_define_with_hex_fp_value): Use
1600         ggc_strdup instead of xstrdup.
1601
1602 2010-06-10  Jakub Jelinek  <jakub@redhat.com>
1603
1604         * c-cppbuiltin.c: Include cpp-id-data.h.
1605         (lazy_hex_fp_values, lazy_hex_fp_value_count): New variables.
1606         (lazy_hex_fp_value): New function.
1607         (builtin_define_with_hex_fp_value): Provide definitions lazily.
1608
1609 2010-06-30  Manuel López-Ibáñez  <manu@gcc.gnu.org>
1610
1611         * c-gimplify.c: Do not include tree-flow.h
1612
1613 2010-06-29  Joern Rennecke  <joern.rennecke@embecosm.com>
1614
1615         PR other/44034
1616         * c-common.c: Rename targetm member:
1617         targetm.enum_va_list -> targetm.enum_va_list_p
1618
1619 2010-06-28  Anatoly Sokolov  <aesok@post.ru>
1620
1621         * c-common.c (shorten_compare): Adjust call to force_fit_type_double.
1622
1623 2010-06-28  Steven Bosscher  <steven@gcc.gnu.org>
1624
1625         * c-cppbuiltin.c: Do not include except.h.
1626
1627 2010-06-24  Andi Kleen  <ak@linux.intel.com>
1628
1629         * c-common.c (warn_for_omitted_condop): New.
1630         * c-common.h (warn_for_omitted_condop): Add prototype.
1631
1632 2010-06-21  Joseph Myers  <joseph@codesourcery.com>
1633
1634         * c.opt (lang-objc): Remove.
1635         * c-opts.c (c_common_handle_option): Don't handle OPT_lang_objc.
1636
1637 2010-06-21  Joern Rennecke  <joern.rennecke@embecosm.com>
1638
1639         * c-opts.c: Include "tm_p.h".
1640
1641 2010-06-20  Joseph Myers  <joseph@codesourcery.com>
1642
1643         * c-common.c (parse_optimize_options): Update call to
1644         decode_options.
1645
1646 2010-06-18  Nathan Froyd  <froydnj@codesourcery.com>
1647
1648         * c-common.c (record_types_used_by_current_var_decl): Adjust for
1649         new type of types_used_by_cur_var_decl.
1650
1651 2010-06-17  Joern Rennecke  <joern.rennecke@embecosm.com>
1652
1653         PR bootstrap/44512
1654         * c-cppbuiltin.c (builtin_define_with_hex_fp_value): Add cast
1655         for C++ standard compliance.
1656
1657 2010-06-16  Jason Merrill  <jason@redhat.com>
1658
1659         * c.opt: Add -Wnoexcept.
1660
1661 2010-06-16  Richard Guenther  <rguenther@suse.de>
1662
1663         PR c/44555
1664         * c-common.c (c_common_truthvalue_conversion): Remove
1665         premature and wrong optimization concering ADDR_EXPRs.
1666
1667 2010-06-15  Arnaud Charlet  <charlet@adacore.com>
1668
1669         * c-ada-spec.c (dump_sloc): Remove column info.
1670         (is_simple_enum): New function.
1671         (dump_generic_ada_node, print_ada_declaration): Map C enum types to Ada
1672         enum types when relevant.
1673
1674 2010-06-11  Manuel López-Ibáñez  <manu@gcc.gnu.org>
1675
1676         * c-common.c (conversion_warning): Warn at expression
1677         location.
1678
1679 2010-06-10  Joseph Myers  <joseph@codesourcery.com>
1680
1681         * c-opts.c (c_common_handle_option): Don't handle
1682         OPT_fshow_column.
1683
1684 2010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
1685
1686         * c-pragma.c (push_alignment): Use typed GC allocation.
1687         (handle_pragma_push_options): Likewise.
1688
1689         * c-common.c (parse_optimize_options): Likewise.
1690
1691         * c-common.h (struct sorted_fields_type): Add variable_size GTY
1692         option.
1693
1694 2010-06-07  Joseph Myers  <joseph@codesourcery.com>
1695
1696         * c-common.c (flag_preprocess_only, flag_undef, flag_no_builtin,
1697         flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
1698         flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
1699         flag_signed_bitfields, warn_strict_null_sentinel,
1700         flag_nil_receivers, flag_zero_link, flag_replace_objc_classes,
1701         flag_gen_declaration, flag_no_gnu_keywords,
1702         flag_implement_inlines, flag_implicit_templates,
1703         flag_implicit_inline_templates, flag_optional_diags,
1704         flag_elide_constructors, flag_default_inline, flag_rtti,
1705         flag_conserve_space, flag_access_control, flag_check_new,
1706         flag_new_for_scope, flag_weak, flag_working_directory,
1707         flag_use_cxa_atexit, flag_use_cxa_get_exception_ptr,
1708         flag_enforce_eh_specs, flag_threadsafe_statics,
1709         flag_pretty_templates): Remove.
1710         * c-common.h (flag_preprocess_only, flag_nil_receivers,
1711         flag_objc_exceptions, flag_objc_sjlj_exceptions, flag_zero_link,
1712         flag_replace_objc_classes, flag_undef, flag_no_builtin,
1713         flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
1714         flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
1715         flag_const_strings, flag_signed_bitfields, flag_gen_declaration,
1716         flag_no_gnu_keywords, flag_implement_inlines,
1717         flag_implicit_templates, flag_implicit_inline_templates,
1718         flag_optional_diags, flag_elide_constructors, flag_default_inline,
1719         flag_rtti, flag_conserve_space, flag_access_control,
1720         flag_check_new, flag_new_for_scope, flag_weak,
1721         flag_working_directory, flag_use_cxa_atexit,
1722         flag_use_cxa_get_exception_ptr, flag_enforce_eh_specs,
1723         flag_threadsafe_statics, flag_pretty_templates,
1724         warn_strict_null_sentinel): Remove.
1725         * c.opt (E, Wstrict-null-sentinel, faccess-control, fasm,
1726         fbuiltin, fcheck-new, fconserve-space, felide-constructors,
1727         fenforce-eh-specs, ffor-scope, fgnu-keywords, fimplement-inlines,
1728         fimplicit-inline-templates, fimplicit-templates,
1729         flax-vector-conversions, fms-extensions, fnil-receivers,
1730         fnonansi-builtins, fpretty-templates, freplace-objc-classes,
1731         frtti, fshort-double, fshort-enums, fshort-wchar,
1732         fsigned-bitfields, fsigned-char, fstats, fthreadsafe-statics,
1733         funsigned-bitfields, funsigned-char, fuse-cxa-atexit,
1734         fuse-cxa-get-exception-ptr, fweak, fworking-directory, fzero-link,
1735         gen-decls, undef): Use Var.
1736         (fdefault-inline, foptional-diags): Document as doing nothing.
1737         * c-opts.c (c_common_handle_option): Remove cases for options now
1738         using Var.  Mark ignored options as such.
1739
1740 2010-06-05  Steven Bosscher  <steven@gcc.gnu.org>
1741
1742         * c-common.c: Moved to here from parent directory. 
1743         * c-common.def: Likewise.
1744         * c-common.h: Likewise.
1745         * c-cppbuiltin.c: Likewise.
1746         * c-dump.c: Likewise.
1747         * c-format.c: Likewise.
1748         * c-format.h : Likewise.
1749         * c-gimplify.c: Likewise.
1750         * c-lex.c: Likewise.
1751         * c-omp.c: Likewise.
1752         * c.opt: Likewise.
1753         * c-opts.c: Likewise.
1754         * c-pch.c: Likewise.
1755         * c-ppoutput.c: Likewise.
1756         * c-pragma.c: Likewise.
1757         * c-pragma.h: Likewise.
1758         * c-pretty-print.c: Likewise.
1759         * c-pretty-print.h: Likewise.
1760         * c-semantics.c: Likewise.
1761         * stub-objc.c: Likewise.
1762
1763         * c-common.c: Include gt-c-family-c-common.h.
1764         * c-pragma.c: Include gt-c-family-c-pragma.h.
1765 \f
1766 Copyright (C) 2010, 2011 Free Software Foundation, Inc.
1767
1768 Copying and distribution of this file, with or without modification,
1769 are permitted in any medium without royalty provided the copyright
1770 notice and this notice are preserved.