]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/c-family/ChangeLog
re PR tree-optimization/46728 (GCC does not generate fmadd for pow (x, 0.75)+y on...
[thirdparty/gcc.git] / gcc / c-family / ChangeLog
CommitLineData
38e01f9e
NF
12011-05-27 Nathan Froyd <froydnj@codesourcery.com>
2
3 * c-common.h (struct stmt_tree_s) [x_cur_stmt_list]: Change to a VEC.
4 (stmt_list_stack): Define.
5 (cur_stmt_list): Adjust for new type of x_cur_stmt_list.
6 * c-semantics.c (push_stmt_list, pop_stmt_list): Likewise.
7
92e948a8
NF
82011-05-26 Nathan Froyd <froydnj@codesourcery.com>
9
10 * c-common.c (warning_candidate_p): Check for BLOCKs.
11
a2fc3e63
NF
122011-05-26 Nathan Froyd <froydnj@codesourcery.com>
13
14 * c-common.h (struct c_common_identifier): Inherit from tree_typed,
15 not tree_common.
16
0957c029
JJ
172011-05-25 Jakub Jelinek <jakub@redhat.com>
18
19 * c-common.c (def_fn_type): Remove extra va_end.
20
828fb3ba
JM
212011-05-23 Jason Merrill <jason@redhat.com>
22
23 PR c++/48106
24 * c-common.c (c_common_get_narrower): New.
25 (shorten_binary_op, shorten_compare, warn_for_sign_compare): Use it.
26
dde05067
NF
272011-05-23 Nathan Froyd <froydnj@codesourcery.com>
28
29 * c-common.h (check_function_arguments): Tweak prototype of
30 check_function_arguments.
31 * c-common.c (check_function_arguments): Likewise. Adjust
32 calls to check_function_nonnull, check_function_format, and
33 check_function_sentinel.
34 (check_function_sentinel): Take a FUNCTION_TYPE rather than
35 separate attributes and typelist arguments. Use
36 FOREACH_FUNCTION_ARGS to iterate over argument types.
37
3c0d13bf
PC
382011-05-15 Paolo Carlini <paolo.carlini@oracle.com>
39
40 * c-common.c (c_common_reswords): Reorder.
41 * c-common.h (rid): Likewise.
42
8242dd04
NF
432011-05-10 Nathan Froyd <froydnj@codesourcery.com>
44
45 * c-common.c (def_fn_type): Don't call build_function_type, call
46 build_function_type_array or build_varargs_function_type_array
47 instead.
48 (c_common_nodes_and_builtins): Likewise.
49
3d528853
NF
502011-05-05 Nathan Froyd <froydnj@codesourcery.com>
51
52 * c-common.c (c_add_case_label): Omit the loc argument to
53 build_case_label.
54 * c-common.h (build_case_label): Remove.
55 * c-semantics.c (build_case_label): Remove.
56
a04a722b
JM
572011-05-05 Joseph Myers <joseph@codesourcery.com>
58
59 * c-objc.h (objc_start_method_definition): Update prototype.
60 * stub-objc.c (objc_start_method_definition): Add extra parameter.
61
e19a18d4
NF
622011-05-04 Nathan Froyd <froydnj@codesourcery.com>
63
64 * c-common.c (check_main_parameter_types): Reindent. Don't use
65 TYPE_ARG_TYPES directly.
66 (handle_nonnull_attribute): Likewise.
67 (sync_resolve_params): Likewise.
68 * c-format.c (handle_format_arg_attribute): Likewise. Adjust call
69 to check_format_string.
70 (handle_format_attribute): Likewise.
71 (check_format_string): Take a function type to examine instead of
72 a type list. Use a function_arg_iterator to step through argument
73 types.
74
c62c040f
RG
752011-05-04 Richard Guenther <rguenther@suse.de>
76
77 * c-common.c (fix_string_type): Use size_int for index type bounds.
78 (start_fname_decls): Do not pass NULL to build_int_cst.
79 (c_init_attributes): Likewise.
80 * c-lex.c (c_lex_with_flags): Likewise.
81
c12ff9d8
JM
822011-04-27 Jason Merrill <jason@redhat.com>
83
84 * c-common.c (make_tree_vector_from_list): New.
85 * c-common.h: Declare it.
86
304dfbe3
RG
872011-04-26 Richard Guenther <rguenther@suse.de>
88
89 PR preprocessor/48248
90 * c-ppoutput.c (maybe_print_line): Always optimize newlines
91 for output size with -P.
92
3c0d13bf
PC
932011-04-25 Paolo Carlini <paolo.carlini@oracle.com>
94
95 * c-common.c (struct c_common_resword): Add __underlying_type.
96 * c-common.h (enum rid): Add RID_UNDERLYING_TYPE.
97
04695783
JM
982011-04-20 Jim Meyering <meyering@redhat.com>
99
100 * c-format.c (init_dollar_format_checking): Remove useless
101 if-before-free.
102
0dc33c3c
NP
1032011-04-15 Nicola Pero <nicola.pero@meta-innovation.com>
104
105 * c-objc.h (objc_get_interface_ivars): Removed.
3c0d13bf 106 (objc_detect_field_duplicates): New.
0dc33c3c 107 * stub-objc.c: Likewise.
3c0d13bf 108
c59633d9
NP
1092011-04-14 Nicola Pero <nicola.pero@meta-innovation.com>
110
111 * stub-objc.c (objc_declare_protocols): Renamed to
112 objc_declare_protocol.
113 * c-objc.h: Likewise.
3c0d13bf 114
32dabdaf
NP
1152011-04-14 Nicola Pero <nicola.pero@meta-innovation.com>
116
117 * stub-objc.c (objc_declare_class): Updated argument name.
118
81f653d6
NF
1192011-04-12 Nathan Froyd <froydnj@codesourcery.com>
120
121 * c-common.h (c_common_init_ts): Declare.
122 * c-common.c (c_common_init_ts): Define.
123
eb345401
NP
1242011-04-12 Nicola Pero <nicola.pero@meta-innovation.com>
125
126 * c-objc.h (objc_build_message_expr): Updated prototype.
127 * stub-objc.c (objc_build_message_expr): Likewise.
128
a358e188
MJ
1292011-04-12 Martin Jambor <mjambor@suse.cz>
130
131 * c-gimplify.c (c_genericize): Call cgraph_get_create_node instead
132 of cgraph_node.
133
e6313a78
RG
1342011-04-11 Richard Guenther <rguenther@suse.de>
135
136 * c-common.c (complete_array_type): Build a range type of
137 proper type.
138
dcf0c47e
NF
1392011-04-08 Nathan Froyd <froydnj@codesourcery.com>
140
141 * c-common.c (handle_sentinel_attribute): Don't use TYPE_ARG_TYPES.
142 (handle_type_generic_attribute): Likewise.
143
1ee44b26
JM
1442011-04-07 Jason Merrill <jason@redhat.com>
145
146 PR c++/48450
147 * c-common.c (c_common_truthvalue_conversion): Don't ignore
148 conversion from C++0x scoped enum.
149
acce4e77
JM
1502011-04-06 Joseph Myers <joseph@codesourcery.com>
151
152 * c-target-def.h: New file.
153 * c-target.def: New file.
154 * c-target.h: New file.
155 * c-common.c (targetcm): Don't define here.
156 * c-common.h (default_handle_c_option): Declare.
157 * c-format.c: Include c-target.h instead of target.h.
158 * c-opts.c: Include c-target.h instead of target.h. Explicitly
159 include tm.h.
160 (default_handle_c_option): Move from targhooks.c.
161
e2eefb55
JJ
1622011-03-29 Jakub Jelinek <jakub@redhat.com>
163
164 PR preprocessor/48248
165 * c-ppoutput.c (print): Add src_file field.
166 (init_pp_output): Initialize it.
167 (maybe_print_line): Don't optimize by adding up to 8 newlines
168 if map->to_file and print.src_file are different file.
169 (print_line): Update print.src_file.
170
ba78087b
KT
1712011-03-25 Kai Tietz <ktietz@redhat.com>
172
173 * c-ada-spec.c (compare_comment): Use filename_cmp
174 instead of strcmp for filename.
175
0edf1bb2
JL
1762011-03-25 Jeff Law <law@redhat.com>
177
178 * c-family/c-common.c (def_fn_type): Add missing va_end.
179
c7dc8804
JM
1802011-03-25 Jason Merrill <jason@redhat.com>
181
182 * c.opt: Add -std=c++03.
183
d1d879b1
EB
1842011-03-22 Eric Botcazou <ebotcazou@adacore.com>
185
186 * c-ada-spec.c (dump_ada_template): Skip non-class instances.
187
62d784f7
KT
1882011-03-17 Kai Tietz
189
190 PR target/12171
5050afdf
KT
191 * c-pretty-print.c (pp_c_specifier_qualifier_list):
192 Display allowed attributes for function pointer types.
193 (pp_c_attributes_display): New function to display
194 attributes having affects_type_identity flag set to true.
195 * c-pretty-print.h (pp_c_attributes_display): New prototype.
196
62d784f7
KT
197 * c-common.c (c_common_attribute_table):
198 Add new element.
199 (c_common_format_attribute_table): Likewise.
200
82d37118
JM
2012011-03-18 Jason Merrill <jason@redhat.com>
202
49a000c3
JM
203 * c.opt (fconstexpr-depth): Add Var(max_constexpr_depth).
204 * c-common.h: Don't declare it here.
205 * c-common.c: Or define it here.
206 * c-opts.c (c_common_handle_option): Or set it here.
207
82d37118
JM
208 PR c++/35315
209 * c-common.c (handle_transparent_union_attribute): Don't
210 make a duplicate type in C++.
211
17bc631c
JM
2122011-03-15 Jason Merrill <jason@redhat.com>
213
214 * c-common.c (max_constexpr_depth): New.
215 * c-common.h: Declare it.
216 * c-opts.c (c_common_handle_option): Set it.
217 * c.opt (fconstexpr-depth): New option.
218
1b9b91a6
JM
2192011-03-11 Jason Merrill <jason@redhat.com>
220
f231b5ff
JM
221 * c-common.c (attribute_takes_identifier_p): Add missing const.
222
1b9b91a6
JM
223 PR c++/46803
224 * c-common.c (attribute_takes_identifier_p): Assume that an
225 unknown attribute takes an identifier.
226
a19e4d44
NF
2272011-03-07 Nathan Froyd <froydnj@codesourcery.com>
228
229 PR c/47786
230 * c-common.c (c_type_hash): Call list_length instead of iterating
231 through DECL_CHAIN. Rename 'i' to 'n_elements'.
232
982d62f6
JJ
2332011-02-19 Jakub Jelinek <jakub@redhat.com>
234
235 PR c/47809
236 * c-common.c (c_fully_fold_internal): Handle VIEW_CONVERT_EXPR.
237
0a256240
NP
2382011-02-17 Iain Sandoe <iains@gcc.gnu.org>
239
240 * c.opt (fobjc-abi-version=) New.
241 (fobjc-nilcheck): New.
242
ba9e6dd5
NF
2432011-02-03 Nathan Froyd <froydnj@codesourcery.com>
244
245 PR c++/46890
246 * c-common.h (keyword_is_decl_specifier): Declare.
247 * c-common.c (keyword_is_decl_specifier): Define.
248 (keyword_is_function_specifier): New function.
249
7273813a
JJ
2502011-01-26 Jakub Jelinek <jakub@redhat.com>
251
252 PR c/47473
253 * c-lex.c (interpret_float): If CPP_N_IMAGINARY, ensure
254 EXCESS_PRECISION_EXPR is created with COMPLEX_TYPE instead of
255 REAL_TYPE.
256
908ef79b
AC
2572011-01-26 Arnaud Charlet <charlet@adacore.com>
258
259 * c-ada-spec.c (dump_generic_ada_node): Avoid dereferencing null type.
260
237e9384
JJ
2612011-01-26 Jakub Jelinek <jakub@redhat.com>
262
263 PR pch/47430
264 * c-opts.c (c_common_post_options): Call c_common_no_more_pch
265 after init_c_lex if pch_file is set.
266
47ea1edf
DK
2672011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
268
d4dba752 269 PR c++/43601
47ea1edf
DK
270 * c.opt (-fkeep-inline-dllexport): New switch.
271
2aa9c6ae
RG
2722011-01-12 Richard Guenther <rguenther@suse.de>
273
274 PR middle-end/32511
275 * c-common.c (handle_weak_attribute): Warn instead of error
276 on declaring an inline function weak.
277
7bd11157
TT
2782011-01-05 Tom Tromey <tromey@redhat.com>
279
280 * c-common.h (lvalue_error): Update.
281 * c-common.c (lvalue_error): Add 'loc' argument. Call error_at,
282 not error.
283
0e66e494
NP
2842010-12-29 Nicola Pero <nicola.pero@meta-innovation.com>
285
b4f588c4
NP
286 PR objc/47075
287 * c-objc.h (objc_finish_message_expr): Added argument to
288 prototype.
289
f4da8dce
NF
2902010-12-22 Nathan Froyd <froydnj@codesourcery.com>
291
292 * c-common.c (handle_nonnull_attribute, handle_sentinel_attribute):
293 Use prototype_p.
294
46270f14
NP
2952010-12-18 Nicola Pero <nicola.pero@meta-innovation.com>
296
297 * c-objc.h (objc_maybe_warn_exceptions): New.
298 * stub-objc.c (objc_maybe_warn_exceptions): New.
299
4816c593
NF
3002010-12-10 Nathan Froyd <froydnj@codesourcery.com>
301
302 * c-common.h (readonly_error): Declare.
303 * c-common.c (readonly_error): Define.
304
7a6daeb0
NF
3052010-12-09 Nathan Froyd <froydnj@codesourcery.com>
306
307 * c-common.h (invalid_indirection_error): Declare.
308 * c-common.c (invalid_indirection_error): Define.
309
892f6119
RG
3102010-12-03 Richard Guenther <rguenther@suse.de>
311
312 PR c/46745
313 * c-pretty-print.c (pp_c_postfix_expression): Handle MEM_REF.
314 (pp_c_unary_expression): Likewise.
315 (pp_c_expression): Likewise.
316
6c39e757
NP
3172010-11-30 Nicola Pero <nicola.pero@meta-innovation.com>
318
319 * c-common.h (objc_finish_function): New.
320 (objc_non_volatilized_type): Removed.
321 (objc_type_quals_match): Removed.
322 * stub-objc.c (objc_finish_function): New.
323 (objc_non_volatilized_type): Removed.
324 (objc_type_quals_match): Removed.
325
7c475d11
JM
3262010-11-30 Joseph Myers <joseph@codesourcery.com>
327
328 * c-common.h (parse_optimize_options): Declare.
329 * c-cppbuiltin.c, c-format.c, c-gimplify.c, c-lex.c, c-omp.c,
330 c-pch.c, c-pragma.c, c-semantics.c: Don't include toplev.h.
331
71f3e391
JM
3322010-11-29 Joseph Myers <joseph@codesourcery.com>
333
334 * c-opts.c (check_deps_environment_vars): Use getenv instead of
335 GET_ENVIRONMENT.
336 * c-pch.c (O_BINARY): Don't define here.
337 * c-pragma.h: Include "cpplib.h" instead of <cpplib.h>.
338
d5fabb58
JM
3392010-11-25 Joseph Myers <joseph@codesourcery.com>
340
341 * c-cppbuiltin.c (c_cpp_builtins): Pass &global_options to
342 targetm.except_unwind_info.
343
299404a1
JM
3442010-11-23 Joseph Myers <joseph@codesourcery.com>
345
346 * c-opts.c (c_common_handle_option): Pass location to
347 set_struct_debug_option.
348
c98cd5bf
JM
3492010-11-23 Joseph Myers <joseph@codesourcery.com>
350
351 * c-common.c (visibility_options): Move from ../opts.c.
352 * c-common.h (struct visibility_flags, visibility_options):
353 Declare here.
354 * c-opts.c (finish_options): Rename to c_finish_options.
355 (c_common_init): Update call to finish_options.
356
a9546771
NP
3572010-11-22 Nicola Pero <nicola.pero@meta-innovation.com>
358
359 PR objc/34033
360 * c-lex.c (lex_string): Check that each string in an Objective-C
361 string concat sequence starts with either one or zero '@', and
362 that there are no spurious '@' signs at the end.
363
24a57808
JM
3642010-11-20 Joseph Myers <joseph@codesourcery.com>
365
366 * c-pragma.c: Remove conditionals on HANDLE_PRAGMA_PACK,
367 HANDLE_PRAGMA_PACK_PUSH_POP, HANDLE_PRAGMA_WEAK and
368 HANDLE_PRAGMA_VISIBILITY.
369 * c-pragma.h (HANDLE_PRAGMA_WEAK, HANDLE_PRAGMA_PACK,
370 HANDLE_PRAGMA_VISIBILITY): Don't define.
371 (HANDLE_SYSV_PRAGMA, HANDLE_PRAGMA_PACK_PUSH_POP): Don't test.
372
a9aa2c3a
NF
3732010-11-20 Nathan Froyd <froydnj@codesourcery.com>
374
375 PR c++/16189
376 PR c++/36888
377 PR c++/45331
378 * c-common.h (keyword_begins_type_specifier): Declare.
379 (keyword_is_storage_class_specifier): Declare.
380 (keyword_is_type_qualifier): Declare.
381 * c-common.c (keyword_begins_type_specifier): New function.
382 (keyword_is_storage_class_specifier): New function.
383 (keyword_is_type_qualifier): Declare.
384
5386338c
JM
3852010-11-19 Joseph Myers <joseph@codesourcery.com>
386
387 PR c/46547
388 * c-common.c (in_late_binary_op): Define.
389 (c_common_truthvalue_conversion): Check in_late_binary_op before
390 calling c_save_expr.
391 * c-common.h (in_late_binary_op): Declare.
392
69ccdddb
JM
3932010-11-19 Joseph Myers <joseph@codesourcery.com>
394
395 * c-opts.c (c_common_handle_option): Update calls to
396 set_struct_debug_option.
397
6b192a09
NP
3982010-11-19 Nicola Pero <nicola.pero@meta-innovation.com>
399
400 * c-common.h (objc_declare_protocols): Added additional argument.
401 * stub-objc.c (objc_declare_protocol): Same change.
402
fb52b50a
NF
4032010-11-18 Nathan Froyd <froydnj@codesourcery.com>
404
405 PR c/33193
406 * c-common.h (build_real_imag_expr): Declare.
407 * c-semantics.c (build_real_imag_expr): Define.
408
b37421c6
JM
4092010-11-17 Joseph Myers <joseph@codesourcery.com>
410
411 * c-opts.c (c_common_parse_file): Take no arguments.
412 * c-common.h (c_common_parse_file): Update prototype.
413
07078664
JJ
4142010-11-16 Jakub Jelinek <jakub@redhat.com>
415
416 PR c++/46401
417 * c-common.c (warning_candidate_p): Don't track non-const calls
418 or STRING_CSTs.
419
c6a13190
ILT
4202010-11-15 Ian Lance Taylor <iant@google.com>
421
422 * c-lex.c (init_c_lex): Set macro debug callbacks if
423 flag_dump_go_spec is set.
424
925e8657
NP
4252010-11-15 Nicola Pero <nicola.pero@meta-innovation.com>
426
427 * c-common.h (objc_build_incr_expr_for_property_ref): New.
428 * stub-objc.c (objc_build_incr_expr_for_property_ref): New.
429
bb0a9581
NF
4302010-11-15 Nathan Froyd <froydnj@codesourcery.com>
431
432 PR preprocessor/45038
433 * c-cppbuiltin.c (c_cpp_builtins): Use different format for C++
434 dialects.
435
c5fa0890
JM
4362010-11-12 Joseph Myers <joseph@codesourcery.com>
437
438 * c-common.h (c_family_lang_mask): Declare.
439 * c-opts.c (c_family_lang_mask): Make extern.
440 * c-pragma.c (handle_pragma_diagnostic): Use
441 control_warning_option.
442
a4d8c676
JM
4432010-11-12 Joseph Myers <joseph@codesourcery.com>
444
445 * c-common.c (parse_optimize_options): Update call to
446 decode_options.
447 * c-common.h (c_common_handle_option): Update prototype.
448 * c-opts.c (c_common_handle_option): Take location_t parameter and
449 pass it to other functions.
450
f954bd2c
JM
4512010-11-11 Joseph Myers <joseph@codesourcery.com>
452
453 * c-opts.c (warning_as_error_callback): Remove.
454 (c_common_initialize_diagnostics): Don't call
455 register_warning_as_error_callback.
456 (c_common_handle_option): Handle -Werror=normalized= here.
457
d8a07487
JM
4582010-11-10 Joseph Myers <joseph@codesourcery.com>
459
460 * c-common.c (handle_mode_attribute): Use %' and word "signedness"
461 in diagnostic.
462 * c-opts.c (c_common_parse_file): Start diagnostics with lowercase
463 letter.
464 * c-pragma.c (handle_pragma_target, handle_pragma_optimize):
465 Remove trailing '.' from diagnostics.
466 * c.opt (Wwrite-strings_: Avoid '`' in help text.
467
d5478783
JM
4682010-11-10 Joseph Myers <joseph@codesourcery.com>
469
470 * c-common.c (parse_optimize_options): Pass global_dc to
471 decode_options.
472 * c-opts.c (c_common_handle_option): Pass &global_options to
473 set_Wstrict_aliasing.
474 * c.opt (v): Don't mark Common or document here.
475
91ebb981
IS
4762010-11-06 Iain Sandoe <iains@gcc.gnu.org>
477
478 PR target/44981
479 * c-format.c (format_type): New type gcc_objc_string_format_type.
480 (valid_stringptr_type_p): New.
481 (handle_format_arg_attribute): Use valid_stringptr_type_p ().
482 (check_format_string): Pass expected type, use
483 valid_stringptr_type_p (), check that the format string types are
484 consistent with the format specification.
485 (decode_format_attr): Warn if NSString is used outside objective-c.
486 (format_types_orig): Add NSString.
487 (format_name): New.
488 (format_flags): New.
489 (check_format_arg): Handle format strings requiring an external parser.
490 first_target_format_type: New variable.
491 (handle_format_attribute): Set up first_target_format_type, pass the
492 expected format arg string type to check_format_string().
493 * c-common.h (FMT_FLAG_PARSE_ARG_CONVERT_EXTERNAL): New flag.
494 * stub-objc.c (objc_string_ref_type_p): New.
495 (objc_check_format_arg): New.
496
bede2adc
NP
4972010-11-04 Nicola Pero <nicola.pero@meta-innovation.com>
498
499 Fixed using the Objective-C 2.0 dot-syntax with class names.
500 * c-common.h (objc_build_class_component_ref): New.
501 * stub-objc.c (objc_build_class_component_ref): New.
502
9a179d01
NP
5032010-11-03 Nicola Pero <nicola.pero@meta-innovation.com>
504
505 * c.opt (Wproperty-assign-default): New option.
506
22d8d616
NP
5072010-11-03 Nicola Pero <nicola.pero@meta-innovation.com>
508
509 Implemented -fobjc-std=objc1 flag.
510 * c.opt (fobjc-std=objc1): New option.
511
2debdb4f
NP
5122010-11-01 Nicola Pero <nicola.pero@meta-innovation.com>
513
514 Implemented format and noreturn attributes for Objective-C methods.
515 * c-common.c (handle_noreturn_attribute): Recognize 'noreturn'
516 attribute for Objective-C methods.
517
ec52b111
JM
5182010-10-31 Jason Merrill <jason@redhat.com>
519
520 * c-common.c (conversion_warning, warn_for_collisions_1): Use
521 EXPR_LOC_OR_HERE.
522
46a88c12
NP
5232010-10-30 Nicola Pero <nicola.pero@meta-innovation.com>
524
525 Implemented Objective-C 2.0 @property, @synthesize and @dynamic.
526 * c-common.h (enum rid): Removed RID_COPIES and RID_IVAR.
527 (objc_add_property_declaration): Removed arguments for copies and
528 ivar.
529 (objc_build_getter_call): Renamed to
530 objc_maybe_build_component_ref.
531 (objc_build_setter_call): Renamed to objc_maybe_build_modify_expr.
532 (objc_is_property_ref): New.
533 * c-common.c (c_common_reswords): Removed copies and ivar.
534 * stub-objc.c (objc_add_property_declaration): Removed arguments
535 for copies and ivar.
536 (objc_build_getter_call): Renamed to
537 objc_maybe_build_component_ref.
538 (objc_build_setter_call): Renamed to objc_maybe_build_modify_expr.
539 (objc_is_property_ref): New.
540
1e4bf85b
AC
5412010-10-29 Arnaud Charlet <charlet@adacore.com>
542 Matthew Gingell <gingell@adacore.com>
543
544 * c-ada-spec.c (separate_class_package): New function.
545 (pp_ada_tree_identifier): Prefix references to C++ classes with the
546 name of their enclosing package.
547 (print_ada_declaration): Use separate_class_package.
548
81f0bab2
JM
5492010-10-27 Jason Merrill <jason@redhat.com>
550
2b08f2c5
JM
551 * c-common.c (c_common_reswords): Add __is_literal_type.
552 * c-common.h (enum rid): Add RID_IS_LITERAL_TYPE.
553
81f0bab2
JM
554 * c-common.c (check_case_value): Remove special C++ code.
555
200290f2
NP
5562010-10-27 Nicola Pero <nicola.pero@meta-innovation.com>
557
558 * c-common.h (enum rid): Added RID_READWRITE, RID_ASSIGN,
559 RID_RETAIN, RID_COPY and RID_NONATOMIC. Updated RID_FIRST_PATTR
560 and RID_LAST_PATTR.
561 (objc_add_property_declaration): Added additional arguments.
562 (objc_property_attribute_kind): Removed.
563 (objc_set_property_attr): Removed.
564 * c-common.c (c_common_reswords): Added readwrite, assign, retain,
565 copy and nonatomic.
566 * stub-objc.c (objc_add_property_declaration): Added additional
567 arguments.
568 (objc_set_property_attr): Removed.
569
f614132b
NP
5702010-10-27 Nicola Pero <nicola.pero@meta-innovation.com>
571
572 * c-common.h (objc_add_property_variable): Renamed to
573 objc_add_property_declaration. Added location argument.
574 * stub-objc.c (objc_add_property_variable): Same change.
575
b8a18805
NP
5762010-10-23 Nicola Pero <nicola.pero@meta-innovation.com>
577
578 * c-common.h (objc_maybe_printable_name): New.
579 * stub-objc.c (objc_maybe_printable_name): New.
580
30cd1c5d
AS
5812010-10-22 Artjoms Sinkarovs <artyom.shinakroff@gmail.com>
582 Andrew Pinski <pinskia@gmail.com>
583
584 * c-common.h (c_common_mark_addressable_vec): Declare.
585 * c-common.c (c_common_mark_addressable_vec): New function.
586
249a82c4
NP
5872010-10-20 Nicola Pero <nicola.pero@meta-innovation.com>
588
589 * c-common.h (objc_set_method_type): Removed.
590 (objc_add_method_declaration): Added boolean argument.
591 (objc_start_method_definition): Same change.
592 (objc_build_method_signature): Same change.
593 * stub-objc.c (objc_set_method_type): Removed.
594 (objc_add_method_declaration): Added boolean argument.
595 (objc_start_method_definition): Same change.
596 (objc_build_method_signature): Same change.
597
977e30bc
NP
5982010-10-20 Nicola Pero <nicola.pero@meta-innovation.com>
599
600 * c-common.h (finish_file): Removed.
601 (objc_write_global_declarations): New.
602 * c-opts.c (c_common_parse_file): Do not call finish_file.
603 * stub-objc.c (objc_write_global_declarations): New.
604
da57d1b9
NP
6052010-10-18 Nicola Pero <nicola.pero@meta-innovation.com>
606
607 Implemented parsing @synthesize and @dynamic for
608 Objective-C/Objective-C++.
609 * c-common.h (enum rid): Add RID_AT_SYNTHESIZE and RID_AT_DYNAMIC.
610 (objc_add_synthesize_declaration): New.
611 (objc_add_dynamic_declaration): New.
612 * c-common.c (c_common_reswords): Add synthesize and dynamic.
613 * stub-objc.c (objc_add_synthesize_declaration): New.
614 (objc_add_dynamic_declaration): New.
615
0069111f
MM
6162010-10-18 Michael Meissner <meissner@linux.vnet.ibm.com>
617
618 PR target/46041
619 * c-cppbuiltin.c (mode_has_fma): Move function here from
620 builtins.c. Don't use the fma optab, instead just use the
621 HAVE_fma* macros, so that __FP_FAST_FMA* will be defined when
622 using -save-temps.
623
e426b47b
NP
6242010-10-18 Nicola Pero <nicola.pero@meta-innovation.com>
625
626 Merge from 'apple/trunk' branch on FSF servers.
0069111f 627
e426b47b
NP
628 2005-11-08 Fariborz Jahanian <fjahanian@apple.com>
629
630 Radar 4330422
631 * c-common.h (objc_non_volatilized_type): New declaration
632 * stub-objc.c (objc_non_volatilized_type): New stub.
633
90fbfdc3
NP
6342010-10-17 Nicola Pero <nicola.pero@meta-innovation.com>
635
e426b47b 636 Merge from 'apple/trunk' branch on FSF servers.
90fbfdc3
NP
637
638 2006-03-27 Fariborz Jahanian <fjahanian@apple.com>
639
640 Radar 4133425
641 * c-common.h (objc_diagnose_private_ivar): New decl.
0069111f 642 * stub-objc.c (objc_diagnose_private_ivar): New stub.
90fbfdc3 643
c37d8c30
IS
6442010-10-17 Iain Sandoe <iains@gcc.gnu.org>
645
646 * c-common.c (c_common_reswords): Add package, RID_AT_PACKAGE.
647 * c-common.h (enum rid): Add RID_AT_PACKAGE.
648 (objc_ivar_visibility_kind): New enum.
649 (objc_set_visibility): Adjust prototype to use visibility enum.
0069111f 650 * stub-objc.c (objc_set_visibility): Adjust stub to use
c37d8c30
IS
651 visibility enum.
652
1b1562a5
MM
6532010-10-14 Michael Meissner <meissner@linux.vnet.ibm.com>
654
655 * c-cppbuiltin.c (builtin_define_float_constants): Emit
656 __FP_FAST_FMA, __FP_FAST_FMAF, and __FP_FAST_FMAL if the machine
657 has the appropriate fma builtins.
658 (c_cpp_builtins): Adjust call to builtin_define_float_constants.
659
668ea4b1
IS
6602010-10-14 Iain Sandoe <iains@gcc.gnu.org>
661
1b1562a5 662 merge from FSF apple 'trunk' branch.
668ea4b1 663 2006 Fariborz Jahanian <fjahanian@apple.com>
1b1562a5 664
668ea4b1
IS
665 Radars 4436866, 4505126, 4506903, 4517826
666 * c-common.c (c_common_resword): Define @property and its attributes.
667 * c-common.h: Define property attribute enum entries.
668 (OBJC_IS_PATTR_KEYWORD): New.
669 (objc_property_attribute_kind): New enum.
670 Declare objc_set_property_attr (), objc_add_property_variable (),
671 objc_build_getter_call () and objc_build_setter_call ().
672 * stub-objc.c (objc_set_property_attr): New stub.
673 (objc_add_property_variable): Likewise.
674 (objc_build_getter_call): Likewise.
675 (objc_build_setter_call) Likewise.
1b1562a5 676
a1178b30
IS
6772010-10-13 Iain Sandoe <iains@gcc.gnu.org>
678
1b1562a5 679 merge from FSF apple 'trunk' branch.
a1178b30
IS
680 2006-04-26 Fariborz Jahanian <fjahanian@apple.com>
681
682 Radar 3803157 (method attributes)
683 * c-common.c (handle_deprecated_attribute): Recognize
684 objc methods as valid declarations.
685 * c-common.h: Declare objc_method_decl ().
1b1562a5 686 * stub-objc.c (objc_method_decl): New stub.
a1178b30 687
a75bfaa6
JM
6882010-10-08 Joseph Myers <joseph@codesourcery.com>
689
690 * c-common.c (parse_optimize_options): Call
691 decode_cmdline_options_to_array_default_mask before
692 decode_options. Update arguments to decode_options.
693 * c-common.h (c_common_init_options_struct): Declare.
694 * c-opts.c (c_common_init_options_struct): New. Split out from
695 c_common_init_options.
696
f05b9d93
NP
6972010-10-06 Nicola Pero <nicola.pero@meta-innovation.com>
698
699 Implemented fast enumeration for Objective-C.
700 * c-common.h (objc_finish_foreach_loop): New.
701 * stub-objc.c (objc_finish_foreach_loop): New.
702
1ebe4b4f
JM
7032010-10-05 Joseph Myers <joseph@codesourcery.com>
704
705 * c-common.h (struct diagnostic_context): Don't declare here.
706 (c_common_initialize_diagnostics): Declare using
707 diagnostic_context typedef.
708 * c-opts.c (c_common_handle_option): Pass global_dc to
709 handle_generated_option.
710
d4d24ba4
JM
7112010-10-04 Joseph Myers <joseph@codesourcery.com>
712
713 * c-opts.c (c_common_handle_option): Pass &global_options_set to
714 handle_generated_option.
715
478a1c5b
ILT
7162010-10-03 Ian Lance Taylor <iant@google.com>
717
718 * c.opt (-fplan9-extensions): New option.
719
82a1c2fe
FXC
7202010-10-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
721
722 * c-cppbuiltin.c (define__GNUC__, builtin_define_type_precision):
723 Remove.
724 (c_cpp_builtins): Call functions from cppbuiltin.c instead
725 of duplicating code.
726
92902b1b
IS
7272010-09-30 Iain Sandoe <iains@gcc.gnu.org>
728
729 * c-common.c: Add two new entries for @optional
730 and @required keywords.
731
732 merge from FSF 'apple/trunk' branch.
733 2006-01-30 Fariborz Jahanian <fjahanian@apple.com>
734
735 Radar 4386773
736 * c-common.h (RID_AT_OPTIONAL, RID_AT_REQUIRED): Two new
737 objective-c keywords.
738 (objc_set_method_opt): New declaration.
739 * stub-objc.c (objc_set_method_opt): New stub.
740
46625112
JM
7412010-09-30 Joseph Myers <joseph@codesourcery.com>
742
743 * c-common.c (handle_optimize_attribute): Pass &global_options to
744 cl_optimization_save and cl_optimization_restore.
745 * c-opts.c (c_common_handle_option): Pass &global_options to
746 handle_generated_option.
747 * c-pragma.c (handle_pragma_diagnostic): Use option_flag_var.
748 (handle_pragma_pop_options, handle_pragma_reset_options): Pass
749 &global_options to cl_optimization_restore.
750
49b91f05
NP
7512010-09-30 Nicola Pero <nicola.pero@meta-innovation.com>
752
753 * c-lex.c (c_lex_with_flags): Updated comments for CPP_AT_NAME
754 Objective-C/Objective-C++ keywords.
755
13ed556f 7562010-09-29 Nicola Pero <nicola.pero@meta-innovation.com>
a6341d57
NP
757
758 Merge from 'apple/trunk' branch on FSF servers.
759
760 2005-10-04 Fariborz Jahanian <fjahanian@apple.com>
761
762 Radar 4281748
763 * c-common.h (objc_check_global_decl): New declaration.
764 * stub-objc.c (objc_check_global_decl): New stub.
765
f0036cca
JM
7662010-09-29 Joseph Myers <joseph@codesourcery.com>
767
768 * c.opt: Don't use VarExists.
769
e3339d0f
JM
7702010-09-29 Joseph Myers <joseph@codesourcery.com>
771
772 * c-common.c (c_cpp_error): Update names of diagnostic_context
773 members.
774 * c-cppbuiltin.c (c_cpp_builtins_optimize_pragma): Update names of
775 cl_optimization members.
776 * c-opts.c (warning_as_error_callback, c_common_handle_option,
777 sanitize_cpp_opts, finish_options): Update names of cpp_options
778 members.
779
1973201f
NP
7802010-09-29 Nicola Pero <nicola.pero@meta-innovation.com>
781
782 * c-common.h (OBJC_IS_CXX_KEYWORD): New macro. Updated comments.
783 (objc_is_reserved_word): Removed.
784 * c-common.c: Updated comments.
785 * c-lex.c (c_lex_with_flags): Use OBJC_IS_CXX_KEYWORD instead of
786 objc_is_reserved_word.
787 * stub-objc.c (objc_is_reserved_word): Removed.
788
f7e71da5
IS
7892010-09-28 Iain Sandoe <iains@gcc.gnu.org>
790
791 * c-common.h (objc_add_method_declaration): Adjust prototype to
792 include attributes.
793 (objc_start_method_definition): Likewise.
794 (objc_build_keyword_decl): Likewise.
795 * stub-objc.c:(objc_add_method_declaration): Handle attributes.
796 (objc_start_method_definition): Likewise.
797 (objc_build_keyword_decl): Likewise.
798
c165dca7
IS
7992010-09-28 Iain Sandoe <iains@gcc.gnu.org>
800
801 * c-common.h (objc_start_class_interface): Adjust prototype.
802 (objc_start_category_interface): Likewise.
803 (objc_start_protocol): Likewise.
804 * stub-objc.c (objc_start_protocol): Adjust for extra argument.
805 (objc_start_class_interface): Likewise.
806 (objc_start_category_interface): Likewise.
807
7458026b
ILT
8082010-09-27 Ian Lance Taylor <iant@google.com>
809
810 * c-common.c (c_common_attribute_table): Add no_split_stack.
811 (handle_no_split_stack_attribute): New static function.
812
b581b85b
NP
8132010-09-27 Nicola Pero <nicola.pero@meta-innovation.com>
814
815 Merge from 'apple/trunk' branch on FSF servers.
816
817 2005-12-15 Fariborz Jahanian <fjahanian@apple.com>
818
819 Radar 4229905
820 * c-common.h (objc_have_common_type): New declaration.
821 * stub-objc.c (objc_have_common_type): New stub.
822
823 2005-06-22 Ziemowit Laski <zlaski@apple.com>
824
825 Radar 4154928
826 * c-common.h (objc_common_type): New prototype.
827 * stub-objc.c (objc_common_type): New stub.
828
46a4da10
JH
8292010-09-24 Jan Hubicka <jh@suse.cz>
830
831 * c-common.c (handle_leaf_attribute): New function.
832 (struct attribute_spec c_common_att): Add leaf.
833
e200444e
JM
8342010-09-22 Joseph Myers <joseph@codesourcery.com>
835
836 * c.opt (-all-warnings, -ansi, -assert, -assert=, -comments,
837 -comments-in-macros, -define-macro, -define-macro=, -dependencies,
838 -dump, -dump=, -imacros, -imacros=, -include, -include=,
839 -include-barrier, -include-directory, -include-directory=,
840 -include-directory-after, -include-directory-after=,
841 -include-prefix, -include-prefix=, -include-with-prefix,
842 -include-with-prefix=, -include-with-prefix-after,
843 -include-with-prefix-after=, -include-with-prefix-before,
844 -include-with-prefix-before=, -no-integrated-cpp,
845 -no-line-commands, -no-standard-includes, -no-warnings, -output,
846 -output=, -pedantic, -pedantic-errors, -preprocess,
847 -print-missing-file-dependencies, -trace-includes, -traditional,
848 -traditional-cpp, -trigraphs, -undefine-macro, -undefine-macro=,
849 -user-dependencies, -verbose, -write-dependencies,
850 -write-user-dependencies, no-integrated-cpp, traditional): New.
851
29a80ea6
NP
8522010-09-21 Nicola Pero <nicola.pero@meta-innovation.com>
853
854 PR objc/23710
ac1fc2fc
NP
855 * c-common.h (objc_start_method_definition): Return bool instead
856 of void.
857 * stub-objc.c (objc_start_method_definition): Return bool instead
858 of void.
859
8602010-09-21 Nicola Pero <nicola.pero@meta-innovation.com>
861
862 PR objc/25965
863 * c-common.h (objc_get_interface_ivars): New declaration.
864 * stub-objc.c (objc_get_interface_ivars): New stub.
29a80ea6 865
de621752
ILT
8662010-09-15 Ian Lance Taylor <iant@google.com>
867
868 * c-common.c (parse_optimize_options): Do not capitalize warning
06730c5d 869 messages. Remove period at end of warning message.
de621752 870
ba885ec5
NS
8712010-09-09 Nathan Sidwell <nathan@codesourcery.com>
872
873 * c-common.c (handle_alias_ifunc_attribute): New, broken out of ...
874 (handle_alias_attribute): ... here.
875 (handle_ifunc_attribute): New.
876
c5ee1358
MM
8772010-09-06 Mark Mitchell <mark@codesourcery.com>
878
879 * c-common.h (do_warn_double_promotion): Declare.
880 * c-common.c (do_warn_double_promotion): Define.
881
0a0b3574
MM
8822010-09-05 Mark Mitchell <mark@codesourcery.com>
883
884 * c.opt (Wdouble-promotion): New.
885
d1779886
JM
8862010-09-02 Joseph Myers <joseph@codesourcery.com>
887
888 * c.opt (falt-external-templates, fhuge-objects, fvtable-gc,
889 fvtable-thunks, fxref): Mark no longer supported in help text.
890
2d2bd949
JM
8912010-09-02 Joseph Myers <joseph@codesourcery.com>
892
893 * c.opt (Wimport, fall-virtual, falt-external-templates,
894 fdefault-inline, fenum-int-equiv, fexternal-templates,
895 fguiding-decls, fhonor-std, fhuge-objects, flabels-ok,
896 fname-mangling-version-, fnew-abi, fnonnull-objects,
897 foptional-diags, fsquangle, fstrict-prototype, fthis-is-variable,
898 fvtable-gc, fvtable-thunks, fxref): Mark with Ignore and Warn as
899 applicable.
900 (fhandle-exceptions): Mark with Alias and Warn.
901 * c-opts.c (c_common_handle_option): Don't handle options marked
902 as ignored.
903
5de8299c
JM
9042010-09-02 Joseph Myers <joseph@codesourcery.com>
905
906 * c.opt (Wcomments, Werror-implicit-function-declaration,
907 ftemplate-depth-, std=c89, std=c9x, std=gnu89, std=gnu9x,
908 std=iso9899:1990, std=iso9899:1999, std=iso9899:199x): Mark as
909 aliases.
910 * c-common.c (option_codes): Use OPT_Wcomment instead of
911 OPT_Wcomments.
912 * c-opts.c (warning_as_error_callback, c_common_handle_option):
913 Don't handle options marked as aliases.
914
0ceb0201
RG
9152010-08-25 Richard Guenther <rguenther@suse.de>
916
917 * c-common.c (c_common_get_alias_set): Remove special
918 handling for pointers.
919
ac47786e
NF
9202010-08-20 Nathan Froyd <froydnj@codesourcery.com>
921
922 * c-common.c: Use FOR_EACH_VEC_ELT.
923 * c-gimplify.c: Likewise.
924 * c-pragma.c: Likewise.
925
c878765b
JM
9262010-08-16 Joseph Myers <joseph@codesourcery.com>
927
928 * c.opt (MDX): Change back to MD. Mark NoDriverArg instead of
929 RejectDriver.
930 (MMDX): Change back to MMD. Mark NoDriverArg instead of
931 RejectDriver.
932 * c-opts.c (c_common_handle_option): Use OPT_MD and OPT_MMD
933 instead of OPT_MDX and OPT_MMDX.
934
603349bf
JM
9352010-08-16 Joseph Myers <joseph@codesourcery.com>
936
937 * c.opt (MDX, MMDX, lang-asm): Mark RejectDriver.
938
644fa7ac
JM
9392010-08-12 Joseph Myers <joseph@codesourcery.com>
940
941 * c.opt (MD, MMD): Change to MDX and MMDX.
942 * c-opts.c (c_common_handle_option): Use OPT_MMD and OPT_MMDX.
943
481e1176
JM
9442010-08-11 Joseph Myers <joseph@codesourcery.com>
945
946 * c-opts.c (c_common_handle_option): Call handle_generated_option
947 instead of handle_option.
948
ac8dc9f7
NF
9492010-08-08 Nathan Froyd <froydnj@codesourcery.com>
950
951 * c-pragma.c (add_to_renaming_pragma_list): Fix call to VEC_safe_push.
952 (maybe_apply_renaming_pragma): Delete unneeded declarations.
953
4f8c876d
NF
9542010-08-08 Nathan Froyd <froydnj@codesourcery.com>
955
956 * c-pragma.c (pending_redefinition): Declare. Declare a VEC of it.
957 (pending_redefine_extname): Change type to a VEC.
958 (add_to_renaming_pragma_list): Update for new type of
959 pending_redefine_extname.
ac8dc9f7 960 (maybe_apply_renaming_pragma): Likewise.
4f8c876d 961
3b0c690e
AC
9622010-08-04 Arnaud Charlet <charlet@adacore.com>
963
964 * c-ada-spec.c (dump_ada_template): Mark underlying instance type as
965 visited.
966 (dump_generic_ada_node): Code clean up. Use TREE_VISITED flag to
967 decide whether a type has already been declared/seen.
968 Do not go to the original type.
969 (dump_nested_types): New parameter forward.
970 Generate forward declaration if needed and mark type as visited.
971 (print_ada_declaration): Call dump_nested_types if not already done.
972 Mark types as visited.
973
1890bccc
JM
9742010-08-03 Joseph Myers <joseph@codesourcery.com>
975
976 * c.opt (-print-pch-checksum): Remove option.
977 * c-opts.c (c_common_handle_option): Don't handle
978 OPT_print_pch_checksum.
979
5f20c657
JM
9802010-07-27 Joseph Myers <joseph@codesourcery.com>
981
982 * c-common.h (c_common_handle_option): Update prototype and return
983 value type.
984 * c-opts.c (c_common_handle_option): Update prototype and return
985 value type. Update calls to handle_option and
986 enable_warning_as_error.
987
f551f80c
JJ
9882010-07-27 Jakub Jelinek <jakub@redhat.com>
989
990 PR c/45079
991 * c-pretty-print.c (pp_c_expression): Handle C_MAYBE_CONST_EXPR.
992
61ff2bdc
JM
9932010-07-27 Joseph Myers <joseph@codesourcery.com>
994
995 * c-common.h (c_common_missing_argument): Remove.
996 * c-opts.c (c_common_missing_argument): Remove.
997 * c.opt (A, D, F, I, MD, MMD, MQ, MT, U, fconstant-string-class=,
998 idirafter, imacros, include, isysroot, isystem, iquote): Add
999 MissingArgError.
1000 * c-objc-common.h (LANG_HOOKS_MISSING_ARGUMENT): Remove.
1001
7a9bf9a4
JM
10022010-07-27 Joseph Myers <joseph@codesourcery.com>
1003
1004 * c-common.h (c_common_option_lang_mask,
1005 c_common_initialize_diagnostics, c_common_complain_wrong_lang_p):
1006 New.
1007 (c_common_init_options): Update prototype.
1008 * c-opts.c (c_common_option_lang_mask): New.
1009 (c_common_initialize_diagnostics): Split out of
1010 c_common_init_options.
1011 (accept_all_c_family_options, c_common_complain_wrong_lang_p):
1012 New.
1013 (c_common_init_options): Update prototype. Use decoded options in
1014 search for -lang-asm.
1015
910ad8de
NF
10162010-07-15 Nathan Froyd <froydnj@codesourcery.com>
1017
1018 * c-common.c: Carefully replace TREE_CHAIN with DECL_CHAIN.
1019 * c-format.c: Likewise.
1020
718f9c0f
MLI
10212010-07-08 Manuel López-Ibáñez <manu@gcc.gnu.org>
1022
1023 * c-common.h: Include diagnostic-core.h. Error if already
1024 included.
1025 * c-semantics.c: Do not define GCC_DIAG_STYLE here.
1026
4d451982
MLI
10272010-07-03 Manuel López-Ibáñez <manu@gcc.gnu.org>
1028
1029 * c-family/c-common.c (IN_GCC_FRONTEND): Do not undef.
1030 Do not include expr.h
1031 (vector_mode_valid_p): Move here.
1032
119fe915
SB
10332010-06-21 DJ Delorie <dj@redhat.com>
1034
1035 * c-pragma.c (handle_pragma_diagnostic): Add push/pop,
1036 allow these pragmas anywhere.
1037
10382010-06-14 Jakub Jelinek <jakub@redhat.com>
1039
1040 PR bootstrap/44509
1041 * c-cppbuiltin.c: Include gt-c-family-c-cppbuiltin.h.
1042 (lazy_hex_fp_values, lazy_hex_fp_value_count): Add GTY(()) markers.
1043 (lazy_hex_fp_value, builtin_define_with_hex_fp_value): Use
1044 ggc_strdup instead of xstrdup.
1045
10462010-06-10 Jakub Jelinek <jakub@redhat.com>
1047
1048 * c-cppbuiltin.c: Include cpp-id-data.h.
1049 (lazy_hex_fp_values, lazy_hex_fp_value_count): New variables.
1050 (lazy_hex_fp_value): New function.
1051 (builtin_define_with_hex_fp_value): Provide definitions lazily.
1052
6662d794
MLI
10532010-06-30 Manuel López-Ibáñez <manu@gcc.gnu.org>
1054
1055 * c-gimplify.c: Do not include tree-flow.h
1056
38f8b050
JR
10572010-06-29 Joern Rennecke <joern.rennecke@embecosm.com>
1058
1059 PR other/44034
1060 * c-common.c: Rename targetm member:
1061 targetm.enum_va_list -> targetm.enum_va_list_p
1062
9589f23e
AS
10632010-06-28 Anatoly Sokolov <aesok@post.ru>
1064
1065 * c-common.c (shorten_compare): Adjust call to force_fit_type_double.
1066
3b06d379
SB
10672010-06-28 Steven Bosscher <steven@gcc.gnu.org>
1068
1069 * c-cppbuiltin.c: Do not include except.h.
1070
d166d4c3
AK
10712010-06-24 Andi Kleen <ak@linux.intel.com>
1072
1073 * c-common.c (warn_for_omitted_condop): New.
1074 * c-common.h (warn_for_omitted_condop): Add prototype.
1075
70cb8be6
JM
10762010-06-21 Joseph Myers <joseph@codesourcery.com>
1077
1078 * c.opt (lang-objc): Remove.
1079 * c-opts.c (c_common_handle_option): Don't handle OPT_lang_objc.
1080
a4c97feb
JR
10812010-06-21 Joern Rennecke <joern.rennecke@embecosm.com>
1082
1083 * c-opts.c: Include "tm_p.h".
1084
6e2f1956
JM
10852010-06-20 Joseph Myers <joseph@codesourcery.com>
1086
1087 * c-common.c (parse_optimize_options): Update call to
1088 decode_options.
1089
bc87224e
NF
10902010-06-18 Nathan Froyd <froydnj@codesourcery.com>
1091
1092 * c-common.c (record_types_used_by_current_var_decl): Adjust for
1093 new type of types_used_by_cur_var_decl.
1094
b49cf425
JR
10952010-06-17 Joern Rennecke <joern.rennecke@embecosm.com>
1096
1097 PR bootstrap/44512
1098 * c-cppbuiltin.c (builtin_define_with_hex_fp_value): Add cast
1099 for C++ standard compliance.
1100
59f9c2ed
JM
11012010-06-16 Jason Merrill <jason@redhat.com>
1102
1103 * c.opt: Add -Wnoexcept.
1104
33766b66
RG
11052010-06-16 Richard Guenther <rguenther@suse.de>
1106
1107 PR c/44555
1108 * c-common.c (c_common_truthvalue_conversion): Remove
1109 premature and wrong optimization concering ADDR_EXPRs.
1110
eff7e30c
AC
11112010-06-15 Arnaud Charlet <charlet@adacore.com>
1112
1113 * c-ada-spec.c (dump_sloc): Remove column info.
1114 (is_simple_enum): New function.
1115 (dump_generic_ada_node, print_ada_declaration): Map C enum types to Ada
1116 enum types when relevant.
1117
6312e84d
MLI
11182010-06-11 Manuel López-Ibáñez <manu@gcc.gnu.org>
1119
1120 * c-common.c (conversion_warning): Warn at expression
1121 location.
1122
1cb42611
JM
11232010-06-10 Joseph Myers <joseph@codesourcery.com>
1124
1125 * c-opts.c (c_common_handle_option): Don't handle
1126 OPT_fshow_column.
1127
a9429e29
LB
11282010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com>
1129
1130 * c-pragma.c (push_alignment): Use typed GC allocation.
1131 (handle_pragma_push_options): Likewise.
1132
1133 * c-common.c (parse_optimize_options): Likewise.
1134
1135 * c-common.h (struct sorted_fields_type): Add variable_size GTY
1136 option.
1137
5498f011
JM
11382010-06-07 Joseph Myers <joseph@codesourcery.com>
1139
1140 * c-common.c (flag_preprocess_only, flag_undef, flag_no_builtin,
1141 flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
1142 flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
1143 flag_signed_bitfields, warn_strict_null_sentinel,
1144 flag_nil_receivers, flag_zero_link, flag_replace_objc_classes,
1145 flag_gen_declaration, flag_no_gnu_keywords,
1146 flag_implement_inlines, flag_implicit_templates,
1147 flag_implicit_inline_templates, flag_optional_diags,
1148 flag_elide_constructors, flag_default_inline, flag_rtti,
1149 flag_conserve_space, flag_access_control, flag_check_new,
1150 flag_new_for_scope, flag_weak, flag_working_directory,
1151 flag_use_cxa_atexit, flag_use_cxa_get_exception_ptr,
1152 flag_enforce_eh_specs, flag_threadsafe_statics,
1153 flag_pretty_templates): Remove.
1154 * c-common.h (flag_preprocess_only, flag_nil_receivers,
1155 flag_objc_exceptions, flag_objc_sjlj_exceptions, flag_zero_link,
1156 flag_replace_objc_classes, flag_undef, flag_no_builtin,
1157 flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
1158 flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
1159 flag_const_strings, flag_signed_bitfields, flag_gen_declaration,
1160 flag_no_gnu_keywords, flag_implement_inlines,
1161 flag_implicit_templates, flag_implicit_inline_templates,
1162 flag_optional_diags, flag_elide_constructors, flag_default_inline,
1163 flag_rtti, flag_conserve_space, flag_access_control,
1164 flag_check_new, flag_new_for_scope, flag_weak,
1165 flag_working_directory, flag_use_cxa_atexit,
1166 flag_use_cxa_get_exception_ptr, flag_enforce_eh_specs,
1167 flag_threadsafe_statics, flag_pretty_templates,
1168 warn_strict_null_sentinel): Remove.
1169 * c.opt (E, Wstrict-null-sentinel, faccess-control, fasm,
1170 fbuiltin, fcheck-new, fconserve-space, felide-constructors,
1171 fenforce-eh-specs, ffor-scope, fgnu-keywords, fimplement-inlines,
1172 fimplicit-inline-templates, fimplicit-templates,
1173 flax-vector-conversions, fms-extensions, fnil-receivers,
1174 fnonansi-builtins, fpretty-templates, freplace-objc-classes,
1175 frtti, fshort-double, fshort-enums, fshort-wchar,
1176 fsigned-bitfields, fsigned-char, fstats, fthreadsafe-statics,
1177 funsigned-bitfields, funsigned-char, fuse-cxa-atexit,
1178 fuse-cxa-get-exception-ptr, fweak, fworking-directory, fzero-link,
1179 gen-decls, undef): Use Var.
1180 (fdefault-inline, foptional-diags): Document as doing nothing.
1181 * c-opts.c (c_common_handle_option): Remove cases for options now
1182 using Var. Mark ignored options as such.
1183
39dabefd
SB
11842010-06-05 Steven Bosscher <steven@gcc.gnu.org>
1185
1186 * c-common.c: Moved to here from parent directory.
1187 * c-common.def: Likewise.
1188 * c-common.h: Likewise.
1189 * c-cppbuiltin.c: Likewise.
1190 * c-dump.c: Likewise.
1191 * c-format.c: Likewise.
1192 * c-format.h : Likewise.
1193 * c-gimplify.c: Likewise.
1194 * c-lex.c: Likewise.
1195 * c-omp.c: Likewise.
1196 * c.opt: Likewise.
1197 * c-opts.c: Likewise.
1198 * c-pch.c: Likewise.
1199 * c-ppoutput.c: Likewise.
1200 * c-pragma.c: Likewise.
1201 * c-pragma.h: Likewise.
1202 * c-pretty-print.c: Likewise.
1203 * c-pretty-print.h: Likewise.
1204 * c-semantics.c: Likewise.
1205 * stub-objc.c: Likewise.
1206
1207 * c-common.c: Include gt-c-family-c-common.h.
1208 * c-pragma.c: Include gt-c-family-c-pragma.h.
1209\f
04695783 1210Copyright (C) 2010, 2011 Free Software Foundation, Inc.
39dabefd
SB
1211
1212Copying and distribution of this file, with or without modification,
1213are permitted in any medium without royalty provided the copyright
1214notice and this notice are preserved.