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