OSDN Git Service

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