2010-07-22 Andi Kleen <ak@linux.intel.com>
[official-gcc.git] / gcc / c-family / ChangeLog
blobb1d118fe6a1818062a588108a50b3b77079315e7
1 2010-07-15  Nathan Froyd  <froydnj@codesourcery.com>
3         * c-common.c: Carefully replace TREE_CHAIN with DECL_CHAIN.
4         * c-format.c: Likewise.
6 2010-07-08  Manuel López-Ibáñez  <manu@gcc.gnu.org>
8         * c-common.h: Include diagnostic-core.h. Error if already
9         included.
10         * c-semantics.c: Do not define GCC_DIAG_STYLE here.
12 2010-07-03  Manuel López-Ibáñez  <manu@gcc.gnu.org>
14         * c-family/c-common.c (IN_GCC_FRONTEND): Do not undef.
15         Do not include expr.h
16         (vector_mode_valid_p): Move here.
18 2010-06-21  DJ Delorie  <dj@redhat.com>
20         * c-pragma.c (handle_pragma_diagnostic): Add push/pop,
21         allow these pragmas anywhere.
23 2010-06-14  Jakub Jelinek  <jakub@redhat.com>
25         PR bootstrap/44509
26         * c-cppbuiltin.c: Include gt-c-family-c-cppbuiltin.h.
27         (lazy_hex_fp_values, lazy_hex_fp_value_count): Add GTY(()) markers.
28         (lazy_hex_fp_value, builtin_define_with_hex_fp_value): Use
29         ggc_strdup instead of xstrdup.
31 2010-06-10  Jakub Jelinek  <jakub@redhat.com>
33         * c-cppbuiltin.c: Include cpp-id-data.h.
34         (lazy_hex_fp_values, lazy_hex_fp_value_count): New variables.
35         (lazy_hex_fp_value): New function.
36         (builtin_define_with_hex_fp_value): Provide definitions lazily.
38 2010-06-30  Manuel López-Ibáñez  <manu@gcc.gnu.org>
40         * c-gimplify.c: Do not include tree-flow.h
42 2010-06-29  Joern Rennecke  <joern.rennecke@embecosm.com>
44         PR other/44034
45         * c-common.c: Rename targetm member:
46         targetm.enum_va_list -> targetm.enum_va_list_p
48 2010-06-28  Anatoly Sokolov  <aesok@post.ru>
50         * c-common.c (shorten_compare): Adjust call to force_fit_type_double.
52 2010-06-28  Steven Bosscher  <steven@gcc.gnu.org>
54         * c-cppbuiltin.c: Do not include except.h.
56 2010-06-24  Andi Kleen  <ak@linux.intel.com>
58         * c-common.c (warn_for_omitted_condop): New.
59         * c-common.h (warn_for_omitted_condop): Add prototype.
61 2010-06-21  Joseph Myers  <joseph@codesourcery.com>
63         * c.opt (lang-objc): Remove.
64         * c-opts.c (c_common_handle_option): Don't handle OPT_lang_objc.
66 2010-06-21  Joern Rennecke  <joern.rennecke@embecosm.com>
68         * c-opts.c: Include "tm_p.h".
70 2010-06-20  Joseph Myers  <joseph@codesourcery.com>
72         * c-common.c (parse_optimize_options): Update call to
73         decode_options.
75 2010-06-18  Nathan Froyd  <froydnj@codesourcery.com>
77         * c-common.c (record_types_used_by_current_var_decl): Adjust for
78         new type of types_used_by_cur_var_decl.
80 2010-06-17  Joern Rennecke  <joern.rennecke@embecosm.com>
82         PR bootstrap/44512
83         * c-cppbuiltin.c (builtin_define_with_hex_fp_value): Add cast
84         for C++ standard compliance.
86 2010-06-16  Jason Merrill  <jason@redhat.com>
88         * c.opt: Add -Wnoexcept.
90 2010-06-16  Richard Guenther  <rguenther@suse.de>
92         PR c/44555
93         * c-common.c (c_common_truthvalue_conversion): Remove
94         premature and wrong optimization concering ADDR_EXPRs.
96 2010-06-15  Arnaud Charlet  <charlet@adacore.com>
98         * c-ada-spec.c (dump_sloc): Remove column info.
99         (is_simple_enum): New function.
100         (dump_generic_ada_node, print_ada_declaration): Map C enum types to Ada
101         enum types when relevant.
103 2010-06-11  Manuel López-Ibáñez  <manu@gcc.gnu.org>
105         * c-common.c (conversion_warning): Warn at expression
106         location.
108 2010-06-10  Joseph Myers  <joseph@codesourcery.com>
110         * c-opts.c (c_common_handle_option): Don't handle
111         OPT_fshow_column.
113 2010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
115         * c-pragma.c (push_alignment): Use typed GC allocation.
116         (handle_pragma_push_options): Likewise.
118         * c-common.c (parse_optimize_options): Likewise.
120         * c-common.h (struct sorted_fields_type): Add variable_size GTY
121         option.
123 2010-06-07  Joseph Myers  <joseph@codesourcery.com>
125         * c-common.c (flag_preprocess_only, flag_undef, flag_no_builtin,
126         flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
127         flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
128         flag_signed_bitfields, warn_strict_null_sentinel,
129         flag_nil_receivers, flag_zero_link, flag_replace_objc_classes,
130         flag_gen_declaration, flag_no_gnu_keywords,
131         flag_implement_inlines, flag_implicit_templates,
132         flag_implicit_inline_templates, flag_optional_diags,
133         flag_elide_constructors, flag_default_inline, flag_rtti,
134         flag_conserve_space, flag_access_control, flag_check_new,
135         flag_new_for_scope, flag_weak, flag_working_directory,
136         flag_use_cxa_atexit, flag_use_cxa_get_exception_ptr,
137         flag_enforce_eh_specs, flag_threadsafe_statics,
138         flag_pretty_templates): Remove.
139         * c-common.h (flag_preprocess_only, flag_nil_receivers,
140         flag_objc_exceptions, flag_objc_sjlj_exceptions, flag_zero_link,
141         flag_replace_objc_classes, flag_undef, flag_no_builtin,
142         flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
143         flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
144         flag_const_strings, flag_signed_bitfields, flag_gen_declaration,
145         flag_no_gnu_keywords, flag_implement_inlines,
146         flag_implicit_templates, flag_implicit_inline_templates,
147         flag_optional_diags, flag_elide_constructors, flag_default_inline,
148         flag_rtti, flag_conserve_space, flag_access_control,
149         flag_check_new, flag_new_for_scope, flag_weak,
150         flag_working_directory, flag_use_cxa_atexit,
151         flag_use_cxa_get_exception_ptr, flag_enforce_eh_specs,
152         flag_threadsafe_statics, flag_pretty_templates,
153         warn_strict_null_sentinel): Remove.
154         * c.opt (E, Wstrict-null-sentinel, faccess-control, fasm,
155         fbuiltin, fcheck-new, fconserve-space, felide-constructors,
156         fenforce-eh-specs, ffor-scope, fgnu-keywords, fimplement-inlines,
157         fimplicit-inline-templates, fimplicit-templates,
158         flax-vector-conversions, fms-extensions, fnil-receivers,
159         fnonansi-builtins, fpretty-templates, freplace-objc-classes,
160         frtti, fshort-double, fshort-enums, fshort-wchar,
161         fsigned-bitfields, fsigned-char, fstats, fthreadsafe-statics,
162         funsigned-bitfields, funsigned-char, fuse-cxa-atexit,
163         fuse-cxa-get-exception-ptr, fweak, fworking-directory, fzero-link,
164         gen-decls, undef): Use Var.
165         (fdefault-inline, foptional-diags): Document as doing nothing.
166         * c-opts.c (c_common_handle_option): Remove cases for options now
167         using Var.  Mark ignored options as such.
169 2010-06-05  Steven Bosscher  <steven@gcc.gnu.org>
171         * c-common.c: Moved to here from parent directory. 
172         * c-common.def: Likewise.
173         * c-common.h: Likewise.
174         * c-cppbuiltin.c: Likewise.
175         * c-dump.c: Likewise.
176         * c-format.c: Likewise.
177         * c-format.h : Likewise.
178         * c-gimplify.c: Likewise.
179         * c-lex.c: Likewise.
180         * c-omp.c: Likewise.
181         * c.opt: Likewise.
182         * c-opts.c: Likewise.
183         * c-pch.c: Likewise.
184         * c-ppoutput.c: Likewise.
185         * c-pragma.c: Likewise.
186         * c-pragma.h: Likewise.
187         * c-pretty-print.c: Likewise.
188         * c-pretty-print.h: Likewise.
189         * c-semantics.c: Likewise.
190         * stub-objc.c: Likewise.
192         * c-common.c: Include gt-c-family-c-common.h.
193         * c-pragma.c: Include gt-c-family-c-pragma.h.
195 Copyright (C) 2010 Free Software Foundation, Inc.
197 Copying and distribution of this file, with or without modification,
198 are permitted in any medium without royalty provided the copyright
199 notice and this notice are preserved.