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