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