OSDN Git Service

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