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