]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/c-family/ChangeLog
re PR middle-end/45871 (lto bootstrap miscompiles expmed.c)
[thirdparty/gcc.git] / gcc / c-family / ChangeLog
CommitLineData
478a1c5b
ILT
12010-10-03 Ian Lance Taylor <iant@google.com>
2
3 * c.opt (-fplan9-extensions): New option.
4
82a1c2fe
FXC
52010-10-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
6
7 * c-cppbuiltin.c (define__GNUC__, builtin_define_type_precision):
8 Remove.
9 (c_cpp_builtins): Call functions from cppbuiltin.c instead
10 of duplicating code.
11
92902b1b
IS
122010-09-30 Iain Sandoe <iains@gcc.gnu.org>
13
14 * c-common.c: Add two new entries for @optional
15 and @required keywords.
16
17 merge from FSF 'apple/trunk' branch.
18 2006-01-30 Fariborz Jahanian <fjahanian@apple.com>
19
20 Radar 4386773
21 * c-common.h (RID_AT_OPTIONAL, RID_AT_REQUIRED): Two new
22 objective-c keywords.
23 (objc_set_method_opt): New declaration.
24 * stub-objc.c (objc_set_method_opt): New stub.
25
46625112
JM
262010-09-30 Joseph Myers <joseph@codesourcery.com>
27
28 * c-common.c (handle_optimize_attribute): Pass &global_options to
29 cl_optimization_save and cl_optimization_restore.
30 * c-opts.c (c_common_handle_option): Pass &global_options to
31 handle_generated_option.
32 * c-pragma.c (handle_pragma_diagnostic): Use option_flag_var.
33 (handle_pragma_pop_options, handle_pragma_reset_options): Pass
34 &global_options to cl_optimization_restore.
35
49b91f05
NP
362010-09-30 Nicola Pero <nicola.pero@meta-innovation.com>
37
38 * c-lex.c (c_lex_with_flags): Updated comments for CPP_AT_NAME
39 Objective-C/Objective-C++ keywords.
40
13ed556f 412010-09-29 Nicola Pero <nicola.pero@meta-innovation.com>
a6341d57
NP
42
43 Merge from 'apple/trunk' branch on FSF servers.
44
45 2005-10-04 Fariborz Jahanian <fjahanian@apple.com>
46
47 Radar 4281748
48 * c-common.h (objc_check_global_decl): New declaration.
49 * stub-objc.c (objc_check_global_decl): New stub.
50
f0036cca
JM
512010-09-29 Joseph Myers <joseph@codesourcery.com>
52
53 * c.opt: Don't use VarExists.
54
e3339d0f
JM
552010-09-29 Joseph Myers <joseph@codesourcery.com>
56
57 * c-common.c (c_cpp_error): Update names of diagnostic_context
58 members.
59 * c-cppbuiltin.c (c_cpp_builtins_optimize_pragma): Update names of
60 cl_optimization members.
61 * c-opts.c (warning_as_error_callback, c_common_handle_option,
62 sanitize_cpp_opts, finish_options): Update names of cpp_options
63 members.
64
1973201f
NP
652010-09-29 Nicola Pero <nicola.pero@meta-innovation.com>
66
67 * c-common.h (OBJC_IS_CXX_KEYWORD): New macro. Updated comments.
68 (objc_is_reserved_word): Removed.
69 * c-common.c: Updated comments.
70 * c-lex.c (c_lex_with_flags): Use OBJC_IS_CXX_KEYWORD instead of
71 objc_is_reserved_word.
72 * stub-objc.c (objc_is_reserved_word): Removed.
73
f7e71da5
IS
742010-09-28 Iain Sandoe <iains@gcc.gnu.org>
75
76 * c-common.h (objc_add_method_declaration): Adjust prototype to
77 include attributes.
78 (objc_start_method_definition): Likewise.
79 (objc_build_keyword_decl): Likewise.
80 * stub-objc.c:(objc_add_method_declaration): Handle attributes.
81 (objc_start_method_definition): Likewise.
82 (objc_build_keyword_decl): Likewise.
83
c165dca7
IS
842010-09-28 Iain Sandoe <iains@gcc.gnu.org>
85
86 * c-common.h (objc_start_class_interface): Adjust prototype.
87 (objc_start_category_interface): Likewise.
88 (objc_start_protocol): Likewise.
89 * stub-objc.c (objc_start_protocol): Adjust for extra argument.
90 (objc_start_class_interface): Likewise.
91 (objc_start_category_interface): Likewise.
92
7458026b
ILT
932010-09-27 Ian Lance Taylor <iant@google.com>
94
95 * c-common.c (c_common_attribute_table): Add no_split_stack.
96 (handle_no_split_stack_attribute): New static function.
97
b581b85b
NP
982010-09-27 Nicola Pero <nicola.pero@meta-innovation.com>
99
100 Merge from 'apple/trunk' branch on FSF servers.
101
102 2005-12-15 Fariborz Jahanian <fjahanian@apple.com>
103
104 Radar 4229905
105 * c-common.h (objc_have_common_type): New declaration.
106 * stub-objc.c (objc_have_common_type): New stub.
107
108 2005-06-22 Ziemowit Laski <zlaski@apple.com>
109
110 Radar 4154928
111 * c-common.h (objc_common_type): New prototype.
112 * stub-objc.c (objc_common_type): New stub.
113
46a4da10
JH
1142010-09-24 Jan Hubicka <jh@suse.cz>
115
116 * c-common.c (handle_leaf_attribute): New function.
117 (struct attribute_spec c_common_att): Add leaf.
118
e200444e
JM
1192010-09-22 Joseph Myers <joseph@codesourcery.com>
120
121 * c.opt (-all-warnings, -ansi, -assert, -assert=, -comments,
122 -comments-in-macros, -define-macro, -define-macro=, -dependencies,
123 -dump, -dump=, -imacros, -imacros=, -include, -include=,
124 -include-barrier, -include-directory, -include-directory=,
125 -include-directory-after, -include-directory-after=,
126 -include-prefix, -include-prefix=, -include-with-prefix,
127 -include-with-prefix=, -include-with-prefix-after,
128 -include-with-prefix-after=, -include-with-prefix-before,
129 -include-with-prefix-before=, -no-integrated-cpp,
130 -no-line-commands, -no-standard-includes, -no-warnings, -output,
131 -output=, -pedantic, -pedantic-errors, -preprocess,
132 -print-missing-file-dependencies, -trace-includes, -traditional,
133 -traditional-cpp, -trigraphs, -undefine-macro, -undefine-macro=,
134 -user-dependencies, -verbose, -write-dependencies,
135 -write-user-dependencies, no-integrated-cpp, traditional): New.
136
29a80ea6
NP
1372010-09-21 Nicola Pero <nicola.pero@meta-innovation.com>
138
139 PR objc/23710
ac1fc2fc
NP
140 * c-common.h (objc_start_method_definition): Return bool instead
141 of void.
142 * stub-objc.c (objc_start_method_definition): Return bool instead
143 of void.
144
1452010-09-21 Nicola Pero <nicola.pero@meta-innovation.com>
146
147 PR objc/25965
148 * c-common.h (objc_get_interface_ivars): New declaration.
149 * stub-objc.c (objc_get_interface_ivars): New stub.
29a80ea6 150
de621752
ILT
1512010-09-15 Ian Lance Taylor <iant@google.com>
152
153 * c-common.c (parse_optimize_options): Do not capitalize warning
06730c5d 154 messages. Remove period at end of warning message.
de621752 155
ba885ec5
NS
1562010-09-09 Nathan Sidwell <nathan@codesourcery.com>
157
158 * c-common.c (handle_alias_ifunc_attribute): New, broken out of ...
159 (handle_alias_attribute): ... here.
160 (handle_ifunc_attribute): New.
161
c5ee1358
MM
1622010-09-06 Mark Mitchell <mark@codesourcery.com>
163
164 * c-common.h (do_warn_double_promotion): Declare.
165 * c-common.c (do_warn_double_promotion): Define.
166
0a0b3574
MM
1672010-09-05 Mark Mitchell <mark@codesourcery.com>
168
169 * c.opt (Wdouble-promotion): New.
170
d1779886
JM
1712010-09-02 Joseph Myers <joseph@codesourcery.com>
172
173 * c.opt (falt-external-templates, fhuge-objects, fvtable-gc,
174 fvtable-thunks, fxref): Mark no longer supported in help text.
175
2d2bd949
JM
1762010-09-02 Joseph Myers <joseph@codesourcery.com>
177
178 * c.opt (Wimport, fall-virtual, falt-external-templates,
179 fdefault-inline, fenum-int-equiv, fexternal-templates,
180 fguiding-decls, fhonor-std, fhuge-objects, flabels-ok,
181 fname-mangling-version-, fnew-abi, fnonnull-objects,
182 foptional-diags, fsquangle, fstrict-prototype, fthis-is-variable,
183 fvtable-gc, fvtable-thunks, fxref): Mark with Ignore and Warn as
184 applicable.
185 (fhandle-exceptions): Mark with Alias and Warn.
186 * c-opts.c (c_common_handle_option): Don't handle options marked
187 as ignored.
188
5de8299c
JM
1892010-09-02 Joseph Myers <joseph@codesourcery.com>
190
191 * c.opt (Wcomments, Werror-implicit-function-declaration,
192 ftemplate-depth-, std=c89, std=c9x, std=gnu89, std=gnu9x,
193 std=iso9899:1990, std=iso9899:1999, std=iso9899:199x): Mark as
194 aliases.
195 * c-common.c (option_codes): Use OPT_Wcomment instead of
196 OPT_Wcomments.
197 * c-opts.c (warning_as_error_callback, c_common_handle_option):
198 Don't handle options marked as aliases.
199
0ceb0201
RG
2002010-08-25 Richard Guenther <rguenther@suse.de>
201
202 * c-common.c (c_common_get_alias_set): Remove special
203 handling for pointers.
204
ac47786e
NF
2052010-08-20 Nathan Froyd <froydnj@codesourcery.com>
206
207 * c-common.c: Use FOR_EACH_VEC_ELT.
208 * c-gimplify.c: Likewise.
209 * c-pragma.c: Likewise.
210
c878765b
JM
2112010-08-16 Joseph Myers <joseph@codesourcery.com>
212
213 * c.opt (MDX): Change back to MD. Mark NoDriverArg instead of
214 RejectDriver.
215 (MMDX): Change back to MMD. Mark NoDriverArg instead of
216 RejectDriver.
217 * c-opts.c (c_common_handle_option): Use OPT_MD and OPT_MMD
218 instead of OPT_MDX and OPT_MMDX.
219
603349bf
JM
2202010-08-16 Joseph Myers <joseph@codesourcery.com>
221
222 * c.opt (MDX, MMDX, lang-asm): Mark RejectDriver.
223
644fa7ac
JM
2242010-08-12 Joseph Myers <joseph@codesourcery.com>
225
226 * c.opt (MD, MMD): Change to MDX and MMDX.
227 * c-opts.c (c_common_handle_option): Use OPT_MMD and OPT_MMDX.
228
481e1176
JM
2292010-08-11 Joseph Myers <joseph@codesourcery.com>
230
231 * c-opts.c (c_common_handle_option): Call handle_generated_option
232 instead of handle_option.
233
ac8dc9f7
NF
2342010-08-08 Nathan Froyd <froydnj@codesourcery.com>
235
236 * c-pragma.c (add_to_renaming_pragma_list): Fix call to VEC_safe_push.
237 (maybe_apply_renaming_pragma): Delete unneeded declarations.
238
4f8c876d
NF
2392010-08-08 Nathan Froyd <froydnj@codesourcery.com>
240
241 * c-pragma.c (pending_redefinition): Declare. Declare a VEC of it.
242 (pending_redefine_extname): Change type to a VEC.
243 (add_to_renaming_pragma_list): Update for new type of
244 pending_redefine_extname.
ac8dc9f7 245 (maybe_apply_renaming_pragma): Likewise.
4f8c876d 246
3b0c690e
AC
2472010-08-04 Arnaud Charlet <charlet@adacore.com>
248
249 * c-ada-spec.c (dump_ada_template): Mark underlying instance type as
250 visited.
251 (dump_generic_ada_node): Code clean up. Use TREE_VISITED flag to
252 decide whether a type has already been declared/seen.
253 Do not go to the original type.
254 (dump_nested_types): New parameter forward.
255 Generate forward declaration if needed and mark type as visited.
256 (print_ada_declaration): Call dump_nested_types if not already done.
257 Mark types as visited.
258
1890bccc
JM
2592010-08-03 Joseph Myers <joseph@codesourcery.com>
260
261 * c.opt (-print-pch-checksum): Remove option.
262 * c-opts.c (c_common_handle_option): Don't handle
263 OPT_print_pch_checksum.
264
5f20c657
JM
2652010-07-27 Joseph Myers <joseph@codesourcery.com>
266
267 * c-common.h (c_common_handle_option): Update prototype and return
268 value type.
269 * c-opts.c (c_common_handle_option): Update prototype and return
270 value type. Update calls to handle_option and
271 enable_warning_as_error.
272
f551f80c
JJ
2732010-07-27 Jakub Jelinek <jakub@redhat.com>
274
275 PR c/45079
276 * c-pretty-print.c (pp_c_expression): Handle C_MAYBE_CONST_EXPR.
277
61ff2bdc
JM
2782010-07-27 Joseph Myers <joseph@codesourcery.com>
279
280 * c-common.h (c_common_missing_argument): Remove.
281 * c-opts.c (c_common_missing_argument): Remove.
282 * c.opt (A, D, F, I, MD, MMD, MQ, MT, U, fconstant-string-class=,
283 idirafter, imacros, include, isysroot, isystem, iquote): Add
284 MissingArgError.
285 * c-objc-common.h (LANG_HOOKS_MISSING_ARGUMENT): Remove.
286
7a9bf9a4
JM
2872010-07-27 Joseph Myers <joseph@codesourcery.com>
288
289 * c-common.h (c_common_option_lang_mask,
290 c_common_initialize_diagnostics, c_common_complain_wrong_lang_p):
291 New.
292 (c_common_init_options): Update prototype.
293 * c-opts.c (c_common_option_lang_mask): New.
294 (c_common_initialize_diagnostics): Split out of
295 c_common_init_options.
296 (accept_all_c_family_options, c_common_complain_wrong_lang_p):
297 New.
298 (c_common_init_options): Update prototype. Use decoded options in
299 search for -lang-asm.
300
910ad8de
NF
3012010-07-15 Nathan Froyd <froydnj@codesourcery.com>
302
303 * c-common.c: Carefully replace TREE_CHAIN with DECL_CHAIN.
304 * c-format.c: Likewise.
305
718f9c0f
MLI
3062010-07-08 Manuel López-Ibáñez <manu@gcc.gnu.org>
307
308 * c-common.h: Include diagnostic-core.h. Error if already
309 included.
310 * c-semantics.c: Do not define GCC_DIAG_STYLE here.
311
4d451982
MLI
3122010-07-03 Manuel López-Ibáñez <manu@gcc.gnu.org>
313
314 * c-family/c-common.c (IN_GCC_FRONTEND): Do not undef.
315 Do not include expr.h
316 (vector_mode_valid_p): Move here.
317
119fe915
SB
3182010-06-21 DJ Delorie <dj@redhat.com>
319
320 * c-pragma.c (handle_pragma_diagnostic): Add push/pop,
321 allow these pragmas anywhere.
322
3232010-06-14 Jakub Jelinek <jakub@redhat.com>
324
325 PR bootstrap/44509
326 * c-cppbuiltin.c: Include gt-c-family-c-cppbuiltin.h.
327 (lazy_hex_fp_values, lazy_hex_fp_value_count): Add GTY(()) markers.
328 (lazy_hex_fp_value, builtin_define_with_hex_fp_value): Use
329 ggc_strdup instead of xstrdup.
330
3312010-06-10 Jakub Jelinek <jakub@redhat.com>
332
333 * c-cppbuiltin.c: Include cpp-id-data.h.
334 (lazy_hex_fp_values, lazy_hex_fp_value_count): New variables.
335 (lazy_hex_fp_value): New function.
336 (builtin_define_with_hex_fp_value): Provide definitions lazily.
337
6662d794
MLI
3382010-06-30 Manuel López-Ibáñez <manu@gcc.gnu.org>
339
340 * c-gimplify.c: Do not include tree-flow.h
341
38f8b050
JR
3422010-06-29 Joern Rennecke <joern.rennecke@embecosm.com>
343
344 PR other/44034
345 * c-common.c: Rename targetm member:
346 targetm.enum_va_list -> targetm.enum_va_list_p
347
9589f23e
AS
3482010-06-28 Anatoly Sokolov <aesok@post.ru>
349
350 * c-common.c (shorten_compare): Adjust call to force_fit_type_double.
351
3b06d379
SB
3522010-06-28 Steven Bosscher <steven@gcc.gnu.org>
353
354 * c-cppbuiltin.c: Do not include except.h.
355
d166d4c3
AK
3562010-06-24 Andi Kleen <ak@linux.intel.com>
357
358 * c-common.c (warn_for_omitted_condop): New.
359 * c-common.h (warn_for_omitted_condop): Add prototype.
360
70cb8be6
JM
3612010-06-21 Joseph Myers <joseph@codesourcery.com>
362
363 * c.opt (lang-objc): Remove.
364 * c-opts.c (c_common_handle_option): Don't handle OPT_lang_objc.
365
a4c97feb
JR
3662010-06-21 Joern Rennecke <joern.rennecke@embecosm.com>
367
368 * c-opts.c: Include "tm_p.h".
369
6e2f1956
JM
3702010-06-20 Joseph Myers <joseph@codesourcery.com>
371
372 * c-common.c (parse_optimize_options): Update call to
373 decode_options.
374
bc87224e
NF
3752010-06-18 Nathan Froyd <froydnj@codesourcery.com>
376
377 * c-common.c (record_types_used_by_current_var_decl): Adjust for
378 new type of types_used_by_cur_var_decl.
379
b49cf425
JR
3802010-06-17 Joern Rennecke <joern.rennecke@embecosm.com>
381
382 PR bootstrap/44512
383 * c-cppbuiltin.c (builtin_define_with_hex_fp_value): Add cast
384 for C++ standard compliance.
385
59f9c2ed
JM
3862010-06-16 Jason Merrill <jason@redhat.com>
387
388 * c.opt: Add -Wnoexcept.
389
33766b66
RG
3902010-06-16 Richard Guenther <rguenther@suse.de>
391
392 PR c/44555
393 * c-common.c (c_common_truthvalue_conversion): Remove
394 premature and wrong optimization concering ADDR_EXPRs.
395
eff7e30c
AC
3962010-06-15 Arnaud Charlet <charlet@adacore.com>
397
398 * c-ada-spec.c (dump_sloc): Remove column info.
399 (is_simple_enum): New function.
400 (dump_generic_ada_node, print_ada_declaration): Map C enum types to Ada
401 enum types when relevant.
402
6312e84d
MLI
4032010-06-11 Manuel López-Ibáñez <manu@gcc.gnu.org>
404
405 * c-common.c (conversion_warning): Warn at expression
406 location.
407
1cb42611
JM
4082010-06-10 Joseph Myers <joseph@codesourcery.com>
409
410 * c-opts.c (c_common_handle_option): Don't handle
411 OPT_fshow_column.
412
a9429e29
LB
4132010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com>
414
415 * c-pragma.c (push_alignment): Use typed GC allocation.
416 (handle_pragma_push_options): Likewise.
417
418 * c-common.c (parse_optimize_options): Likewise.
419
420 * c-common.h (struct sorted_fields_type): Add variable_size GTY
421 option.
422
5498f011
JM
4232010-06-07 Joseph Myers <joseph@codesourcery.com>
424
425 * c-common.c (flag_preprocess_only, flag_undef, flag_no_builtin,
426 flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
427 flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
428 flag_signed_bitfields, warn_strict_null_sentinel,
429 flag_nil_receivers, flag_zero_link, flag_replace_objc_classes,
430 flag_gen_declaration, flag_no_gnu_keywords,
431 flag_implement_inlines, flag_implicit_templates,
432 flag_implicit_inline_templates, flag_optional_diags,
433 flag_elide_constructors, flag_default_inline, flag_rtti,
434 flag_conserve_space, flag_access_control, flag_check_new,
435 flag_new_for_scope, flag_weak, flag_working_directory,
436 flag_use_cxa_atexit, flag_use_cxa_get_exception_ptr,
437 flag_enforce_eh_specs, flag_threadsafe_statics,
438 flag_pretty_templates): Remove.
439 * c-common.h (flag_preprocess_only, flag_nil_receivers,
440 flag_objc_exceptions, flag_objc_sjlj_exceptions, flag_zero_link,
441 flag_replace_objc_classes, flag_undef, flag_no_builtin,
442 flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
443 flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
444 flag_const_strings, flag_signed_bitfields, flag_gen_declaration,
445 flag_no_gnu_keywords, flag_implement_inlines,
446 flag_implicit_templates, flag_implicit_inline_templates,
447 flag_optional_diags, flag_elide_constructors, flag_default_inline,
448 flag_rtti, flag_conserve_space, flag_access_control,
449 flag_check_new, flag_new_for_scope, flag_weak,
450 flag_working_directory, flag_use_cxa_atexit,
451 flag_use_cxa_get_exception_ptr, flag_enforce_eh_specs,
452 flag_threadsafe_statics, flag_pretty_templates,
453 warn_strict_null_sentinel): Remove.
454 * c.opt (E, Wstrict-null-sentinel, faccess-control, fasm,
455 fbuiltin, fcheck-new, fconserve-space, felide-constructors,
456 fenforce-eh-specs, ffor-scope, fgnu-keywords, fimplement-inlines,
457 fimplicit-inline-templates, fimplicit-templates,
458 flax-vector-conversions, fms-extensions, fnil-receivers,
459 fnonansi-builtins, fpretty-templates, freplace-objc-classes,
460 frtti, fshort-double, fshort-enums, fshort-wchar,
461 fsigned-bitfields, fsigned-char, fstats, fthreadsafe-statics,
462 funsigned-bitfields, funsigned-char, fuse-cxa-atexit,
463 fuse-cxa-get-exception-ptr, fweak, fworking-directory, fzero-link,
464 gen-decls, undef): Use Var.
465 (fdefault-inline, foptional-diags): Document as doing nothing.
466 * c-opts.c (c_common_handle_option): Remove cases for options now
467 using Var. Mark ignored options as such.
468
39dabefd
SB
4692010-06-05 Steven Bosscher <steven@gcc.gnu.org>
470
471 * c-common.c: Moved to here from parent directory.
472 * c-common.def: Likewise.
473 * c-common.h: Likewise.
474 * c-cppbuiltin.c: Likewise.
475 * c-dump.c: Likewise.
476 * c-format.c: Likewise.
477 * c-format.h : Likewise.
478 * c-gimplify.c: Likewise.
479 * c-lex.c: Likewise.
480 * c-omp.c: Likewise.
481 * c.opt: Likewise.
482 * c-opts.c: Likewise.
483 * c-pch.c: Likewise.
484 * c-ppoutput.c: Likewise.
485 * c-pragma.c: Likewise.
486 * c-pragma.h: Likewise.
487 * c-pretty-print.c: Likewise.
488 * c-pretty-print.h: Likewise.
489 * c-semantics.c: Likewise.
490 * stub-objc.c: Likewise.
491
492 * c-common.c: Include gt-c-family-c-common.h.
493 * c-pragma.c: Include gt-c-family-c-pragma.h.
494\f
495Copyright (C) 2010 Free Software Foundation, Inc.
496
497Copying and distribution of this file, with or without modification,
498are permitted in any medium without royalty provided the copyright
499notice and this notice are preserved.