PR tree-optimization/47005
[official-gcc.git] / gcc / ChangeLog
blobd25e30c1bd13ebeb0354af4d39704a6d43a9d995
1 2011-01-05  Eric Botcazou  <ebotcazou@adacore.com>
3         PR tree-optimization/47005
4         * tree-sra.c (struct access): Add 'non_addressable' bit.
5         (create_access): Set it for a DECL_NONADDRESSABLE_P field.
6         (decide_one_param_reduction): Return 0 if the parameter is passed by
7         reference and one of the accesses in the group is non_addressable.
9 2011-01-04  Eric Botcazou  <ebotcazou@adacore.com>
11         PR tree-optimization/47056
12         * cgraphbuild.c (mark_address): Remove ATTRIBUTE_UNUSED markers.
13         (mark_load): Likewise.  Handle FUNCTION_DECL specially.
14         (mark_store): Likewise.  Pass STMT to ipa_record_reference.
16 2011-01-04  Eric Botcazou  <ebotcazou@adacore.com>
18         * dwarf2out.c (rtl_for_decl_init): Strip no-op conversions off the
19         initializer.  Skip view conversions from aggregate types.
21 2011-01-04  Kai Tietz  <kai.tietz@onevision.com>
23         PR bootstrap/47055
24         * libgcov.c (gcov_exit): Check for HAS_DRIVE_SPEC.
26 2011-01-04  Philipp Thomas <pth@suse.de>
28         * config/microblaze/microbalse.opt (mxl-float-convert): Fix
29         obvious typo.
31 2011-01-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33         * function.c (thread_prologue_and_epilogue_insns): Do not crash
34         on empty epilogue sequences.
36 2011-01-04  Joseph Myers  <joseph@codesourcery.com>
38         * config/vxworks.opt (Bdynamic, Bstatic, Xbind-lazy, Xbind-now,
39         non-static): New Driver options.
41 2011-01-04  Jie Zhang  <jie@codesourcery.com>
43         PR driver/47137
44         * gcc.c (default_compilers[]): Set combinable field to 0
45         for all assembly languages.
47 2011-01-04  Mingjie Xing  <mingjie.xing@gmail.com>
49         * config/mips/loongson3a.md: New file.
50         * config/mips/mips.md: Include loongson3a.md.
51         * config/mips/mips.c (mips_multipass_dfa_lookahead): Return 4 when
52         TUNE_LOONGSON_3A.
54 2011-01-03  Eric Botcazou  <ebotcazou@adacore.com>
56         PR middle-end/47017
57         * expr.c (expand_expr_real_1) <MEM_REF>: Call memory_address_addr_space
58         instead of convert_memory_address_addr_space on the base expression.
60 2011-01-03  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
62         * config/spu/spu.c (spu_option_override): Update error text
63         for bad -march= / -mtune= values.
65 2011-01-03  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
67         * config/spu/spu.c (asm_file_start): Only reset flag_var_tracking
68         if branch-hint optimization will be performed.
70 2011-01-03  Jakub Jelinek  <jakub@redhat.com>
72         PR tree-optimization/47148
73         * ipa-split.c (split_function): Convert arguments to
74         DECL_ARG_TYPE if possible.
76         PR tree-optimization/47155
77         * tree-ssa-ccp.c (bit_value_binop_1): Use r1type instead of type
78         when computing uns.
80         PR rtl-optimization/47157
81         * combine.c (try_combine): If undobuf.other_insn becomes
82         (set (pc) (pc)) jump, call update_cfg_for_uncondjump on it
83         and set *new_direct_jump_p too.
85 2011-01-03  Sebastian Pop  <sebastian.pop@amd.com>
87         PR tree-optimization/47021
88         * graphite-sese-to-poly.c (scan_tree_for_params): Handle ADDR_EXPR.
90 2011-01-03  Jakub Jelinek  <jakub@redhat.com>
92         * gcc.c (process_command): Update copyright notice dates.
93         * gcov.c (print_version): Likewise.
94         * gcov-dump.c (print_version): Likewise.
95         * mips-tfile.c (main): Likewise.
96         * mips-tdump.c (main): Likewise.
98 2011-01-03  Martin Jambor  <mjambor@suse.cz>
100         PR tree-optimization/46801
101         * tree-sra.c (type_internals_preclude_sra_p): Check whether
102         aggregate fields start at byte boundary instead of the bit-field flag.
104 2011-01-03  H.J. Lu  <hongjiu.lu@intel.com>
106         PR driver/47137
107         * gcc.c (main): Revert revision 168407.
109 2011-01-03  Martin Jambor  <mjambor@suse.cz>
111         * lto-cgraph.c (input_cgraph_opt_section): Use the correct section type.
113 2011-01-03  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
115         * tree-vect-generic.c (expand_vector_operations_1): When using vector/
116         vector optab to expand vector/scalar shift, update gimple to vector.
118 2011-01-03  Martin Jambor  <mjambor@suse.cz>
120         * cgraphunit.c (verify_cgraph_node): Verify there is no direct call to
121         a thunk.
123 2011-01-03  Martin Jambor  <mjambor@suse.cz>
125         PR tree-optimization/46984
126         * cgraph.h (cgraph_indirect_call_info): make field thunk_delta
127         HOST_WIDE_INT.
128         (cgraph_create_indirect_edge): Fixed line length.
129         (cgraph_indirect_call_info): Declare.
130         (cgraph_make_edge_direct) Update declaration.
131         * cgraph.c (cgraph_allocate_init_indirect_info): New function.
132         (cgraph_create_indirect_edge): Use it.
133         (cgraph_make_edge_direct): Made delta HOST_WIDE_INT.  Updated all
134         callees.
135         * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Update for
136         the new thunk_delta representation.
137         * ipa-prop.c (ipa_make_edge_direct_to_target): Convert delta to
138         HOST_WIDE_INT.
139         (ipa_write_indirect_edge_info): Remove streaming of thunk_delta.
140         (ipa_read_indirect_edge_info): Likewise.
141         * lto-cgraph.c (output_edge_opt_summary): New function.
142         (output_node_opt_summary): Call it on all outgoing edges.
143         (input_edge_opt_summary): New function.
144         (input_node_opt_summary): Call it on all outgoing edges.
146 2011-01-02  H.J. Lu  <hongjiu.lu@intel.com>
148         PR driver/47137
149         * gcc.c (main): Don't check have_o when settting combine_inputs.
151 2011-01-02  Eric Botcazou  <ebotcazou@adacore.com>
153         * regrename.c: Add general comment describing the pass.
154         (struct du_head): Remove 'length' field.
155         (get_element, merge_sort_comparison, merge, sort_du_head): Remove.
156         (regrename_optimize): Do not sort chains.  Rework comments, add others.
157         Force renaming to the preferred class (if any) in the first pass and do
158         not consider registers that belong to it in the second pass.
159         (create_new_chain): Do not set 'length' field.
160         (scan_rtx_reg): Likewise.
162 2011-01-02  Jakub Jelinek  <jakub@redhat.com>
164         PR tree-optimization/47140
165         * tree-ssa-ccp.c (evaluate_stmt): For binary assignments, use
166         TREE_TYPE (lhs) instead of TREE_TYPE (rhs1) as second argument
167         to bit_value_binop.
169         PR rtl-optimization/47028
170         * cfgexpand.c (gimple_expand_cfg): Insert entry edge insertions after
171         parm_birth_insn instead of at the beginning of first bb.
173 2011-01-02  Mingjie Xing  <mingjie.xing@gmail.com>
175         * doc/generic.texi: Remove duplicated "@subsubsection Statements".
176         Remove the word "see" before "@pxref".
177         * doc/rtl.texi: Remove the word "see" before "@pxref".
179 2011-01-01  Jan Hubicka  <jh@suse.cz>
181         * tree-loop-distribution.c (tree_loop_distribution): Do not use freed
182         memory.
184 2011-01-01  Kai Tietz  <kai.tietz@onevision.com>
186         PR target/38662
187         * tree.c (type_hash_eq): Call language hook for METHOD_TYPEs, too.
190 Copyright (C) 2011 Free Software Foundation, Inc.
192 Copying and distribution of this file, with or without modification,
193 are permitted in any medium without royalty provided the copyright
194 notice and this notice are preserved.