OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [c-family/] [ChangeLog] - Blame information for rev 867

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 707 jeremybenn
2012-02-13  Jakub Jelinek  
2
 
3
        PR c++/52215
4
        * c-common.c (sync_resolve_params): Don't decide whether to convert
5
        or not based on TYPE_SIZE comparison, convert whenever arg_type
6
        is unsigned INTEGER_TYPE.
7
 
8
2012-02-06  Paolo Carlini  
9
 
10
        PR c/52118
11
        * c.opt ([Wunused-local-typedefs]): Fix description.
12
 
13
2012-01-24  Mike Stump  
14
 
15
        * c-common.c (c_common_type_for_mode): Match signed/unsigned types
16
        exactly.
17
 
18
2012-01-18  Richard Guenther  
19
 
20
        * c-opts.c (c_common_post_options): Reset LTO flags if
21
        we are about to generate a PCH.
22
 
23
2012-01-17  Paolo Carlini  
24
 
25
        PR c++/51777
26
        * c-pretty-print.c (pp_c_integer_constant): For unsigned constants
27
        use pp_unsigned_wide_integer.
28
 
29
2012-01-10  Richard Guenther  
30
 
31
        PR middle-end/51806
32
        * c-opts.c (c_common_handle_option): Move -Werror handling
33
        to language independent code.
34
 
35
2012-01-05  Richard Guenther  
36
 
37
        PR middle-end/51764
38
        * c.opt (Wmudflap, fmudflap, fmudflapth, fmudflapir): Move here
39
        from common.opt.
40
 
41
2011-12-30  Paolo Carlini  
42
 
43
        PR c++/51316
44
        * c-common.c (c_sizeof_or_alignof_type): In C++ allow for alignof
45
        of array types with an unknown bound.
46
 
47
2011-12-20  Joseph Myers  
48
 
49
        * c-common.c (flag_isoc99): Update comment to refer to C11.
50
        (flag_isoc1x): Change to flag_isoc11.
51
        * c-common.h (flag_isoc99): Update comment to refer to C11.
52
        (flag_isoc1x): Change to flag_isoc11.
53
        * c-cppbuiltin.c (cpp_atomic_builtins): Change comment to refer to
54
        C11.
55
        * c-opts.c (set_std_c1x): Change to set_std_c11.
56
        (c_common_handle_option): Handle OPT_std_c11 and OPT_std_gnu11.
57
        Call set_std_c11.
58
        (set_std_c89, set_std_c99, set_std_c11): Use flag_isoc11.
59
        (set_std_c1): Use CLK_STDC11 and CLK_GNUC11.
60
        * c.opt (std=c1x): Change to std=c11.  Document as non-draft
61
        standard.
62
        (std=c1x, std=iso9899:2011): Add as aliases of std=c11.
63
        (std=gnu1x): Change to std=gnu11.  Refer to non-draft standard.
64
        (std=gnu1x): Make alias of std=gnu11.
65
 
66
2011-12-19  Jason Merrill  
67
 
68
        PR c++/51228
69
        * c-common.c (handle_transparent_union_attribute): Check the first
70
        field if the type is complete.
71
 
72
2011-12-15  Jonathan Wakely  
73
 
74
        PR libstdc++/51365
75
        * c-common.c (RID_IS_FINAL): Add.
76
        * c-common.h (RID_IS_FINAL): Add.
77
 
78
2011-11-30  Iain Sandoe  
79
 
80
        * c.opt (fgnu-runtime): Provide full description.
81
        (fnext-runtime): Likewise.
82
        * c-opts.c (OPT_fgnu_runtime, OPT_fnext_runtime) Remove.
83
 
84
2011-11-28  Andrew MacLeod  
85
 
86
        * c-cpp-builtin.c (cpp_atomic_builtins):New.  Emit all atomic
87
        predefines in one place.  Add LOCK_FREE predefines.
88
        (c_cpp_builtins): Move Legacy HAVE_SYNC predefines to
89
        new func.
90
 
91
2011-11-24  Andrew MacLeod  
92
 
93
        PR c/51256
94
        * c-common.c (get_atomic_generic_size): Check for various error
95
        conditions
96
        (resolve_overloaded_atomic_exchange,
97
        resolve_overloaded_atomic_compare_exchange,
98
        resolve_overloaded_atomic_load, resolve_overloaded_atomic_store): Return
99
        error_mark_node for error conditions.
100
 
101
2011-11-08  Richard Guenther  
102
 
103
        PR middle-end/51010
104
        c-family/
105
 
106
2011-11-07  Richard Henderson  
107
            Aldy Hernandez  
108
            Torvald Riegel  
109
 
110
        Merged from transactional-memory.
111
 
112
        * c-common.c (handle_tm_wrap_attribute,
113
        handle_tm_attribute, ignore_attribute, parse_tm_stmt_attr): New.
114
        (struct c_common_reswords): Added __transaction* keywords.
115
        (struct c_common_attribute_table): Added transaction* and tm_regparm
116
        attributes.
117
        * c-common.h: Added RID_TRANSACTION*. Added TM_ATTR* and TM_STMT*
118
        masks.
119
        (parse_tm_stmt_attr, tm_attr_to_mask, tm_mask_to_attr,
120
        find_tm_attribute): Declare.
121
 
122
2011-11-07  Jason Merrill  
123
 
124
        PR c++/35688
125
        * c-common.c, c-common.h: Revert yesterday's changes.
126
 
127
2011-11-06  Jason Merrill  
128
 
129
        PR c++/35688
130
        * c-common.c (decl_has_visibility_attr): Split out from...
131
        (c_determine_visibility): ...here.
132
        * c-common.h: Declare it.
133
 
134
2011-11-06  Joseph Myers  
135
 
136
        * c-common.c (c_common_reswords): Add _Alignas and _Alignof.
137
        (c_sizeof_or_alignof_type): Diagnose alignof applied to a function
138
        type.
139
        (check_user_alignment): New.  Split out of
140
        handle_aligned_attribute.  Disallow integer constants with
141
        noninteger types.  Conditionally allow zero.
142
        (handle_aligned_attribute): Use check_user_alignment.
143
        * c-common.h (RID_ALIGNAS, check_user_alignment): New.
144
 
145
2011-11-06  Andrew MacLeod  
146
            Richard Henderson  
147
 
148
        Merged from cxx-mem-model.
149
 
150
        * c-cppbuiltin.c (c_cpp_builtins): Test both atomic and sync patterns.
151
        * c-common.c (sync_resolve_params, sync_resolve_return): Only tweak
152
        parameters that are the same type size.
153
        (get_atomic_generic_size): New.  Find size of generic
154
        atomic function parameters and do typechecking.
155
        (add_atomic_size_parameter): New.  Insert size into parameter list.
156
        (resolve_overloaded_atomic_exchange): Restructure __atomic_exchange to
157
        either __atomic_exchange_n or external library call.
158
        (resolve_overloaded_atomic_compare_exchange): Restructure
159
        __atomic_compare_exchange to either _n variant or external library call.
160
        (resolve_overloaded_atomic_load): Restructure __atomic_load to either
161
        __atomic_load_n or an external library call.
162
        (resolve_overloaded_atomic_store): Restructure __atomic_store to either
163
        __atomic_store_n or an external library call.
164
        (resolve_overloaded_builtin): Handle new __atomic builtins.
165
 
166
2011-11-04  Eric Botcazou  
167
 
168
        PR c++/50608
169
        * c-common.c (c_fully_fold_internal) : Call fold_offsetof_1.
170
        (fold_offsetof_1): Make global.  Remove STOP_REF argument and adjust.
171
        : Return the argument.
172
        : Remove special code for negative offset.
173
        Call fold_build_pointer_plus instead of size_binop.
174
        (fold_offsetof): Remove STOP_REF argument and adjust.
175
        * c-common.h (fold_offsetof_1): Declare.
176
        (fold_offsetof): Remove STOP_REF argument.
177
 
178
2011-11-02  Paolo Carlini  
179
 
180
        PR c++/50810
181
        * c-opts.c (c_common_handle_option): Enable -Wnarrowing as part
182
        of -Wall; include -Wnarrowing in -Wc++0x-compat; adjust default
183
        Wnarrowing for C++0x and C++98.
184
        * c.opt ([Wnarrowing]): Update.
185
 
186
2011-11-01  Paolo Carlini  
187
 
188
        PR c++/44277
189
        * c.opt: Add Wzero-as-null-pointer-constant.
190
 
191
2011-10-31  Jason Merrill  
192
 
193
        * c.opt (-fdeduce-init-list): Off by default.
194
 
195
        PR c++/50920
196
        * c-common.h (cxx_dialect): Add cxx11 and cxx03.
197
        * c.opt: Add -std=c++11, -std=gnu++11, -std=gnu++03,
198
        and -Wc++11-compat.
199
        * c-opts.c (set_std_cxx11): Rename from set_std_cxx0x.
200
 
201
2011-10-27  Roberto Agostino Vitillo  
202
 
203
        PR c++/30066
204
        * c.opt (fvisibility-inlines-hidden): Description change.
205
 
206
2011-10-26  Ed Smith-Rowland  <3dw4rd@verizon.net>
207
 
208
        Implement C++11 user-defined literals.
209
        * c-common.c (build_userdef_literal): New.
210
        * c-common.def: New tree code.
211
        * c-common.h (tree_userdef_literal): New tree struct and accessors.
212
        * c-lex.c (interpret_float): Add suffix parm.
213
        (c_lex_with_flags): Build literal tokens.
214
 
215
2011-10-23  Paolo Carlini  
216
 
217
        PR c++/50841
218
        Revert:
219
        2011-10-23  Paolo Carlini  
220
 
221
        PR c++/50810
