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