]>
Commit | Line | Data |
---|---|---|
b8a18805 NP |
1 | 2010-10-23 Nicola Pero <nicola.pero@meta-innovation.com> |
2 | ||
3 | * c-common.h (objc_maybe_printable_name): New. | |
4 | * stub-objc.c (objc_maybe_printable_name): New. | |
5 | ||
30cd1c5d AS |
6 | 2010-10-22 Artjoms Sinkarovs <artyom.shinakroff@gmail.com> |
7 | Andrew Pinski <pinskia@gmail.com> | |
8 | ||
9 | * c-common.h (c_common_mark_addressable_vec): Declare. | |
10 | * c-common.c (c_common_mark_addressable_vec): New function. | |
11 | ||
249a82c4 NP |
12 | 2010-10-20 Nicola Pero <nicola.pero@meta-innovation.com> |
13 | ||
14 | * c-common.h (objc_set_method_type): Removed. | |
15 | (objc_add_method_declaration): Added boolean argument. | |
16 | (objc_start_method_definition): Same change. | |
17 | (objc_build_method_signature): Same change. | |
18 | * stub-objc.c (objc_set_method_type): Removed. | |
19 | (objc_add_method_declaration): Added boolean argument. | |
20 | (objc_start_method_definition): Same change. | |
21 | (objc_build_method_signature): Same change. | |
22 | ||
977e30bc NP |
23 | 2010-10-20 Nicola Pero <nicola.pero@meta-innovation.com> |
24 | ||
25 | * c-common.h (finish_file): Removed. | |
26 | (objc_write_global_declarations): New. | |
27 | * c-opts.c (c_common_parse_file): Do not call finish_file. | |
28 | * stub-objc.c (objc_write_global_declarations): New. | |
29 | ||
da57d1b9 NP |
30 | 2010-10-18 Nicola Pero <nicola.pero@meta-innovation.com> |
31 | ||
32 | Implemented parsing @synthesize and @dynamic for | |
33 | Objective-C/Objective-C++. | |
34 | * c-common.h (enum rid): Add RID_AT_SYNTHESIZE and RID_AT_DYNAMIC. | |
35 | (objc_add_synthesize_declaration): New. | |
36 | (objc_add_dynamic_declaration): New. | |
37 | * c-common.c (c_common_reswords): Add synthesize and dynamic. | |
38 | * stub-objc.c (objc_add_synthesize_declaration): New. | |
39 | (objc_add_dynamic_declaration): New. | |
40 | ||
0069111f MM |
41 | 2010-10-18 Michael Meissner <meissner@linux.vnet.ibm.com> |
42 | ||
43 | PR target/46041 | |
44 | * c-cppbuiltin.c (mode_has_fma): Move function here from | |
45 | builtins.c. Don't use the fma optab, instead just use the | |
46 | HAVE_fma* macros, so that __FP_FAST_FMA* will be defined when | |
47 | using -save-temps. | |
48 | ||
e426b47b NP |
49 | 2010-10-18 Nicola Pero <nicola.pero@meta-innovation.com> |
50 | ||
51 | Merge from 'apple/trunk' branch on FSF servers. | |
0069111f | 52 | |
e426b47b NP |
53 | 2005-11-08 Fariborz Jahanian <fjahanian@apple.com> |
54 | ||
55 | Radar 4330422 | |
56 | * c-common.h (objc_non_volatilized_type): New declaration | |
57 | * stub-objc.c (objc_non_volatilized_type): New stub. | |
58 | ||
90fbfdc3 NP |
59 | 2010-10-17 Nicola Pero <nicola.pero@meta-innovation.com> |
60 | ||
e426b47b | 61 | Merge from 'apple/trunk' branch on FSF servers. |
90fbfdc3 NP |
62 | |
63 | 2006-03-27 Fariborz Jahanian <fjahanian@apple.com> | |
64 | ||
65 | Radar 4133425 | |
66 | * c-common.h (objc_diagnose_private_ivar): New decl. | |
0069111f | 67 | * stub-objc.c (objc_diagnose_private_ivar): New stub. |
90fbfdc3 | 68 | |
c37d8c30 IS |
69 | 2010-10-17 Iain Sandoe <iains@gcc.gnu.org> |
70 | ||
71 | * c-common.c (c_common_reswords): Add package, RID_AT_PACKAGE. | |
72 | * c-common.h (enum rid): Add RID_AT_PACKAGE. | |
73 | (objc_ivar_visibility_kind): New enum. | |
74 | (objc_set_visibility): Adjust prototype to use visibility enum. | |
0069111f | 75 | * stub-objc.c (objc_set_visibility): Adjust stub to use |
c37d8c30 IS |
76 | visibility enum. |
77 | ||
1b1562a5 MM |
78 | 2010-10-14 Michael Meissner <meissner@linux.vnet.ibm.com> |
79 | ||
80 | * c-cppbuiltin.c (builtin_define_float_constants): Emit | |
81 | __FP_FAST_FMA, __FP_FAST_FMAF, and __FP_FAST_FMAL if the machine | |
82 | has the appropriate fma builtins. | |
83 | (c_cpp_builtins): Adjust call to builtin_define_float_constants. | |
84 | ||
668ea4b1 IS |
85 | 2010-10-14 Iain Sandoe <iains@gcc.gnu.org> |
86 | ||
1b1562a5 | 87 | merge from FSF apple 'trunk' branch. |
668ea4b1 | 88 | 2006 Fariborz Jahanian <fjahanian@apple.com> |
1b1562a5 | 89 | |
668ea4b1 IS |
90 | Radars 4436866, 4505126, 4506903, 4517826 |
91 | * c-common.c (c_common_resword): Define @property and its attributes. | |
92 | * c-common.h: Define property attribute enum entries. | |
93 | (OBJC_IS_PATTR_KEYWORD): New. | |
94 | (objc_property_attribute_kind): New enum. | |
95 | Declare objc_set_property_attr (), objc_add_property_variable (), | |
96 | objc_build_getter_call () and objc_build_setter_call (). | |
97 | * stub-objc.c (objc_set_property_attr): New stub. | |
98 | (objc_add_property_variable): Likewise. | |
99 | (objc_build_getter_call): Likewise. | |
100 | (objc_build_setter_call) Likewise. | |
1b1562a5 | 101 | |
a1178b30 IS |
102 | 2010-10-13 Iain Sandoe <iains@gcc.gnu.org> |
103 | ||
1b1562a5 | 104 | merge from FSF apple 'trunk' branch. |
a1178b30 IS |
105 | 2006-04-26 Fariborz Jahanian <fjahanian@apple.com> |
106 | ||
107 | Radar 3803157 (method attributes) | |
108 | * c-common.c (handle_deprecated_attribute): Recognize | |
109 | objc methods as valid declarations. | |
110 | * c-common.h: Declare objc_method_decl (). | |
1b1562a5 | 111 | * stub-objc.c (objc_method_decl): New stub. |
a1178b30 | 112 | |
a75bfaa6 JM |
113 | 2010-10-08 Joseph Myers <joseph@codesourcery.com> |
114 | ||
115 | * c-common.c (parse_optimize_options): Call | |
116 | decode_cmdline_options_to_array_default_mask before | |
117 | decode_options. Update arguments to decode_options. | |
118 | * c-common.h (c_common_init_options_struct): Declare. | |
119 | * c-opts.c (c_common_init_options_struct): New. Split out from | |
120 | c_common_init_options. | |
121 | ||
f05b9d93 NP |
122 | 2010-10-06 Nicola Pero <nicola.pero@meta-innovation.com> |
123 | ||
124 | Implemented fast enumeration for Objective-C. | |
125 | * c-common.h (objc_finish_foreach_loop): New. | |
126 | * stub-objc.c (objc_finish_foreach_loop): New. | |
127 | ||
1ebe4b4f JM |
128 | 2010-10-05 Joseph Myers <joseph@codesourcery.com> |
129 | ||
130 | * c-common.h (struct diagnostic_context): Don't declare here. | |
131 | (c_common_initialize_diagnostics): Declare using | |
132 | diagnostic_context typedef. | |
133 | * c-opts.c (c_common_handle_option): Pass global_dc to | |
134 | handle_generated_option. | |
135 | ||
d4d24ba4 JM |
136 | 2010-10-04 Joseph Myers <joseph@codesourcery.com> |
137 | ||
138 | * c-opts.c (c_common_handle_option): Pass &global_options_set to | |
139 | handle_generated_option. | |
140 | ||
478a1c5b ILT |
141 | 2010-10-03 Ian Lance Taylor <iant@google.com> |
142 | ||
143 | * c.opt (-fplan9-extensions): New option. | |
144 | ||
82a1c2fe FXC |
145 | 2010-10-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> |
146 | ||
147 | * c-cppbuiltin.c (define__GNUC__, builtin_define_type_precision): | |
148 | Remove. | |
149 | (c_cpp_builtins): Call functions from cppbuiltin.c instead | |
150 | of duplicating code. | |
151 | ||
92902b1b IS |
152 | 2010-09-30 Iain Sandoe <iains@gcc.gnu.org> |
153 | ||
154 | * c-common.c: Add two new entries for @optional | |
155 | and @required keywords. | |
156 | ||
157 | merge from FSF 'apple/trunk' branch. | |
158 | 2006-01-30 Fariborz Jahanian <fjahanian@apple.com> | |
159 | ||
160 | Radar 4386773 | |
161 | * c-common.h (RID_AT_OPTIONAL, RID_AT_REQUIRED): Two new | |
162 | objective-c keywords. | |
163 | (objc_set_method_opt): New declaration. | |
164 | * stub-objc.c (objc_set_method_opt): New stub. | |
165 | ||
46625112 JM |
166 | 2010-09-30 Joseph Myers <joseph@codesourcery.com> |
167 | ||
168 | * c-common.c (handle_optimize_attribute): Pass &global_options to | |
169 | cl_optimization_save and cl_optimization_restore. | |
170 | * c-opts.c (c_common_handle_option): Pass &global_options to | |
171 | handle_generated_option. | |
172 | * c-pragma.c (handle_pragma_diagnostic): Use option_flag_var. | |
173 | (handle_pragma_pop_options, handle_pragma_reset_options): Pass | |
174 | &global_options to cl_optimization_restore. | |
175 | ||
49b91f05 NP |
176 | 2010-09-30 Nicola Pero <nicola.pero@meta-innovation.com> |
177 | ||
178 | * c-lex.c (c_lex_with_flags): Updated comments for CPP_AT_NAME | |
179 | Objective-C/Objective-C++ keywords. | |
180 | ||
13ed556f | 181 | 2010-09-29 Nicola Pero <nicola.pero@meta-innovation.com> |
a6341d57 NP |
182 | |
183 | Merge from 'apple/trunk' branch on FSF servers. | |
184 | ||
185 | 2005-10-04 Fariborz Jahanian <fjahanian@apple.com> | |
186 | ||
187 | Radar 4281748 | |
188 | * c-common.h (objc_check_global_decl): New declaration. | |
189 | * stub-objc.c (objc_check_global_decl): New stub. | |
190 | ||
f0036cca JM |
191 | 2010-09-29 Joseph Myers <joseph@codesourcery.com> |
192 | ||
193 | * c.opt: Don't use VarExists. | |
194 | ||
e3339d0f JM |
195 | 2010-09-29 Joseph Myers <joseph@codesourcery.com> |
196 | ||
197 | * c-common.c (c_cpp_error): Update names of diagnostic_context | |
198 | members. | |
199 | * c-cppbuiltin.c (c_cpp_builtins_optimize_pragma): Update names of | |
200 | cl_optimization members. | |
201 | * c-opts.c (warning_as_error_callback, c_common_handle_option, | |
202 | sanitize_cpp_opts, finish_options): Update names of cpp_options | |
203 | members. | |
204 | ||
1973201f NP |
205 | 2010-09-29 Nicola Pero <nicola.pero@meta-innovation.com> |
206 | ||
207 | * c-common.h (OBJC_IS_CXX_KEYWORD): New macro. Updated comments. | |
208 | (objc_is_reserved_word): Removed. | |
209 | * c-common.c: Updated comments. | |
210 | * c-lex.c (c_lex_with_flags): Use OBJC_IS_CXX_KEYWORD instead of | |
211 | objc_is_reserved_word. | |
212 | * stub-objc.c (objc_is_reserved_word): Removed. | |
213 | ||
f7e71da5 IS |
214 | 2010-09-28 Iain Sandoe <iains@gcc.gnu.org> |
215 | ||
216 | * c-common.h (objc_add_method_declaration): Adjust prototype to | |
217 | include attributes. | |
218 | (objc_start_method_definition): Likewise. | |
219 | (objc_build_keyword_decl): Likewise. | |
220 | * stub-objc.c:(objc_add_method_declaration): Handle attributes. | |
221 | (objc_start_method_definition): Likewise. | |
222 | (objc_build_keyword_decl): Likewise. | |
223 | ||
c165dca7 IS |
224 | 2010-09-28 Iain Sandoe <iains@gcc.gnu.org> |
225 | ||
226 | * c-common.h (objc_start_class_interface): Adjust prototype. | |
227 | (objc_start_category_interface): Likewise. | |
228 | (objc_start_protocol): Likewise. | |
229 | * stub-objc.c (objc_start_protocol): Adjust for extra argument. | |
230 | (objc_start_class_interface): Likewise. | |
231 | (objc_start_category_interface): Likewise. | |
232 | ||
7458026b ILT |
233 | 2010-09-27 Ian Lance Taylor <iant@google.com> |
234 | ||
235 | * c-common.c (c_common_attribute_table): Add no_split_stack. | |
236 | (handle_no_split_stack_attribute): New static function. | |
237 | ||
b581b85b NP |
238 | 2010-09-27 Nicola Pero <nicola.pero@meta-innovation.com> |
239 | ||
240 | Merge from 'apple/trunk' branch on FSF servers. | |
241 | ||
242 | 2005-12-15 Fariborz Jahanian <fjahanian@apple.com> | |
243 | ||
244 | Radar 4229905 | |
245 | * c-common.h (objc_have_common_type): New declaration. | |
246 | * stub-objc.c (objc_have_common_type): New stub. | |
247 | ||
248 | 2005-06-22 Ziemowit Laski <zlaski@apple.com> | |
249 | ||
250 | Radar 4154928 | |
251 | * c-common.h (objc_common_type): New prototype. | |
252 | * stub-objc.c (objc_common_type): New stub. | |
253 | ||
46a4da10 JH |
254 | 2010-09-24 Jan Hubicka <jh@suse.cz> |
255 | ||
256 | * c-common.c (handle_leaf_attribute): New function. | |
257 | (struct attribute_spec c_common_att): Add leaf. | |
258 | ||
e200444e JM |
259 | 2010-09-22 Joseph Myers <joseph@codesourcery.com> |
260 | ||
261 | * c.opt (-all-warnings, -ansi, -assert, -assert=, -comments, | |
262 | -comments-in-macros, -define-macro, -define-macro=, -dependencies, | |
263 | -dump, -dump=, -imacros, -imacros=, -include, -include=, | |
264 | -include-barrier, -include-directory, -include-directory=, | |
265 | -include-directory-after, -include-directory-after=, | |
266 | -include-prefix, -include-prefix=, -include-with-prefix, | |
267 | -include-with-prefix=, -include-with-prefix-after, | |
268 | -include-with-prefix-after=, -include-with-prefix-before, | |
269 | -include-with-prefix-before=, -no-integrated-cpp, | |
270 | -no-line-commands, -no-standard-includes, -no-warnings, -output, | |
271 | -output=, -pedantic, -pedantic-errors, -preprocess, | |
272 | -print-missing-file-dependencies, -trace-includes, -traditional, | |
273 | -traditional-cpp, -trigraphs, -undefine-macro, -undefine-macro=, | |
274 | -user-dependencies, -verbose, -write-dependencies, | |
275 | -write-user-dependencies, no-integrated-cpp, traditional): New. | |
276 | ||
29a80ea6 NP |
277 | 2010-09-21 Nicola Pero <nicola.pero@meta-innovation.com> |
278 | ||
279 | PR objc/23710 | |
ac1fc2fc NP |
280 | * c-common.h (objc_start_method_definition): Return bool instead |
281 | of void. | |
282 | * stub-objc.c (objc_start_method_definition): Return bool instead | |
283 | of void. | |
284 | ||
285 | 2010-09-21 Nicola Pero <nicola.pero@meta-innovation.com> | |
286 | ||
287 | PR objc/25965 | |
288 | * c-common.h (objc_get_interface_ivars): New declaration. | |
289 | * stub-objc.c (objc_get_interface_ivars): New stub. | |
29a80ea6 | 290 | |
de621752 ILT |
291 | 2010-09-15 Ian Lance Taylor <iant@google.com> |
292 | ||
293 | * c-common.c (parse_optimize_options): Do not capitalize warning | |
06730c5d | 294 | messages. Remove period at end of warning message. |
de621752 | 295 | |
ba885ec5 NS |
296 | 2010-09-09 Nathan Sidwell <nathan@codesourcery.com> |
297 | ||
298 | * c-common.c (handle_alias_ifunc_attribute): New, broken out of ... | |
299 | (handle_alias_attribute): ... here. | |
300 | (handle_ifunc_attribute): New. | |
301 | ||
c5ee1358 MM |
302 | 2010-09-06 Mark Mitchell <mark@codesourcery.com> |
303 | ||
304 | * c-common.h (do_warn_double_promotion): Declare. | |
305 | * c-common.c (do_warn_double_promotion): Define. | |
306 | ||
0a0b3574 MM |
307 | 2010-09-05 Mark Mitchell <mark@codesourcery.com> |
308 | ||
309 | * c.opt (Wdouble-promotion): New. | |
310 | ||
d1779886 JM |
311 | 2010-09-02 Joseph Myers <joseph@codesourcery.com> |
312 | ||
313 | * c.opt (falt-external-templates, fhuge-objects, fvtable-gc, | |
314 | fvtable-thunks, fxref): Mark no longer supported in help text. | |
315 | ||
2d2bd949 JM |
316 | 2010-09-02 Joseph Myers <joseph@codesourcery.com> |
317 | ||
318 | * c.opt (Wimport, fall-virtual, falt-external-templates, | |
319 | fdefault-inline, fenum-int-equiv, fexternal-templates, | |
320 | fguiding-decls, fhonor-std, fhuge-objects, flabels-ok, | |
321 | fname-mangling-version-, fnew-abi, fnonnull-objects, | |
322 | foptional-diags, fsquangle, fstrict-prototype, fthis-is-variable, | |
323 | fvtable-gc, fvtable-thunks, fxref): Mark with Ignore and Warn as | |
324 | applicable. | |
325 | (fhandle-exceptions): Mark with Alias and Warn. | |
326 | * c-opts.c (c_common_handle_option): Don't handle options marked | |
327 | as ignored. | |
328 | ||
5de8299c JM |
329 | 2010-09-02 Joseph Myers <joseph@codesourcery.com> |
330 | ||
331 | * c.opt (Wcomments, Werror-implicit-function-declaration, | |
332 | ftemplate-depth-, std=c89, std=c9x, std=gnu89, std=gnu9x, | |
333 | std=iso9899:1990, std=iso9899:1999, std=iso9899:199x): Mark as | |
334 | aliases. | |
335 | * c-common.c (option_codes): Use OPT_Wcomment instead of | |
336 | OPT_Wcomments. | |
337 | * c-opts.c (warning_as_error_callback, c_common_handle_option): | |
338 | Don't handle options marked as aliases. | |
339 | ||
0ceb0201 RG |
340 | 2010-08-25 Richard Guenther <rguenther@suse.de> |
341 | ||
342 | * c-common.c (c_common_get_alias_set): Remove special | |
343 | handling for pointers. | |
344 | ||
ac47786e NF |
345 | 2010-08-20 Nathan Froyd <froydnj@codesourcery.com> |
346 | ||
347 | * c-common.c: Use FOR_EACH_VEC_ELT. | |
348 | * c-gimplify.c: Likewise. | |
349 | * c-pragma.c: Likewise. | |
350 | ||
c878765b JM |
351 | 2010-08-16 Joseph Myers <joseph@codesourcery.com> |
352 | ||
353 | * c.opt (MDX): Change back to MD. Mark NoDriverArg instead of | |
354 | RejectDriver. | |
355 | (MMDX): Change back to MMD. Mark NoDriverArg instead of | |
356 | RejectDriver. | |
357 | * c-opts.c (c_common_handle_option): Use OPT_MD and OPT_MMD | |
358 | instead of OPT_MDX and OPT_MMDX. | |
359 | ||
603349bf JM |
360 | 2010-08-16 Joseph Myers <joseph@codesourcery.com> |
361 | ||
362 | * c.opt (MDX, MMDX, lang-asm): Mark RejectDriver. | |
363 | ||
644fa7ac JM |
364 | 2010-08-12 Joseph Myers <joseph@codesourcery.com> |
365 | ||
366 | * c.opt (MD, MMD): Change to MDX and MMDX. | |
367 | * c-opts.c (c_common_handle_option): Use OPT_MMD and OPT_MMDX. | |
368 | ||
481e1176 JM |
369 | 2010-08-11 Joseph Myers <joseph@codesourcery.com> |
370 | ||
371 | * c-opts.c (c_common_handle_option): Call handle_generated_option | |
372 | instead of handle_option. | |
373 | ||
ac8dc9f7 NF |
374 | 2010-08-08 Nathan Froyd <froydnj@codesourcery.com> |
375 | ||
376 | * c-pragma.c (add_to_renaming_pragma_list): Fix call to VEC_safe_push. | |
377 | (maybe_apply_renaming_pragma): Delete unneeded declarations. | |
378 | ||
4f8c876d NF |
379 | 2010-08-08 Nathan Froyd <froydnj@codesourcery.com> |
380 | ||
381 | * c-pragma.c (pending_redefinition): Declare. Declare a VEC of it. | |
382 | (pending_redefine_extname): Change type to a VEC. | |
383 | (add_to_renaming_pragma_list): Update for new type of | |
384 | pending_redefine_extname. | |
ac8dc9f7 | 385 | (maybe_apply_renaming_pragma): Likewise. |
4f8c876d | 386 | |
3b0c690e AC |
387 | 2010-08-04 Arnaud Charlet <charlet@adacore.com> |
388 | ||
389 | * c-ada-spec.c (dump_ada_template): Mark underlying instance type as | |
390 | visited. | |
391 | (dump_generic_ada_node): Code clean up. Use TREE_VISITED flag to | |
392 | decide whether a type has already been declared/seen. | |
393 | Do not go to the original type. | |
394 | (dump_nested_types): New parameter forward. | |
395 | Generate forward declaration if needed and mark type as visited. | |
396 | (print_ada_declaration): Call dump_nested_types if not already done. | |
397 | Mark types as visited. | |
398 | ||
1890bccc JM |
399 | 2010-08-03 Joseph Myers <joseph@codesourcery.com> |
400 | ||
401 | * c.opt (-print-pch-checksum): Remove option. | |
402 | * c-opts.c (c_common_handle_option): Don't handle | |
403 | OPT_print_pch_checksum. | |
404 | ||
5f20c657 JM |
405 | 2010-07-27 Joseph Myers <joseph@codesourcery.com> |
406 | ||
407 | * c-common.h (c_common_handle_option): Update prototype and return | |
408 | value type. | |
409 | * c-opts.c (c_common_handle_option): Update prototype and return | |
410 | value type. Update calls to handle_option and | |
411 | enable_warning_as_error. | |
412 | ||
f551f80c JJ |
413 | 2010-07-27 Jakub Jelinek <jakub@redhat.com> |
414 | ||
415 | PR c/45079 | |
416 | * c-pretty-print.c (pp_c_expression): Handle C_MAYBE_CONST_EXPR. | |
417 | ||
61ff2bdc JM |
418 | 2010-07-27 Joseph Myers <joseph@codesourcery.com> |
419 | ||
420 | * c-common.h (c_common_missing_argument): Remove. | |
421 | * c-opts.c (c_common_missing_argument): Remove. | |
422 | * c.opt (A, D, F, I, MD, MMD, MQ, MT, U, fconstant-string-class=, | |
423 | idirafter, imacros, include, isysroot, isystem, iquote): Add | |
424 | MissingArgError. | |
425 | * c-objc-common.h (LANG_HOOKS_MISSING_ARGUMENT): Remove. | |
426 | ||
7a9bf9a4 JM |
427 | 2010-07-27 Joseph Myers <joseph@codesourcery.com> |
428 | ||
429 | * c-common.h (c_common_option_lang_mask, | |
430 | c_common_initialize_diagnostics, c_common_complain_wrong_lang_p): | |
431 | New. | |
432 | (c_common_init_options): Update prototype. | |
433 | * c-opts.c (c_common_option_lang_mask): New. | |
434 | (c_common_initialize_diagnostics): Split out of | |
435 | c_common_init_options. | |
436 | (accept_all_c_family_options, c_common_complain_wrong_lang_p): | |
437 | New. | |
438 | (c_common_init_options): Update prototype. Use decoded options in | |
439 | search for -lang-asm. | |
440 | ||
910ad8de NF |
441 | 2010-07-15 Nathan Froyd <froydnj@codesourcery.com> |
442 | ||
443 | * c-common.c: Carefully replace TREE_CHAIN with DECL_CHAIN. | |
444 | * c-format.c: Likewise. | |
445 | ||
718f9c0f MLI |
446 | 2010-07-08 Manuel López-Ibáñez <manu@gcc.gnu.org> |
447 | ||
448 | * c-common.h: Include diagnostic-core.h. Error if already | |
449 | included. | |
450 | * c-semantics.c: Do not define GCC_DIAG_STYLE here. | |
451 | ||
4d451982 MLI |
452 | 2010-07-03 Manuel López-Ibáñez <manu@gcc.gnu.org> |
453 | ||
454 | * c-family/c-common.c (IN_GCC_FRONTEND): Do not undef. | |
455 | Do not include expr.h | |
456 | (vector_mode_valid_p): Move here. | |
457 | ||
119fe915 SB |
458 | 2010-06-21 DJ Delorie <dj@redhat.com> |
459 | ||
460 | * c-pragma.c (handle_pragma_diagnostic): Add push/pop, | |
461 | allow these pragmas anywhere. | |
462 | ||
463 | 2010-06-14 Jakub Jelinek <jakub@redhat.com> | |
464 | ||
465 | PR bootstrap/44509 | |
466 | * c-cppbuiltin.c: Include gt-c-family-c-cppbuiltin.h. | |
467 | (lazy_hex_fp_values, lazy_hex_fp_value_count): Add GTY(()) markers. | |
468 | (lazy_hex_fp_value, builtin_define_with_hex_fp_value): Use | |
469 | ggc_strdup instead of xstrdup. | |
470 | ||
471 | 2010-06-10 Jakub Jelinek <jakub@redhat.com> | |
472 | ||
473 | * c-cppbuiltin.c: Include cpp-id-data.h. | |
474 | (lazy_hex_fp_values, lazy_hex_fp_value_count): New variables. | |
475 | (lazy_hex_fp_value): New function. | |
476 | (builtin_define_with_hex_fp_value): Provide definitions lazily. | |
477 | ||
6662d794 MLI |
478 | 2010-06-30 Manuel López-Ibáñez <manu@gcc.gnu.org> |
479 | ||
480 | * c-gimplify.c: Do not include tree-flow.h | |
481 | ||
38f8b050 JR |
482 | 2010-06-29 Joern Rennecke <joern.rennecke@embecosm.com> |
483 | ||
484 | PR other/44034 | |
485 | * c-common.c: Rename targetm member: | |
486 | targetm.enum_va_list -> targetm.enum_va_list_p | |
487 | ||
9589f23e AS |
488 | 2010-06-28 Anatoly Sokolov <aesok@post.ru> |
489 | ||
490 | * c-common.c (shorten_compare): Adjust call to force_fit_type_double. | |
491 | ||
3b06d379 SB |
492 | 2010-06-28 Steven Bosscher <steven@gcc.gnu.org> |
493 | ||
494 | * c-cppbuiltin.c: Do not include except.h. | |
495 | ||
d166d4c3 AK |
496 | 2010-06-24 Andi Kleen <ak@linux.intel.com> |
497 | ||
498 | * c-common.c (warn_for_omitted_condop): New. | |
499 | * c-common.h (warn_for_omitted_condop): Add prototype. | |
500 | ||
70cb8be6 JM |
501 | 2010-06-21 Joseph Myers <joseph@codesourcery.com> |
502 | ||
503 | * c.opt (lang-objc): Remove. | |
504 | * c-opts.c (c_common_handle_option): Don't handle OPT_lang_objc. | |
505 | ||
a4c97feb JR |
506 | 2010-06-21 Joern Rennecke <joern.rennecke@embecosm.com> |
507 | ||
508 | * c-opts.c: Include "tm_p.h". | |
509 | ||
6e2f1956 JM |
510 | 2010-06-20 Joseph Myers <joseph@codesourcery.com> |
511 | ||
512 | * c-common.c (parse_optimize_options): Update call to | |
513 | decode_options. | |
514 | ||
bc87224e NF |
515 | 2010-06-18 Nathan Froyd <froydnj@codesourcery.com> |
516 | ||
517 | * c-common.c (record_types_used_by_current_var_decl): Adjust for | |
518 | new type of types_used_by_cur_var_decl. | |
519 | ||
b49cf425 JR |
520 | 2010-06-17 Joern Rennecke <joern.rennecke@embecosm.com> |
521 | ||
522 | PR bootstrap/44512 | |
523 | * c-cppbuiltin.c (builtin_define_with_hex_fp_value): Add cast | |
524 | for C++ standard compliance. | |
525 | ||
59f9c2ed JM |
526 | 2010-06-16 Jason Merrill <jason@redhat.com> |
527 | ||
528 | * c.opt: Add -Wnoexcept. | |
529 | ||
33766b66 RG |
530 | 2010-06-16 Richard Guenther <rguenther@suse.de> |
531 | ||
532 | PR c/44555 | |
533 | * c-common.c (c_common_truthvalue_conversion): Remove | |
534 | premature and wrong optimization concering ADDR_EXPRs. | |
535 | ||
eff7e30c AC |
536 | 2010-06-15 Arnaud Charlet <charlet@adacore.com> |
537 | ||
538 | * c-ada-spec.c (dump_sloc): Remove column info. | |
539 | (is_simple_enum): New function. | |
540 | (dump_generic_ada_node, print_ada_declaration): Map C enum types to Ada | |
541 | enum types when relevant. | |
542 | ||
6312e84d MLI |
543 | 2010-06-11 Manuel López-Ibáñez <manu@gcc.gnu.org> |
544 | ||
545 | * c-common.c (conversion_warning): Warn at expression | |
546 | location. | |
547 | ||
1cb42611 JM |
548 | 2010-06-10 Joseph Myers <joseph@codesourcery.com> |
549 | ||
550 | * c-opts.c (c_common_handle_option): Don't handle | |
551 | OPT_fshow_column. | |
552 | ||
a9429e29 LB |
553 | 2010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com> |
554 | ||
555 | * c-pragma.c (push_alignment): Use typed GC allocation. | |
556 | (handle_pragma_push_options): Likewise. | |
557 | ||
558 | * c-common.c (parse_optimize_options): Likewise. | |
559 | ||
560 | * c-common.h (struct sorted_fields_type): Add variable_size GTY | |
561 | option. | |
562 | ||
5498f011 JM |
563 | 2010-06-07 Joseph Myers <joseph@codesourcery.com> |
564 | ||
565 | * c-common.c (flag_preprocess_only, flag_undef, flag_no_builtin, | |
566 | flag_no_nonansi_builtin, flag_short_double, flag_short_wchar, | |
567 | flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm, | |
568 | flag_signed_bitfields, warn_strict_null_sentinel, | |
569 | flag_nil_receivers, flag_zero_link, flag_replace_objc_classes, | |
570 | flag_gen_declaration, flag_no_gnu_keywords, | |
571 | flag_implement_inlines, flag_implicit_templates, | |
572 | flag_implicit_inline_templates, flag_optional_diags, | |
573 | flag_elide_constructors, flag_default_inline, flag_rtti, | |
574 | flag_conserve_space, flag_access_control, flag_check_new, | |
575 | flag_new_for_scope, flag_weak, flag_working_directory, | |
576 | flag_use_cxa_atexit, flag_use_cxa_get_exception_ptr, | |
577 | flag_enforce_eh_specs, flag_threadsafe_statics, | |
578 | flag_pretty_templates): Remove. | |
579 | * c-common.h (flag_preprocess_only, flag_nil_receivers, | |
580 | flag_objc_exceptions, flag_objc_sjlj_exceptions, flag_zero_link, | |
581 | flag_replace_objc_classes, flag_undef, flag_no_builtin, | |
582 | flag_no_nonansi_builtin, flag_short_double, flag_short_wchar, | |
583 | flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm, | |
584 | flag_const_strings, flag_signed_bitfields, flag_gen_declaration, | |
585 | flag_no_gnu_keywords, flag_implement_inlines, | |
586 | flag_implicit_templates, flag_implicit_inline_templates, | |
587 | flag_optional_diags, flag_elide_constructors, flag_default_inline, | |
588 | flag_rtti, flag_conserve_space, flag_access_control, | |
589 | flag_check_new, flag_new_for_scope, flag_weak, | |
590 | flag_working_directory, flag_use_cxa_atexit, | |
591 | flag_use_cxa_get_exception_ptr, flag_enforce_eh_specs, | |
592 | flag_threadsafe_statics, flag_pretty_templates, | |
593 | warn_strict_null_sentinel): Remove. | |
594 | * c.opt (E, Wstrict-null-sentinel, faccess-control, fasm, | |
595 | fbuiltin, fcheck-new, fconserve-space, felide-constructors, | |
596 | fenforce-eh-specs, ffor-scope, fgnu-keywords, fimplement-inlines, | |
597 | fimplicit-inline-templates, fimplicit-templates, | |
598 | flax-vector-conversions, fms-extensions, fnil-receivers, | |
599 | fnonansi-builtins, fpretty-templates, freplace-objc-classes, | |
600 | frtti, fshort-double, fshort-enums, fshort-wchar, | |
601 | fsigned-bitfields, fsigned-char, fstats, fthreadsafe-statics, | |
602 | funsigned-bitfields, funsigned-char, fuse-cxa-atexit, | |
603 | fuse-cxa-get-exception-ptr, fweak, fworking-directory, fzero-link, | |
604 | gen-decls, undef): Use Var. | |
605 | (fdefault-inline, foptional-diags): Document as doing nothing. | |
606 | * c-opts.c (c_common_handle_option): Remove cases for options now | |
607 | using Var. Mark ignored options as such. | |
608 | ||
39dabefd SB |
609 | 2010-06-05 Steven Bosscher <steven@gcc.gnu.org> |
610 | ||
611 | * c-common.c: Moved to here from parent directory. | |
612 | * c-common.def: Likewise. | |
613 | * c-common.h: Likewise. | |
614 | * c-cppbuiltin.c: Likewise. | |
615 | * c-dump.c: Likewise. | |
616 | * c-format.c: Likewise. | |
617 | * c-format.h : Likewise. | |
618 | * c-gimplify.c: Likewise. | |
619 | * c-lex.c: Likewise. | |
620 | * c-omp.c: Likewise. | |
621 | * c.opt: Likewise. | |
622 | * c-opts.c: Likewise. | |
623 | * c-pch.c: Likewise. | |
624 | * c-ppoutput.c: Likewise. | |
625 | * c-pragma.c: Likewise. | |
626 | * c-pragma.h: Likewise. | |
627 | * c-pretty-print.c: Likewise. | |
628 | * c-pretty-print.h: Likewise. | |
629 | * c-semantics.c: Likewise. | |
630 | * stub-objc.c: Likewise. | |
631 | ||
632 | * c-common.c: Include gt-c-family-c-common.h. | |
633 | * c-pragma.c: Include gt-c-family-c-pragma.h. | |
634 | \f | |
635 | Copyright (C) 2010 Free Software Foundation, Inc. | |
636 | ||
637 | Copying and distribution of this file, with or without modification, | |
638 | are permitted in any medium without royalty provided the copyright | |
639 | notice and this notice are preserved. |