222
        * c-opts.c (c_common_handle_option): Enable -Wnarrowing as part
223
        of -Wall; include -Wnarrowing in -Wc++0x-compat; adjust default
224
        Wnarrowing for C++0x and C++98.
225
        * c.opt ([Wnarrowing]): Update.
226
 
227
2011-10-23  Paolo Carlini  
228
 
229
        PR c++/50810
230
        * c-opts.c (c_common_handle_option): Enable -Wnarrowing as part
231
        of -Wall; include -Wnarrowing in -Wc++0x-compat; adjust default
232
        Wnarrowing for C++0x and C++98.
233
        * c.opt ([Wnarrowing]): Update.
234
 
235
2011-10-21  Paolo Carlini  
236
 
237
        PR c++/45385
238
        * c-common.c (conversion_warning): Remove code looking for
239
        artificial operands.
240
 
241
2011-10-18  Dodji Seketeli  
242
 
243
        PR bootstrap/50760
244
        * c-lex.c (fe_file_change): Use LINEMAP_SYSP when
245
        !NO_IMPLICIT_EXTERN_C.
246
 
247
2011-10-17  Michael Spertus  
248
 
249
        * c-common.c (c_common_reswords): Add __bases,
250
        __direct_bases.
251
        * c-common.h: Add RID_BASES and RID_DIRECT_BASES.
252
 
253
2011-10-17  Paolo Carlini  
254
 
255
        PR c++/50757
256
        * c.opt ([Wnonnull]): Add C++ and Objective-C++.
257
 
258
2011-10-15  Tom Tromey  
259
            Dodji Seketeli  
260
 
261
        * c.opt (fdebug-cpp): New option.
262
        * c-opts.c (c_common_handle_option): Handle the option.
263
        * c-ppoutput.c (maybe_print_line_1): New static function. Takes an
264
        output stream in parameter. Factorized from ...
265
        (maybe_print_line): ... this. Dump location debug information when
266
        -fdebug-cpp is in effect.
267
        (print_line_1): New static function. Takes an output stream in
268
        parameter. Factorized from ...
269
        (print_line): ... here. Dump location information when -fdebug-cpp
270
        is in effect.
271
        (scan_translation_unit): Dump location information when
272
        -fdebug-cpp is in effect.
273
 
274
2011-10-15  Tom Tromey  
275
            Dodji Seketeli  
276
 
277
        * c.opt (ftrack-macro-expansion): New option. Handle it with and
278
        without argument.
279
        * c-opts.c (c_common_handle_option)
280
        OPT_ftrack_macro_expansion_, case OPT_ftrack_macro_expansion>: New
281
        cases. Handle -ftrack-macro-expansion with and without argument.
282
 
283
2011-10-15  Tom Tromey  
284
            Dodji Seketeli  
285
 
286
        * c-ppoutput.c (scan_translation_unit, maybe_print_line)
287
        (print_line, cb_define, do_line_change): Adjust to avoid touching
288
        the internals of struct line_map.  Use the public API instead.
289
        * c-pch.c (c_common_read_pch): Likewise.
290
        * c-lex.c (fe_file_change): Likewise.
291
 
292
2011-10-14  Paolo Carlini  
293
 
294
        PR c++/17212
295
        * c.opt ([Wformat-zero-length]): Add C++ and Objective-C++.
296
 
297
2011-10-11  Paolo Carlini  
298
 
299
        PR c++/33067
300
        * c-pretty-print.c (pp_c_floating_constant): Output
301
        max_digits10 (in the ISO C++ WG N1822 sense) decimal digits.
302
 
303
2011-10-11  Michael Meissner  
304
 
305
        * c-common.c (def_builtin_1): Delete old interface with two
306
        parallel arrays to hold standard builtin declarations, and replace
307
        it with a function based interface that can support creating
308
        builtins on the fly in the future.  Change all uses, and poison
309
        the old names.  Make sure 0 is not a legitimate builtin index.
310
        * c-omp.c (c_finish_omp_barrier): Ditto.
311
        (c_finish_omp_taskwait): Ditto.
312
        (c_finish_omp_flush): Ditto.
313
 
314
2011-10-11  Tristan Gingold  
315
 
316
        * c.opt: (fallow-parameterless-variadic-functions): New.
317
 
318
2011-09-08  Dodji Seketeli  
319
 
320
        PR c++/33255 - Support -Wunused-local-typedefs warning
321
        * c-common.h (struct c_language_function::local_typedefs): New
322
        field.
323
        (record_locally_defined_typedef, maybe_record_typedef_use)
324
        (maybe_warn_unused_local_typedefs): Declare new functions.
325
        * c-common.c (record_locally_defined_typedef)
326
        (maybe_record_typedef_use)
327
        (maybe_warn_unused_local_typedefs): Define new functions.
328
        * c.opt: Declare new -Wunused-local-typedefs flag.
329
 
330
2011-09-06  Eric Botcazou  
331
 
332
        PR middle-end/50266
333
        * c-common.c (c_fully_fold_internal) : Fold offsetof-like
334
        computations.
335
 
336
2011-09-05  Richard Guenther  
337
 
338
        * c-common.c (complete_array_type): Use ssize_int (-1) instead
339
        of integer_minus_one_node for empty array upper bounds.
340
 
341
2011-08-28  Dodji Seketeli  
342
 
343
        * c-pch.c (c_common_read_pch): Call linemap_add with LC_ENTER as
344
        it's the first time it's being called on this main TU.
345
 
346
2011-08-24  Richard Guenther  
347
 
348
        PR c/49396
349
        * c-cppbuiltin.c (c_cpp_builtins_optimize_pragma): Fix conditional.
350
 
351
2011-08-22  Gabriel Charette  
352
 
353
        * c-opts.c (c_finish_options): Force BUILTINS_LOCATION for tokens
354
        defined in cpp_init_builtins and c_cpp_builtins.
355
 
356
2011-08-19  Joseph Myers  
357
 
358
        * c-common.c (c_common_reswords): Add __builtin_complex.
359
        * c-common.h (RID_BUILTIN_COMPLEX): New.
360
 
361
2011-08-18  Joseph Myers  
362
 
363
        * c-common.c (c_common_reswords): Add _Noreturn.
364
        (keyword_is_function_specifier): Handle RID_NORETURN.
365
        * c-common.h (RID_NORETURN): New.
366
 
367
2011-08-10  Artjoms Sinkarovs 
368
 
369
        * c-common.c (unsafe_conversion_p): New function. Check if it is
370
        unsafe to convert an expression to the type.
371
        (conversion_warning): Adjust, use unsafe_conversion_p.
372
        * c-common.h (unsafe_conversion_p): New function declaration.
373
 
374
2011-08-02  Jakub Jelinek  
375
 
376
        * c-common.h (c_finish_omp_atomic): Adjust prototype.
377
        (c_finish_omp_taskyield): New prototype.
378
        * c-omp.c (c_finish_omp_atomic): Add OPCODE, V, LHS1 and RHS1
379
        arguments. Handle OMP_ATOMIC_READ, OMP_ATOMIC_CAPTURE_OLD and
380
        OMP_ATOMIC_CAPTURE_NEW in addition to OMP_ATOMIC.  If LHS1
381
        or RHS1 have side-effects, evaluate those too in the right spot,
382
        if it is a decl and LHS is also a decl, error out if they
383
        aren't the same.
384
        (c_finish_omp_taskyield): New function.
385
        * c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP to 201107.
386
        * c-pragma.c (omp_pragmas): Add taskyield.
387
        * c-pragma.h (enum pragma_kind): Add PRAGMA_OMP_TASKYIELD.
388
        (enum pragma_omp_clause): Add PRAGMA_OMP_CLAUSE_FINAL and
389
        PRAGMA_OMP_CLAUSE_MERGEABLE.
390
 
391
2011-07-25  Dodji Seketeli  
392
 
393
        * c-common.h (set_underlying_type): Remove parm name from
394
        declaration.
395
 
396
2011-07-25  Romain Geissler  
397
 
398
        * c-pretty-print.h: Search c-common.h in c-family.
399
 
400
2011-07-22  Jason Merrill  
401
 
402
        PR c++/49793
403
        * c.opt (Wnarrowing): New.
404
 
405
        PR c++/30112
406
        * c-common.h: Declare c_linkage_bindings.
407
        * c-pragma.c (handle_pragma_redefine_extname): Use it.
408
 
409
        PR c++/49813
410
        * c-opts.c (set_std_cxx0x): Set flag_isoc94 and flag_isoc99.
411
        * c-pretty-print.c (pp_c_cv_qualifiers): Check c_dialect_cxx as well
412
        as flag_isoc99 for 'restrict'.
413
        (pp_c_specifier_qualifier_list): Likewise for _Complex.
414
 
415
2011-07-21  Ian Lance Taylor  
416
 
417
        PR middle-end/49705
418
        * c-common.c (c_disable_warnings): New static function.
419
        (c_enable_warnings): New static function.
420
        (c_fully_fold_internal): Change local unused_p to bool.  Call
421
        c_disable_warnings and c_enable_warnings rather than change
422
        c_inhibit_evaluation_warnings.
423
 
424
2011-07-20  Jason Merrill  
425
 
426
        PR c++/6709 (DR 743)
427
        PR c++/42603 (DR 950)
428
        * c-common.h (CPP_KEYWORD, CPP_TEMPLATE_ID): Move from cp/parser.h.
429
        (CPP_NESTED_NAME_SPECIFIER, N_CP_TTYPES): Likewise.
430
        (CPP_DECLTYPE): New.
431
        * c-common.c (c_parse_error): Handle CPP_DECLTYPE.
432
 
433
2011-07-19  Richard Guenther  
434
 
435
        * c-common.c (pointer_int_sum): Use fold_build_pointer_plus.
