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