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