436
        * c-omp.c (c_finish_omp_for): Likewise.
437
 
438
2011-07-12  Eric Botcazou  
439
 
440
        * c-ada-spec.c (dump_nested_types): Put semi-colon after empty loop
441
        body on the next line.
442
 
443
2011-07-08  Jason Merrill  
444
 
445
        PR c++/45437
446
        * c-omp.c (check_omp_for_incr_expr): Handle preevaluation.
447
 
448
        PR c++/49673
449
        * c-common.c (c_apply_type_quals_to_decl): Don't check
450
        TYPE_NEEDS_CONSTRUCTING.
451
 
452
2011-07-06  Richard Guenther  
453
 
454
        * c-common.c (c_common_nodes_and_builtins):
455
        Merge calls to build_common_tree_nodes and build_common_tree_nodes_2.
456
 
457
2011-07-05  Richard Guenther  
458
 
459
        * c-common.c (c_common_nodes_and_builtins): Build all common
460
        tree nodes first.
461
 
462
2011-06-27  Jakub Jelinek  
463
 
464
        * c-common.h (c_tree_chain_next): New static inline function.
465
 
466
        * c-common.c (check_builtin_function_arguments): Handle
467
        BUILT_IN_ASSUME_ALIGNED.
468
 
469
2011-06-21  Andrew MacLeod  
470
 
471
        * c-common.c: Add sync_ or SYNC__ to builtin names.
472
        * c-omp.c: Add sync_ or SYNC__ to builtin names.
473
 
474
2011-06-20  Pierre Vittet  
475
 
476
        * c-pragma.h (pragma_handler_1arg, pragma_handler_2arg): New
477
        handler.
478
        (gen_pragma_handler): New union.
479
        (internal_pragma_handler): New type.
480
        (c_register_pragma_with_data)
481
        (c_register_pragma_with_expansion_and_data): New functions.
482
 
483
        * c-pragma.c (registered_pragmas, c_register_pragma_1)
484
        (c_register_pragma, c_register_pragma_with_expansion)
485
        (c_invoke_pragma_handler): Changed to work with
486
        internal_pragma_handler.
487
        (c_register_pragma_with_data)
488
        (c_register_pragma_with_expansion_and_data): New functions.
489
 
490
2011-06-14  Joseph Myers  
491
 
492
        * c-common.c: Include common/common-target.h.
493
        (handle_section_attribute): Use
494
        targetm_common.have_named_sections.
495
        * c-cppbuiltin.c: Include common/common-target.h.
496
        (c_cpp_builtins): Use targetm_common.except_unwind_info.
497
 
498
2011-06-10  Richard Guenther  
499
 
500
        * c-pretty-print.c (pp_c_type_specifier): Use pp_c_identifier
501
        to print a IDENTIFIER_NODE.
502
 
503
2011-06-09  Rainer Orth  
504
            Joseph Myers  
505
 
506
        * c.opt (fbuilding-libgcc): New option.
507
        * c-cppbuiltin.c (c_cpp_builtins): Define
508
        __LIBGCC_TRAMPOLINE_SIZE__ if flag_building_libgcc.
509
 
510
2011-06-07  Jason Merrill  
511
 
512
        * c-common.c (max_tinst_depth): Lower default to 900.
513
 
514
        * c-format.c (gcc_cxxdiag_char_table): Add 'S' format.
515
 
516
2011-06-07  Richard Guenther  
517
 
518
        * c-common.c (c_common_nodes_and_builtins): Do not set
519
        size_type_node or call set_sizetype.
520
 
521
2011-06-07  Dodji Seketeli  
522
 
523
        PR debug/49130
524
        * c-pretty-print.c (pp_c_integer_constant): Consider the canonical
525
        type when using pointer comparison to compare types.
526
 
527
2011-06-02  Jonathan Wakely  
528
 
529
        * c.opt: Add -Wdelete-non-virtual-dtor.
530
        * c-opts.c (c_common_handle_option): Include it in -Wall.
531
 
532
2011-05-30  Nathan Froyd  
533
 
534
        PR bootstrap/49190
535
 
536
        Revert:
537
        2011-05-26  Nathan Froyd  
538
 
539
        * c-common.h (struct c_common_identifier): Inherit from tree_typed,
540
        not tree_common.
541
 
542
2011-05-27  Jakub Jelinek  
543
 
544
        PR c++/49165
545
        * c-common.c (c_common_truthvalue_conversion) : For
546
        C++ don't call c_common_truthvalue_conversion on void type arms.
547
 
548
2011-05-27  Nathan Froyd  
549
 
550
        * c-common.h (struct stmt_tree_s) [x_cur_stmt_list]: Change to a VEC.
551
        (stmt_list_stack): Define.
552
        (cur_stmt_list): Adjust for new type of x_cur_stmt_list.
553
        * c-semantics.c (push_stmt_list, pop_stmt_list): Likewise.
554
 
555
2011-05-26  Nathan Froyd  
556
 
557
        * c-common.c (warning_candidate_p): Check for BLOCKs.
558
 
559
2011-05-26  Nathan Froyd  
560
 
561
        * c-common.h (struct c_common_identifier): Inherit from tree_typed,
562
        not tree_common.
563
 
564
2011-05-25  Jakub Jelinek  
565
 
566
        * c-common.c (def_fn_type): Remove extra va_end.
567
 
568
2011-05-23  Jason Merrill  
569
 
570
        PR c++/48106
571
        * c-common.c (c_common_get_narrower): New.
572
        (shorten_binary_op, shorten_compare, warn_for_sign_compare): Use it.
573
 
574
2011-05-23  Nathan Froyd  
575
 
576
        * c-common.h (check_function_arguments): Tweak prototype of
577
        check_function_arguments.
578
        * c-common.c (check_function_arguments): Likewise.  Adjust
579
        calls to check_function_nonnull, check_function_format, and
580
        check_function_sentinel.
581
        (check_function_sentinel): Take a FUNCTION_TYPE rather than
582
        separate attributes and typelist arguments.  Use
583
        FOREACH_FUNCTION_ARGS to iterate over argument types.
584
 
585
2011-05-15  Paolo Carlini  
586
 
587
        * c-common.c (c_common_reswords): Reorder.
588
        * c-common.h (rid): Likewise.
589
 
590
2011-05-10  Nathan Froyd  
591
 
592
        * c-common.c (def_fn_type): Don't call build_function_type, call
593
        build_function_type_array or build_varargs_function_type_array
594
        instead.
595
        (c_common_nodes_and_builtins): Likewise.
596
 
597
2011-05-05  Nathan Froyd  
598
 
599
        * c-common.c (c_add_case_label): Omit the loc argument to
600
        build_case_label.
601
        * c-common.h (build_case_label): Remove.
602
        * c-semantics.c (build_case_label): Remove.
603
 
604
2011-05-05  Joseph Myers  
605
 
606
        * c-objc.h (objc_start_method_definition): Update prototype.
607
        * stub-objc.c (objc_start_method_definition): Add extra parameter.
608
 
609
2011-05-04  Nathan Froyd  
610
 
611
        * c-common.c (check_main_parameter_types): Reindent.  Don't use
612
        TYPE_ARG_TYPES directly.
613
        (handle_nonnull_attribute): Likewise.
614
        (sync_resolve_params): Likewise.
615
        * c-format.c (handle_format_arg_attribute): Likewise.  Adjust call
616
        to check_format_string.
617
        (handle_format_attribute): Likewise.
618
        (check_format_string): Take a function type to examine instead of
619
        a type list.  Use a function_arg_iterator to step through argument
620
        types.
621
 
622
2011-05-04  Richard Guenther  
623
 
624
        * c-common.c (fix_string_type): Use size_int for index type bounds.
625
        (start_fname_decls): Do not pass NULL to build_int_cst.
626
        (c_init_attributes): Likewise.
627
        * c-lex.c (c_lex_with_flags): Likewise.
628
 
629
2011-04-27  Jason Merrill  
630
 
631
        * c-common.c (make_tree_vector_from_list): New.
632
        * c-common.h: Declare it.
633
 
634
2011-04-26  Richard Guenther  
635
 
636
        PR preprocessor/48248
637
        * c-ppoutput.c (maybe_print_line): Always optimize newlines
638
        for output size with -P.
639
 
640
2011-04-25  Paolo Carlini  
641
 
642
        * c-common.c (struct c_common_resword): Add __underlying_type.
643
        * c-common.h (enum rid): Add RID_UNDERLYING_TYPE.
644
 
645
2011-04-20  Jim Meyering  
646
 
647
        * c-format.c (init_dollar_format_checking): Remove useless
648
        if-before-free.
649
 
650
2011-04-15  Nicola Pero  
651
 
652
        * c-objc.h (objc_get_interface_ivars): Removed.
653
        (objc_detect_field_duplicates): New.
654
        * stub-objc.c: Likewise.
655
 
656
2011-04-14  Nicola Pero  
657
 
658
        * stub-objc.c (objc_declare_protocols): Renamed to
659
        objc_declare_protocol.
660
        * c-objc.h: Likewise.
661
 
662
2011-04-14  Nicola Pero  
663
 
664
        * stub-objc.c (objc_declare_class): Updated argument name.
665
 
666
2011-04-12  Nathan Froyd  
667
 
668
        * c-common.h (c_common_init_ts): Declare.
669
        * c-common.c (c_common_init_ts): Define.
670
 
671
2011-04-12  Nicola Pero  
672
 
673
        * c-objc.h (objc_build_message_expr): Updated prototype.
674
        * stub-objc.c (objc_build_message_expr): Likewise.
675
 
676
2011-04-12  Martin Jambor  
677
 
678
        * c-gimplify.c (c_genericize): Call cgraph_get_create_node instead
