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