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