OSDN Git Service

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