679
        of cgraph_node.
680
 
681
2011-04-11  Richard Guenther  
682
 
683
        * c-common.c (complete_array_type): Build a range type of
684
        proper type.
685
 
686
2011-04-08  Nathan Froyd  
687
 
688
        * c-common.c (handle_sentinel_attribute): Don't use TYPE_ARG_TYPES.
689
        (handle_type_generic_attribute): Likewise.
690
 
691
2011-04-07  Jason Merrill  
692
 
693
        PR c++/48450
694
        * c-common.c (c_common_truthvalue_conversion): Don't ignore
695
        conversion from C++0x scoped enum.
696
 
697
2011-04-06  Joseph Myers  
698
 
699
        * c-target-def.h: New file.
700
        * c-target.def: New file.
701
        * c-target.h: New file.
702
        * c-common.c (targetcm): Don't define here.
703
        * c-common.h (default_handle_c_option): Declare.
704
        * c-format.c: Include c-target.h instead of target.h.
705
        * c-opts.c: Include c-target.h instead of target.h.  Explicitly
706
        include tm.h.
707
        (default_handle_c_option): Move from targhooks.c.
708
 
709
2011-03-29  Jakub Jelinek  
710
 
711
        PR preprocessor/48248
712
        * c-ppoutput.c (print): Add src_file field.
713
        (init_pp_output): Initialize it.
714
        (maybe_print_line): Don't optimize by adding up to 8 newlines
715
        if map->to_file and print.src_file are different file.
716
        (print_line): Update print.src_file.
717
 
718
2011-03-25  Kai Tietz  
719
 
720
        * c-ada-spec.c (compare_comment): Use filename_cmp
721
        instead of strcmp for filename.
722
 
723
2011-03-25  Jeff Law  
724
 
725
        * c-family/c-common.c (def_fn_type): Add missing va_end.
726
 
727
2011-03-25  Jason Merrill  
728
 
729
        * c.opt: Add -std=c++03.
730
 
731
2011-03-22  Eric Botcazou  
732
 
733
        * c-ada-spec.c (dump_ada_template): Skip non-class instances.
734
 
735
2011-03-17  Kai Tietz
736
 
737
        PR target/12171
738
        * c-pretty-print.c (pp_c_specifier_qualifier_list):
739
        Display allowed attributes for function pointer types.
740
        (pp_c_attributes_display): New function to display
741
        attributes having affects_type_identity flag set to true.
742
        * c-pretty-print.h (pp_c_attributes_display): New prototype.
743
 
744
        * c-common.c (c_common_attribute_table):
745
        Add new element.
746
        (c_common_format_attribute_table): Likewise.
747
 
748
2011-03-18  Jason Merrill  
749
 
750
        * c.opt (fconstexpr-depth): Add Var(max_constexpr_depth).
751
        * c-common.h: Don't declare it here.
752
        * c-common.c: Or define it here.
753
        * c-opts.c (c_common_handle_option): Or set it here.
754
 
755
        PR c++/35315
756
        * c-common.c (handle_transparent_union_attribute): Don't
757
        make a duplicate type in C++.
758
 
759
2011-03-15  Jason Merrill  
760
 
761
        * c-common.c (max_constexpr_depth): New.
762
        * c-common.h: Declare it.
763
        * c-opts.c (c_common_handle_option): Set it.
764
        * c.opt (fconstexpr-depth): New option.
765
 
766
2011-03-11  Jason Merrill  
767
 
768
        * c-common.c (attribute_takes_identifier_p): Add missing const.
769
 
770
        PR c++/46803
771
        * c-common.c (attribute_takes_identifier_p): Assume that an
772
        unknown attribute takes an identifier.
773
 
774
2011-03-07  Nathan Froyd  
775
 
776
        PR c/47786
777
        * c-common.c (c_type_hash): Call list_length instead of iterating
778
        through DECL_CHAIN.  Rename 'i' to 'n_elements'.
779
 
780
2011-02-19  Jakub Jelinek  
781
 
782
        PR c/47809
783
        * c-common.c (c_fully_fold_internal): Handle VIEW_CONVERT_EXPR.
784
 
785
2011-02-17  Iain Sandoe  
786
 
787
        * c.opt (fobjc-abi-version=) New.
788
        (fobjc-nilcheck): New.
789
 
790
2011-02-03  Nathan Froyd  
791
 
792
        PR c++/46890
793
        * c-common.h (keyword_is_decl_specifier): Declare.
794
        * c-common.c (keyword_is_decl_specifier): Define.
795
        (keyword_is_function_specifier): New function.
796
 
797
2011-01-26  Jakub Jelinek  
798
 
799
        PR c/47473
800
        * c-lex.c (interpret_float): If CPP_N_IMAGINARY, ensure
801
        EXCESS_PRECISION_EXPR is created with COMPLEX_TYPE instead of
802
        REAL_TYPE.
803
 
804
2011-01-26  Arnaud Charlet  
805
 
806
        * c-ada-spec.c (dump_generic_ada_node): Avoid dereferencing null type.
807
 
808
2011-01-26  Jakub Jelinek  
809
 
810
        PR pch/47430
811
        * c-opts.c (c_common_post_options): Call c_common_no_more_pch
812
        after init_c_lex if pch_file is set.
813
 
814
2011-01-26  Dave Korn  
815
 
816
        PR c++/43601
817
        * c.opt (-fkeep-inline-dllexport): New switch.
818
 
819
2011-01-12  Richard Guenther  
820
 
821
        PR middle-end/32511
822
        * c-common.c (handle_weak_attribute): Warn instead of error
823
        on declaring an inline function weak.
824
 
825
2011-01-05  Tom Tromey  
826
 
827
        * c-common.h (lvalue_error): Update.
828
        * c-common.c (lvalue_error): Add 'loc' argument.  Call error_at,
829
        not error.
830
 
831
2010-12-29  Nicola Pero  
832
 
833
        PR objc/47075
834
        * c-objc.h (objc_finish_message_expr): Added argument to
835
        prototype.
836
 
837
2010-12-22  Nathan Froyd  
838
 
839
        * c-common.c (handle_nonnull_attribute, handle_sentinel_attribute):
840
        Use prototype_p.
841
 
842
2010-12-18  Nicola Pero  
843
 
844
        * c-objc.h (objc_maybe_warn_exceptions): New.
845
        * stub-objc.c (objc_maybe_warn_exceptions): New.
846
 
847
2010-12-10  Nathan Froyd  
848
 
849
        * c-common.h (readonly_error): Declare.
850
        * c-common.c (readonly_error): Define.
851
 
852
2010-12-09  Nathan Froyd  
853
 
854
        * c-common.h (invalid_indirection_error): Declare.
855
        * c-common.c (invalid_indirection_error): Define.
856
 
857
2010-12-03  Richard Guenther  
858
 
859
        PR c/46745
860
        * c-pretty-print.c (pp_c_postfix_expression): Handle MEM_REF.
861
        (pp_c_unary_expression): Likewise.
862
        (pp_c_expression): Likewise.
863
 
864
2010-11-30  Nicola Pero  
865
 
866
        * c-common.h (objc_finish_function): New.
867
        (objc_non_volatilized_type): Removed.
868
        (objc_type_quals_match): Removed.
869
        * stub-objc.c (objc_finish_function): New.
870
        (objc_non_volatilized_type): Removed.
871
        (objc_type_quals_match): Removed.
872
 
873
2010-11-30  Joseph Myers  
874
 
875
        * c-common.h (parse_optimize_options): Declare.
876
        * c-cppbuiltin.c, c-format.c, c-gimplify.c, c-lex.c, c-omp.c,
877
        c-pch.c, c-pragma.c, c-semantics.c: Don't include toplev.h.
878
 
879
2010-11-29  Joseph Myers  
880
 
881
        * c-opts.c (check_deps_environment_vars): Use getenv instead of
882
        GET_ENVIRONMENT.
883
        * c-pch.c (O_BINARY): Don't define here.
884
        * c-pragma.h: Include "cpplib.h" instead of .
885
 
886
2010-11-25  Joseph Myers  
887
 
888
        * c-cppbuiltin.c (c_cpp_builtins): Pass &global_options to
889
        targetm.except_unwind_info.
890
 
891
2010-11-23  Joseph Myers  
892
 
893
        * c-opts.c (c_common_handle_option): Pass location to
894
        set_struct_debug_option.
895
 
896
2010-11-23  Joseph Myers  
897
 
898
        * c-common.c (visibility_options): Move from ../opts.c.
899
        * c-common.h (struct visibility_flags, visibility_options):
900
        Declare here.
901
        * c-opts.c (finish_options): Rename to c_finish_options.
902
        (c_common_init): Update call to finish_options.
903
 
904
2010-11-22  Nicola Pero  
905
 
906
        PR objc/34033
907
        * c-lex.c (lex_string): Check that each string in an Objective-C
908
        string concat sequence starts with either one or zero '@', and
909
        that there are no spurious '@' signs at the end.
910
 
911
2010-11-20  Joseph Myers  
912
 
913
        * c-pragma.c: Remove conditionals on HANDLE_PRAGMA_PACK,
914
        HANDLE_PRAGMA_PACK_PUSH_POP, HANDLE_PRAGMA_WEAK and
915
        HANDLE_PRAGMA_VISIBILITY.
916
        * c-pragma.h (HANDLE_PRAGMA_WEAK, HANDLE_PRAGMA_PACK,
917
        HANDLE_PRAGMA_VISIBILITY): Don't define.
918
        (HANDLE_SYSV_PRAGMA, HANDLE_PRAGMA_PACK_PUSH_POP): Don't test.
919
 
920
2010-11-20  Nathan Froyd  
921
 
922
        PR c++/16189
