]> gcc.gnu.org Git - gcc.git/blame - gcc/c-family/ChangeLog
libstdc++.exp, ([check_v3_target_namedlocale]): Clean temporary source file once...
[gcc.git] / gcc / c-family / ChangeLog
CommitLineData
de621752
ILT
12010-09-15 Ian Lance Taylor <iant@google.com>
2
3 * c-common.c (parse_optimize_options): Do not capitalize warning
4 messages.
5
ba885ec5
NS
62010-09-09 Nathan Sidwell <nathan@codesourcery.com>
7
8 * c-common.c (handle_alias_ifunc_attribute): New, broken out of ...
9 (handle_alias_attribute): ... here.
10 (handle_ifunc_attribute): New.
11
c5ee1358
MM
122010-09-06 Mark Mitchell <mark@codesourcery.com>
13
14 * c-common.h (do_warn_double_promotion): Declare.
15 * c-common.c (do_warn_double_promotion): Define.
16
0a0b3574
MM
172010-09-05 Mark Mitchell <mark@codesourcery.com>
18
19 * c.opt (Wdouble-promotion): New.
20
d1779886
JM
212010-09-02 Joseph Myers <joseph@codesourcery.com>
22
23 * c.opt (falt-external-templates, fhuge-objects, fvtable-gc,
24 fvtable-thunks, fxref): Mark no longer supported in help text.
25
2d2bd949
JM
262010-09-02 Joseph Myers <joseph@codesourcery.com>
27
28 * c.opt (Wimport, fall-virtual, falt-external-templates,
29 fdefault-inline, fenum-int-equiv, fexternal-templates,
30 fguiding-decls, fhonor-std, fhuge-objects, flabels-ok,
31 fname-mangling-version-, fnew-abi, fnonnull-objects,
32 foptional-diags, fsquangle, fstrict-prototype, fthis-is-variable,
33 fvtable-gc, fvtable-thunks, fxref): Mark with Ignore and Warn as
34 applicable.
35 (fhandle-exceptions): Mark with Alias and Warn.
36 * c-opts.c (c_common_handle_option): Don't handle options marked
37 as ignored.
38
5de8299c
JM
392010-09-02 Joseph Myers <joseph@codesourcery.com>
40
41 * c.opt (Wcomments, Werror-implicit-function-declaration,
42 ftemplate-depth-, std=c89, std=c9x, std=gnu89, std=gnu9x,
43 std=iso9899:1990, std=iso9899:1999, std=iso9899:199x): Mark as
44 aliases.
45 * c-common.c (option_codes): Use OPT_Wcomment instead of
46 OPT_Wcomments.
47 * c-opts.c (warning_as_error_callback, c_common_handle_option):
48 Don't handle options marked as aliases.
49
0ceb0201
RG
502010-08-25 Richard Guenther <rguenther@suse.de>
51
52 * c-common.c (c_common_get_alias_set): Remove special
53 handling for pointers.
54
ac47786e
NF
552010-08-20 Nathan Froyd <froydnj@codesourcery.com>
56
57 * c-common.c: Use FOR_EACH_VEC_ELT.
58 * c-gimplify.c: Likewise.
59 * c-pragma.c: Likewise.
60
c878765b
JM
612010-08-16 Joseph Myers <joseph@codesourcery.com>
62
63 * c.opt (MDX): Change back to MD. Mark NoDriverArg instead of
64 RejectDriver.
65 (MMDX): Change back to MMD. Mark NoDriverArg instead of
66 RejectDriver.
67 * c-opts.c (c_common_handle_option): Use OPT_MD and OPT_MMD
68 instead of OPT_MDX and OPT_MMDX.
69
603349bf
JM
702010-08-16 Joseph Myers <joseph@codesourcery.com>
71
72 * c.opt (MDX, MMDX, lang-asm): Mark RejectDriver.
73
644fa7ac
JM
742010-08-12 Joseph Myers <joseph@codesourcery.com>
75
76 * c.opt (MD, MMD): Change to MDX and MMDX.
77 * c-opts.c (c_common_handle_option): Use OPT_MMD and OPT_MMDX.
78
481e1176
JM
792010-08-11 Joseph Myers <joseph@codesourcery.com>
80
81 * c-opts.c (c_common_handle_option): Call handle_generated_option
82 instead of handle_option.
83
ac8dc9f7
NF
842010-08-08 Nathan Froyd <froydnj@codesourcery.com>
85
86 * c-pragma.c (add_to_renaming_pragma_list): Fix call to VEC_safe_push.
87 (maybe_apply_renaming_pragma): Delete unneeded declarations.
88
4f8c876d
NF
892010-08-08 Nathan Froyd <froydnj@codesourcery.com>
90
91 * c-pragma.c (pending_redefinition): Declare. Declare a VEC of it.
92 (pending_redefine_extname): Change type to a VEC.
93 (add_to_renaming_pragma_list): Update for new type of
94 pending_redefine_extname.
ac8dc9f7 95 (maybe_apply_renaming_pragma): Likewise.
4f8c876d 96
3b0c690e
AC
972010-08-04 Arnaud Charlet <charlet@adacore.com>
98
99 * c-ada-spec.c (dump_ada_template): Mark underlying instance type as
100 visited.
101 (dump_generic_ada_node): Code clean up. Use TREE_VISITED flag to
102 decide whether a type has already been declared/seen.
103 Do not go to the original type.
104 (dump_nested_types): New parameter forward.
105 Generate forward declaration if needed and mark type as visited.
106 (print_ada_declaration): Call dump_nested_types if not already done.
107 Mark types as visited.
108
1890bccc
JM
1092010-08-03 Joseph Myers <joseph@codesourcery.com>
110
111 * c.opt (-print-pch-checksum): Remove option.
112 * c-opts.c (c_common_handle_option): Don't handle
113 OPT_print_pch_checksum.
114
5f20c657
JM
1152010-07-27 Joseph Myers <joseph@codesourcery.com>
116
117 * c-common.h (c_common_handle_option): Update prototype and return
118 value type.
119 * c-opts.c (c_common_handle_option): Update prototype and return
120 value type. Update calls to handle_option and
121 enable_warning_as_error.
122
f551f80c
JJ
1232010-07-27 Jakub Jelinek <jakub@redhat.com>
124
125 PR c/45079
126 * c-pretty-print.c (pp_c_expression): Handle C_MAYBE_CONST_EXPR.
127
61ff2bdc
JM
1282010-07-27 Joseph Myers <joseph@codesourcery.com>
129
130 * c-common.h (c_common_missing_argument): Remove.
131 * c-opts.c (c_common_missing_argument): Remove.
132 * c.opt (A, D, F, I, MD, MMD, MQ, MT, U, fconstant-string-class=,
133 idirafter, imacros, include, isysroot, isystem, iquote): Add
134 MissingArgError.
135 * c-objc-common.h (LANG_HOOKS_MISSING_ARGUMENT): Remove.
136
7a9bf9a4
JM
1372010-07-27 Joseph Myers <joseph@codesourcery.com>
138
139 * c-common.h (c_common_option_lang_mask,
140 c_common_initialize_diagnostics, c_common_complain_wrong_lang_p):
141 New.
142 (c_common_init_options): Update prototype.
143 * c-opts.c (c_common_option_lang_mask): New.
144 (c_common_initialize_diagnostics): Split out of
145 c_common_init_options.
146 (accept_all_c_family_options, c_common_complain_wrong_lang_p):
147 New.
148 (c_common_init_options): Update prototype. Use decoded options in
149 search for -lang-asm.
150
910ad8de
NF
1512010-07-15 Nathan Froyd <froydnj@codesourcery.com>
152
153 * c-common.c: Carefully replace TREE_CHAIN with DECL_CHAIN.
154 * c-format.c: Likewise.
155
718f9c0f
MLI
1562010-07-08 Manuel López-Ibáñez <manu@gcc.gnu.org>
157
158 * c-common.h: Include diagnostic-core.h. Error if already
159 included.
160 * c-semantics.c: Do not define GCC_DIAG_STYLE here.
161
4d451982
MLI
1622010-07-03 Manuel López-Ibáñez <manu@gcc.gnu.org>
163
164 * c-family/c-common.c (IN_GCC_FRONTEND): Do not undef.
165 Do not include expr.h
166 (vector_mode_valid_p): Move here.
167
119fe915
SB
1682010-06-21 DJ Delorie <dj@redhat.com>
169
170 * c-pragma.c (handle_pragma_diagnostic): Add push/pop,
171 allow these pragmas anywhere.
172
1732010-06-14 Jakub Jelinek <jakub@redhat.com>
174
175 PR bootstrap/44509
176 * c-cppbuiltin.c: Include gt-c-family-c-cppbuiltin.h.
177 (lazy_hex_fp_values, lazy_hex_fp_value_count): Add GTY(()) markers.
178 (lazy_hex_fp_value, builtin_define_with_hex_fp_value): Use
179 ggc_strdup instead of xstrdup.
180
1812010-06-10 Jakub Jelinek <jakub@redhat.com>
182
183 * c-cppbuiltin.c: Include cpp-id-data.h.
184 (lazy_hex_fp_values, lazy_hex_fp_value_count): New variables.
185 (lazy_hex_fp_value): New function.
186 (builtin_define_with_hex_fp_value): Provide definitions lazily.
187
6662d794
MLI
1882010-06-30 Manuel López-Ibáñez <manu@gcc.gnu.org>
189
190 * c-gimplify.c: Do not include tree-flow.h
191
38f8b050
JR
1922010-06-29 Joern Rennecke <joern.rennecke@embecosm.com>
193
194 PR other/44034
195 * c-common.c: Rename targetm member:
196 targetm.enum_va_list -> targetm.enum_va_list_p
197
9589f23e
AS
1982010-06-28 Anatoly Sokolov <aesok@post.ru>
199
200 * c-common.c (shorten_compare): Adjust call to force_fit_type_double.
201
3b06d379
SB
2022010-06-28 Steven Bosscher <steven@gcc.gnu.org>
203
204 * c-cppbuiltin.c: Do not include except.h.
205
d166d4c3
AK
2062010-06-24 Andi Kleen <ak@linux.intel.com>
207
208 * c-common.c (warn_for_omitted_condop): New.
209 * c-common.h (warn_for_omitted_condop): Add prototype.
210
70cb8be6
JM
2112010-06-21 Joseph Myers <joseph@codesourcery.com>
212
213 * c.opt (lang-objc): Remove.
214 * c-opts.c (c_common_handle_option): Don't handle OPT_lang_objc.
215
a4c97feb
JR
2162010-06-21 Joern Rennecke <joern.rennecke@embecosm.com>
217
218 * c-opts.c: Include "tm_p.h".
219
6e2f1956
JM
2202010-06-20 Joseph Myers <joseph@codesourcery.com>
221
222 * c-common.c (parse_optimize_options): Update call to
223 decode_options.
224
bc87224e
NF
2252010-06-18 Nathan Froyd <froydnj@codesourcery.com>
226
227 * c-common.c (record_types_used_by_current_var_decl): Adjust for
228 new type of types_used_by_cur_var_decl.
229
b49cf425
JR
2302010-06-17 Joern Rennecke <joern.rennecke@embecosm.com>
231
232 PR bootstrap/44512
233 * c-cppbuiltin.c (builtin_define_with_hex_fp_value): Add cast
234 for C++ standard compliance.
235
59f9c2ed
JM
2362010-06-16 Jason Merrill <jason@redhat.com>
237
238 * c.opt: Add -Wnoexcept.
239
33766b66
RG
2402010-06-16 Richard Guenther <rguenther@suse.de>
241
242 PR c/44555
243 * c-common.c (c_common_truthvalue_conversion): Remove
244 premature and wrong optimization concering ADDR_EXPRs.
245
eff7e30c
AC
2462010-06-15 Arnaud Charlet <charlet@adacore.com>
247
248 * c-ada-spec.c (dump_sloc): Remove column info.
249 (is_simple_enum): New function.
250 (dump_generic_ada_node, print_ada_declaration): Map C enum types to Ada
251 enum types when relevant.
252
6312e84d
MLI
2532010-06-11 Manuel López-Ibáñez <manu@gcc.gnu.org>
254
255 * c-common.c (conversion_warning): Warn at expression
256 location.
257
1cb42611
JM
2582010-06-10 Joseph Myers <joseph@codesourcery.com>
259
260 * c-opts.c (c_common_handle_option): Don't handle
261 OPT_fshow_column.
262
a9429e29
LB
2632010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com>
264
265 * c-pragma.c (push_alignment): Use typed GC allocation.
266 (handle_pragma_push_options): Likewise.
267
268 * c-common.c (parse_optimize_options): Likewise.
269
270 * c-common.h (struct sorted_fields_type): Add variable_size GTY
271 option.
272
5498f011
JM
2732010-06-07 Joseph Myers <joseph@codesourcery.com>
274
275 * c-common.c (flag_preprocess_only, flag_undef, flag_no_builtin,
276 flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
277 flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
278 flag_signed_bitfields, warn_strict_null_sentinel,
279 flag_nil_receivers, flag_zero_link, flag_replace_objc_classes,
280 flag_gen_declaration, flag_no_gnu_keywords,
281 flag_implement_inlines, flag_implicit_templates,
282 flag_implicit_inline_templates, flag_optional_diags,
283 flag_elide_constructors, flag_default_inline, flag_rtti,
284 flag_conserve_space, flag_access_control, flag_check_new,
285 flag_new_for_scope, flag_weak, flag_working_directory,
286 flag_use_cxa_atexit, flag_use_cxa_get_exception_ptr,
287 flag_enforce_eh_specs, flag_threadsafe_statics,
288 flag_pretty_templates): Remove.
289 * c-common.h (flag_preprocess_only, flag_nil_receivers,
290 flag_objc_exceptions, flag_objc_sjlj_exceptions, flag_zero_link,
291 flag_replace_objc_classes, flag_undef, flag_no_builtin,
292 flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
293 flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
294 flag_const_strings, flag_signed_bitfields, flag_gen_declaration,
295 flag_no_gnu_keywords, flag_implement_inlines,
296 flag_implicit_templates, flag_implicit_inline_templates,
297 flag_optional_diags, flag_elide_constructors, flag_default_inline,
298 flag_rtti, flag_conserve_space, flag_access_control,
299 flag_check_new, flag_new_for_scope, flag_weak,
300 flag_working_directory, flag_use_cxa_atexit,
301 flag_use_cxa_get_exception_ptr, flag_enforce_eh_specs,
302 flag_threadsafe_statics, flag_pretty_templates,
303 warn_strict_null_sentinel): Remove.
304 * c.opt (E, Wstrict-null-sentinel, faccess-control, fasm,
305 fbuiltin, fcheck-new, fconserve-space, felide-constructors,
306 fenforce-eh-specs, ffor-scope, fgnu-keywords, fimplement-inlines,
307 fimplicit-inline-templates, fimplicit-templates,
308 flax-vector-conversions, fms-extensions, fnil-receivers,
309 fnonansi-builtins, fpretty-templates, freplace-objc-classes,
310 frtti, fshort-double, fshort-enums, fshort-wchar,
311 fsigned-bitfields, fsigned-char, fstats, fthreadsafe-statics,
312 funsigned-bitfields, funsigned-char, fuse-cxa-atexit,
313 fuse-cxa-get-exception-ptr, fweak, fworking-directory, fzero-link,
314 gen-decls, undef): Use Var.
315 (fdefault-inline, foptional-diags): Document as doing nothing.
316 * c-opts.c (c_common_handle_option): Remove cases for options now
317 using Var. Mark ignored options as such.
318
39dabefd
SB
3192010-06-05 Steven Bosscher <steven@gcc.gnu.org>
320
321 * c-common.c: Moved to here from parent directory.
322 * c-common.def: Likewise.
323 * c-common.h: Likewise.
324 * c-cppbuiltin.c: Likewise.
325 * c-dump.c: Likewise.
326 * c-format.c: Likewise.
327 * c-format.h : Likewise.
328 * c-gimplify.c: Likewise.
329 * c-lex.c: Likewise.
330 * c-omp.c: Likewise.
331 * c.opt: Likewise.
332 * c-opts.c: Likewise.
333 * c-pch.c: Likewise.
334 * c-ppoutput.c: Likewise.
335 * c-pragma.c: Likewise.
336 * c-pragma.h: Likewise.
337 * c-pretty-print.c: Likewise.
338 * c-pretty-print.h: Likewise.
339 * c-semantics.c: Likewise.
340 * stub-objc.c: Likewise.
341
342 * c-common.c: Include gt-c-family-c-common.h.
343 * c-pragma.c: Include gt-c-family-c-pragma.h.
344\f
345Copyright (C) 2010 Free Software Foundation, Inc.
346
347Copying and distribution of this file, with or without modification,
348are permitted in any medium without royalty provided the copyright
349notice and this notice are preserved.
This page took 0.184496 seconds and 5 git commands to generate.