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