]> gcc.gnu.org Git - gcc.git/blame - gcc/c-family/ChangeLog
* config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
[gcc.git] / gcc / c-family / ChangeLog
CommitLineData
6bdf3519
SB
12012-07-11 Steven Bosscher <steven@gcc.gnu.org>
2
3 * c-gimplify.c: Do not include basic-block.h.
4 * c-common.c: Do not include linfuncs.h.
5
532aafad
SB
62012-07-08 Steven Bosscher <steven@gcc.gnu.org>
7
8 * c-common.h: Include tree.h.
9
8d0d1915
JM
102012-07-02 Jason Merrill <jason@redhat.com>
11
12 PR c++/53524
13 * c-common.c (get_priority): Call default_conversion.
14
fbc873ad
UB
152012-07-01 Uros Bizjak <ubizjak@gmail.com>
16
17 * c-pch.c (c_common_write_pch): Remove unused variables.
18
d4a10d0a
SB
192012-06-29 Steven Bosscher <steven@gcc.gnu.org>
20
21 * cppspec.c: Moved from gcc/ to here.
22
6f3a2e23
KT
232012-06-27 Kai Tietz <ktietz@redhat.com>
24
25 PR preprocessor/37215
26 * c-ppoutput.c (preprocess_file): Check for nonempty buffer.
27
8ca92d04
SB
282012-06-21 Steven Bosscher <steven@gcc.gnu.org>
29
30 * c-common.h (c_common_print_pch_checksum): Remove.
31 * c-pch.c: Do not include output.h.
32 (CHECK_NO_ASM_OUT_DURING_PCH): Define and add FIXME.
33 (asm_out_file): Define iff CHECK_NO_ASM_OUT_DURING_PCH isdefined.
34 (asm_file_startpos): Define iff CHECK_NO_ASM_OUT_DURING_PCH is defined.
35 (struct c_pch_header): Remove.
36 (get_ident): Update gpch version.
37 (pch_init): Do not print executable_checksum to asm_out_file.
38 Do not fail if there is no asm_out_file to read back from. Set
39 asm_file_startpos only if CHECK_NO_ASM_OUT_DURING_PCH is defined.
40 (c_common_write_pch): Verify that nothing was written to asm_out_file
41 since pch_init was called. Do not write a c_pch_header, and do not
42 copy from asm_out_file to the PCH.
43 (c_common_read_pch): Do not read a c_pch_header, and do not restore
44 the content of asm_out_file from the PCH.
45 (c_common_print_pch_checksum): Remove.
46 * c-opts.c (c_common_init): Print out executable_checksum directly.
47
70f42967
SB
482012-06-19 Steven Bosscher <steven@gcc.gnu.org>
49
50 * c-target.def (objc_declare_unresolved_class_reference,
51 objc_declare_class_definition): Add new hooks.
52
a8781821
SB
532012-06-19 Steven Bosscher <steven@gcc.gnu.org>
54
55 * c-lex.c: Do not include output.h.
56 (cb_ident): Try to put out .ident with targetm.asm_out.output_ident.
57 Remove uses of ASM_OUTPUT_IDENT.
58
9e1a8dd1
RR
592012-06-15 Marc Glisse <marc.glisse@inria.fr>
60
61 PR c++/51033
62 * c-common.h (c_build_vec_perm_expr): Move decl here.
63 * c-common.c (c_build_vec_perm_expr): Move definition
64 here.
65
6f07a821
SB
662012-06-06 Steven Bosscher <steven@gcc.gnu.org>
67
68 * c.opt (fconserve-space): Turn into a no-op.
69
9faeb493 702012-06-04 Sterling Augustine <saugustine@google.com>
c265f413
SA
71
72 * c-pretty-print.h (pp_c_flag_gnu_v3): New enumerator.
73 * c-pretty-print.c (pp_c_specifier_qualifier_list): Check it at
74 both the start and end of the function.
75
a4b7d13c
SB
762012-06-04 Steven Bosscher <steven@gcc.gnu.org>
77
78 * c-common.c: Do not include output.h.
79 * c-pragma.c: Likewise.
80
c265f413
SA
812012-06-04 Steven Bosscher <steven@gcc.gnu.org>
82
83 * error.c (dump_decl): Check pp_c_flag_gnu_v3.
84 (decl_as_dwarf_string, lang_decl_dwarf_name): New functions.
85 (lang_decl_name): Handle namespace decls.
86
be7a421e
SB
872012-05-31 Steven Bosscher <steven@gcc.gnu.org>
88
89 * c-ada-spec.c: Do not include output.h.
90 * c-semantics.c: Likewise.
91
65de6659
JM
922012-05-29 Joseph Myers <joseph@codesourcery.com>
93
94 * c-common.c: Fix typo.
95
ca5f4331
MM
962012-05-29 Michael Matz <matz@suse.de>
97
98 * c-common.h (c_expand_decl): Remove prototype.
99
4f7f7aca
MLI
1002012-05-29 Manuel López-Ibáñez <manu@gcc.gnu.org>
101
102 * c.opt (Wmissing-braces): Use LangEnabledBy(C ObjC,Wall).
103 * c-opts.c (c_common_handle_option): Remove code handling
104 warn_missing_braces.
105
4a792f9b
PC
1062012-05-28 Paolo Carlini <paolo.carlini@oracle.com>
107
108 PR c++/25137
109 * c-opts.c (c_common_handle_option): For C++ -Wall doesn't enable
110 -Wmissing_braces.
111
650dc14a
DS
1122012-05-22 Dodji Seketeli <dodji@redhat.com>
113
114 PR c++/53322
115 * c.opt (Wunused-local-typedefs): Use EnabledBy(Wunused).
116
9b095bf1
MLI
1172012-05-17 Manuel López-Ibáñez <manu@gcc.gnu.org>
118
119 * c.opt (--pedantic-errors,-pedantic-errors): Do not handle here.
120 * c-opts.c (c_common_handle_option): Do not handle explicitly
121 Wreturn-type, Wwrite-strings, warn_ecpp, and -pedantic-errors.
122
0b2c4be5
DS
1232012-05-16 Dodji Seketeli <dodji@redhat.com>
124
125 PR preprocessor/7263
126 * c-lex.c (c_lex_with_flags): Pass a virtual location to the call
127 to cpp_classify_number. For diagnostics, use the precise location
128 instead of the global input_location.
129
a1bde5af
PC
1302012-05-15 Paolo Carlini <paolo.carlini@oracle.com>
131
d02924ef 132 PR c++/11856
a1bde5af
PC
133 * c-common.c (shorten_compare): Check c_inhibit_evaluation_warnings.
134
d1ede5f4
BS
1352012-05-14 Bernd Schmidt <bernds@codesourcery.com>
136
a1bde5af 137 * c-common.c (DEF_ATTR_STRING): Define and undefine as necessary.
d1ede5f4 138
f2bc201f
MLI
1392012-05-14 Manuel López-Ibáñez <manu@gcc.gnu.org>
140
141 PR 53063
142 * c.opt (Wc++0X-compat,Wdelete-non-virtual-dtor,Wjump-misses-init,
143 Wreorder): Use LangEnabledBy.
144 * c-opts.c (c_common_handle_option): Do not enable them
145 explicitly. Call lang-specific generated functions.
146 (c_common_post_options): Do not set them here.
147
95744782
MLI
1482012-05-13 Manuel López-Ibáñez <manu@gcc.gnu.org>
149
150 * c.opt (Wclobbered,Wempty-body,Wignored-qualifiers,
151 Wmissing-field-initializers,Wmissing-parameter-type,
152 Wold-style-declaration,Woverride-init): Use EnabledBy.
153 * c-opts.c (c_common_post_options): Do not set here explicitly.
154
7d5a5747
MLI
1552012-05-11 Manuel López-Ibáñez <manu@gcc.gnu.org>
156
157 PR 53063
158 * c-opts.c (c_common_handle_option): Use handle_generated_option
159 to enable sub-options.
160
5a3c9cf2
PC
1612012-05-10 Paolo Carlini <paolo.carlini@oracle.com>
162
163 PR c++/53158
164 * c-common.c (warnings_for_convert_and_check): Use warning_at.
165
3ac8781c
RG
1662012-05-10 Richard Guenther <rguenther@suse.de>
167
168 * c-common.c (c_sizeof_or_alignof_type): Remove assert and
169 adjust commentary about TYPE_IS_SIZETYPE types.
170
1e537948
MLI
1712012-05-09 Manuel López-Ibáñez <manu@gcc.gnu.org>
172
173 PR c++/53261
174 * c-common.c (warn_logical_operator): Check that argument of
175 integer_zerop is not NULL.
176
f2c4a785
MLI
1772012-05-05 Manuel López-Ibáñez <manu@gcc.gnu.org>
178
179 PR c/43772
180 * c-common.c (warn_logical_operator): Do not warn if either side
181 is already true or false.
182
50f305ca
MLI
1832012-05-04 Manuel López-Ibáñez <manu@gcc.gnu.org>
184
185 PR c/51712
186 * c-common.c (expr_original_type): New.
187 (shorten_compare): Do not warn for enumeration types.
188
0c3641b0
MLI
1892012-05-03 Manuel López-Ibáñez <manu@gcc.gnu.org>
190
191 * c.opt (fpermissive): Add Var(flag_permissive).
192
7edaa4d2
MG
1932012-04-30 Marc Glisse <marc.glisse@inria.fr>
194
195 PR c++/51033
196 * c-common.c (convert_vector_to_pointer_for_subscript): New function.
197 * c-common.h (convert_vector_to_pointer_for_subscript): Declare it.
198
b9c8da34
DS
1992012-04-30 Dodji Seketeli <dodji@redhat.com>
200
201 Add -Wvarargs option
202 * c.opt (Wvarargs): Define new option.
203
e6c69da0
MLI
2042012-04-30 Manuel López-Ibáñez <manu@gcc.gnu.org>
205
206 * c-common.c (check_function_arguments): Replace
207 Wmissing-format-attribute with Wsuggest-attribute=format.
208
90137d8f
MLI
2092012-04-30 Manuel López-Ibáñez <manu@gcc.gnu.org>
210
211 * c.opt (Wsuggest-attribute=format): New. Alias of
212 Wmissing-format-attribute.
213 * c-format.c (decode_format_type): Replace
214 Wmissing-format-attribute with Wsuggest-attribute=format.
215 (check_function_format): Likewise.
216
9faeb493 2172012-04-27 Ollie Wild <aaw@google.com>
7f5f5f98
OW
218
219 * c-common.c: Add CPP_W_LITERAL_SUFFIX mapping.
220 * c-opts.c (c_common_handle_option): Handle OPT_Wliteral_suffix.
221 * c.opt: Add Wliteral-suffix.
222
c1771a20
MLI
2232012-04-22 Manuel López-Ibáñez <manu@gcc.gnu.org>
224
225 PR c/44774
226 * c.opt (Wpedantic): New.
227 (pedantic): Alias Wpedantic.
228 * c-opts.c (c_common_handle_option): Replace -pedantic with -Wpedantic.
229 (c_common_post_options): Likewise.
230 (sanitize_cpp_opts): Likewise.
231 * c-lex.c (interpret_float): Likewise.
232 * c-format.c (check_format_types): Likewise.
233 * c-common.c (pointer_int_sum): Likewise.
234 (c_sizeof_or_alignof_type): Likewise.
235 (c_add_case_label): Likewise.
236 (c_do_switch_warnings): Likewise.
237 * c-pragma.c (handle_pragma_float_const_decimal64): Likewise.
238
04b391c1
JM
2392012-04-15 Jason Merrill <jason@redhat.com>
240
241 PR c++/52818
242 * c-format.c (CPLUSPLUS_STD_VER): C++11 inherits from C99.
243 (C_STD_NAME): Distinguish between C++98 and C++11.
244
ac868f29
EB
2452012-04-11 Eric Botcazou <ebotcazou@adacore.com>
246
247 PR target/52624
248 * c-common.h (uint16_type_node): Rename into...
249 (c_uint16_type_node): ...this.
250 * c-common.c (c_common_nodes_and_builtins): Adjust for above renaming.
251 * c-cppbuiltin.c (builtin_define_stdint_macros): Likewise.
252
fd4116f4
MLI
2532012-04-10 Manuel López-Ibáñez <manu@gcc.gnu.org>
254
255 * c-common.c (warn_if_unused_value): Move definition to here.
256 * c-common.h (warn_if_unused_value): Move declaration to here.
257
573ac65e
WB
2582012-03-23 William Bader <williambader@hotmail.com>
259
260 * c-lex.c (c_lex_with_flags): Avoid declarations after stmts.
261
552b8185
JM
2622012-03-20 Jason Merrill <jason@redhat.com>
263
264 * c-common.h (enum cxx_dialect): Add cxx1y.
265 * c-common.c (c_common_nodes_and_builtins): Use >= for cxx_dialect
266 test.
267 * c-cppbuiltin.c (c_cpp_builtins): Likewise.
268 * c-opts.c (c_common_post_options): Likewise.
269 (set_std_cxx1y): New.
270 (c_common_handle_option): Call it.
271 * c.opt (-std=c++1y, -std=gnu++1y): New flags.
272
04398fa8
PC
2732012-03-19 Paolo Carlini <paolo.carlini@oracle.com>
274
275 PR c++/14710
276 * c.opt ([Wuseless-cast]): Add.
277
d2a12ae7
RG
2782012-03-16 Richard Guenther <rguenther@suse.de>
279
280 * c-pretty-print.c (pp_c_initializer_list): Adjust.
281
a12bf402
MLI
2822012-03-15 Manuel López-Ibáñez <manu@gcc.gnu.org>
283
284 PR c++/44783
285 * c.opt (ftemplate-backtrace-limit) Add.
286
5c30094f
RO
2872012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
288
289 * c-cppbuiltin.c (c_cpp_builtins): Remove #pragma extern_prefix
290 handling.
291 * c-pragma.c (handle_pragma_extern_prefix): Remove.
292 (init_pragma): Don't register extern_prefix.
293
21fa2faf
RG
2942012-03-12 Richard Guenther <rguenther@suse.de>
295
296 * c-common.c (c_common_get_narrower): Use c_common_type_for_size.
297 (builtin_type_for_size): Likewise.
298
e3793c6f
JJ
2992012-02-13 Jakub Jelinek <jakub@redhat.com>
300
301 PR c++/52215
302 * c-common.c (sync_resolve_params): Don't decide whether to convert
303 or not based on TYPE_SIZE comparison, convert whenever arg_type
304 is unsigned INTEGER_TYPE.
305
93286335
PC
3062012-02-06 Paolo Carlini <paolo.carlini@oracle.com>
307
308 PR c/52118
309 * c.opt ([Wunused-local-typedefs]): Fix description.
310
7a421706
MS
3112012-01-24 Mike Stump <mikestump@comcast.net>
312
313 * c-common.c (c_common_type_for_mode): Match signed/unsigned types
314 exactly.
315
ba9b1f11
RG
3162012-01-18 Richard Guenther <rguenther@suse.de>
317
318 * c-opts.c (c_common_post_options): Reset LTO flags if
319 we are about to generate a PCH.
320
465406be
PC
3212012-01-17 Paolo Carlini <paolo.carlini@oracle.com>
322
323 PR c++/51777
324 * c-pretty-print.c (pp_c_integer_constant): For unsigned constants
325 use pp_unsigned_wide_integer.
326
aee15221
RG
3272012-01-10 Richard Guenther <rguenther@suse.de>
328
329 PR middle-end/51806
330 * c-opts.c (c_common_handle_option): Move -Werror handling
331 to language independent code.
332
5720c0dc
RG
3332012-01-05 Richard Guenther <rguenther@suse.de>
334
335 PR middle-end/51764
336 * c.opt (Wmudflap, fmudflap, fmudflapth, fmudflapir): Move here
337 from common.opt.
338
73ac190a
PC
3392011-12-30 Paolo Carlini <paolo.carlini@oracle.com>
340
341 PR c++/51316
342 * c-common.c (c_sizeof_or_alignof_type): In C++ allow for alignof
343 of array types with an unknown bound.
344
48b0b196
JM
3452011-12-20 Joseph Myers <joseph@codesourcery.com>
346
347 * c-common.c (flag_isoc99): Update comment to refer to C11.
348 (flag_isoc1x): Change to flag_isoc11.
349 * c-common.h (flag_isoc99): Update comment to refer to C11.
350 (flag_isoc1x): Change to flag_isoc11.
351 * c-cppbuiltin.c (cpp_atomic_builtins): Change comment to refer to
352 C11.
353 * c-opts.c (set_std_c1x): Change to set_std_c11.
354 (c_common_handle_option): Handle OPT_std_c11 and OPT_std_gnu11.
355 Call set_std_c11.
356 (set_std_c89, set_std_c99, set_std_c11): Use flag_isoc11.
357 (set_std_c1): Use CLK_STDC11 and CLK_GNUC11.
358 * c.opt (std=c1x): Change to std=c11. Document as non-draft
359 standard.
360 (std=c1x, std=iso9899:2011): Add as aliases of std=c11.
361 (std=gnu1x): Change to std=gnu11. Refer to non-draft standard.
362 (std=gnu1x): Make alias of std=gnu11.
363
d58d6eb5
JM
3642011-12-19 Jason Merrill <jason@redhat.com>
365
366 PR c++/51228
367 * c-common.c (handle_transparent_union_attribute): Check the first
368 field if the type is complete.
369
b3908fcc
JW
3702011-12-15 Jonathan Wakely <jwakely.gcc@gmail.com>
371
372 PR libstdc++/51365
373 * c-common.c (RID_IS_FINAL): Add.
374 * c-common.h (RID_IS_FINAL): Add.
375
fea3ca91
IS
3762011-11-30 Iain Sandoe <iains@gcc.gnu.org>
377
378 * c.opt (fgnu-runtime): Provide full description.
379 (fnext-runtime): Likewise.
380 * c-opts.c (OPT_fgnu_runtime, OPT_fnext_runtime) Remove.
381
62bad7cd
AM
3822011-11-28 Andrew MacLeod <amacleod@redhat.com>
383
384 * c-cpp-builtin.c (cpp_atomic_builtins):New. Emit all atomic
385 predefines in one place. Add LOCK_FREE predefines.
386 (c_cpp_builtins): Move Legacy HAVE_SYNC predefines to
387 new func.
388
c466c4ff
AM
3892011-11-24 Andrew MacLeod <amacleod@redhat.com>
390
391 PR c/51256
9faeb493 392 * c-common.c (get_atomic_generic_size): Check for various error
c466c4ff 393 conditions
9faeb493
UB
394 (resolve_overloaded_atomic_exchange,
395 resolve_overloaded_atomic_compare_exchange,
c466c4ff
AM
396 resolve_overloaded_atomic_load, resolve_overloaded_atomic_store): Return
397 error_mark_node for error conditions.
9faeb493 398
a5952633
RG
3992011-11-08 Richard Guenther <rguenther@suse.de>
400
401 PR middle-end/51010
402 c-family/
403
0a35513e
AH
4042011-11-07 Richard Henderson <rth@redhat.com>
405 Aldy Hernandez <aldyh@redhat.com>
406 Torvald Riegel <triegel@redhat.com>
407
408 Merged from transactional-memory.
409
410 * c-common.c (handle_tm_wrap_attribute,
411 handle_tm_attribute, ignore_attribute, parse_tm_stmt_attr): New.
412 (struct c_common_reswords): Added __transaction* keywords.
413 (struct c_common_attribute_table): Added transaction* and tm_regparm
414 attributes.
415 * c-common.h: Added RID_TRANSACTION*. Added TM_ATTR* and TM_STMT*
416 masks.
417 (parse_tm_stmt_attr, tm_attr_to_mask, tm_mask_to_attr,
418 find_tm_attribute): Declare.
419
6d87092d
JM
4202011-11-07 Jason Merrill <jason@redhat.com>
421
422 PR c++/35688
423 * c-common.c, c-common.h: Revert yesterday's changes.
424
8e7860a1
JM
4252011-11-06 Jason Merrill <jason@redhat.com>
426
427 PR c++/35688
428 * c-common.c (decl_has_visibility_attr): Split out from...
429 (c_determine_visibility): ...here.
430 * c-common.h: Declare it.
431
d19fa6b5
JM
4322011-11-06 Joseph Myers <joseph@codesourcery.com>
433
434 * c-common.c (c_common_reswords): Add _Alignas and _Alignof.
435 (c_sizeof_or_alignof_type): Diagnose alignof applied to a function
436 type.
437 (check_user_alignment): New. Split out of
438 handle_aligned_attribute. Disallow integer constants with
439 noninteger types. Conditionally allow zero.
440 (handle_aligned_attribute): Use check_user_alignment.
441 * c-common.h (RID_ALIGNAS, check_user_alignment): New.
442
86951993
AM
4432011-11-06 Andrew MacLeod <amacleod@redhat.com>
444 Richard Henderson <rth@redhat.com>
445
446 Merged from cxx-mem-model.
447
448 * c-cppbuiltin.c (c_cpp_builtins): Test both atomic and sync patterns.
9faeb493 449 * c-common.c (sync_resolve_params, sync_resolve_return): Only tweak
86951993
AM
450 parameters that are the same type size.
451 (get_atomic_generic_size): New. Find size of generic
452 atomic function parameters and do typechecking.
453 (add_atomic_size_parameter): New. Insert size into parameter list.
454 (resolve_overloaded_atomic_exchange): Restructure __atomic_exchange to
455 either __atomic_exchange_n or external library call.
9faeb493 456 (resolve_overloaded_atomic_compare_exchange): Restructure
86951993 457 __atomic_compare_exchange to either _n variant or external library call.
9faeb493 458 (resolve_overloaded_atomic_load): Restructure __atomic_load to either
86951993
AM
459 __atomic_load_n or an external library call.
460 (resolve_overloaded_atomic_store): Restructure __atomic_store to either
461 __atomic_store_n or an external library call.
462 (resolve_overloaded_builtin): Handle new __atomic builtins.
463
cf9e9959
EB
4642011-11-04 Eric Botcazou <ebotcazou@adacore.com>
465
466 PR c++/50608
467 * c-common.c (c_fully_fold_internal) <ADDR_EXPR>: Call fold_offsetof_1.
468 (fold_offsetof_1): Make global. Remove STOP_REF argument and adjust.
469 <INDIRECT_REF>: Return the argument.
470 <ARRAY_REF>: Remove special code for negative offset.
471 Call fold_build_pointer_plus instead of size_binop.
472 (fold_offsetof): Remove STOP_REF argument and adjust.
473 * c-common.h (fold_offsetof_1): Declare.
474 (fold_offsetof): Remove STOP_REF argument.
475
25339f10
JM
4762011-11-02 Paolo Carlini <paolo.carlini@oracle.com>
477
478 PR c++/50810
479 * c-opts.c (c_common_handle_option): Enable -Wnarrowing as part
480 of -Wall; include -Wnarrowing in -Wc++0x-compat; adjust default
481 Wnarrowing for C++0x and C++98.
482 * c.opt ([Wnarrowing]): Update.
483
89401152
PC
4842011-11-01 Paolo Carlini <paolo.carlini@oracle.com>
485
486 PR c++/44277
487 * c.opt: Add Wzero-as-null-pointer-constant.
488
97e3ad20
JM
4892011-10-31 Jason Merrill <jason@redhat.com>
490
15694fdd
JM
491 * c.opt (-fdeduce-init-list): Off by default.
492
97e3ad20
JM
493 PR c++/50920
494 * c-common.h (cxx_dialect): Add cxx11 and cxx03.
495 * c.opt: Add -std=c++11, -std=gnu++11, -std=gnu++03,
496 and -Wc++11-compat.
497 * c-opts.c (set_std_cxx11): Rename from set_std_cxx0x.
498
fb9120e3
RAV
4992011-10-27 Roberto Agostino Vitillo <ravitillo@lbl.gov>
500
501 PR c++/30066
502 * c.opt (fvisibility-inlines-hidden): Description change.
503
3ce4f9e4
ESR
5042011-10-26 Ed Smith-Rowland <3dw4rd@verizon.net>
505
506 Implement C++11 user-defined literals.
507 * c-common.c (build_userdef_literal): New.
508 * c-common.def: New tree code.
509 * c-common.h (tree_userdef_literal): New tree struct and accessors.
510 * c-lex.c (interpret_float): Add suffix parm.
511 (c_lex_with_flags): Build literal tokens.
512
5f53c243
PC
5132011-10-23 Paolo Carlini <paolo.carlini@oracle.com>
514
515 PR c++/50841
516 Revert:
517 2011-10-23 Paolo Carlini <paolo.carlini@oracle.com>
518
519 PR c++/50810
520 * c-opts.c (c_common_handle_option): Enable -Wnarrowing as part
521 of -Wall; include -Wnarrowing in -Wc++0x-compat; adjust default
522 Wnarrowing for C++0x and C++98.
523 * c.opt ([Wnarrowing]): Update.
524
263734e1
PC
5252011-10-23 Paolo Carlini <paolo.carlini@oracle.com>
526
527 PR c++/50810
528 * c-opts.c (c_common_handle_option): Enable -Wnarrowing as part
529 of -Wall; include -Wnarrowing in -Wc++0x-compat; adjust default
530 Wnarrowing for C++0x and C++98.
531 * c.opt ([Wnarrowing]): Update.
532
d2e312d7
PC
5332011-10-21 Paolo Carlini <paolo.carlini@oracle.com>
534
535 PR c++/45385
536 * c-common.c (conversion_warning): Remove code looking for
537 artificial operands.
538
d17687f6
DS
5392011-10-18 Dodji Seketeli <dodji@redhat.com>
540
541 PR bootstrap/50760
542 * c-lex.c (fe_file_change): Use LINEMAP_SYSP when
9faeb493 543 !NO_IMPLICIT_EXTERN_C.
d17687f6 544
fc8396e9
PC
5452011-10-17 Michael Spertus <mike_spertus@symantec.com>
546
547 * c-common.c (c_common_reswords): Add __bases,
548 __direct_bases.
549 * c-common.h: Add RID_BASES and RID_DIRECT_BASES.
550
5512011-10-17 Paolo Carlini <paolo.carlini@oracle.com>
552
553 PR c++/50757
554 * c.opt ([Wnonnull]): Add C++ and Objective-C++.
555
847e697a
TT
5562011-10-15 Tom Tromey <tromey@redhat.com>
557 Dodji Seketeli <dodji@redhat.com>
558
559 * c.opt (fdebug-cpp): New option.
560 * c-opts.c (c_common_handle_option): Handle the option.
561 * c-ppoutput.c (maybe_print_line_1): New static function. Takes an
562 output stream in parameter. Factorized from ...
563 (maybe_print_line): ... this. Dump location debug information when
564 -fdebug-cpp is in effect.
565 (print_line_1): New static function. Takes an output stream in
566 parameter. Factorized from ...
567 (print_line): ... here. Dump location information when -fdebug-cpp
568 is in effect.
569 (scan_translation_unit): Dump location information when
570 -fdebug-cpp is in effect.
571
92582b75
TT
5722011-10-15 Tom Tromey <tromey@redhat.com>
573 Dodji Seketeli <dodji@redhat.com>
574
575 * c.opt (ftrack-macro-expansion): New option. Handle it with and
576 without argument.
577 * c-opts.c (c_common_handle_option)<case
578 OPT_ftrack_macro_expansion_, case OPT_ftrack_macro_expansion>: New
579 cases. Handle -ftrack-macro-expansion with and without argument.
580
46427374
TT
5812011-10-15 Tom Tromey <tromey@redhat.com>
582 Dodji Seketeli <dodji@redhat.com>
583
584 * c-ppoutput.c (scan_translation_unit, maybe_print_line)
585 (print_line, cb_define, do_line_change): Adjust to avoid touching
586 the internals of struct line_map. Use the public API instead.
587 * c-pch.c (c_common_read_pch): Likewise.
588 * c-lex.c (fe_file_change): Likewise.
589
fc8396e9
PC
5902011-10-14 Paolo Carlini <paolo.carlini@oracle.com>
591
592 PR c++/17212
593 * c.opt ([Wformat-zero-length]): Add C++ and Objective-C++.
594
5952011-10-11 Paolo Carlini <paolo.carlini@oracle.com>
596
597 PR c++/33067
598 * c-pretty-print.c (pp_c_floating_constant): Output
599 max_digits10 (in the ISO C++ WG N1822 sense) decimal digits.
600
e79983f4
MM
6012011-10-11 Michael Meissner <meissner@linux.vnet.ibm.com>
602
603 * c-common.c (def_builtin_1): Delete old interface with two
604 parallel arrays to hold standard builtin declarations, and replace
605 it with a function based interface that can support creating
606 builtins on the fly in the future. Change all uses, and poison
607 the old names. Make sure 0 is not a legitimate builtin index.
608 * c-omp.c (c_finish_omp_barrier): Ditto.
609 (c_finish_omp_taskwait): Ditto.
610 (c_finish_omp_flush): Ditto.
611
6637388f
TG
6122011-10-11 Tristan Gingold <gingold@adacore.com>
613
614 * c.opt: (fallow-parameterless-variadic-functions): New.
615
3797cb21
DS
6162011-09-08 Dodji Seketeli <dodji@redhat.com>
617
618 PR c++/33255 - Support -Wunused-local-typedefs warning
619 * c-common.h (struct c_language_function::local_typedefs): New
620 field.
9faeb493
UB
621 (record_locally_defined_typedef, maybe_record_typedef_use)
622 (maybe_warn_unused_local_typedefs): Declare new functions.
3797cb21 623 * c-common.c (record_locally_defined_typedef)
9faeb493
UB
624 (maybe_record_typedef_use)
625 (maybe_warn_unused_local_typedefs): Define new functions.
3797cb21
DS
626 * c.opt: Declare new -Wunused-local-typedefs flag.
627
693ddb1b
EB
6282011-09-06 Eric Botcazou <ebotcazou@adacore.com>
629
630 PR middle-end/50266
631 * c-common.c (c_fully_fold_internal) <ADDR_EXPR>: Fold offsetof-like
632 computations.
633
830c740f
RG
6342011-09-05 Richard Guenther <rguenther@suse.de>
635
636 * c-common.c (complete_array_type): Use ssize_int (-1) instead
637 of integer_minus_one_node for empty array upper bounds.
638
892a371f
DS
6392011-08-28 Dodji Seketeli <dodji@redhat.com>
640
641 * c-pch.c (c_common_read_pch): Call linemap_add with LC_ENTER as
642 it's the first time it's being called on this main TU.
643
0e3fdb48
RB
6442011-08-24 Richard Guenther <rguenther@suse.de>
645
646 PR c/49396
647 * c-cppbuiltin.c (c_cpp_builtins_optimize_pragma): Fix conditional.
648
6492011-08-22 Gabriel Charette <gchare@google.com>
e3dfef44
GC
650
651 * c-opts.c (c_finish_options): Force BUILTINS_LOCATION for tokens
652 defined in cpp_init_builtins and c_cpp_builtins.
653
d4a83c10
JM
6542011-08-19 Joseph Myers <joseph@codesourcery.com>
655
656 * c-common.c (c_common_reswords): Add __builtin_complex.
657 * c-common.h (RID_BUILTIN_COMPLEX): New.
658
bbceee64
JM
6592011-08-18 Joseph Myers <joseph@codesourcery.com>
660
661 * c-common.c (c_common_reswords): Add _Noreturn.
662 (keyword_is_function_specifier): Handle RID_NORETURN.
663 * c-common.h (RID_NORETURN): New.
664
0e3a99ae
AS
6652011-08-10 Artjoms Sinkarovs <artyom.shinakroff@gmail.com>
666
667 * c-common.c (unsafe_conversion_p): New function. Check if it is
668 unsafe to convert an expression to the type.
669 (conversion_warning): Adjust, use unsafe_conversion_p.
670 * c-common.h (unsafe_conversion_p): New function declaration.
671
20906c66
JJ
6722011-08-02 Jakub Jelinek <jakub@redhat.com>
673
674 * c-common.h (c_finish_omp_atomic): Adjust prototype.
675 (c_finish_omp_taskyield): New prototype.
676 * c-omp.c (c_finish_omp_atomic): Add OPCODE, V, LHS1 and RHS1
677 arguments. Handle OMP_ATOMIC_READ, OMP_ATOMIC_CAPTURE_OLD and
678 OMP_ATOMIC_CAPTURE_NEW in addition to OMP_ATOMIC. If LHS1
679 or RHS1 have side-effects, evaluate those too in the right spot,
680 if it is a decl and LHS is also a decl, error out if they
681 aren't the same.
682 (c_finish_omp_taskyield): New function.
683 * c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP to 201107.
684 * c-pragma.c (omp_pragmas): Add taskyield.
685 * c-pragma.h (enum pragma_kind): Add PRAGMA_OMP_TASKYIELD.
686 (enum pragma_omp_clause): Add PRAGMA_OMP_CLAUSE_FINAL and
687 PRAGMA_OMP_CLAUSE_MERGEABLE.
688
770e5a2e
DS
6892011-07-25 Dodji Seketeli <dodji@redhat.com>
690
691 * c-common.h (set_underlying_type): Remove parm name from
692 declaration.
693
1baae426
RG
6942011-07-25 Romain Geissler <romain.geissler@gmail.com>
695
696 * c-pretty-print.h: Search c-common.h in c-family.
9faeb493 697
fcb21722
JM
6982011-07-22 Jason Merrill <jason@redhat.com>
699
76f86d00
JM
700 PR c++/49793
701 * c.opt (Wnarrowing): New.
702
3a636414
JM
703 PR c++/30112
704 * c-common.h: Declare c_linkage_bindings.
705 * c-pragma.c (handle_pragma_redefine_extname): Use it.
706
fcb21722
JM
707 PR c++/49813
708 * c-opts.c (set_std_cxx0x): Set flag_isoc94 and flag_isoc99.
709 * c-pretty-print.c (pp_c_cv_qualifiers): Check c_dialect_cxx as well
710 as flag_isoc99 for 'restrict'.
711 (pp_c_specifier_qualifier_list): Likewise for _Complex.
712
02614448
ILT
7132011-07-21 Ian Lance Taylor <iant@google.com>
714
715 PR middle-end/49705
716 * c-common.c (c_disable_warnings): New static function.
717 (c_enable_warnings): New static function.
718 (c_fully_fold_internal): Change local unused_p to bool. Call
719 c_disable_warnings and c_enable_warnings rather than change
720 c_inhibit_evaluation_warnings.
721
34429675
JM
7222011-07-20 Jason Merrill <jason@redhat.com>
723
724 PR c++/6709 (DR 743)
725 PR c++/42603 (DR 950)
726 * c-common.h (CPP_KEYWORD, CPP_TEMPLATE_ID): Move from cp/parser.h.
727 (CPP_NESTED_NAME_SPECIFIER, N_CP_TTYPES): Likewise.
728 (CPP_DECLTYPE): New.
729 * c-common.c (c_parse_error): Handle CPP_DECLTYPE.
730
5d49b6a7
RG
7312011-07-19 Richard Guenther <rguenther@suse.de>
732
733 * c-common.c (pointer_int_sum): Use fold_build_pointer_plus.
734 * c-omp.c (c_finish_omp_for): Likewise.
735
e84a58ff
EB
7362011-07-12 Eric Botcazou <ebotcazou@adacore.com>
737
738 * c-ada-spec.c (dump_nested_types): Put semi-colon after empty loop
739 body on the next line.
740
329af3c7
JM
7412011-07-08 Jason Merrill <jason@redhat.com>
742
4063e61b
JM
743 PR c++/45437
744 * c-omp.c (check_omp_for_incr_expr): Handle preevaluation.
745
329af3c7
JM
746 PR c++/49673
747 * c-common.c (c_apply_type_quals_to_decl): Don't check
748 TYPE_NEEDS_CONSTRUCTING.
749
1a072294
RG
7502011-07-06 Richard Guenther <rguenther@suse.de>
751
752 * c-common.c (c_common_nodes_and_builtins):
753 Merge calls to build_common_tree_nodes and build_common_tree_nodes_2.
754
fce5dddd
RG
7552011-07-05 Richard Guenther <rguenther@suse.de>
756
757 * c-common.c (c_common_nodes_and_builtins): Build all common
758 tree nodes first.
759
45d439ac
JJ
7602011-06-27 Jakub Jelinek <jakub@redhat.com>
761
56300785
JJ
762 * c-common.h (c_tree_chain_next): New static inline function.
763
45d439ac
JJ
764 * c-common.c (check_builtin_function_arguments): Handle
765 BUILT_IN_ASSUME_ALIGNED.
766
e0a8ecf2
AM
7672011-06-21 Andrew MacLeod <amacleod@redhat.com>
768
769 * c-common.c: Add sync_ or SYNC__ to builtin names.
770 * c-omp.c: Add sync_ or SYNC__ to builtin names.
dfb43cd5
PV
771
7722011-06-20 Pierre Vittet <piervit@pvittet.com>
773
774 * c-pragma.h (pragma_handler_1arg, pragma_handler_2arg): New
775 handler.
776 (gen_pragma_handler): New union.
777 (internal_pragma_handler): New type.
778 (c_register_pragma_with_data)
779 (c_register_pragma_with_expansion_and_data): New functions.
780
781 * c-pragma.c (registered_pragmas, c_register_pragma_1)
782 (c_register_pragma, c_register_pragma_with_expansion)
783 (c_invoke_pragma_handler): Changed to work with
784 internal_pragma_handler.
785 (c_register_pragma_with_data)
786 (c_register_pragma_with_expansion_and_data): New functions.
787
677f3fa8
JM
7882011-06-14 Joseph Myers <joseph@codesourcery.com>
789
790 * c-common.c: Include common/common-target.h.
791 (handle_section_attribute): Use
792 targetm_common.have_named_sections.
793 * c-cppbuiltin.c: Include common/common-target.h.
794 (c_cpp_builtins): Use targetm_common.except_unwind_info.
795
d7fc8c14
RG
7962011-06-10 Richard Guenther <rguenther@suse.de>
797
798 * c-pretty-print.c (pp_c_type_specifier): Use pp_c_identifier
799 to print a IDENTIFIER_NODE.
800
10e48e39
RO
8012011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
802 Joseph Myers <joseph@codesourcery.com>
803
804 * c.opt (fbuilding-libgcc): New option.
805 * c-cppbuiltin.c (c_cpp_builtins): Define
806 __LIBGCC_TRAMPOLINE_SIZE__ if flag_building_libgcc.
807
6976ae51
JM
8082011-06-07 Jason Merrill <jason@redhat.com>
809
3ff60975
JM
810 * c-common.c (max_tinst_depth): Lower default to 900.
811
6976ae51
JM
812 * c-format.c (gcc_cxxdiag_char_table): Add 'S' format.
813
009db074
RG
8142011-06-07 Richard Guenther <rguenther@suse.de>
815
816 * c-common.c (c_common_nodes_and_builtins): Do not set
817 size_type_node or call set_sizetype.
818
b4592b92
DS
8192011-06-07 Dodji Seketeli <dodji@redhat.com>
820
821 PR debug/49130
822 * c-pretty-print.c (pp_c_integer_constant): Consider the canonical
9faeb493 823 type when using pointer comparison to compare types.
b4592b92 824
014ab419
JW
8252011-06-02 Jonathan Wakely <jwakely.gcc@gmail.com>
826
827 * c.opt: Add -Wdelete-non-virtual-dtor.
828 * c-opts.c (c_common_handle_option): Include it in -Wall.
829
4f60111f
NF
8302011-05-30 Nathan Froyd <froydnj@gcc.gnu.org>
831
832 PR bootstrap/49190
833
834 Revert:
835 2011-05-26 Nathan Froyd <froydnj@codesourcery.com>
836
837 * c-common.h (struct c_common_identifier): Inherit from tree_typed,
838 not tree_common.
839
4cc4f2f4
JJ
8402011-05-27 Jakub Jelinek <jakub@redhat.com>
841
842 PR c++/49165
843 * c-common.c (c_common_truthvalue_conversion) <case COND_EXPR>: For
844 C++ don't call c_common_truthvalue_conversion on void type arms.
845
38e01f9e
NF
8462011-05-27 Nathan Froyd <froydnj@codesourcery.com>
847
848 * c-common.h (struct stmt_tree_s) [x_cur_stmt_list]: Change to a VEC.
849 (stmt_list_stack): Define.
850 (cur_stmt_list): Adjust for new type of x_cur_stmt_list.
851 * c-semantics.c (push_stmt_list, pop_stmt_list): Likewise.
852
92e948a8
NF
8532011-05-26 Nathan Froyd <froydnj@codesourcery.com>
854
855 * c-common.c (warning_candidate_p): Check for BLOCKs.
856
a2fc3e63
NF
8572011-05-26 Nathan Froyd <froydnj@codesourcery.com>
858
859 * c-common.h (struct c_common_identifier): Inherit from tree_typed,
860 not tree_common.
861
0957c029
JJ
8622011-05-25 Jakub Jelinek <jakub@redhat.com>
863
864 * c-common.c (def_fn_type): Remove extra va_end.
865
828fb3ba
JM
8662011-05-23 Jason Merrill <jason@redhat.com>
867
868 PR c++/48106
869 * c-common.c (c_common_get_narrower): New.
870 (shorten_binary_op, shorten_compare, warn_for_sign_compare): Use it.
871
dde05067
NF
8722011-05-23 Nathan Froyd <froydnj@codesourcery.com>
873
874 * c-common.h (check_function_arguments): Tweak prototype of
875 check_function_arguments.
876 * c-common.c (check_function_arguments): Likewise. Adjust
877 calls to check_function_nonnull, check_function_format, and
878 check_function_sentinel.
879 (check_function_sentinel): Take a FUNCTION_TYPE rather than
880 separate attributes and typelist arguments. Use
881 FOREACH_FUNCTION_ARGS to iterate over argument types.
882
3c0d13bf
PC
8832011-05-15 Paolo Carlini <paolo.carlini@oracle.com>
884
885 * c-common.c (c_common_reswords): Reorder.
886 * c-common.h (rid): Likewise.
887
8242dd04
NF
8882011-05-10 Nathan Froyd <froydnj@codesourcery.com>
889
890 * c-common.c (def_fn_type): Don't call build_function_type, call
891 build_function_type_array or build_varargs_function_type_array
892 instead.
893 (c_common_nodes_and_builtins): Likewise.
894
3d528853
NF
8952011-05-05 Nathan Froyd <froydnj@codesourcery.com>
896
897 * c-common.c (c_add_case_label): Omit the loc argument to
898 build_case_label.
899 * c-common.h (build_case_label): Remove.
900 * c-semantics.c (build_case_label): Remove.
901
a04a722b
JM
9022011-05-05 Joseph Myers <joseph@codesourcery.com>
903
904 * c-objc.h (objc_start_method_definition): Update prototype.
905 * stub-objc.c (objc_start_method_definition): Add extra parameter.
906
e19a18d4
NF
9072011-05-04 Nathan Froyd <froydnj@codesourcery.com>
908
909 * c-common.c (check_main_parameter_types): Reindent. Don't use
910 TYPE_ARG_TYPES directly.
911 (handle_nonnull_attribute): Likewise.
912 (sync_resolve_params): Likewise.
913 * c-format.c (handle_format_arg_attribute): Likewise. Adjust call
914 to check_format_string.
915 (handle_format_attribute): Likewise.
916 (check_format_string): Take a function type to examine instead of
917 a type list. Use a function_arg_iterator to step through argument
918 types.
919
c62c040f
RG
9202011-05-04 Richard Guenther <rguenther@suse.de>
921
922 * c-common.c (fix_string_type): Use size_int for index type bounds.
923 (start_fname_decls): Do not pass NULL to build_int_cst.
924 (c_init_attributes): Likewise.
925 * c-lex.c (c_lex_with_flags): Likewise.
926
c12ff9d8
JM
9272011-04-27 Jason Merrill <jason@redhat.com>
928
929 * c-common.c (make_tree_vector_from_list): New.
930 * c-common.h: Declare it.
931
304dfbe3
RG
9322011-04-26 Richard Guenther <rguenther@suse.de>
933
934 PR preprocessor/48248
935 * c-ppoutput.c (maybe_print_line): Always optimize newlines
936 for output size with -P.
937
3c0d13bf
PC
9382011-04-25 Paolo Carlini <paolo.carlini@oracle.com>
939
940 * c-common.c (struct c_common_resword): Add __underlying_type.
941 * c-common.h (enum rid): Add RID_UNDERLYING_TYPE.
942
04695783
JM
9432011-04-20 Jim Meyering <meyering@redhat.com>
944
945 * c-format.c (init_dollar_format_checking): Remove useless
946 if-before-free.
947
0dc33c3c
NP
9482011-04-15 Nicola Pero <nicola.pero@meta-innovation.com>
949
950 * c-objc.h (objc_get_interface_ivars): Removed.
3c0d13bf 951 (objc_detect_field_duplicates): New.
0dc33c3c 952 * stub-objc.c: Likewise.
3c0d13bf 953
c59633d9
NP
9542011-04-14 Nicola Pero <nicola.pero@meta-innovation.com>
955
956 * stub-objc.c (objc_declare_protocols): Renamed to
957 objc_declare_protocol.
958 * c-objc.h: Likewise.
3c0d13bf 959
32dabdaf
NP
9602011-04-14 Nicola Pero <nicola.pero@meta-innovation.com>
961
962 * stub-objc.c (objc_declare_class): Updated argument name.
963
81f653d6
NF
9642011-04-12 Nathan Froyd <froydnj@codesourcery.com>
965
966 * c-common.h (c_common_init_ts): Declare.
967 * c-common.c (c_common_init_ts): Define.
968
eb345401
NP
9692011-04-12 Nicola Pero <nicola.pero@meta-innovation.com>
970
971 * c-objc.h (objc_build_message_expr): Updated prototype.
972 * stub-objc.c (objc_build_message_expr): Likewise.
9faeb493 973
a358e188
MJ
9742011-04-12 Martin Jambor <mjambor@suse.cz>
975
976 * c-gimplify.c (c_genericize): Call cgraph_get_create_node instead
977 of cgraph_node.
978
e6313a78
RG
9792011-04-11 Richard Guenther <rguenther@suse.de>
980
981 * c-common.c (complete_array_type): Build a range type of
982 proper type.
983
dcf0c47e
NF
9842011-04-08 Nathan Froyd <froydnj@codesourcery.com>
985
986 * c-common.c (handle_sentinel_attribute): Don't use TYPE_ARG_TYPES.
987 (handle_type_generic_attribute): Likewise.
988
1ee44b26
JM
9892011-04-07 Jason Merrill <jason@redhat.com>
990
991 PR c++/48450
992 * c-common.c (c_common_truthvalue_conversion): Don't ignore
993 conversion from C++0x scoped enum.
994
acce4e77
JM
9952011-04-06 Joseph Myers <joseph@codesourcery.com>
996
997 * c-target-def.h: New file.
998 * c-target.def: New file.
999 * c-target.h: New file.
1000 * c-common.c (targetcm): Don't define here.
1001 * c-common.h (default_handle_c_option): Declare.
1002 * c-format.c: Include c-target.h instead of target.h.
1003 * c-opts.c: Include c-target.h instead of target.h. Explicitly
1004 include tm.h.
1005 (default_handle_c_option): Move from targhooks.c.
1006
e2eefb55
JJ
10072011-03-29 Jakub Jelinek <jakub@redhat.com>
1008
1009 PR preprocessor/48248
1010 * c-ppoutput.c (print): Add src_file field.
1011 (init_pp_output): Initialize it.
1012 (maybe_print_line): Don't optimize by adding up to 8 newlines
1013 if map->to_file and print.src_file are different file.
1014 (print_line): Update print.src_file.
1015
ba78087b
KT
10162011-03-25 Kai Tietz <ktietz@redhat.com>
1017
1018 * c-ada-spec.c (compare_comment): Use filename_cmp
1019 instead of strcmp for filename.
1020
0edf1bb2
JL
10212011-03-25 Jeff Law <law@redhat.com>
1022
1023 * c-family/c-common.c (def_fn_type): Add missing va_end.
1024
c7dc8804
JM
10252011-03-25 Jason Merrill <jason@redhat.com>
1026
1027 * c.opt: Add -std=c++03.
1028
d1d879b1
EB
10292011-03-22 Eric Botcazou <ebotcazou@adacore.com>
1030
1031 * c-ada-spec.c (dump_ada_template): Skip non-class instances.
1032
62d784f7
KT
10332011-03-17 Kai Tietz
1034
1035 PR target/12171
5050afdf
KT
1036 * c-pretty-print.c (pp_c_specifier_qualifier_list):
1037 Display allowed attributes for function pointer types.
1038 (pp_c_attributes_display): New function to display
1039 attributes having affects_type_identity flag set to true.
1040 * c-pretty-print.h (pp_c_attributes_display): New prototype.
1041
62d784f7
KT
1042 * c-common.c (c_common_attribute_table):
1043 Add new element.
1044 (c_common_format_attribute_table): Likewise.
1045
82d37118
JM
10462011-03-18 Jason Merrill <jason@redhat.com>
1047
49a000c3
JM
1048 * c.opt (fconstexpr-depth): Add Var(max_constexpr_depth).
1049 * c-common.h: Don't declare it here.
1050 * c-common.c: Or define it here.
1051 * c-opts.c (c_common_handle_option): Or set it here.
1052
82d37118
JM
1053 PR c++/35315
1054 * c-common.c (handle_transparent_union_attribute): Don't
1055 make a duplicate type in C++.
1056
17bc631c
JM
10572011-03-15 Jason Merrill <jason@redhat.com>
1058
1059 * c-common.c (max_constexpr_depth): New.
1060 * c-common.h: Declare it.
1061 * c-opts.c (c_common_handle_option): Set it.
1062 * c.opt (fconstexpr-depth): New option.
1063
1b9b91a6
JM
10642011-03-11 Jason Merrill <jason@redhat.com>
1065
f231b5ff
JM
1066 * c-common.c (attribute_takes_identifier_p): Add missing const.
1067
1b9b91a6
JM
1068 PR c++/46803
1069 * c-common.c (attribute_takes_identifier_p): Assume that an
1070 unknown attribute takes an identifier.
1071
a19e4d44
NF
10722011-03-07 Nathan Froyd <froydnj@codesourcery.com>
1073
1074 PR c/47786
1075 * c-common.c (c_type_hash): Call list_length instead of iterating
1076 through DECL_CHAIN. Rename 'i' to 'n_elements'.
1077
982d62f6
JJ
10782011-02-19 Jakub Jelinek <jakub@redhat.com>
1079
1080 PR c/47809
1081 * c-common.c (c_fully_fold_internal): Handle VIEW_CONVERT_EXPR.
1082
0a256240
NP
10832011-02-17 Iain Sandoe <iains@gcc.gnu.org>
1084
1085 * c.opt (fobjc-abi-version=) New.
1086 (fobjc-nilcheck): New.
1087
ba9e6dd5
NF
10882011-02-03 Nathan Froyd <froydnj@codesourcery.com>
1089
1090 PR c++/46890
1091 * c-common.h (keyword_is_decl_specifier): Declare.
1092 * c-common.c (keyword_is_decl_specifier): Define.
1093 (keyword_is_function_specifier): New function.
1094
7273813a
JJ
10952011-01-26 Jakub Jelinek <jakub@redhat.com>
1096
1097 PR c/47473
1098 * c-lex.c (interpret_float): If CPP_N_IMAGINARY, ensure
1099 EXCESS_PRECISION_EXPR is created with COMPLEX_TYPE instead of
1100 REAL_TYPE.
1101
908ef79b
AC
11022011-01-26 Arnaud Charlet <charlet@adacore.com>
1103
1104 * c-ada-spec.c (dump_generic_ada_node): Avoid dereferencing null type.
1105
237e9384
JJ
11062011-01-26 Jakub Jelinek <jakub@redhat.com>
1107
1108 PR pch/47430
1109 * c-opts.c (c_common_post_options): Call c_common_no_more_pch
1110 after init_c_lex if pch_file is set.
1111
47ea1edf
DK
11122011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
1113
d4dba752 1114 PR c++/43601
47ea1edf
DK
1115 * c.opt (-fkeep-inline-dllexport): New switch.
1116
2aa9c6ae
RG
11172011-01-12 Richard Guenther <rguenther@suse.de>
1118
1119 PR middle-end/32511
1120 * c-common.c (handle_weak_attribute): Warn instead of error
1121 on declaring an inline function weak.
1122
7bd11157
TT
11232011-01-05 Tom Tromey <tromey@redhat.com>
1124
1125 * c-common.h (lvalue_error): Update.
1126 * c-common.c (lvalue_error): Add 'loc' argument. Call error_at,
1127 not error.
1128
0e66e494 11292010-12-29 Nicola Pero <nicola.pero@meta-innovation.com>
9faeb493 1130
b4f588c4
NP
1131 PR objc/47075
1132 * c-objc.h (objc_finish_message_expr): Added argument to
1133 prototype.
1134
f4da8dce
NF
11352010-12-22 Nathan Froyd <froydnj@codesourcery.com>
1136
1137 * c-common.c (handle_nonnull_attribute, handle_sentinel_attribute):
1138 Use prototype_p.
1139
46270f14
NP
11402010-12-18 Nicola Pero <nicola.pero@meta-innovation.com>
1141
1142 * c-objc.h (objc_maybe_warn_exceptions): New.
9faeb493 1143 * stub-objc.c (objc_maybe_warn_exceptions): New.
46270f14 1144
4816c593
NF
11452010-12-10 Nathan Froyd <froydnj@codesourcery.com>
1146
1147 * c-common.h (readonly_error): Declare.
1148 * c-common.c (readonly_error): Define.
1149
7a6daeb0
NF
11502010-12-09 Nathan Froyd <froydnj@codesourcery.com>
1151
1152 * c-common.h (invalid_indirection_error): Declare.
1153 * c-common.c (invalid_indirection_error): Define.
1154
892f6119
RG
11552010-12-03 Richard Guenther <rguenther@suse.de>
1156
1157 PR c/46745
1158 * c-pretty-print.c (pp_c_postfix_expression): Handle MEM_REF.
1159 (pp_c_unary_expression): Likewise.
1160 (pp_c_expression): Likewise.
1161
6c39e757
NP
11622010-11-30 Nicola Pero <nicola.pero@meta-innovation.com>
1163
1164 * c-common.h (objc_finish_function): New.
1165 (objc_non_volatilized_type): Removed.
1166 (objc_type_quals_match): Removed.
1167 * stub-objc.c (objc_finish_function): New.
1168 (objc_non_volatilized_type): Removed.
1169 (objc_type_quals_match): Removed.
9faeb493 1170
7c475d11
JM
11712010-11-30 Joseph Myers <joseph@codesourcery.com>
1172
1173 * c-common.h (parse_optimize_options): Declare.
1174 * c-cppbuiltin.c, c-format.c, c-gimplify.c, c-lex.c, c-omp.c,
1175 c-pch.c, c-pragma.c, c-semantics.c: Don't include toplev.h.
1176
71f3e391
JM
11772010-11-29 Joseph Myers <joseph@codesourcery.com>
1178
1179 * c-opts.c (check_deps_environment_vars): Use getenv instead of
1180 GET_ENVIRONMENT.
1181 * c-pch.c (O_BINARY): Don't define here.
1182 * c-pragma.h: Include "cpplib.h" instead of <cpplib.h>.
1183
d5fabb58
JM
11842010-11-25 Joseph Myers <joseph@codesourcery.com>
1185
1186 * c-cppbuiltin.c (c_cpp_builtins): Pass &global_options to
1187 targetm.except_unwind_info.
1188
299404a1
JM
11892010-11-23 Joseph Myers <joseph@codesourcery.com>
1190
1191 * c-opts.c (c_common_handle_option): Pass location to
1192 set_struct_debug_option.
1193
c98cd5bf
JM
11942010-11-23 Joseph Myers <joseph@codesourcery.com>
1195
1196 * c-common.c (visibility_options): Move from ../opts.c.
1197 * c-common.h (struct visibility_flags, visibility_options):
1198 Declare here.
1199 * c-opts.c (finish_options): Rename to c_finish_options.
1200 (c_common_init): Update call to finish_options.
1201
a9546771
NP
12022010-11-22 Nicola Pero <nicola.pero@meta-innovation.com>
1203
1204 PR objc/34033
1205 * c-lex.c (lex_string): Check that each string in an Objective-C
1206 string concat sequence starts with either one or zero '@', and
1207 that there are no spurious '@' signs at the end.
1208
24a57808
JM
12092010-11-20 Joseph Myers <joseph@codesourcery.com>
1210
1211 * c-pragma.c: Remove conditionals on HANDLE_PRAGMA_PACK,
1212 HANDLE_PRAGMA_PACK_PUSH_POP, HANDLE_PRAGMA_WEAK and
1213 HANDLE_PRAGMA_VISIBILITY.
1214 * c-pragma.h (HANDLE_PRAGMA_WEAK, HANDLE_PRAGMA_PACK,
1215 HANDLE_PRAGMA_VISIBILITY): Don't define.
1216 (HANDLE_SYSV_PRAGMA, HANDLE_PRAGMA_PACK_PUSH_POP): Don't test.
1217
a9aa2c3a
NF
12182010-11-20 Nathan Froyd <froydnj@codesourcery.com>
1219
1220 PR c++/16189
1221 PR c++/36888
1222 PR c++/45331
1223 * c-common.h (keyword_begins_type_specifier): Declare.
1224 (keyword_is_storage_class_specifier): Declare.
1225 (keyword_is_type_qualifier): Declare.
1226 * c-common.c (keyword_begins_type_specifier): New function.
1227 (keyword_is_storage_class_specifier): New function.
1228 (keyword_is_type_qualifier): Declare.
1229
5386338c
JM
12302010-11-19 Joseph Myers <joseph@codesourcery.com>
1231
1232 PR c/46547
1233 * c-common.c (in_late_binary_op): Define.
1234 (c_common_truthvalue_conversion): Check in_late_binary_op before
1235 calling c_save_expr.
1236 * c-common.h (in_late_binary_op): Declare.
1237
69ccdddb
JM
12382010-11-19 Joseph Myers <joseph@codesourcery.com>
1239
1240 * c-opts.c (c_common_handle_option): Update calls to
1241 set_struct_debug_option.
1242
6b192a09
NP
12432010-11-19 Nicola Pero <nicola.pero@meta-innovation.com>
1244
1245 * c-common.h (objc_declare_protocols): Added additional argument.
1246 * stub-objc.c (objc_declare_protocol): Same change.
9faeb493 1247
fb52b50a
NF
12482010-11-18 Nathan Froyd <froydnj@codesourcery.com>
1249
1250 PR c/33193
1251 * c-common.h (build_real_imag_expr): Declare.
1252 * c-semantics.c (build_real_imag_expr): Define.
1253
b37421c6
JM
12542010-11-17 Joseph Myers <joseph@codesourcery.com>
1255
1256 * c-opts.c (c_common_parse_file): Take no arguments.
1257 * c-common.h (c_common_parse_file): Update prototype.
1258
07078664
JJ
12592010-11-16 Jakub Jelinek <jakub@redhat.com>
1260
1261 PR c++/46401
1262 * c-common.c (warning_candidate_p): Don't track non-const calls
1263 or STRING_CSTs.
1264
c6a13190
ILT
12652010-11-15 Ian Lance Taylor <iant@google.com>
1266
1267 * c-lex.c (init_c_lex): Set macro debug callbacks if
1268 flag_dump_go_spec is set.
1269
925e8657
NP
12702010-11-15 Nicola Pero <nicola.pero@meta-innovation.com>
1271
1272 * c-common.h (objc_build_incr_expr_for_property_ref): New.
1273 * stub-objc.c (objc_build_incr_expr_for_property_ref): New.
1274
bb0a9581
NF
12752010-11-15 Nathan Froyd <froydnj@codesourcery.com>
1276
1277 PR preprocessor/45038
1278 * c-cppbuiltin.c (c_cpp_builtins): Use different format for C++
1279 dialects.
1280
c5fa0890
JM
12812010-11-12 Joseph Myers <joseph@codesourcery.com>
1282
1283 * c-common.h (c_family_lang_mask): Declare.
1284 * c-opts.c (c_family_lang_mask): Make extern.
1285 * c-pragma.c (handle_pragma_diagnostic): Use
1286 control_warning_option.
1287
a4d8c676
JM
12882010-11-12 Joseph Myers <joseph@codesourcery.com>
1289
1290 * c-common.c (parse_optimize_options): Update call to
1291 decode_options.
1292 * c-common.h (c_common_handle_option): Update prototype.
1293 * c-opts.c (c_common_handle_option): Take location_t parameter and
1294 pass it to other functions.
1295
f954bd2c
JM
12962010-11-11 Joseph Myers <joseph@codesourcery.com>
1297
1298 * c-opts.c (warning_as_error_callback): Remove.
1299 (c_common_initialize_diagnostics): Don't call
1300 register_warning_as_error_callback.
1301 (c_common_handle_option): Handle -Werror=normalized= here.
1302
d8a07487
JM
13032010-11-10 Joseph Myers <joseph@codesourcery.com>
1304
1305 * c-common.c (handle_mode_attribute): Use %' and word "signedness"
1306 in diagnostic.
1307 * c-opts.c (c_common_parse_file): Start diagnostics with lowercase
1308 letter.
1309 * c-pragma.c (handle_pragma_target, handle_pragma_optimize):
1310 Remove trailing '.' from diagnostics.
1311 * c.opt (Wwrite-strings_: Avoid '`' in help text.
1312
d5478783
JM
13132010-11-10 Joseph Myers <joseph@codesourcery.com>
1314
1315 * c-common.c (parse_optimize_options): Pass global_dc to
1316 decode_options.
1317 * c-opts.c (c_common_handle_option): Pass &global_options to
1318 set_Wstrict_aliasing.
1319 * c.opt (v): Don't mark Common or document here.
1320
91ebb981
IS
13212010-11-06 Iain Sandoe <iains@gcc.gnu.org>
1322
1323 PR target/44981
1324 * c-format.c (format_type): New type gcc_objc_string_format_type.
1325 (valid_stringptr_type_p): New.
1326 (handle_format_arg_attribute): Use valid_stringptr_type_p ().
9faeb493 1327 (check_format_string): Pass expected type, use
91ebb981
IS
1328 valid_stringptr_type_p (), check that the format string types are
1329 consistent with the format specification.
1330 (decode_format_attr): Warn if NSString is used outside objective-c.
1331 (format_types_orig): Add NSString.
1332 (format_name): New.
1333 (format_flags): New.
1334 (check_format_arg): Handle format strings requiring an external parser.
1335 first_target_format_type: New variable.
1336 (handle_format_attribute): Set up first_target_format_type, pass the
1337 expected format arg string type to check_format_string().
1338 * c-common.h (FMT_FLAG_PARSE_ARG_CONVERT_EXTERNAL): New flag.
1339 * stub-objc.c (objc_string_ref_type_p): New.
1340 (objc_check_format_arg): New.
1341
bede2adc
NP
13422010-11-04 Nicola Pero <nicola.pero@meta-innovation.com>
1343
9faeb493 1344 Fixed using the Objective-C 2.0 dot-syntax with class names.
bede2adc
NP
1345 * c-common.h (objc_build_class_component_ref): New.
1346 * stub-objc.c (objc_build_class_component_ref): New.
1347
9a179d01
NP
13482010-11-03 Nicola Pero <nicola.pero@meta-innovation.com>
1349
1350 * c.opt (Wproperty-assign-default): New option.
1351
22d8d616
NP
13522010-11-03 Nicola Pero <nicola.pero@meta-innovation.com>
1353
1354 Implemented -fobjc-std=objc1 flag.
1355 * c.opt (fobjc-std=objc1): New option.
1356
2debdb4f
NP
13572010-11-01 Nicola Pero <nicola.pero@meta-innovation.com>
1358
1359 Implemented format and noreturn attributes for Objective-C methods.
1360 * c-common.c (handle_noreturn_attribute): Recognize 'noreturn'
1361 attribute for Objective-C methods.
1362
ec52b111
JM
13632010-10-31 Jason Merrill <jason@redhat.com>
1364
1365 * c-common.c (conversion_warning, warn_for_collisions_1): Use
1366 EXPR_LOC_OR_HERE.
1367
46a88c12
NP
13682010-10-30 Nicola Pero <nicola.pero@meta-innovation.com>
1369
1370 Implemented Objective-C 2.0 @property, @synthesize and @dynamic.
1371 * c-common.h (enum rid): Removed RID_COPIES and RID_IVAR.
1372 (objc_add_property_declaration): Removed arguments for copies and
1373 ivar.
1374 (objc_build_getter_call): Renamed to
1375 objc_maybe_build_component_ref.
1376 (objc_build_setter_call): Renamed to objc_maybe_build_modify_expr.
1377 (objc_is_property_ref): New.
1378 * c-common.c (c_common_reswords): Removed copies and ivar.
1379 * stub-objc.c (objc_add_property_declaration): Removed arguments
1380 for copies and ivar.
1381 (objc_build_getter_call): Renamed to
1382 objc_maybe_build_component_ref.
1383 (objc_build_setter_call): Renamed to objc_maybe_build_modify_expr.
1384 (objc_is_property_ref): New.
9faeb493 1385
1e4bf85b
AC
13862010-10-29 Arnaud Charlet <charlet@adacore.com>
1387 Matthew Gingell <gingell@adacore.com>
1388
1389 * c-ada-spec.c (separate_class_package): New function.
1390 (pp_ada_tree_identifier): Prefix references to C++ classes with the
1391 name of their enclosing package.
1392 (print_ada_declaration): Use separate_class_package.
1393
81f0bab2
JM
13942010-10-27 Jason Merrill <jason@redhat.com>
1395
2b08f2c5
JM
1396 * c-common.c (c_common_reswords): Add __is_literal_type.
1397 * c-common.h (enum rid): Add RID_IS_LITERAL_TYPE.
1398
81f0bab2
JM
1399 * c-common.c (check_case_value): Remove special C++ code.
1400
200290f2
NP
14012010-10-27 Nicola Pero <nicola.pero@meta-innovation.com>
1402
1403 * c-common.h (enum rid): Added RID_READWRITE, RID_ASSIGN,
1404 RID_RETAIN, RID_COPY and RID_NONATOMIC. Updated RID_FIRST_PATTR
1405 and RID_LAST_PATTR.
1406 (objc_add_property_declaration): Added additional arguments.
1407 (objc_property_attribute_kind): Removed.
1408 (objc_set_property_attr): Removed.
1409 * c-common.c (c_common_reswords): Added readwrite, assign, retain,
1410 copy and nonatomic.
1411 * stub-objc.c (objc_add_property_declaration): Added additional
1412 arguments.
1413 (objc_set_property_attr): Removed.
9faeb493 1414
f614132b
NP
14152010-10-27 Nicola Pero <nicola.pero@meta-innovation.com>
1416
1417 * c-common.h (objc_add_property_variable): Renamed to
1418 objc_add_property_declaration. Added location argument.
1419 * stub-objc.c (objc_add_property_variable): Same change.
1420
b8a18805
NP
14212010-10-23 Nicola Pero <nicola.pero@meta-innovation.com>
1422
1423 * c-common.h (objc_maybe_printable_name): New.
1424 * stub-objc.c (objc_maybe_printable_name): New.
1425
30cd1c5d
AS
14262010-10-22 Artjoms Sinkarovs <artyom.shinakroff@gmail.com>
1427 Andrew Pinski <pinskia@gmail.com>
1428
1429 * c-common.h (c_common_mark_addressable_vec): Declare.
1430 * c-common.c (c_common_mark_addressable_vec): New function.
1431
249a82c4
NP
14322010-10-20 Nicola Pero <nicola.pero@meta-innovation.com>
1433
1434 * c-common.h (objc_set_method_type): Removed.
1435 (objc_add_method_declaration): Added boolean argument.
1436 (objc_start_method_definition): Same change.
1437 (objc_build_method_signature): Same change.
1438 * stub-objc.c (objc_set_method_type): Removed.
1439 (objc_add_method_declaration): Added boolean argument.
1440 (objc_start_method_definition): Same change.
1441 (objc_build_method_signature): Same change.
1442
977e30bc
NP
14432010-10-20 Nicola Pero <nicola.pero@meta-innovation.com>
1444
1445 * c-common.h (finish_file): Removed.
1446 (objc_write_global_declarations): New.
1447 * c-opts.c (c_common_parse_file): Do not call finish_file.
1448 * stub-objc.c (objc_write_global_declarations): New.
9faeb493 1449
da57d1b9
NP
14502010-10-18 Nicola Pero <nicola.pero@meta-innovation.com>
1451
1452 Implemented parsing @synthesize and @dynamic for
1453 Objective-C/Objective-C++.
1454 * c-common.h (enum rid): Add RID_AT_SYNTHESIZE and RID_AT_DYNAMIC.
1455 (objc_add_synthesize_declaration): New.
1456 (objc_add_dynamic_declaration): New.
1457 * c-common.c (c_common_reswords): Add synthesize and dynamic.
1458 * stub-objc.c (objc_add_synthesize_declaration): New.
1459 (objc_add_dynamic_declaration): New.
9faeb493 1460
0069111f
MM
14612010-10-18 Michael Meissner <meissner@linux.vnet.ibm.com>
1462
1463 PR target/46041
1464 * c-cppbuiltin.c (mode_has_fma): Move function here from
1465 builtins.c. Don't use the fma optab, instead just use the
1466 HAVE_fma* macros, so that __FP_FAST_FMA* will be defined when
1467 using -save-temps.
1468
e426b47b
NP
14692010-10-18 Nicola Pero <nicola.pero@meta-innovation.com>
1470
1471 Merge from 'apple/trunk' branch on FSF servers.
0069111f 1472
e426b47b
NP
1473 2005-11-08 Fariborz Jahanian <fjahanian@apple.com>
1474
9faeb493 1475 Radar 4330422
e426b47b
NP
1476 * c-common.h (objc_non_volatilized_type): New declaration
1477 * stub-objc.c (objc_non_volatilized_type): New stub.
1478
90fbfdc3
NP
14792010-10-17 Nicola Pero <nicola.pero@meta-innovation.com>
1480
e426b47b 1481 Merge from 'apple/trunk' branch on FSF servers.
90fbfdc3
NP
1482
1483 2006-03-27 Fariborz Jahanian <fjahanian@apple.com>
1484
9faeb493 1485 Radar 4133425
90fbfdc3 1486 * c-common.h (objc_diagnose_private_ivar): New decl.
0069111f 1487 * stub-objc.c (objc_diagnose_private_ivar): New stub.
90fbfdc3 1488
c37d8c30
IS
14892010-10-17 Iain Sandoe <iains@gcc.gnu.org>
1490
1491 * c-common.c (c_common_reswords): Add package, RID_AT_PACKAGE.
1492 * c-common.h (enum rid): Add RID_AT_PACKAGE.
1493 (objc_ivar_visibility_kind): New enum.
1494 (objc_set_visibility): Adjust prototype to use visibility enum.
0069111f 1495 * stub-objc.c (objc_set_visibility): Adjust stub to use
c37d8c30
IS
1496 visibility enum.
1497
1b1562a5
MM
14982010-10-14 Michael Meissner <meissner@linux.vnet.ibm.com>
1499
1500 * c-cppbuiltin.c (builtin_define_float_constants): Emit
1501 __FP_FAST_FMA, __FP_FAST_FMAF, and __FP_FAST_FMAL if the machine
1502 has the appropriate fma builtins.
1503 (c_cpp_builtins): Adjust call to builtin_define_float_constants.
1504
668ea4b1
IS
15052010-10-14 Iain Sandoe <iains@gcc.gnu.org>
1506
1b1562a5 1507 merge from FSF apple 'trunk' branch.
668ea4b1 1508 2006 Fariborz Jahanian <fjahanian@apple.com>
1b1562a5 1509
668ea4b1
IS
1510 Radars 4436866, 4505126, 4506903, 4517826
1511 * c-common.c (c_common_resword): Define @property and its attributes.
1512 * c-common.h: Define property attribute enum entries.
1513 (OBJC_IS_PATTR_KEYWORD): New.
1514 (objc_property_attribute_kind): New enum.
1515 Declare objc_set_property_attr (), objc_add_property_variable (),
1516 objc_build_getter_call () and objc_build_setter_call ().
1517 * stub-objc.c (objc_set_property_attr): New stub.
1518 (objc_add_property_variable): Likewise.
1519 (objc_build_getter_call): Likewise.
1520 (objc_build_setter_call) Likewise.
1b1562a5 1521
a1178b30
IS
15222010-10-13 Iain Sandoe <iains@gcc.gnu.org>
1523
1b1562a5 1524 merge from FSF apple 'trunk' branch.
a1178b30
IS
1525 2006-04-26 Fariborz Jahanian <fjahanian@apple.com>
1526
1527 Radar 3803157 (method attributes)
1528 * c-common.c (handle_deprecated_attribute): Recognize
1529 objc methods as valid declarations.
1530 * c-common.h: Declare objc_method_decl ().
1b1562a5 1531 * stub-objc.c (objc_method_decl): New stub.
a1178b30 1532
a75bfaa6
JM
15332010-10-08 Joseph Myers <joseph@codesourcery.com>
1534
1535 * c-common.c (parse_optimize_options): Call
1536 decode_cmdline_options_to_array_default_mask before
1537 decode_options. Update arguments to decode_options.
1538 * c-common.h (c_common_init_options_struct): Declare.
1539 * c-opts.c (c_common_init_options_struct): New. Split out from
1540 c_common_init_options.
1541
f05b9d93
NP
15422010-10-06 Nicola Pero <nicola.pero@meta-innovation.com>
1543
1544 Implemented fast enumeration for Objective-C.
1545 * c-common.h (objc_finish_foreach_loop): New.
1546 * stub-objc.c (objc_finish_foreach_loop): New.
1547
1ebe4b4f
JM
15482010-10-05 Joseph Myers <joseph@codesourcery.com>
1549
1550 * c-common.h (struct diagnostic_context): Don't declare here.
1551 (c_common_initialize_diagnostics): Declare using
1552 diagnostic_context typedef.
1553 * c-opts.c (c_common_handle_option): Pass global_dc to
1554 handle_generated_option.
1555
d4d24ba4
JM
15562010-10-04 Joseph Myers <joseph@codesourcery.com>
1557
1558 * c-opts.c (c_common_handle_option): Pass &global_options_set to
1559 handle_generated_option.
1560
478a1c5b
ILT
15612010-10-03 Ian Lance Taylor <iant@google.com>
1562
1563 * c.opt (-fplan9-extensions): New option.
1564
82a1c2fe
FXC
15652010-10-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
1566
1567 * c-cppbuiltin.c (define__GNUC__, builtin_define_type_precision):
1568 Remove.
1569 (c_cpp_builtins): Call functions from cppbuiltin.c instead
1570 of duplicating code.
1571
92902b1b
IS
15722010-09-30 Iain Sandoe <iains@gcc.gnu.org>
1573
1574 * c-common.c: Add two new entries for @optional
1575 and @required keywords.
1576
1577 merge from FSF 'apple/trunk' branch.
1578 2006-01-30 Fariborz Jahanian <fjahanian@apple.com>
1579
1580 Radar 4386773
1581 * c-common.h (RID_AT_OPTIONAL, RID_AT_REQUIRED): Two new
1582 objective-c keywords.
1583 (objc_set_method_opt): New declaration.
1584 * stub-objc.c (objc_set_method_opt): New stub.
9faeb493 1585
46625112
JM
15862010-09-30 Joseph Myers <joseph@codesourcery.com>
1587
1588 * c-common.c (handle_optimize_attribute): Pass &global_options to
1589 cl_optimization_save and cl_optimization_restore.
1590 * c-opts.c (c_common_handle_option): Pass &global_options to
1591 handle_generated_option.
1592 * c-pragma.c (handle_pragma_diagnostic): Use option_flag_var.
1593 (handle_pragma_pop_options, handle_pragma_reset_options): Pass
1594 &global_options to cl_optimization_restore.
1595
49b91f05
NP
15962010-09-30 Nicola Pero <nicola.pero@meta-innovation.com>
1597
1598 * c-lex.c (c_lex_with_flags): Updated comments for CPP_AT_NAME
1599 Objective-C/Objective-C++ keywords.
1600
13ed556f 16012010-09-29 Nicola Pero <nicola.pero@meta-innovation.com>
a6341d57 1602
9faeb493
UB
1603 Merge from 'apple/trunk' branch on FSF servers.
1604
a6341d57
NP
1605 2005-10-04 Fariborz Jahanian <fjahanian@apple.com>
1606
1607 Radar 4281748
1608 * c-common.h (objc_check_global_decl): New declaration.
1609 * stub-objc.c (objc_check_global_decl): New stub.
1610
f0036cca
JM
16112010-09-29 Joseph Myers <joseph@codesourcery.com>
1612
1613 * c.opt: Don't use VarExists.
1614
e3339d0f
JM
16152010-09-29 Joseph Myers <joseph@codesourcery.com>
1616
1617 * c-common.c (c_cpp_error): Update names of diagnostic_context
1618 members.
1619 * c-cppbuiltin.c (c_cpp_builtins_optimize_pragma): Update names of
1620 cl_optimization members.
1621 * c-opts.c (warning_as_error_callback, c_common_handle_option,
1622 sanitize_cpp_opts, finish_options): Update names of cpp_options
1623 members.
1624
1973201f
NP
16252010-09-29 Nicola Pero <nicola.pero@meta-innovation.com>
1626
1627 * c-common.h (OBJC_IS_CXX_KEYWORD): New macro. Updated comments.
1628 (objc_is_reserved_word): Removed.
1629 * c-common.c: Updated comments.
1630 * c-lex.c (c_lex_with_flags): Use OBJC_IS_CXX_KEYWORD instead of
1631 objc_is_reserved_word.
1632 * stub-objc.c (objc_is_reserved_word): Removed.
1633
f7e71da5
IS
16342010-09-28 Iain Sandoe <iains@gcc.gnu.org>
1635
9faeb493 1636 * c-common.h (objc_add_method_declaration): Adjust prototype to
f7e71da5
IS
1637 include attributes.
1638 (objc_start_method_definition): Likewise.
1639 (objc_build_keyword_decl): Likewise.
1640 * stub-objc.c:(objc_add_method_declaration): Handle attributes.
1641 (objc_start_method_definition): Likewise.
1642 (objc_build_keyword_decl): Likewise.
1643
c165dca7
IS
16442010-09-28 Iain Sandoe <iains@gcc.gnu.org>
1645
1646 * c-common.h (objc_start_class_interface): Adjust prototype.
1647 (objc_start_category_interface): Likewise.
1648 (objc_start_protocol): Likewise.
1649 * stub-objc.c (objc_start_protocol): Adjust for extra argument.
1650 (objc_start_class_interface): Likewise.
1651 (objc_start_category_interface): Likewise.
1652
7458026b
ILT
16532010-09-27 Ian Lance Taylor <iant@google.com>
1654
1655 * c-common.c (c_common_attribute_table): Add no_split_stack.
1656 (handle_no_split_stack_attribute): New static function.
1657
b581b85b
NP
16582010-09-27 Nicola Pero <nicola.pero@meta-innovation.com>
1659
9faeb493 1660 Merge from 'apple/trunk' branch on FSF servers.
b581b85b
NP
1661
1662 2005-12-15 Fariborz Jahanian <fjahanian@apple.com>
1663
9faeb493 1664 Radar 4229905
b581b85b
NP
1665 * c-common.h (objc_have_common_type): New declaration.
1666 * stub-objc.c (objc_have_common_type): New stub.
1667
1668 2005-06-22 Ziemowit Laski <zlaski@apple.com>
1669
1670 Radar 4154928
1671 * c-common.h (objc_common_type): New prototype.
9faeb493 1672 * stub-objc.c (objc_common_type): New stub.
b581b85b 1673
46a4da10
JH
16742010-09-24 Jan Hubicka <jh@suse.cz>
1675
1676 * c-common.c (handle_leaf_attribute): New function.
1677 (struct attribute_spec c_common_att): Add leaf.
1678
e200444e
JM
16792010-09-22 Joseph Myers <joseph@codesourcery.com>
1680
1681 * c.opt (-all-warnings, -ansi, -assert, -assert=, -comments,
1682 -comments-in-macros, -define-macro, -define-macro=, -dependencies,
1683 -dump, -dump=, -imacros, -imacros=, -include, -include=,
1684 -include-barrier, -include-directory, -include-directory=,
1685 -include-directory-after, -include-directory-after=,
1686 -include-prefix, -include-prefix=, -include-with-prefix,
1687 -include-with-prefix=, -include-with-prefix-after,
1688 -include-with-prefix-after=, -include-with-prefix-before,
1689 -include-with-prefix-before=, -no-integrated-cpp,
1690 -no-line-commands, -no-standard-includes, -no-warnings, -output,
1691 -output=, -pedantic, -pedantic-errors, -preprocess,
1692 -print-missing-file-dependencies, -trace-includes, -traditional,
1693 -traditional-cpp, -trigraphs, -undefine-macro, -undefine-macro=,
1694 -user-dependencies, -verbose, -write-dependencies,
1695 -write-user-dependencies, no-integrated-cpp, traditional): New.
1696
29a80ea6
NP
16972010-09-21 Nicola Pero <nicola.pero@meta-innovation.com>
1698
1699 PR objc/23710
ac1fc2fc
NP
1700 * c-common.h (objc_start_method_definition): Return bool instead
1701 of void.
1702 * stub-objc.c (objc_start_method_definition): Return bool instead
1703 of void.
1704
17052010-09-21 Nicola Pero <nicola.pero@meta-innovation.com>
1706
1707 PR objc/25965
1708 * c-common.h (objc_get_interface_ivars): New declaration.
1709 * stub-objc.c (objc_get_interface_ivars): New stub.
29a80ea6 1710
de621752
ILT
17112010-09-15 Ian Lance Taylor <iant@google.com>
1712
1713 * c-common.c (parse_optimize_options): Do not capitalize warning
06730c5d 1714 messages. Remove period at end of warning message.
de621752 1715
ba885ec5
NS
17162010-09-09 Nathan Sidwell <nathan@codesourcery.com>
1717
1718 * c-common.c (handle_alias_ifunc_attribute): New, broken out of ...
1719 (handle_alias_attribute): ... here.
1720 (handle_ifunc_attribute): New.
1721
c5ee1358
MM
17222010-09-06 Mark Mitchell <mark@codesourcery.com>
1723
1724 * c-common.h (do_warn_double_promotion): Declare.
1725 * c-common.c (do_warn_double_promotion): Define.
1726
0a0b3574
MM
17272010-09-05 Mark Mitchell <mark@codesourcery.com>
1728
1729 * c.opt (Wdouble-promotion): New.
1730
d1779886
JM
17312010-09-02 Joseph Myers <joseph@codesourcery.com>
1732
1733 * c.opt (falt-external-templates, fhuge-objects, fvtable-gc,
1734 fvtable-thunks, fxref): Mark no longer supported in help text.
1735
2d2bd949
JM
17362010-09-02 Joseph Myers <joseph@codesourcery.com>
1737
1738 * c.opt (Wimport, fall-virtual, falt-external-templates,
1739 fdefault-inline, fenum-int-equiv, fexternal-templates,
1740 fguiding-decls, fhonor-std, fhuge-objects, flabels-ok,
1741 fname-mangling-version-, fnew-abi, fnonnull-objects,
1742 foptional-diags, fsquangle, fstrict-prototype, fthis-is-variable,
1743 fvtable-gc, fvtable-thunks, fxref): Mark with Ignore and Warn as
1744 applicable.
1745 (fhandle-exceptions): Mark with Alias and Warn.
1746 * c-opts.c (c_common_handle_option): Don't handle options marked
1747 as ignored.
1748
5de8299c
JM
17492010-09-02 Joseph Myers <joseph@codesourcery.com>
1750
1751 * c.opt (Wcomments, Werror-implicit-function-declaration,
1752 ftemplate-depth-, std=c89, std=c9x, std=gnu89, std=gnu9x,
1753 std=iso9899:1990, std=iso9899:1999, std=iso9899:199x): Mark as
1754 aliases.
1755 * c-common.c (option_codes): Use OPT_Wcomment instead of
1756 OPT_Wcomments.
1757 * c-opts.c (warning_as_error_callback, c_common_handle_option):
1758 Don't handle options marked as aliases.
1759
0ceb0201
RG
17602010-08-25 Richard Guenther <rguenther@suse.de>
1761
1762 * c-common.c (c_common_get_alias_set): Remove special
1763 handling for pointers.
1764
ac47786e
NF
17652010-08-20 Nathan Froyd <froydnj@codesourcery.com>
1766
1767 * c-common.c: Use FOR_EACH_VEC_ELT.
1768 * c-gimplify.c: Likewise.
1769 * c-pragma.c: Likewise.
1770
c878765b
JM
17712010-08-16 Joseph Myers <joseph@codesourcery.com>
1772
1773 * c.opt (MDX): Change back to MD. Mark NoDriverArg instead of
1774 RejectDriver.
1775 (MMDX): Change back to MMD. Mark NoDriverArg instead of
1776 RejectDriver.
1777 * c-opts.c (c_common_handle_option): Use OPT_MD and OPT_MMD
1778 instead of OPT_MDX and OPT_MMDX.
1779
603349bf
JM
17802010-08-16 Joseph Myers <joseph@codesourcery.com>
1781
1782 * c.opt (MDX, MMDX, lang-asm): Mark RejectDriver.
1783
644fa7ac
JM
17842010-08-12 Joseph Myers <joseph@codesourcery.com>
1785
1786 * c.opt (MD, MMD): Change to MDX and MMDX.
1787 * c-opts.c (c_common_handle_option): Use OPT_MMD and OPT_MMDX.
1788
481e1176
JM
17892010-08-11 Joseph Myers <joseph@codesourcery.com>
1790
1791 * c-opts.c (c_common_handle_option): Call handle_generated_option
1792 instead of handle_option.
1793
ac8dc9f7
NF
17942010-08-08 Nathan Froyd <froydnj@codesourcery.com>
1795
1796 * c-pragma.c (add_to_renaming_pragma_list): Fix call to VEC_safe_push.
1797 (maybe_apply_renaming_pragma): Delete unneeded declarations.
1798
4f8c876d
NF
17992010-08-08 Nathan Froyd <froydnj@codesourcery.com>
1800
1801 * c-pragma.c (pending_redefinition): Declare. Declare a VEC of it.
1802 (pending_redefine_extname): Change type to a VEC.
1803 (add_to_renaming_pragma_list): Update for new type of
1804 pending_redefine_extname.
ac8dc9f7 1805 (maybe_apply_renaming_pragma): Likewise.
4f8c876d 1806
3b0c690e
AC
18072010-08-04 Arnaud Charlet <charlet@adacore.com>
1808
1809 * c-ada-spec.c (dump_ada_template): Mark underlying instance type as
1810 visited.
1811 (dump_generic_ada_node): Code clean up. Use TREE_VISITED flag to
1812 decide whether a type has already been declared/seen.
1813 Do not go to the original type.
1814 (dump_nested_types): New parameter forward.
1815 Generate forward declaration if needed and mark type as visited.
1816 (print_ada_declaration): Call dump_nested_types if not already done.
1817 Mark types as visited.
1818
1890bccc
JM
18192010-08-03 Joseph Myers <joseph@codesourcery.com>
1820
1821 * c.opt (-print-pch-checksum): Remove option.
1822 * c-opts.c (c_common_handle_option): Don't handle
1823 OPT_print_pch_checksum.
1824
5f20c657
JM
18252010-07-27 Joseph Myers <joseph@codesourcery.com>
1826
1827 * c-common.h (c_common_handle_option): Update prototype and return
1828 value type.
1829 * c-opts.c (c_common_handle_option): Update prototype and return
1830 value type. Update calls to handle_option and
1831 enable_warning_as_error.
1832
f551f80c
JJ
18332010-07-27 Jakub Jelinek <jakub@redhat.com>
1834
1835 PR c/45079
1836 * c-pretty-print.c (pp_c_expression): Handle C_MAYBE_CONST_EXPR.
1837
61ff2bdc
JM
18382010-07-27 Joseph Myers <joseph@codesourcery.com>
1839
1840 * c-common.h (c_common_missing_argument): Remove.
1841 * c-opts.c (c_common_missing_argument): Remove.
1842 * c.opt (A, D, F, I, MD, MMD, MQ, MT, U, fconstant-string-class=,
1843 idirafter, imacros, include, isysroot, isystem, iquote): Add
1844 MissingArgError.
1845 * c-objc-common.h (LANG_HOOKS_MISSING_ARGUMENT): Remove.
1846
7a9bf9a4
JM
18472010-07-27 Joseph Myers <joseph@codesourcery.com>
1848
1849 * c-common.h (c_common_option_lang_mask,
1850 c_common_initialize_diagnostics, c_common_complain_wrong_lang_p):
1851 New.
1852 (c_common_init_options): Update prototype.
1853 * c-opts.c (c_common_option_lang_mask): New.
1854 (c_common_initialize_diagnostics): Split out of
1855 c_common_init_options.
1856 (accept_all_c_family_options, c_common_complain_wrong_lang_p):
1857 New.
1858 (c_common_init_options): Update prototype. Use decoded options in
1859 search for -lang-asm.
1860
910ad8de
NF
18612010-07-15 Nathan Froyd <froydnj@codesourcery.com>
1862
1863 * c-common.c: Carefully replace TREE_CHAIN with DECL_CHAIN.
1864 * c-format.c: Likewise.
1865
718f9c0f
MLI
18662010-07-08 Manuel López-Ibáñez <manu@gcc.gnu.org>
1867
1868 * c-common.h: Include diagnostic-core.h. Error if already
1869 included.
1870 * c-semantics.c: Do not define GCC_DIAG_STYLE here.
1871
4d451982
MLI
18722010-07-03 Manuel López-Ibáñez <manu@gcc.gnu.org>
1873
1874 * c-family/c-common.c (IN_GCC_FRONTEND): Do not undef.
1875 Do not include expr.h
1876 (vector_mode_valid_p): Move here.
1877
119fe915
SB
18782010-06-21 DJ Delorie <dj@redhat.com>
1879
1880 * c-pragma.c (handle_pragma_diagnostic): Add push/pop,
1881 allow these pragmas anywhere.
1882
18832010-06-14 Jakub Jelinek <jakub@redhat.com>
1884
1885 PR bootstrap/44509
1886 * c-cppbuiltin.c: Include gt-c-family-c-cppbuiltin.h.
1887 (lazy_hex_fp_values, lazy_hex_fp_value_count): Add GTY(()) markers.
1888 (lazy_hex_fp_value, builtin_define_with_hex_fp_value): Use
1889 ggc_strdup instead of xstrdup.
1890
18912010-06-10 Jakub Jelinek <jakub@redhat.com>
1892
1893 * c-cppbuiltin.c: Include cpp-id-data.h.
1894 (lazy_hex_fp_values, lazy_hex_fp_value_count): New variables.
1895 (lazy_hex_fp_value): New function.
1896 (builtin_define_with_hex_fp_value): Provide definitions lazily.
1897
6662d794
MLI
18982010-06-30 Manuel López-Ibáñez <manu@gcc.gnu.org>
1899
1900 * c-gimplify.c: Do not include tree-flow.h
1901
38f8b050
JR
19022010-06-29 Joern Rennecke <joern.rennecke@embecosm.com>
1903
1904 PR other/44034
1905 * c-common.c: Rename targetm member:
1906 targetm.enum_va_list -> targetm.enum_va_list_p
1907
9589f23e
AS
19082010-06-28 Anatoly Sokolov <aesok@post.ru>
1909
1910 * c-common.c (shorten_compare): Adjust call to force_fit_type_double.
1911
3b06d379
SB
19122010-06-28 Steven Bosscher <steven@gcc.gnu.org>
1913
1914 * c-cppbuiltin.c: Do not include except.h.
1915
d166d4c3
AK
19162010-06-24 Andi Kleen <ak@linux.intel.com>
1917
9faeb493
UB
1918 * c-common.c (warn_for_omitted_condop): New.
1919 * c-common.h (warn_for_omitted_condop): Add prototype.
d166d4c3 1920
70cb8be6
JM
19212010-06-21 Joseph Myers <joseph@codesourcery.com>
1922
1923 * c.opt (lang-objc): Remove.
1924 * c-opts.c (c_common_handle_option): Don't handle OPT_lang_objc.
1925
a4c97feb
JR
19262010-06-21 Joern Rennecke <joern.rennecke@embecosm.com>
1927
1928 * c-opts.c: Include "tm_p.h".
1929
6e2f1956
JM
19302010-06-20 Joseph Myers <joseph@codesourcery.com>
1931
1932 * c-common.c (parse_optimize_options): Update call to
1933 decode_options.
1934
bc87224e
NF
19352010-06-18 Nathan Froyd <froydnj@codesourcery.com>
1936
1937 * c-common.c (record_types_used_by_current_var_decl): Adjust for
1938 new type of types_used_by_cur_var_decl.
1939
b49cf425
JR
19402010-06-17 Joern Rennecke <joern.rennecke@embecosm.com>
1941
1942 PR bootstrap/44512
1943 * c-cppbuiltin.c (builtin_define_with_hex_fp_value): Add cast
1944 for C++ standard compliance.
1945
59f9c2ed
JM
19462010-06-16 Jason Merrill <jason@redhat.com>
1947
1948 * c.opt: Add -Wnoexcept.
1949
33766b66
RG
19502010-06-16 Richard Guenther <rguenther@suse.de>
1951
1952 PR c/44555
1953 * c-common.c (c_common_truthvalue_conversion): Remove
1954 premature and wrong optimization concering ADDR_EXPRs.
1955
eff7e30c
AC
19562010-06-15 Arnaud Charlet <charlet@adacore.com>
1957
1958 * c-ada-spec.c (dump_sloc): Remove column info.
1959 (is_simple_enum): New function.
1960 (dump_generic_ada_node, print_ada_declaration): Map C enum types to Ada
1961 enum types when relevant.
1962
6312e84d
MLI
19632010-06-11 Manuel López-Ibáñez <manu@gcc.gnu.org>
1964
9faeb493 1965 * c-common.c (conversion_warning): Warn at expression
6312e84d
MLI
1966 location.
1967
1cb42611
JM
19682010-06-10 Joseph Myers <joseph@codesourcery.com>
1969
1970 * c-opts.c (c_common_handle_option): Don't handle
1971 OPT_fshow_column.
1972
a9429e29
LB
19732010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com>
1974
1975 * c-pragma.c (push_alignment): Use typed GC allocation.
1976 (handle_pragma_push_options): Likewise.
1977
1978 * c-common.c (parse_optimize_options): Likewise.
1979
1980 * c-common.h (struct sorted_fields_type): Add variable_size GTY
1981 option.
1982
5498f011
JM
19832010-06-07 Joseph Myers <joseph@codesourcery.com>
1984
1985 * c-common.c (flag_preprocess_only, flag_undef, flag_no_builtin,
1986 flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
1987 flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
1988 flag_signed_bitfields, warn_strict_null_sentinel,
1989 flag_nil_receivers, flag_zero_link, flag_replace_objc_classes,
1990 flag_gen_declaration, flag_no_gnu_keywords,
1991 flag_implement_inlines, flag_implicit_templates,
1992 flag_implicit_inline_templates, flag_optional_diags,
1993 flag_elide_constructors, flag_default_inline, flag_rtti,
1994 flag_conserve_space, flag_access_control, flag_check_new,
1995 flag_new_for_scope, flag_weak, flag_working_directory,
1996 flag_use_cxa_atexit, flag_use_cxa_get_exception_ptr,
1997 flag_enforce_eh_specs, flag_threadsafe_statics,
1998 flag_pretty_templates): Remove.
1999 * c-common.h (flag_preprocess_only, flag_nil_receivers,
2000 flag_objc_exceptions, flag_objc_sjlj_exceptions, flag_zero_link,
2001 flag_replace_objc_classes, flag_undef, flag_no_builtin,
2002 flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
2003 flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
2004 flag_const_strings, flag_signed_bitfields, flag_gen_declaration,
2005 flag_no_gnu_keywords, flag_implement_inlines,
2006 flag_implicit_templates, flag_implicit_inline_templates,
2007 flag_optional_diags, flag_elide_constructors, flag_default_inline,
2008 flag_rtti, flag_conserve_space, flag_access_control,
2009 flag_check_new, flag_new_for_scope, flag_weak,
2010 flag_working_directory, flag_use_cxa_atexit,
2011 flag_use_cxa_get_exception_ptr, flag_enforce_eh_specs,
2012 flag_threadsafe_statics, flag_pretty_templates,
2013 warn_strict_null_sentinel): Remove.
2014 * c.opt (E, Wstrict-null-sentinel, faccess-control, fasm,
2015 fbuiltin, fcheck-new, fconserve-space, felide-constructors,
2016 fenforce-eh-specs, ffor-scope, fgnu-keywords, fimplement-inlines,
2017 fimplicit-inline-templates, fimplicit-templates,
2018 flax-vector-conversions, fms-extensions, fnil-receivers,
2019 fnonansi-builtins, fpretty-templates, freplace-objc-classes,
2020 frtti, fshort-double, fshort-enums, fshort-wchar,
2021 fsigned-bitfields, fsigned-char, fstats, fthreadsafe-statics,
2022 funsigned-bitfields, funsigned-char, fuse-cxa-atexit,
2023 fuse-cxa-get-exception-ptr, fweak, fworking-directory, fzero-link,
2024 gen-decls, undef): Use Var.
2025 (fdefault-inline, foptional-diags): Document as doing nothing.
2026 * c-opts.c (c_common_handle_option): Remove cases for options now
2027 using Var. Mark ignored options as such.
2028
39dabefd
SB
20292010-06-05 Steven Bosscher <steven@gcc.gnu.org>
2030
9faeb493 2031 * c-common.c: Moved to here from parent directory.
39dabefd
SB
2032 * c-common.def: Likewise.
2033 * c-common.h: Likewise.
2034 * c-cppbuiltin.c: Likewise.
2035 * c-dump.c: Likewise.
2036 * c-format.c: Likewise.
2037 * c-format.h : Likewise.
2038 * c-gimplify.c: Likewise.
2039 * c-lex.c: Likewise.
2040 * c-omp.c: Likewise.
2041 * c.opt: Likewise.
2042 * c-opts.c: Likewise.
2043 * c-pch.c: Likewise.
2044 * c-ppoutput.c: Likewise.
2045 * c-pragma.c: Likewise.
2046 * c-pragma.h: Likewise.
2047 * c-pretty-print.c: Likewise.
2048 * c-pretty-print.h: Likewise.
2049 * c-semantics.c: Likewise.
2050 * stub-objc.c: Likewise.
2051
2052 * c-common.c: Include gt-c-family-c-common.h.
2053 * c-pragma.c: Include gt-c-family-c-pragma.h.
2054\f
04695783 2055Copyright (C) 2010, 2011 Free Software Foundation, Inc.
39dabefd
SB
2056
2057Copying and distribution of this file, with or without modification,
2058are permitted in any medium without royalty provided the copyright
2059notice and this notice are preserved.
This page took 0.846418 seconds and 5 git commands to generate.