923
        PR c++/36888
924
        PR c++/45331
925
        * c-common.h (keyword_begins_type_specifier): Declare.
926
        (keyword_is_storage_class_specifier): Declare.
927
        (keyword_is_type_qualifier): Declare.
928
        * c-common.c (keyword_begins_type_specifier): New function.
929
        (keyword_is_storage_class_specifier): New function.
930
        (keyword_is_type_qualifier): Declare.
931
 
932
2010-11-19  Joseph Myers  
933
 
934
        PR c/46547
935
        * c-common.c (in_late_binary_op): Define.
936
        (c_common_truthvalue_conversion): Check in_late_binary_op before
937
        calling c_save_expr.
938
        * c-common.h (in_late_binary_op): Declare.
939
 
940
2010-11-19  Joseph Myers  
941
 
942
        * c-opts.c (c_common_handle_option): Update calls to
943
        set_struct_debug_option.
944
 
945
2010-11-19  Nicola Pero  
946
 
947
        * c-common.h (objc_declare_protocols): Added additional argument.
948
        * stub-objc.c (objc_declare_protocol): Same change.
949
 
950
2010-11-18  Nathan Froyd  
951
 
952
        PR c/33193
953
        * c-common.h (build_real_imag_expr): Declare.
954
        * c-semantics.c (build_real_imag_expr): Define.
955
 
956
2010-11-17  Joseph Myers  
957
 
958
        * c-opts.c (c_common_parse_file): Take no arguments.
959
        * c-common.h (c_common_parse_file): Update prototype.
960
 
961
2010-11-16  Jakub Jelinek  
962
 
963
        PR c++/46401
964
        * c-common.c (warning_candidate_p): Don't track non-const calls
965
        or STRING_CSTs.
966
 
967
2010-11-15  Ian Lance Taylor  
968
 
969
        * c-lex.c (init_c_lex): Set macro debug callbacks if
970
        flag_dump_go_spec is set.
971
 
972
2010-11-15  Nicola Pero  
973
 
974
        * c-common.h (objc_build_incr_expr_for_property_ref): New.
975
        * stub-objc.c (objc_build_incr_expr_for_property_ref): New.
976
 
977
2010-11-15  Nathan Froyd  
978
 
979
        PR preprocessor/45038
980
        * c-cppbuiltin.c (c_cpp_builtins): Use different format for C++
981
        dialects.
982
 
983
2010-11-12  Joseph Myers  
984
 
985
        * c-common.h (c_family_lang_mask): Declare.
986
        * c-opts.c (c_family_lang_mask): Make extern.
987
        * c-pragma.c (handle_pragma_diagnostic): Use
988
        control_warning_option.
989
 
990
2010-11-12  Joseph Myers  
991
 
992
        * c-common.c (parse_optimize_options): Update call to
993
        decode_options.
994
        * c-common.h (c_common_handle_option): Update prototype.
995
        * c-opts.c (c_common_handle_option): Take location_t parameter and
996
        pass it to other functions.
997
 
998
2010-11-11  Joseph Myers  
999
 
1000
        * c-opts.c (warning_as_error_callback): Remove.
1001
        (c_common_initialize_diagnostics): Don't call
1002
        register_warning_as_error_callback.
1003
        (c_common_handle_option): Handle -Werror=normalized= here.
1004
 
1005
2010-11-10  Joseph Myers  
1006
 
1007
        * c-common.c (handle_mode_attribute): Use %' and word "signedness"
1008
        in diagnostic.
1009
        * c-opts.c (c_common_parse_file): Start diagnostics with lowercase
1010
        letter.
1011
        * c-pragma.c (handle_pragma_target, handle_pragma_optimize):
1012
        Remove trailing '.' from diagnostics.
