]> gcc.gnu.org Git - gcc.git/blame - gcc/c-family/ChangeLog
* config-lang.in (build_by_default): Set to no.
[gcc.git] / gcc / c-family / ChangeLog
CommitLineData
6c39e757
NP
12010-11-30 Nicola Pero <nicola.pero@meta-innovation.com>
2
3 * c-common.h (objc_finish_function): New.
4 (objc_non_volatilized_type): Removed.
5 (objc_type_quals_match): Removed.
6 * stub-objc.c (objc_finish_function): New.
7 (objc_non_volatilized_type): Removed.
8 (objc_type_quals_match): Removed.
9
7c475d11
JM
102010-11-30 Joseph Myers <joseph@codesourcery.com>
11
12 * c-common.h (parse_optimize_options): Declare.
13 * c-cppbuiltin.c, c-format.c, c-gimplify.c, c-lex.c, c-omp.c,
14 c-pch.c, c-pragma.c, c-semantics.c: Don't include toplev.h.
15
71f3e391
JM
162010-11-29 Joseph Myers <joseph@codesourcery.com>
17
18 * c-opts.c (check_deps_environment_vars): Use getenv instead of
19 GET_ENVIRONMENT.
20 * c-pch.c (O_BINARY): Don't define here.
21 * c-pragma.h: Include "cpplib.h" instead of <cpplib.h>.
22
d5fabb58
JM
232010-11-25 Joseph Myers <joseph@codesourcery.com>
24
25 * c-cppbuiltin.c (c_cpp_builtins): Pass &global_options to
26 targetm.except_unwind_info.
27
299404a1
JM
282010-11-23 Joseph Myers <joseph@codesourcery.com>
29
30 * c-opts.c (c_common_handle_option): Pass location to
31 set_struct_debug_option.
32
c98cd5bf
JM
332010-11-23 Joseph Myers <joseph@codesourcery.com>
34
35 * c-common.c (visibility_options): Move from ../opts.c.
36 * c-common.h (struct visibility_flags, visibility_options):
37 Declare here.
38 * c-opts.c (finish_options): Rename to c_finish_options.
39 (c_common_init): Update call to finish_options.
40
a9546771
NP
412010-11-22 Nicola Pero <nicola.pero@meta-innovation.com>
42
43 PR objc/34033
44 * c-lex.c (lex_string): Check that each string in an Objective-C
45 string concat sequence starts with either one or zero '@', and
46 that there are no spurious '@' signs at the end.
47
24a57808
JM
482010-11-20 Joseph Myers <joseph@codesourcery.com>
49
50 * c-pragma.c: Remove conditionals on HANDLE_PRAGMA_PACK,
51 HANDLE_PRAGMA_PACK_PUSH_POP, HANDLE_PRAGMA_WEAK and
52 HANDLE_PRAGMA_VISIBILITY.
53 * c-pragma.h (HANDLE_PRAGMA_WEAK, HANDLE_PRAGMA_PACK,
54 HANDLE_PRAGMA_VISIBILITY): Don't define.
55 (HANDLE_SYSV_PRAGMA, HANDLE_PRAGMA_PACK_PUSH_POP): Don't test.
56
a9aa2c3a
NF
572010-11-20 Nathan Froyd <froydnj@codesourcery.com>
58
59 PR c++/16189
60 PR c++/36888
61 PR c++/45331
62 * c-common.h (keyword_begins_type_specifier): Declare.
63 (keyword_is_storage_class_specifier): Declare.
64 (keyword_is_type_qualifier): Declare.
65 * c-common.c (keyword_begins_type_specifier): New function.
66 (keyword_is_storage_class_specifier): New function.
67 (keyword_is_type_qualifier): Declare.
68
5386338c
JM
692010-11-19 Joseph Myers <joseph@codesourcery.com>
70
71 PR c/46547
72 * c-common.c (in_late_binary_op): Define.
73 (c_common_truthvalue_conversion): Check in_late_binary_op before
74 calling c_save_expr.
75 * c-common.h (in_late_binary_op): Declare.
76
69ccdddb
JM
772010-11-19 Joseph Myers <joseph@codesourcery.com>
78
79 * c-opts.c (c_common_handle_option): Update calls to
80 set_struct_debug_option.
81
6b192a09
NP
822010-11-19 Nicola Pero <nicola.pero@meta-innovation.com>
83
84 * c-common.h (objc_declare_protocols): Added additional argument.
85 * stub-objc.c (objc_declare_protocol): Same change.
86
fb52b50a
NF
872010-11-18 Nathan Froyd <froydnj@codesourcery.com>
88
89 PR c/33193
90 * c-common.h (build_real_imag_expr): Declare.
91 * c-semantics.c (build_real_imag_expr): Define.
92
b37421c6
JM
932010-11-17 Joseph Myers <joseph@codesourcery.com>
94
95 * c-opts.c (c_common_parse_file): Take no arguments.
96 * c-common.h (c_common_parse_file): Update prototype.
97
07078664
JJ
982010-11-16 Jakub Jelinek <jakub@redhat.com>
99
100 PR c++/46401
101 * c-common.c (warning_candidate_p): Don't track non-const calls
102 or STRING_CSTs.
103
c6a13190
ILT
1042010-11-15 Ian Lance Taylor <iant@google.com>
105
106 * c-lex.c (init_c_lex): Set macro debug callbacks if
107 flag_dump_go_spec is set.
108
925e8657
NP
1092010-11-15 Nicola Pero <nicola.pero@meta-innovation.com>
110
111 * c-common.h (objc_build_incr_expr_for_property_ref): New.
112 * stub-objc.c (objc_build_incr_expr_for_property_ref): New.
113
bb0a9581
NF
1142010-11-15 Nathan Froyd <froydnj@codesourcery.com>
115
116 PR preprocessor/45038
117 * c-cppbuiltin.c (c_cpp_builtins): Use different format for C++
118 dialects.
119
c5fa0890
JM
1202010-11-12 Joseph Myers <joseph@codesourcery.com>
121
122 * c-common.h (c_family_lang_mask): Declare.
123 * c-opts.c (c_family_lang_mask): Make extern.
124 * c-pragma.c (handle_pragma_diagnostic): Use
125 control_warning_option.
126
a4d8c676
JM
1272010-11-12 Joseph Myers <joseph@codesourcery.com>
128
129 * c-common.c (parse_optimize_options): Update call to
130 decode_options.
131 * c-common.h (c_common_handle_option): Update prototype.
132 * c-opts.c (c_common_handle_option): Take location_t parameter and
133 pass it to other functions.
134
f954bd2c
JM
1352010-11-11 Joseph Myers <joseph@codesourcery.com>
136
137 * c-opts.c (warning_as_error_callback): Remove.
138 (c_common_initialize_diagnostics): Don't call
139 register_warning_as_error_callback.
140 (c_common_handle_option): Handle -Werror=normalized= here.
141
d8a07487
JM
1422010-11-10 Joseph Myers <joseph@codesourcery.com>
143
144 * c-common.c (handle_mode_attribute): Use %' and word "signedness"
145 in diagnostic.
146 * c-opts.c (c_common_parse_file): Start diagnostics with lowercase
147 letter.
148 * c-pragma.c (handle_pragma_target, handle_pragma_optimize):
149 Remove trailing '.' from diagnostics.
150 * c.opt (Wwrite-strings_: Avoid '`' in help text.
151
d5478783
JM
1522010-11-10 Joseph Myers <joseph@codesourcery.com>
153
154 * c-common.c (parse_optimize_options): Pass global_dc to
155 decode_options.
156 * c-opts.c (c_common_handle_option): Pass &global_options to
157 set_Wstrict_aliasing.
158 * c.opt (v): Don't mark Common or document here.
159
91ebb981
IS
1602010-11-06 Iain Sandoe <iains@gcc.gnu.org>
161
162 PR target/44981
163 * c-format.c (format_type): New type gcc_objc_string_format_type.
164 (valid_stringptr_type_p): New.
165 (handle_format_arg_attribute): Use valid_stringptr_type_p ().
166 (check_format_string): Pass expected type, use
167 valid_stringptr_type_p (), check that the format string types are
168 consistent with the format specification.
169 (decode_format_attr): Warn if NSString is used outside objective-c.
170 (format_types_orig): Add NSString.
171 (format_name): New.
172 (format_flags): New.
173 (check_format_arg): Handle format strings requiring an external parser.
174 first_target_format_type: New variable.
175 (handle_format_attribute): Set up first_target_format_type, pass the
176 expected format arg string type to check_format_string().
177 * c-common.h (FMT_FLAG_PARSE_ARG_CONVERT_EXTERNAL): New flag.
178 * stub-objc.c (objc_string_ref_type_p): New.
179 (objc_check_format_arg): New.
180
bede2adc
NP
1812010-11-04 Nicola Pero <nicola.pero@meta-innovation.com>
182
183 Fixed using the Objective-C 2.0 dot-syntax with class names.
184 * c-common.h (objc_build_class_component_ref): New.
185 * stub-objc.c (objc_build_class_component_ref): New.
186
9a179d01
NP
1872010-11-03 Nicola Pero <nicola.pero@meta-innovation.com>
188
189 * c.opt (Wproperty-assign-default): New option.
190
22d8d616
NP
1912010-11-03 Nicola Pero <nicola.pero@meta-innovation.com>
192
193 Implemented -fobjc-std=objc1 flag.
194 * c.opt (fobjc-std=objc1): New option.
195
2debdb4f
NP
1962010-11-01 Nicola Pero <nicola.pero@meta-innovation.com>
197
198 Implemented format and noreturn attributes for Objective-C methods.
199 * c-common.c (handle_noreturn_attribute): Recognize 'noreturn'
200 attribute for Objective-C methods.
201
ec52b111
JM
2022010-10-31 Jason Merrill <jason@redhat.com>
203
204 * c-common.c (conversion_warning, warn_for_collisions_1): Use
205 EXPR_LOC_OR_HERE.
206
46a88c12
NP
2072010-10-30 Nicola Pero <nicola.pero@meta-innovation.com>
208
209 Implemented Objective-C 2.0 @property, @synthesize and @dynamic.
210 * c-common.h (enum rid): Removed RID_COPIES and RID_IVAR.
211 (objc_add_property_declaration): Removed arguments for copies and
212 ivar.
213 (objc_build_getter_call): Renamed to
214 objc_maybe_build_component_ref.
215 (objc_build_setter_call): Renamed to objc_maybe_build_modify_expr.
216 (objc_is_property_ref): New.
217 * c-common.c (c_common_reswords): Removed copies and ivar.
218 * stub-objc.c (objc_add_property_declaration): Removed arguments
219 for copies and ivar.
220 (objc_build_getter_call): Renamed to
221 objc_maybe_build_component_ref.
222 (objc_build_setter_call): Renamed to objc_maybe_build_modify_expr.
223 (objc_is_property_ref): New.
224
1e4bf85b
AC
2252010-10-29 Arnaud Charlet <charlet@adacore.com>
226 Matthew Gingell <gingell@adacore.com>
227
228 * c-ada-spec.c (separate_class_package): New function.
229 (pp_ada_tree_identifier): Prefix references to C++ classes with the
230 name of their enclosing package.
231 (print_ada_declaration): Use separate_class_package.
232
81f0bab2
JM
2332010-10-27 Jason Merrill <jason@redhat.com>
234
2b08f2c5
JM
235 * c-common.c (c_common_reswords): Add __is_literal_type.
236 * c-common.h (enum rid): Add RID_IS_LITERAL_TYPE.
237
81f0bab2
JM
238 * c-common.c (check_case_value): Remove special C++ code.
239
200290f2
NP
2402010-10-27 Nicola Pero <nicola.pero@meta-innovation.com>
241
242 * c-common.h (enum rid): Added RID_READWRITE, RID_ASSIGN,
243 RID_RETAIN, RID_COPY and RID_NONATOMIC. Updated RID_FIRST_PATTR
244 and RID_LAST_PATTR.
245 (objc_add_property_declaration): Added additional arguments.
246 (objc_property_attribute_kind): Removed.
247 (objc_set_property_attr): Removed.
248 * c-common.c (c_common_reswords): Added readwrite, assign, retain,
249 copy and nonatomic.
250 * stub-objc.c (objc_add_property_declaration): Added additional
251 arguments.
252 (objc_set_property_attr): Removed.
253
f614132b
NP
2542010-10-27 Nicola Pero <nicola.pero@meta-innovation.com>
255
256 * c-common.h (objc_add_property_variable): Renamed to
257 objc_add_property_declaration. Added location argument.
258 * stub-objc.c (objc_add_property_variable): Same change.
259
b8a18805
NP
2602010-10-23 Nicola Pero <nicola.pero@meta-innovation.com>
261
262 * c-common.h (objc_maybe_printable_name): New.
263 * stub-objc.c (objc_maybe_printable_name): New.
264
30cd1c5d
AS
2652010-10-22 Artjoms Sinkarovs <artyom.shinakroff@gmail.com>
266 Andrew Pinski <pinskia@gmail.com>
267
268 * c-common.h (c_common_mark_addressable_vec): Declare.
269 * c-common.c (c_common_mark_addressable_vec): New function.
270
249a82c4
NP
2712010-10-20 Nicola Pero <nicola.pero@meta-innovation.com>
272
273 * c-common.h (objc_set_method_type): Removed.
274 (objc_add_method_declaration): Added boolean argument.
275 (objc_start_method_definition): Same change.
276 (objc_build_method_signature): Same change.
277 * stub-objc.c (objc_set_method_type): Removed.
278 (objc_add_method_declaration): Added boolean argument.
279 (objc_start_method_definition): Same change.
280 (objc_build_method_signature): Same change.
281
977e30bc
NP
2822010-10-20 Nicola Pero <nicola.pero@meta-innovation.com>
283
284 * c-common.h (finish_file): Removed.
285 (objc_write_global_declarations): New.
286 * c-opts.c (c_common_parse_file): Do not call finish_file.
287 * stub-objc.c (objc_write_global_declarations): New.
288
da57d1b9
NP
2892010-10-18 Nicola Pero <nicola.pero@meta-innovation.com>
290
291 Implemented parsing @synthesize and @dynamic for
292 Objective-C/Objective-C++.
293 * c-common.h (enum rid): Add RID_AT_SYNTHESIZE and RID_AT_DYNAMIC.
294 (objc_add_synthesize_declaration): New.
295 (objc_add_dynamic_declaration): New.
296 * c-common.c (c_common_reswords): Add synthesize and dynamic.
297 * stub-objc.c (objc_add_synthesize_declaration): New.
298 (objc_add_dynamic_declaration): New.
299
0069111f
MM
3002010-10-18 Michael Meissner <meissner@linux.vnet.ibm.com>
301
302 PR target/46041
303 * c-cppbuiltin.c (mode_has_fma): Move function here from
304 builtins.c. Don't use the fma optab, instead just use the
305 HAVE_fma* macros, so that __FP_FAST_FMA* will be defined when
306 using -save-temps.
307
e426b47b
NP
3082010-10-18 Nicola Pero <nicola.pero@meta-innovation.com>
309
310 Merge from 'apple/trunk' branch on FSF servers.
0069111f 311
e426b47b
NP
312 2005-11-08 Fariborz Jahanian <fjahanian@apple.com>
313
314 Radar 4330422
315 * c-common.h (objc_non_volatilized_type): New declaration
316 * stub-objc.c (objc_non_volatilized_type): New stub.
317
90fbfdc3
NP
3182010-10-17 Nicola Pero <nicola.pero@meta-innovation.com>
319
e426b47b 320 Merge from 'apple/trunk' branch on FSF servers.
90fbfdc3
NP
321
322 2006-03-27 Fariborz Jahanian <fjahanian@apple.com>
323
324 Radar 4133425
325 * c-common.h (objc_diagnose_private_ivar): New decl.
0069111f 326 * stub-objc.c (objc_diagnose_private_ivar): New stub.
90fbfdc3 327
c37d8c30
IS
3282010-10-17 Iain Sandoe <iains@gcc.gnu.org>
329
330 * c-common.c (c_common_reswords): Add package, RID_AT_PACKAGE.
331 * c-common.h (enum rid): Add RID_AT_PACKAGE.
332 (objc_ivar_visibility_kind): New enum.
333 (objc_set_visibility): Adjust prototype to use visibility enum.
0069111f 334 * stub-objc.c (objc_set_visibility): Adjust stub to use
c37d8c30
IS
335 visibility enum.
336
1b1562a5
MM
3372010-10-14 Michael Meissner <meissner@linux.vnet.ibm.com>
338
339 * c-cppbuiltin.c (builtin_define_float_constants): Emit
340 __FP_FAST_FMA, __FP_FAST_FMAF, and __FP_FAST_FMAL if the machine
341 has the appropriate fma builtins.
342 (c_cpp_builtins): Adjust call to builtin_define_float_constants.
343
668ea4b1
IS
3442010-10-14 Iain Sandoe <iains@gcc.gnu.org>
345
1b1562a5 346 merge from FSF apple 'trunk' branch.
668ea4b1 347 2006 Fariborz Jahanian <fjahanian@apple.com>
1b1562a5 348
668ea4b1
IS
349 Radars 4436866, 4505126, 4506903, 4517826
350 * c-common.c (c_common_resword): Define @property and its attributes.
351 * c-common.h: Define property attribute enum entries.
352 (OBJC_IS_PATTR_KEYWORD): New.
353 (objc_property_attribute_kind): New enum.
354 Declare objc_set_property_attr (), objc_add_property_variable (),
355 objc_build_getter_call () and objc_build_setter_call ().
356 * stub-objc.c (objc_set_property_attr): New stub.
357 (objc_add_property_variable): Likewise.
358 (objc_build_getter_call): Likewise.
359 (objc_build_setter_call) Likewise.
1b1562a5 360
a1178b30
IS
3612010-10-13 Iain Sandoe <iains@gcc.gnu.org>
362
1b1562a5 363 merge from FSF apple 'trunk' branch.
a1178b30
IS
364 2006-04-26 Fariborz Jahanian <fjahanian@apple.com>
365
366 Radar 3803157 (method attributes)
367 * c-common.c (handle_deprecated_attribute): Recognize
368 objc methods as valid declarations.
369 * c-common.h: Declare objc_method_decl ().
1b1562a5 370 * stub-objc.c (objc_method_decl): New stub.
a1178b30 371
a75bfaa6
JM
3722010-10-08 Joseph Myers <joseph@codesourcery.com>
373
374 * c-common.c (parse_optimize_options): Call
375 decode_cmdline_options_to_array_default_mask before
376 decode_options. Update arguments to decode_options.
377 * c-common.h (c_common_init_options_struct): Declare.
378 * c-opts.c (c_common_init_options_struct): New. Split out from
379 c_common_init_options.
380
f05b9d93
NP
3812010-10-06 Nicola Pero <nicola.pero@meta-innovation.com>
382
383 Implemented fast enumeration for Objective-C.
384 * c-common.h (objc_finish_foreach_loop): New.
385 * stub-objc.c (objc_finish_foreach_loop): New.
386
1ebe4b4f
JM
3872010-10-05 Joseph Myers <joseph@codesourcery.com>
388
389 * c-common.h (struct diagnostic_context): Don't declare here.
390 (c_common_initialize_diagnostics): Declare using
391 diagnostic_context typedef.
392 * c-opts.c (c_common_handle_option): Pass global_dc to
393 handle_generated_option.
394
d4d24ba4
JM
3952010-10-04 Joseph Myers <joseph@codesourcery.com>
396
397 * c-opts.c (c_common_handle_option): Pass &global_options_set to
398 handle_generated_option.
399
478a1c5b
ILT
4002010-10-03 Ian Lance Taylor <iant@google.com>
401
402 * c.opt (-fplan9-extensions): New option.
403
82a1c2fe
FXC
4042010-10-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
405
406 * c-cppbuiltin.c (define__GNUC__, builtin_define_type_precision):
407 Remove.
408 (c_cpp_builtins): Call functions from cppbuiltin.c instead
409 of duplicating code.
410
92902b1b
IS
4112010-09-30 Iain Sandoe <iains@gcc.gnu.org>
412
413 * c-common.c: Add two new entries for @optional
414 and @required keywords.
415
416 merge from FSF 'apple/trunk' branch.
417 2006-01-30 Fariborz Jahanian <fjahanian@apple.com>
418
419 Radar 4386773
420 * c-common.h (RID_AT_OPTIONAL, RID_AT_REQUIRED): Two new
421 objective-c keywords.
422 (objc_set_method_opt): New declaration.
423 * stub-objc.c (objc_set_method_opt): New stub.
424
46625112
JM
4252010-09-30 Joseph Myers <joseph@codesourcery.com>
426
427 * c-common.c (handle_optimize_attribute): Pass &global_options to
428 cl_optimization_save and cl_optimization_restore.
429 * c-opts.c (c_common_handle_option): Pass &global_options to
430 handle_generated_option.
431 * c-pragma.c (handle_pragma_diagnostic): Use option_flag_var.
432 (handle_pragma_pop_options, handle_pragma_reset_options): Pass
433 &global_options to cl_optimization_restore.
434
49b91f05
NP
4352010-09-30 Nicola Pero <nicola.pero@meta-innovation.com>
436
437 * c-lex.c (c_lex_with_flags): Updated comments for CPP_AT_NAME
438 Objective-C/Objective-C++ keywords.
439
13ed556f 4402010-09-29 Nicola Pero <nicola.pero@meta-innovation.com>
a6341d57
NP
441
442 Merge from 'apple/trunk' branch on FSF servers.
443
444 2005-10-04 Fariborz Jahanian <fjahanian@apple.com>
445
446 Radar 4281748
447 * c-common.h (objc_check_global_decl): New declaration.
448 * stub-objc.c (objc_check_global_decl): New stub.
449
f0036cca
JM
4502010-09-29 Joseph Myers <joseph@codesourcery.com>
451
452 * c.opt: Don't use VarExists.
453
e3339d0f
JM
4542010-09-29 Joseph Myers <joseph@codesourcery.com>
455
456 * c-common.c (c_cpp_error): Update names of diagnostic_context
457 members.
458 * c-cppbuiltin.c (c_cpp_builtins_optimize_pragma): Update names of
459 cl_optimization members.
460 * c-opts.c (warning_as_error_callback, c_common_handle_option,
461 sanitize_cpp_opts, finish_options): Update names of cpp_options
462 members.
463
1973201f
NP
4642010-09-29 Nicola Pero <nicola.pero@meta-innovation.com>
465
466 * c-common.h (OBJC_IS_CXX_KEYWORD): New macro. Updated comments.
467 (objc_is_reserved_word): Removed.
468 * c-common.c: Updated comments.
469 * c-lex.c (c_lex_with_flags): Use OBJC_IS_CXX_KEYWORD instead of
470 objc_is_reserved_word.
471 * stub-objc.c (objc_is_reserved_word): Removed.
472
f7e71da5
IS
4732010-09-28 Iain Sandoe <iains@gcc.gnu.org>
474
475 * c-common.h (objc_add_method_declaration): Adjust prototype to
476 include attributes.
477 (objc_start_method_definition): Likewise.
478 (objc_build_keyword_decl): Likewise.
479 * stub-objc.c:(objc_add_method_declaration): Handle attributes.
480 (objc_start_method_definition): Likewise.
481 (objc_build_keyword_decl): Likewise.
482
c165dca7
IS
4832010-09-28 Iain Sandoe <iains@gcc.gnu.org>
484
485 * c-common.h (objc_start_class_interface): Adjust prototype.
486 (objc_start_category_interface): Likewise.
487 (objc_start_protocol): Likewise.
488 * stub-objc.c (objc_start_protocol): Adjust for extra argument.
489 (objc_start_class_interface): Likewise.
490 (objc_start_category_interface): Likewise.
491
7458026b
ILT
4922010-09-27 Ian Lance Taylor <iant@google.com>
493
494 * c-common.c (c_common_attribute_table): Add no_split_stack.
495 (handle_no_split_stack_attribute): New static function.
496
b581b85b
NP
4972010-09-27 Nicola Pero <nicola.pero@meta-innovation.com>
498
499 Merge from 'apple/trunk' branch on FSF servers.
500
501 2005-12-15 Fariborz Jahanian <fjahanian@apple.com>
502
503 Radar 4229905
504 * c-common.h (objc_have_common_type): New declaration.
505 * stub-objc.c (objc_have_common_type): New stub.
506
507 2005-06-22 Ziemowit Laski <zlaski@apple.com>
508
509 Radar 4154928
510 * c-common.h (objc_common_type): New prototype.
511 * stub-objc.c (objc_common_type): New stub.
512
46a4da10
JH
5132010-09-24 Jan Hubicka <jh@suse.cz>
514
515 * c-common.c (handle_leaf_attribute): New function.
516 (struct attribute_spec c_common_att): Add leaf.
517
e200444e
JM
5182010-09-22 Joseph Myers <joseph@codesourcery.com>
519
520 * c.opt (-all-warnings, -ansi, -assert, -assert=, -comments,
521 -comments-in-macros, -define-macro, -define-macro=, -dependencies,
522 -dump, -dump=, -imacros, -imacros=, -include, -include=,
523 -include-barrier, -include-directory, -include-directory=,
524 -include-directory-after, -include-directory-after=,
525 -include-prefix, -include-prefix=, -include-with-prefix,
526 -include-with-prefix=, -include-with-prefix-after,
527 -include-with-prefix-after=, -include-with-prefix-before,
528 -include-with-prefix-before=, -no-integrated-cpp,
529 -no-line-commands, -no-standard-includes, -no-warnings, -output,
530 -output=, -pedantic, -pedantic-errors, -preprocess,
531 -print-missing-file-dependencies, -trace-includes, -traditional,
532 -traditional-cpp, -trigraphs, -undefine-macro, -undefine-macro=,
533 -user-dependencies, -verbose, -write-dependencies,
534 -write-user-dependencies, no-integrated-cpp, traditional): New.
535
29a80ea6
NP
5362010-09-21 Nicola Pero <nicola.pero@meta-innovation.com>
537
538 PR objc/23710
ac1fc2fc
NP
539 * c-common.h (objc_start_method_definition): Return bool instead
540 of void.
541 * stub-objc.c (objc_start_method_definition): Return bool instead
542 of void.
543
5442010-09-21 Nicola Pero <nicola.pero@meta-innovation.com>
545
546 PR objc/25965
547 * c-common.h (objc_get_interface_ivars): New declaration.
548 * stub-objc.c (objc_get_interface_ivars): New stub.
29a80ea6 549
de621752
ILT
5502010-09-15 Ian Lance Taylor <iant@google.com>
551
552 * c-common.c (parse_optimize_options): Do not capitalize warning
06730c5d 553 messages. Remove period at end of warning message.
de621752 554
ba885ec5
NS
5552010-09-09 Nathan Sidwell <nathan@codesourcery.com>
556
557 * c-common.c (handle_alias_ifunc_attribute): New, broken out of ...
558 (handle_alias_attribute): ... here.
559 (handle_ifunc_attribute): New.
560
c5ee1358
MM
5612010-09-06 Mark Mitchell <mark@codesourcery.com>
562
563 * c-common.h (do_warn_double_promotion): Declare.
564 * c-common.c (do_warn_double_promotion): Define.
565
0a0b3574
MM
5662010-09-05 Mark Mitchell <mark@codesourcery.com>
567
568 * c.opt (Wdouble-promotion): New.
569
d1779886
JM
5702010-09-02 Joseph Myers <joseph@codesourcery.com>
571
572 * c.opt (falt-external-templates, fhuge-objects, fvtable-gc,
573 fvtable-thunks, fxref): Mark no longer supported in help text.
574
2d2bd949
JM
5752010-09-02 Joseph Myers <joseph@codesourcery.com>
576
577 * c.opt (Wimport, fall-virtual, falt-external-templates,
578 fdefault-inline, fenum-int-equiv, fexternal-templates,
579 fguiding-decls, fhonor-std, fhuge-objects, flabels-ok,
580 fname-mangling-version-, fnew-abi, fnonnull-objects,
581 foptional-diags, fsquangle, fstrict-prototype, fthis-is-variable,
582 fvtable-gc, fvtable-thunks, fxref): Mark with Ignore and Warn as
583 applicable.
584 (fhandle-exceptions): Mark with Alias and Warn.
585 * c-opts.c (c_common_handle_option): Don't handle options marked
586 as ignored.
587
5de8299c
JM
5882010-09-02 Joseph Myers <joseph@codesourcery.com>
589
590 * c.opt (Wcomments, Werror-implicit-function-declaration,
591 ftemplate-depth-, std=c89, std=c9x, std=gnu89, std=gnu9x,
592 std=iso9899:1990, std=iso9899:1999, std=iso9899:199x): Mark as
593 aliases.
594 * c-common.c (option_codes): Use OPT_Wcomment instead of
595 OPT_Wcomments.
596 * c-opts.c (warning_as_error_callback, c_common_handle_option):
597 Don't handle options marked as aliases.
598
0ceb0201
RG
5992010-08-25 Richard Guenther <rguenther@suse.de>
600
601 * c-common.c (c_common_get_alias_set): Remove special
602 handling for pointers.
603
ac47786e
NF
6042010-08-20 Nathan Froyd <froydnj@codesourcery.com>
605
606 * c-common.c: Use FOR_EACH_VEC_ELT.
607 * c-gimplify.c: Likewise.
608 * c-pragma.c: Likewise.
609
c878765b
JM
6102010-08-16 Joseph Myers <joseph@codesourcery.com>
611
612 * c.opt (MDX): Change back to MD. Mark NoDriverArg instead of
613 RejectDriver.
614 (MMDX): Change back to MMD. Mark NoDriverArg instead of
615 RejectDriver.
616 * c-opts.c (c_common_handle_option): Use OPT_MD and OPT_MMD
617 instead of OPT_MDX and OPT_MMDX.
618
603349bf
JM
6192010-08-16 Joseph Myers <joseph@codesourcery.com>
620
621 * c.opt (MDX, MMDX, lang-asm): Mark RejectDriver.
622
644fa7ac
JM
6232010-08-12 Joseph Myers <joseph@codesourcery.com>
624
625 * c.opt (MD, MMD): Change to MDX and MMDX.
626 * c-opts.c (c_common_handle_option): Use OPT_MMD and OPT_MMDX.
627
481e1176
JM
6282010-08-11 Joseph Myers <joseph@codesourcery.com>
629
630 * c-opts.c (c_common_handle_option): Call handle_generated_option
631 instead of handle_option.
632
ac8dc9f7
NF
6332010-08-08 Nathan Froyd <froydnj@codesourcery.com>
634
635 * c-pragma.c (add_to_renaming_pragma_list): Fix call to VEC_safe_push.
636 (maybe_apply_renaming_pragma): Delete unneeded declarations.
637
4f8c876d
NF
6382010-08-08 Nathan Froyd <froydnj@codesourcery.com>
639
640 * c-pragma.c (pending_redefinition): Declare. Declare a VEC of it.
641 (pending_redefine_extname): Change type to a VEC.
642 (add_to_renaming_pragma_list): Update for new type of
643 pending_redefine_extname.
ac8dc9f7 644 (maybe_apply_renaming_pragma): Likewise.
4f8c876d 645
3b0c690e
AC
6462010-08-04 Arnaud Charlet <charlet@adacore.com>
647
648 * c-ada-spec.c (dump_ada_template): Mark underlying instance type as
649 visited.
650 (dump_generic_ada_node): Code clean up. Use TREE_VISITED flag to
651 decide whether a type has already been declared/seen.
652 Do not go to the original type.
653 (dump_nested_types): New parameter forward.
654 Generate forward declaration if needed and mark type as visited.
655 (print_ada_declaration): Call dump_nested_types if not already done.
656 Mark types as visited.
657
1890bccc
JM
6582010-08-03 Joseph Myers <joseph@codesourcery.com>
659
660 * c.opt (-print-pch-checksum): Remove option.
661 * c-opts.c (c_common_handle_option): Don't handle
662 OPT_print_pch_checksum.
663
5f20c657
JM
6642010-07-27 Joseph Myers <joseph@codesourcery.com>
665
666 * c-common.h (c_common_handle_option): Update prototype and return
667 value type.
668 * c-opts.c (c_common_handle_option): Update prototype and return
669 value type. Update calls to handle_option and
670 enable_warning_as_error.
671
f551f80c
JJ
6722010-07-27 Jakub Jelinek <jakub@redhat.com>
673
674 PR c/45079
675 * c-pretty-print.c (pp_c_expression): Handle C_MAYBE_CONST_EXPR.
676
61ff2bdc
JM
6772010-07-27 Joseph Myers <joseph@codesourcery.com>
678
679 * c-common.h (c_common_missing_argument): Remove.
680 * c-opts.c (c_common_missing_argument): Remove.
681 * c.opt (A, D, F, I, MD, MMD, MQ, MT, U, fconstant-string-class=,
682 idirafter, imacros, include, isysroot, isystem, iquote): Add
683 MissingArgError.
684 * c-objc-common.h (LANG_HOOKS_MISSING_ARGUMENT): Remove.
685
7a9bf9a4
JM
6862010-07-27 Joseph Myers <joseph@codesourcery.com>
687
688 * c-common.h (c_common_option_lang_mask,
689 c_common_initialize_diagnostics, c_common_complain_wrong_lang_p):
690 New.
691 (c_common_init_options): Update prototype.
692 * c-opts.c (c_common_option_lang_mask): New.
693 (c_common_initialize_diagnostics): Split out of
694 c_common_init_options.
695 (accept_all_c_family_options, c_common_complain_wrong_lang_p):
696 New.
697 (c_common_init_options): Update prototype. Use decoded options in
698 search for -lang-asm.
699
910ad8de
NF
7002010-07-15 Nathan Froyd <froydnj@codesourcery.com>
701
702 * c-common.c: Carefully replace TREE_CHAIN with DECL_CHAIN.
703 * c-format.c: Likewise.
704
718f9c0f
MLI
7052010-07-08 Manuel López-Ibáñez <manu@gcc.gnu.org>
706
707 * c-common.h: Include diagnostic-core.h. Error if already
708 included.
709 * c-semantics.c: Do not define GCC_DIAG_STYLE here.
710
4d451982
MLI
7112010-07-03 Manuel López-Ibáñez <manu@gcc.gnu.org>
712
713 * c-family/c-common.c (IN_GCC_FRONTEND): Do not undef.
714 Do not include expr.h
715 (vector_mode_valid_p): Move here.
716
119fe915
SB
7172010-06-21 DJ Delorie <dj@redhat.com>
718
719 * c-pragma.c (handle_pragma_diagnostic): Add push/pop,
720 allow these pragmas anywhere.
721
7222010-06-14 Jakub Jelinek <jakub@redhat.com>
723
724 PR bootstrap/44509
725 * c-cppbuiltin.c: Include gt-c-family-c-cppbuiltin.h.
726 (lazy_hex_fp_values, lazy_hex_fp_value_count): Add GTY(()) markers.
727 (lazy_hex_fp_value, builtin_define_with_hex_fp_value): Use
728 ggc_strdup instead of xstrdup.
729
7302010-06-10 Jakub Jelinek <jakub@redhat.com>
731
732 * c-cppbuiltin.c: Include cpp-id-data.h.
733 (lazy_hex_fp_values, lazy_hex_fp_value_count): New variables.
734 (lazy_hex_fp_value): New function.
735 (builtin_define_with_hex_fp_value): Provide definitions lazily.
736
6662d794
MLI
7372010-06-30 Manuel López-Ibáñez <manu@gcc.gnu.org>
738
739 * c-gimplify.c: Do not include tree-flow.h
740
38f8b050
JR
7412010-06-29 Joern Rennecke <joern.rennecke@embecosm.com>
742
743 PR other/44034
744 * c-common.c: Rename targetm member:
745 targetm.enum_va_list -> targetm.enum_va_list_p
746
9589f23e
AS
7472010-06-28 Anatoly Sokolov <aesok@post.ru>
748
749 * c-common.c (shorten_compare): Adjust call to force_fit_type_double.
750
3b06d379
SB
7512010-06-28 Steven Bosscher <steven@gcc.gnu.org>
752
753 * c-cppbuiltin.c: Do not include except.h.
754
d166d4c3
AK
7552010-06-24 Andi Kleen <ak@linux.intel.com>
756
757 * c-common.c (warn_for_omitted_condop): New.
758 * c-common.h (warn_for_omitted_condop): Add prototype.
759
70cb8be6
JM
7602010-06-21 Joseph Myers <joseph@codesourcery.com>
761
762 * c.opt (lang-objc): Remove.
763 * c-opts.c (c_common_handle_option): Don't handle OPT_lang_objc.
764
a4c97feb
JR
7652010-06-21 Joern Rennecke <joern.rennecke@embecosm.com>
766
767 * c-opts.c: Include "tm_p.h".
768
6e2f1956
JM
7692010-06-20 Joseph Myers <joseph@codesourcery.com>
770
771 * c-common.c (parse_optimize_options): Update call to
772 decode_options.
773
bc87224e
NF
7742010-06-18 Nathan Froyd <froydnj@codesourcery.com>
775
776 * c-common.c (record_types_used_by_current_var_decl): Adjust for
777 new type of types_used_by_cur_var_decl.
778
b49cf425
JR
7792010-06-17 Joern Rennecke <joern.rennecke@embecosm.com>
780
781 PR bootstrap/44512
782 * c-cppbuiltin.c (builtin_define_with_hex_fp_value): Add cast
783 for C++ standard compliance.
784
59f9c2ed
JM
7852010-06-16 Jason Merrill <jason@redhat.com>
786
787 * c.opt: Add -Wnoexcept.
788
33766b66
RG
7892010-06-16 Richard Guenther <rguenther@suse.de>
790
791 PR c/44555
792 * c-common.c (c_common_truthvalue_conversion): Remove
793 premature and wrong optimization concering ADDR_EXPRs.
794
eff7e30c
AC
7952010-06-15 Arnaud Charlet <charlet@adacore.com>
796
797 * c-ada-spec.c (dump_sloc): Remove column info.
798 (is_simple_enum): New function.
799 (dump_generic_ada_node, print_ada_declaration): Map C enum types to Ada
800 enum types when relevant.
801
6312e84d
MLI
8022010-06-11 Manuel López-Ibáñez <manu@gcc.gnu.org>
803
804 * c-common.c (conversion_warning): Warn at expression
805 location.
806
1cb42611
JM
8072010-06-10 Joseph Myers <joseph@codesourcery.com>
808
809 * c-opts.c (c_common_handle_option): Don't handle
810 OPT_fshow_column.
811
a9429e29
LB
8122010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com>
813
814 * c-pragma.c (push_alignment): Use typed GC allocation.
815 (handle_pragma_push_options): Likewise.
816
817 * c-common.c (parse_optimize_options): Likewise.
818
819 * c-common.h (struct sorted_fields_type): Add variable_size GTY
820 option.
821
5498f011
JM
8222010-06-07 Joseph Myers <joseph@codesourcery.com>
823
824 * c-common.c (flag_preprocess_only, flag_undef, flag_no_builtin,
825 flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
826 flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
827 flag_signed_bitfields, warn_strict_null_sentinel,
828 flag_nil_receivers, flag_zero_link, flag_replace_objc_classes,
829 flag_gen_declaration, flag_no_gnu_keywords,
830 flag_implement_inlines, flag_implicit_templates,
831 flag_implicit_inline_templates, flag_optional_diags,
832 flag_elide_constructors, flag_default_inline, flag_rtti,
833 flag_conserve_space, flag_access_control, flag_check_new,
834 flag_new_for_scope, flag_weak, flag_working_directory,
835 flag_use_cxa_atexit, flag_use_cxa_get_exception_ptr,
836 flag_enforce_eh_specs, flag_threadsafe_statics,
837 flag_pretty_templates): Remove.
838 * c-common.h (flag_preprocess_only, flag_nil_receivers,
839 flag_objc_exceptions, flag_objc_sjlj_exceptions, flag_zero_link,
840 flag_replace_objc_classes, flag_undef, flag_no_builtin,
841 flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
842 flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
843 flag_const_strings, flag_signed_bitfields, flag_gen_declaration,
844 flag_no_gnu_keywords, flag_implement_inlines,
845 flag_implicit_templates, flag_implicit_inline_templates,
846 flag_optional_diags, flag_elide_constructors, flag_default_inline,
847 flag_rtti, flag_conserve_space, flag_access_control,
848 flag_check_new, flag_new_for_scope, flag_weak,
849 flag_working_directory, flag_use_cxa_atexit,
850 flag_use_cxa_get_exception_ptr, flag_enforce_eh_specs,
851 flag_threadsafe_statics, flag_pretty_templates,
852 warn_strict_null_sentinel): Remove.
853 * c.opt (E, Wstrict-null-sentinel, faccess-control, fasm,
854 fbuiltin, fcheck-new, fconserve-space, felide-constructors,
855 fenforce-eh-specs, ffor-scope, fgnu-keywords, fimplement-inlines,
856 fimplicit-inline-templates, fimplicit-templates,
857 flax-vector-conversions, fms-extensions, fnil-receivers,
858 fnonansi-builtins, fpretty-templates, freplace-objc-classes,
859 frtti, fshort-double, fshort-enums, fshort-wchar,
860 fsigned-bitfields, fsigned-char, fstats, fthreadsafe-statics,
861 funsigned-bitfields, funsigned-char, fuse-cxa-atexit,
862 fuse-cxa-get-exception-ptr, fweak, fworking-directory, fzero-link,
863 gen-decls, undef): Use Var.
864 (fdefault-inline, foptional-diags): Document as doing nothing.
865 * c-opts.c (c_common_handle_option): Remove cases for options now
866 using Var. Mark ignored options as such.
867
39dabefd
SB
8682010-06-05 Steven Bosscher <steven@gcc.gnu.org>
869
870 * c-common.c: Moved to here from parent directory.
871 * c-common.def: Likewise.
872 * c-common.h: Likewise.
873 * c-cppbuiltin.c: Likewise.
874 * c-dump.c: Likewise.
875 * c-format.c: Likewise.
876 * c-format.h : Likewise.
877 * c-gimplify.c: Likewise.
878 * c-lex.c: Likewise.
879 * c-omp.c: Likewise.
880 * c.opt: Likewise.
881 * c-opts.c: Likewise.
882 * c-pch.c: Likewise.
883 * c-ppoutput.c: Likewise.
884 * c-pragma.c: Likewise.
885 * c-pragma.h: Likewise.
886 * c-pretty-print.c: Likewise.
887 * c-pretty-print.h: Likewise.
888 * c-semantics.c: Likewise.
889 * stub-objc.c: Likewise.
890
891 * c-common.c: Include gt-c-family-c-common.h.
892 * c-pragma.c: Include gt-c-family-c-pragma.h.
893\f
894Copyright (C) 2010 Free Software Foundation, Inc.
895
896Copying and distribution of this file, with or without modification,
897are permitted in any medium without royalty provided the copyright
898notice and this notice are preserved.
This page took 0.325599 seconds and 5 git commands to generate.