OSDN Git Service

f23274bcac4da468a16cec79f2f7b04424236860
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 2011-01-05  Joseph Myers  <joseph@codesourcery.com>
2
3         * config/rtems.opt: New.
4         * config.gcc (*-*-rtems*): Use rtems.opt.
5
6 2011-01-05  Changpeng Fang  <changpeng.fang@amd.com>
7
8         * config/i386/i386.c (ix86_option_override_internal): Bulldozer
9         processors do not support 3DNow instructions.
10
11 2011-01-05  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12
13         * config/spu/spu.c (spu_option_override): Set parameter
14         PARAM_MAX_COMPLETELY_PEEL_TIMES to 4 instead of 1.
15
16 2011-01-05  Jan Hubicka  <jh@suse.cz>
17
18         * lto-wrapper.c (run_gcc): Default to WHOPR mode when none is specified
19         at the command line.
20
21 2011-01-05  Martin Jambor  <mjambor@suse.cz>
22
23         PR lto/47162
24         * lto-cgraph.c (output_cgraph_opt_summary_p): Also check for thunk
25         deltas on streamed outgoing edges.
26         (output_node_opt_summary): Output info for outgoing edges only when
27         the node is in new parameter set.
28         (output_cgraph_opt_summary): New parameter set, passed to the two
29         aforementioned functions.  Update its forward declaration and its
30         callee too.
31
32 2011-01-05  Tom Tromey  <tromey@redhat.com>
33
34         * c-parser.c (c_parser_omp_atomic): Pass location of assignment
35         operator to c_finish_omp_atomic.
36         * c-typeck.c (lvalue_or_else): Add 'loc' argument.
37         (build_unary_op): Update.
38         (build_modify_expr): Update.
39         (build_asm_expr): Update.
40
41 2011-01-05  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42
43         * config/spu/spu.c (emit_nop_for_insn): Set INSN_LOCATOR for
44         newly inserted insns.
45         (pad_bb): Likewise.
46         (spu_emit_branch_hint): Likewise.
47         (insert_hbrp_for_ilb_runout): Likewise.
48         (spu_machine_dependent_reorg): Call df_finish_pass after
49         schedule_insns returns.
50
51 2011-01-05  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
52
53         * config/spu/spu.c (spu_expand_prologue): Support -fstack-usage.
54
55 2011-01-05  Eric Botcazou  <ebotcazou@adacore.com>
56
57         PR tree-optimization/47005
58         * tree-sra.c (struct access): Add 'non_addressable' bit.
59         (create_access): Set it for a DECL_NONADDRESSABLE_P field.
60         (decide_one_param_reduction): Return 0 if the parameter is passed by
61         reference and one of the accesses in the group is non_addressable.
62
63 2011-01-04  Eric Botcazou  <ebotcazou@adacore.com>
64
65         PR tree-optimization/47056
66         * cgraphbuild.c (mark_address): Remove ATTRIBUTE_UNUSED markers.
67         (mark_load): Likewise.  Handle FUNCTION_DECL specially.
68         (mark_store): Likewise.  Pass STMT to ipa_record_reference.
69
70 2011-01-04  Eric Botcazou  <ebotcazou@adacore.com>
71
72         * dwarf2out.c (rtl_for_decl_init): Strip no-op conversions off the
73         initializer.  Skip view conversions from aggregate types.
74
75 2011-01-04  Kai Tietz  <kai.tietz@onevision.com>
76
77         PR bootstrap/47055
78         * libgcov.c (gcov_exit): Check for HAS_DRIVE_SPEC.
79
80 2011-01-04  Philipp Thomas <pth@suse.de>
81
82         * config/microblaze/microbalse.opt (mxl-float-convert): Fix
83         obvious typo.
84
85 2011-01-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
86
87         * function.c (thread_prologue_and_epilogue_insns): Do not crash
88         on empty epilogue sequences.
89
90 2011-01-04  Joseph Myers  <joseph@codesourcery.com>
91
92         * config/vxworks.opt (Bdynamic, Bstatic, Xbind-lazy, Xbind-now,
93         non-static): New Driver options.
94
95 2011-01-04  Jie Zhang  <jie@codesourcery.com>
96
97         PR driver/47137
98         * gcc.c (default_compilers[]): Set combinable field to 0
99         for all assembly languages.
100
101 2011-01-04  Mingjie Xing  <mingjie.xing@gmail.com>
102
103         * config/mips/loongson3a.md: New file.
104         * config/mips/mips.md: Include loongson3a.md.
105         * config/mips/mips.c (mips_multipass_dfa_lookahead): Return 4 when
106         TUNE_LOONGSON_3A.
107
108 2011-01-03  Eric Botcazou  <ebotcazou@adacore.com>
109
110         PR middle-end/47017
111         * expr.c (expand_expr_real_1) <MEM_REF>: Call memory_address_addr_space
112         instead of convert_memory_address_addr_space on the base expression.
113
114 2011-01-03  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
115
116         * config/spu/spu.c (spu_option_override): Update error text
117         for bad -march= / -mtune= values.
118
119 2011-01-03  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
120
121         * config/spu/spu.c (asm_file_start): Only reset flag_var_tracking
122         if branch-hint optimization will be performed.
123
124 2011-01-03  Jakub Jelinek  <jakub@redhat.com>
125
126         PR tree-optimization/47148
127         * ipa-split.c (split_function): Convert arguments to
128         DECL_ARG_TYPE if possible.
129
130         PR tree-optimization/47155
131         * tree-ssa-ccp.c (bit_value_binop_1): Use r1type instead of type
132         when computing uns.
133
134         PR rtl-optimization/47157
135         * combine.c (try_combine): If undobuf.other_insn becomes
136         (set (pc) (pc)) jump, call update_cfg_for_uncondjump on it
137         and set *new_direct_jump_p too.
138
139 2011-01-03  Sebastian Pop  <sebastian.pop@amd.com>
140
141         PR tree-optimization/47021
142         * graphite-sese-to-poly.c (scan_tree_for_params): Handle ADDR_EXPR.
143
144 2011-01-03  Jakub Jelinek  <jakub@redhat.com>
145
146         * gcc.c (process_command): Update copyright notice dates.
147         * gcov.c (print_version): Likewise.
148         * gcov-dump.c (print_version): Likewise.
149         * mips-tfile.c (main): Likewise.
150         * mips-tdump.c (main): Likewise.
151
152 2011-01-03  Martin Jambor  <mjambor@suse.cz>
153
154         PR tree-optimization/46801
155         * tree-sra.c (type_internals_preclude_sra_p): Check whether
156         aggregate fields start at byte boundary instead of the bit-field flag.
157
158 2011-01-03  H.J. Lu  <hongjiu.lu@intel.com>
159
160         PR driver/47137
161         * gcc.c (main): Revert revision 168407.
162
163 2011-01-03  Martin Jambor  <mjambor@suse.cz>
164
165         * lto-cgraph.c (input_cgraph_opt_section): Use the correct section type.
166
167 2011-01-03  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
168
169         * tree-vect-generic.c (expand_vector_operations_1): When using vector/
170         vector optab to expand vector/scalar shift, update gimple to vector.
171
172 2011-01-03  Martin Jambor  <mjambor@suse.cz>
173
174         * cgraphunit.c (verify_cgraph_node): Verify there is no direct call to
175         a thunk.
176
177 2011-01-03  Martin Jambor  <mjambor@suse.cz>
178
179         PR tree-optimization/46984
180         * cgraph.h (cgraph_indirect_call_info): make field thunk_delta
181         HOST_WIDE_INT.
182         (cgraph_create_indirect_edge): Fixed line length.
183         (cgraph_indirect_call_info): Declare.
184         (cgraph_make_edge_direct) Update declaration.
185         * cgraph.c (cgraph_allocate_init_indirect_info): New function.
186         (cgraph_create_indirect_edge): Use it.
187         (cgraph_make_edge_direct): Made delta HOST_WIDE_INT.  Updated all
188         callees.
189         * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Update for
190         the new thunk_delta representation.
191         * ipa-prop.c (ipa_make_edge_direct_to_target): Convert delta to
192         HOST_WIDE_INT.
193         (ipa_write_indirect_edge_info): Remove streaming of thunk_delta.
194         (ipa_read_indirect_edge_info): Likewise.
195         * lto-cgraph.c (output_edge_opt_summary): New function.
196         (output_node_opt_summary): Call it on all outgoing edges.
197         (input_edge_opt_summary): New function.
198         (input_node_opt_summary): Call it on all outgoing edges.
199
200 2011-01-02  H.J. Lu  <hongjiu.lu@intel.com>
201
202         PR driver/47137
203         * gcc.c (main): Don't check have_o when settting combine_inputs.
204
205 2011-01-02  Eric Botcazou  <ebotcazou@adacore.com>
206
207         * regrename.c: Add general comment describing the pass.
208         (struct du_head): Remove 'length' field.
209         (get_element, merge_sort_comparison, merge, sort_du_head): Remove.
210         (regrename_optimize): Do not sort chains.  Rework comments, add others.
211         Force renaming to the preferred class (if any) in the first pass and do
212         not consider registers that belong to it in the second pass.
213         (create_new_chain): Do not set 'length' field.
214         (scan_rtx_reg): Likewise.
215
216 2011-01-02  Jakub Jelinek  <jakub@redhat.com>
217
218         PR tree-optimization/47140
219         * tree-ssa-ccp.c (evaluate_stmt): For binary assignments, use
220         TREE_TYPE (lhs) instead of TREE_TYPE (rhs1) as second argument
221         to bit_value_binop.
222
223         PR rtl-optimization/47028
224         * cfgexpand.c (gimple_expand_cfg): Insert entry edge insertions after
225         parm_birth_insn instead of at the beginning of first bb.
226
227 2011-01-02  Mingjie Xing  <mingjie.xing@gmail.com>
228
229         * doc/generic.texi: Remove duplicated "@subsubsection Statements".
230         Remove the word "see" before "@pxref".
231         * doc/rtl.texi: Remove the word "see" before "@pxref".
232
233 2011-01-01  Jan Hubicka  <jh@suse.cz>
234
235         * tree-loop-distribution.c (tree_loop_distribution): Do not use freed
236         memory.
237
238 2011-01-01  Kai Tietz  <kai.tietz@onevision.com>
239
240         PR target/38662
241         * tree.c (type_hash_eq): Call language hook for METHOD_TYPEs, too.
242
243 \f
244 Copyright (C) 2011 Free Software Foundation, Inc.
245
246 Copying and distribution of this file, with or without modification,
247 are permitted in any medium without royalty provided the copyright
248 notice and this notice are preserved.