OSDN Git Service

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