OSDN Git Service

b2c90110feff59c5b931e240f3b2664c51cec946
[pf3gnuchains/gcc-fork.git] / gcc / c-family / ChangeLog
1 2010-11-01  Nicola Pero  <nicola.pero@meta-innovation.com>
2
3         Implemented format and noreturn attributes for Objective-C methods.
4         * c-common.c (handle_noreturn_attribute): Recognize 'noreturn'
5         attribute for Objective-C methods.
6
7 2010-10-31  Jason Merrill  <jason@redhat.com>
8
9         * c-common.c (conversion_warning, warn_for_collisions_1): Use
10         EXPR_LOC_OR_HERE.
11
12 2010-10-30  Nicola Pero  <nicola.pero@meta-innovation.com>
13
14         Implemented Objective-C 2.0 @property, @synthesize and @dynamic.
15         * c-common.h (enum rid): Removed RID_COPIES and RID_IVAR.
16         (objc_add_property_declaration): Removed arguments for copies and
17         ivar.
18         (objc_build_getter_call): Renamed to
19         objc_maybe_build_component_ref.
20         (objc_build_setter_call): Renamed to objc_maybe_build_modify_expr.
21         (objc_is_property_ref): New.
22         * c-common.c (c_common_reswords): Removed copies and ivar.
23         * stub-objc.c (objc_add_property_declaration): Removed arguments
24         for copies and ivar.
25         (objc_build_getter_call): Renamed to
26         objc_maybe_build_component_ref.
27         (objc_build_setter_call): Renamed to objc_maybe_build_modify_expr.
28         (objc_is_property_ref): New.
29         
30 2010-10-29  Arnaud Charlet  <charlet@adacore.com>
31             Matthew Gingell  <gingell@adacore.com>
32
33         * c-ada-spec.c (separate_class_package): New function.
34         (pp_ada_tree_identifier): Prefix references to C++ classes with the
35         name of their enclosing package.
36         (print_ada_declaration): Use separate_class_package.
37
38 2010-10-27  Jason Merrill  <jason@redhat.com>
39
40         * c-common.c (c_common_reswords): Add __is_literal_type.
41         * c-common.h (enum rid): Add RID_IS_LITERAL_TYPE.
42
43         * c-common.c (check_case_value): Remove special C++ code.
44
45 2010-10-27  Nicola Pero  <nicola.pero@meta-innovation.com>
46
47         * c-common.h (enum rid): Added RID_READWRITE, RID_ASSIGN,
48         RID_RETAIN, RID_COPY and RID_NONATOMIC.  Updated RID_FIRST_PATTR
49         and RID_LAST_PATTR.
50         (objc_add_property_declaration): Added additional arguments.
51         (objc_property_attribute_kind): Removed.
52         (objc_set_property_attr): Removed.
53         * c-common.c (c_common_reswords): Added readwrite, assign, retain,
54         copy and nonatomic.
55         * stub-objc.c (objc_add_property_declaration): Added additional
56         arguments.
57         (objc_set_property_attr): Removed.
58         
59 2010-10-27  Nicola Pero  <nicola.pero@meta-innovation.com>
60
61         * c-common.h (objc_add_property_variable): Renamed to
62         objc_add_property_declaration.  Added location argument.
63         * stub-objc.c (objc_add_property_variable): Same change.
64         
65 2010-10-23  Nicola Pero  <nicola.pero@meta-innovation.com>
66
67         * c-common.h (objc_maybe_printable_name): New.
68         * stub-objc.c (objc_maybe_printable_name): New.
69
70 2010-10-22  Artjoms Sinkarovs <artyom.shinakroff@gmail.com>
71         Andrew Pinski <pinskia@gmail.com>
72
73         * c-common.h (c_common_mark_addressable_vec): Declare.
74         * c-common.c (c_common_mark_addressable_vec): New function.
75
76 2010-10-20  Nicola Pero  <nicola.pero@meta-innovation.com>
77
78         * c-common.h (objc_set_method_type): Removed.
79         (objc_add_method_declaration): Added boolean argument.
80         (objc_start_method_definition): Same change.
81         (objc_build_method_signature): Same change.
82         * stub-objc.c (objc_set_method_type): Removed.
83         (objc_add_method_declaration): Added boolean argument.
84         (objc_start_method_definition): Same change.
85         (objc_build_method_signature): Same change.
86
87 2010-10-20  Nicola Pero  <nicola.pero@meta-innovation.com>
88
89         * c-common.h (finish_file): Removed.
90         (objc_write_global_declarations): New.
91         * c-opts.c (c_common_parse_file): Do not call finish_file.
92         * stub-objc.c (objc_write_global_declarations): New.
93         
94 2010-10-18  Nicola Pero  <nicola.pero@meta-innovation.com>
95
96         Implemented parsing @synthesize and @dynamic for
97         Objective-C/Objective-C++.
98         * c-common.h (enum rid): Add RID_AT_SYNTHESIZE and RID_AT_DYNAMIC.
99         (objc_add_synthesize_declaration): New.
100         (objc_add_dynamic_declaration): New.
101         * c-common.c (c_common_reswords): Add synthesize and dynamic.
102         * stub-objc.c (objc_add_synthesize_declaration): New.
103         (objc_add_dynamic_declaration): New.
104         
105 2010-10-18  Michael Meissner  <meissner@linux.vnet.ibm.com>
106
107         PR target/46041
108         * c-cppbuiltin.c (mode_has_fma): Move function here from
109         builtins.c.  Don't use the fma optab, instead just use the
110         HAVE_fma* macros, so that __FP_FAST_FMA* will be defined when
111         using -save-temps.
112
113 2010-10-18  Nicola Pero  <nicola.pero@meta-innovation.com>
114
115         Merge from 'apple/trunk' branch on FSF servers.
116
117         2005-11-08  Fariborz Jahanian <fjahanian@apple.com>
118
119         Radar 4330422
120         * c-common.h (objc_non_volatilized_type): New declaration
121         * stub-objc.c (objc_non_volatilized_type): New stub.
122
123 2010-10-17  Nicola Pero  <nicola.pero@meta-innovation.com>
124
125         Merge from 'apple/trunk' branch on FSF servers.
126
127         2006-03-27 Fariborz Jahanian <fjahanian@apple.com>
128
129         Radar 4133425
130         * c-common.h (objc_diagnose_private_ivar): New decl.
131         * stub-objc.c (objc_diagnose_private_ivar): New stub.
132
133 2010-10-17  Iain Sandoe  <iains@gcc.gnu.org>
134
135         * c-common.c (c_common_reswords): Add package, RID_AT_PACKAGE.
136         * c-common.h (enum rid): Add RID_AT_PACKAGE.
137         (objc_ivar_visibility_kind): New enum.
138         (objc_set_visibility): Adjust prototype to use visibility enum.
139         * stub-objc.c (objc_set_visibility): Adjust stub to use
140         visibility enum.
141
142 2010-10-14  Michael Meissner  <meissner@linux.vnet.ibm.com>
143
144         * c-cppbuiltin.c (builtin_define_float_constants): Emit
145         __FP_FAST_FMA, __FP_FAST_FMAF, and __FP_FAST_FMAL if the machine
146         has the appropriate fma builtins.
147         (c_cpp_builtins): Adjust call to builtin_define_float_constants.
148
149 2010-10-14  Iain Sandoe  <iains@gcc.gnu.org>
150
151         merge from FSF apple 'trunk' branch.
152         2006 Fariborz Jahanian <fjahanian@apple.com>
153
154         Radars 4436866, 4505126, 4506903, 4517826
155         * c-common.c (c_common_resword): Define @property and its attributes.
156         * c-common.h: Define property attribute enum entries.
157         (OBJC_IS_PATTR_KEYWORD): New.
158         (objc_property_attribute_kind): New enum.
159         Declare objc_set_property_attr (), objc_add_property_variable (),
160         objc_build_getter_call () and objc_build_setter_call ().
161         * stub-objc.c (objc_set_property_attr): New stub.
162         (objc_add_property_variable): Likewise.
163         (objc_build_getter_call): Likewise.
164         (objc_build_setter_call) Likewise.
165
166 2010-10-13  Iain Sandoe  <iains@gcc.gnu.org>
167
168         merge from FSF apple 'trunk' branch.
169         2006-04-26 Fariborz Jahanian <fjahanian@apple.com>
170
171         Radar 3803157 (method attributes)
172         * c-common.c (handle_deprecated_attribute): Recognize
173         objc methods as valid declarations.
174         * c-common.h: Declare objc_method_decl ().
175         * stub-objc.c (objc_method_decl): New stub.
176
177 2010-10-08  Joseph Myers  <joseph@codesourcery.com>
178
179         * c-common.c (parse_optimize_options): Call
180         decode_cmdline_options_to_array_default_mask before
181         decode_options.  Update arguments to decode_options.
182         * c-common.h (c_common_init_options_struct): Declare.
183         * c-opts.c (c_common_init_options_struct): New.  Split out from
184         c_common_init_options.
185
186 2010-10-06  Nicola Pero  <nicola.pero@meta-innovation.com>
187
188         Implemented fast enumeration for Objective-C.
189         * c-common.h (objc_finish_foreach_loop): New.
190         * stub-objc.c (objc_finish_foreach_loop): New.
191
192 2010-10-05  Joseph Myers  <joseph@codesourcery.com>
193
194         * c-common.h (struct diagnostic_context): Don't declare here.
195         (c_common_initialize_diagnostics): Declare using
196         diagnostic_context typedef.
197         * c-opts.c (c_common_handle_option): Pass global_dc to
198         handle_generated_option.
199
200 2010-10-04  Joseph Myers  <joseph@codesourcery.com>
201
202         * c-opts.c (c_common_handle_option): Pass &global_options_set to
203         handle_generated_option.
204
205 2010-10-03  Ian Lance Taylor  <iant@google.com>
206
207         * c.opt (-fplan9-extensions): New option.
208
209 2010-10-03  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
210
211         * c-cppbuiltin.c (define__GNUC__, builtin_define_type_precision):
212         Remove.
213         (c_cpp_builtins): Call functions from cppbuiltin.c instead
214         of duplicating code.
215
216 2010-09-30  Iain Sandoe  <iains@gcc.gnu.org>
217
218         * c-common.c: Add two new entries for @optional
219         and @required keywords.
220
221         merge from FSF 'apple/trunk' branch.
222         2006-01-30  Fariborz Jahanian <fjahanian@apple.com>
223
224         Radar 4386773
225         * c-common.h (RID_AT_OPTIONAL, RID_AT_REQUIRED): Two new
226         objective-c keywords.
227         (objc_set_method_opt): New declaration.
228         * stub-objc.c (objc_set_method_opt): New stub.
229         
230 2010-09-30  Joseph Myers  <joseph@codesourcery.com>
231
232         * c-common.c (handle_optimize_attribute): Pass &global_options to
233         cl_optimization_save and cl_optimization_restore.
234         * c-opts.c (c_common_handle_option): Pass &global_options to
235         handle_generated_option.
236         * c-pragma.c (handle_pragma_diagnostic): Use option_flag_var.
237         (handle_pragma_pop_options, handle_pragma_reset_options): Pass
238         &global_options to cl_optimization_restore.
239
240 2010-09-30  Nicola Pero  <nicola.pero@meta-innovation.com>
241
242         * c-lex.c (c_lex_with_flags): Updated comments for CPP_AT_NAME
243         Objective-C/Objective-C++ keywords.
244
245 2010-09-29  Nicola Pero  <nicola.pero@meta-innovation.com>
246
247         Merge from 'apple/trunk' branch on FSF servers. 
248         
249         2005-10-04  Fariborz Jahanian <fjahanian@apple.com>
250
251         Radar 4281748
252         * c-common.h (objc_check_global_decl): New declaration.
253         * stub-objc.c (objc_check_global_decl): New stub.
254
255 2010-09-29  Joseph Myers  <joseph@codesourcery.com>
256
257         * c.opt: Don't use VarExists.
258
259 2010-09-29  Joseph Myers  <joseph@codesourcery.com>
260
261         * c-common.c (c_cpp_error): Update names of diagnostic_context
262         members.
263         * c-cppbuiltin.c (c_cpp_builtins_optimize_pragma): Update names of
264         cl_optimization members.
265         * c-opts.c (warning_as_error_callback, c_common_handle_option,
266         sanitize_cpp_opts, finish_options): Update names of cpp_options
267         members.
268
269 2010-09-29  Nicola Pero  <nicola.pero@meta-innovation.com>
270
271         * c-common.h (OBJC_IS_CXX_KEYWORD): New macro.  Updated comments.
272         (objc_is_reserved_word): Removed.
273         * c-common.c: Updated comments.
274         * c-lex.c (c_lex_with_flags): Use OBJC_IS_CXX_KEYWORD instead of
275         objc_is_reserved_word.
276         * stub-objc.c (objc_is_reserved_word): Removed.
277
278 2010-09-28  Iain Sandoe  <iains@gcc.gnu.org>
279
280         * c-common.h (objc_add_method_declaration): Adjust prototype to 
281         include attributes.
282         (objc_start_method_definition): Likewise.
283         (objc_build_keyword_decl): Likewise.
284         * stub-objc.c:(objc_add_method_declaration): Handle attributes.
285         (objc_start_method_definition): Likewise.
286         (objc_build_keyword_decl): Likewise.
287
288 2010-09-28  Iain Sandoe  <iains@gcc.gnu.org>
289
290         * c-common.h (objc_start_class_interface): Adjust prototype.
291         (objc_start_category_interface): Likewise.
292         (objc_start_protocol): Likewise.
293         * stub-objc.c (objc_start_protocol): Adjust for extra argument.
294         (objc_start_class_interface): Likewise.
295         (objc_start_category_interface): Likewise.
296
297 2010-09-27  Ian Lance Taylor  <iant@google.com>
298
299         * c-common.c (c_common_attribute_table): Add no_split_stack.
300         (handle_no_split_stack_attribute): New static function.
301
302 2010-09-27  Nicola Pero  <nicola.pero@meta-innovation.com>
303
304         Merge from 'apple/trunk' branch on FSF servers. 
305
306         2005-12-15  Fariborz Jahanian <fjahanian@apple.com>
307
308         Radar 4229905   
309         * c-common.h (objc_have_common_type): New declaration.
310         * stub-objc.c (objc_have_common_type): New stub.
311
312         2005-06-22  Ziemowit Laski  <zlaski@apple.com>
313
314         Radar 4154928
315         * c-common.h (objc_common_type): New prototype.
316         * stub-objc.c (objc_common_type): New stub.     
317
318 2010-09-24  Jan Hubicka  <jh@suse.cz>
319
320         * c-common.c (handle_leaf_attribute): New function.
321         (struct attribute_spec c_common_att): Add leaf.
322
323 2010-09-22  Joseph Myers  <joseph@codesourcery.com>
324
325         * c.opt (-all-warnings, -ansi, -assert, -assert=, -comments,
326         -comments-in-macros, -define-macro, -define-macro=, -dependencies,
327         -dump, -dump=, -imacros, -imacros=, -include, -include=,
328         -include-barrier, -include-directory, -include-directory=,
329         -include-directory-after, -include-directory-after=,
330         -include-prefix, -include-prefix=, -include-with-prefix,
331         -include-with-prefix=, -include-with-prefix-after,
332         -include-with-prefix-after=, -include-with-prefix-before,
333         -include-with-prefix-before=, -no-integrated-cpp,
334         -no-line-commands, -no-standard-includes, -no-warnings, -output,
335         -output=, -pedantic, -pedantic-errors, -preprocess,
336         -print-missing-file-dependencies, -trace-includes, -traditional,
337         -traditional-cpp, -trigraphs, -undefine-macro, -undefine-macro=,
338         -user-dependencies, -verbose, -write-dependencies,
339         -write-user-dependencies, no-integrated-cpp, traditional): New.
340
341 2010-09-21  Nicola Pero  <nicola.pero@meta-innovation.com>
342
343         PR objc/23710
344         * c-common.h (objc_start_method_definition): Return bool instead
345         of void.
346         * stub-objc.c (objc_start_method_definition): Return bool instead
347         of void.
348
349 2010-09-21  Nicola Pero  <nicola.pero@meta-innovation.com>
350
351         PR objc/25965
352         * c-common.h (objc_get_interface_ivars): New declaration.
353         * stub-objc.c (objc_get_interface_ivars): New stub.
354
355 2010-09-15  Ian Lance Taylor  <iant@google.com>
356
357         * c-common.c (parse_optimize_options): Do not capitalize warning
358         messages.  Remove period at end of warning message.
359
360 2010-09-09  Nathan Sidwell  <nathan@codesourcery.com>
361
362         * c-common.c (handle_alias_ifunc_attribute): New, broken out of ...
363         (handle_alias_attribute): ... here.
364         (handle_ifunc_attribute): New.
365
366 2010-09-06  Mark Mitchell  <mark@codesourcery.com>
367
368         * c-common.h (do_warn_double_promotion): Declare.
369         * c-common.c (do_warn_double_promotion): Define.
370
371 2010-09-05  Mark Mitchell  <mark@codesourcery.com>
372
373         * c.opt (Wdouble-promotion): New.
374
375 2010-09-02  Joseph Myers  <joseph@codesourcery.com>
376
377         * c.opt (falt-external-templates, fhuge-objects, fvtable-gc,
378         fvtable-thunks, fxref): Mark no longer supported in help text.
379
380 2010-09-02  Joseph Myers  <joseph@codesourcery.com>
381
382         * c.opt (Wimport, fall-virtual, falt-external-templates,
383         fdefault-inline, fenum-int-equiv, fexternal-templates,
384         fguiding-decls, fhonor-std, fhuge-objects, flabels-ok,
385         fname-mangling-version-, fnew-abi, fnonnull-objects,
386         foptional-diags, fsquangle, fstrict-prototype, fthis-is-variable,
387         fvtable-gc, fvtable-thunks, fxref): Mark with Ignore and Warn as
388         applicable.
389         (fhandle-exceptions): Mark with Alias and Warn.
390         * c-opts.c (c_common_handle_option): Don't handle options marked
391         as ignored.
392
393 2010-09-02  Joseph Myers  <joseph@codesourcery.com>
394
395         * c.opt (Wcomments, Werror-implicit-function-declaration,
396         ftemplate-depth-, std=c89, std=c9x, std=gnu89, std=gnu9x,
397         std=iso9899:1990, std=iso9899:1999, std=iso9899:199x): Mark as
398         aliases.
399         * c-common.c (option_codes): Use OPT_Wcomment instead of
400         OPT_Wcomments.
401         * c-opts.c (warning_as_error_callback, c_common_handle_option):
402         Don't handle options marked as aliases.
403
404 2010-08-25  Richard Guenther  <rguenther@suse.de>
405
406         * c-common.c (c_common_get_alias_set): Remove special
407         handling for pointers.
408
409 2010-08-20  Nathan Froyd  <froydnj@codesourcery.com>
410
411         * c-common.c: Use FOR_EACH_VEC_ELT.
412         * c-gimplify.c: Likewise.
413         * c-pragma.c: Likewise.
414
415 2010-08-16  Joseph Myers  <joseph@codesourcery.com>
416
417         * c.opt (MDX): Change back to MD.  Mark NoDriverArg instead of
418         RejectDriver.
419         (MMDX): Change back to MMD.  Mark NoDriverArg instead of
420         RejectDriver.
421         * c-opts.c (c_common_handle_option): Use OPT_MD and OPT_MMD
422         instead of OPT_MDX and OPT_MMDX.
423
424 2010-08-16  Joseph Myers  <joseph@codesourcery.com>
425
426         * c.opt (MDX, MMDX, lang-asm): Mark RejectDriver.
427
428 2010-08-12  Joseph Myers  <joseph@codesourcery.com>
429
430         * c.opt (MD, MMD): Change to MDX and MMDX.
431         * c-opts.c (c_common_handle_option): Use OPT_MMD and OPT_MMDX.
432
433 2010-08-11  Joseph Myers  <joseph@codesourcery.com>
434
435         * c-opts.c (c_common_handle_option): Call handle_generated_option
436         instead of handle_option.
437
438 2010-08-08  Nathan Froyd  <froydnj@codesourcery.com>
439
440         * c-pragma.c (add_to_renaming_pragma_list): Fix call to VEC_safe_push.
441         (maybe_apply_renaming_pragma): Delete unneeded declarations.
442
443 2010-08-08  Nathan Froyd  <froydnj@codesourcery.com>
444
445         * c-pragma.c (pending_redefinition): Declare.  Declare a VEC of it.
446         (pending_redefine_extname): Change type to a VEC.
447         (add_to_renaming_pragma_list): Update for new type of
448         pending_redefine_extname.
449         (maybe_apply_renaming_pragma): Likewise.
450
451 2010-08-04  Arnaud Charlet  <charlet@adacore.com>
452
453         * c-ada-spec.c (dump_ada_template): Mark underlying instance type as
454         visited.
455         (dump_generic_ada_node): Code clean up. Use TREE_VISITED flag to
456         decide whether a type has already been declared/seen.
457         Do not go to the original type.
458         (dump_nested_types): New parameter forward.
459         Generate forward declaration if needed and mark type as visited.
460         (print_ada_declaration): Call dump_nested_types if not already done.
461         Mark types as visited.
462
463 2010-08-03  Joseph Myers  <joseph@codesourcery.com>
464
465         * c.opt (-print-pch-checksum): Remove option.
466         * c-opts.c (c_common_handle_option): Don't handle
467         OPT_print_pch_checksum.
468
469 2010-07-27  Joseph Myers  <joseph@codesourcery.com>
470
471         * c-common.h (c_common_handle_option): Update prototype and return
472         value type.
473         * c-opts.c (c_common_handle_option): Update prototype and return
474         value type.  Update calls to handle_option and
475         enable_warning_as_error.
476
477 2010-07-27  Jakub Jelinek  <jakub@redhat.com>
478
479         PR c/45079
480         * c-pretty-print.c (pp_c_expression): Handle C_MAYBE_CONST_EXPR.
481
482 2010-07-27  Joseph Myers  <joseph@codesourcery.com>
483
484         * c-common.h (c_common_missing_argument): Remove.
485         * c-opts.c (c_common_missing_argument): Remove.
486         * c.opt (A, D, F, I, MD, MMD, MQ, MT, U, fconstant-string-class=,
487         idirafter, imacros, include, isysroot, isystem, iquote): Add
488         MissingArgError.
489         * c-objc-common.h (LANG_HOOKS_MISSING_ARGUMENT): Remove.
490
491 2010-07-27  Joseph Myers  <joseph@codesourcery.com>
492
493         * c-common.h (c_common_option_lang_mask,
494         c_common_initialize_diagnostics, c_common_complain_wrong_lang_p):
495         New.
496         (c_common_init_options): Update prototype.
497         * c-opts.c (c_common_option_lang_mask): New.
498         (c_common_initialize_diagnostics): Split out of
499         c_common_init_options.
500         (accept_all_c_family_options, c_common_complain_wrong_lang_p):
501         New.
502         (c_common_init_options): Update prototype.  Use decoded options in
503         search for -lang-asm.
504
505 2010-07-15  Nathan Froyd  <froydnj@codesourcery.com>
506
507         * c-common.c: Carefully replace TREE_CHAIN with DECL_CHAIN.
508         * c-format.c: Likewise.
509
510 2010-07-08  Manuel López-Ibáñez  <manu@gcc.gnu.org>
511
512         * c-common.h: Include diagnostic-core.h. Error if already
513         included.
514         * c-semantics.c: Do not define GCC_DIAG_STYLE here.
515
516 2010-07-03  Manuel López-Ibáñez  <manu@gcc.gnu.org>
517
518         * c-family/c-common.c (IN_GCC_FRONTEND): Do not undef.
519         Do not include expr.h
520         (vector_mode_valid_p): Move here.
521
522 2010-06-21  DJ Delorie  <dj@redhat.com>
523
524         * c-pragma.c (handle_pragma_diagnostic): Add push/pop,
525         allow these pragmas anywhere.
526
527 2010-06-14  Jakub Jelinek  <jakub@redhat.com>
528
529         PR bootstrap/44509
530         * c-cppbuiltin.c: Include gt-c-family-c-cppbuiltin.h.
531         (lazy_hex_fp_values, lazy_hex_fp_value_count): Add GTY(()) markers.
532         (lazy_hex_fp_value, builtin_define_with_hex_fp_value): Use
533         ggc_strdup instead of xstrdup.
534
535 2010-06-10  Jakub Jelinek  <jakub@redhat.com>
536
537         * c-cppbuiltin.c: Include cpp-id-data.h.
538         (lazy_hex_fp_values, lazy_hex_fp_value_count): New variables.
539         (lazy_hex_fp_value): New function.
540         (builtin_define_with_hex_fp_value): Provide definitions lazily.
541
542 2010-06-30  Manuel López-Ibáñez  <manu@gcc.gnu.org>
543
544         * c-gimplify.c: Do not include tree-flow.h
545
546 2010-06-29  Joern Rennecke  <joern.rennecke@embecosm.com>
547
548         PR other/44034
549         * c-common.c: Rename targetm member:
550         targetm.enum_va_list -> targetm.enum_va_list_p
551
552 2010-06-28  Anatoly Sokolov  <aesok@post.ru>
553
554         * c-common.c (shorten_compare): Adjust call to force_fit_type_double.
555
556 2010-06-28  Steven Bosscher  <steven@gcc.gnu.org>
557
558         * c-cppbuiltin.c: Do not include except.h.
559
560 2010-06-24  Andi Kleen  <ak@linux.intel.com>
561
562         * c-common.c (warn_for_omitted_condop): New.
563         * c-common.h (warn_for_omitted_condop): Add prototype.
564
565 2010-06-21  Joseph Myers  <joseph@codesourcery.com>
566
567         * c.opt (lang-objc): Remove.
568         * c-opts.c (c_common_handle_option): Don't handle OPT_lang_objc.
569
570 2010-06-21  Joern Rennecke  <joern.rennecke@embecosm.com>
571
572         * c-opts.c: Include "tm_p.h".
573
574 2010-06-20  Joseph Myers  <joseph@codesourcery.com>
575
576         * c-common.c (parse_optimize_options): Update call to
577         decode_options.
578
579 2010-06-18  Nathan Froyd  <froydnj@codesourcery.com>
580
581         * c-common.c (record_types_used_by_current_var_decl): Adjust for
582         new type of types_used_by_cur_var_decl.
583
584 2010-06-17  Joern Rennecke  <joern.rennecke@embecosm.com>
585
586         PR bootstrap/44512
587         * c-cppbuiltin.c (builtin_define_with_hex_fp_value): Add cast
588         for C++ standard compliance.
589
590 2010-06-16  Jason Merrill  <jason@redhat.com>
591
592         * c.opt: Add -Wnoexcept.
593
594 2010-06-16  Richard Guenther  <rguenther@suse.de>
595
596         PR c/44555
597         * c-common.c (c_common_truthvalue_conversion): Remove
598         premature and wrong optimization concering ADDR_EXPRs.
599
600 2010-06-15  Arnaud Charlet  <charlet@adacore.com>
601
602         * c-ada-spec.c (dump_sloc): Remove column info.
603         (is_simple_enum): New function.
604         (dump_generic_ada_node, print_ada_declaration): Map C enum types to Ada
605         enum types when relevant.
606
607 2010-06-11  Manuel López-Ibáñez  <manu@gcc.gnu.org>
608
609         * c-common.c (conversion_warning): Warn at expression
610         location.
611
612 2010-06-10  Joseph Myers  <joseph@codesourcery.com>
613
614         * c-opts.c (c_common_handle_option): Don't handle
615         OPT_fshow_column.
616
617 2010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
618
619         * c-pragma.c (push_alignment): Use typed GC allocation.
620         (handle_pragma_push_options): Likewise.
621
622         * c-common.c (parse_optimize_options): Likewise.
623
624         * c-common.h (struct sorted_fields_type): Add variable_size GTY
625         option.
626
627 2010-06-07  Joseph Myers  <joseph@codesourcery.com>
628
629         * c-common.c (flag_preprocess_only, flag_undef, flag_no_builtin,
630         flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
631         flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
632         flag_signed_bitfields, warn_strict_null_sentinel,
633         flag_nil_receivers, flag_zero_link, flag_replace_objc_classes,
634         flag_gen_declaration, flag_no_gnu_keywords,
635         flag_implement_inlines, flag_implicit_templates,
636         flag_implicit_inline_templates, flag_optional_diags,
637         flag_elide_constructors, flag_default_inline, flag_rtti,
638         flag_conserve_space, flag_access_control, flag_check_new,
639         flag_new_for_scope, flag_weak, flag_working_directory,
640         flag_use_cxa_atexit, flag_use_cxa_get_exception_ptr,
641         flag_enforce_eh_specs, flag_threadsafe_statics,
642         flag_pretty_templates): Remove.
643         * c-common.h (flag_preprocess_only, flag_nil_receivers,
644         flag_objc_exceptions, flag_objc_sjlj_exceptions, flag_zero_link,
645         flag_replace_objc_classes, flag_undef, flag_no_builtin,
646         flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
647         flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
648         flag_const_strings, flag_signed_bitfields, flag_gen_declaration,
649         flag_no_gnu_keywords, flag_implement_inlines,
650         flag_implicit_templates, flag_implicit_inline_templates,
651         flag_optional_diags, flag_elide_constructors, flag_default_inline,
652         flag_rtti, flag_conserve_space, flag_access_control,
653         flag_check_new, flag_new_for_scope, flag_weak,
654         flag_working_directory, flag_use_cxa_atexit,
655         flag_use_cxa_get_exception_ptr, flag_enforce_eh_specs,
656         flag_threadsafe_statics, flag_pretty_templates,
657         warn_strict_null_sentinel): Remove.
658         * c.opt (E, Wstrict-null-sentinel, faccess-control, fasm,
659         fbuiltin, fcheck-new, fconserve-space, felide-constructors,
660         fenforce-eh-specs, ffor-scope, fgnu-keywords, fimplement-inlines,
661         fimplicit-inline-templates, fimplicit-templates,
662         flax-vector-conversions, fms-extensions, fnil-receivers,
663         fnonansi-builtins, fpretty-templates, freplace-objc-classes,
664         frtti, fshort-double, fshort-enums, fshort-wchar,
665         fsigned-bitfields, fsigned-char, fstats, fthreadsafe-statics,
666         funsigned-bitfields, funsigned-char, fuse-cxa-atexit,
667         fuse-cxa-get-exception-ptr, fweak, fworking-directory, fzero-link,
668         gen-decls, undef): Use Var.
669         (fdefault-inline, foptional-diags): Document as doing nothing.
670         * c-opts.c (c_common_handle_option): Remove cases for options now
671         using Var.  Mark ignored options as such.
672
673 2010-06-05  Steven Bosscher  <steven@gcc.gnu.org>
674
675         * c-common.c: Moved to here from parent directory. 
676         * c-common.def: Likewise.
677         * c-common.h: Likewise.
678         * c-cppbuiltin.c: Likewise.
679         * c-dump.c: Likewise.
680         * c-format.c: Likewise.
681         * c-format.h : Likewise.
682         * c-gimplify.c: Likewise.
683         * c-lex.c: Likewise.
684         * c-omp.c: Likewise.
685         * c.opt: Likewise.
686         * c-opts.c: Likewise.
687         * c-pch.c: Likewise.
688         * c-ppoutput.c: Likewise.
689         * c-pragma.c: Likewise.
690         * c-pragma.h: Likewise.
691         * c-pretty-print.c: Likewise.
692         * c-pretty-print.h: Likewise.
693         * c-semantics.c: Likewise.
694         * stub-objc.c: Likewise.
695
696         * c-common.c: Include gt-c-family-c-common.h.
697         * c-pragma.c: Include gt-c-family-c-pragma.h.
698 \f
699 Copyright (C) 2010 Free Software Foundation, Inc.
700
701 Copying and distribution of this file, with or without modification,
702 are permitted in any medium without royalty provided the copyright
703 notice and this notice are preserved.