]>
Commit | Line | Data |
---|---|---|
d5c3d343 MP |
1 | 2014-07-01 Marek Polacek <polacek@redhat.com> |
2 | ||
3 | PR c/58286 | |
4 | * c.opt (Wincompatible-pointer-types): New option. | |
5 | ||
6e7ceb17 PC |
6 | 2014-06-30 Paolo Carlini <paolo.carlini@oracle.com> |
7 | ||
8 | PR c++/51400 | |
9 | * c-common.c (handle_noreturn_attribute, handle_const_attribute): | |
10 | Do not discard TYPE_QUALS of type. | |
11 | ||
da73100b JM |
12 | 2014-06-26 Jason Merrill <jason@redhat.com> |
13 | ||
14 | * c-common.h (enum cxx_dialect): Add cxx1z. | |
15 | * c.opt (std=c++1z, std=c++17, std=gnu++1z, std=gnu++17): New. | |
16 | * c-opts.c (c_common_handle_option, set_std_cxx1z): Handle it. | |
17 | ||
7b56b2f8 MP |
18 | 2014-06-23 Marek Polacek <polacek@redhat.com> |
19 | Andrew MacLeod <amacleod@redhat.com> | |
20 | ||
21 | PR c/61553 | |
22 | * c-common.c (get_atomic_generic_size): Don't segfault if the | |
23 | type doesn't have a size. | |
24 | ||
0e37a2f3 MP |
25 | 2014-06-20 Marek Polacek <polacek@redhat.com> |
26 | ||
27 | * c-gimplify.c: Include "c-ubsan.h" and "pointer-set.h". | |
28 | (ubsan_walk_array_refs_r): New function. | |
29 | (c_genericize): Instrument array bounds. | |
30 | * c-ubsan.c: Include "internal-fn.h". | |
31 | (ubsan_instrument_division): Mark instrumented arrays as having | |
32 | side effects. Adjust ubsan_type_descriptor call. | |
33 | (ubsan_instrument_shift): Likewise. | |
34 | (ubsan_instrument_vla): Adjust ubsan_type_descriptor call. | |
35 | (ubsan_instrument_bounds): New function. | |
36 | (ubsan_array_ref_instrumented_p): New function. | |
37 | (ubsan_maybe_instrument_array_ref): New function. | |
38 | * c-ubsan.h (ubsan_instrument_bounds): Declare. | |
39 | (ubsan_array_ref_instrumented_p): Declare. | |
40 | (ubsan_maybe_instrument_array_ref): Declare. | |
41 | ||
42 | 2014-06-20 Hale Wang <hale.wang@arm.com> | |
dd6fe7d4 HW |
43 | |
44 | PR lto/61123 | |
45 | * c.opt (fshort-enums): Add to LTO. | |
46 | * c.opt (fshort-wchar): Likewise. | |
47 | ||
5c3d09f7 MP |
48 | 2014-06-16 Marek Polacek <polacek@redhat.com> |
49 | ||
50 | PR c/60439 | |
51 | * c.opt (Wswitch-bool): Add Var. | |
52 | ||
9cf32741 JJ |
53 | 2014-06-12 Jakub Jelinek <jakub@redhat.com> |
54 | ||
55 | PR middle-end/61486 | |
56 | * c-omp.c (c_omp_split_clauses): Don't crash on firstprivate in | |
57 | #pragma omp target teams or | |
58 | #pragma omp {,target }teams distribute simd. | |
59 | ||
62984918 JM |
60 | 2014-06-12 Jason Merrill <jason@redhat.com> |
61 | ||
62 | * c.opt (Wabi=, fabi-compat-version): New. | |
63 | * c-opts.c (c_common_handle_option): Handle -Wabi=. | |
64 | (c_common_post_options): Handle flag_abi_compat_version default. | |
65 | Disallow -fabi-compat-version=1. | |
66 | * c-common.h (abi_version_crosses): New. | |
67 | ||
f961457f JH |
68 | 2014-06-11 Jan Hubicka <hubicka@ucw.cz> |
69 | ||
70 | * c-family/c-common.c (handle_section_attribute): Update handling for | |
71 | section names that are no longer trees. | |
72 | ||
92d28cbb JJ |
73 | 2014-06-10 Jakub Jelinek <jakub@redhat.com> |
74 | ||
75 | PR fortran/60928 | |
76 | * c-pragma.c (omp_pragmas_simd): Move PRAGMA_OMP_TASK... | |
77 | (omp_pragmas): ... back here. | |
78 | ||
742938c9 MP |
79 | 2014-06-05 Marek Polacek <polacek@redhat.com> |
80 | ||
81 | PR c/49706 | |
82 | * c-common.c (warn_logical_not_parentheses): New function. | |
83 | * c-common.h (warn_logical_not_parentheses): Declare. | |
84 | * c.opt (Wlogical-not-parentheses): New option. | |
85 | ||
9d548dfb MP |
86 | 2014-06-04 Marek Polacek <polacek@redhat.com> |
87 | ||
88 | PR c/30020 | |
89 | * c-common.c (check_case_bounds): Add location parameter. | |
90 | Use it. | |
91 | (c_add_case_label): Pass loc to check_case_bounds. | |
92 | ||
fedfecef MP |
93 | 2014-06-03 Marek Polacek <polacek@redhat.com> |
94 | ||
95 | PR c/60439 | |
96 | * c.opt (Wswitch-bool): New option. | |
97 | ||
f6a7cffc TS |
98 | 2014-05-22 Thomas Schwinge <thomas@codesourcery.com> |
99 | ||
040d18b6 TS |
100 | * c-common.h (c_omp_sharing_predetermined, c_omp_remap_decl): |
101 | Remove prototypes. | |
102 | (record_types_used_by_current_var_decl): Move prototype to where | |
103 | it belongs. | |
104 | ||
f6a7cffc TS |
105 | * c-common.c (DEF_FUNCTION_TYPE_0, DEF_FUNCTION_TYPE_6) |
106 | (DEF_FUNCTION_TYPE_7, DEF_FUNCTION_TYPE_8) | |
107 | (DEF_FUNCTION_TYPE_VAR_5): Cosmetic fixes. | |
108 | ||
632f2871 RS |
109 | 2014-05-21 Richard Sandiford <rsandifo@linux.vnet.ibm.com> |
110 | ||
111 | * c-common.h (CTI_VOID_ZERO, void_zero_node): Delete. | |
112 | * c-common.c (c_common_nodes_and_builtins): Don't initialize | |
113 | void_zero_node. | |
114 | * c-pretty-print.c (pp_c_void_constant): New function. | |
115 | (c_pretty_printer::constant, c_pretty_printer::primary_expression) | |
116 | (c_pretty_printer::expression): Handle VOID_CST. | |
117 | * cilk.c (extract_free_variables): Likewise. | |
118 | * c-ubsan.c (ubsan_instrument_division, ubsan_instrument_shift) | |
119 | (ubsan_instrument_vla): Use void_node instead of void_zero_node. | |
120 | ||
766090c2 TS |
121 | 2014-05-17 Trevor Saunders <tsaunders@mozilla.com> |
122 | ||
123 | * c-common.h (sorted_fields_type): Remove variable_size GTY attribute. | |
124 | * c-pragma.c (push_alignment): Adjust. | |
125 | (handle_pragma_push_options): Likewise. | |
126 | ||
661a0813 MP |
127 | 2014-05-09 Marek Polacek <polacek@redhat.com> |
128 | ||
129 | PR c/50459 | |
130 | * c-common.c (check_user_alignment): Return -1 if alignment is error | |
131 | node. | |
132 | (handle_aligned_attribute): Don't call default_conversion on | |
133 | FUNCTION_DECLs. | |
134 | (handle_vector_size_attribute): Likewise. | |
135 | (handle_tm_wrap_attribute): Handle case when wrap_decl is error node. | |
136 | (handle_sentinel_attribute): Call default_conversion and allow even | |
137 | integral types as an argument. | |
138 | ||
2793eeab MP |
139 | 2014-05-08 Marek Polacek <polacek@redhat.com> |
140 | ||
141 | PR c/61053 | |
142 | * c-common.c (min_align_of_type): New function factored out from... | |
143 | (c_sizeof_or_alignof_type): ...here. | |
144 | * c-common.h (min_align_of_type): Declare. | |
145 | ||
f827930a MP |
146 | 2014-05-08 Marek Polacek <polacek@redhat.com> |
147 | ||
148 | PR c/61077 | |
149 | * c-common.c (check_main_parameter_types): Warn for _Atomic-qualified | |
150 | parameter type of main. | |
151 | ||
ca49b74e DD |
152 | 2014-05-07 DJ Delorie <dj@redhat.com> |
153 | ||
154 | * c-cppbuiltin.c (print_bits_of_hex): New. | |
155 | (builtin_define_type_minmax): Print values using hex so as not to | |
156 | require a pre-computed list of string values. | |
157 | ||
1d60af08 KZ |
158 | 2014-05-06 Kenneth Zadeck <zadeck@naturalbridge.com> |
159 | Mike Stump <mikestump@comcast.net> | |
160 | Richard Sandiford <rdsandiford@googlemail.com> | |
161 | ||
162 | * c-ada-spec.c: Include wide-int.h. | |
163 | (ADA_HOST_WIDE_INT_PRINT_DOUBLE_HEX): Remove. | |
164 | (dump_generic_ada_node): Use wide-int interfaces. | |
165 | * c-common.c: Include wide-int-print.h. | |
166 | (shorten_compare): Use wide-int interfaces and tree_int_cst_lt. | |
167 | (pointer_int_sum): Use wide-int interfaces. | |
168 | (c_common_nodes_and_builtins): Use make_int_cst. | |
169 | (match_case_to_enum_1): Use tree_fits_uhwi_p and tree_fits_shwi_p. | |
170 | (handle_alloc_size_attribute): Use wide-int interfaces. | |
171 | (get_nonnull_operand): Likewise. | |
172 | * c-format.c (get_constant): Use tree_fits_uhwi_p. | |
173 | * c-lex.c: Include wide-int.h. | |
174 | (narrowest_unsigned_type): Take a widest_int rather than two | |
175 | HOST_WIDE_INTs. | |
176 | (narrowest_signed_type): Likewise. | |
177 | (interpret_integer): Update accordingly. Use wide-int interfaces. | |
178 | (lex_charconst): Use wide-int interfaces. | |
179 | * c-pretty-print.c: Include wide-int.h. | |
180 | (pp_c_integer_constant): Use wide-int interfaces. | |
181 | * cilk.c (declare_one_free_variable): Use tree_int_cst_lt instead of | |
182 | INT_CST_LT_UNSIGNED. | |
183 | ||
b15458be RB |
184 | 2014-05-06 Richard Biener <rguenther@suse.de> |
185 | ||
186 | * c-opts.c (c_common_post_options): For -freestanding, | |
187 | -fno-hosted and -fno-builtin disable pattern recognition | |
188 | if not enabled explicitely. | |
189 | ||
6577374e MP |
190 | 2014-05-02 Marek Polacek <polacek@redhat.com> |
191 | ||
192 | * c.opt (Wsizeof-pointer-memaccess): Describe option. | |
193 | ||
d00887e8 MP |
194 | 2014-05-01 Marek Polacek <polacek@redhat.com> |
195 | ||
196 | PR c/43245 | |
197 | * c.opt (Wdiscarded-qualifiers): Add. | |
198 | ||
f8ed5150 MP |
199 | 2014-04-30 Marek Polacek <polacek@redhat.com> |
200 | ||
201 | * c-ubsan.c (ubsan_instrument_division): Handle REAL_TYPEs. Perform | |
202 | INT_MIN / -1 sanitization only for integer types. | |
203 | ||
45484dcf MP |
204 | 2014-04-25 Marek Polacek <polacek@redhat.com> |
205 | ||
206 | PR c/18079 | |
207 | * c-common.c (handle_noinline_attribute): Warn if the attribute | |
208 | conflicts with always_inline attribute. | |
209 | (handle_always_inline_attribute): Warn if the attribute conflicts | |
210 | with noinline attribute. | |
211 | ||
38e514c0 MP |
212 | 2014-04-25 Marek Polacek <polacek@redhat.com> |
213 | ||
214 | PR c/60156 | |
215 | * c-common.c (check_main_parameter_types): Warn about variadic main. | |
216 | ||
44875f92 MS |
217 | 2014-04-24 Mike Stump <mikestump@comcast.net> |
218 | ||
219 | * c.opt (Wshadow-ivar): Default to on. | |
220 | ||
dcaaa5a0 DP |
221 | 2014-04-24 Dimitris Papavasiliou <dpapavas@gmail.com> |
222 | ||
223 | * c.opt (Wshadow-ivar, flocal-ivars, fivar-visibility): Add. | |
224 | ||
c07d7c02 MP |
225 | 2014-04-23 Marek Polacek <polacek@redhat.com> |
226 | ||
227 | * c-common.c (handle_tm_wrap_attribute): Tweak error message. | |
228 | ||
1c33c9b7 JJ |
229 | 2014-04-22 Jakub Jelinek <jakub@redhat.com> |
230 | ||
231 | PR sanitizer/60275 | |
232 | * c-ubsan.c (ubsan_instrument_return): Return __builtin_trap () | |
233 | if flag_sanitize_undefined_trap_on_error. | |
234 | (ubsan_instrument_division, ubsan_instrument_shift, | |
235 | ubsan_instrument_vla): Likewise. Use __ubsan_handle_*_abort () | |
236 | if !flag_sanitize_recover. | |
237 | ||
793c625f MG |
238 | 2014-04-22 Marc Glisse <marc.glisse@inria.fr> |
239 | ||
240 | PR libstdc++/43622 | |
241 | * c-common.c (registered_builtin_types): Make non-static. | |
242 | * c-common.h (registered_builtin_types): Declare. | |
243 | ||
b0f1bf36 RB |
244 | 2014-04-14 Richard Biener <rguenther@suse.de> |
245 | Marc Glisse <marc.glisse@inria.fr> | |
246 | ||
247 | PR c/60819 | |
248 | * c-common.c (convert_vector_to_pointer_for_subscript): Properly | |
249 | apply may-alias the scalar pointer type when applicable. | |
250 | ||
3b07fa4a IZ |
251 | 2014-04-12 Igor Zamyatin <igor.zamyatin@intel.com> |
252 | ||
253 | PR middle-end/60467 | |
254 | * cilk.c (cilk_set_spawn_marker): Remove FUNCTION_DECL | |
255 | as possible argument for Cilk_spawn. | |
256 | ||
cbbd2b1c TB |
257 | 2014-04-11 Tobias Burnus <burnus@net-b.de> |
258 | ||
259 | PR c/60194 | |
260 | * c.opt (Wformat-signedness): Add | |
261 | * c-format.c(check_format_types): Use it. | |
262 | ||
6415bd5d JM |
263 | 2014-04-11 Jason Merrill <jason@redhat.com> |
264 | ||
265 | PR c++/57926 | |
266 | * c-common.c (sync_resolve_size, get_atomic_generic_size): Call | |
267 | default_conversion for an array argument. | |
268 | ||
6525783a MP |
269 | 2014-04-08 Marek Polacek <polacek@redhat.com> |
270 | ||
271 | PR sanitizer/60745 | |
272 | * c-ubsan.c: Include asan.h. | |
273 | (ubsan_instrument_return): Call initialize_sanitizer_builtins. | |
274 | ||
880a467b NS |
275 | 2014-04-03 Nathan Sidwell <nathan@codesourcery.com> |
276 | ||
277 | * c.opt (Wnon-virtual-dtor): Auto set when Weffc++. | |
278 | ||
7b59ff2d MP |
279 | 2014-04-02 Marek Polacek <polacek@redhat.com> |
280 | ||
281 | * c-common.h (c_expand_expr): Remove declaration. | |
282 | ||
8edbfaa6 JJ |
283 | 2014-03-28 Jakub Jelinek <jakub@redhat.com> |
284 | ||
285 | PR c++/60689 | |
286 | * c-common.c (add_atomic_size_parameter): When creating new | |
287 | params vector, push the size argument first. | |
288 | ||
07d72e1d JJ |
289 | 2014-03-26 Jakub Jelinek <jakub@redhat.com> |
290 | ||
291 | * c-ubsan.c (ubsan_instrument_division, ubsan_instrument_shift, | |
292 | ubsan_instrument_vla, ubsan_instrument_return): Adjust | |
293 | ubsan_create_data callers. | |
294 | ||
b35e0fa0 JJ |
295 | 2014-03-22 Jakub Jelinek <jakub@redhat.com> |
296 | ||
297 | PR debug/60603 | |
298 | * c-opts.c (c_finish_options): Restore cb_file_change call to | |
299 | <built-in>. | |
300 | ||
39a1ebb3 JJ |
301 | 2014-03-13 Jakub Jelinek <jakub@redhat.com> |
302 | ||
303 | PR middle-end/36282 | |
304 | * c-pragma.c (apply_pragma_weak): Only look at | |
305 | TREE_SYMBOL_REFERENCED (DECL_ASSEMBLER_NAME (decl)) if | |
306 | DECL_ASSEMBLER_NAME_SET_P (decl). | |
307 | (maybe_apply_pending_pragma_weaks): Exit early if | |
308 | vec_safe_is_empty (pending_weaks) rather than only when | |
309 | !pending_weaks. | |
310 | (maybe_apply_pragma_weak): Likewise. If !DECL_ASSEMBLER_NAME_SET_P, | |
311 | set assembler name back to NULL afterwards. | |
312 | ||
a07f6ed2 JM |
313 | 2014-03-11 Jason Merrill <jason@redhat.com> |
314 | ||
315 | * c.opt: Add -std=gnu++14. | |
316 | ||
75b107f5 IB |
317 | 2014-03-11 Ian Bolton <ian.bolton@arm.com> |
318 | ||
319 | * c-opts.c (c_common_post_options): Don't override | |
320 | -ffp-contract=fast if unsafe-math-optimizations is on. | |
321 | ||
f42c637e PM |
322 | 2014-03-08 Paulo Matos <paulo@matos-sorge.com> |
323 | ||
324 | * c.opt: Enable LTO FE for fshort-double. | |
325 | ||
70e24808 JM |
326 | 2014-03-07 Jason Merrill <jason@redhat.com> |
327 | ||
328 | * c.opt: Add -std=c++14. | |
329 | ||
3af9c5e9 MP |
330 | 2014-03-06 Marek Polacek <polacek@redhat.com> |
331 | ||
332 | PR c/60197 | |
333 | * cilk.c (contains_cilk_spawn_stmt): New function. | |
334 | (contains_cilk_spawn_stmt_walker): Likewise. | |
335 | (recognize_spawn): Give error on invalid use of _Cilk_spawn. | |
336 | * c-common.h (contains_cilk_spawn_stmt): Add declaration. | |
337 | ||
b3bdf019 JJ |
338 | 2014-03-03 Jakub Jelinek <jakub@redhat.com> |
339 | ||
340 | * c-pragma.c (c_pp_lookup_pragma): Handle PRAGMA_CILK_SIMD. | |
341 | (init_pragma): Call cpp_register_deferred_pragma for PRAGMA_CILK_SIMD | |
342 | even when flag_preprocess_only. | |
343 | ||
ca7e759d JM |
344 | 2014-02-26 Jason Merrill <jason@redhat.com> |
345 | ||
346 | PR c++/59231 | |
347 | PR c++/11586 | |
348 | * c-common.c (shorten_compare): Don't check | |
349 | c_inhibit_evaluation_warnings. | |
350 | ||
28e41874 JJ |
351 | 2014-02-19 Jakub Jelinek <jakub@redhat.com> |
352 | ||
cca615af JJ |
353 | PR c/37743 |
354 | * c-common.c (c_common_nodes_and_builtins): When initializing | |
355 | c_uint{16,32,64}_type_node, also set corresponding | |
356 | uint{16,32,64}_type_node to the same value. | |
357 | ||
28e41874 JJ |
358 | PR c++/60267 |
359 | * c-pragma.c (init_pragma): Don't call cpp_register_deferred_pragma | |
360 | for PRAGMA_IVDEP if flag_preprocess_only. | |
361 | ||
c2bf53a1 JJ |
362 | 2014-02-12 Jakub Jelinek <jakub@redhat.com> |
363 | ||
364 | PR c/60101 | |
365 | * c-common.c (merge_tlist): If copy is true, call new_tlist, | |
366 | if false, add ADD itself, rather than vice versa. | |
367 | (verify_tree): For COND_EXPR, don't call merge_tlist with non-zero | |
368 | copy. For SAVE_EXPR, only call merge_tlist once. | |
369 | ||
8fcbce72 JJ |
370 | 2014-02-08 Jakub Jelinek <jakub@redhat.com> |
371 | ||
372 | PR middle-end/60092 | |
373 | * c-common.c (handle_alloc_size_attribute): Use tree_fits_uhwi_p | |
374 | and tree_to_uhwi. | |
375 | (handle_alloc_align_attribute, handle_assume_aligned_attribute): New | |
376 | functions. | |
377 | (c_common_attribute_table): Add alloc_align and assume_aligned | |
378 | attributes. | |
379 | ||
0a756a3f MP |
380 | 2014-02-06 Marek Polacek <polacek@redhat.com> |
381 | ||
382 | PR c/60087 | |
383 | * c-common.c (warn_for_sign_compare): Call warning_at with location | |
384 | instead of warning. | |
385 | ||
7ec4847a MP |
386 | 2014-02-05 Marek Polacek <polacek@redhat.com> |
387 | ||
388 | PR c/53123 | |
389 | * c-omp.c (c_finish_omp_atomic): Remove unreachable return | |
390 | statement. | |
391 | ||
66f20604 MP |
392 | 2014-02-04 Marek Polacek <polacek@redhat.com> |
393 | ||
394 | PR c/60036 | |
395 | * c-common.c (conversion_warning): Unwrap C_MAYBE_CONST_EXPR and/or | |
396 | SAVE_EXPR. | |
397 | ||
5d77fb19 MG |
398 | 2014-02-03 Marc Glisse <marc.glisse@inria.fr> |
399 | ||
400 | PR c++/53017 | |
401 | PR c++/59211 | |
402 | * c-common.c (handle_aligned_attribute, handle_alloc_size_attribute, | |
403 | handle_vector_size_attribute, handle_nonnull_attribute): Call | |
404 | default_conversion on the attribute argument. | |
405 | (handle_nonnull_attribute): Increment the argument number. | |
406 | ||
81e5eca8 MP |
407 | 2014-01-31 Marek Polacek <polacek@redhat.com> |
408 | ||
409 | PR c/59963 | |
410 | * c-common.c (add_atomic_size_parameter): Pass vNULL to | |
411 | build_function_call_vec. | |
412 | (resolve_overloaded_builtin): Likewise. | |
413 | * c-common.h (build_function_call_vec): Adjust declaration. | |
414 | ||
68fca595 MP |
415 | 2014-01-30 Marek Polacek <polacek@redhat.com> |
416 | ||
417 | PR c/59940 | |
418 | * c-common.h (unsafe_conversion_p): Adjust declaration. | |
419 | (warnings_for_convert_and_check): Likewise. | |
420 | (convert_and_check): Likewise. | |
421 | * c-common.c (unsafe_conversion_p): Add location parameter. Call | |
422 | expansion_point_location_if_in_system_header on it. | |
423 | (warnings_for_convert_and_check): Add location parameter. Call | |
424 | expansion_point_location_if_in_system_header on it. Use it. | |
425 | (convert_and_check): Add location parameter. Use it. | |
426 | (conversion_warning): Likewise. | |
427 | (c_add_case_label): Adjust convert_and_check calls. | |
428 | (scalar_to_vector): Adjust unsafe_conversion_p calls. | |
429 | ||
b72271b9 BI |
430 | 2014-01-24 Balaji V. Iyer <balaji.v.iyer@intel.com> |
431 | ||
432 | * c-common.c (c_define_builtins): Replaced flag_enable_cilkplus with | |
433 | flag_cilkplus. | |
434 | * c-pragma.c (init_pragma): Likewise. | |
435 | * c.opt: Likewise. | |
436 | ||
393e8e8b MP |
437 | 2014-01-23 Marek Polacek <polacek@redhat.com> |
438 | ||
439 | PR c/59846 | |
440 | * c-common.c (shorten_compare): Add location_t parameter. | |
441 | * c-common.h (shorten_binary_op): Adjust declaration. | |
442 | ||
f04dda30 MP |
443 | 2014-01-23 Marek Polacek <polacek@redhat.com> |
444 | ||
445 | PR c/58346 | |
446 | * c-common.c (pointer_to_zero_sized_aggr_p): New function. | |
447 | * c-common.h: Declare it. | |
448 | ||
621955cb EB |
449 | 2014-01-20 Eric Botcazou <ebotcazou@adacore.com> |
450 | ||
451 | * c-ada-spec.h (dump_ada_specs): Revert prototype change. | |
452 | * c-ada-spec.c (dump_ads): Likewise. | |
453 | (cpp_check): Likewise. | |
454 | (dump_ada_specs): Likewise. | |
455 | ||
456 | 2014-01-15 Laurent Alfonsi <laurent.alfonsi@st.com> | |
67bf2939 LA |
457 | |
458 | PR c++/49718 | |
459 | * c-common.c (handle_no_instrument_function_attribute): Allow | |
460 | no_instrument_function attribute in class member | |
461 | definition/declaration. | |
462 | ||
241f845a JJ |
463 | 2014-01-15 Jakub Jelinek <jakub@redhat.com> |
464 | ||
465 | PR c/58943 | |
466 | * c-omp.c (c_finish_omp_atomic): Set in_late_binary_op around | |
467 | build_modify_expr with non-NOP_EXPR opcode. Handle return from it | |
468 | being COMPOUND_EXPR. | |
469 | (c_finish_omp_for): Handle incr being COMPOUND_EXPR with first | |
470 | operand a SAVE_EXPR and second MODIFY_EXPR. | |
471 | ||
e83b8e2e JJ |
472 | 2014-01-09 Jakub Jelinek <jakub@redhat.com> |
473 | ||
474 | PR target/58115 | |
475 | * c-pch.c (c_common_write_pch): Call | |
476 | prepare_target_option_nodes_for_pch. | |
477 | ||
23a5b65a RS |
478 | 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com> |
479 | ||
480 | Update copyright years | |
481 | ||
f9030485 RS |
482 | 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com> |
483 | ||
484 | * array-notation-common.c, c-cilkplus.c: Use the standard form for | |
485 | the copyright notice. | |
486 | ||
f2aa696b EB |
487 | 2013-12-28 Eric Botcazou <ebotcazou@adacore.com> |
488 | ||
489 | * c-ada-spec.c (print_constructor): New function. | |
490 | (print_destructor): Retrieve the origin of the destructor. | |
491 | (print_ada_declaration): Revamp handling of constructors/destructors. | |
492 | ||
1f26ac87 JM |
493 | 2013-12-23 Stuart Hastings <stuart@apple.com> |
494 | Bill Maddox <maddox@google.com> | |
495 | Jason Merrill <jason@redhat.com> | |
496 | ||
497 | * c.opt: Add -fdeclone-ctor-dtor. | |
498 | * c-opts.c (c_common_post_options): Default to on iff -Os. | |
499 | ||
41958c28 BI |
500 | 2013-12-18 Balaji V. Iyer <balaji.v.iyer@intel.com> |
501 | ||
502 | * c-common.c (c_common_attribute_table): Added "cilk simd function" | |
503 | attribute. | |
504 | * c-pragma.h (enum pragma_cilk_clause): Remove. | |
505 | (enum pragma_omp_clause): Added the following fields: | |
506 | PRAGMA_CILK_CLAUSE_NOMASK, PRAGMA_CILK_CLAUSE_MASK, | |
507 | PRAGMA_CILK_CLAUSE_VECTORLENGTH, PRAGMA_CILK_CLAUSE_NONE, | |
508 | PRAGMA_CILK_CLAUSE_LINEAR, PRAGMA_CILK_CLAUSE_PRIVATE, | |
509 | PRAGMA_CILK_CLAUSE_FIRSTPRIVATE, PRAGMA_CILK_CLAUSE_LASTPRIVATE, | |
510 | PRAGMA_CILK_CLAUSE_UNIFORM. | |
511 | ||
512 | ||
12893402 BI |
513 | 2013-12-11 Balaji V. Iyer <balaji.v.iyer@intel.com> |
514 | ||
515 | * cilk.c (cilk_outline): Made this function non-static. | |
516 | (gimplify_cilk_spawn): Removed pre_p and post_p arguments. | |
517 | (create_cilk_wrapper): Added a new parameter: a function pointer. | |
518 | (c_install_body_w_frame_cleanup): Remove | |
519 | (extract_free_variables): Added VEC_INIT_EXPR and CONSTRUCTOR case. | |
520 | * c-common.h (cilk_outline): New prototype. | |
521 | (gimplify_cilk_spawn): Removed two parameters. | |
522 | (cilk_install_body_with_frame_cleanup): New prototype. | |
523 | * c-gimplify.c (c_gimplify_expr): Added MODIFY_EXPR, CALL_EXPR and | |
524 | CILK_SPAWN_STMT case. | |
525 | ||
085b42ed BS |
526 | 2013-12-11 Bernd Schmidt <bernds@codesourcery.com> |
527 | ||
2ce064c3 BS |
528 | * c-common.c (c_fully_fold_internal): Handle ADDR_SPACE_CONVERT_EXPR. |
529 | ||
085b42ed BS |
530 | * c-common.h (enum c_tree_index): Remove CTI_INT_ARRAY_TYPE. |
531 | (int_array_type_node): Remove. | |
532 | * c-common.c (c_common_nodes_and_builtins): Don't build it. | |
533 | ||
9e36c9ed MP |
534 | 2013-12-05 Marek Polacek <polacek@redhat.com> |
535 | ||
536 | PR c/52023 | |
537 | * c-common.c (c_sizeof_or_alignof_type): Move a declaration into | |
538 | [ADJUST_FIELD_ALIGN]. | |
539 | ||
296674db JM |
540 | 2013-12-04 Joseph Myers <joseph@codesourcery.com> |
541 | ||
542 | PR c/52023 | |
543 | * c-common.c (c_sizeof_or_alignof_type): Add parameter min_alignof | |
544 | and check field alignment if set. | |
545 | * c-common.h (c_sizeof_or_alignof_type): Update prototype. | |
546 | (c_sizeof, c_alignof): Update calls to c_sizeof_or_alignof_type. | |
547 | ||
31e071ae MP |
548 | 2013-12-04 Jakub Jelinek <jakub@redhat.com> |
549 | Marek Polacek <polacek@redhat.com> | |
550 | ||
551 | * c-gimplify.c (c_gimplify_expr): If doing the integer-overflow | |
552 | sanitization, call unsigned_type_for only when !TYPE_OVERFLOW_WRAPS. | |
553 | ||
d7947e19 L |
554 | 2013-11-29 H.J. Lu <hongjiu.lu@intel.com> |
555 | ||
556 | PR c/59309 | |
557 | * cilk.c (gimplify_cilk_spawn): Properly handle function without | |
558 | arguments. | |
559 | ||
fad7652e JJ |
560 | 2013-11-29 Jakub Jelinek <jakub@redhat.com> |
561 | ||
562 | PR c/59280 | |
563 | * c-common.c (get_priority): If TREE_VALUE (args) is IDENTIFIER_NODE, | |
564 | goto invalid. If it is error_mark_node, don't issue further | |
565 | diagnostics. | |
566 | ||
8b5e1202 SO |
567 | 2013-11-28 Sergey Ostanevich <sergos.gnu@gmail.com> |
568 | ||
569 | * c.opt (Wopenmp-simd): New. | |
570 | ||
0a508bb6 JJ |
571 | 2013-11-22 Jakub Jelinek <jakub@redhat.com> |
572 | ||
573 | * c-ubsan.h (ubsan_instrument_return): New prototype. | |
574 | * c-ubsan.c (ubsan_instrument_return): New function. | |
575 | ||
2fb9a547 AM |
576 | 2013-11-22 Andrew MacLeod <amacleod@redhat.com> |
577 | ||
578 | * c-common.c: Add required include files from gimple.h. | |
579 | * c-gimplify.c: Likewise | |
580 | * cilk.c: Likewise | |
581 | ||
8400e75e DM |
582 | 2013-11-22 David Malcolm <dmalcolm@redhat.com> |
583 | ||
584 | * c-common.c (unsafe_conversion_p): Remove use of | |
585 | EXPR_LOC_OR_HERE macro. | |
586 | (conversion_warning): Likewise. | |
587 | (warnings_for_convert_and_check): Likewise. | |
588 | (warn_for_collisions_1): Likewise. | |
589 | (shorten_compare): Likewise, and remove use of in_system_header | |
590 | macro, using the location from the former. | |
591 | * c-lex.c (dump_one_header): Remove use of input_filename macro. | |
592 | (cb_def_pragma): Remove use of in_system_header macro. | |
593 | (lex_string): Likewise. | |
594 | * c-pragma.c (handle_pragma_float_const_decimal64): Likewise. | |
595 | ||
eb1ce453 KZ |
596 | 2013-11-20 Kenneth Zadeck <zadeck@naturalbridge.com> |
597 | Mike Stump <mikestump@comcast.net> | |
598 | Richard Sandiford <rdsandiford@googlemail.com> | |
599 | ||
600 | * c-ada-spec.c (is_simple_enum): Use tree_to_shwi and tree_to_uhwi | |
601 | instead of TREE_INT_CST_LOW, in cases where there is a protecting | |
602 | tree_fits_shwi_p or tree_fits_uhwi_p. | |
603 | (dump_generic_ada_node): Likewise. | |
604 | * c-format.c (check_format_arg): Likewise. | |
605 | * c-pretty-print.c (pp_c_integer_constant): Likewise. | |
606 | ||
6b3b8c27 KZ |
607 | 2013-11-20 Kenneth Zadeck <zadeck@naturalbridge.com> |
608 | ||
609 | * c-common.c (check_function_arguments_recurse): Use tree_to_uhwi. | |
610 | ||
49b0aa18 JC |
611 | 2013-11-19 Joshua J Cogliati <jrincayc@yahoo.com> |
612 | ||
613 | PR c/53001 | |
614 | * c-common.c (unsafe_conversion_p): Make this function | |
615 | return an enumeration with more detail. | |
616 | (conversion_warning): Use the new return type of | |
617 | unsafe_conversion_p to separately warn either about conversions | |
618 | that lower floating point number precision or about the other | |
619 | kinds of conversions. | |
620 | * c-common.h (enum conversion_safety): New enumeration. | |
621 | (unsafe_conversion_p): switching return type to | |
622 | conversion_safety enumeration. | |
623 | * c.opt: Adding new warning -Wfloat-conversion and | |
624 | enabling it with -Wconversion. | |
625 | ||
b826515a BS |
626 | 2013-11-19 Basile Starynkevitch <basile@starynkevitch.net> |
627 | ||
628 | * c-opts.c: Include plugin.h. | |
629 | (cb_file_change): Invoke plugin event PLUGIN_INCLUDE_FILE. | |
630 | ||
b9a55b13 MP |
631 | 2013-11-19 Marek Polacek <polacek@redhat.com> |
632 | ||
633 | * c-ubsan.c (ubsan_instrument_division): Adjust ubsan_create_data | |
634 | call. | |
635 | (ubsan_instrument_shift): Likewise. | |
636 | (ubsan_instrument_vla): Likewise. | |
637 | ||
7d362f6c RS |
638 | 2013-11-18 Richard Sandiford <rdsandiford@googlemail.com> |
639 | ||
640 | * c-common.c (convert_vector_to_pointer_for_subscript): Remove | |
641 | cast to unsigned type. | |
642 | ||
386b1f1f RS |
643 | 2013-11-18 Richard Sandiford <rdsandiford@googlemail.com> |
644 | ||
645 | * c-common.c (fold_offsetof_1): Use tree_to_uhwi rather than | |
646 | tree_low_cst. | |
647 | (complete_array_type): Update comment to refer to tree_to_[su]hwi | |
648 | rather than tree_low_cst. | |
649 | ||
ae7e9ddd RS |
650 | 2013-11-18 Richard Sandiford <rdsandiford@googlemail.com> |
651 | ||
652 | * c-common.c, c-cppbuiltin.c: Replace tree_low_cst (..., 1) with | |
653 | tree_to_uhwi throughout. | |
654 | ||
9439e9a1 RS |
655 | 2013-11-18 Richard Sandiford <rdsandiford@googlemail.com> |
656 | ||
657 | * c-common.c, c-format.c, c-omp.c, c-pretty-print.c: Replace | |
658 | tree_low_cst (..., 0) with tree_to_shwi throughout. | |
659 | ||
cc269bb6 RS |
660 | 2013-11-18 Richard Sandiford <rdsandiford@googlemail.com> |
661 | ||
662 | * c-ada-spec.c, c-common.c, c-pretty-print.c: Replace | |
663 | host_integerp (..., 1) with tree_fits_uhwi_p throughout. | |
664 | ||
9541ffee RS |
665 | 2013-11-18 Richard Sandiford <rdsandiford@googlemail.com> |
666 | ||
667 | * c-ada-spec.c, c-common.c, c-format.c, c-pretty-print.c: Replace | |
668 | host_integerp (..., 0) with tree_fits_shwi_p throughout. | |
669 | ||
c02065fc AH |
670 | 2013-11-15 Aldy Hernandez <aldyh@redhat.com> |
671 | ||
672 | * c-cilkplus.c: New file. | |
673 | * c-common.c (readonly_error): Add location argument. | |
674 | * c-common.h (readonly_error): Same. | |
675 | (c_finish_cilk_clauses): Protoize. | |
676 | (c_check_cilk_loop): Same. | |
677 | c-omp.c (c_finish_omp_for): Handle CILK_SIMD nodes. | |
678 | Do not fail on error_mark_node. | |
679 | Abstract increment canonicalization to here... | |
680 | (c_omp_for_incr_canonicalize_ptr): New. | |
681 | c-pragma.c (init_pragma): Register "simd" pragma. | |
682 | c-pragma.h (enum pragma_kind): Add PRAGMA_CILK_SIMD. | |
683 | (enum pragma_cilk_clause): New. | |
684 | ||
9cc65f15 RS |
685 | 2013-11-15 Richard Sandiford <rdsandiford@googlemail.com> |
686 | ||
687 | * c-pretty-print.c (pp_c_character_constant): Remove unnecessary | |
688 | wchar_type and host_integerp checks. | |
689 | ||
18f429e2 AM |
690 | 2013-11-14 Andrew MacLeod <amacleod@redhat.com> |
691 | ||
692 | * c-common.c: Likewise. | |
693 | * c-gimplify.c: Likewise. | |
694 | * cilk.c: Likewise. | |
695 | ||
d8a2d370 DN |
696 | 2013-11-14 Diego Novillo <dnovillo@google.com> |
697 | ||
698 | * c-common.c: Include fold-const.h. | |
699 | Include stor-layout.h. | |
700 | Include calls.h. | |
701 | Include stringpool.h. | |
702 | Include attribs.h. | |
703 | Include varasm.h. | |
704 | Include trans-mem.h. | |
705 | * c-cppbuiltin.c: Include stor-layout.h. | |
706 | Include stringpool.h. | |
707 | * c-format.c: Include stringpool.h. | |
708 | * c-lex.c: Include stringpool.h. | |
709 | Include stor-layout.h. | |
710 | * c-pragma.c: Include stringpool.h. | |
711 | Include attribs.h. | |
712 | Include varasm.h. | |
713 | Include gcc-symtab.h. | |
714 | * c-pretty-print.c: Include stor-layout.h. | |
715 | Include attribs.h. | |
716 | * cilk.c: Include stringpool.h. | |
717 | Include calls.h. | |
718 | ||
38b7bc7f JM |
719 | 2013-11-13 Joseph Myers <joseph@codesourcery.com> |
720 | ||
721 | * c-common.h (enum rid): Add RID_AUTO_TYPE. | |
722 | * c-common.c (c_common_reswords): Add __auto_type. | |
723 | (keyword_begins_type_specifier): Handle RID_AUTO_TYPE. | |
724 | ||
45b0be94 AM |
725 | 2013-11-12 Andrew MacLeod <amacleod@redhat.com> |
726 | ||
18f429e2 AM |
727 | * c-common.c: Include gimplify.h. |
728 | * c-gimplify.c: Likewise. | |
729 | * cilk.c: Likewise. | |
730 | * c-omp.c: Include gimple-expr.h instead of gimple.h. | |
731 | * c-ubsan.c: Don't include gimple.h. | |
45b0be94 | 732 | |
582d9b50 JM |
733 | 2013-11-12 Joseph Myers <joseph@codesourcery.com> |
734 | ||
735 | * c-common.c (c_common_reswords): Add _Thread_local. | |
736 | ||
6b28e197 JM |
737 | 2013-11-09 Joseph Myers <joseph@codesourcery.com> |
738 | ||
739 | * c-common.c (atomic_size_supported_p): New function. | |
740 | (resolve_overloaded_atomic_exchange) | |
741 | (resolve_overloaded_atomic_compare_exchange) | |
742 | (resolve_overloaded_atomic_load, resolve_overloaded_atomic_store): | |
743 | Use it instead of comparing size with a local list of sizes. | |
744 | ||
267bac10 JM |
745 | 2013-11-07 Andrew MacLeod <amacleod@redhat.com> |
746 | Joseph Myers <joseph@codesourcery.com> | |
747 | ||
748 | * c-common.h (enum rid): Add RID_ATOMIC. | |
749 | * c-common.c (c_common_reswords): Add _Atomic. | |
750 | (sync_resolve_params): Use TYPE_MAIN_VARIANT on pointer argument. | |
751 | (keyword_is_type_qualifier): Accept RID_ATOMIC. | |
752 | * c-format.c (check_format_types): Check for extra _Atomic | |
753 | qualifiers in format argument. | |
754 | * c-pretty-print.c (pp_c_cv_qualifiers): Handle atomic qualifier. | |
755 | (pp_c_type_qualifier_list): Mention _Atomic in comment. | |
756 | ||
5157b91e TB |
757 | 2013-11-06 Tobias Burnus <burnus@net-b.de> |
758 | ||
759 | * c-common.c (reason_option_codes_t): Add CPP_W_DATE_TIME. | |
760 | ||
6dbe0958 JM |
761 | 2013-11-06 Joseph Myers <joseph@codesourcery.com> |
762 | ||
763 | * c-opts.c (c_common_post_options): Set -ffp-contract=off in C | |
764 | standards modes. | |
765 | * c-cppbuiltin.c (cpp_iec_559_value): Consider -ffp-contract=fast | |
766 | to mean lack of IEEE 754 support. | |
767 | ||
e8ff5196 TB |
768 | 2013-11-05 Tobias Burnus <burnus@net-b.de> |
769 | ||
770 | * c.opt (-Wdate-time): New option | |
771 | * c-opts.c (sanitize_cpp_opts): Pass on to libcpp. | |
772 | ||
254a0760 JM |
773 | 2013-11-05 Joseph Myers <joseph@codesourcery.com> |
774 | ||
775 | * c-cppbuiltin.c (cpp_iec_559_value): Test | |
776 | flag_excess_precision_cmdline not flag_excess_precision. | |
777 | ||
6d7f7e0a TB |
778 | 2013-11-05 Tobias Burnus <burnus@net-b.de> |
779 | ||
780 | * c.opt (fopenmp-simd): New option. | |
781 | * c-pragma.c (omp_pragmas): Move pragmas which can contain simd to ... | |
782 | (omp_pragmas): ... this new struct. | |
783 | (c_pp_lookup_pragma): Also walk omp_pragmas. | |
784 | (init_pragma): Init pragmas for -fopenmp-simd. | |
785 | ||
55a7f02f MP |
786 | 2013-11-04 Marek Polacek <polacek@redhat.com> |
787 | ||
788 | PR c++/58979 | |
789 | * c-common.c (invalid_indirection_error): Handle RO_ARROW_STAR case. | |
790 | ||
9193fb05 JM |
791 | 2013-11-04 Joseph Myers <joseph@codesourcery.com> |
792 | ||
793 | * c-cppbuiltin.c (cpp_iec_559_value, cpp_iec_559_complex_value): | |
794 | New functions. | |
795 | (c_cpp_builtins): Define __GCC_IEC_559 and __GCC_IEC_559_COMPLEX. | |
796 | ||
94159ecf EB |
797 | 2013-11-04 Eric Botcazou <ebotcazou@adacore.com> |
798 | ||
799 | * c-ada-spec.h (cpp_operation): Add IS_TRIVIAL. | |
800 | (dump_ada_specs): Adjust prototype of second callback. | |
801 | * c-ada-spec.c (cpp_check): New global variable. | |
802 | (dump_ada_nodes): Remove cpp_check parameter and do not pass it down. | |
803 | (print_generic_ada_decl): Likewise. | |
804 | (has_static_fields): Change return type to bool and add guard. | |
805 | (has_nontrivial_methods): New predicate. | |
806 | (is_tagged_type): Change return type to bool. | |
807 | (separate_class_package): Call has_nontrivial_methods. | |
808 | (pp_ada_tree_identifier): Minor tweaks. | |
809 | (dump_ada_function_declaration): Adjust calls to dump_generic_ada_node. | |
810 | (dump_ada_array_domains): Likewise. | |
811 | (dump_ada_array_type): Likewise. | |
812 | (dump_template_types): Remove cpp_check parameter and do not pass it to | |
813 | dump_generic_ada_node. | |
814 | (dump_ada_template): Likewise. | |
815 | (dump_generic_ada_node): Remove cpp_check parameter and do not pass it | |
816 | recursively. | |
817 | (print_ada_methods): Change return type to integer. Remove cpp_check | |
818 | parameter and do not pass it down. | |
819 | (dump_nested_types): Remove cpp_check parameter and do not pass it to | |
820 | dump_generic_ada_node. | |
821 | (print_ada_declaration): Likewise. Test RECORD_OR_UNION_TYPE_P before | |
822 | accessing methods. | |
823 | (print_ada_struct_decl): Remove cpp_check parameter and do not pass it | |
824 | down. Use has_nontrivial_methods to recognize C++ classes. Use return | |
825 | value of print_ada_methods. | |
826 | (dump_ads): Rename cpp_check parameter to check and adjust prototype. | |
827 | Set cpp_check to it before invoking dump_ada_nodes. | |
828 | (dump_ada_specs): Likewise. | |
829 | ||
b906f4ca MP |
830 | 2013-11-03 Marek Polacek <polacek@redhat.com> |
831 | ||
832 | * c-ubsan.c: Don't include hash-table.h. | |
833 | (ubsan_instrument_vla): New function. | |
834 | * c-ubsan.h: Declare it. | |
835 | ||
5e20cdc9 DM |
836 | 2013-10-31 David Malcolm <dmalcolm@redhat.com> |
837 | ||
838 | Automated part of renaming of symtab_node_base to symtab_node. | |
839 | ||
840 | Patch autogenerated by rename_symtab.py from | |
841 | https://github.com/davidmalcolm/gcc-refactoring-scripts | |
842 | revision 58bb219cc090b2f4516a9297d868c245495ee622 | |
843 | ||
844 | * c-pragma.c (maybe_apply_pending_pragma_weaks): Rename | |
845 | symtab_node_base to symtab_node. | |
846 | ||
7057e645 ESR |
847 | 2013-10-31 Edward Smith-Rowland <3dw4rd@verizon.net> |
848 | ||
849 | Implement C++14 digit separators. | |
850 | * c-lex.c (interpret_float): Remove digit separators from scratch string | |
851 | before building real literal. | |
852 | ||
193ea7bc JJ |
853 | 2013-10-30 Jakub Jelinek <jakub@redhat.com> |
854 | ||
855 | * cilk.c (create_cilk_helper_decl): Use HOST_WIDE_INT_PRINT_DEC. | |
856 | ||
939b37da BI |
857 | 2013-10-29 Balaji V. Iyer <balaji.v.iyer@intel.com> |
858 | ||
859 | * c-common.c (c_common_reswords[]): Added _Cilk_spawn and _Cilk_sync | |
860 | fields. | |
861 | (c_define_builtins): Called cilk_init_builtins if Cilk Plus is | |
862 | enabled. | |
863 | * c-common.h (enum rid): Added RID_CILK_SPAWN and RID_CILK_SYNC. | |
864 | (insert_cilk_frame): New prototype. | |
865 | (cilk_init_builtins): Likewise. | |
866 | (gimplify_cilk_spawn): Likewise. | |
867 | (c_cilk_install_body_w_frame_cleanup): Likewise. | |
868 | (cilk_detect_spawn_and_unwrap): Likewise. | |
869 | (cilk_set_spawn_marker): Likewise. | |
870 | (build_cilk_sync): Likewise. | |
871 | (build_cilk_spawn): Likewise. | |
872 | * cilk.c: New file. | |
873 | ||
67348ccc DM |
874 | 2013-10-29 David Malcolm <dmalcolm@redhat.com> |
875 | ||
876 | Patch autogenerated by refactor_symtab.py from | |
877 | https://github.com/davidmalcolm/gcc-refactoring-scripts | |
878 | revision 58bb219cc090b2f4516a9297d868c245495ee622 | |
879 | ||
880 | * c-gimplify.c (c_genericize): Update for conversion of symtab types | |
881 | to a true class hierarchy. | |
882 | * c-pragma.c (maybe_apply_pending_pragma_weaks): Likewise. | |
883 | ||
d570872d RS |
884 | 2013-10-27 Richard Sandiford <rdsandiford@googlemail.com> |
885 | ||
886 | * c-lex.c (interpret_integer): Remove call to cpp_num_sign_extend. | |
887 | ||
98906124 JL |
888 | 2013-10-26 Jeff Law <law@redhat.com> |
889 | ||
890 | * c-family/c-common.c (c_define_builtins): Remove mudflap support. | |
891 | * c-family/c.opt: Ignore and warn for mudflap options. | |
892 | ||
d73749df | 893 | 2013-10-24 Tobias Burnus <burnus@net-b.de> |
8170608b TB |
894 | |
895 | PR other/33426 | |
896 | * c-pragma.c (init_pragma) Add #pragma ivdep handling. | |
897 | * c-pragma.h (pragma_kind): Add PRAGMA_IVDEP. | |
898 | ||
3f04b1bb JM |
899 | 2013-10-23 Jason Merrill <jason@redhat.com> |
900 | ||
901 | * c-format.c (gcc_cxxdiag_char_table): Add %X. | |
902 | ||
acf0174b JJ |
903 | 2013-10-11 Jakub Jelinek <jakub@redhat.com> |
904 | ||
acd15a28 JJ |
905 | * c-common.h (omp_clause_mask::operator !=): New method. |
906 | * c-omp.c (c_omp_split_clauses): Use if ((mask & something) != 0) | |
907 | instead of if (mask & something) tests everywhere. | |
908 | ||
acf0174b JJ |
909 | * c-cppbuiltin.c (c_cpp_builtins): Predefine _OPENMP to |
910 | 201307 instead of 201107. | |
911 | * c-common.c (DEF_FUNCTION_TYPE_8): Define. | |
912 | (c_common_attribute_table): Add "omp declare target" and | |
913 | "omp declare simd" attributes. | |
914 | (handle_omp_declare_target_attribute, | |
915 | handle_omp_declare_simd_attribute): New functions. | |
916 | * c-omp.c: Include c-pragma.h. | |
917 | (c_finish_omp_taskgroup): New function. | |
918 | (c_finish_omp_atomic): Add swapped argument, if true, | |
919 | build the operation first with rhs, lhs arguments and use NOP_EXPR | |
920 | build_modify_expr. | |
921 | (c_finish_omp_for): Add code argument, pass it down to make_code. | |
922 | (c_omp_split_clauses): New function. | |
923 | (c_split_parallel_clauses): Removed. | |
924 | (c_omp_declare_simd_clause_cmp, c_omp_declare_simd_clauses_to_numbers, | |
925 | c_omp_declare_simd_clauses_to_decls): New functions. | |
926 | * c-common.h (omp_clause_mask): New type. | |
927 | (OMP_CLAUSE_MASK_1): Define. | |
928 | (omp_clause_mask::omp_clause_mask, omp_clause_mask::operator &=, | |
929 | omp_clause_mask::operator |=, omp_clause_mask::operator ~, | |
930 | omp_clause_mask::operator |, omp_clause_mask::operator &, | |
931 | omp_clause_mask::operator <<, omp_clause_mask::operator >>, | |
932 | omp_clause_mask::operator ==): New methods. | |
933 | (enum c_omp_clause_split): New. | |
934 | (c_finish_omp_taskgroup): New prototype. | |
935 | (c_finish_omp_atomic): Add swapped argument. | |
936 | (c_finish_omp_for): Add code argument. | |
937 | (c_omp_split_clauses): New prototype. | |
938 | (c_split_parallel_clauses): Removed. | |
939 | (c_omp_declare_simd_clauses_to_numbers, | |
940 | c_omp_declare_simd_clauses_to_decls): New prototypes. | |
941 | * c-pragma.c (omp_pragmas): Add new OpenMP 4.0 constructs. | |
942 | * c-pragma.h (enum pragma_kind): Add PRAGMA_OMP_CANCEL, | |
943 | PRAGMA_OMP_CANCELLATION_POINT, PRAGMA_OMP_DECLARE_REDUCTION, | |
944 | PRAGMA_OMP_DISTRIBUTE, PRAGMA_OMP_END_DECLARE_TARGET, PRAGMA_OMP_SIMD, | |
945 | PRAGMA_OMP_TARGET, PRAGMA_OMP_TASKGROUP and PRAGMA_OMP_TEAMS. | |
946 | Remove PRAGMA_OMP_PARALLEL_FOR and PRAGMA_OMP_PARALLEL_SECTIONS. | |
947 | (enum pragma_omp_clause): Add PRAGMA_OMP_CLAUSE_ALIGNED, | |
948 | PRAGMA_OMP_CLAUSE_DEPEND, PRAGMA_OMP_CLAUSE_DEVICE, | |
949 | PRAGMA_OMP_CLAUSE_DIST_SCHEDULE, PRAGMA_OMP_CLAUSE_FOR, | |
950 | PRAGMA_OMP_CLAUSE_FROM, PRAGMA_OMP_CLAUSE_INBRANCH, | |
951 | PRAGMA_OMP_CLAUSE_LINEAR, PRAGMA_OMP_CLAUSE_MAP, | |
952 | PRAGMA_OMP_CLAUSE_NOTINBRANCH, PRAGMA_OMP_CLAUSE_NUM_TEAMS, | |
953 | PRAGMA_OMP_CLAUSE_PARALLEL, PRAGMA_OMP_CLAUSE_PROC_BIND, | |
954 | PRAGMA_OMP_CLAUSE_SAFELEN, PRAGMA_OMP_CLAUSE_SECTIONS, | |
955 | PRAGMA_OMP_CLAUSE_SIMDLEN, PRAGMA_OMP_CLAUSE_TASKGROUP, | |
956 | PRAGMA_OMP_CLAUSE_THREAD_LIMIT, PRAGMA_OMP_CLAUSE_TO and | |
957 | PRAGMA_OMP_CLAUSE_UNIFORM. | |
958 | ||
826cacfe MG |
959 | 2013-10-09 Marc Glisse <marc.glisse@inria.fr> |
960 | ||
961 | PR tree-optimization/20318 | |
962 | * c-common.c (handle_returns_nonnull_attribute): New function. | |
963 | (c_common_attribute_table): Add returns_nonnull. | |
964 | ||
2284b034 MG |
965 | 2013-10-03 Marc Glisse <marc.glisse@inria.fr> |
966 | ||
967 | PR c++/19476 | |
968 | * c.opt (fcheck-new): Move to common.opt. | |
969 | ||
b56e9788 MP |
970 | 2013-09-25 Marek Polacek <polacek@redhat.com> |
971 | Jakub Jelinek <jakub@redhat.com> | |
972 | ||
973 | PR sanitizer/58413 | |
974 | * c-ubsan.c (ubsan_instrument_shift): Don't instrument | |
975 | an expression if we can prove it is correct. | |
976 | (ubsan_instrument_division): Likewise. Remove unnecessary | |
977 | check. | |
978 | ||
ce6923c5 MP |
979 | 2013-09-18 Marek Polacek <polacek@redhat.com> |
980 | ||
981 | PR sanitizer/58411 | |
982 | * c-common.c (handle_no_sanitize_undefined_attribute): New function. | |
983 | Declare it. | |
984 | (struct attribute_spec c_common_att): Add no_sanitize_undefined. | |
985 | ||
fb5610fb IS |
986 | 2013-09-14 Iain Sandoe <iain@codesourcery.com> |
987 | ||
988 | PR target/48094 | |
989 | * c.opt (fgnu-runtime, fnext-runtime, fobjc-abi-version, | |
990 | fobjc-gc, freplace-objc-classes): Accept for LTO. | |
991 | ||
88b0e79e JC |
992 | 2013-09-13 Jacek Caban <jacek@codeweavers.com> |
993 | ||
994 | * c-target.def: New hook | |
995 | ||
c9b0866a PC |
996 | 2013-09-09 Paolo Carlini <paolo.carlini@oracle.com> |
997 | ||
998 | PR c++/43452 | |
999 | * c.opt (Wdelete-incomplete): Add. | |
1000 | ||
0af94e6f JR |
1001 | 2013-09-08 Joern Rennecke <joern.rennecke@embecosm.com> |
1002 | ||
1003 | * c-common.c (same_scalar_type_ignoring_signedness): Delete. | |
1004 | (vector_types_compatible_elements_p): New function. | |
1005 | * c-common.h: (same_scalar_type_ignoring_signedness): Delete | |
1006 | declaration. | |
1007 | (vector_types_compatible_elements_p): Declare. | |
1008 | ||
7c26172c GDR |
1009 | 2013-09-04 Gabriel Dos Reis <gdr@integrable-solutions.net> |
1010 | ||
1011 | * c-pretty-print.h (c_pretty_printer::simple_type_specifier): Now | |
1012 | a virtual member function. | |
1013 | (pp_simple_type_specifier): Remove. | |
1014 | (pp_c_type_specifier): Likewise. | |
1015 | * c-pretty-print.c (c_pretty_printer::simple_type_specifier): | |
1016 | Rename from pp_c_type_specifier. Adjust. | |
1017 | (c_pretty_printer::c_pretty_printer): Do not assign to | |
1018 | simple_type_specifier. | |
1019 | ||
20059c8b GDR |
1020 | 2013-09-03 Gabriel Dos Reis <gdr@integrable-solutions.net> |
1021 | ||
1022 | * c-pretty-print.h (c_pretty_printer::type_id): Now a virtual | |
1023 | member function. | |
1024 | (c_pretty_printer::storage_class_specifier): Likewise. | |
1025 | (c_pretty_printer::initializer): Likewise. | |
1026 | (pp_declaration): Remove. | |
1027 | (pp_declaration_specifiers): Likewise. | |
1028 | (pp_abstract_declarator): Likewise. | |
1029 | (pp_declarator): Likewise. | |
1030 | (pp_type_id): Likewise. | |
1031 | (pp_statement): Likewise. | |
1032 | (pp_constant): Likewise. | |
1033 | (pp_id_expression): Likewise. | |
1034 | (pp_primary_expression): Likewise. | |
1035 | (pp_unary_expression): Likewise. | |
1036 | (pp_multiplicative_expression): Likewise. | |
1037 | (pp_conditional_expression): Likewise. | |
1038 | (pp_assignment_expression): Likewise. | |
1039 | (pp_expression): Likewise. | |
1040 | (pp_c_type_id): Likewise. | |
1041 | (pp_c_storage_class_specifier): Likewise. | |
1042 | * c-pretty-print.c (pp_c_type_cast): Tidy. | |
1043 | (pp_c_pointer): Likewise. | |
1044 | (pp_c_type_specifier): Likewise. | |
1045 | (pp_c_parameter_type_list): Likewise. | |
1046 | (pp_c_function_definition): Likewise. | |
1047 | (pp_c_init_declarator): Likewise. | |
1048 | (pp_c_initializer_list): Likewise. | |
1049 | (pp_c_constructor_elts): Likewise. | |
1050 | (c_pretty_printer::direct_abstract_declarator): Likewise. | |
1051 | (c_pretty_printer::declaration_specifiers): Likewise. | |
1052 | (c_pretty_printer::primary_expression): Likewise. | |
1053 | (c_pretty_printer::postfix_expression): Likewise. | |
1054 | (c_pretty_printer::type_id): Rename from pp_c_type_id. | |
1055 | (c_pretty_printer::storage_class_specifier): Rename from | |
1056 | pp_c_storage_class_specifier. | |
1057 | (c_pretty_printer::initializer): Rename from pp_c_initializer. | |
1058 | (c_pretty_printer::c_pretty_printer): Do not assign to type_id, | |
1059 | storage_class_specifier, initializer, offset_list, flags. | |
1060 | ||
de5a5fa1 MP |
1061 | 2013-08-30 Marek Polacek <polacek@redhat.com> |
1062 | ||
1063 | * c-ubsan.c: New file. | |
1064 | * c-ubsan.h: New file. | |
1065 | ||
8f0e4d72 GDR |
1066 | 2013-08-30 Gabriel Dos Reis <gdr@integrable-solutions.net> |
1067 | ||
1068 | * c-pretty-print.h (c_pretty_printer::declaration): Now a virtual | |
1069 | member function. | |
1070 | (c_pretty_printer::declaration_specifiers): Likewise. | |
1071 | (c_pretty_printer::declarator): Likewise. | |
1072 | (c_pretty_printer::abstract_declarator): Likewise. | |
1073 | (c_pretty_printer::direct_abstract_declarator): Likewise. | |
1074 | (c_pretty_printer::direct_declarator): Likewise. | |
1075 | (c_pretty_printer::function_specifier): Likewise. | |
1076 | (pp_declaration): Adjust. | |
1077 | (pp_declaration_specifiers): Likewise. | |
1078 | (pp_abstract_declarator): Likewise. | |
1079 | (pp_direct_declarator): Likewise. | |
1080 | (pp_function_specifier): Likewise. | |
1081 | (pp_direct_abstract_declarator): Remove as unused. | |
1082 | (pp_c_declaration): Remove. | |
1083 | (pp_c_declaration_specifiers): Likewise. | |
1084 | (pp_c_declarator): Likewise. | |
1085 | (pp_c_direct_declarator): Likewise. | |
1086 | (pp_c_function_specifier): Likewise. | |
1087 | (pp_c_direct_abstract_declarator): Likewise. | |
1088 | * c-pretty-print.c (c_pretty_printer::abstract_declarator): Rename | |
1089 | from pp_c_abstract_declarator. Adjust. | |
1090 | (c_pretty_printer::direct_abstract_declarator): Rename from | |
1091 | pp_c_direct_abstract_declarator. Adjust. | |
1092 | (c_pretty_printer::function_specifier): Rename from | |
1093 | pp_c_function_specifier. Adjust. | |
1094 | (c_pretty_printer::declaration_specifiers): Rename from | |
1095 | pp_c_declaration_specifiers. Adjust. | |
1096 | (c_pretty_printer::direct_declarator): Rename from | |
1097 | pp_c_direct_declarator. Adjust. | |
1098 | (c_pretty_printer::declarator): Rename from pp_c_declarator. Adjust. | |
1099 | (c_pretty_printer::declaration): Rename from pp_c_declaration. Adjust. | |
1100 | (c_pretty_printer::c_pretty_printer): Do not assign to | |
1101 | declaration, declaration_specifiers, declarator, | |
1102 | direct_declarator, direct_abstract_declarator, function_specifier. | |
1103 | ||
00d34d3a GDR |
1104 | 2013-08-26 Gabriel Dos Reis <gdre@integrable-solutions.net> |
1105 | ||
1106 | * c-pretty-print.h (c_pretty_printer::unary_expression): Now a | |
1107 | virtual member function. | |
1108 | (c_pretty_printer::multiplicative_expression): Likewise. | |
1109 | (c_pretty_printer::conditional_expression): Likewise. | |
1110 | (c_pretty_printer::assignment_expression): Likewise. | |
1111 | (c_pretty_printer::expression): Likewise. | |
1112 | (pp_unary_expression): Adjust. | |
1113 | (pp_multiplicative_expression): Likewise. | |
1114 | (pp_assignment_expression): Likewise. | |
1115 | (pp_conditional_expression): Likewise. | |
1116 | (pp_expression): Likewise. | |
1117 | * c-pretty-print.c (c_pretty_printer::unary_expression): Rename | |
1118 | from pp_c_unary_expression. Adjust. | |
1119 | (c_pretty_printer::multiplicative_expression): Rename from | |
1120 | pp_c_multiplicative_expression. Adjust. | |
1121 | (c_pretty_printer::conditional_expression): Rename from | |
1122 | pp_c_conditional_expression. Adjust. | |
1123 | (c_pretty_printer::assignment_expression): Rename from | |
1124 | pp_c_assignment_expression. Adjust. | |
1125 | (c_pretty_printer::expression): Rename from pp_c_expression. Adjust. | |
1126 | (c_pretty_printer::c_pretty_printer): Do not assign to | |
1127 | unary_expression, multiplicative_expression, | |
1128 | conditional_expression, expression. | |
1129 | ||
fb22178f GDR |
1130 | 2013-08-25 Gabriel Dos Reis <gdr@integrable-solutions.net> |
1131 | ||
1132 | * c-pretty-print.h (c_pretty_printer::postfix_expression): Now a | |
1133 | virtual member function. | |
1134 | (pp_postfix_expression): Adjust. | |
1135 | (pp_c_postfix_expression): Remove. | |
1136 | * c-pretty-print.c (c_pretty_printer::postfix_expression): Rename | |
1137 | from pp_c_postfix_expression. Adjust. | |
1138 | (c_pretty_printer::c_pretty_printer): Do not assign to | |
1139 | postfix_expression. | |
1140 | ||
7ecc2600 GDR |
1141 | 2013-08-25 Gabriel Dos Reis <gdr@integrable-solutions.net> |
1142 | ||
1143 | * c-pretty-print.h (c_pretty_printer::primary_expression): Now a | |
1144 | virtua member function. | |
1145 | (pp_primary_expression): Adjust. | |
1146 | (pp_c_primary_expression): Remove. | |
1147 | * c-pretty-print.c (c_pretty_printer::primary_expression): Rename | |
1148 | from pp_c_primary_expression. Adjust. | |
1149 | (pp_c_initializer_list): Use pp_primary_expression. | |
1150 | (c_pretty_printer::c_pretty_printer): Do not assign to | |
1151 | primary_expression. | |
1152 | ||
0691175f GDR |
1153 | 2013-08-25 Gabriel Dos Reis <gdr@integrable-solutions.net> |
1154 | ||
1155 | * c-pretty-print.h (c_pretty_printer::translate_string): Declare. | |
1156 | * c-pretty-print.c (M_): Remove. | |
1157 | (c_pretty_printer::translate_string): Define. | |
1158 | (pp_c_type_specifier): Use it. | |
1159 | (pp_c_primary_expression): Likewise. | |
1160 | (pp_c_expression): Likewise. | |
1161 | ||
66dfe4c4 GDR |
1162 | 2013-08-24 Gabriel Dos Reis <gdr@integrable-solutions.net> |
1163 | ||
1164 | * c-pretty-print.h (c_pretty_printer::id_expression): Now a | |
1165 | virtual function. | |
1166 | (pp_c_id_expression): Remove. | |
1167 | (pp_id_expression): Adjust. | |
1168 | * c-pretty-print.c (c_pretty_printer::id_expression): Rename from | |
1169 | pp_c_id_expression. Adjust. | |
1170 | (pp_c_postfix_expression): Use pp_id_expression. | |
1171 | (c_pretty_printer::c_pretty_printer): Do not assign to id_expression. | |
1172 | ||
ca43e9d5 GDR |
1173 | 2013-08-24 Gabriel Dos Reis <gdr@integrable-solutions.net> |
1174 | ||
1175 | * c-pretty-print.h (c_pretty_printer::constant): Now a virtual | |
1176 | member function. | |
1177 | (pp_constant): Adjust. | |
1178 | (pp_c_constant): Remove. | |
1179 | * c-pretty-print.c (c_pretty_printer::constant): Rename from | |
1180 | pp_c_constant. Adjust. | |
1181 | (pp_c_constant) | |
1182 | (pp_c_primary_expression): Call pp_constant in lieu of pp_c_constant. | |
1183 | (c_pretty_printer::c_pretty_printer): Remove assignment to constant. | |
1184 | ||
da6ca2b5 GDR |
1185 | 2013-08-22 Gabriel Dos Reis <gdr@integrable-solutions.net> |
1186 | ||
1187 | * c-pretty-print.h (pp_c_pretty_printer_init): Remove. | |
1188 | (c_pretty_printer::c_pretty_printer): Declare. | |
1189 | * c-pretty-print.c (pretty_printer::c_pretty_printer): Rename from | |
1190 | c_pretty_printer_init. Adjust. | |
1191 | (print_c_tree): Do not call c_pretty_printer_init. | |
1192 | * c-ada-spec.c (dump_ads): Remove call to pp_construct. | |
1193 | ||
65a372f4 AC |
1194 | 2013-08-09 Arnaud Charlet <charlet@adacore.com> |
1195 | ||
1196 | * c-ada-spec.c (print_ada_declaration): Prevent accessing null asm name | |
1197 | ||
fd9b0f32 PC |
1198 | 2013-08-05 Paolo Carlini <paolo.carlini@oracle.com> |
1199 | ||
1200 | PR c++/58080 | |
1201 | * c-common.c (pointer_int_sum): Add bool parameter. | |
1202 | * c-common.h (pointer_int_sum): Adjust declaration. | |
1203 | ||
e0aec1e9 GDR |
1204 | 2013-08-05 Gabriel Dos Reis <gdr@integrable-solutions.net> |
1205 | ||
1206 | * c-pretty-print.c (print_c_tree): Simplify. Use non-static local | |
1207 | c_pretty_printer variable. | |
1208 | ||
b066401f GDR |
1209 | 2013-08-04 Gabriel Dos Reis <gdr@integrable-solutions.net> |
1210 | ||
1211 | * c-pretty-print.h (c_pretty_printer): Derive from pretty_printer. | |
1212 | (pp_base): Remove. | |
1213 | (pp_c_base): Likewise. Adjust users. | |
1214 | * c-pretty-print.c (pp_c_maybe_whitespace): Adjust. | |
1215 | (pp_c_whitespace): Do not call pp_base. | |
1216 | (pp_c_left_paren): Likewise. | |
1217 | (pp_c_right_paren): Likewise. | |
1218 | (pp_c_left_brace): Likewise. | |
1219 | (pp_c_right_brace): Likewise. | |
1220 | (pp_c_left_bracket): Likewise. | |
1221 | (pp_c_right_bracket): Likewise. | |
1222 | (pp_c_dot): Likewise. | |
1223 | (pp_c_ampersand): Likewise. | |
1224 | (pp_c_star): Likewise. | |
1225 | (pp_c_arrow): Likewise. | |
1226 | (pp_c_semicolon): Likewise. | |
1227 | (pp_c_complement): Likewise. | |
1228 | (pp_c_exclamation): Likewise. | |
1229 | (pp_c_direct_declarator): Likewise. | |
1230 | (pp_c_ws_string): Likewise. | |
1231 | (pp_c_identifier): Likewise. | |
1232 | (pp_c_statement): Likewise. | |
1233 | (print_c_tree): Likewise. | |
1234 | ||
65e5a578 ESR |
1235 | 2013-08-04 Ed Smith-Rowland <3dw4rd@verizon.net> |
1236 | ||
1237 | PR c++/58072 | |
1238 | * c-common.c (c_parse_error): Catch user-defined literal tokens and | |
1239 | provide useful error strings. | |
1240 | ||
137a1a27 GDR |
1241 | 2013-08-03 Gabriel Dos Reis <gdr@integrable-solutions.net> |
1242 | ||
1243 | * c-ada-spec.c (pp_ada_tree_identifier): Use specialized pretty | |
1244 | printer functions instead of pp_string or operators and punctuators. | |
1245 | (dump_generic_ada_node): Likewise. | |
1246 | * c-pretty-print.c (pp_c_type_specifier): Likewise. | |
1247 | (pp_c_relational_expression): Likewise. | |
1248 | (pp_c_logical_or_expression): Likewise. | |
1249 | ||
07838b13 GDR |
1250 | 2013-08-03 Gabriel Dos Reis <gdr@integrable-solutions.net> |
1251 | ||
1252 | * c-ada-spec.c (print_ada_macros): Use specialized pretty printer | |
1253 | functions instead of pp_character. | |
1254 | (pp_ada_tree_identifier): Likewise. | |
1255 | (dump_ada_double_name): Likewise. | |
1256 | (dump_ada_function_declaration): Likewise. | |
1257 | (dump_ada_array_domains): Likewise. | |
1258 | (dump_template_types): Likewise. | |
1259 | (dump_generic_ada_node): Likewise. | |
1260 | (print_ada_declaration): Likewise. | |
1261 | (print_ada_struct_decl): Likewise. | |
1262 | * c-pretty-print.c (pp_c_integer_constant): Likewise. | |
1263 | ||
433cc7b0 TT |
1264 | 2013-07-23 Tom Tromey <tromey@redhat.com> |
1265 | ||
1266 | * c-common.h (enum rid) <RID_GENERIC>: New constant. | |
1267 | * c-common.c (c_common_reswords): Add _Generic. | |
1268 | ||
688010ba OB |
1269 | 2013-07-21 OndÅ\99ej BÃlka <neleai@seznam.cz> |
1270 | ||
1271 | * c-common.c: Fix typos. | |
1272 | * c-common.h: Likewise. | |
1273 | ||
2a99e5e6 LL |
1274 | 2013-07-13 Lubos Lunak <l.lunak@suse.cz> |
1275 | ||
1276 | PR c++/55203 | |
1277 | * c-common.c (c_common_attribute_table): Add warn_unused. | |
1278 | (handle_warn_unused_attribute): New. | |
1279 | ||
c26302d5 JJ |
1280 | 2013-07-10 Jakub Jelinek <jakub@redhat.com> |
1281 | ||
1282 | * c-ppoutput.c (scan_translation_unit): Call account_for_newlines | |
1283 | for all CPP_TOKEN_FLD_STR tokens, not just CPP_COMMENT. | |
1284 | ||
dfeadaa0 PC |
1285 | 2013-07-10 Paolo Carlini <paolo.carlini@oracle.com> |
1286 | ||
1287 | PR c++/57869 | |
1288 | * c.opt: Add Wconditionally-supported. | |
1289 | ||
6a2fa4b2 GS |
1290 | 2013-07-08 Graham Stott <graham.stott@btinternet.com> |
1291 | ||
1292 | * c-family/array-notation-common.c (length_mismatch_in_expr_p): Delete | |
1293 | unused variables l_length and l_node. | |
1294 | ||
ecdbd01a | 1295 | 2013-07-04 Joern Rennecke <joern.rennecke@embecosm.com> |
40d3d530 JR |
1296 | |
1297 | PR c/57821 | |
1298 | * c-common.c (complete_array_type): Delay folding first index | |
1299 | like other indices. When folding, check for index overflow. | |
1300 | ||
bedc293e MG |
1301 | 2013-06-27 Marc Glisse <marc.glisse@inria.fr> |
1302 | ||
1303 | PR c++/57509 | |
1304 | * c-common.h (c_build_vec_perm_expr): New complain argument. | |
1305 | * c-common.c (c_build_vec_perm_expr): Likewise. | |
1306 | Use save_expr also in C++. | |
1307 | ||
604b2bfc GDR |
1308 | 2013-06-22 Gabriel Dos Reis <gdr@integrable-solutions.net> |
1309 | ||
1310 | * c-common.c (c_common_nodes_and_builtins): Use cxx11 in lieu of cxx0x. | |
1311 | * c-cppbuiltin.c (c_cpp_builtins): Likewise. | |
1312 | * c-opts.c (c_common_post_options): Likewise. | |
1313 | ||
dfeadaa0 | 1314 | 2013-06-21 Balaji V. Iyer <balaji.v.iyer@intel.com> |
713b46fa BI |
1315 | |
1316 | * array-notation-common.c (length_mismatch_in_expr): Changed the | |
1317 | parameter type's from a dynamic array to a vec_tree. Also removed | |
1318 | the size parameters. | |
1319 | * c-common.h (length_mismatch_in_expr_p): Fixed prototype's as per | |
1320 | the change above. | |
1321 | ||
2ce86d2e BI |
1322 | 2013-06-21 Balaji V. Iyer <balaji.v.iyer@intel.com> |
1323 | ||
1324 | * c-common.h (struct cilkplus_an_parts): New structure. | |
1325 | (struct cilkplus_an_loop_parts): Likewise. | |
1326 | (cilkplus_extract_an_triplets): New prototype. | |
1327 | (fix_sec_implicit_args): Likewise. | |
1328 | * array-notation-common.c (cilkplus_extract_an_triplets): New function. | |
1329 | (fix_sec_implicit_args): Likewise. | |
604b2bfc | 1330 | |
07a6825b BI |
1331 | 2013-06-20 Balaji V. Iyer <balaji.v.iyer@intel.com> |
1332 | ||
1333 | * array-notation-common.c (find_inv_trees): Removed an unwanted | |
1334 | typecasting. | |
1335 | * c-common.h (struct inv_list::additional_tcodes): Changed type from | |
1336 | enum rid to enum tree_code. | |
1337 | ||
08346abd JH |
1338 | 2013-06-11 Jan Hubicka <jh@suse.cz> |
1339 | ||
1340 | * c-common.c (handle_alias_ifunc_attribute): Do not set | |
1341 | DECL_EXTERNAL for weakref variables. | |
1342 | * c-pragma.c (handle_pragma_weak): Make sure aliases | |
1343 | are not declared as external. | |
1344 | ||
d60f1706 BI |
1345 | 2013-06-07 Balaji V. Iyer <balaji.v.iyer@intel.com> |
1346 | ||
1347 | * array-notation-common.c (length_mismatch_in_expr_p): Moved this | |
1348 | function from c/c-array-notation.c. | |
1349 | (is_cilkplus_reduce_builtin): Likewise. | |
1350 | (find_rank): Likewise. | |
1351 | (extract_array_notation_exprs): Likewise. | |
1352 | (replace_array_notations): Likewise. | |
1353 | (find_inv_trees): Likewise. | |
1354 | (replace_inv_trees): Likewise. | |
1355 | (contains_array_notation_expr): Likewise. | |
1356 | (find_correct_array_notation_type): Likewise. | |
1357 | * c-common.h (struct inv_list): Moved this struct from the file | |
1358 | c/c-array-notation.c and added a new field called additional tcodes. | |
1359 | (length_mismatch_in_expr_p): New prototype. | |
1360 | (is_cilkplus_reduce_builtin): Likewise. | |
1361 | (find_rank): Likewise. | |
1362 | (extract_array_notation_exprs): Likewise. | |
1363 | (replace_array_notation): Likewise. | |
1364 | (find_inv_trees): Likewise. | |
1365 | (replace_inv_trees): Likewise. | |
1366 | (find_correct_array_notation_type): Likewise. | |
dfeadaa0 | 1367 | |
36536d79 BI |
1368 | 2013-05-28 Balaji V. Iyer <balaji.v.iyer@intel.com> |
1369 | ||
1370 | * c-common.c (c_define_builtins): When cilkplus is enabled, the | |
1371 | function array_notation_init_builtins is called. | |
1372 | (c_common_init_ts): Added ARRAY_NOTATION_REF as typed. | |
1373 | * c-common.def (ARRAY_NOTATION_REF): New tree. | |
1374 | * c-common.h (build_array_notation_expr): New function declaration. | |
1375 | (build_array_notation_ref): Likewise. | |
1376 | (extract_sec_implicit_index_arg): New extern declaration. | |
1377 | (is_sec_implicit_index_fn): Likewise. | |
1378 | (ARRAY_NOTATION_CHECK): New define. | |
1379 | (ARRAY_NOTATION_ARRAY): Likewise. | |
1380 | (ARRAY_NOTATION_START): Likewise. | |
1381 | (ARRAY_NOTATION_LENGTH): Likewise. | |
1382 | (ARRAY_NOTATION_STRIDE): Likewise. | |
1383 | * c-pretty-print.c (pp_c_postifix_expression): Added a new case for | |
1384 | ARRAY_NOTATION_REF. | |
1385 | (pp_c_expression): Likewise. | |
1386 | * c.opt (flag_enable_cilkplus): New flag. | |
1387 | * array-notation-common.c: New file. | |
1388 | ||
f7716d57 JJ |
1389 | 2013-05-14 Jakub Jelinek <jakub@redhat.com> |
1390 | ||
1391 | PR c++/57274 | |
1392 | * c-common.c (verify_tree): Don't recurse into SIZEOF_EXPR. | |
1393 | ||
a5e0cd1d MG |
1394 | 2013-05-10 Marc Glisse <marc.glisse@inria.fr> |
1395 | ||
1396 | * c-common.c (vector_types_convertible_p): No TYPE_PRECISION for | |
1397 | vectors. | |
1398 | ||
f6bc1c4a HS |
1399 | 2013-05-07 Han Shen <shenhan@google.com> |
1400 | ||
1401 | * c-cppbuiltin.c (c_cpp_builtins): Added "__SSP_STRONG__=3". | |
1402 | ||
3f12f6e9 SKS |
1403 | 2013-04-29 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> |
1404 | ||
1405 | * c-common.c (check_user_alignment): Emit error for negative values. | |
1406 | ||
61949153 PC |
1407 | 2013-04-24 Paolo Carlini <paolo.carlini@oracle.com> |
1408 | ||
1409 | * c-opts.c (set_std_cxx11): Use CLK_CXX1Y and CLK_GNUCXX1Y. | |
1410 | ||
e93e18e9 PC |
1411 | 2013-04-24 Paolo Carlini <paolo.carlini@oracle.com> |
1412 | ||
1413 | * c-cppbuiltin.c (c_cpp_builtins): Do not define | |
1414 | __GXX_EXPERIMENTAL_CXX1Y__. | |
1415 | ||
44d90fe1 PC |
1416 | 2013-04-24 Paolo Carlini <paolo.carlini@oracle.com> |
1417 | Manuel Lopez-Ibanez <manu@gcc.gnu.org> | |
1418 | ||
1419 | * c.opt ([Wpointer-arith]): Enabled by -Wpedantic, as documented. | |
1420 | * c-common.c (pointer_int_sum): Change -Wpointer-arith pedwarns | |
1421 | to simply use OPT_Wpointer_arith. | |
1422 | (c_sizeof_or_alignof_type): Likewise. | |
1423 | ||
13f39b2e PC |
1424 | 2013-04-24 Paolo Carlini <paolo.carlini@oracle.com> |
1425 | ||
1426 | * c-cppbuiltin.c (c_cpp_builtins): Define __GXX_EXPERIMENTAL_CXX1Y__. | |
1427 | ||
4b84d650 JJ |
1428 | 2013-04-12 Jakub Jelinek <jakub@redhat.com> |
1429 | ||
1430 | * c-format.c (gcc_diag_char_table, gcc_tdiag_char_table, | |
1431 | gcc_cdiag_char_table, gcc_cxxdiag_char_table): Add %r and %R format | |
1432 | specifiers. | |
1433 | ||
fb037b5d SB |
1434 | 2013-04-07 Steven Bosscher <steven@gcc.gnu.org> |
1435 | ||
1436 | * c-pragma.c (add_to_renaming_pragma_list): Fix leading comment. | |
1437 | ||
4e856798 PC |
1438 | 2013-04-03 Paolo Carlini <paolo.carlini@oracle.com> |
1439 | ||
1440 | * c-common.c (pointer_int_sum): Remove dead code. | |
1441 | ||
4b1baac8 RS |
1442 | 2013-03-09 Richard Sandiford <rdsandiford@googlemail.com> |
1443 | ||
1444 | PR middle-end/56524 | |
1445 | * c-common.c (handle_optimize_attribute): Don't call | |
1446 | save_optabs_if_changed. | |
1447 | ||
0b50e654 JJ |
1448 | 2013-03-05 Jakub Jelinek <jakub@redhat.com> |
1449 | ||
1450 | PR middle-end/56461 | |
1451 | * c-pch.c (pch_init): Free target_validity at the end. | |
1452 | ||
48c41403 JJ |
1453 | 2013-03-04 Jakub Jelinek <jakub@redhat.com> |
1454 | ||
1455 | * c-pretty-print.c (pp_c_pretty_printer_init): Clear pp->flags. | |
1456 | ||
e664c61c KS |
1457 | 2013-02-28 Konstantin Serebryany <konstantin.s.serebryany@gmail.com> |
1458 | Jakub Jelinek <jakub@redhat.com> | |
1459 | ||
1460 | PR sanitizer/56454 | |
1461 | * c-common.c (handle_no_sanitize_address_attribute): New function. | |
1462 | (c_common_attribute_table): Add no_sanitize_address attribute. | |
1463 | (handle_no_address_safety_analysis_attribute): Add | |
1464 | no_sanitize_address attribute, not no_address_safety_analysis | |
1465 | attribute. | |
1466 | ||
a475fd3d | 1467 | 2013-02-18 Aldy Hernandez <aldyh@redhat.com> |
135204dd AH |
1468 | |
1469 | PR target/52555 | |
1470 | * c-common.c (handle_optimize_attribute): Call | |
1471 | save_optabs_if_changed. | |
1472 | ||
f6007d99 JJ |
1473 | 2013-02-18 Jakub Jelinek <jakub@redhat.com> |
1474 | Steven Bosscher <steven@gcc.gnu.org> | |
1475 | ||
1476 | PR pch/54117 | |
1477 | * c-opts.c (c_common_post_options): If debug info is enabled | |
1478 | and non-dwarf*, refuse to load PCH files and when writing PCH | |
1479 | file warn. | |
1480 | ||
cf35e2b1 JJ |
1481 | 2013-02-05 Jakub Jelinek <jakub@redhat.com> |
1482 | ||
1483 | PR middle-end/56167 | |
1484 | * c-common.c (handle_error_attribute): Fix condition. | |
1485 | ||
32887460 JJ |
1486 | 2013-01-30 Jakub Jelinek <jakub@redhat.com> |
1487 | ||
1488 | PR c++/55742 | |
1489 | * c-common.c (handle_target_attribute): Revert 2012-12-26 change. | |
1490 | ||
5af057d8 JM |
1491 | 2013-01-18 Jason Merrill <jason@redhat.com> |
1492 | ||
1493 | PR target/54908 | |
1494 | * c.opt (-fextern-tls-init): New. | |
1495 | * c-opts.c (c_common_post_options): Handle it. | |
1496 | ||
cc83c823 JJ |
1497 | 2013-01-09 Jakub Jelinek <jakub@redhat.com> |
1498 | ||
1499 | PR c/48418 | |
1500 | * c-common.c (c_fully_fold_internal): Warn for LSHIFT_EXPR and | |
1501 | RSHIFT_EXPR, if orig_op1 isn't INTEGER_CST, op1 is INTEGER_CST | |
1502 | and is either negative or bigger or equal to type precision | |
1503 | of the first operand. | |
1504 | ||
a859517f MP |
1505 | 2012-12-03 Marek Polacek <polacek@redhat.com> |
1506 | ||
1507 | PR c/55570 | |
1508 | * c-common.c (check_user_alignment): Swap order of tests, | |
1509 | check TREE_CODE first. | |
1510 | ||
2d7aa578 ESR |
1511 | 2012-11-29 Ed Smith-Rowland <3dw4rd@verizon.net> |
1512 | ||
1513 | PR c++/52654 | |
1514 | * c-common.h (overflow_type): New enum. | |
1515 | (build_userdef_literal): Add overflow_type argument. | |
1516 | (tree_userdef_literal): Add overflow_type. | |
1517 | (USERDEF_LITERAL_OVERFLOW): New access macro. | |
1518 | * c-common.c (build_userdef_literal): Add overflow_type | |
1519 | argument. | |
1520 | * c-lex.c (c_lex_with_flags): Add overflow_type to | |
1521 | build_userdef_literal calls. | |
1522 | (interpret_integer, interpret_float): Add overflow_type argument. | |
1523 | ||
cc3c4f62 RB |
1524 | 2012-11-28 Richard Biener <rguenther@suse.de> |
1525 | ||
1526 | PR c/35634 | |
1527 | * c-gimplify.c (c_gimplify_expr): Gimplify self-modify expressions | |
1528 | here and use a type with proper overflow behavior for types that would | |
1529 | need to be promoted for the arithmetic. | |
1530 | ||
77bc5132 JJ |
1531 | 2012-11-23 Jakub Jelinek <jakub@redhat.com> |
1532 | ||
1533 | PR sanitizer/55435 | |
1534 | * c-common.c (handle_no_address_safety_analysis_attribute): New | |
1535 | function. | |
1536 | (c_common_attribute_table): Add no_address_safety_analysis. | |
1537 | ||
5dc99c46 SB |
1538 | 2012-11-16 Simon Baldwin <simonb@google.com> |
1539 | ||
1540 | * c.opt: Add f[no-]canonical-system-headers. | |
1541 | * c-opts.c (c_common_handle_option): Handle | |
1542 | OPT_fcanonical_system_headers. | |
1543 | ||
a4a0016d ESR |
1544 | 2012-11-09 Ed Smith-Rowland <3dw4rd@verizon.net> |
1545 | ||
1546 | PR c++/54413 | |
1547 | * c-opts.c (c_common_handle_option): Set new flags. | |
1548 | * c.opt: Describe new flags. | |
1549 | ||
7dbb85a7 JM |
1550 | 2012-11-09 Jason Merrill <jason@redhat.com> |
1551 | ||
1552 | * c.opt (Wabi-tag): New. | |
1553 | ||
ad7bac31 AK |
1554 | 2012-11-09 Andi Kleen <ak@linux.intel.com> |
1555 | ||
1556 | PR 55139 | |
1557 | * c-common.c (get_atomic_generic_size): Mask with | |
1558 | MEMMODEL_MASK | |
1559 | ||
7332899a MLI |
1560 | 2012-11-07 Manuel López-Ibáñez <manu@gcc.gnu.org> |
1561 | ||
1562 | PR c/53063 | |
1563 | * c.opt (Wformat): Make it Alias Wformat=1. | |
1564 | (Wformat-contains-nul,Wformat-extra-args,Wformat-nonliteral, | |
1565 | Wformat-security,Wformat-y2k,Wformat-zero-length): Use | |
1566 | LangEnabledBy. | |
1567 | (Wformat=): RejectNegative. Use LangEnabledBy. | |
1568 | (Wnonnull): Use LangEnabledBy. | |
1569 | * c-opts.c (c_common_handle_option): Do not handle Wformat here. | |
1570 | * c-format.c (set_Wformat): Delete. | |
1571 | (decode_format_attr): Replace OPT_Wformat with OPT_Wformat_. | |
1572 | (maybe_read_dollar_number): Likewise. | |
1573 | (avoid_dollar_number): Likewise. | |
1574 | (finish_dollar_format_checking): Likewise. | |
1575 | (check_format_info): Likewise. | |
1576 | (check_format_info_main): Likewise. | |
1577 | (check_format_types): Likewise. | |
1578 | (format_type_warning): Likewise. | |
1579 | * c-common.c (int): Likewise. | |
1580 | (check_function_sentinel): Likewise. | |
1581 | * c-common.h (warn_format,set_Wformat): Do not declare here. | |
1582 | ||
34a180a6 MLI |
1583 | 2012-11-07 Manuel López-Ibáñez <manu@gcc.gnu.org> |
1584 | ||
1585 | PR c/53063 | |
1586 | * c.opt(Warray-bounds,Wdelete-non-virtual-dtor,Wenum-compare, | |
1587 | Wmain,Woverlength-strings, Wunknown-pragmas,Wunused-macros): | |
1588 | Use LangEnabledBy. | |
1589 | (Wswitch,Wswitch-default,Wswitch-enum): Likewise. Move here from | |
1590 | common.opt. | |
1591 | (Wvariadic-macros): Init(1). | |
1592 | * c-opts.c (c_common_handle_option): Do not handle them | |
1593 | explicitly. | |
1594 | (c_common_post_options): Likewise. | |
1595 | (sanitize_cpp_opts): warn_unused_macros is now | |
1596 | cpp_warn_unused_macros. | |
1597 | (push_command_line_include): Likewise. | |
1598 | * c-common.c (warn_unknown_pragmas): Do not define. | |
1599 | * c-common.h (warn_unknown_pragmas): Do not declare. | |
1600 | ||
3f46d6a5 MLI |
1601 | 2012-11-07 Manuel López-Ibáñez <manu@gcc.gnu.org> |
1602 | ||
1603 | PR c/51294 | |
1604 | * c-common.c (conversion_warning): Handle conditional expressions. | |
1605 | ||
880661a4 JW |
1606 | 2012-10-29 Jonathan Wakely <jwakely.gcc@gmail.com> |
1607 | ||
1608 | PR c++/54930 | |
1609 | * c.opt (Wreturn_local_addr): Define new option. | |
1610 | ||
4514a96b JM |
1611 | 2012-10-25 Jason Merrill <jason@redhat.com> |
1612 | ||
f14edc1a JM |
1613 | * c.opt (Wvirtual-move-assign): New. |
1614 | ||
4514a96b JM |
1615 | * c.opt (Winherited-variadic-ctor): New. |
1616 | ||
93100c6b MG |
1617 | 2012-10-25 Marc Glisse <marc.glisse@inria.fr> |
1618 | ||
1619 | PR c++/54427 | |
1620 | * c-common.c (scalar_to_vector): Handle VEC_COND_EXPR. | |
1621 | ||
1efcb8c6 JM |
1622 | 2012-10-23 Joseph Myers <joseph@codesourcery.com> |
1623 | ||
1624 | * c-common.h (pch_cpp_save_state): Declare. | |
1625 | * c-target.def (c_preinclude): New hook. | |
1626 | * c-opts.c (done_preinclude): New. | |
1627 | (push_command_line_include): Handle default preincluded header. | |
1628 | (cb_file_change): Call pch_cpp_save_state when calling | |
1629 | push_command_line_include. | |
1630 | * c-pch.c (pch_ready_to_save_cpp_state, pch_cpp_state_saved) | |
1631 | (pch_cpp_save_state): New. | |
1632 | (pch_init): Call pch_cpp_save_state conditionally, instead of | |
1633 | calling cpp_save_state. | |
1634 | ||
4a0ae68e MLI |
1635 | 2012-10-20 Manuel López-Ibáñez <manu@gcc.gnu.org> |
1636 | ||
1637 | PR c/53063 | |
1638 | PR c/40989 | |
1639 | * c.opt (Waddress,Wchar-subscripts,Wsign-conversion,Wimplicit, | |
1640 | Wimplicit-function-declaration,Wimplicit-int,Wsizeof-pointer-memaccess, | |
1641 | Wnarrowing,Wparentheses,Wpointer-sign,Wreturn-type,Wsequence-point, | |
1642 | Wsign-compare,Wuninitialized,Wmaybe-uninitialized,Wunused, | |
1643 | Wvolatile-register-var): Add LangEnabledBy or EnabledBy. | |
1644 | * c-opts.c (c_common_handle_option): Remove explicit handling from | |
1645 | here. | |
1646 | (c_common_post_options): Likewise. | |
1647 | ||
67e4210b EB |
1648 | 2012-10-18 Eric Botcazou <ebotcazou@adacore.com> |
1649 | ||
1650 | * c-ada-spec.c (LOCATION_COL): Delete. | |
1651 | (compare_location): New function. | |
1652 | (compare_node): Use it. | |
1653 | (compare_comment): Likewise. | |
1654 | ||
65d4f2cd MLI |
1655 | 2012-10-16 Manuel López-Ibáñez <manu@gcc.gnu.org> |
1656 | ||
1657 | PR c/53063 | |
1658 | PR c/40989 | |
1659 | * c.opt (Wstrict-aliasing=,Wstrict-overflow=): Use LangEnabledBy. | |
1660 | * c-opts.c (c_common_handle_option): Do not set them here. Add | |
1661 | comment. | |
1662 | (c_common_post_options): Likewise. | |
1663 | ||
909881cb EB |
1664 | 2012-10-16 Eric Botcazou <ebotcazou@adacore.com> |
1665 | ||
1666 | * c-ada-spec.c (ADA_HOST_WIDE_INT_PRINT_DOUBLE_HEX): Define. | |
1667 | (dump_generic_ada_node) <INTEGER_CST>: Deal with sizetype specially. | |
1668 | Remove POINTER_TYPE handling, add large unsigned handling and use | |
1669 | ADA_HOST_WIDE_INT_PRINT_DOUBLE_HEX for big numbers. | |
1670 | ||
3a785c97 JJ |
1671 | 2012-10-12 Jakub Jelinek <jakub@redhat.com> |
1672 | ||
1673 | PR c/54381 | |
1674 | * c-common.h (sizeof_pointer_memaccess_warning): Adjust prototype. | |
1675 | * c-common.c (sizeof_pointer_memaccess_warning): Take array of 3 | |
1676 | locs and array of 3 trees instead of just single loc and single | |
1677 | sizeof_arg tree. Handle __builtin___*_chk builtins too, and | |
1678 | also stpncpy, bcopy, bcmp, bzero, snprintf and vsnprintf builtins. | |
1679 | For *cmp* builtins that take two sources strings report warnings | |
1680 | about first and second source, not about destination and source. | |
1681 | ||
5e54f81d MG |
1682 | 2012-10-12 Marc Glisse <marc.glisse@inria.fr> |
1683 | ||
1684 | PR c++/53055 | |
1685 | * c-common.h (enum ref_operator) [RO_ARROW_STAR]: New. | |
1686 | ||
f5b02f1e EB |
1687 | 2012-10-11 Eric Botcazou <ebotcazou@adacore.com> |
1688 | ||
1689 | * c-ada-spec.c (dump_ada_template): Bail out for template declarations | |
1690 | declaring something coming from another file. | |
1691 | ||
b46dbc6c AC |
1692 | 2012-10-10 Arnaud Charlet <charlet@adacore.com> |
1693 | ||
f5b02f1e | 1694 | PR ada/54845 |
b46dbc6c AC |
1695 | * c-ada-spec.c (print_ada_struct_decl): Increase buf size. |
1696 | ||
5d9de0d0 PC |
1697 | 2012-10-09 Paolo Carlini <paolo.carlini@oracle.com> |
1698 | ||
1699 | PR c++/54194 | |
1700 | * c-common.c (warn_about_parentheses): Add location_t parameter; | |
1701 | use EXPR_LOC_OR_LOC. | |
1702 | * c-common.h: Update declaration. | |
1703 | ||
a212e43f MG |
1704 | 2012-10-09 Marc Glisse <marc.glisse@inria.fr> |
1705 | ||
1706 | PR c++/54427 | |
1707 | * c-common.c (scalar_to_vector): Moved from c-typeck.c. Support | |
1708 | more operations. Make error messages optional. | |
1709 | * c-common.h (enum stv_conv): Moved from c-typeck.c. | |
1710 | (scalar_to_vector): Declare. | |
1711 | ||
b1db7f91 JM |
1712 | 2012-10-08 Jason Merrill <jason@redhat.com> |
1713 | ||
1714 | * c-common.c (c_common_reswords): Add thread_local. | |
1715 | ||
e28d52cf DS |
1716 | 2012-10-08 Dodji Seketeli <dodji@redhat.com> |
1717 | ||
1718 | PR c++/53528 C++11 attribute support | |
1719 | * c-common.h (bitfield_p, cxx_fundamental_alignment_p): Declare | |
1720 | new functions. | |
1721 | * c-common.c (check_cxx_fundamental_alignment_constraints): New | |
1722 | static function. | |
1723 | (handle_aligned_attribute): In choose strictest alignment | |
1724 | among many. Use new check_cxx_fundamental_alignment_constraints. | |
1725 | (handle_transparent_union_attribute): In c++11 attribute syntax, | |
1726 | don't look through typedefs. | |
1727 | ||
3b78de56 AC |
1728 | 2012-10-04 Arnaud Charlet <charlet@adacore.com> |
1729 | ||
1730 | * c-ada-spec.c (print_ada_declaration): Remove handling of TDF_RAW. | |
1731 | * c.opt (-fdump-ada-spec, -fdump-ada-spec-slim): Move switch definition | |
1732 | out of dumpfile.h. | |
1733 | ||
6040bb5f DC |
1734 | 2012-09-25 Dehao Chen <dehao@google.com> |
1735 | ||
1736 | PR middle-end/54645 | |
3b78de56 | 1737 | * c-pch.c (c_common_read_pch): Rebuild the location_adhoc_data |
6040bb5f DC |
1738 | map when read in the pch. |
1739 | ||
0b07a57e AC |
1740 | 2012-09-18 Arnaud Charlet <charlet@adacore.com> |
1741 | ||
1742 | * c-ada-spec.c: Style fixes. | |
1743 | ||
da5182be TQ |
1744 | 2012-09-18 Thomas Quinot <quinot@adacore.com> |
1745 | ||
1746 | * c.opt (-fada-spec-parent): Define new command line switch. | |
1747 | * c-ada-spec.c (get_ada_package): When -fada-spec-parent | |
1748 | is specified, generate binding spec as a child of the specified unit. | |
1749 | ||
0ccb505d PC |
1750 | 2012-09-13 Paolo Carlini <paolo.carlini@oracle.com> |
1751 | Manuel López-Ibáñez <manu@gcc.gnu.org> | |
1752 | ||
1753 | PR c++/53210 | |
1754 | * c.opt ([Winit-self]): Enabled by -Wall in C++. | |
1755 | ||
c583af79 AC |
1756 | 2012-08-23 Arnaud Charlet <charlet@adacore.com> |
1757 | ||
1758 | * c-ada-spec.c (dump_generic_ada_node): Fix handling of name_only | |
1759 | for pointers, and add missing Convention C pragma. | |
1760 | (print_ada_struct_decl): Add missing aliased keyword. | |
1761 | (dump_ads): Add pragma Ada_2005 and Style_Checks (Off). | |
1762 | ||
1a4049e7 JJ |
1763 | 2012-08-17 Jakub Jelinek <jakub@redhat.com> |
1764 | ||
1765 | * c-common.c (sizeof_pointer_memaccess_warning): New function. | |
1766 | * c.opt (-Wsizeof-pointer-memaccess): Add new option. | |
1767 | * c-opts.c (c_common_handle_option): Enable it for -Wall. | |
1768 | * c-common.h (sizeof_pointer_memaccess_warning): Add prototype. | |
1769 | * c-common.def (SIZEOF_EXPR): Moved here from cp-tree.def. | |
1770 | ||
70b5e7dc RG |
1771 | 2012-08-10 Richard Guenther <rguenther@suse.de> |
1772 | ||
1773 | * c-pretty-print.c (pp_c_expression): Handle anonymous SSA names. | |
1774 | ||
f8923f7e SB |
1775 | 2012-08-07 Steven Bosscher <steven@gcc.gnu.org> |
1776 | ||
1777 | * c-pretty-print.c (pp_c_function_definition): Use pp_newline_and_flush | |
1778 | instead of separate pp_newline and pp_flush. | |
1779 | (print_c_tree): Likewise. | |
1780 | ||
e45abe1f RH |
1781 | 2012-07-26 Richard Henderson <rth@redhat.com> |
1782 | ||
1783 | * c-common.c (handle_hot_attribute): Allow labels. | |
1784 | (handle_cold_attribute): Likewise. | |
1785 | ||
332f1d24 JJ |
1786 | 2012-07-20 Jakub Jelinek <jakub@redhat.com> |
1787 | ||
1788 | PR c++/28656 | |
1789 | * c-common.c (check_function_nonnull): Handle multiple nonnull | |
1790 | attributes properly. | |
1791 | ||
7ee2468b SB |
1792 | 2012-07-16 Steven Bosscher <steven@gcc.gnu.org> |
1793 | ||
1794 | * c-gimplify.c: Include dumpfile.h instead of tree-dump.h. | |
1795 | * c-ada-spec.c: Likewise. | |
1796 | * c-dump.c (dump_stmt): Move to cp/dump.c, the only user. | |
1797 | ||
ee7b28eb SB |
1798 | 2012-07-14 Steven Bosscher <steven@gcc.gnu.org> |
1799 | ||
1800 | * c-pch.c (CHECK_NO_ASM_OUT_DURING_PCH): Do not define. | |
1801 | Remove code conditional on it. | |
1802 | ||
6bdf3519 SB |
1803 | 2012-07-11 Steven Bosscher <steven@gcc.gnu.org> |
1804 | ||
1805 | * c-gimplify.c: Do not include basic-block.h. | |
1806 | * c-common.c: Do not include linfuncs.h. | |
1807 | ||
532aafad SB |
1808 | 2012-07-08 Steven Bosscher <steven@gcc.gnu.org> |
1809 | ||
1810 | * c-common.h: Include tree.h. | |
1811 | ||
8d0d1915 JM |
1812 | 2012-07-02 Jason Merrill <jason@redhat.com> |
1813 | ||
1814 | PR c++/53524 | |
1815 | * c-common.c (get_priority): Call default_conversion. | |
1816 | ||
fbc873ad UB |
1817 | 2012-07-01 Uros Bizjak <ubizjak@gmail.com> |
1818 | ||
1819 | * c-pch.c (c_common_write_pch): Remove unused variables. | |
1820 | ||
d4a10d0a SB |
1821 | 2012-06-29 Steven Bosscher <steven@gcc.gnu.org> |
1822 | ||
1823 | * cppspec.c: Moved from gcc/ to here. | |
1824 | ||
6f3a2e23 KT |
1825 | 2012-06-27 Kai Tietz <ktietz@redhat.com> |
1826 | ||
1827 | PR preprocessor/37215 | |
1828 | * c-ppoutput.c (preprocess_file): Check for nonempty buffer. | |
1829 | ||
8ca92d04 SB |
1830 | 2012-06-21 Steven Bosscher <steven@gcc.gnu.org> |
1831 | ||
1832 | * c-common.h (c_common_print_pch_checksum): Remove. | |
1833 | * c-pch.c: Do not include output.h. | |
1834 | (CHECK_NO_ASM_OUT_DURING_PCH): Define and add FIXME. | |
1835 | (asm_out_file): Define iff CHECK_NO_ASM_OUT_DURING_PCH isdefined. | |
1836 | (asm_file_startpos): Define iff CHECK_NO_ASM_OUT_DURING_PCH is defined. | |
1837 | (struct c_pch_header): Remove. | |
1838 | (get_ident): Update gpch version. | |
1839 | (pch_init): Do not print executable_checksum to asm_out_file. | |
1840 | Do not fail if there is no asm_out_file to read back from. Set | |
1841 | asm_file_startpos only if CHECK_NO_ASM_OUT_DURING_PCH is defined. | |
1842 | (c_common_write_pch): Verify that nothing was written to asm_out_file | |
1843 | since pch_init was called. Do not write a c_pch_header, and do not | |
1844 | copy from asm_out_file to the PCH. | |
1845 | (c_common_read_pch): Do not read a c_pch_header, and do not restore | |
1846 | the content of asm_out_file from the PCH. | |
1847 | (c_common_print_pch_checksum): Remove. | |
1848 | * c-opts.c (c_common_init): Print out executable_checksum directly. | |
1849 | ||
70f42967 SB |
1850 | 2012-06-19 Steven Bosscher <steven@gcc.gnu.org> |
1851 | ||
1852 | * c-target.def (objc_declare_unresolved_class_reference, | |
1853 | objc_declare_class_definition): Add new hooks. | |
1854 | ||
a8781821 SB |
1855 | 2012-06-19 Steven Bosscher <steven@gcc.gnu.org> |
1856 | ||
1857 | * c-lex.c: Do not include output.h. | |
1858 | (cb_ident): Try to put out .ident with targetm.asm_out.output_ident. | |
1859 | Remove uses of ASM_OUTPUT_IDENT. | |
1860 | ||
9e1a8dd1 RR |
1861 | 2012-06-15 Marc Glisse <marc.glisse@inria.fr> |
1862 | ||
1863 | PR c++/51033 | |
1864 | * c-common.h (c_build_vec_perm_expr): Move decl here. | |
1865 | * c-common.c (c_build_vec_perm_expr): Move definition | |
1866 | here. | |
1867 | ||
6f07a821 SB |
1868 | 2012-06-06 Steven Bosscher <steven@gcc.gnu.org> |
1869 | ||
1870 | * c.opt (fconserve-space): Turn into a no-op. | |
1871 | ||
9faeb493 | 1872 | 2012-06-04 Sterling Augustine <saugustine@google.com> |
c265f413 SA |
1873 | |
1874 | * c-pretty-print.h (pp_c_flag_gnu_v3): New enumerator. | |
1875 | * c-pretty-print.c (pp_c_specifier_qualifier_list): Check it at | |
1876 | both the start and end of the function. | |
1877 | ||
a4b7d13c SB |
1878 | 2012-06-04 Steven Bosscher <steven@gcc.gnu.org> |
1879 | ||
1880 | * c-common.c: Do not include output.h. | |
1881 | * c-pragma.c: Likewise. | |
1882 | ||
c265f413 SA |
1883 | 2012-06-04 Steven Bosscher <steven@gcc.gnu.org> |
1884 | ||
1885 | * error.c (dump_decl): Check pp_c_flag_gnu_v3. | |
1886 | (decl_as_dwarf_string, lang_decl_dwarf_name): New functions. | |
1887 | (lang_decl_name): Handle namespace decls. | |
1888 | ||
be7a421e SB |
1889 | 2012-05-31 Steven Bosscher <steven@gcc.gnu.org> |
1890 | ||
1891 | * c-ada-spec.c: Do not include output.h. | |
1892 | * c-semantics.c: Likewise. | |
1893 | ||
65de6659 JM |
1894 | 2012-05-29 Joseph Myers <joseph@codesourcery.com> |
1895 | ||
1896 | * c-common.c: Fix typo. | |
1897 | ||
ca5f4331 MM |
1898 | 2012-05-29 Michael Matz <matz@suse.de> |
1899 | ||
1900 | * c-common.h (c_expand_decl): Remove prototype. | |
1901 | ||
4f7f7aca MLI |
1902 | 2012-05-29 Manuel López-Ibáñez <manu@gcc.gnu.org> |
1903 | ||
1904 | * c.opt (Wmissing-braces): Use LangEnabledBy(C ObjC,Wall). | |
1905 | * c-opts.c (c_common_handle_option): Remove code handling | |
1906 | warn_missing_braces. | |
1907 | ||
4a792f9b PC |
1908 | 2012-05-28 Paolo Carlini <paolo.carlini@oracle.com> |
1909 | ||
1910 | PR c++/25137 | |
1911 | * c-opts.c (c_common_handle_option): For C++ -Wall doesn't enable | |
1912 | -Wmissing_braces. | |
1913 | ||
650dc14a DS |
1914 | 2012-05-22 Dodji Seketeli <dodji@redhat.com> |
1915 | ||
1916 | PR c++/53322 | |
1917 | * c.opt (Wunused-local-typedefs): Use EnabledBy(Wunused). | |
1918 | ||
9b095bf1 MLI |
1919 | 2012-05-17 Manuel López-Ibáñez <manu@gcc.gnu.org> |
1920 | ||
1921 | * c.opt (--pedantic-errors,-pedantic-errors): Do not handle here. | |
1922 | * c-opts.c (c_common_handle_option): Do not handle explicitly | |
1923 | Wreturn-type, Wwrite-strings, warn_ecpp, and -pedantic-errors. | |
1924 | ||
0b2c4be5 DS |
1925 | 2012-05-16 Dodji Seketeli <dodji@redhat.com> |
1926 | ||
1927 | PR preprocessor/7263 | |
1928 | * c-lex.c (c_lex_with_flags): Pass a virtual location to the call | |
1929 | to cpp_classify_number. For diagnostics, use the precise location | |
1930 | instead of the global input_location. | |
1931 | ||
a1bde5af PC |
1932 | 2012-05-15 Paolo Carlini <paolo.carlini@oracle.com> |
1933 | ||
d02924ef | 1934 | PR c++/11856 |
a1bde5af PC |
1935 | * c-common.c (shorten_compare): Check c_inhibit_evaluation_warnings. |
1936 | ||
d1ede5f4 BS |
1937 | 2012-05-14 Bernd Schmidt <bernds@codesourcery.com> |
1938 | ||
a1bde5af | 1939 | * c-common.c (DEF_ATTR_STRING): Define and undefine as necessary. |
d1ede5f4 | 1940 | |
f2bc201f MLI |
1941 | 2012-05-14 Manuel López-Ibáñez <manu@gcc.gnu.org> |
1942 | ||
1943 | PR 53063 | |
1944 | * c.opt (Wc++0X-compat,Wdelete-non-virtual-dtor,Wjump-misses-init, | |
1945 | Wreorder): Use LangEnabledBy. | |
1946 | * c-opts.c (c_common_handle_option): Do not enable them | |
1947 | explicitly. Call lang-specific generated functions. | |
1948 | (c_common_post_options): Do not set them here. | |
1949 | ||
95744782 MLI |
1950 | 2012-05-13 Manuel López-Ibáñez <manu@gcc.gnu.org> |
1951 | ||
1952 | * c.opt (Wclobbered,Wempty-body,Wignored-qualifiers, | |
1953 | Wmissing-field-initializers,Wmissing-parameter-type, | |
1954 | Wold-style-declaration,Woverride-init): Use EnabledBy. | |
1955 | * c-opts.c (c_common_post_options): Do not set here explicitly. | |
1956 | ||
7d5a5747 MLI |
1957 | 2012-05-11 Manuel López-Ibáñez <manu@gcc.gnu.org> |
1958 | ||
1959 | PR 53063 | |
1960 | * c-opts.c (c_common_handle_option): Use handle_generated_option | |
1961 | to enable sub-options. | |
1962 | ||
5a3c9cf2 PC |
1963 | 2012-05-10 Paolo Carlini <paolo.carlini@oracle.com> |
1964 | ||
1965 | PR c++/53158 | |
1966 | * c-common.c (warnings_for_convert_and_check): Use warning_at. | |
1967 | ||
3ac8781c RG |
1968 | 2012-05-10 Richard Guenther <rguenther@suse.de> |
1969 | ||
1970 | * c-common.c (c_sizeof_or_alignof_type): Remove assert and | |
1971 | adjust commentary about TYPE_IS_SIZETYPE types. | |
1972 | ||
1e537948 MLI |
1973 | 2012-05-09 Manuel López-Ibáñez <manu@gcc.gnu.org> |
1974 | ||
1975 | PR c++/53261 | |
1976 | * c-common.c (warn_logical_operator): Check that argument of | |
1977 | integer_zerop is not NULL. | |
1978 | ||
f2c4a785 MLI |
1979 | 2012-05-05 Manuel López-Ibáñez <manu@gcc.gnu.org> |
1980 | ||
1981 | PR c/43772 | |
1982 | * c-common.c (warn_logical_operator): Do not warn if either side | |
1983 | is already true or false. | |
1984 | ||
50f305ca MLI |
1985 | 2012-05-04 Manuel López-Ibáñez <manu@gcc.gnu.org> |
1986 | ||
1987 | PR c/51712 | |
1988 | * c-common.c (expr_original_type): New. | |
1989 | (shorten_compare): Do not warn for enumeration types. | |
1990 | ||
0c3641b0 MLI |
1991 | 2012-05-03 Manuel López-Ibáñez <manu@gcc.gnu.org> |
1992 | ||
1993 | * c.opt (fpermissive): Add Var(flag_permissive). | |
1994 | ||
7edaa4d2 MG |
1995 | 2012-04-30 Marc Glisse <marc.glisse@inria.fr> |
1996 | ||
1997 | PR c++/51033 | |
1998 | * c-common.c (convert_vector_to_pointer_for_subscript): New function. | |
1999 | * c-common.h (convert_vector_to_pointer_for_subscript): Declare it. | |
2000 | ||
b9c8da34 DS |
2001 | 2012-04-30 Dodji Seketeli <dodji@redhat.com> |
2002 | ||
2003 | Add -Wvarargs option | |
2004 | * c.opt (Wvarargs): Define new option. | |
2005 | ||
e6c69da0 MLI |
2006 | 2012-04-30 Manuel López-Ibáñez <manu@gcc.gnu.org> |
2007 | ||
2008 | * c-common.c (check_function_arguments): Replace | |
2009 | Wmissing-format-attribute with Wsuggest-attribute=format. | |
2010 | ||
90137d8f MLI |
2011 | 2012-04-30 Manuel López-Ibáñez <manu@gcc.gnu.org> |
2012 | ||
2013 | * c.opt (Wsuggest-attribute=format): New. Alias of | |
2014 | Wmissing-format-attribute. | |
2015 | * c-format.c (decode_format_type): Replace | |
2016 | Wmissing-format-attribute with Wsuggest-attribute=format. | |
2017 | (check_function_format): Likewise. | |
2018 | ||
9faeb493 | 2019 | 2012-04-27 Ollie Wild <aaw@google.com> |
7f5f5f98 OW |
2020 | |
2021 | * c-common.c: Add CPP_W_LITERAL_SUFFIX mapping. | |
2022 | * c-opts.c (c_common_handle_option): Handle OPT_Wliteral_suffix. | |
2023 | * c.opt: Add Wliteral-suffix. | |
2024 | ||
c1771a20 MLI |
2025 | 2012-04-22 Manuel López-Ibáñez <manu@gcc.gnu.org> |
2026 | ||
2027 | PR c/44774 | |
2028 | * c.opt (Wpedantic): New. | |
2029 | (pedantic): Alias Wpedantic. | |
2030 | * c-opts.c (c_common_handle_option): Replace -pedantic with -Wpedantic. | |
2031 | (c_common_post_options): Likewise. | |
2032 | (sanitize_cpp_opts): Likewise. | |
2033 | * c-lex.c (interpret_float): Likewise. | |
2034 | * c-format.c (check_format_types): Likewise. | |
2035 | * c-common.c (pointer_int_sum): Likewise. | |
2036 | (c_sizeof_or_alignof_type): Likewise. | |
2037 | (c_add_case_label): Likewise. | |
2038 | (c_do_switch_warnings): Likewise. | |
2039 | * c-pragma.c (handle_pragma_float_const_decimal64): Likewise. | |
2040 | ||
04b391c1 JM |
2041 | 2012-04-15 Jason Merrill <jason@redhat.com> |
2042 | ||
2043 | PR c++/52818 | |
2044 | * c-format.c (CPLUSPLUS_STD_VER): C++11 inherits from C99. | |
2045 | (C_STD_NAME): Distinguish between C++98 and C++11. | |
2046 | ||
ac868f29 EB |
2047 | 2012-04-11 Eric Botcazou <ebotcazou@adacore.com> |
2048 | ||
2049 | PR target/52624 | |
2050 | * c-common.h (uint16_type_node): Rename into... | |
2051 | (c_uint16_type_node): ...this. | |
2052 | * c-common.c (c_common_nodes_and_builtins): Adjust for above renaming. | |
2053 | * c-cppbuiltin.c (builtin_define_stdint_macros): Likewise. | |
2054 | ||
fd4116f4 MLI |
2055 | 2012-04-10 Manuel López-Ibáñez <manu@gcc.gnu.org> |
2056 | ||
2057 | * c-common.c (warn_if_unused_value): Move definition to here. | |
2058 | * c-common.h (warn_if_unused_value): Move declaration to here. | |
2059 | ||
573ac65e WB |
2060 | 2012-03-23 William Bader <williambader@hotmail.com> |
2061 | ||
2062 | * c-lex.c (c_lex_with_flags): Avoid declarations after stmts. | |
2063 | ||
552b8185 JM |
2064 | 2012-03-20 Jason Merrill <jason@redhat.com> |
2065 | ||
2066 | * c-common.h (enum cxx_dialect): Add cxx1y. | |
2067 | * c-common.c (c_common_nodes_and_builtins): Use >= for cxx_dialect | |
2068 | test. | |
2069 | * c-cppbuiltin.c (c_cpp_builtins): Likewise. | |
2070 | * c-opts.c (c_common_post_options): Likewise. | |
2071 | (set_std_cxx1y): New. | |
2072 | (c_common_handle_option): Call it. | |
2073 | * c.opt (-std=c++1y, -std=gnu++1y): New flags. | |
2074 | ||
04398fa8 PC |
2075 | 2012-03-19 Paolo Carlini <paolo.carlini@oracle.com> |
2076 | ||
2077 | PR c++/14710 | |
2078 | * c.opt ([Wuseless-cast]): Add. | |
2079 | ||
d2a12ae7 RG |
2080 | 2012-03-16 Richard Guenther <rguenther@suse.de> |
2081 | ||
2082 | * c-pretty-print.c (pp_c_initializer_list): Adjust. | |
2083 | ||
a12bf402 MLI |
2084 | 2012-03-15 Manuel López-Ibáñez <manu@gcc.gnu.org> |
2085 | ||
2086 | PR c++/44783 | |
2087 | * c.opt (ftemplate-backtrace-limit) Add. | |
2088 | ||
5c30094f RO |
2089 | 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2090 | ||
2091 | * c-cppbuiltin.c (c_cpp_builtins): Remove #pragma extern_prefix | |
2092 | handling. | |
2093 | * c-pragma.c (handle_pragma_extern_prefix): Remove. | |
2094 | (init_pragma): Don't register extern_prefix. | |
2095 | ||
21fa2faf RG |
2096 | 2012-03-12 Richard Guenther <rguenther@suse.de> |
2097 | ||
2098 | * c-common.c (c_common_get_narrower): Use c_common_type_for_size. | |
2099 | (builtin_type_for_size): Likewise. | |
2100 | ||
e3793c6f JJ |
2101 | 2012-02-13 Jakub Jelinek <jakub@redhat.com> |
2102 | ||
2103 | PR c++/52215 | |
2104 | * c-common.c (sync_resolve_params): Don't decide whether to convert | |
2105 | or not based on TYPE_SIZE comparison, convert whenever arg_type | |
2106 | is unsigned INTEGER_TYPE. | |
2107 | ||
93286335 PC |
2108 | 2012-02-06 Paolo Carlini <paolo.carlini@oracle.com> |
2109 | ||
2110 | PR c/52118 | |
2111 | * c.opt ([Wunused-local-typedefs]): Fix description. | |
2112 | ||
7a421706 MS |
2113 | 2012-01-24 Mike Stump <mikestump@comcast.net> |
2114 | ||
2115 | * c-common.c (c_common_type_for_mode): Match signed/unsigned types | |
2116 | exactly. | |
2117 | ||
ba9b1f11 RG |
2118 | 2012-01-18 Richard Guenther <rguenther@suse.de> |
2119 | ||
2120 | * c-opts.c (c_common_post_options): Reset LTO flags if | |
2121 | we are about to generate a PCH. | |
2122 | ||
465406be PC |
2123 | 2012-01-17 Paolo Carlini <paolo.carlini@oracle.com> |
2124 | ||
2125 | PR c++/51777 | |
2126 | * c-pretty-print.c (pp_c_integer_constant): For unsigned constants | |
2127 | use pp_unsigned_wide_integer. | |
2128 | ||
aee15221 RG |
2129 | 2012-01-10 Richard Guenther <rguenther@suse.de> |
2130 | ||
2131 | PR middle-end/51806 | |
2132 | * c-opts.c (c_common_handle_option): Move -Werror handling | |
2133 | to language independent code. | |
2134 | ||
5720c0dc RG |
2135 | 2012-01-05 Richard Guenther <rguenther@suse.de> |
2136 | ||
2137 | PR middle-end/51764 | |
2138 | * c.opt (Wmudflap, fmudflap, fmudflapth, fmudflapir): Move here | |
2139 | from common.opt. | |
2140 | ||
73ac190a PC |
2141 | 2011-12-30 Paolo Carlini <paolo.carlini@oracle.com> |
2142 | ||
2143 | PR c++/51316 | |
2144 | * c-common.c (c_sizeof_or_alignof_type): In C++ allow for alignof | |
2145 | of array types with an unknown bound. | |
2146 | ||
48b0b196 JM |
2147 | 2011-12-20 Joseph Myers <joseph@codesourcery.com> |
2148 | ||
2149 | * c-common.c (flag_isoc99): Update comment to refer to C11. | |
2150 | (flag_isoc1x): Change to flag_isoc11. | |
2151 | * c-common.h (flag_isoc99): Update comment to refer to C11. | |
2152 | (flag_isoc1x): Change to flag_isoc11. | |
2153 | * c-cppbuiltin.c (cpp_atomic_builtins): Change comment to refer to | |
2154 | C11. | |
2155 | * c-opts.c (set_std_c1x): Change to set_std_c11. | |
2156 | (c_common_handle_option): Handle OPT_std_c11 and OPT_std_gnu11. | |
2157 | Call set_std_c11. | |
2158 | (set_std_c89, set_std_c99, set_std_c11): Use flag_isoc11. | |
2159 | (set_std_c1): Use CLK_STDC11 and CLK_GNUC11. | |
2160 | * c.opt (std=c1x): Change to std=c11. Document as non-draft | |
2161 | standard. | |
2162 | (std=c1x, std=iso9899:2011): Add as aliases of std=c11. | |
2163 | (std=gnu1x): Change to std=gnu11. Refer to non-draft standard. | |
2164 | (std=gnu1x): Make alias of std=gnu11. | |
2165 | ||
d58d6eb5 JM |
2166 | 2011-12-19 Jason Merrill <jason@redhat.com> |
2167 | ||
2168 | PR c++/51228 | |
2169 | * c-common.c (handle_transparent_union_attribute): Check the first | |
2170 | field if the type is complete. | |
2171 | ||
b3908fcc JW |
2172 | 2011-12-15 Jonathan Wakely <jwakely.gcc@gmail.com> |
2173 | ||
2174 | PR libstdc++/51365 | |
2175 | * c-common.c (RID_IS_FINAL): Add. | |
2176 | * c-common.h (RID_IS_FINAL): Add. | |
2177 | ||
fea3ca91 IS |
2178 | 2011-11-30 Iain Sandoe <iains@gcc.gnu.org> |
2179 | ||
2180 | * c.opt (fgnu-runtime): Provide full description. | |
2181 | (fnext-runtime): Likewise. | |
2182 | * c-opts.c (OPT_fgnu_runtime, OPT_fnext_runtime) Remove. | |
2183 | ||
62bad7cd AM |
2184 | 2011-11-28 Andrew MacLeod <amacleod@redhat.com> |
2185 | ||
2186 | * c-cpp-builtin.c (cpp_atomic_builtins):New. Emit all atomic | |
2187 | predefines in one place. Add LOCK_FREE predefines. | |
2188 | (c_cpp_builtins): Move Legacy HAVE_SYNC predefines to | |
2189 | new func. | |
2190 | ||
c466c4ff AM |
2191 | 2011-11-24 Andrew MacLeod <amacleod@redhat.com> |
2192 | ||
2193 | PR c/51256 | |
9faeb493 | 2194 | * c-common.c (get_atomic_generic_size): Check for various error |
c466c4ff | 2195 | conditions |
9faeb493 UB |
2196 | (resolve_overloaded_atomic_exchange, |
2197 | resolve_overloaded_atomic_compare_exchange, | |
c466c4ff AM |
2198 | resolve_overloaded_atomic_load, resolve_overloaded_atomic_store): Return |
2199 | error_mark_node for error conditions. | |
9faeb493 | 2200 | |
a5952633 RG |
2201 | 2011-11-08 Richard Guenther <rguenther@suse.de> |
2202 | ||
2203 | PR middle-end/51010 | |
2204 | c-family/ | |
2205 | ||
0a35513e AH |
2206 | 2011-11-07 Richard Henderson <rth@redhat.com> |
2207 | Aldy Hernandez <aldyh@redhat.com> | |
2208 | Torvald Riegel <triegel@redhat.com> | |
2209 | ||
2210 | Merged from transactional-memory. | |
2211 | ||
2212 | * c-common.c (handle_tm_wrap_attribute, | |
2213 | handle_tm_attribute, ignore_attribute, parse_tm_stmt_attr): New. | |
2214 | (struct c_common_reswords): Added __transaction* keywords. | |
2215 | (struct c_common_attribute_table): Added transaction* and tm_regparm | |
2216 | attributes. | |
2217 | * c-common.h: Added RID_TRANSACTION*. Added TM_ATTR* and TM_STMT* | |
2218 | masks. | |
2219 | (parse_tm_stmt_attr, tm_attr_to_mask, tm_mask_to_attr, | |
2220 | find_tm_attribute): Declare. | |
2221 | ||
6d87092d JM |
2222 | 2011-11-07 Jason Merrill <jason@redhat.com> |
2223 | ||
2224 | PR c++/35688 | |
2225 | * c-common.c, c-common.h: Revert yesterday's changes. | |
2226 | ||
8e7860a1 JM |
2227 | 2011-11-06 Jason Merrill <jason@redhat.com> |
2228 | ||
2229 | PR c++/35688 | |
2230 | * c-common.c (decl_has_visibility_attr): Split out from... | |
2231 | (c_determine_visibility): ...here. | |
2232 | * c-common.h: Declare it. | |
2233 | ||
d19fa6b5 JM |
2234 | 2011-11-06 Joseph Myers <joseph@codesourcery.com> |
2235 | ||
2236 | * c-common.c (c_common_reswords): Add _Alignas and _Alignof. | |
2237 | (c_sizeof_or_alignof_type): Diagnose alignof applied to a function | |
2238 | type. | |
2239 | (check_user_alignment): New. Split out of | |
2240 | handle_aligned_attribute. Disallow integer constants with | |
2241 | noninteger types. Conditionally allow zero. | |
2242 | (handle_aligned_attribute): Use check_user_alignment. | |
2243 | * c-common.h (RID_ALIGNAS, check_user_alignment): New. | |
2244 | ||
86951993 AM |
2245 | 2011-11-06 Andrew MacLeod <amacleod@redhat.com> |
2246 | Richard Henderson <rth@redhat.com> | |
2247 | ||
2248 | Merged from cxx-mem-model. | |
2249 | ||
2250 | * c-cppbuiltin.c (c_cpp_builtins): Test both atomic and sync patterns. | |
9faeb493 | 2251 | * c-common.c (sync_resolve_params, sync_resolve_return): Only tweak |
86951993 AM |
2252 | parameters that are the same type size. |
2253 | (get_atomic_generic_size): New. Find size of generic | |
2254 | atomic function parameters and do typechecking. | |
2255 | (add_atomic_size_parameter): New. Insert size into parameter list. | |
2256 | (resolve_overloaded_atomic_exchange): Restructure __atomic_exchange to | |
2257 | either __atomic_exchange_n or external library call. | |
9faeb493 | 2258 | (resolve_overloaded_atomic_compare_exchange): Restructure |
86951993 | 2259 | __atomic_compare_exchange to either _n variant or external library call. |
9faeb493 | 2260 | (resolve_overloaded_atomic_load): Restructure __atomic_load to either |
86951993 AM |
2261 | __atomic_load_n or an external library call. |
2262 | (resolve_overloaded_atomic_store): Restructure __atomic_store to either | |
2263 | __atomic_store_n or an external library call. | |
2264 | (resolve_overloaded_builtin): Handle new __atomic builtins. | |
2265 | ||
cf9e9959 EB |
2266 | 2011-11-04 Eric Botcazou <ebotcazou@adacore.com> |
2267 | ||
2268 | PR c++/50608 | |
2269 | * c-common.c (c_fully_fold_internal) <ADDR_EXPR>: Call fold_offsetof_1. | |
2270 | (fold_offsetof_1): Make global. Remove STOP_REF argument and adjust. | |
2271 | <INDIRECT_REF>: Return the argument. | |
2272 | <ARRAY_REF>: Remove special code for negative offset. | |
2273 | Call fold_build_pointer_plus instead of size_binop. | |
2274 | (fold_offsetof): Remove STOP_REF argument and adjust. | |
2275 | * c-common.h (fold_offsetof_1): Declare. | |
2276 | (fold_offsetof): Remove STOP_REF argument. | |
2277 | ||
25339f10 JM |
2278 | 2011-11-02 Paolo Carlini <paolo.carlini@oracle.com> |
2279 | ||
2280 | PR c++/50810 | |
2281 | * c-opts.c (c_common_handle_option): Enable -Wnarrowing as part | |
2282 | of -Wall; include -Wnarrowing in -Wc++0x-compat; adjust default | |
2283 | Wnarrowing for C++0x and C++98. | |
2284 | * c.opt ([Wnarrowing]): Update. | |
2285 | ||
89401152 PC |
2286 | 2011-11-01 Paolo Carlini <paolo.carlini@oracle.com> |
2287 | ||
2288 | PR c++/44277 | |
2289 | * c.opt: Add Wzero-as-null-pointer-constant. | |
2290 | ||
97e3ad20 JM |
2291 | 2011-10-31 Jason Merrill <jason@redhat.com> |
2292 | ||
15694fdd JM |
2293 | * c.opt (-fdeduce-init-list): Off by default. |
2294 | ||
97e3ad20 JM |
2295 | PR c++/50920 |
2296 | * c-common.h (cxx_dialect): Add cxx11 and cxx03. | |
2297 | * c.opt: Add -std=c++11, -std=gnu++11, -std=gnu++03, | |
2298 | and -Wc++11-compat. | |
2299 | * c-opts.c (set_std_cxx11): Rename from set_std_cxx0x. | |
2300 | ||
fb9120e3 RAV |
2301 | 2011-10-27 Roberto Agostino Vitillo <ravitillo@lbl.gov> |
2302 | ||
2303 | PR c++/30066 | |
2304 | * c.opt (fvisibility-inlines-hidden): Description change. | |
2305 | ||
3ce4f9e4 ESR |
2306 | 2011-10-26 Ed Smith-Rowland <3dw4rd@verizon.net> |
2307 | ||
2308 | Implement C++11 user-defined literals. | |
2309 | * c-common.c (build_userdef_literal): New. | |
2310 | * c-common.def: New tree code. | |
2311 | * c-common.h (tree_userdef_literal): New tree struct and accessors. | |
2312 | * c-lex.c (interpret_float): Add suffix parm. | |
2313 | (c_lex_with_flags): Build literal tokens. | |
2314 | ||
5f53c243 PC |
2315 | 2011-10-23 Paolo Carlini <paolo.carlini@oracle.com> |
2316 | ||
2317 | PR c++/50841 | |
2318 | Revert: | |
2319 | 2011-10-23 Paolo Carlini <paolo.carlini@oracle.com> | |
2320 | ||
2321 | PR c++/50810 | |
2322 | * c-opts.c (c_common_handle_option): Enable -Wnarrowing as part | |
2323 | of -Wall; include -Wnarrowing in -Wc++0x-compat; adjust default | |
2324 | Wnarrowing for C++0x and C++98. | |
2325 | * c.opt ([Wnarrowing]): Update. | |
2326 | ||
263734e1 PC |
2327 | 2011-10-23 Paolo Carlini <paolo.carlini@oracle.com> |
2328 | ||
2329 | PR c++/50810 | |
2330 | * c-opts.c (c_common_handle_option): Enable -Wnarrowing as part | |
2331 | of -Wall; include -Wnarrowing in -Wc++0x-compat; adjust default | |
2332 | Wnarrowing for C++0x and C++98. | |
2333 | * c.opt ([Wnarrowing]): Update. | |
2334 | ||
d2e312d7 PC |
2335 | 2011-10-21 Paolo Carlini <paolo.carlini@oracle.com> |
2336 | ||
2337 | PR c++/45385 | |
2338 | * c-common.c (conversion_warning): Remove code looking for | |
2339 | artificial operands. | |
2340 | ||
d17687f6 DS |
2341 | 2011-10-18 Dodji Seketeli <dodji@redhat.com> |
2342 | ||
2343 | PR bootstrap/50760 | |
2344 | * c-lex.c (fe_file_change): Use LINEMAP_SYSP when | |
9faeb493 | 2345 | !NO_IMPLICIT_EXTERN_C. |
d17687f6 | 2346 | |
fc8396e9 PC |
2347 | 2011-10-17 Michael Spertus <mike_spertus@symantec.com> |
2348 | ||
2349 | * c-common.c (c_common_reswords): Add __bases, | |
2350 | __direct_bases. | |
2351 | * c-common.h: Add RID_BASES and RID_DIRECT_BASES. | |
2352 | ||
2353 | 2011-10-17 Paolo Carlini <paolo.carlini@oracle.com> | |
2354 | ||
2355 | PR c++/50757 | |
2356 | * c.opt ([Wnonnull]): Add C++ and Objective-C++. | |
2357 | ||
847e697a TT |
2358 | 2011-10-15 Tom Tromey <tromey@redhat.com> |
2359 | Dodji Seketeli <dodji@redhat.com> | |
2360 | ||
2361 | * c.opt (fdebug-cpp): New option. | |
2362 | * c-opts.c (c_common_handle_option): Handle the option. | |
2363 | * c-ppoutput.c (maybe_print_line_1): New static function. Takes an | |
2364 | output stream in parameter. Factorized from ... | |
2365 | (maybe_print_line): ... this. Dump location debug information when | |
2366 | -fdebug-cpp is in effect. | |
2367 | (print_line_1): New static function. Takes an output stream in | |
2368 | parameter. Factorized from ... | |
2369 | (print_line): ... here. Dump location information when -fdebug-cpp | |
2370 | is in effect. | |
2371 | (scan_translation_unit): Dump location information when | |
2372 | -fdebug-cpp is in effect. | |
2373 | ||
92582b75 TT |
2374 | 2011-10-15 Tom Tromey <tromey@redhat.com> |
2375 | Dodji Seketeli <dodji@redhat.com> | |
2376 | ||
2377 | * c.opt (ftrack-macro-expansion): New option. Handle it with and | |
2378 | without argument. | |
2379 | * c-opts.c (c_common_handle_option)<case | |
2380 | OPT_ftrack_macro_expansion_, case OPT_ftrack_macro_expansion>: New | |
2381 | cases. Handle -ftrack-macro-expansion with and without argument. | |
2382 | ||
46427374 TT |
2383 | 2011-10-15 Tom Tromey <tromey@redhat.com> |
2384 | Dodji Seketeli <dodji@redhat.com> | |
2385 | ||
2386 | * c-ppoutput.c (scan_translation_unit, maybe_print_line) | |
2387 | (print_line, cb_define, do_line_change): Adjust to avoid touching | |
2388 | the internals of struct line_map. Use the public API instead. | |
2389 | * c-pch.c (c_common_read_pch): Likewise. | |
2390 | * c-lex.c (fe_file_change): Likewise. | |
2391 | ||
fc8396e9 PC |
2392 | 2011-10-14 Paolo Carlini <paolo.carlini@oracle.com> |
2393 | ||
2394 | PR c++/17212 | |
2395 | * c.opt ([Wformat-zero-length]): Add C++ and Objective-C++. | |
2396 | ||
2397 | 2011-10-11 Paolo Carlini <paolo.carlini@oracle.com> | |
2398 | ||
2399 | PR c++/33067 | |
2400 | * c-pretty-print.c (pp_c_floating_constant): Output | |
2401 | max_digits10 (in the ISO C++ WG N1822 sense) decimal digits. | |
2402 | ||
e79983f4 MM |
2403 | 2011-10-11 Michael Meissner <meissner@linux.vnet.ibm.com> |
2404 | ||
2405 | * c-common.c (def_builtin_1): Delete old interface with two | |
2406 | parallel arrays to hold standard builtin declarations, and replace | |
2407 | it with a function based interface that can support creating | |
2408 | builtins on the fly in the future. Change all uses, and poison | |
2409 | the old names. Make sure 0 is not a legitimate builtin index. | |
2410 | * c-omp.c (c_finish_omp_barrier): Ditto. | |
2411 | (c_finish_omp_taskwait): Ditto. | |
2412 | (c_finish_omp_flush): Ditto. | |
2413 | ||
6637388f TG |
2414 | 2011-10-11 Tristan Gingold <gingold@adacore.com> |
2415 | ||
2416 | * c.opt: (fallow-parameterless-variadic-functions): New. | |
2417 | ||
3797cb21 DS |
2418 | 2011-09-08 Dodji Seketeli <dodji@redhat.com> |
2419 | ||
2420 | PR c++/33255 - Support -Wunused-local-typedefs warning | |
2421 | * c-common.h (struct c_language_function::local_typedefs): New | |
2422 | field. | |
9faeb493 UB |
2423 | (record_locally_defined_typedef, maybe_record_typedef_use) |
2424 | (maybe_warn_unused_local_typedefs): Declare new functions. | |
3797cb21 | 2425 | * c-common.c (record_locally_defined_typedef) |
9faeb493 UB |
2426 | (maybe_record_typedef_use) |
2427 | (maybe_warn_unused_local_typedefs): Define new functions. | |
3797cb21 DS |
2428 | * c.opt: Declare new -Wunused-local-typedefs flag. |
2429 | ||
693ddb1b EB |
2430 | 2011-09-06 Eric Botcazou <ebotcazou@adacore.com> |
2431 | ||
2432 | PR middle-end/50266 | |
2433 | * c-common.c (c_fully_fold_internal) <ADDR_EXPR>: Fold offsetof-like | |
2434 | computations. | |
2435 | ||
830c740f RG |
2436 | 2011-09-05 Richard Guenther <rguenther@suse.de> |
2437 | ||
2438 | * c-common.c (complete_array_type): Use ssize_int (-1) instead | |
2439 | of integer_minus_one_node for empty array upper bounds. | |
2440 | ||
892a371f DS |
2441 | 2011-08-28 Dodji Seketeli <dodji@redhat.com> |
2442 | ||
2443 | * c-pch.c (c_common_read_pch): Call linemap_add with LC_ENTER as | |
2444 | it's the first time it's being called on this main TU. | |
2445 | ||
0e3fdb48 RB |
2446 | 2011-08-24 Richard Guenther <rguenther@suse.de> |
2447 | ||
2448 | PR c/49396 | |
2449 | * c-cppbuiltin.c (c_cpp_builtins_optimize_pragma): Fix conditional. | |
2450 | ||
2451 | 2011-08-22 Gabriel Charette <gchare@google.com> | |
e3dfef44 GC |
2452 | |
2453 | * c-opts.c (c_finish_options): Force BUILTINS_LOCATION for tokens | |
2454 | defined in cpp_init_builtins and c_cpp_builtins. | |
2455 | ||
d4a83c10 JM |
2456 | 2011-08-19 Joseph Myers <joseph@codesourcery.com> |
2457 | ||
2458 | * c-common.c (c_common_reswords): Add __builtin_complex. | |
2459 | * c-common.h (RID_BUILTIN_COMPLEX): New. | |
2460 | ||
bbceee64 JM |
2461 | 2011-08-18 Joseph Myers <joseph@codesourcery.com> |
2462 | ||
2463 | * c-common.c (c_common_reswords): Add _Noreturn. | |
2464 | (keyword_is_function_specifier): Handle RID_NORETURN. | |
2465 | * c-common.h (RID_NORETURN): New. | |
2466 | ||
0e3a99ae AS |
2467 | 2011-08-10 Artjoms Sinkarovs <artyom.shinakroff@gmail.com> |
2468 | ||
2469 | * c-common.c (unsafe_conversion_p): New function. Check if it is | |
2470 | unsafe to convert an expression to the type. | |
2471 | (conversion_warning): Adjust, use unsafe_conversion_p. | |
2472 | * c-common.h (unsafe_conversion_p): New function declaration. | |
2473 | ||
20906c66 JJ |
2474 | 2011-08-02 Jakub Jelinek <jakub@redhat.com> |
2475 | ||
2476 | * c-common.h (c_finish_omp_atomic): Adjust prototype. | |
2477 | (c_finish_omp_taskyield): New prototype. | |
2478 | * c-omp.c (c_finish_omp_atomic): Add OPCODE, V, LHS1 and RHS1 | |
2479 | arguments. Handle OMP_ATOMIC_READ, OMP_ATOMIC_CAPTURE_OLD and | |
2480 | OMP_ATOMIC_CAPTURE_NEW in addition to OMP_ATOMIC. If LHS1 | |
2481 | or RHS1 have side-effects, evaluate those too in the right spot, | |
2482 | if it is a decl and LHS is also a decl, error out if they | |
2483 | aren't the same. | |
2484 | (c_finish_omp_taskyield): New function. | |
2485 | * c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP to 201107. | |
2486 | * c-pragma.c (omp_pragmas): Add taskyield. | |
2487 | * c-pragma.h (enum pragma_kind): Add PRAGMA_OMP_TASKYIELD. | |
2488 | (enum pragma_omp_clause): Add PRAGMA_OMP_CLAUSE_FINAL and | |
2489 | PRAGMA_OMP_CLAUSE_MERGEABLE. | |
2490 | ||
770e5a2e DS |
2491 | 2011-07-25 Dodji Seketeli <dodji@redhat.com> |
2492 | ||
2493 | * c-common.h (set_underlying_type): Remove parm name from | |
2494 | declaration. | |
2495 | ||
1baae426 RG |
2496 | 2011-07-25 Romain Geissler <romain.geissler@gmail.com> |
2497 | ||
2498 | * c-pretty-print.h: Search c-common.h in c-family. | |
9faeb493 | 2499 | |
fcb21722 JM |
2500 | 2011-07-22 Jason Merrill <jason@redhat.com> |
2501 | ||
76f86d00 JM |
2502 | PR c++/49793 |
2503 | * c.opt (Wnarrowing): New. | |
2504 | ||
3a636414 JM |
2505 | PR c++/30112 |
2506 | * c-common.h: Declare c_linkage_bindings. | |
2507 | * c-pragma.c (handle_pragma_redefine_extname): Use it. | |
2508 | ||
fcb21722 JM |
2509 | PR c++/49813 |
2510 | * c-opts.c (set_std_cxx0x): Set flag_isoc94 and flag_isoc99. | |
2511 | * c-pretty-print.c (pp_c_cv_qualifiers): Check c_dialect_cxx as well | |
2512 | as flag_isoc99 for 'restrict'. | |
2513 | (pp_c_specifier_qualifier_list): Likewise for _Complex. | |
2514 | ||
02614448 ILT |
2515 | 2011-07-21 Ian Lance Taylor <iant@google.com> |
2516 | ||
2517 | PR middle-end/49705 | |
2518 | * c-common.c (c_disable_warnings): New static function. | |
2519 | (c_enable_warnings): New static function. | |
2520 | (c_fully_fold_internal): Change local unused_p to bool. Call | |
2521 | c_disable_warnings and c_enable_warnings rather than change | |
2522 | c_inhibit_evaluation_warnings. | |
2523 | ||
34429675 JM |
2524 | 2011-07-20 Jason Merrill <jason@redhat.com> |
2525 | ||
2526 | PR c++/6709 (DR 743) | |
2527 | PR c++/42603 (DR 950) | |
2528 | * c-common.h (CPP_KEYWORD, CPP_TEMPLATE_ID): Move from cp/parser.h. | |
2529 | (CPP_NESTED_NAME_SPECIFIER, N_CP_TTYPES): Likewise. | |
2530 | (CPP_DECLTYPE): New. | |
2531 | * c-common.c (c_parse_error): Handle CPP_DECLTYPE. | |
2532 | ||
5d49b6a7 RG |
2533 | 2011-07-19 Richard Guenther <rguenther@suse.de> |
2534 | ||
2535 | * c-common.c (pointer_int_sum): Use fold_build_pointer_plus. | |
2536 | * c-omp.c (c_finish_omp_for): Likewise. | |
2537 | ||
e84a58ff EB |
2538 | 2011-07-12 Eric Botcazou <ebotcazou@adacore.com> |
2539 | ||
2540 | * c-ada-spec.c (dump_nested_types): Put semi-colon after empty loop | |
2541 | body on the next line. | |
2542 | ||
329af3c7 JM |
2543 | 2011-07-08 Jason Merrill <jason@redhat.com> |
2544 | ||
4063e61b JM |
2545 | PR c++/45437 |
2546 | * c-omp.c (check_omp_for_incr_expr): Handle preevaluation. | |
2547 | ||
329af3c7 JM |
2548 | PR c++/49673 |
2549 | * c-common.c (c_apply_type_quals_to_decl): Don't check | |
2550 | TYPE_NEEDS_CONSTRUCTING. | |
2551 | ||
1a072294 RG |
2552 | 2011-07-06 Richard Guenther <rguenther@suse.de> |
2553 | ||
2554 | * c-common.c (c_common_nodes_and_builtins): | |
2555 | Merge calls to build_common_tree_nodes and build_common_tree_nodes_2. | |
2556 | ||
fce5dddd RG |
2557 | 2011-07-05 Richard Guenther <rguenther@suse.de> |
2558 | ||
2559 | * c-common.c (c_common_nodes_and_builtins): Build all common | |
2560 | tree nodes first. | |
2561 | ||
45d439ac JJ |
2562 | 2011-06-27 Jakub Jelinek <jakub@redhat.com> |
2563 | ||
56300785 JJ |
2564 | * c-common.h (c_tree_chain_next): New static inline function. |
2565 | ||
45d439ac JJ |
2566 | * c-common.c (check_builtin_function_arguments): Handle |
2567 | BUILT_IN_ASSUME_ALIGNED. | |
2568 | ||
e0a8ecf2 AM |
2569 | 2011-06-21 Andrew MacLeod <amacleod@redhat.com> |
2570 | ||
2571 | * c-common.c: Add sync_ or SYNC__ to builtin names. | |
2572 | * c-omp.c: Add sync_ or SYNC__ to builtin names. | |
dfb43cd5 PV |
2573 | |
2574 | 2011-06-20 Pierre Vittet <piervit@pvittet.com> | |
2575 | ||
2576 | * c-pragma.h (pragma_handler_1arg, pragma_handler_2arg): New | |
2577 | handler. | |
2578 | (gen_pragma_handler): New union. | |
2579 | (internal_pragma_handler): New type. | |
2580 | (c_register_pragma_with_data) | |
2581 | (c_register_pragma_with_expansion_and_data): New functions. | |
2582 | ||
2583 | * c-pragma.c (registered_pragmas, c_register_pragma_1) | |
2584 | (c_register_pragma, c_register_pragma_with_expansion) | |
2585 | (c_invoke_pragma_handler): Changed to work with | |
2586 | internal_pragma_handler. | |
2587 | (c_register_pragma_with_data) | |
2588 | (c_register_pragma_with_expansion_and_data): New functions. | |
2589 | ||
677f3fa8 JM |
2590 | 2011-06-14 Joseph Myers <joseph@codesourcery.com> |
2591 | ||
2592 | * c-common.c: Include common/common-target.h. | |
2593 | (handle_section_attribute): Use | |
2594 | targetm_common.have_named_sections. | |
2595 | * c-cppbuiltin.c: Include common/common-target.h. | |
2596 | (c_cpp_builtins): Use targetm_common.except_unwind_info. | |
2597 | ||
d7fc8c14 RG |
2598 | 2011-06-10 Richard Guenther <rguenther@suse.de> |
2599 | ||
2600 | * c-pretty-print.c (pp_c_type_specifier): Use pp_c_identifier | |
2601 | to print a IDENTIFIER_NODE. | |
2602 | ||
10e48e39 RO |
2603 | 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2604 | Joseph Myers <joseph@codesourcery.com> | |
2605 | ||
2606 | * c.opt (fbuilding-libgcc): New option. | |
2607 | * c-cppbuiltin.c (c_cpp_builtins): Define | |
2608 | __LIBGCC_TRAMPOLINE_SIZE__ if flag_building_libgcc. | |
2609 | ||
6976ae51 JM |
2610 | 2011-06-07 Jason Merrill <jason@redhat.com> |
2611 | ||
3ff60975 JM |
2612 | * c-common.c (max_tinst_depth): Lower default to 900. |
2613 | ||
6976ae51 JM |
2614 | * c-format.c (gcc_cxxdiag_char_table): Add 'S' format. |
2615 | ||
009db074 RG |
2616 | 2011-06-07 Richard Guenther <rguenther@suse.de> |
2617 | ||
2618 | * c-common.c (c_common_nodes_and_builtins): Do not set | |
2619 | size_type_node or call set_sizetype. | |
2620 | ||
b4592b92 DS |
2621 | 2011-06-07 Dodji Seketeli <dodji@redhat.com> |
2622 | ||
2623 | PR debug/49130 | |
2624 | * c-pretty-print.c (pp_c_integer_constant): Consider the canonical | |
9faeb493 | 2625 | type when using pointer comparison to compare types. |
b4592b92 | 2626 | |
014ab419 JW |
2627 | 2011-06-02 Jonathan Wakely <jwakely.gcc@gmail.com> |
2628 | ||
2629 | * c.opt: Add -Wdelete-non-virtual-dtor. | |
2630 | * c-opts.c (c_common_handle_option): Include it in -Wall. | |
2631 | ||
4f60111f NF |
2632 | 2011-05-30 Nathan Froyd <froydnj@gcc.gnu.org> |
2633 | ||
2634 | PR bootstrap/49190 | |
2635 | ||
2636 | Revert: | |
2637 | 2011-05-26 Nathan Froyd <froydnj@codesourcery.com> | |
2638 | ||
2639 | * c-common.h (struct c_common_identifier): Inherit from tree_typed, | |
2640 | not tree_common. | |
2641 | ||
4cc4f2f4 JJ |
2642 | 2011-05-27 Jakub Jelinek <jakub@redhat.com> |
2643 | ||
2644 | PR c++/49165 | |
2645 | * c-common.c (c_common_truthvalue_conversion) <case COND_EXPR>: For | |
2646 | C++ don't call c_common_truthvalue_conversion on void type arms. | |
2647 | ||
38e01f9e NF |
2648 | 2011-05-27 Nathan Froyd <froydnj@codesourcery.com> |
2649 | ||
2650 | * c-common.h (struct stmt_tree_s) [x_cur_stmt_list]: Change to a VEC. | |
2651 | (stmt_list_stack): Define. | |
2652 | (cur_stmt_list): Adjust for new type of x_cur_stmt_list. | |
2653 | * c-semantics.c (push_stmt_list, pop_stmt_list): Likewise. | |
2654 | ||
92e948a8 NF |
2655 | 2011-05-26 Nathan Froyd <froydnj@codesourcery.com> |
2656 | ||
2657 | * c-common.c (warning_candidate_p): Check for BLOCKs. | |
2658 | ||
a2fc3e63 NF |
2659 | 2011-05-26 Nathan Froyd <froydnj@codesourcery.com> |
2660 | ||
2661 | * c-common.h (struct c_common_identifier): Inherit from tree_typed, | |
2662 | not tree_common. | |
2663 | ||
0957c029 JJ |
2664 | 2011-05-25 Jakub Jelinek <jakub@redhat.com> |
2665 | ||
2666 | * c-common.c (def_fn_type): Remove extra va_end. | |
2667 | ||
828fb3ba JM |
2668 | 2011-05-23 Jason Merrill <jason@redhat.com> |
2669 | ||
2670 | PR c++/48106 | |
2671 | * c-common.c (c_common_get_narrower): New. | |
2672 | (shorten_binary_op, shorten_compare, warn_for_sign_compare): Use it. | |
2673 | ||
dde05067 NF |
2674 | 2011-05-23 Nathan Froyd <froydnj@codesourcery.com> |
2675 | ||
2676 | * c-common.h (check_function_arguments): Tweak prototype of | |
2677 | check_function_arguments. | |
2678 | * c-common.c (check_function_arguments): Likewise. Adjust | |
2679 | calls to check_function_nonnull, check_function_format, and | |
2680 | check_function_sentinel. | |
2681 | (check_function_sentinel): Take a FUNCTION_TYPE rather than | |
2682 | separate attributes and typelist arguments. Use | |
2683 | FOREACH_FUNCTION_ARGS to iterate over argument types. | |
2684 | ||
3c0d13bf PC |
2685 | 2011-05-15 Paolo Carlini <paolo.carlini@oracle.com> |
2686 | ||
2687 | * c-common.c (c_common_reswords): Reorder. | |
2688 | * c-common.h (rid): Likewise. | |
2689 | ||
8242dd04 NF |
2690 | 2011-05-10 Nathan Froyd <froydnj@codesourcery.com> |
2691 | ||
2692 | * c-common.c (def_fn_type): Don't call build_function_type, call | |
2693 | build_function_type_array or build_varargs_function_type_array | |
2694 | instead. | |
2695 | (c_common_nodes_and_builtins): Likewise. | |
2696 | ||
3d528853 NF |
2697 | 2011-05-05 Nathan Froyd <froydnj@codesourcery.com> |
2698 | ||
2699 | * c-common.c (c_add_case_label): Omit the loc argument to | |
2700 | build_case_label. | |
2701 | * c-common.h (build_case_label): Remove. | |
2702 | * c-semantics.c (build_case_label): Remove. | |
2703 | ||
a04a722b JM |
2704 | 2011-05-05 Joseph Myers <joseph@codesourcery.com> |
2705 | ||
2706 | * c-objc.h (objc_start_method_definition): Update prototype. | |
2707 | * stub-objc.c (objc_start_method_definition): Add extra parameter. | |
2708 | ||
e19a18d4 NF |
2709 | 2011-05-04 Nathan Froyd <froydnj@codesourcery.com> |
2710 | ||
2711 | * c-common.c (check_main_parameter_types): Reindent. Don't use | |
2712 | TYPE_ARG_TYPES directly. | |
2713 | (handle_nonnull_attribute): Likewise. | |
2714 | (sync_resolve_params): Likewise. | |
2715 | * c-format.c (handle_format_arg_attribute): Likewise. Adjust call | |
2716 | to check_format_string. | |
2717 | (handle_format_attribute): Likewise. | |
2718 | (check_format_string): Take a function type to examine instead of | |
2719 | a type list. Use a function_arg_iterator to step through argument | |
2720 | types. | |
2721 | ||
c62c040f RG |
2722 | 2011-05-04 Richard Guenther <rguenther@suse.de> |
2723 | ||
2724 | * c-common.c (fix_string_type): Use size_int for index type bounds. | |
2725 | (start_fname_decls): Do not pass NULL to build_int_cst. | |
2726 | (c_init_attributes): Likewise. | |
2727 | * c-lex.c (c_lex_with_flags): Likewise. | |
2728 | ||
c12ff9d8 JM |
2729 | 2011-04-27 Jason Merrill <jason@redhat.com> |
2730 | ||
2731 | * c-common.c (make_tree_vector_from_list): New. | |
2732 | * c-common.h: Declare it. | |
2733 | ||
304dfbe3 RG |
2734 | 2011-04-26 Richard Guenther <rguenther@suse.de> |
2735 | ||
2736 | PR preprocessor/48248 | |
2737 | * c-ppoutput.c (maybe_print_line): Always optimize newlines | |
2738 | for output size with -P. | |
2739 | ||
3c0d13bf PC |
2740 | 2011-04-25 Paolo Carlini <paolo.carlini@oracle.com> |
2741 | ||
2742 | * c-common.c (struct c_common_resword): Add __underlying_type. | |
2743 | * c-common.h (enum rid): Add RID_UNDERLYING_TYPE. | |
2744 | ||
04695783 JM |
2745 | 2011-04-20 Jim Meyering <meyering@redhat.com> |
2746 | ||
2747 | * c-format.c (init_dollar_format_checking): Remove useless | |
2748 | if-before-free. | |
2749 | ||
0dc33c3c NP |
2750 | 2011-04-15 Nicola Pero <nicola.pero@meta-innovation.com> |
2751 | ||
2752 | * c-objc.h (objc_get_interface_ivars): Removed. | |
3c0d13bf | 2753 | (objc_detect_field_duplicates): New. |
0dc33c3c | 2754 | * stub-objc.c: Likewise. |
3c0d13bf | 2755 | |
c59633d9 NP |
2756 | 2011-04-14 Nicola Pero <nicola.pero@meta-innovation.com> |
2757 | ||
2758 | * stub-objc.c (objc_declare_protocols): Renamed to | |
2759 | objc_declare_protocol. | |
2760 | * c-objc.h: Likewise. | |
3c0d13bf | 2761 | |
32dabdaf NP |
2762 | 2011-04-14 Nicola Pero <nicola.pero@meta-innovation.com> |
2763 | ||
2764 | * stub-objc.c (objc_declare_class): Updated argument name. | |
2765 | ||
81f653d6 NF |
2766 | 2011-04-12 Nathan Froyd <froydnj@codesourcery.com> |
2767 | ||
2768 | * c-common.h (c_common_init_ts): Declare. | |
2769 | * c-common.c (c_common_init_ts): Define. | |
2770 | ||
eb345401 NP |
2771 | 2011-04-12 Nicola Pero <nicola.pero@meta-innovation.com> |
2772 | ||
2773 | * c-objc.h (objc_build_message_expr): Updated prototype. | |
2774 | * stub-objc.c (objc_build_message_expr): Likewise. | |
9faeb493 | 2775 | |
a358e188 MJ |
2776 | 2011-04-12 Martin Jambor <mjambor@suse.cz> |
2777 | ||
2778 | * c-gimplify.c (c_genericize): Call cgraph_get_create_node instead | |
2779 | of cgraph_node. | |
2780 | ||
e6313a78 RG |
2781 | 2011-04-11 Richard Guenther <rguenther@suse.de> |
2782 | ||
2783 | * c-common.c (complete_array_type): Build a range type of | |
2784 | proper type. | |
2785 | ||
dcf0c47e NF |
2786 | 2011-04-08 Nathan Froyd <froydnj@codesourcery.com> |
2787 | ||
2788 | * c-common.c (handle_sentinel_attribute): Don't use TYPE_ARG_TYPES. | |
2789 | (handle_type_generic_attribute): Likewise. | |
2790 | ||
1ee44b26 JM |
2791 | 2011-04-07 Jason Merrill <jason@redhat.com> |
2792 | ||
2793 | PR c++/48450 | |
2794 | * c-common.c (c_common_truthvalue_conversion): Don't ignore | |
2795 | conversion from C++0x scoped enum. | |
2796 | ||
acce4e77 JM |
2797 | 2011-04-06 Joseph Myers <joseph@codesourcery.com> |
2798 | ||
2799 | * c-target-def.h: New file. | |
2800 | * c-target.def: New file. | |
2801 | * c-target.h: New file. | |
2802 | * c-common.c (targetcm): Don't define here. | |
2803 | * c-common.h (default_handle_c_option): Declare. | |
2804 | * c-format.c: Include c-target.h instead of target.h. | |
2805 | * c-opts.c: Include c-target.h instead of target.h. Explicitly | |
2806 | include tm.h. | |
2807 | (default_handle_c_option): Move from targhooks.c. | |
2808 | ||
e2eefb55 JJ |
2809 | 2011-03-29 Jakub Jelinek <jakub@redhat.com> |
2810 | ||
2811 | PR preprocessor/48248 | |
2812 | * c-ppoutput.c (print): Add src_file field. | |
2813 | (init_pp_output): Initialize it. | |
2814 | (maybe_print_line): Don't optimize by adding up to 8 newlines | |
2815 | if map->to_file and print.src_file are different file. | |
2816 | (print_line): Update print.src_file. | |
2817 | ||
ba78087b KT |
2818 | 2011-03-25 Kai Tietz <ktietz@redhat.com> |
2819 | ||
2820 | * c-ada-spec.c (compare_comment): Use filename_cmp | |
2821 | instead of strcmp for filename. | |
2822 | ||
0edf1bb2 JL |
2823 | 2011-03-25 Jeff Law <law@redhat.com> |
2824 | ||
2825 | * c-family/c-common.c (def_fn_type): Add missing va_end. | |
2826 | ||
c7dc8804 JM |
2827 | 2011-03-25 Jason Merrill <jason@redhat.com> |
2828 | ||
2829 | * c.opt: Add -std=c++03. | |
2830 | ||
d1d879b1 EB |
2831 | 2011-03-22 Eric Botcazou <ebotcazou@adacore.com> |
2832 | ||
2833 | * c-ada-spec.c (dump_ada_template): Skip non-class instances. | |
2834 | ||
62d784f7 KT |
2835 | 2011-03-17 Kai Tietz |
2836 | ||
2837 | PR target/12171 | |
5050afdf KT |
2838 | * c-pretty-print.c (pp_c_specifier_qualifier_list): |
2839 | Display allowed attributes for function pointer types. | |
2840 | (pp_c_attributes_display): New function to display | |
2841 | attributes having affects_type_identity flag set to true. | |
2842 | * c-pretty-print.h (pp_c_attributes_display): New prototype. | |
2843 | ||
62d784f7 KT |
2844 | * c-common.c (c_common_attribute_table): |
2845 | Add new element. | |
2846 | (c_common_format_attribute_table): Likewise. | |
2847 | ||
82d37118 JM |
2848 | 2011-03-18 Jason Merrill <jason@redhat.com> |
2849 | ||
49a000c3 JM |
2850 | * c.opt (fconstexpr-depth): Add Var(max_constexpr_depth). |
2851 | * c-common.h: Don't declare it here. | |
2852 | * c-common.c: Or define it here. | |
2853 | * c-opts.c (c_common_handle_option): Or set it here. | |
2854 | ||
82d37118 JM |
2855 | PR c++/35315 |
2856 | * c-common.c (handle_transparent_union_attribute): Don't | |
2857 | make a duplicate type in C++. | |
2858 | ||
17bc631c JM |
2859 | 2011-03-15 Jason Merrill <jason@redhat.com> |
2860 | ||
2861 | * c-common.c (max_constexpr_depth): New. | |
2862 | * c-common.h: Declare it. | |
2863 | * c-opts.c (c_common_handle_option): Set it. | |
2864 | * c.opt (fconstexpr-depth): New option. | |
2865 | ||
1b9b91a6 JM |
2866 | 2011-03-11 Jason Merrill <jason@redhat.com> |
2867 | ||
f231b5ff JM |
2868 | * c-common.c (attribute_takes_identifier_p): Add missing const. |
2869 | ||
1b9b91a6 JM |
2870 | PR c++/46803 |
2871 | * c-common.c (attribute_takes_identifier_p): Assume that an | |
2872 | unknown attribute takes an identifier. | |
2873 | ||
a19e4d44 NF |
2874 | 2011-03-07 Nathan Froyd <froydnj@codesourcery.com> |
2875 | ||
2876 | PR c/47786 | |
2877 | * c-common.c (c_type_hash): Call list_length instead of iterating | |
2878 | through DECL_CHAIN. Rename 'i' to 'n_elements'. | |
2879 | ||
982d62f6 JJ |
2880 | 2011-02-19 Jakub Jelinek <jakub@redhat.com> |
2881 | ||
2882 | PR c/47809 | |
2883 | * c-common.c (c_fully_fold_internal): Handle VIEW_CONVERT_EXPR. | |
2884 | ||
0a256240 NP |
2885 | 2011-02-17 Iain Sandoe <iains@gcc.gnu.org> |
2886 | ||
2887 | * c.opt (fobjc-abi-version=) New. | |
2888 | (fobjc-nilcheck): New. | |
2889 | ||
ba9e6dd5 NF |
2890 | 2011-02-03 Nathan Froyd <froydnj@codesourcery.com> |
2891 | ||
2892 | PR c++/46890 | |
2893 | * c-common.h (keyword_is_decl_specifier): Declare. | |
2894 | * c-common.c (keyword_is_decl_specifier): Define. | |
2895 | (keyword_is_function_specifier): New function. | |
2896 | ||
7273813a JJ |
2897 | 2011-01-26 Jakub Jelinek <jakub@redhat.com> |
2898 | ||
2899 | PR c/47473 | |
2900 | * c-lex.c (interpret_float): If CPP_N_IMAGINARY, ensure | |
2901 | EXCESS_PRECISION_EXPR is created with COMPLEX_TYPE instead of | |
2902 | REAL_TYPE. | |
2903 | ||
908ef79b AC |
2904 | 2011-01-26 Arnaud Charlet <charlet@adacore.com> |
2905 | ||
2906 | * c-ada-spec.c (dump_generic_ada_node): Avoid dereferencing null type. | |
2907 | ||
237e9384 JJ |
2908 | 2011-01-26 Jakub Jelinek <jakub@redhat.com> |
2909 | ||
2910 | PR pch/47430 | |
2911 | * c-opts.c (c_common_post_options): Call c_common_no_more_pch | |
2912 | after init_c_lex if pch_file is set. | |
2913 | ||
47ea1edf DK |
2914 | 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com> |
2915 | ||
d4dba752 | 2916 | PR c++/43601 |
47ea1edf DK |
2917 | * c.opt (-fkeep-inline-dllexport): New switch. |
2918 | ||
2aa9c6ae RG |
2919 | 2011-01-12 Richard Guenther <rguenther@suse.de> |
2920 | ||
2921 | PR middle-end/32511 | |
2922 | * c-common.c (handle_weak_attribute): Warn instead of error | |
2923 | on declaring an inline function weak. | |
2924 | ||
7bd11157 TT |
2925 | 2011-01-05 Tom Tromey <tromey@redhat.com> |
2926 | ||
2927 | * c-common.h (lvalue_error): Update. | |
2928 | * c-common.c (lvalue_error): Add 'loc' argument. Call error_at, | |
2929 | not error. | |
2930 | ||
0e66e494 | 2931 | 2010-12-29 Nicola Pero <nicola.pero@meta-innovation.com> |
9faeb493 | 2932 | |
b4f588c4 NP |
2933 | PR objc/47075 |
2934 | * c-objc.h (objc_finish_message_expr): Added argument to | |
2935 | prototype. | |
2936 | ||
f4da8dce NF |
2937 | 2010-12-22 Nathan Froyd <froydnj@codesourcery.com> |
2938 | ||
2939 | * c-common.c (handle_nonnull_attribute, handle_sentinel_attribute): | |
2940 | Use prototype_p. | |
2941 | ||
46270f14 NP |
2942 | 2010-12-18 Nicola Pero <nicola.pero@meta-innovation.com> |
2943 | ||
2944 | * c-objc.h (objc_maybe_warn_exceptions): New. | |
9faeb493 | 2945 | * stub-objc.c (objc_maybe_warn_exceptions): New. |
46270f14 | 2946 | |
4816c593 NF |
2947 | 2010-12-10 Nathan Froyd <froydnj@codesourcery.com> |
2948 | ||
2949 | * c-common.h (readonly_error): Declare. | |
2950 | * c-common.c (readonly_error): Define. | |
2951 | ||
7a6daeb0 NF |
2952 | 2010-12-09 Nathan Froyd <froydnj@codesourcery.com> |
2953 | ||
2954 | * c-common.h (invalid_indirection_error): Declare. | |
2955 | * c-common.c (invalid_indirection_error): Define. | |
2956 | ||
892f6119 RG |
2957 | 2010-12-03 Richard Guenther <rguenther@suse.de> |
2958 | ||
2959 | PR c/46745 | |
2960 | * c-pretty-print.c (pp_c_postfix_expression): Handle MEM_REF. | |
2961 | (pp_c_unary_expression): Likewise. | |
2962 | (pp_c_expression): Likewise. | |
2963 | ||
6c39e757 NP |
2964 | 2010-11-30 Nicola Pero <nicola.pero@meta-innovation.com> |
2965 | ||
2966 | * c-common.h (objc_finish_function): New. | |
2967 | (objc_non_volatilized_type): Removed. | |
2968 | (objc_type_quals_match): Removed. | |
2969 | * stub-objc.c (objc_finish_function): New. | |
2970 | (objc_non_volatilized_type): Removed. | |
2971 | (objc_type_quals_match): Removed. | |
9faeb493 | 2972 | |
7c475d11 JM |
2973 | 2010-11-30 Joseph Myers <joseph@codesourcery.com> |
2974 | ||
2975 | * c-common.h (parse_optimize_options): Declare. | |
2976 | * c-cppbuiltin.c, c-format.c, c-gimplify.c, c-lex.c, c-omp.c, | |
2977 | c-pch.c, c-pragma.c, c-semantics.c: Don't include toplev.h. | |
2978 | ||
71f3e391 JM |
2979 | 2010-11-29 Joseph Myers <joseph@codesourcery.com> |
2980 | ||
2981 | * c-opts.c (check_deps_environment_vars): Use getenv instead of | |
2982 | GET_ENVIRONMENT. | |
2983 | * c-pch.c (O_BINARY): Don't define here. | |
2984 | * c-pragma.h: Include "cpplib.h" instead of <cpplib.h>. | |
2985 | ||
d5fabb58 JM |
2986 | 2010-11-25 Joseph Myers <joseph@codesourcery.com> |
2987 | ||
2988 | * c-cppbuiltin.c (c_cpp_builtins): Pass &global_options to | |
2989 | targetm.except_unwind_info. | |
2990 | ||
299404a1 JM |
2991 | 2010-11-23 Joseph Myers <joseph@codesourcery.com> |
2992 | ||
2993 | * c-opts.c (c_common_handle_option): Pass location to | |
2994 | set_struct_debug_option. | |
2995 | ||
c98cd5bf JM |
2996 | 2010-11-23 Joseph Myers <joseph@codesourcery.com> |
2997 | ||
2998 | * c-common.c (visibility_options): Move from ../opts.c. | |
2999 | * c-common.h (struct visibility_flags, visibility_options): | |
3000 | Declare here. | |
3001 | * c-opts.c (finish_options): Rename to c_finish_options. | |
3002 | (c_common_init): Update call to finish_options. | |
3003 | ||
a9546771 NP |
3004 | 2010-11-22 Nicola Pero <nicola.pero@meta-innovation.com> |
3005 | ||
3006 | PR objc/34033 | |
3007 | * c-lex.c (lex_string): Check that each string in an Objective-C | |
3008 | string concat sequence starts with either one or zero '@', and | |
3009 | that there are no spurious '@' signs at the end. | |
3010 | ||
24a57808 JM |
3011 | 2010-11-20 Joseph Myers <joseph@codesourcery.com> |
3012 | ||
3013 | * c-pragma.c: Remove conditionals on HANDLE_PRAGMA_PACK, | |
3014 | HANDLE_PRAGMA_PACK_PUSH_POP, HANDLE_PRAGMA_WEAK and | |
3015 | HANDLE_PRAGMA_VISIBILITY. | |
3016 | * c-pragma.h (HANDLE_PRAGMA_WEAK, HANDLE_PRAGMA_PACK, | |
3017 | HANDLE_PRAGMA_VISIBILITY): Don't define. | |
3018 | (HANDLE_SYSV_PRAGMA, HANDLE_PRAGMA_PACK_PUSH_POP): Don't test. | |
3019 | ||
a9aa2c3a NF |
3020 | 2010-11-20 Nathan Froyd <froydnj@codesourcery.com> |
3021 | ||
3022 | PR c++/16189 | |
3023 | PR c++/36888 | |
3024 | PR c++/45331 | |
3025 | * c-common.h (keyword_begins_type_specifier): Declare. | |
3026 | (keyword_is_storage_class_specifier): Declare. | |
3027 | (keyword_is_type_qualifier): Declare. | |
3028 | * c-common.c (keyword_begins_type_specifier): New function. | |
3029 | (keyword_is_storage_class_specifier): New function. | |
3030 | (keyword_is_type_qualifier): Declare. | |
3031 | ||
5386338c JM |
3032 | 2010-11-19 Joseph Myers <joseph@codesourcery.com> |
3033 | ||
3034 | PR c/46547 | |
3035 | * c-common.c (in_late_binary_op): Define. | |
3036 | (c_common_truthvalue_conversion): Check in_late_binary_op before | |
3037 | calling c_save_expr. | |
3038 | * c-common.h (in_late_binary_op): Declare. | |
3039 | ||
69ccdddb JM |
3040 | 2010-11-19 Joseph Myers <joseph@codesourcery.com> |
3041 | ||
3042 | * c-opts.c (c_common_handle_option): Update calls to | |
3043 | set_struct_debug_option. | |
3044 | ||
6b192a09 NP |
3045 | 2010-11-19 Nicola Pero <nicola.pero@meta-innovation.com> |
3046 | ||
3047 | * c-common.h (objc_declare_protocols): Added additional argument. | |
3048 | * stub-objc.c (objc_declare_protocol): Same change. | |
9faeb493 | 3049 | |
fb52b50a NF |
3050 | 2010-11-18 Nathan Froyd <froydnj@codesourcery.com> |
3051 | ||
3052 | PR c/33193 | |
3053 | * c-common.h (build_real_imag_expr): Declare. | |
3054 | * c-semantics.c (build_real_imag_expr): Define. | |
3055 | ||
b37421c6 JM |
3056 | 2010-11-17 Joseph Myers <joseph@codesourcery.com> |
3057 | ||
3058 | * c-opts.c (c_common_parse_file): Take no arguments. | |
3059 | * c-common.h (c_common_parse_file): Update prototype. | |
3060 | ||
07078664 JJ |
3061 | 2010-11-16 Jakub Jelinek <jakub@redhat.com> |
3062 | ||
3063 | PR c++/46401 | |
3064 | * c-common.c (warning_candidate_p): Don't track non-const calls | |
3065 | or STRING_CSTs. | |
3066 | ||
c6a13190 ILT |
3067 | 2010-11-15 Ian Lance Taylor <iant@google.com> |
3068 | ||
3069 | * c-lex.c (init_c_lex): Set macro debug callbacks if | |
3070 | flag_dump_go_spec is set. | |
3071 | ||
925e8657 NP |
3072 | 2010-11-15 Nicola Pero <nicola.pero@meta-innovation.com> |
3073 | ||
3074 | * c-common.h (objc_build_incr_expr_for_property_ref): New. | |
3075 | * stub-objc.c (objc_build_incr_expr_for_property_ref): New. | |
3076 | ||
bb0a9581 NF |
3077 | 2010-11-15 Nathan Froyd <froydnj@codesourcery.com> |
3078 | ||
3079 | PR preprocessor/45038 | |
3080 | * c-cppbuiltin.c (c_cpp_builtins): Use different format for C++ | |
3081 | dialects. | |
3082 | ||
c5fa0890 JM |
3083 | 2010-11-12 Joseph Myers <joseph@codesourcery.com> |
3084 | ||
3085 | * c-common.h (c_family_lang_mask): Declare. | |
3086 | * c-opts.c (c_family_lang_mask): Make extern. | |
3087 | * c-pragma.c (handle_pragma_diagnostic): Use | |
3088 | control_warning_option. | |
3089 | ||
a4d8c676 JM |
3090 | 2010-11-12 Joseph Myers <joseph@codesourcery.com> |
3091 | ||
3092 | * c-common.c (parse_optimize_options): Update call to | |
3093 | decode_options. | |
3094 | * c-common.h (c_common_handle_option): Update prototype. | |
3095 | * c-opts.c (c_common_handle_option): Take location_t parameter and | |
3096 | pass it to other functions. | |
3097 | ||
f954bd2c JM |
3098 | 2010-11-11 Joseph Myers <joseph@codesourcery.com> |
3099 | ||
3100 | * c-opts.c (warning_as_error_callback): Remove. | |
3101 | (c_common_initialize_diagnostics): Don't call | |
3102 | register_warning_as_error_callback. | |
3103 | (c_common_handle_option): Handle -Werror=normalized= here. | |
3104 | ||
d8a07487 JM |
3105 | 2010-11-10 Joseph Myers <joseph@codesourcery.com> |
3106 | ||
3107 | * c-common.c (handle_mode_attribute): Use %' and word "signedness" | |
3108 | in diagnostic. | |
3109 | * c-opts.c (c_common_parse_file): Start diagnostics with lowercase | |
3110 | letter. | |
3111 | * c-pragma.c (handle_pragma_target, handle_pragma_optimize): | |
3112 | Remove trailing '.' from diagnostics. | |
3113 | * c.opt (Wwrite-strings_: Avoid '`' in help text. | |
3114 | ||
d5478783 JM |
3115 | 2010-11-10 Joseph Myers <joseph@codesourcery.com> |
3116 | ||
3117 | * c-common.c (parse_optimize_options): Pass global_dc to | |
3118 | decode_options. | |
3119 | * c-opts.c (c_common_handle_option): Pass &global_options to | |
3120 | set_Wstrict_aliasing. | |
3121 | * c.opt (v): Don't mark Common or document here. | |
3122 | ||
91ebb981 IS |
3123 | 2010-11-06 Iain Sandoe <iains@gcc.gnu.org> |
3124 | ||
3125 | PR target/44981 | |
3126 | * c-format.c (format_type): New type gcc_objc_string_format_type. | |
3127 | (valid_stringptr_type_p): New. | |
3128 | (handle_format_arg_attribute): Use valid_stringptr_type_p (). | |
9faeb493 | 3129 | (check_format_string): Pass expected type, use |
91ebb981 IS |
3130 | valid_stringptr_type_p (), check that the format string types are |
3131 | consistent with the format specification. | |
3132 | (decode_format_attr): Warn if NSString is used outside objective-c. | |
3133 | (format_types_orig): Add NSString. | |
3134 | (format_name): New. | |
3135 | (format_flags): New. | |
3136 | (check_format_arg): Handle format strings requiring an external parser. | |
3137 | first_target_format_type: New variable. | |
3138 | (handle_format_attribute): Set up first_target_format_type, pass the | |
3139 | expected format arg string type to check_format_string(). | |
3140 | * c-common.h (FMT_FLAG_PARSE_ARG_CONVERT_EXTERNAL): New flag. | |
3141 | * stub-objc.c (objc_string_ref_type_p): New. | |
3142 | (objc_check_format_arg): New. | |
3143 | ||
bede2adc NP |
3144 | 2010-11-04 Nicola Pero <nicola.pero@meta-innovation.com> |
3145 | ||
9faeb493 | 3146 | Fixed using the Objective-C 2.0 dot-syntax with class names. |
bede2adc NP |
3147 | * c-common.h (objc_build_class_component_ref): New. |
3148 | * stub-objc.c (objc_build_class_component_ref): New. | |
3149 | ||
9a179d01 NP |
3150 | 2010-11-03 Nicola Pero <nicola.pero@meta-innovation.com> |
3151 | ||
3152 | * c.opt (Wproperty-assign-default): New option. | |
3153 | ||
22d8d616 NP |
3154 | 2010-11-03 Nicola Pero <nicola.pero@meta-innovation.com> |
3155 | ||
3156 | Implemented -fobjc-std=objc1 flag. | |
3157 | * c.opt (fobjc-std=objc1): New option. | |
3158 | ||
2debdb4f NP |
3159 | 2010-11-01 Nicola Pero <nicola.pero@meta-innovation.com> |
3160 | ||
3161 | Implemented format and noreturn attributes for Objective-C methods. | |
3162 | * c-common.c (handle_noreturn_attribute): Recognize 'noreturn' | |
3163 | attribute for Objective-C methods. | |
3164 | ||
ec52b111 JM |
3165 | 2010-10-31 Jason Merrill <jason@redhat.com> |
3166 | ||
3167 | * c-common.c (conversion_warning, warn_for_collisions_1): Use | |
3168 | EXPR_LOC_OR_HERE. | |
3169 | ||
46a88c12 NP |
3170 | 2010-10-30 Nicola Pero <nicola.pero@meta-innovation.com> |
3171 | ||
3172 | Implemented Objective-C 2.0 @property, @synthesize and @dynamic. | |
3173 | * c-common.h (enum rid): Removed RID_COPIES and RID_IVAR. | |
3174 | (objc_add_property_declaration): Removed arguments for copies and | |
3175 | ivar. | |
3176 | (objc_build_getter_call): Renamed to | |
3177 | objc_maybe_build_component_ref. | |
3178 | (objc_build_setter_call): Renamed to objc_maybe_build_modify_expr. | |
3179 | (objc_is_property_ref): New. | |
3180 | * c-common.c (c_common_reswords): Removed copies and ivar. | |
3181 | * stub-objc.c (objc_add_property_declaration): Removed arguments | |
3182 | for copies and ivar. | |
3183 | (objc_build_getter_call): Renamed to | |
3184 | objc_maybe_build_component_ref. | |
3185 | (objc_build_setter_call): Renamed to objc_maybe_build_modify_expr. | |
3186 | (objc_is_property_ref): New. | |
9faeb493 | 3187 | |
1e4bf85b AC |
3188 | 2010-10-29 Arnaud Charlet <charlet@adacore.com> |
3189 | Matthew Gingell <gingell@adacore.com> | |
3190 | ||
3191 | * c-ada-spec.c (separate_class_package): New function. | |
3192 | (pp_ada_tree_identifier): Prefix references to C++ classes with the | |
3193 | name of their enclosing package. | |
3194 | (print_ada_declaration): Use separate_class_package. | |
3195 | ||
81f0bab2 JM |
3196 | 2010-10-27 Jason Merrill <jason@redhat.com> |
3197 | ||
2b08f2c5 JM |
3198 | * c-common.c (c_common_reswords): Add __is_literal_type. |
3199 | * c-common.h (enum rid): Add RID_IS_LITERAL_TYPE. | |
3200 | ||
81f0bab2 JM |
3201 | * c-common.c (check_case_value): Remove special C++ code. |
3202 | ||
200290f2 NP |
3203 | 2010-10-27 Nicola Pero <nicola.pero@meta-innovation.com> |
3204 | ||
3205 | * c-common.h (enum rid): Added RID_READWRITE, RID_ASSIGN, | |
3206 | RID_RETAIN, RID_COPY and RID_NONATOMIC. Updated RID_FIRST_PATTR | |
3207 | and RID_LAST_PATTR. | |
3208 | (objc_add_property_declaration): Added additional arguments. | |
3209 | (objc_property_attribute_kind): Removed. | |
3210 | (objc_set_property_attr): Removed. | |
3211 | * c-common.c (c_common_reswords): Added readwrite, assign, retain, | |
3212 | copy and nonatomic. | |
3213 | * stub-objc.c (objc_add_property_declaration): Added additional | |
3214 | arguments. | |
3215 | (objc_set_property_attr): Removed. | |
9faeb493 | 3216 | |
f614132b NP |
3217 | 2010-10-27 Nicola Pero <nicola.pero@meta-innovation.com> |
3218 | ||
3219 | * c-common.h (objc_add_property_variable): Renamed to | |
3220 | objc_add_property_declaration. Added location argument. | |
3221 | * stub-objc.c (objc_add_property_variable): Same change. | |
3222 | ||
b8a18805 NP |
3223 | 2010-10-23 Nicola Pero <nicola.pero@meta-innovation.com> |
3224 | ||
3225 | * c-common.h (objc_maybe_printable_name): New. | |
3226 | * stub-objc.c (objc_maybe_printable_name): New. | |
3227 | ||
30cd1c5d AS |
3228 | 2010-10-22 Artjoms Sinkarovs <artyom.shinakroff@gmail.com> |
3229 | Andrew Pinski <pinskia@gmail.com> | |
3230 | ||
3231 | * c-common.h (c_common_mark_addressable_vec): Declare. | |
3232 | * c-common.c (c_common_mark_addressable_vec): New function. | |
3233 | ||
249a82c4 NP |
3234 | 2010-10-20 Nicola Pero <nicola.pero@meta-innovation.com> |
3235 | ||
3236 | * c-common.h (objc_set_method_type): Removed. | |
3237 | (objc_add_method_declaration): Added boolean argument. | |
3238 | (objc_start_method_definition): Same change. | |
3239 | (objc_build_method_signature): Same change. | |
3240 | * stub-objc.c (objc_set_method_type): Removed. | |
3241 | (objc_add_method_declaration): Added boolean argument. | |
3242 | (objc_start_method_definition): Same change. | |
3243 | (objc_build_method_signature): Same change. | |
3244 | ||
977e30bc NP |
3245 | 2010-10-20 Nicola Pero <nicola.pero@meta-innovation.com> |
3246 | ||
3247 | * c-common.h (finish_file): Removed. | |
3248 | (objc_write_global_declarations): New. | |
3249 | * c-opts.c (c_common_parse_file): Do not call finish_file. | |
3250 | * stub-objc.c (objc_write_global_declarations): New. | |
9faeb493 | 3251 | |
da57d1b9 NP |
3252 | 2010-10-18 Nicola Pero <nicola.pero@meta-innovation.com> |
3253 | ||
3254 | Implemented parsing @synthesize and @dynamic for | |
3255 | Objective-C/Objective-C++. | |
3256 | * c-common.h (enum rid): Add RID_AT_SYNTHESIZE and RID_AT_DYNAMIC. | |
3257 | (objc_add_synthesize_declaration): New. | |
3258 | (objc_add_dynamic_declaration): New. | |
3259 | * c-common.c (c_common_reswords): Add synthesize and dynamic. | |
3260 | * stub-objc.c (objc_add_synthesize_declaration): New. | |
3261 | (objc_add_dynamic_declaration): New. | |
9faeb493 | 3262 | |
0069111f MM |
3263 | 2010-10-18 Michael Meissner <meissner@linux.vnet.ibm.com> |
3264 | ||
3265 | PR target/46041 | |
3266 | * c-cppbuiltin.c (mode_has_fma): Move function here from | |
3267 | builtins.c. Don't use the fma optab, instead just use the | |
3268 | HAVE_fma* macros, so that __FP_FAST_FMA* will be defined when | |
3269 | using -save-temps. | |
3270 | ||
e426b47b NP |
3271 | 2010-10-18 Nicola Pero <nicola.pero@meta-innovation.com> |
3272 | ||
3273 | Merge from 'apple/trunk' branch on FSF servers. | |
0069111f | 3274 | |
e426b47b NP |
3275 | 2005-11-08 Fariborz Jahanian <fjahanian@apple.com> |
3276 | ||
9faeb493 | 3277 | Radar 4330422 |
e426b47b NP |
3278 | * c-common.h (objc_non_volatilized_type): New declaration |
3279 | * stub-objc.c (objc_non_volatilized_type): New stub. | |
3280 | ||
90fbfdc3 NP |
3281 | 2010-10-17 Nicola Pero <nicola.pero@meta-innovation.com> |
3282 | ||
e426b47b | 3283 | Merge from 'apple/trunk' branch on FSF servers. |
90fbfdc3 NP |
3284 | |
3285 | 2006-03-27 Fariborz Jahanian <fjahanian@apple.com> | |
3286 | ||
9faeb493 | 3287 | Radar 4133425 |
90fbfdc3 | 3288 | * c-common.h (objc_diagnose_private_ivar): New decl. |
0069111f | 3289 | * stub-objc.c (objc_diagnose_private_ivar): New stub. |
90fbfdc3 | 3290 | |
c37d8c30 IS |
3291 | 2010-10-17 Iain Sandoe <iains@gcc.gnu.org> |
3292 | ||
3293 | * c-common.c (c_common_reswords): Add package, RID_AT_PACKAGE. | |
3294 | * c-common.h (enum rid): Add RID_AT_PACKAGE. | |
3295 | (objc_ivar_visibility_kind): New enum. | |
3296 | (objc_set_visibility): Adjust prototype to use visibility enum. | |
0069111f | 3297 | * stub-objc.c (objc_set_visibility): Adjust stub to use |
c37d8c30 IS |
3298 | visibility enum. |
3299 | ||
1b1562a5 MM |
3300 | 2010-10-14 Michael Meissner <meissner@linux.vnet.ibm.com> |
3301 | ||
3302 | * c-cppbuiltin.c (builtin_define_float_constants): Emit | |
3303 | __FP_FAST_FMA, __FP_FAST_FMAF, and __FP_FAST_FMAL if the machine | |
3304 | has the appropriate fma builtins. | |
3305 | (c_cpp_builtins): Adjust call to builtin_define_float_constants. | |
3306 | ||
668ea4b1 IS |
3307 | 2010-10-14 Iain Sandoe <iains@gcc.gnu.org> |
3308 | ||
1b1562a5 | 3309 | merge from FSF apple 'trunk' branch. |
668ea4b1 | 3310 | 2006 Fariborz Jahanian <fjahanian@apple.com> |
1b1562a5 | 3311 | |
668ea4b1 IS |
3312 | Radars 4436866, 4505126, 4506903, 4517826 |
3313 | * c-common.c (c_common_resword): Define @property and its attributes. | |
3314 | * c-common.h: Define property attribute enum entries. | |
3315 | (OBJC_IS_PATTR_KEYWORD): New. | |
3316 | (objc_property_attribute_kind): New enum. | |
3317 | Declare objc_set_property_attr (), objc_add_property_variable (), | |
3318 | objc_build_getter_call () and objc_build_setter_call (). | |
3319 | * stub-objc.c (objc_set_property_attr): New stub. | |
3320 | (objc_add_property_variable): Likewise. | |
3321 | (objc_build_getter_call): Likewise. | |
3322 | (objc_build_setter_call) Likewise. | |
1b1562a5 | 3323 | |
a1178b30 IS |
3324 | 2010-10-13 Iain Sandoe <iains@gcc.gnu.org> |
3325 | ||
1b1562a5 | 3326 | merge from FSF apple 'trunk' branch. |
a1178b30 IS |
3327 | 2006-04-26 Fariborz Jahanian <fjahanian@apple.com> |
3328 | ||
3329 | Radar 3803157 (method attributes) | |
3330 | * c-common.c (handle_deprecated_attribute): Recognize | |
3331 | objc methods as valid declarations. | |
3332 | * c-common.h: Declare objc_method_decl (). | |
1b1562a5 | 3333 | * stub-objc.c (objc_method_decl): New stub. |
a1178b30 | 3334 | |
a75bfaa6 JM |
3335 | 2010-10-08 Joseph Myers <joseph@codesourcery.com> |
3336 | ||
3337 | * c-common.c (parse_optimize_options): Call | |
3338 | decode_cmdline_options_to_array_default_mask before | |
3339 | decode_options. Update arguments to decode_options. | |
3340 | * c-common.h (c_common_init_options_struct): Declare. | |
3341 | * c-opts.c (c_common_init_options_struct): New. Split out from | |
3342 | c_common_init_options. | |
3343 | ||
f05b9d93 NP |
3344 | 2010-10-06 Nicola Pero <nicola.pero@meta-innovation.com> |
3345 | ||
3346 | Implemented fast enumeration for Objective-C. | |
3347 | * c-common.h (objc_finish_foreach_loop): New. | |
3348 | * stub-objc.c (objc_finish_foreach_loop): New. | |
3349 | ||
1ebe4b4f JM |
3350 | 2010-10-05 Joseph Myers <joseph@codesourcery.com> |
3351 | ||
3352 | * c-common.h (struct diagnostic_context): Don't declare here. | |
3353 | (c_common_initialize_diagnostics): Declare using | |
3354 | diagnostic_context typedef. | |
3355 | * c-opts.c (c_common_handle_option): Pass global_dc to | |
3356 | handle_generated_option. | |
3357 | ||
d4d24ba4 JM |
3358 | 2010-10-04 Joseph Myers <joseph@codesourcery.com> |
3359 | ||
3360 | * c-opts.c (c_common_handle_option): Pass &global_options_set to | |
3361 | handle_generated_option. | |
3362 | ||
478a1c5b ILT |
3363 | 2010-10-03 Ian Lance Taylor <iant@google.com> |
3364 | ||
3365 | * c.opt (-fplan9-extensions): New option. | |
3366 | ||
82a1c2fe FXC |
3367 | 2010-10-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> |
3368 | ||
3369 | * c-cppbuiltin.c (define__GNUC__, builtin_define_type_precision): | |
3370 | Remove. | |
3371 | (c_cpp_builtins): Call functions from cppbuiltin.c instead | |
3372 | of duplicating code. | |
3373 | ||
92902b1b IS |
3374 | 2010-09-30 Iain Sandoe <iains@gcc.gnu.org> |
3375 | ||
3376 | * c-common.c: Add two new entries for @optional | |
3377 | and @required keywords. | |
3378 | ||
3379 | merge from FSF 'apple/trunk' branch. | |
3380 | 2006-01-30 Fariborz Jahanian <fjahanian@apple.com> | |
3381 | ||
3382 | Radar 4386773 | |
3383 | * c-common.h (RID_AT_OPTIONAL, RID_AT_REQUIRED): Two new | |
3384 | objective-c keywords. | |
3385 | (objc_set_method_opt): New declaration. | |
3386 | * stub-objc.c (objc_set_method_opt): New stub. | |
9faeb493 | 3387 | |
46625112 JM |
3388 | 2010-09-30 Joseph Myers <joseph@codesourcery.com> |
3389 | ||
3390 | * c-common.c (handle_optimize_attribute): Pass &global_options to | |
3391 | cl_optimization_save and cl_optimization_restore. | |
3392 | * c-opts.c (c_common_handle_option): Pass &global_options to | |
3393 | handle_generated_option. | |
3394 | * c-pragma.c (handle_pragma_diagnostic): Use option_flag_var. | |
3395 | (handle_pragma_pop_options, handle_pragma_reset_options): Pass | |
3396 | &global_options to cl_optimization_restore. | |
3397 | ||
49b91f05 NP |
3398 | 2010-09-30 Nicola Pero <nicola.pero@meta-innovation.com> |
3399 | ||
3400 | * c-lex.c (c_lex_with_flags): Updated comments for CPP_AT_NAME | |
3401 | Objective-C/Objective-C++ keywords. | |
3402 | ||
13ed556f | 3403 | 2010-09-29 Nicola Pero <nicola.pero@meta-innovation.com> |
a6341d57 | 3404 | |
9faeb493 UB |
3405 | Merge from 'apple/trunk' branch on FSF servers. |
3406 | ||
a6341d57 NP |
3407 | 2005-10-04 Fariborz Jahanian <fjahanian@apple.com> |
3408 | ||
3409 | Radar 4281748 | |
3410 | * c-common.h (objc_check_global_decl): New declaration. | |
3411 | * stub-objc.c (objc_check_global_decl): New stub. | |
3412 | ||
f0036cca JM |
3413 | 2010-09-29 Joseph Myers <joseph@codesourcery.com> |
3414 | ||
3415 | * c.opt: Don't use VarExists. | |
3416 | ||
e3339d0f JM |
3417 | 2010-09-29 Joseph Myers <joseph@codesourcery.com> |
3418 | ||
3419 | * c-common.c (c_cpp_error): Update names of diagnostic_context | |
3420 | members. | |
3421 | * c-cppbuiltin.c (c_cpp_builtins_optimize_pragma): Update names of | |
3422 | cl_optimization members. | |
3423 | * c-opts.c (warning_as_error_callback, c_common_handle_option, | |
3424 | sanitize_cpp_opts, finish_options): Update names of cpp_options | |
3425 | members. | |
3426 | ||
1973201f NP |
3427 | 2010-09-29 Nicola Pero <nicola.pero@meta-innovation.com> |
3428 | ||
3429 | * c-common.h (OBJC_IS_CXX_KEYWORD): New macro. Updated comments. | |
3430 | (objc_is_reserved_word): Removed. | |
3431 | * c-common.c: Updated comments. | |
3432 | * c-lex.c (c_lex_with_flags): Use OBJC_IS_CXX_KEYWORD instead of | |
3433 | objc_is_reserved_word. | |
3434 | * stub-objc.c (objc_is_reserved_word): Removed. | |
3435 | ||
f7e71da5 IS |
3436 | 2010-09-28 Iain Sandoe <iains@gcc.gnu.org> |
3437 | ||
9faeb493 | 3438 | * c-common.h (objc_add_method_declaration): Adjust prototype to |
f7e71da5 IS |
3439 | include attributes. |
3440 | (objc_start_method_definition): Likewise. | |
3441 | (objc_build_keyword_decl): Likewise. | |
3442 | * stub-objc.c:(objc_add_method_declaration): Handle attributes. | |
3443 | (objc_start_method_definition): Likewise. | |
3444 | (objc_build_keyword_decl): Likewise. | |
3445 | ||
c165dca7 IS |
3446 | 2010-09-28 Iain Sandoe <iains@gcc.gnu.org> |
3447 | ||
3448 | * c-common.h (objc_start_class_interface): Adjust prototype. | |
3449 | (objc_start_category_interface): Likewise. | |
3450 | (objc_start_protocol): Likewise. | |
3451 | * stub-objc.c (objc_start_protocol): Adjust for extra argument. | |
3452 | (objc_start_class_interface): Likewise. | |
3453 | (objc_start_category_interface): Likewise. | |
3454 | ||
7458026b ILT |
3455 | 2010-09-27 Ian Lance Taylor <iant@google.com> |
3456 | ||
3457 | * c-common.c (c_common_attribute_table): Add no_split_stack. | |
3458 | (handle_no_split_stack_attribute): New static function. | |
3459 | ||
b581b85b NP |
3460 | 2010-09-27 Nicola Pero <nicola.pero@meta-innovation.com> |
3461 | ||
9faeb493 | 3462 | Merge from 'apple/trunk' branch on FSF servers. |
b581b85b NP |
3463 | |
3464 | 2005-12-15 Fariborz Jahanian <fjahanian@apple.com> | |
3465 | ||
9faeb493 | 3466 | Radar 4229905 |
b581b85b NP |
3467 | * c-common.h (objc_have_common_type): New declaration. |
3468 | * stub-objc.c (objc_have_common_type): New stub. | |
3469 | ||
3470 | 2005-06-22 Ziemowit Laski <zlaski@apple.com> | |
3471 | ||
3472 | Radar 4154928 | |
3473 | * c-common.h (objc_common_type): New prototype. | |
9faeb493 | 3474 | * stub-objc.c (objc_common_type): New stub. |
b581b85b | 3475 | |
46a4da10 JH |
3476 | 2010-09-24 Jan Hubicka <jh@suse.cz> |
3477 | ||
3478 | * c-common.c (handle_leaf_attribute): New function. | |
3479 | (struct attribute_spec c_common_att): Add leaf. | |
3480 | ||
e200444e JM |
3481 | 2010-09-22 Joseph Myers <joseph@codesourcery.com> |
3482 | ||
3483 | * c.opt (-all-warnings, -ansi, -assert, -assert=, -comments, | |
3484 | -comments-in-macros, -define-macro, -define-macro=, -dependencies, | |
3485 | -dump, -dump=, -imacros, -imacros=, -include, -include=, | |
3486 | -include-barrier, -include-directory, -include-directory=, | |
3487 | -include-directory-after, -include-directory-after=, | |
3488 | -include-prefix, -include-prefix=, -include-with-prefix, | |
3489 | -include-with-prefix=, -include-with-prefix-after, | |
3490 | -include-with-prefix-after=, -include-with-prefix-before, | |
3491 | -include-with-prefix-before=, -no-integrated-cpp, | |
3492 | -no-line-commands, -no-standard-includes, -no-warnings, -output, | |
3493 | -output=, -pedantic, -pedantic-errors, -preprocess, | |
3494 | -print-missing-file-dependencies, -trace-includes, -traditional, | |
3495 | -traditional-cpp, -trigraphs, -undefine-macro, -undefine-macro=, | |
3496 | -user-dependencies, -verbose, -write-dependencies, | |
3497 | -write-user-dependencies, no-integrated-cpp, traditional): New. | |
3498 | ||
29a80ea6 NP |
3499 | 2010-09-21 Nicola Pero <nicola.pero@meta-innovation.com> |
3500 | ||
3501 | PR objc/23710 | |
ac1fc2fc NP |
3502 | * c-common.h (objc_start_method_definition): Return bool instead |
3503 | of void. | |
3504 | * stub-objc.c (objc_start_method_definition): Return bool instead | |
3505 | of void. | |
3506 | ||
3507 | 2010-09-21 Nicola Pero <nicola.pero@meta-innovation.com> | |
3508 | ||
3509 | PR objc/25965 | |
3510 | * c-common.h (objc_get_interface_ivars): New declaration. | |
3511 | * stub-objc.c (objc_get_interface_ivars): New stub. | |
29a80ea6 | 3512 | |
de621752 ILT |
3513 | 2010-09-15 Ian Lance Taylor <iant@google.com> |
3514 | ||
3515 | * c-common.c (parse_optimize_options): Do not capitalize warning | |
06730c5d | 3516 | messages. Remove period at end of warning message. |
de621752 | 3517 | |
ba885ec5 NS |
3518 | 2010-09-09 Nathan Sidwell <nathan@codesourcery.com> |
3519 | ||
3520 | * c-common.c (handle_alias_ifunc_attribute): New, broken out of ... | |
3521 | (handle_alias_attribute): ... here. | |
3522 | (handle_ifunc_attribute): New. | |
3523 | ||
c5ee1358 MM |
3524 | 2010-09-06 Mark Mitchell <mark@codesourcery.com> |
3525 | ||
3526 | * c-common.h (do_warn_double_promotion): Declare. | |
3527 | * c-common.c (do_warn_double_promotion): Define. | |
3528 | ||
0a0b3574 MM |
3529 | 2010-09-05 Mark Mitchell <mark@codesourcery.com> |
3530 | ||
3531 | * c.opt (Wdouble-promotion): New. | |
3532 | ||
d1779886 JM |
3533 | 2010-09-02 Joseph Myers <joseph@codesourcery.com> |
3534 | ||
3535 | * c.opt (falt-external-templates, fhuge-objects, fvtable-gc, | |
3536 | fvtable-thunks, fxref): Mark no longer supported in help text. | |
3537 | ||
2d2bd949 JM |
3538 | 2010-09-02 Joseph Myers <joseph@codesourcery.com> |
3539 | ||
3540 | * c.opt (Wimport, fall-virtual, falt-external-templates, | |
3541 | fdefault-inline, fenum-int-equiv, fexternal-templates, | |
3542 | fguiding-decls, fhonor-std, fhuge-objects, flabels-ok, | |
3543 | fname-mangling-version-, fnew-abi, fnonnull-objects, | |
3544 | foptional-diags, fsquangle, fstrict-prototype, fthis-is-variable, | |
3545 | fvtable-gc, fvtable-thunks, fxref): Mark with Ignore and Warn as | |
3546 | applicable. | |
3547 | (fhandle-exceptions): Mark with Alias and Warn. | |
3548 | * c-opts.c (c_common_handle_option): Don't handle options marked | |
3549 | as ignored. | |
3550 | ||
5de8299c JM |
3551 | 2010-09-02 Joseph Myers <joseph@codesourcery.com> |
3552 | ||
3553 | * c.opt (Wcomments, Werror-implicit-function-declaration, | |
3554 | ftemplate-depth-, std=c89, std=c9x, std=gnu89, std=gnu9x, | |
3555 | std=iso9899:1990, std=iso9899:1999, std=iso9899:199x): Mark as | |
3556 | aliases. | |
3557 | * c-common.c (option_codes): Use OPT_Wcomment instead of | |
3558 | OPT_Wcomments. | |
3559 | * c-opts.c (warning_as_error_callback, c_common_handle_option): | |
3560 | Don't handle options marked as aliases. | |
3561 | ||
0ceb0201 RG |
3562 | 2010-08-25 Richard Guenther <rguenther@suse.de> |
3563 | ||
3564 | * c-common.c (c_common_get_alias_set): Remove special | |
3565 | handling for pointers. | |
3566 | ||
ac47786e NF |
3567 | 2010-08-20 Nathan Froyd <froydnj@codesourcery.com> |
3568 | ||
3569 | * c-common.c: Use FOR_EACH_VEC_ELT. | |
3570 | * c-gimplify.c: Likewise. | |
3571 | * c-pragma.c: Likewise. | |
3572 | ||
c878765b JM |
3573 | 2010-08-16 Joseph Myers <joseph@codesourcery.com> |
3574 | ||
3575 | * c.opt (MDX): Change back to MD. Mark NoDriverArg instead of | |
3576 | RejectDriver. | |
3577 | (MMDX): Change back to MMD. Mark NoDriverArg instead of | |
3578 | RejectDriver. | |
3579 | * c-opts.c (c_common_handle_option): Use OPT_MD and OPT_MMD | |
3580 | instead of OPT_MDX and OPT_MMDX. | |
3581 | ||
603349bf JM |
3582 | 2010-08-16 Joseph Myers <joseph@codesourcery.com> |
3583 | ||
3584 | * c.opt (MDX, MMDX, lang-asm): Mark RejectDriver. | |
3585 | ||
644fa7ac JM |
3586 | 2010-08-12 Joseph Myers <joseph@codesourcery.com> |
3587 | ||
3588 | * c.opt (MD, MMD): Change to MDX and MMDX. | |
3589 | * c-opts.c (c_common_handle_option): Use OPT_MMD and OPT_MMDX. | |
3590 | ||
481e1176 JM |
3591 | 2010-08-11 Joseph Myers <joseph@codesourcery.com> |
3592 | ||
3593 | * c-opts.c (c_common_handle_option): Call handle_generated_option | |
3594 | instead of handle_option. | |
3595 | ||
ac8dc9f7 NF |
3596 | 2010-08-08 Nathan Froyd <froydnj@codesourcery.com> |
3597 | ||
3598 | * c-pragma.c (add_to_renaming_pragma_list): Fix call to VEC_safe_push. | |
3599 | (maybe_apply_renaming_pragma): Delete unneeded declarations. | |
3600 | ||
4f8c876d NF |
3601 | 2010-08-08 Nathan Froyd <froydnj@codesourcery.com> |
3602 | ||
3603 | * c-pragma.c (pending_redefinition): Declare. Declare a VEC of it. | |
3604 | (pending_redefine_extname): Change type to a VEC. | |
3605 | (add_to_renaming_pragma_list): Update for new type of | |
3606 | pending_redefine_extname. | |
ac8dc9f7 | 3607 | (maybe_apply_renaming_pragma): Likewise. |
4f8c876d | 3608 | |
3b0c690e AC |
3609 | 2010-08-04 Arnaud Charlet <charlet@adacore.com> |
3610 | ||
3611 | * c-ada-spec.c (dump_ada_template): Mark underlying instance type as | |
3612 | visited. | |
3613 | (dump_generic_ada_node): Code clean up. Use TREE_VISITED flag to | |
3614 | decide whether a type has already been declared/seen. | |
3615 | Do not go to the original type. | |
3616 | (dump_nested_types): New parameter forward. | |
3617 | Generate forward declaration if needed and mark type as visited. | |
3618 | (print_ada_declaration): Call dump_nested_types if not already done. | |
3619 | Mark types as visited. | |
3620 | ||
1890bccc JM |
3621 | 2010-08-03 Joseph Myers <joseph@codesourcery.com> |
3622 | ||
3623 | * c.opt (-print-pch-checksum): Remove option. | |
3624 | * c-opts.c (c_common_handle_option): Don't handle | |
3625 | OPT_print_pch_checksum. | |
3626 | ||
5f20c657 JM |
3627 | 2010-07-27 Joseph Myers <joseph@codesourcery.com> |
3628 | ||
3629 | * c-common.h (c_common_handle_option): Update prototype and return | |
3630 | value type. | |
3631 | * c-opts.c (c_common_handle_option): Update prototype and return | |
3632 | value type. Update calls to handle_option and | |
3633 | enable_warning_as_error. | |
3634 | ||
f551f80c JJ |
3635 | 2010-07-27 Jakub Jelinek <jakub@redhat.com> |
3636 | ||
3637 | PR c/45079 | |
3638 | * c-pretty-print.c (pp_c_expression): Handle C_MAYBE_CONST_EXPR. | |
3639 | ||
61ff2bdc JM |
3640 | 2010-07-27 Joseph Myers <joseph@codesourcery.com> |
3641 | ||
3642 | * c-common.h (c_common_missing_argument): Remove. | |
3643 | * c-opts.c (c_common_missing_argument): Remove. | |
3644 | * c.opt (A, D, F, I, MD, MMD, MQ, MT, U, fconstant-string-class=, | |
3645 | idirafter, imacros, include, isysroot, isystem, iquote): Add | |
3646 | MissingArgError. | |
3647 | * c-objc-common.h (LANG_HOOKS_MISSING_ARGUMENT): Remove. | |
3648 | ||
7a9bf9a4 JM |
3649 | 2010-07-27 Joseph Myers <joseph@codesourcery.com> |
3650 | ||
3651 | * c-common.h (c_common_option_lang_mask, | |
3652 | c_common_initialize_diagnostics, c_common_complain_wrong_lang_p): | |
3653 | New. | |
3654 | (c_common_init_options): Update prototype. | |
3655 | * c-opts.c (c_common_option_lang_mask): New. | |
3656 | (c_common_initialize_diagnostics): Split out of | |
3657 | c_common_init_options. | |
3658 | (accept_all_c_family_options, c_common_complain_wrong_lang_p): | |
3659 | New. | |
3660 | (c_common_init_options): Update prototype. Use decoded options in | |
3661 | search for -lang-asm. | |
3662 | ||
910ad8de NF |
3663 | 2010-07-15 Nathan Froyd <froydnj@codesourcery.com> |
3664 | ||
3665 | * c-common.c: Carefully replace TREE_CHAIN with DECL_CHAIN. | |
3666 | * c-format.c: Likewise. | |
3667 | ||
718f9c0f MLI |
3668 | 2010-07-08 Manuel López-Ibáñez <manu@gcc.gnu.org> |
3669 | ||
3670 | * c-common.h: Include diagnostic-core.h. Error if already | |
3671 | included. | |
3672 | * c-semantics.c: Do not define GCC_DIAG_STYLE here. | |
3673 | ||
4d451982 MLI |
3674 | 2010-07-03 Manuel López-Ibáñez <manu@gcc.gnu.org> |
3675 | ||
3676 | * c-family/c-common.c (IN_GCC_FRONTEND): Do not undef. | |
3677 | Do not include expr.h | |
3678 | (vector_mode_valid_p): Move here. | |
3679 | ||
119fe915 SB |
3680 | 2010-06-21 DJ Delorie <dj@redhat.com> |
3681 | ||
3682 | * c-pragma.c (handle_pragma_diagnostic): Add push/pop, | |
3683 | allow these pragmas anywhere. | |
3684 | ||
3685 | 2010-06-14 Jakub Jelinek <jakub@redhat.com> | |
3686 | ||
3687 | PR bootstrap/44509 | |
3688 | * c-cppbuiltin.c: Include gt-c-family-c-cppbuiltin.h. | |
3689 | (lazy_hex_fp_values, lazy_hex_fp_value_count): Add GTY(()) markers. | |
3690 | (lazy_hex_fp_value, builtin_define_with_hex_fp_value): Use | |
3691 | ggc_strdup instead of xstrdup. | |
3692 | ||
3693 | 2010-06-10 Jakub Jelinek <jakub@redhat.com> | |
3694 | ||
3695 | * c-cppbuiltin.c: Include cpp-id-data.h. | |
3696 | (lazy_hex_fp_values, lazy_hex_fp_value_count): New variables. | |
3697 | (lazy_hex_fp_value): New function. | |
3698 | (builtin_define_with_hex_fp_value): Provide definitions lazily. | |
3699 | ||
6662d794 MLI |
3700 | 2010-06-30 Manuel López-Ibáñez <manu@gcc.gnu.org> |
3701 | ||
3702 | * c-gimplify.c: Do not include tree-flow.h | |
3703 | ||
38f8b050 JR |
3704 | 2010-06-29 Joern Rennecke <joern.rennecke@embecosm.com> |
3705 | ||
3706 | PR other/44034 | |
3707 | * c-common.c: Rename targetm member: | |
3708 | targetm.enum_va_list -> targetm.enum_va_list_p | |
3709 | ||
9589f23e AS |
3710 | 2010-06-28 Anatoly Sokolov <aesok@post.ru> |
3711 | ||
3712 | * c-common.c (shorten_compare): Adjust call to force_fit_type_double. | |
3713 | ||
3b06d379 SB |
3714 | 2010-06-28 Steven Bosscher <steven@gcc.gnu.org> |
3715 | ||
3716 | * c-cppbuiltin.c: Do not include except.h. | |
3717 | ||
d166d4c3 AK |
3718 | 2010-06-24 Andi Kleen <ak@linux.intel.com> |
3719 | ||
9faeb493 UB |
3720 | * c-common.c (warn_for_omitted_condop): New. |
3721 | * c-common.h (warn_for_omitted_condop): Add prototype. | |
d166d4c3 | 3722 | |
70cb8be6 JM |
3723 | 2010-06-21 Joseph Myers <joseph@codesourcery.com> |
3724 | ||
3725 | * c.opt (lang-objc): Remove. | |
3726 | * c-opts.c (c_common_handle_option): Don't handle OPT_lang_objc. | |
3727 | ||
a4c97feb JR |
3728 | 2010-06-21 Joern Rennecke <joern.rennecke@embecosm.com> |
3729 | ||
3730 | * c-opts.c: Include "tm_p.h". | |
3731 | ||
6e2f1956 JM |
3732 | 2010-06-20 Joseph Myers <joseph@codesourcery.com> |
3733 | ||
3734 | * c-common.c (parse_optimize_options): Update call to | |
3735 | decode_options. | |
3736 | ||
bc87224e NF |
3737 | 2010-06-18 Nathan Froyd <froydnj@codesourcery.com> |
3738 | ||
3739 | * c-common.c (record_types_used_by_current_var_decl): Adjust for | |
3740 | new type of types_used_by_cur_var_decl. | |
3741 | ||
b49cf425 JR |
3742 | 2010-06-17 Joern Rennecke <joern.rennecke@embecosm.com> |
3743 | ||
3744 | PR bootstrap/44512 | |
3745 | * c-cppbuiltin.c (builtin_define_with_hex_fp_value): Add cast | |
3746 | for C++ standard compliance. | |
3747 | ||
59f9c2ed JM |
3748 | 2010-06-16 Jason Merrill <jason@redhat.com> |
3749 | ||
3750 | * c.opt: Add -Wnoexcept. | |
3751 | ||
33766b66 RG |
3752 | 2010-06-16 Richard Guenther <rguenther@suse.de> |
3753 | ||
3754 | PR c/44555 | |
3755 | * c-common.c (c_common_truthvalue_conversion): Remove | |
3756 | premature and wrong optimization concering ADDR_EXPRs. | |
3757 | ||
eff7e30c AC |
3758 | 2010-06-15 Arnaud Charlet <charlet@adacore.com> |
3759 | ||
3760 | * c-ada-spec.c (dump_sloc): Remove column info. | |
3761 | (is_simple_enum): New function. | |
3762 | (dump_generic_ada_node, print_ada_declaration): Map C enum types to Ada | |
3763 | enum types when relevant. | |
3764 | ||
6312e84d MLI |
3765 | 2010-06-11 Manuel López-Ibáñez <manu@gcc.gnu.org> |
3766 | ||
9faeb493 | 3767 | * c-common.c (conversion_warning): Warn at expression |
6312e84d MLI |
3768 | location. |
3769 | ||
1cb42611 JM |
3770 | 2010-06-10 Joseph Myers <joseph@codesourcery.com> |
3771 | ||
3772 | * c-opts.c (c_common_handle_option): Don't handle | |
3773 | OPT_fshow_column. | |
3774 | ||
a9429e29 LB |
3775 | 2010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com> |
3776 | ||
3777 | * c-pragma.c (push_alignment): Use typed GC allocation. | |
3778 | (handle_pragma_push_options): Likewise. | |
3779 | ||
3780 | * c-common.c (parse_optimize_options): Likewise. | |
3781 | ||
3782 | * c-common.h (struct sorted_fields_type): Add variable_size GTY | |
3783 | option. | |
3784 | ||
5498f011 JM |
3785 | 2010-06-07 Joseph Myers <joseph@codesourcery.com> |
3786 | ||
3787 | * c-common.c (flag_preprocess_only, flag_undef, flag_no_builtin, | |
3788 | flag_no_nonansi_builtin, flag_short_double, flag_short_wchar, | |
3789 | flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm, | |
3790 | flag_signed_bitfields, warn_strict_null_sentinel, | |
3791 | flag_nil_receivers, flag_zero_link, flag_replace_objc_classes, | |
3792 | flag_gen_declaration, flag_no_gnu_keywords, | |
3793 | flag_implement_inlines, flag_implicit_templates, | |
3794 | flag_implicit_inline_templates, flag_optional_diags, | |
3795 | flag_elide_constructors, flag_default_inline, flag_rtti, | |
3796 | flag_conserve_space, flag_access_control, flag_check_new, | |
3797 | flag_new_for_scope, flag_weak, flag_working_directory, | |
3798 | flag_use_cxa_atexit, flag_use_cxa_get_exception_ptr, | |
3799 | flag_enforce_eh_specs, flag_threadsafe_statics, | |
3800 | flag_pretty_templates): Remove. | |
3801 | * c-common.h (flag_preprocess_only, flag_nil_receivers, | |
3802 | flag_objc_exceptions, flag_objc_sjlj_exceptions, flag_zero_link, | |
3803 | flag_replace_objc_classes, flag_undef, flag_no_builtin, | |
3804 | flag_no_nonansi_builtin, flag_short_double, flag_short_wchar, | |
3805 | flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm, | |
3806 | flag_const_strings, flag_signed_bitfields, flag_gen_declaration, | |
3807 | flag_no_gnu_keywords, flag_implement_inlines, | |
3808 | flag_implicit_templates, flag_implicit_inline_templates, | |
3809 | flag_optional_diags, flag_elide_constructors, flag_default_inline, | |
3810 | flag_rtti, flag_conserve_space, flag_access_control, | |
3811 | flag_check_new, flag_new_for_scope, flag_weak, | |
3812 | flag_working_directory, flag_use_cxa_atexit, | |
3813 | flag_use_cxa_get_exception_ptr, flag_enforce_eh_specs, | |
3814 | flag_threadsafe_statics, flag_pretty_templates, | |
3815 | warn_strict_null_sentinel): Remove. | |
3816 | * c.opt (E, Wstrict-null-sentinel, faccess-control, fasm, | |
3817 | fbuiltin, fcheck-new, fconserve-space, felide-constructors, | |
3818 | fenforce-eh-specs, ffor-scope, fgnu-keywords, fimplement-inlines, | |
3819 | fimplicit-inline-templates, fimplicit-templates, | |
3820 | flax-vector-conversions, fms-extensions, fnil-receivers, | |
3821 | fnonansi-builtins, fpretty-templates, freplace-objc-classes, | |
3822 | frtti, fshort-double, fshort-enums, fshort-wchar, | |
3823 | fsigned-bitfields, fsigned-char, fstats, fthreadsafe-statics, | |
3824 | funsigned-bitfields, funsigned-char, fuse-cxa-atexit, | |
3825 | fuse-cxa-get-exception-ptr, fweak, fworking-directory, fzero-link, | |
3826 | gen-decls, undef): Use Var. | |
3827 | (fdefault-inline, foptional-diags): Document as doing nothing. | |
3828 | * c-opts.c (c_common_handle_option): Remove cases for options now | |
3829 | using Var. Mark ignored options as such. | |
3830 | ||
39dabefd SB |
3831 | 2010-06-05 Steven Bosscher <steven@gcc.gnu.org> |
3832 | ||
9faeb493 | 3833 | * c-common.c: Moved to here from parent directory. |
39dabefd SB |
3834 | * c-common.def: Likewise. |
3835 | * c-common.h: Likewise. | |
3836 | * c-cppbuiltin.c: Likewise. | |
3837 | * c-dump.c: Likewise. | |
3838 | * c-format.c: Likewise. | |
3839 | * c-format.h : Likewise. | |
3840 | * c-gimplify.c: Likewise. | |
3841 | * c-lex.c: Likewise. | |
3842 | * c-omp.c: Likewise. | |
3843 | * c.opt: Likewise. | |
3844 | * c-opts.c: Likewise. | |
3845 | * c-pch.c: Likewise. | |
3846 | * c-ppoutput.c: Likewise. | |
3847 | * c-pragma.c: Likewise. | |
3848 | * c-pragma.h: Likewise. | |
3849 | * c-pretty-print.c: Likewise. | |
3850 | * c-pretty-print.h: Likewise. | |
3851 | * c-semantics.c: Likewise. | |
3852 | * stub-objc.c: Likewise. | |
3853 | ||
3854 | * c-common.c: Include gt-c-family-c-common.h. | |
3855 | * c-pragma.c: Include gt-c-family-c-pragma.h. | |
3856 | \f | |
23a5b65a | 3857 | Copyright (C) 2010-2014 Free Software Foundation, Inc. |
39dabefd SB |
3858 | |
3859 | Copying and distribution of this file, with or without modification, | |
3860 | are permitted in any medium without royalty provided the copyright | |
3861 | notice and this notice are preserved. |