* config/rs6000/aix53.h (LIB_SPEC): Add -lpthreads when compiling
[official-gcc.git] / gcc / ChangeLog
blob31c4d857101db24bc0404a525001311335861aa2
1 2013-01-05  David Edelsohn  <dje.gcc@gmail.com>
3         * config/rs6000/aix53.h (LIB_SPEC): Add -lpthreads when compiling
4         to generate profiling.
5         * config/rs6000/aix64.h (LIB_SPEC): Same.
7 2013-01-04  Andrew Pinski  <apinski@cavium.com>
9         * config/aarch64/aarch64.c (aarch64_fixed_condition_code_regs):
10         New function.
11         (TARGET_FIXED_CONDITION_CODE_REGS): Define.
13 2013-01-04  Uros Bizjak  <ubizjak@gmail.com>
15         * config/i386/i386.c (ix86_legitimize_address): Call convert_to_mode
16         unconditionally.
17         (ix86_expand_move): Ditto.
18         (ix86_zero_extend_to_Pmode): Ditto.
19         (ix86_expand_call): Ditto.
20         (ix86_expand_special_args_builtin): Ditto.
21         (ix86_expand_builtin): Ditto.
23 2013-01-04  Richard Biener  <rguenther@suse.de>
25         PR tree-optimization/55862
26         * tree-ssa-pre.c (phi_translate_1): Valueize SSA names after
27         translating them through PHI nodes.
29 2013-01-04  Martin Jambor  <mjambor@suse.cz>
31         PR tree-optimization/55755
32         * tree-sra.c (sra_modify_assign): Do not check that an access has no
33         children when trying to avoid producing a VIEW_CONVERT_EXPR.
35 2013-01-04  Marek Polacek  <polacek@redhat.com>
37         PR middle-end/55859
38         * opts.c (default_options_optimization): Clarify error message.
40 2013-01-04  Richard Biener  <rguenther@suse.de>
42         PR middle-end/55863
43         * fold-const.c (split_tree): Undo -X - 1 to ~X folding for
44         reassociation.
46 2013-01-03  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
48         PR target/53789
49         * config/pa/pa.md (movsi): Revert previous change.
50         * config/pa/pa.c (pa_legitimate_constant_p): Reject all TLS symbol
51         references.
53 2013-01-03  Richard Henderson  <rth@redhat.com>
55         * config/i386/i386.c (ix86_expand_move): Always assign to op1
56         after eliminating TLS symbols.
58 2013-01-03  Marc Glisse  <marc.glisse@inria.fr>
60         PR bootstrap/50167
61         * graphite-interchange.c (pdr_stride_in_loop): Use gmp_fprintf.
62         * graphite-poly.c (debug_gmp_value): Likewise.
64 2013-01-03  Uros Bizjak  <ubizjak@gmail.com>
66         PR target/55712
67         * config/i386/i386-c.c (ix86_target_macros_internal): Depending on
68         selected code model, define __code_mode_small__, __code_model_medium__,
69         __code_model_large__, __code_model_32__ or __code_model_kernel__.
70         * config/i386/cpuid.h (__cpuid, __cpuid_count) [__i386__]: Prefix
71         xchg temporary register with %k.  Declare temporary register as
72         early clobbered.
73         [__x86_64__]: For medium and large code models, preserve %rbx register.
75 2013-01-03  Richard Biener  <rguenther@suse.de>
77         * tree-data-ref.c (dump_conflict_function): Use less vertical spacing.
78         (dump_subscript): Adjust.
79         (finalize_ddr_dependent): Do not dump redundant info.
80         (analyze_siv_subscript): Adjust.
81         (subscript_dependence_tester): Likewise.
82         (compute_affine_dependence): Likewise.
84 2013-01-03  Richard Biener  <rguenther@suse.de>
86         Revert
87         2013-01-03  Richard Biener  <rguenther@suse.de>
89         PR tree-optimization/55857
90         * tree-vect-stmts.c (vectorizable_load): Do not setup
91         re-alignment for invariant loads.
93         2013-01-02  Richard Biener  <rguenther@suse.de>
95         * tree-vect-stmts.c (vectorizable_load): When vectorizing an
96         invariant load do not generate a vector load from the scalar location.
98 2013-01-03  Richard Biener  <rguenther@suse.de>
100         * tree-vect-loop.c (vect_analyze_loop_form): Clarify reason
101         for not vectorizing.
102         * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): Do
103         not build INDIRECT_REFs, call get_name once only.
104         (vect_create_data_ref_ptr): Likewise.  Dump base object kind
105         based on DR_BASE_OBJECT, not DR_BASE_ADDRESS.
107 2013-01-03  Richard Biener  <rguenther@suse.de>
109         PR tree-optimization/55857
110         * tree-vect-stmts.c (vectorizable_load): Do not setup
111         re-alignment for invariant loads.
113 2013-01-03  Richard Biener  <rguenther@suse.de>
115         PR lto/55848
116         * lto-symtab.c (lto_symtab_merge_decls_1): As last resort, always
117         prefer a built-in decl.
119 2013-01-03  Jakub Jelinek  <jakub@redhat.com>
121         * gcc.c (process_command): Update copyright notice dates.
122         * gcov.c (print_version): Likewise.
123         * gcov-dump.c (print_version): Likewise.
125         PR rtl-optimization/55838
126         * loop-iv.c (iv_number_of_iterations): Call lowpart_subreg on
127         iv0.step, iv1.step and step.
129 2013-01-03  Jakub Jelinek  <jakub@redhat.com>
130             Marc Glisse  <marc.glisse@inria.fr>
132         PR tree-optimization/55832
133         * fold-const.c (fold_binary_loc): For ABS_EXPR<x> >= 0 and
134         ABS_EXPR<x> < 0 folding use constant_boolean_node instead of
135         integer_{one,zero}_node.
137 2013-01-03  Jakub Jelinek  <jakub@redhat.com>
139         PR debug/54402
140         * params.def (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE): New param.
141         * var-tracking.c (reverse_op): Don't add reverse ops to
142         VALUEs that have already
143         PARAM_VALUE (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE) or longer locs list.
145 2013-01-02  Gerald Pfeifer  <gerald@pfeifer.com>
147         * doc/contrib.texi: Note years as release manager for Mark Mitchell.
149 2013-01-02  Teresa Johnson  <tejohnson@google.com>
151         * dumpfile.c (dump_loc): Print filename with location.
152         * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Use
153         new location_t parameter to emit complete unroll message with
154         new dump framework.
155         (canonicalize_loop_induction_variables): Compute loops location
156         and pass to try_unroll_loop_completely.
157         * loop-unroll.c (report_unroll_peel): New function.
158         (peel_loops_completely): Use new dump format with location
159         for main dumpfile message, and invoke report_unroll_peel on success.
160         (decide_unrolling_and_peeling): Ditto.
161         (decide_peel_once_rolling): Remove old dumpfile message subsumed
162         by report_unroll_peel.
163         (decide_peel_completely): Ditto.
164         (decide_unroll_constant_iterations): Ditto.
165         (decide_unroll_runtime_iterations): Ditto.
166         (decide_peel_simple): Ditto.
167         (decide_unroll_stupid): Ditto.
168         * cfgloop.c (get_loop_location): New function.
169         * cfgloop.h (get_loop_location): Declare.
171 2013-01-02  Sriraman Tallam  <tmsriram@google.com>
173         * config/i386/i386.c (fold_builtin_cpu): Remove unnecessary checks for
174         NULL.
176 2013-01-02  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
178         PR middle-end/55198
179         * expr.c (expand_expr_real_1): Don't use bitfield extraction for non
180         BLKmode objects when EXPAND_MEMORY is specified.
182 2013-01-02  Sriraman Tallam  <tmsriram@google.com>
184         * config/i386/i386.c (ix86_get_function_versions_dispatcher): Fix bug
185         in loop predicate.
186         (fold_builtin_cpu): Do not share cpu model decls across statements.
188 2013-01-02  Jason Merrill  <jason@redhat.com>
190         PR c++/55804
191         * tree.c (build_array_type_1): Revert earlier change.
193 2013-01-02  Yufeng Zhang  <yufeng.zhang@arm.com>
195         * config/aarch64/aarch64-cores.def: Add entries for "cortex-a53" and
196         "cortex-a57".
197         * config/aarch64/aarch64-tune.md: Re-generate.
199 2013-01-02  Richard Biener  <rguenther@suse.de>
201         * tree-vect-stmts.c (vectorizable_load): When vectorizing an
202         invariant load do not generate a vector load from the scalar location.
204 2013-01-02  Richard Biener  <rguenther@suse.de>
206         PR bootstrap/55784
207         * configure.ac: Add $GMPINC to CFLAGS/CXXFLAGS.
208         * configure: Regenerate.
210 2013-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
212         * builtins.c (expand_builtin_mathfn, expand_builtin_mathfn_2)
213         (expand_builtin_mathfn_ternary, expand_builtin_mathfn_3)
214         (expand_builtin_int_roundingfn_2): Keep the original target around
215         for the fallback case.
217 2013-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
219         * tree-vrp.c (range_fits_type_p): Require the MSB of the double_int
220         to be clear for sign changes.
222 2013-01-01  Jan Hubicka  <jh@suse.cz>
224         * ipa-inline-analysis.c: Fix formatting.
226 2013-01-01  Jakub Jelinek  <jakub@redhat.com>
228         PR tree-optimization/55831
229         * tree-vect-loop.c (get_initial_def_for_induction): Use
230         gsi_after_labels instead of gsi_start_bb.
232 Copyright (C) 2013 Free Software Foundation, Inc.
234 Copying and distribution of this file, with or without modification,
235 are permitted in any medium without royalty provided the copyright
236 notice and this notice are preserved.