1013
        * c.opt (Wwrite-strings_: Avoid '`' in help text.
1014
 
1015
2010-11-10  Joseph Myers  
1016
 
1017
        * c-common.c (parse_optimize_options): Pass global_dc to
1018
        decode_options.
1019
        * c-opts.c (c_common_handle_option): Pass &global_options to
1020
        set_Wstrict_aliasing.
1021
        * c.opt (v): Don't mark Common or document here.
1022
 
1023
2010-11-06  Iain Sandoe  
1024
 
1025
        PR target/44981
1026
        * c-format.c (format_type): New type gcc_objc_string_format_type.
1027
        (valid_stringptr_type_p): New.
1028
        (handle_format_arg_attribute): Use valid_stringptr_type_p ().
1029
        (check_format_string): Pass expected type, use
1030
        valid_stringptr_type_p (), check that the format string types are
1031
        consistent with the format specification.
1032
        (decode_format_attr): Warn if NSString is used outside objective-c.
1033
        (format_types_orig): Add NSString.
1034
        (format_name): New.
1035
        (format_flags): New.
1036
        (check_format_arg): Handle format strings requiring an external parser.
1037
        first_target_format_type: New variable.
1038
        (handle_format_attribute): Set up first_target_format_type, pass the
1039
        expected format arg string type to check_format_string().
1040
        * c-common.h (FMT_FLAG_PARSE_ARG_CONVERT_EXTERNAL):  New flag.
1041
        * stub-objc.c (objc_string_ref_type_p): New.
1042
        (objc_check_format_arg): New.
1043
 
1044
2010-11-04  Nicola Pero  
1045
 
1046
        Fixed using the Objective-C 2.0 dot-syntax with class names.
1047
        * c-common.h (objc_build_class_component_ref): New.
1048
        * stub-objc.c (objc_build_class_component_ref): New.
1049
 
1050
2010-11-03  Nicola Pero  
1051
 
1052
        * c.opt (Wproperty-assign-default): New option.
1053
 
1054
2010-11-03  Nicola Pero  
1055
 
1056
        Implemented -fobjc-std=objc1 flag.
1057
        * c.opt (fobjc-std=objc1): New option.
1058
 
1059
2010-11-01  Nicola Pero  
1060
 
1061
        Implemented format and noreturn attributes for Objective-C methods.
1062
        * c-common.c (handle_noreturn_attribute): Recognize 'noreturn'
1063
        attribute for Objective-C methods.
1064
 
1065
2010-10-31  Jason Merrill  
1066
 
1067
        * c-common.c (conversion_warning, warn_for_collisions_1): Use
1068
        EXPR_LOC_OR_HERE.
1069
 
1070
2010-10-30  Nicola Pero  
1071
 
1072
        Implemented Objective-C 2.0 @property, @synthesize and @dynamic.
1073
        * c-common.h (enum rid): Removed RID_COPIES and RID_IVAR.
1074
        (objc_add_property_declaration): Removed arguments for copies and
1075
        ivar.
1076
        (objc_build_getter_call): Renamed to
1077
        objc_maybe_build_component_ref.
1078
        (objc_build_setter_call): Renamed to objc_maybe_build_modify_expr.
1079
        (objc_is_property_ref): New.
1080
        * c-common.c (c_common_reswords): Removed copies and ivar.
1081
        * stub-objc.c (objc_add_property_declaration): Removed arguments
1082
        for copies and ivar.
1083
        (objc_build_getter_call): Renamed to
1084
        objc_maybe_build_component_ref.
1085
        (objc_build_setter_call): Renamed to objc_maybe_build_modify_expr.
1086
        (objc_is_property_ref): New.
1087
 
1088
2010-10-29  Arnaud Charlet  
1089
            Matthew Gingell  
1090
 
1091
        * c-ada-spec.c (separate_class_package): New function.
1092
        (pp_ada_tree_identifier): Prefix references to C++ classes with the
1093
        name of their enclosing package.
1094
        (print_ada_declaration): Use separate_class_package.
1095
 
1096
2010-10-27  Jason Merrill  
1097
 
1098
        * c-common.c (c_common_reswords): Add __is_literal_type.
1099
        * c-common.h (enum rid): Add RID_IS_LITERAL_TYPE.
1100
 
1101
        * c-common.c (check_case_value): Remove special C++ code.
1102
 
1103
2010-10-27  Nicola Pero  
1104
 
1105
        * c-common.h (enum rid): Added RID_READWRITE, RID_ASSIGN,
1106
        RID_RETAIN, RID_COPY and RID_NONATOMIC.  Updated RID_FIRST_PATTR
1107
        and RID_LAST_PATTR.
1108
        (objc_add_property_declaration): Added additional arguments.
1109
        (objc_property_attribute_kind): Removed.
1110
        (objc_set_property_attr): Removed.
1111
        * c-common.c (c_common_reswords): Added readwrite, assign, retain,
1112
        copy and nonatomic.
1113
        * stub-objc.c (objc_add_property_declaration): Added additional
1114
        arguments.
1115
        (objc_set_property_attr): Removed.
1116
 
1117
2010-10-27  Nicola Pero  
1118
 
1119
        * c-common.h (objc_add_property_variable): Renamed to
1120
        objc_add_property_declaration.  Added location argument.
1121
        * stub-objc.c (objc_add_property_variable): Same change.
1122
 
1123
2010-10-23  Nicola Pero  
1124
 
1125
        * c-common.h (objc_maybe_printable_name): New.
1126
        * stub-objc.c (objc_maybe_printable_name): New.
1127
 
1128
2010-10-22  Artjoms Sinkarovs 
1129
        Andrew Pinski 
1130
 
1131
        * c-common.h (c_common_mark_addressable_vec): Declare.
1132
        * c-common.c (c_common_mark_addressable_vec): New function.
1133
 
1134
2010-10-20  Nicola Pero  
1135
 
1136
        * c-common.h (objc_set_method_type): Removed.
1137
        (objc_add_method_declaration): Added boolean argument.
1138
        (objc_start_method_definition): Same change.
1139
        (objc_build_method_signature): Same change.
1140
        * stub-objc.c (objc_set_method_type): Removed.
1141
        (objc_add_method_declaration): Added boolean argument.
1142
        (objc_start_method_definition): Same change.
1143
        (objc_build_method_signature): Same change.
1144
 
1145
2010-10-20  Nicola Pero  
1146
 
1147
        * c-common.h (finish_file): Removed.
1148
        (objc_write_global_declarations): New.
1149
        * c-opts.c (c_common_parse_file): Do not call finish_file.
1150
        * stub-objc.c (objc_write_global_declarations): New.
1151
 
1152
2010-10-18  Nicola Pero  
1153
 
1154
        Implemented parsing @synthesize and @dynamic for
1155
        Objective-C/Objective-C++.
1156
        * c-common.h (enum rid): Add RID_AT_SYNTHESIZE and RID_AT_DYNAMIC.
1157
        (objc_add_synthesize_declaration): New.
1158
        (objc_add_dynamic_declaration): New.
1159
        * c-common.c (c_common_reswords): Add synthesize and dynamic.
1160
        * stub-objc.c (objc_add_synthesize_declaration): New.
1161
        (objc_add_dynamic_declaration): New.
1162
 
1163
2010-10-18  Michael Meissner  
1164
 
1165
        PR target/46041
1166
        * c-cppbuiltin.c (mode_has_fma): Move function here from
1167
        builtins.c.  Don't use the fma optab, instead just use the
1168
        HAVE_fma* macros, so that __FP_FAST_FMA* will be defined when
1169
        using -save-temps.
1170
 
1171
2010-10-18  Nicola Pero  
1172
 
1173
        Merge from 'apple/trunk' branch on FSF servers.
1174
 
1175
        2005-11-08  Fariborz Jahanian 
1176
 
1177
        Radar 4330422
1178
        * c-common.h (objc_non_volatilized_type): New declaration
1179
        * stub-objc.c (objc_non_volatilized_type): New stub.
1180
 
1181
2010-10-17  Nicola Pero  
1182
 
1183
        Merge from 'apple/trunk' branch on FSF servers.
1184
 
1185
        2006-03-27 Fariborz Jahanian 
1186
 
1187
        Radar 4133425
1188
        * c-common.h (objc_diagnose_private_ivar): New decl.
1189
        * stub-objc.c (objc_diagnose_private_ivar): New stub.
1190
 
1191
2010-10-17  Iain Sandoe  
1192
 
1193
        * c-common.c (c_common_reswords): Add package, RID_AT_PACKAGE.
1194
        * c-common.h (enum rid): Add RID_AT_PACKAGE.
1195
        (objc_ivar_visibility_kind): New enum.
1196
        (objc_set_visibility): Adjust prototype to use visibility enum.
1197
        * stub-objc.c (objc_set_visibility): Adjust stub to use
1198
        visibility enum.
1199
 
1200
2010-10-14  Michael Meissner  
1201
 
1202
        * c-cppbuiltin.c (builtin_define_float_constants): Emit
1203
        __FP_FAST_FMA, __FP_FAST_FMAF, and __FP_FAST_FMAL if the machine
1204
        has the appropriate fma builtins.
1205
        (c_cpp_builtins): Adjust call to builtin_define_float_constants.
1206
 
1207
2010-10-14  Iain Sandoe  
1208
 
1209
        merge from FSF apple 'trunk' branch.
1210
        2006 Fariborz Jahanian 
1211
 
1212
        Radars 4436866, 4505126, 4506903, 4517826
1213
        * c-common.c (c_common_resword): Define @property and its attributes.
1214
        * c-common.h: Define property attribute enum entries.
1215
        (OBJC_IS_PATTR_KEYWORD): New.
1216
        (objc_property_attribute_kind): New enum.
1217
        Declare objc_set_property_attr (), objc_add_property_variable (),
1218
        objc_build_getter_call () and objc_build_setter_call ().
1219
        * stub-objc.c (objc_set_property_attr): New stub.
1220
        (objc_add_property_variable): Likewise.
1221
        (objc_build_getter_call): Likewise.
1222
        (objc_build_setter_call) Likewise.
1223
 
1224
2010-10-13  Iain Sandoe  
1225
 
1226
        merge from FSF apple 'trunk' branch.
1227
        2006-04-26 Fariborz Jahanian 
1228
 
1229
        Radar 3803157 (method attributes)
1230
        * c-common.c (handle_deprecated_attribute): Recognize
1231
        objc methods as valid declarations.
1232
        * c-common.h: Declare objc_method_decl ().
1233
        * stub-objc.c (objc_method_decl): New stub.
1234
 
1235
2010-10-08  Joseph Myers  
1236
 
1237
        * c-common.c (parse_optimize_options): Call
1238
        decode_cmdline_options_to_array_default_mask before
1239
        decode_options.  Update arguments to decode_options.
1240
        * c-common.h (c_common_init_options_struct): Declare.
1241
        * c-opts.c (c_common_init_options_struct): New.  Split out from
1242
        c_common_init_options.
1243
 
1244
2010-10-06  Nicola Pero  
1245
 
1246
        Implemented fast enumeration for Objective-C.
1247
        * c-common.h (objc_finish_foreach_loop): New.
1248
        * stub-objc.c (objc_finish_foreach_loop): New.
1249
 
1250
2010-10-05  Joseph Myers  
1251
 
1252
        * c-common.h (struct diagnostic_context): Don't declare here.
1253
        (c_common_initialize_diagnostics): Declare using
1254
        diagnostic_context typedef.
1255
        * c-opts.c (c_common_handle_option): Pass global_dc to
1256
        handle_generated_option.
1257
 
1258
2010-10-04  Joseph Myers  
1259
 
1260
        * c-opts.c (c_common_handle_option): Pass &global_options_set to
1261
        handle_generated_option.
1262
 
1263
2010-10-03  Ian Lance Taylor  
1264
 
1265
        * c.opt (-fplan9-extensions): New option.
1266
 
1267
2010-10-03  Francois-Xavier Coudert  
1268
 
1269
        * c-cppbuiltin.c (define__GNUC__, builtin_define_type_precision):
1270
        Remove.
1271
        (c_cpp_builtins): Call functions from cppbuiltin.c instead
1272
        of duplicating code.
1273
 
1274
2010-09-30  Iain Sandoe  
1275
 
1276
        * c-common.c: Add two new entries for @optional
1277
        and @required keywords.
1278
 
1279
        merge from FSF 'apple/trunk' branch.
1280
        2006-01-30  Fariborz Jahanian 
1281
 
1282
        Radar 4386773
1283
        * c-common.h (RID_AT_OPTIONAL, RID_AT_REQUIRED): Two new
1284
        objective-c keywords.
1285
        (objc_set_method_opt): New declaration.
1286
        * stub-objc.c (objc_set_method_opt): New stub.
1287
 
1288
2010-09-30  Joseph Myers  
1289
 
1290
        * c-common.c (handle_optimize_attribute): Pass &global_options to
1291
        cl_optimization_save and cl_optimization_restore.
1292
        * c-opts.c (c_common_handle_option): Pass &global_options to
1293
        handle_generated_option.
1294
        * c-pragma.c (handle_pragma_diagnostic): Use option_flag_var.
1295
        (handle_pragma_pop_options, handle_pragma_reset_options): Pass
1296
        &global_options to cl_optimization_restore.
1297
 
1298
2010-09-30  Nicola Pero  
1299
 
1300
        * c-lex.c (c_lex_with_flags): Updated comments for CPP_AT_NAME
1301
        Objective-C/Objective-C++ keywords.
1302
 
1303
2010-09-29  Nicola Pero  
1304
 
1305
        Merge from 'apple/trunk' branch on FSF servers.
1306
 
1307
        2005-10-04  Fariborz Jahanian 
1308
 
1309
        Radar 4281748
1310
        * c-common.h (objc_check_global_decl): New declaration.
1311
        * stub-objc.c (objc_check_global_decl): New stub.
1312
 
1313
2010-09-29  Joseph Myers  
1314
 
1315
        * c.opt: Don't use VarExists.
1316
 
1317
2010-09-29  Joseph Myers  
1318
 
1319
        * c-common.c (c_cpp_error): Update names of diagnostic_context
1320
        members.
1321
        * c-cppbuiltin.c (c_cpp_builtins_optimize_pragma): Update names of
1322
        cl_optimization members.
1323
        * c-opts.c (warning_as_error_callback, c_common_handle_option,
1324
        sanitize_cpp_opts, finish_options): Update names of cpp_options
1325
        members.
1326
 
1327
2010-09-29  Nicola Pero  
1328
 
1329
        * c-common.h (OBJC_IS_CXX_KEYWORD): New macro.  Updated comments.
1330
        (objc_is_reserved_word): Removed.
1331
        * c-common.c: Updated comments.
1332
        * c-lex.c (c_lex_with_flags): Use OBJC_IS_CXX_KEYWORD instead of
1333
        objc_is_reserved_word.
1334
        * stub-objc.c (objc_is_reserved_word): Removed.
1335
 
1336
2010-09-28  Iain Sandoe  
1337
 
1338
        * c-common.h (objc_add_method_declaration): Adjust prototype to
1339
        include attributes.
1340
        (objc_start_method_definition): Likewise.
1341
        (objc_build_keyword_decl): Likewise.
1342
        * stub-objc.c:(objc_add_method_declaration): Handle attributes.
1343
        (objc_start_method_definition): Likewise.
1344
        (objc_build_keyword_decl): Likewise.
1345
 
1346
2010-09-28  Iain Sandoe  
1347
 
1348
        * c-common.h (objc_start_class_interface): Adjust prototype.
1349
        (objc_start_category_interface): Likewise.
1350
        (objc_start_protocol): Likewise.
1351
        * stub-objc.c (objc_start_protocol): Adjust for extra argument.
1352
        (objc_start_class_interface): Likewise.
1353
        (objc_start_category_interface): Likewise.
1354
 
1355
2010-09-27  Ian Lance Taylor  
1356
 
1357
        * c-common.c (c_common_attribute_table): Add no_split_stack.
1358
        (handle_no_split_stack_attribute): New static function.
1359
 
1360
2010-09-27  Nicola Pero  
1361
 
1362
        Merge from 'apple/trunk' branch on FSF servers.
1363
 
1364
        2005-12-15  Fariborz Jahanian 
1365
 
1366
        Radar 4229905
1367
        * c-common.h (objc_have_common_type): New declaration.
1368
        * stub-objc.c (objc_have_common_type): New stub.
1369
 
1370
        2005-06-22  Ziemowit Laski  
1371
 
1372
        Radar 4154928
1373
        * c-common.h (objc_common_type): New prototype.
1374
        * stub-objc.c (objc_common_type): New stub.
1375
 
1376
2010-09-24  Jan Hubicka  
1377
 
1378
        * c-common.c (handle_leaf_attribute): New function.
1379
        (struct attribute_spec c_common_att): Add leaf.
1380
 
1381
2010-09-22  Joseph Myers  
1382
 
1383
        * c.opt (-all-warnings, -ansi, -assert, -assert=, -comments,
1384
        -comments-in-macros, -define-macro, -define-macro=, -dependencies,
1385
        -dump, -dump=, -imacros, -imacros=, -include, -include=,
1386
        -include-barrier, -include-directory, -include-directory=,
1387
        -include-directory-after, -include-directory-after=,
1388
        -include-prefix, -include-prefix=, -include-with-prefix,
1389
        -include-with-prefix=, -include-with-prefix-after,
1390
        -include-with-prefix-after=, -include-with-prefix-before,
1391
        -include-with-prefix-before=, -no-integrated-cpp,
1392
        -no-line-commands, -no-standard-includes, -no-warnings, -output,
1393
        -output=, -pedantic, -pedantic-errors, -preprocess,
1394
        -print-missing-file-dependencies, -trace-includes, -traditional,
1395
        -traditional-cpp, -trigraphs, -undefine-macro, -undefine-macro=,
1396
        -user-dependencies, -verbose, -write-dependencies,
1397
        -write-user-dependencies, no-integrated-cpp, traditional): New.
1398
 
1399
2010-09-21  Nicola Pero  
1400
 
1401
        PR objc/23710
1402
        * c-common.h (objc_start_method_definition): Return bool instead
1403
        of void.
1404
        * stub-objc.c (objc_start_method_definition): Return bool instead
1405
        of void.
1406
 
1407
2010-09-21  Nicola Pero  
1408
 
1409
        PR objc/25965
1410
        * c-common.h (objc_get_interface_ivars): New declaration.
1411
        * stub-objc.c (objc_get_interface_ivars): New stub.
1412
 
1413
2010-09-15  Ian Lance Taylor  
1414
 
1415
        * c-common.c (parse_optimize_options): Do not capitalize warning
1416
        messages.  Remove period at end of warning message.
1417
 
1418
2010-09-09  Nathan Sidwell  
1419
 
1420
        * c-common.c (handle_alias_ifunc_attribute): New, broken out of ...
1421
        (handle_alias_attribute): ... here.
1422
        (handle_ifunc_attribute): New.
1423
 
1424
2010-09-06  Mark Mitchell  
1425
 
1426
        * c-common.h (do_warn_double_promotion): Declare.
1427
        * c-common.c (do_warn_double_promotion): Define.
1428
 
1429
2010-09-05  Mark Mitchell  
1430
 
1431
        * c.opt (Wdouble-promotion): New.
1432
 
1433
2010-09-02  Joseph Myers  
1434
 
1435
        * c.opt (falt-external-templates, fhuge-objects, fvtable-gc,
1436
        fvtable-thunks, fxref): Mark no longer supported in help text.
1437
 
1438
2010-09-02  Joseph Myers  
1439
 
1440
        * c.opt (Wimport, fall-virtual, falt-external-templates,
1441
        fdefault-inline, fenum-int-equiv, fexternal-templates,
1442
        fguiding-decls, fhonor-std, fhuge-objects, flabels-ok,
1443
        fname-mangling-version-, fnew-abi, fnonnull-objects,
1444
        foptional-diags, fsquangle, fstrict-prototype, fthis-is-variable,
1445
        fvtable-gc, fvtable-thunks, fxref): Mark with Ignore and Warn as
1446
        applicable.
1447
        (fhandle-exceptions): Mark with Alias and Warn.
1448
        * c-opts.c (c_common_handle_option): Don't handle options marked
1449
        as ignored.
1450
 
1451
2010-09-02  Joseph Myers  
1452
 
1453
        * c.opt (Wcomments, Werror-implicit-function-declaration,
1454
        ftemplate-depth-, std=c89, std=c9x, std=gnu89, std=gnu9x,
1455
        std=iso9899:1990, std=iso9899:1999, std=iso9899:199x): Mark as
1456
        aliases.
1457
        * c-common.c (option_codes): Use OPT_Wcomment instead of
1458
        OPT_Wcomments.
1459
        * c-opts.c (warning_as_error_callback, c_common_handle_option):
1460
        Don't handle options marked as aliases.
1461
 
1462
2010-08-25  Richard Guenther  
1463
 
1464
        * c-common.c (c_common_get_alias_set): Remove special
1465
        handling for pointers.
1466
 
1467
2010-08-20  Nathan Froyd  
1468
 
1469
        * c-common.c: Use FOR_EACH_VEC_ELT.
1470
        * c-gimplify.c: Likewise.
1471
        * c-pragma.c: Likewise.
1472
 
1473
2010-08-16  Joseph Myers  
1474
 
1475
        * c.opt (MDX): Change back to MD.  Mark NoDriverArg instead of
1476
        RejectDriver.
1477
        (MMDX): Change back to MMD.  Mark NoDriverArg instead of
1478
        RejectDriver.
1479
        * c-opts.c (c_common_handle_option): Use OPT_MD and OPT_MMD
1480
        instead of OPT_MDX and OPT_MMDX.
1481
 
1482
2010-08-16  Joseph Myers  
1483
 
1484
        * c.opt (MDX, MMDX, lang-asm): Mark RejectDriver.
1485
 
1486
2010-08-12  Joseph Myers  
1487
 
1488
        * c.opt (MD, MMD): Change to MDX and MMDX.
1489
        * c-opts.c (c_common_handle_option): Use OPT_MMD and OPT_MMDX.
1490
 
1491
2010-08-11  Joseph Myers  
1492
 
1493
        * c-opts.c (c_common_handle_option): Call handle_generated_option
1494
        instead of handle_option.
1495
 
1496
2010-08-08  Nathan Froyd  
1497
 
1498
        * c-pragma.c (add_to_renaming_pragma_list): Fix call to VEC_safe_push.
1499
        (maybe_apply_renaming_pragma): Delete unneeded declarations.
1500
 
1501
2010-08-08  Nathan Froyd  
1502
 
1503
        * c-pragma.c (pending_redefinition): Declare.  Declare a VEC of it.
1504
        (pending_redefine_extname): Change type to a VEC.
1505
        (add_to_renaming_pragma_list): Update for new type of
1506
        pending_redefine_extname.
1507
        (maybe_apply_renaming_pragma): Likewise.
1508
 
1509
2010-08-04  Arnaud Charlet  
1510
 
1511
        * c-ada-spec.c (dump_ada_template): Mark underlying instance type as
1512
        visited.
1513
        (dump_generic_ada_node): Code clean up. Use TREE_VISITED flag to
1514
        decide whether a type has already been declared/seen.
1515
        Do not go to the original type.
1516
        (dump_nested_types): New parameter forward.
1517
        Generate forward declaration if needed and mark type as visited.
1518
        (print_ada_declaration): Call dump_nested_types if not already done.
1519
        Mark types as visited.
1520
 
1521
2010-08-03  Joseph Myers  
1522
 
1523
        * c.opt (-print-pch-checksum): Remove option.
1524
        * c-opts.c (c_common_handle_option): Don't handle
1525
        OPT_print_pch_checksum.
1526
 
1527
2010-07-27  Joseph Myers  
1528
 
1529
        * c-common.h (c_common_handle_option): Update prototype and return
1530
        value type.
1531
        * c-opts.c (c_common_handle_option): Update prototype and return
1532
        value type.  Update calls to handle_option and
1533
        enable_warning_as_error.
1534
 
1535
2010-07-27  Jakub Jelinek  
1536
 
1537
        PR c/45079
1538
        * c-pretty-print.c (pp_c_expression): Handle C_MAYBE_CONST_EXPR.
1539
 
1540
2010-07-27  Joseph Myers  
1541
 
1542
        * c-common.h (c_common_missing_argument): Remove.
1543
        * c-opts.c (c_common_missing_argument): Remove.
1544
        * c.opt (A, D, F, I, MD, MMD, MQ, MT, U, fconstant-string-class=,
1545
        idirafter, imacros, include, isysroot, isystem, iquote): Add
1546
        MissingArgError.
1547
        * c-objc-common.h (LANG_HOOKS_MISSING_ARGUMENT): Remove.
1548
 
1549
2010-07-27  Joseph Myers  
1550
 
1551
        * c-common.h (c_common_option_lang_mask,
1552
        c_common_initialize_diagnostics, c_common_complain_wrong_lang_p):
1553
        New.
1554
        (c_common_init_options): Update prototype.
1555
        * c-opts.c (c_common_option_lang_mask): New.
1556
        (c_common_initialize_diagnostics): Split out of
1557
        c_common_init_options.
1558
        (accept_all_c_family_options, c_common_complain_wrong_lang_p):
1559
        New.
1560
        (c_common_init_options): Update prototype.  Use decoded options in
1561
        search for -lang-asm.
1562
 
1563
2010-07-15  Nathan Froyd  
1564
 
1565
        * c-common.c: Carefully replace TREE_CHAIN with DECL_CHAIN.
1566
        * c-format.c: Likewise.
1567
 
1568
2010-07-08  Manuel López-Ibáñez  
1569
 
1570
        * c-common.h: Include diagnostic-core.h. Error if already
1571
        included.
1572
        * c-semantics.c: Do not define GCC_DIAG_STYLE here.
1573
 
1574
2010-07-03  Manuel López-Ibáñez  
1575
 
1576
        * c-family/c-common.c (IN_GCC_FRONTEND): Do not undef.
1577
        Do not include expr.h
1578
        (vector_mode_valid_p): Move here.
1579
 
1580
2010-06-21  DJ Delorie  
1581
 
1582
        * c-pragma.c (handle_pragma_diagnostic): Add push/pop,
1583
        allow these pragmas anywhere.
1584
 
1585
2010-06-14  Jakub Jelinek  
1586
 
1587
        PR bootstrap/44509
1588
        * c-cppbuiltin.c: Include gt-c-family-c-cppbuiltin.h.
1589
        (lazy_hex_fp_values, lazy_hex_fp_value_count): Add GTY(()) markers.
1590
        (lazy_hex_fp_value, builtin_define_with_hex_fp_value): Use
1591
        ggc_strdup instead of xstrdup.
1592
 
1593
2010-06-10  Jakub Jelinek  
1594
 
1595
        * c-cppbuiltin.c: Include cpp-id-data.h.
1596
        (lazy_hex_fp_values, lazy_hex_fp_value_count): New variables.
1597
        (lazy_hex_fp_value): New function.
1598
        (builtin_define_with_hex_fp_value): Provide definitions lazily.
1599
 
1600
2010-06-30  Manuel López-Ibáñez  
1601
 
1602
        * c-gimplify.c: Do not include tree-flow.h
1603
 
1604
2010-06-29  Joern Rennecke  
1605
 
1606
        PR other/44034
1607
        * c-common.c: Rename targetm member:
1608
        targetm.enum_va_list -> targetm.enum_va_list_p
1609
 
1610
2010-06-28  Anatoly Sokolov  
1611
 
1612
        * c-common.c (shorten_compare): Adjust call to force_fit_type_double.
1613
 
1614
2010-06-28  Steven Bosscher  
1615
 
1616
        * c-cppbuiltin.c: Do not include except.h.
1617
 
1618
2010-06-24  Andi Kleen  
1619
 
1620
        * c-common.c (warn_for_omitted_condop): New.
1621
        * c-common.h (warn_for_omitted_condop): Add prototype.
1622
 
1623
2010-06-21  Joseph Myers  
1624
 
1625
        * c.opt (lang-objc): Remove.
1626
        * c-opts.c (c_common_handle_option): Don't handle OPT_lang_objc.
1627
 
1628
2010-06-21  Joern Rennecke  
1629
 
1630
        * c-opts.c: Include "tm_p.h".
1631
 
1632
2010-06-20  Joseph Myers  
1633
 
1634
        * c-common.c (parse_optimize_options): Update call to
1635
        decode_options.
1636
 
1637
2010-06-18  Nathan Froyd  
1638
 
1639
        * c-common.c (record_types_used_by_current_var_decl): Adjust for
1640
        new type of types_used_by_cur_var_decl.
1641
 
1642
2010-06-17  Joern Rennecke  
1643
 
1644
        PR bootstrap/44512
1645
        * c-cppbuiltin.c (builtin_define_with_hex_fp_value): Add cast
1646
        for C++ standard compliance.
1647
 
1648
2010-06-16  Jason Merrill  
1649
 
1650
        * c.opt: Add -Wnoexcept.
1651
 
1652
2010-06-16  Richard Guenther  
1653
 
1654
        PR c/44555
1655
        * c-common.c (c_common_truthvalue_conversion): Remove
1656
        premature and wrong optimization concering ADDR_EXPRs.
1657
 
1658
2010-06-15  Arnaud Charlet  
1659
 
1660
        * c-ada-spec.c (dump_sloc): Remove column info.
1661
        (is_simple_enum): New function.
1662
        (dump_generic_ada_node, print_ada_declaration): Map C enum types to Ada
1663
        enum types when relevant.
1664
 
1665
2010-06-11  Manuel López-Ibáñez  
1666
 
1667
        * c-common.c (conversion_warning): Warn at expression
1668
        location.
1669
 
1670
2010-06-10  Joseph Myers  
1671
 
1672
        * c-opts.c (c_common_handle_option): Don't handle
1673
        OPT_fshow_column.
1674
 
1675
2010-06-08  Laurynas Biveinis  
1676
 
1677
        * c-pragma.c (push_alignment): Use typed GC allocation.
1678
        (handle_pragma_push_options): Likewise.
1679
 
1680
        * c-common.c (parse_optimize_options): Likewise.
1681
 
1682
        * c-common.h (struct sorted_fields_type): Add variable_size GTY
1683
        option.
1684
 
1685
2010-06-07  Joseph Myers  
1686
 
1687
        * c-common.c (flag_preprocess_only, flag_undef, flag_no_builtin,
1688
        flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
1689
        flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
1690
        flag_signed_bitfields, warn_strict_null_sentinel,
1691
        flag_nil_receivers, flag_zero_link, flag_replace_objc_classes,
1692
        flag_gen_declaration, flag_no_gnu_keywords,
1693
        flag_implement_inlines, flag_implicit_templates,
1694
        flag_implicit_inline_templates, flag_optional_diags,
1695
        flag_elide_constructors, flag_default_inline, flag_rtti,
1696
        flag_conserve_space, flag_access_control, flag_check_new,
1697
        flag_new_for_scope, flag_weak, flag_working_directory,
1698
        flag_use_cxa_atexit, flag_use_cxa_get_exception_ptr,
1699
        flag_enforce_eh_specs, flag_threadsafe_statics,
1700
        flag_pretty_templates): Remove.
1701
        * c-common.h (flag_preprocess_only, flag_nil_receivers,
1702
        flag_objc_exceptions, flag_objc_sjlj_exceptions, flag_zero_link,
1703
        flag_replace_objc_classes, flag_undef, flag_no_builtin,
1704
        flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
1705
        flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
1706
        flag_const_strings, flag_signed_bitfields, flag_gen_declaration,
1707
        flag_no_gnu_keywords, flag_implement_inlines,
1708
        flag_implicit_templates, flag_implicit_inline_templates,
1709
        flag_optional_diags, flag_elide_constructors, flag_default_inline,
1710
        flag_rtti, flag_conserve_space, flag_access_control,
1711
        flag_check_new, flag_new_for_scope, flag_weak,
1712
        flag_working_directory, flag_use_cxa_atexit,
1713
        flag_use_cxa_get_exception_ptr, flag_enforce_eh_specs,
1714
        flag_threadsafe_statics, flag_pretty_templates,
1715
        warn_strict_null_sentinel): Remove.
1716
        * c.opt (E, Wstrict-null-sentinel, faccess-control, fasm,
1717
        fbuiltin, fcheck-new, fconserve-space, felide-constructors,
1718
        fenforce-eh-specs, ffor-scope, fgnu-keywords, fimplement-inlines,
1719
        fimplicit-inline-templates, fimplicit-templates,
1720
        flax-vector-conversions, fms-extensions, fnil-receivers,
1721
        fnonansi-builtins, fpretty-templates, freplace-objc-classes,
1722
        frtti, fshort-double, fshort-enums, fshort-wchar,
1723
        fsigned-bitfields, fsigned-char, fstats, fthreadsafe-statics,
1724
        funsigned-bitfields, funsigned-char, fuse-cxa-atexit,
1725
        fuse-cxa-get-exception-ptr, fweak, fworking-directory, fzero-link,
1726
        gen-decls, undef): Use Var.
1727
        (fdefault-inline, foptional-diags): Document as doing nothing.
1728
        * c-opts.c (c_common_handle_option): Remove cases for options now
1729
        using Var.  Mark ignored options as such.
1730
 
1731
2010-06-05  Steven Bosscher  
1732
 
1733
        * c-common.c: Moved to here from parent directory.
1734
        * c-common.def: Likewise.
1735
        * c-common.h: Likewise.
1736
        * c-cppbuiltin.c: Likewise.
1737
        * c-dump.c: Likewise.
1738
        * c-format.c: Likewise.
1739
        * c-format.h : Likewise.
1740
        * c-gimplify.c: Likewise.
1741
        * c-lex.c: Likewise.
1742
        * c-omp.c: Likewise.
1743
        * c.opt: Likewise.
1744
        * c-opts.c: Likewise.
1745
        * c-pch.c: Likewise.
1746
        * c-ppoutput.c: Likewise.
1747
        * c-pragma.c: Likewise.
1748
        * c-pragma.h: Likewise.
1749
        * c-pretty-print.c: Likewise.
1750
        * c-pretty-print.h: Likewise.
1751
        * c-semantics.c: Likewise.
1752
        * stub-objc.c: Likewise.
1753
 
1754
        * c-common.c: Include gt-c-family-c-common.h.
1755
        * c-pragma.c: Include gt-c-family-c-pragma.h.
1756
 
1757
Copyright (C) 2010, 2011 Free Software Foundation, Inc.
1758
 
1759
Copying and distribution of this file, with or without modification,
1760
are permitted in any medium without royalty provided the copyright
1761
notice and this notice are preserved.

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.