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