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