]>
Commit | Line | Data |
---|---|---|
3f46d6a5 MLI |
1 | 2012-11-07 Manuel López-Ibáñez <manu@gcc.gnu.org> |
2 | ||
3 | PR c/51294 | |
4 | * c-common.c (conversion_warning): Handle conditional expressions. | |
5 | ||
880661a4 JW |
6 | 2012-10-29 Jonathan Wakely <jwakely.gcc@gmail.com> |
7 | ||
8 | PR c++/54930 | |
9 | * c.opt (Wreturn_local_addr): Define new option. | |
10 | ||
4514a96b JM |
11 | 2012-10-25 Jason Merrill <jason@redhat.com> |
12 | ||
f14edc1a JM |
13 | * c.opt (Wvirtual-move-assign): New. |
14 | ||
4514a96b JM |
15 | * c.opt (Winherited-variadic-ctor): New. |
16 | ||
93100c6b MG |
17 | 2012-10-25 Marc Glisse <marc.glisse@inria.fr> |
18 | ||
19 | PR c++/54427 | |
20 | * c-common.c (scalar_to_vector): Handle VEC_COND_EXPR. | |
21 | ||
1efcb8c6 JM |
22 | 2012-10-23 Joseph Myers <joseph@codesourcery.com> |
23 | ||
24 | * c-common.h (pch_cpp_save_state): Declare. | |
25 | * c-target.def (c_preinclude): New hook. | |
26 | * c-opts.c (done_preinclude): New. | |
27 | (push_command_line_include): Handle default preincluded header. | |
28 | (cb_file_change): Call pch_cpp_save_state when calling | |
29 | push_command_line_include. | |
30 | * c-pch.c (pch_ready_to_save_cpp_state, pch_cpp_state_saved) | |
31 | (pch_cpp_save_state): New. | |
32 | (pch_init): Call pch_cpp_save_state conditionally, instead of | |
33 | calling cpp_save_state. | |
34 | ||
4a0ae68e MLI |
35 | 2012-10-20 Manuel López-Ibáñez <manu@gcc.gnu.org> |
36 | ||
37 | PR c/53063 | |
38 | PR c/40989 | |
39 | * c.opt (Waddress,Wchar-subscripts,Wsign-conversion,Wimplicit, | |
40 | Wimplicit-function-declaration,Wimplicit-int,Wsizeof-pointer-memaccess, | |
41 | Wnarrowing,Wparentheses,Wpointer-sign,Wreturn-type,Wsequence-point, | |
42 | Wsign-compare,Wuninitialized,Wmaybe-uninitialized,Wunused, | |
43 | Wvolatile-register-var): Add LangEnabledBy or EnabledBy. | |
44 | * c-opts.c (c_common_handle_option): Remove explicit handling from | |
45 | here. | |
46 | (c_common_post_options): Likewise. | |
47 | ||
67e4210b EB |
48 | 2012-10-18 Eric Botcazou <ebotcazou@adacore.com> |
49 | ||
50 | * c-ada-spec.c (LOCATION_COL): Delete. | |
51 | (compare_location): New function. | |
52 | (compare_node): Use it. | |
53 | (compare_comment): Likewise. | |
54 | ||
65d4f2cd MLI |
55 | 2012-10-16 Manuel López-Ibáñez <manu@gcc.gnu.org> |
56 | ||
57 | PR c/53063 | |
58 | PR c/40989 | |
59 | * c.opt (Wstrict-aliasing=,Wstrict-overflow=): Use LangEnabledBy. | |
60 | * c-opts.c (c_common_handle_option): Do not set them here. Add | |
61 | comment. | |
62 | (c_common_post_options): Likewise. | |
63 | ||
909881cb EB |
64 | 2012-10-16 Eric Botcazou <ebotcazou@adacore.com> |
65 | ||
66 | * c-ada-spec.c (ADA_HOST_WIDE_INT_PRINT_DOUBLE_HEX): Define. | |
67 | (dump_generic_ada_node) <INTEGER_CST>: Deal with sizetype specially. | |
68 | Remove POINTER_TYPE handling, add large unsigned handling and use | |
69 | ADA_HOST_WIDE_INT_PRINT_DOUBLE_HEX for big numbers. | |
70 | ||
3a785c97 JJ |
71 | 2012-10-12 Jakub Jelinek <jakub@redhat.com> |
72 | ||
73 | PR c/54381 | |
74 | * c-common.h (sizeof_pointer_memaccess_warning): Adjust prototype. | |
75 | * c-common.c (sizeof_pointer_memaccess_warning): Take array of 3 | |
76 | locs and array of 3 trees instead of just single loc and single | |
77 | sizeof_arg tree. Handle __builtin___*_chk builtins too, and | |
78 | also stpncpy, bcopy, bcmp, bzero, snprintf and vsnprintf builtins. | |
79 | For *cmp* builtins that take two sources strings report warnings | |
80 | about first and second source, not about destination and source. | |
81 | ||
5e54f81d MG |
82 | 2012-10-12 Marc Glisse <marc.glisse@inria.fr> |
83 | ||
84 | PR c++/53055 | |
85 | * c-common.h (enum ref_operator) [RO_ARROW_STAR]: New. | |
86 | ||
f5b02f1e EB |
87 | 2012-10-11 Eric Botcazou <ebotcazou@adacore.com> |
88 | ||
89 | * c-ada-spec.c (dump_ada_template): Bail out for template declarations | |
90 | declaring something coming from another file. | |
91 | ||
b46dbc6c AC |
92 | 2012-10-10 Arnaud Charlet <charlet@adacore.com> |
93 | ||
f5b02f1e | 94 | PR ada/54845 |
b46dbc6c AC |
95 | * c-ada-spec.c (print_ada_struct_decl): Increase buf size. |
96 | ||
5d9de0d0 PC |
97 | 2012-10-09 Paolo Carlini <paolo.carlini@oracle.com> |
98 | ||
99 | PR c++/54194 | |
100 | * c-common.c (warn_about_parentheses): Add location_t parameter; | |
101 | use EXPR_LOC_OR_LOC. | |
102 | * c-common.h: Update declaration. | |
103 | ||
a212e43f MG |
104 | 2012-10-09 Marc Glisse <marc.glisse@inria.fr> |
105 | ||
106 | PR c++/54427 | |
107 | * c-common.c (scalar_to_vector): Moved from c-typeck.c. Support | |
108 | more operations. Make error messages optional. | |
109 | * c-common.h (enum stv_conv): Moved from c-typeck.c. | |
110 | (scalar_to_vector): Declare. | |
111 | ||
b1db7f91 JM |
112 | 2012-10-08 Jason Merrill <jason@redhat.com> |
113 | ||
114 | * c-common.c (c_common_reswords): Add thread_local. | |
115 | ||
e28d52cf DS |
116 | 2012-10-08 Dodji Seketeli <dodji@redhat.com> |
117 | ||
118 | PR c++/53528 C++11 attribute support | |
119 | * c-common.h (bitfield_p, cxx_fundamental_alignment_p): Declare | |
120 | new functions. | |
121 | * c-common.c (check_cxx_fundamental_alignment_constraints): New | |
122 | static function. | |
123 | (handle_aligned_attribute): In choose strictest alignment | |
124 | among many. Use new check_cxx_fundamental_alignment_constraints. | |
125 | (handle_transparent_union_attribute): In c++11 attribute syntax, | |
126 | don't look through typedefs. | |
127 | ||
3b78de56 AC |
128 | 2012-10-04 Arnaud Charlet <charlet@adacore.com> |
129 | ||
130 | * c-ada-spec.c (print_ada_declaration): Remove handling of TDF_RAW. | |
131 | * c.opt (-fdump-ada-spec, -fdump-ada-spec-slim): Move switch definition | |
132 | out of dumpfile.h. | |
133 | ||
6040bb5f DC |
134 | 2012-09-25 Dehao Chen <dehao@google.com> |
135 | ||
136 | PR middle-end/54645 | |
3b78de56 | 137 | * c-pch.c (c_common_read_pch): Rebuild the location_adhoc_data |
6040bb5f DC |
138 | map when read in the pch. |
139 | ||
0b07a57e AC |
140 | 2012-09-18 Arnaud Charlet <charlet@adacore.com> |
141 | ||
142 | * c-ada-spec.c: Style fixes. | |
143 | ||
da5182be TQ |
144 | 2012-09-18 Thomas Quinot <quinot@adacore.com> |
145 | ||
146 | * c.opt (-fada-spec-parent): Define new command line switch. | |
147 | * c-ada-spec.c (get_ada_package): When -fada-spec-parent | |
148 | is specified, generate binding spec as a child of the specified unit. | |
149 | ||
0ccb505d PC |
150 | 2012-09-13 Paolo Carlini <paolo.carlini@oracle.com> |
151 | Manuel López-Ibáñez <manu@gcc.gnu.org> | |
152 | ||
153 | PR c++/53210 | |
154 | * c.opt ([Winit-self]): Enabled by -Wall in C++. | |
155 | ||
c583af79 AC |
156 | 2012-08-23 Arnaud Charlet <charlet@adacore.com> |
157 | ||
158 | * c-ada-spec.c (dump_generic_ada_node): Fix handling of name_only | |
159 | for pointers, and add missing Convention C pragma. | |
160 | (print_ada_struct_decl): Add missing aliased keyword. | |
161 | (dump_ads): Add pragma Ada_2005 and Style_Checks (Off). | |
162 | ||
1a4049e7 JJ |
163 | 2012-08-17 Jakub Jelinek <jakub@redhat.com> |
164 | ||
165 | * c-common.c (sizeof_pointer_memaccess_warning): New function. | |
166 | * c.opt (-Wsizeof-pointer-memaccess): Add new option. | |
167 | * c-opts.c (c_common_handle_option): Enable it for -Wall. | |
168 | * c-common.h (sizeof_pointer_memaccess_warning): Add prototype. | |
169 | * c-common.def (SIZEOF_EXPR): Moved here from cp-tree.def. | |
170 | ||
70b5e7dc RG |
171 | 2012-08-10 Richard Guenther <rguenther@suse.de> |
172 | ||
173 | * c-pretty-print.c (pp_c_expression): Handle anonymous SSA names. | |
174 | ||
f8923f7e SB |
175 | 2012-08-07 Steven Bosscher <steven@gcc.gnu.org> |
176 | ||
177 | * c-pretty-print.c (pp_c_function_definition): Use pp_newline_and_flush | |
178 | instead of separate pp_newline and pp_flush. | |
179 | (print_c_tree): Likewise. | |
180 | ||
e45abe1f RH |
181 | 2012-07-26 Richard Henderson <rth@redhat.com> |
182 | ||
183 | * c-common.c (handle_hot_attribute): Allow labels. | |
184 | (handle_cold_attribute): Likewise. | |
185 | ||
332f1d24 JJ |
186 | 2012-07-20 Jakub Jelinek <jakub@redhat.com> |
187 | ||
188 | PR c++/28656 | |
189 | * c-common.c (check_function_nonnull): Handle multiple nonnull | |
190 | attributes properly. | |
191 | ||
7ee2468b SB |
192 | 2012-07-16 Steven Bosscher <steven@gcc.gnu.org> |
193 | ||
194 | * c-gimplify.c: Include dumpfile.h instead of tree-dump.h. | |
195 | * c-ada-spec.c: Likewise. | |
196 | * c-dump.c (dump_stmt): Move to cp/dump.c, the only user. | |
197 | ||
ee7b28eb SB |
198 | 2012-07-14 Steven Bosscher <steven@gcc.gnu.org> |
199 | ||
200 | * c-pch.c (CHECK_NO_ASM_OUT_DURING_PCH): Do not define. | |
201 | Remove code conditional on it. | |
202 | ||
6bdf3519 SB |
203 | 2012-07-11 Steven Bosscher <steven@gcc.gnu.org> |
204 | ||
205 | * c-gimplify.c: Do not include basic-block.h. | |
206 | * c-common.c: Do not include linfuncs.h. | |
207 | ||
532aafad SB |
208 | 2012-07-08 Steven Bosscher <steven@gcc.gnu.org> |
209 | ||
210 | * c-common.h: Include tree.h. | |
211 | ||
8d0d1915 JM |
212 | 2012-07-02 Jason Merrill <jason@redhat.com> |
213 | ||
214 | PR c++/53524 | |
215 | * c-common.c (get_priority): Call default_conversion. | |
216 | ||
fbc873ad UB |
217 | 2012-07-01 Uros Bizjak <ubizjak@gmail.com> |
218 | ||
219 | * c-pch.c (c_common_write_pch): Remove unused variables. | |
220 | ||
d4a10d0a SB |
221 | 2012-06-29 Steven Bosscher <steven@gcc.gnu.org> |
222 | ||
223 | * cppspec.c: Moved from gcc/ to here. | |
224 | ||
6f3a2e23 KT |
225 | 2012-06-27 Kai Tietz <ktietz@redhat.com> |
226 | ||
227 | PR preprocessor/37215 | |
228 | * c-ppoutput.c (preprocess_file): Check for nonempty buffer. | |
229 | ||
8ca92d04 SB |
230 | 2012-06-21 Steven Bosscher <steven@gcc.gnu.org> |
231 | ||
232 | * c-common.h (c_common_print_pch_checksum): Remove. | |
233 | * c-pch.c: Do not include output.h. | |
234 | (CHECK_NO_ASM_OUT_DURING_PCH): Define and add FIXME. | |
235 | (asm_out_file): Define iff CHECK_NO_ASM_OUT_DURING_PCH isdefined. | |
236 | (asm_file_startpos): Define iff CHECK_NO_ASM_OUT_DURING_PCH is defined. | |
237 | (struct c_pch_header): Remove. | |
238 | (get_ident): Update gpch version. | |
239 | (pch_init): Do not print executable_checksum to asm_out_file. | |
240 | Do not fail if there is no asm_out_file to read back from. Set | |
241 | asm_file_startpos only if CHECK_NO_ASM_OUT_DURING_PCH is defined. | |
242 | (c_common_write_pch): Verify that nothing was written to asm_out_file | |
243 | since pch_init was called. Do not write a c_pch_header, and do not | |
244 | copy from asm_out_file to the PCH. | |
245 | (c_common_read_pch): Do not read a c_pch_header, and do not restore | |
246 | the content of asm_out_file from the PCH. | |
247 | (c_common_print_pch_checksum): Remove. | |
248 | * c-opts.c (c_common_init): Print out executable_checksum directly. | |
249 | ||
70f42967 SB |
250 | 2012-06-19 Steven Bosscher <steven@gcc.gnu.org> |
251 | ||
252 | * c-target.def (objc_declare_unresolved_class_reference, | |
253 | objc_declare_class_definition): Add new hooks. | |
254 | ||
a8781821 SB |
255 | 2012-06-19 Steven Bosscher <steven@gcc.gnu.org> |
256 | ||
257 | * c-lex.c: Do not include output.h. | |
258 | (cb_ident): Try to put out .ident with targetm.asm_out.output_ident. | |
259 | Remove uses of ASM_OUTPUT_IDENT. | |
260 | ||
9e1a8dd1 RR |
261 | 2012-06-15 Marc Glisse <marc.glisse@inria.fr> |
262 | ||
263 | PR c++/51033 | |
264 | * c-common.h (c_build_vec_perm_expr): Move decl here. | |
265 | * c-common.c (c_build_vec_perm_expr): Move definition | |
266 | here. | |
267 | ||
6f07a821 SB |
268 | 2012-06-06 Steven Bosscher <steven@gcc.gnu.org> |
269 | ||
270 | * c.opt (fconserve-space): Turn into a no-op. | |
271 | ||
9faeb493 | 272 | 2012-06-04 Sterling Augustine <saugustine@google.com> |
c265f413 SA |
273 | |
274 | * c-pretty-print.h (pp_c_flag_gnu_v3): New enumerator. | |
275 | * c-pretty-print.c (pp_c_specifier_qualifier_list): Check it at | |
276 | both the start and end of the function. | |
277 | ||
a4b7d13c SB |
278 | 2012-06-04 Steven Bosscher <steven@gcc.gnu.org> |
279 | ||
280 | * c-common.c: Do not include output.h. | |
281 | * c-pragma.c: Likewise. | |
282 | ||
c265f413 SA |
283 | 2012-06-04 Steven Bosscher <steven@gcc.gnu.org> |
284 | ||
285 | * error.c (dump_decl): Check pp_c_flag_gnu_v3. | |
286 | (decl_as_dwarf_string, lang_decl_dwarf_name): New functions. | |
287 | (lang_decl_name): Handle namespace decls. | |
288 | ||
be7a421e SB |
289 | 2012-05-31 Steven Bosscher <steven@gcc.gnu.org> |
290 | ||
291 | * c-ada-spec.c: Do not include output.h. | |
292 | * c-semantics.c: Likewise. | |
293 | ||
65de6659 JM |
294 | 2012-05-29 Joseph Myers <joseph@codesourcery.com> |
295 | ||
296 | * c-common.c: Fix typo. | |
297 | ||
ca5f4331 MM |
298 | 2012-05-29 Michael Matz <matz@suse.de> |
299 | ||
300 | * c-common.h (c_expand_decl): Remove prototype. | |
301 | ||
4f7f7aca MLI |
302 | 2012-05-29 Manuel López-Ibáñez <manu@gcc.gnu.org> |
303 | ||
304 | * c.opt (Wmissing-braces): Use LangEnabledBy(C ObjC,Wall). | |
305 | * c-opts.c (c_common_handle_option): Remove code handling | |
306 | warn_missing_braces. | |
307 | ||
4a792f9b PC |
308 | 2012-05-28 Paolo Carlini <paolo.carlini@oracle.com> |
309 | ||
310 | PR c++/25137 | |
311 | * c-opts.c (c_common_handle_option): For C++ -Wall doesn't enable | |
312 | -Wmissing_braces. | |
313 | ||
650dc14a DS |
314 | 2012-05-22 Dodji Seketeli <dodji@redhat.com> |
315 | ||
316 | PR c++/53322 | |
317 | * c.opt (Wunused-local-typedefs): Use EnabledBy(Wunused). | |
318 | ||
9b095bf1 MLI |
319 | 2012-05-17 Manuel López-Ibáñez <manu@gcc.gnu.org> |
320 | ||
321 | * c.opt (--pedantic-errors,-pedantic-errors): Do not handle here. | |
322 | * c-opts.c (c_common_handle_option): Do not handle explicitly | |
323 | Wreturn-type, Wwrite-strings, warn_ecpp, and -pedantic-errors. | |
324 | ||
0b2c4be5 DS |
325 | 2012-05-16 Dodji Seketeli <dodji@redhat.com> |
326 | ||
327 | PR preprocessor/7263 | |
328 | * c-lex.c (c_lex_with_flags): Pass a virtual location to the call | |
329 | to cpp_classify_number. For diagnostics, use the precise location | |
330 | instead of the global input_location. | |
331 | ||
a1bde5af PC |
332 | 2012-05-15 Paolo Carlini <paolo.carlini@oracle.com> |
333 | ||
d02924ef | 334 | PR c++/11856 |
a1bde5af PC |
335 | * c-common.c (shorten_compare): Check c_inhibit_evaluation_warnings. |
336 | ||
d1ede5f4 BS |
337 | 2012-05-14 Bernd Schmidt <bernds@codesourcery.com> |
338 | ||
a1bde5af | 339 | * c-common.c (DEF_ATTR_STRING): Define and undefine as necessary. |
d1ede5f4 | 340 | |
f2bc201f MLI |
341 | 2012-05-14 Manuel López-Ibáñez <manu@gcc.gnu.org> |
342 | ||
343 | PR 53063 | |
344 | * c.opt (Wc++0X-compat,Wdelete-non-virtual-dtor,Wjump-misses-init, | |
345 | Wreorder): Use LangEnabledBy. | |
346 | * c-opts.c (c_common_handle_option): Do not enable them | |
347 | explicitly. Call lang-specific generated functions. | |
348 | (c_common_post_options): Do not set them here. | |
349 | ||
95744782 MLI |
350 | 2012-05-13 Manuel López-Ibáñez <manu@gcc.gnu.org> |
351 | ||
352 | * c.opt (Wclobbered,Wempty-body,Wignored-qualifiers, | |
353 | Wmissing-field-initializers,Wmissing-parameter-type, | |
354 | Wold-style-declaration,Woverride-init): Use EnabledBy. | |
355 | * c-opts.c (c_common_post_options): Do not set here explicitly. | |
356 | ||
7d5a5747 MLI |
357 | 2012-05-11 Manuel López-Ibáñez <manu@gcc.gnu.org> |
358 | ||
359 | PR 53063 | |
360 | * c-opts.c (c_common_handle_option): Use handle_generated_option | |
361 | to enable sub-options. | |
362 | ||
5a3c9cf2 PC |
363 | 2012-05-10 Paolo Carlini <paolo.carlini@oracle.com> |
364 | ||
365 | PR c++/53158 | |
366 | * c-common.c (warnings_for_convert_and_check): Use warning_at. | |
367 | ||
3ac8781c RG |
368 | 2012-05-10 Richard Guenther <rguenther@suse.de> |
369 | ||
370 | * c-common.c (c_sizeof_or_alignof_type): Remove assert and | |
371 | adjust commentary about TYPE_IS_SIZETYPE types. | |
372 | ||
1e537948 MLI |
373 | 2012-05-09 Manuel López-Ibáñez <manu@gcc.gnu.org> |
374 | ||
375 | PR c++/53261 | |
376 | * c-common.c (warn_logical_operator): Check that argument of | |
377 | integer_zerop is not NULL. | |
378 | ||
f2c4a785 MLI |
379 | 2012-05-05 Manuel López-Ibáñez <manu@gcc.gnu.org> |
380 | ||
381 | PR c/43772 | |
382 | * c-common.c (warn_logical_operator): Do not warn if either side | |
383 | is already true or false. | |
384 | ||
50f305ca MLI |
385 | 2012-05-04 Manuel López-Ibáñez <manu@gcc.gnu.org> |
386 | ||
387 | PR c/51712 | |
388 | * c-common.c (expr_original_type): New. | |
389 | (shorten_compare): Do not warn for enumeration types. | |
390 | ||
0c3641b0 MLI |
391 | 2012-05-03 Manuel López-Ibáñez <manu@gcc.gnu.org> |
392 | ||
393 | * c.opt (fpermissive): Add Var(flag_permissive). | |
394 | ||
7edaa4d2 MG |
395 | 2012-04-30 Marc Glisse <marc.glisse@inria.fr> |
396 | ||
397 | PR c++/51033 | |
398 | * c-common.c (convert_vector_to_pointer_for_subscript): New function. | |
399 | * c-common.h (convert_vector_to_pointer_for_subscript): Declare it. | |
400 | ||
b9c8da34 DS |
401 | 2012-04-30 Dodji Seketeli <dodji@redhat.com> |
402 | ||
403 | Add -Wvarargs option | |
404 | * c.opt (Wvarargs): Define new option. | |
405 | ||
e6c69da0 MLI |
406 | 2012-04-30 Manuel López-Ibáñez <manu@gcc.gnu.org> |
407 | ||
408 | * c-common.c (check_function_arguments): Replace | |
409 | Wmissing-format-attribute with Wsuggest-attribute=format. | |
410 | ||
90137d8f MLI |
411 | 2012-04-30 Manuel López-Ibáñez <manu@gcc.gnu.org> |
412 | ||
413 | * c.opt (Wsuggest-attribute=format): New. Alias of | |
414 | Wmissing-format-attribute. | |
415 | * c-format.c (decode_format_type): Replace | |
416 | Wmissing-format-attribute with Wsuggest-attribute=format. | |
417 | (check_function_format): Likewise. | |
418 | ||
9faeb493 | 419 | 2012-04-27 Ollie Wild <aaw@google.com> |
7f5f5f98 OW |
420 | |
421 | * c-common.c: Add CPP_W_LITERAL_SUFFIX mapping. | |
422 | * c-opts.c (c_common_handle_option): Handle OPT_Wliteral_suffix. | |
423 | * c.opt: Add Wliteral-suffix. | |
424 | ||
c1771a20 MLI |
425 | 2012-04-22 Manuel López-Ibáñez <manu@gcc.gnu.org> |
426 | ||
427 | PR c/44774 | |
428 | * c.opt (Wpedantic): New. | |
429 | (pedantic): Alias Wpedantic. | |
430 | * c-opts.c (c_common_handle_option): Replace -pedantic with -Wpedantic. | |
431 | (c_common_post_options): Likewise. | |
432 | (sanitize_cpp_opts): Likewise. | |
433 | * c-lex.c (interpret_float): Likewise. | |
434 | * c-format.c (check_format_types): Likewise. | |
435 | * c-common.c (pointer_int_sum): Likewise. | |
436 | (c_sizeof_or_alignof_type): Likewise. | |
437 | (c_add_case_label): Likewise. | |
438 | (c_do_switch_warnings): Likewise. | |
439 | * c-pragma.c (handle_pragma_float_const_decimal64): Likewise. | |
440 | ||
04b391c1 JM |
441 | 2012-04-15 Jason Merrill <jason@redhat.com> |
442 | ||
443 | PR c++/52818 | |
444 | * c-format.c (CPLUSPLUS_STD_VER): C++11 inherits from C99. | |
445 | (C_STD_NAME): Distinguish between C++98 and C++11. | |
446 | ||
ac868f29 EB |
447 | 2012-04-11 Eric Botcazou <ebotcazou@adacore.com> |
448 | ||
449 | PR target/52624 | |
450 | * c-common.h (uint16_type_node): Rename into... | |
451 | (c_uint16_type_node): ...this. | |
452 | * c-common.c (c_common_nodes_and_builtins): Adjust for above renaming. | |
453 | * c-cppbuiltin.c (builtin_define_stdint_macros): Likewise. | |
454 | ||
fd4116f4 MLI |
455 | 2012-04-10 Manuel López-Ibáñez <manu@gcc.gnu.org> |
456 | ||
457 | * c-common.c (warn_if_unused_value): Move definition to here. | |
458 | * c-common.h (warn_if_unused_value): Move declaration to here. | |
459 | ||
573ac65e WB |
460 | 2012-03-23 William Bader <williambader@hotmail.com> |
461 | ||
462 | * c-lex.c (c_lex_with_flags): Avoid declarations after stmts. | |
463 | ||
552b8185 JM |
464 | 2012-03-20 Jason Merrill <jason@redhat.com> |
465 | ||
466 | * c-common.h (enum cxx_dialect): Add cxx1y. | |
467 | * c-common.c (c_common_nodes_and_builtins): Use >= for cxx_dialect | |
468 | test. | |
469 | * c-cppbuiltin.c (c_cpp_builtins): Likewise. | |
470 | * c-opts.c (c_common_post_options): Likewise. | |
471 | (set_std_cxx1y): New. | |
472 | (c_common_handle_option): Call it. | |
473 | * c.opt (-std=c++1y, -std=gnu++1y): New flags. | |
474 | ||
04398fa8 PC |
475 | 2012-03-19 Paolo Carlini <paolo.carlini@oracle.com> |
476 | ||
477 | PR c++/14710 | |
478 | * c.opt ([Wuseless-cast]): Add. | |
479 | ||
d2a12ae7 RG |
480 | 2012-03-16 Richard Guenther <rguenther@suse.de> |
481 | ||
482 | * c-pretty-print.c (pp_c_initializer_list): Adjust. | |
483 | ||
a12bf402 MLI |
484 | 2012-03-15 Manuel López-Ibáñez <manu@gcc.gnu.org> |
485 | ||
486 | PR c++/44783 | |
487 | * c.opt (ftemplate-backtrace-limit) Add. | |
488 | ||
5c30094f RO |
489 | 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
490 | ||
491 | * c-cppbuiltin.c (c_cpp_builtins): Remove #pragma extern_prefix | |
492 | handling. | |
493 | * c-pragma.c (handle_pragma_extern_prefix): Remove. | |
494 | (init_pragma): Don't register extern_prefix. | |
495 | ||
21fa2faf RG |
496 | 2012-03-12 Richard Guenther <rguenther@suse.de> |
497 | ||
498 | * c-common.c (c_common_get_narrower): Use c_common_type_for_size. | |
499 | (builtin_type_for_size): Likewise. | |
500 | ||
e3793c6f JJ |
501 | 2012-02-13 Jakub Jelinek <jakub@redhat.com> |
502 | ||
503 | PR c++/52215 | |
504 | * c-common.c (sync_resolve_params): Don't decide whether to convert | |
505 | or not based on TYPE_SIZE comparison, convert whenever arg_type | |
506 | is unsigned INTEGER_TYPE. | |
507 | ||
93286335 PC |
508 | 2012-02-06 Paolo Carlini <paolo.carlini@oracle.com> |
509 | ||
510 | PR c/52118 | |
511 | * c.opt ([Wunused-local-typedefs]): Fix description. | |
512 | ||
7a421706 MS |
513 | 2012-01-24 Mike Stump <mikestump@comcast.net> |
514 | ||
515 | * c-common.c (c_common_type_for_mode): Match signed/unsigned types | |
516 | exactly. | |
517 | ||
ba9b1f11 RG |
518 | 2012-01-18 Richard Guenther <rguenther@suse.de> |
519 | ||
520 | * c-opts.c (c_common_post_options): Reset LTO flags if | |
521 | we are about to generate a PCH. | |
522 | ||
465406be PC |
523 | 2012-01-17 Paolo Carlini <paolo.carlini@oracle.com> |
524 | ||
525 | PR c++/51777 | |
526 | * c-pretty-print.c (pp_c_integer_constant): For unsigned constants | |
527 | use pp_unsigned_wide_integer. | |
528 | ||
aee15221 RG |
529 | 2012-01-10 Richard Guenther <rguenther@suse.de> |
530 | ||
531 | PR middle-end/51806 | |
532 | * c-opts.c (c_common_handle_option): Move -Werror handling | |
533 | to language independent code. | |
534 | ||
5720c0dc RG |
535 | 2012-01-05 Richard Guenther <rguenther@suse.de> |
536 | ||
537 | PR middle-end/51764 | |
538 | * c.opt (Wmudflap, fmudflap, fmudflapth, fmudflapir): Move here | |
539 | from common.opt. | |
540 | ||
73ac190a PC |
541 | 2011-12-30 Paolo Carlini <paolo.carlini@oracle.com> |
542 | ||
543 | PR c++/51316 | |
544 | * c-common.c (c_sizeof_or_alignof_type): In C++ allow for alignof | |
545 | of array types with an unknown bound. | |
546 | ||
48b0b196 JM |
547 | 2011-12-20 Joseph Myers <joseph@codesourcery.com> |
548 | ||
549 | * c-common.c (flag_isoc99): Update comment to refer to C11. | |
550 | (flag_isoc1x): Change to flag_isoc11. | |
551 | * c-common.h (flag_isoc99): Update comment to refer to C11. | |
552 | (flag_isoc1x): Change to flag_isoc11. | |
553 | * c-cppbuiltin.c (cpp_atomic_builtins): Change comment to refer to | |
554 | C11. | |
555 | * c-opts.c (set_std_c1x): Change to set_std_c11. | |
556 | (c_common_handle_option): Handle OPT_std_c11 and OPT_std_gnu11. | |
557 | Call set_std_c11. | |
558 | (set_std_c89, set_std_c99, set_std_c11): Use flag_isoc11. | |
559 | (set_std_c1): Use CLK_STDC11 and CLK_GNUC11. | |
560 | * c.opt (std=c1x): Change to std=c11. Document as non-draft | |
561 | standard. | |
562 | (std=c1x, std=iso9899:2011): Add as aliases of std=c11. | |
563 | (std=gnu1x): Change to std=gnu11. Refer to non-draft standard. | |
564 | (std=gnu1x): Make alias of std=gnu11. | |
565 | ||
d58d6eb5 JM |
566 | 2011-12-19 Jason Merrill <jason@redhat.com> |
567 | ||
568 | PR c++/51228 | |
569 | * c-common.c (handle_transparent_union_attribute): Check the first | |
570 | field if the type is complete. | |
571 | ||
b3908fcc JW |
572 | 2011-12-15 Jonathan Wakely <jwakely.gcc@gmail.com> |
573 | ||
574 | PR libstdc++/51365 | |
575 | * c-common.c (RID_IS_FINAL): Add. | |
576 | * c-common.h (RID_IS_FINAL): Add. | |
577 | ||
fea3ca91 IS |
578 | 2011-11-30 Iain Sandoe <iains@gcc.gnu.org> |
579 | ||
580 | * c.opt (fgnu-runtime): Provide full description. | |
581 | (fnext-runtime): Likewise. | |
582 | * c-opts.c (OPT_fgnu_runtime, OPT_fnext_runtime) Remove. | |
583 | ||
62bad7cd AM |
584 | 2011-11-28 Andrew MacLeod <amacleod@redhat.com> |
585 | ||
586 | * c-cpp-builtin.c (cpp_atomic_builtins):New. Emit all atomic | |
587 | predefines in one place. Add LOCK_FREE predefines. | |
588 | (c_cpp_builtins): Move Legacy HAVE_SYNC predefines to | |
589 | new func. | |
590 | ||
c466c4ff AM |
591 | 2011-11-24 Andrew MacLeod <amacleod@redhat.com> |
592 | ||
593 | PR c/51256 | |
9faeb493 | 594 | * c-common.c (get_atomic_generic_size): Check for various error |
c466c4ff | 595 | conditions |
9faeb493 UB |
596 | (resolve_overloaded_atomic_exchange, |
597 | resolve_overloaded_atomic_compare_exchange, | |
c466c4ff AM |
598 | resolve_overloaded_atomic_load, resolve_overloaded_atomic_store): Return |
599 | error_mark_node for error conditions. | |
9faeb493 | 600 | |
a5952633 RG |
601 | 2011-11-08 Richard Guenther <rguenther@suse.de> |
602 | ||
603 | PR middle-end/51010 | |
604 | c-family/ | |
605 | ||
0a35513e AH |
606 | 2011-11-07 Richard Henderson <rth@redhat.com> |
607 | Aldy Hernandez <aldyh@redhat.com> | |
608 | Torvald Riegel <triegel@redhat.com> | |
609 | ||
610 | Merged from transactional-memory. | |
611 | ||
612 | * c-common.c (handle_tm_wrap_attribute, | |
613 | handle_tm_attribute, ignore_attribute, parse_tm_stmt_attr): New. | |
614 | (struct c_common_reswords): Added __transaction* keywords. | |
615 | (struct c_common_attribute_table): Added transaction* and tm_regparm | |
616 | attributes. | |
617 | * c-common.h: Added RID_TRANSACTION*. Added TM_ATTR* and TM_STMT* | |
618 | masks. | |
619 | (parse_tm_stmt_attr, tm_attr_to_mask, tm_mask_to_attr, | |
620 | find_tm_attribute): Declare. | |
621 | ||
6d87092d JM |
622 | 2011-11-07 Jason Merrill <jason@redhat.com> |
623 | ||
624 | PR c++/35688 | |
625 | * c-common.c, c-common.h: Revert yesterday's changes. | |
626 | ||
8e7860a1 JM |
627 | 2011-11-06 Jason Merrill <jason@redhat.com> |
628 | ||
629 | PR c++/35688 | |
630 | * c-common.c (decl_has_visibility_attr): Split out from... | |
631 | (c_determine_visibility): ...here. | |
632 | * c-common.h: Declare it. | |
633 | ||
d19fa6b5 JM |
634 | 2011-11-06 Joseph Myers <joseph@codesourcery.com> |
635 | ||
636 | * c-common.c (c_common_reswords): Add _Alignas and _Alignof. | |
637 | (c_sizeof_or_alignof_type): Diagnose alignof applied to a function | |
638 | type. | |
639 | (check_user_alignment): New. Split out of | |
640 | handle_aligned_attribute. Disallow integer constants with | |
641 | noninteger types. Conditionally allow zero. | |
642 | (handle_aligned_attribute): Use check_user_alignment. | |
643 | * c-common.h (RID_ALIGNAS, check_user_alignment): New. | |
644 | ||
86951993 AM |
645 | 2011-11-06 Andrew MacLeod <amacleod@redhat.com> |
646 | Richard Henderson <rth@redhat.com> | |
647 | ||
648 | Merged from cxx-mem-model. | |
649 | ||
650 | * c-cppbuiltin.c (c_cpp_builtins): Test both atomic and sync patterns. | |
9faeb493 | 651 | * c-common.c (sync_resolve_params, sync_resolve_return): Only tweak |
86951993 AM |
652 | parameters that are the same type size. |
653 | (get_atomic_generic_size): New. Find size of generic | |
654 | atomic function parameters and do typechecking. | |
655 | (add_atomic_size_parameter): New. Insert size into parameter list. | |
656 | (resolve_overloaded_atomic_exchange): Restructure __atomic_exchange to | |
657 | either __atomic_exchange_n or external library call. | |
9faeb493 | 658 | (resolve_overloaded_atomic_compare_exchange): Restructure |
86951993 | 659 | __atomic_compare_exchange to either _n variant or external library call. |
9faeb493 | 660 | (resolve_overloaded_atomic_load): Restructure __atomic_load to either |
86951993 AM |
661 | __atomic_load_n or an external library call. |
662 | (resolve_overloaded_atomic_store): Restructure __atomic_store to either | |
663 | __atomic_store_n or an external library call. | |
664 | (resolve_overloaded_builtin): Handle new __atomic builtins. | |
665 | ||
cf9e9959 EB |
666 | 2011-11-04 Eric Botcazou <ebotcazou@adacore.com> |
667 | ||
668 | PR c++/50608 | |
669 | * c-common.c (c_fully_fold_internal) <ADDR_EXPR>: Call fold_offsetof_1. | |
670 | (fold_offsetof_1): Make global. Remove STOP_REF argument and adjust. | |
671 | <INDIRECT_REF>: Return the argument. | |
672 | <ARRAY_REF>: Remove special code for negative offset. | |
673 | Call fold_build_pointer_plus instead of size_binop. | |
674 | (fold_offsetof): Remove STOP_REF argument and adjust. | |
675 | * c-common.h (fold_offsetof_1): Declare. | |
676 | (fold_offsetof): Remove STOP_REF argument. | |
677 | ||
25339f10 JM |
678 | 2011-11-02 Paolo Carlini <paolo.carlini@oracle.com> |
679 | ||
680 | PR c++/50810 | |
681 | * c-opts.c (c_common_handle_option): Enable -Wnarrowing as part | |
682 | of -Wall; include -Wnarrowing in -Wc++0x-compat; adjust default | |
683 | Wnarrowing for C++0x and C++98. | |
684 | * c.opt ([Wnarrowing]): Update. | |
685 | ||
89401152 PC |
686 | 2011-11-01 Paolo Carlini <paolo.carlini@oracle.com> |
687 | ||
688 | PR c++/44277 | |
689 | * c.opt: Add Wzero-as-null-pointer-constant. | |
690 | ||
97e3ad20 JM |
691 | 2011-10-31 Jason Merrill <jason@redhat.com> |
692 | ||
15694fdd JM |
693 | * c.opt (-fdeduce-init-list): Off by default. |
694 | ||
97e3ad20 JM |
695 | PR c++/50920 |
696 | * c-common.h (cxx_dialect): Add cxx11 and cxx03. | |
697 | * c.opt: Add -std=c++11, -std=gnu++11, -std=gnu++03, | |
698 | and -Wc++11-compat. | |
699 | * c-opts.c (set_std_cxx11): Rename from set_std_cxx0x. | |
700 | ||
fb9120e3 RAV |
701 | 2011-10-27 Roberto Agostino Vitillo <ravitillo@lbl.gov> |
702 | ||
703 | PR c++/30066 | |
704 | * c.opt (fvisibility-inlines-hidden): Description change. | |
705 | ||
3ce4f9e4 ESR |
706 | 2011-10-26 Ed Smith-Rowland <3dw4rd@verizon.net> |
707 | ||
708 | Implement C++11 user-defined literals. | |
709 | * c-common.c (build_userdef_literal): New. | |
710 | * c-common.def: New tree code. | |
711 | * c-common.h (tree_userdef_literal): New tree struct and accessors. | |
712 | * c-lex.c (interpret_float): Add suffix parm. | |
713 | (c_lex_with_flags): Build literal tokens. | |
714 | ||
5f53c243 PC |
715 | 2011-10-23 Paolo Carlini <paolo.carlini@oracle.com> |
716 | ||
717 | PR c++/50841 | |
718 | Revert: | |
719 | 2011-10-23 Paolo Carlini <paolo.carlini@oracle.com> | |
720 | ||
721 | PR c++/50810 | |
722 | * c-opts.c (c_common_handle_option): Enable -Wnarrowing as part | |
723 | of -Wall; include -Wnarrowing in -Wc++0x-compat; adjust default | |
724 | Wnarrowing for C++0x and C++98. | |
725 | * c.opt ([Wnarrowing]): Update. | |
726 | ||
263734e1 PC |
727 | 2011-10-23 Paolo Carlini <paolo.carlini@oracle.com> |
728 | ||
729 | PR c++/50810 | |
730 | * c-opts.c (c_common_handle_option): Enable -Wnarrowing as part | |
731 | of -Wall; include -Wnarrowing in -Wc++0x-compat; adjust default | |
732 | Wnarrowing for C++0x and C++98. | |
733 | * c.opt ([Wnarrowing]): Update. | |
734 | ||
d2e312d7 PC |
735 | 2011-10-21 Paolo Carlini <paolo.carlini@oracle.com> |
736 | ||
737 | PR c++/45385 | |
738 | * c-common.c (conversion_warning): Remove code looking for | |
739 | artificial operands. | |
740 | ||
d17687f6 DS |
741 | 2011-10-18 Dodji Seketeli <dodji@redhat.com> |
742 | ||
743 | PR bootstrap/50760 | |
744 | * c-lex.c (fe_file_change): Use LINEMAP_SYSP when | |
9faeb493 | 745 | !NO_IMPLICIT_EXTERN_C. |
d17687f6 | 746 | |
fc8396e9 PC |
747 | 2011-10-17 Michael Spertus <mike_spertus@symantec.com> |
748 | ||
749 | * c-common.c (c_common_reswords): Add __bases, | |
750 | __direct_bases. | |
751 | * c-common.h: Add RID_BASES and RID_DIRECT_BASES. | |
752 | ||
753 | 2011-10-17 Paolo Carlini <paolo.carlini@oracle.com> | |
754 | ||
755 | PR c++/50757 | |
756 | * c.opt ([Wnonnull]): Add C++ and Objective-C++. | |
757 | ||
847e697a TT |
758 | 2011-10-15 Tom Tromey <tromey@redhat.com> |
759 | Dodji Seketeli <dodji@redhat.com> | |
760 | ||
761 | * c.opt (fdebug-cpp): New option. | |
762 | * c-opts.c (c_common_handle_option): Handle the option. | |
763 | * c-ppoutput.c (maybe_print_line_1): New static function. Takes an | |
764 | output stream in parameter. Factorized from ... | |
765 | (maybe_print_line): ... this. Dump location debug information when | |
766 | -fdebug-cpp is in effect. | |
767 | (print_line_1): New static function. Takes an output stream in | |
768 | parameter. Factorized from ... | |
769 | (print_line): ... here. Dump location information when -fdebug-cpp | |
770 | is in effect. | |
771 | (scan_translation_unit): Dump location information when | |
772 | -fdebug-cpp is in effect. | |
773 | ||
92582b75 TT |
774 | 2011-10-15 Tom Tromey <tromey@redhat.com> |
775 | Dodji Seketeli <dodji@redhat.com> | |
776 | ||
777 | * c.opt (ftrack-macro-expansion): New option. Handle it with and | |
778 | without argument. | |
779 | * c-opts.c (c_common_handle_option)<case | |
780 | OPT_ftrack_macro_expansion_, case OPT_ftrack_macro_expansion>: New | |
781 | cases. Handle -ftrack-macro-expansion with and without argument. | |
782 | ||
46427374 TT |
783 | 2011-10-15 Tom Tromey <tromey@redhat.com> |
784 | Dodji Seketeli <dodji@redhat.com> | |
785 | ||
786 | * c-ppoutput.c (scan_translation_unit, maybe_print_line) | |
787 | (print_line, cb_define, do_line_change): Adjust to avoid touching | |
788 | the internals of struct line_map. Use the public API instead. | |
789 | * c-pch.c (c_common_read_pch): Likewise. | |
790 | * c-lex.c (fe_file_change): Likewise. | |
791 | ||
fc8396e9 PC |
792 | 2011-10-14 Paolo Carlini <paolo.carlini@oracle.com> |
793 | ||
794 | PR c++/17212 | |
795 | * c.opt ([Wformat-zero-length]): Add C++ and Objective-C++. | |
796 | ||
797 | 2011-10-11 Paolo Carlini <paolo.carlini@oracle.com> | |
798 | ||
799 | PR c++/33067 | |
800 | * c-pretty-print.c (pp_c_floating_constant): Output | |
801 | max_digits10 (in the ISO C++ WG N1822 sense) decimal digits. | |
802 | ||
e79983f4 MM |
803 | 2011-10-11 Michael Meissner <meissner@linux.vnet.ibm.com> |
804 | ||
805 | * c-common.c (def_builtin_1): Delete old interface with two | |
806 | parallel arrays to hold standard builtin declarations, and replace | |
807 | it with a function based interface that can support creating | |
808 | builtins on the fly in the future. Change all uses, and poison | |
809 | the old names. Make sure 0 is not a legitimate builtin index. | |
810 | * c-omp.c (c_finish_omp_barrier): Ditto. | |
811 | (c_finish_omp_taskwait): Ditto. | |
812 | (c_finish_omp_flush): Ditto. | |
813 | ||
6637388f TG |
814 | 2011-10-11 Tristan Gingold <gingold@adacore.com> |
815 | ||
816 | * c.opt: (fallow-parameterless-variadic-functions): New. | |
817 | ||
3797cb21 DS |
818 | 2011-09-08 Dodji Seketeli <dodji@redhat.com> |
819 | ||
820 | PR c++/33255 - Support -Wunused-local-typedefs warning | |
821 | * c-common.h (struct c_language_function::local_typedefs): New | |
822 | field. | |
9faeb493 UB |
823 | (record_locally_defined_typedef, maybe_record_typedef_use) |
824 | (maybe_warn_unused_local_typedefs): Declare new functions. | |
3797cb21 | 825 | * c-common.c (record_locally_defined_typedef) |
9faeb493 UB |
826 | (maybe_record_typedef_use) |
827 | (maybe_warn_unused_local_typedefs): Define new functions. | |
3797cb21 DS |
828 | * c.opt: Declare new -Wunused-local-typedefs flag. |
829 | ||
693ddb1b EB |
830 | 2011-09-06 Eric Botcazou <ebotcazou@adacore.com> |
831 | ||
832 | PR middle-end/50266 | |
833 | * c-common.c (c_fully_fold_internal) <ADDR_EXPR>: Fold offsetof-like | |
834 | computations. | |
835 | ||
830c740f RG |
836 | 2011-09-05 Richard Guenther <rguenther@suse.de> |
837 | ||
838 | * c-common.c (complete_array_type): Use ssize_int (-1) instead | |
839 | of integer_minus_one_node for empty array upper bounds. | |
840 | ||
892a371f DS |
841 | 2011-08-28 Dodji Seketeli <dodji@redhat.com> |
842 | ||
843 | * c-pch.c (c_common_read_pch): Call linemap_add with LC_ENTER as | |
844 | it's the first time it's being called on this main TU. | |
845 | ||
0e3fdb48 RB |
846 | 2011-08-24 Richard Guenther <rguenther@suse.de> |
847 | ||
848 | PR c/49396 | |
849 | * c-cppbuiltin.c (c_cpp_builtins_optimize_pragma): Fix conditional. | |
850 | ||
851 | 2011-08-22 Gabriel Charette <gchare@google.com> | |
e3dfef44 GC |
852 | |
853 | * c-opts.c (c_finish_options): Force BUILTINS_LOCATION for tokens | |
854 | defined in cpp_init_builtins and c_cpp_builtins. | |
855 | ||
d4a83c10 JM |
856 | 2011-08-19 Joseph Myers <joseph@codesourcery.com> |
857 | ||
858 | * c-common.c (c_common_reswords): Add __builtin_complex. | |
859 | * c-common.h (RID_BUILTIN_COMPLEX): New. | |
860 | ||
bbceee64 JM |
861 | 2011-08-18 Joseph Myers <joseph@codesourcery.com> |
862 | ||
863 | * c-common.c (c_common_reswords): Add _Noreturn. | |
864 | (keyword_is_function_specifier): Handle RID_NORETURN. | |
865 | * c-common.h (RID_NORETURN): New. | |
866 | ||
0e3a99ae AS |
867 | 2011-08-10 Artjoms Sinkarovs <artyom.shinakroff@gmail.com> |
868 | ||
869 | * c-common.c (unsafe_conversion_p): New function. Check if it is | |
870 | unsafe to convert an expression to the type. | |
871 | (conversion_warning): Adjust, use unsafe_conversion_p. | |
872 | * c-common.h (unsafe_conversion_p): New function declaration. | |
873 | ||
20906c66 JJ |
874 | 2011-08-02 Jakub Jelinek <jakub@redhat.com> |
875 | ||
876 | * c-common.h (c_finish_omp_atomic): Adjust prototype. | |
877 | (c_finish_omp_taskyield): New prototype. | |
878 | * c-omp.c (c_finish_omp_atomic): Add OPCODE, V, LHS1 and RHS1 | |
879 | arguments. Handle OMP_ATOMIC_READ, OMP_ATOMIC_CAPTURE_OLD and | |
880 | OMP_ATOMIC_CAPTURE_NEW in addition to OMP_ATOMIC. If LHS1 | |
881 | or RHS1 have side-effects, evaluate those too in the right spot, | |
882 | if it is a decl and LHS is also a decl, error out if they | |
883 | aren't the same. | |
884 | (c_finish_omp_taskyield): New function. | |
885 | * c-cppbuiltin.c (c_cpp_builtins): Change _OPENMP to 201107. | |
886 | * c-pragma.c (omp_pragmas): Add taskyield. | |
887 | * c-pragma.h (enum pragma_kind): Add PRAGMA_OMP_TASKYIELD. | |
888 | (enum pragma_omp_clause): Add PRAGMA_OMP_CLAUSE_FINAL and | |
889 | PRAGMA_OMP_CLAUSE_MERGEABLE. | |
890 | ||
770e5a2e DS |
891 | 2011-07-25 Dodji Seketeli <dodji@redhat.com> |
892 | ||
893 | * c-common.h (set_underlying_type): Remove parm name from | |
894 | declaration. | |
895 | ||
1baae426 RG |
896 | 2011-07-25 Romain Geissler <romain.geissler@gmail.com> |
897 | ||
898 | * c-pretty-print.h: Search c-common.h in c-family. | |
9faeb493 | 899 | |
fcb21722 JM |
900 | 2011-07-22 Jason Merrill <jason@redhat.com> |
901 | ||
76f86d00 JM |
902 | PR c++/49793 |
903 | * c.opt (Wnarrowing): New. | |
904 | ||
3a636414 JM |
905 | PR c++/30112 |
906 | * c-common.h: Declare c_linkage_bindings. | |
907 | * c-pragma.c (handle_pragma_redefine_extname): Use it. | |
908 | ||
fcb21722 JM |
909 | PR c++/49813 |
910 | * c-opts.c (set_std_cxx0x): Set flag_isoc94 and flag_isoc99. | |
911 | * c-pretty-print.c (pp_c_cv_qualifiers): Check c_dialect_cxx as well | |
912 | as flag_isoc99 for 'restrict'. | |
913 | (pp_c_specifier_qualifier_list): Likewise for _Complex. | |
914 | ||
02614448 ILT |
915 | 2011-07-21 Ian Lance Taylor <iant@google.com> |
916 | ||
917 | PR middle-end/49705 | |
918 | * c-common.c (c_disable_warnings): New static function. | |
919 | (c_enable_warnings): New static function. | |
920 | (c_fully_fold_internal): Change local unused_p to bool. Call | |
921 | c_disable_warnings and c_enable_warnings rather than change | |
922 | c_inhibit_evaluation_warnings. | |
923 | ||
34429675 JM |
924 | 2011-07-20 Jason Merrill <jason@redhat.com> |
925 | ||
926 | PR c++/6709 (DR 743) | |
927 | PR c++/42603 (DR 950) | |
928 | * c-common.h (CPP_KEYWORD, CPP_TEMPLATE_ID): Move from cp/parser.h. | |
929 | (CPP_NESTED_NAME_SPECIFIER, N_CP_TTYPES): Likewise. | |
930 | (CPP_DECLTYPE): New. | |
931 | * c-common.c (c_parse_error): Handle CPP_DECLTYPE. | |
932 | ||
5d49b6a7 RG |
933 | 2011-07-19 Richard Guenther <rguenther@suse.de> |
934 | ||
935 | * c-common.c (pointer_int_sum): Use fold_build_pointer_plus. | |
936 | * c-omp.c (c_finish_omp_for): Likewise. | |
937 | ||
e84a58ff EB |
938 | 2011-07-12 Eric Botcazou <ebotcazou@adacore.com> |
939 | ||
940 | * c-ada-spec.c (dump_nested_types): Put semi-colon after empty loop | |
941 | body on the next line. | |
942 | ||
329af3c7 JM |
943 | 2011-07-08 Jason Merrill <jason@redhat.com> |
944 | ||
4063e61b JM |
945 | PR c++/45437 |
946 | * c-omp.c (check_omp_for_incr_expr): Handle preevaluation. | |
947 | ||
329af3c7 JM |
948 | PR c++/49673 |
949 | * c-common.c (c_apply_type_quals_to_decl): Don't check | |
950 | TYPE_NEEDS_CONSTRUCTING. | |
951 | ||
1a072294 RG |
952 | 2011-07-06 Richard Guenther <rguenther@suse.de> |
953 | ||
954 | * c-common.c (c_common_nodes_and_builtins): | |
955 | Merge calls to build_common_tree_nodes and build_common_tree_nodes_2. | |
956 | ||
fce5dddd RG |
957 | 2011-07-05 Richard Guenther <rguenther@suse.de> |
958 | ||
959 | * c-common.c (c_common_nodes_and_builtins): Build all common | |
960 | tree nodes first. | |
961 | ||
45d439ac JJ |
962 | 2011-06-27 Jakub Jelinek <jakub@redhat.com> |
963 | ||
56300785 JJ |
964 | * c-common.h (c_tree_chain_next): New static inline function. |
965 | ||
45d439ac JJ |
966 | * c-common.c (check_builtin_function_arguments): Handle |
967 | BUILT_IN_ASSUME_ALIGNED. | |
968 | ||
e0a8ecf2 AM |
969 | 2011-06-21 Andrew MacLeod <amacleod@redhat.com> |
970 | ||
971 | * c-common.c: Add sync_ or SYNC__ to builtin names. | |
972 | * c-omp.c: Add sync_ or SYNC__ to builtin names. | |
dfb43cd5 PV |
973 | |
974 | 2011-06-20 Pierre Vittet <piervit@pvittet.com> | |
975 | ||
976 | * c-pragma.h (pragma_handler_1arg, pragma_handler_2arg): New | |
977 | handler. | |
978 | (gen_pragma_handler): New union. | |
979 | (internal_pragma_handler): New type. | |
980 | (c_register_pragma_with_data) | |
981 | (c_register_pragma_with_expansion_and_data): New functions. | |
982 | ||
983 | * c-pragma.c (registered_pragmas, c_register_pragma_1) | |
984 | (c_register_pragma, c_register_pragma_with_expansion) | |
985 | (c_invoke_pragma_handler): Changed to work with | |
986 | internal_pragma_handler. | |
987 | (c_register_pragma_with_data) | |
988 | (c_register_pragma_with_expansion_and_data): New functions. | |
989 | ||
677f3fa8 JM |
990 | 2011-06-14 Joseph Myers <joseph@codesourcery.com> |
991 | ||
992 | * c-common.c: Include common/common-target.h. | |
993 | (handle_section_attribute): Use | |
994 | targetm_common.have_named_sections. | |
995 | * c-cppbuiltin.c: Include common/common-target.h. | |
996 | (c_cpp_builtins): Use targetm_common.except_unwind_info. | |
997 | ||
d7fc8c14 RG |
998 | 2011-06-10 Richard Guenther <rguenther@suse.de> |
999 | ||
1000 | * c-pretty-print.c (pp_c_type_specifier): Use pp_c_identifier | |
1001 | to print a IDENTIFIER_NODE. | |
1002 | ||
10e48e39 RO |
1003 | 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1004 | Joseph Myers <joseph@codesourcery.com> | |
1005 | ||
1006 | * c.opt (fbuilding-libgcc): New option. | |
1007 | * c-cppbuiltin.c (c_cpp_builtins): Define | |
1008 | __LIBGCC_TRAMPOLINE_SIZE__ if flag_building_libgcc. | |
1009 | ||
6976ae51 JM |
1010 | 2011-06-07 Jason Merrill <jason@redhat.com> |
1011 | ||
3ff60975 JM |
1012 | * c-common.c (max_tinst_depth): Lower default to 900. |
1013 | ||
6976ae51 JM |
1014 | * c-format.c (gcc_cxxdiag_char_table): Add 'S' format. |
1015 | ||
009db074 RG |
1016 | 2011-06-07 Richard Guenther <rguenther@suse.de> |
1017 | ||
1018 | * c-common.c (c_common_nodes_and_builtins): Do not set | |
1019 | size_type_node or call set_sizetype. | |
1020 | ||
b4592b92 DS |
1021 | 2011-06-07 Dodji Seketeli <dodji@redhat.com> |
1022 | ||
1023 | PR debug/49130 | |
1024 | * c-pretty-print.c (pp_c_integer_constant): Consider the canonical | |
9faeb493 | 1025 | type when using pointer comparison to compare types. |
b4592b92 | 1026 | |
014ab419 JW |
1027 | 2011-06-02 Jonathan Wakely <jwakely.gcc@gmail.com> |
1028 | ||
1029 | * c.opt: Add -Wdelete-non-virtual-dtor. | |
1030 | * c-opts.c (c_common_handle_option): Include it in -Wall. | |
1031 | ||
4f60111f NF |
1032 | 2011-05-30 Nathan Froyd <froydnj@gcc.gnu.org> |
1033 | ||
1034 | PR bootstrap/49190 | |
1035 | ||
1036 | Revert: | |
1037 | 2011-05-26 Nathan Froyd <froydnj@codesourcery.com> | |
1038 | ||
1039 | * c-common.h (struct c_common_identifier): Inherit from tree_typed, | |
1040 | not tree_common. | |
1041 | ||
4cc4f2f4 JJ |
1042 | 2011-05-27 Jakub Jelinek <jakub@redhat.com> |
1043 | ||
1044 | PR c++/49165 | |
1045 | * c-common.c (c_common_truthvalue_conversion) <case COND_EXPR>: For | |
1046 | C++ don't call c_common_truthvalue_conversion on void type arms. | |
1047 | ||
38e01f9e NF |
1048 | 2011-05-27 Nathan Froyd <froydnj@codesourcery.com> |
1049 | ||
1050 | * c-common.h (struct stmt_tree_s) [x_cur_stmt_list]: Change to a VEC. | |
1051 | (stmt_list_stack): Define. | |
1052 | (cur_stmt_list): Adjust for new type of x_cur_stmt_list. | |
1053 | * c-semantics.c (push_stmt_list, pop_stmt_list): Likewise. | |
1054 | ||
92e948a8 NF |
1055 | 2011-05-26 Nathan Froyd <froydnj@codesourcery.com> |
1056 | ||
1057 | * c-common.c (warning_candidate_p): Check for BLOCKs. | |
1058 | ||
a2fc3e63 NF |
1059 | 2011-05-26 Nathan Froyd <froydnj@codesourcery.com> |
1060 | ||
1061 | * c-common.h (struct c_common_identifier): Inherit from tree_typed, | |
1062 | not tree_common. | |
1063 | ||
0957c029 JJ |
1064 | 2011-05-25 Jakub Jelinek <jakub@redhat.com> |
1065 | ||
1066 | * c-common.c (def_fn_type): Remove extra va_end. | |
1067 | ||
828fb3ba JM |
1068 | 2011-05-23 Jason Merrill <jason@redhat.com> |
1069 | ||
1070 | PR c++/48106 | |
1071 | * c-common.c (c_common_get_narrower): New. | |
1072 | (shorten_binary_op, shorten_compare, warn_for_sign_compare): Use it. | |
1073 | ||
dde05067 NF |
1074 | 2011-05-23 Nathan Froyd <froydnj@codesourcery.com> |
1075 | ||
1076 | * c-common.h (check_function_arguments): Tweak prototype of | |
1077 | check_function_arguments. | |
1078 | * c-common.c (check_function_arguments): Likewise. Adjust | |
1079 | calls to check_function_nonnull, check_function_format, and | |
1080 | check_function_sentinel. | |
1081 | (check_function_sentinel): Take a FUNCTION_TYPE rather than | |
1082 | separate attributes and typelist arguments. Use | |
1083 | FOREACH_FUNCTION_ARGS to iterate over argument types. | |
1084 | ||
3c0d13bf PC |
1085 | 2011-05-15 Paolo Carlini <paolo.carlini@oracle.com> |
1086 | ||
1087 | * c-common.c (c_common_reswords): Reorder. | |
1088 | * c-common.h (rid): Likewise. | |
1089 | ||
8242dd04 NF |
1090 | 2011-05-10 Nathan Froyd <froydnj@codesourcery.com> |
1091 | ||
1092 | * c-common.c (def_fn_type): Don't call build_function_type, call | |
1093 | build_function_type_array or build_varargs_function_type_array | |
1094 | instead. | |
1095 | (c_common_nodes_and_builtins): Likewise. | |
1096 | ||
3d528853 NF |
1097 | 2011-05-05 Nathan Froyd <froydnj@codesourcery.com> |
1098 | ||
1099 | * c-common.c (c_add_case_label): Omit the loc argument to | |
1100 | build_case_label. | |
1101 | * c-common.h (build_case_label): Remove. | |
1102 | * c-semantics.c (build_case_label): Remove. | |
1103 | ||
a04a722b JM |
1104 | 2011-05-05 Joseph Myers <joseph@codesourcery.com> |
1105 | ||
1106 | * c-objc.h (objc_start_method_definition): Update prototype. | |
1107 | * stub-objc.c (objc_start_method_definition): Add extra parameter. | |
1108 | ||
e19a18d4 NF |
1109 | 2011-05-04 Nathan Froyd <froydnj@codesourcery.com> |
1110 | ||
1111 | * c-common.c (check_main_parameter_types): Reindent. Don't use | |
1112 | TYPE_ARG_TYPES directly. | |
1113 | (handle_nonnull_attribute): Likewise. | |
1114 | (sync_resolve_params): Likewise. | |
1115 | * c-format.c (handle_format_arg_attribute): Likewise. Adjust call | |
1116 | to check_format_string. | |
1117 | (handle_format_attribute): Likewise. | |
1118 | (check_format_string): Take a function type to examine instead of | |
1119 | a type list. Use a function_arg_iterator to step through argument | |
1120 | types. | |
1121 | ||
c62c040f RG |
1122 | 2011-05-04 Richard Guenther <rguenther@suse.de> |
1123 | ||
1124 | * c-common.c (fix_string_type): Use size_int for index type bounds. | |
1125 | (start_fname_decls): Do not pass NULL to build_int_cst. | |
1126 | (c_init_attributes): Likewise. | |
1127 | * c-lex.c (c_lex_with_flags): Likewise. | |
1128 | ||
c12ff9d8 JM |
1129 | 2011-04-27 Jason Merrill <jason@redhat.com> |
1130 | ||
1131 | * c-common.c (make_tree_vector_from_list): New. | |
1132 | * c-common.h: Declare it. | |
1133 | ||
304dfbe3 RG |
1134 | 2011-04-26 Richard Guenther <rguenther@suse.de> |
1135 | ||
1136 | PR preprocessor/48248 | |
1137 | * c-ppoutput.c (maybe_print_line): Always optimize newlines | |
1138 | for output size with -P. | |
1139 | ||
3c0d13bf PC |
1140 | 2011-04-25 Paolo Carlini <paolo.carlini@oracle.com> |
1141 | ||
1142 | * c-common.c (struct c_common_resword): Add __underlying_type. | |
1143 | * c-common.h (enum rid): Add RID_UNDERLYING_TYPE. | |
1144 | ||
04695783 JM |
1145 | 2011-04-20 Jim Meyering <meyering@redhat.com> |
1146 | ||
1147 | * c-format.c (init_dollar_format_checking): Remove useless | |
1148 | if-before-free. | |
1149 | ||
0dc33c3c NP |
1150 | 2011-04-15 Nicola Pero <nicola.pero@meta-innovation.com> |
1151 | ||
1152 | * c-objc.h (objc_get_interface_ivars): Removed. | |
3c0d13bf | 1153 | (objc_detect_field_duplicates): New. |
0dc33c3c | 1154 | * stub-objc.c: Likewise. |
3c0d13bf | 1155 | |
c59633d9 NP |
1156 | 2011-04-14 Nicola Pero <nicola.pero@meta-innovation.com> |
1157 | ||
1158 | * stub-objc.c (objc_declare_protocols): Renamed to | |
1159 | objc_declare_protocol. | |
1160 | * c-objc.h: Likewise. | |
3c0d13bf | 1161 | |
32dabdaf NP |
1162 | 2011-04-14 Nicola Pero <nicola.pero@meta-innovation.com> |
1163 | ||
1164 | * stub-objc.c (objc_declare_class): Updated argument name. | |
1165 | ||
81f653d6 NF |
1166 | 2011-04-12 Nathan Froyd <froydnj@codesourcery.com> |
1167 | ||
1168 | * c-common.h (c_common_init_ts): Declare. | |
1169 | * c-common.c (c_common_init_ts): Define. | |
1170 | ||
eb345401 NP |
1171 | 2011-04-12 Nicola Pero <nicola.pero@meta-innovation.com> |
1172 | ||
1173 | * c-objc.h (objc_build_message_expr): Updated prototype. | |
1174 | * stub-objc.c (objc_build_message_expr): Likewise. | |
9faeb493 | 1175 | |
a358e188 MJ |
1176 | 2011-04-12 Martin Jambor <mjambor@suse.cz> |
1177 | ||
1178 | * c-gimplify.c (c_genericize): Call cgraph_get_create_node instead | |
1179 | of cgraph_node. | |
1180 | ||
e6313a78 RG |
1181 | 2011-04-11 Richard Guenther <rguenther@suse.de> |
1182 | ||
1183 | * c-common.c (complete_array_type): Build a range type of | |
1184 | proper type. | |
1185 | ||
dcf0c47e NF |
1186 | 2011-04-08 Nathan Froyd <froydnj@codesourcery.com> |
1187 | ||
1188 | * c-common.c (handle_sentinel_attribute): Don't use TYPE_ARG_TYPES. | |
1189 | (handle_type_generic_attribute): Likewise. | |
1190 | ||
1ee44b26 JM |
1191 | 2011-04-07 Jason Merrill <jason@redhat.com> |
1192 | ||
1193 | PR c++/48450 | |
1194 | * c-common.c (c_common_truthvalue_conversion): Don't ignore | |
1195 | conversion from C++0x scoped enum. | |
1196 | ||
acce4e77 JM |
1197 | 2011-04-06 Joseph Myers <joseph@codesourcery.com> |
1198 | ||
1199 | * c-target-def.h: New file. | |
1200 | * c-target.def: New file. | |
1201 | * c-target.h: New file. | |
1202 | * c-common.c (targetcm): Don't define here. | |
1203 | * c-common.h (default_handle_c_option): Declare. | |
1204 | * c-format.c: Include c-target.h instead of target.h. | |
1205 | * c-opts.c: Include c-target.h instead of target.h. Explicitly | |
1206 | include tm.h. | |
1207 | (default_handle_c_option): Move from targhooks.c. | |
1208 | ||
e2eefb55 JJ |
1209 | 2011-03-29 Jakub Jelinek <jakub@redhat.com> |
1210 | ||
1211 | PR preprocessor/48248 | |
1212 | * c-ppoutput.c (print): Add src_file field. | |
1213 | (init_pp_output): Initialize it. | |
1214 | (maybe_print_line): Don't optimize by adding up to 8 newlines | |
1215 | if map->to_file and print.src_file are different file. | |
1216 | (print_line): Update print.src_file. | |
1217 | ||
ba78087b KT |
1218 | 2011-03-25 Kai Tietz <ktietz@redhat.com> |
1219 | ||
1220 | * c-ada-spec.c (compare_comment): Use filename_cmp | |
1221 | instead of strcmp for filename. | |
1222 | ||
0edf1bb2 JL |
1223 | 2011-03-25 Jeff Law <law@redhat.com> |
1224 | ||
1225 | * c-family/c-common.c (def_fn_type): Add missing va_end. | |
1226 | ||
c7dc8804 JM |
1227 | 2011-03-25 Jason Merrill <jason@redhat.com> |
1228 | ||
1229 | * c.opt: Add -std=c++03. | |
1230 | ||
d1d879b1 EB |
1231 | 2011-03-22 Eric Botcazou <ebotcazou@adacore.com> |
1232 | ||
1233 | * c-ada-spec.c (dump_ada_template): Skip non-class instances. | |
1234 | ||
62d784f7 KT |
1235 | 2011-03-17 Kai Tietz |
1236 | ||
1237 | PR target/12171 | |
5050afdf KT |
1238 | * c-pretty-print.c (pp_c_specifier_qualifier_list): |
1239 | Display allowed attributes for function pointer types. | |
1240 | (pp_c_attributes_display): New function to display | |
1241 | attributes having affects_type_identity flag set to true. | |
1242 | * c-pretty-print.h (pp_c_attributes_display): New prototype. | |
1243 | ||
62d784f7 KT |
1244 | * c-common.c (c_common_attribute_table): |
1245 | Add new element. | |
1246 | (c_common_format_attribute_table): Likewise. | |
1247 | ||
82d37118 JM |
1248 | 2011-03-18 Jason Merrill <jason@redhat.com> |
1249 | ||
49a000c3 JM |
1250 | * c.opt (fconstexpr-depth): Add Var(max_constexpr_depth). |
1251 | * c-common.h: Don't declare it here. | |
1252 | * c-common.c: Or define it here. | |
1253 | * c-opts.c (c_common_handle_option): Or set it here. | |
1254 | ||
82d37118 JM |
1255 | PR c++/35315 |
1256 | * c-common.c (handle_transparent_union_attribute): Don't | |
1257 | make a duplicate type in C++. | |
1258 | ||
17bc631c JM |
1259 | 2011-03-15 Jason Merrill <jason@redhat.com> |
1260 | ||
1261 | * c-common.c (max_constexpr_depth): New. | |
1262 | * c-common.h: Declare it. | |
1263 | * c-opts.c (c_common_handle_option): Set it. | |
1264 | * c.opt (fconstexpr-depth): New option. | |
1265 | ||
1b9b91a6 JM |
1266 | 2011-03-11 Jason Merrill <jason@redhat.com> |
1267 | ||
f231b5ff JM |
1268 | * c-common.c (attribute_takes_identifier_p): Add missing const. |
1269 | ||
1b9b91a6 JM |
1270 | PR c++/46803 |
1271 | * c-common.c (attribute_takes_identifier_p): Assume that an | |
1272 | unknown attribute takes an identifier. | |
1273 | ||
a19e4d44 NF |
1274 | 2011-03-07 Nathan Froyd <froydnj@codesourcery.com> |
1275 | ||
1276 | PR c/47786 | |
1277 | * c-common.c (c_type_hash): Call list_length instead of iterating | |
1278 | through DECL_CHAIN. Rename 'i' to 'n_elements'. | |
1279 | ||
982d62f6 JJ |
1280 | 2011-02-19 Jakub Jelinek <jakub@redhat.com> |
1281 | ||
1282 | PR c/47809 | |
1283 | * c-common.c (c_fully_fold_internal): Handle VIEW_CONVERT_EXPR. | |
1284 | ||
0a256240 NP |
1285 | 2011-02-17 Iain Sandoe <iains@gcc.gnu.org> |
1286 | ||
1287 | * c.opt (fobjc-abi-version=) New. | |
1288 | (fobjc-nilcheck): New. | |
1289 | ||
ba9e6dd5 NF |
1290 | 2011-02-03 Nathan Froyd <froydnj@codesourcery.com> |
1291 | ||
1292 | PR c++/46890 | |
1293 | * c-common.h (keyword_is_decl_specifier): Declare. | |
1294 | * c-common.c (keyword_is_decl_specifier): Define. | |
1295 | (keyword_is_function_specifier): New function. | |
1296 | ||
7273813a JJ |
1297 | 2011-01-26 Jakub Jelinek <jakub@redhat.com> |
1298 | ||
1299 | PR c/47473 | |
1300 | * c-lex.c (interpret_float): If CPP_N_IMAGINARY, ensure | |
1301 | EXCESS_PRECISION_EXPR is created with COMPLEX_TYPE instead of | |
1302 | REAL_TYPE. | |
1303 | ||
908ef79b AC |
1304 | 2011-01-26 Arnaud Charlet <charlet@adacore.com> |
1305 | ||
1306 | * c-ada-spec.c (dump_generic_ada_node): Avoid dereferencing null type. | |
1307 | ||
237e9384 JJ |
1308 | 2011-01-26 Jakub Jelinek <jakub@redhat.com> |
1309 | ||
1310 | PR pch/47430 | |
1311 | * c-opts.c (c_common_post_options): Call c_common_no_more_pch | |
1312 | after init_c_lex if pch_file is set. | |
1313 | ||
47ea1edf DK |
1314 | 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com> |
1315 | ||
d4dba752 | 1316 | PR c++/43601 |
47ea1edf DK |
1317 | * c.opt (-fkeep-inline-dllexport): New switch. |
1318 | ||
2aa9c6ae RG |
1319 | 2011-01-12 Richard Guenther <rguenther@suse.de> |
1320 | ||
1321 | PR middle-end/32511 | |
1322 | * c-common.c (handle_weak_attribute): Warn instead of error | |
1323 | on declaring an inline function weak. | |
1324 | ||
7bd11157 TT |
1325 | 2011-01-05 Tom Tromey <tromey@redhat.com> |
1326 | ||
1327 | * c-common.h (lvalue_error): Update. | |
1328 | * c-common.c (lvalue_error): Add 'loc' argument. Call error_at, | |
1329 | not error. | |
1330 | ||
0e66e494 | 1331 | 2010-12-29 Nicola Pero <nicola.pero@meta-innovation.com> |
9faeb493 | 1332 | |
b4f588c4 NP |
1333 | PR objc/47075 |
1334 | * c-objc.h (objc_finish_message_expr): Added argument to | |
1335 | prototype. | |
1336 | ||
f4da8dce NF |
1337 | 2010-12-22 Nathan Froyd <froydnj@codesourcery.com> |
1338 | ||
1339 | * c-common.c (handle_nonnull_attribute, handle_sentinel_attribute): | |
1340 | Use prototype_p. | |
1341 | ||
46270f14 NP |
1342 | 2010-12-18 Nicola Pero <nicola.pero@meta-innovation.com> |
1343 | ||
1344 | * c-objc.h (objc_maybe_warn_exceptions): New. | |
9faeb493 | 1345 | * stub-objc.c (objc_maybe_warn_exceptions): New. |
46270f14 | 1346 | |
4816c593 NF |
1347 | 2010-12-10 Nathan Froyd <froydnj@codesourcery.com> |
1348 | ||
1349 | * c-common.h (readonly_error): Declare. | |
1350 | * c-common.c (readonly_error): Define. | |
1351 | ||
7a6daeb0 NF |
1352 | 2010-12-09 Nathan Froyd <froydnj@codesourcery.com> |
1353 | ||
1354 | * c-common.h (invalid_indirection_error): Declare. | |
1355 | * c-common.c (invalid_indirection_error): Define. | |
1356 | ||
892f6119 RG |
1357 | 2010-12-03 Richard Guenther <rguenther@suse.de> |
1358 | ||
1359 | PR c/46745 | |
1360 | * c-pretty-print.c (pp_c_postfix_expression): Handle MEM_REF. | |
1361 | (pp_c_unary_expression): Likewise. | |
1362 | (pp_c_expression): Likewise. | |
1363 | ||
6c39e757 NP |
1364 | 2010-11-30 Nicola Pero <nicola.pero@meta-innovation.com> |
1365 | ||
1366 | * c-common.h (objc_finish_function): New. | |
1367 | (objc_non_volatilized_type): Removed. | |
1368 | (objc_type_quals_match): Removed. | |
1369 | * stub-objc.c (objc_finish_function): New. | |
1370 | (objc_non_volatilized_type): Removed. | |
1371 | (objc_type_quals_match): Removed. | |
9faeb493 | 1372 | |
7c475d11 JM |
1373 | 2010-11-30 Joseph Myers <joseph@codesourcery.com> |
1374 | ||
1375 | * c-common.h (parse_optimize_options): Declare. | |
1376 | * c-cppbuiltin.c, c-format.c, c-gimplify.c, c-lex.c, c-omp.c, | |
1377 | c-pch.c, c-pragma.c, c-semantics.c: Don't include toplev.h. | |
1378 | ||
71f3e391 JM |
1379 | 2010-11-29 Joseph Myers <joseph@codesourcery.com> |
1380 | ||
1381 | * c-opts.c (check_deps_environment_vars): Use getenv instead of | |
1382 | GET_ENVIRONMENT. | |
1383 | * c-pch.c (O_BINARY): Don't define here. | |
1384 | * c-pragma.h: Include "cpplib.h" instead of <cpplib.h>. | |
1385 | ||
d5fabb58 JM |
1386 | 2010-11-25 Joseph Myers <joseph@codesourcery.com> |
1387 | ||
1388 | * c-cppbuiltin.c (c_cpp_builtins): Pass &global_options to | |
1389 | targetm.except_unwind_info. | |
1390 | ||
299404a1 JM |
1391 | 2010-11-23 Joseph Myers <joseph@codesourcery.com> |
1392 | ||
1393 | * c-opts.c (c_common_handle_option): Pass location to | |
1394 | set_struct_debug_option. | |
1395 | ||
c98cd5bf JM |
1396 | 2010-11-23 Joseph Myers <joseph@codesourcery.com> |
1397 | ||
1398 | * c-common.c (visibility_options): Move from ../opts.c. | |
1399 | * c-common.h (struct visibility_flags, visibility_options): | |
1400 | Declare here. | |
1401 | * c-opts.c (finish_options): Rename to c_finish_options. | |
1402 | (c_common_init): Update call to finish_options. | |
1403 | ||
a9546771 NP |
1404 | 2010-11-22 Nicola Pero <nicola.pero@meta-innovation.com> |
1405 | ||
1406 | PR objc/34033 | |
1407 | * c-lex.c (lex_string): Check that each string in an Objective-C | |
1408 | string concat sequence starts with either one or zero '@', and | |
1409 | that there are no spurious '@' signs at the end. | |
1410 | ||
24a57808 JM |
1411 | 2010-11-20 Joseph Myers <joseph@codesourcery.com> |
1412 | ||
1413 | * c-pragma.c: Remove conditionals on HANDLE_PRAGMA_PACK, | |
1414 | HANDLE_PRAGMA_PACK_PUSH_POP, HANDLE_PRAGMA_WEAK and | |
1415 | HANDLE_PRAGMA_VISIBILITY. | |
1416 | * c-pragma.h (HANDLE_PRAGMA_WEAK, HANDLE_PRAGMA_PACK, | |
1417 | HANDLE_PRAGMA_VISIBILITY): Don't define. | |
1418 | (HANDLE_SYSV_PRAGMA, HANDLE_PRAGMA_PACK_PUSH_POP): Don't test. | |
1419 | ||
a9aa2c3a NF |
1420 | 2010-11-20 Nathan Froyd <froydnj@codesourcery.com> |
1421 | ||
1422 | PR c++/16189 | |
1423 | PR c++/36888 | |
1424 | PR c++/45331 | |
1425 | * c-common.h (keyword_begins_type_specifier): Declare. | |
1426 | (keyword_is_storage_class_specifier): Declare. | |
1427 | (keyword_is_type_qualifier): Declare. | |
1428 | * c-common.c (keyword_begins_type_specifier): New function. | |
1429 | (keyword_is_storage_class_specifier): New function. | |
1430 | (keyword_is_type_qualifier): Declare. | |
1431 | ||
5386338c JM |
1432 | 2010-11-19 Joseph Myers <joseph@codesourcery.com> |
1433 | ||
1434 | PR c/46547 | |
1435 | * c-common.c (in_late_binary_op): Define. | |
1436 | (c_common_truthvalue_conversion): Check in_late_binary_op before | |
1437 | calling c_save_expr. | |
1438 | * c-common.h (in_late_binary_op): Declare. | |
1439 | ||
69ccdddb JM |
1440 | 2010-11-19 Joseph Myers <joseph@codesourcery.com> |
1441 | ||
1442 | * c-opts.c (c_common_handle_option): Update calls to | |
1443 | set_struct_debug_option. | |
1444 | ||
6b192a09 NP |
1445 | 2010-11-19 Nicola Pero <nicola.pero@meta-innovation.com> |
1446 | ||
1447 | * c-common.h (objc_declare_protocols): Added additional argument. | |
1448 | * stub-objc.c (objc_declare_protocol): Same change. | |
9faeb493 | 1449 | |
fb52b50a NF |
1450 | 2010-11-18 Nathan Froyd <froydnj@codesourcery.com> |
1451 | ||
1452 | PR c/33193 | |
1453 | * c-common.h (build_real_imag_expr): Declare. | |
1454 | * c-semantics.c (build_real_imag_expr): Define. | |
1455 | ||
b37421c6 JM |
1456 | 2010-11-17 Joseph Myers <joseph@codesourcery.com> |
1457 | ||
1458 | * c-opts.c (c_common_parse_file): Take no arguments. | |
1459 | * c-common.h (c_common_parse_file): Update prototype. | |
1460 | ||
07078664 JJ |
1461 | 2010-11-16 Jakub Jelinek <jakub@redhat.com> |
1462 | ||
1463 | PR c++/46401 | |
1464 | * c-common.c (warning_candidate_p): Don't track non-const calls | |
1465 | or STRING_CSTs. | |
1466 | ||
c6a13190 ILT |
1467 | 2010-11-15 Ian Lance Taylor <iant@google.com> |
1468 | ||
1469 | * c-lex.c (init_c_lex): Set macro debug callbacks if | |
1470 | flag_dump_go_spec is set. | |
1471 | ||
925e8657 NP |
1472 | 2010-11-15 Nicola Pero <nicola.pero@meta-innovation.com> |
1473 | ||
1474 | * c-common.h (objc_build_incr_expr_for_property_ref): New. | |
1475 | * stub-objc.c (objc_build_incr_expr_for_property_ref): New. | |
1476 | ||
bb0a9581 NF |
1477 | 2010-11-15 Nathan Froyd <froydnj@codesourcery.com> |
1478 | ||
1479 | PR preprocessor/45038 | |
1480 | * c-cppbuiltin.c (c_cpp_builtins): Use different format for C++ | |
1481 | dialects. | |
1482 | ||
c5fa0890 JM |
1483 | 2010-11-12 Joseph Myers <joseph@codesourcery.com> |
1484 | ||
1485 | * c-common.h (c_family_lang_mask): Declare. | |
1486 | * c-opts.c (c_family_lang_mask): Make extern. | |
1487 | * c-pragma.c (handle_pragma_diagnostic): Use | |
1488 | control_warning_option. | |
1489 | ||
a4d8c676 JM |
1490 | 2010-11-12 Joseph Myers <joseph@codesourcery.com> |
1491 | ||
1492 | * c-common.c (parse_optimize_options): Update call to | |
1493 | decode_options. | |
1494 | * c-common.h (c_common_handle_option): Update prototype. | |
1495 | * c-opts.c (c_common_handle_option): Take location_t parameter and | |
1496 | pass it to other functions. | |
1497 | ||
f954bd2c JM |
1498 | 2010-11-11 Joseph Myers <joseph@codesourcery.com> |
1499 | ||
1500 | * c-opts.c (warning_as_error_callback): Remove. | |
1501 | (c_common_initialize_diagnostics): Don't call | |
1502 | register_warning_as_error_callback. | |
1503 | (c_common_handle_option): Handle -Werror=normalized= here. | |
1504 | ||
d8a07487 JM |
1505 | 2010-11-10 Joseph Myers <joseph@codesourcery.com> |
1506 | ||
1507 | * c-common.c (handle_mode_attribute): Use %' and word "signedness" | |
1508 | in diagnostic. | |
1509 | * c-opts.c (c_common_parse_file): Start diagnostics with lowercase | |
1510 | letter. | |
1511 | * c-pragma.c (handle_pragma_target, handle_pragma_optimize): | |
1512 | Remove trailing '.' from diagnostics. | |
1513 | * c.opt (Wwrite-strings_: Avoid '`' in help text. | |
1514 | ||
d5478783 JM |
1515 | 2010-11-10 Joseph Myers <joseph@codesourcery.com> |
1516 | ||
1517 | * c-common.c (parse_optimize_options): Pass global_dc to | |
1518 | decode_options. | |
1519 | * c-opts.c (c_common_handle_option): Pass &global_options to | |
1520 | set_Wstrict_aliasing. | |
1521 | * c.opt (v): Don't mark Common or document here. | |
1522 | ||
91ebb981 IS |
1523 | 2010-11-06 Iain Sandoe <iains@gcc.gnu.org> |
1524 | ||
1525 | PR target/44981 | |
1526 | * c-format.c (format_type): New type gcc_objc_string_format_type. | |
1527 | (valid_stringptr_type_p): New. | |
1528 | (handle_format_arg_attribute): Use valid_stringptr_type_p (). | |
9faeb493 | 1529 | (check_format_string): Pass expected type, use |
91ebb981 IS |
1530 | valid_stringptr_type_p (), check that the format string types are |
1531 | consistent with the format specification. | |
1532 | (decode_format_attr): Warn if NSString is used outside objective-c. | |
1533 | (format_types_orig): Add NSString. | |
1534 | (format_name): New. | |
1535 | (format_flags): New. | |
1536 | (check_format_arg): Handle format strings requiring an external parser. | |
1537 | first_target_format_type: New variable. | |
1538 | (handle_format_attribute): Set up first_target_format_type, pass the | |
1539 | expected format arg string type to check_format_string(). | |
1540 | * c-common.h (FMT_FLAG_PARSE_ARG_CONVERT_EXTERNAL): New flag. | |
1541 | * stub-objc.c (objc_string_ref_type_p): New. | |
1542 | (objc_check_format_arg): New. | |
1543 | ||
bede2adc NP |
1544 | 2010-11-04 Nicola Pero <nicola.pero@meta-innovation.com> |
1545 | ||
9faeb493 | 1546 | Fixed using the Objective-C 2.0 dot-syntax with class names. |
bede2adc NP |
1547 | * c-common.h (objc_build_class_component_ref): New. |
1548 | * stub-objc.c (objc_build_class_component_ref): New. | |
1549 | ||
9a179d01 NP |
1550 | 2010-11-03 Nicola Pero <nicola.pero@meta-innovation.com> |
1551 | ||
1552 | * c.opt (Wproperty-assign-default): New option. | |
1553 | ||
22d8d616 NP |
1554 | 2010-11-03 Nicola Pero <nicola.pero@meta-innovation.com> |
1555 | ||
1556 | Implemented -fobjc-std=objc1 flag. | |
1557 | * c.opt (fobjc-std=objc1): New option. | |
1558 | ||
2debdb4f NP |
1559 | 2010-11-01 Nicola Pero <nicola.pero@meta-innovation.com> |
1560 | ||
1561 | Implemented format and noreturn attributes for Objective-C methods. | |
1562 | * c-common.c (handle_noreturn_attribute): Recognize 'noreturn' | |
1563 | attribute for Objective-C methods. | |
1564 | ||
ec52b111 JM |
1565 | 2010-10-31 Jason Merrill <jason@redhat.com> |
1566 | ||
1567 | * c-common.c (conversion_warning, warn_for_collisions_1): Use | |
1568 | EXPR_LOC_OR_HERE. | |
1569 | ||
46a88c12 NP |
1570 | 2010-10-30 Nicola Pero <nicola.pero@meta-innovation.com> |
1571 | ||
1572 | Implemented Objective-C 2.0 @property, @synthesize and @dynamic. | |
1573 | * c-common.h (enum rid): Removed RID_COPIES and RID_IVAR. | |
1574 | (objc_add_property_declaration): Removed arguments for copies and | |
1575 | ivar. | |
1576 | (objc_build_getter_call): Renamed to | |
1577 | objc_maybe_build_component_ref. | |
1578 | (objc_build_setter_call): Renamed to objc_maybe_build_modify_expr. | |
1579 | (objc_is_property_ref): New. | |
1580 | * c-common.c (c_common_reswords): Removed copies and ivar. | |
1581 | * stub-objc.c (objc_add_property_declaration): Removed arguments | |
1582 | for copies and ivar. | |
1583 | (objc_build_getter_call): Renamed to | |
1584 | objc_maybe_build_component_ref. | |
1585 | (objc_build_setter_call): Renamed to objc_maybe_build_modify_expr. | |
1586 | (objc_is_property_ref): New. | |
9faeb493 | 1587 | |
1e4bf85b AC |
1588 | 2010-10-29 Arnaud Charlet <charlet@adacore.com> |
1589 | Matthew Gingell <gingell@adacore.com> | |
1590 | ||
1591 | * c-ada-spec.c (separate_class_package): New function. | |
1592 | (pp_ada_tree_identifier): Prefix references to C++ classes with the | |
1593 | name of their enclosing package. | |
1594 | (print_ada_declaration): Use separate_class_package. | |
1595 | ||
81f0bab2 JM |
1596 | 2010-10-27 Jason Merrill <jason@redhat.com> |
1597 | ||
2b08f2c5 JM |
1598 | * c-common.c (c_common_reswords): Add __is_literal_type. |
1599 | * c-common.h (enum rid): Add RID_IS_LITERAL_TYPE. | |
1600 | ||
81f0bab2 JM |
1601 | * c-common.c (check_case_value): Remove special C++ code. |
1602 | ||
200290f2 NP |
1603 | 2010-10-27 Nicola Pero <nicola.pero@meta-innovation.com> |
1604 | ||
1605 | * c-common.h (enum rid): Added RID_READWRITE, RID_ASSIGN, | |
1606 | RID_RETAIN, RID_COPY and RID_NONATOMIC. Updated RID_FIRST_PATTR | |
1607 | and RID_LAST_PATTR. | |
1608 | (objc_add_property_declaration): Added additional arguments. | |
1609 | (objc_property_attribute_kind): Removed. | |
1610 | (objc_set_property_attr): Removed. | |
1611 | * c-common.c (c_common_reswords): Added readwrite, assign, retain, | |
1612 | copy and nonatomic. | |
1613 | * stub-objc.c (objc_add_property_declaration): Added additional | |
1614 | arguments. | |
1615 | (objc_set_property_attr): Removed. | |
9faeb493 | 1616 | |
f614132b NP |
1617 | 2010-10-27 Nicola Pero <nicola.pero@meta-innovation.com> |
1618 | ||
1619 | * c-common.h (objc_add_property_variable): Renamed to | |
1620 | objc_add_property_declaration. Added location argument. | |
1621 | * stub-objc.c (objc_add_property_variable): Same change. | |
1622 | ||
b8a18805 NP |
1623 | 2010-10-23 Nicola Pero <nicola.pero@meta-innovation.com> |
1624 | ||
1625 | * c-common.h (objc_maybe_printable_name): New. | |
1626 | * stub-objc.c (objc_maybe_printable_name): New. | |
1627 | ||
30cd1c5d AS |
1628 | 2010-10-22 Artjoms Sinkarovs <artyom.shinakroff@gmail.com> |
1629 | Andrew Pinski <pinskia@gmail.com> | |
1630 | ||
1631 | * c-common.h (c_common_mark_addressable_vec): Declare. | |
1632 | * c-common.c (c_common_mark_addressable_vec): New function. | |
1633 | ||
249a82c4 NP |
1634 | 2010-10-20 Nicola Pero <nicola.pero@meta-innovation.com> |
1635 | ||
1636 | * c-common.h (objc_set_method_type): Removed. | |
1637 | (objc_add_method_declaration): Added boolean argument. | |
1638 | (objc_start_method_definition): Same change. | |
1639 | (objc_build_method_signature): Same change. | |
1640 | * stub-objc.c (objc_set_method_type): Removed. | |
1641 | (objc_add_method_declaration): Added boolean argument. | |
1642 | (objc_start_method_definition): Same change. | |
1643 | (objc_build_method_signature): Same change. | |
1644 | ||
977e30bc NP |
1645 | 2010-10-20 Nicola Pero <nicola.pero@meta-innovation.com> |
1646 | ||
1647 | * c-common.h (finish_file): Removed. | |
1648 | (objc_write_global_declarations): New. | |
1649 | * c-opts.c (c_common_parse_file): Do not call finish_file. | |
1650 | * stub-objc.c (objc_write_global_declarations): New. | |
9faeb493 | 1651 | |
da57d1b9 NP |
1652 | 2010-10-18 Nicola Pero <nicola.pero@meta-innovation.com> |
1653 | ||
1654 | Implemented parsing @synthesize and @dynamic for | |
1655 | Objective-C/Objective-C++. | |
1656 | * c-common.h (enum rid): Add RID_AT_SYNTHESIZE and RID_AT_DYNAMIC. | |
1657 | (objc_add_synthesize_declaration): New. | |
1658 | (objc_add_dynamic_declaration): New. | |
1659 | * c-common.c (c_common_reswords): Add synthesize and dynamic. | |
1660 | * stub-objc.c (objc_add_synthesize_declaration): New. | |
1661 | (objc_add_dynamic_declaration): New. | |
9faeb493 | 1662 | |
0069111f MM |
1663 | 2010-10-18 Michael Meissner <meissner@linux.vnet.ibm.com> |
1664 | ||
1665 | PR target/46041 | |
1666 | * c-cppbuiltin.c (mode_has_fma): Move function here from | |
1667 | builtins.c. Don't use the fma optab, instead just use the | |
1668 | HAVE_fma* macros, so that __FP_FAST_FMA* will be defined when | |
1669 | using -save-temps. | |
1670 | ||
e426b47b NP |
1671 | 2010-10-18 Nicola Pero <nicola.pero@meta-innovation.com> |
1672 | ||
1673 | Merge from 'apple/trunk' branch on FSF servers. | |
0069111f | 1674 | |
e426b47b NP |
1675 | 2005-11-08 Fariborz Jahanian <fjahanian@apple.com> |
1676 | ||
9faeb493 | 1677 | Radar 4330422 |
e426b47b NP |
1678 | * c-common.h (objc_non_volatilized_type): New declaration |
1679 | * stub-objc.c (objc_non_volatilized_type): New stub. | |
1680 | ||
90fbfdc3 NP |
1681 | 2010-10-17 Nicola Pero <nicola.pero@meta-innovation.com> |
1682 | ||
e426b47b | 1683 | Merge from 'apple/trunk' branch on FSF servers. |
90fbfdc3 NP |
1684 | |
1685 | 2006-03-27 Fariborz Jahanian <fjahanian@apple.com> | |
1686 | ||
9faeb493 | 1687 | Radar 4133425 |
90fbfdc3 | 1688 | * c-common.h (objc_diagnose_private_ivar): New decl. |
0069111f | 1689 | * stub-objc.c (objc_diagnose_private_ivar): New stub. |
90fbfdc3 | 1690 | |
c37d8c30 IS |
1691 | 2010-10-17 Iain Sandoe <iains@gcc.gnu.org> |
1692 | ||
1693 | * c-common.c (c_common_reswords): Add package, RID_AT_PACKAGE. | |
1694 | * c-common.h (enum rid): Add RID_AT_PACKAGE. | |
1695 | (objc_ivar_visibility_kind): New enum. | |
1696 | (objc_set_visibility): Adjust prototype to use visibility enum. | |
0069111f | 1697 | * stub-objc.c (objc_set_visibility): Adjust stub to use |
c37d8c30 IS |
1698 | visibility enum. |
1699 | ||
1b1562a5 MM |
1700 | 2010-10-14 Michael Meissner <meissner@linux.vnet.ibm.com> |
1701 | ||
1702 | * c-cppbuiltin.c (builtin_define_float_constants): Emit | |
1703 | __FP_FAST_FMA, __FP_FAST_FMAF, and __FP_FAST_FMAL if the machine | |
1704 | has the appropriate fma builtins. | |
1705 | (c_cpp_builtins): Adjust call to builtin_define_float_constants. | |
1706 | ||
668ea4b1 IS |
1707 | 2010-10-14 Iain Sandoe <iains@gcc.gnu.org> |
1708 | ||
1b1562a5 | 1709 | merge from FSF apple 'trunk' branch. |
668ea4b1 | 1710 | 2006 Fariborz Jahanian <fjahanian@apple.com> |
1b1562a5 | 1711 | |
668ea4b1 IS |
1712 | Radars 4436866, 4505126, 4506903, 4517826 |
1713 | * c-common.c (c_common_resword): Define @property and its attributes. | |
1714 | * c-common.h: Define property attribute enum entries. | |
1715 | (OBJC_IS_PATTR_KEYWORD): New. | |
1716 | (objc_property_attribute_kind): New enum. | |
1717 | Declare objc_set_property_attr (), objc_add_property_variable (), | |
1718 | objc_build_getter_call () and objc_build_setter_call (). | |
1719 | * stub-objc.c (objc_set_property_attr): New stub. | |
1720 | (objc_add_property_variable): Likewise. | |
1721 | (objc_build_getter_call): Likewise. | |
1722 | (objc_build_setter_call) Likewise. | |
1b1562a5 | 1723 | |
a1178b30 IS |
1724 | 2010-10-13 Iain Sandoe <iains@gcc.gnu.org> |
1725 | ||
1b1562a5 | 1726 | merge from FSF apple 'trunk' branch. |
a1178b30 IS |
1727 | 2006-04-26 Fariborz Jahanian <fjahanian@apple.com> |
1728 | ||
1729 | Radar 3803157 (method attributes) | |
1730 | * c-common.c (handle_deprecated_attribute): Recognize | |
1731 | objc methods as valid declarations. | |
1732 | * c-common.h: Declare objc_method_decl (). | |
1b1562a5 | 1733 | * stub-objc.c (objc_method_decl): New stub. |
a1178b30 | 1734 | |
a75bfaa6 JM |
1735 | 2010-10-08 Joseph Myers <joseph@codesourcery.com> |
1736 | ||
1737 | * c-common.c (parse_optimize_options): Call | |
1738 | decode_cmdline_options_to_array_default_mask before | |
1739 | decode_options. Update arguments to decode_options. | |
1740 | * c-common.h (c_common_init_options_struct): Declare. | |
1741 | * c-opts.c (c_common_init_options_struct): New. Split out from | |
1742 | c_common_init_options. | |
1743 | ||
f05b9d93 NP |
1744 | 2010-10-06 Nicola Pero <nicola.pero@meta-innovation.com> |
1745 | ||
1746 | Implemented fast enumeration for Objective-C. | |
1747 | * c-common.h (objc_finish_foreach_loop): New. | |
1748 | * stub-objc.c (objc_finish_foreach_loop): New. | |
1749 | ||
1ebe4b4f JM |
1750 | 2010-10-05 Joseph Myers <joseph@codesourcery.com> |
1751 | ||
1752 | * c-common.h (struct diagnostic_context): Don't declare here. | |
1753 | (c_common_initialize_diagnostics): Declare using | |
1754 | diagnostic_context typedef. | |
1755 | * c-opts.c (c_common_handle_option): Pass global_dc to | |
1756 | handle_generated_option. | |
1757 | ||
d4d24ba4 JM |
1758 | 2010-10-04 Joseph Myers <joseph@codesourcery.com> |
1759 | ||
1760 | * c-opts.c (c_common_handle_option): Pass &global_options_set to | |
1761 | handle_generated_option. | |
1762 | ||
478a1c5b ILT |
1763 | 2010-10-03 Ian Lance Taylor <iant@google.com> |
1764 | ||
1765 | * c.opt (-fplan9-extensions): New option. | |
1766 | ||
82a1c2fe FXC |
1767 | 2010-10-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> |
1768 | ||
1769 | * c-cppbuiltin.c (define__GNUC__, builtin_define_type_precision): | |
1770 | Remove. | |
1771 | (c_cpp_builtins): Call functions from cppbuiltin.c instead | |
1772 | of duplicating code. | |
1773 | ||
92902b1b IS |
1774 | 2010-09-30 Iain Sandoe <iains@gcc.gnu.org> |
1775 | ||
1776 | * c-common.c: Add two new entries for @optional | |
1777 | and @required keywords. | |
1778 | ||
1779 | merge from FSF 'apple/trunk' branch. | |
1780 | 2006-01-30 Fariborz Jahanian <fjahanian@apple.com> | |
1781 | ||
1782 | Radar 4386773 | |
1783 | * c-common.h (RID_AT_OPTIONAL, RID_AT_REQUIRED): Two new | |
1784 | objective-c keywords. | |
1785 | (objc_set_method_opt): New declaration. | |
1786 | * stub-objc.c (objc_set_method_opt): New stub. | |
9faeb493 | 1787 | |
46625112 JM |
1788 | 2010-09-30 Joseph Myers <joseph@codesourcery.com> |
1789 | ||
1790 | * c-common.c (handle_optimize_attribute): Pass &global_options to | |
1791 | cl_optimization_save and cl_optimization_restore. | |
1792 | * c-opts.c (c_common_handle_option): Pass &global_options to | |
1793 | handle_generated_option. | |
1794 | * c-pragma.c (handle_pragma_diagnostic): Use option_flag_var. | |
1795 | (handle_pragma_pop_options, handle_pragma_reset_options): Pass | |
1796 | &global_options to cl_optimization_restore. | |
1797 | ||
49b91f05 NP |
1798 | 2010-09-30 Nicola Pero <nicola.pero@meta-innovation.com> |
1799 | ||
1800 | * c-lex.c (c_lex_with_flags): Updated comments for CPP_AT_NAME | |
1801 | Objective-C/Objective-C++ keywords. | |
1802 | ||
13ed556f | 1803 | 2010-09-29 Nicola Pero <nicola.pero@meta-innovation.com> |
a6341d57 | 1804 | |
9faeb493 UB |
1805 | Merge from 'apple/trunk' branch on FSF servers. |
1806 | ||
a6341d57 NP |
1807 | 2005-10-04 Fariborz Jahanian <fjahanian@apple.com> |
1808 | ||
1809 | Radar 4281748 | |
1810 | * c-common.h (objc_check_global_decl): New declaration. | |
1811 | * stub-objc.c (objc_check_global_decl): New stub. | |
1812 | ||
f0036cca JM |
1813 | 2010-09-29 Joseph Myers <joseph@codesourcery.com> |
1814 | ||
1815 | * c.opt: Don't use VarExists. | |
1816 | ||
e3339d0f JM |
1817 | 2010-09-29 Joseph Myers <joseph@codesourcery.com> |
1818 | ||
1819 | * c-common.c (c_cpp_error): Update names of diagnostic_context | |
1820 | members. | |
1821 | * c-cppbuiltin.c (c_cpp_builtins_optimize_pragma): Update names of | |
1822 | cl_optimization members. | |
1823 | * c-opts.c (warning_as_error_callback, c_common_handle_option, | |
1824 | sanitize_cpp_opts, finish_options): Update names of cpp_options | |
1825 | members. | |
1826 | ||
1973201f NP |
1827 | 2010-09-29 Nicola Pero <nicola.pero@meta-innovation.com> |
1828 | ||
1829 | * c-common.h (OBJC_IS_CXX_KEYWORD): New macro. Updated comments. | |
1830 | (objc_is_reserved_word): Removed. | |
1831 | * c-common.c: Updated comments. | |
1832 | * c-lex.c (c_lex_with_flags): Use OBJC_IS_CXX_KEYWORD instead of | |
1833 | objc_is_reserved_word. | |
1834 | * stub-objc.c (objc_is_reserved_word): Removed. | |
1835 | ||
f7e71da5 IS |
1836 | 2010-09-28 Iain Sandoe <iains@gcc.gnu.org> |
1837 | ||
9faeb493 | 1838 | * c-common.h (objc_add_method_declaration): Adjust prototype to |
f7e71da5 IS |
1839 | include attributes. |
1840 | (objc_start_method_definition): Likewise. | |
1841 | (objc_build_keyword_decl): Likewise. | |
1842 | * stub-objc.c:(objc_add_method_declaration): Handle attributes. | |
1843 | (objc_start_method_definition): Likewise. | |
1844 | (objc_build_keyword_decl): Likewise. | |
1845 | ||
c165dca7 IS |
1846 | 2010-09-28 Iain Sandoe <iains@gcc.gnu.org> |
1847 | ||
1848 | * c-common.h (objc_start_class_interface): Adjust prototype. | |
1849 | (objc_start_category_interface): Likewise. | |
1850 | (objc_start_protocol): Likewise. | |
1851 | * stub-objc.c (objc_start_protocol): Adjust for extra argument. | |
1852 | (objc_start_class_interface): Likewise. | |
1853 | (objc_start_category_interface): Likewise. | |
1854 | ||
7458026b ILT |
1855 | 2010-09-27 Ian Lance Taylor <iant@google.com> |
1856 | ||
1857 | * c-common.c (c_common_attribute_table): Add no_split_stack. | |
1858 | (handle_no_split_stack_attribute): New static function. | |
1859 | ||
b581b85b NP |
1860 | 2010-09-27 Nicola Pero <nicola.pero@meta-innovation.com> |
1861 | ||
9faeb493 | 1862 | Merge from 'apple/trunk' branch on FSF servers. |
b581b85b NP |
1863 | |
1864 | 2005-12-15 Fariborz Jahanian <fjahanian@apple.com> | |
1865 | ||
9faeb493 | 1866 | Radar 4229905 |
b581b85b NP |
1867 | * c-common.h (objc_have_common_type): New declaration. |
1868 | * stub-objc.c (objc_have_common_type): New stub. | |
1869 | ||
1870 | 2005-06-22 Ziemowit Laski <zlaski@apple.com> | |
1871 | ||
1872 | Radar 4154928 | |
1873 | * c-common.h (objc_common_type): New prototype. | |
9faeb493 | 1874 | * stub-objc.c (objc_common_type): New stub. |
b581b85b | 1875 | |
46a4da10 JH |
1876 | 2010-09-24 Jan Hubicka <jh@suse.cz> |
1877 | ||
1878 | * c-common.c (handle_leaf_attribute): New function. | |
1879 | (struct attribute_spec c_common_att): Add leaf. | |
1880 | ||
e200444e JM |
1881 | 2010-09-22 Joseph Myers <joseph@codesourcery.com> |
1882 | ||
1883 | * c.opt (-all-warnings, -ansi, -assert, -assert=, -comments, | |
1884 | -comments-in-macros, -define-macro, -define-macro=, -dependencies, | |
1885 | -dump, -dump=, -imacros, -imacros=, -include, -include=, | |
1886 | -include-barrier, -include-directory, -include-directory=, | |
1887 | -include-directory-after, -include-directory-after=, | |
1888 | -include-prefix, -include-prefix=, -include-with-prefix, | |
1889 | -include-with-prefix=, -include-with-prefix-after, | |
1890 | -include-with-prefix-after=, -include-with-prefix-before, | |
1891 | -include-with-prefix-before=, -no-integrated-cpp, | |
1892 | -no-line-commands, -no-standard-includes, -no-warnings, -output, | |
1893 | -output=, -pedantic, -pedantic-errors, -preprocess, | |
1894 | -print-missing-file-dependencies, -trace-includes, -traditional, | |
1895 | -traditional-cpp, -trigraphs, -undefine-macro, -undefine-macro=, | |
1896 | -user-dependencies, -verbose, -write-dependencies, | |
1897 | -write-user-dependencies, no-integrated-cpp, traditional): New. | |
1898 | ||
29a80ea6 NP |
1899 | 2010-09-21 Nicola Pero <nicola.pero@meta-innovation.com> |
1900 | ||
1901 | PR objc/23710 | |
ac1fc2fc NP |
1902 | * c-common.h (objc_start_method_definition): Return bool instead |
1903 | of void. | |
1904 | * stub-objc.c (objc_start_method_definition): Return bool instead | |
1905 | of void. | |
1906 | ||
1907 | 2010-09-21 Nicola Pero <nicola.pero@meta-innovation.com> | |
1908 | ||
1909 | PR objc/25965 | |
1910 | * c-common.h (objc_get_interface_ivars): New declaration. | |
1911 | * stub-objc.c (objc_get_interface_ivars): New stub. | |
29a80ea6 | 1912 | |
de621752 ILT |
1913 | 2010-09-15 Ian Lance Taylor <iant@google.com> |
1914 | ||
1915 | * c-common.c (parse_optimize_options): Do not capitalize warning | |
06730c5d | 1916 | messages. Remove period at end of warning message. |
de621752 | 1917 | |
ba885ec5 NS |
1918 | 2010-09-09 Nathan Sidwell <nathan@codesourcery.com> |
1919 | ||
1920 | * c-common.c (handle_alias_ifunc_attribute): New, broken out of ... | |
1921 | (handle_alias_attribute): ... here. | |
1922 | (handle_ifunc_attribute): New. | |
1923 | ||
c5ee1358 MM |
1924 | 2010-09-06 Mark Mitchell <mark@codesourcery.com> |
1925 | ||
1926 | * c-common.h (do_warn_double_promotion): Declare. | |
1927 | * c-common.c (do_warn_double_promotion): Define. | |
1928 | ||
0a0b3574 MM |
1929 | 2010-09-05 Mark Mitchell <mark@codesourcery.com> |
1930 | ||
1931 | * c.opt (Wdouble-promotion): New. | |
1932 | ||
d1779886 JM |
1933 | 2010-09-02 Joseph Myers <joseph@codesourcery.com> |
1934 | ||
1935 | * c.opt (falt-external-templates, fhuge-objects, fvtable-gc, | |
1936 | fvtable-thunks, fxref): Mark no longer supported in help text. | |
1937 | ||
2d2bd949 JM |
1938 | 2010-09-02 Joseph Myers <joseph@codesourcery.com> |
1939 | ||
1940 | * c.opt (Wimport, fall-virtual, falt-external-templates, | |
1941 | fdefault-inline, fenum-int-equiv, fexternal-templates, | |
1942 | fguiding-decls, fhonor-std, fhuge-objects, flabels-ok, | |
1943 | fname-mangling-version-, fnew-abi, fnonnull-objects, | |
1944 | foptional-diags, fsquangle, fstrict-prototype, fthis-is-variable, | |
1945 | fvtable-gc, fvtable-thunks, fxref): Mark with Ignore and Warn as | |
1946 | applicable. | |
1947 | (fhandle-exceptions): Mark with Alias and Warn. | |
1948 | * c-opts.c (c_common_handle_option): Don't handle options marked | |
1949 | as ignored. | |
1950 | ||
5de8299c JM |
1951 | 2010-09-02 Joseph Myers <joseph@codesourcery.com> |
1952 | ||
1953 | * c.opt (Wcomments, Werror-implicit-function-declaration, | |
1954 | ftemplate-depth-, std=c89, std=c9x, std=gnu89, std=gnu9x, | |
1955 | std=iso9899:1990, std=iso9899:1999, std=iso9899:199x): Mark as | |
1956 | aliases. | |
1957 | * c-common.c (option_codes): Use OPT_Wcomment instead of | |
1958 | OPT_Wcomments. | |
1959 | * c-opts.c (warning_as_error_callback, c_common_handle_option): | |
1960 | Don't handle options marked as aliases. | |
1961 | ||
0ceb0201 RG |
1962 | 2010-08-25 Richard Guenther <rguenther@suse.de> |
1963 | ||
1964 | * c-common.c (c_common_get_alias_set): Remove special | |
1965 | handling for pointers. | |
1966 | ||
ac47786e NF |
1967 | 2010-08-20 Nathan Froyd <froydnj@codesourcery.com> |
1968 | ||
1969 | * c-common.c: Use FOR_EACH_VEC_ELT. | |
1970 | * c-gimplify.c: Likewise. | |
1971 | * c-pragma.c: Likewise. | |
1972 | ||
c878765b JM |
1973 | 2010-08-16 Joseph Myers <joseph@codesourcery.com> |
1974 | ||
1975 | * c.opt (MDX): Change back to MD. Mark NoDriverArg instead of | |
1976 | RejectDriver. | |
1977 | (MMDX): Change back to MMD. Mark NoDriverArg instead of | |
1978 | RejectDriver. | |
1979 | * c-opts.c (c_common_handle_option): Use OPT_MD and OPT_MMD | |
1980 | instead of OPT_MDX and OPT_MMDX. | |
1981 | ||
603349bf JM |
1982 | 2010-08-16 Joseph Myers <joseph@codesourcery.com> |
1983 | ||
1984 | * c.opt (MDX, MMDX, lang-asm): Mark RejectDriver. | |
1985 | ||
644fa7ac JM |
1986 | 2010-08-12 Joseph Myers <joseph@codesourcery.com> |
1987 | ||
1988 | * c.opt (MD, MMD): Change to MDX and MMDX. | |
1989 | * c-opts.c (c_common_handle_option): Use OPT_MMD and OPT_MMDX. | |
1990 | ||
481e1176 JM |
1991 | 2010-08-11 Joseph Myers <joseph@codesourcery.com> |
1992 | ||
1993 | * c-opts.c (c_common_handle_option): Call handle_generated_option | |
1994 | instead of handle_option. | |
1995 | ||
ac8dc9f7 NF |
1996 | 2010-08-08 Nathan Froyd <froydnj@codesourcery.com> |
1997 | ||
1998 | * c-pragma.c (add_to_renaming_pragma_list): Fix call to VEC_safe_push. | |
1999 | (maybe_apply_renaming_pragma): Delete unneeded declarations. | |
2000 | ||
4f8c876d NF |
2001 | 2010-08-08 Nathan Froyd <froydnj@codesourcery.com> |
2002 | ||
2003 | * c-pragma.c (pending_redefinition): Declare. Declare a VEC of it. | |
2004 | (pending_redefine_extname): Change type to a VEC. | |
2005 | (add_to_renaming_pragma_list): Update for new type of | |
2006 | pending_redefine_extname. | |
ac8dc9f7 | 2007 | (maybe_apply_renaming_pragma): Likewise. |
4f8c876d | 2008 | |
3b0c690e AC |
2009 | 2010-08-04 Arnaud Charlet <charlet@adacore.com> |
2010 | ||
2011 | * c-ada-spec.c (dump_ada_template): Mark underlying instance type as | |
2012 | visited. | |
2013 | (dump_generic_ada_node): Code clean up. Use TREE_VISITED flag to | |
2014 | decide whether a type has already been declared/seen. | |
2015 | Do not go to the original type. | |
2016 | (dump_nested_types): New parameter forward. | |
2017 | Generate forward declaration if needed and mark type as visited. | |
2018 | (print_ada_declaration): Call dump_nested_types if not already done. | |
2019 | Mark types as visited. | |
2020 | ||
1890bccc JM |
2021 | 2010-08-03 Joseph Myers <joseph@codesourcery.com> |
2022 | ||
2023 | * c.opt (-print-pch-checksum): Remove option. | |
2024 | * c-opts.c (c_common_handle_option): Don't handle | |
2025 | OPT_print_pch_checksum. | |
2026 | ||
5f20c657 JM |
2027 | 2010-07-27 Joseph Myers <joseph@codesourcery.com> |
2028 | ||
2029 | * c-common.h (c_common_handle_option): Update prototype and return | |
2030 | value type. | |
2031 | * c-opts.c (c_common_handle_option): Update prototype and return | |
2032 | value type. Update calls to handle_option and | |
2033 | enable_warning_as_error. | |
2034 | ||
f551f80c JJ |
2035 | 2010-07-27 Jakub Jelinek <jakub@redhat.com> |
2036 | ||
2037 | PR c/45079 | |
2038 | * c-pretty-print.c (pp_c_expression): Handle C_MAYBE_CONST_EXPR. | |
2039 | ||
61ff2bdc JM |
2040 | 2010-07-27 Joseph Myers <joseph@codesourcery.com> |
2041 | ||
2042 | * c-common.h (c_common_missing_argument): Remove. | |
2043 | * c-opts.c (c_common_missing_argument): Remove. | |
2044 | * c.opt (A, D, F, I, MD, MMD, MQ, MT, U, fconstant-string-class=, | |
2045 | idirafter, imacros, include, isysroot, isystem, iquote): Add | |
2046 | MissingArgError. | |
2047 | * c-objc-common.h (LANG_HOOKS_MISSING_ARGUMENT): Remove. | |
2048 | ||
7a9bf9a4 JM |
2049 | 2010-07-27 Joseph Myers <joseph@codesourcery.com> |
2050 | ||
2051 | * c-common.h (c_common_option_lang_mask, | |
2052 | c_common_initialize_diagnostics, c_common_complain_wrong_lang_p): | |
2053 | New. | |
2054 | (c_common_init_options): Update prototype. | |
2055 | * c-opts.c (c_common_option_lang_mask): New. | |
2056 | (c_common_initialize_diagnostics): Split out of | |
2057 | c_common_init_options. | |
2058 | (accept_all_c_family_options, c_common_complain_wrong_lang_p): | |
2059 | New. | |
2060 | (c_common_init_options): Update prototype. Use decoded options in | |
2061 | search for -lang-asm. | |
2062 | ||
910ad8de NF |
2063 | 2010-07-15 Nathan Froyd <froydnj@codesourcery.com> |
2064 | ||
2065 | * c-common.c: Carefully replace TREE_CHAIN with DECL_CHAIN. | |
2066 | * c-format.c: Likewise. | |
2067 | ||
718f9c0f MLI |
2068 | 2010-07-08 Manuel López-Ibáñez <manu@gcc.gnu.org> |
2069 | ||
2070 | * c-common.h: Include diagnostic-core.h. Error if already | |
2071 | included. | |
2072 | * c-semantics.c: Do not define GCC_DIAG_STYLE here. | |
2073 | ||
4d451982 MLI |
2074 | 2010-07-03 Manuel López-Ibáñez <manu@gcc.gnu.org> |
2075 | ||
2076 | * c-family/c-common.c (IN_GCC_FRONTEND): Do not undef. | |
2077 | Do not include expr.h | |
2078 | (vector_mode_valid_p): Move here. | |
2079 | ||
119fe915 SB |
2080 | 2010-06-21 DJ Delorie <dj@redhat.com> |
2081 | ||
2082 | * c-pragma.c (handle_pragma_diagnostic): Add push/pop, | |
2083 | allow these pragmas anywhere. | |
2084 | ||
2085 | 2010-06-14 Jakub Jelinek <jakub@redhat.com> | |
2086 | ||
2087 | PR bootstrap/44509 | |
2088 | * c-cppbuiltin.c: Include gt-c-family-c-cppbuiltin.h. | |
2089 | (lazy_hex_fp_values, lazy_hex_fp_value_count): Add GTY(()) markers. | |
2090 | (lazy_hex_fp_value, builtin_define_with_hex_fp_value): Use | |
2091 | ggc_strdup instead of xstrdup. | |
2092 | ||
2093 | 2010-06-10 Jakub Jelinek <jakub@redhat.com> | |
2094 | ||
2095 | * c-cppbuiltin.c: Include cpp-id-data.h. | |
2096 | (lazy_hex_fp_values, lazy_hex_fp_value_count): New variables. | |
2097 | (lazy_hex_fp_value): New function. | |
2098 | (builtin_define_with_hex_fp_value): Provide definitions lazily. | |
2099 | ||
6662d794 MLI |
2100 | 2010-06-30 Manuel López-Ibáñez <manu@gcc.gnu.org> |
2101 | ||
2102 | * c-gimplify.c: Do not include tree-flow.h | |
2103 | ||
38f8b050 JR |
2104 | 2010-06-29 Joern Rennecke <joern.rennecke@embecosm.com> |
2105 | ||
2106 | PR other/44034 | |
2107 | * c-common.c: Rename targetm member: | |
2108 | targetm.enum_va_list -> targetm.enum_va_list_p | |
2109 | ||
9589f23e AS |
2110 | 2010-06-28 Anatoly Sokolov <aesok@post.ru> |
2111 | ||
2112 | * c-common.c (shorten_compare): Adjust call to force_fit_type_double. | |
2113 | ||
3b06d379 SB |
2114 | 2010-06-28 Steven Bosscher <steven@gcc.gnu.org> |
2115 | ||
2116 | * c-cppbuiltin.c: Do not include except.h. | |
2117 | ||
d166d4c3 AK |
2118 | 2010-06-24 Andi Kleen <ak@linux.intel.com> |
2119 | ||
9faeb493 UB |
2120 | * c-common.c (warn_for_omitted_condop): New. |
2121 | * c-common.h (warn_for_omitted_condop): Add prototype. | |
d166d4c3 | 2122 | |
70cb8be6 JM |
2123 | 2010-06-21 Joseph Myers <joseph@codesourcery.com> |
2124 | ||
2125 | * c.opt (lang-objc): Remove. | |
2126 | * c-opts.c (c_common_handle_option): Don't handle OPT_lang_objc. | |
2127 | ||
a4c97feb JR |
2128 | 2010-06-21 Joern Rennecke <joern.rennecke@embecosm.com> |
2129 | ||
2130 | * c-opts.c: Include "tm_p.h". | |
2131 | ||
6e2f1956 JM |
2132 | 2010-06-20 Joseph Myers <joseph@codesourcery.com> |
2133 | ||
2134 | * c-common.c (parse_optimize_options): Update call to | |
2135 | decode_options. | |
2136 | ||
bc87224e NF |
2137 | 2010-06-18 Nathan Froyd <froydnj@codesourcery.com> |
2138 | ||
2139 | * c-common.c (record_types_used_by_current_var_decl): Adjust for | |
2140 | new type of types_used_by_cur_var_decl. | |
2141 | ||
b49cf425 JR |
2142 | 2010-06-17 Joern Rennecke <joern.rennecke@embecosm.com> |
2143 | ||
2144 | PR bootstrap/44512 | |
2145 | * c-cppbuiltin.c (builtin_define_with_hex_fp_value): Add cast | |
2146 | for C++ standard compliance. | |
2147 | ||
59f9c2ed JM |
2148 | 2010-06-16 Jason Merrill <jason@redhat.com> |
2149 | ||
2150 | * c.opt: Add -Wnoexcept. | |
2151 | ||
33766b66 RG |
2152 | 2010-06-16 Richard Guenther <rguenther@suse.de> |
2153 | ||
2154 | PR c/44555 | |
2155 | * c-common.c (c_common_truthvalue_conversion): Remove | |
2156 | premature and wrong optimization concering ADDR_EXPRs. | |
2157 | ||
eff7e30c AC |
2158 | 2010-06-15 Arnaud Charlet <charlet@adacore.com> |
2159 | ||
2160 | * c-ada-spec.c (dump_sloc): Remove column info. | |
2161 | (is_simple_enum): New function. | |
2162 | (dump_generic_ada_node, print_ada_declaration): Map C enum types to Ada | |
2163 | enum types when relevant. | |
2164 | ||
6312e84d MLI |
2165 | 2010-06-11 Manuel López-Ibáñez <manu@gcc.gnu.org> |
2166 | ||
9faeb493 | 2167 | * c-common.c (conversion_warning): Warn at expression |
6312e84d MLI |
2168 | location. |
2169 | ||
1cb42611 JM |
2170 | 2010-06-10 Joseph Myers <joseph@codesourcery.com> |
2171 | ||
2172 | * c-opts.c (c_common_handle_option): Don't handle | |
2173 | OPT_fshow_column. | |
2174 | ||
a9429e29 LB |
2175 | 2010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com> |
2176 | ||
2177 | * c-pragma.c (push_alignment): Use typed GC allocation. | |
2178 | (handle_pragma_push_options): Likewise. | |
2179 | ||
2180 | * c-common.c (parse_optimize_options): Likewise. | |
2181 | ||
2182 | * c-common.h (struct sorted_fields_type): Add variable_size GTY | |
2183 | option. | |
2184 | ||
5498f011 JM |
2185 | 2010-06-07 Joseph Myers <joseph@codesourcery.com> |
2186 | ||
2187 | * c-common.c (flag_preprocess_only, flag_undef, flag_no_builtin, | |
2188 | flag_no_nonansi_builtin, flag_short_double, flag_short_wchar, | |
2189 | flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm, | |
2190 | flag_signed_bitfields, warn_strict_null_sentinel, | |
2191 | flag_nil_receivers, flag_zero_link, flag_replace_objc_classes, | |
2192 | flag_gen_declaration, flag_no_gnu_keywords, | |
2193 | flag_implement_inlines, flag_implicit_templates, | |
2194 | flag_implicit_inline_templates, flag_optional_diags, | |
2195 | flag_elide_constructors, flag_default_inline, flag_rtti, | |
2196 | flag_conserve_space, flag_access_control, flag_check_new, | |
2197 | flag_new_for_scope, flag_weak, flag_working_directory, | |
2198 | flag_use_cxa_atexit, flag_use_cxa_get_exception_ptr, | |
2199 | flag_enforce_eh_specs, flag_threadsafe_statics, | |
2200 | flag_pretty_templates): Remove. | |
2201 | * c-common.h (flag_preprocess_only, flag_nil_receivers, | |
2202 | flag_objc_exceptions, flag_objc_sjlj_exceptions, flag_zero_link, | |
2203 | flag_replace_objc_classes, flag_undef, flag_no_builtin, | |
2204 | flag_no_nonansi_builtin, flag_short_double, flag_short_wchar, | |
2205 | flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm, | |
2206 | flag_const_strings, flag_signed_bitfields, flag_gen_declaration, | |
2207 | flag_no_gnu_keywords, flag_implement_inlines, | |
2208 | flag_implicit_templates, flag_implicit_inline_templates, | |
2209 | flag_optional_diags, flag_elide_constructors, flag_default_inline, | |
2210 | flag_rtti, flag_conserve_space, flag_access_control, | |
2211 | flag_check_new, flag_new_for_scope, flag_weak, | |
2212 | flag_working_directory, flag_use_cxa_atexit, | |
2213 | flag_use_cxa_get_exception_ptr, flag_enforce_eh_specs, | |
2214 | flag_threadsafe_statics, flag_pretty_templates, | |
2215 | warn_strict_null_sentinel): Remove. | |
2216 | * c.opt (E, Wstrict-null-sentinel, faccess-control, fasm, | |
2217 | fbuiltin, fcheck-new, fconserve-space, felide-constructors, | |
2218 | fenforce-eh-specs, ffor-scope, fgnu-keywords, fimplement-inlines, | |
2219 | fimplicit-inline-templates, fimplicit-templates, | |
2220 | flax-vector-conversions, fms-extensions, fnil-receivers, | |
2221 | fnonansi-builtins, fpretty-templates, freplace-objc-classes, | |
2222 | frtti, fshort-double, fshort-enums, fshort-wchar, | |
2223 | fsigned-bitfields, fsigned-char, fstats, fthreadsafe-statics, | |
2224 | funsigned-bitfields, funsigned-char, fuse-cxa-atexit, | |
2225 | fuse-cxa-get-exception-ptr, fweak, fworking-directory, fzero-link, | |
2226 | gen-decls, undef): Use Var. | |
2227 | (fdefault-inline, foptional-diags): Document as doing nothing. | |
2228 | * c-opts.c (c_common_handle_option): Remove cases for options now | |
2229 | using Var. Mark ignored options as such. | |
2230 | ||
39dabefd SB |
2231 | 2010-06-05 Steven Bosscher <steven@gcc.gnu.org> |
2232 | ||
9faeb493 | 2233 | * c-common.c: Moved to here from parent directory. |
39dabefd SB |
2234 | * c-common.def: Likewise. |
2235 | * c-common.h: Likewise. | |
2236 | * c-cppbuiltin.c: Likewise. | |
2237 | * c-dump.c: Likewise. | |
2238 | * c-format.c: Likewise. | |
2239 | * c-format.h : Likewise. | |
2240 | * c-gimplify.c: Likewise. | |
2241 | * c-lex.c: Likewise. | |
2242 | * c-omp.c: Likewise. | |
2243 | * c.opt: Likewise. | |
2244 | * c-opts.c: Likewise. | |
2245 | * c-pch.c: Likewise. | |
2246 | * c-ppoutput.c: Likewise. | |
2247 | * c-pragma.c: Likewise. | |
2248 | * c-pragma.h: Likewise. | |
2249 | * c-pretty-print.c: Likewise. | |
2250 | * c-pretty-print.h: Likewise. | |
2251 | * c-semantics.c: Likewise. | |
2252 | * stub-objc.c: Likewise. | |
2253 | ||
2254 | * c-common.c: Include gt-c-family-c-common.h. | |
2255 | * c-pragma.c: Include gt-c-family-c-pragma.h. | |
2256 | \f | |
04695783 | 2257 | Copyright (C) 2010, 2011 Free Software Foundation, Inc. |
39dabefd SB |
2258 | |
2259 | Copying and distribution of this file, with or without modification, | |
2260 | are permitted in any medium without royalty provided the copyright | |
2261 | notice and this notice are preserved. |