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