OSDN Git Service

56aabb4566560200244229f123d132d1e7d8d198
[pf3gnuchains/gcc-fork.git] / gcc / c-family / ChangeLog
1 2010-08-12  Joseph Myers  <joseph@codesourcery.com>
2
3         * c.opt (MD, MMD): Change to MDX and MMDX.
4         * c-opts.c (c_common_handle_option): Use OPT_MMD and OPT_MMDX.
5
6 2010-08-11  Joseph Myers  <joseph@codesourcery.com>
7
8         * c-opts.c (c_common_handle_option): Call handle_generated_option
9         instead of handle_option.
10
11 2010-08-08  Nathan Froyd  <froydnj@codesourcery.com>
12
13         * c-pragma.c (add_to_renaming_pragma_list): Fix call to VEC_safe_push.
14         (maybe_apply_renaming_pragma): Delete unneeded declarations.
15
16 2010-08-08  Nathan Froyd  <froydnj@codesourcery.com>
17
18         * c-pragma.c (pending_redefinition): Declare.  Declare a VEC of it.
19         (pending_redefine_extname): Change type to a VEC.
20         (add_to_renaming_pragma_list): Update for new type of
21         pending_redefine_extname.
22         (maybe_apply_renaming_pragma): Likewise.
23
24 2010-08-04  Arnaud Charlet  <charlet@adacore.com>
25
26         * c-ada-spec.c (dump_ada_template): Mark underlying instance type as
27         visited.
28         (dump_generic_ada_node): Code clean up. Use TREE_VISITED flag to
29         decide whether a type has already been declared/seen.
30         Do not go to the original type.
31         (dump_nested_types): New parameter forward.
32         Generate forward declaration if needed and mark type as visited.
33         (print_ada_declaration): Call dump_nested_types if not already done.
34         Mark types as visited.
35
36 2010-08-03  Joseph Myers  <joseph@codesourcery.com>
37
38         * c.opt (-print-pch-checksum): Remove option.
39         * c-opts.c (c_common_handle_option): Don't handle
40         OPT_print_pch_checksum.
41
42 2010-07-27  Joseph Myers  <joseph@codesourcery.com>
43
44         * c-common.h (c_common_handle_option): Update prototype and return
45         value type.
46         * c-opts.c (c_common_handle_option): Update prototype and return
47         value type.  Update calls to handle_option and
48         enable_warning_as_error.
49
50 2010-07-27  Jakub Jelinek  <jakub@redhat.com>
51
52         PR c/45079
53         * c-pretty-print.c (pp_c_expression): Handle C_MAYBE_CONST_EXPR.
54
55 2010-07-27  Joseph Myers  <joseph@codesourcery.com>
56
57         * c-common.h (c_common_missing_argument): Remove.
58         * c-opts.c (c_common_missing_argument): Remove.
59         * c.opt (A, D, F, I, MD, MMD, MQ, MT, U, fconstant-string-class=,
60         idirafter, imacros, include, isysroot, isystem, iquote): Add
61         MissingArgError.
62         * c-objc-common.h (LANG_HOOKS_MISSING_ARGUMENT): Remove.
63
64 2010-07-27  Joseph Myers  <joseph@codesourcery.com>
65
66         * c-common.h (c_common_option_lang_mask,
67         c_common_initialize_diagnostics, c_common_complain_wrong_lang_p):
68         New.
69         (c_common_init_options): Update prototype.
70         * c-opts.c (c_common_option_lang_mask): New.
71         (c_common_initialize_diagnostics): Split out of
72         c_common_init_options.
73         (accept_all_c_family_options, c_common_complain_wrong_lang_p):
74         New.
75         (c_common_init_options): Update prototype.  Use decoded options in
76         search for -lang-asm.
77
78 2010-07-15  Nathan Froyd  <froydnj@codesourcery.com>
79
80         * c-common.c: Carefully replace TREE_CHAIN with DECL_CHAIN.
81         * c-format.c: Likewise.
82
83 2010-07-08  Manuel López-Ibáñez  <manu@gcc.gnu.org>
84
85         * c-common.h: Include diagnostic-core.h. Error if already
86         included.
87         * c-semantics.c: Do not define GCC_DIAG_STYLE here.
88
89 2010-07-03  Manuel López-Ibáñez  <manu@gcc.gnu.org>
90
91         * c-family/c-common.c (IN_GCC_FRONTEND): Do not undef.
92         Do not include expr.h
93         (vector_mode_valid_p): Move here.
94
95 2010-06-21  DJ Delorie  <dj@redhat.com>
96
97         * c-pragma.c (handle_pragma_diagnostic): Add push/pop,
98         allow these pragmas anywhere.
99
100 2010-06-14  Jakub Jelinek  <jakub@redhat.com>
101
102         PR bootstrap/44509
103         * c-cppbuiltin.c: Include gt-c-family-c-cppbuiltin.h.
104         (lazy_hex_fp_values, lazy_hex_fp_value_count): Add GTY(()) markers.
105         (lazy_hex_fp_value, builtin_define_with_hex_fp_value): Use
106         ggc_strdup instead of xstrdup.
107
108 2010-06-10  Jakub Jelinek  <jakub@redhat.com>
109
110         * c-cppbuiltin.c: Include cpp-id-data.h.
111         (lazy_hex_fp_values, lazy_hex_fp_value_count): New variables.
112         (lazy_hex_fp_value): New function.
113         (builtin_define_with_hex_fp_value): Provide definitions lazily.
114
115 2010-06-30  Manuel López-Ibáñez  <manu@gcc.gnu.org>
116
117         * c-gimplify.c: Do not include tree-flow.h
118
119 2010-06-29  Joern Rennecke  <joern.rennecke@embecosm.com>
120
121         PR other/44034
122         * c-common.c: Rename targetm member:
123         targetm.enum_va_list -> targetm.enum_va_list_p
124
125 2010-06-28  Anatoly Sokolov  <aesok@post.ru>
126
127         * c-common.c (shorten_compare): Adjust call to force_fit_type_double.
128
129 2010-06-28  Steven Bosscher  <steven@gcc.gnu.org>
130
131         * c-cppbuiltin.c: Do not include except.h.
132
133 2010-06-24  Andi Kleen  <ak@linux.intel.com>
134
135         * c-common.c (warn_for_omitted_condop): New.
136         * c-common.h (warn_for_omitted_condop): Add prototype.
137
138 2010-06-21  Joseph Myers  <joseph@codesourcery.com>
139
140         * c.opt (lang-objc): Remove.
141         * c-opts.c (c_common_handle_option): Don't handle OPT_lang_objc.
142
143 2010-06-21  Joern Rennecke  <joern.rennecke@embecosm.com>
144
145         * c-opts.c: Include "tm_p.h".
146
147 2010-06-20  Joseph Myers  <joseph@codesourcery.com>
148
149         * c-common.c (parse_optimize_options): Update call to
150         decode_options.
151
152 2010-06-18  Nathan Froyd  <froydnj@codesourcery.com>
153
154         * c-common.c (record_types_used_by_current_var_decl): Adjust for
155         new type of types_used_by_cur_var_decl.
156
157 2010-06-17  Joern Rennecke  <joern.rennecke@embecosm.com>
158
159         PR bootstrap/44512
160         * c-cppbuiltin.c (builtin_define_with_hex_fp_value): Add cast
161         for C++ standard compliance.
162
163 2010-06-16  Jason Merrill  <jason@redhat.com>
164
165         * c.opt: Add -Wnoexcept.
166
167 2010-06-16  Richard Guenther  <rguenther@suse.de>
168
169         PR c/44555
170         * c-common.c (c_common_truthvalue_conversion): Remove
171         premature and wrong optimization concering ADDR_EXPRs.
172
173 2010-06-15  Arnaud Charlet  <charlet@adacore.com>
174
175         * c-ada-spec.c (dump_sloc): Remove column info.
176         (is_simple_enum): New function.
177         (dump_generic_ada_node, print_ada_declaration): Map C enum types to Ada
178         enum types when relevant.
179
180 2010-06-11  Manuel López-Ibáñez  <manu@gcc.gnu.org>
181
182         * c-common.c (conversion_warning): Warn at expression
183         location.
184
185 2010-06-10  Joseph Myers  <joseph@codesourcery.com>
186
187         * c-opts.c (c_common_handle_option): Don't handle
188         OPT_fshow_column.
189
190 2010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
191
192         * c-pragma.c (push_alignment): Use typed GC allocation.
193         (handle_pragma_push_options): Likewise.
194
195         * c-common.c (parse_optimize_options): Likewise.
196
197         * c-common.h (struct sorted_fields_type): Add variable_size GTY
198         option.
199
200 2010-06-07  Joseph Myers  <joseph@codesourcery.com>
201
202         * c-common.c (flag_preprocess_only, flag_undef, flag_no_builtin,
203         flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
204         flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
205         flag_signed_bitfields, warn_strict_null_sentinel,
206         flag_nil_receivers, flag_zero_link, flag_replace_objc_classes,
207         flag_gen_declaration, flag_no_gnu_keywords,
208         flag_implement_inlines, flag_implicit_templates,
209         flag_implicit_inline_templates, flag_optional_diags,
210         flag_elide_constructors, flag_default_inline, flag_rtti,
211         flag_conserve_space, flag_access_control, flag_check_new,
212         flag_new_for_scope, flag_weak, flag_working_directory,
213         flag_use_cxa_atexit, flag_use_cxa_get_exception_ptr,
214         flag_enforce_eh_specs, flag_threadsafe_statics,
215         flag_pretty_templates): Remove.
216         * c-common.h (flag_preprocess_only, flag_nil_receivers,
217         flag_objc_exceptions, flag_objc_sjlj_exceptions, flag_zero_link,
218         flag_replace_objc_classes, flag_undef, flag_no_builtin,
219         flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
220         flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
221         flag_const_strings, flag_signed_bitfields, flag_gen_declaration,
222         flag_no_gnu_keywords, flag_implement_inlines,
223         flag_implicit_templates, flag_implicit_inline_templates,
224         flag_optional_diags, flag_elide_constructors, flag_default_inline,
225         flag_rtti, flag_conserve_space, flag_access_control,
226         flag_check_new, flag_new_for_scope, flag_weak,
227         flag_working_directory, flag_use_cxa_atexit,
228         flag_use_cxa_get_exception_ptr, flag_enforce_eh_specs,
229         flag_threadsafe_statics, flag_pretty_templates,
230         warn_strict_null_sentinel): Remove.
231         * c.opt (E, Wstrict-null-sentinel, faccess-control, fasm,
232         fbuiltin, fcheck-new, fconserve-space, felide-constructors,
233         fenforce-eh-specs, ffor-scope, fgnu-keywords, fimplement-inlines,
234         fimplicit-inline-templates, fimplicit-templates,
235         flax-vector-conversions, fms-extensions, fnil-receivers,
236         fnonansi-builtins, fpretty-templates, freplace-objc-classes,
237         frtti, fshort-double, fshort-enums, fshort-wchar,
238         fsigned-bitfields, fsigned-char, fstats, fthreadsafe-statics,
239         funsigned-bitfields, funsigned-char, fuse-cxa-atexit,
240         fuse-cxa-get-exception-ptr, fweak, fworking-directory, fzero-link,
241         gen-decls, undef): Use Var.
242         (fdefault-inline, foptional-diags): Document as doing nothing.
243         * c-opts.c (c_common_handle_option): Remove cases for options now
244         using Var.  Mark ignored options as such.
245
246 2010-06-05  Steven Bosscher  <steven@gcc.gnu.org>
247
248         * c-common.c: Moved to here from parent directory. 
249         * c-common.def: Likewise.
250         * c-common.h: Likewise.
251         * c-cppbuiltin.c: Likewise.
252         * c-dump.c: Likewise.
253         * c-format.c: Likewise.
254         * c-format.h : Likewise.
255         * c-gimplify.c: Likewise.
256         * c-lex.c: Likewise.
257         * c-omp.c: Likewise.
258         * c.opt: Likewise.
259         * c-opts.c: Likewise.
260         * c-pch.c: Likewise.
261         * c-ppoutput.c: Likewise.
262         * c-pragma.c: Likewise.
263         * c-pragma.h: Likewise.
264         * c-pretty-print.c: Likewise.
265         * c-pretty-print.h: Likewise.
266         * c-semantics.c: Likewise.
267         * stub-objc.c: Likewise.
268
269         * c-common.c: Include gt-c-family-c-common.h.
270         * c-pragma.c: Include gt-c-family-c-pragma.h.
271 \f
272 Copyright (C) 2010 Free Software Foundation, Inc.
273
274 Copying and distribution of this file, with or without modification,
275 are permitted in any medium without royalty provided the copyright
276 notice and this notice are preserved.