OSDN Git Service

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