OSDN Git Service

* c.opt: Add -Wnoexcept.
[pf3gnuchains/gcc-fork.git] / gcc / c-family / ChangeLog
1 2010-06-16  Jason Merrill  <jason@redhat.com>
2
3         * c.opt: Add -Wnoexcept.
4
5 2010-06-16  Richard Guenther  <rguenther@suse.de>
6
7         PR c/44555
8         * c-common.c (c_common_truthvalue_conversion): Remove
9         premature and wrong optimization concering ADDR_EXPRs.
10
11 2010-06-15  Arnaud Charlet  <charlet@adacore.com>
12
13         * c-ada-spec.c (dump_sloc): Remove column info.
14         (is_simple_enum): New function.
15         (dump_generic_ada_node, print_ada_declaration): Map C enum types to Ada
16         enum types when relevant.
17
18 2010-06-11  Manuel López-Ibáñez  <manu@gcc.gnu.org>
19
20         * c-common.c (conversion_warning): Warn at expression
21         location.
22
23 2010-06-10  Joseph Myers  <joseph@codesourcery.com>
24
25         * c-opts.c (c_common_handle_option): Don't handle
26         OPT_fshow_column.
27
28 2010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
29
30         * c-pragma.c (push_alignment): Use typed GC allocation.
31         (handle_pragma_push_options): Likewise.
32
33         * c-common.c (parse_optimize_options): Likewise.
34
35         * c-common.h (struct sorted_fields_type): Add variable_size GTY
36         option.
37
38 2010-06-07  Joseph Myers  <joseph@codesourcery.com>
39
40         * c-common.c (flag_preprocess_only, flag_undef, flag_no_builtin,
41         flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
42         flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
43         flag_signed_bitfields, warn_strict_null_sentinel,
44         flag_nil_receivers, flag_zero_link, flag_replace_objc_classes,
45         flag_gen_declaration, flag_no_gnu_keywords,
46         flag_implement_inlines, flag_implicit_templates,
47         flag_implicit_inline_templates, flag_optional_diags,
48         flag_elide_constructors, flag_default_inline, flag_rtti,
49         flag_conserve_space, flag_access_control, flag_check_new,
50         flag_new_for_scope, flag_weak, flag_working_directory,
51         flag_use_cxa_atexit, flag_use_cxa_get_exception_ptr,
52         flag_enforce_eh_specs, flag_threadsafe_statics,
53         flag_pretty_templates): Remove.
54         * c-common.h (flag_preprocess_only, flag_nil_receivers,
55         flag_objc_exceptions, flag_objc_sjlj_exceptions, flag_zero_link,
56         flag_replace_objc_classes, flag_undef, flag_no_builtin,
57         flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
58         flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
59         flag_const_strings, flag_signed_bitfields, flag_gen_declaration,
60         flag_no_gnu_keywords, flag_implement_inlines,
61         flag_implicit_templates, flag_implicit_inline_templates,
62         flag_optional_diags, flag_elide_constructors, flag_default_inline,
63         flag_rtti, flag_conserve_space, flag_access_control,
64         flag_check_new, flag_new_for_scope, flag_weak,
65         flag_working_directory, flag_use_cxa_atexit,
66         flag_use_cxa_get_exception_ptr, flag_enforce_eh_specs,
67         flag_threadsafe_statics, flag_pretty_templates,
68         warn_strict_null_sentinel): Remove.
69         * c.opt (E, Wstrict-null-sentinel, faccess-control, fasm,
70         fbuiltin, fcheck-new, fconserve-space, felide-constructors,
71         fenforce-eh-specs, ffor-scope, fgnu-keywords, fimplement-inlines,
72         fimplicit-inline-templates, fimplicit-templates,
73         flax-vector-conversions, fms-extensions, fnil-receivers,
74         fnonansi-builtins, fpretty-templates, freplace-objc-classes,
75         frtti, fshort-double, fshort-enums, fshort-wchar,
76         fsigned-bitfields, fsigned-char, fstats, fthreadsafe-statics,
77         funsigned-bitfields, funsigned-char, fuse-cxa-atexit,
78         fuse-cxa-get-exception-ptr, fweak, fworking-directory, fzero-link,
79         gen-decls, undef): Use Var.
80         (fdefault-inline, foptional-diags): Document as doing nothing.
81         * c-opts.c (c_common_handle_option): Remove cases for options now
82         using Var.  Mark ignored options as such.
83
84 2010-06-05  Steven Bosscher  <steven@gcc.gnu.org>
85
86         * c-common.c: Moved to here from parent directory. 
87         * c-common.def: Likewise.
88         * c-common.h: Likewise.
89         * c-cppbuiltin.c: Likewise.
90         * c-dump.c: Likewise.
91         * c-format.c: Likewise.
92         * c-format.h : Likewise.
93         * c-gimplify.c: Likewise.
94         * c-lex.c: Likewise.
95         * c-omp.c: Likewise.
96         * c.opt: Likewise.
97         * c-opts.c: Likewise.
98         * c-pch.c: Likewise.
99         * c-ppoutput.c: Likewise.
100         * c-pragma.c: Likewise.
101         * c-pragma.h: Likewise.
102         * c-pretty-print.c: Likewise.
103         * c-pretty-print.h: Likewise.
104         * c-semantics.c: Likewise.
105         * stub-objc.c: Likewise.
106
107         * c-common.c: Include gt-c-family-c-common.h.
108         * c-pragma.c: Include gt-c-family-c-pragma.h.
109 \f
110 Copyright (C) 2010 Free Software Foundation, Inc.
111
112 Copying and distribution of this file, with or without modification,
113 are permitted in any medium without royalty provided the copyright
114 notice and this notice are preserved.