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