]> gcc.gnu.org Git - gcc.git/blame - gcc/c-family/ChangeLog
config.gcc (*-*-*vms*): Define use_gcc_stdint and tm_file.
[gcc.git] / gcc / c-family / ChangeLog
CommitLineData
a12bf402
MLI
12012-03-15 Manuel López-Ibáñez <manu@gcc.gnu.org>
2
3 PR c++/44783
4 * c.opt (ftemplate-backtrace-limit) Add.
5
5c30094f
RO
62012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7
8 * c-cppbuiltin.c (c_cpp_builtins): Remove #pragma extern_prefix
9 handling.
10 * c-pragma.c (handle_pragma_extern_prefix): Remove.
11 (init_pragma): Don't register extern_prefix.
12
21fa2faf
RG
132012-03-12 Richard Guenther <rguenther@suse.de>
14
15 * c-common.c (c_common_get_narrower): Use c_common_type_for_size.
16 (builtin_type_for_size): Likewise.
17
e3793c6f
JJ
182012-02-13 Jakub Jelinek <jakub@redhat.com>
19
20 PR c++/52215
21 * c-common.c (sync_resolve_params): Don't decide whether to convert
22 or not based on TYPE_SIZE comparison, convert whenever arg_type
23 is unsigned INTEGER_TYPE.
24
93286335
PC
252012-02-06 Paolo Carlini <paolo.carlini@oracle.com>
26
27 PR c/52118
28 * c.opt ([Wunused-local-typedefs]): Fix description.
29
7a421706
MS
302012-01-24 Mike Stump <mikestump@comcast.net>
31
32 * c-common.c (c_common_type_for_mode): Match signed/unsigned types
33 exactly.
34
ba9b1f11
RG
352012-01-18 Richard Guenther <rguenther@suse.de>
36
37 * c-opts.c (c_common_post_options): Reset LTO flags if
38 we are about to generate a PCH.
39
465406be
PC
402012-01-17 Paolo Carlini <paolo.carlini@oracle.com>
41
42 PR c++/51777
43 * c-pretty-print.c (pp_c_integer_constant): For unsigned constants
44 use pp_unsigned_wide_integer.
45
aee15221
RG
462012-01-10 Richard Guenther <rguenther@suse.de>
47
48 PR middle-end/51806
49 * c-opts.c (c_common_handle_option): Move -Werror handling
50 to language independent code.
51
5720c0dc
RG
522012-01-05 Richard Guenther <rguenther@suse.de>
53
54 PR middle-end/51764
55 * c.opt (Wmudflap, fmudflap, fmudflapth, fmudflapir): Move here
56 from common.opt.
57
73ac190a
PC
582011-12-30 Paolo Carlini <paolo.carlini@oracle.com>
59
60 PR c++/51316
61 * c-common.c (c_sizeof_or_alignof_type): In C++ allow for alignof
62 of array types with an unknown bound.
63
48b0b196
JM
642011-12-20 Joseph Myers <joseph@codesourcery.com>
65
66 * c-common.c (flag_isoc99): Update comment to refer to C11.
67 (flag_isoc1x): Change to flag_isoc11.
68 * c-common.h (flag_isoc99): Update comment to refer to C11.
69 (flag_isoc1x): Change to flag_isoc11.
70 * c-cppbuiltin.c (cpp_atomic_builtins): Change comment to refer to
71 C11.
72 * c-opts.c (set_std_c1x): Change to set_std_c11.
73 (c_common_handle_option): Handle OPT_std_c11 and OPT_std_gnu11.
74 Call set_std_c11.
75 (set_std_c89, set_std_c99, set_std_c11): Use flag_isoc11.
76 (set_std_c1): Use CLK_STDC11 and CLK_GNUC11.
77 * c.opt (std=c1x): Change to std=c11. Document as non-draft
78 standard.
79 (std=c1x, std=iso9899:2011): Add as aliases of std=c11.
80 (std=gnu1x): Change to std=gnu11. Refer to non-draft standard.
81 (std=gnu1x): Make alias of std=gnu11.
82
d58d6eb5
JM
832011-12-19 Jason Merrill <jason@redhat.com>
84
85 PR c++/51228
86 * c-common.c (handle_transparent_union_attribute): Check the first
87 field if the type is complete.
88
b3908fcc
JW
892011-12-15 Jonathan Wakely <jwakely.gcc@gmail.com>
90
91 PR libstdc++/51365
92 * c-common.c (RID_IS_FINAL): Add.
93 * c-common.h (RID_IS_FINAL): Add.
94
fea3ca91
IS
952011-11-30 Iain Sandoe <iains@gcc.gnu.org>
96
97 * c.opt (fgnu-runtime): Provide full description.
98 (fnext-runtime): Likewise.
99 * c-opts.c (OPT_fgnu_runtime, OPT_fnext_runtime) Remove.
100
62bad7cd
AM
1012011-11-28 Andrew MacLeod <amacleod@redhat.com>
102
103 * c-cpp-builtin.c (cpp_atomic_builtins):New. Emit all atomic
104 predefines in one place. Add LOCK_FREE predefines.
105 (c_cpp_builtins): Move Legacy HAVE_SYNC predefines to
106 new func.
107
c466c4ff
AM
1082011-11-24 Andrew MacLeod <amacleod@redhat.com>
109
110 PR c/51256
111 * c-common.c (get_atomic_generic_size): Check for various error
112 conditions
113 (resolve_overloaded_atomic_exchange,
114 resolve_overloaded_atomic_compare_exchange,
115 resolve_overloaded_atomic_load, resolve_overloaded_atomic_store): Return
116 error_mark_node for error conditions.
117
a5952633
RG
1182011-11-08 Richard Guenther <rguenther@suse.de>
119
120 PR middle-end/51010
121 c-family/
122
0a35513e
AH
1232011-11-07 Richard Henderson <rth@redhat.com>
124 Aldy Hernandez <aldyh@redhat.com>
125 Torvald Riegel <triegel@redhat.com>
126
127 Merged from transactional-memory.
128
129 * c-common.c (handle_tm_wrap_attribute,
130 handle_tm_attribute, ignore_attribute, parse_tm_stmt_attr): New.
131 (struct c_common_reswords): Added __transaction* keywords.
132 (struct c_common_attribute_table): Added transaction* and tm_regparm
133 attributes.
134 * c-common.h: Added RID_TRANSACTION*. Added TM_ATTR* and TM_STMT*
135 masks.
136 (parse_tm_stmt_attr, tm_attr_to_mask, tm_mask_to_attr,
137 find_tm_attribute): Declare.
138
6d87092d
JM
1392011-11-07 Jason Merrill <jason@redhat.com>
140
141 PR c++/35688
142 * c-common.c, c-common.h: Revert yesterday's changes.
143
8e7860a1
JM
1442011-11-06 Jason Merrill <jason@redhat.com>
145
146 PR c++/35688
147 * c-common.c (decl_has_visibility_attr): Split out from...
148 (c_determine_visibility): ...here.
149 * c-common.h: Declare it.
150
d19fa6b5
JM
1512011-11-06 Joseph Myers <joseph@codesourcery.com>
152
153 * c-common.c (c_common_reswords): Add _Alignas and _Alignof.
154 (c_sizeof_or_alignof_type): Diagnose alignof applied to a function
155 type.
156 (check_user_alignment): New. Split out of
157 handle_aligned_attribute. Disallow integer constants with
158 noninteger types. Conditionally allow zero.
159 (handle_aligned_attribute): Use check_user_alignment.
160 * c-common.h (RID_ALIGNAS, check_user_alignment): New.
161
86951993
AM
1622011-11-06 Andrew MacLeod <amacleod@redhat.com>
163 Richard Henderson <rth@redhat.com>
164
165 Merged from cxx-mem-model.
166
167 * c-cppbuiltin.c (c_cpp_builtins): Test both atomic and sync patterns.
168 * c-common.c (sync_resolve_params, sync_resolve_return): Only tweak
169 parameters that are the same type size.
170 (get_atomic_generic_size): New. Find size of generic
171 atomic function parameters and do typechecking.
172 (add_atomic_size_parameter): New. Insert size into parameter list.
173 (resolve_overloaded_atomic_exchange): Restructure __atomic_exchange to
174 either __atomic_exchange_n or external library call.
175 (resolve_overloaded_atomic_compare_exchange): Restructure
176 __atomic_compare_exchange to either _n variant or external library call.
177 (resolve_overloaded_atomic_load): Restructure __atomic_load to either
178 __atomic_load_n or an external library call.
179 (resolve_overloaded_atomic_store): Restructure __atomic_store to either
180 __atomic_store_n or an external library call.
181 (resolve_overloaded_builtin): Handle new __atomic builtins.
182
cf9e9959
EB
1832011-11-04 Eric Botcazou <ebotcazou@adacore.com>
184
185 PR c++/50608
186 * c-common.c (c_fully_fold_internal) <ADDR_EXPR>: Call fold_offsetof_1.
187 (fold_offsetof_1): Make global. Remove STOP_REF argument and adjust.
188 <INDIRECT_REF>: Return the argument.
189 <ARRAY_REF>: Remove special code for negative offset.
190 Call fold_build_pointer_plus instead of size_binop.
191 (fold_offsetof): Remove STOP_REF argument and adjust.
192 * c-common.h (fold_offsetof_1): Declare.
193 (fold_offsetof): Remove STOP_REF argument.
194
25339f10
JM
1952011-11-02 Paolo Carlini <paolo.carlini@oracle.com>
196
197 PR c++/50810
198 * c-opts.c (c_common_handle_option): Enable -Wnarrowing as part
199 of -Wall; include -Wnarrowing in -Wc++0x-compat; adjust default
200 Wnarrowing for C++0x and C++98.
201 * c.opt ([Wnarrowing]): Update.
202
89401152
PC
2032011-11-01 Paolo Carlini <paolo.carlini@oracle.com>
204
205 PR c++/44277
206 * c.opt: Add Wzero-as-null-pointer-constant.
207
97e3ad20
JM
2082011-10-31 Jason Merrill <jason@redhat.com>
209
15694fdd
JM
210 * c.opt (-fdeduce-init-list): Off by default.
211
97e3ad20
JM
212 PR c++/50920
213 * c-common.h (cxx_dialect): Add cxx11 and cxx03.
214 * c.opt: Add -std=c++11, -std=gnu++11, -std=gnu++03,
215 and -Wc++11-compat.
216 * c-opts.c (set_std_cxx11): Rename from set_std_cxx0x.
217
fb9120e3
RAV
2182011-10-27 Roberto Agostino Vitillo <ravitillo@lbl.gov>
219
220 PR c++/30066
221 * c.opt (fvisibility-inlines-hidden): Description change.
222
3ce4f9e4
ESR
2232011-10-26 Ed Smith-Rowland <3dw4rd@verizon.net>
224
225 Implement C++11 user-defined literals.
226 * c-common.c (build_userdef_literal): New.
227 * c-common.def: New tree code.
228 * c-common.h (tree_userdef_literal): New tree struct and accessors.
229 * c-lex.c (interpret_float): Add suffix parm.
230 (c_lex_with_flags): Build literal tokens.
231
5f53c243
PC
2322011-10-23 Paolo Carlini <paolo.carlini@oracle.com>
233
234 PR c++/50841
235 Revert:
236 2011-10-23 Paolo Carlini <paolo.carlini@oracle.com>
237
238 PR c++/50810
239 * c-opts.c (c_common_handle_option): Enable -Wnarrowing as part
240 of -Wall; include -Wnarrowing in -Wc++0x-compat; adjust default
241 Wnarrowing for C++0x and C++98.
242 * c.opt ([Wnarrowing]): Update.
243
263734e1
PC
2442011-10-23 Paolo Carlini <paolo.carlini@oracle.com>
245
246 PR c++/50810
247 * c-opts.c (c_common_handle_option): Enable -Wnarrowing as part
248 of -Wall; include -Wnarrowing in -Wc++0x-compat; adjust default
249 Wnarrowing for C++0x and C++98.
250 * c.opt ([Wnarrowing]): Update.
251
d2e312d7
PC
2522011-10-21 Paolo Carlini <paolo.carlini@oracle.com>
253
254 PR c++/45385
255 * c-common.c (conversion_warning): Remove code looking for
256 artificial operands.
257
d17687f6
DS
2582011-10-18 Dodji Seketeli <dodji@redhat.com>
259
260 PR bootstrap/50760
261 * c-lex.c (fe_file_change): Use LINEMAP_SYSP when
262 !NO_IMPLICIT_EXTERN_C.
263
fc8396e9
PC
2642011-10-17 Michael Spertus <mike_spertus@symantec.com>
265
266 * c-common.c (c_common_reswords): Add __bases,
267 __direct_bases.
268 * c-common.h: Add RID_BASES and RID_DIRECT_BASES.
269
2702011-10-17 Paolo Carlini <paolo.carlini@oracle.com>
271
272 PR c++/50757
273 * c.opt ([Wnonnull]): Add C++ and Objective-C++.
274
847e697a
TT
2752011-10-15 Tom Tromey <tromey@redhat.com>
276 Dodji Seketeli <dodji@redhat.com>
277
278 * c.opt (fdebug-cpp): New option.
279 * c-opts.c (c_common_handle_option): Handle the option.
280 * c-ppoutput.c (maybe_print_line_1): New static function. Takes an
281 output stream in parameter. Factorized from ...
282 (maybe_print_line): ... this. Dump location debug information when
283 -fdebug-cpp is in effect.
284 (print_line_1): New static function. Takes an output stream in
285 parameter. Factorized from ...
286 (print_line): ... here. Dump location information when -fdebug-cpp
287 is in effect.
288 (scan_translation_unit): Dump location information when
289 -fdebug-cpp is in effect.
290
92582b75
TT
2912011-10-15 Tom Tromey <tromey@redhat.com>
292 Dodji Seketeli <dodji@redhat.com>
293
294 * c.opt (ftrack-macro-expansion): New option. Handle it with and
295 without argument.
296 * c-opts.c (c_common_handle_option)<case
297 OPT_ftrack_macro_expansion_, case OPT_ftrack_macro_expansion>: New
298 cases. Handle -ftrack-macro-expansion with and without argument.
299
46427374
TT
3002011-10-15 Tom Tromey <tromey@redhat.com>
301 Dodji Seketeli <dodji@redhat.com>
302
303 * c-ppoutput.c (scan_translation_unit, maybe_print_line)
304 (print_line, cb_define, do_line_change): Adjust to avoid touching
305 the internals of struct line_map. Use the public API instead.
306 * c-pch.c (c_common_read_pch): Likewise.
307 * c-lex.c (fe_file_change): Likewise.
308
fc8396e9
PC
3092011-10-14 Paolo Carlini <paolo.carlini@oracle.com>
310
311 PR c++/17212
312 * c.opt ([Wformat-zero-length]): Add C++ and Objective-C++.
313
3142011-10-11 Paolo Carlini <paolo.carlini@oracle.com>
315
316 PR c++/33067
317 * c-pretty-print.c (pp_c_floating_constant): Output
318 max_digits10 (in the ISO C++ WG N1822 sense) decimal digits.
319
e79983f4
MM
3202011-10-11 Michael Meissner <meissner@linux.vnet.ibm.com>
321
322 * c-common.c (def_builtin_1): Delete old interface with two
323 parallel arrays to hold standard builtin declarations, and replace
324 it with a function based interface that can support creating
325 builtins on the fly in the future. Change all uses, and poison
326 the old names. Make sure 0 is not a legitimate builtin index.
327 * c-omp.c (c_finish_omp_barrier): Ditto.
328 (c_finish_omp_taskwait): Ditto.
329 (c_finish_omp_flush): Ditto.
330
6637388f
TG
3312011-10-11 Tristan Gingold <gingold@adacore.com>
332
333 * c.opt: (fallow-parameterless-variadic-functions): New.
334
3797cb21
DS
3352011-09-08 Dodji Seketeli <dodji@redhat.com>
336
337 PR c++/33255 - Support -Wunused-local-typedefs warning
338 * c-common.h (struct c_language_function::local_typedefs): New
339 field.
340 (record_locally_defined_typedef, maybe_record_typedef_use)
341 (maybe_warn_unused_local_typedefs): Declare new functions.
342 * c-common.c (record_locally_defined_typedef)
343 (maybe_record_typedef_use)
344 (maybe_warn_unused_local_typedefs): Define new functions.
345 * c.opt: Declare new -Wunused-local-typedefs flag.
346
693ddb1b
EB
3472011-09-06 Eric Botcazou <ebotcazou@adacore.com>
348
349 PR middle-end/50266
350 * c-common.c (c_fully_fold_internal) <ADDR_EXPR>: Fold offsetof-like
351 computations.
352
830c740f
RG
3532011-09-05 Richard Guenther <rguenther@suse.de>
354
355 * c-common.c (complete_array_type): Use ssize_int (-1) instead
356 of integer_minus_one_node for empty array upper bounds.
357
892a371f
DS
3582011-08-28 Dodji Seketeli <dodji@redhat.com>
359
360 * c-pch.c (c_common_read_pch): Call linemap_add with LC_ENTER as
361 it's the first time it's being called on this main TU.
362
0e3fdb48
RB
3632011-08-24 Richard Guenther <rguenther@suse.de>
364
365 PR c/49396
366 * c-cppbuiltin.c (c_cpp_builtins_optimize_pragma): Fix conditional.
367
3682011-08-22 Gabriel Charette <gchare@google.com>
e3dfef44
GC
369
370 * c-opts.c (c_finish_options): Force BUILTINS_LOCATION for tokens
371 defined in cpp_init_builtins and c_cpp_builtins.
372
d4a83c10
JM
3732011-08-19 Joseph Myers <joseph@codesourcery.com>
374
375 * c-common.c (c_common_reswords): Add __builtin_complex.
376 * c-common.h (RID_BUILTIN_COMPLEX): New.
377
bbceee64
JM
3782011-08-18 Joseph Myers <joseph@codesourcery.com>
379
380 * c-common.c (c_common_reswords): Add _Noreturn.
381 (keyword_is_function_specifier): Handle RID_NORETURN.
382 * c-common.h (RID_NORETURN): New.
383
0e3a99ae
AS
3842011-08-10 Artjoms Sinkarovs <artyom.shinakroff@gmail.com>
385
386 * c-common.c (unsafe_conversion_p): New function. Check if it is
387 unsafe to convert an expression to the type.
388 (conversion_warning): Adjust, use unsafe_conversion_p.
389 * c-common.h (unsafe_conversion_p): New function declaration.
390
20906c66
JJ
3912011-08-02 Jakub Jelinek <jakub@redhat.com>
392
393 * c-common.h (c_finish_omp_atomic): Adjust prototype.
394 (c_finish_omp_taskyield): New prototype.
395 * c-omp.c (c_finish_omp_atomic): Add OPCODE, V, LHS1 and RHS1
396 arguments. Handle OMP_ATOMIC_READ, OMP_ATOMIC_CAPTURE_OLD and
397 OMP_ATOMIC_CAPTURE_NEW in addition to OMP_ATOMIC. If LHS1
398 or RHS1 have side-effects, evaluate those too in the right spot,
399 if it is a decl and LHS is also a decl, error out if they
400 aren't the same.
401 (c_finish_omp_taskyield): New function.
402 * c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP to 201107.
403 * c-pragma.c (omp_pragmas): Add taskyield.
404 * c-pragma.h (enum pragma_kind): Add PRAGMA_OMP_TASKYIELD.
405 (enum pragma_omp_clause): Add PRAGMA_OMP_CLAUSE_FINAL and
406 PRAGMA_OMP_CLAUSE_MERGEABLE.
407
770e5a2e
DS
4082011-07-25 Dodji Seketeli <dodji@redhat.com>
409
410 * c-common.h (set_underlying_type): Remove parm name from
411 declaration.
412
1baae426
RG
4132011-07-25 Romain Geissler <romain.geissler@gmail.com>
414
415 * c-pretty-print.h: Search c-common.h in c-family.
416
fcb21722
JM
4172011-07-22 Jason Merrill <jason@redhat.com>
418
76f86d00
JM
419 PR c++/49793
420 * c.opt (Wnarrowing): New.
421
3a636414
JM
422 PR c++/30112
423 * c-common.h: Declare c_linkage_bindings.
424 * c-pragma.c (handle_pragma_redefine_extname): Use it.
425
fcb21722
JM
426 PR c++/49813
427 * c-opts.c (set_std_cxx0x): Set flag_isoc94 and flag_isoc99.
428 * c-pretty-print.c (pp_c_cv_qualifiers): Check c_dialect_cxx as well
429 as flag_isoc99 for 'restrict'.
430 (pp_c_specifier_qualifier_list): Likewise for _Complex.
431
02614448
ILT
4322011-07-21 Ian Lance Taylor <iant@google.com>
433
434 PR middle-end/49705
435 * c-common.c (c_disable_warnings): New static function.
436 (c_enable_warnings): New static function.
437 (c_fully_fold_internal): Change local unused_p to bool. Call
438 c_disable_warnings and c_enable_warnings rather than change
439 c_inhibit_evaluation_warnings.
440
34429675
JM
4412011-07-20 Jason Merrill <jason@redhat.com>
442
443 PR c++/6709 (DR 743)
444 PR c++/42603 (DR 950)
445 * c-common.h (CPP_KEYWORD, CPP_TEMPLATE_ID): Move from cp/parser.h.
446 (CPP_NESTED_NAME_SPECIFIER, N_CP_TTYPES): Likewise.
447 (CPP_DECLTYPE): New.
448 * c-common.c (c_parse_error): Handle CPP_DECLTYPE.
449
5d49b6a7
RG
4502011-07-19 Richard Guenther <rguenther@suse.de>
451
452 * c-common.c (pointer_int_sum): Use fold_build_pointer_plus.
453 * c-omp.c (c_finish_omp_for): Likewise.
454
e84a58ff
EB
4552011-07-12 Eric Botcazou <ebotcazou@adacore.com>
456
457 * c-ada-spec.c (dump_nested_types): Put semi-colon after empty loop
458 body on the next line.
459
329af3c7
JM
4602011-07-08 Jason Merrill <jason@redhat.com>
461
4063e61b
JM
462 PR c++/45437
463 * c-omp.c (check_omp_for_incr_expr): Handle preevaluation.
464
329af3c7
JM
465 PR c++/49673
466 * c-common.c (c_apply_type_quals_to_decl): Don't check
467 TYPE_NEEDS_CONSTRUCTING.
468
1a072294
RG
4692011-07-06 Richard Guenther <rguenther@suse.de>
470
471 * c-common.c (c_common_nodes_and_builtins):
472 Merge calls to build_common_tree_nodes and build_common_tree_nodes_2.
473
fce5dddd
RG
4742011-07-05 Richard Guenther <rguenther@suse.de>
475
476 * c-common.c (c_common_nodes_and_builtins): Build all common
477 tree nodes first.
478
45d439ac
JJ
4792011-06-27 Jakub Jelinek <jakub@redhat.com>
480
56300785
JJ
481 * c-common.h (c_tree_chain_next): New static inline function.
482
45d439ac
JJ
483 * c-common.c (check_builtin_function_arguments): Handle
484 BUILT_IN_ASSUME_ALIGNED.
485
e0a8ecf2
AM
4862011-06-21 Andrew MacLeod <amacleod@redhat.com>
487
488 * c-common.c: Add sync_ or SYNC__ to builtin names.
489 * c-omp.c: Add sync_ or SYNC__ to builtin names.
dfb43cd5
PV
490
4912011-06-20 Pierre Vittet <piervit@pvittet.com>
492
493 * c-pragma.h (pragma_handler_1arg, pragma_handler_2arg): New
494 handler.
495 (gen_pragma_handler): New union.
496 (internal_pragma_handler): New type.
497 (c_register_pragma_with_data)
498 (c_register_pragma_with_expansion_and_data): New functions.
499
500 * c-pragma.c (registered_pragmas, c_register_pragma_1)
501 (c_register_pragma, c_register_pragma_with_expansion)
502 (c_invoke_pragma_handler): Changed to work with
503 internal_pragma_handler.
504 (c_register_pragma_with_data)
505 (c_register_pragma_with_expansion_and_data): New functions.
506
677f3fa8
JM
5072011-06-14 Joseph Myers <joseph@codesourcery.com>
508
509 * c-common.c: Include common/common-target.h.
510 (handle_section_attribute): Use
511 targetm_common.have_named_sections.
512 * c-cppbuiltin.c: Include common/common-target.h.
513 (c_cpp_builtins): Use targetm_common.except_unwind_info.
514
d7fc8c14
RG
5152011-06-10 Richard Guenther <rguenther@suse.de>
516
517 * c-pretty-print.c (pp_c_type_specifier): Use pp_c_identifier
518 to print a IDENTIFIER_NODE.
519
10e48e39
RO
5202011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
521 Joseph Myers <joseph@codesourcery.com>
522
523 * c.opt (fbuilding-libgcc): New option.
524 * c-cppbuiltin.c (c_cpp_builtins): Define
525 __LIBGCC_TRAMPOLINE_SIZE__ if flag_building_libgcc.
526
6976ae51
JM
5272011-06-07 Jason Merrill <jason@redhat.com>
528
3ff60975
JM
529 * c-common.c (max_tinst_depth): Lower default to 900.
530
6976ae51
JM
531 * c-format.c (gcc_cxxdiag_char_table): Add 'S' format.
532
009db074
RG
5332011-06-07 Richard Guenther <rguenther@suse.de>
534
535 * c-common.c (c_common_nodes_and_builtins): Do not set
536 size_type_node or call set_sizetype.
537
b4592b92
DS
5382011-06-07 Dodji Seketeli <dodji@redhat.com>
539
540 PR debug/49130
541 * c-pretty-print.c (pp_c_integer_constant): Consider the canonical
542 type when using pointer comparison to compare types.
543
014ab419
JW
5442011-06-02 Jonathan Wakely <jwakely.gcc@gmail.com>
545
546 * c.opt: Add -Wdelete-non-virtual-dtor.
547 * c-opts.c (c_common_handle_option): Include it in -Wall.
548
4f60111f
NF
5492011-05-30 Nathan Froyd <froydnj@gcc.gnu.org>
550
551 PR bootstrap/49190
552
553 Revert:
554 2011-05-26 Nathan Froyd <froydnj@codesourcery.com>
555
556 * c-common.h (struct c_common_identifier): Inherit from tree_typed,
557 not tree_common.
558
4cc4f2f4
JJ
5592011-05-27 Jakub Jelinek <jakub@redhat.com>
560
561 PR c++/49165
562 * c-common.c (c_common_truthvalue_conversion) <case COND_EXPR>: For
563 C++ don't call c_common_truthvalue_conversion on void type arms.
564
38e01f9e
NF
5652011-05-27 Nathan Froyd <froydnj@codesourcery.com>
566
567 * c-common.h (struct stmt_tree_s) [x_cur_stmt_list]: Change to a VEC.
568 (stmt_list_stack): Define.
569 (cur_stmt_list): Adjust for new type of x_cur_stmt_list.
570 * c-semantics.c (push_stmt_list, pop_stmt_list): Likewise.
571
92e948a8
NF
5722011-05-26 Nathan Froyd <froydnj@codesourcery.com>
573
574 * c-common.c (warning_candidate_p): Check for BLOCKs.
575
a2fc3e63
NF
5762011-05-26 Nathan Froyd <froydnj@codesourcery.com>
577
578 * c-common.h (struct c_common_identifier): Inherit from tree_typed,
579 not tree_common.
580
0957c029
JJ
5812011-05-25 Jakub Jelinek <jakub@redhat.com>
582
583 * c-common.c (def_fn_type): Remove extra va_end.
584
828fb3ba
JM
5852011-05-23 Jason Merrill <jason@redhat.com>
586
587 PR c++/48106
588 * c-common.c (c_common_get_narrower): New.
589 (shorten_binary_op, shorten_compare, warn_for_sign_compare): Use it.
590
dde05067
NF
5912011-05-23 Nathan Froyd <froydnj@codesourcery.com>
592
593 * c-common.h (check_function_arguments): Tweak prototype of
594 check_function_arguments.
595 * c-common.c (check_function_arguments): Likewise. Adjust
596 calls to check_function_nonnull, check_function_format, and
597 check_function_sentinel.
598 (check_function_sentinel): Take a FUNCTION_TYPE rather than
599 separate attributes and typelist arguments. Use
600 FOREACH_FUNCTION_ARGS to iterate over argument types.
601
3c0d13bf
PC
6022011-05-15 Paolo Carlini <paolo.carlini@oracle.com>
603
604 * c-common.c (c_common_reswords): Reorder.
605 * c-common.h (rid): Likewise.
606
8242dd04
NF
6072011-05-10 Nathan Froyd <froydnj@codesourcery.com>
608
609 * c-common.c (def_fn_type): Don't call build_function_type, call
610 build_function_type_array or build_varargs_function_type_array
611 instead.
612 (c_common_nodes_and_builtins): Likewise.
613
3d528853
NF
6142011-05-05 Nathan Froyd <froydnj@codesourcery.com>
615
616 * c-common.c (c_add_case_label): Omit the loc argument to
617 build_case_label.
618 * c-common.h (build_case_label): Remove.
619 * c-semantics.c (build_case_label): Remove.
620
a04a722b
JM
6212011-05-05 Joseph Myers <joseph@codesourcery.com>
622
623 * c-objc.h (objc_start_method_definition): Update prototype.
624 * stub-objc.c (objc_start_method_definition): Add extra parameter.
625
e19a18d4
NF
6262011-05-04 Nathan Froyd <froydnj@codesourcery.com>
627
628 * c-common.c (check_main_parameter_types): Reindent. Don't use
629 TYPE_ARG_TYPES directly.
630 (handle_nonnull_attribute): Likewise.
631 (sync_resolve_params): Likewise.
632 * c-format.c (handle_format_arg_attribute): Likewise. Adjust call
633 to check_format_string.
634 (handle_format_attribute): Likewise.
635 (check_format_string): Take a function type to examine instead of
636 a type list. Use a function_arg_iterator to step through argument
637 types.
638
c62c040f
RG
6392011-05-04 Richard Guenther <rguenther@suse.de>
640
641 * c-common.c (fix_string_type): Use size_int for index type bounds.
642 (start_fname_decls): Do not pass NULL to build_int_cst.
643 (c_init_attributes): Likewise.
644 * c-lex.c (c_lex_with_flags): Likewise.
645
c12ff9d8
JM
6462011-04-27 Jason Merrill <jason@redhat.com>
647
648 * c-common.c (make_tree_vector_from_list): New.
649 * c-common.h: Declare it.
650
304dfbe3
RG
6512011-04-26 Richard Guenther <rguenther@suse.de>
652
653 PR preprocessor/48248
654 * c-ppoutput.c (maybe_print_line): Always optimize newlines
655 for output size with -P.
656
3c0d13bf
PC
6572011-04-25 Paolo Carlini <paolo.carlini@oracle.com>
658
659 * c-common.c (struct c_common_resword): Add __underlying_type.
660 * c-common.h (enum rid): Add RID_UNDERLYING_TYPE.
661
04695783
JM
6622011-04-20 Jim Meyering <meyering@redhat.com>
663
664 * c-format.c (init_dollar_format_checking): Remove useless
665 if-before-free.
666
0dc33c3c
NP
6672011-04-15 Nicola Pero <nicola.pero@meta-innovation.com>
668
669 * c-objc.h (objc_get_interface_ivars): Removed.
3c0d13bf 670 (objc_detect_field_duplicates): New.
0dc33c3c 671 * stub-objc.c: Likewise.
3c0d13bf 672
c59633d9
NP
6732011-04-14 Nicola Pero <nicola.pero@meta-innovation.com>
674
675 * stub-objc.c (objc_declare_protocols): Renamed to
676 objc_declare_protocol.
677 * c-objc.h: Likewise.
3c0d13bf 678
32dabdaf
NP
6792011-04-14 Nicola Pero <nicola.pero@meta-innovation.com>
680
681 * stub-objc.c (objc_declare_class): Updated argument name.
682
81f653d6
NF
6832011-04-12 Nathan Froyd <froydnj@codesourcery.com>
684
685 * c-common.h (c_common_init_ts): Declare.
686 * c-common.c (c_common_init_ts): Define.
687
eb345401
NP
6882011-04-12 Nicola Pero <nicola.pero@meta-innovation.com>
689
690 * c-objc.h (objc_build_message_expr): Updated prototype.
691 * stub-objc.c (objc_build_message_expr): Likewise.
692
a358e188
MJ
6932011-04-12 Martin Jambor <mjambor@suse.cz>
694
695 * c-gimplify.c (c_genericize): Call cgraph_get_create_node instead
696 of cgraph_node.
697
e6313a78
RG
6982011-04-11 Richard Guenther <rguenther@suse.de>
699
700 * c-common.c (complete_array_type): Build a range type of
701 proper type.
702
dcf0c47e
NF
7032011-04-08 Nathan Froyd <froydnj@codesourcery.com>
704
705 * c-common.c (handle_sentinel_attribute): Don't use TYPE_ARG_TYPES.
706 (handle_type_generic_attribute): Likewise.
707
1ee44b26
JM
7082011-04-07 Jason Merrill <jason@redhat.com>
709
710 PR c++/48450
711 * c-common.c (c_common_truthvalue_conversion): Don't ignore
712 conversion from C++0x scoped enum.
713
acce4e77
JM
7142011-04-06 Joseph Myers <joseph@codesourcery.com>
715
716 * c-target-def.h: New file.
717 * c-target.def: New file.
718 * c-target.h: New file.
719 * c-common.c (targetcm): Don't define here.
720 * c-common.h (default_handle_c_option): Declare.
721 * c-format.c: Include c-target.h instead of target.h.
722 * c-opts.c: Include c-target.h instead of target.h. Explicitly
723 include tm.h.
724 (default_handle_c_option): Move from targhooks.c.
725
e2eefb55
JJ
7262011-03-29 Jakub Jelinek <jakub@redhat.com>
727
728 PR preprocessor/48248
729 * c-ppoutput.c (print): Add src_file field.
730 (init_pp_output): Initialize it.
731 (maybe_print_line): Don't optimize by adding up to 8 newlines
732 if map->to_file and print.src_file are different file.
733 (print_line): Update print.src_file.
734
ba78087b
KT
7352011-03-25 Kai Tietz <ktietz@redhat.com>
736
737 * c-ada-spec.c (compare_comment): Use filename_cmp
738 instead of strcmp for filename.
739
0edf1bb2
JL
7402011-03-25 Jeff Law <law@redhat.com>
741
742 * c-family/c-common.c (def_fn_type): Add missing va_end.
743
c7dc8804
JM
7442011-03-25 Jason Merrill <jason@redhat.com>
745
746 * c.opt: Add -std=c++03.
747
d1d879b1
EB
7482011-03-22 Eric Botcazou <ebotcazou@adacore.com>
749
750 * c-ada-spec.c (dump_ada_template): Skip non-class instances.
751
62d784f7
KT
7522011-03-17 Kai Tietz
753
754 PR target/12171
5050afdf
KT
755 * c-pretty-print.c (pp_c_specifier_qualifier_list):
756 Display allowed attributes for function pointer types.
757 (pp_c_attributes_display): New function to display
758 attributes having affects_type_identity flag set to true.
759 * c-pretty-print.h (pp_c_attributes_display): New prototype.
760
62d784f7
KT
761 * c-common.c (c_common_attribute_table):
762 Add new element.
763 (c_common_format_attribute_table): Likewise.
764
82d37118
JM
7652011-03-18 Jason Merrill <jason@redhat.com>
766
49a000c3
JM
767 * c.opt (fconstexpr-depth): Add Var(max_constexpr_depth).
768 * c-common.h: Don't declare it here.
769 * c-common.c: Or define it here.
770 * c-opts.c (c_common_handle_option): Or set it here.
771
82d37118
JM
772 PR c++/35315
773 * c-common.c (handle_transparent_union_attribute): Don't
774 make a duplicate type in C++.
775
17bc631c
JM
7762011-03-15 Jason Merrill <jason@redhat.com>
777
778 * c-common.c (max_constexpr_depth): New.
779 * c-common.h: Declare it.
780 * c-opts.c (c_common_handle_option): Set it.
781 * c.opt (fconstexpr-depth): New option.
782
1b9b91a6
JM
7832011-03-11 Jason Merrill <jason@redhat.com>
784
f231b5ff
JM
785 * c-common.c (attribute_takes_identifier_p): Add missing const.
786
1b9b91a6
JM
787 PR c++/46803
788 * c-common.c (attribute_takes_identifier_p): Assume that an
789 unknown attribute takes an identifier.
790
a19e4d44
NF
7912011-03-07 Nathan Froyd <froydnj@codesourcery.com>
792
793 PR c/47786
794 * c-common.c (c_type_hash): Call list_length instead of iterating
795 through DECL_CHAIN. Rename 'i' to 'n_elements'.
796
982d62f6
JJ
7972011-02-19 Jakub Jelinek <jakub@redhat.com>
798
799 PR c/47809
800 * c-common.c (c_fully_fold_internal): Handle VIEW_CONVERT_EXPR.
801
0a256240
NP
8022011-02-17 Iain Sandoe <iains@gcc.gnu.org>
803
804 * c.opt (fobjc-abi-version=) New.
805 (fobjc-nilcheck): New.
806
ba9e6dd5
NF
8072011-02-03 Nathan Froyd <froydnj@codesourcery.com>
808
809 PR c++/46890
810 * c-common.h (keyword_is_decl_specifier): Declare.
811 * c-common.c (keyword_is_decl_specifier): Define.
812 (keyword_is_function_specifier): New function.
813
7273813a
JJ
8142011-01-26 Jakub Jelinek <jakub@redhat.com>
815
816 PR c/47473
817 * c-lex.c (interpret_float): If CPP_N_IMAGINARY, ensure
818 EXCESS_PRECISION_EXPR is created with COMPLEX_TYPE instead of
819 REAL_TYPE.
820
908ef79b
AC
8212011-01-26 Arnaud Charlet <charlet@adacore.com>
822
823 * c-ada-spec.c (dump_generic_ada_node): Avoid dereferencing null type.
824
237e9384
JJ
8252011-01-26 Jakub Jelinek <jakub@redhat.com>
826
827 PR pch/47430
828 * c-opts.c (c_common_post_options): Call c_common_no_more_pch
829 after init_c_lex if pch_file is set.
830
47ea1edf
DK
8312011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
832
d4dba752 833 PR c++/43601
47ea1edf
DK
834 * c.opt (-fkeep-inline-dllexport): New switch.
835
2aa9c6ae
RG
8362011-01-12 Richard Guenther <rguenther@suse.de>
837
838 PR middle-end/32511
839 * c-common.c (handle_weak_attribute): Warn instead of error
840 on declaring an inline function weak.
841
7bd11157
TT
8422011-01-05 Tom Tromey <tromey@redhat.com>
843
844 * c-common.h (lvalue_error): Update.
845 * c-common.c (lvalue_error): Add 'loc' argument. Call error_at,
846 not error.
847
0e66e494
NP
8482010-12-29 Nicola Pero <nicola.pero@meta-innovation.com>
849
b4f588c4
NP
850 PR objc/47075
851 * c-objc.h (objc_finish_message_expr): Added argument to
852 prototype.
853
f4da8dce
NF
8542010-12-22 Nathan Froyd <froydnj@codesourcery.com>
855
856 * c-common.c (handle_nonnull_attribute, handle_sentinel_attribute):
857 Use prototype_p.
858
46270f14
NP
8592010-12-18 Nicola Pero <nicola.pero@meta-innovation.com>
860
861 * c-objc.h (objc_maybe_warn_exceptions): New.
862 * stub-objc.c (objc_maybe_warn_exceptions): New.
863
4816c593
NF
8642010-12-10 Nathan Froyd <froydnj@codesourcery.com>
865
866 * c-common.h (readonly_error): Declare.
867 * c-common.c (readonly_error): Define.
868
7a6daeb0
NF
8692010-12-09 Nathan Froyd <froydnj@codesourcery.com>
870
871 * c-common.h (invalid_indirection_error): Declare.
872 * c-common.c (invalid_indirection_error): Define.
873
892f6119
RG
8742010-12-03 Richard Guenther <rguenther@suse.de>
875
876 PR c/46745
877 * c-pretty-print.c (pp_c_postfix_expression): Handle MEM_REF.
878 (pp_c_unary_expression): Likewise.
879 (pp_c_expression): Likewise.
880
6c39e757
NP
8812010-11-30 Nicola Pero <nicola.pero@meta-innovation.com>
882
883 * c-common.h (objc_finish_function): New.
884 (objc_non_volatilized_type): Removed.
885 (objc_type_quals_match): Removed.
886 * stub-objc.c (objc_finish_function): New.
887 (objc_non_volatilized_type): Removed.
888 (objc_type_quals_match): Removed.
889
7c475d11
JM
8902010-11-30 Joseph Myers <joseph@codesourcery.com>
891
892 * c-common.h (parse_optimize_options): Declare.
893 * c-cppbuiltin.c, c-format.c, c-gimplify.c, c-lex.c, c-omp.c,
894 c-pch.c, c-pragma.c, c-semantics.c: Don't include toplev.h.
895
71f3e391
JM
8962010-11-29 Joseph Myers <joseph@codesourcery.com>
897
898 * c-opts.c (check_deps_environment_vars): Use getenv instead of
899 GET_ENVIRONMENT.
900 * c-pch.c (O_BINARY): Don't define here.
901 * c-pragma.h: Include "cpplib.h" instead of <cpplib.h>.
902
d5fabb58
JM
9032010-11-25 Joseph Myers <joseph@codesourcery.com>
904
905 * c-cppbuiltin.c (c_cpp_builtins): Pass &global_options to
906 targetm.except_unwind_info.
907
299404a1
JM
9082010-11-23 Joseph Myers <joseph@codesourcery.com>
909
910 * c-opts.c (c_common_handle_option): Pass location to
911 set_struct_debug_option.
912
c98cd5bf
JM
9132010-11-23 Joseph Myers <joseph@codesourcery.com>
914
915 * c-common.c (visibility_options): Move from ../opts.c.
916 * c-common.h (struct visibility_flags, visibility_options):
917 Declare here.
918 * c-opts.c (finish_options): Rename to c_finish_options.
919 (c_common_init): Update call to finish_options.
920
a9546771
NP
9212010-11-22 Nicola Pero <nicola.pero@meta-innovation.com>
922
923 PR objc/34033
924 * c-lex.c (lex_string): Check that each string in an Objective-C
925 string concat sequence starts with either one or zero '@', and
926 that there are no spurious '@' signs at the end.
927
24a57808
JM
9282010-11-20 Joseph Myers <joseph@codesourcery.com>
929
930 * c-pragma.c: Remove conditionals on HANDLE_PRAGMA_PACK,
931 HANDLE_PRAGMA_PACK_PUSH_POP, HANDLE_PRAGMA_WEAK and
932 HANDLE_PRAGMA_VISIBILITY.
933 * c-pragma.h (HANDLE_PRAGMA_WEAK, HANDLE_PRAGMA_PACK,
934 HANDLE_PRAGMA_VISIBILITY): Don't define.
935 (HANDLE_SYSV_PRAGMA, HANDLE_PRAGMA_PACK_PUSH_POP): Don't test.
936
a9aa2c3a
NF
9372010-11-20 Nathan Froyd <froydnj@codesourcery.com>
938
939 PR c++/16189
940 PR c++/36888
941 PR c++/45331
942 * c-common.h (keyword_begins_type_specifier): Declare.
943 (keyword_is_storage_class_specifier): Declare.
944 (keyword_is_type_qualifier): Declare.
945 * c-common.c (keyword_begins_type_specifier): New function.
946 (keyword_is_storage_class_specifier): New function.
947 (keyword_is_type_qualifier): Declare.
948
5386338c
JM
9492010-11-19 Joseph Myers <joseph@codesourcery.com>
950
951 PR c/46547
952 * c-common.c (in_late_binary_op): Define.
953 (c_common_truthvalue_conversion): Check in_late_binary_op before
954 calling c_save_expr.
955 * c-common.h (in_late_binary_op): Declare.
956
69ccdddb
JM
9572010-11-19 Joseph Myers <joseph@codesourcery.com>
958
959 * c-opts.c (c_common_handle_option): Update calls to
960 set_struct_debug_option.
961
6b192a09
NP
9622010-11-19 Nicola Pero <nicola.pero@meta-innovation.com>
963
964 * c-common.h (objc_declare_protocols): Added additional argument.
965 * stub-objc.c (objc_declare_protocol): Same change.
966
fb52b50a
NF
9672010-11-18 Nathan Froyd <froydnj@codesourcery.com>
968
969 PR c/33193
970 * c-common.h (build_real_imag_expr): Declare.
971 * c-semantics.c (build_real_imag_expr): Define.
972
b37421c6
JM
9732010-11-17 Joseph Myers <joseph@codesourcery.com>
974
975 * c-opts.c (c_common_parse_file): Take no arguments.
976 * c-common.h (c_common_parse_file): Update prototype.
977
07078664
JJ
9782010-11-16 Jakub Jelinek <jakub@redhat.com>
979
980 PR c++/46401
981 * c-common.c (warning_candidate_p): Don't track non-const calls
982 or STRING_CSTs.
983
c6a13190
ILT
9842010-11-15 Ian Lance Taylor <iant@google.com>
985
986 * c-lex.c (init_c_lex): Set macro debug callbacks if
987 flag_dump_go_spec is set.
988
925e8657
NP
9892010-11-15 Nicola Pero <nicola.pero@meta-innovation.com>
990
991 * c-common.h (objc_build_incr_expr_for_property_ref): New.
992 * stub-objc.c (objc_build_incr_expr_for_property_ref): New.
993
bb0a9581
NF
9942010-11-15 Nathan Froyd <froydnj@codesourcery.com>
995
996 PR preprocessor/45038
997 * c-cppbuiltin.c (c_cpp_builtins): Use different format for C++
998 dialects.
999
c5fa0890
JM
10002010-11-12 Joseph Myers <joseph@codesourcery.com>
1001
1002 * c-common.h (c_family_lang_mask): Declare.
1003 * c-opts.c (c_family_lang_mask): Make extern.
1004 * c-pragma.c (handle_pragma_diagnostic): Use
1005 control_warning_option.
1006
a4d8c676
JM
10072010-11-12 Joseph Myers <joseph@codesourcery.com>
1008
1009 * c-common.c (parse_optimize_options): Update call to
1010 decode_options.
1011 * c-common.h (c_common_handle_option): Update prototype.
1012 * c-opts.c (c_common_handle_option): Take location_t parameter and
1013 pass it to other functions.
1014
f954bd2c
JM
10152010-11-11 Joseph Myers <joseph@codesourcery.com>
1016
1017 * c-opts.c (warning_as_error_callback): Remove.
1018 (c_common_initialize_diagnostics): Don't call
1019 register_warning_as_error_callback.
1020 (c_common_handle_option): Handle -Werror=normalized= here.
1021
d8a07487
JM
10222010-11-10 Joseph Myers <joseph@codesourcery.com>
1023
1024 * c-common.c (handle_mode_attribute): Use %' and word "signedness"
1025 in diagnostic.
1026 * c-opts.c (c_common_parse_file): Start diagnostics with lowercase
1027 letter.
1028 * c-pragma.c (handle_pragma_target, handle_pragma_optimize):
1029 Remove trailing '.' from diagnostics.
1030 * c.opt (Wwrite-strings_: Avoid '`' in help text.
1031
d5478783
JM
10322010-11-10 Joseph Myers <joseph@codesourcery.com>
1033
1034 * c-common.c (parse_optimize_options): Pass global_dc to
1035 decode_options.
1036 * c-opts.c (c_common_handle_option): Pass &global_options to
1037 set_Wstrict_aliasing.
1038 * c.opt (v): Don't mark Common or document here.
1039
91ebb981
IS
10402010-11-06 Iain Sandoe <iains@gcc.gnu.org>
1041
1042 PR target/44981
1043 * c-format.c (format_type): New type gcc_objc_string_format_type.
1044 (valid_stringptr_type_p): New.
1045 (handle_format_arg_attribute): Use valid_stringptr_type_p ().
1046 (check_format_string): Pass expected type, use
1047 valid_stringptr_type_p (), check that the format string types are
1048 consistent with the format specification.
1049 (decode_format_attr): Warn if NSString is used outside objective-c.
1050 (format_types_orig): Add NSString.
1051 (format_name): New.
1052 (format_flags): New.
1053 (check_format_arg): Handle format strings requiring an external parser.
1054 first_target_format_type: New variable.
1055 (handle_format_attribute): Set up first_target_format_type, pass the
1056 expected format arg string type to check_format_string().
1057 * c-common.h (FMT_FLAG_PARSE_ARG_CONVERT_EXTERNAL): New flag.
1058 * stub-objc.c (objc_string_ref_type_p): New.
1059 (objc_check_format_arg): New.
1060
bede2adc
NP
10612010-11-04 Nicola Pero <nicola.pero@meta-innovation.com>
1062
1063 Fixed using the Objective-C 2.0 dot-syntax with class names.
1064 * c-common.h (objc_build_class_component_ref): New.
1065 * stub-objc.c (objc_build_class_component_ref): New.
1066
9a179d01
NP
10672010-11-03 Nicola Pero <nicola.pero@meta-innovation.com>
1068
1069 * c.opt (Wproperty-assign-default): New option.
1070
22d8d616
NP
10712010-11-03 Nicola Pero <nicola.pero@meta-innovation.com>
1072
1073 Implemented -fobjc-std=objc1 flag.
1074 * c.opt (fobjc-std=objc1): New option.
1075
2debdb4f
NP
10762010-11-01 Nicola Pero <nicola.pero@meta-innovation.com>
1077
1078 Implemented format and noreturn attributes for Objective-C methods.
1079 * c-common.c (handle_noreturn_attribute): Recognize 'noreturn'
1080 attribute for Objective-C methods.
1081
ec52b111
JM
10822010-10-31 Jason Merrill <jason@redhat.com>
1083
1084 * c-common.c (conversion_warning, warn_for_collisions_1): Use
1085 EXPR_LOC_OR_HERE.
1086
46a88c12
NP
10872010-10-30 Nicola Pero <nicola.pero@meta-innovation.com>
1088
1089 Implemented Objective-C 2.0 @property, @synthesize and @dynamic.
1090 * c-common.h (enum rid): Removed RID_COPIES and RID_IVAR.
1091 (objc_add_property_declaration): Removed arguments for copies and
1092 ivar.
1093 (objc_build_getter_call): Renamed to
1094 objc_maybe_build_component_ref.
1095 (objc_build_setter_call): Renamed to objc_maybe_build_modify_expr.
1096 (objc_is_property_ref): New.
1097 * c-common.c (c_common_reswords): Removed copies and ivar.
1098 * stub-objc.c (objc_add_property_declaration): Removed arguments
1099 for copies and ivar.
1100 (objc_build_getter_call): Renamed to
1101 objc_maybe_build_component_ref.
1102 (objc_build_setter_call): Renamed to objc_maybe_build_modify_expr.
1103 (objc_is_property_ref): New.
1104
1e4bf85b
AC
11052010-10-29 Arnaud Charlet <charlet@adacore.com>
1106 Matthew Gingell <gingell@adacore.com>
1107
1108 * c-ada-spec.c (separate_class_package): New function.
1109 (pp_ada_tree_identifier): Prefix references to C++ classes with the
1110 name of their enclosing package.
1111 (print_ada_declaration): Use separate_class_package.
1112
81f0bab2
JM
11132010-10-27 Jason Merrill <jason@redhat.com>
1114
2b08f2c5
JM
1115 * c-common.c (c_common_reswords): Add __is_literal_type.
1116 * c-common.h (enum rid): Add RID_IS_LITERAL_TYPE.
1117
81f0bab2
JM
1118 * c-common.c (check_case_value): Remove special C++ code.
1119
200290f2
NP
11202010-10-27 Nicola Pero <nicola.pero@meta-innovation.com>
1121
1122 * c-common.h (enum rid): Added RID_READWRITE, RID_ASSIGN,
1123 RID_RETAIN, RID_COPY and RID_NONATOMIC. Updated RID_FIRST_PATTR
1124 and RID_LAST_PATTR.
1125 (objc_add_property_declaration): Added additional arguments.
1126 (objc_property_attribute_kind): Removed.
1127 (objc_set_property_attr): Removed.
1128 * c-common.c (c_common_reswords): Added readwrite, assign, retain,
1129 copy and nonatomic.
1130 * stub-objc.c (objc_add_property_declaration): Added additional
1131 arguments.
1132 (objc_set_property_attr): Removed.
1133
f614132b
NP
11342010-10-27 Nicola Pero <nicola.pero@meta-innovation.com>
1135
1136 * c-common.h (objc_add_property_variable): Renamed to
1137 objc_add_property_declaration. Added location argument.
1138 * stub-objc.c (objc_add_property_variable): Same change.
1139
b8a18805
NP
11402010-10-23 Nicola Pero <nicola.pero@meta-innovation.com>
1141
1142 * c-common.h (objc_maybe_printable_name): New.
1143 * stub-objc.c (objc_maybe_printable_name): New.
1144
30cd1c5d
AS
11452010-10-22 Artjoms Sinkarovs <artyom.shinakroff@gmail.com>
1146 Andrew Pinski <pinskia@gmail.com>
1147
1148 * c-common.h (c_common_mark_addressable_vec): Declare.
1149 * c-common.c (c_common_mark_addressable_vec): New function.
1150
249a82c4
NP
11512010-10-20 Nicola Pero <nicola.pero@meta-innovation.com>
1152
1153 * c-common.h (objc_set_method_type): Removed.
1154 (objc_add_method_declaration): Added boolean argument.
1155 (objc_start_method_definition): Same change.
1156 (objc_build_method_signature): Same change.
1157 * stub-objc.c (objc_set_method_type): Removed.
1158 (objc_add_method_declaration): Added boolean argument.
1159 (objc_start_method_definition): Same change.
1160 (objc_build_method_signature): Same change.
1161
977e30bc
NP
11622010-10-20 Nicola Pero <nicola.pero@meta-innovation.com>
1163
1164 * c-common.h (finish_file): Removed.
1165 (objc_write_global_declarations): New.
1166 * c-opts.c (c_common_parse_file): Do not call finish_file.
1167 * stub-objc.c (objc_write_global_declarations): New.
1168
da57d1b9
NP
11692010-10-18 Nicola Pero <nicola.pero@meta-innovation.com>
1170
1171 Implemented parsing @synthesize and @dynamic for
1172 Objective-C/Objective-C++.
1173 * c-common.h (enum rid): Add RID_AT_SYNTHESIZE and RID_AT_DYNAMIC.
1174 (objc_add_synthesize_declaration): New.
1175 (objc_add_dynamic_declaration): New.
1176 * c-common.c (c_common_reswords): Add synthesize and dynamic.
1177 * stub-objc.c (objc_add_synthesize_declaration): New.
1178 (objc_add_dynamic_declaration): New.
1179
0069111f
MM
11802010-10-18 Michael Meissner <meissner@linux.vnet.ibm.com>
1181
1182 PR target/46041
1183 * c-cppbuiltin.c (mode_has_fma): Move function here from
1184 builtins.c. Don't use the fma optab, instead just use the
1185 HAVE_fma* macros, so that __FP_FAST_FMA* will be defined when
1186 using -save-temps.
1187
e426b47b
NP
11882010-10-18 Nicola Pero <nicola.pero@meta-innovation.com>
1189
1190 Merge from 'apple/trunk' branch on FSF servers.
0069111f 1191
e426b47b
NP
1192 2005-11-08 Fariborz Jahanian <fjahanian@apple.com>
1193
1194 Radar 4330422
1195 * c-common.h (objc_non_volatilized_type): New declaration
1196 * stub-objc.c (objc_non_volatilized_type): New stub.
1197
90fbfdc3
NP
11982010-10-17 Nicola Pero <nicola.pero@meta-innovation.com>
1199
e426b47b 1200 Merge from 'apple/trunk' branch on FSF servers.
90fbfdc3
NP
1201
1202 2006-03-27 Fariborz Jahanian <fjahanian@apple.com>
1203
1204 Radar 4133425
1205 * c-common.h (objc_diagnose_private_ivar): New decl.
0069111f 1206 * stub-objc.c (objc_diagnose_private_ivar): New stub.
90fbfdc3 1207
c37d8c30
IS
12082010-10-17 Iain Sandoe <iains@gcc.gnu.org>
1209
1210 * c-common.c (c_common_reswords): Add package, RID_AT_PACKAGE.
1211 * c-common.h (enum rid): Add RID_AT_PACKAGE.
1212 (objc_ivar_visibility_kind): New enum.
1213 (objc_set_visibility): Adjust prototype to use visibility enum.
0069111f 1214 * stub-objc.c (objc_set_visibility): Adjust stub to use
c37d8c30
IS
1215 visibility enum.
1216
1b1562a5
MM
12172010-10-14 Michael Meissner <meissner@linux.vnet.ibm.com>
1218
1219 * c-cppbuiltin.c (builtin_define_float_constants): Emit
1220 __FP_FAST_FMA, __FP_FAST_FMAF, and __FP_FAST_FMAL if the machine
1221 has the appropriate fma builtins.
1222 (c_cpp_builtins): Adjust call to builtin_define_float_constants.
1223
668ea4b1
IS
12242010-10-14 Iain Sandoe <iains@gcc.gnu.org>
1225
1b1562a5 1226 merge from FSF apple 'trunk' branch.
668ea4b1 1227 2006 Fariborz Jahanian <fjahanian@apple.com>
1b1562a5 1228
668ea4b1
IS
1229 Radars 4436866, 4505126, 4506903, 4517826
1230 * c-common.c (c_common_resword): Define @property and its attributes.
1231 * c-common.h: Define property attribute enum entries.
1232 (OBJC_IS_PATTR_KEYWORD): New.
1233 (objc_property_attribute_kind): New enum.
1234 Declare objc_set_property_attr (), objc_add_property_variable (),
1235 objc_build_getter_call () and objc_build_setter_call ().
1236 * stub-objc.c (objc_set_property_attr): New stub.
1237 (objc_add_property_variable): Likewise.
1238 (objc_build_getter_call): Likewise.
1239 (objc_build_setter_call) Likewise.
1b1562a5 1240
a1178b30
IS
12412010-10-13 Iain Sandoe <iains@gcc.gnu.org>
1242
1b1562a5 1243 merge from FSF apple 'trunk' branch.
a1178b30
IS
1244 2006-04-26 Fariborz Jahanian <fjahanian@apple.com>
1245
1246 Radar 3803157 (method attributes)
1247 * c-common.c (handle_deprecated_attribute): Recognize
1248 objc methods as valid declarations.
1249 * c-common.h: Declare objc_method_decl ().
1b1562a5 1250 * stub-objc.c (objc_method_decl): New stub.
a1178b30 1251
a75bfaa6
JM
12522010-10-08 Joseph Myers <joseph@codesourcery.com>
1253
1254 * c-common.c (parse_optimize_options): Call
1255 decode_cmdline_options_to_array_default_mask before
1256 decode_options. Update arguments to decode_options.
1257 * c-common.h (c_common_init_options_struct): Declare.
1258 * c-opts.c (c_common_init_options_struct): New. Split out from
1259 c_common_init_options.
1260
f05b9d93
NP
12612010-10-06 Nicola Pero <nicola.pero@meta-innovation.com>
1262
1263 Implemented fast enumeration for Objective-C.
1264 * c-common.h (objc_finish_foreach_loop): New.
1265 * stub-objc.c (objc_finish_foreach_loop): New.
1266
1ebe4b4f
JM
12672010-10-05 Joseph Myers <joseph@codesourcery.com>
1268
1269 * c-common.h (struct diagnostic_context): Don't declare here.
1270 (c_common_initialize_diagnostics): Declare using
1271 diagnostic_context typedef.
1272 * c-opts.c (c_common_handle_option): Pass global_dc to
1273 handle_generated_option.
1274
d4d24ba4
JM
12752010-10-04 Joseph Myers <joseph@codesourcery.com>
1276
1277 * c-opts.c (c_common_handle_option): Pass &global_options_set to
1278 handle_generated_option.
1279
478a1c5b
ILT
12802010-10-03 Ian Lance Taylor <iant@google.com>
1281
1282 * c.opt (-fplan9-extensions): New option.
1283
82a1c2fe
FXC
12842010-10-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
1285
1286 * c-cppbuiltin.c (define__GNUC__, builtin_define_type_precision):
1287 Remove.
1288 (c_cpp_builtins): Call functions from cppbuiltin.c instead
1289 of duplicating code.
1290
92902b1b
IS
12912010-09-30 Iain Sandoe <iains@gcc.gnu.org>
1292
1293 * c-common.c: Add two new entries for @optional
1294 and @required keywords.
1295
1296 merge from FSF 'apple/trunk' branch.
1297 2006-01-30 Fariborz Jahanian <fjahanian@apple.com>
1298
1299 Radar 4386773
1300 * c-common.h (RID_AT_OPTIONAL, RID_AT_REQUIRED): Two new
1301 objective-c keywords.
1302 (objc_set_method_opt): New declaration.
1303 * stub-objc.c (objc_set_method_opt): New stub.
1304
46625112
JM
13052010-09-30 Joseph Myers <joseph@codesourcery.com>
1306
1307 * c-common.c (handle_optimize_attribute): Pass &global_options to
1308 cl_optimization_save and cl_optimization_restore.
1309 * c-opts.c (c_common_handle_option): Pass &global_options to
1310 handle_generated_option.
1311 * c-pragma.c (handle_pragma_diagnostic): Use option_flag_var.
1312 (handle_pragma_pop_options, handle_pragma_reset_options): Pass
1313 &global_options to cl_optimization_restore.
1314
49b91f05
NP
13152010-09-30 Nicola Pero <nicola.pero@meta-innovation.com>
1316
1317 * c-lex.c (c_lex_with_flags): Updated comments for CPP_AT_NAME
1318 Objective-C/Objective-C++ keywords.
1319
13ed556f 13202010-09-29 Nicola Pero <nicola.pero@meta-innovation.com>
a6341d57
NP
1321
1322 Merge from 'apple/trunk' branch on FSF servers.
1323
1324 2005-10-04 Fariborz Jahanian <fjahanian@apple.com>
1325
1326 Radar 4281748
1327 * c-common.h (objc_check_global_decl): New declaration.
1328 * stub-objc.c (objc_check_global_decl): New stub.
1329
f0036cca
JM
13302010-09-29 Joseph Myers <joseph@codesourcery.com>
1331
1332 * c.opt: Don't use VarExists.
1333
e3339d0f
JM
13342010-09-29 Joseph Myers <joseph@codesourcery.com>
1335
1336 * c-common.c (c_cpp_error): Update names of diagnostic_context
1337 members.
1338 * c-cppbuiltin.c (c_cpp_builtins_optimize_pragma): Update names of
1339 cl_optimization members.
1340 * c-opts.c (warning_as_error_callback, c_common_handle_option,
1341 sanitize_cpp_opts, finish_options): Update names of cpp_options
1342 members.
1343
1973201f
NP
13442010-09-29 Nicola Pero <nicola.pero@meta-innovation.com>
1345
1346 * c-common.h (OBJC_IS_CXX_KEYWORD): New macro. Updated comments.
1347 (objc_is_reserved_word): Removed.
1348 * c-common.c: Updated comments.
1349 * c-lex.c (c_lex_with_flags): Use OBJC_IS_CXX_KEYWORD instead of
1350 objc_is_reserved_word.
1351 * stub-objc.c (objc_is_reserved_word): Removed.
1352
f7e71da5
IS
13532010-09-28 Iain Sandoe <iains@gcc.gnu.org>
1354
1355 * c-common.h (objc_add_method_declaration): Adjust prototype to
1356 include attributes.
1357 (objc_start_method_definition): Likewise.
1358 (objc_build_keyword_decl): Likewise.
1359 * stub-objc.c:(objc_add_method_declaration): Handle attributes.
1360 (objc_start_method_definition): Likewise.
1361 (objc_build_keyword_decl): Likewise.
1362
c165dca7
IS
13632010-09-28 Iain Sandoe <iains@gcc.gnu.org>
1364
1365 * c-common.h (objc_start_class_interface): Adjust prototype.
1366 (objc_start_category_interface): Likewise.
1367 (objc_start_protocol): Likewise.
1368 * stub-objc.c (objc_start_protocol): Adjust for extra argument.
1369 (objc_start_class_interface): Likewise.
1370 (objc_start_category_interface): Likewise.
1371
7458026b
ILT
13722010-09-27 Ian Lance Taylor <iant@google.com>
1373
1374 * c-common.c (c_common_attribute_table): Add no_split_stack.
1375 (handle_no_split_stack_attribute): New static function.
1376
b581b85b
NP
13772010-09-27 Nicola Pero <nicola.pero@meta-innovation.com>
1378
1379 Merge from 'apple/trunk' branch on FSF servers.
1380
1381 2005-12-15 Fariborz Jahanian <fjahanian@apple.com>
1382
1383 Radar 4229905
1384 * c-common.h (objc_have_common_type): New declaration.
1385 * stub-objc.c (objc_have_common_type): New stub.
1386
1387 2005-06-22 Ziemowit Laski <zlaski@apple.com>
1388
1389 Radar 4154928
1390 * c-common.h (objc_common_type): New prototype.
1391 * stub-objc.c (objc_common_type): New stub.
1392
46a4da10
JH
13932010-09-24 Jan Hubicka <jh@suse.cz>
1394
1395 * c-common.c (handle_leaf_attribute): New function.
1396 (struct attribute_spec c_common_att): Add leaf.
1397
e200444e
JM
13982010-09-22 Joseph Myers <joseph@codesourcery.com>
1399
1400 * c.opt (-all-warnings, -ansi, -assert, -assert=, -comments,
1401 -comments-in-macros, -define-macro, -define-macro=, -dependencies,
1402 -dump, -dump=, -imacros, -imacros=, -include, -include=,
1403 -include-barrier, -include-directory, -include-directory=,
1404 -include-directory-after, -include-directory-after=,
1405 -include-prefix, -include-prefix=, -include-with-prefix,
1406 -include-with-prefix=, -include-with-prefix-after,
1407 -include-with-prefix-after=, -include-with-prefix-before,
1408 -include-with-prefix-before=, -no-integrated-cpp,
1409 -no-line-commands, -no-standard-includes, -no-warnings, -output,
1410 -output=, -pedantic, -pedantic-errors, -preprocess,
1411 -print-missing-file-dependencies, -trace-includes, -traditional,
1412 -traditional-cpp, -trigraphs, -undefine-macro, -undefine-macro=,
1413 -user-dependencies, -verbose, -write-dependencies,
1414 -write-user-dependencies, no-integrated-cpp, traditional): New.
1415
29a80ea6
NP
14162010-09-21 Nicola Pero <nicola.pero@meta-innovation.com>
1417
1418 PR objc/23710
ac1fc2fc
NP
1419 * c-common.h (objc_start_method_definition): Return bool instead
1420 of void.
1421 * stub-objc.c (objc_start_method_definition): Return bool instead
1422 of void.
1423
14242010-09-21 Nicola Pero <nicola.pero@meta-innovation.com>
1425
1426 PR objc/25965
1427 * c-common.h (objc_get_interface_ivars): New declaration.
1428 * stub-objc.c (objc_get_interface_ivars): New stub.
29a80ea6 1429
de621752
ILT
14302010-09-15 Ian Lance Taylor <iant@google.com>
1431
1432 * c-common.c (parse_optimize_options): Do not capitalize warning
06730c5d 1433 messages. Remove period at end of warning message.
de621752 1434
ba885ec5
NS
14352010-09-09 Nathan Sidwell <nathan@codesourcery.com>
1436
1437 * c-common.c (handle_alias_ifunc_attribute): New, broken out of ...
1438 (handle_alias_attribute): ... here.
1439 (handle_ifunc_attribute): New.
1440
c5ee1358
MM
14412010-09-06 Mark Mitchell <mark@codesourcery.com>
1442
1443 * c-common.h (do_warn_double_promotion): Declare.
1444 * c-common.c (do_warn_double_promotion): Define.
1445
0a0b3574
MM
14462010-09-05 Mark Mitchell <mark@codesourcery.com>
1447
1448 * c.opt (Wdouble-promotion): New.
1449
d1779886
JM
14502010-09-02 Joseph Myers <joseph@codesourcery.com>
1451
1452 * c.opt (falt-external-templates, fhuge-objects, fvtable-gc,
1453 fvtable-thunks, fxref): Mark no longer supported in help text.
1454
2d2bd949
JM
14552010-09-02 Joseph Myers <joseph@codesourcery.com>
1456
1457 * c.opt (Wimport, fall-virtual, falt-external-templates,
1458 fdefault-inline, fenum-int-equiv, fexternal-templates,
1459 fguiding-decls, fhonor-std, fhuge-objects, flabels-ok,
1460 fname-mangling-version-, fnew-abi, fnonnull-objects,
1461 foptional-diags, fsquangle, fstrict-prototype, fthis-is-variable,
1462 fvtable-gc, fvtable-thunks, fxref): Mark with Ignore and Warn as
1463 applicable.
1464 (fhandle-exceptions): Mark with Alias and Warn.
1465 * c-opts.c (c_common_handle_option): Don't handle options marked
1466 as ignored.
1467
5de8299c
JM
14682010-09-02 Joseph Myers <joseph@codesourcery.com>
1469
1470 * c.opt (Wcomments, Werror-implicit-function-declaration,
1471 ftemplate-depth-, std=c89, std=c9x, std=gnu89, std=gnu9x,
1472 std=iso9899:1990, std=iso9899:1999, std=iso9899:199x): Mark as
1473 aliases.
1474 * c-common.c (option_codes): Use OPT_Wcomment instead of
1475 OPT_Wcomments.
1476 * c-opts.c (warning_as_error_callback, c_common_handle_option):
1477 Don't handle options marked as aliases.
1478
0ceb0201
RG
14792010-08-25 Richard Guenther <rguenther@suse.de>
1480
1481 * c-common.c (c_common_get_alias_set): Remove special
1482 handling for pointers.
1483
ac47786e
NF
14842010-08-20 Nathan Froyd <froydnj@codesourcery.com>
1485
1486 * c-common.c: Use FOR_EACH_VEC_ELT.
1487 * c-gimplify.c: Likewise.
1488 * c-pragma.c: Likewise.
1489
c878765b
JM
14902010-08-16 Joseph Myers <joseph@codesourcery.com>
1491
1492 * c.opt (MDX): Change back to MD. Mark NoDriverArg instead of
1493 RejectDriver.
1494 (MMDX): Change back to MMD. Mark NoDriverArg instead of
1495 RejectDriver.
1496 * c-opts.c (c_common_handle_option): Use OPT_MD and OPT_MMD
1497 instead of OPT_MDX and OPT_MMDX.
1498
603349bf
JM
14992010-08-16 Joseph Myers <joseph@codesourcery.com>
1500
1501 * c.opt (MDX, MMDX, lang-asm): Mark RejectDriver.
1502
644fa7ac
JM
15032010-08-12 Joseph Myers <joseph@codesourcery.com>
1504
1505 * c.opt (MD, MMD): Change to MDX and MMDX.
1506 * c-opts.c (c_common_handle_option): Use OPT_MMD and OPT_MMDX.
1507
481e1176
JM
15082010-08-11 Joseph Myers <joseph@codesourcery.com>
1509
1510 * c-opts.c (c_common_handle_option): Call handle_generated_option
1511 instead of handle_option.
1512
ac8dc9f7
NF
15132010-08-08 Nathan Froyd <froydnj@codesourcery.com>
1514
1515 * c-pragma.c (add_to_renaming_pragma_list): Fix call to VEC_safe_push.
1516 (maybe_apply_renaming_pragma): Delete unneeded declarations.
1517
4f8c876d
NF
15182010-08-08 Nathan Froyd <froydnj@codesourcery.com>
1519
1520 * c-pragma.c (pending_redefinition): Declare. Declare a VEC of it.
1521 (pending_redefine_extname): Change type to a VEC.
1522 (add_to_renaming_pragma_list): Update for new type of
1523 pending_redefine_extname.
ac8dc9f7 1524 (maybe_apply_renaming_pragma): Likewise.
4f8c876d 1525
3b0c690e
AC
15262010-08-04 Arnaud Charlet <charlet@adacore.com>
1527
1528 * c-ada-spec.c (dump_ada_template): Mark underlying instance type as
1529 visited.
1530 (dump_generic_ada_node): Code clean up. Use TREE_VISITED flag to
1531 decide whether a type has already been declared/seen.
1532 Do not go to the original type.
1533 (dump_nested_types): New parameter forward.
1534 Generate forward declaration if needed and mark type as visited.
1535 (print_ada_declaration): Call dump_nested_types if not already done.
1536 Mark types as visited.
1537
1890bccc
JM
15382010-08-03 Joseph Myers <joseph@codesourcery.com>
1539
1540 * c.opt (-print-pch-checksum): Remove option.
1541 * c-opts.c (c_common_handle_option): Don't handle
1542 OPT_print_pch_checksum.
1543
5f20c657
JM
15442010-07-27 Joseph Myers <joseph@codesourcery.com>
1545
1546 * c-common.h (c_common_handle_option): Update prototype and return
1547 value type.
1548 * c-opts.c (c_common_handle_option): Update prototype and return
1549 value type. Update calls to handle_option and
1550 enable_warning_as_error.
1551
f551f80c
JJ
15522010-07-27 Jakub Jelinek <jakub@redhat.com>
1553
1554 PR c/45079
1555 * c-pretty-print.c (pp_c_expression): Handle C_MAYBE_CONST_EXPR.
1556
61ff2bdc
JM
15572010-07-27 Joseph Myers <joseph@codesourcery.com>
1558
1559 * c-common.h (c_common_missing_argument): Remove.
1560 * c-opts.c (c_common_missing_argument): Remove.
1561 * c.opt (A, D, F, I, MD, MMD, MQ, MT, U, fconstant-string-class=,
1562 idirafter, imacros, include, isysroot, isystem, iquote): Add
1563 MissingArgError.
1564 * c-objc-common.h (LANG_HOOKS_MISSING_ARGUMENT): Remove.
1565
7a9bf9a4
JM
15662010-07-27 Joseph Myers <joseph@codesourcery.com>
1567
1568 * c-common.h (c_common_option_lang_mask,
1569 c_common_initialize_diagnostics, c_common_complain_wrong_lang_p):
1570 New.
1571 (c_common_init_options): Update prototype.
1572 * c-opts.c (c_common_option_lang_mask): New.
1573 (c_common_initialize_diagnostics): Split out of
1574 c_common_init_options.
1575 (accept_all_c_family_options, c_common_complain_wrong_lang_p):
1576 New.
1577 (c_common_init_options): Update prototype. Use decoded options in
1578 search for -lang-asm.
1579
910ad8de
NF
15802010-07-15 Nathan Froyd <froydnj@codesourcery.com>
1581
1582 * c-common.c: Carefully replace TREE_CHAIN with DECL_CHAIN.
1583 * c-format.c: Likewise.
1584
718f9c0f
MLI
15852010-07-08 Manuel López-Ibáñez <manu@gcc.gnu.org>
1586
1587 * c-common.h: Include diagnostic-core.h. Error if already
1588 included.
1589 * c-semantics.c: Do not define GCC_DIAG_STYLE here.
1590
4d451982
MLI
15912010-07-03 Manuel López-Ibáñez <manu@gcc.gnu.org>
1592
1593 * c-family/c-common.c (IN_GCC_FRONTEND): Do not undef.
1594 Do not include expr.h
1595 (vector_mode_valid_p): Move here.
1596
119fe915
SB
15972010-06-21 DJ Delorie <dj@redhat.com>
1598
1599 * c-pragma.c (handle_pragma_diagnostic): Add push/pop,
1600 allow these pragmas anywhere.
1601
16022010-06-14 Jakub Jelinek <jakub@redhat.com>
1603
1604 PR bootstrap/44509
1605 * c-cppbuiltin.c: Include gt-c-family-c-cppbuiltin.h.
1606 (lazy_hex_fp_values, lazy_hex_fp_value_count): Add GTY(()) markers.
1607 (lazy_hex_fp_value, builtin_define_with_hex_fp_value): Use
1608 ggc_strdup instead of xstrdup.
1609
16102010-06-10 Jakub Jelinek <jakub@redhat.com>
1611
1612 * c-cppbuiltin.c: Include cpp-id-data.h.
1613 (lazy_hex_fp_values, lazy_hex_fp_value_count): New variables.
1614 (lazy_hex_fp_value): New function.
1615 (builtin_define_with_hex_fp_value): Provide definitions lazily.
1616
6662d794
MLI
16172010-06-30 Manuel López-Ibáñez <manu@gcc.gnu.org>
1618
1619 * c-gimplify.c: Do not include tree-flow.h
1620
38f8b050
JR
16212010-06-29 Joern Rennecke <joern.rennecke@embecosm.com>
1622
1623 PR other/44034
1624 * c-common.c: Rename targetm member:
1625 targetm.enum_va_list -> targetm.enum_va_list_p
1626
9589f23e
AS
16272010-06-28 Anatoly Sokolov <aesok@post.ru>
1628
1629 * c-common.c (shorten_compare): Adjust call to force_fit_type_double.
1630
3b06d379
SB
16312010-06-28 Steven Bosscher <steven@gcc.gnu.org>
1632
1633 * c-cppbuiltin.c: Do not include except.h.
1634
d166d4c3
AK
16352010-06-24 Andi Kleen <ak@linux.intel.com>
1636
1637 * c-common.c (warn_for_omitted_condop): New.
1638 * c-common.h (warn_for_omitted_condop): Add prototype.
1639
70cb8be6
JM
16402010-06-21 Joseph Myers <joseph@codesourcery.com>
1641
1642 * c.opt (lang-objc): Remove.
1643 * c-opts.c (c_common_handle_option): Don't handle OPT_lang_objc.
1644
a4c97feb
JR
16452010-06-21 Joern Rennecke <joern.rennecke@embecosm.com>
1646
1647 * c-opts.c: Include "tm_p.h".
1648
6e2f1956
JM
16492010-06-20 Joseph Myers <joseph@codesourcery.com>
1650
1651 * c-common.c (parse_optimize_options): Update call to
1652 decode_options.
1653
bc87224e
NF
16542010-06-18 Nathan Froyd <froydnj@codesourcery.com>
1655
1656 * c-common.c (record_types_used_by_current_var_decl): Adjust for
1657 new type of types_used_by_cur_var_decl.
1658
b49cf425
JR
16592010-06-17 Joern Rennecke <joern.rennecke@embecosm.com>
1660
1661 PR bootstrap/44512
1662 * c-cppbuiltin.c (builtin_define_with_hex_fp_value): Add cast
1663 for C++ standard compliance.
1664
59f9c2ed
JM
16652010-06-16 Jason Merrill <jason@redhat.com>
1666
1667 * c.opt: Add -Wnoexcept.
1668
33766b66
RG
16692010-06-16 Richard Guenther <rguenther@suse.de>
1670
1671 PR c/44555
1672 * c-common.c (c_common_truthvalue_conversion): Remove
1673 premature and wrong optimization concering ADDR_EXPRs.
1674
eff7e30c
AC
16752010-06-15 Arnaud Charlet <charlet@adacore.com>
1676
1677 * c-ada-spec.c (dump_sloc): Remove column info.
1678 (is_simple_enum): New function.
1679 (dump_generic_ada_node, print_ada_declaration): Map C enum types to Ada
1680 enum types when relevant.
1681
6312e84d
MLI
16822010-06-11 Manuel López-Ibáñez <manu@gcc.gnu.org>
1683
1684 * c-common.c (conversion_warning): Warn at expression
1685 location.
1686
1cb42611
JM
16872010-06-10 Joseph Myers <joseph@codesourcery.com>
1688
1689 * c-opts.c (c_common_handle_option): Don't handle
1690 OPT_fshow_column.
1691
a9429e29
LB
16922010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com>
1693
1694 * c-pragma.c (push_alignment): Use typed GC allocation.
1695 (handle_pragma_push_options): Likewise.
1696
1697 * c-common.c (parse_optimize_options): Likewise.
1698
1699 * c-common.h (struct sorted_fields_type): Add variable_size GTY
1700 option.
1701
5498f011
JM
17022010-06-07 Joseph Myers <joseph@codesourcery.com>
1703
1704 * c-common.c (flag_preprocess_only, flag_undef, flag_no_builtin,
1705 flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
1706 flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
1707 flag_signed_bitfields, warn_strict_null_sentinel,
1708 flag_nil_receivers, flag_zero_link, flag_replace_objc_classes,
1709 flag_gen_declaration, flag_no_gnu_keywords,
1710 flag_implement_inlines, flag_implicit_templates,
1711 flag_implicit_inline_templates, flag_optional_diags,
1712 flag_elide_constructors, flag_default_inline, flag_rtti,
1713 flag_conserve_space, flag_access_control, flag_check_new,
1714 flag_new_for_scope, flag_weak, flag_working_directory,
1715 flag_use_cxa_atexit, flag_use_cxa_get_exception_ptr,
1716 flag_enforce_eh_specs, flag_threadsafe_statics,
1717 flag_pretty_templates): Remove.
1718 * c-common.h (flag_preprocess_only, flag_nil_receivers,
1719 flag_objc_exceptions, flag_objc_sjlj_exceptions, flag_zero_link,
1720 flag_replace_objc_classes, flag_undef, flag_no_builtin,
1721 flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
1722 flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
1723 flag_const_strings, flag_signed_bitfields, flag_gen_declaration,
1724 flag_no_gnu_keywords, flag_implement_inlines,
1725 flag_implicit_templates, flag_implicit_inline_templates,
1726 flag_optional_diags, flag_elide_constructors, flag_default_inline,
1727 flag_rtti, flag_conserve_space, flag_access_control,
1728 flag_check_new, flag_new_for_scope, flag_weak,
1729 flag_working_directory, flag_use_cxa_atexit,
1730 flag_use_cxa_get_exception_ptr, flag_enforce_eh_specs,
1731 flag_threadsafe_statics, flag_pretty_templates,
1732 warn_strict_null_sentinel): Remove.
1733 * c.opt (E, Wstrict-null-sentinel, faccess-control, fasm,
1734 fbuiltin, fcheck-new, fconserve-space, felide-constructors,
1735 fenforce-eh-specs, ffor-scope, fgnu-keywords, fimplement-inlines,
1736 fimplicit-inline-templates, fimplicit-templates,
1737 flax-vector-conversions, fms-extensions, fnil-receivers,
1738 fnonansi-builtins, fpretty-templates, freplace-objc-classes,
1739 frtti, fshort-double, fshort-enums, fshort-wchar,
1740 fsigned-bitfields, fsigned-char, fstats, fthreadsafe-statics,
1741 funsigned-bitfields, funsigned-char, fuse-cxa-atexit,
1742 fuse-cxa-get-exception-ptr, fweak, fworking-directory, fzero-link,
1743 gen-decls, undef): Use Var.
1744 (fdefault-inline, foptional-diags): Document as doing nothing.
1745 * c-opts.c (c_common_handle_option): Remove cases for options now
1746 using Var. Mark ignored options as such.
1747
39dabefd
SB
17482010-06-05 Steven Bosscher <steven@gcc.gnu.org>
1749
1750 * c-common.c: Moved to here from parent directory.
1751 * c-common.def: Likewise.
1752 * c-common.h: Likewise.
1753 * c-cppbuiltin.c: Likewise.
1754 * c-dump.c: Likewise.
1755 * c-format.c: Likewise.
1756 * c-format.h : Likewise.
1757 * c-gimplify.c: Likewise.
1758 * c-lex.c: Likewise.
1759 * c-omp.c: Likewise.
1760 * c.opt: Likewise.
1761 * c-opts.c: Likewise.
1762 * c-pch.c: Likewise.
1763 * c-ppoutput.c: Likewise.
1764 * c-pragma.c: Likewise.
1765 * c-pragma.h: Likewise.
1766 * c-pretty-print.c: Likewise.
1767 * c-pretty-print.h: Likewise.
1768 * c-semantics.c: Likewise.
1769 * stub-objc.c: Likewise.
1770
1771 * c-common.c: Include gt-c-family-c-common.h.
1772 * c-pragma.c: Include gt-c-family-c-pragma.h.
1773\f
04695783 1774Copyright (C) 2010, 2011 Free Software Foundation, Inc.
39dabefd
SB
1775
1776Copying and distribution of this file, with or without modification,
1777are permitted in any medium without royalty provided the copyright
1778notice and this notice are preserved.
This page took 0.70665 seconds and 5 git commands to generate.