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