]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/c-family/ChangeLog
re PR target/46419 (_mm_cvtpu16_ps (and hence _mm_cvtpu8_ps) returns false result)
[thirdparty/gcc.git] / gcc / c-family / ChangeLog
CommitLineData
d5478783
JM
12010-11-10 Joseph Myers <joseph@codesourcery.com>
2
3 * c-common.c (parse_optimize_options): Pass global_dc to
4 decode_options.
5 * c-opts.c (c_common_handle_option): Pass &global_options to
6 set_Wstrict_aliasing.
7 * c.opt (v): Don't mark Common or document here.
8
91ebb981
IS
92010-11-06 Iain Sandoe <iains@gcc.gnu.org>
10
11 PR target/44981
12 * c-format.c (format_type): New type gcc_objc_string_format_type.
13 (valid_stringptr_type_p): New.
14 (handle_format_arg_attribute): Use valid_stringptr_type_p ().
15 (check_format_string): Pass expected type, use
16 valid_stringptr_type_p (), check that the format string types are
17 consistent with the format specification.
18 (decode_format_attr): Warn if NSString is used outside objective-c.
19 (format_types_orig): Add NSString.
20 (format_name): New.
21 (format_flags): New.
22 (check_format_arg): Handle format strings requiring an external parser.
23 first_target_format_type: New variable.
24 (handle_format_attribute): Set up first_target_format_type, pass the
25 expected format arg string type to check_format_string().
26 * c-common.h (FMT_FLAG_PARSE_ARG_CONVERT_EXTERNAL): New flag.
27 * stub-objc.c (objc_string_ref_type_p): New.
28 (objc_check_format_arg): New.
29
bede2adc
NP
302010-11-04 Nicola Pero <nicola.pero@meta-innovation.com>
31
32 Fixed using the Objective-C 2.0 dot-syntax with class names.
33 * c-common.h (objc_build_class_component_ref): New.
34 * stub-objc.c (objc_build_class_component_ref): New.
35
9a179d01
NP
362010-11-03 Nicola Pero <nicola.pero@meta-innovation.com>
37
38 * c.opt (Wproperty-assign-default): New option.
39
22d8d616
NP
402010-11-03 Nicola Pero <nicola.pero@meta-innovation.com>
41
42 Implemented -fobjc-std=objc1 flag.
43 * c.opt (fobjc-std=objc1): New option.
44
2debdb4f
NP
452010-11-01 Nicola Pero <nicola.pero@meta-innovation.com>
46
47 Implemented format and noreturn attributes for Objective-C methods.
48 * c-common.c (handle_noreturn_attribute): Recognize 'noreturn'
49 attribute for Objective-C methods.
50
ec52b111
JM
512010-10-31 Jason Merrill <jason@redhat.com>
52
53 * c-common.c (conversion_warning, warn_for_collisions_1): Use
54 EXPR_LOC_OR_HERE.
55
46a88c12
NP
562010-10-30 Nicola Pero <nicola.pero@meta-innovation.com>
57
58 Implemented Objective-C 2.0 @property, @synthesize and @dynamic.
59 * c-common.h (enum rid): Removed RID_COPIES and RID_IVAR.
60 (objc_add_property_declaration): Removed arguments for copies and
61 ivar.
62 (objc_build_getter_call): Renamed to
63 objc_maybe_build_component_ref.
64 (objc_build_setter_call): Renamed to objc_maybe_build_modify_expr.
65 (objc_is_property_ref): New.
66 * c-common.c (c_common_reswords): Removed copies and ivar.
67 * stub-objc.c (objc_add_property_declaration): Removed arguments
68 for copies and ivar.
69 (objc_build_getter_call): Renamed to
70 objc_maybe_build_component_ref.
71 (objc_build_setter_call): Renamed to objc_maybe_build_modify_expr.
72 (objc_is_property_ref): New.
73
1e4bf85b
AC
742010-10-29 Arnaud Charlet <charlet@adacore.com>
75 Matthew Gingell <gingell@adacore.com>
76
77 * c-ada-spec.c (separate_class_package): New function.
78 (pp_ada_tree_identifier): Prefix references to C++ classes with the
79 name of their enclosing package.
80 (print_ada_declaration): Use separate_class_package.
81
81f0bab2
JM
822010-10-27 Jason Merrill <jason@redhat.com>
83
2b08f2c5
JM
84 * c-common.c (c_common_reswords): Add __is_literal_type.
85 * c-common.h (enum rid): Add RID_IS_LITERAL_TYPE.
86
81f0bab2
JM
87 * c-common.c (check_case_value): Remove special C++ code.
88
200290f2
NP
892010-10-27 Nicola Pero <nicola.pero@meta-innovation.com>
90
91 * c-common.h (enum rid): Added RID_READWRITE, RID_ASSIGN,
92 RID_RETAIN, RID_COPY and RID_NONATOMIC. Updated RID_FIRST_PATTR
93 and RID_LAST_PATTR.
94 (objc_add_property_declaration): Added additional arguments.
95 (objc_property_attribute_kind): Removed.
96 (objc_set_property_attr): Removed.
97 * c-common.c (c_common_reswords): Added readwrite, assign, retain,
98 copy and nonatomic.
99 * stub-objc.c (objc_add_property_declaration): Added additional
100 arguments.
101 (objc_set_property_attr): Removed.
102
f614132b
NP
1032010-10-27 Nicola Pero <nicola.pero@meta-innovation.com>
104
105 * c-common.h (objc_add_property_variable): Renamed to
106 objc_add_property_declaration. Added location argument.
107 * stub-objc.c (objc_add_property_variable): Same change.
108
b8a18805
NP
1092010-10-23 Nicola Pero <nicola.pero@meta-innovation.com>
110
111 * c-common.h (objc_maybe_printable_name): New.
112 * stub-objc.c (objc_maybe_printable_name): New.
113
30cd1c5d
AS
1142010-10-22 Artjoms Sinkarovs <artyom.shinakroff@gmail.com>
115 Andrew Pinski <pinskia@gmail.com>
116
117 * c-common.h (c_common_mark_addressable_vec): Declare.
118 * c-common.c (c_common_mark_addressable_vec): New function.
119
249a82c4
NP
1202010-10-20 Nicola Pero <nicola.pero@meta-innovation.com>
121
122 * c-common.h (objc_set_method_type): Removed.
123 (objc_add_method_declaration): Added boolean argument.
124 (objc_start_method_definition): Same change.
125 (objc_build_method_signature): Same change.
126 * stub-objc.c (objc_set_method_type): Removed.
127 (objc_add_method_declaration): Added boolean argument.
128 (objc_start_method_definition): Same change.
129 (objc_build_method_signature): Same change.
130
977e30bc
NP
1312010-10-20 Nicola Pero <nicola.pero@meta-innovation.com>
132
133 * c-common.h (finish_file): Removed.
134 (objc_write_global_declarations): New.
135 * c-opts.c (c_common_parse_file): Do not call finish_file.
136 * stub-objc.c (objc_write_global_declarations): New.
137
da57d1b9
NP
1382010-10-18 Nicola Pero <nicola.pero@meta-innovation.com>
139
140 Implemented parsing @synthesize and @dynamic for
141 Objective-C/Objective-C++.
142 * c-common.h (enum rid): Add RID_AT_SYNTHESIZE and RID_AT_DYNAMIC.
143 (objc_add_synthesize_declaration): New.
144 (objc_add_dynamic_declaration): New.
145 * c-common.c (c_common_reswords): Add synthesize and dynamic.
146 * stub-objc.c (objc_add_synthesize_declaration): New.
147 (objc_add_dynamic_declaration): New.
148
0069111f
MM
1492010-10-18 Michael Meissner <meissner@linux.vnet.ibm.com>
150
151 PR target/46041
152 * c-cppbuiltin.c (mode_has_fma): Move function here from
153 builtins.c. Don't use the fma optab, instead just use the
154 HAVE_fma* macros, so that __FP_FAST_FMA* will be defined when
155 using -save-temps.
156
e426b47b
NP
1572010-10-18 Nicola Pero <nicola.pero@meta-innovation.com>
158
159 Merge from 'apple/trunk' branch on FSF servers.
0069111f 160
e426b47b
NP
161 2005-11-08 Fariborz Jahanian <fjahanian@apple.com>
162
163 Radar 4330422
164 * c-common.h (objc_non_volatilized_type): New declaration
165 * stub-objc.c (objc_non_volatilized_type): New stub.
166
90fbfdc3
NP
1672010-10-17 Nicola Pero <nicola.pero@meta-innovation.com>
168
e426b47b 169 Merge from 'apple/trunk' branch on FSF servers.
90fbfdc3
NP
170
171 2006-03-27 Fariborz Jahanian <fjahanian@apple.com>
172
173 Radar 4133425
174 * c-common.h (objc_diagnose_private_ivar): New decl.
0069111f 175 * stub-objc.c (objc_diagnose_private_ivar): New stub.
90fbfdc3 176
c37d8c30
IS
1772010-10-17 Iain Sandoe <iains@gcc.gnu.org>
178
179 * c-common.c (c_common_reswords): Add package, RID_AT_PACKAGE.
180 * c-common.h (enum rid): Add RID_AT_PACKAGE.
181 (objc_ivar_visibility_kind): New enum.
182 (objc_set_visibility): Adjust prototype to use visibility enum.
0069111f 183 * stub-objc.c (objc_set_visibility): Adjust stub to use
c37d8c30
IS
184 visibility enum.
185
1b1562a5
MM
1862010-10-14 Michael Meissner <meissner@linux.vnet.ibm.com>
187
188 * c-cppbuiltin.c (builtin_define_float_constants): Emit
189 __FP_FAST_FMA, __FP_FAST_FMAF, and __FP_FAST_FMAL if the machine
190 has the appropriate fma builtins.
191 (c_cpp_builtins): Adjust call to builtin_define_float_constants.
192
668ea4b1
IS
1932010-10-14 Iain Sandoe <iains@gcc.gnu.org>
194
1b1562a5 195 merge from FSF apple 'trunk' branch.
668ea4b1 196 2006 Fariborz Jahanian <fjahanian@apple.com>
1b1562a5 197
668ea4b1
IS
198 Radars 4436866, 4505126, 4506903, 4517826
199 * c-common.c (c_common_resword): Define @property and its attributes.
200 * c-common.h: Define property attribute enum entries.
201 (OBJC_IS_PATTR_KEYWORD): New.
202 (objc_property_attribute_kind): New enum.
203 Declare objc_set_property_attr (), objc_add_property_variable (),
204 objc_build_getter_call () and objc_build_setter_call ().
205 * stub-objc.c (objc_set_property_attr): New stub.
206 (objc_add_property_variable): Likewise.
207 (objc_build_getter_call): Likewise.
208 (objc_build_setter_call) Likewise.
1b1562a5 209
a1178b30
IS
2102010-10-13 Iain Sandoe <iains@gcc.gnu.org>
211
1b1562a5 212 merge from FSF apple 'trunk' branch.
a1178b30
IS
213 2006-04-26 Fariborz Jahanian <fjahanian@apple.com>
214
215 Radar 3803157 (method attributes)
216 * c-common.c (handle_deprecated_attribute): Recognize
217 objc methods as valid declarations.
218 * c-common.h: Declare objc_method_decl ().
1b1562a5 219 * stub-objc.c (objc_method_decl): New stub.
a1178b30 220
a75bfaa6
JM
2212010-10-08 Joseph Myers <joseph@codesourcery.com>
222
223 * c-common.c (parse_optimize_options): Call
224 decode_cmdline_options_to_array_default_mask before
225 decode_options. Update arguments to decode_options.
226 * c-common.h (c_common_init_options_struct): Declare.
227 * c-opts.c (c_common_init_options_struct): New. Split out from
228 c_common_init_options.
229
f05b9d93
NP
2302010-10-06 Nicola Pero <nicola.pero@meta-innovation.com>
231
232 Implemented fast enumeration for Objective-C.
233 * c-common.h (objc_finish_foreach_loop): New.
234 * stub-objc.c (objc_finish_foreach_loop): New.
235
1ebe4b4f
JM
2362010-10-05 Joseph Myers <joseph@codesourcery.com>
237
238 * c-common.h (struct diagnostic_context): Don't declare here.
239 (c_common_initialize_diagnostics): Declare using
240 diagnostic_context typedef.
241 * c-opts.c (c_common_handle_option): Pass global_dc to
242 handle_generated_option.
243
d4d24ba4
JM
2442010-10-04 Joseph Myers <joseph@codesourcery.com>
245
246 * c-opts.c (c_common_handle_option): Pass &global_options_set to
247 handle_generated_option.
248
478a1c5b
ILT
2492010-10-03 Ian Lance Taylor <iant@google.com>
250
251 * c.opt (-fplan9-extensions): New option.
252
82a1c2fe
FXC
2532010-10-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
254
255 * c-cppbuiltin.c (define__GNUC__, builtin_define_type_precision):
256 Remove.
257 (c_cpp_builtins): Call functions from cppbuiltin.c instead
258 of duplicating code.
259
92902b1b
IS
2602010-09-30 Iain Sandoe <iains@gcc.gnu.org>
261
262 * c-common.c: Add two new entries for @optional
263 and @required keywords.
264
265 merge from FSF 'apple/trunk' branch.
266 2006-01-30 Fariborz Jahanian <fjahanian@apple.com>
267
268 Radar 4386773
269 * c-common.h (RID_AT_OPTIONAL, RID_AT_REQUIRED): Two new
270 objective-c keywords.
271 (objc_set_method_opt): New declaration.
272 * stub-objc.c (objc_set_method_opt): New stub.
273
46625112
JM
2742010-09-30 Joseph Myers <joseph@codesourcery.com>
275
276 * c-common.c (handle_optimize_attribute): Pass &global_options to
277 cl_optimization_save and cl_optimization_restore.
278 * c-opts.c (c_common_handle_option): Pass &global_options to
279 handle_generated_option.
280 * c-pragma.c (handle_pragma_diagnostic): Use option_flag_var.
281 (handle_pragma_pop_options, handle_pragma_reset_options): Pass
282 &global_options to cl_optimization_restore.
283
49b91f05
NP
2842010-09-30 Nicola Pero <nicola.pero@meta-innovation.com>
285
286 * c-lex.c (c_lex_with_flags): Updated comments for CPP_AT_NAME
287 Objective-C/Objective-C++ keywords.
288
13ed556f 2892010-09-29 Nicola Pero <nicola.pero@meta-innovation.com>
a6341d57
NP
290
291 Merge from 'apple/trunk' branch on FSF servers.
292
293 2005-10-04 Fariborz Jahanian <fjahanian@apple.com>
294
295 Radar 4281748
296 * c-common.h (objc_check_global_decl): New declaration.
297 * stub-objc.c (objc_check_global_decl): New stub.
298
f0036cca
JM
2992010-09-29 Joseph Myers <joseph@codesourcery.com>
300
301 * c.opt: Don't use VarExists.
302
e3339d0f
JM
3032010-09-29 Joseph Myers <joseph@codesourcery.com>
304
305 * c-common.c (c_cpp_error): Update names of diagnostic_context
306 members.
307 * c-cppbuiltin.c (c_cpp_builtins_optimize_pragma): Update names of
308 cl_optimization members.
309 * c-opts.c (warning_as_error_callback, c_common_handle_option,
310 sanitize_cpp_opts, finish_options): Update names of cpp_options
311 members.
312
1973201f
NP
3132010-09-29 Nicola Pero <nicola.pero@meta-innovation.com>
314
315 * c-common.h (OBJC_IS_CXX_KEYWORD): New macro. Updated comments.
316 (objc_is_reserved_word): Removed.
317 * c-common.c: Updated comments.
318 * c-lex.c (c_lex_with_flags): Use OBJC_IS_CXX_KEYWORD instead of
319 objc_is_reserved_word.
320 * stub-objc.c (objc_is_reserved_word): Removed.
321
f7e71da5
IS
3222010-09-28 Iain Sandoe <iains@gcc.gnu.org>
323
324 * c-common.h (objc_add_method_declaration): Adjust prototype to
325 include attributes.
326 (objc_start_method_definition): Likewise.
327 (objc_build_keyword_decl): Likewise.
328 * stub-objc.c:(objc_add_method_declaration): Handle attributes.
329 (objc_start_method_definition): Likewise.
330 (objc_build_keyword_decl): Likewise.
331
c165dca7
IS
3322010-09-28 Iain Sandoe <iains@gcc.gnu.org>
333
334 * c-common.h (objc_start_class_interface): Adjust prototype.
335 (objc_start_category_interface): Likewise.
336 (objc_start_protocol): Likewise.
337 * stub-objc.c (objc_start_protocol): Adjust for extra argument.
338 (objc_start_class_interface): Likewise.
339 (objc_start_category_interface): Likewise.
340
7458026b
ILT
3412010-09-27 Ian Lance Taylor <iant@google.com>
342
343 * c-common.c (c_common_attribute_table): Add no_split_stack.
344 (handle_no_split_stack_attribute): New static function.
345
b581b85b
NP
3462010-09-27 Nicola Pero <nicola.pero@meta-innovation.com>
347
348 Merge from 'apple/trunk' branch on FSF servers.
349
350 2005-12-15 Fariborz Jahanian <fjahanian@apple.com>
351
352 Radar 4229905
353 * c-common.h (objc_have_common_type): New declaration.
354 * stub-objc.c (objc_have_common_type): New stub.
355
356 2005-06-22 Ziemowit Laski <zlaski@apple.com>
357
358 Radar 4154928
359 * c-common.h (objc_common_type): New prototype.
360 * stub-objc.c (objc_common_type): New stub.
361
46a4da10
JH
3622010-09-24 Jan Hubicka <jh@suse.cz>
363
364 * c-common.c (handle_leaf_attribute): New function.
365 (struct attribute_spec c_common_att): Add leaf.
366
e200444e
JM
3672010-09-22 Joseph Myers <joseph@codesourcery.com>
368
369 * c.opt (-all-warnings, -ansi, -assert, -assert=, -comments,
370 -comments-in-macros, -define-macro, -define-macro=, -dependencies,
371 -dump, -dump=, -imacros, -imacros=, -include, -include=,
372 -include-barrier, -include-directory, -include-directory=,
373 -include-directory-after, -include-directory-after=,
374 -include-prefix, -include-prefix=, -include-with-prefix,
375 -include-with-prefix=, -include-with-prefix-after,
376 -include-with-prefix-after=, -include-with-prefix-before,
377 -include-with-prefix-before=, -no-integrated-cpp,
378 -no-line-commands, -no-standard-includes, -no-warnings, -output,
379 -output=, -pedantic, -pedantic-errors, -preprocess,
380 -print-missing-file-dependencies, -trace-includes, -traditional,
381 -traditional-cpp, -trigraphs, -undefine-macro, -undefine-macro=,
382 -user-dependencies, -verbose, -write-dependencies,
383 -write-user-dependencies, no-integrated-cpp, traditional): New.
384
29a80ea6
NP
3852010-09-21 Nicola Pero <nicola.pero@meta-innovation.com>
386
387 PR objc/23710
ac1fc2fc
NP
388 * c-common.h (objc_start_method_definition): Return bool instead
389 of void.
390 * stub-objc.c (objc_start_method_definition): Return bool instead
391 of void.
392
3932010-09-21 Nicola Pero <nicola.pero@meta-innovation.com>
394
395 PR objc/25965
396 * c-common.h (objc_get_interface_ivars): New declaration.
397 * stub-objc.c (objc_get_interface_ivars): New stub.
29a80ea6 398
de621752
ILT
3992010-09-15 Ian Lance Taylor <iant@google.com>
400
401 * c-common.c (parse_optimize_options): Do not capitalize warning
06730c5d 402 messages. Remove period at end of warning message.
de621752 403
ba885ec5
NS
4042010-09-09 Nathan Sidwell <nathan@codesourcery.com>
405
406 * c-common.c (handle_alias_ifunc_attribute): New, broken out of ...
407 (handle_alias_attribute): ... here.
408 (handle_ifunc_attribute): New.
409
c5ee1358
MM
4102010-09-06 Mark Mitchell <mark@codesourcery.com>
411
412 * c-common.h (do_warn_double_promotion): Declare.
413 * c-common.c (do_warn_double_promotion): Define.
414
0a0b3574
MM
4152010-09-05 Mark Mitchell <mark@codesourcery.com>
416
417 * c.opt (Wdouble-promotion): New.
418
d1779886
JM
4192010-09-02 Joseph Myers <joseph@codesourcery.com>
420
421 * c.opt (falt-external-templates, fhuge-objects, fvtable-gc,
422 fvtable-thunks, fxref): Mark no longer supported in help text.
423
2d2bd949
JM
4242010-09-02 Joseph Myers <joseph@codesourcery.com>
425
426 * c.opt (Wimport, fall-virtual, falt-external-templates,
427 fdefault-inline, fenum-int-equiv, fexternal-templates,
428 fguiding-decls, fhonor-std, fhuge-objects, flabels-ok,
429 fname-mangling-version-, fnew-abi, fnonnull-objects,
430 foptional-diags, fsquangle, fstrict-prototype, fthis-is-variable,
431 fvtable-gc, fvtable-thunks, fxref): Mark with Ignore and Warn as
432 applicable.
433 (fhandle-exceptions): Mark with Alias and Warn.
434 * c-opts.c (c_common_handle_option): Don't handle options marked
435 as ignored.
436
5de8299c
JM
4372010-09-02 Joseph Myers <joseph@codesourcery.com>
438
439 * c.opt (Wcomments, Werror-implicit-function-declaration,
440 ftemplate-depth-, std=c89, std=c9x, std=gnu89, std=gnu9x,
441 std=iso9899:1990, std=iso9899:1999, std=iso9899:199x): Mark as
442 aliases.
443 * c-common.c (option_codes): Use OPT_Wcomment instead of
444 OPT_Wcomments.
445 * c-opts.c (warning_as_error_callback, c_common_handle_option):
446 Don't handle options marked as aliases.
447
0ceb0201
RG
4482010-08-25 Richard Guenther <rguenther@suse.de>
449
450 * c-common.c (c_common_get_alias_set): Remove special
451 handling for pointers.
452
ac47786e
NF
4532010-08-20 Nathan Froyd <froydnj@codesourcery.com>
454
455 * c-common.c: Use FOR_EACH_VEC_ELT.
456 * c-gimplify.c: Likewise.
457 * c-pragma.c: Likewise.
458
c878765b
JM
4592010-08-16 Joseph Myers <joseph@codesourcery.com>
460
461 * c.opt (MDX): Change back to MD. Mark NoDriverArg instead of
462 RejectDriver.
463 (MMDX): Change back to MMD. Mark NoDriverArg instead of
464 RejectDriver.
465 * c-opts.c (c_common_handle_option): Use OPT_MD and OPT_MMD
466 instead of OPT_MDX and OPT_MMDX.
467
603349bf
JM
4682010-08-16 Joseph Myers <joseph@codesourcery.com>
469
470 * c.opt (MDX, MMDX, lang-asm): Mark RejectDriver.
471
644fa7ac
JM
4722010-08-12 Joseph Myers <joseph@codesourcery.com>
473
474 * c.opt (MD, MMD): Change to MDX and MMDX.
475 * c-opts.c (c_common_handle_option): Use OPT_MMD and OPT_MMDX.
476
481e1176
JM
4772010-08-11 Joseph Myers <joseph@codesourcery.com>
478
479 * c-opts.c (c_common_handle_option): Call handle_generated_option
480 instead of handle_option.
481
ac8dc9f7
NF
4822010-08-08 Nathan Froyd <froydnj@codesourcery.com>
483
484 * c-pragma.c (add_to_renaming_pragma_list): Fix call to VEC_safe_push.
485 (maybe_apply_renaming_pragma): Delete unneeded declarations.
486
4f8c876d
NF
4872010-08-08 Nathan Froyd <froydnj@codesourcery.com>
488
489 * c-pragma.c (pending_redefinition): Declare. Declare a VEC of it.
490 (pending_redefine_extname): Change type to a VEC.
491 (add_to_renaming_pragma_list): Update for new type of
492 pending_redefine_extname.
ac8dc9f7 493 (maybe_apply_renaming_pragma): Likewise.
4f8c876d 494
3b0c690e
AC
4952010-08-04 Arnaud Charlet <charlet@adacore.com>
496
497 * c-ada-spec.c (dump_ada_template): Mark underlying instance type as
498 visited.
499 (dump_generic_ada_node): Code clean up. Use TREE_VISITED flag to
500 decide whether a type has already been declared/seen.
501 Do not go to the original type.
502 (dump_nested_types): New parameter forward.
503 Generate forward declaration if needed and mark type as visited.
504 (print_ada_declaration): Call dump_nested_types if not already done.
505 Mark types as visited.
506
1890bccc
JM
5072010-08-03 Joseph Myers <joseph@codesourcery.com>
508
509 * c.opt (-print-pch-checksum): Remove option.
510 * c-opts.c (c_common_handle_option): Don't handle
511 OPT_print_pch_checksum.
512
5f20c657
JM
5132010-07-27 Joseph Myers <joseph@codesourcery.com>
514
515 * c-common.h (c_common_handle_option): Update prototype and return
516 value type.
517 * c-opts.c (c_common_handle_option): Update prototype and return
518 value type. Update calls to handle_option and
519 enable_warning_as_error.
520
f551f80c
JJ
5212010-07-27 Jakub Jelinek <jakub@redhat.com>
522
523 PR c/45079
524 * c-pretty-print.c (pp_c_expression): Handle C_MAYBE_CONST_EXPR.
525
61ff2bdc
JM
5262010-07-27 Joseph Myers <joseph@codesourcery.com>
527
528 * c-common.h (c_common_missing_argument): Remove.
529 * c-opts.c (c_common_missing_argument): Remove.
530 * c.opt (A, D, F, I, MD, MMD, MQ, MT, U, fconstant-string-class=,
531 idirafter, imacros, include, isysroot, isystem, iquote): Add
532 MissingArgError.
533 * c-objc-common.h (LANG_HOOKS_MISSING_ARGUMENT): Remove.
534
7a9bf9a4
JM
5352010-07-27 Joseph Myers <joseph@codesourcery.com>
536
537 * c-common.h (c_common_option_lang_mask,
538 c_common_initialize_diagnostics, c_common_complain_wrong_lang_p):
539 New.
540 (c_common_init_options): Update prototype.
541 * c-opts.c (c_common_option_lang_mask): New.
542 (c_common_initialize_diagnostics): Split out of
543 c_common_init_options.
544 (accept_all_c_family_options, c_common_complain_wrong_lang_p):
545 New.
546 (c_common_init_options): Update prototype. Use decoded options in
547 search for -lang-asm.
548
910ad8de
NF
5492010-07-15 Nathan Froyd <froydnj@codesourcery.com>
550
551 * c-common.c: Carefully replace TREE_CHAIN with DECL_CHAIN.
552 * c-format.c: Likewise.
553
718f9c0f
MLI
5542010-07-08 Manuel López-Ibáñez <manu@gcc.gnu.org>
555
556 * c-common.h: Include diagnostic-core.h. Error if already
557 included.
558 * c-semantics.c: Do not define GCC_DIAG_STYLE here.
559
4d451982
MLI
5602010-07-03 Manuel López-Ibáñez <manu@gcc.gnu.org>
561
562 * c-family/c-common.c (IN_GCC_FRONTEND): Do not undef.
563 Do not include expr.h
564 (vector_mode_valid_p): Move here.
565
119fe915
SB
5662010-06-21 DJ Delorie <dj@redhat.com>
567
568 * c-pragma.c (handle_pragma_diagnostic): Add push/pop,
569 allow these pragmas anywhere.
570
5712010-06-14 Jakub Jelinek <jakub@redhat.com>
572
573 PR bootstrap/44509
574 * c-cppbuiltin.c: Include gt-c-family-c-cppbuiltin.h.
575 (lazy_hex_fp_values, lazy_hex_fp_value_count): Add GTY(()) markers.
576 (lazy_hex_fp_value, builtin_define_with_hex_fp_value): Use
577 ggc_strdup instead of xstrdup.
578
5792010-06-10 Jakub Jelinek <jakub@redhat.com>
580
581 * c-cppbuiltin.c: Include cpp-id-data.h.
582 (lazy_hex_fp_values, lazy_hex_fp_value_count): New variables.
583 (lazy_hex_fp_value): New function.
584 (builtin_define_with_hex_fp_value): Provide definitions lazily.
585
6662d794
MLI
5862010-06-30 Manuel López-Ibáñez <manu@gcc.gnu.org>
587
588 * c-gimplify.c: Do not include tree-flow.h
589
38f8b050
JR
5902010-06-29 Joern Rennecke <joern.rennecke@embecosm.com>
591
592 PR other/44034
593 * c-common.c: Rename targetm member:
594 targetm.enum_va_list -> targetm.enum_va_list_p
595
9589f23e
AS
5962010-06-28 Anatoly Sokolov <aesok@post.ru>
597
598 * c-common.c (shorten_compare): Adjust call to force_fit_type_double.
599
3b06d379
SB
6002010-06-28 Steven Bosscher <steven@gcc.gnu.org>
601
602 * c-cppbuiltin.c: Do not include except.h.
603
d166d4c3
AK
6042010-06-24 Andi Kleen <ak@linux.intel.com>
605
606 * c-common.c (warn_for_omitted_condop): New.
607 * c-common.h (warn_for_omitted_condop): Add prototype.
608
70cb8be6
JM
6092010-06-21 Joseph Myers <joseph@codesourcery.com>
610
611 * c.opt (lang-objc): Remove.
612 * c-opts.c (c_common_handle_option): Don't handle OPT_lang_objc.
613
a4c97feb
JR
6142010-06-21 Joern Rennecke <joern.rennecke@embecosm.com>
615
616 * c-opts.c: Include "tm_p.h".
617
6e2f1956
JM
6182010-06-20 Joseph Myers <joseph@codesourcery.com>
619
620 * c-common.c (parse_optimize_options): Update call to
621 decode_options.
622
bc87224e
NF
6232010-06-18 Nathan Froyd <froydnj@codesourcery.com>
624
625 * c-common.c (record_types_used_by_current_var_decl): Adjust for
626 new type of types_used_by_cur_var_decl.
627
b49cf425
JR
6282010-06-17 Joern Rennecke <joern.rennecke@embecosm.com>
629
630 PR bootstrap/44512
631 * c-cppbuiltin.c (builtin_define_with_hex_fp_value): Add cast
632 for C++ standard compliance.
633
59f9c2ed
JM
6342010-06-16 Jason Merrill <jason@redhat.com>
635
636 * c.opt: Add -Wnoexcept.
637
33766b66
RG
6382010-06-16 Richard Guenther <rguenther@suse.de>
639
640 PR c/44555
641 * c-common.c (c_common_truthvalue_conversion): Remove
642 premature and wrong optimization concering ADDR_EXPRs.
643
eff7e30c
AC
6442010-06-15 Arnaud Charlet <charlet@adacore.com>
645
646 * c-ada-spec.c (dump_sloc): Remove column info.
647 (is_simple_enum): New function.
648 (dump_generic_ada_node, print_ada_declaration): Map C enum types to Ada
649 enum types when relevant.
650
6312e84d
MLI
6512010-06-11 Manuel López-Ibáñez <manu@gcc.gnu.org>
652
653 * c-common.c (conversion_warning): Warn at expression
654 location.
655
1cb42611
JM
6562010-06-10 Joseph Myers <joseph@codesourcery.com>
657
658 * c-opts.c (c_common_handle_option): Don't handle
659 OPT_fshow_column.
660
a9429e29
LB
6612010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com>
662
663 * c-pragma.c (push_alignment): Use typed GC allocation.
664 (handle_pragma_push_options): Likewise.
665
666 * c-common.c (parse_optimize_options): Likewise.
667
668 * c-common.h (struct sorted_fields_type): Add variable_size GTY
669 option.
670
5498f011
JM
6712010-06-07 Joseph Myers <joseph@codesourcery.com>
672
673 * c-common.c (flag_preprocess_only, flag_undef, flag_no_builtin,
674 flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
675 flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
676 flag_signed_bitfields, warn_strict_null_sentinel,
677 flag_nil_receivers, flag_zero_link, flag_replace_objc_classes,
678 flag_gen_declaration, flag_no_gnu_keywords,
679 flag_implement_inlines, flag_implicit_templates,
680 flag_implicit_inline_templates, flag_optional_diags,
681 flag_elide_constructors, flag_default_inline, flag_rtti,
682 flag_conserve_space, flag_access_control, flag_check_new,
683 flag_new_for_scope, flag_weak, flag_working_directory,
684 flag_use_cxa_atexit, flag_use_cxa_get_exception_ptr,
685 flag_enforce_eh_specs, flag_threadsafe_statics,
686 flag_pretty_templates): Remove.
687 * c-common.h (flag_preprocess_only, flag_nil_receivers,
688 flag_objc_exceptions, flag_objc_sjlj_exceptions, flag_zero_link,
689 flag_replace_objc_classes, flag_undef, flag_no_builtin,
690 flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
691 flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
692 flag_const_strings, flag_signed_bitfields, flag_gen_declaration,
693 flag_no_gnu_keywords, flag_implement_inlines,
694 flag_implicit_templates, flag_implicit_inline_templates,
695 flag_optional_diags, flag_elide_constructors, flag_default_inline,
696 flag_rtti, flag_conserve_space, flag_access_control,
697 flag_check_new, flag_new_for_scope, flag_weak,
698 flag_working_directory, flag_use_cxa_atexit,
699 flag_use_cxa_get_exception_ptr, flag_enforce_eh_specs,
700 flag_threadsafe_statics, flag_pretty_templates,
701 warn_strict_null_sentinel): Remove.
702 * c.opt (E, Wstrict-null-sentinel, faccess-control, fasm,
703 fbuiltin, fcheck-new, fconserve-space, felide-constructors,
704 fenforce-eh-specs, ffor-scope, fgnu-keywords, fimplement-inlines,
705 fimplicit-inline-templates, fimplicit-templates,
706 flax-vector-conversions, fms-extensions, fnil-receivers,
707 fnonansi-builtins, fpretty-templates, freplace-objc-classes,
708 frtti, fshort-double, fshort-enums, fshort-wchar,
709 fsigned-bitfields, fsigned-char, fstats, fthreadsafe-statics,
710 funsigned-bitfields, funsigned-char, fuse-cxa-atexit,
711 fuse-cxa-get-exception-ptr, fweak, fworking-directory, fzero-link,
712 gen-decls, undef): Use Var.
713 (fdefault-inline, foptional-diags): Document as doing nothing.
714 * c-opts.c (c_common_handle_option): Remove cases for options now
715 using Var. Mark ignored options as such.
716
39dabefd
SB
7172010-06-05 Steven Bosscher <steven@gcc.gnu.org>
718
719 * c-common.c: Moved to here from parent directory.
720 * c-common.def: Likewise.
721 * c-common.h: Likewise.
722 * c-cppbuiltin.c: Likewise.
723 * c-dump.c: Likewise.
724 * c-format.c: Likewise.
725 * c-format.h : Likewise.
726 * c-gimplify.c: Likewise.
727 * c-lex.c: Likewise.
728 * c-omp.c: Likewise.
729 * c.opt: Likewise.
730 * c-opts.c: Likewise.
731 * c-pch.c: Likewise.
732 * c-ppoutput.c: Likewise.
733 * c-pragma.c: Likewise.
734 * c-pragma.h: Likewise.
735 * c-pretty-print.c: Likewise.
736 * c-pretty-print.h: Likewise.
737 * c-semantics.c: Likewise.
738 * stub-objc.c: Likewise.
739
740 * c-common.c: Include gt-c-family-c-common.h.
741 * c-pragma.c: Include gt-c-family-c-pragma.h.
742\f
743Copyright (C) 2010 Free Software Foundation, Inc.
744
745Copying and distribution of this file, with or without modification,
746are permitted in any medium without royalty provided the copyright
747notice and this notice are preserved.