OSDN Git Service

Fixed ChangeLog entries for my last commit
[pf3gnuchains/gcc-fork.git] / gcc / c-family / ChangeLog
1 2010-09-21  Nicola Pero  <nicola.pero@meta-innovation.com>
2
3         PR objc/23710
4         * c-family/c-common.h (objc_start_method_definition): Return bool
5         instead of void.
6         * c-family/stub-objc.c (objc_start_method_definition): Return bool
7         instead of void.
8
9 2010-09-15  Ian Lance Taylor  <iant@google.com>
10
11         * c-common.c (parse_optimize_options): Do not capitalize warning
12         messages.  Remove period at end of warning message.
13
14 2010-09-09  Nathan Sidwell  <nathan@codesourcery.com>
15
16         * c-common.c (handle_alias_ifunc_attribute): New, broken out of ...
17         (handle_alias_attribute): ... here.
18         (handle_ifunc_attribute): New.
19
20 2010-09-06  Mark Mitchell  <mark@codesourcery.com>
21
22         * c-common.h (do_warn_double_promotion): Declare.
23         * c-common.c (do_warn_double_promotion): Define.
24
25 2010-09-05  Mark Mitchell  <mark@codesourcery.com>
26
27         * c.opt (Wdouble-promotion): New.
28
29 2010-09-02  Joseph Myers  <joseph@codesourcery.com>
30
31         * c.opt (falt-external-templates, fhuge-objects, fvtable-gc,
32         fvtable-thunks, fxref): Mark no longer supported in help text.
33
34 2010-09-02  Joseph Myers  <joseph@codesourcery.com>
35
36         * c.opt (Wimport, fall-virtual, falt-external-templates,
37         fdefault-inline, fenum-int-equiv, fexternal-templates,
38         fguiding-decls, fhonor-std, fhuge-objects, flabels-ok,
39         fname-mangling-version-, fnew-abi, fnonnull-objects,
40         foptional-diags, fsquangle, fstrict-prototype, fthis-is-variable,
41         fvtable-gc, fvtable-thunks, fxref): Mark with Ignore and Warn as
42         applicable.
43         (fhandle-exceptions): Mark with Alias and Warn.
44         * c-opts.c (c_common_handle_option): Don't handle options marked
45         as ignored.
46
47 2010-09-02  Joseph Myers  <joseph@codesourcery.com>
48
49         * c.opt (Wcomments, Werror-implicit-function-declaration,
50         ftemplate-depth-, std=c89, std=c9x, std=gnu89, std=gnu9x,
51         std=iso9899:1990, std=iso9899:1999, std=iso9899:199x): Mark as
52         aliases.
53         * c-common.c (option_codes): Use OPT_Wcomment instead of
54         OPT_Wcomments.
55         * c-opts.c (warning_as_error_callback, c_common_handle_option):
56         Don't handle options marked as aliases.
57
58 2010-08-25  Richard Guenther  <rguenther@suse.de>
59
60         * c-common.c (c_common_get_alias_set): Remove special
61         handling for pointers.
62
63 2010-08-20  Nathan Froyd  <froydnj@codesourcery.com>
64
65         * c-common.c: Use FOR_EACH_VEC_ELT.
66         * c-gimplify.c: Likewise.
67         * c-pragma.c: Likewise.
68
69 2010-08-16  Joseph Myers  <joseph@codesourcery.com>
70
71         * c.opt (MDX): Change back to MD.  Mark NoDriverArg instead of
72         RejectDriver.
73         (MMDX): Change back to MMD.  Mark NoDriverArg instead of
74         RejectDriver.
75         * c-opts.c (c_common_handle_option): Use OPT_MD and OPT_MMD
76         instead of OPT_MDX and OPT_MMDX.
77
78 2010-08-16  Joseph Myers  <joseph@codesourcery.com>
79
80         * c.opt (MDX, MMDX, lang-asm): Mark RejectDriver.
81
82 2010-08-12  Joseph Myers  <joseph@codesourcery.com>
83
84         * c.opt (MD, MMD): Change to MDX and MMDX.
85         * c-opts.c (c_common_handle_option): Use OPT_MMD and OPT_MMDX.
86
87 2010-08-11  Joseph Myers  <joseph@codesourcery.com>
88
89         * c-opts.c (c_common_handle_option): Call handle_generated_option
90         instead of handle_option.
91
92 2010-08-08  Nathan Froyd  <froydnj@codesourcery.com>
93
94         * c-pragma.c (add_to_renaming_pragma_list): Fix call to VEC_safe_push.
95         (maybe_apply_renaming_pragma): Delete unneeded declarations.
96
97 2010-08-08  Nathan Froyd  <froydnj@codesourcery.com>
98
99         * c-pragma.c (pending_redefinition): Declare.  Declare a VEC of it.
100         (pending_redefine_extname): Change type to a VEC.
101         (add_to_renaming_pragma_list): Update for new type of
102         pending_redefine_extname.
103         (maybe_apply_renaming_pragma): Likewise.
104
105 2010-08-04  Arnaud Charlet  <charlet@adacore.com>
106
107         * c-ada-spec.c (dump_ada_template): Mark underlying instance type as
108         visited.
109         (dump_generic_ada_node): Code clean up. Use TREE_VISITED flag to
110         decide whether a type has already been declared/seen.
111         Do not go to the original type.
112         (dump_nested_types): New parameter forward.
113         Generate forward declaration if needed and mark type as visited.
114         (print_ada_declaration): Call dump_nested_types if not already done.
115         Mark types as visited.
116
117 2010-08-03  Joseph Myers  <joseph@codesourcery.com>
118
119         * c.opt (-print-pch-checksum): Remove option.
120         * c-opts.c (c_common_handle_option): Don't handle
121         OPT_print_pch_checksum.
122
123 2010-07-27  Joseph Myers  <joseph@codesourcery.com>
124
125         * c-common.h (c_common_handle_option): Update prototype and return
126         value type.
127         * c-opts.c (c_common_handle_option): Update prototype and return
128         value type.  Update calls to handle_option and
129         enable_warning_as_error.
130
131 2010-07-27  Jakub Jelinek  <jakub@redhat.com>
132
133         PR c/45079
134         * c-pretty-print.c (pp_c_expression): Handle C_MAYBE_CONST_EXPR.
135
136 2010-07-27  Joseph Myers  <joseph@codesourcery.com>
137
138         * c-common.h (c_common_missing_argument): Remove.
139         * c-opts.c (c_common_missing_argument): Remove.
140         * c.opt (A, D, F, I, MD, MMD, MQ, MT, U, fconstant-string-class=,
141         idirafter, imacros, include, isysroot, isystem, iquote): Add
142         MissingArgError.
143         * c-objc-common.h (LANG_HOOKS_MISSING_ARGUMENT): Remove.
144
145 2010-07-27  Joseph Myers  <joseph@codesourcery.com>
146
147         * c-common.h (c_common_option_lang_mask,
148         c_common_initialize_diagnostics, c_common_complain_wrong_lang_p):
149         New.
150         (c_common_init_options): Update prototype.
151         * c-opts.c (c_common_option_lang_mask): New.
152         (c_common_initialize_diagnostics): Split out of
153         c_common_init_options.
154         (accept_all_c_family_options, c_common_complain_wrong_lang_p):
155         New.
156         (c_common_init_options): Update prototype.  Use decoded options in
157         search for -lang-asm.
158
159 2010-07-15  Nathan Froyd  <froydnj@codesourcery.com>
160
161         * c-common.c: Carefully replace TREE_CHAIN with DECL_CHAIN.
162         * c-format.c: Likewise.
163
164 2010-07-08  Manuel López-Ibáñez  <manu@gcc.gnu.org>
165
166         * c-common.h: Include diagnostic-core.h. Error if already
167         included.
168         * c-semantics.c: Do not define GCC_DIAG_STYLE here.
169
170 2010-07-03  Manuel López-Ibáñez  <manu@gcc.gnu.org>
171
172         * c-family/c-common.c (IN_GCC_FRONTEND): Do not undef.
173         Do not include expr.h
174         (vector_mode_valid_p): Move here.
175
176 2010-06-21  DJ Delorie  <dj@redhat.com>
177
178         * c-pragma.c (handle_pragma_diagnostic): Add push/pop,
179         allow these pragmas anywhere.
180
181 2010-06-14  Jakub Jelinek  <jakub@redhat.com>
182
183         PR bootstrap/44509
184         * c-cppbuiltin.c: Include gt-c-family-c-cppbuiltin.h.
185         (lazy_hex_fp_values, lazy_hex_fp_value_count): Add GTY(()) markers.
186         (lazy_hex_fp_value, builtin_define_with_hex_fp_value): Use
187         ggc_strdup instead of xstrdup.
188
189 2010-06-10  Jakub Jelinek  <jakub@redhat.com>
190
191         * c-cppbuiltin.c: Include cpp-id-data.h.
192         (lazy_hex_fp_values, lazy_hex_fp_value_count): New variables.
193         (lazy_hex_fp_value): New function.
194         (builtin_define_with_hex_fp_value): Provide definitions lazily.
195
196 2010-06-30  Manuel López-Ibáñez  <manu@gcc.gnu.org>
197
198         * c-gimplify.c: Do not include tree-flow.h
199
200 2010-06-29  Joern Rennecke  <joern.rennecke@embecosm.com>
201
202         PR other/44034
203         * c-common.c: Rename targetm member:
204         targetm.enum_va_list -> targetm.enum_va_list_p
205
206 2010-06-28  Anatoly Sokolov  <aesok@post.ru>
207
208         * c-common.c (shorten_compare): Adjust call to force_fit_type_double.
209
210 2010-06-28  Steven Bosscher  <steven@gcc.gnu.org>
211
212         * c-cppbuiltin.c: Do not include except.h.
213
214 2010-06-24  Andi Kleen  <ak@linux.intel.com>
215
216         * c-common.c (warn_for_omitted_condop): New.
217         * c-common.h (warn_for_omitted_condop): Add prototype.
218
219 2010-06-21  Joseph Myers  <joseph@codesourcery.com>
220
221         * c.opt (lang-objc): Remove.
222         * c-opts.c (c_common_handle_option): Don't handle OPT_lang_objc.
223
224 2010-06-21  Joern Rennecke  <joern.rennecke@embecosm.com>
225
226         * c-opts.c: Include "tm_p.h".
227
228 2010-06-20  Joseph Myers  <joseph@codesourcery.com>
229
230         * c-common.c (parse_optimize_options): Update call to
231         decode_options.
232
233 2010-06-18  Nathan Froyd  <froydnj@codesourcery.com>
234
235         * c-common.c (record_types_used_by_current_var_decl): Adjust for
236         new type of types_used_by_cur_var_decl.
237
238 2010-06-17  Joern Rennecke  <joern.rennecke@embecosm.com>
239
240         PR bootstrap/44512
241         * c-cppbuiltin.c (builtin_define_with_hex_fp_value): Add cast
242         for C++ standard compliance.
243
244 2010-06-16  Jason Merrill  <jason@redhat.com>
245
246         * c.opt: Add -Wnoexcept.
247
248 2010-06-16  Richard Guenther  <rguenther@suse.de>
249
250         PR c/44555
251         * c-common.c (c_common_truthvalue_conversion): Remove
252         premature and wrong optimization concering ADDR_EXPRs.
253
254 2010-06-15  Arnaud Charlet  <charlet@adacore.com>
255
256         * c-ada-spec.c (dump_sloc): Remove column info.
257         (is_simple_enum): New function.
258         (dump_generic_ada_node, print_ada_declaration): Map C enum types to Ada
259         enum types when relevant.
260
261 2010-06-11  Manuel López-Ibáñez  <manu@gcc.gnu.org>
262
263         * c-common.c (conversion_warning): Warn at expression
264         location.
265
266 2010-06-10  Joseph Myers  <joseph@codesourcery.com>
267
268         * c-opts.c (c_common_handle_option): Don't handle
269         OPT_fshow_column.
270
271 2010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
272
273         * c-pragma.c (push_alignment): Use typed GC allocation.
274         (handle_pragma_push_options): Likewise.
275
276         * c-common.c (parse_optimize_options): Likewise.
277
278         * c-common.h (struct sorted_fields_type): Add variable_size GTY
279         option.
280
281 2010-06-07  Joseph Myers  <joseph@codesourcery.com>
282
283         * c-common.c (flag_preprocess_only, flag_undef, flag_no_builtin,
284         flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
285         flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
286         flag_signed_bitfields, warn_strict_null_sentinel,
287         flag_nil_receivers, flag_zero_link, flag_replace_objc_classes,
288         flag_gen_declaration, flag_no_gnu_keywords,
289         flag_implement_inlines, flag_implicit_templates,
290         flag_implicit_inline_templates, flag_optional_diags,
291         flag_elide_constructors, flag_default_inline, flag_rtti,
292         flag_conserve_space, flag_access_control, flag_check_new,
293         flag_new_for_scope, flag_weak, flag_working_directory,
294         flag_use_cxa_atexit, flag_use_cxa_get_exception_ptr,
295         flag_enforce_eh_specs, flag_threadsafe_statics,
296         flag_pretty_templates): Remove.
297         * c-common.h (flag_preprocess_only, flag_nil_receivers,
298         flag_objc_exceptions, flag_objc_sjlj_exceptions, flag_zero_link,
299         flag_replace_objc_classes, flag_undef, flag_no_builtin,
300         flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
301         flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
302         flag_const_strings, flag_signed_bitfields, flag_gen_declaration,
303         flag_no_gnu_keywords, flag_implement_inlines,
304         flag_implicit_templates, flag_implicit_inline_templates,
305         flag_optional_diags, flag_elide_constructors, flag_default_inline,
306         flag_rtti, flag_conserve_space, flag_access_control,
307         flag_check_new, flag_new_for_scope, flag_weak,
308         flag_working_directory, flag_use_cxa_atexit,
309         flag_use_cxa_get_exception_ptr, flag_enforce_eh_specs,
310         flag_threadsafe_statics, flag_pretty_templates,
311         warn_strict_null_sentinel): Remove.
312         * c.opt (E, Wstrict-null-sentinel, faccess-control, fasm,
313         fbuiltin, fcheck-new, fconserve-space, felide-constructors,
314         fenforce-eh-specs, ffor-scope, fgnu-keywords, fimplement-inlines,
315         fimplicit-inline-templates, fimplicit-templates,
316         flax-vector-conversions, fms-extensions, fnil-receivers,
317         fnonansi-builtins, fpretty-templates, freplace-objc-classes,
318         frtti, fshort-double, fshort-enums, fshort-wchar,
319         fsigned-bitfields, fsigned-char, fstats, fthreadsafe-statics,
320         funsigned-bitfields, funsigned-char, fuse-cxa-atexit,
321         fuse-cxa-get-exception-ptr, fweak, fworking-directory, fzero-link,
322         gen-decls, undef): Use Var.
323         (fdefault-inline, foptional-diags): Document as doing nothing.
324         * c-opts.c (c_common_handle_option): Remove cases for options now
325         using Var.  Mark ignored options as such.
326
327 2010-06-05  Steven Bosscher  <steven@gcc.gnu.org>
328
329         * c-common.c: Moved to here from parent directory. 
330         * c-common.def: Likewise.
331         * c-common.h: Likewise.
332         * c-cppbuiltin.c: Likewise.
333         * c-dump.c: Likewise.
334         * c-format.c: Likewise.
335         * c-format.h : Likewise.
336         * c-gimplify.c: Likewise.
337         * c-lex.c: Likewise.
338         * c-omp.c: Likewise.
339         * c.opt: Likewise.
340         * c-opts.c: Likewise.
341         * c-pch.c: Likewise.
342         * c-ppoutput.c: Likewise.
343         * c-pragma.c: Likewise.
344         * c-pragma.h: Likewise.
345         * c-pretty-print.c: Likewise.
346         * c-pretty-print.h: Likewise.
347         * c-semantics.c: Likewise.
348         * stub-objc.c: Likewise.
349
350         * c-common.c: Include gt-c-family-c-common.h.
351         * c-pragma.c: Include gt-c-family-c-pragma.h.
352 \f
353 Copyright (C) 2010 Free Software Foundation, Inc.
354
355 Copying and distribution of this file, with or without modification,
356 are permitted in any medium without royalty provided the copyright
357 notice and this notice are preserved.