]>
Commit | Line | Data |
---|---|---|
dd045aee | 1 | 2011-04-20 Jim Meyering <meyering@redhat.com> |
2 | ||
3 | * c-format.c (init_dollar_format_checking): Remove useless | |
4 | if-before-free. | |
5 | ||
394dd737 | 6 | 2011-04-15 Nicola Pero <nicola.pero@meta-innovation.com> |
7 | ||
8 | * c-objc.h (objc_get_interface_ivars): Removed. | |
9 | (objc_detect_field_duplicates): New. | |
10 | * stub-objc.c: Likewise. | |
11 | ||
a758bf7d | 12 | 2011-04-14 Nicola Pero <nicola.pero@meta-innovation.com> |
13 | ||
14 | * stub-objc.c (objc_declare_protocols): Renamed to | |
15 | objc_declare_protocol. | |
16 | * c-objc.h: Likewise. | |
17 | ||
29d7200d | 18 | 2011-04-14 Nicola Pero <nicola.pero@meta-innovation.com> |
19 | ||
20 | * stub-objc.c (objc_declare_class): Updated argument name. | |
21 | ||
9b88d08d | 22 | 2011-04-12 Nathan Froyd <froydnj@codesourcery.com> |
23 | ||
24 | * c-common.h (c_common_init_ts): Declare. | |
25 | * c-common.c (c_common_init_ts): Define. | |
26 | ||
4185cf58 | 27 | 2011-04-12 Nicola Pero <nicola.pero@meta-innovation.com> |
28 | ||
29 | * c-objc.h (objc_build_message_expr): Updated prototype. | |
30 | * stub-objc.c (objc_build_message_expr): Likewise. | |
31 | ||
5a90471f | 32 | 2011-04-12 Martin Jambor <mjambor@suse.cz> |
33 | ||
34 | * c-gimplify.c (c_genericize): Call cgraph_get_create_node instead | |
35 | of cgraph_node. | |
36 | ||
783bb57e | 37 | 2011-04-11 Richard Guenther <rguenther@suse.de> |
38 | ||
39 | * c-common.c (complete_array_type): Build a range type of | |
40 | proper type. | |
41 | ||
c33080b9 | 42 | 2011-04-08 Nathan Froyd <froydnj@codesourcery.com> |
43 | ||
44 | * c-common.c (handle_sentinel_attribute): Don't use TYPE_ARG_TYPES. | |
45 | (handle_type_generic_attribute): Likewise. | |
46 | ||
f8913d47 | 47 | 2011-04-07 Jason Merrill <jason@redhat.com> |
48 | ||
49 | PR c++/48450 | |
50 | * c-common.c (c_common_truthvalue_conversion): Don't ignore | |
51 | conversion from C++0x scoped enum. | |
52 | ||
c94b1d0e | 53 | 2011-04-06 Joseph Myers <joseph@codesourcery.com> |
54 | ||
55 | * c-target-def.h: New file. | |
56 | * c-target.def: New file. | |
57 | * c-target.h: New file. | |
58 | * c-common.c (targetcm): Don't define here. | |
59 | * c-common.h (default_handle_c_option): Declare. | |
60 | * c-format.c: Include c-target.h instead of target.h. | |
61 | * c-opts.c: Include c-target.h instead of target.h. Explicitly | |
62 | include tm.h. | |
63 | (default_handle_c_option): Move from targhooks.c. | |
64 | ||
acb10f41 | 65 | 2011-03-29 Jakub Jelinek <jakub@redhat.com> |
66 | ||
67 | PR preprocessor/48248 | |
68 | * c-ppoutput.c (print): Add src_file field. | |
69 | (init_pp_output): Initialize it. | |
70 | (maybe_print_line): Don't optimize by adding up to 8 newlines | |
71 | if map->to_file and print.src_file are different file. | |
72 | (print_line): Update print.src_file. | |
73 | ||
82715bcd | 74 | 2011-03-25 Kai Tietz <ktietz@redhat.com> |
75 | ||
76 | * c-ada-spec.c (compare_comment): Use filename_cmp | |
77 | instead of strcmp for filename. | |
78 | ||
451c8e2f | 79 | 2011-03-25 Jeff Law <law@redhat.com> |
80 | ||
81 | * c-family/c-common.c (def_fn_type): Add missing va_end. | |
82 | ||
3c47771c | 83 | 2011-03-25 Jason Merrill <jason@redhat.com> |
84 | ||
85 | * c.opt: Add -std=c++03. | |
86 | ||
97e6200f | 87 | 2011-03-22 Eric Botcazou <ebotcazou@adacore.com> |
88 | ||
89 | * c-ada-spec.c (dump_ada_template): Skip non-class instances. | |
90 | ||
ac86af5d | 91 | 2011-03-17 Kai Tietz |
92 | ||
93 | PR target/12171 | |
ee212425 | 94 | * c-pretty-print.c (pp_c_specifier_qualifier_list): |
95 | Display allowed attributes for function pointer types. | |
96 | (pp_c_attributes_display): New function to display | |
97 | attributes having affects_type_identity flag set to true. | |
98 | * c-pretty-print.h (pp_c_attributes_display): New prototype. | |
99 | ||
ac86af5d | 100 | * c-common.c (c_common_attribute_table): |
101 | Add new element. | |
102 | (c_common_format_attribute_table): Likewise. | |
103 | ||
914d1151 | 104 | 2011-03-18 Jason Merrill <jason@redhat.com> |
105 | ||
69788bdf | 106 | * c.opt (fconstexpr-depth): Add Var(max_constexpr_depth). |
107 | * c-common.h: Don't declare it here. | |
108 | * c-common.c: Or define it here. | |
109 | * c-opts.c (c_common_handle_option): Or set it here. | |
110 | ||
914d1151 | 111 | PR c++/35315 |
112 | * c-common.c (handle_transparent_union_attribute): Don't | |
113 | make a duplicate type in C++. | |
114 | ||
54cf6eed | 115 | 2011-03-15 Jason Merrill <jason@redhat.com> |
116 | ||
117 | * c-common.c (max_constexpr_depth): New. | |
118 | * c-common.h: Declare it. | |
119 | * c-opts.c (c_common_handle_option): Set it. | |
120 | * c.opt (fconstexpr-depth): New option. | |
121 | ||
02cb1060 | 122 | 2011-03-11 Jason Merrill <jason@redhat.com> |
123 | ||
9bf1c74e | 124 | * c-common.c (attribute_takes_identifier_p): Add missing const. |
125 | ||
02cb1060 | 126 | PR c++/46803 |
127 | * c-common.c (attribute_takes_identifier_p): Assume that an | |
128 | unknown attribute takes an identifier. | |
129 | ||
ecf2703d | 130 | 2011-03-07 Nathan Froyd <froydnj@codesourcery.com> |
131 | ||
132 | PR c/47786 | |
133 | * c-common.c (c_type_hash): Call list_length instead of iterating | |
134 | through DECL_CHAIN. Rename 'i' to 'n_elements'. | |
135 | ||
2b19dfe4 | 136 | 2011-02-19 Jakub Jelinek <jakub@redhat.com> |
137 | ||
138 | PR c/47809 | |
139 | * c-common.c (c_fully_fold_internal): Handle VIEW_CONVERT_EXPR. | |
140 | ||
29cf2335 | 141 | 2011-02-17 Iain Sandoe <iains@gcc.gnu.org> |
142 | ||
143 | * c.opt (fobjc-abi-version=) New. | |
144 | (fobjc-nilcheck): New. | |
145 | ||
fad3f658 | 146 | 2011-02-03 Nathan Froyd <froydnj@codesourcery.com> |
147 | ||
148 | PR c++/46890 | |
149 | * c-common.h (keyword_is_decl_specifier): Declare. | |
150 | * c-common.c (keyword_is_decl_specifier): Define. | |
151 | (keyword_is_function_specifier): New function. | |
152 | ||
a12319b3 | 153 | 2011-01-26 Jakub Jelinek <jakub@redhat.com> |
154 | ||
155 | PR c/47473 | |
156 | * c-lex.c (interpret_float): If CPP_N_IMAGINARY, ensure | |
157 | EXCESS_PRECISION_EXPR is created with COMPLEX_TYPE instead of | |
158 | REAL_TYPE. | |
159 | ||
5c128dc8 | 160 | 2011-01-26 Arnaud Charlet <charlet@adacore.com> |
161 | ||
162 | * c-ada-spec.c (dump_generic_ada_node): Avoid dereferencing null type. | |
163 | ||
8d67b0c7 | 164 | 2011-01-26 Jakub Jelinek <jakub@redhat.com> |
165 | ||
166 | PR pch/47430 | |
167 | * c-opts.c (c_common_post_options): Call c_common_no_more_pch | |
168 | after init_c_lex if pch_file is set. | |
169 | ||
0675168d | 170 | 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com> |
171 | ||
e8911163 | 172 | PR c++/43601 |
0675168d | 173 | * c.opt (-fkeep-inline-dllexport): New switch. |
174 | ||
0725e25c | 175 | 2011-01-12 Richard Guenther <rguenther@suse.de> |
176 | ||
177 | PR middle-end/32511 | |
178 | * c-common.c (handle_weak_attribute): Warn instead of error | |
179 | on declaring an inline function weak. | |
180 | ||
fdd84b77 | 181 | 2011-01-05 Tom Tromey <tromey@redhat.com> |
182 | ||
183 | * c-common.h (lvalue_error): Update. | |
184 | * c-common.c (lvalue_error): Add 'loc' argument. Call error_at, | |
185 | not error. | |
186 | ||
e6e73d14 | 187 | 2010-12-29 Nicola Pero <nicola.pero@meta-innovation.com> |
188 | ||
d67e8485 | 189 | PR objc/47075 |
190 | * c-objc.h (objc_finish_message_expr): Added argument to | |
191 | prototype. | |
192 | ||
a36cf284 | 193 | 2010-12-22 Nathan Froyd <froydnj@codesourcery.com> |
194 | ||
195 | * c-common.c (handle_nonnull_attribute, handle_sentinel_attribute): | |
196 | Use prototype_p. | |
197 | ||
33b3681f | 198 | 2010-12-18 Nicola Pero <nicola.pero@meta-innovation.com> |
199 | ||
200 | * c-objc.h (objc_maybe_warn_exceptions): New. | |
201 | * stub-objc.c (objc_maybe_warn_exceptions): New. | |
202 | ||
a1f90215 | 203 | 2010-12-10 Nathan Froyd <froydnj@codesourcery.com> |
204 | ||
205 | * c-common.h (readonly_error): Declare. | |
206 | * c-common.c (readonly_error): Define. | |
207 | ||
b1bbc8e5 | 208 | 2010-12-09 Nathan Froyd <froydnj@codesourcery.com> |
209 | ||
210 | * c-common.h (invalid_indirection_error): Declare. | |
211 | * c-common.c (invalid_indirection_error): Define. | |
212 | ||
b0d55af9 | 213 | 2010-12-03 Richard Guenther <rguenther@suse.de> |
214 | ||
215 | PR c/46745 | |
216 | * c-pretty-print.c (pp_c_postfix_expression): Handle MEM_REF. | |
217 | (pp_c_unary_expression): Likewise. | |
218 | (pp_c_expression): Likewise. | |
219 | ||
d7489d8d | 220 | 2010-11-30 Nicola Pero <nicola.pero@meta-innovation.com> |
221 | ||
222 | * c-common.h (objc_finish_function): New. | |
223 | (objc_non_volatilized_type): Removed. | |
224 | (objc_type_quals_match): Removed. | |
225 | * stub-objc.c (objc_finish_function): New. | |
226 | (objc_non_volatilized_type): Removed. | |
227 | (objc_type_quals_match): Removed. | |
228 | ||
92468061 | 229 | 2010-11-30 Joseph Myers <joseph@codesourcery.com> |
230 | ||
231 | * c-common.h (parse_optimize_options): Declare. | |
232 | * c-cppbuiltin.c, c-format.c, c-gimplify.c, c-lex.c, c-omp.c, | |
233 | c-pch.c, c-pragma.c, c-semantics.c: Don't include toplev.h. | |
234 | ||
967958e4 | 235 | 2010-11-29 Joseph Myers <joseph@codesourcery.com> |
236 | ||
237 | * c-opts.c (check_deps_environment_vars): Use getenv instead of | |
238 | GET_ENVIRONMENT. | |
239 | * c-pch.c (O_BINARY): Don't define here. | |
240 | * c-pragma.h: Include "cpplib.h" instead of <cpplib.h>. | |
241 | ||
b213bf24 | 242 | 2010-11-25 Joseph Myers <joseph@codesourcery.com> |
243 | ||
244 | * c-cppbuiltin.c (c_cpp_builtins): Pass &global_options to | |
245 | targetm.except_unwind_info. | |
246 | ||
9faf44d6 | 247 | 2010-11-23 Joseph Myers <joseph@codesourcery.com> |
248 | ||
249 | * c-opts.c (c_common_handle_option): Pass location to | |
250 | set_struct_debug_option. | |
251 | ||
79396169 | 252 | 2010-11-23 Joseph Myers <joseph@codesourcery.com> |
253 | ||
254 | * c-common.c (visibility_options): Move from ../opts.c. | |
255 | * c-common.h (struct visibility_flags, visibility_options): | |
256 | Declare here. | |
257 | * c-opts.c (finish_options): Rename to c_finish_options. | |
258 | (c_common_init): Update call to finish_options. | |
259 | ||
b4aa4123 | 260 | 2010-11-22 Nicola Pero <nicola.pero@meta-innovation.com> |
261 | ||
262 | PR objc/34033 | |
263 | * c-lex.c (lex_string): Check that each string in an Objective-C | |
264 | string concat sequence starts with either one or zero '@', and | |
265 | that there are no spurious '@' signs at the end. | |
266 | ||
3e0e49f2 | 267 | 2010-11-20 Joseph Myers <joseph@codesourcery.com> |
268 | ||
269 | * c-pragma.c: Remove conditionals on HANDLE_PRAGMA_PACK, | |
270 | HANDLE_PRAGMA_PACK_PUSH_POP, HANDLE_PRAGMA_WEAK and | |
271 | HANDLE_PRAGMA_VISIBILITY. | |
272 | * c-pragma.h (HANDLE_PRAGMA_WEAK, HANDLE_PRAGMA_PACK, | |
273 | HANDLE_PRAGMA_VISIBILITY): Don't define. | |
274 | (HANDLE_SYSV_PRAGMA, HANDLE_PRAGMA_PACK_PUSH_POP): Don't test. | |
275 | ||
a9ffdd35 | 276 | 2010-11-20 Nathan Froyd <froydnj@codesourcery.com> |
277 | ||
278 | PR c++/16189 | |
279 | PR c++/36888 | |
280 | PR c++/45331 | |
281 | * c-common.h (keyword_begins_type_specifier): Declare. | |
282 | (keyword_is_storage_class_specifier): Declare. | |
283 | (keyword_is_type_qualifier): Declare. | |
284 | * c-common.c (keyword_begins_type_specifier): New function. | |
285 | (keyword_is_storage_class_specifier): New function. | |
286 | (keyword_is_type_qualifier): Declare. | |
287 | ||
93be21c0 | 288 | 2010-11-19 Joseph Myers <joseph@codesourcery.com> |
289 | ||
290 | PR c/46547 | |
291 | * c-common.c (in_late_binary_op): Define. | |
292 | (c_common_truthvalue_conversion): Check in_late_binary_op before | |
293 | calling c_save_expr. | |
294 | * c-common.h (in_late_binary_op): Declare. | |
295 | ||
d7175aef | 296 | 2010-11-19 Joseph Myers <joseph@codesourcery.com> |
297 | ||
298 | * c-opts.c (c_common_handle_option): Update calls to | |
299 | set_struct_debug_option. | |
300 | ||
c213e196 | 301 | 2010-11-19 Nicola Pero <nicola.pero@meta-innovation.com> |
302 | ||
303 | * c-common.h (objc_declare_protocols): Added additional argument. | |
304 | * stub-objc.c (objc_declare_protocol): Same change. | |
305 | ||
0b5fc5d6 | 306 | 2010-11-18 Nathan Froyd <froydnj@codesourcery.com> |
307 | ||
308 | PR c/33193 | |
309 | * c-common.h (build_real_imag_expr): Declare. | |
310 | * c-semantics.c (build_real_imag_expr): Define. | |
311 | ||
b8ba44e7 | 312 | 2010-11-17 Joseph Myers <joseph@codesourcery.com> |
313 | ||
314 | * c-opts.c (c_common_parse_file): Take no arguments. | |
315 | * c-common.h (c_common_parse_file): Update prototype. | |
316 | ||
6ef8d12f | 317 | 2010-11-16 Jakub Jelinek <jakub@redhat.com> |
318 | ||
319 | PR c++/46401 | |
320 | * c-common.c (warning_candidate_p): Don't track non-const calls | |
321 | or STRING_CSTs. | |
322 | ||
929d2a90 | 323 | 2010-11-15 Ian Lance Taylor <iant@google.com> |
324 | ||
325 | * c-lex.c (init_c_lex): Set macro debug callbacks if | |
326 | flag_dump_go_spec is set. | |
327 | ||
e4a7640a | 328 | 2010-11-15 Nicola Pero <nicola.pero@meta-innovation.com> |
329 | ||
330 | * c-common.h (objc_build_incr_expr_for_property_ref): New. | |
331 | * stub-objc.c (objc_build_incr_expr_for_property_ref): New. | |
332 | ||
597d2d81 | 333 | 2010-11-15 Nathan Froyd <froydnj@codesourcery.com> |
334 | ||
335 | PR preprocessor/45038 | |
336 | * c-cppbuiltin.c (c_cpp_builtins): Use different format for C++ | |
337 | dialects. | |
338 | ||
c123f04d | 339 | 2010-11-12 Joseph Myers <joseph@codesourcery.com> |
340 | ||
341 | * c-common.h (c_family_lang_mask): Declare. | |
342 | * c-opts.c (c_family_lang_mask): Make extern. | |
343 | * c-pragma.c (handle_pragma_diagnostic): Use | |
344 | control_warning_option. | |
345 | ||
3c6c0e40 | 346 | 2010-11-12 Joseph Myers <joseph@codesourcery.com> |
347 | ||
348 | * c-common.c (parse_optimize_options): Update call to | |
349 | decode_options. | |
350 | * c-common.h (c_common_handle_option): Update prototype. | |
351 | * c-opts.c (c_common_handle_option): Take location_t parameter and | |
352 | pass it to other functions. | |
353 | ||
19ec5c9e | 354 | 2010-11-11 Joseph Myers <joseph@codesourcery.com> |
355 | ||
356 | * c-opts.c (warning_as_error_callback): Remove. | |
357 | (c_common_initialize_diagnostics): Don't call | |
358 | register_warning_as_error_callback. | |
359 | (c_common_handle_option): Handle -Werror=normalized= here. | |
360 | ||
bf776685 | 361 | 2010-11-10 Joseph Myers <joseph@codesourcery.com> |
362 | ||
363 | * c-common.c (handle_mode_attribute): Use %' and word "signedness" | |
364 | in diagnostic. | |
365 | * c-opts.c (c_common_parse_file): Start diagnostics with lowercase | |
366 | letter. | |
367 | * c-pragma.c (handle_pragma_target, handle_pragma_optimize): | |
368 | Remove trailing '.' from diagnostics. | |
369 | * c.opt (Wwrite-strings_: Avoid '`' in help text. | |
370 | ||
6bd9d862 | 371 | 2010-11-10 Joseph Myers <joseph@codesourcery.com> |
372 | ||
373 | * c-common.c (parse_optimize_options): Pass global_dc to | |
374 | decode_options. | |
375 | * c-opts.c (c_common_handle_option): Pass &global_options to | |
376 | set_Wstrict_aliasing. | |
377 | * c.opt (v): Don't mark Common or document here. | |
378 | ||
1f6616ee | 379 | 2010-11-06 Iain Sandoe <iains@gcc.gnu.org> |
380 | ||
381 | PR target/44981 | |
382 | * c-format.c (format_type): New type gcc_objc_string_format_type. | |
383 | (valid_stringptr_type_p): New. | |
384 | (handle_format_arg_attribute): Use valid_stringptr_type_p (). | |
385 | (check_format_string): Pass expected type, use | |
386 | valid_stringptr_type_p (), check that the format string types are | |
387 | consistent with the format specification. | |
388 | (decode_format_attr): Warn if NSString is used outside objective-c. | |
389 | (format_types_orig): Add NSString. | |
390 | (format_name): New. | |
391 | (format_flags): New. | |
392 | (check_format_arg): Handle format strings requiring an external parser. | |
393 | first_target_format_type: New variable. | |
394 | (handle_format_attribute): Set up first_target_format_type, pass the | |
395 | expected format arg string type to check_format_string(). | |
396 | * c-common.h (FMT_FLAG_PARSE_ARG_CONVERT_EXTERNAL): New flag. | |
397 | * stub-objc.c (objc_string_ref_type_p): New. | |
398 | (objc_check_format_arg): New. | |
399 | ||
b0d0931f | 400 | 2010-11-04 Nicola Pero <nicola.pero@meta-innovation.com> |
401 | ||
402 | Fixed using the Objective-C 2.0 dot-syntax with class names. | |
403 | * c-common.h (objc_build_class_component_ref): New. | |
404 | * stub-objc.c (objc_build_class_component_ref): New. | |
405 | ||
f26877d5 | 406 | 2010-11-03 Nicola Pero <nicola.pero@meta-innovation.com> |
407 | ||
408 | * c.opt (Wproperty-assign-default): New option. | |
409 | ||
1ef143b6 | 410 | 2010-11-03 Nicola Pero <nicola.pero@meta-innovation.com> |
411 | ||
412 | Implemented -fobjc-std=objc1 flag. | |
413 | * c.opt (fobjc-std=objc1): New option. | |
414 | ||
8c582e4f | 415 | 2010-11-01 Nicola Pero <nicola.pero@meta-innovation.com> |
416 | ||
417 | Implemented format and noreturn attributes for Objective-C methods. | |
418 | * c-common.c (handle_noreturn_attribute): Recognize 'noreturn' | |
419 | attribute for Objective-C methods. | |
420 | ||
8637f1db | 421 | 2010-10-31 Jason Merrill <jason@redhat.com> |
422 | ||
423 | * c-common.c (conversion_warning, warn_for_collisions_1): Use | |
424 | EXPR_LOC_OR_HERE. | |
425 | ||
9d9f5bb3 | 426 | 2010-10-30 Nicola Pero <nicola.pero@meta-innovation.com> |
427 | ||
428 | Implemented Objective-C 2.0 @property, @synthesize and @dynamic. | |
429 | * c-common.h (enum rid): Removed RID_COPIES and RID_IVAR. | |
430 | (objc_add_property_declaration): Removed arguments for copies and | |
431 | ivar. | |
432 | (objc_build_getter_call): Renamed to | |
433 | objc_maybe_build_component_ref. | |
434 | (objc_build_setter_call): Renamed to objc_maybe_build_modify_expr. | |
435 | (objc_is_property_ref): New. | |
436 | * c-common.c (c_common_reswords): Removed copies and ivar. | |
437 | * stub-objc.c (objc_add_property_declaration): Removed arguments | |
438 | for copies and ivar. | |
439 | (objc_build_getter_call): Renamed to | |
440 | objc_maybe_build_component_ref. | |
441 | (objc_build_setter_call): Renamed to objc_maybe_build_modify_expr. | |
442 | (objc_is_property_ref): New. | |
443 | ||
56f907a0 | 444 | 2010-10-29 Arnaud Charlet <charlet@adacore.com> |
445 | Matthew Gingell <gingell@adacore.com> | |
446 | ||
447 | * c-ada-spec.c (separate_class_package): New function. | |
448 | (pp_ada_tree_identifier): Prefix references to C++ classes with the | |
449 | name of their enclosing package. | |
450 | (print_ada_declaration): Use separate_class_package. | |
451 | ||
b5fa273e | 452 | 2010-10-27 Jason Merrill <jason@redhat.com> |
453 | ||
5290e253 | 454 | * c-common.c (c_common_reswords): Add __is_literal_type. |
455 | * c-common.h (enum rid): Add RID_IS_LITERAL_TYPE. | |
456 | ||
b5fa273e | 457 | * c-common.c (check_case_value): Remove special C++ code. |
458 | ||
7590f0e5 | 459 | 2010-10-27 Nicola Pero <nicola.pero@meta-innovation.com> |
460 | ||
461 | * c-common.h (enum rid): Added RID_READWRITE, RID_ASSIGN, | |
462 | RID_RETAIN, RID_COPY and RID_NONATOMIC. Updated RID_FIRST_PATTR | |
463 | and RID_LAST_PATTR. | |
464 | (objc_add_property_declaration): Added additional arguments. | |
465 | (objc_property_attribute_kind): Removed. | |
466 | (objc_set_property_attr): Removed. | |
467 | * c-common.c (c_common_reswords): Added readwrite, assign, retain, | |
468 | copy and nonatomic. | |
469 | * stub-objc.c (objc_add_property_declaration): Added additional | |
470 | arguments. | |
471 | (objc_set_property_attr): Removed. | |
472 | ||
1d894bcf | 473 | 2010-10-27 Nicola Pero <nicola.pero@meta-innovation.com> |
474 | ||
475 | * c-common.h (objc_add_property_variable): Renamed to | |
476 | objc_add_property_declaration. Added location argument. | |
477 | * stub-objc.c (objc_add_property_variable): Same change. | |
478 | ||
e23bf1fb | 479 | 2010-10-23 Nicola Pero <nicola.pero@meta-innovation.com> |
480 | ||
481 | * c-common.h (objc_maybe_printable_name): New. | |
482 | * stub-objc.c (objc_maybe_printable_name): New. | |
483 | ||
93426222 | 484 | 2010-10-22 Artjoms Sinkarovs <artyom.shinakroff@gmail.com> |
485 | Andrew Pinski <pinskia@gmail.com> | |
486 | ||
487 | * c-common.h (c_common_mark_addressable_vec): Declare. | |
488 | * c-common.c (c_common_mark_addressable_vec): New function. | |
489 | ||
45b2b110 | 490 | 2010-10-20 Nicola Pero <nicola.pero@meta-innovation.com> |
491 | ||
492 | * c-common.h (objc_set_method_type): Removed. | |
493 | (objc_add_method_declaration): Added boolean argument. | |
494 | (objc_start_method_definition): Same change. | |
495 | (objc_build_method_signature): Same change. | |
496 | * stub-objc.c (objc_set_method_type): Removed. | |
497 | (objc_add_method_declaration): Added boolean argument. | |
498 | (objc_start_method_definition): Same change. | |
499 | (objc_build_method_signature): Same change. | |
500 | ||
64cd9619 | 501 | 2010-10-20 Nicola Pero <nicola.pero@meta-innovation.com> |
502 | ||
503 | * c-common.h (finish_file): Removed. | |
504 | (objc_write_global_declarations): New. | |
505 | * c-opts.c (c_common_parse_file): Do not call finish_file. | |
506 | * stub-objc.c (objc_write_global_declarations): New. | |
507 | ||
e1f293c0 | 508 | 2010-10-18 Nicola Pero <nicola.pero@meta-innovation.com> |
509 | ||
510 | Implemented parsing @synthesize and @dynamic for | |
511 | Objective-C/Objective-C++. | |
512 | * c-common.h (enum rid): Add RID_AT_SYNTHESIZE and RID_AT_DYNAMIC. | |
513 | (objc_add_synthesize_declaration): New. | |
514 | (objc_add_dynamic_declaration): New. | |
515 | * c-common.c (c_common_reswords): Add synthesize and dynamic. | |
516 | * stub-objc.c (objc_add_synthesize_declaration): New. | |
517 | (objc_add_dynamic_declaration): New. | |
518 | ||
ef97a312 | 519 | 2010-10-18 Michael Meissner <meissner@linux.vnet.ibm.com> |
520 | ||
521 | PR target/46041 | |
522 | * c-cppbuiltin.c (mode_has_fma): Move function here from | |
523 | builtins.c. Don't use the fma optab, instead just use the | |
524 | HAVE_fma* macros, so that __FP_FAST_FMA* will be defined when | |
525 | using -save-temps. | |
526 | ||
69b07042 | 527 | 2010-10-18 Nicola Pero <nicola.pero@meta-innovation.com> |
528 | ||
529 | Merge from 'apple/trunk' branch on FSF servers. | |
ef97a312 | 530 | |
69b07042 | 531 | 2005-11-08 Fariborz Jahanian <fjahanian@apple.com> |
532 | ||
533 | Radar 4330422 | |
534 | * c-common.h (objc_non_volatilized_type): New declaration | |
535 | * stub-objc.c (objc_non_volatilized_type): New stub. | |
536 | ||
f15f2e56 | 537 | 2010-10-17 Nicola Pero <nicola.pero@meta-innovation.com> |
538 | ||
69b07042 | 539 | Merge from 'apple/trunk' branch on FSF servers. |
f15f2e56 | 540 | |
541 | 2006-03-27 Fariborz Jahanian <fjahanian@apple.com> | |
542 | ||
543 | Radar 4133425 | |
544 | * c-common.h (objc_diagnose_private_ivar): New decl. | |
ef97a312 | 545 | * stub-objc.c (objc_diagnose_private_ivar): New stub. |
f15f2e56 | 546 | |
4a8875ed | 547 | 2010-10-17 Iain Sandoe <iains@gcc.gnu.org> |
548 | ||
549 | * c-common.c (c_common_reswords): Add package, RID_AT_PACKAGE. | |
550 | * c-common.h (enum rid): Add RID_AT_PACKAGE. | |
551 | (objc_ivar_visibility_kind): New enum. | |
552 | (objc_set_visibility): Adjust prototype to use visibility enum. | |
ef97a312 | 553 | * stub-objc.c (objc_set_visibility): Adjust stub to use |
4a8875ed | 554 | visibility enum. |
555 | ||
7e0713b1 | 556 | 2010-10-14 Michael Meissner <meissner@linux.vnet.ibm.com> |
557 | ||
558 | * c-cppbuiltin.c (builtin_define_float_constants): Emit | |
559 | __FP_FAST_FMA, __FP_FAST_FMAF, and __FP_FAST_FMAL if the machine | |
560 | has the appropriate fma builtins. | |
561 | (c_cpp_builtins): Adjust call to builtin_define_float_constants. | |
562 | ||
86c110ac | 563 | 2010-10-14 Iain Sandoe <iains@gcc.gnu.org> |
564 | ||
7e0713b1 | 565 | merge from FSF apple 'trunk' branch. |
86c110ac | 566 | 2006 Fariborz Jahanian <fjahanian@apple.com> |
7e0713b1 | 567 | |
86c110ac | 568 | Radars 4436866, 4505126, 4506903, 4517826 |
569 | * c-common.c (c_common_resword): Define @property and its attributes. | |
570 | * c-common.h: Define property attribute enum entries. | |
571 | (OBJC_IS_PATTR_KEYWORD): New. | |
572 | (objc_property_attribute_kind): New enum. | |
573 | Declare objc_set_property_attr (), objc_add_property_variable (), | |
574 | objc_build_getter_call () and objc_build_setter_call (). | |
575 | * stub-objc.c (objc_set_property_attr): New stub. | |
576 | (objc_add_property_variable): Likewise. | |
577 | (objc_build_getter_call): Likewise. | |
578 | (objc_build_setter_call) Likewise. | |
7e0713b1 | 579 | |
40c8d1dd | 580 | 2010-10-13 Iain Sandoe <iains@gcc.gnu.org> |
581 | ||
7e0713b1 | 582 | merge from FSF apple 'trunk' branch. |
40c8d1dd | 583 | 2006-04-26 Fariborz Jahanian <fjahanian@apple.com> |
584 | ||
585 | Radar 3803157 (method attributes) | |
586 | * c-common.c (handle_deprecated_attribute): Recognize | |
587 | objc methods as valid declarations. | |
588 | * c-common.h: Declare objc_method_decl (). | |
7e0713b1 | 589 | * stub-objc.c (objc_method_decl): New stub. |
40c8d1dd | 590 | |
f3f006ad | 591 | 2010-10-08 Joseph Myers <joseph@codesourcery.com> |
592 | ||
593 | * c-common.c (parse_optimize_options): Call | |
594 | decode_cmdline_options_to_array_default_mask before | |
595 | decode_options. Update arguments to decode_options. | |
596 | * c-common.h (c_common_init_options_struct): Declare. | |
597 | * c-opts.c (c_common_init_options_struct): New. Split out from | |
598 | c_common_init_options. | |
599 | ||
0a65c3bb | 600 | 2010-10-06 Nicola Pero <nicola.pero@meta-innovation.com> |
601 | ||
602 | Implemented fast enumeration for Objective-C. | |
603 | * c-common.h (objc_finish_foreach_loop): New. | |
604 | * stub-objc.c (objc_finish_foreach_loop): New. | |
605 | ||
24ca3b4e | 606 | 2010-10-05 Joseph Myers <joseph@codesourcery.com> |
607 | ||
608 | * c-common.h (struct diagnostic_context): Don't declare here. | |
609 | (c_common_initialize_diagnostics): Declare using | |
610 | diagnostic_context typedef. | |
611 | * c-opts.c (c_common_handle_option): Pass global_dc to | |
612 | handle_generated_option. | |
613 | ||
f83b64ca | 614 | 2010-10-04 Joseph Myers <joseph@codesourcery.com> |
615 | ||
616 | * c-opts.c (c_common_handle_option): Pass &global_options_set to | |
617 | handle_generated_option. | |
618 | ||
2fdec027 | 619 | 2010-10-03 Ian Lance Taylor <iant@google.com> |
620 | ||
621 | * c.opt (-fplan9-extensions): New option. | |
622 | ||
41acdfa4 | 623 | 2010-10-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> |
624 | ||
625 | * c-cppbuiltin.c (define__GNUC__, builtin_define_type_precision): | |
626 | Remove. | |
627 | (c_cpp_builtins): Call functions from cppbuiltin.c instead | |
628 | of duplicating code. | |
629 | ||
069761fb | 630 | 2010-09-30 Iain Sandoe <iains@gcc.gnu.org> |
631 | ||
632 | * c-common.c: Add two new entries for @optional | |
633 | and @required keywords. | |
634 | ||
635 | merge from FSF 'apple/trunk' branch. | |
636 | 2006-01-30 Fariborz Jahanian <fjahanian@apple.com> | |
637 | ||
638 | Radar 4386773 | |
639 | * c-common.h (RID_AT_OPTIONAL, RID_AT_REQUIRED): Two new | |
640 | objective-c keywords. | |
641 | (objc_set_method_opt): New declaration. | |
642 | * stub-objc.c (objc_set_method_opt): New stub. | |
643 | ||
2c5d2e39 | 644 | 2010-09-30 Joseph Myers <joseph@codesourcery.com> |
645 | ||
646 | * c-common.c (handle_optimize_attribute): Pass &global_options to | |
647 | cl_optimization_save and cl_optimization_restore. | |
648 | * c-opts.c (c_common_handle_option): Pass &global_options to | |
649 | handle_generated_option. | |
650 | * c-pragma.c (handle_pragma_diagnostic): Use option_flag_var. | |
651 | (handle_pragma_pop_options, handle_pragma_reset_options): Pass | |
652 | &global_options to cl_optimization_restore. | |
653 | ||
e5c75ac3 | 654 | 2010-09-30 Nicola Pero <nicola.pero@meta-innovation.com> |
655 | ||
656 | * c-lex.c (c_lex_with_flags): Updated comments for CPP_AT_NAME | |
657 | Objective-C/Objective-C++ keywords. | |
658 | ||
3511333e | 659 | 2010-09-29 Nicola Pero <nicola.pero@meta-innovation.com> |
e147d6aa | 660 | |
661 | Merge from 'apple/trunk' branch on FSF servers. | |
662 | ||
663 | 2005-10-04 Fariborz Jahanian <fjahanian@apple.com> | |
664 | ||
665 | Radar 4281748 | |
666 | * c-common.h (objc_check_global_decl): New declaration. | |
667 | * stub-objc.c (objc_check_global_decl): New stub. | |
668 | ||
5461e683 | 669 | 2010-09-29 Joseph Myers <joseph@codesourcery.com> |
670 | ||
671 | * c.opt: Don't use VarExists. | |
672 | ||
5ae82d58 | 673 | 2010-09-29 Joseph Myers <joseph@codesourcery.com> |
674 | ||
675 | * c-common.c (c_cpp_error): Update names of diagnostic_context | |
676 | members. | |
677 | * c-cppbuiltin.c (c_cpp_builtins_optimize_pragma): Update names of | |
678 | cl_optimization members. | |
679 | * c-opts.c (warning_as_error_callback, c_common_handle_option, | |
680 | sanitize_cpp_opts, finish_options): Update names of cpp_options | |
681 | members. | |
682 | ||
b27e241e | 683 | 2010-09-29 Nicola Pero <nicola.pero@meta-innovation.com> |
684 | ||
685 | * c-common.h (OBJC_IS_CXX_KEYWORD): New macro. Updated comments. | |
686 | (objc_is_reserved_word): Removed. | |
687 | * c-common.c: Updated comments. | |
688 | * c-lex.c (c_lex_with_flags): Use OBJC_IS_CXX_KEYWORD instead of | |
689 | objc_is_reserved_word. | |
690 | * stub-objc.c (objc_is_reserved_word): Removed. | |
691 | ||
03fc2271 | 692 | 2010-09-28 Iain Sandoe <iains@gcc.gnu.org> |
693 | ||
694 | * c-common.h (objc_add_method_declaration): Adjust prototype to | |
695 | include attributes. | |
696 | (objc_start_method_definition): Likewise. | |
697 | (objc_build_keyword_decl): Likewise. | |
698 | * stub-objc.c:(objc_add_method_declaration): Handle attributes. | |
699 | (objc_start_method_definition): Likewise. | |
700 | (objc_build_keyword_decl): Likewise. | |
701 | ||
a336eb4b | 702 | 2010-09-28 Iain Sandoe <iains@gcc.gnu.org> |
703 | ||
704 | * c-common.h (objc_start_class_interface): Adjust prototype. | |
705 | (objc_start_category_interface): Likewise. | |
706 | (objc_start_protocol): Likewise. | |
707 | * stub-objc.c (objc_start_protocol): Adjust for extra argument. | |
708 | (objc_start_class_interface): Likewise. | |
709 | (objc_start_category_interface): Likewise. | |
710 | ||
48b14f50 | 711 | 2010-09-27 Ian Lance Taylor <iant@google.com> |
712 | ||
713 | * c-common.c (c_common_attribute_table): Add no_split_stack. | |
714 | (handle_no_split_stack_attribute): New static function. | |
715 | ||
4abfc532 | 716 | 2010-09-27 Nicola Pero <nicola.pero@meta-innovation.com> |
717 | ||
718 | Merge from 'apple/trunk' branch on FSF servers. | |
719 | ||
720 | 2005-12-15 Fariborz Jahanian <fjahanian@apple.com> | |
721 | ||
722 | Radar 4229905 | |
723 | * c-common.h (objc_have_common_type): New declaration. | |
724 | * stub-objc.c (objc_have_common_type): New stub. | |
725 | ||
726 | 2005-06-22 Ziemowit Laski <zlaski@apple.com> | |
727 | ||
728 | Radar 4154928 | |
729 | * c-common.h (objc_common_type): New prototype. | |
730 | * stub-objc.c (objc_common_type): New stub. | |
731 | ||
7bd95dfd | 732 | 2010-09-24 Jan Hubicka <jh@suse.cz> |
733 | ||
734 | * c-common.c (handle_leaf_attribute): New function. | |
735 | (struct attribute_spec c_common_att): Add leaf. | |
736 | ||
5789e05b | 737 | 2010-09-22 Joseph Myers <joseph@codesourcery.com> |
738 | ||
739 | * c.opt (-all-warnings, -ansi, -assert, -assert=, -comments, | |
740 | -comments-in-macros, -define-macro, -define-macro=, -dependencies, | |
741 | -dump, -dump=, -imacros, -imacros=, -include, -include=, | |
742 | -include-barrier, -include-directory, -include-directory=, | |
743 | -include-directory-after, -include-directory-after=, | |
744 | -include-prefix, -include-prefix=, -include-with-prefix, | |
745 | -include-with-prefix=, -include-with-prefix-after, | |
746 | -include-with-prefix-after=, -include-with-prefix-before, | |
747 | -include-with-prefix-before=, -no-integrated-cpp, | |
748 | -no-line-commands, -no-standard-includes, -no-warnings, -output, | |
749 | -output=, -pedantic, -pedantic-errors, -preprocess, | |
750 | -print-missing-file-dependencies, -trace-includes, -traditional, | |
751 | -traditional-cpp, -trigraphs, -undefine-macro, -undefine-macro=, | |
752 | -user-dependencies, -verbose, -write-dependencies, | |
753 | -write-user-dependencies, no-integrated-cpp, traditional): New. | |
754 | ||
e6fb54ba | 755 | 2010-09-21 Nicola Pero <nicola.pero@meta-innovation.com> |
756 | ||
757 | PR objc/23710 | |
9b60f3b0 | 758 | * c-common.h (objc_start_method_definition): Return bool instead |
759 | of void. | |
760 | * stub-objc.c (objc_start_method_definition): Return bool instead | |
761 | of void. | |
762 | ||
763 | 2010-09-21 Nicola Pero <nicola.pero@meta-innovation.com> | |
764 | ||
765 | PR objc/25965 | |
766 | * c-common.h (objc_get_interface_ivars): New declaration. | |
767 | * stub-objc.c (objc_get_interface_ivars): New stub. | |
e6fb54ba | 768 | |
e44b0a1f | 769 | 2010-09-15 Ian Lance Taylor <iant@google.com> |
770 | ||
771 | * c-common.c (parse_optimize_options): Do not capitalize warning | |
ebd7c4c1 | 772 | messages. Remove period at end of warning message. |
e44b0a1f | 773 | |
85c0a25c | 774 | 2010-09-09 Nathan Sidwell <nathan@codesourcery.com> |
775 | ||
776 | * c-common.c (handle_alias_ifunc_attribute): New, broken out of ... | |
777 | (handle_alias_attribute): ... here. | |
778 | (handle_ifunc_attribute): New. | |
779 | ||
5ba33bf4 | 780 | 2010-09-06 Mark Mitchell <mark@codesourcery.com> |
781 | ||
782 | * c-common.h (do_warn_double_promotion): Declare. | |
783 | * c-common.c (do_warn_double_promotion): Define. | |
784 | ||
c920faa3 | 785 | 2010-09-05 Mark Mitchell <mark@codesourcery.com> |
786 | ||
787 | * c.opt (Wdouble-promotion): New. | |
788 | ||
9604e070 | 789 | 2010-09-02 Joseph Myers <joseph@codesourcery.com> |
790 | ||
791 | * c.opt (falt-external-templates, fhuge-objects, fvtable-gc, | |
792 | fvtable-thunks, fxref): Mark no longer supported in help text. | |
793 | ||
3b0273a1 | 794 | 2010-09-02 Joseph Myers <joseph@codesourcery.com> |
795 | ||
796 | * c.opt (Wimport, fall-virtual, falt-external-templates, | |
797 | fdefault-inline, fenum-int-equiv, fexternal-templates, | |
798 | fguiding-decls, fhonor-std, fhuge-objects, flabels-ok, | |
799 | fname-mangling-version-, fnew-abi, fnonnull-objects, | |
800 | foptional-diags, fsquangle, fstrict-prototype, fthis-is-variable, | |
801 | fvtable-gc, fvtable-thunks, fxref): Mark with Ignore and Warn as | |
802 | applicable. | |
803 | (fhandle-exceptions): Mark with Alias and Warn. | |
804 | * c-opts.c (c_common_handle_option): Don't handle options marked | |
805 | as ignored. | |
806 | ||
67089c6b | 807 | 2010-09-02 Joseph Myers <joseph@codesourcery.com> |
808 | ||
809 | * c.opt (Wcomments, Werror-implicit-function-declaration, | |
810 | ftemplate-depth-, std=c89, std=c9x, std=gnu89, std=gnu9x, | |
811 | std=iso9899:1990, std=iso9899:1999, std=iso9899:199x): Mark as | |
812 | aliases. | |
813 | * c-common.c (option_codes): Use OPT_Wcomment instead of | |
814 | OPT_Wcomments. | |
815 | * c-opts.c (warning_as_error_callback, c_common_handle_option): | |
816 | Don't handle options marked as aliases. | |
817 | ||
2af087f2 | 818 | 2010-08-25 Richard Guenther <rguenther@suse.de> |
819 | ||
820 | * c-common.c (c_common_get_alias_set): Remove special | |
821 | handling for pointers. | |
822 | ||
48148244 | 823 | 2010-08-20 Nathan Froyd <froydnj@codesourcery.com> |
824 | ||
825 | * c-common.c: Use FOR_EACH_VEC_ELT. | |
826 | * c-gimplify.c: Likewise. | |
827 | * c-pragma.c: Likewise. | |
828 | ||
89c69892 | 829 | 2010-08-16 Joseph Myers <joseph@codesourcery.com> |
830 | ||
831 | * c.opt (MDX): Change back to MD. Mark NoDriverArg instead of | |
832 | RejectDriver. | |
833 | (MMDX): Change back to MMD. Mark NoDriverArg instead of | |
834 | RejectDriver. | |
835 | * c-opts.c (c_common_handle_option): Use OPT_MD and OPT_MMD | |
836 | instead of OPT_MDX and OPT_MMDX. | |
837 | ||
e28aa114 | 838 | 2010-08-16 Joseph Myers <joseph@codesourcery.com> |
839 | ||
840 | * c.opt (MDX, MMDX, lang-asm): Mark RejectDriver. | |
841 | ||
99b66d21 | 842 | 2010-08-12 Joseph Myers <joseph@codesourcery.com> |
843 | ||
844 | * c.opt (MD, MMD): Change to MDX and MMDX. | |
845 | * c-opts.c (c_common_handle_option): Use OPT_MMD and OPT_MMDX. | |
846 | ||
666f4bf0 | 847 | 2010-08-11 Joseph Myers <joseph@codesourcery.com> |
848 | ||
849 | * c-opts.c (c_common_handle_option): Call handle_generated_option | |
850 | instead of handle_option. | |
851 | ||
5ec815f6 | 852 | 2010-08-08 Nathan Froyd <froydnj@codesourcery.com> |
853 | ||
854 | * c-pragma.c (add_to_renaming_pragma_list): Fix call to VEC_safe_push. | |
855 | (maybe_apply_renaming_pragma): Delete unneeded declarations. | |
856 | ||
d13143cf | 857 | 2010-08-08 Nathan Froyd <froydnj@codesourcery.com> |
858 | ||
859 | * c-pragma.c (pending_redefinition): Declare. Declare a VEC of it. | |
860 | (pending_redefine_extname): Change type to a VEC. | |
861 | (add_to_renaming_pragma_list): Update for new type of | |
862 | pending_redefine_extname. | |
5ec815f6 | 863 | (maybe_apply_renaming_pragma): Likewise. |
d13143cf | 864 | |
2008c983 | 865 | 2010-08-04 Arnaud Charlet <charlet@adacore.com> |
866 | ||
867 | * c-ada-spec.c (dump_ada_template): Mark underlying instance type as | |
868 | visited. | |
869 | (dump_generic_ada_node): Code clean up. Use TREE_VISITED flag to | |
870 | decide whether a type has already been declared/seen. | |
871 | Do not go to the original type. | |
872 | (dump_nested_types): New parameter forward. | |
873 | Generate forward declaration if needed and mark type as visited. | |
874 | (print_ada_declaration): Call dump_nested_types if not already done. | |
875 | Mark types as visited. | |
876 | ||
9b091a73 | 877 | 2010-08-03 Joseph Myers <joseph@codesourcery.com> |
878 | ||
879 | * c.opt (-print-pch-checksum): Remove option. | |
880 | * c-opts.c (c_common_handle_option): Don't handle | |
881 | OPT_print_pch_checksum. | |
882 | ||
b78351e5 | 883 | 2010-07-27 Joseph Myers <joseph@codesourcery.com> |
884 | ||
885 | * c-common.h (c_common_handle_option): Update prototype and return | |
886 | value type. | |
887 | * c-opts.c (c_common_handle_option): Update prototype and return | |
888 | value type. Update calls to handle_option and | |
889 | enable_warning_as_error. | |
890 | ||
34416a90 | 891 | 2010-07-27 Jakub Jelinek <jakub@redhat.com> |
892 | ||
893 | PR c/45079 | |
894 | * c-pretty-print.c (pp_c_expression): Handle C_MAYBE_CONST_EXPR. | |
895 | ||
fecf9011 | 896 | 2010-07-27 Joseph Myers <joseph@codesourcery.com> |
897 | ||
898 | * c-common.h (c_common_missing_argument): Remove. | |
899 | * c-opts.c (c_common_missing_argument): Remove. | |
900 | * c.opt (A, D, F, I, MD, MMD, MQ, MT, U, fconstant-string-class=, | |
901 | idirafter, imacros, include, isysroot, isystem, iquote): Add | |
902 | MissingArgError. | |
903 | * c-objc-common.h (LANG_HOOKS_MISSING_ARGUMENT): Remove. | |
904 | ||
e88d34f6 | 905 | 2010-07-27 Joseph Myers <joseph@codesourcery.com> |
906 | ||
907 | * c-common.h (c_common_option_lang_mask, | |
908 | c_common_initialize_diagnostics, c_common_complain_wrong_lang_p): | |
909 | New. | |
910 | (c_common_init_options): Update prototype. | |
911 | * c-opts.c (c_common_option_lang_mask): New. | |
912 | (c_common_initialize_diagnostics): Split out of | |
913 | c_common_init_options. | |
914 | (accept_all_c_family_options, c_common_complain_wrong_lang_p): | |
915 | New. | |
916 | (c_common_init_options): Update prototype. Use decoded options in | |
917 | search for -lang-asm. | |
918 | ||
1767a056 | 919 | 2010-07-15 Nathan Froyd <froydnj@codesourcery.com> |
920 | ||
921 | * c-common.c: Carefully replace TREE_CHAIN with DECL_CHAIN. | |
922 | * c-format.c: Likewise. | |
923 | ||
0b205f4c | 924 | 2010-07-08 Manuel López-Ibáñez <manu@gcc.gnu.org> |
925 | ||
926 | * c-common.h: Include diagnostic-core.h. Error if already | |
927 | included. | |
928 | * c-semantics.c: Do not define GCC_DIAG_STYLE here. | |
929 | ||
1c58e3f1 | 930 | 2010-07-03 Manuel López-Ibáñez <manu@gcc.gnu.org> |
931 | ||
932 | * c-family/c-common.c (IN_GCC_FRONTEND): Do not undef. | |
933 | Do not include expr.h | |
934 | (vector_mode_valid_p): Move here. | |
935 | ||
33cc157c | 936 | 2010-06-21 DJ Delorie <dj@redhat.com> |
937 | ||
938 | * c-pragma.c (handle_pragma_diagnostic): Add push/pop, | |
939 | allow these pragmas anywhere. | |
940 | ||
941 | 2010-06-14 Jakub Jelinek <jakub@redhat.com> | |
942 | ||
943 | PR bootstrap/44509 | |
944 | * c-cppbuiltin.c: Include gt-c-family-c-cppbuiltin.h. | |
945 | (lazy_hex_fp_values, lazy_hex_fp_value_count): Add GTY(()) markers. | |
946 | (lazy_hex_fp_value, builtin_define_with_hex_fp_value): Use | |
947 | ggc_strdup instead of xstrdup. | |
948 | ||
949 | 2010-06-10 Jakub Jelinek <jakub@redhat.com> | |
950 | ||
951 | * c-cppbuiltin.c: Include cpp-id-data.h. | |
952 | (lazy_hex_fp_values, lazy_hex_fp_value_count): New variables. | |
953 | (lazy_hex_fp_value): New function. | |
954 | (builtin_define_with_hex_fp_value): Provide definitions lazily. | |
955 | ||
9b40bfbf | 956 | 2010-06-30 Manuel López-Ibáñez <manu@gcc.gnu.org> |
957 | ||
958 | * c-gimplify.c: Do not include tree-flow.h | |
959 | ||
202d6e5f | 960 | 2010-06-29 Joern Rennecke <joern.rennecke@embecosm.com> |
961 | ||
962 | PR other/44034 | |
963 | * c-common.c: Rename targetm member: | |
964 | targetm.enum_va_list -> targetm.enum_va_list_p | |
965 | ||
d3237426 | 966 | 2010-06-28 Anatoly Sokolov <aesok@post.ru> |
967 | ||
968 | * c-common.c (shorten_compare): Adjust call to force_fit_type_double. | |
969 | ||
596981c8 | 970 | 2010-06-28 Steven Bosscher <steven@gcc.gnu.org> |
971 | ||
972 | * c-cppbuiltin.c: Do not include except.h. | |
973 | ||
b9bdfa0b | 974 | 2010-06-24 Andi Kleen <ak@linux.intel.com> |
975 | ||
976 | * c-common.c (warn_for_omitted_condop): New. | |
977 | * c-common.h (warn_for_omitted_condop): Add prototype. | |
978 | ||
55ad092d | 979 | 2010-06-21 Joseph Myers <joseph@codesourcery.com> |
980 | ||
981 | * c.opt (lang-objc): Remove. | |
982 | * c-opts.c (c_common_handle_option): Don't handle OPT_lang_objc. | |
983 | ||
9e7c2572 | 984 | 2010-06-21 Joern Rennecke <joern.rennecke@embecosm.com> |
985 | ||
986 | * c-opts.c: Include "tm_p.h". | |
987 | ||
615ef0bb | 988 | 2010-06-20 Joseph Myers <joseph@codesourcery.com> |
989 | ||
990 | * c-common.c (parse_optimize_options): Update call to | |
991 | decode_options. | |
992 | ||
aef48c9a | 993 | 2010-06-18 Nathan Froyd <froydnj@codesourcery.com> |
994 | ||
995 | * c-common.c (record_types_used_by_current_var_decl): Adjust for | |
996 | new type of types_used_by_cur_var_decl. | |
997 | ||
d74003b4 | 998 | 2010-06-17 Joern Rennecke <joern.rennecke@embecosm.com> |
999 | ||
1000 | PR bootstrap/44512 | |
1001 | * c-cppbuiltin.c (builtin_define_with_hex_fp_value): Add cast | |
1002 | for C++ standard compliance. | |
1003 | ||
1194d077 | 1004 | 2010-06-16 Jason Merrill <jason@redhat.com> |
1005 | ||
1006 | * c.opt: Add -Wnoexcept. | |
1007 | ||
d473d901 | 1008 | 2010-06-16 Richard Guenther <rguenther@suse.de> |
1009 | ||
1010 | PR c/44555 | |
1011 | * c-common.c (c_common_truthvalue_conversion): Remove | |
1012 | premature and wrong optimization concering ADDR_EXPRs. | |
1013 | ||
b62dbfd3 | 1014 | 2010-06-15 Arnaud Charlet <charlet@adacore.com> |
1015 | ||
1016 | * c-ada-spec.c (dump_sloc): Remove column info. | |
1017 | (is_simple_enum): New function. | |
1018 | (dump_generic_ada_node, print_ada_declaration): Map C enum types to Ada | |
1019 | enum types when relevant. | |
1020 | ||
200dd99c | 1021 | 2010-06-11 Manuel López-Ibáñez <manu@gcc.gnu.org> |
1022 | ||
1023 | * c-common.c (conversion_warning): Warn at expression | |
1024 | location. | |
1025 | ||
abf6a617 | 1026 | 2010-06-10 Joseph Myers <joseph@codesourcery.com> |
1027 | ||
1028 | * c-opts.c (c_common_handle_option): Don't handle | |
1029 | OPT_fshow_column. | |
1030 | ||
ba72912a | 1031 | 2010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com> |
1032 | ||
1033 | * c-pragma.c (push_alignment): Use typed GC allocation. | |
1034 | (handle_pragma_push_options): Likewise. | |
1035 | ||
1036 | * c-common.c (parse_optimize_options): Likewise. | |
1037 | ||
1038 | * c-common.h (struct sorted_fields_type): Add variable_size GTY | |
1039 | option. | |
1040 | ||
4aafe913 | 1041 | 2010-06-07 Joseph Myers <joseph@codesourcery.com> |
1042 | ||
1043 | * c-common.c (flag_preprocess_only, flag_undef, flag_no_builtin, | |
1044 | flag_no_nonansi_builtin, flag_short_double, flag_short_wchar, | |
1045 | flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm, | |
1046 | flag_signed_bitfields, warn_strict_null_sentinel, | |
1047 | flag_nil_receivers, flag_zero_link, flag_replace_objc_classes, | |
1048 | flag_gen_declaration, flag_no_gnu_keywords, | |
1049 | flag_implement_inlines, flag_implicit_templates, | |
1050 | flag_implicit_inline_templates, flag_optional_diags, | |
1051 | flag_elide_constructors, flag_default_inline, flag_rtti, | |
1052 | flag_conserve_space, flag_access_control, flag_check_new, | |
1053 | flag_new_for_scope, flag_weak, flag_working_directory, | |
1054 | flag_use_cxa_atexit, flag_use_cxa_get_exception_ptr, | |
1055 | flag_enforce_eh_specs, flag_threadsafe_statics, | |
1056 | flag_pretty_templates): Remove. | |
1057 | * c-common.h (flag_preprocess_only, flag_nil_receivers, | |
1058 | flag_objc_exceptions, flag_objc_sjlj_exceptions, flag_zero_link, | |
1059 | flag_replace_objc_classes, flag_undef, flag_no_builtin, | |
1060 | flag_no_nonansi_builtin, flag_short_double, flag_short_wchar, | |
1061 | flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm, | |
1062 | flag_const_strings, flag_signed_bitfields, flag_gen_declaration, | |
1063 | flag_no_gnu_keywords, flag_implement_inlines, | |
1064 | flag_implicit_templates, flag_implicit_inline_templates, | |
1065 | flag_optional_diags, flag_elide_constructors, flag_default_inline, | |
1066 | flag_rtti, flag_conserve_space, flag_access_control, | |
1067 | flag_check_new, flag_new_for_scope, flag_weak, | |
1068 | flag_working_directory, flag_use_cxa_atexit, | |
1069 | flag_use_cxa_get_exception_ptr, flag_enforce_eh_specs, | |
1070 | flag_threadsafe_statics, flag_pretty_templates, | |
1071 | warn_strict_null_sentinel): Remove. | |
1072 | * c.opt (E, Wstrict-null-sentinel, faccess-control, fasm, | |
1073 | fbuiltin, fcheck-new, fconserve-space, felide-constructors, | |
1074 | fenforce-eh-specs, ffor-scope, fgnu-keywords, fimplement-inlines, | |
1075 | fimplicit-inline-templates, fimplicit-templates, | |
1076 | flax-vector-conversions, fms-extensions, fnil-receivers, | |
1077 | fnonansi-builtins, fpretty-templates, freplace-objc-classes, | |
1078 | frtti, fshort-double, fshort-enums, fshort-wchar, | |
1079 | fsigned-bitfields, fsigned-char, fstats, fthreadsafe-statics, | |
1080 | funsigned-bitfields, funsigned-char, fuse-cxa-atexit, | |
1081 | fuse-cxa-get-exception-ptr, fweak, fworking-directory, fzero-link, | |
1082 | gen-decls, undef): Use Var. | |
1083 | (fdefault-inline, foptional-diags): Document as doing nothing. | |
1084 | * c-opts.c (c_common_handle_option): Remove cases for options now | |
1085 | using Var. Mark ignored options as such. | |
1086 | ||
7bedc3a0 | 1087 | 2010-06-05 Steven Bosscher <steven@gcc.gnu.org> |
1088 | ||
1089 | * c-common.c: Moved to here from parent directory. | |
1090 | * c-common.def: Likewise. | |
1091 | * c-common.h: Likewise. | |
1092 | * c-cppbuiltin.c: Likewise. | |
1093 | * c-dump.c: Likewise. | |
1094 | * c-format.c: Likewise. | |
1095 | * c-format.h : Likewise. | |
1096 | * c-gimplify.c: Likewise. | |
1097 | * c-lex.c: Likewise. | |
1098 | * c-omp.c: Likewise. | |
1099 | * c.opt: Likewise. | |
1100 | * c-opts.c: Likewise. | |
1101 | * c-pch.c: Likewise. | |
1102 | * c-ppoutput.c: Likewise. | |
1103 | * c-pragma.c: Likewise. | |
1104 | * c-pragma.h: Likewise. | |
1105 | * c-pretty-print.c: Likewise. | |
1106 | * c-pretty-print.h: Likewise. | |
1107 | * c-semantics.c: Likewise. | |
1108 | * stub-objc.c: Likewise. | |
1109 | ||
1110 | * c-common.c: Include gt-c-family-c-common.h. | |
1111 | * c-pragma.c: Include gt-c-family-c-pragma.h. | |
1112 | \f | |
dd045aee | 1113 | Copyright (C) 2010, 2011 Free Software Foundation, Inc. |
7bedc3a0 | 1114 | |
1115 | Copying and distribution of this file, with or without modification, | |
1116 | are permitted in any medium without royalty provided the copyright | |
1117 | notice and this notice are preserved. |