]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/c-family/ChangeLog
Don't install vtv_*.o unless --enable-vtable-verify (PR libgcc/59339)
[thirdparty/gcc.git] / gcc / c-family / ChangeLog
CommitLineData
b3bdf019
JJ
12014-03-03 Jakub Jelinek <jakub@redhat.com>
2
3 * c-pragma.c (c_pp_lookup_pragma): Handle PRAGMA_CILK_SIMD.
4 (init_pragma): Call cpp_register_deferred_pragma for PRAGMA_CILK_SIMD
5 even when flag_preprocess_only.
6
ca7e759d
JM
72014-02-26 Jason Merrill <jason@redhat.com>
8
9 PR c++/59231
10 PR c++/11586
11 * c-common.c (shorten_compare): Don't check
12 c_inhibit_evaluation_warnings.
13
28e41874
JJ
142014-02-19 Jakub Jelinek <jakub@redhat.com>
15
cca615af
JJ
16 PR c/37743
17 * c-common.c (c_common_nodes_and_builtins): When initializing
18 c_uint{16,32,64}_type_node, also set corresponding
19 uint{16,32,64}_type_node to the same value.
20
28e41874
JJ
21 PR c++/60267
22 * c-pragma.c (init_pragma): Don't call cpp_register_deferred_pragma
23 for PRAGMA_IVDEP if flag_preprocess_only.
24
c2bf53a1
JJ
252014-02-12 Jakub Jelinek <jakub@redhat.com>
26
27 PR c/60101
28 * c-common.c (merge_tlist): If copy is true, call new_tlist,
29 if false, add ADD itself, rather than vice versa.
30 (verify_tree): For COND_EXPR, don't call merge_tlist with non-zero
31 copy. For SAVE_EXPR, only call merge_tlist once.
32
8fcbce72
JJ
332014-02-08 Jakub Jelinek <jakub@redhat.com>
34
35 PR middle-end/60092
36 * c-common.c (handle_alloc_size_attribute): Use tree_fits_uhwi_p
37 and tree_to_uhwi.
38 (handle_alloc_align_attribute, handle_assume_aligned_attribute): New
39 functions.
40 (c_common_attribute_table): Add alloc_align and assume_aligned
41 attributes.
42
0a756a3f
MP
432014-02-06 Marek Polacek <polacek@redhat.com>
44
45 PR c/60087
46 * c-common.c (warn_for_sign_compare): Call warning_at with location
47 instead of warning.
48
7ec4847a
MP
492014-02-05 Marek Polacek <polacek@redhat.com>
50
51 PR c/53123
52 * c-omp.c (c_finish_omp_atomic): Remove unreachable return
53 statement.
54
66f20604
MP
552014-02-04 Marek Polacek <polacek@redhat.com>
56
57 PR c/60036
58 * c-common.c (conversion_warning): Unwrap C_MAYBE_CONST_EXPR and/or
59 SAVE_EXPR.
60
5d77fb19
MG
612014-02-03 Marc Glisse <marc.glisse@inria.fr>
62
63 PR c++/53017
64 PR c++/59211
65 * c-common.c (handle_aligned_attribute, handle_alloc_size_attribute,
66 handle_vector_size_attribute, handle_nonnull_attribute): Call
67 default_conversion on the attribute argument.
68 (handle_nonnull_attribute): Increment the argument number.
69
81e5eca8
MP
702014-01-31 Marek Polacek <polacek@redhat.com>
71
72 PR c/59963
73 * c-common.c (add_atomic_size_parameter): Pass vNULL to
74 build_function_call_vec.
75 (resolve_overloaded_builtin): Likewise.
76 * c-common.h (build_function_call_vec): Adjust declaration.
77
68fca595
MP
782014-01-30 Marek Polacek <polacek@redhat.com>
79
80 PR c/59940
81 * c-common.h (unsafe_conversion_p): Adjust declaration.
82 (warnings_for_convert_and_check): Likewise.
83 (convert_and_check): Likewise.
84 * c-common.c (unsafe_conversion_p): Add location parameter. Call
85 expansion_point_location_if_in_system_header on it.
86 (warnings_for_convert_and_check): Add location parameter. Call
87 expansion_point_location_if_in_system_header on it. Use it.
88 (convert_and_check): Add location parameter. Use it.
89 (conversion_warning): Likewise.
90 (c_add_case_label): Adjust convert_and_check calls.
91 (scalar_to_vector): Adjust unsafe_conversion_p calls.
92
b72271b9
BI
932014-01-24 Balaji V. Iyer <balaji.v.iyer@intel.com>
94
95 * c-common.c (c_define_builtins): Replaced flag_enable_cilkplus with
96 flag_cilkplus.
97 * c-pragma.c (init_pragma): Likewise.
98 * c.opt: Likewise.
99
393e8e8b
MP
1002014-01-23 Marek Polacek <polacek@redhat.com>
101
102 PR c/59846
103 * c-common.c (shorten_compare): Add location_t parameter.
104 * c-common.h (shorten_binary_op): Adjust declaration.
105
f04dda30
MP
1062014-01-23 Marek Polacek <polacek@redhat.com>
107
108 PR c/58346
109 * c-common.c (pointer_to_zero_sized_aggr_p): New function.
110 * c-common.h: Declare it.
111
621955cb
EB
1122014-01-20 Eric Botcazou <ebotcazou@adacore.com>
113
114 * c-ada-spec.h (dump_ada_specs): Revert prototype change.
115 * c-ada-spec.c (dump_ads): Likewise.
116 (cpp_check): Likewise.
117 (dump_ada_specs): Likewise.
118
1192014-01-15 Laurent Alfonsi <laurent.alfonsi@st.com>
67bf2939
LA
120
121 PR c++/49718
122 * c-common.c (handle_no_instrument_function_attribute): Allow
123 no_instrument_function attribute in class member
124 definition/declaration.
125
241f845a
JJ
1262014-01-15 Jakub Jelinek <jakub@redhat.com>
127
128 PR c/58943
129 * c-omp.c (c_finish_omp_atomic): Set in_late_binary_op around
130 build_modify_expr with non-NOP_EXPR opcode. Handle return from it
131 being COMPOUND_EXPR.
132 (c_finish_omp_for): Handle incr being COMPOUND_EXPR with first
133 operand a SAVE_EXPR and second MODIFY_EXPR.
134
e83b8e2e
JJ
1352014-01-09 Jakub Jelinek <jakub@redhat.com>
136
137 PR target/58115
138 * c-pch.c (c_common_write_pch): Call
139 prepare_target_option_nodes_for_pch.
140
23a5b65a
RS
1412014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
142
143 Update copyright years
144
f9030485
RS
1452014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
146
147 * array-notation-common.c, c-cilkplus.c: Use the standard form for
148 the copyright notice.
149
f2aa696b
EB
1502013-12-28 Eric Botcazou <ebotcazou@adacore.com>
151
152 * c-ada-spec.c (print_constructor): New function.
153 (print_destructor): Retrieve the origin of the destructor.
154 (print_ada_declaration): Revamp handling of constructors/destructors.
155
1f26ac87
JM
1562013-12-23 Stuart Hastings <stuart@apple.com>
157 Bill Maddox <maddox@google.com>
158 Jason Merrill <jason@redhat.com>
159
160 * c.opt: Add -fdeclone-ctor-dtor.
161 * c-opts.c (c_common_post_options): Default to on iff -Os.
162
41958c28
BI
1632013-12-18 Balaji V. Iyer <balaji.v.iyer@intel.com>
164
165 * c-common.c (c_common_attribute_table): Added "cilk simd function"
166 attribute.
167 * c-pragma.h (enum pragma_cilk_clause): Remove.
168 (enum pragma_omp_clause): Added the following fields:
169 PRAGMA_CILK_CLAUSE_NOMASK, PRAGMA_CILK_CLAUSE_MASK,
170 PRAGMA_CILK_CLAUSE_VECTORLENGTH, PRAGMA_CILK_CLAUSE_NONE,
171 PRAGMA_CILK_CLAUSE_LINEAR, PRAGMA_CILK_CLAUSE_PRIVATE,
172 PRAGMA_CILK_CLAUSE_FIRSTPRIVATE, PRAGMA_CILK_CLAUSE_LASTPRIVATE,
173 PRAGMA_CILK_CLAUSE_UNIFORM.
174
175
12893402
BI
1762013-12-11 Balaji V. Iyer <balaji.v.iyer@intel.com>
177
178 * cilk.c (cilk_outline): Made this function non-static.
179 (gimplify_cilk_spawn): Removed pre_p and post_p arguments.
180 (create_cilk_wrapper): Added a new parameter: a function pointer.
181 (c_install_body_w_frame_cleanup): Remove
182 (extract_free_variables): Added VEC_INIT_EXPR and CONSTRUCTOR case.
183 * c-common.h (cilk_outline): New prototype.
184 (gimplify_cilk_spawn): Removed two parameters.
185 (cilk_install_body_with_frame_cleanup): New prototype.
186 * c-gimplify.c (c_gimplify_expr): Added MODIFY_EXPR, CALL_EXPR and
187 CILK_SPAWN_STMT case.
188
085b42ed
BS
1892013-12-11 Bernd Schmidt <bernds@codesourcery.com>
190
2ce064c3
BS
191 * c-common.c (c_fully_fold_internal): Handle ADDR_SPACE_CONVERT_EXPR.
192
085b42ed
BS
193 * c-common.h (enum c_tree_index): Remove CTI_INT_ARRAY_TYPE.
194 (int_array_type_node): Remove.
195 * c-common.c (c_common_nodes_and_builtins): Don't build it.
196
9e36c9ed
MP
1972013-12-05 Marek Polacek <polacek@redhat.com>
198
199 PR c/52023
200 * c-common.c (c_sizeof_or_alignof_type): Move a declaration into
201 [ADJUST_FIELD_ALIGN].
202
296674db
JM
2032013-12-04 Joseph Myers <joseph@codesourcery.com>
204
205 PR c/52023
206 * c-common.c (c_sizeof_or_alignof_type): Add parameter min_alignof
207 and check field alignment if set.
208 * c-common.h (c_sizeof_or_alignof_type): Update prototype.
209 (c_sizeof, c_alignof): Update calls to c_sizeof_or_alignof_type.
210
31e071ae
MP
2112013-12-04 Jakub Jelinek <jakub@redhat.com>
212 Marek Polacek <polacek@redhat.com>
213
214 * c-gimplify.c (c_gimplify_expr): If doing the integer-overflow
215 sanitization, call unsigned_type_for only when !TYPE_OVERFLOW_WRAPS.
216
d7947e19
L
2172013-11-29 H.J. Lu <hongjiu.lu@intel.com>
218
219 PR c/59309
220 * cilk.c (gimplify_cilk_spawn): Properly handle function without
221 arguments.
222
fad7652e
JJ
2232013-11-29 Jakub Jelinek <jakub@redhat.com>
224
225 PR c/59280
226 * c-common.c (get_priority): If TREE_VALUE (args) is IDENTIFIER_NODE,
227 goto invalid. If it is error_mark_node, don't issue further
228 diagnostics.
229
8b5e1202
SO
2302013-11-28 Sergey Ostanevich <sergos.gnu@gmail.com>
231
232 * c.opt (Wopenmp-simd): New.
233
0a508bb6
JJ
2342013-11-22 Jakub Jelinek <jakub@redhat.com>
235
236 * c-ubsan.h (ubsan_instrument_return): New prototype.
237 * c-ubsan.c (ubsan_instrument_return): New function.
238
2fb9a547
AM
2392013-11-22 Andrew MacLeod <amacleod@redhat.com>
240
241 * c-common.c: Add required include files from gimple.h.
242 * c-gimplify.c: Likewise
243 * cilk.c: Likewise
244
8400e75e
DM
2452013-11-22 David Malcolm <dmalcolm@redhat.com>
246
247 * c-common.c (unsafe_conversion_p): Remove use of
248 EXPR_LOC_OR_HERE macro.
249 (conversion_warning): Likewise.
250 (warnings_for_convert_and_check): Likewise.
251 (warn_for_collisions_1): Likewise.
252 (shorten_compare): Likewise, and remove use of in_system_header
253 macro, using the location from the former.
254 * c-lex.c (dump_one_header): Remove use of input_filename macro.
255 (cb_def_pragma): Remove use of in_system_header macro.
256 (lex_string): Likewise.
257 * c-pragma.c (handle_pragma_float_const_decimal64): Likewise.
258
eb1ce453
KZ
2592013-11-20 Kenneth Zadeck <zadeck@naturalbridge.com>
260 Mike Stump <mikestump@comcast.net>
261 Richard Sandiford <rdsandiford@googlemail.com>
262
263 * c-ada-spec.c (is_simple_enum): Use tree_to_shwi and tree_to_uhwi
264 instead of TREE_INT_CST_LOW, in cases where there is a protecting
265 tree_fits_shwi_p or tree_fits_uhwi_p.
266 (dump_generic_ada_node): Likewise.
267 * c-format.c (check_format_arg): Likewise.
268 * c-pretty-print.c (pp_c_integer_constant): Likewise.
269
6b3b8c27
KZ
2702013-11-20 Kenneth Zadeck <zadeck@naturalbridge.com>
271
272 * c-common.c (check_function_arguments_recurse): Use tree_to_uhwi.
273
49b0aa18
JC
2742013-11-19 Joshua J Cogliati <jrincayc@yahoo.com>
275
276 PR c/53001
277 * c-common.c (unsafe_conversion_p): Make this function
278 return an enumeration with more detail.
279 (conversion_warning): Use the new return type of
280 unsafe_conversion_p to separately warn either about conversions
281 that lower floating point number precision or about the other
282 kinds of conversions.
283 * c-common.h (enum conversion_safety): New enumeration.
284 (unsafe_conversion_p): switching return type to
285 conversion_safety enumeration.
286 * c.opt: Adding new warning -Wfloat-conversion and
287 enabling it with -Wconversion.
288
b826515a
BS
2892013-11-19 Basile Starynkevitch <basile@starynkevitch.net>
290
291 * c-opts.c: Include plugin.h.
292 (cb_file_change): Invoke plugin event PLUGIN_INCLUDE_FILE.
293
b9a55b13
MP
2942013-11-19 Marek Polacek <polacek@redhat.com>
295
296 * c-ubsan.c (ubsan_instrument_division): Adjust ubsan_create_data
297 call.
298 (ubsan_instrument_shift): Likewise.
299 (ubsan_instrument_vla): Likewise.
300
7d362f6c
RS
3012013-11-18 Richard Sandiford <rdsandiford@googlemail.com>
302
303 * c-common.c (convert_vector_to_pointer_for_subscript): Remove
304 cast to unsigned type.
305
386b1f1f
RS
3062013-11-18 Richard Sandiford <rdsandiford@googlemail.com>
307
308 * c-common.c (fold_offsetof_1): Use tree_to_uhwi rather than
309 tree_low_cst.
310 (complete_array_type): Update comment to refer to tree_to_[su]hwi
311 rather than tree_low_cst.
312
ae7e9ddd
RS
3132013-11-18 Richard Sandiford <rdsandiford@googlemail.com>
314
315 * c-common.c, c-cppbuiltin.c: Replace tree_low_cst (..., 1) with
316 tree_to_uhwi throughout.
317
9439e9a1
RS
3182013-11-18 Richard Sandiford <rdsandiford@googlemail.com>
319
320 * c-common.c, c-format.c, c-omp.c, c-pretty-print.c: Replace
321 tree_low_cst (..., 0) with tree_to_shwi throughout.
322
cc269bb6
RS
3232013-11-18 Richard Sandiford <rdsandiford@googlemail.com>
324
325 * c-ada-spec.c, c-common.c, c-pretty-print.c: Replace
326 host_integerp (..., 1) with tree_fits_uhwi_p throughout.
327
9541ffee
RS
3282013-11-18 Richard Sandiford <rdsandiford@googlemail.com>
329
330 * c-ada-spec.c, c-common.c, c-format.c, c-pretty-print.c: Replace
331 host_integerp (..., 0) with tree_fits_shwi_p throughout.
332
c02065fc
AH
3332013-11-15 Aldy Hernandez <aldyh@redhat.com>
334
335 * c-cilkplus.c: New file.
336 * c-common.c (readonly_error): Add location argument.
337 * c-common.h (readonly_error): Same.
338 (c_finish_cilk_clauses): Protoize.
339 (c_check_cilk_loop): Same.
340 c-omp.c (c_finish_omp_for): Handle CILK_SIMD nodes.
341 Do not fail on error_mark_node.
342 Abstract increment canonicalization to here...
343 (c_omp_for_incr_canonicalize_ptr): New.
344 c-pragma.c (init_pragma): Register "simd" pragma.
345 c-pragma.h (enum pragma_kind): Add PRAGMA_CILK_SIMD.
346 (enum pragma_cilk_clause): New.
347
9cc65f15
RS
3482013-11-15 Richard Sandiford <rdsandiford@googlemail.com>
349
350 * c-pretty-print.c (pp_c_character_constant): Remove unnecessary
351 wchar_type and host_integerp checks.
352
18f429e2
AM
3532013-11-14 Andrew MacLeod <amacleod@redhat.com>
354
355 * c-common.c: Likewise.
356 * c-gimplify.c: Likewise.
357 * cilk.c: Likewise.
358
d8a2d370
DN
3592013-11-14 Diego Novillo <dnovillo@google.com>
360
361 * c-common.c: Include fold-const.h.
362 Include stor-layout.h.
363 Include calls.h.
364 Include stringpool.h.
365 Include attribs.h.
366 Include varasm.h.
367 Include trans-mem.h.
368 * c-cppbuiltin.c: Include stor-layout.h.
369 Include stringpool.h.
370 * c-format.c: Include stringpool.h.
371 * c-lex.c: Include stringpool.h.
372 Include stor-layout.h.
373 * c-pragma.c: Include stringpool.h.
374 Include attribs.h.
375 Include varasm.h.
376 Include gcc-symtab.h.
377 * c-pretty-print.c: Include stor-layout.h.
378 Include attribs.h.
379 * cilk.c: Include stringpool.h.
380 Include calls.h.
381
38b7bc7f
JM
3822013-11-13 Joseph Myers <joseph@codesourcery.com>
383
384 * c-common.h (enum rid): Add RID_AUTO_TYPE.
385 * c-common.c (c_common_reswords): Add __auto_type.
386 (keyword_begins_type_specifier): Handle RID_AUTO_TYPE.
387
45b0be94
AM
3882013-11-12 Andrew MacLeod <amacleod@redhat.com>
389
18f429e2
AM
390 * c-common.c: Include gimplify.h.
391 * c-gimplify.c: Likewise.
392 * cilk.c: Likewise.
393 * c-omp.c: Include gimple-expr.h instead of gimple.h.
394 * c-ubsan.c: Don't include gimple.h.
45b0be94 395
582d9b50
JM
3962013-11-12 Joseph Myers <joseph@codesourcery.com>
397
398 * c-common.c (c_common_reswords): Add _Thread_local.
399
6b28e197
JM
4002013-11-09 Joseph Myers <joseph@codesourcery.com>
401
402 * c-common.c (atomic_size_supported_p): New function.
403 (resolve_overloaded_atomic_exchange)
404 (resolve_overloaded_atomic_compare_exchange)
405 (resolve_overloaded_atomic_load, resolve_overloaded_atomic_store):
406 Use it instead of comparing size with a local list of sizes.
407
267bac10
JM
4082013-11-07 Andrew MacLeod <amacleod@redhat.com>
409 Joseph Myers <joseph@codesourcery.com>
410
411 * c-common.h (enum rid): Add RID_ATOMIC.
412 * c-common.c (c_common_reswords): Add _Atomic.
413 (sync_resolve_params): Use TYPE_MAIN_VARIANT on pointer argument.
414 (keyword_is_type_qualifier): Accept RID_ATOMIC.
415 * c-format.c (check_format_types): Check for extra _Atomic
416 qualifiers in format argument.
417 * c-pretty-print.c (pp_c_cv_qualifiers): Handle atomic qualifier.
418 (pp_c_type_qualifier_list): Mention _Atomic in comment.
419
5157b91e
TB
4202013-11-06 Tobias Burnus <burnus@net-b.de>
421
422 * c-common.c (reason_option_codes_t): Add CPP_W_DATE_TIME.
423
6dbe0958
JM
4242013-11-06 Joseph Myers <joseph@codesourcery.com>
425
426 * c-opts.c (c_common_post_options): Set -ffp-contract=off in C
427 standards modes.
428 * c-cppbuiltin.c (cpp_iec_559_value): Consider -ffp-contract=fast
429 to mean lack of IEEE 754 support.
430
e8ff5196
TB
4312013-11-05 Tobias Burnus <burnus@net-b.de>
432
433 * c.opt (-Wdate-time): New option
434 * c-opts.c (sanitize_cpp_opts): Pass on to libcpp.
435
254a0760
JM
4362013-11-05 Joseph Myers <joseph@codesourcery.com>
437
438 * c-cppbuiltin.c (cpp_iec_559_value): Test
439 flag_excess_precision_cmdline not flag_excess_precision.
440
6d7f7e0a
TB
4412013-11-05 Tobias Burnus <burnus@net-b.de>
442
443 * c.opt (fopenmp-simd): New option.
444 * c-pragma.c (omp_pragmas): Move pragmas which can contain simd to ...
445 (omp_pragmas): ... this new struct.
446 (c_pp_lookup_pragma): Also walk omp_pragmas.
447 (init_pragma): Init pragmas for -fopenmp-simd.
448
55a7f02f
MP
4492013-11-04 Marek Polacek <polacek@redhat.com>
450
451 PR c++/58979
452 * c-common.c (invalid_indirection_error): Handle RO_ARROW_STAR case.
453
9193fb05
JM
4542013-11-04 Joseph Myers <joseph@codesourcery.com>
455
456 * c-cppbuiltin.c (cpp_iec_559_value, cpp_iec_559_complex_value):
457 New functions.
458 (c_cpp_builtins): Define __GCC_IEC_559 and __GCC_IEC_559_COMPLEX.
459
94159ecf
EB
4602013-11-04 Eric Botcazou <ebotcazou@adacore.com>
461
462 * c-ada-spec.h (cpp_operation): Add IS_TRIVIAL.
463 (dump_ada_specs): Adjust prototype of second callback.
464 * c-ada-spec.c (cpp_check): New global variable.
465 (dump_ada_nodes): Remove cpp_check parameter and do not pass it down.
466 (print_generic_ada_decl): Likewise.
467 (has_static_fields): Change return type to bool and add guard.
468 (has_nontrivial_methods): New predicate.
469 (is_tagged_type): Change return type to bool.
470 (separate_class_package): Call has_nontrivial_methods.
471 (pp_ada_tree_identifier): Minor tweaks.
472 (dump_ada_function_declaration): Adjust calls to dump_generic_ada_node.
473 (dump_ada_array_domains): Likewise.
474 (dump_ada_array_type): Likewise.
475 (dump_template_types): Remove cpp_check parameter and do not pass it to
476 dump_generic_ada_node.
477 (dump_ada_template): Likewise.
478 (dump_generic_ada_node): Remove cpp_check parameter and do not pass it
479 recursively.
480 (print_ada_methods): Change return type to integer. Remove cpp_check
481 parameter and do not pass it down.
482 (dump_nested_types): Remove cpp_check parameter and do not pass it to
483 dump_generic_ada_node.
484 (print_ada_declaration): Likewise. Test RECORD_OR_UNION_TYPE_P before
485 accessing methods.
486 (print_ada_struct_decl): Remove cpp_check parameter and do not pass it
487 down. Use has_nontrivial_methods to recognize C++ classes. Use return
488 value of print_ada_methods.
489 (dump_ads): Rename cpp_check parameter to check and adjust prototype.
490 Set cpp_check to it before invoking dump_ada_nodes.
491 (dump_ada_specs): Likewise.
492
b906f4ca
MP
4932013-11-03 Marek Polacek <polacek@redhat.com>
494
495 * c-ubsan.c: Don't include hash-table.h.
496 (ubsan_instrument_vla): New function.
497 * c-ubsan.h: Declare it.
498
5e20cdc9
DM
4992013-10-31 David Malcolm <dmalcolm@redhat.com>
500
501 Automated part of renaming of symtab_node_base to symtab_node.
502
503 Patch autogenerated by rename_symtab.py from
504 https://github.com/davidmalcolm/gcc-refactoring-scripts
505 revision 58bb219cc090b2f4516a9297d868c245495ee622
506
507 * c-pragma.c (maybe_apply_pending_pragma_weaks): Rename
508 symtab_node_base to symtab_node.
509
7057e645
ESR
5102013-10-31 Edward Smith-Rowland <3dw4rd@verizon.net>
511
512 Implement C++14 digit separators.
513 * c-lex.c (interpret_float): Remove digit separators from scratch string
514 before building real literal.
515
193ea7bc
JJ
5162013-10-30 Jakub Jelinek <jakub@redhat.com>
517
518 * cilk.c (create_cilk_helper_decl): Use HOST_WIDE_INT_PRINT_DEC.
519
939b37da
BI
5202013-10-29 Balaji V. Iyer <balaji.v.iyer@intel.com>
521
522 * c-common.c (c_common_reswords[]): Added _Cilk_spawn and _Cilk_sync
523 fields.
524 (c_define_builtins): Called cilk_init_builtins if Cilk Plus is
525 enabled.
526 * c-common.h (enum rid): Added RID_CILK_SPAWN and RID_CILK_SYNC.
527 (insert_cilk_frame): New prototype.
528 (cilk_init_builtins): Likewise.
529 (gimplify_cilk_spawn): Likewise.
530 (c_cilk_install_body_w_frame_cleanup): Likewise.
531 (cilk_detect_spawn_and_unwrap): Likewise.
532 (cilk_set_spawn_marker): Likewise.
533 (build_cilk_sync): Likewise.
534 (build_cilk_spawn): Likewise.
535 * cilk.c: New file.
536
67348ccc
DM
5372013-10-29 David Malcolm <dmalcolm@redhat.com>
538
539 Patch autogenerated by refactor_symtab.py from
540 https://github.com/davidmalcolm/gcc-refactoring-scripts
541 revision 58bb219cc090b2f4516a9297d868c245495ee622
542
543 * c-gimplify.c (c_genericize): Update for conversion of symtab types
544 to a true class hierarchy.
545 * c-pragma.c (maybe_apply_pending_pragma_weaks): Likewise.
546
d570872d
RS
5472013-10-27 Richard Sandiford <rdsandiford@googlemail.com>
548
549 * c-lex.c (interpret_integer): Remove call to cpp_num_sign_extend.
550
98906124
JL
5512013-10-26 Jeff Law <law@redhat.com>
552
553 * c-family/c-common.c (c_define_builtins): Remove mudflap support.
554 * c-family/c.opt: Ignore and warn for mudflap options.
555
d73749df 5562013-10-24 Tobias Burnus <burnus@net-b.de>
8170608b
TB
557
558 PR other/33426
559 * c-pragma.c (init_pragma) Add #pragma ivdep handling.
560 * c-pragma.h (pragma_kind): Add PRAGMA_IVDEP.
561
3f04b1bb
JM
5622013-10-23 Jason Merrill <jason@redhat.com>
563
564 * c-format.c (gcc_cxxdiag_char_table): Add %X.
565
acf0174b
JJ
5662013-10-11 Jakub Jelinek <jakub@redhat.com>
567
acd15a28
JJ
568 * c-common.h (omp_clause_mask::operator !=): New method.
569 * c-omp.c (c_omp_split_clauses): Use if ((mask & something) != 0)
570 instead of if (mask & something) tests everywhere.
571
acf0174b
JJ
572 * c-cppbuiltin.c (c_cpp_builtins): Predefine _OPENMP to
573 201307 instead of 201107.
574 * c-common.c (DEF_FUNCTION_TYPE_8): Define.
575 (c_common_attribute_table): Add "omp declare target" and
576 "omp declare simd" attributes.
577 (handle_omp_declare_target_attribute,
578 handle_omp_declare_simd_attribute): New functions.
579 * c-omp.c: Include c-pragma.h.
580 (c_finish_omp_taskgroup): New function.
581 (c_finish_omp_atomic): Add swapped argument, if true,
582 build the operation first with rhs, lhs arguments and use NOP_EXPR
583 build_modify_expr.
584 (c_finish_omp_for): Add code argument, pass it down to make_code.
585 (c_omp_split_clauses): New function.
586 (c_split_parallel_clauses): Removed.
587 (c_omp_declare_simd_clause_cmp, c_omp_declare_simd_clauses_to_numbers,
588 c_omp_declare_simd_clauses_to_decls): New functions.
589 * c-common.h (omp_clause_mask): New type.
590 (OMP_CLAUSE_MASK_1): Define.
591 (omp_clause_mask::omp_clause_mask, omp_clause_mask::operator &=,
592 omp_clause_mask::operator |=, omp_clause_mask::operator ~,
593 omp_clause_mask::operator |, omp_clause_mask::operator &,
594 omp_clause_mask::operator <<, omp_clause_mask::operator >>,
595 omp_clause_mask::operator ==): New methods.
596 (enum c_omp_clause_split): New.
597 (c_finish_omp_taskgroup): New prototype.
598 (c_finish_omp_atomic): Add swapped argument.
599 (c_finish_omp_for): Add code argument.
600 (c_omp_split_clauses): New prototype.
601 (c_split_parallel_clauses): Removed.
602 (c_omp_declare_simd_clauses_to_numbers,
603 c_omp_declare_simd_clauses_to_decls): New prototypes.
604 * c-pragma.c (omp_pragmas): Add new OpenMP 4.0 constructs.
605 * c-pragma.h (enum pragma_kind): Add PRAGMA_OMP_CANCEL,
606 PRAGMA_OMP_CANCELLATION_POINT, PRAGMA_OMP_DECLARE_REDUCTION,
607 PRAGMA_OMP_DISTRIBUTE, PRAGMA_OMP_END_DECLARE_TARGET, PRAGMA_OMP_SIMD,
608 PRAGMA_OMP_TARGET, PRAGMA_OMP_TASKGROUP and PRAGMA_OMP_TEAMS.
609 Remove PRAGMA_OMP_PARALLEL_FOR and PRAGMA_OMP_PARALLEL_SECTIONS.
610 (enum pragma_omp_clause): Add PRAGMA_OMP_CLAUSE_ALIGNED,
611 PRAGMA_OMP_CLAUSE_DEPEND, PRAGMA_OMP_CLAUSE_DEVICE,
612 PRAGMA_OMP_CLAUSE_DIST_SCHEDULE, PRAGMA_OMP_CLAUSE_FOR,
613 PRAGMA_OMP_CLAUSE_FROM, PRAGMA_OMP_CLAUSE_INBRANCH,
614 PRAGMA_OMP_CLAUSE_LINEAR, PRAGMA_OMP_CLAUSE_MAP,
615 PRAGMA_OMP_CLAUSE_NOTINBRANCH, PRAGMA_OMP_CLAUSE_NUM_TEAMS,
616 PRAGMA_OMP_CLAUSE_PARALLEL, PRAGMA_OMP_CLAUSE_PROC_BIND,
617 PRAGMA_OMP_CLAUSE_SAFELEN, PRAGMA_OMP_CLAUSE_SECTIONS,
618 PRAGMA_OMP_CLAUSE_SIMDLEN, PRAGMA_OMP_CLAUSE_TASKGROUP,
619 PRAGMA_OMP_CLAUSE_THREAD_LIMIT, PRAGMA_OMP_CLAUSE_TO and
620 PRAGMA_OMP_CLAUSE_UNIFORM.
621
826cacfe
MG
6222013-10-09 Marc Glisse <marc.glisse@inria.fr>
623
624 PR tree-optimization/20318
625 * c-common.c (handle_returns_nonnull_attribute): New function.
626 (c_common_attribute_table): Add returns_nonnull.
627
2284b034
MG
6282013-10-03 Marc Glisse <marc.glisse@inria.fr>
629
630 PR c++/19476
631 * c.opt (fcheck-new): Move to common.opt.
632
b56e9788
MP
6332013-09-25 Marek Polacek <polacek@redhat.com>
634 Jakub Jelinek <jakub@redhat.com>
635
636 PR sanitizer/58413
637 * c-ubsan.c (ubsan_instrument_shift): Don't instrument
638 an expression if we can prove it is correct.
639 (ubsan_instrument_division): Likewise. Remove unnecessary
640 check.
641
ce6923c5
MP
6422013-09-18 Marek Polacek <polacek@redhat.com>
643
644 PR sanitizer/58411
645 * c-common.c (handle_no_sanitize_undefined_attribute): New function.
646 Declare it.
647 (struct attribute_spec c_common_att): Add no_sanitize_undefined.
648
fb5610fb
IS
6492013-09-14 Iain Sandoe <iain@codesourcery.com>
650
651 PR target/48094
652 * c.opt (fgnu-runtime, fnext-runtime, fobjc-abi-version,
653 fobjc-gc, freplace-objc-classes): Accept for LTO.
654
88b0e79e
JC
6552013-09-13 Jacek Caban <jacek@codeweavers.com>
656
657 * c-target.def: New hook
658
c9b0866a
PC
6592013-09-09 Paolo Carlini <paolo.carlini@oracle.com>
660
661 PR c++/43452
662 * c.opt (Wdelete-incomplete): Add.
663
0af94e6f
JR
6642013-09-08 Joern Rennecke <joern.rennecke@embecosm.com>
665
666 * c-common.c (same_scalar_type_ignoring_signedness): Delete.
667 (vector_types_compatible_elements_p): New function.
668 * c-common.h: (same_scalar_type_ignoring_signedness): Delete
669 declaration.
670 (vector_types_compatible_elements_p): Declare.
671
7c26172c
GDR
6722013-09-04 Gabriel Dos Reis <gdr@integrable-solutions.net>
673
674 * c-pretty-print.h (c_pretty_printer::simple_type_specifier): Now
675 a virtual member function.
676 (pp_simple_type_specifier): Remove.
677 (pp_c_type_specifier): Likewise.
678 * c-pretty-print.c (c_pretty_printer::simple_type_specifier):
679 Rename from pp_c_type_specifier. Adjust.
680 (c_pretty_printer::c_pretty_printer): Do not assign to
681 simple_type_specifier.
682
20059c8b
GDR
6832013-09-03 Gabriel Dos Reis <gdr@integrable-solutions.net>
684
685 * c-pretty-print.h (c_pretty_printer::type_id): Now a virtual
686 member function.
687 (c_pretty_printer::storage_class_specifier): Likewise.
688 (c_pretty_printer::initializer): Likewise.
689 (pp_declaration): Remove.
690 (pp_declaration_specifiers): Likewise.
691 (pp_abstract_declarator): Likewise.
692 (pp_declarator): Likewise.
693 (pp_type_id): Likewise.
694 (pp_statement): Likewise.
695 (pp_constant): Likewise.
696 (pp_id_expression): Likewise.
697 (pp_primary_expression): Likewise.
698 (pp_unary_expression): Likewise.
699 (pp_multiplicative_expression): Likewise.
700 (pp_conditional_expression): Likewise.
701 (pp_assignment_expression): Likewise.
702 (pp_expression): Likewise.
703 (pp_c_type_id): Likewise.
704 (pp_c_storage_class_specifier): Likewise.
705 * c-pretty-print.c (pp_c_type_cast): Tidy.
706 (pp_c_pointer): Likewise.
707 (pp_c_type_specifier): Likewise.
708 (pp_c_parameter_type_list): Likewise.
709 (pp_c_function_definition): Likewise.
710 (pp_c_init_declarator): Likewise.
711 (pp_c_initializer_list): Likewise.
712 (pp_c_constructor_elts): Likewise.
713 (c_pretty_printer::direct_abstract_declarator): Likewise.
714 (c_pretty_printer::declaration_specifiers): Likewise.
715 (c_pretty_printer::primary_expression): Likewise.
716 (c_pretty_printer::postfix_expression): Likewise.
717 (c_pretty_printer::type_id): Rename from pp_c_type_id.
718 (c_pretty_printer::storage_class_specifier): Rename from
719 pp_c_storage_class_specifier.
720 (c_pretty_printer::initializer): Rename from pp_c_initializer.
721 (c_pretty_printer::c_pretty_printer): Do not assign to type_id,
722 storage_class_specifier, initializer, offset_list, flags.
723
de5a5fa1
MP
7242013-08-30 Marek Polacek <polacek@redhat.com>
725
726 * c-ubsan.c: New file.
727 * c-ubsan.h: New file.
728
8f0e4d72
GDR
7292013-08-30 Gabriel Dos Reis <gdr@integrable-solutions.net>
730
731 * c-pretty-print.h (c_pretty_printer::declaration): Now a virtual
732 member function.
733 (c_pretty_printer::declaration_specifiers): Likewise.
734 (c_pretty_printer::declarator): Likewise.
735 (c_pretty_printer::abstract_declarator): Likewise.
736 (c_pretty_printer::direct_abstract_declarator): Likewise.
737 (c_pretty_printer::direct_declarator): Likewise.
738 (c_pretty_printer::function_specifier): Likewise.
739 (pp_declaration): Adjust.
740 (pp_declaration_specifiers): Likewise.
741 (pp_abstract_declarator): Likewise.
742 (pp_direct_declarator): Likewise.
743 (pp_function_specifier): Likewise.
744 (pp_direct_abstract_declarator): Remove as unused.
745 (pp_c_declaration): Remove.
746 (pp_c_declaration_specifiers): Likewise.
747 (pp_c_declarator): Likewise.
748 (pp_c_direct_declarator): Likewise.
749 (pp_c_function_specifier): Likewise.
750 (pp_c_direct_abstract_declarator): Likewise.
751 * c-pretty-print.c (c_pretty_printer::abstract_declarator): Rename
752 from pp_c_abstract_declarator. Adjust.
753 (c_pretty_printer::direct_abstract_declarator): Rename from
754 pp_c_direct_abstract_declarator. Adjust.
755 (c_pretty_printer::function_specifier): Rename from
756 pp_c_function_specifier. Adjust.
757 (c_pretty_printer::declaration_specifiers): Rename from
758 pp_c_declaration_specifiers. Adjust.
759 (c_pretty_printer::direct_declarator): Rename from
760 pp_c_direct_declarator. Adjust.
761 (c_pretty_printer::declarator): Rename from pp_c_declarator. Adjust.
762 (c_pretty_printer::declaration): Rename from pp_c_declaration. Adjust.
763 (c_pretty_printer::c_pretty_printer): Do not assign to
764 declaration, declaration_specifiers, declarator,
765 direct_declarator, direct_abstract_declarator, function_specifier.
766
00d34d3a
GDR
7672013-08-26 Gabriel Dos Reis <gdre@integrable-solutions.net>
768
769 * c-pretty-print.h (c_pretty_printer::unary_expression): Now a
770 virtual member function.
771 (c_pretty_printer::multiplicative_expression): Likewise.
772 (c_pretty_printer::conditional_expression): Likewise.
773 (c_pretty_printer::assignment_expression): Likewise.
774 (c_pretty_printer::expression): Likewise.
775 (pp_unary_expression): Adjust.
776 (pp_multiplicative_expression): Likewise.
777 (pp_assignment_expression): Likewise.
778 (pp_conditional_expression): Likewise.
779 (pp_expression): Likewise.
780 * c-pretty-print.c (c_pretty_printer::unary_expression): Rename
781 from pp_c_unary_expression. Adjust.
782 (c_pretty_printer::multiplicative_expression): Rename from
783 pp_c_multiplicative_expression. Adjust.
784 (c_pretty_printer::conditional_expression): Rename from
785 pp_c_conditional_expression. Adjust.
786 (c_pretty_printer::assignment_expression): Rename from
787 pp_c_assignment_expression. Adjust.
788 (c_pretty_printer::expression): Rename from pp_c_expression. Adjust.
789 (c_pretty_printer::c_pretty_printer): Do not assign to
790 unary_expression, multiplicative_expression,
791 conditional_expression, expression.
792
fb22178f
GDR
7932013-08-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
794
795 * c-pretty-print.h (c_pretty_printer::postfix_expression): Now a
796 virtual member function.
797 (pp_postfix_expression): Adjust.
798 (pp_c_postfix_expression): Remove.
799 * c-pretty-print.c (c_pretty_printer::postfix_expression): Rename
800 from pp_c_postfix_expression. Adjust.
801 (c_pretty_printer::c_pretty_printer): Do not assign to
802 postfix_expression.
803
7ecc2600
GDR
8042013-08-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
805
806 * c-pretty-print.h (c_pretty_printer::primary_expression): Now a
807 virtua member function.
808 (pp_primary_expression): Adjust.
809 (pp_c_primary_expression): Remove.
810 * c-pretty-print.c (c_pretty_printer::primary_expression): Rename
811 from pp_c_primary_expression. Adjust.
812 (pp_c_initializer_list): Use pp_primary_expression.
813 (c_pretty_printer::c_pretty_printer): Do not assign to
814 primary_expression.
815
0691175f
GDR
8162013-08-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
817
818 * c-pretty-print.h (c_pretty_printer::translate_string): Declare.
819 * c-pretty-print.c (M_): Remove.
820 (c_pretty_printer::translate_string): Define.
821 (pp_c_type_specifier): Use it.
822 (pp_c_primary_expression): Likewise.
823 (pp_c_expression): Likewise.
824
66dfe4c4
GDR
8252013-08-24 Gabriel Dos Reis <gdr@integrable-solutions.net>
826
827 * c-pretty-print.h (c_pretty_printer::id_expression): Now a
828 virtual function.
829 (pp_c_id_expression): Remove.
830 (pp_id_expression): Adjust.
831 * c-pretty-print.c (c_pretty_printer::id_expression): Rename from
832 pp_c_id_expression. Adjust.
833 (pp_c_postfix_expression): Use pp_id_expression.
834 (c_pretty_printer::c_pretty_printer): Do not assign to id_expression.
835
ca43e9d5
GDR
8362013-08-24 Gabriel Dos Reis <gdr@integrable-solutions.net>
837
838 * c-pretty-print.h (c_pretty_printer::constant): Now a virtual
839 member function.
840 (pp_constant): Adjust.
841 (pp_c_constant): Remove.
842 * c-pretty-print.c (c_pretty_printer::constant): Rename from
843 pp_c_constant. Adjust.
844 (pp_c_constant)
845 (pp_c_primary_expression): Call pp_constant in lieu of pp_c_constant.
846 (c_pretty_printer::c_pretty_printer): Remove assignment to constant.
847
da6ca2b5
GDR
8482013-08-22 Gabriel Dos Reis <gdr@integrable-solutions.net>
849
850 * c-pretty-print.h (pp_c_pretty_printer_init): Remove.
851 (c_pretty_printer::c_pretty_printer): Declare.
852 * c-pretty-print.c (pretty_printer::c_pretty_printer): Rename from
853 c_pretty_printer_init. Adjust.
854 (print_c_tree): Do not call c_pretty_printer_init.
855 * c-ada-spec.c (dump_ads): Remove call to pp_construct.
856
65a372f4
AC
8572013-08-09 Arnaud Charlet <charlet@adacore.com>
858
859 * c-ada-spec.c (print_ada_declaration): Prevent accessing null asm name
860
fd9b0f32
PC
8612013-08-05 Paolo Carlini <paolo.carlini@oracle.com>
862
863 PR c++/58080
864 * c-common.c (pointer_int_sum): Add bool parameter.
865 * c-common.h (pointer_int_sum): Adjust declaration.
866
e0aec1e9
GDR
8672013-08-05 Gabriel Dos Reis <gdr@integrable-solutions.net>
868
869 * c-pretty-print.c (print_c_tree): Simplify. Use non-static local
870 c_pretty_printer variable.
871
b066401f
GDR
8722013-08-04 Gabriel Dos Reis <gdr@integrable-solutions.net>
873
874 * c-pretty-print.h (c_pretty_printer): Derive from pretty_printer.
875 (pp_base): Remove.
876 (pp_c_base): Likewise. Adjust users.
877 * c-pretty-print.c (pp_c_maybe_whitespace): Adjust.
878 (pp_c_whitespace): Do not call pp_base.
879 (pp_c_left_paren): Likewise.
880 (pp_c_right_paren): Likewise.
881 (pp_c_left_brace): Likewise.
882 (pp_c_right_brace): Likewise.
883 (pp_c_left_bracket): Likewise.
884 (pp_c_right_bracket): Likewise.
885 (pp_c_dot): Likewise.
886 (pp_c_ampersand): Likewise.
887 (pp_c_star): Likewise.
888 (pp_c_arrow): Likewise.
889 (pp_c_semicolon): Likewise.
890 (pp_c_complement): Likewise.
891 (pp_c_exclamation): Likewise.
892 (pp_c_direct_declarator): Likewise.
893 (pp_c_ws_string): Likewise.
894 (pp_c_identifier): Likewise.
895 (pp_c_statement): Likewise.
896 (print_c_tree): Likewise.
897
65e5a578
ESR
8982013-08-04 Ed Smith-Rowland <3dw4rd@verizon.net>
899
900 PR c++/58072
901 * c-common.c (c_parse_error): Catch user-defined literal tokens and
902 provide useful error strings.
903
137a1a27
GDR
9042013-08-03 Gabriel Dos Reis <gdr@integrable-solutions.net>
905
906 * c-ada-spec.c (pp_ada_tree_identifier): Use specialized pretty
907 printer functions instead of pp_string or operators and punctuators.
908 (dump_generic_ada_node): Likewise.
909 * c-pretty-print.c (pp_c_type_specifier): Likewise.
910 (pp_c_relational_expression): Likewise.
911 (pp_c_logical_or_expression): Likewise.
912
07838b13
GDR
9132013-08-03 Gabriel Dos Reis <gdr@integrable-solutions.net>
914
915 * c-ada-spec.c (print_ada_macros): Use specialized pretty printer
916 functions instead of pp_character.
917 (pp_ada_tree_identifier): Likewise.
918 (dump_ada_double_name): Likewise.
919 (dump_ada_function_declaration): Likewise.
920 (dump_ada_array_domains): Likewise.
921 (dump_template_types): Likewise.
922 (dump_generic_ada_node): Likewise.
923 (print_ada_declaration): Likewise.
924 (print_ada_struct_decl): Likewise.
925 * c-pretty-print.c (pp_c_integer_constant): Likewise.
926
433cc7b0
TT
9272013-07-23 Tom Tromey <tromey@redhat.com>
928
929 * c-common.h (enum rid) <RID_GENERIC>: New constant.
930 * c-common.c (c_common_reswords): Add _Generic.
931
688010ba
OB
9322013-07-21 OndÅ\99ej Bílka <neleai@seznam.cz>
933
934 * c-common.c: Fix typos.
935 * c-common.h: Likewise.
936
2a99e5e6
LL
9372013-07-13 Lubos Lunak <l.lunak@suse.cz>
938
939 PR c++/55203
940 * c-common.c (c_common_attribute_table): Add warn_unused.
941 (handle_warn_unused_attribute): New.
942
c26302d5
JJ
9432013-07-10 Jakub Jelinek <jakub@redhat.com>
944
945 * c-ppoutput.c (scan_translation_unit): Call account_for_newlines
946 for all CPP_TOKEN_FLD_STR tokens, not just CPP_COMMENT.
947
dfeadaa0
PC
9482013-07-10 Paolo Carlini <paolo.carlini@oracle.com>
949
950 PR c++/57869
951 * c.opt: Add Wconditionally-supported.
952
6a2fa4b2
GS
9532013-07-08 Graham Stott <graham.stott@btinternet.com>
954
955 * c-family/array-notation-common.c (length_mismatch_in_expr_p): Delete
956 unused variables l_length and l_node.
957
ecdbd01a 9582013-07-04 Joern Rennecke <joern.rennecke@embecosm.com>
40d3d530
JR
959
960 PR c/57821
961 * c-common.c (complete_array_type): Delay folding first index
962 like other indices. When folding, check for index overflow.
963
bedc293e
MG
9642013-06-27 Marc Glisse <marc.glisse@inria.fr>
965
966 PR c++/57509
967 * c-common.h (c_build_vec_perm_expr): New complain argument.
968 * c-common.c (c_build_vec_perm_expr): Likewise.
969 Use save_expr also in C++.
970
604b2bfc
GDR
9712013-06-22 Gabriel Dos Reis <gdr@integrable-solutions.net>
972
973 * c-common.c (c_common_nodes_and_builtins): Use cxx11 in lieu of cxx0x.
974 * c-cppbuiltin.c (c_cpp_builtins): Likewise.
975 * c-opts.c (c_common_post_options): Likewise.
976
dfeadaa0 9772013-06-21 Balaji V. Iyer <balaji.v.iyer@intel.com>
713b46fa
BI
978
979 * array-notation-common.c (length_mismatch_in_expr): Changed the
980 parameter type's from a dynamic array to a vec_tree. Also removed
981 the size parameters.
982 * c-common.h (length_mismatch_in_expr_p): Fixed prototype's as per
983 the change above.
984
2ce86d2e
BI
9852013-06-21 Balaji V. Iyer <balaji.v.iyer@intel.com>
986
987 * c-common.h (struct cilkplus_an_parts): New structure.
988 (struct cilkplus_an_loop_parts): Likewise.
989 (cilkplus_extract_an_triplets): New prototype.
990 (fix_sec_implicit_args): Likewise.
991 * array-notation-common.c (cilkplus_extract_an_triplets): New function.
992 (fix_sec_implicit_args): Likewise.
604b2bfc 993
07a6825b
BI
9942013-06-20 Balaji V. Iyer <balaji.v.iyer@intel.com>
995
996 * array-notation-common.c (find_inv_trees): Removed an unwanted
997 typecasting.
998 * c-common.h (struct inv_list::additional_tcodes): Changed type from
999 enum rid to enum tree_code.
1000
08346abd
JH
10012013-06-11 Jan Hubicka <jh@suse.cz>
1002
1003 * c-common.c (handle_alias_ifunc_attribute): Do not set
1004 DECL_EXTERNAL for weakref variables.
1005 * c-pragma.c (handle_pragma_weak): Make sure aliases
1006 are not declared as external.
1007
d60f1706
BI
10082013-06-07 Balaji V. Iyer <balaji.v.iyer@intel.com>
1009
1010 * array-notation-common.c (length_mismatch_in_expr_p): Moved this
1011 function from c/c-array-notation.c.
1012 (is_cilkplus_reduce_builtin): Likewise.
1013 (find_rank): Likewise.
1014 (extract_array_notation_exprs): Likewise.
1015 (replace_array_notations): Likewise.
1016 (find_inv_trees): Likewise.
1017 (replace_inv_trees): Likewise.
1018 (contains_array_notation_expr): Likewise.
1019 (find_correct_array_notation_type): Likewise.
1020 * c-common.h (struct inv_list): Moved this struct from the file
1021 c/c-array-notation.c and added a new field called additional tcodes.
1022 (length_mismatch_in_expr_p): New prototype.
1023 (is_cilkplus_reduce_builtin): Likewise.
1024 (find_rank): Likewise.
1025 (extract_array_notation_exprs): Likewise.
1026 (replace_array_notation): Likewise.
1027 (find_inv_trees): Likewise.
1028 (replace_inv_trees): Likewise.
1029 (find_correct_array_notation_type): Likewise.
dfeadaa0 1030
36536d79
BI
10312013-05-28 Balaji V. Iyer <balaji.v.iyer@intel.com>
1032
1033 * c-common.c (c_define_builtins): When cilkplus is enabled, the
1034 function array_notation_init_builtins is called.
1035 (c_common_init_ts): Added ARRAY_NOTATION_REF as typed.
1036 * c-common.def (ARRAY_NOTATION_REF): New tree.
1037 * c-common.h (build_array_notation_expr): New function declaration.
1038 (build_array_notation_ref): Likewise.
1039 (extract_sec_implicit_index_arg): New extern declaration.
1040 (is_sec_implicit_index_fn): Likewise.
1041 (ARRAY_NOTATION_CHECK): New define.
1042 (ARRAY_NOTATION_ARRAY): Likewise.
1043 (ARRAY_NOTATION_START): Likewise.
1044 (ARRAY_NOTATION_LENGTH): Likewise.
1045 (ARRAY_NOTATION_STRIDE): Likewise.
1046 * c-pretty-print.c (pp_c_postifix_expression): Added a new case for
1047 ARRAY_NOTATION_REF.
1048 (pp_c_expression): Likewise.
1049 * c.opt (flag_enable_cilkplus): New flag.
1050 * array-notation-common.c: New file.
1051
f7716d57
JJ
10522013-05-14 Jakub Jelinek <jakub@redhat.com>
1053
1054 PR c++/57274
1055 * c-common.c (verify_tree): Don't recurse into SIZEOF_EXPR.
1056
a5e0cd1d
MG
10572013-05-10 Marc Glisse <marc.glisse@inria.fr>
1058
1059 * c-common.c (vector_types_convertible_p): No TYPE_PRECISION for
1060 vectors.
1061
f6bc1c4a
HS
10622013-05-07 Han Shen <shenhan@google.com>
1063
1064 * c-cppbuiltin.c (c_cpp_builtins): Added "__SSP_STRONG__=3".
1065
3f12f6e9
SKS
10662013-04-29 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1067
1068 * c-common.c (check_user_alignment): Emit error for negative values.
1069
61949153
PC
10702013-04-24 Paolo Carlini <paolo.carlini@oracle.com>
1071
1072 * c-opts.c (set_std_cxx11): Use CLK_CXX1Y and CLK_GNUCXX1Y.
1073
e93e18e9
PC
10742013-04-24 Paolo Carlini <paolo.carlini@oracle.com>
1075
1076 * c-cppbuiltin.c (c_cpp_builtins): Do not define
1077 __GXX_EXPERIMENTAL_CXX1Y__.
1078
44d90fe1
PC
10792013-04-24 Paolo Carlini <paolo.carlini@oracle.com>
1080 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
1081
1082 * c.opt ([Wpointer-arith]): Enabled by -Wpedantic, as documented.
1083 * c-common.c (pointer_int_sum): Change -Wpointer-arith pedwarns
1084 to simply use OPT_Wpointer_arith.
1085 (c_sizeof_or_alignof_type): Likewise.
1086
13f39b2e
PC
10872013-04-24 Paolo Carlini <paolo.carlini@oracle.com>
1088
1089 * c-cppbuiltin.c (c_cpp_builtins): Define __GXX_EXPERIMENTAL_CXX1Y__.
1090
4b84d650
JJ
10912013-04-12 Jakub Jelinek <jakub@redhat.com>
1092
1093 * c-format.c (gcc_diag_char_table, gcc_tdiag_char_table,
1094 gcc_cdiag_char_table, gcc_cxxdiag_char_table): Add %r and %R format
1095 specifiers.
1096
fb037b5d
SB
10972013-04-07 Steven Bosscher <steven@gcc.gnu.org>
1098
1099 * c-pragma.c (add_to_renaming_pragma_list): Fix leading comment.
1100
4e856798
PC
11012013-04-03 Paolo Carlini <paolo.carlini@oracle.com>
1102
1103 * c-common.c (pointer_int_sum): Remove dead code.
1104
4b1baac8
RS
11052013-03-09 Richard Sandiford <rdsandiford@googlemail.com>
1106
1107 PR middle-end/56524
1108 * c-common.c (handle_optimize_attribute): Don't call
1109 save_optabs_if_changed.
1110
0b50e654
JJ
11112013-03-05 Jakub Jelinek <jakub@redhat.com>
1112
1113 PR middle-end/56461
1114 * c-pch.c (pch_init): Free target_validity at the end.
1115
48c41403
JJ
11162013-03-04 Jakub Jelinek <jakub@redhat.com>
1117
1118 * c-pretty-print.c (pp_c_pretty_printer_init): Clear pp->flags.
1119
e664c61c
KS
11202013-02-28 Konstantin Serebryany <konstantin.s.serebryany@gmail.com>
1121 Jakub Jelinek <jakub@redhat.com>
1122
1123 PR sanitizer/56454
1124 * c-common.c (handle_no_sanitize_address_attribute): New function.
1125 (c_common_attribute_table): Add no_sanitize_address attribute.
1126 (handle_no_address_safety_analysis_attribute): Add
1127 no_sanitize_address attribute, not no_address_safety_analysis
1128 attribute.
1129
a475fd3d 11302013-02-18 Aldy Hernandez <aldyh@redhat.com>
135204dd
AH
1131
1132 PR target/52555
1133 * c-common.c (handle_optimize_attribute): Call
1134 save_optabs_if_changed.
1135
f6007d99
JJ
11362013-02-18 Jakub Jelinek <jakub@redhat.com>
1137 Steven Bosscher <steven@gcc.gnu.org>
1138
1139 PR pch/54117
1140 * c-opts.c (c_common_post_options): If debug info is enabled
1141 and non-dwarf*, refuse to load PCH files and when writing PCH
1142 file warn.
1143
cf35e2b1
JJ
11442013-02-05 Jakub Jelinek <jakub@redhat.com>
1145
1146 PR middle-end/56167
1147 * c-common.c (handle_error_attribute): Fix condition.
1148
32887460
JJ
11492013-01-30 Jakub Jelinek <jakub@redhat.com>
1150
1151 PR c++/55742
1152 * c-common.c (handle_target_attribute): Revert 2012-12-26 change.
1153
5af057d8
JM
11542013-01-18 Jason Merrill <jason@redhat.com>
1155
1156 PR target/54908
1157 * c.opt (-fextern-tls-init): New.
1158 * c-opts.c (c_common_post_options): Handle it.
1159
cc83c823
JJ
11602013-01-09 Jakub Jelinek <jakub@redhat.com>
1161
1162 PR c/48418
1163 * c-common.c (c_fully_fold_internal): Warn for LSHIFT_EXPR and
1164 RSHIFT_EXPR, if orig_op1 isn't INTEGER_CST, op1 is INTEGER_CST
1165 and is either negative or bigger or equal to type precision
1166 of the first operand.
1167
a859517f
MP
11682012-12-03 Marek Polacek <polacek@redhat.com>
1169
1170 PR c/55570
1171 * c-common.c (check_user_alignment): Swap order of tests,
1172 check TREE_CODE first.
1173
2d7aa578
ESR
11742012-11-29 Ed Smith-Rowland <3dw4rd@verizon.net>
1175
1176 PR c++/52654
1177 * c-common.h (overflow_type): New enum.
1178 (build_userdef_literal): Add overflow_type argument.
1179 (tree_userdef_literal): Add overflow_type.
1180 (USERDEF_LITERAL_OVERFLOW): New access macro.
1181 * c-common.c (build_userdef_literal): Add overflow_type
1182 argument.
1183 * c-lex.c (c_lex_with_flags): Add overflow_type to
1184 build_userdef_literal calls.
1185 (interpret_integer, interpret_float): Add overflow_type argument.
1186
cc3c4f62
RB
11872012-11-28 Richard Biener <rguenther@suse.de>
1188
1189 PR c/35634
1190 * c-gimplify.c (c_gimplify_expr): Gimplify self-modify expressions
1191 here and use a type with proper overflow behavior for types that would
1192 need to be promoted for the arithmetic.
1193
77bc5132
JJ
11942012-11-23 Jakub Jelinek <jakub@redhat.com>
1195
1196 PR sanitizer/55435
1197 * c-common.c (handle_no_address_safety_analysis_attribute): New
1198 function.
1199 (c_common_attribute_table): Add no_address_safety_analysis.
1200
5dc99c46
SB
12012012-11-16 Simon Baldwin <simonb@google.com>
1202
1203 * c.opt: Add f[no-]canonical-system-headers.
1204 * c-opts.c (c_common_handle_option): Handle
1205 OPT_fcanonical_system_headers.
1206
a4a0016d
ESR
12072012-11-09 Ed Smith-Rowland <3dw4rd@verizon.net>
1208
1209 PR c++/54413
1210 * c-opts.c (c_common_handle_option): Set new flags.
1211 * c.opt: Describe new flags.
1212
7dbb85a7
JM
12132012-11-09 Jason Merrill <jason@redhat.com>
1214
1215 * c.opt (Wabi-tag): New.
1216
ad7bac31
AK
12172012-11-09 Andi Kleen <ak@linux.intel.com>
1218
1219 PR 55139
1220 * c-common.c (get_atomic_generic_size): Mask with
1221 MEMMODEL_MASK
1222
7332899a
MLI
12232012-11-07 Manuel López-Ibáñez <manu@gcc.gnu.org>
1224
1225 PR c/53063
1226 * c.opt (Wformat): Make it Alias Wformat=1.
1227 (Wformat-contains-nul,Wformat-extra-args,Wformat-nonliteral,
1228 Wformat-security,Wformat-y2k,Wformat-zero-length): Use
1229 LangEnabledBy.
1230 (Wformat=): RejectNegative. Use LangEnabledBy.
1231 (Wnonnull): Use LangEnabledBy.
1232 * c-opts.c (c_common_handle_option): Do not handle Wformat here.
1233 * c-format.c (set_Wformat): Delete.
1234 (decode_format_attr): Replace OPT_Wformat with OPT_Wformat_.
1235 (maybe_read_dollar_number): Likewise.
1236 (avoid_dollar_number): Likewise.
1237 (finish_dollar_format_checking): Likewise.
1238 (check_format_info): Likewise.
1239 (check_format_info_main): Likewise.
1240 (check_format_types): Likewise.
1241 (format_type_warning): Likewise.
1242 * c-common.c (int): Likewise.
1243 (check_function_sentinel): Likewise.
1244 * c-common.h (warn_format,set_Wformat): Do not declare here.
1245
34a180a6
MLI
12462012-11-07 Manuel López-Ibáñez <manu@gcc.gnu.org>
1247
1248 PR c/53063
1249 * c.opt(Warray-bounds,Wdelete-non-virtual-dtor,Wenum-compare,
1250 Wmain,Woverlength-strings, Wunknown-pragmas,Wunused-macros):
1251 Use LangEnabledBy.
1252 (Wswitch,Wswitch-default,Wswitch-enum): Likewise. Move here from
1253 common.opt.
1254 (Wvariadic-macros): Init(1).
1255 * c-opts.c (c_common_handle_option): Do not handle them
1256 explicitly.
1257 (c_common_post_options): Likewise.
1258 (sanitize_cpp_opts): warn_unused_macros is now
1259 cpp_warn_unused_macros.
1260 (push_command_line_include): Likewise.
1261 * c-common.c (warn_unknown_pragmas): Do not define.
1262 * c-common.h (warn_unknown_pragmas): Do not declare.
1263
3f46d6a5
MLI
12642012-11-07 Manuel López-Ibáñez <manu@gcc.gnu.org>
1265
1266 PR c/51294
1267 * c-common.c (conversion_warning): Handle conditional expressions.
1268
880661a4
JW
12692012-10-29 Jonathan Wakely <jwakely.gcc@gmail.com>
1270
1271 PR c++/54930
1272 * c.opt (Wreturn_local_addr): Define new option.
1273
4514a96b
JM
12742012-10-25 Jason Merrill <jason@redhat.com>
1275
f14edc1a
JM
1276 * c.opt (Wvirtual-move-assign): New.
1277
4514a96b
JM
1278 * c.opt (Winherited-variadic-ctor): New.
1279
93100c6b
MG
12802012-10-25 Marc Glisse <marc.glisse@inria.fr>
1281
1282 PR c++/54427
1283 * c-common.c (scalar_to_vector): Handle VEC_COND_EXPR.
1284
1efcb8c6
JM
12852012-10-23 Joseph Myers <joseph@codesourcery.com>
1286
1287 * c-common.h (pch_cpp_save_state): Declare.
1288 * c-target.def (c_preinclude): New hook.
1289 * c-opts.c (done_preinclude): New.
1290 (push_command_line_include): Handle default preincluded header.
1291 (cb_file_change): Call pch_cpp_save_state when calling
1292 push_command_line_include.
1293 * c-pch.c (pch_ready_to_save_cpp_state, pch_cpp_state_saved)
1294 (pch_cpp_save_state): New.
1295 (pch_init): Call pch_cpp_save_state conditionally, instead of
1296 calling cpp_save_state.
1297
4a0ae68e
MLI
12982012-10-20 Manuel López-Ibáñez <manu@gcc.gnu.org>
1299
1300 PR c/53063
1301 PR c/40989
1302 * c.opt (Waddress,Wchar-subscripts,Wsign-conversion,Wimplicit,
1303 Wimplicit-function-declaration,Wimplicit-int,Wsizeof-pointer-memaccess,
1304 Wnarrowing,Wparentheses,Wpointer-sign,Wreturn-type,Wsequence-point,
1305 Wsign-compare,Wuninitialized,Wmaybe-uninitialized,Wunused,
1306 Wvolatile-register-var): Add LangEnabledBy or EnabledBy.
1307 * c-opts.c (c_common_handle_option): Remove explicit handling from
1308 here.
1309 (c_common_post_options): Likewise.
1310
67e4210b
EB
13112012-10-18 Eric Botcazou <ebotcazou@adacore.com>
1312
1313 * c-ada-spec.c (LOCATION_COL): Delete.
1314 (compare_location): New function.
1315 (compare_node): Use it.
1316 (compare_comment): Likewise.
1317
65d4f2cd
MLI
13182012-10-16 Manuel López-Ibáñez <manu@gcc.gnu.org>
1319
1320 PR c/53063
1321 PR c/40989
1322 * c.opt (Wstrict-aliasing=,Wstrict-overflow=): Use LangEnabledBy.
1323 * c-opts.c (c_common_handle_option): Do not set them here. Add
1324 comment.
1325 (c_common_post_options): Likewise.
1326
909881cb
EB
13272012-10-16 Eric Botcazou <ebotcazou@adacore.com>
1328
1329 * c-ada-spec.c (ADA_HOST_WIDE_INT_PRINT_DOUBLE_HEX): Define.
1330 (dump_generic_ada_node) <INTEGER_CST>: Deal with sizetype specially.
1331 Remove POINTER_TYPE handling, add large unsigned handling and use
1332 ADA_HOST_WIDE_INT_PRINT_DOUBLE_HEX for big numbers.
1333
3a785c97
JJ
13342012-10-12 Jakub Jelinek <jakub@redhat.com>
1335
1336 PR c/54381
1337 * c-common.h (sizeof_pointer_memaccess_warning): Adjust prototype.
1338 * c-common.c (sizeof_pointer_memaccess_warning): Take array of 3
1339 locs and array of 3 trees instead of just single loc and single
1340 sizeof_arg tree. Handle __builtin___*_chk builtins too, and
1341 also stpncpy, bcopy, bcmp, bzero, snprintf and vsnprintf builtins.
1342 For *cmp* builtins that take two sources strings report warnings
1343 about first and second source, not about destination and source.
1344
5e54f81d
MG
13452012-10-12 Marc Glisse <marc.glisse@inria.fr>
1346
1347 PR c++/53055
1348 * c-common.h (enum ref_operator) [RO_ARROW_STAR]: New.
1349
f5b02f1e
EB
13502012-10-11 Eric Botcazou <ebotcazou@adacore.com>
1351
1352 * c-ada-spec.c (dump_ada_template): Bail out for template declarations
1353 declaring something coming from another file.
1354
b46dbc6c
AC
13552012-10-10 Arnaud Charlet <charlet@adacore.com>
1356
f5b02f1e 1357 PR ada/54845
b46dbc6c
AC
1358 * c-ada-spec.c (print_ada_struct_decl): Increase buf size.
1359
5d9de0d0
PC
13602012-10-09 Paolo Carlini <paolo.carlini@oracle.com>
1361
1362 PR c++/54194
1363 * c-common.c (warn_about_parentheses): Add location_t parameter;
1364 use EXPR_LOC_OR_LOC.
1365 * c-common.h: Update declaration.
1366
a212e43f
MG
13672012-10-09 Marc Glisse <marc.glisse@inria.fr>
1368
1369 PR c++/54427
1370 * c-common.c (scalar_to_vector): Moved from c-typeck.c. Support
1371 more operations. Make error messages optional.
1372 * c-common.h (enum stv_conv): Moved from c-typeck.c.
1373 (scalar_to_vector): Declare.
1374
b1db7f91
JM
13752012-10-08 Jason Merrill <jason@redhat.com>
1376
1377 * c-common.c (c_common_reswords): Add thread_local.
1378
e28d52cf
DS
13792012-10-08 Dodji Seketeli <dodji@redhat.com>
1380
1381 PR c++/53528 C++11 attribute support
1382 * c-common.h (bitfield_p, cxx_fundamental_alignment_p): Declare
1383 new functions.
1384 * c-common.c (check_cxx_fundamental_alignment_constraints): New
1385 static function.
1386 (handle_aligned_attribute): In choose strictest alignment
1387 among many. Use new check_cxx_fundamental_alignment_constraints.
1388 (handle_transparent_union_attribute): In c++11 attribute syntax,
1389 don't look through typedefs.
1390
3b78de56
AC
13912012-10-04 Arnaud Charlet <charlet@adacore.com>
1392
1393 * c-ada-spec.c (print_ada_declaration): Remove handling of TDF_RAW.
1394 * c.opt (-fdump-ada-spec, -fdump-ada-spec-slim): Move switch definition
1395 out of dumpfile.h.
1396
6040bb5f
DC
13972012-09-25 Dehao Chen <dehao@google.com>
1398
1399 PR middle-end/54645
3b78de56 1400 * c-pch.c (c_common_read_pch): Rebuild the location_adhoc_data
6040bb5f
DC
1401 map when read in the pch.
1402
0b07a57e
AC
14032012-09-18 Arnaud Charlet <charlet@adacore.com>
1404
1405 * c-ada-spec.c: Style fixes.
1406
da5182be
TQ
14072012-09-18 Thomas Quinot <quinot@adacore.com>
1408
1409 * c.opt (-fada-spec-parent): Define new command line switch.
1410 * c-ada-spec.c (get_ada_package): When -fada-spec-parent
1411 is specified, generate binding spec as a child of the specified unit.
1412
0ccb505d
PC
14132012-09-13 Paolo Carlini <paolo.carlini@oracle.com>
1414 Manuel López-Ibáñez <manu@gcc.gnu.org>
1415
1416 PR c++/53210
1417 * c.opt ([Winit-self]): Enabled by -Wall in C++.
1418
c583af79
AC
14192012-08-23 Arnaud Charlet <charlet@adacore.com>
1420
1421 * c-ada-spec.c (dump_generic_ada_node): Fix handling of name_only
1422 for pointers, and add missing Convention C pragma.
1423 (print_ada_struct_decl): Add missing aliased keyword.
1424 (dump_ads): Add pragma Ada_2005 and Style_Checks (Off).
1425
1a4049e7
JJ
14262012-08-17 Jakub Jelinek <jakub@redhat.com>
1427
1428 * c-common.c (sizeof_pointer_memaccess_warning): New function.
1429 * c.opt (-Wsizeof-pointer-memaccess): Add new option.
1430 * c-opts.c (c_common_handle_option): Enable it for -Wall.
1431 * c-common.h (sizeof_pointer_memaccess_warning): Add prototype.
1432 * c-common.def (SIZEOF_EXPR): Moved here from cp-tree.def.
1433
70b5e7dc
RG
14342012-08-10 Richard Guenther <rguenther@suse.de>
1435
1436 * c-pretty-print.c (pp_c_expression): Handle anonymous SSA names.
1437
f8923f7e
SB
14382012-08-07 Steven Bosscher <steven@gcc.gnu.org>
1439
1440 * c-pretty-print.c (pp_c_function_definition): Use pp_newline_and_flush
1441 instead of separate pp_newline and pp_flush.
1442 (print_c_tree): Likewise.
1443
e45abe1f
RH
14442012-07-26 Richard Henderson <rth@redhat.com>
1445
1446 * c-common.c (handle_hot_attribute): Allow labels.
1447 (handle_cold_attribute): Likewise.
1448
332f1d24
JJ
14492012-07-20 Jakub Jelinek <jakub@redhat.com>
1450
1451 PR c++/28656
1452 * c-common.c (check_function_nonnull): Handle multiple nonnull
1453 attributes properly.
1454
7ee2468b
SB
14552012-07-16 Steven Bosscher <steven@gcc.gnu.org>
1456
1457 * c-gimplify.c: Include dumpfile.h instead of tree-dump.h.
1458 * c-ada-spec.c: Likewise.
1459 * c-dump.c (dump_stmt): Move to cp/dump.c, the only user.
1460
ee7b28eb
SB
14612012-07-14 Steven Bosscher <steven@gcc.gnu.org>
1462
1463 * c-pch.c (CHECK_NO_ASM_OUT_DURING_PCH): Do not define.
1464 Remove code conditional on it.
1465
6bdf3519
SB
14662012-07-11 Steven Bosscher <steven@gcc.gnu.org>
1467
1468 * c-gimplify.c: Do not include basic-block.h.
1469 * c-common.c: Do not include linfuncs.h.
1470
532aafad
SB
14712012-07-08 Steven Bosscher <steven@gcc.gnu.org>
1472
1473 * c-common.h: Include tree.h.
1474
8d0d1915
JM
14752012-07-02 Jason Merrill <jason@redhat.com>
1476
1477 PR c++/53524
1478 * c-common.c (get_priority): Call default_conversion.
1479
fbc873ad
UB
14802012-07-01 Uros Bizjak <ubizjak@gmail.com>
1481
1482 * c-pch.c (c_common_write_pch): Remove unused variables.
1483
d4a10d0a
SB
14842012-06-29 Steven Bosscher <steven@gcc.gnu.org>
1485
1486 * cppspec.c: Moved from gcc/ to here.
1487
6f3a2e23
KT
14882012-06-27 Kai Tietz <ktietz@redhat.com>
1489
1490 PR preprocessor/37215
1491 * c-ppoutput.c (preprocess_file): Check for nonempty buffer.
1492
8ca92d04
SB
14932012-06-21 Steven Bosscher <steven@gcc.gnu.org>
1494
1495 * c-common.h (c_common_print_pch_checksum): Remove.
1496 * c-pch.c: Do not include output.h.
1497 (CHECK_NO_ASM_OUT_DURING_PCH): Define and add FIXME.
1498 (asm_out_file): Define iff CHECK_NO_ASM_OUT_DURING_PCH isdefined.
1499 (asm_file_startpos): Define iff CHECK_NO_ASM_OUT_DURING_PCH is defined.
1500 (struct c_pch_header): Remove.
1501 (get_ident): Update gpch version.
1502 (pch_init): Do not print executable_checksum to asm_out_file.
1503 Do not fail if there is no asm_out_file to read back from. Set
1504 asm_file_startpos only if CHECK_NO_ASM_OUT_DURING_PCH is defined.
1505 (c_common_write_pch): Verify that nothing was written to asm_out_file
1506 since pch_init was called. Do not write a c_pch_header, and do not
1507 copy from asm_out_file to the PCH.
1508 (c_common_read_pch): Do not read a c_pch_header, and do not restore
1509 the content of asm_out_file from the PCH.
1510 (c_common_print_pch_checksum): Remove.
1511 * c-opts.c (c_common_init): Print out executable_checksum directly.
1512
70f42967
SB
15132012-06-19 Steven Bosscher <steven@gcc.gnu.org>
1514
1515 * c-target.def (objc_declare_unresolved_class_reference,
1516 objc_declare_class_definition): Add new hooks.
1517
a8781821
SB
15182012-06-19 Steven Bosscher <steven@gcc.gnu.org>
1519
1520 * c-lex.c: Do not include output.h.
1521 (cb_ident): Try to put out .ident with targetm.asm_out.output_ident.
1522 Remove uses of ASM_OUTPUT_IDENT.
1523
9e1a8dd1
RR
15242012-06-15 Marc Glisse <marc.glisse@inria.fr>
1525
1526 PR c++/51033
1527 * c-common.h (c_build_vec_perm_expr): Move decl here.
1528 * c-common.c (c_build_vec_perm_expr): Move definition
1529 here.
1530
6f07a821
SB
15312012-06-06 Steven Bosscher <steven@gcc.gnu.org>
1532
1533 * c.opt (fconserve-space): Turn into a no-op.
1534
9faeb493 15352012-06-04 Sterling Augustine <saugustine@google.com>
c265f413
SA
1536
1537 * c-pretty-print.h (pp_c_flag_gnu_v3): New enumerator.
1538 * c-pretty-print.c (pp_c_specifier_qualifier_list): Check it at
1539 both the start and end of the function.
1540
a4b7d13c
SB
15412012-06-04 Steven Bosscher <steven@gcc.gnu.org>
1542
1543 * c-common.c: Do not include output.h.
1544 * c-pragma.c: Likewise.
1545
c265f413
SA
15462012-06-04 Steven Bosscher <steven@gcc.gnu.org>
1547
1548 * error.c (dump_decl): Check pp_c_flag_gnu_v3.
1549 (decl_as_dwarf_string, lang_decl_dwarf_name): New functions.
1550 (lang_decl_name): Handle namespace decls.
1551
be7a421e
SB
15522012-05-31 Steven Bosscher <steven@gcc.gnu.org>
1553
1554 * c-ada-spec.c: Do not include output.h.
1555 * c-semantics.c: Likewise.
1556
65de6659
JM
15572012-05-29 Joseph Myers <joseph@codesourcery.com>
1558
1559 * c-common.c: Fix typo.
1560
ca5f4331
MM
15612012-05-29 Michael Matz <matz@suse.de>
1562
1563 * c-common.h (c_expand_decl): Remove prototype.
1564
4f7f7aca
MLI
15652012-05-29 Manuel López-Ibáñez <manu@gcc.gnu.org>
1566
1567 * c.opt (Wmissing-braces): Use LangEnabledBy(C ObjC,Wall).
1568 * c-opts.c (c_common_handle_option): Remove code handling
1569 warn_missing_braces.
1570
4a792f9b
PC
15712012-05-28 Paolo Carlini <paolo.carlini@oracle.com>
1572
1573 PR c++/25137
1574 * c-opts.c (c_common_handle_option): For C++ -Wall doesn't enable
1575 -Wmissing_braces.
1576
650dc14a
DS
15772012-05-22 Dodji Seketeli <dodji@redhat.com>
1578
1579 PR c++/53322
1580 * c.opt (Wunused-local-typedefs): Use EnabledBy(Wunused).
1581
9b095bf1
MLI
15822012-05-17 Manuel López-Ibáñez <manu@gcc.gnu.org>
1583
1584 * c.opt (--pedantic-errors,-pedantic-errors): Do not handle here.
1585 * c-opts.c (c_common_handle_option): Do not handle explicitly
1586 Wreturn-type, Wwrite-strings, warn_ecpp, and -pedantic-errors.
1587
0b2c4be5
DS
15882012-05-16 Dodji Seketeli <dodji@redhat.com>
1589
1590 PR preprocessor/7263
1591 * c-lex.c (c_lex_with_flags): Pass a virtual location to the call
1592 to cpp_classify_number. For diagnostics, use the precise location
1593 instead of the global input_location.
1594
a1bde5af
PC
15952012-05-15 Paolo Carlini <paolo.carlini@oracle.com>
1596
d02924ef 1597 PR c++/11856
a1bde5af
PC
1598 * c-common.c (shorten_compare): Check c_inhibit_evaluation_warnings.
1599
d1ede5f4
BS
16002012-05-14 Bernd Schmidt <bernds@codesourcery.com>
1601
a1bde5af 1602 * c-common.c (DEF_ATTR_STRING): Define and undefine as necessary.
d1ede5f4 1603
f2bc201f
MLI
16042012-05-14 Manuel López-Ibáñez <manu@gcc.gnu.org>
1605
1606 PR 53063
1607 * c.opt (Wc++0X-compat,Wdelete-non-virtual-dtor,Wjump-misses-init,
1608 Wreorder): Use LangEnabledBy.
1609 * c-opts.c (c_common_handle_option): Do not enable them
1610 explicitly. Call lang-specific generated functions.
1611 (c_common_post_options): Do not set them here.
1612
95744782
MLI
16132012-05-13 Manuel López-Ibáñez <manu@gcc.gnu.org>
1614
1615 * c.opt (Wclobbered,Wempty-body,Wignored-qualifiers,
1616 Wmissing-field-initializers,Wmissing-parameter-type,
1617 Wold-style-declaration,Woverride-init): Use EnabledBy.
1618 * c-opts.c (c_common_post_options): Do not set here explicitly.
1619
7d5a5747
MLI
16202012-05-11 Manuel López-Ibáñez <manu@gcc.gnu.org>
1621
1622 PR 53063
1623 * c-opts.c (c_common_handle_option): Use handle_generated_option
1624 to enable sub-options.
1625
5a3c9cf2
PC
16262012-05-10 Paolo Carlini <paolo.carlini@oracle.com>
1627
1628 PR c++/53158
1629 * c-common.c (warnings_for_convert_and_check): Use warning_at.
1630
3ac8781c
RG
16312012-05-10 Richard Guenther <rguenther@suse.de>
1632
1633 * c-common.c (c_sizeof_or_alignof_type): Remove assert and
1634 adjust commentary about TYPE_IS_SIZETYPE types.
1635
1e537948
MLI
16362012-05-09 Manuel López-Ibáñez <manu@gcc.gnu.org>
1637
1638 PR c++/53261
1639 * c-common.c (warn_logical_operator): Check that argument of
1640 integer_zerop is not NULL.
1641
f2c4a785
MLI
16422012-05-05 Manuel López-Ibáñez <manu@gcc.gnu.org>
1643
1644 PR c/43772
1645 * c-common.c (warn_logical_operator): Do not warn if either side
1646 is already true or false.
1647
50f305ca
MLI
16482012-05-04 Manuel López-Ibáñez <manu@gcc.gnu.org>
1649
1650 PR c/51712
1651 * c-common.c (expr_original_type): New.
1652 (shorten_compare): Do not warn for enumeration types.
1653
0c3641b0
MLI
16542012-05-03 Manuel López-Ibáñez <manu@gcc.gnu.org>
1655
1656 * c.opt (fpermissive): Add Var(flag_permissive).
1657
7edaa4d2
MG
16582012-04-30 Marc Glisse <marc.glisse@inria.fr>
1659
1660 PR c++/51033
1661 * c-common.c (convert_vector_to_pointer_for_subscript): New function.
1662 * c-common.h (convert_vector_to_pointer_for_subscript): Declare it.
1663
b9c8da34
DS
16642012-04-30 Dodji Seketeli <dodji@redhat.com>
1665
1666 Add -Wvarargs option
1667 * c.opt (Wvarargs): Define new option.
1668
e6c69da0
MLI
16692012-04-30 Manuel López-Ibáñez <manu@gcc.gnu.org>
1670
1671 * c-common.c (check_function_arguments): Replace
1672 Wmissing-format-attribute with Wsuggest-attribute=format.
1673
90137d8f
MLI
16742012-04-30 Manuel López-Ibáñez <manu@gcc.gnu.org>
1675
1676 * c.opt (Wsuggest-attribute=format): New. Alias of
1677 Wmissing-format-attribute.
1678 * c-format.c (decode_format_type): Replace
1679 Wmissing-format-attribute with Wsuggest-attribute=format.
1680 (check_function_format): Likewise.
1681
9faeb493 16822012-04-27 Ollie Wild <aaw@google.com>
7f5f5f98
OW
1683
1684 * c-common.c: Add CPP_W_LITERAL_SUFFIX mapping.
1685 * c-opts.c (c_common_handle_option): Handle OPT_Wliteral_suffix.
1686 * c.opt: Add Wliteral-suffix.
1687
c1771a20
MLI
16882012-04-22 Manuel López-Ibáñez <manu@gcc.gnu.org>
1689
1690 PR c/44774
1691 * c.opt (Wpedantic): New.
1692 (pedantic): Alias Wpedantic.
1693 * c-opts.c (c_common_handle_option): Replace -pedantic with -Wpedantic.
1694 (c_common_post_options): Likewise.
1695 (sanitize_cpp_opts): Likewise.
1696 * c-lex.c (interpret_float): Likewise.
1697 * c-format.c (check_format_types): Likewise.
1698 * c-common.c (pointer_int_sum): Likewise.
1699 (c_sizeof_or_alignof_type): Likewise.
1700 (c_add_case_label): Likewise.
1701 (c_do_switch_warnings): Likewise.
1702 * c-pragma.c (handle_pragma_float_const_decimal64): Likewise.
1703
04b391c1
JM
17042012-04-15 Jason Merrill <jason@redhat.com>
1705
1706 PR c++/52818
1707 * c-format.c (CPLUSPLUS_STD_VER): C++11 inherits from C99.
1708 (C_STD_NAME): Distinguish between C++98 and C++11.
1709
ac868f29
EB
17102012-04-11 Eric Botcazou <ebotcazou@adacore.com>
1711
1712 PR target/52624
1713 * c-common.h (uint16_type_node): Rename into...
1714 (c_uint16_type_node): ...this.
1715 * c-common.c (c_common_nodes_and_builtins): Adjust for above renaming.
1716 * c-cppbuiltin.c (builtin_define_stdint_macros): Likewise.
1717
fd4116f4
MLI
17182012-04-10 Manuel López-Ibáñez <manu@gcc.gnu.org>
1719
1720 * c-common.c (warn_if_unused_value): Move definition to here.
1721 * c-common.h (warn_if_unused_value): Move declaration to here.
1722
573ac65e
WB
17232012-03-23 William Bader <williambader@hotmail.com>
1724
1725 * c-lex.c (c_lex_with_flags): Avoid declarations after stmts.
1726
552b8185
JM
17272012-03-20 Jason Merrill <jason@redhat.com>
1728
1729 * c-common.h (enum cxx_dialect): Add cxx1y.
1730 * c-common.c (c_common_nodes_and_builtins): Use >= for cxx_dialect
1731 test.
1732 * c-cppbuiltin.c (c_cpp_builtins): Likewise.
1733 * c-opts.c (c_common_post_options): Likewise.
1734 (set_std_cxx1y): New.
1735 (c_common_handle_option): Call it.
1736 * c.opt (-std=c++1y, -std=gnu++1y): New flags.
1737
04398fa8
PC
17382012-03-19 Paolo Carlini <paolo.carlini@oracle.com>
1739
1740 PR c++/14710
1741 * c.opt ([Wuseless-cast]): Add.
1742
d2a12ae7
RG
17432012-03-16 Richard Guenther <rguenther@suse.de>
1744
1745 * c-pretty-print.c (pp_c_initializer_list): Adjust.
1746
a12bf402
MLI
17472012-03-15 Manuel López-Ibáñez <manu@gcc.gnu.org>
1748
1749 PR c++/44783
1750 * c.opt (ftemplate-backtrace-limit) Add.
1751
5c30094f
RO
17522012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1753
1754 * c-cppbuiltin.c (c_cpp_builtins): Remove #pragma extern_prefix
1755 handling.
1756 * c-pragma.c (handle_pragma_extern_prefix): Remove.
1757 (init_pragma): Don't register extern_prefix.
1758
21fa2faf
RG
17592012-03-12 Richard Guenther <rguenther@suse.de>
1760
1761 * c-common.c (c_common_get_narrower): Use c_common_type_for_size.
1762 (builtin_type_for_size): Likewise.
1763
e3793c6f
JJ
17642012-02-13 Jakub Jelinek <jakub@redhat.com>
1765
1766 PR c++/52215
1767 * c-common.c (sync_resolve_params): Don't decide whether to convert
1768 or not based on TYPE_SIZE comparison, convert whenever arg_type
1769 is unsigned INTEGER_TYPE.
1770
93286335
PC
17712012-02-06 Paolo Carlini <paolo.carlini@oracle.com>
1772
1773 PR c/52118
1774 * c.opt ([Wunused-local-typedefs]): Fix description.
1775
7a421706
MS
17762012-01-24 Mike Stump <mikestump@comcast.net>
1777
1778 * c-common.c (c_common_type_for_mode): Match signed/unsigned types
1779 exactly.
1780
ba9b1f11
RG
17812012-01-18 Richard Guenther <rguenther@suse.de>
1782
1783 * c-opts.c (c_common_post_options): Reset LTO flags if
1784 we are about to generate a PCH.
1785
465406be
PC
17862012-01-17 Paolo Carlini <paolo.carlini@oracle.com>
1787
1788 PR c++/51777
1789 * c-pretty-print.c (pp_c_integer_constant): For unsigned constants
1790 use pp_unsigned_wide_integer.
1791
aee15221
RG
17922012-01-10 Richard Guenther <rguenther@suse.de>
1793
1794 PR middle-end/51806
1795 * c-opts.c (c_common_handle_option): Move -Werror handling
1796 to language independent code.
1797
5720c0dc
RG
17982012-01-05 Richard Guenther <rguenther@suse.de>
1799
1800 PR middle-end/51764
1801 * c.opt (Wmudflap, fmudflap, fmudflapth, fmudflapir): Move here
1802 from common.opt.
1803
73ac190a
PC
18042011-12-30 Paolo Carlini <paolo.carlini@oracle.com>
1805
1806 PR c++/51316
1807 * c-common.c (c_sizeof_or_alignof_type): In C++ allow for alignof
1808 of array types with an unknown bound.
1809
48b0b196
JM
18102011-12-20 Joseph Myers <joseph@codesourcery.com>
1811
1812 * c-common.c (flag_isoc99): Update comment to refer to C11.
1813 (flag_isoc1x): Change to flag_isoc11.
1814 * c-common.h (flag_isoc99): Update comment to refer to C11.
1815 (flag_isoc1x): Change to flag_isoc11.
1816 * c-cppbuiltin.c (cpp_atomic_builtins): Change comment to refer to
1817 C11.
1818 * c-opts.c (set_std_c1x): Change to set_std_c11.
1819 (c_common_handle_option): Handle OPT_std_c11 and OPT_std_gnu11.
1820 Call set_std_c11.
1821 (set_std_c89, set_std_c99, set_std_c11): Use flag_isoc11.
1822 (set_std_c1): Use CLK_STDC11 and CLK_GNUC11.
1823 * c.opt (std=c1x): Change to std=c11. Document as non-draft
1824 standard.
1825 (std=c1x, std=iso9899:2011): Add as aliases of std=c11.
1826 (std=gnu1x): Change to std=gnu11. Refer to non-draft standard.
1827 (std=gnu1x): Make alias of std=gnu11.
1828
d58d6eb5
JM
18292011-12-19 Jason Merrill <jason@redhat.com>
1830
1831 PR c++/51228
1832 * c-common.c (handle_transparent_union_attribute): Check the first
1833 field if the type is complete.
1834
b3908fcc
JW
18352011-12-15 Jonathan Wakely <jwakely.gcc@gmail.com>
1836
1837 PR libstdc++/51365
1838 * c-common.c (RID_IS_FINAL): Add.
1839 * c-common.h (RID_IS_FINAL): Add.
1840
fea3ca91
IS
18412011-11-30 Iain Sandoe <iains@gcc.gnu.org>
1842
1843 * c.opt (fgnu-runtime): Provide full description.
1844 (fnext-runtime): Likewise.
1845 * c-opts.c (OPT_fgnu_runtime, OPT_fnext_runtime) Remove.
1846
62bad7cd
AM
18472011-11-28 Andrew MacLeod <amacleod@redhat.com>
1848
1849 * c-cpp-builtin.c (cpp_atomic_builtins):New. Emit all atomic
1850 predefines in one place. Add LOCK_FREE predefines.
1851 (c_cpp_builtins): Move Legacy HAVE_SYNC predefines to
1852 new func.
1853
c466c4ff
AM
18542011-11-24 Andrew MacLeod <amacleod@redhat.com>
1855
1856 PR c/51256
9faeb493 1857 * c-common.c (get_atomic_generic_size): Check for various error
c466c4ff 1858 conditions
9faeb493
UB
1859 (resolve_overloaded_atomic_exchange,
1860 resolve_overloaded_atomic_compare_exchange,
c466c4ff
AM
1861 resolve_overloaded_atomic_load, resolve_overloaded_atomic_store): Return
1862 error_mark_node for error conditions.
9faeb493 1863
a5952633
RG
18642011-11-08 Richard Guenther <rguenther@suse.de>
1865
1866 PR middle-end/51010
1867 c-family/
1868
0a35513e
AH
18692011-11-07 Richard Henderson <rth@redhat.com>
1870 Aldy Hernandez <aldyh@redhat.com>
1871 Torvald Riegel <triegel@redhat.com>
1872
1873 Merged from transactional-memory.
1874
1875 * c-common.c (handle_tm_wrap_attribute,
1876 handle_tm_attribute, ignore_attribute, parse_tm_stmt_attr): New.
1877 (struct c_common_reswords): Added __transaction* keywords.
1878 (struct c_common_attribute_table): Added transaction* and tm_regparm
1879 attributes.
1880 * c-common.h: Added RID_TRANSACTION*. Added TM_ATTR* and TM_STMT*
1881 masks.
1882 (parse_tm_stmt_attr, tm_attr_to_mask, tm_mask_to_attr,
1883 find_tm_attribute): Declare.
1884
6d87092d
JM
18852011-11-07 Jason Merrill <jason@redhat.com>
1886
1887 PR c++/35688
1888 * c-common.c, c-common.h: Revert yesterday's changes.
1889
8e7860a1
JM
18902011-11-06 Jason Merrill <jason@redhat.com>
1891
1892 PR c++/35688
1893 * c-common.c (decl_has_visibility_attr): Split out from...
1894 (c_determine_visibility): ...here.
1895 * c-common.h: Declare it.
1896
d19fa6b5
JM
18972011-11-06 Joseph Myers <joseph@codesourcery.com>
1898
1899 * c-common.c (c_common_reswords): Add _Alignas and _Alignof.
1900 (c_sizeof_or_alignof_type): Diagnose alignof applied to a function
1901 type.
1902 (check_user_alignment): New. Split out of
1903 handle_aligned_attribute. Disallow integer constants with
1904 noninteger types. Conditionally allow zero.
1905 (handle_aligned_attribute): Use check_user_alignment.
1906 * c-common.h (RID_ALIGNAS, check_user_alignment): New.
1907
86951993
AM
19082011-11-06 Andrew MacLeod <amacleod@redhat.com>
1909 Richard Henderson <rth@redhat.com>
1910
1911 Merged from cxx-mem-model.
1912
1913 * c-cppbuiltin.c (c_cpp_builtins): Test both atomic and sync patterns.
9faeb493 1914 * c-common.c (sync_resolve_params, sync_resolve_return): Only tweak
86951993
AM
1915 parameters that are the same type size.
1916 (get_atomic_generic_size): New. Find size of generic
1917 atomic function parameters and do typechecking.
1918 (add_atomic_size_parameter): New. Insert size into parameter list.
1919 (resolve_overloaded_atomic_exchange): Restructure __atomic_exchange to
1920 either __atomic_exchange_n or external library call.
9faeb493 1921 (resolve_overloaded_atomic_compare_exchange): Restructure
86951993 1922 __atomic_compare_exchange to either _n variant or external library call.
9faeb493 1923 (resolve_overloaded_atomic_load): Restructure __atomic_load to either
86951993
AM
1924 __atomic_load_n or an external library call.
1925 (resolve_overloaded_atomic_store): Restructure __atomic_store to either
1926 __atomic_store_n or an external library call.
1927 (resolve_overloaded_builtin): Handle new __atomic builtins.
1928
cf9e9959
EB
19292011-11-04 Eric Botcazou <ebotcazou@adacore.com>
1930
1931 PR c++/50608
1932 * c-common.c (c_fully_fold_internal) <ADDR_EXPR>: Call fold_offsetof_1.
1933 (fold_offsetof_1): Make global. Remove STOP_REF argument and adjust.
1934 <INDIRECT_REF>: Return the argument.
1935 <ARRAY_REF>: Remove special code for negative offset.
1936 Call fold_build_pointer_plus instead of size_binop.
1937 (fold_offsetof): Remove STOP_REF argument and adjust.
1938 * c-common.h (fold_offsetof_1): Declare.
1939 (fold_offsetof): Remove STOP_REF argument.
1940
25339f10
JM
19412011-11-02 Paolo Carlini <paolo.carlini@oracle.com>
1942
1943 PR c++/50810
1944 * c-opts.c (c_common_handle_option): Enable -Wnarrowing as part
1945 of -Wall; include -Wnarrowing in -Wc++0x-compat; adjust default
1946 Wnarrowing for C++0x and C++98.
1947 * c.opt ([Wnarrowing]): Update.
1948
89401152
PC
19492011-11-01 Paolo Carlini <paolo.carlini@oracle.com>
1950
1951 PR c++/44277
1952 * c.opt: Add Wzero-as-null-pointer-constant.
1953
97e3ad20
JM
19542011-10-31 Jason Merrill <jason@redhat.com>
1955
15694fdd
JM
1956 * c.opt (-fdeduce-init-list): Off by default.
1957
97e3ad20
JM
1958 PR c++/50920
1959 * c-common.h (cxx_dialect): Add cxx11 and cxx03.
1960 * c.opt: Add -std=c++11, -std=gnu++11, -std=gnu++03,
1961 and -Wc++11-compat.
1962 * c-opts.c (set_std_cxx11): Rename from set_std_cxx0x.
1963
fb9120e3
RAV
19642011-10-27 Roberto Agostino Vitillo <ravitillo@lbl.gov>
1965
1966 PR c++/30066
1967 * c.opt (fvisibility-inlines-hidden): Description change.
1968
3ce4f9e4
ESR
19692011-10-26 Ed Smith-Rowland <3dw4rd@verizon.net>
1970
1971 Implement C++11 user-defined literals.
1972 * c-common.c (build_userdef_literal): New.
1973 * c-common.def: New tree code.
1974 * c-common.h (tree_userdef_literal): New tree struct and accessors.
1975 * c-lex.c (interpret_float): Add suffix parm.
1976 (c_lex_with_flags): Build literal tokens.
1977
5f53c243
PC
19782011-10-23 Paolo Carlini <paolo.carlini@oracle.com>
1979
1980 PR c++/50841
1981 Revert:
1982 2011-10-23 Paolo Carlini <paolo.carlini@oracle.com>
1983
1984 PR c++/50810
1985 * c-opts.c (c_common_handle_option): Enable -Wnarrowing as part
1986 of -Wall; include -Wnarrowing in -Wc++0x-compat; adjust default
1987 Wnarrowing for C++0x and C++98.
1988 * c.opt ([Wnarrowing]): Update.
1989
263734e1
PC
19902011-10-23 Paolo Carlini <paolo.carlini@oracle.com>
1991
1992 PR c++/50810
1993 * c-opts.c (c_common_handle_option): Enable -Wnarrowing as part
1994 of -Wall; include -Wnarrowing in -Wc++0x-compat; adjust default
1995 Wnarrowing for C++0x and C++98.
1996 * c.opt ([Wnarrowing]): Update.
1997
d2e312d7
PC
19982011-10-21 Paolo Carlini <paolo.carlini@oracle.com>
1999
2000 PR c++/45385
2001 * c-common.c (conversion_warning): Remove code looking for
2002 artificial operands.
2003
d17687f6
DS
20042011-10-18 Dodji Seketeli <dodji@redhat.com>
2005
2006 PR bootstrap/50760
2007 * c-lex.c (fe_file_change): Use LINEMAP_SYSP when
9faeb493 2008 !NO_IMPLICIT_EXTERN_C.
d17687f6 2009
fc8396e9
PC
20102011-10-17 Michael Spertus <mike_spertus@symantec.com>
2011
2012 * c-common.c (c_common_reswords): Add __bases,
2013 __direct_bases.
2014 * c-common.h: Add RID_BASES and RID_DIRECT_BASES.
2015
20162011-10-17 Paolo Carlini <paolo.carlini@oracle.com>
2017
2018 PR c++/50757
2019 * c.opt ([Wnonnull]): Add C++ and Objective-C++.
2020
847e697a
TT
20212011-10-15 Tom Tromey <tromey@redhat.com>
2022 Dodji Seketeli <dodji@redhat.com>
2023
2024 * c.opt (fdebug-cpp): New option.
2025 * c-opts.c (c_common_handle_option): Handle the option.
2026 * c-ppoutput.c (maybe_print_line_1): New static function. Takes an
2027 output stream in parameter. Factorized from ...
2028 (maybe_print_line): ... this. Dump location debug information when
2029 -fdebug-cpp is in effect.
2030 (print_line_1): New static function. Takes an output stream in
2031 parameter. Factorized from ...
2032 (print_line): ... here. Dump location information when -fdebug-cpp
2033 is in effect.
2034 (scan_translation_unit): Dump location information when
2035 -fdebug-cpp is in effect.
2036
92582b75
TT
20372011-10-15 Tom Tromey <tromey@redhat.com>
2038 Dodji Seketeli <dodji@redhat.com>
2039
2040 * c.opt (ftrack-macro-expansion): New option. Handle it with and
2041 without argument.
2042 * c-opts.c (c_common_handle_option)<case
2043 OPT_ftrack_macro_expansion_, case OPT_ftrack_macro_expansion>: New
2044 cases. Handle -ftrack-macro-expansion with and without argument.
2045
46427374
TT
20462011-10-15 Tom Tromey <tromey@redhat.com>
2047 Dodji Seketeli <dodji@redhat.com>
2048
2049 * c-ppoutput.c (scan_translation_unit, maybe_print_line)
2050 (print_line, cb_define, do_line_change): Adjust to avoid touching
2051 the internals of struct line_map. Use the public API instead.
2052 * c-pch.c (c_common_read_pch): Likewise.
2053 * c-lex.c (fe_file_change): Likewise.
2054
fc8396e9
PC
20552011-10-14 Paolo Carlini <paolo.carlini@oracle.com>
2056
2057 PR c++/17212
2058 * c.opt ([Wformat-zero-length]): Add C++ and Objective-C++.
2059
20602011-10-11 Paolo Carlini <paolo.carlini@oracle.com>
2061
2062 PR c++/33067
2063 * c-pretty-print.c (pp_c_floating_constant): Output
2064 max_digits10 (in the ISO C++ WG N1822 sense) decimal digits.
2065
e79983f4
MM
20662011-10-11 Michael Meissner <meissner@linux.vnet.ibm.com>
2067
2068 * c-common.c (def_builtin_1): Delete old interface with two
2069 parallel arrays to hold standard builtin declarations, and replace
2070 it with a function based interface that can support creating
2071 builtins on the fly in the future. Change all uses, and poison
2072 the old names. Make sure 0 is not a legitimate builtin index.
2073 * c-omp.c (c_finish_omp_barrier): Ditto.
2074 (c_finish_omp_taskwait): Ditto.
2075 (c_finish_omp_flush): Ditto.
2076
6637388f
TG
20772011-10-11 Tristan Gingold <gingold@adacore.com>
2078
2079 * c.opt: (fallow-parameterless-variadic-functions): New.
2080
3797cb21
DS
20812011-09-08 Dodji Seketeli <dodji@redhat.com>
2082
2083 PR c++/33255 - Support -Wunused-local-typedefs warning
2084 * c-common.h (struct c_language_function::local_typedefs): New
2085 field.
9faeb493
UB
2086 (record_locally_defined_typedef, maybe_record_typedef_use)
2087 (maybe_warn_unused_local_typedefs): Declare new functions.
3797cb21 2088 * c-common.c (record_locally_defined_typedef)
9faeb493
UB
2089 (maybe_record_typedef_use)
2090 (maybe_warn_unused_local_typedefs): Define new functions.
3797cb21
DS
2091 * c.opt: Declare new -Wunused-local-typedefs flag.
2092
693ddb1b
EB
20932011-09-06 Eric Botcazou <ebotcazou@adacore.com>
2094
2095 PR middle-end/50266
2096 * c-common.c (c_fully_fold_internal) <ADDR_EXPR>: Fold offsetof-like
2097 computations.
2098
830c740f
RG
20992011-09-05 Richard Guenther <rguenther@suse.de>
2100
2101 * c-common.c (complete_array_type): Use ssize_int (-1) instead
2102 of integer_minus_one_node for empty array upper bounds.
2103
892a371f
DS
21042011-08-28 Dodji Seketeli <dodji@redhat.com>
2105
2106 * c-pch.c (c_common_read_pch): Call linemap_add with LC_ENTER as
2107 it's the first time it's being called on this main TU.
2108
0e3fdb48
RB
21092011-08-24 Richard Guenther <rguenther@suse.de>
2110
2111 PR c/49396
2112 * c-cppbuiltin.c (c_cpp_builtins_optimize_pragma): Fix conditional.
2113
21142011-08-22 Gabriel Charette <gchare@google.com>
e3dfef44
GC
2115
2116 * c-opts.c (c_finish_options): Force BUILTINS_LOCATION for tokens
2117 defined in cpp_init_builtins and c_cpp_builtins.
2118
d4a83c10
JM
21192011-08-19 Joseph Myers <joseph@codesourcery.com>
2120
2121 * c-common.c (c_common_reswords): Add __builtin_complex.
2122 * c-common.h (RID_BUILTIN_COMPLEX): New.
2123
bbceee64
JM
21242011-08-18 Joseph Myers <joseph@codesourcery.com>
2125
2126 * c-common.c (c_common_reswords): Add _Noreturn.
2127 (keyword_is_function_specifier): Handle RID_NORETURN.
2128 * c-common.h (RID_NORETURN): New.
2129
0e3a99ae
AS
21302011-08-10 Artjoms Sinkarovs <artyom.shinakroff@gmail.com>
2131
2132 * c-common.c (unsafe_conversion_p): New function. Check if it is
2133 unsafe to convert an expression to the type.
2134 (conversion_warning): Adjust, use unsafe_conversion_p.
2135 * c-common.h (unsafe_conversion_p): New function declaration.
2136
20906c66
JJ
21372011-08-02 Jakub Jelinek <jakub@redhat.com>
2138
2139 * c-common.h (c_finish_omp_atomic): Adjust prototype.
2140 (c_finish_omp_taskyield): New prototype.
2141 * c-omp.c (c_finish_omp_atomic): Add OPCODE, V, LHS1 and RHS1
2142 arguments. Handle OMP_ATOMIC_READ, OMP_ATOMIC_CAPTURE_OLD and
2143 OMP_ATOMIC_CAPTURE_NEW in addition to OMP_ATOMIC. If LHS1
2144 or RHS1 have side-effects, evaluate those too in the right spot,
2145 if it is a decl and LHS is also a decl, error out if they
2146 aren't the same.
2147 (c_finish_omp_taskyield): New function.
2148 * c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP to 201107.
2149 * c-pragma.c (omp_pragmas): Add taskyield.
2150 * c-pragma.h (enum pragma_kind): Add PRAGMA_OMP_TASKYIELD.
2151 (enum pragma_omp_clause): Add PRAGMA_OMP_CLAUSE_FINAL and
2152 PRAGMA_OMP_CLAUSE_MERGEABLE.
2153
770e5a2e
DS
21542011-07-25 Dodji Seketeli <dodji@redhat.com>
2155
2156 * c-common.h (set_underlying_type): Remove parm name from
2157 declaration.
2158
1baae426
RG
21592011-07-25 Romain Geissler <romain.geissler@gmail.com>
2160
2161 * c-pretty-print.h: Search c-common.h in c-family.
9faeb493 2162
fcb21722
JM
21632011-07-22 Jason Merrill <jason@redhat.com>
2164
76f86d00
JM
2165 PR c++/49793
2166 * c.opt (Wnarrowing): New.
2167
3a636414
JM
2168 PR c++/30112
2169 * c-common.h: Declare c_linkage_bindings.
2170 * c-pragma.c (handle_pragma_redefine_extname): Use it.
2171
fcb21722
JM
2172 PR c++/49813
2173 * c-opts.c (set_std_cxx0x): Set flag_isoc94 and flag_isoc99.
2174 * c-pretty-print.c (pp_c_cv_qualifiers): Check c_dialect_cxx as well
2175 as flag_isoc99 for 'restrict'.
2176 (pp_c_specifier_qualifier_list): Likewise for _Complex.
2177
02614448
ILT
21782011-07-21 Ian Lance Taylor <iant@google.com>
2179
2180 PR middle-end/49705
2181 * c-common.c (c_disable_warnings): New static function.
2182 (c_enable_warnings): New static function.
2183 (c_fully_fold_internal): Change local unused_p to bool. Call
2184 c_disable_warnings and c_enable_warnings rather than change
2185 c_inhibit_evaluation_warnings.
2186
34429675
JM
21872011-07-20 Jason Merrill <jason@redhat.com>
2188
2189 PR c++/6709 (DR 743)
2190 PR c++/42603 (DR 950)
2191 * c-common.h (CPP_KEYWORD, CPP_TEMPLATE_ID): Move from cp/parser.h.
2192 (CPP_NESTED_NAME_SPECIFIER, N_CP_TTYPES): Likewise.
2193 (CPP_DECLTYPE): New.
2194 * c-common.c (c_parse_error): Handle CPP_DECLTYPE.
2195
5d49b6a7
RG
21962011-07-19 Richard Guenther <rguenther@suse.de>
2197
2198 * c-common.c (pointer_int_sum): Use fold_build_pointer_plus.
2199 * c-omp.c (c_finish_omp_for): Likewise.
2200
e84a58ff
EB
22012011-07-12 Eric Botcazou <ebotcazou@adacore.com>
2202
2203 * c-ada-spec.c (dump_nested_types): Put semi-colon after empty loop
2204 body on the next line.
2205
329af3c7
JM
22062011-07-08 Jason Merrill <jason@redhat.com>
2207
4063e61b
JM
2208 PR c++/45437
2209 * c-omp.c (check_omp_for_incr_expr): Handle preevaluation.
2210
329af3c7
JM
2211 PR c++/49673
2212 * c-common.c (c_apply_type_quals_to_decl): Don't check
2213 TYPE_NEEDS_CONSTRUCTING.
2214
1a072294
RG
22152011-07-06 Richard Guenther <rguenther@suse.de>
2216
2217 * c-common.c (c_common_nodes_and_builtins):
2218 Merge calls to build_common_tree_nodes and build_common_tree_nodes_2.
2219
fce5dddd
RG
22202011-07-05 Richard Guenther <rguenther@suse.de>
2221
2222 * c-common.c (c_common_nodes_and_builtins): Build all common
2223 tree nodes first.
2224
45d439ac
JJ
22252011-06-27 Jakub Jelinek <jakub@redhat.com>
2226
56300785
JJ
2227 * c-common.h (c_tree_chain_next): New static inline function.
2228
45d439ac
JJ
2229 * c-common.c (check_builtin_function_arguments): Handle
2230 BUILT_IN_ASSUME_ALIGNED.
2231
e0a8ecf2
AM
22322011-06-21 Andrew MacLeod <amacleod@redhat.com>
2233
2234 * c-common.c: Add sync_ or SYNC__ to builtin names.
2235 * c-omp.c: Add sync_ or SYNC__ to builtin names.
dfb43cd5
PV
2236
22372011-06-20 Pierre Vittet <piervit@pvittet.com>
2238
2239 * c-pragma.h (pragma_handler_1arg, pragma_handler_2arg): New
2240 handler.
2241 (gen_pragma_handler): New union.
2242 (internal_pragma_handler): New type.
2243 (c_register_pragma_with_data)
2244 (c_register_pragma_with_expansion_and_data): New functions.
2245
2246 * c-pragma.c (registered_pragmas, c_register_pragma_1)
2247 (c_register_pragma, c_register_pragma_with_expansion)
2248 (c_invoke_pragma_handler): Changed to work with
2249 internal_pragma_handler.
2250 (c_register_pragma_with_data)
2251 (c_register_pragma_with_expansion_and_data): New functions.
2252
677f3fa8
JM
22532011-06-14 Joseph Myers <joseph@codesourcery.com>
2254
2255 * c-common.c: Include common/common-target.h.
2256 (handle_section_attribute): Use
2257 targetm_common.have_named_sections.
2258 * c-cppbuiltin.c: Include common/common-target.h.
2259 (c_cpp_builtins): Use targetm_common.except_unwind_info.
2260
d7fc8c14
RG
22612011-06-10 Richard Guenther <rguenther@suse.de>
2262
2263 * c-pretty-print.c (pp_c_type_specifier): Use pp_c_identifier
2264 to print a IDENTIFIER_NODE.
2265
10e48e39
RO
22662011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2267 Joseph Myers <joseph@codesourcery.com>
2268
2269 * c.opt (fbuilding-libgcc): New option.
2270 * c-cppbuiltin.c (c_cpp_builtins): Define
2271 __LIBGCC_TRAMPOLINE_SIZE__ if flag_building_libgcc.
2272
6976ae51
JM
22732011-06-07 Jason Merrill <jason@redhat.com>
2274
3ff60975
JM
2275 * c-common.c (max_tinst_depth): Lower default to 900.
2276
6976ae51
JM
2277 * c-format.c (gcc_cxxdiag_char_table): Add 'S' format.
2278
009db074
RG
22792011-06-07 Richard Guenther <rguenther@suse.de>
2280
2281 * c-common.c (c_common_nodes_and_builtins): Do not set
2282 size_type_node or call set_sizetype.
2283
b4592b92
DS
22842011-06-07 Dodji Seketeli <dodji@redhat.com>
2285
2286 PR debug/49130
2287 * c-pretty-print.c (pp_c_integer_constant): Consider the canonical
9faeb493 2288 type when using pointer comparison to compare types.
b4592b92 2289
014ab419
JW
22902011-06-02 Jonathan Wakely <jwakely.gcc@gmail.com>
2291
2292 * c.opt: Add -Wdelete-non-virtual-dtor.
2293 * c-opts.c (c_common_handle_option): Include it in -Wall.
2294
4f60111f
NF
22952011-05-30 Nathan Froyd <froydnj@gcc.gnu.org>
2296
2297 PR bootstrap/49190
2298
2299 Revert:
2300 2011-05-26 Nathan Froyd <froydnj@codesourcery.com>
2301
2302 * c-common.h (struct c_common_identifier): Inherit from tree_typed,
2303 not tree_common.
2304
4cc4f2f4
JJ
23052011-05-27 Jakub Jelinek <jakub@redhat.com>
2306
2307 PR c++/49165
2308 * c-common.c (c_common_truthvalue_conversion) <case COND_EXPR>: For
2309 C++ don't call c_common_truthvalue_conversion on void type arms.
2310
38e01f9e
NF
23112011-05-27 Nathan Froyd <froydnj@codesourcery.com>
2312
2313 * c-common.h (struct stmt_tree_s) [x_cur_stmt_list]: Change to a VEC.
2314 (stmt_list_stack): Define.
2315 (cur_stmt_list): Adjust for new type of x_cur_stmt_list.
2316 * c-semantics.c (push_stmt_list, pop_stmt_list): Likewise.
2317
92e948a8
NF
23182011-05-26 Nathan Froyd <froydnj@codesourcery.com>
2319
2320 * c-common.c (warning_candidate_p): Check for BLOCKs.
2321
a2fc3e63
NF
23222011-05-26 Nathan Froyd <froydnj@codesourcery.com>
2323
2324 * c-common.h (struct c_common_identifier): Inherit from tree_typed,
2325 not tree_common.
2326
0957c029
JJ
23272011-05-25 Jakub Jelinek <jakub@redhat.com>
2328
2329 * c-common.c (def_fn_type): Remove extra va_end.
2330
828fb3ba
JM
23312011-05-23 Jason Merrill <jason@redhat.com>
2332
2333 PR c++/48106
2334 * c-common.c (c_common_get_narrower): New.
2335 (shorten_binary_op, shorten_compare, warn_for_sign_compare): Use it.
2336
dde05067
NF
23372011-05-23 Nathan Froyd <froydnj@codesourcery.com>
2338
2339 * c-common.h (check_function_arguments): Tweak prototype of
2340 check_function_arguments.
2341 * c-common.c (check_function_arguments): Likewise. Adjust
2342 calls to check_function_nonnull, check_function_format, and
2343 check_function_sentinel.
2344 (check_function_sentinel): Take a FUNCTION_TYPE rather than
2345 separate attributes and typelist arguments. Use
2346 FOREACH_FUNCTION_ARGS to iterate over argument types.
2347
3c0d13bf
PC
23482011-05-15 Paolo Carlini <paolo.carlini@oracle.com>
2349
2350 * c-common.c (c_common_reswords): Reorder.
2351 * c-common.h (rid): Likewise.
2352
8242dd04
NF
23532011-05-10 Nathan Froyd <froydnj@codesourcery.com>
2354
2355 * c-common.c (def_fn_type): Don't call build_function_type, call
2356 build_function_type_array or build_varargs_function_type_array
2357 instead.
2358 (c_common_nodes_and_builtins): Likewise.
2359
3d528853
NF
23602011-05-05 Nathan Froyd <froydnj@codesourcery.com>
2361
2362 * c-common.c (c_add_case_label): Omit the loc argument to
2363 build_case_label.
2364 * c-common.h (build_case_label): Remove.
2365 * c-semantics.c (build_case_label): Remove.
2366
a04a722b
JM
23672011-05-05 Joseph Myers <joseph@codesourcery.com>
2368
2369 * c-objc.h (objc_start_method_definition): Update prototype.
2370 * stub-objc.c (objc_start_method_definition): Add extra parameter.
2371
e19a18d4
NF
23722011-05-04 Nathan Froyd <froydnj@codesourcery.com>
2373
2374 * c-common.c (check_main_parameter_types): Reindent. Don't use
2375 TYPE_ARG_TYPES directly.
2376 (handle_nonnull_attribute): Likewise.
2377 (sync_resolve_params): Likewise.
2378 * c-format.c (handle_format_arg_attribute): Likewise. Adjust call
2379 to check_format_string.
2380 (handle_format_attribute): Likewise.
2381 (check_format_string): Take a function type to examine instead of
2382 a type list. Use a function_arg_iterator to step through argument
2383 types.
2384
c62c040f
RG
23852011-05-04 Richard Guenther <rguenther@suse.de>
2386
2387 * c-common.c (fix_string_type): Use size_int for index type bounds.
2388 (start_fname_decls): Do not pass NULL to build_int_cst.
2389 (c_init_attributes): Likewise.
2390 * c-lex.c (c_lex_with_flags): Likewise.
2391
c12ff9d8
JM
23922011-04-27 Jason Merrill <jason@redhat.com>
2393
2394 * c-common.c (make_tree_vector_from_list): New.
2395 * c-common.h: Declare it.
2396
304dfbe3
RG
23972011-04-26 Richard Guenther <rguenther@suse.de>
2398
2399 PR preprocessor/48248
2400 * c-ppoutput.c (maybe_print_line): Always optimize newlines
2401 for output size with -P.
2402
3c0d13bf
PC
24032011-04-25 Paolo Carlini <paolo.carlini@oracle.com>
2404
2405 * c-common.c (struct c_common_resword): Add __underlying_type.
2406 * c-common.h (enum rid): Add RID_UNDERLYING_TYPE.
2407
04695783
JM
24082011-04-20 Jim Meyering <meyering@redhat.com>
2409
2410 * c-format.c (init_dollar_format_checking): Remove useless
2411 if-before-free.
2412
0dc33c3c
NP
24132011-04-15 Nicola Pero <nicola.pero@meta-innovation.com>
2414
2415 * c-objc.h (objc_get_interface_ivars): Removed.
3c0d13bf 2416 (objc_detect_field_duplicates): New.
0dc33c3c 2417 * stub-objc.c: Likewise.
3c0d13bf 2418
c59633d9
NP
24192011-04-14 Nicola Pero <nicola.pero@meta-innovation.com>
2420
2421 * stub-objc.c (objc_declare_protocols): Renamed to
2422 objc_declare_protocol.
2423 * c-objc.h: Likewise.
3c0d13bf 2424
32dabdaf
NP
24252011-04-14 Nicola Pero <nicola.pero@meta-innovation.com>
2426
2427 * stub-objc.c (objc_declare_class): Updated argument name.
2428
81f653d6
NF
24292011-04-12 Nathan Froyd <froydnj@codesourcery.com>
2430
2431 * c-common.h (c_common_init_ts): Declare.
2432 * c-common.c (c_common_init_ts): Define.
2433
eb345401
NP
24342011-04-12 Nicola Pero <nicola.pero@meta-innovation.com>
2435
2436 * c-objc.h (objc_build_message_expr): Updated prototype.
2437 * stub-objc.c (objc_build_message_expr): Likewise.
9faeb493 2438
a358e188
MJ
24392011-04-12 Martin Jambor <mjambor@suse.cz>
2440
2441 * c-gimplify.c (c_genericize): Call cgraph_get_create_node instead
2442 of cgraph_node.
2443
e6313a78
RG
24442011-04-11 Richard Guenther <rguenther@suse.de>
2445
2446 * c-common.c (complete_array_type): Build a range type of
2447 proper type.
2448
dcf0c47e
NF
24492011-04-08 Nathan Froyd <froydnj@codesourcery.com>
2450
2451 * c-common.c (handle_sentinel_attribute): Don't use TYPE_ARG_TYPES.
2452 (handle_type_generic_attribute): Likewise.
2453
1ee44b26
JM
24542011-04-07 Jason Merrill <jason@redhat.com>
2455
2456 PR c++/48450
2457 * c-common.c (c_common_truthvalue_conversion): Don't ignore
2458 conversion from C++0x scoped enum.
2459
acce4e77
JM
24602011-04-06 Joseph Myers <joseph@codesourcery.com>
2461
2462 * c-target-def.h: New file.
2463 * c-target.def: New file.
2464 * c-target.h: New file.
2465 * c-common.c (targetcm): Don't define here.
2466 * c-common.h (default_handle_c_option): Declare.
2467 * c-format.c: Include c-target.h instead of target.h.
2468 * c-opts.c: Include c-target.h instead of target.h. Explicitly
2469 include tm.h.
2470 (default_handle_c_option): Move from targhooks.c.
2471
e2eefb55
JJ
24722011-03-29 Jakub Jelinek <jakub@redhat.com>
2473
2474 PR preprocessor/48248
2475 * c-ppoutput.c (print): Add src_file field.
2476 (init_pp_output): Initialize it.
2477 (maybe_print_line): Don't optimize by adding up to 8 newlines
2478 if map->to_file and print.src_file are different file.
2479 (print_line): Update print.src_file.
2480
ba78087b
KT
24812011-03-25 Kai Tietz <ktietz@redhat.com>
2482
2483 * c-ada-spec.c (compare_comment): Use filename_cmp
2484 instead of strcmp for filename.
2485
0edf1bb2
JL
24862011-03-25 Jeff Law <law@redhat.com>
2487
2488 * c-family/c-common.c (def_fn_type): Add missing va_end.
2489
c7dc8804
JM
24902011-03-25 Jason Merrill <jason@redhat.com>
2491
2492 * c.opt: Add -std=c++03.
2493
d1d879b1
EB
24942011-03-22 Eric Botcazou <ebotcazou@adacore.com>
2495
2496 * c-ada-spec.c (dump_ada_template): Skip non-class instances.
2497
62d784f7
KT
24982011-03-17 Kai Tietz
2499
2500 PR target/12171
5050afdf
KT
2501 * c-pretty-print.c (pp_c_specifier_qualifier_list):
2502 Display allowed attributes for function pointer types.
2503 (pp_c_attributes_display): New function to display
2504 attributes having affects_type_identity flag set to true.
2505 * c-pretty-print.h (pp_c_attributes_display): New prototype.
2506
62d784f7
KT
2507 * c-common.c (c_common_attribute_table):
2508 Add new element.
2509 (c_common_format_attribute_table): Likewise.
2510
82d37118
JM
25112011-03-18 Jason Merrill <jason@redhat.com>
2512
49a000c3
JM
2513 * c.opt (fconstexpr-depth): Add Var(max_constexpr_depth).
2514 * c-common.h: Don't declare it here.
2515 * c-common.c: Or define it here.
2516 * c-opts.c (c_common_handle_option): Or set it here.
2517
82d37118
JM
2518 PR c++/35315
2519 * c-common.c (handle_transparent_union_attribute): Don't
2520 make a duplicate type in C++.
2521
17bc631c
JM
25222011-03-15 Jason Merrill <jason@redhat.com>
2523
2524 * c-common.c (max_constexpr_depth): New.
2525 * c-common.h: Declare it.
2526 * c-opts.c (c_common_handle_option): Set it.
2527 * c.opt (fconstexpr-depth): New option.
2528
1b9b91a6
JM
25292011-03-11 Jason Merrill <jason@redhat.com>
2530
f231b5ff
JM
2531 * c-common.c (attribute_takes_identifier_p): Add missing const.
2532
1b9b91a6
JM
2533 PR c++/46803
2534 * c-common.c (attribute_takes_identifier_p): Assume that an
2535 unknown attribute takes an identifier.
2536
a19e4d44
NF
25372011-03-07 Nathan Froyd <froydnj@codesourcery.com>
2538
2539 PR c/47786
2540 * c-common.c (c_type_hash): Call list_length instead of iterating
2541 through DECL_CHAIN. Rename 'i' to 'n_elements'.
2542
982d62f6
JJ
25432011-02-19 Jakub Jelinek <jakub@redhat.com>
2544
2545 PR c/47809
2546 * c-common.c (c_fully_fold_internal): Handle VIEW_CONVERT_EXPR.
2547
0a256240
NP
25482011-02-17 Iain Sandoe <iains@gcc.gnu.org>
2549
2550 * c.opt (fobjc-abi-version=) New.
2551 (fobjc-nilcheck): New.
2552
ba9e6dd5
NF
25532011-02-03 Nathan Froyd <froydnj@codesourcery.com>
2554
2555 PR c++/46890
2556 * c-common.h (keyword_is_decl_specifier): Declare.
2557 * c-common.c (keyword_is_decl_specifier): Define.
2558 (keyword_is_function_specifier): New function.
2559
7273813a
JJ
25602011-01-26 Jakub Jelinek <jakub@redhat.com>
2561
2562 PR c/47473
2563 * c-lex.c (interpret_float): If CPP_N_IMAGINARY, ensure
2564 EXCESS_PRECISION_EXPR is created with COMPLEX_TYPE instead of
2565 REAL_TYPE.
2566
908ef79b
AC
25672011-01-26 Arnaud Charlet <charlet@adacore.com>
2568
2569 * c-ada-spec.c (dump_generic_ada_node): Avoid dereferencing null type.
2570
237e9384
JJ
25712011-01-26 Jakub Jelinek <jakub@redhat.com>
2572
2573 PR pch/47430
2574 * c-opts.c (c_common_post_options): Call c_common_no_more_pch
2575 after init_c_lex if pch_file is set.
2576
47ea1edf
DK
25772011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
2578
d4dba752 2579 PR c++/43601
47ea1edf
DK
2580 * c.opt (-fkeep-inline-dllexport): New switch.
2581
2aa9c6ae
RG
25822011-01-12 Richard Guenther <rguenther@suse.de>
2583
2584 PR middle-end/32511
2585 * c-common.c (handle_weak_attribute): Warn instead of error
2586 on declaring an inline function weak.
2587
7bd11157
TT
25882011-01-05 Tom Tromey <tromey@redhat.com>
2589
2590 * c-common.h (lvalue_error): Update.
2591 * c-common.c (lvalue_error): Add 'loc' argument. Call error_at,
2592 not error.
2593
0e66e494 25942010-12-29 Nicola Pero <nicola.pero@meta-innovation.com>
9faeb493 2595
b4f588c4
NP
2596 PR objc/47075
2597 * c-objc.h (objc_finish_message_expr): Added argument to
2598 prototype.
2599
f4da8dce
NF
26002010-12-22 Nathan Froyd <froydnj@codesourcery.com>
2601
2602 * c-common.c (handle_nonnull_attribute, handle_sentinel_attribute):
2603 Use prototype_p.
2604
46270f14
NP
26052010-12-18 Nicola Pero <nicola.pero@meta-innovation.com>
2606
2607 * c-objc.h (objc_maybe_warn_exceptions): New.
9faeb493 2608 * stub-objc.c (objc_maybe_warn_exceptions): New.
46270f14 2609
4816c593
NF
26102010-12-10 Nathan Froyd <froydnj@codesourcery.com>
2611
2612 * c-common.h (readonly_error): Declare.
2613 * c-common.c (readonly_error): Define.
2614
7a6daeb0
NF
26152010-12-09 Nathan Froyd <froydnj@codesourcery.com>
2616
2617 * c-common.h (invalid_indirection_error): Declare.
2618 * c-common.c (invalid_indirection_error): Define.
2619
892f6119
RG
26202010-12-03 Richard Guenther <rguenther@suse.de>
2621
2622 PR c/46745
2623 * c-pretty-print.c (pp_c_postfix_expression): Handle MEM_REF.
2624 (pp_c_unary_expression): Likewise.
2625 (pp_c_expression): Likewise.
2626
6c39e757
NP
26272010-11-30 Nicola Pero <nicola.pero@meta-innovation.com>
2628
2629 * c-common.h (objc_finish_function): New.
2630 (objc_non_volatilized_type): Removed.
2631 (objc_type_quals_match): Removed.
2632 * stub-objc.c (objc_finish_function): New.
2633 (objc_non_volatilized_type): Removed.
2634 (objc_type_quals_match): Removed.
9faeb493 2635
7c475d11
JM
26362010-11-30 Joseph Myers <joseph@codesourcery.com>
2637
2638 * c-common.h (parse_optimize_options): Declare.
2639 * c-cppbuiltin.c, c-format.c, c-gimplify.c, c-lex.c, c-omp.c,
2640 c-pch.c, c-pragma.c, c-semantics.c: Don't include toplev.h.
2641
71f3e391
JM
26422010-11-29 Joseph Myers <joseph@codesourcery.com>
2643
2644 * c-opts.c (check_deps_environment_vars): Use getenv instead of
2645 GET_ENVIRONMENT.
2646 * c-pch.c (O_BINARY): Don't define here.
2647 * c-pragma.h: Include "cpplib.h" instead of <cpplib.h>.
2648
d5fabb58
JM
26492010-11-25 Joseph Myers <joseph@codesourcery.com>
2650
2651 * c-cppbuiltin.c (c_cpp_builtins): Pass &global_options to
2652 targetm.except_unwind_info.
2653
299404a1
JM
26542010-11-23 Joseph Myers <joseph@codesourcery.com>
2655
2656 * c-opts.c (c_common_handle_option): Pass location to
2657 set_struct_debug_option.
2658
c98cd5bf
JM
26592010-11-23 Joseph Myers <joseph@codesourcery.com>
2660
2661 * c-common.c (visibility_options): Move from ../opts.c.
2662 * c-common.h (struct visibility_flags, visibility_options):
2663 Declare here.
2664 * c-opts.c (finish_options): Rename to c_finish_options.
2665 (c_common_init): Update call to finish_options.
2666
a9546771
NP
26672010-11-22 Nicola Pero <nicola.pero@meta-innovation.com>
2668
2669 PR objc/34033
2670 * c-lex.c (lex_string): Check that each string in an Objective-C
2671 string concat sequence starts with either one or zero '@', and
2672 that there are no spurious '@' signs at the end.
2673
24a57808
JM
26742010-11-20 Joseph Myers <joseph@codesourcery.com>
2675
2676 * c-pragma.c: Remove conditionals on HANDLE_PRAGMA_PACK,
2677 HANDLE_PRAGMA_PACK_PUSH_POP, HANDLE_PRAGMA_WEAK and
2678 HANDLE_PRAGMA_VISIBILITY.
2679 * c-pragma.h (HANDLE_PRAGMA_WEAK, HANDLE_PRAGMA_PACK,
2680 HANDLE_PRAGMA_VISIBILITY): Don't define.
2681 (HANDLE_SYSV_PRAGMA, HANDLE_PRAGMA_PACK_PUSH_POP): Don't test.
2682
a9aa2c3a
NF
26832010-11-20 Nathan Froyd <froydnj@codesourcery.com>
2684
2685 PR c++/16189
2686 PR c++/36888
2687 PR c++/45331
2688 * c-common.h (keyword_begins_type_specifier): Declare.
2689 (keyword_is_storage_class_specifier): Declare.
2690 (keyword_is_type_qualifier): Declare.
2691 * c-common.c (keyword_begins_type_specifier): New function.
2692 (keyword_is_storage_class_specifier): New function.
2693 (keyword_is_type_qualifier): Declare.
2694
5386338c
JM
26952010-11-19 Joseph Myers <joseph@codesourcery.com>
2696
2697 PR c/46547
2698 * c-common.c (in_late_binary_op): Define.
2699 (c_common_truthvalue_conversion): Check in_late_binary_op before
2700 calling c_save_expr.
2701 * c-common.h (in_late_binary_op): Declare.
2702
69ccdddb
JM
27032010-11-19 Joseph Myers <joseph@codesourcery.com>
2704
2705 * c-opts.c (c_common_handle_option): Update calls to
2706 set_struct_debug_option.
2707
6b192a09
NP
27082010-11-19 Nicola Pero <nicola.pero@meta-innovation.com>
2709
2710 * c-common.h (objc_declare_protocols): Added additional argument.
2711 * stub-objc.c (objc_declare_protocol): Same change.
9faeb493 2712
fb52b50a
NF
27132010-11-18 Nathan Froyd <froydnj@codesourcery.com>
2714
2715 PR c/33193
2716 * c-common.h (build_real_imag_expr): Declare.
2717 * c-semantics.c (build_real_imag_expr): Define.
2718
b37421c6
JM
27192010-11-17 Joseph Myers <joseph@codesourcery.com>
2720
2721 * c-opts.c (c_common_parse_file): Take no arguments.
2722 * c-common.h (c_common_parse_file): Update prototype.
2723
07078664
JJ
27242010-11-16 Jakub Jelinek <jakub@redhat.com>
2725
2726 PR c++/46401
2727 * c-common.c (warning_candidate_p): Don't track non-const calls
2728 or STRING_CSTs.
2729
c6a13190
ILT
27302010-11-15 Ian Lance Taylor <iant@google.com>
2731
2732 * c-lex.c (init_c_lex): Set macro debug callbacks if
2733 flag_dump_go_spec is set.
2734
925e8657
NP
27352010-11-15 Nicola Pero <nicola.pero@meta-innovation.com>
2736
2737 * c-common.h (objc_build_incr_expr_for_property_ref): New.
2738 * stub-objc.c (objc_build_incr_expr_for_property_ref): New.
2739
bb0a9581
NF
27402010-11-15 Nathan Froyd <froydnj@codesourcery.com>
2741
2742 PR preprocessor/45038
2743 * c-cppbuiltin.c (c_cpp_builtins): Use different format for C++
2744 dialects.
2745
c5fa0890
JM
27462010-11-12 Joseph Myers <joseph@codesourcery.com>
2747
2748 * c-common.h (c_family_lang_mask): Declare.
2749 * c-opts.c (c_family_lang_mask): Make extern.
2750 * c-pragma.c (handle_pragma_diagnostic): Use
2751 control_warning_option.
2752
a4d8c676
JM
27532010-11-12 Joseph Myers <joseph@codesourcery.com>
2754
2755 * c-common.c (parse_optimize_options): Update call to
2756 decode_options.
2757 * c-common.h (c_common_handle_option): Update prototype.
2758 * c-opts.c (c_common_handle_option): Take location_t parameter and
2759 pass it to other functions.
2760
f954bd2c
JM
27612010-11-11 Joseph Myers <joseph@codesourcery.com>
2762
2763 * c-opts.c (warning_as_error_callback): Remove.
2764 (c_common_initialize_diagnostics): Don't call
2765 register_warning_as_error_callback.
2766 (c_common_handle_option): Handle -Werror=normalized= here.
2767
d8a07487
JM
27682010-11-10 Joseph Myers <joseph@codesourcery.com>
2769
2770 * c-common.c (handle_mode_attribute): Use %' and word "signedness"
2771 in diagnostic.
2772 * c-opts.c (c_common_parse_file): Start diagnostics with lowercase
2773 letter.
2774 * c-pragma.c (handle_pragma_target, handle_pragma_optimize):
2775 Remove trailing '.' from diagnostics.
2776 * c.opt (Wwrite-strings_: Avoid '`' in help text.
2777
d5478783
JM
27782010-11-10 Joseph Myers <joseph@codesourcery.com>
2779
2780 * c-common.c (parse_optimize_options): Pass global_dc to
2781 decode_options.
2782 * c-opts.c (c_common_handle_option): Pass &global_options to
2783 set_Wstrict_aliasing.
2784 * c.opt (v): Don't mark Common or document here.
2785
91ebb981
IS
27862010-11-06 Iain Sandoe <iains@gcc.gnu.org>
2787
2788 PR target/44981
2789 * c-format.c (format_type): New type gcc_objc_string_format_type.
2790 (valid_stringptr_type_p): New.
2791 (handle_format_arg_attribute): Use valid_stringptr_type_p ().
9faeb493 2792 (check_format_string): Pass expected type, use
91ebb981
IS
2793 valid_stringptr_type_p (), check that the format string types are
2794 consistent with the format specification.
2795 (decode_format_attr): Warn if NSString is used outside objective-c.
2796 (format_types_orig): Add NSString.
2797 (format_name): New.
2798 (format_flags): New.
2799 (check_format_arg): Handle format strings requiring an external parser.
2800 first_target_format_type: New variable.
2801 (handle_format_attribute): Set up first_target_format_type, pass the
2802 expected format arg string type to check_format_string().
2803 * c-common.h (FMT_FLAG_PARSE_ARG_CONVERT_EXTERNAL): New flag.
2804 * stub-objc.c (objc_string_ref_type_p): New.
2805 (objc_check_format_arg): New.
2806
bede2adc
NP
28072010-11-04 Nicola Pero <nicola.pero@meta-innovation.com>
2808
9faeb493 2809 Fixed using the Objective-C 2.0 dot-syntax with class names.
bede2adc
NP
2810 * c-common.h (objc_build_class_component_ref): New.
2811 * stub-objc.c (objc_build_class_component_ref): New.
2812
9a179d01
NP
28132010-11-03 Nicola Pero <nicola.pero@meta-innovation.com>
2814
2815 * c.opt (Wproperty-assign-default): New option.
2816
22d8d616
NP
28172010-11-03 Nicola Pero <nicola.pero@meta-innovation.com>
2818
2819 Implemented -fobjc-std=objc1 flag.
2820 * c.opt (fobjc-std=objc1): New option.
2821
2debdb4f
NP
28222010-11-01 Nicola Pero <nicola.pero@meta-innovation.com>
2823
2824 Implemented format and noreturn attributes for Objective-C methods.
2825 * c-common.c (handle_noreturn_attribute): Recognize 'noreturn'
2826 attribute for Objective-C methods.
2827
ec52b111
JM
28282010-10-31 Jason Merrill <jason@redhat.com>
2829
2830 * c-common.c (conversion_warning, warn_for_collisions_1): Use
2831 EXPR_LOC_OR_HERE.
2832
46a88c12
NP
28332010-10-30 Nicola Pero <nicola.pero@meta-innovation.com>
2834
2835 Implemented Objective-C 2.0 @property, @synthesize and @dynamic.
2836 * c-common.h (enum rid): Removed RID_COPIES and RID_IVAR.
2837 (objc_add_property_declaration): Removed arguments for copies and
2838 ivar.
2839 (objc_build_getter_call): Renamed to
2840 objc_maybe_build_component_ref.
2841 (objc_build_setter_call): Renamed to objc_maybe_build_modify_expr.
2842 (objc_is_property_ref): New.
2843 * c-common.c (c_common_reswords): Removed copies and ivar.
2844 * stub-objc.c (objc_add_property_declaration): Removed arguments
2845 for copies and ivar.
2846 (objc_build_getter_call): Renamed to
2847 objc_maybe_build_component_ref.
2848 (objc_build_setter_call): Renamed to objc_maybe_build_modify_expr.
2849 (objc_is_property_ref): New.
9faeb493 2850
1e4bf85b
AC
28512010-10-29 Arnaud Charlet <charlet@adacore.com>
2852 Matthew Gingell <gingell@adacore.com>
2853
2854 * c-ada-spec.c (separate_class_package): New function.
2855 (pp_ada_tree_identifier): Prefix references to C++ classes with the
2856 name of their enclosing package.
2857 (print_ada_declaration): Use separate_class_package.
2858
81f0bab2
JM
28592010-10-27 Jason Merrill <jason@redhat.com>
2860
2b08f2c5
JM
2861 * c-common.c (c_common_reswords): Add __is_literal_type.
2862 * c-common.h (enum rid): Add RID_IS_LITERAL_TYPE.
2863
81f0bab2
JM
2864 * c-common.c (check_case_value): Remove special C++ code.
2865
200290f2
NP
28662010-10-27 Nicola Pero <nicola.pero@meta-innovation.com>
2867
2868 * c-common.h (enum rid): Added RID_READWRITE, RID_ASSIGN,
2869 RID_RETAIN, RID_COPY and RID_NONATOMIC. Updated RID_FIRST_PATTR
2870 and RID_LAST_PATTR.
2871 (objc_add_property_declaration): Added additional arguments.
2872 (objc_property_attribute_kind): Removed.
2873 (objc_set_property_attr): Removed.
2874 * c-common.c (c_common_reswords): Added readwrite, assign, retain,
2875 copy and nonatomic.
2876 * stub-objc.c (objc_add_property_declaration): Added additional
2877 arguments.
2878 (objc_set_property_attr): Removed.
9faeb493 2879
f614132b
NP
28802010-10-27 Nicola Pero <nicola.pero@meta-innovation.com>
2881
2882 * c-common.h (objc_add_property_variable): Renamed to
2883 objc_add_property_declaration. Added location argument.
2884 * stub-objc.c (objc_add_property_variable): Same change.
2885
b8a18805
NP
28862010-10-23 Nicola Pero <nicola.pero@meta-innovation.com>
2887
2888 * c-common.h (objc_maybe_printable_name): New.
2889 * stub-objc.c (objc_maybe_printable_name): New.
2890
30cd1c5d
AS
28912010-10-22 Artjoms Sinkarovs <artyom.shinakroff@gmail.com>
2892 Andrew Pinski <pinskia@gmail.com>
2893
2894 * c-common.h (c_common_mark_addressable_vec): Declare.
2895 * c-common.c (c_common_mark_addressable_vec): New function.
2896
249a82c4
NP
28972010-10-20 Nicola Pero <nicola.pero@meta-innovation.com>
2898
2899 * c-common.h (objc_set_method_type): Removed.
2900 (objc_add_method_declaration): Added boolean argument.
2901 (objc_start_method_definition): Same change.
2902 (objc_build_method_signature): Same change.
2903 * stub-objc.c (objc_set_method_type): Removed.
2904 (objc_add_method_declaration): Added boolean argument.
2905 (objc_start_method_definition): Same change.
2906 (objc_build_method_signature): Same change.
2907
977e30bc
NP
29082010-10-20 Nicola Pero <nicola.pero@meta-innovation.com>
2909
2910 * c-common.h (finish_file): Removed.
2911 (objc_write_global_declarations): New.
2912 * c-opts.c (c_common_parse_file): Do not call finish_file.
2913 * stub-objc.c (objc_write_global_declarations): New.
9faeb493 2914
da57d1b9
NP
29152010-10-18 Nicola Pero <nicola.pero@meta-innovation.com>
2916
2917 Implemented parsing @synthesize and @dynamic for
2918 Objective-C/Objective-C++.
2919 * c-common.h (enum rid): Add RID_AT_SYNTHESIZE and RID_AT_DYNAMIC.
2920 (objc_add_synthesize_declaration): New.
2921 (objc_add_dynamic_declaration): New.
2922 * c-common.c (c_common_reswords): Add synthesize and dynamic.
2923 * stub-objc.c (objc_add_synthesize_declaration): New.
2924 (objc_add_dynamic_declaration): New.
9faeb493 2925
0069111f
MM
29262010-10-18 Michael Meissner <meissner@linux.vnet.ibm.com>
2927
2928 PR target/46041
2929 * c-cppbuiltin.c (mode_has_fma): Move function here from
2930 builtins.c. Don't use the fma optab, instead just use the
2931 HAVE_fma* macros, so that __FP_FAST_FMA* will be defined when
2932 using -save-temps.
2933
e426b47b
NP
29342010-10-18 Nicola Pero <nicola.pero@meta-innovation.com>
2935
2936 Merge from 'apple/trunk' branch on FSF servers.
0069111f 2937
e426b47b
NP
2938 2005-11-08 Fariborz Jahanian <fjahanian@apple.com>
2939
9faeb493 2940 Radar 4330422
e426b47b
NP
2941 * c-common.h (objc_non_volatilized_type): New declaration
2942 * stub-objc.c (objc_non_volatilized_type): New stub.
2943
90fbfdc3
NP
29442010-10-17 Nicola Pero <nicola.pero@meta-innovation.com>
2945
e426b47b 2946 Merge from 'apple/trunk' branch on FSF servers.
90fbfdc3
NP
2947
2948 2006-03-27 Fariborz Jahanian <fjahanian@apple.com>
2949
9faeb493 2950 Radar 4133425
90fbfdc3 2951 * c-common.h (objc_diagnose_private_ivar): New decl.
0069111f 2952 * stub-objc.c (objc_diagnose_private_ivar): New stub.
90fbfdc3 2953
c37d8c30
IS
29542010-10-17 Iain Sandoe <iains@gcc.gnu.org>
2955
2956 * c-common.c (c_common_reswords): Add package, RID_AT_PACKAGE.
2957 * c-common.h (enum rid): Add RID_AT_PACKAGE.
2958 (objc_ivar_visibility_kind): New enum.
2959 (objc_set_visibility): Adjust prototype to use visibility enum.
0069111f 2960 * stub-objc.c (objc_set_visibility): Adjust stub to use
c37d8c30
IS
2961 visibility enum.
2962
1b1562a5
MM
29632010-10-14 Michael Meissner <meissner@linux.vnet.ibm.com>
2964
2965 * c-cppbuiltin.c (builtin_define_float_constants): Emit
2966 __FP_FAST_FMA, __FP_FAST_FMAF, and __FP_FAST_FMAL if the machine
2967 has the appropriate fma builtins.
2968 (c_cpp_builtins): Adjust call to builtin_define_float_constants.
2969
668ea4b1
IS
29702010-10-14 Iain Sandoe <iains@gcc.gnu.org>
2971
1b1562a5 2972 merge from FSF apple 'trunk' branch.
668ea4b1 2973 2006 Fariborz Jahanian <fjahanian@apple.com>
1b1562a5 2974
668ea4b1
IS
2975 Radars 4436866, 4505126, 4506903, 4517826
2976 * c-common.c (c_common_resword): Define @property and its attributes.
2977 * c-common.h: Define property attribute enum entries.
2978 (OBJC_IS_PATTR_KEYWORD): New.
2979 (objc_property_attribute_kind): New enum.
2980 Declare objc_set_property_attr (), objc_add_property_variable (),
2981 objc_build_getter_call () and objc_build_setter_call ().
2982 * stub-objc.c (objc_set_property_attr): New stub.
2983 (objc_add_property_variable): Likewise.
2984 (objc_build_getter_call): Likewise.
2985 (objc_build_setter_call) Likewise.
1b1562a5 2986
a1178b30
IS
29872010-10-13 Iain Sandoe <iains@gcc.gnu.org>
2988
1b1562a5 2989 merge from FSF apple 'trunk' branch.
a1178b30
IS
2990 2006-04-26 Fariborz Jahanian <fjahanian@apple.com>
2991
2992 Radar 3803157 (method attributes)
2993 * c-common.c (handle_deprecated_attribute): Recognize
2994 objc methods as valid declarations.
2995 * c-common.h: Declare objc_method_decl ().
1b1562a5 2996 * stub-objc.c (objc_method_decl): New stub.
a1178b30 2997
a75bfaa6
JM
29982010-10-08 Joseph Myers <joseph@codesourcery.com>
2999
3000 * c-common.c (parse_optimize_options): Call
3001 decode_cmdline_options_to_array_default_mask before
3002 decode_options. Update arguments to decode_options.
3003 * c-common.h (c_common_init_options_struct): Declare.
3004 * c-opts.c (c_common_init_options_struct): New. Split out from
3005 c_common_init_options.
3006
f05b9d93
NP
30072010-10-06 Nicola Pero <nicola.pero@meta-innovation.com>
3008
3009 Implemented fast enumeration for Objective-C.
3010 * c-common.h (objc_finish_foreach_loop): New.
3011 * stub-objc.c (objc_finish_foreach_loop): New.
3012
1ebe4b4f
JM
30132010-10-05 Joseph Myers <joseph@codesourcery.com>
3014
3015 * c-common.h (struct diagnostic_context): Don't declare here.
3016 (c_common_initialize_diagnostics): Declare using
3017 diagnostic_context typedef.
3018 * c-opts.c (c_common_handle_option): Pass global_dc to
3019 handle_generated_option.
3020
d4d24ba4
JM
30212010-10-04 Joseph Myers <joseph@codesourcery.com>
3022
3023 * c-opts.c (c_common_handle_option): Pass &global_options_set to
3024 handle_generated_option.
3025
478a1c5b
ILT
30262010-10-03 Ian Lance Taylor <iant@google.com>
3027
3028 * c.opt (-fplan9-extensions): New option.
3029
82a1c2fe
FXC
30302010-10-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
3031
3032 * c-cppbuiltin.c (define__GNUC__, builtin_define_type_precision):
3033 Remove.
3034 (c_cpp_builtins): Call functions from cppbuiltin.c instead
3035 of duplicating code.
3036
92902b1b
IS
30372010-09-30 Iain Sandoe <iains@gcc.gnu.org>
3038
3039 * c-common.c: Add two new entries for @optional
3040 and @required keywords.
3041
3042 merge from FSF 'apple/trunk' branch.
3043 2006-01-30 Fariborz Jahanian <fjahanian@apple.com>
3044
3045 Radar 4386773
3046 * c-common.h (RID_AT_OPTIONAL, RID_AT_REQUIRED): Two new
3047 objective-c keywords.
3048 (objc_set_method_opt): New declaration.
3049 * stub-objc.c (objc_set_method_opt): New stub.
9faeb493 3050
46625112
JM
30512010-09-30 Joseph Myers <joseph@codesourcery.com>
3052
3053 * c-common.c (handle_optimize_attribute): Pass &global_options to
3054 cl_optimization_save and cl_optimization_restore.
3055 * c-opts.c (c_common_handle_option): Pass &global_options to
3056 handle_generated_option.
3057 * c-pragma.c (handle_pragma_diagnostic): Use option_flag_var.
3058 (handle_pragma_pop_options, handle_pragma_reset_options): Pass
3059 &global_options to cl_optimization_restore.
3060
49b91f05
NP
30612010-09-30 Nicola Pero <nicola.pero@meta-innovation.com>
3062
3063 * c-lex.c (c_lex_with_flags): Updated comments for CPP_AT_NAME
3064 Objective-C/Objective-C++ keywords.
3065
13ed556f 30662010-09-29 Nicola Pero <nicola.pero@meta-innovation.com>
a6341d57 3067
9faeb493
UB
3068 Merge from 'apple/trunk' branch on FSF servers.
3069
a6341d57
NP
3070 2005-10-04 Fariborz Jahanian <fjahanian@apple.com>
3071
3072 Radar 4281748
3073 * c-common.h (objc_check_global_decl): New declaration.
3074 * stub-objc.c (objc_check_global_decl): New stub.
3075
f0036cca
JM
30762010-09-29 Joseph Myers <joseph@codesourcery.com>
3077
3078 * c.opt: Don't use VarExists.
3079
e3339d0f
JM
30802010-09-29 Joseph Myers <joseph@codesourcery.com>
3081
3082 * c-common.c (c_cpp_error): Update names of diagnostic_context
3083 members.
3084 * c-cppbuiltin.c (c_cpp_builtins_optimize_pragma): Update names of
3085 cl_optimization members.
3086 * c-opts.c (warning_as_error_callback, c_common_handle_option,
3087 sanitize_cpp_opts, finish_options): Update names of cpp_options
3088 members.
3089
1973201f
NP
30902010-09-29 Nicola Pero <nicola.pero@meta-innovation.com>
3091
3092 * c-common.h (OBJC_IS_CXX_KEYWORD): New macro. Updated comments.
3093 (objc_is_reserved_word): Removed.
3094 * c-common.c: Updated comments.
3095 * c-lex.c (c_lex_with_flags): Use OBJC_IS_CXX_KEYWORD instead of
3096 objc_is_reserved_word.
3097 * stub-objc.c (objc_is_reserved_word): Removed.
3098
f7e71da5
IS
30992010-09-28 Iain Sandoe <iains@gcc.gnu.org>
3100
9faeb493 3101 * c-common.h (objc_add_method_declaration): Adjust prototype to
f7e71da5
IS
3102 include attributes.
3103 (objc_start_method_definition): Likewise.
3104 (objc_build_keyword_decl): Likewise.
3105 * stub-objc.c:(objc_add_method_declaration): Handle attributes.
3106 (objc_start_method_definition): Likewise.
3107 (objc_build_keyword_decl): Likewise.
3108
c165dca7
IS
31092010-09-28 Iain Sandoe <iains@gcc.gnu.org>
3110
3111 * c-common.h (objc_start_class_interface): Adjust prototype.
3112 (objc_start_category_interface): Likewise.
3113 (objc_start_protocol): Likewise.
3114 * stub-objc.c (objc_start_protocol): Adjust for extra argument.
3115 (objc_start_class_interface): Likewise.
3116 (objc_start_category_interface): Likewise.
3117
7458026b
ILT
31182010-09-27 Ian Lance Taylor <iant@google.com>
3119
3120 * c-common.c (c_common_attribute_table): Add no_split_stack.
3121 (handle_no_split_stack_attribute): New static function.
3122
b581b85b
NP
31232010-09-27 Nicola Pero <nicola.pero@meta-innovation.com>
3124
9faeb493 3125 Merge from 'apple/trunk' branch on FSF servers.
b581b85b
NP
3126
3127 2005-12-15 Fariborz Jahanian <fjahanian@apple.com>
3128
9faeb493 3129 Radar 4229905
b581b85b
NP
3130 * c-common.h (objc_have_common_type): New declaration.
3131 * stub-objc.c (objc_have_common_type): New stub.
3132
3133 2005-06-22 Ziemowit Laski <zlaski@apple.com>
3134
3135 Radar 4154928
3136 * c-common.h (objc_common_type): New prototype.
9faeb493 3137 * stub-objc.c (objc_common_type): New stub.
b581b85b 3138
46a4da10
JH
31392010-09-24 Jan Hubicka <jh@suse.cz>
3140
3141 * c-common.c (handle_leaf_attribute): New function.
3142 (struct attribute_spec c_common_att): Add leaf.
3143
e200444e
JM
31442010-09-22 Joseph Myers <joseph@codesourcery.com>
3145
3146 * c.opt (-all-warnings, -ansi, -assert, -assert=, -comments,
3147 -comments-in-macros, -define-macro, -define-macro=, -dependencies,
3148 -dump, -dump=, -imacros, -imacros=, -include, -include=,
3149 -include-barrier, -include-directory, -include-directory=,
3150 -include-directory-after, -include-directory-after=,
3151 -include-prefix, -include-prefix=, -include-with-prefix,
3152 -include-with-prefix=, -include-with-prefix-after,
3153 -include-with-prefix-after=, -include-with-prefix-before,
3154 -include-with-prefix-before=, -no-integrated-cpp,
3155 -no-line-commands, -no-standard-includes, -no-warnings, -output,
3156 -output=, -pedantic, -pedantic-errors, -preprocess,
3157 -print-missing-file-dependencies, -trace-includes, -traditional,
3158 -traditional-cpp, -trigraphs, -undefine-macro, -undefine-macro=,
3159 -user-dependencies, -verbose, -write-dependencies,
3160 -write-user-dependencies, no-integrated-cpp, traditional): New.
3161
29a80ea6
NP
31622010-09-21 Nicola Pero <nicola.pero@meta-innovation.com>
3163
3164 PR objc/23710
ac1fc2fc
NP
3165 * c-common.h (objc_start_method_definition): Return bool instead
3166 of void.
3167 * stub-objc.c (objc_start_method_definition): Return bool instead
3168 of void.
3169
31702010-09-21 Nicola Pero <nicola.pero@meta-innovation.com>
3171
3172 PR objc/25965
3173 * c-common.h (objc_get_interface_ivars): New declaration.
3174 * stub-objc.c (objc_get_interface_ivars): New stub.
29a80ea6 3175
de621752
ILT
31762010-09-15 Ian Lance Taylor <iant@google.com>
3177
3178 * c-common.c (parse_optimize_options): Do not capitalize warning
06730c5d 3179 messages. Remove period at end of warning message.
de621752 3180
ba885ec5
NS
31812010-09-09 Nathan Sidwell <nathan@codesourcery.com>
3182
3183 * c-common.c (handle_alias_ifunc_attribute): New, broken out of ...
3184 (handle_alias_attribute): ... here.
3185 (handle_ifunc_attribute): New.
3186
c5ee1358
MM
31872010-09-06 Mark Mitchell <mark@codesourcery.com>
3188
3189 * c-common.h (do_warn_double_promotion): Declare.
3190 * c-common.c (do_warn_double_promotion): Define.
3191
0a0b3574
MM
31922010-09-05 Mark Mitchell <mark@codesourcery.com>
3193
3194 * c.opt (Wdouble-promotion): New.
3195
d1779886
JM
31962010-09-02 Joseph Myers <joseph@codesourcery.com>
3197
3198 * c.opt (falt-external-templates, fhuge-objects, fvtable-gc,
3199 fvtable-thunks, fxref): Mark no longer supported in help text.
3200
2d2bd949
JM
32012010-09-02 Joseph Myers <joseph@codesourcery.com>
3202
3203 * c.opt (Wimport, fall-virtual, falt-external-templates,
3204 fdefault-inline, fenum-int-equiv, fexternal-templates,
3205 fguiding-decls, fhonor-std, fhuge-objects, flabels-ok,
3206 fname-mangling-version-, fnew-abi, fnonnull-objects,
3207 foptional-diags, fsquangle, fstrict-prototype, fthis-is-variable,
3208 fvtable-gc, fvtable-thunks, fxref): Mark with Ignore and Warn as
3209 applicable.
3210 (fhandle-exceptions): Mark with Alias and Warn.
3211 * c-opts.c (c_common_handle_option): Don't handle options marked
3212 as ignored.
3213
5de8299c
JM
32142010-09-02 Joseph Myers <joseph@codesourcery.com>
3215
3216 * c.opt (Wcomments, Werror-implicit-function-declaration,
3217 ftemplate-depth-, std=c89, std=c9x, std=gnu89, std=gnu9x,
3218 std=iso9899:1990, std=iso9899:1999, std=iso9899:199x): Mark as
3219 aliases.
3220 * c-common.c (option_codes): Use OPT_Wcomment instead of
3221 OPT_Wcomments.
3222 * c-opts.c (warning_as_error_callback, c_common_handle_option):
3223 Don't handle options marked as aliases.
3224
0ceb0201
RG
32252010-08-25 Richard Guenther <rguenther@suse.de>
3226
3227 * c-common.c (c_common_get_alias_set): Remove special
3228 handling for pointers.
3229
ac47786e
NF
32302010-08-20 Nathan Froyd <froydnj@codesourcery.com>
3231
3232 * c-common.c: Use FOR_EACH_VEC_ELT.
3233 * c-gimplify.c: Likewise.
3234 * c-pragma.c: Likewise.
3235
c878765b
JM
32362010-08-16 Joseph Myers <joseph@codesourcery.com>
3237
3238 * c.opt (MDX): Change back to MD. Mark NoDriverArg instead of
3239 RejectDriver.
3240 (MMDX): Change back to MMD. Mark NoDriverArg instead of
3241 RejectDriver.
3242 * c-opts.c (c_common_handle_option): Use OPT_MD and OPT_MMD
3243 instead of OPT_MDX and OPT_MMDX.
3244
603349bf
JM
32452010-08-16 Joseph Myers <joseph@codesourcery.com>
3246
3247 * c.opt (MDX, MMDX, lang-asm): Mark RejectDriver.
3248
644fa7ac
JM
32492010-08-12 Joseph Myers <joseph@codesourcery.com>
3250
3251 * c.opt (MD, MMD): Change to MDX and MMDX.
3252 * c-opts.c (c_common_handle_option): Use OPT_MMD and OPT_MMDX.
3253
481e1176
JM
32542010-08-11 Joseph Myers <joseph@codesourcery.com>
3255
3256 * c-opts.c (c_common_handle_option): Call handle_generated_option
3257 instead of handle_option.
3258
ac8dc9f7
NF
32592010-08-08 Nathan Froyd <froydnj@codesourcery.com>
3260
3261 * c-pragma.c (add_to_renaming_pragma_list): Fix call to VEC_safe_push.
3262 (maybe_apply_renaming_pragma): Delete unneeded declarations.
3263
4f8c876d
NF
32642010-08-08 Nathan Froyd <froydnj@codesourcery.com>
3265
3266 * c-pragma.c (pending_redefinition): Declare. Declare a VEC of it.
3267 (pending_redefine_extname): Change type to a VEC.
3268 (add_to_renaming_pragma_list): Update for new type of
3269 pending_redefine_extname.
ac8dc9f7 3270 (maybe_apply_renaming_pragma): Likewise.
4f8c876d 3271
3b0c690e
AC
32722010-08-04 Arnaud Charlet <charlet@adacore.com>
3273
3274 * c-ada-spec.c (dump_ada_template): Mark underlying instance type as
3275 visited.
3276 (dump_generic_ada_node): Code clean up. Use TREE_VISITED flag to
3277 decide whether a type has already been declared/seen.
3278 Do not go to the original type.
3279 (dump_nested_types): New parameter forward.
3280 Generate forward declaration if needed and mark type as visited.
3281 (print_ada_declaration): Call dump_nested_types if not already done.
3282 Mark types as visited.
3283
1890bccc
JM
32842010-08-03 Joseph Myers <joseph@codesourcery.com>
3285
3286 * c.opt (-print-pch-checksum): Remove option.
3287 * c-opts.c (c_common_handle_option): Don't handle
3288 OPT_print_pch_checksum.
3289
5f20c657
JM
32902010-07-27 Joseph Myers <joseph@codesourcery.com>
3291
3292 * c-common.h (c_common_handle_option): Update prototype and return
3293 value type.
3294 * c-opts.c (c_common_handle_option): Update prototype and return
3295 value type. Update calls to handle_option and
3296 enable_warning_as_error.
3297
f551f80c
JJ
32982010-07-27 Jakub Jelinek <jakub@redhat.com>
3299
3300 PR c/45079
3301 * c-pretty-print.c (pp_c_expression): Handle C_MAYBE_CONST_EXPR.
3302
61ff2bdc
JM
33032010-07-27 Joseph Myers <joseph@codesourcery.com>
3304
3305 * c-common.h (c_common_missing_argument): Remove.
3306 * c-opts.c (c_common_missing_argument): Remove.
3307 * c.opt (A, D, F, I, MD, MMD, MQ, MT, U, fconstant-string-class=,
3308 idirafter, imacros, include, isysroot, isystem, iquote): Add
3309 MissingArgError.
3310 * c-objc-common.h (LANG_HOOKS_MISSING_ARGUMENT): Remove.
3311
7a9bf9a4
JM
33122010-07-27 Joseph Myers <joseph@codesourcery.com>
3313
3314 * c-common.h (c_common_option_lang_mask,
3315 c_common_initialize_diagnostics, c_common_complain_wrong_lang_p):
3316 New.
3317 (c_common_init_options): Update prototype.
3318 * c-opts.c (c_common_option_lang_mask): New.
3319 (c_common_initialize_diagnostics): Split out of
3320 c_common_init_options.
3321 (accept_all_c_family_options, c_common_complain_wrong_lang_p):
3322 New.
3323 (c_common_init_options): Update prototype. Use decoded options in
3324 search for -lang-asm.
3325
910ad8de
NF
33262010-07-15 Nathan Froyd <froydnj@codesourcery.com>
3327
3328 * c-common.c: Carefully replace TREE_CHAIN with DECL_CHAIN.
3329 * c-format.c: Likewise.
3330
718f9c0f
MLI
33312010-07-08 Manuel López-Ibáñez <manu@gcc.gnu.org>
3332
3333 * c-common.h: Include diagnostic-core.h. Error if already
3334 included.
3335 * c-semantics.c: Do not define GCC_DIAG_STYLE here.
3336
4d451982
MLI
33372010-07-03 Manuel López-Ibáñez <manu@gcc.gnu.org>
3338
3339 * c-family/c-common.c (IN_GCC_FRONTEND): Do not undef.
3340 Do not include expr.h
3341 (vector_mode_valid_p): Move here.
3342
119fe915
SB
33432010-06-21 DJ Delorie <dj@redhat.com>
3344
3345 * c-pragma.c (handle_pragma_diagnostic): Add push/pop,
3346 allow these pragmas anywhere.
3347
33482010-06-14 Jakub Jelinek <jakub@redhat.com>
3349
3350 PR bootstrap/44509
3351 * c-cppbuiltin.c: Include gt-c-family-c-cppbuiltin.h.
3352 (lazy_hex_fp_values, lazy_hex_fp_value_count): Add GTY(()) markers.
3353 (lazy_hex_fp_value, builtin_define_with_hex_fp_value): Use
3354 ggc_strdup instead of xstrdup.
3355
33562010-06-10 Jakub Jelinek <jakub@redhat.com>
3357
3358 * c-cppbuiltin.c: Include cpp-id-data.h.
3359 (lazy_hex_fp_values, lazy_hex_fp_value_count): New variables.
3360 (lazy_hex_fp_value): New function.
3361 (builtin_define_with_hex_fp_value): Provide definitions lazily.
3362
6662d794
MLI
33632010-06-30 Manuel López-Ibáñez <manu@gcc.gnu.org>
3364
3365 * c-gimplify.c: Do not include tree-flow.h
3366
38f8b050
JR
33672010-06-29 Joern Rennecke <joern.rennecke@embecosm.com>
3368
3369 PR other/44034
3370 * c-common.c: Rename targetm member:
3371 targetm.enum_va_list -> targetm.enum_va_list_p
3372
9589f23e
AS
33732010-06-28 Anatoly Sokolov <aesok@post.ru>
3374
3375 * c-common.c (shorten_compare): Adjust call to force_fit_type_double.
3376
3b06d379
SB
33772010-06-28 Steven Bosscher <steven@gcc.gnu.org>
3378
3379 * c-cppbuiltin.c: Do not include except.h.
3380
d166d4c3
AK
33812010-06-24 Andi Kleen <ak@linux.intel.com>
3382
9faeb493
UB
3383 * c-common.c (warn_for_omitted_condop): New.
3384 * c-common.h (warn_for_omitted_condop): Add prototype.
d166d4c3 3385
70cb8be6
JM
33862010-06-21 Joseph Myers <joseph@codesourcery.com>
3387
3388 * c.opt (lang-objc): Remove.
3389 * c-opts.c (c_common_handle_option): Don't handle OPT_lang_objc.
3390
a4c97feb
JR
33912010-06-21 Joern Rennecke <joern.rennecke@embecosm.com>
3392
3393 * c-opts.c: Include "tm_p.h".
3394
6e2f1956
JM
33952010-06-20 Joseph Myers <joseph@codesourcery.com>
3396
3397 * c-common.c (parse_optimize_options): Update call to
3398 decode_options.
3399
bc87224e
NF
34002010-06-18 Nathan Froyd <froydnj@codesourcery.com>
3401
3402 * c-common.c (record_types_used_by_current_var_decl): Adjust for
3403 new type of types_used_by_cur_var_decl.
3404
b49cf425
JR
34052010-06-17 Joern Rennecke <joern.rennecke@embecosm.com>
3406
3407 PR bootstrap/44512
3408 * c-cppbuiltin.c (builtin_define_with_hex_fp_value): Add cast
3409 for C++ standard compliance.
3410
59f9c2ed
JM
34112010-06-16 Jason Merrill <jason@redhat.com>
3412
3413 * c.opt: Add -Wnoexcept.
3414
33766b66
RG
34152010-06-16 Richard Guenther <rguenther@suse.de>
3416
3417 PR c/44555
3418 * c-common.c (c_common_truthvalue_conversion): Remove
3419 premature and wrong optimization concering ADDR_EXPRs.
3420
eff7e30c
AC
34212010-06-15 Arnaud Charlet <charlet@adacore.com>
3422
3423 * c-ada-spec.c (dump_sloc): Remove column info.
3424 (is_simple_enum): New function.
3425 (dump_generic_ada_node, print_ada_declaration): Map C enum types to Ada
3426 enum types when relevant.
3427
6312e84d
MLI
34282010-06-11 Manuel López-Ibáñez <manu@gcc.gnu.org>
3429
9faeb493 3430 * c-common.c (conversion_warning): Warn at expression
6312e84d
MLI
3431 location.
3432
1cb42611
JM
34332010-06-10 Joseph Myers <joseph@codesourcery.com>
3434
3435 * c-opts.c (c_common_handle_option): Don't handle
3436 OPT_fshow_column.
3437
a9429e29
LB
34382010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com>
3439
3440 * c-pragma.c (push_alignment): Use typed GC allocation.
3441 (handle_pragma_push_options): Likewise.
3442
3443 * c-common.c (parse_optimize_options): Likewise.
3444
3445 * c-common.h (struct sorted_fields_type): Add variable_size GTY
3446 option.
3447
5498f011
JM
34482010-06-07 Joseph Myers <joseph@codesourcery.com>
3449
3450 * c-common.c (flag_preprocess_only, flag_undef, flag_no_builtin,
3451 flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
3452 flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
3453 flag_signed_bitfields, warn_strict_null_sentinel,
3454 flag_nil_receivers, flag_zero_link, flag_replace_objc_classes,
3455 flag_gen_declaration, flag_no_gnu_keywords,
3456 flag_implement_inlines, flag_implicit_templates,
3457 flag_implicit_inline_templates, flag_optional_diags,
3458 flag_elide_constructors, flag_default_inline, flag_rtti,
3459 flag_conserve_space, flag_access_control, flag_check_new,
3460 flag_new_for_scope, flag_weak, flag_working_directory,
3461 flag_use_cxa_atexit, flag_use_cxa_get_exception_ptr,
3462 flag_enforce_eh_specs, flag_threadsafe_statics,
3463 flag_pretty_templates): Remove.
3464 * c-common.h (flag_preprocess_only, flag_nil_receivers,
3465 flag_objc_exceptions, flag_objc_sjlj_exceptions, flag_zero_link,
3466 flag_replace_objc_classes, flag_undef, flag_no_builtin,
3467 flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
3468 flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
3469 flag_const_strings, flag_signed_bitfields, flag_gen_declaration,
3470 flag_no_gnu_keywords, flag_implement_inlines,
3471 flag_implicit_templates, flag_implicit_inline_templates,
3472 flag_optional_diags, flag_elide_constructors, flag_default_inline,
3473 flag_rtti, flag_conserve_space, flag_access_control,
3474 flag_check_new, flag_new_for_scope, flag_weak,
3475 flag_working_directory, flag_use_cxa_atexit,
3476 flag_use_cxa_get_exception_ptr, flag_enforce_eh_specs,
3477 flag_threadsafe_statics, flag_pretty_templates,
3478 warn_strict_null_sentinel): Remove.
3479 * c.opt (E, Wstrict-null-sentinel, faccess-control, fasm,
3480 fbuiltin, fcheck-new, fconserve-space, felide-constructors,
3481 fenforce-eh-specs, ffor-scope, fgnu-keywords, fimplement-inlines,
3482 fimplicit-inline-templates, fimplicit-templates,
3483 flax-vector-conversions, fms-extensions, fnil-receivers,
3484 fnonansi-builtins, fpretty-templates, freplace-objc-classes,
3485 frtti, fshort-double, fshort-enums, fshort-wchar,
3486 fsigned-bitfields, fsigned-char, fstats, fthreadsafe-statics,
3487 funsigned-bitfields, funsigned-char, fuse-cxa-atexit,
3488 fuse-cxa-get-exception-ptr, fweak, fworking-directory, fzero-link,
3489 gen-decls, undef): Use Var.
3490 (fdefault-inline, foptional-diags): Document as doing nothing.
3491 * c-opts.c (c_common_handle_option): Remove cases for options now
3492 using Var. Mark ignored options as such.
3493
39dabefd
SB
34942010-06-05 Steven Bosscher <steven@gcc.gnu.org>
3495
9faeb493 3496 * c-common.c: Moved to here from parent directory.
39dabefd
SB
3497 * c-common.def: Likewise.
3498 * c-common.h: Likewise.
3499 * c-cppbuiltin.c: Likewise.
3500 * c-dump.c: Likewise.
3501 * c-format.c: Likewise.
3502 * c-format.h : Likewise.
3503 * c-gimplify.c: Likewise.
3504 * c-lex.c: Likewise.
3505 * c-omp.c: Likewise.
3506 * c.opt: Likewise.
3507 * c-opts.c: Likewise.
3508 * c-pch.c: Likewise.
3509 * c-ppoutput.c: Likewise.
3510 * c-pragma.c: Likewise.
3511 * c-pragma.h: Likewise.
3512 * c-pretty-print.c: Likewise.
3513 * c-pretty-print.h: Likewise.
3514 * c-semantics.c: Likewise.
3515 * stub-objc.c: Likewise.
3516
3517 * c-common.c: Include gt-c-family-c-common.h.
3518 * c-pragma.c: Include gt-c-family-c-pragma.h.
3519\f
23a5b65a 3520Copyright (C) 2010-2014 Free Software Foundation, Inc.
39dabefd
SB
3521
3522Copying and distribution of this file, with or without modification,
3523are permitted in any medium without royalty provided the copyright
3524notice and this notice are preserved.