]> gcc.gnu.org Git - gcc.git/blame - gcc/c-family/ChangeLog
re PR rtl-optimization/40956 (Constants are never candidates for hoisting)
[gcc.git] / gcc / c-family / ChangeLog
CommitLineData
f551f80c
JJ
12010-07-27 Jakub Jelinek <jakub@redhat.com>
2
3 PR c/45079
4 * c-pretty-print.c (pp_c_expression): Handle C_MAYBE_CONST_EXPR.
5
61ff2bdc
JM
62010-07-27 Joseph Myers <joseph@codesourcery.com>
7
8 * c-common.h (c_common_missing_argument): Remove.
9 * c-opts.c (c_common_missing_argument): Remove.
10 * c.opt (A, D, F, I, MD, MMD, MQ, MT, U, fconstant-string-class=,
11 idirafter, imacros, include, isysroot, isystem, iquote): Add
12 MissingArgError.
13 * c-objc-common.h (LANG_HOOKS_MISSING_ARGUMENT): Remove.
14
7a9bf9a4
JM
152010-07-27 Joseph Myers <joseph@codesourcery.com>
16
17 * c-common.h (c_common_option_lang_mask,
18 c_common_initialize_diagnostics, c_common_complain_wrong_lang_p):
19 New.
20 (c_common_init_options): Update prototype.
21 * c-opts.c (c_common_option_lang_mask): New.
22 (c_common_initialize_diagnostics): Split out of
23 c_common_init_options.
24 (accept_all_c_family_options, c_common_complain_wrong_lang_p):
25 New.
26 (c_common_init_options): Update prototype. Use decoded options in
27 search for -lang-asm.
28
910ad8de
NF
292010-07-15 Nathan Froyd <froydnj@codesourcery.com>
30
31 * c-common.c: Carefully replace TREE_CHAIN with DECL_CHAIN.
32 * c-format.c: Likewise.
33
718f9c0f
MLI
342010-07-08 Manuel López-Ibáñez <manu@gcc.gnu.org>
35
36 * c-common.h: Include diagnostic-core.h. Error if already
37 included.
38 * c-semantics.c: Do not define GCC_DIAG_STYLE here.
39
4d451982
MLI
402010-07-03 Manuel López-Ibáñez <manu@gcc.gnu.org>
41
42 * c-family/c-common.c (IN_GCC_FRONTEND): Do not undef.
43 Do not include expr.h
44 (vector_mode_valid_p): Move here.
45
119fe915
SB
462010-06-21 DJ Delorie <dj@redhat.com>
47
48 * c-pragma.c (handle_pragma_diagnostic): Add push/pop,
49 allow these pragmas anywhere.
50
512010-06-14 Jakub Jelinek <jakub@redhat.com>
52
53 PR bootstrap/44509
54 * c-cppbuiltin.c: Include gt-c-family-c-cppbuiltin.h.
55 (lazy_hex_fp_values, lazy_hex_fp_value_count): Add GTY(()) markers.
56 (lazy_hex_fp_value, builtin_define_with_hex_fp_value): Use
57 ggc_strdup instead of xstrdup.
58
592010-06-10 Jakub Jelinek <jakub@redhat.com>
60
61 * c-cppbuiltin.c: Include cpp-id-data.h.
62 (lazy_hex_fp_values, lazy_hex_fp_value_count): New variables.
63 (lazy_hex_fp_value): New function.
64 (builtin_define_with_hex_fp_value): Provide definitions lazily.
65
6662d794
MLI
662010-06-30 Manuel López-Ibáñez <manu@gcc.gnu.org>
67
68 * c-gimplify.c: Do not include tree-flow.h
69
38f8b050
JR
702010-06-29 Joern Rennecke <joern.rennecke@embecosm.com>
71
72 PR other/44034
73 * c-common.c: Rename targetm member:
74 targetm.enum_va_list -> targetm.enum_va_list_p
75
9589f23e
AS
762010-06-28 Anatoly Sokolov <aesok@post.ru>
77
78 * c-common.c (shorten_compare): Adjust call to force_fit_type_double.
79
3b06d379
SB
802010-06-28 Steven Bosscher <steven@gcc.gnu.org>
81
82 * c-cppbuiltin.c: Do not include except.h.
83
d166d4c3
AK
842010-06-24 Andi Kleen <ak@linux.intel.com>
85
86 * c-common.c (warn_for_omitted_condop): New.
87 * c-common.h (warn_for_omitted_condop): Add prototype.
88
70cb8be6
JM
892010-06-21 Joseph Myers <joseph@codesourcery.com>
90
91 * c.opt (lang-objc): Remove.
92 * c-opts.c (c_common_handle_option): Don't handle OPT_lang_objc.
93
a4c97feb
JR
942010-06-21 Joern Rennecke <joern.rennecke@embecosm.com>
95
96 * c-opts.c: Include "tm_p.h".
97
6e2f1956
JM
982010-06-20 Joseph Myers <joseph@codesourcery.com>
99
100 * c-common.c (parse_optimize_options): Update call to
101 decode_options.
102
bc87224e
NF
1032010-06-18 Nathan Froyd <froydnj@codesourcery.com>
104
105 * c-common.c (record_types_used_by_current_var_decl): Adjust for
106 new type of types_used_by_cur_var_decl.
107
b49cf425
JR
1082010-06-17 Joern Rennecke <joern.rennecke@embecosm.com>
109
110 PR bootstrap/44512
111 * c-cppbuiltin.c (builtin_define_with_hex_fp_value): Add cast
112 for C++ standard compliance.
113
59f9c2ed
JM
1142010-06-16 Jason Merrill <jason@redhat.com>
115
116 * c.opt: Add -Wnoexcept.
117
33766b66
RG
1182010-06-16 Richard Guenther <rguenther@suse.de>
119
120 PR c/44555
121 * c-common.c (c_common_truthvalue_conversion): Remove
122 premature and wrong optimization concering ADDR_EXPRs.
123
eff7e30c
AC
1242010-06-15 Arnaud Charlet <charlet@adacore.com>
125
126 * c-ada-spec.c (dump_sloc): Remove column info.
127 (is_simple_enum): New function.
128 (dump_generic_ada_node, print_ada_declaration): Map C enum types to Ada
129 enum types when relevant.
130
6312e84d
MLI
1312010-06-11 Manuel López-Ibáñez <manu@gcc.gnu.org>
132
133 * c-common.c (conversion_warning): Warn at expression
134 location.
135
1cb42611
JM
1362010-06-10 Joseph Myers <joseph@codesourcery.com>
137
138 * c-opts.c (c_common_handle_option): Don't handle
139 OPT_fshow_column.
140
a9429e29
LB
1412010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com>
142
143 * c-pragma.c (push_alignment): Use typed GC allocation.
144 (handle_pragma_push_options): Likewise.
145
146 * c-common.c (parse_optimize_options): Likewise.
147
148 * c-common.h (struct sorted_fields_type): Add variable_size GTY
149 option.
150
5498f011
JM
1512010-06-07 Joseph Myers <joseph@codesourcery.com>
152
153 * c-common.c (flag_preprocess_only, flag_undef, flag_no_builtin,
154 flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
155 flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
156 flag_signed_bitfields, warn_strict_null_sentinel,
157 flag_nil_receivers, flag_zero_link, flag_replace_objc_classes,
158 flag_gen_declaration, flag_no_gnu_keywords,
159 flag_implement_inlines, flag_implicit_templates,
160 flag_implicit_inline_templates, flag_optional_diags,
161 flag_elide_constructors, flag_default_inline, flag_rtti,
162 flag_conserve_space, flag_access_control, flag_check_new,
163 flag_new_for_scope, flag_weak, flag_working_directory,
164 flag_use_cxa_atexit, flag_use_cxa_get_exception_ptr,
165 flag_enforce_eh_specs, flag_threadsafe_statics,
166 flag_pretty_templates): Remove.
167 * c-common.h (flag_preprocess_only, flag_nil_receivers,
168 flag_objc_exceptions, flag_objc_sjlj_exceptions, flag_zero_link,
169 flag_replace_objc_classes, flag_undef, flag_no_builtin,
170 flag_no_nonansi_builtin, flag_short_double, flag_short_wchar,
171 flag_lax_vector_conversions, flag_ms_extensions, flag_no_asm,
172 flag_const_strings, flag_signed_bitfields, flag_gen_declaration,
173 flag_no_gnu_keywords, flag_implement_inlines,
174 flag_implicit_templates, flag_implicit_inline_templates,
175 flag_optional_diags, flag_elide_constructors, flag_default_inline,
176 flag_rtti, flag_conserve_space, flag_access_control,
177 flag_check_new, flag_new_for_scope, flag_weak,
178 flag_working_directory, flag_use_cxa_atexit,
179 flag_use_cxa_get_exception_ptr, flag_enforce_eh_specs,
180 flag_threadsafe_statics, flag_pretty_templates,
181 warn_strict_null_sentinel): Remove.
182 * c.opt (E, Wstrict-null-sentinel, faccess-control, fasm,
183 fbuiltin, fcheck-new, fconserve-space, felide-constructors,
184 fenforce-eh-specs, ffor-scope, fgnu-keywords, fimplement-inlines,
185 fimplicit-inline-templates, fimplicit-templates,
186 flax-vector-conversions, fms-extensions, fnil-receivers,
187 fnonansi-builtins, fpretty-templates, freplace-objc-classes,
188 frtti, fshort-double, fshort-enums, fshort-wchar,
189 fsigned-bitfields, fsigned-char, fstats, fthreadsafe-statics,
190 funsigned-bitfields, funsigned-char, fuse-cxa-atexit,
191 fuse-cxa-get-exception-ptr, fweak, fworking-directory, fzero-link,
192 gen-decls, undef): Use Var.
193 (fdefault-inline, foptional-diags): Document as doing nothing.
194 * c-opts.c (c_common_handle_option): Remove cases for options now
195 using Var. Mark ignored options as such.
196
39dabefd
SB
1972010-06-05 Steven Bosscher <steven@gcc.gnu.org>
198
199 * c-common.c: Moved to here from parent directory.
200 * c-common.def: Likewise.
201 * c-common.h: Likewise.
202 * c-cppbuiltin.c: Likewise.
203 * c-dump.c: Likewise.
204 * c-format.c: Likewise.
205 * c-format.h : Likewise.
206 * c-gimplify.c: Likewise.
207 * c-lex.c: Likewise.
208 * c-omp.c: Likewise.
209 * c.opt: Likewise.
210 * c-opts.c: Likewise.
211 * c-pch.c: Likewise.
212 * c-ppoutput.c: Likewise.
213 * c-pragma.c: Likewise.
214 * c-pragma.h: Likewise.
215 * c-pretty-print.c: Likewise.
216 * c-pretty-print.h: Likewise.
217 * c-semantics.c: Likewise.
218 * stub-objc.c: Likewise.
219
220 * c-common.c: Include gt-c-family-c-common.h.
221 * c-pragma.c: Include gt-c-family-c-pragma.h.
222\f
223Copyright (C) 2010 Free Software Foundation, Inc.
224
225Copying and distribution of this file, with or without modification,
226are permitted in any medium without royalty provided the copyright
227notice and this notice are preserved.
This page took 0.123356 seconds and 5 git commands to generate.