]>
Commit | Line | Data |
---|---|---|
1a0ad150 AK |
1 | 2013-04-22 Andi Kleen <ak@linux.intel.com> |
2 | ||
3 | * lto/lto.c (print_lto_report_1): Declare early. | |
4 | (read_cgraph_and_symbols): Call print_lto_report_1 early. | |
5 | ||
057f8f20 AK |
6 | 2013-04-22 Andi Kleen <ak@linux.intel.com> |
7 | ||
8 | * common.opt (-flto-report-wpa): Add. | |
9 | * doc/invoke.texi (-flto-report-wpa): Add. | |
10 | * lto/lto.c (do_whole_program_analysis): Check for lto-report-wpa. | |
11 | (lto_main): dito. | |
12 | ||
473b1e05 XDL |
13 | 2013-04-22 Xinliang David Li <davidxl@google.com> |
14 | ||
15 | * graph.c (draw_cfg_node_succ_edges): Add branch probility as label. | |
16 | * cfghhooks.c (dump_bb_for_graph): Dump profile count and frquency. | |
17 | * Makefile.in: New dependency | |
18 | ||
b1485a33 CM |
19 | 2013-04-22 Catherine Moore <clm@codesourcery.com> |
20 | David Daney <ddaney.cavm@gmail.com> | |
21 | ||
22 | * configure.ac (gcc_cv_as_micromips_support): Use the | |
23 | --fatal-warnings option. | |
24 | * configure: Regenerate. | |
25 | ||
829d0168 MP |
26 | 2013-04-22 Marek Polacek <polacek@redhat.com> |
27 | ||
28 | PR sanitizer/56990 | |
29 | * tsan.c (instrument_expr): Don't instrument expression | |
30 | in case its size is zero. | |
31 | ||
6d9b7208 UB |
32 | 2013-04-22 Uros Bizjak <ubizjak@gmail.com> |
33 | ||
34 | PR target/57032 | |
35 | Revert: | |
36 | 2013-03-17 Uros Bizjak <ubizjak@gmail.com> | |
37 | ||
38 | * config/alpha/alpha.c (TARGET_LRA_P): New define. | |
39 | ||
ea679d55 JG |
40 | 2013-04-22 James Greenhalgh <james.greenhalgh@arm.com> |
41 | ||
42 | * coretypes.h (gimple_stmt_iterator_d): Forward declare. | |
43 | (gimple_stmt_iterator): New typedef. | |
44 | * gimple.h (gimple_stmt_iterator): Rename to... | |
45 | (gimple_stmt_iterator_d): ... This. | |
46 | * doc/tm.texi.in (TARGET_FOLD_BUILTIN): Detail restriction that | |
47 | trees be valid for GIMPLE and GENERIC. | |
48 | (TARGET_GIMPLE_FOLD_BUILTIN): New. | |
49 | * gimple-fold.c (gimple_fold_call): Call target hook | |
50 | gimple_fold_builtin. | |
51 | * hooks.c (hook_bool_gsiptr_false): New. | |
52 | * hooks.h (hook_bool_gsiptr_false): New. | |
53 | * target.def (fold_stmt): New. | |
54 | * doc/tm.texi: Regenerate. | |
55 | ||
88a581da VM |
56 | 2013-04-22 Vladimir Makarov <vmakarov@redhat.com> |
57 | ||
58 | PR target/57018 | |
59 | * lra-eliminations.c (mark_not_eliminable): Prevent elimination of | |
60 | a set sp if no stack realignment. | |
61 | ||
92be22dc NC |
62 | 2013-04-22 Nick Clifton <nickc@redhat.com> |
63 | ||
64 | * config.gcc (tilegx-linux): Extend extra_objs rather than | |
65 | overwriting it. | |
66 | (tilepro-linux): Likewise. | |
67 | ||
0ddec79f JG |
68 | 2013-04-22 James Greenhalgh <james.greenhalgh@arm.com> |
69 | ||
70 | * config/aarch64/aarch64-builtins.c | |
71 | (CF): Remove. | |
72 | (CF0, CF1, CF2, CF3, CF4, CF10): New. | |
73 | (VAR<1-12>): Add MAP parameter. | |
74 | (BUILTIN_*): Likewise. | |
75 | * config/aarch64/aarch64-simd-builtins.def: Set MAP parameter. | |
76 | * config/aarch64/aarch64-simd.md (aarch64_sshl_n<mode>): Remove. | |
77 | (aarch64_ushl_n<mode>): Likewise. | |
78 | (aarch64_sshr_n<mode>): Likewise. | |
79 | (aarch64_ushr_n<mode>): Likewise. | |
80 | (aarch64_<maxmin><mode>): Likewise. | |
81 | (aarch64_sqrt<mode>): Likewise. | |
82 | * config/aarch64/arm_neon.h (vshl<q>_n_*): Use new builtin names. | |
83 | (vshr<q>_n_*): Likewise. | |
84 | ||
0050faf8 JG |
85 | 2013-04-22 James Greenhalgh <james.greenhalgh@arm.com> |
86 | ||
87 | * config/aarch64/aarch64-builtins.c | |
88 | (aarch64_simd_builtin_type_mode): Handle SF types. | |
89 | (sf_UP): Define. | |
90 | (BUILTIN_GPF): Define. | |
91 | (aarch64_init_simd_builtins): Handle SF types. | |
92 | * config/aarch64/aarch64-simd-builtins.def (frecpe): Add support. | |
93 | (frecps): Likewise. | |
94 | (frecpx): Likewise. | |
95 | * config/aarch64/aarch64-simd.md | |
96 | (simd_types): Update simd_frcp<esx> to simd_frecp<esx>. | |
97 | (aarch64_frecpe<mode>): New. | |
98 | (aarch64_frecps<mode>): Likewise. | |
99 | * config/aarch64/aarch64.md (unspec): Add UNSPEC_FRECP<ESX>. | |
100 | (v8type): Add frecp<esx>. | |
101 | (aarch64_frecp<FRECP:frecp_suffix><mode>): New. | |
102 | (aarch64_frecps<mode>): Likewise. | |
103 | * config/aarch64/iterators.md (FRECP): New. | |
104 | (frecp_suffix): Likewise. | |
105 | * config/aarch64/arm_neon.h | |
106 | (vrecp<esx><qsd>_<fd><32, 64>): Convert to using builtins. | |
107 | ||
0fad3dbc | 108 | 2013-04-22 Christian Bruel <christian.bruel@st.com> |
1818d01c CB |
109 | |
110 | PR target/56995 | |
111 | * config/sh/sh.h (enum reg_class): Remove DF_HI_REGS. | |
112 | (REG_CLASS_NAMES): Idem. | |
113 | (REG_CLASS_CONTENTS): Idem. | |
114 | (REGCLASS_HAS_FP_REG): Idem. | |
115 | * config/sh/sh.c (sh_cannot_change_mode_class): Idem. | |
116 | (sh_conditional_register_usage): Idem. | |
117 | ||
3e8a33f9 JL |
118 | 2013-04-21 Jeff Law <law@redhat.com> |
119 | ||
120 | * tree-ssa-forwprop.c (simplify_conversion_from_bitmask): New function. | |
121 | (ssa_forward_propagate_and_combine): Use it. | |
122 | ||
f38e1b0a VM |
123 | 2013-04-19 Vladimir Makarov <vmakarov@redhat.com> |
124 | ||
125 | * lra.c: Update the flow chart diagram. | |
126 | ||
682303da VM |
127 | 2013-04-19 Vladimir Makarov <vmakarov@redhat.com> |
128 | ||
129 | PR rtl-optimization/56847 | |
130 | * lra-constraints.c (process_alt_operands): Discourage alternative | |
131 | with non-matche doffsettable memory constraint fro memory with | |
132 | known offset. | |
133 | ||
f6b64c35 RB |
134 | 2013-04-19 Richard Biener <rguenther@suse.de> |
135 | ||
136 | PR tree-optimization/56982 | |
137 | * builtins.def (BUILT_IN_LONGJMP): longjmp is not a leaf | |
138 | function. | |
139 | * gimplify.c (gimplify_call_expr): Notice special calls. | |
140 | (gimplify_modify_expr): Likewise. | |
141 | * tree-cfg.c (make_abnormal_goto_edges): Handle setjmp-like | |
142 | abnormal control flow receivers. | |
143 | (call_can_make_abnormal_goto): Handle cfun->calls_setjmp | |
144 | in the same way as cfun->has_nonlocal_labels. | |
145 | (gimple_purge_dead_abnormal_call_edges): Likewise. | |
146 | (stmt_starts_bb_p): Make setjmp-like abnormal control flow | |
147 | receivers start a basic-block. | |
148 | ||
01d8bf07 RB |
149 | 2013-04-19 Richard Biener <rguenther@suse.de> |
150 | ||
151 | * tree-vectorizer.h (struct _slp_instance): Move load_permutation | |
152 | member ... | |
153 | (struct _slp_tree): ... here. Make it a vector of unsigned ints. | |
154 | (SLP_INSTANCE_LOAD_PERMUTATION): Remove. | |
155 | (SLP_TREE_LOAD_PERMUTATION): Add. | |
156 | (vect_transform_slp_perm_load): Adjust prototype. | |
157 | * tree-vect-slp.c (vect_free_slp_tree): Adjust. | |
158 | (vect_free_slp_instance): Likewise. | |
159 | (vect_create_new_slp_node): Likewise. | |
160 | (vect_supported_slp_permutation_p): Remove. | |
161 | (vect_slp_rearrange_stmts): Adjust. | |
162 | (vect_supported_load_permutation_p): Likewise. Inline | |
163 | vect_supported_slp_permutation_p here. | |
164 | (vect_analyze_slp_instance): Compute load permutations per | |
165 | slp node instead of per instance. | |
166 | (vect_get_slp_defs): Adjust. | |
167 | (vect_transform_slp_perm_load): Likewise. | |
168 | (vect_schedule_slp_instance): Remove redundant code. | |
169 | (vect_schedule_slp): Remove hack for PR56270, add it ... | |
170 | * tree-vect-stmts.c (vectorizable_load): ... here, do not | |
171 | CSE loads for SLP. Adjust. | |
172 | ||
ede22fc3 GY |
173 | 2013-04-19 Greta Yorsh <Greta.Yorsh@arm.com> |
174 | ||
175 | * config/arm/arm.c (load_multiple_sequence, ldm_stm_operation_p): Fix | |
176 | spelling in two comments. | |
177 | ||
67bc84fb GY |
178 | 2013-04-19 Greta Yorsh <Greta.Yorsh@arm.com> |
179 | ||
180 | PR target/56797 | |
181 | * config/arm/arm.c (load_multiple_sequence): Require SP | |
182 | as base register for loads if SP is in the register list. | |
183 | ||
e248d83f MJ |
184 | 2013-04-19 Martin Jambor <mjambor@suse.cz> |
185 | ||
186 | PR tree-optimization/56718 | |
187 | * ipa-cp.c (ipa_value_from_known_type_jfunc): Moved... | |
188 | * ipa-prop.c (ipa_binfo_from_known_type_jfunc): ...here, renamed | |
189 | and made public. Adjusted all callers. | |
190 | (ipa_intraprocedural_devirtualization): New function. | |
191 | * ipa-prop.h (ipa_binfo_from_known_type_jfunc): Declare. | |
192 | (ipa_intraprocedural_devirtualization): Likewise. | |
193 | * Makefile.in (tree-ssa-pre.o): Add ipa-prop.h to dependencies. | |
194 | ||
4891e8f8 RB |
195 | 2013-04-19 Richard Biener <rguenther@suse.de> |
196 | ||
197 | PR tree-optimization/57000 | |
198 | * tree-ssa-reassoc.c (pass_reassoc): Add TODO_update_ssa_only_virtuals. | |
199 | ||
dad89f7c TG |
200 | 2013-04-19 Terry Guo <terry.guo@arm.com> |
201 | ||
202 | * config/arm/cortex-m4-fpu.md (cortex_m4_v): Delete cpu unit. | |
203 | Replace with ... | |
204 | (cortex_m4_v_a, cortex_m4_v_b): ... new cpu units. | |
205 | (cortex_m4_v, cortex_m4_exa_va, cortex_m4_exb_vb): New reservations. | |
206 | (cortex_m4_fmacs): Use new reservations. | |
207 | (cortex_m4_f_load, cortex_m4_f_store): Likewise. | |
208 | ||
72ea0d47 VM |
209 | 2013-04-18 Vladimir Makarov <vmakarov@redhat.com> |
210 | ||
f1e6512c | 211 | PR rtl-optimization/56999 |
72ea0d47 VM |
212 | * lra-coalesce.c (coalescable_pseudo_p): Remove 2nd parameter and |
213 | related code. | |
214 | (lra_coalesce): Remove split_origin_bitmap and related code. | |
215 | * lra.c (lra): Coalesce after undoing inheritance. Recreate live | |
216 | ranges if necessary. | |
217 | ||
780a5b71 UB |
218 | 2013-04-18 Uros Bizjak <ubizjak@gmail.com> |
219 | ||
220 | * config/i386/i386.c (x86_64_ms_sysv_extra_clobbered_registers): | |
221 | New array. | |
222 | (ix86_expand_call): Remove clobbered_registers array and use | |
223 | x86_64_ms_sysv_extra_clobbered_registers instead. | |
224 | * config/i386/i386.h (x86_64_ms_sysv_extra_clobbered_registers): | |
225 | Declare here. | |
226 | * config/i386/predicates.md (call_rex64_ms_sysv_operation): New | |
227 | predicate. | |
228 | * config/i386/i386.md (*call_rex64_ms_sysv): Use | |
229 | call_rex64_ms_sysv_operation predicate. Remove explicit clobbers. | |
230 | (*call_value_rex64_ms_sysv): Ditto. | |
231 | ||
6f5a366a CC |
232 | 2013-04-18 Cary Coutant <ccoutant@google.com> |
233 | ||
234 | * dwarf2out.c (output_pubnames): Check die_perennial_p of | |
235 | parent instead of die_mark. | |
236 | ||
475b8f37 DN |
237 | 2013-04-18 Diego Novillo <dnovillo@google.com> |
238 | ||
239 | * gimple.c (create_gimple_tmp): New. | |
240 | (get_expr_type): New. | |
241 | (build_assign): New. | |
242 | (build_type_cast): New. | |
243 | * gimple.h (enum ssa_mode): Define. | |
244 | (gimple_seq_set_location): New. | |
245 | * asan.c (build_check_stmt): Change some gimple_build_* calls | |
780a5b71 | 246 | to use build_assign and build_type_cast. |
475b8f37 | 247 | |
08940f33 RB |
248 | 2013-04-18 Richard Biener <rguenther@suse.de> |
249 | ||
250 | * tree-vect-data-refs.c (vect_analyze_group_access): Properly | |
251 | handle negative step. Remove redundant checks. | |
252 | (vect_create_data_ref_ptr): Avoid ICEs with non-constant steps. | |
253 | * tree-vect-stmts.c (vectorizable_load): Instead of asserting | |
254 | for negative step and grouped loads fail to vectorize. | |
255 | ||
0e0f87d4 SB |
256 | 2013-04-18 Steven Bosscher <steven@gcc.gnu.org> |
257 | ||
258 | * emit-rtl.c (reset_insn_used_flags): New function. | |
259 | (reset_all_used_flags): Use it. | |
260 | (verify_insn_sharing): New function. | |
261 | (verify_rtl_sharing): Fix verification for SEQUENCEs. | |
262 | ||
4c445590 JJ |
263 | 2013-04-18 Jakub Jelinek <jakub@redhat.com> |
264 | ||
265 | PR tree-optimization/56984 | |
266 | * tree-vrp.c (register_edge_assert_for_2): For (x >> M) < N | |
267 | and (x >> M) >= N don't register any assertion if N << M is the | |
268 | minimum value. | |
269 | ||
6873ecab SB |
270 | 2013-04-18 Steven Bosscher <steven@gcc.gnu.org> |
271 | ||
272 | * lower-subreg.c (resolve_simple_move): If called self-recursive, | |
273 | do not delete_insn insns that have not yet been emitted, only | |
274 | unlink them with remove_insn. | |
275 | * df-scan.c (df_insn_delete): Revert r197492. | |
276 | ||
3ccb989e SB |
277 | 2013-04-17 Steven Bosscher <steven@gcc.gnu.org> |
278 | ||
279 | * emit-rtl.c (link_insn_into_chain): Handle chaining of SEQUENCEs. | |
280 | * reorg.c (emit_delay_sequence): Simplify with emit-rtl API. | |
281 | ||
282 | 2013-04-17 Greta Yorsh <Greta.Yorsh@arm.com> | |
0480fff0 GY |
283 | |
284 | * config/arm/arm.md (movsicc_insn): Convert define_insn into | |
285 | define_insn_and_split. | |
286 | (and_scc,ior_scc,negscc): Likewise. | |
287 | (cmpsi2_addneg, subsi3_compare): Convert to named patterns. | |
288 | ||
3ccb989e | 289 | 2013-04-17 Greta Yorsh <Greta.Yorsh@arm.com> |
367075fe GY |
290 | |
291 | * config/arm/arm.c (use_return_insn): Return 0 for targets that | |
292 | can benefit from using a sequence of LDRD instructions in epilogue | |
293 | instead of a single LDM instruction. | |
294 | ||
6d10a203 MLI |
295 | 2013-04-17 Manuel López-Ibáñez <manu@gcc.gnu.org> |
296 | ||
297 | PR 45688 | |
298 | * doc/extend.texi: Fix typo. | |
299 | ||
6983e6b5 RB |
300 | 2013-04-17 Richard Biener <rguenther@suse.de> |
301 | ||
302 | * tree-vect-slp.c (vect_build_slp_tree_1): Split out from ... | |
303 | (vect_build_slp_tree): ... here. | |
304 | (vect_build_slp_tree_1): Compute which stmts of the SLP group | |
305 | match. Remove special-casing of mismatched complex loads. | |
306 | (vect_build_slp_tree): Based on the result from vect_build_slp_tree_1 | |
307 | re-try the match with swapped commutative operands. | |
308 | (vect_supported_load_permutation_p): Remove special-casing of | |
309 | mismatched complex loads. | |
310 | (vect_analyze_slp_instance): Adjust. | |
311 | ||
ef23e6a2 RB |
312 | 2013-04-17 Richard Biener <rguenther@suse.de> |
313 | ||
314 | PR rtl-optimization/56921 | |
315 | * cfgloop.h (struct loop): Add simple_loop_desc member. | |
316 | (struct niter_desc): Mark with GTY(()). | |
317 | (simple_loop_desc): Do not use aux field but simple_loop_desc. | |
318 | * loop-iv.c (get_simple_loop_desc): Likewise. | |
319 | (free_simple_loop_desc): Likewise. | |
320 | ||
321 | Revert | |
322 | 2013-04-16 Richard Biener <rguenther@suse.de> | |
323 | ||
324 | PR rtl-optimization/56921 | |
325 | * loop-init.c (pass_rtl_move_loop_invariants): Add | |
326 | TODO_do_not_ggc_collect to todo_flags_finish. | |
327 | (pass_rtl_unswitch): Same. | |
328 | (pass_rtl_unroll_and_peel_loops): Same. | |
329 | (pass_rtl_doloop): Same. | |
330 | ||
fc6f94f5 EB |
331 | 2013-04-17 Eric Botcazou <ebotcazou@adacore.com> |
332 | ||
333 | * tree-ssa-alias.c (nonoverlapping_component_refs_of_decl_p): New. | |
334 | (decl_refs_may_alias_p): Add REF1 and REF2 parameters. | |
335 | Use nonoverlapping_component_refs_of_decl_p to disambiguate component | |
336 | references. | |
337 | (refs_may_alias_p_1): Adjust call to decl_refs_may_alias_p. | |
338 | * tree-streamer.c (record_common_node): Adjust reference in comment. | |
339 | ||
10a88311 TG |
340 | 2013-04-17 Terry Guo <terry.guo@arm.com> |
341 | ||
342 | * config/arm/cortex-m4.md: Add a new bypass. | |
343 | ||
6d9b7208 | 344 | 2013-04-16 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
f3d096b0 N |
345 | |
346 | * config/aarch64/aarch64.md (*adds_<optab><mode>_multp2): | |
347 | New pattern. | |
348 | (*subs_<optab><mode>_multp2): New pattern. | |
349 | (*adds_<optab><ALLX:mode>_<GPI:mode>): New pattern. | |
350 | (*subs_<optab><ALLX:mode>_<GPI:mode>): New pattern. | |
351 | ||
6d9b7208 | 352 | 2013-04-16 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
860ad33f N |
353 | |
354 | * config/aarch64/aarch64.md (*adds_mul_imm_<mode>): New pattern. | |
355 | (*subs_mul_imm_<mode>): New pattern. | |
356 | ||
18a6701e DE |
357 | 2013-04-16 David Edelsohn <dje.gcc@gmail.com> |
358 | ||
359 | PR target/56948 | |
360 | * config/rs6000/vsx.md (vsx_mov<mode>): Add j->r alternative. | |
361 | (vsx_movti_64bit): Change j->wa to O->wa. Add n->r alternative. | |
362 | (vsx_movti_32bit): Change j->wa to O->wa. | |
363 | ||
07c37b2f RB |
364 | 2013-04-16 Richard Biener <rguenther@suse.de> |
365 | ||
366 | PR rtl-optimization/56921 | |
367 | * loop-init.c (pass_rtl_move_loop_invariants): Add | |
368 | TODO_do_not_ggc_collect to todo_flags_finish. | |
369 | (pass_rtl_unswitch): Same. | |
370 | (pass_rtl_unroll_and_peel_loops): Same. | |
371 | (pass_rtl_doloop): Same. | |
372 | ||
0e0f87d4 | 373 | 2013-04-16 Greta Yorsh <Greta.Yorsh@arm.com> |
974ba22d GY |
374 | |
375 | * config/arm/arm.c (emit_multi_reg_push): New declaration | |
376 | for an existing function. | |
377 | (arm_emit_strd_push): New function. | |
378 | (arm_expand_prologue): Used here. | |
379 | (arm_emit_ldrd_pop): New function. | |
380 | (arm_expand_epilogue): Used here. | |
381 | (arm_get_frame_offsets): Update condition. | |
382 | (arm_emit_multi_reg_pop): Add a special case for load of a single | |
383 | register with writeback. | |
384 | ||
5e8e2af4 UB |
385 | 2013-04-16 Uros Bizjak <ubizjak@gmail.com> |
386 | ||
387 | * doc/invoke.texi (i386 Option): Reword -mstack-protector-guard | |
388 | description. | |
389 | ||
9fd9ccf7 RB |
390 | 2013-04-16 Richard Biener <rguenther@suse.de> |
391 | ||
392 | PR tree-optimization/56756 | |
393 | * tree-ssa-loop-im.c (struct first_mem_ref_loc_1): New functor. | |
394 | (first_mem_ref_loc): New. | |
395 | (execute_sm): Place the load temporarily before a previous | |
396 | access instead of in the latch edge to ensure its SSA dependencies | |
397 | are defined at points dominating the load. | |
398 | ||
96fba521 SB |
399 | 2013-04-16 Steven Bosscher <steven@gcc.gnu.org> |
400 | ||
4c8af858 SB |
401 | * cfgrtl.c (cfg_layout_merge_blocks): Revert r184005, implement |
402 | correct fix by moving header and footer insn to the footer of | |
403 | the merged basic block. Clear BB_END of the merged-away block. | |
404 | ||
96fba521 SB |
405 | PR middle-end/43631 |
406 | * emit-rtl.c (make_note_raw): New function. | |
407 | (link_insn_into_chain): New static inline function. | |
408 | (add_insn): Use it. | |
409 | (add_insn_before, add_insn_after): Factor insn chain linking code... | |
410 | (add_insn_before_nobb, add_insn_after_nobb): ...here, new functions | |
411 | using link_insn_into_chain. | |
412 | (note_outside_basic_block_p): New helper function for emit_note_after | |
413 | and emit_note_before. | |
414 | (emit_note_after): Use nobb variant of add_insn_after if the note | |
415 | should not be contained in a basic block. | |
416 | (emit_note_before): Use nobb variant of add_insn_before if the note | |
417 | should not be contained in a basic block. | |
418 | (emit_note_copy): Use make_note_raw. | |
419 | (emit_note): Likewise. | |
420 | * bb-reorder.c (insert_section_boundary_note): Remove hack to set | |
421 | BLOCK_FOR_INSN to NULL manually for NOTE_INSN_SWITCH_TEXT_SECTIONS. | |
422 | * jump.c (cleanup_barriers): Use reorder_insns_nobb to avoid making | |
423 | the moved barrier the tail of the basic block it follows. | |
424 | * var-tracking.c (pass_variable_tracking): Add TODO_verify_flow. | |
425 | ||
7b8265ba JJ |
426 | 2013-04-15 Jakub Jelinek <jakub@redhat.com> |
427 | ||
428 | PR tree-optimization/56962 | |
429 | * gimple-ssa-strength-reduction.c (record_increment): Only set | |
430 | initializer if gimple_assign_rhs_code is {,POINTER_}PLUS_EXPR and | |
431 | either rhs1 or rhs2 is equal to c->base_expr. | |
432 | ||
5185d248 RB |
433 | 2013-04-15 Richard Biener <rguenther@suse.de> |
434 | ||
435 | PR tree-optimization/56933 | |
436 | * tree-vectorizer.h (struct _stmt_vec_info): Remove read_write_dep | |
437 | member. | |
438 | (GROUP_READ_WRITE_DEPENDENCE): Remove. | |
439 | (STMT_VINFO_GROUP_READ_WRITE_DEPENDENCE): Likewise. | |
440 | * tree-vect-data-refs.c (vect_analyze_group_access): Move | |
441 | dependence check ... | |
442 | vect_analyze_data_ref_dependence (vect_analyze_data_ref_dependence): | |
443 | ... here. | |
444 | * tree-vect-stmts.c (new_stmt_vec_info): Do not initialize | |
445 | GROUP_READ_WRITE_DEPENDENCE. | |
446 | ||
a24243a0 AK |
447 | 2013-04-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
448 | ||
449 | * emit-rtl.c (reset_all_used_flags): New function. | |
450 | (verify_rtl_sharing): Call reset_all_used_flags before and after | |
451 | performing the checks. | |
452 | ||
1c50eada KT |
453 | 2013-04-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
454 | ||
455 | * config/arm/arm.c (const_ok_for_dimode_op): Handle AND case. | |
456 | * config/arm/arm.md (*anddi3_insn): Change to insn_and_split. | |
457 | * config/arm/constraints.md (De): New constraint. | |
458 | * config/arm/neon.md (anddi3_neon): Delete. | |
459 | (neon_vand<mode>): Expand to standard anddi3 pattern. | |
460 | * config/arm/predicates.md (imm_for_neon_inv_logic_operand): | |
461 | Move earlier in the file. | |
462 | (neon_inv_logic_op2): Likewise. | |
463 | (arm_anddi_operand_neon): New predicate. | |
464 | ||
e927b6ad RO |
465 | 2013-04-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
466 | ||
467 | * configure.ac (gcc_cv_ld_as_needed): Set | |
468 | gcc_cv_ld_as_needed_option, gcc_cv_no_as_needed_option. | |
469 | Use -z ignore, -z record on *-*-solaris2*. | |
470 | (HAVE_LD_AS_NEEDED): Update comment. | |
471 | (LD_AS_NEEDED_OPTION, LD_NO_AS_NEEDED_OPTION): Define. | |
472 | * configure: Regenerate. | |
473 | * config.in: Regenerate. | |
474 | * gcc.c (init_gcc_specs) [USE_LD_AS_NEEDED]: Use | |
475 | LD_AS_NEEDED_OPTION, LD_NO_AS_NEEDED_OPTION. | |
476 | * config/sol2.h [HAVE_LD_AS_NEEDED] (USE_LD_AS_NEEDED): Define. | |
477 | * doc/tm.texi.in (USE_LD_AS_NEEDED): Allow for --as-needed | |
478 | equivalents. Fix markup. | |
479 | * doc/tm.texi: Regenerate. | |
480 | ||
e0ea8797 AH |
481 | 2013-04-15 Andrew Hsieh <andrewhsieh.google.com> |
482 | ||
483 | * config/i386/i386.opt: New option mstack-protector-guard=. | |
484 | * config/i386/i386-opts.h: Add enum stack_protector_guard. | |
485 | * config/i386/i386.h: Define TARGET_SSP_GLOBAL_GUARD and | |
486 | TARGET_SSP_TLS_GUARD. | |
487 | * config/i386/i386.c (ix86_option_override_internal): Set | |
488 | ix86_stack_protector_guard. | |
489 | * config/i386/i386.md (stack_protect_set): Enable for | |
490 | TARGET_SSP_TLS_GUARD only. | |
491 | (stack_protect_set_<mode>): Ditto. | |
492 | (stack_protect_test): Ditto. | |
493 | (stack_protect_test_<mode>): Ditto. | |
494 | * doc/invoke.texi (i386 Option): Document. | |
495 | ||
811b72f9 EB |
496 | 2013-04-15 Eric Botcazou <ebotcazou@adacore.com> |
497 | ||
498 | PR target/56890 | |
499 | * config/sparc/sparc.c (enum sparc_mode_class): Add H_MODE value. | |
500 | (S_MODES): Set H_MODE bit. | |
501 | (SF_MODES): Set only S_MODE and SF_MODE bits. | |
502 | (DF_MODES): Set SF_MODES and only D_MODE and DF_MODE bits. | |
503 | (sparc_init_modes) <MODE_INT>: Set H_MODE bit for sub-word modes. | |
504 | <MODE_VECTOR_INT>: Do not set SF_MODE for sub-word modes. | |
505 | <MODE_FLOAT>: Likewise. | |
506 | ||
5529fdd6 JY |
507 | 2013-04-15 Joey Ye <joey.ye@arm.com> |
508 | ||
509 | * config/arm/arm.c (thumb_far_jump_used_p): Fix typo in comments. | |
510 | ||
517b1da2 JY |
511 | 2013-04-15 Joey Ye <joey.ye@arm.com> |
512 | ||
513 | * config/arm/arm.c (thumb1_final_prescan_insn): Assert lr save | |
514 | for real far jump. | |
515 | (thumb_far_jump_used_p): Count instruction size and set | |
516 | far_jump_used. | |
517 | ||
01007ae0 EB |
518 | 2013-04-14 Eric Botcazou <ebotcazou@adacore.com> |
519 | ||
520 | * reorg.c (fill_simple_delay_slots): Reindent block of code. | |
521 | * resource.c (mark_target_live_regs): Reformat conditional block. | |
522 | ||
c46f6580 SB |
523 | 2013-04-13 Steven Bosscher <steven@gcc.gnu.org> |
524 | ||
525 | * sched-deps.c (deps_analyze_insn): Do not check for EH_REGION insn | |
526 | notes, they are emitted only just before final. | |
527 | * sched-int.h: Include insn-attr.h before checking INSN_SCHEDULING. | |
528 | ||
1f397f45 SB |
529 | 2013-04-13 Steven Bosscher <steven@gcc.gnu.org> |
530 | ||
531 | * emit-rtl.c (remove_insn): Do not call df_insn_delete here. | |
532 | * cfgrtl.c (delete_insn): Call it here instead. | |
533 | * lra-spills.c (lra_final_code_change): Use delete_insn. | |
534 | * haifa-sched.c (sched_remove_insn): Likewise. | |
535 | * sel-sched-ir.c (return_nop_to_pool): Clear INSN_DELETED_P for nops | |
536 | returning to the nop pool. | |
537 | (sel_remove_insn): Simplify the only_disconnect case via remove_insn, | |
538 | use delete_insn for definitive removal. Clear BLOCK_FOR_INSN. | |
539 | ||
58a51369 SB |
540 | 2013-04-12 Steven Bosscher <steven@gcc.gnu.org> |
541 | ||
542 | * doc/tm.texi.in (LOOP_ALIGN): Remove loop note references. | |
543 | * doc/tm.texi: Regenerated. | |
544 | ||
33159866 UB |
545 | 2013-04-12 Uros Bizjak <ubizjak@gmail.com> |
546 | ||
547 | * config/i386/i386.c (ix86_hard_regno_mode_ok): Use ANY_QI_REGNO_P in | |
548 | QImode checks. | |
549 | ||
226e378f SB |
550 | 2013-04-12 Steven Bosscher <steven@gcc.gnu.org> |
551 | ||
552 | * df-core.c (df_find_def): Compare register numbers. | |
553 | (df_find_use): Likewise. | |
554 | ||
fafb9b18 VM |
555 | 2013-04-12 Vladimir Makarov <vmakarov@redhat.com> |
556 | ||
557 | PR target/56903 | |
558 | * config/i386/i386.c (ix86_hard_regno_mode_ok): Add | |
559 | lra_in_progress for return. | |
560 | ||
9a946fd6 GY |
561 | 2013-04-12 Greta Yorsh <Greta.Yorsh@arm.com> |
562 | ||
563 | * config/arm/arm.md (mov_scc,mov_negscc,mov_notscc): Convert | |
564 | define_insn into define_insn_and_split and emit movsicc patterns. | |
565 | ||
41b83758 GY |
566 | 2013-04-12 Greta Yorsh <Greta.Yorsh@arm.com> |
567 | ||
568 | * config/arm/arm.c (gen_operands_ldrd_strd): Initialize "base". | |
569 | ||
d3afd9aa RB |
570 | 2013-04-12 Richard Biener <rguenther@suse.de> |
571 | ||
572 | * tree-pass.h (TODO_do_not_ggc_collect): New. | |
573 | * passes.c (execute_one_ipa_transform_pass): Honor | |
574 | TODO_do_not_ggc_collect. | |
575 | (execute_one_pass): Likewise. | |
576 | ||
577 | Revert | |
578 | 2013-04-10 Richard Biener <rguenther@suse.de> | |
579 | ||
580 | * passes.c (init_optimization_passes): Remove reload pass. | |
581 | * ira.c (do_reload): Merge into ... | |
582 | (ira): ... this. | |
583 | (rest_of_handle_reload): Remove. | |
584 | (pass_reload): Likewise. | |
585 | * config/i386/i386.c (ix86_option_override): Refer to ira instead | |
586 | of reload for vzeroupper pass placement. | |
587 | ||
06f9b387 JJ |
588 | 2013-04-12 Jakub Jelinek <jakub@redhat.com> |
589 | ||
590 | PR tree-optimization/56918 | |
591 | PR tree-optimization/56920 | |
592 | * fold-const.c (int_const_binop_1): Use op1.mul_with_sign (op2, ...) | |
593 | instead of op1 - op2. Pass 2 * TYPE_PRECISION (type) as second | |
594 | argument to rshift method. For 2 * HOST_BITS_PER_WIDE_INT precision | |
595 | use wide_mul_with_sign method. | |
596 | ||
953094d2 RB |
597 | 2013-04-12 Richard Biener <rguenther@suse.de> |
598 | ||
599 | * gimple.c (is_gimple_constant): Vector CONSTRUCTORs should | |
600 | not be considered a gimple constant. | |
601 | ||
bb506982 MG |
602 | 2013-04-12 Marc Glisse <marc.glisse@inria.fr> |
603 | ||
604 | * fold-const.c (const_binop): Handle vector shifts by a scalar. | |
605 | (fold_binary_loc): Call const_binop also for mixed vector-scalar | |
606 | operations. | |
607 | ||
4b84d650 JJ |
608 | 2013-04-12 Manuel López-Ibáñez <manu@gcc.gnu.org> |
609 | Jakub Jelinek <jakub@redhat.com> | |
610 | ||
611 | * opts.c: Include diagnostic-color.h. | |
612 | (common_handle_option): Handle OPT_fdiagnostics_color_. | |
613 | * Makefile.in (OBJS-libcommon): Add diagnostic-color.o. | |
614 | (diagnostic.o, opts.o, pretty-print.o): Depend on diagnostic-color.h. | |
615 | (diagnostic-color.o): New. | |
616 | * common.opt (fdiagnostics-color, fdiagnostics-color=): New options. | |
617 | (diagnostic_color_rule): New enum. | |
618 | * dwarf2out.c (gen_producer_string): Don't print -fdiagnostics-color*. | |
619 | * langhooks.c (lhd_print_error_function): Add %r "locus" and %R around | |
620 | the location string. | |
621 | * diagnostic.def: Add 3rd argument to DEFINE_DIAGNOSTIC_KIND macros, | |
622 | either NULL, or color kind. | |
623 | * diagnostic-color.c: New file. | |
624 | * diagnostic-color.h: New file. | |
625 | * diagnostic-core.h (DEFINE_DIAGNOSTIC_KIND): Adjust macro for 3 | |
626 | arguments. | |
627 | * doc/invoke.texi (-fdiagnostics-color): Document. | |
628 | * pretty-print.h (pp_show_color): Define. | |
629 | (struct pretty_print_info): Add show_color field. | |
630 | * diagnostic.c: Include diagnostic-color.h. | |
631 | (diagnostic_build_prefix): Adjust for 3 argument DEFINE_DIAGNOSTIC_KIND | |
632 | macros. Colorize error:, warning: etc. strings and also the location | |
633 | string. | |
634 | (diagnostic_show_locus): Colorize the caret line. | |
635 | * pretty-print.c: Include diagnostic-color.h. | |
636 | (pp_base_format): Handle %r and %R format specifiers. Colorize strings | |
637 | inside of %< %> quotes or quoted through q format modifier. | |
638 | ||
067a1e71 AK |
639 | 2013-04-12 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
640 | ||
33159866 | 641 | * ifcvt.c (end_ifcvt_sequence): Mark a and b for unsharing as well. |
067a1e71 | 642 | |
33159866 | 643 | 2013-04-11 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
b056c910 N |
644 | |
645 | * config/aarch64/aarch64.c (aarch64_select_cc_mode): Allow NEG | |
646 | code in CC_NZ mode. | |
647 | * config/aarch64/aarch64.md (*neg_<shift><mode>3_compare0): New | |
648 | pattern. | |
649 | ||
7b55f98f MP |
650 | 2013-04-11 Marek Polacek <polacek@redhat.com> |
651 | ||
652 | PR tree-optimization/48184 | |
33159866 | 653 | * params.def (PARAM_ALIGN_THRESHOLD): Increase the minimum value to 1. |
7b55f98f | 654 | |
966b587e EB |
655 | 2013-04-11 Eric Botcazou <ebotcazou@adacore.com> |
656 | ||
657 | * stor-layout.c (skip_simple_constant_arithmetic): Move to... | |
658 | * tree.c (skip_simple_constant_arithmetic): ...here and make public. | |
659 | (skip_simple_arithmetic): Tidy up. | |
660 | * tree.h (skip_simple_constant_arithmetic): Declare. | |
661 | ||
33159866 | 662 | 2013-04-11 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
f8bf91ab N |
663 | |
664 | * config/aarch64/aarch64.h (REVERSIBLE_CC_MODE): Define. | |
665 | ||
1d42c1ec RB |
666 | 2013-04-11 Richard Biener <rguenther@suse.de> |
667 | ||
668 | * tree-vect-loop.c (get_initial_def_for_induction): Properly | |
669 | generate vector constants. | |
670 | ||
4ba5ea11 RB |
671 | 2013-04-11 Richard Biener <rguenther@suse.de> |
672 | ||
673 | PR tree-optimization/56878 | |
674 | * tree-flow.h (outermost_invariant_loop_for_expr): Declare. | |
675 | * tree-ssa-loop-ivopts.c (outermost_invariant_loop_for_expr): | |
676 | New function. | |
677 | * tree-vect-data-refs.c (vect_enhance_data_refs_alignment): | |
678 | Prefer to align the DR with the most invariant base address. | |
679 | ||
f0defe58 SKS |
680 | 2013-04-11 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> |
681 | ||
682 | * opts.c (common_handle_option): Fix formatting and add FALLTHRU | |
683 | comment. | |
684 | ||
d07458be JG |
685 | 2013-04-11 James Greenhalgh <james.greenhalgh@arm.com> |
686 | ||
687 | * config/aarch64/aarch64-simd.md (aarch64_vcond_internal): Fix | |
688 | floating-point vector comparisons against 0. | |
689 | ||
146b8692 JJ |
690 | 2013-04-11 Jakub Jelinek <jakub@redhat.com> |
691 | ||
692 | PR tree-optimization/56899 | |
693 | * fold-const.c (extract_muldiv_1): Apply distributive law | |
694 | only if TYPE_OVERFLOW_WRAPS (ctype). | |
695 | ||
b8578ff7 BC |
696 | 2013-04-11 Bin Cheng <bin.cheng@arm.com> |
697 | ||
698 | PR target/56124 | |
699 | * ira-costs.c (scan_one_insn): Check whether the source rtx of | |
700 | loading has side effect. | |
701 | ||
0ea8a6f9 SB |
702 | 2013-04-10 Steven Bosscher <steven@gcc.gnu.org> |
703 | ||
704 | * config/sparc/sparc.c: Include tree-pass.h. | |
705 | (TARGET_MACHINE_DEPENDENT_REORG): Do not redefine. | |
706 | (sparc_reorg): Rename to sparc_do_work_around_errata. Move to | |
707 | head of file. Change return type. Split off gate function. | |
708 | (sparc_gate_work_around_errata): New function. | |
709 | (pass_work_around_errata): New pass definition. | |
710 | (insert_pass_work_around_errata) New pass insert definition to | |
711 | insert pass_work_around_errata just after delayed-branch scheduling. | |
712 | (sparc_option_override): Insert the pass. | |
713 | * config/sparc/t-sparc (sparc.o): Add TREE_PASS_H dependence. | |
714 | ||
42e37616 DM |
715 | 2013-04-10 David S. Miller <davem@davemloft.net> |
716 | ||
89deeb3b DM |
717 | * config/sparc/sparc.h (ASM_CPU_SPEC): Pass -Av8 if -mcpu=supersparc |
718 | or -mcpu=hypersparc. | |
719 | ||
42e37616 DM |
720 | * target.def (cstore_mode): New hook. |
721 | * target.h: Include insn-codes.h | |
722 | * targhooks.c: Likewise. | |
723 | (default_cstore_mode): New function. | |
724 | * targhooks.h: Declare it. | |
725 | * doc/tm.texi.in: New hook slot for TARGET_CSTORE_MODE. | |
726 | * doc/tm.texi: Rebuild. | |
727 | * expmed.c (emit_cstore): Obtain cstore boolean result mode using | |
728 | target hook, rather than inspecting the insn_data. | |
729 | * config/sparc/sparc.c (sparc_cstore_mode): New function. | |
730 | (TARGET_CSTORE_MODE): Redefine. | |
731 | (emit_scc_insn): When TARGET_ARCH64, emit new 64-bit boolean | |
732 | result patterns. | |
733 | * config/sparc/predicates.md (cstore_result_operand): New special | |
734 | predicate. | |
735 | * config/sparc/sparc.md (cstoresi4, cstoredi4, cstore<F:mode>4): | |
736 | Use it for operand 0. | |
737 | (*seqsi_special): Rewrite using 'P' mode iterator on operand 0. | |
738 | (*snesi_special): Likewise. | |
739 | (*snesi_zero): Likewise. | |
740 | (*seqsi_zero): Likewise. | |
741 | (*sltu_insn): Likewise. | |
742 | (*sgeu_insn): Likewise. | |
743 | (*seqdi_special): Make operand 0 and comparison operation be of | |
744 | DImode. | |
745 | (*snedi_special): Likewise. | |
746 | (*snedi_special_vis3): Likewise. | |
747 | (*neg_snesi_zero): Rename to *neg_snesisi_zero. | |
748 | (*neg_snesi_sign_extend): Rename to *neg_snesidi_zero. | |
749 | (*snesi_zero_extend): Delete, covered by 'P' mode iterator. | |
750 | (*neg_seqsi_zero): Rename to *neg_seqsisi_zero. | |
751 | (*neg_seqsi_sign_extend): Rename to *neg_seqsidi_zero. | |
752 | (*seqsi_zero_extend): Delete, covered by 'P' mode iterator. | |
753 | (*sltu_extend_sp64): Likewise. | |
754 | (*neg_sltu_insn): Rename to *neg_sltusi_insn. | |
755 | (*neg_sltu_extend_sp64): Rename to *neg_sltudi_insn. | |
756 | (*sgeu_extend_sp64): Delete, covered by 'P' mode iterator. | |
757 | (*neg_sgeu_insn): Rename to *neg_sgeusi_insn. | |
758 | (*neg_sgeu_extend_sp64): Rename to *neg_sgeudi_insn. | |
759 | ||
95ca411e YZ |
760 | 2013-04-10 Yufeng Zhang <yufeng.zhang@arm.com> |
761 | ||
762 | * config/aarch64/aarch64.c (aarch64_print_extension): New function. | |
763 | (aarch64_start_file): Use the new function. | |
764 | ||
6782438d | 765 | 2013-04-10 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> |
33159866 | 766 | Jason Merrill <jason@redhat.com> |
6782438d SKS |
767 | |
768 | * common.opt: Add -gdwarf. | |
769 | * opts.c (common_handle_option): Handle it. | |
770 | * gcc.c (ASM_DEBUG_SPEC): Don't expect "-2" for DWARF. | |
771 | ||
bb313b93 RB |
772 | 2013-04-10 Richard Biener <rguenther@suse.de> |
773 | ||
774 | * passes.c (execute_todo): Do not call ggc_collect conditional here. | |
775 | (execute_one_ipa_transform_pass): But unconditionally here. | |
776 | (execute_one_pass): And here. | |
777 | (init_optimization_passes): Remove reload pass. | |
778 | * tree-pass.h (TODO_ggc_collect): Remove. | |
779 | (pass_reload): Likewise. | |
780 | * ira.c (do_reload): Merge into ... | |
781 | (ira): ... this. | |
782 | (rest_of_handle_reload): Remove. | |
783 | (pass_reload): Likewise. | |
784 | * config/i386/i386.c (ix86_option_override): Refer to ira instead | |
785 | of reload for vzeroupper pass placement. | |
786 | * <everywhere>: Remove TODO_ggc_collect from todo_flags_start | |
787 | and todo_flags_finish of all passes. | |
788 | ||
793d9a16 RB |
789 | 2013-04-10 Richard Biener <rguenther@suse.de> |
790 | ||
791 | * tree-vectorizer.h (struct _slp_oprnd_info): Remove | |
792 | first_const_oprnd field, rename first_def_type to first_op_type. | |
793 | * tree-vect-slp.c (vect_create_oprnd_info): Adjust. | |
794 | (vect_get_and_check_slp_defs): Always use the type of the | |
795 | operand. Allow mixed vect_external_def, vect_constant_def types. | |
796 | (vect_get_constant_vectors): Handle mixed vect_external_def, | |
797 | vect_constant_def types. | |
798 | ||
ee8a9b7b JR |
799 | 2013-04-10 Joern Rennecke <joern.rennecke@embecosm.com> |
800 | ||
801 | PR tree-optimization/55524 | |
802 | * tree-ssa-math-opts.c | |
803 | (convert_mult_to_fma): Don't use an fms construct | |
804 | when we don't have an fms operation, but fnma, and it looks | |
805 | likely that we'll be able to use the latter. | |
806 | ||
6957a6f6 ZZ |
807 | 2013-04-10 Zhouyi Zhou <yizhouzhou@ict.ac.cn> |
808 | ||
809 | * cif-code.def (OVERWRITABLE): Correct the comment for overwritable | |
810 | function. | |
811 | * ipa-inline.c (can_inline_edge_p): Let dump mechanism report the | |
812 | inline fail caused by overwritable functions. | |
813 | ||
34ab4a5b CJW |
814 | 2013-04-10 Chung-Ju Wu <jasonwucj@gmail.com> |
815 | ||
816 | * combine.c (simplify_compare_const): Use GET_MODE_MASK to filter out | |
817 | unnecessary bits in the constant power of two case. | |
818 | ||
abf9bfbc RB |
819 | 2013-04-10 Richard Biener <rguenther@suse.de> |
820 | ||
821 | * tree-vect-slp.c (vect_get_and_check_slp_defs): Remove | |
822 | broken code swapping operands. | |
823 | (vect_build_slp_tree): Do not compute load permutations here. | |
824 | (vect_analyze_slp_instance): Compute load permutations here, | |
825 | after building the SLP tree. | |
826 | ||
f408477e CB |
827 | 2013-04-09 Christian Bruel <christian.bruel@st.com> |
828 | ||
829 | * config/sh/sh.md (barrier_align): Use next/prev_active_insn instead | |
830 | of next/prev_real_insn. | |
831 | ||
5ac42672 JH |
832 | 2013-04-09 Jan Hubicka <jh@suse.cz> |
833 | ||
abf9bfbc RB |
834 | * ipa.c (cgraph_externally_visible_p, varpool_externally_visible_p): |
835 | Drop aliased parameter. | |
5ac42672 JH |
836 | (function_and_variable_visibility): Do not handle alias pairs. |
837 | * cgraph.c (varpool_externally_visible_p): Update prototype. | |
838 | * varpool.c (varpool_add_new_variable): Update. | |
839 | ||
5017f1d2 KT |
840 | 2013-04-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
841 | ||
842 | * config/arm/arm.md (minmax_arithsi_non_canon): New pattern. | |
843 | ||
48eecbee SB |
844 | 2013-04-09 Steven Bosscher <steven@gcc.gnu.org> |
845 | ||
a949cf1c SB |
846 | * sched-vis.c (print_pattern): Print SEQUENCE of insns as insns. |
847 | ||
48eecbee SB |
848 | * config/sparc/sparc.md: Use define_c_enum for "unspec" and "unspecv". |
849 | ||
75ef8e3d MP |
850 | 2013-04-09 Marek Polacek <polacek@redhat.com> |
851 | ||
852 | PR tree-optimization/48762 | |
33159866 | 853 | * params.def (PARAM_MAX_CSE_INSNS): Increase the minimum value to 1. |
75ef8e3d | 854 | |
23847df4 RB |
855 | 2013-04-09 Richard Biener <rguenther@suse.de> |
856 | ||
857 | * tree-vect-slp.c (vect_get_and_check_slp_defs): Remove code | |
858 | dealing with cost. | |
859 | (vect_build_slp_tree): Likewise. | |
860 | (vect_analyze_slp_cost_1, vect_analyze_slp_cost): New functions | |
861 | calculating the cost of a SLP instance. | |
862 | (vect_analyze_slp_instance): Use it from here, after building | |
863 | the SLP tree. | |
864 | ||
ea3a0fde JJ |
865 | 2013-04-09 Jakub Jelinek <jakub@redhat.com> |
866 | ||
867 | PR middle-end/56883 | |
868 | * omp-low.c (expand_omp_for_generic, expand_omp_for_static_nochunk, | |
869 | expand_omp_for_static_chunk): Use simple_p = true in | |
870 | force_gimple_operand_gsi calls when assigning to addressable decls. | |
871 | ||
a32dfe9d JL |
872 | 2013-04-09 Jeff Law <law@redhat.com> |
873 | ||
874 | * tree-vrp.c (simplify_cond_using_ranges): Simplify test of boolean | |
875 | when the boolean was created by converting a wider object which | |
876 | had a boolean range. | |
877 | ||
d755c7ef RB |
878 | 2013-04-09 Richard Biener <rguenther@suse.de> |
879 | ||
880 | * tree-vectorizer.h (slp_void_p): Remove. | |
881 | (slp_tree): Typedef before _slp_tree declaration. | |
882 | (struct _slp_tree): Use a vector of slp_tree as children. | |
883 | (vect_get_place_in_interleaving_chain): Remove. | |
884 | * tree-vect-data-refs.c (vect_get_place_in_interleaving_chain): | |
885 | Move ... | |
886 | * tree-vect-slp.c (vect_get_place_in_interleaving_chain): ... here | |
887 | and make static. | |
888 | (vect_free_slp_tree, vect_print_slp_tree, vect_mark_slp_stmts, | |
889 | vect_mark_slp_stmts_relevant, vect_slp_rearrange_stmts, | |
890 | vect_detect_hybrid_slp_stmts, vect_slp_analyze_node_operations, | |
891 | vect_schedule_slp_instance, vect_remove_slp_scalar_calls): | |
892 | Use slp_node instead of slp_void_p and adjust. | |
893 | ||
3d741091 RB |
894 | 2013-04-09 Richard Biener <rguenther@suse.de> |
895 | ||
896 | * tree-ssa-loop-manip.c (rewrite_into_loop_closed_ssa): Avoid | |
897 | work that is not necessary. | |
898 | ||
39307ba7 JJ |
899 | 2013-04-09 Jakub Jelinek <jakub@redhat.com> |
900 | ||
901 | PR tree-optimization/56854 | |
902 | * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Don't | |
903 | forward into clobber stmts if it would change MEM_REF lhs into | |
904 | non-MEM_REF. | |
905 | ||
343881fd MK |
906 | 2013-04-09 Maxim Kuvyrkov <maxim@kugelworks.com> |
907 | ||
908 | * tree.c (type_hash_lookup, type_hash_add): Make static. | |
909 | * tree.h (type_hash_lookup, type_hash_add): Remove global declarations. | |
910 | ||
3922658a RB |
911 | 2013-04-09 Richard Biener <rguenther@suse.de> |
912 | ||
913 | * tree.h (unsave_expr_now): Remove. | |
914 | * tree-inline.c (mark_local_for_remap_r): Remove. | |
915 | (unsave_expr_1): Likewise. | |
916 | (unsave_r): Likewise. | |
917 | (unsave_expr_now): Likewise. | |
918 | * tree-ssa-copy.c (replace_exp_1): Use unshare_expr. | |
919 | (propagate_tree_value): Likewise. | |
920 | ||
9fb6b620 SB |
921 | 2013-04-08 Steven Bosscher <steven@gcc.gnu.org> |
922 | ||
923 | * doc/rtl.texi (sequence): Rewrite documentation to match the | |
924 | current use of SEQUENCE rtl objects. | |
925 | * rtl.def (SEQUENCE): Likewise. | |
926 | ||
927 | * doc/rtl.texi (NOTE_INSN_EH_REGION_BEG, NOTE_INSN_EH_REGION_END): | |
928 | Update documentation. | |
929 | (NOTE_INSN_LOOP_BEG, NOTE_INSN_LOOP_END, NOTE_INSN_LOOP_CONT, | |
930 | NOTE_INSN_LOOP_VTOP): Remove documentation for non-existing notes. | |
931 | ||
932 | * reg-notes.def (REG_EH_CONTEXT): Remove unused note. | |
933 | ||
8ddb5a29 TJ |
934 | 2013-04-08 Teresa Johnson <tejohnson@google.com> |
935 | ||
936 | * basic-block.h (GCOV_COMPUTE_SCALE): Define. | |
937 | * ipa-inline-analysis.c (param_change_prob): Use helper rounding divide | |
33159866 | 938 | methods. |
8ddb5a29 TJ |
939 | (estimate_edge_size_and_time): Add comment to suggest using rounding |
940 | methods. | |
941 | (estimate_node_size_and_time): Ditto. | |
942 | (remap_edge_change_prob): Use helper rounding divide methods. | |
943 | * value-prof.c (gimple_divmod_fixed_value_transform): Ditto. | |
944 | (gimple_mod_pow2_value_transform): Ditto. | |
945 | (gimple_mod_subtract_transform): Ditto. | |
946 | (gimple_ic_transform): Ditto. | |
947 | (gimple_stringops_transform): Ditto. | |
948 | * stmt.c (conditional_probability): Ditto. | |
949 | (emit_case_dispatch_table): Ditto. | |
950 | * lto-cgraph.c (merge_profile_summaries): Ditto. | |
951 | * tree-optimize.c (execute_fixup_cfg): Ditto. | |
952 | * cfgcleanup.c (try_forward_edges): Ditto. | |
953 | * cfgloopmanip.c (scale_loop_profile): Ditto. | |
954 | (loopify): Ditto. | |
955 | (duplicate_loop_to_header_edge): Ditto. | |
956 | (lv_adjust_loop_entry_edge): Ditto. | |
957 | * tree-vect-loop.c (vect_transform_loop): Ditto. | |
958 | * profile.c (compute_branch_probabilities): Ditto. | |
959 | * cfgbuild.c (compute_outgoing_frequencies): Ditto. | |
960 | * lto-streamer-in.c (input_cfg): Ditto. | |
961 | * gimple-streamer-in.c (input_bb): Ditto. | |
962 | * ipa-cp.c (update_profiling_info): Ditto. | |
963 | (update_specialized_profile): Ditto. | |
964 | * tree-vect-loop-manip.c (slpeel_tree_peel_loop_to_edge): Ditto. | |
965 | * cfg.c (update_bb_profile_for_threading): Add comment to suggest using | |
33159866 | 966 | rounding methods. |
8ddb5a29 TJ |
967 | * sched-rgn.c (compute_dom_prob_ps): Ditto. |
968 | (compute_trg_info): Ditto. | |
969 | * cfgrtl.c (force_nonfallthru_and_redirect): Ditto. | |
970 | (purge_dead_edges): Ditto. | |
971 | * loop-unswitch.c (unswitch_loop): Ditto. | |
972 | * cgraphclones.c (cgraph_clone_edge): Ditto. | |
973 | (cgraph_clone_node): Ditto. | |
974 | * tree-inline.c (copy_bb): Ditto. | |
975 | (copy_edges_for_bb): Ditto. | |
976 | (initialize_cfun): Ditto. | |
977 | (copy_cfg_body): Ditto. | |
978 | (expand_call_inline): Ditto. | |
979 | ||
661e6bd7 KT |
980 | 2013-04-08 Kai Tietz <ktietz@redhat.com> |
981 | ||
982 | * config/i386/cygwin.h (EXTRA_OS_CPP_BUILTINS): Replaced | |
983 | TARGET_CYGWIN64 by TARGET_64BIT. | |
984 | ||
105766f3 JR |
985 | 2013-04-08 Joern Rennecke <joern.rennecke@embecosm.com> |
986 | ||
987 | * config/epiphany/epiphany.md (GPR_1): New constant. | |
988 | (define_expand "mov<mode>cc): FAIL if gen_compare_reg returned 0. | |
989 | * config/epiphany/epiphany.c (gen_compare_reg): | |
990 | For flag_finite_math_only, avoid swapping operands when r0 and/or r1 | |
991 | is already in place. | |
992 | Use GPR_0 / GPR_1 instead of 0/1 for r0/r1 register numbers. | |
993 | Don't require being called during rtl expansion; If y operlaps r0, | |
994 | return 0. | |
995 | (epiphany_compute_frame_size, epiphany_expand_prologue): Use GPR_1. | |
996 | (epiphany_expand_epilogue): Likewise. | |
997 | ||
8afab237 JR |
998 | * config/epiphany/epiphany.c (epiphany_select_cc_mode): |
999 | Don't use CC_FPmode for ORDERED / UNORDERED. | |
33159866 | 1000 | * config/epiphany/epiphany.md (cmpsf_ord): Make pattern unconditional. |
8afab237 | 1001 | |
fa7707d6 JR |
1002 | * config/epiphany/constraints.md (CnL): New constraint. |
1003 | * config/epiphany/epiphany.md (addsi3_i): Add r/r/CnL alternative. | |
1004 | * config/epiphany/predicates.md (add_operand): Allow 1024. | |
1005 | ||
5138e18d JR |
1006 | * config/epiphany/epiphany.md (logical_op): New code iterator. |
1007 | (op_mnc): New code attribute. | |
1008 | (<op_mnc>_f, mov_f, cstoresi4): New patterns. | |
1009 | (mov_f+1, mov_f+2): New peephole2 patterns. | |
1010 | ||
2ccc703d JR |
1011 | * config/epiphany/epiphany.md (mov_f+2): New peephole2 pattern. |
1012 | (cstoresi4): Also allow re-use of zero result when doing a NE | |
1013 | comparison to a non-zero operand. | |
aefb0819 | 1014 | Use (clobber (scratch)) for first insn if the gpr output is not needed. |
2ccc703d | 1015 | |
093ac0a5 JR |
1016 | * config/epiphany/epiphany.md (<insn_opname>v2si3): |
1017 | Use gen_addsi3_i / gen_subsi3_i. | |
1018 | ||
f223bb13 JJ |
1019 | 2013-04-08 Jakub Jelinek <jakub@redhat.com> |
1020 | ||
1021 | PR c++/34949 | |
1022 | PR c++/50243 | |
1023 | * tree-eh.c (optimize_clobbers): Only remove clobbers if bb doesn't | |
1024 | contain anything but clobbers, at most one __builtin_stack_restore, | |
1025 | optionally debug stmts and final resx, and if it has at least one | |
1026 | incoming EH edge. Don't check for SSA_NAME on LHS of a clobber. | |
1027 | (sink_clobbers): Don't check for SSA_NAME on LHS of a clobber. | |
1028 | Instead of moving clobbers with MEM_REF LHS with SSA_NAME address | |
1029 | which isn't defaut definition, remove them. | |
1030 | (unsplit_eh, cleanup_empty_eh): Use single_{pred,succ}_{p,edge} | |
1031 | instead of EDGE_COUNT comparisons or EDGE_{PRED,SUCC}. | |
1032 | * tree-ssa-ccp.c (execute_fold_all_builtins): Remove clobbers | |
1033 | with MEM_REF LHS with SSA_NAME address. | |
1034 | ||
4481581f JL |
1035 | 2013-04-08 Jeff Law <law@redhat.com> |
1036 | ||
1037 | * gimple.c (canonicalize_cond_expr_cond): Rewrite x ^ y into x != y. | |
a32dfe9d | 1038 | |
451dabda RB |
1039 | 2013-04-08 Richard Biener <rguenther@suse.de> |
1040 | ||
1041 | * gimple-pretty-print.c (debug_gimple_stmt): Do not print | |
1042 | extra newline. | |
1043 | * tree-vect-loop.c (vect_determine_vectorization_factor): Dump | |
1044 | determined vector type. | |
1045 | (vect_analyze_data_refs): Likewise. | |
1046 | (vect_get_new_vect_var): Adjust. | |
1047 | (vect_create_destination_var): Preserve SSA name versions. | |
1048 | * tree-vect-stmts.c (get_vectype_for_scalar_type_and_size): Do | |
1049 | not dump anything here. | |
1050 | ||
3b088b47 JR |
1051 | 2013-04-08 Joern Rennecke <joern.rennecke@embecosm.com> |
1052 | ||
1053 | * config/epiphany/epiphany.h (struct GTY (()) machine_function): | |
1054 | Add member lr_slot_known. | |
1055 | * config/epiphany/epiphany.md (reload_insi_ra): Compute lr_slot_offs | |
1056 | if necessary. | |
1057 | * config/epiphany/epiphany.c (epiphany_compute_frame_size): | |
1058 | Remove code that sets lr_slot_offset according to what a previous | |
1059 | version of epiphany_emit_save_restore used to do. | |
1060 | (epiphany_emit_save_restore): When doing an lr save or restore, | |
1061 | set/verify lr_slot_known and lr_slot_offset. | |
1062 | ||
d8484d41 XQ |
1063 | 2013-04-08 Xinyu Qi <xyqi@marvell.com> |
1064 | ||
33159866 UB |
1065 | PR target/54338 |
1066 | * config/arm/arm.h (REG_CLASS_CONTENTS): Include IWMMXT_GR_REGS | |
d8484d41 XQ |
1067 | in ALL_REGS. |
1068 | ||
481be1c4 RB |
1069 | 2013-04-08 Richard Biener <rguenther@suse.de> |
1070 | ||
1071 | * alias.c (find_base_term): Fix thinko in previous change. | |
1072 | ||
401f3a81 JJ |
1073 | 2013-04-08 Jakub Jelinek <jakub@redhat.com> |
1074 | ||
1075 | * tree-loop-distribution.c (const_with_all_bytes_same): New function. | |
1076 | (generate_memset_builtin): Only handle integer_all_onesp as -1 val if | |
1077 | TYPE_PRECISION is equal to mode bitsize. Use const_with_all_bytes_same | |
1078 | if possible to compute val. | |
1079 | (classify_partition): Verify CONSTRUCTOR doesn't have any elts. | |
1080 | For QImode integers don't require anything about precision. Use | |
1081 | const_with_all_bytes_same to find out if the constant doesn't have | |
1082 | repeated bytes in it. | |
1083 | ||
03ed99a8 AK |
1084 | 2013-04-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
1085 | ||
1086 | * config/s390/s390.c (s390_expand_insv): Only accept insertions | |
1087 | within mode size. | |
1088 | ||
781b2e62 MP |
1089 | 2013-04-08 Marek Polacek <polacek@redhat.com> |
1090 | ||
1091 | PR rtl-optimization/48182 | |
1092 | * params.def (PARAM_MIN_CROSSJUMP_INSNS): Increase the minimum | |
1093 | value to 1. | |
1094 | ||
27e430a2 JDA |
1095 | 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
1096 | ||
1097 | PR target/55487 | |
1098 | * config/pa/pa.c (legitimize_pic_address): Before incrementing label | |
1099 | nuses, make sure we have a label. | |
1100 | ||
4902aa64 BS |
1101 | 2013-04-05 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
1102 | ||
1103 | PR target/56843 | |
1104 | * config/rs6000/rs6000.c (rs6000_emit_swdiv_high_precision): Remove. | |
1105 | (rs6000_emit_swdiv_low_precision): Remove. | |
1106 | (rs6000_emit_swdiv): Rewrite to handle between one and four | |
1107 | iterations of Newton-Raphson generally; modify required number of | |
1108 | iterations for some cases. | |
1109 | * config/rs6000/rs6000.h (RS6000_RECIP_HIGH_PRECISION_P): Remove. | |
1110 | ||
7bca81dc SB |
1111 | 2013-04-05 Steven Bosscher <steven@gcc.gnu.org> |
1112 | ||
1113 | * bb-reorder.c (fix_crossing_unconditional_branches): Remove a | |
1114 | set-but-unused variable. | |
1115 | ||
1116 | * cgraph.c (cgraph_release_function_body): Clear cfun->cfg to make | |
1117 | basic blocks of released function bodies garbage-collectable. | |
1118 | ||
1119 | * ree.c (find_and_remove_re): Do not call df_finish_pass here. | |
1120 | (struct rtl_opt_pass): Add TODO_df_finish. | |
1121 | ||
1122 | * rtl.def (DEFINE_SUBST, DEFINE_SUBST_ATTR): Add documentation. | |
1123 | ||
4542a38a GY |
1124 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
1125 | ||
1126 | * config/arm/constraints.md (q): New constraint. | |
1127 | * config/arm/ldrdstrd.md: New file. | |
1128 | * config/arm/arm.md (ldrdstrd.md) New include. | |
1129 | (arm_movdi): Use "q" instead of "r" constraint | |
1130 | for double-word memory access. | |
1131 | (movdf_soft_insn): Likewise. | |
1132 | * config/arm/vfp.md (movdi_vfp): Likewise. | |
1133 | * config/arm/t-arm (MD_INCLUDES): Add ldrdstrd.md. | |
33159866 | 1134 | * config/arm/arm-protos.h (gen_operands_ldrd_strd): New declaration. |
4542a38a GY |
1135 | * config/arm/arm.c (gen_operands_ldrd_strd): New function. |
1136 | (mem_ok_for_ldrd_strd): Likewise. | |
1137 | (output_move_double): Update assertion. | |
1138 | ||
2385b218 GY |
1139 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
1140 | ||
1141 | * config/arm/arm.md: Comment on splitting Thumb1 patterns. | |
1142 | ||
75fe1cb5 GY |
1143 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
1144 | ||
1145 | * config/arm/arm.md (arm_smax_insn): Convert define_insn into | |
1146 | define_insn_and_split. | |
1147 | (arm_smin_insn,arm_umaxsi3,arm_uminsi3): Likewise. | |
1148 | ||
dd660e8e GY |
1149 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
1150 | ||
1151 | * config/arm/arm.md (arm_ashldi3_1bit): Convert define_insn into | |
1152 | define_insn_and_split. | |
33159866 | 1153 | (arm_ashrdi3_1bit,arm_lshrdi3_1bit): Likewise. |
dd660e8e GY |
1154 | (shiftsi3_compare): New pattern. |
1155 | (rrx): New pattern. | |
1156 | * config/arm/unspecs.md (UNSPEC_RRX): New. | |
1157 | ||
045e472c GY |
1158 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
1159 | ||
1160 | * config/arm/arm.md (negdi_extendsidi): New pattern. | |
1161 | (negdi_zero_extendsidi): Likewise. | |
1162 | ||
3f3bf1a8 GY |
1163 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
1164 | ||
1165 | * config/arm/arm.md (andsi_iorsi3_notsi): Convert define_insn into | |
1166 | define_insn_and_split. | |
1167 | (arm_negdi2,arm_abssi2,arm_neg_abssi2): Likewise. | |
1168 | (arm_cmpdi_insn,arm_cmpdi_unsigned): Likewise. | |
1169 | ||
b0b49556 GY |
1170 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
1171 | ||
1172 | * config/arm/arm.md (arm_subdi3): Convert define_insn into | |
1173 | define_insn_and_split. | |
1174 | (subdi_di_zesidi,subdi_di_sesidi): Likewise. | |
1175 | (subdi_zesidi_di,subdi_sesidi_di,subdi_zesidi_zesidi): Likewise. | |
1176 | ||
d633dd84 GY |
1177 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
1178 | ||
1179 | * config/arm/arm.md (subsi3_carryin): New pattern. | |
1180 | (subsi3_carryin_const): Likewise. | |
1181 | (subsi3_carryin_compare,subsi3_carryin_compare_const): Likewise. | |
1182 | (subsi3_carryin_shift,rsbsi3_carryin_shift): Likewise. | |
1183 | ||
f4499066 GY |
1184 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
1185 | ||
1186 | * config/arm/arm.md (incscc,arm_incscc,decscc,arm_decscc): Delete. | |
1187 | ||
ceef6fd9 GY |
1188 | 2013-04-05 Greta Yorsh <Greta.Yorsh@arm.com> |
1189 | ||
1190 | * config/arm/arm.md (addsi3_carryin_<optab>): Set attribute predicable. | |
d633dd84 | 1191 | (addsi3_carryin_alt2_<optab>,addsi3_carryin_shift_<optab>): Likewise. |
ceef6fd9 | 1192 | |
ddbdd8a7 KT |
1193 | 2013-04-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
1194 | ||
1195 | * config/arm/arm.c (arm_expand_builtin): Change fcode | |
1196 | type to unsigned int. | |
1197 | ||
8456d78a RR |
1198 | 2013-04-05 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
1199 | ||
1200 | * doc/invoke.texi (ARM Options): Document cortex-a53 support. | |
1201 | ||
526c230f ILT |
1202 | 2013-04-04 Ian Lance Taylor <iant@google.com> |
1203 | ||
33159866 UB |
1204 | * doc/standards.texi (Standards): The Go frontend supports the Go 1 |
1205 | language standard. | |
526c230f | 1206 | |
3cfbe04d SB |
1207 | 2013-04-04 Steven Bosscher <steven@gcc.gnu.org> |
1208 | ||
1209 | PR middle-end/56729 | |
1210 | * df-scan.c (df_insn_delete): Disable failing assert. | |
1211 | ||
dfa3f8d0 KT |
1212 | 2013-04-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
1213 | ||
1214 | * config/arm/arm-protos.h (arm_builtin_vectorized_function): | |
1215 | New function prototype. | |
1216 | * config/arm/arm.c (TARGET_VECTORIZE_BUILTINS): Define. | |
1217 | (TARGET_VECTORIZE_BUILTIN_VECTORIZED_FUNCTION): Likewise. | |
1218 | (arm_builtin_vectorized_function): New function. | |
1219 | ||
f7837758 KT |
1220 | 2013-04-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
1221 | ||
1222 | * config/arm/arm_neon_builtins.def: New file. | |
1223 | * config/arm/arm.c (neon_builtin_data): Move contents to | |
1224 | arm_neon_builtins.def. | |
1225 | (enum arm_builtins): Include neon builtin definitions. | |
1226 | (ARM_BUILTIN_NEON_BASE): Move from enum to macro. | |
33159866 | 1227 | * config/arm/t-arm (arm.o): Add dependency on arm_neon_builtins.def. |
f7837758 | 1228 | |
39c1b6db MP |
1229 | 2013-04-04 Marek Polacek <polacek@redhat.com> |
1230 | ||
1231 | PR tree-optimization/48186 | |
1232 | * predict.c (maybe_hot_frequency_p): Return false if | |
1233 | HOT_BB_FREQUENCY_FRACTION is 0. | |
1234 | (cgraph_maybe_hot_edge_p): Likewise. | |
1235 | ||
314f64eb RB |
1236 | 2013-04-04 Richard Biener <rguenther@suse.de> |
1237 | ||
1238 | PR tree-optimization/56826 | |
1239 | * tree-vect-slp.c (vect_build_slp_tree): Compute ncopies | |
1240 | more accurately. | |
1241 | ||
51a905b2 RB |
1242 | 2013-04-04 Richard Biener <rguenther@suse.de> |
1243 | ||
1244 | PR tree-optimization/56213 | |
1245 | * tree-vect-data-refs.c (vect_check_strided_load): Remove. | |
33159866 | 1246 | (vect_analyze_data_refs): Allow all non-nested loads as strided loads. |
51a905b2 | 1247 | |
f1bf4f3a RB |
1248 | 2013-04-04 Richard Biener <rguenther@suse.de> |
1249 | ||
1250 | PR tree-optimization/56837 | |
1251 | * tree-loop-distribution.c (classify_partition): For non-zero | |
1252 | values require that the value has the same precision as its | |
1253 | mode to be useful as memset value. | |
1254 | ||
0bca7ded NC |
1255 | 2013-04-03 Nick Clifton <nickc@redhat.com> |
1256 | ||
33159866 | 1257 | * config/v850/v850e3v5.md (fmasf4): Use fmaf.s on E3V5 architectures. |
0bca7ded NC |
1258 | (fmssf4): Use fmsf.s on E3V5 architectures. |
1259 | (fnmasf4): Use fnmaf.s on E3V5 architectures. | |
1260 | (fnmssf4): Use fnmsf.s on E3V5 architectures. | |
1261 | ||
b4019227 JL |
1262 | 2013-04-03 Jeff Law <law@redhat.com> |
1263 | ||
1264 | * Makefile.in (lra-constraints.o): Depend on $(OPTABS_H). | |
1265 | (lra-eliminations.o): Likewise. | |
1266 | ||
f57ddb5b TJ |
1267 | 2013-04-03 Teresa Johnson <tejohnson@google.com> |
1268 | ||
1269 | * gcov-io.c (compute_working_sets): Moved most of body of old | |
33159866 | 1270 | compute_working_sets here from profile.c. |
f57ddb5b | 1271 | * gcov-io.h (NUM_GCOV_WORKING_SETS): Moved here from profile.c. |
33159866 UB |
1272 | (gcov_working_set_t): Moved typedef here from basic-block.h |
1273 | (compute_working_set): Declare. | |
f57ddb5b TJ |
1274 | * profile.c (NUM_GCOV_WORKING_SETS): Moved to gcov-io.h. |
1275 | (get_working_sets): Renamed from compute_working_set, | |
33159866 | 1276 | replace most of body with call to new compute_working_sets. |
f57ddb5b | 1277 | (get_exec_counts): Replace call to compute_working_sets |
33159866 UB |
1278 | to get_working_sets. |
1279 | * profile.h (get_working_sets): Renamed from compute_working_set. | |
f57ddb5b | 1280 | * lto-cgraph.c (input_symtab): Replace call to compute_working_sets |
33159866 | 1281 | to get_working_sets. |
f57ddb5b TJ |
1282 | * basic-block.h (gcov_working_set_t): Moved to gcov-io.h. |
1283 | * gcov-dump.c (dump_working_sets): New function. | |
1284 | ||
5e0919f1 KZ |
1285 | 2013-04-03 Kenneth Zadeck <zadeck@naturalbridge.com> |
1286 | ||
1287 | * hwint.c (sext_hwi, zext_hwi): New functions. | |
1288 | * hwint.h (HOST_BITS_PER_HALF_WIDE_INT, HOST_HALF_WIDE_INT, | |
1289 | HOST_HALF_WIDE_INT_PRINT, HOST_HALF_WIDE_INT_PRINT_C, | |
1290 | HOST_HALF_WIDE_INT_PRINT_DEC, HOST_HALF_WIDE_INT_PRINT_DEC_C, | |
1291 | HOST_HALF_WIDE_INT_PRINT_UNSIGNED, HOST_HALF_WIDE_INT_PRINT_HEX, | |
1292 | HOST_HALF_WIDE_INT_PRINT_HEX_PURE): New symbols. | |
1293 | (sext_hwi, zext_hwi): New functions. | |
0bca7ded | 1294 | |
be672e08 JL |
1295 | 2013-04-03 Jeff Law <law@redhat.com> |
1296 | ||
1297 | PR tree-optimization/56799 | |
33159866 UB |
1298 | * tree-ssa-dom.c (record_equivalences_from_incoming_edge): Bring |
1299 | back test for widening conversion erroneously dropped in prior change. | |
be672e08 | 1300 | |
9d821fa5 KT |
1301 | 2013-04-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
1302 | ||
1303 | PR target/56809 | |
1304 | * config/aarch64/aarch64.c (is_jump_table): Use next_active_insn | |
1305 | instead of next_real_insn. | |
1306 | ||
71c581e7 MP |
1307 | 2013-04-03 Marek Polacek <polacek@redhat.com> |
1308 | ||
1309 | PR sanitizer/55702 | |
33159866 | 1310 | * tsan.c (instrument_func_exit): Allow BUILT_IN_RETURN functions. |
71c581e7 | 1311 | |
4a32ef80 KT |
1312 | 2013-04-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
1313 | ||
1314 | PR target/56809 | |
1315 | * config/arm/arm.c (is_jump_table): Use next_active_insn instead of | |
1316 | next_real_insn. | |
1317 | (thumb1_output_casesi): Likewise. | |
1318 | (thumb2_output_casesi): Likewise. | |
1319 | ||
1b2253d4 RB |
1320 | 2013-04-03 Richard Biener <rguenther@suse.de> |
1321 | ||
1322 | PR tree-optimization/56817 | |
1323 | * tree-ssa-loop-ivcanon.c (tree_unroll_loops_completely): | |
1324 | Split out ... | |
1325 | (tree_unroll_loops_completely_1): ... new function to manually | |
1326 | walk the loop tree, properly defering outer loops of unrolled | |
1327 | loops to later iterations. | |
1328 | ||
38000232 MG |
1329 | 2013-04-03 Marc Glisse <marc.glisse@inria.fr> |
1330 | ||
1331 | * tree-vect-stmts.c (vectorizable_store): Accept BIT_FIELD_REF. | |
1332 | (vectorizable_load): Likewise. | |
1333 | * tree-vect-slp.c (vect_build_slp_tree): Likewise. | |
1334 | * tree-vect-data-refs.c (vect_create_data_ref_ptr): Handle VECTOR_TYPE. | |
1335 | ||
3fa35298 MG |
1336 | 2013-04-03 Marc Glisse <marc.glisse@inria.fr> |
1337 | ||
1338 | * tree-flow-inline.h (get_addr_base_and_unit_offset_1): Handle | |
1339 | BIT_FIELD_REF. | |
1340 | ||
b3d45ff0 UW |
1341 | 2013-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
1342 | ||
1343 | * config/spu/spu.c (emit_nop_for_insn): Handle JUMP_TABLE_DATA. | |
1344 | ||
ec9202a8 BC |
1345 | 2013-04-03 Bin Cheng <bin.cheng@arm.com> |
1346 | ||
1347 | * rtl.h (AUTO_INC_DEC): Fix typo of HAVE_POST_MODIFY_DISP. | |
1348 | ||
6805bd36 MG |
1349 | 2013-04-03 Marc Glisse <marc.glisse@inria.fr> |
1350 | ||
1351 | PR tree-optimization/56790 | |
33159866 UB |
1352 | * fold-const.c (fold_ternary_loc) <VEC_COND_EXPR>: Add constant |
1353 | folding. | |
6805bd36 | 1354 | |
da694a77 MG |
1355 | 2013-04-03 Marc Glisse <marc.glisse@inria.fr> |
1356 | ||
1357 | * simplify-rtx.c (simplify_binary_operation_1) <VEC_SELECT>: | |
1358 | Handle VEC_MERGE. | |
1359 | (simplify_ternary_operation) <VEC_MERGE>: Use unsigned HOST_WIDE_INT | |
1360 | for masks. Test for side effects. Handle nested VEC_MERGE. Handle | |
1361 | equal arguments. | |
1362 | ||
4e7d7b3d JJ |
1363 | 2013-04-03 Jakub Jelinek <jakub@redhat.com> |
1364 | ||
1365 | PR c/19449 | |
1366 | * tree.h (force_folding_builtin_constant_p): New decl. | |
1367 | * builtins.c (force_folding_builtin_constant_p): New variable. | |
1368 | (fold_builtin_constant_p): Fold immediately also if | |
1369 | force_folding_builtin_constant_p. | |
1370 | ||
e6c9d234 RB |
1371 | 2013-04-03 Richard Biener <rguenther@suse.de> |
1372 | ||
1373 | PR tree-optimization/56812 | |
1374 | * tree-vect-data-refs.c (vect_slp_analyze_data_ref_dependence): | |
1375 | DRs of the same interleaving chain are independent. | |
1376 | ||
984d07dd JM |
1377 | 2013-04-02 Jason Merrill <jason@redhat.com> |
1378 | ||
1379 | * gdbinit.in (pbb): Use debug fn. | |
1380 | ||
622849c9 LC |
1381 | 2013-04-02 Lawrence Crowl <crowl@google.com> |
1382 | ||
1383 | * sese.h (struct ivtype_map_elt_s): Remove unused. | |
1384 | (extern debug_ivtype_map): Remove unused. | |
1385 | (extern eq_ivtype_map_elts): Remove unused. | |
1386 | * sese.c (debug_ivtype_map): Removed unused. | |
1387 | (debug_ivtype_map_1): Removed unused. | |
1388 | (debug_ivtype_elt): Remove unused. | |
1389 | (eq_ivtype_map_elts): Remove unused. | |
1390 | ||
1391 | ||
82c0e1a0 KT |
1392 | 2013-04-02 Kai Tietz <ktietz@redhat.com> |
1393 | ||
1394 | PR target/52790 | |
1395 | * config/i386/cygming.h (SUB_TARGET_RECORD_STUB): New sub-target macro. | |
1396 | * config/i386/i386-protos.h (i386_pe_record_stub): Add new prototype. | |
33159866 UB |
1397 | * config/i386/i386.c (legitimize_pe_coff_extern_decl): New static |
1398 | function. | |
82c0e1a0 KT |
1399 | (legitimize_pe_coff_symbol): Likewise. |
1400 | (is_imported_p): New helper-function. | |
1401 | (ix86_option_override_internal): Make MEDIUM_PIC the default code-model | |
1402 | for Windows x64 targets. | |
1403 | (ix86_expand_prologue): Optimize for pe-coff targets. | |
1404 | (ix86_expand_split_stack_prologue): Adjust for pe-coff targets. | |
1405 | (legitimate_pic_address_disp_p): Adjust for x64 pe-coff to support | |
1406 | medium/large code-model. | |
1407 | (legitimize_pic_address): Likewise. | |
1408 | (legitimize_tls_address): Likewise. | |
1409 | (ix86_expand_call): Likewise. | |
1410 | (x86_output_mi_thunk): Likewise. | |
1411 | (get_dllimport_decl): Add new beimport argument. | |
1412 | (construct_plt_address): Don't assert for x64 pe-coff targets. | |
1413 | * config/i386/i386.h (PIC_OFFSET_TABLE_REGNUM): Adjust for x64 pe-coff | |
1414 | targets. | |
1415 | (SYMBOL_FLAG_STUBVAR): New macro. | |
1416 | (SYMBOL_REF_STUBVAR_P): Likewise. | |
1417 | * config/i386/winnt.c (stub_list): New structure. | |
1418 | (stub_head): New local variable. | |
1419 | (i386_pe_record_stub): New function. | |
1420 | (i386_pe_file_end): Emit refptr-stubs. | |
1421 | ||
5d751b0c JJ |
1422 | 2013-04-02 Jakub Jelinek <jakub@redhat.com> |
1423 | ||
09bb4c99 JJ |
1424 | PR rtl-optimization/56745 |
1425 | * ifcvt.c (cond_exec_find_if_block): Don't try to optimize | |
1426 | if then_bb has no successors and else_bb is EXIT_BLOCK_PTR. | |
1427 | ||
a1d8947a JJ |
1428 | PR c++/34949 |
1429 | * tree-ssa-alias.c (stmt_kills_ref_p_1): If base != ref->base | |
1430 | and both of them are MEM_REFs, just compare first argument for | |
1431 | equality and attempt to deal even with differing offsets. | |
1432 | ||
5d751b0c JJ |
1433 | PR c++/34949 |
1434 | * tree-cfg.c (verify_gimple_assign_single): Allow lhs | |
1435 | of gimple_clobber_p to be MEM_REF. | |
1436 | * gimplify.c (gimplify_modify_expr): Gimplify *to_p of | |
1437 | an assignment from TREE_CLOBBER_P. Allow it to be MEM_REF | |
1438 | after gimplification. | |
1439 | * asan.c (get_mem_ref_of_assignment): Don't instrument | |
1440 | gimple_clobber_p stmts. | |
1441 | * tree-ssa-dse.c (dse_optimize_stmt): Allow DSE of | |
1442 | gimple_clobber_p stmt if they have MEM_REF lhs and | |
1443 | are dead because of another gimple_clobber_p stmt. | |
1444 | * tree-ssa-live.c (clear_unused_block_pointer): Treat | |
1445 | gimple_clobber_p stmts like debug stmts. | |
1446 | (remove_unused_locals): Remove clobbers with MEM_REF lhs | |
1447 | that refer to unused VAR_DECLs or uninitialized values. | |
1448 | * tree-sra.c (sra_ipa_reset_debug_stmts): Also remove | |
1449 | gimple_clobber_p stmts if they refer to removed parameters. | |
1450 | (get_repl_default_def_ssa_name, sra_ipa_modify_expr): Fix up | |
1451 | formatting. | |
1452 | ||
e594716a UB |
1453 | 2013-04-02 Uros Bizjak <ubizjak@gmail.com> |
1454 | ||
1455 | * config/i386/i386.md (*testqi_ext_3): Merge with *testqi_ext_3_rex64 | |
1456 | using SWI48 mode attribute. | |
1457 | ||
7a80735b WM |
1458 | 2013-04-02 Wei Mi <wmi@google.com> |
1459 | ||
1460 | * config/i386/i386.c (ix86_rtx_costs): Set proper rtx cost for | |
1461 | ashl<mode>3_mask, *<shift_insn><mode>3_mask and | |
1462 | *<rotate_insn><mode>3_mask in i386.md. | |
1463 | ||
f423a9e4 AI |
1464 | 2013-04-02 Alexander Ivchenko <alexander.ivchenko@intel.com> |
1465 | ||
1466 | * config.gcc (arm*-*-linux-*): Remove duplicate t-linux-android. | |
1467 | ||
90eb75f2 RB |
1468 | 2013-04-02 Richard Biener <rguenther@suse.de> |
1469 | ||
1470 | PR tree-optimization/56778 | |
1471 | * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): | |
1472 | Runtime alias tests are not supported for gather loads. | |
1473 | * tree-vect-loop-manip.c (vect_loop_versioning): Insert | |
1474 | stmts referenced from SSA operands before updating SSA form. | |
1475 | ||
d8c69a92 IC |
1476 | 2013-04-02 Ian Caulfield <ian.caulfield@arm.com> |
1477 | Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> | |
1478 | ||
1479 | * config/arm/arm-arches.def (armv8-a): Default to cortex-a53. | |
e594716a UB |
1480 | * config/arm/t-arm (MD_INCLUDES): Depend on cortex-a53.md. |
1481 | * config/arm/cortex-a53.md: New file. | |
1482 | * config/arm/bpabi.h (BE8_LINK_SPEC): Handle cortex-a53. | |
1483 | * config/arm/arm.md (generic_sched, generic_vfp): Handle cortex-a53. | |
1484 | * config/arm/arm.c (arm_issue_rate): Likewise. | |
1485 | * config/arm/arm-tune.md: Regenerate | |
1486 | * config/arm/arm-tables.opt: Regenerate. | |
1487 | * config/arm/arm-cores.def: Add cortex-a53. | |
d8c69a92 | 1488 | |
239eb04c ZC |
1489 | 2013-04-02 Zhenqiang Chen <zhenqiang.chen@arm.com> |
1490 | ||
1491 | * config/arm/uclinux-elf.h: Add %L to LINK_GCC_C_SEQUENCE_SPEC for | |
1492 | non-static link. | |
1493 | ||
c902d3c8 SN |
1494 | 2013-04-02 Sofiane Naci <sofiane.naci@arm.com> |
1495 | ||
d8c69a92 IC |
1496 | * config/aarch64/aarch64.md (*mov<mode>_aarch64): Add variants for |
1497 | scalar load/store operations using B/H registers. | |
c902d3c8 SN |
1498 | (*zero_extend<SHORT:mode><GPI:mode>2_aarch64): Likewise. |
1499 | ||
051d0e2f SN |
1500 | 2013-04-02 Sofiane Naci <sofiane.naci@arm.com> |
1501 | ||
1502 | * config/aarch64/aarch64.md (*mov<mode>_aarch64): Add alternatives for | |
1503 | scalar move. | |
1504 | * config/aarch64/aarch64.c | |
1505 | (aarch64_simd_scalar_immediate_valid_for_move): New. | |
1506 | * config/aarch64/aarch64-protos.h | |
1507 | (aarch64_simd_scalar_immediate_valid_for_move): New. | |
1508 | * config/aarch64/constraints.md (Dh, Dq): New. | |
1509 | * config/aarch64/iterators.md (hq): New. | |
1510 | ||
0ee1e3d9 EB |
1511 | 2013-04-02 Eric Botcazou <ebotcazou@adacore.com> |
1512 | ||
1513 | * reorg.c (get_branch_condition): Deal with conditional returns. | |
1514 | (fill_simple_delay_slots): Remove dead code dealing with jumps. | |
1515 | ||
136fb3f7 WM |
1516 | 2013-04-01 Wei Mi <wmi@google.com> |
1517 | ||
1518 | * config/i386/i386.md (*ashl<mode>3_mask): Rewrite as define_insn. | |
1519 | Truncate operand 2 using %b asm operand modifier. | |
1520 | (*<shift_insn><mode>3_mask): Ditto. | |
1521 | (*<rotate_insn><mode>3_mask): Ditto. | |
1522 | ||
6388c738 SB |
1523 | 2013-04-01 Steven Bosscher <steven@gcc.gnu.org> |
1524 | ||
1525 | PR middle-end/56798 | |
1526 | * cfgbuild.c (inside_basic_block_p): Restore check broken at r197234. | |
1527 | ||
f7a4d826 KK |
1528 | 2013-03-31 Kaz Kojima <kkojima@gcc.gnu.org> |
1529 | ||
1530 | * config/sh/sh.md (casesi_worker_1): Use next_active_insn instead | |
1531 | of next_real_insn. | |
1532 | (casesi_worker_2, casesi_shift_media, casesi_load_media): Likewise. | |
1533 | ||
4b943a49 LC |
1534 | 2013-03-30 Lawrence Crowl <crowl@google.com> |
1535 | ||
1536 | * dse.c (clear_alias_sets): Remove never set. | |
1537 | (disqualified_clear_alias_sets): Remove never set. | |
1538 | (clear_alias_mode_pool): Remove never set. | |
1539 | (dse_step0): Remove condition that is never true. | |
1540 | (canon_address): Remove condition that is never true. | |
1541 | (dse_step7): Remove condition that is never true. | |
1542 | (rest_of_handle_dse): Remove condition that is never true. | |
1543 | (rest_of_handle_dse::did_global): Remove never read from above. | |
1544 | (dse_step2_spill): Remove never called from above. | |
1545 | (dse_step5_spill): Remove never called from above. | |
1546 | ||
39718607 SB |
1547 | 2013-03-30 Steven Bosscher <steven@gcc.gnu.org> |
1548 | ||
da5c6bde SB |
1549 | * doc/md.texi (Standard Names) <casesi>: Update documentation for |
1550 | JUMP_TABLE_DATA changes. | |
1551 | * doc/tm.texi.in (Dispatch Tables) <ASM_OUTPUT_CASE_LABEL>: Likewise. | |
1552 | * doc/rtl.texi (Flags) <INSN_DELETED_P, SCHED_GROUP_P>: Likewise. | |
1553 | (Insns) <jump_table_data>: New entry. | |
1554 | * doc/tm.texi: Regenerate. | |
1555 | ||
39718607 SB |
1556 | * cfgrtl.c (fixup_reorder_chain): Do not emit barriers to BB_FOOTER. |
1557 | ||
1558 | * postreload-gcse.c (bb_has_well_behaved_predecessors): Correct test | |
1559 | for table jump at the end of a basic block using tablejump_p. | |
1560 | * targhooks.c (default_invalid_within_doloop): Likewise. | |
1561 | * config/rs6000/rs6000.c (TARGET_INVALID_WITHIN_DOLOOP): Remove | |
1562 | target hook implementation that is identical to the default hook. | |
1563 | (rs6000_invalid_within_doloop): Remove. | |
1564 | ||
1565 | * bb-reorder.c (fix_crossing_unconditional_branches): Remove set but | |
1566 | unused variable from tablejump_p call. | |
1567 | ||
1568 | * rtl.def (JUMP_TABLE_DATA): New RTX_INSN object. | |
1569 | * rtl.h (RTX_PREV, RTX_NEXT): Adjust for new JUMP_TABLE_DATA. | |
1570 | (INSN_DELETED_P): Likewise. | |
1571 | (emit_jump_table_data): New prototype. | |
1572 | * gengtype.c (adjust_field_rtx_def): Handle JUMP_TABLE_DATA fields | |
1573 | after 4th as unused. | |
1574 | * print-rtl.c (print_rtl): Handle JUMP_TABLE_DATA. | |
1575 | * sched-vis.c (print_insn): Likewise. | |
1576 | * emit-rtl.c (active_insn_p): Consider JUMP_TABLE_DATA an active | |
1577 | insn for compatibility with back ends that use next_active_insn to | |
1578 | identify jump table data. | |
1579 | (set_insn_deleted): Remove no longer useful JUMP_TABLE_DATA_P check. | |
1580 | (remove_insn): Likewise. | |
1581 | (emit_insn): Do not accept JUMP_TABLE_DATA objects in insn chains | |
1582 | to be emitted. | |
1583 | (emit_debug_insn, emit_jump_insn, emit_call_insn, emit_label): Idem. | |
1584 | (emit_jump_table_data): New function. | |
1585 | ||
1586 | * cfgbuild.c (inside_basic_block_p): A JUMP_INSN is always inside a | |
1587 | basic block, a JUMP_TABLE_DATA never is. | |
1588 | (control_flow_insn_p): JUMP_TABLE_DATA is not a control flow insn. | |
1589 | * cfgrtl.c (duplicate_insn_chain): Split handling of JUMP_TABLE_DATA | |
1590 | off from code handling real insns. | |
1591 | * final.c (get_attr_length_1): Simplify for JUMP_INSNs. | |
1592 | * function.c (instantiate_virtual_regs): Remove JUMP_TABLE_DATA_P | |
1593 | test, now redundant because JUMP_TABLE_DATA is not an INSN_P insn. | |
1594 | * gcse.c (insert_insn_end_basic_block): Likewise, JUMP_TABLE_DATA_P | |
1595 | is not a NONDEBUG_INSN_P. | |
1596 | * ira-costs.c (scan_one_insn): Likewise. | |
1597 | * jump.c (mark_all_labels): Likewise. | |
1598 | (mark_jump_label_1): Likewise. | |
1599 | * lra-eliminations.c (eliminate_regs_in_insn): Likewise. | |
1600 | * lra.c (get_insn_freq): Expect all insns reaching here to be in | |
1601 | a basic block. | |
1602 | (check_rtl): Remove JUMP_TABLE_DATA_P test, not a NONDEBUG_INSN_P insn. | |
1603 | * predict.c (expensive_function_p): Use FOR_BB_INSNS. | |
1604 | * reload1.c (calculate_needs_all_insns): Call set_label_offsets for | |
1605 | JUMP_TABLE_DATA_P insns. | |
1606 | (calculate_elim_costs_all_insns): Likewise. | |
1607 | (set_label_offsets): Recurse on the PATTERN of JUMP_TABLE_DATA insns. | |
1608 | (elimination_costs_in_insn): Remove redundant JUMP_TABLE_DATA_P test. | |
1609 | (delete_output_reload): Code style fixups. | |
1610 | * reorg.c (dbr_schedule): Move JUMP_TABLE_DATA_P up to avoid setting | |
1611 | insn flags on this non-insn. | |
1612 | * sched-rgn.c (add_branch_dependences): Treat JUMP_TABLE_DATA insns | |
1613 | as scheduling barriers, for pre-change compatibility. | |
1614 | * stmt.c (emit_case_dispatch_table): Emit jump table data not as | |
1615 | JUMP_INSN objects but instead as JUMP_TABLE_DATA objects. | |
1616 | ||
1617 | * config/alpha/alpha.c (alpha_does_function_need_gp): Remove | |
1618 | redundant JUMP_TABLE_DATA_P test. | |
1619 | * config/arm/arm.c (thumb_far_jump_used_p): Likewise. | |
1620 | * config/frv/frv.c (frv_function_contains_far_jump): Likewise. | |
1621 | (frv_for_each_packet): Likewise. | |
1622 | * config/i386/i386.c (min_insn_size): Likewise. | |
1623 | (ix86_avoid_jump_mispredicts): Likewise. | |
1624 | * config/m32r/m32r.c (m32r_is_insn): Likewise. | |
1625 | * config/mep/mep.c (mep_reorg_erepeat): Likewise. | |
1626 | * config/mips/mips.c (USEFUL_INSN_P): Likewise. | |
1627 | (mips16_insn_length): Robustify. | |
1628 | (mips_has_long_branch_p): Remove redundant JUMP_TABLE_DATA_P test. | |
1629 | (mips16_split_long_branches): Likewise. | |
1630 | * config/pa/pa.c (pa_combine_instructions): Likewise. | |
1631 | * config/rs6000/rs6000.c (get_next_active_insn): Treat | |
1632 | JUMP_TABLE_DATA objects as active insns, like in active_insn_p. | |
1633 | * config/s390/s390.c (s390_chunkify_start): Treat JUMP_TABLE_DATA | |
1634 | as contributing to pool range lengths. | |
1635 | * config/sh/sh.c (find_barrier): Restore check for ADDR_DIFF_VEC. | |
1636 | Remove redundant JUMP_TABLE_DATA_P test. | |
1637 | (sh_loop_align): Likewise. | |
1638 | (split_branches): Likewise. | |
1639 | (sh_insn_length_adjustment): Likewise. | |
1640 | * config/spu/spu.c (get_branch_target): Likewise. | |
1641 | ||
0208f7da JH |
1642 | 2013-03-29 Jan Hubicka <jh@suse.cz> |
1643 | ||
1644 | * lto-cgraph.c (output_profile_summary, input_profile_summary): Use | |
1645 | gcov streaming; stream hot bb threshold to ltrans. | |
1646 | * predict.c (get_hot_bb_threshold): Break out from .... | |
1647 | (maybe_hot_count_p): ... here. | |
1648 | (set_hot_bb_threshold): New function. | |
1649 | * lto-section-in.c (lto_section_name): Add profile. | |
1650 | * profile.h (get_hot_bb_threshold, set_hot_bb_threshold): Declare. | |
1651 | * ipa.c: Include hash-table.h, tree-inline.h, profile.h, lto-streamer.h | |
1652 | and data-streamer.h | |
1653 | (histogram_entry): New structure. | |
1654 | (histogram, histogram_pool): New global vars. | |
1655 | (histogram_hash): New structure. | |
1656 | (histogram_hash::hash): New method. | |
1657 | (histogram_hash::equal): Likewise. | |
1658 | (account_time_size): New function. | |
1659 | (cmp_counts): New function. | |
1660 | (dump_histogram): New function. | |
1661 | (ipa_profile_generate_summary): New function. | |
1662 | (ipa_profile_write_summary): New function. | |
1663 | (ipa_profile_read_summary): New function. | |
1664 | (ipa_profile): Decide on threshold. | |
e594716a UB |
1665 | (pass_ipa_profile): Add ipa_profile_write_summary and |
1666 | ipa_profile_read_summary. | |
0208f7da JH |
1667 | * Makefile.in (ipa.o): Update dependencies. |
1668 | * lto-streamer.h (LTO_section_ipa_profile): New section. | |
1669 | ||
5a6ccc94 GDR |
1670 | 2013-03-29 Gabriel Dos Reis <gdr@integrable-solutions.net> |
1671 | ||
1672 | * tree.h (VAR_P): New. | |
1673 | ||
39385fa6 PC |
1674 | 2013-03-29 Paolo Carlini <paolo.carlini@oracle.com> |
1675 | ||
1676 | PR lto/56777 | |
1677 | * doc/invoke.texi ([-fwhole-program]): Fix typo. | |
1678 | ||
34f0d87a SB |
1679 | 2013-03-29 Steven Bosscher <steven@gcc.gnu.org> |
1680 | ||
1681 | * cfgbuild.c (inside_basic_block_p): Use JUMP_TABLE_DATA_P in lieu | |
1682 | of tests for JUMP_P and a ADDR_DIFF_VEC or ADDR_VEC pattern. | |
1683 | (control_flow_insn_p): Likewise. | |
1684 | * cfgrtl.c (duplicate_insn_chain): Likewise. | |
1685 | * final.c (get_attr_length_1): Likewise. | |
1686 | (shorten_branches): Likewise. | |
1687 | (final_scan_insn): Likewise. | |
1688 | * function.c (instantiate_virtual_regs): Likewise. | |
1689 | * gcse.c (insert_insn_end_basic_block): Likewise. | |
1690 | * ira-costs.c (scan_one_insn): Likewise. | |
1691 | * lra-eliminations.c (eliminate_regs_in_insn): Likewise. | |
1692 | * lra.c (check_rtl): Likewise. | |
1693 | * reload1.c (elimination_costs_in_insn): Likewise. | |
1694 | * reorg.c (follow_jumps): Likewise. | |
1695 | ||
1696 | * config/arm/arm.c (is_jump_table): Use JUMP_TABLE_DATA_P in lieu | |
1697 | of tests for JUMP_P and a ADDR_DIFF_VEC or ADDR_VEC pattern. | |
1698 | (thumb_far_jump_used_p): Likewise. | |
1699 | * config/bfin/bfin.c (workaround_rts_anomaly): Likewise. | |
1700 | (workaround_speculation): Likewise. | |
1701 | (add_sched_insns_for_speculation): Likewise. | |
1702 | * config/c6x/c6x.c (reorg_emit_nops): Likewise. | |
1703 | * config/frv/frv.c (frv_function_contains_far_jump): Likewise. | |
1704 | (frv_for_each_packet): Likewise. | |
1705 | * config/i386/i386.c (ix86_avoid_jump_mispredicts): Likewise. | |
1706 | * config/ia64/ia64.c (emit_all_insn_group_barriers): Likewise. | |
1707 | (final_emit_insn_group_barriers): Likewise. | |
1708 | * config/m32r/m32r.c (m32r_is_insn): Likewise. | |
1709 | * config/mips/mips.c (USEFUL_INSN_P): Likewise. | |
1710 | (mips16_insn_length): Likewise. | |
1711 | * config/pa/pa.c (pa_reorg): Likewise. | |
1712 | (pa_combine_instructions): Likewise. | |
1713 | * config/rs6000/rs6000.c (rs6000_invalid_within_doloop): Likewise. | |
1714 | * config/sh/sh.c (fixup_addr_diff_vecs): Likewise. | |
1715 | (sh_reorg): Likewise. | |
1716 | (split_branches): Likewise. | |
1717 | * config/spu/spu.c (get_branch_target): Likewise. | |
1718 | ||
1719 | * config/s390/s390.c (s390_chunkify_start): Simplify logic using | |
1720 | JUMP_TABLE_DATA_P. | |
1721 | ||
4ac761b0 KY |
1722 | 2013-03-29 Kirill Yukhin <kirill.yukhin@intel.com> |
1723 | ||
39385fa6 | 1724 | * config/i386/avx2intrin.h (_mm256_broadcastsi128_si256): |
4ac761b0 KY |
1725 | Fix declaration name. |
1726 | ||
58a49189 LC |
1727 | 2013-03-28 Lawrence Crowl <crowl@google.com> |
1728 | ||
1729 | * graphds.h (struct graph.indicies): Remove unused. | |
1730 | * graphite-poly.h (struct graph.original_pddrs): Remove unused. | |
1731 | (SCOP_ORIGINAL_PDDRS): Remove unused. | |
1732 | * sese.h (extern insert_loop_close_phis): Removed unused. | |
1733 | (extern insert_guard_phis): Removed unused. | |
1734 | (extern ivtype_map_elt_info): Removed unused. | |
1735 | (new_ivtype_map_elt): Removed unused. | |
1736 | * sese.c (ivtype_map_elt_info): Removed unused. | |
1737 | ||
7b3b6ae4 LC |
1738 | 2013-03-28 Lawrence Crowl <crowl@google.com> |
1739 | ||
1740 | * Makefile.in: Add several missing include dependences. | |
1741 | (DUMPFILE_H): New. | |
1742 | (test-dump.o): New. This object is not added to any executable, | |
1743 | but is present for ad-hoc testing. | |
1744 | * bitmap.c | |
1745 | (debug (const bitmap_head_def &)): New. | |
1746 | (debug (const bitmap_head_def *)): New. | |
1747 | * bitmap.h | |
1748 | (extern debug (const bitmap_head_def &)): New. | |
1749 | (extern debug (const bitmap_head_def *)): New. | |
1750 | * cfg.c | |
1751 | (debug (edge_def &)): New. | |
1752 | (debug (edge_def *)): New. | |
1753 | * cfghooks.c | |
1754 | (debug (basic_block_def &)): New. | |
1755 | (debug (basic_block_def *)): New. | |
1756 | * dumpfile.h | |
1757 | (dump_node (const_tree, int, FILE *)): Correct source file. | |
1758 | * dwarf2out.c | |
1759 | (debug (die_struct &)): New. | |
1760 | (debug (die_struct *)): New. | |
1761 | * dwarf2out.h | |
1762 | (extern debug (die_struct &)): New. | |
1763 | (extern debug (die_struct *)): New. | |
1764 | * gimple-pretty-print.c | |
1765 | (debug (gimple_statement_d &)): New. | |
1766 | (debug (gimple_statement_d *)): New. | |
1767 | * gimple-pretty-print.h | |
1768 | (extern debug (gimple_statement_d &)): New. | |
1769 | (extern debug (gimple_statement_d *)): New. | |
1770 | * ira-build.c | |
1771 | (debug (ira_allocno_copy &)): New. | |
1772 | (debug (ira_allocno_copy *)): New. | |
1773 | (debug (ira_allocno &)): New. | |
1774 | (debug (ira_allocno *)): New. | |
1775 | * ira-int.h | |
1776 | (extern debug (ira_allocno_copy &)): New. | |
1777 | (extern debug (ira_allocno_copy *)): New. | |
1778 | (extern debug (ira_allocno &)): New. | |
1779 | (extern debug (ira_allocno *)): New. | |
1780 | * ira-lives.c | |
1781 | (debug (live_range &)): New. | |
1782 | (debug (live_range *)): New. | |
1783 | * lra-int.h | |
1784 | (debug (lra_live_range &)): New. | |
1785 | (debug (lra_live_range *)): New. | |
1786 | * lra-lives.c | |
1787 | (debug (lra_live_range &)): New. | |
1788 | (debug (lra_live_range *)): New. | |
1789 | * omega.c | |
1790 | (debug (omega_pb_d &)): New. | |
1791 | (debug (omega_pb_d *)): New. | |
1792 | * omega.h | |
1793 | (extern debug (omega_pb_d &)): New. | |
1794 | (extern debug (omega_pb_d *)): New. | |
1795 | * print-rtl.c | |
1796 | (debug (const rtx_def &)): New. | |
1797 | (debug (const rtx_def *)): New. | |
1798 | * print-tree.c | |
1799 | (debug_tree (tree): Move within file. | |
1800 | (debug_raw (const tree_node &)): New. | |
1801 | (debug_raw (const tree_node *)): New. | |
1802 | (dump_tree_via_hooks (const tree_node *, int)): New. | |
1803 | (debug (const tree_node &)): New. | |
1804 | (debug (const tree_node *)): New. | |
1805 | (debug_verbose (const tree_node &)): New. | |
1806 | (debug_verbose (const tree_node *)): New. | |
1807 | (debug_head (const tree_node &)): New. | |
1808 | (debug_head (const tree_node *)): New. | |
1809 | (debug_body (const tree_node &)): New. | |
1810 | (debug_body (const tree_node *)): New. | |
1811 | (debug_vec_tree (tree): Move and reimplement in terms of dump. | |
1812 | (debug (vec<tree, va_gc> &)): New. | |
1813 | (debug (vec<tree, va_gc> *)): New. | |
1814 | * rtl.h | |
1815 | (extern debug (const rtx_def &)): New. | |
1816 | (extern debug (const rtx_def *)): New. | |
1817 | * sbitmap.c | |
1818 | (debug_raw (simple_bitmap_def &)): New. | |
1819 | (debug_raw (simple_bitmap_def *)): New. | |
1820 | (debug (simple_bitmap_def &)): New. | |
1821 | (debug (simple_bitmap_def *)): New. | |
1822 | * sbitmap.h | |
1823 | (extern debug (simple_bitmap_def &)): New. | |
1824 | (extern debug (simple_bitmap_def *)): New. | |
1825 | (extern debug_raw (simple_bitmap_def &)): New. | |
1826 | (extern debug_raw (simple_bitmap_def *)): New. | |
1827 | * sel-sched-dump.c | |
1828 | (debug (vinsn_def &)): New. | |
1829 | (debug (vinsn_def *)): New. | |
1830 | (debug_verbose (vinsn_def &)): New. | |
1831 | (debug_verbose (vinsn_def *)): New. | |
1832 | (debug (expr_def &)): New. | |
1833 | (debug (expr_def *)): New. | |
1834 | (debug_verbose (expr_def &)): New. | |
1835 | (debug_verbose (expr_def *)): New. | |
1836 | (debug (vec<rtx> &)): New. | |
1837 | (debug (vec<rtx> *)): New. | |
1838 | * sel-sched-dump.h | |
1839 | (extern debug (vinsn_def &)): New. | |
1840 | (extern debug (vinsn_def *)): New. | |
1841 | (extern debug_verbose (vinsn_def &)): New. | |
1842 | (extern debug_verbose (vinsn_def *)): New. | |
1843 | (extern debug (expr_def &)): New. | |
1844 | (extern debug (expr_def *)): New. | |
1845 | (extern debug_verbose (expr_def &)): New. | |
1846 | (extern debug_verbose (expr_def *)): New. | |
1847 | (extern debug (vec<rtx> &)): New. | |
1848 | (extern debug (vec<rtx> *)): New. | |
1849 | * sel-sched-ir.h | |
1850 | (_list_iter_cond_expr): Make inline instead of static. | |
1851 | * sreal.c | |
1852 | (debug (sreal &)): New. | |
1853 | (debug (sreal *)): New. | |
1854 | * sreal.h | |
1855 | (extern debug (sreal &)): New. | |
1856 | (extern debug (sreal *)): New. | |
1857 | * tree.h | |
1858 | (extern debug_raw (const tree_node &)): New. | |
1859 | (extern debug_raw (const tree_node *)): New. | |
1860 | (extern debug (const tree_node &)): New. | |
1861 | (extern debug (const tree_node *)): New. | |
1862 | (extern debug_verbose (const tree_node &)): New. | |
1863 | (extern debug_verbose (const tree_node *)): New. | |
1864 | (extern debug_head (const tree_node &)): New. | |
1865 | (extern debug_head (const tree_node *)): New. | |
1866 | (extern debug_body (const tree_node &)): New. | |
1867 | (extern debug_body (const tree_node *)): New. | |
1868 | (extern debug (vec<tree, va_gc> &)): New. | |
1869 | (extern debug (vec<tree, va_gc> *)): New. | |
1870 | * tree-cfg.c | |
1871 | (debug (struct loop &)): New. | |
1872 | (debug (struct loop *)): New. | |
1873 | (debug_verbose (struct loop &)): New. | |
1874 | (debug_verbose (struct loop *)): New. | |
1875 | * tree-dump.c: Add header dependence. | |
1876 | * tree-flow.h | |
1877 | (extern debug (struct loop &)): New. | |
1878 | (extern debug (struct loop *)): New. | |
1879 | (extern debug_verbose (struct loop &)): New. | |
1880 | (extern debug_verbose (struct loop *)): New. | |
1881 | * tree-data-ref.c | |
1882 | (debug (data_reference &)): New. | |
1883 | (debug (data_reference *)): New. | |
1884 | (debug (vec<data_reference_p> &)): New. | |
1885 | (debug (vec<data_reference_p> *)): New. | |
1886 | (debug (vec<ddr_p> &)): New. | |
1887 | (debug (vec<ddr_p> *)): New. | |
1888 | * tree-data-ref.h | |
1889 | (extern debug (data_reference &)): New. | |
1890 | (extern debug (data_reference *)): New. | |
1891 | (extern debug (vec<data_reference_p> &)): New. | |
1892 | (extern debug (vec<data_reference_p> *)): New. | |
1893 | (extern debug (vec<ddr_p> &)): New. | |
1894 | (extern debug (vec<ddr_p> *)): New. | |
1895 | * tree-ssa-alias.c | |
1896 | (debug (pt_solution &)): New. | |
1897 | (debug (pt_solution *)): New. | |
1898 | * tree-ssa-alias.h | |
1899 | (extern debug (pt_solution &)): New. | |
1900 | (extern debug (pt_solution *)): New. | |
1901 | * tree-ssa-alias.c | |
1902 | (debug (_var_map &)): New. | |
1903 | (debug (_var_map *)): New. | |
1904 | (debug (tree_live_info_d &)): New. | |
1905 | (debug (tree_live_info_d *)): New. | |
1906 | * tree-ssa-alias.h | |
1907 | (extern debug (_var_map &)): New. | |
1908 | (extern debug (_var_map *)): New. | |
1909 | (extern debug (tree_live_info_d &)): New. | |
1910 | (extern debug (tree_live_info_d *)): New. | |
1911 | ||
be77e1e5 JH |
1912 | 2013-03-28 Jan Hubicka <jh@suse.cz> |
1913 | ||
1914 | * lto-cgraph.c (merge_profile_summaries): Fix overflows. | |
1915 | ||
777e6976 IB |
1916 | 2013-03-28 Ian Bolton <ian.bolton@arm.com> |
1917 | ||
1918 | * config/aarch64/aarch64.md (aarch64_can_eliminate): Keep frame | |
1919 | record only when desired or required. | |
1920 | ||
9cd347ae UB |
1921 | 2013-03-28 Uros Bizjak <ubizjak@gmail.com> |
1922 | ||
1923 | * config/i386/i386.md (*vec_extract2vdi_1): Merge with | |
1924 | *vec_extractv2di_1_rex64. Use x64 isa attribute. | |
1925 | ||
33159866 | 1926 | 2013-03-28 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
2a1d1991 N |
1927 | |
1928 | * config/aarch64/aarch64.md (*and<mode>3_compare0): New pattern. | |
1929 | (*andsi3_compare0_uxtw): New pattern. | |
1930 | (*and_<SHIFT:optab><mode>3_compare0): New pattern. | |
1931 | (*and_<SHIFT:optab>si3_compare0_uxtw): New pattern. | |
1932 | ||
89ab31c1 JH |
1933 | 2013-03-28 Jan Hubicka <jh@suse.cz> |
1934 | ||
1935 | * data-streamer-in.c (streamer_read_gcov_count): New function. | |
1936 | * gimple-streamer-out.c: Include value-prof.h. | |
1937 | (output_gimple_stmt): Output histogram. | |
1938 | (output_bb): Use streamer_write_gcov_count. | |
1939 | * value-prof.c: Include data-streamer.h | |
1940 | (dump_histogram_value): Add HIST_TYPE_MAX. | |
1941 | (stream_out_histogram_value): New function. | |
1942 | (stream_in_histogram_value): New function. | |
1943 | * value-prof.h (enum hist_type): Add HIST_TYPE_MAX. | |
1944 | (stream_out_histogram_value, stream_in_histogram_value): Declare. | |
1945 | * data-streamer-out.c (streamer_write_gcov_count): New function. | |
1946 | (streamer_write_gcov_count_stream): New function. | |
1947 | * lto-cgraph.c (lto_output_edge): Update counter streaming. | |
1948 | (lto_output_node): Likewise. | |
1949 | (input_node, input_edge): Likewise. | |
1950 | * lto-streamer-out.c (output_cfg): Update streaming. | |
1951 | * lto-streamer-in.c (input_cfg): Likewise. | |
1952 | * data-streamer.h (streamer_write_gcov_count, | |
1953 | streamer_write_gcov_count_stream, streamer_read_gcov_count): Declare. | |
1954 | * gimple-streamer-in.c: Include value-prof.h | |
1955 | (input_gimple_stmt): Input histograms. | |
1956 | (input_bb): Update profile streaming. | |
1957 | ||
e594716a | 1958 | 2013-03-28 Kenneth Zadeck <zadeck@naturalbridge.com> |
b4c73eed | 1959 | |
33159866 | 1960 | * genmodes.c (emit_max_int): New function. |
8697be17 | 1961 | (emit_insn_modes_h): Added call to emit_max_function. |
39385fa6 PC |
1962 | * doc/rtl.texi (MAX_BITSIZE_MODE_ANY_INT, MAX_BITSIZE_MODE_ANY_MODE): |
1963 | Added doc. | |
8697be17 | 1964 | * machmode.def: Fixed comment. |
89ab31c1 | 1965 | |
e594716a | 1966 | 2013-03-28 Kenneth Zadeck <zadeck@naturalbridge.com> |
8697be17 KZ |
1967 | |
1968 | * combine.c (try_combine): Removed useless assert. | |
b4c73eed KZ |
1969 | * cselib.c (rtx_equal_for_cselib_1): Removed unnecessary parens. |
1970 | ||
74946978 MP |
1971 | 2013-03-28 Marek Polacek <polacek@redhat.com> |
1972 | Richard Biener <rguenther@suse.de> | |
1973 | ||
1974 | PR tree-optimization/56695 | |
1975 | * tree-vect-stmts.c (vectorizable_condition): Unconditionally | |
1976 | build signed result of a vector comparison. | |
1977 | * tree-cfg.c (verify_gimple_comparison): Check that a result | |
1978 | of a vector comparison has signed type. | |
1979 | ||
a64b9c26 RB |
1980 | 2013-03-28 Richard Biener <rguenther@suse.de> |
1981 | ||
1982 | PR tree-optimization/37021 | |
1983 | * tree-vect-slp.c (vect_build_slp_tree): When not unrolling | |
1984 | do not restrict gaps between groups. | |
1985 | * tree-vect-stmts.c (vectorizable_load): Properly account for | |
1986 | a gap between groups. | |
1987 | ||
a9dc2a2f EB |
1988 | 2013-03-28 Eric Botcazou <ebotcazou@adacore.com> |
1989 | ||
1990 | * toplev.c (process_options): Do not disable -fomit-frame-pointer on a | |
1991 | general basis if unwind info is requested and ACCUMULATE_OUTGOING_ARGS | |
1992 | is not enabled. | |
1993 | ||
53cb97f9 GP |
1994 | 2013-03-27 Gerald Pfeifer <gerald@pfeifer.com> |
1995 | ||
1996 | * doc/invoke.texi (AVR Options): Tweak link for AVR-LibC user manual. | |
1997 | * doc/extend.texi (Named Address Spaces): Ditto. | |
1998 | (Variable Attributes): Ditto. | |
1999 | ||
b802ae5c KT |
2000 | 2013-03-27 Kai Tietz <ktietz@redhat.com> |
2001 | ||
eddae10a KT |
2002 | * config.build: Add support for cygwin x64 target. |
2003 | * config.gcc: Likewise. | |
2004 | * config.host: Likewise. | |
2005 | * configure.ac: Likewise | |
2006 | * configure: Regenerated. | |
b802ae5c | 2007 | |
8269de54 KT |
2008 | 2013-03-27 Kai Tietz <ktietz@redhat.com> |
2009 | ||
2010 | * config/i386/cygwin-stdint.h: Add support for cygwin x64 target. | |
2011 | * config/i386/t-cygwin-w64: New file. | |
2012 | * config/i386/cygwin-w64.h: New file. | |
2013 | * config/i386/cygwin.h (EXTRA_OS_CPP_BUILTINS): Extend | |
2014 | and add support for x64-cygwin target. | |
2015 | (CPP_SPEC): Likewise. | |
2016 | (CXX_WRAP_SPEC_LIST): Undefine before define. | |
2017 | (LIBGCJ_SONAME): Use 15 as version. | |
2018 | ||
f49b33cb RB |
2019 | 2013-03-27 Richard Biener <rguenther@suse.de> |
2020 | ||
2021 | PR tree-optimization/56716 | |
2022 | * tree-ssa-structalias.c (perform_var_substitution): Adjust | |
2023 | dumping for ref nodes. | |
2024 | ||
b37a6ce5 MJ |
2025 | 2013-03-27 Martin Jambor <mjambor@suse.cz> |
2026 | ||
2027 | PR tree-optimization/55334 | |
2028 | * ipa-cp.c (initialize_node_lattices): Allow IPA-CP through and to | |
2029 | restricted pointers to arrays. | |
2030 | ||
9469b9b2 GDR |
2031 | 2013-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net> |
2032 | ||
2033 | * Makefile.in (.SUFFIXES): Add .cc. | |
2034 | (.c.o): Apply same recipe for implicit rule .cc.o. | |
2035 | ||
7d24f650 RB |
2036 | 2013-03-27 Richard Biener <rguenther@suse.de> |
2037 | ||
2038 | PR tree-optimization/37021 | |
2039 | * tree-vect-data-refs.c (vect_check_strided_load): Allow | |
2040 | REALPART/IMAGPART_EXPRs around the supported refs. | |
2041 | * tree-ssa-structalias.c (find_func_aliases): Assume that | |
2042 | floating-point values are not used to transfer pointers. | |
2043 | ||
2f251a05 AI |
2044 | 2013-03-27 Alexander Ivchenko <alexander.ivchenko@intel.com> |
2045 | ||
39385fa6 PC |
2046 | * target.def (TARGET_HAS_IFUNC_P): New target hook. |
2047 | * doc/tm.texi.in (TARGET_HAS_IFUNC_P): New. | |
2048 | * doc/tm.texi: Regenerate. | |
2049 | * targhooks.h (default_has_ifunc_p): New. | |
2050 | * targhooks.c (default_has_ifunc_p): Ditto. | |
2051 | * config/linux-protos.h: New file. | |
2052 | * config/linux-android.h (TARGET_HAS_IFUNC_P): Using version of | |
2f251a05 AI |
2053 | this hook for linux which disables support of indirect functions in |
2054 | android. | |
39385fa6 PC |
2055 | * config/linux-android.c: New file. |
2056 | * config/t-linux-android.c: Ditto. | |
2057 | * config.gcc: Added new object file linux-android.o. | |
2058 | * config/i386/i386.c (ix86_get_function_versions_dispatcher): | |
2f251a05 | 2059 | Using TARGET_HAS_IFUNC hook instead of HAVE_GNU_INDIRECT_FUNCTION. |
39385fa6 | 2060 | * varasm.c (do_assemble_alias): Likewise. |
2f251a05 AI |
2061 | * configure.ac: Define HAVE_GNU_INDIRECT_FUNCTION as zero if the target |
2062 | doesn't support indirect functions. | |
2063 | * configure: Regenerate. | |
2064 | ||
78b4e425 BC |
2065 | 2013-03-27 Bin Cheng <bin.cheng@arm.com> |
2066 | ||
2067 | PR target/56102 | |
2068 | * config/arm/arm.c (thumb1_rtx_costs, thumb1_size_rtx_costs): Fix | |
2069 | rtx costs for SET/ASHIFT/ASHIFTRT/LSHIFTRT/ROTATERT patterns with | |
2070 | mult-word mode. | |
2071 | ||
a5ba7b92 AK |
2072 | 2013-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
2073 | ||
2074 | * config/s390/s390.h (TARGET_FLT_EVAL_METHOD): Define. | |
2075 | ||
be624986 TG |
2076 | 2013-03-27 Terry Guo <terry.guo@arm.com> |
2077 | ||
2078 | * config/arm/arm-cores.def: Added core cortex-r7. | |
2079 | * config/arm/arm-tune.md: Regenerated. | |
2080 | * config/arm/arm-tables.opt: Regenerated. | |
2081 | * doc/invoke.texi: Added entry for core cortex-r7. | |
2082 | ||
0a514f47 WL |
2083 | 2013-03-27 Walter Lee <walt@tilera.com> |
2084 | ||
2085 | * config/tilegx/tilegx.c (tilegx_expand_prologue): Avoid | |
2086 | double-decrement of next_scratch_regno. | |
2087 | ||
9332b0d2 WL |
2088 | 2013-03-27 Walter Lee <walt@tilera.com> |
2089 | ||
801d9b2a | 2090 | * config/tilegx/tilegx.md (insn_v1mulu): Fix predicates on |
9332b0d2 WL |
2091 | input operands. |
2092 | (insn_v1mulus): Ditto. | |
2093 | (insn_v2muls): Ditto. | |
2094 | ||
f54ea5dd WL |
2095 | 2013-03-27 Walter Lee <walt@tilera.com> |
2096 | ||
e594716a | 2097 | * config/tilegx/tilegx.h (ASM_OUTPUT_ADDR_VEC_ELT): Delete extra tab. |
f54ea5dd WL |
2098 | (ASM_OUTPUT_ADDR_DIFF_ELT): Ditto. |
2099 | ||
bf60f4ca WL |
2100 | 2013-03-27 Walter Lee <walt@tilera.com> |
2101 | ||
e594716a | 2102 | * config/tilegx/tilegx.md (*sibcall_insn): Fix type atribute for jr. |
bf60f4ca WL |
2103 | (*sibcall_value): Ditto. |
2104 | ||
e3b51eeb WL |
2105 | 2013-03-27 Walter Lee <walt@tilera.com> |
2106 | ||
2107 | * config/tilegx/tilegx.md (insn_mnz_<mode>): Replaced by ... | |
2108 | (insn_mnz_v8qi): ... this ... | |
2109 | (insn_mnz_v4hi): ... and this. Replace (const_int 0) with the | |
2110 | vector equivalent. | |
2111 | (insn_v<n>mnz): Replaced by ... | |
2112 | (insn_v1mnz): ... this ... | |
2113 | (insn_v2mnz): ... and this. Replace (const_int 0) with the vector | |
2114 | equivalent. | |
2115 | (insn_mz_<mode>): Replaced by ... | |
2116 | (insn_mz_v8qi): ... this ... | |
2117 | (insn_mz_v4hi): ... and this. Replace (const_int 0) with the | |
2118 | vector equivalent. | |
2119 | (insn_v<n>mz): Replaced by ... | |
2120 | (insn_v1mz): ... this ... | |
2121 | (insn_v2mz): ... and this. Replace (const_int 0) with the vector | |
2122 | equivalent. | |
2123 | ||
4fc7b145 EB |
2124 | 2013-03-26 Eric Botcazou <ebotcazou@adacore.com> |
2125 | ||
2126 | * doc/invoke.texi (SPARC options): Remove -mlittle-endian. | |
2127 | ||
6f33817e RM |
2128 | 2013-03-26 Roland McGrath <mcgrathr@google.com> |
2129 | ||
2130 | * config/arm/arm.c (arm_print_operand: case 'w'): Use fputs rather | |
2131 | than fprintf with a non-constant, non-format string. | |
2132 | ||
93a4145b UB |
2133 | 2013-03-26 Uros Bizjak <ubizjak@gmail.com> |
2134 | ||
2135 | * config/i386/i386.md (*cmpqi_ext_1): Merge with *cmpqi_ext_1_rex64 | |
2136 | using nox64 isa attribute. Use nonimmediate_x86nomem_operand as | |
2137 | operand 0 predicate. | |
2138 | (*cmpqi_ext_3): Merge with *cmpqi_ext_3_rex64 using nox64 isa | |
2139 | attribute. Use general_x64nomem_operand as operand 1 predicate. | |
2140 | (*movqi_extv_1): Merge with *movqi_extv_1_rex64 using nox64 isa | |
2141 | attribute. Use nonimmediate_x64nomem_operand as operand 0 predicate. | |
2142 | (*movqi_extzv_2): Merge with *movqi_extzv_2_rex64 using nox64 isa | |
2143 | attribute. Use nonimmediate_x64nomem_operand as operand 0 predicate. | |
2144 | (mov<mode>_insv_1): Remove expander. Merge insn with | |
2145 | movsi_insv_1 using SWI48 mode iterator and nox64 isa attribute. | |
2146 | Use general_x64nomem_operand as operand 1 predicate. | |
2147 | (addqi_ext_1): Merge with *addqi_ext_1_rex64 using nox64 isa attribute. | |
2148 | (*testqi_ext_1): Merge with *testqi_ext_1_rex64 using nox64 isa | |
2149 | attribute. Use nonimmediate_x64nomem_operand as operand 1 predicate. | |
2150 | (*andqi_ext_1): Merge with *andqi_ext_1_rex64 using nox64 isa | |
2151 | attribute. Use nonimmediate_x64nomem_operand as operand 2 predicate. | |
2152 | (*<code>qi_ext_1): Merge with *<code>qi_ext_1_rex64 using nox64 isa | |
2153 | attribute. Use nonimmediate_x64nomem_operand as operand 1 predicate. | |
2154 | (*xorqi_cc_ext_1): Merge with *xorqi_cc_ext_1_rex64 using nox64 | |
2155 | isa attribute. Use general_x64nomem_operand as operand 2 predicate. | |
2156 | * config/i386/predicates.md (nonimmediate_x64nomem_operand): New. | |
2157 | (general_x64nomem_operand): Ditto. | |
2158 | ||
c6a9ed5a | 2159 | 2013-03-26 Sebastian Huber <sebastian.huber@embedded-brains.de> |
df599020 SH |
2160 | |
2161 | * config/rtems.opt: Add -pthread option. | |
2162 | ||
31b0a960 RB |
2163 | 2013-03-26 Richard Biener <rguenther@suse.de> |
2164 | ||
93a4145b UB |
2165 | * alias.c (find_base_term): Avoid redundant and not used recursion. |
2166 | (base_alias_check): Get the initial base term from the caller. | |
31b0a960 RB |
2167 | (true_dependence_1): Compute and pass base terms to base_alias_check. |
2168 | (write_dependence_p): Likewise. | |
2169 | (may_alias_p): Likewise. | |
2170 | ||
79517551 SN |
2171 | 2013-03-26 Sofiane Naci <sofiane.naci@arm.com> |
2172 | ||
2173 | * config/aarch64/aarch64.c (aarch64_classify_address): Support | |
2174 | PC-relative load in SI modes and above only. | |
2175 | ||
a76213b9 XQ |
2176 | 2013-03-26 Xinyu Qi <xyqi@marvell.com> |
2177 | ||
2178 | * config/arm/arm.h (FIRST_IWMMXT_GR_REGNUM): Add comment. | |
33159866 UB |
2179 | * config/arm/iwmmxt.md (WCGR0): Update. |
2180 | (WCGR1, WCGR2, WCGR3): Likewise. | |
a76213b9 | 2181 | |
37ff9355 UB |
2182 | 2013-03-26 Uros Bizjak <ubizjak@gmail.com> |
2183 | ||
2184 | * config/i386/i386.md (*movdfcc_1): Merge with *movdfcc_1_rex64. | |
2185 | Use x64 and nox64 isa attributes. | |
2186 | ||
30b0317c RB |
2187 | 2013-03-26 Richard Biener <rguenther@suse.de> |
2188 | ||
2189 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Remove | |
2190 | alignment computations and rely on get_object_alignment_1 | |
2191 | for the !TYPE_P case. | |
2192 | Commonize DECL/COMPONENT_REF handling in the ARRAY_REF path. | |
2193 | ||
cbcdb140 WL |
2194 | 2013-03-26 Walter Lee <walt@tilera.com> |
2195 | ||
2196 | * config/tilegx/tilegx.h (PROFILE_BEFORE_PROLOGUE): Define. | |
2197 | * config/tilegx/tilepro.h (PROFILE_BEFORE_PROLOGUE): Define. | |
2198 | ||
dd884525 | 2199 | 2013-03-25 Jeff Law <law@redhat.com> |
be672e08 | 2200 | |
33159866 UB |
2201 | * tree-ssa-dom.c (record_equivalences_from_incoming_edge): Add missing |
2202 | check for INTEGRAL_TYPE_P that was missing due to checking in | |
dd884525 JL |
2203 | wrong version of prior patch. |
2204 | ||
0051d3ec WL |
2205 | 2013-03-25 Walter Lee <walt@tilera.com> |
2206 | ||
2207 | * config/tilegx/tilegx-builtins.h (enum tilegx_builtin): Add | |
2208 | TILEGX_INSN_SHUFFLEBYTES1. | |
2209 | * config/tilegx/tilegx.c (tilegx_builtin_info): Add entry for | |
2210 | shufflebytes1. | |
2211 | (tilegx_builtins): Ditto. | |
2212 | * config/tilegx/tilegx.md (insn_shufflebytes1): New pattern. | |
2213 | ||
065a3605 WL |
2214 | 2013-03-25 Walter Lee <walt@tilera.com> |
2215 | ||
2216 | * config/tilegx/tilegx.md (floatsisf2): New pattern. | |
0051d3ec WL |
2217 | (floatunssisf2): New pattern. |
2218 | (floatsidf2): New pattern. | |
2219 | (floatunssidf2): New pattern. | |
065a3605 | 2220 | |
5b2a3c82 WL |
2221 | 2013-03-25 Walter Lee <walt@tilera.com> |
2222 | ||
2223 | * config/tilegx/tilegx.c (expand_set_cint64_one_inst): Inline | |
2224 | tests for constraint J, K, N, P. | |
2225 | ||
192ea533 WL |
2226 | 2013-03-25 Walter Lee <walt@tilera.com> |
2227 | ||
2228 | * config/tilegx/tilegx.c (tilegx_asm_preferred_eh_data_format): | |
2229 | Use indirect/pcrel encoding. | |
2230 | * config/tilepro/tilepro.c (tilepro_asm_preferred_eh_data_format): | |
2231 | Ditto. | |
2232 | ||
855e0d0b SE |
2233 | 2013-03-25 Steve Ellcey <sellcey@mips.com> |
2234 | ||
2235 | * config/mips/mmips-cpus.def (74kc, 74kf2_1, 74kf, 74kf, 74kf1_1, | |
2236 | 74kfx, 74kx, 74kf3_2): Add PTF_AVOID_IMADD. | |
2237 | * config/mips/mips.c (mips_option_override): Set IMADD default. | |
2238 | * config/mips/mips.h (PTF_AVOID_IMADD): New. | |
2239 | (ISA_HAS_MADD_MSUB): Remove MIPS16 check. | |
2240 | (GENERATE_MADD_MSUB): Remove TUNE_74K check, add MIPS16 check. | |
2241 | * config/mips/mips.md (mimadd): New flag for integer madd/msub. | |
2242 | * doc/invoke.texi (-mimadd/-mno-imadd): New. | |
2243 | ||
39e45653 JL |
2244 | 2013-03-25 Jeff Law <law@redhat.com> |
2245 | ||
2246 | * tree-ssa-dom.c (record_equivalences_from_incoming_edge): Rework | |
2247 | slightly to avoid creating and folding useless trees. Simplify | |
2248 | slightly by restricting to INTEGER_CSTs and using int_fits_type_p. | |
2249 | ||
7482c470 UB |
2250 | 2013-03-25 Uros Bizjak <ubizjak@gmail.com> |
2251 | ||
2252 | * config/i386/i386.md (*zero_extendsidi2): Merge with | |
2253 | *zero_extendsidi2_rex64. Use x64 and nox64 isa attributes. | |
2254 | * config/i386/predicates.md (x86_64_zext_operand): Rename from | |
2255 | x86_64_zext_general_operand. Use nonimmediate_operand on 32bit | |
2256 | targets. Clarify comment. | |
2257 | ||
4a53743e MJ |
2258 | 2013-03-25 Martin Jambor <mjambor@suse.cz> |
2259 | ||
2260 | * ipa-prop.c (ipa_write_jump_function): Stream simple and aritmetic | |
2261 | pass-through jump functions differently. | |
2262 | (ipa_read_jump_function): Likewise. Also use setter functions to set | |
2263 | up jump functions. | |
2264 | ||
162712de MJ |
2265 | 2013-03-25 Martin Jambor <mjambor@suse.cz> |
2266 | ||
2267 | * ipa-cp.c (ipa_get_indirect_edge_target): Renamed to | |
2268 | ipa_get_indirect_edge_target_1, added parameter agg_reps and ability to | |
2269 | process it. | |
2270 | (ipa_get_indirect_edge_target): New function. | |
2271 | (devirtualization_time_bonus): New parameter known_aggs, pass it to | |
2272 | ipa_get_indirect_edge_target. Update all callers. | |
2273 | (ipcp_discover_new_direct_edges): New parameter aggvals. Pass it to | |
2274 | ipa_get_indirect_edge_target_1 instead of calling | |
2275 | ipa_get_indirect_edge_target. | |
2276 | (create_specialized_node): Pass aggvlas to | |
2277 | ipcp_discover_new_direct_edges. | |
2278 | ||
a5a4c20a KT |
2279 | 2013-03-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
2280 | ||
2281 | * config/arm/arm.md (f_sels, f_seld): New types. | |
2282 | (*cmov<mode>): New pattern. | |
2283 | * config/arm/predicates.md (arm_vsel_comparison_operator): New | |
2284 | predicate. | |
2285 | ||
f992b9fc KT |
2286 | 2013-03-25 Kai Tietz <ktietz@redhat.com> |
2287 | ||
2288 | * config/i386/xm-mingw32.h (__USE_MINGW_ANSI_STDIO): Enable | |
2289 | POSIX-printf for mingw-hosted builds. | |
2290 | ||
c16fd676 RB |
2291 | 2013-03-25 Richard Biener <rguenther@suse.de> |
2292 | ||
2293 | PR middle-end/56694 | |
2294 | * tree-eh.c (lower_eh_must_not_throw): Strip BLOCKs from the | |
2295 | must-not-throw stmt location. | |
2296 | ||
5ad29f12 KT |
2297 | 2013-03-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
2298 | ||
2299 | * config/arm/arm.c (arm_emit_load_exclusive): Add acq parameter. | |
2300 | Emit load-acquire versions when acq is true. | |
2301 | (arm_emit_store_exclusive): Add rel parameter. | |
2302 | Emit store-release versions when rel is true. | |
2303 | (arm_split_compare_and_swap): Use acquire-release instructions | |
2304 | instead. | |
2305 | of barriers when appropriate. | |
2306 | (arm_split_atomic_op): Likewise. | |
2307 | * config/arm/arm.h (TARGET_HAVE_LDACQ): New macro. | |
2308 | * config/arm/unspecs.md (VUNSPEC_LAX): New unspec. | |
2309 | (VUNSPEC_SLX): Likewise. | |
2310 | (VUNSPEC_LDA): Likewise. | |
2311 | (VUNSPEC_STL): Likewise. | |
2312 | * config/arm/sync.md (atomic_load<mode>): New pattern. | |
2313 | (atomic_store<mode>): Likewise. | |
2314 | (arm_load_acquire_exclusive<mode>): Likewise. | |
2315 | (arm_load_acquire_exclusivesi): Likewise. | |
2316 | (arm_load_acquire_exclusivedi): Likewise. | |
2317 | (arm_store_release_exclusive<mode>): Likewise. | |
2318 | ||
03a7dddb CM |
2319 | 2013-03-25 Catherine Moore <clm@codesourcery.com> |
2320 | ||
2321 | * config/mips/constraints.md (u, Udb7 Uead, Uean, Uesp, Uib3, | |
2322 | Uuw6, Usb4, ZS, ZT, ZU, ZV, ZW): New constraints. | |
2323 | * config/mip/predicates.md (lwsp_swsp_operand, | |
2324 | lw16_sw16_operand, lhu16_sh16_operand, lbu16_operand, | |
2325 | sb16_operand, db4_operand, db7_operand, ib3_operand, | |
2326 | sb4_operand, ub4_operand, uh4_operand, uw4_operand, | |
2327 | uw5_operand, uw6_operand, addiur2_operand, addiusp_operand, | |
2328 | andi16_operand): New predicates. | |
2329 | * config/mips/mips.md (compression): New attribute. | |
2330 | (enabled): New attribute. | |
2331 | (length): Consider compression in computing length. | |
2332 | (shift_compression): New code attribute. | |
2333 | (*add<mode>3): New operands. Record compression. | |
2334 | (sub<mode>3): Likewise. | |
2335 | (one_cmpl<mode>2): Likewise. | |
2336 | (*and<mode>3): Likewise. | |
2337 | (*ior<mode>3): Likewise. | |
2338 | (unnamed pattern for xor): Likewise. | |
2339 | (*zero_extend<SHORT:mode><GPR:mode>2): Likewise. | |
2340 | (*<optab><mode>3): Likewise. | |
2341 | (*mov<mode>_internal: Likewise. | |
2342 | * config/mips/mips-protos.h (mips_signed_immediate_p): New. | |
2343 | (mips_unsigned_immediate_p): New. | |
2344 | (umips_lwsp_swsp_address_p): New. | |
2345 | (m16_based_address_p): New. | |
2346 | * config/mips/mips-protos.h (mips_signed_immediate_p): New prototype. | |
2347 | (mips_unsigned_immediate_p): New prototype. | |
2348 | (lwsp_swsp_address_p): New prototype. | |
2349 | (m16_based_address_p): New prototype. | |
2350 | * config/mips/mips.c (mips_unsigned_immediate_p): New function. | |
2351 | (mips_signed_immediate_p): New function. | |
2352 | (m16_based_address_p): New function. | |
2353 | (lwsp_swsp_address_p): New function. | |
2354 | (mips_print_operand_punctuation): Recognize short delay slot insns | |
2355 | for microMIPS.add<mode>3" | |
2356 | ||
f35c297f | 2357 | 2013-03-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
a5784ce6 | 2358 | |
f35c297f KT |
2359 | PR target/56720 |
2360 | * config/arm/iterators.md (v_cmp_result): New mode attribute. | |
2361 | * config/arm/neon.md (vcond<mode><mode>): Handle unordered cases. | |
2362 | ||
051b9446 RB |
2363 | 2013-03-25 Richard Biener <rguenther@suse.de> |
2364 | ||
2365 | PR tree-optimization/56689 | |
2366 | * tree-vrp.c (execute_vrp): Mark loops for fixup if we removed | |
2367 | any edge. | |
2368 | ||
374001cb RB |
2369 | 2013-03-25 Richard Biener <rguenther@suse.de> |
2370 | ||
2371 | * tree-ssa-loop-im.c (struct mem_ref): Use bitmap_head instead | |
2372 | of bitmap. | |
2373 | (memory_references): Likewise. | |
2374 | (outermost_indep_loop, mem_ref_alloc, mark_ref_stored, | |
2375 | gather_mem_refs_stmt, record_dep_loop, ref_indep_loop_p_1, | |
2376 | ref_indep_loop_p_2, find_refs_for_sm): Adjust. | |
2377 | (gather_mem_refs_in_loops): Fold into ... | |
2378 | (analyze_memory_references): ... this. Move initialization | |
2379 | to tree_ssa_lim_initialize. | |
2380 | (fill_always_executed_in): Rename to ... | |
2381 | (fill_always_executed_in_1): ... this. | |
2382 | (fill_always_executed_in): Move contains_call computation to | |
2383 | this new function from ... | |
2384 | (tree_ssa_lim_initialize): ... here. | |
2385 | (tree_ssa_lim): Call fill_always_executed_in. | |
2386 | ||
57895947 EB |
2387 | 2013-03-25 Eric Botcazou <ebotcazou@adacore.com> |
2388 | ||
2389 | * postreload.c (reload_combine): Fix code detecting returns. | |
2390 | ||
1e1b18c1 EB |
2391 | 2013-03-25 Eric Botcazou <ebotcazou@adacore.com> |
2392 | ||
2393 | * function.c (emit_use_return_register_into_block): On cc0 targets, | |
2394 | do not emit the sequence between cc0 setter and user. | |
2395 | ||
9216baf1 KT |
2396 | 2013-03-25 Kai Tietz <ktietz@redhat.com> |
2397 | ||
1e1b18c1 EB |
2398 | * config/i386/predicates.md (local_symbolic_operand): Interpret |
2399 | dll-imported symbols as none-local. | |
9216baf1 | 2400 | |
76421b44 RB |
2401 | 2013-03-25 Richard Biener <rguenther@suse.de> |
2402 | ||
2403 | * tree-ssa-loop-im.c (struct depend): Remove. | |
2404 | (struct lim_aux_data): Make depends a vec of gimples. | |
2405 | (free_lim_aux_data): Adjust. | |
2406 | (add_dependency): Likewise. | |
2407 | (set_level): Likewise. | |
2408 | ||
d154bfa2 RB |
2409 | 2013-03-25 Richard Biener <rguenther@suse.de> |
2410 | ||
2411 | PR middle-end/56434 | |
2412 | * calls.c (expand_call): Use MALLOC_ABI_ALIGNMENT to annotate | |
2413 | the pointer returned by calls with ECF_MALLOC set. | |
2414 | ||
2cd9804e UB |
2415 | 2013-03-24 Uros Bizjak <ubizjak@gmail.com> |
2416 | ||
acef5fe0 UB |
2417 | * config/i386/mmx.md (mov<mode>): Add ?!Ym,r and r,?!Ym alternatives. |
2418 | ||
2419 | 2013-03-24 Uros Bizjak <ubizjak@gmail.com> | |
2420 | ||
2421 | * config/i386/mmx.md (mov<mode>): Merge with movv2sf expander | |
2cd9804e UB |
2422 | using MMXMODE mode iterator. |
2423 | (*move<mode>_internal): Merge with *movv2sf_internal and | |
2424 | *movv2sf_internal_rex64 using MMXMODE mode iterator. | |
2425 | ||
225ccc68 SB |
2426 | 2013-03-23 Steven Bosscher <steven@gcc.gnu.org> |
2427 | ||
85c0f02d SB |
2428 | * gcse.c (oprs_unchanged_p): Respect flag_gcse_lm. |
2429 | (record_last_mem_set_info): Likewise. | |
2430 | ||
225ccc68 SB |
2431 | * df-core.c (rest_of_handle_df_initialize): Use XCNEWVEC instead |
2432 | of XNEWVEC followed by memset. | |
2433 | (df_worklist_dataflow): Use XNEWVEC instead of xmalloc with a cast. | |
2434 | ||
b64925dc SB |
2435 | 2013-03-23 Steven Bosscher <steven@gcc.gnu.org> |
2436 | ||
2437 | * config/avr/avr.c, config/bfin/bfin.c, config/c6x/c6x.c, | |
2438 | config/epiphany/epiphany.c, config/frv/frv.c, config/ia64/ia64.c, | |
2439 | config/iq2000/iq2000.c, config/mcore/mcore.c, config/mep/mep.c, | |
2440 | config/mmix/mmix.c, config/pa/pa.c, config/rs6000/rs6000.c, | |
2441 | config/s390/s390.c, config/sparc/sparc.c, config/spu/spu.c, | |
2442 | config/stormy16/stormy16.c, config/v850/v850.c, config/xtensa/xtensa.c, | |
2443 | dwarf2out.c, hw-doloop.c, resource.c, rtl.h : Where applicable, use | |
2444 | the predicates NOTE_P, NONJUMP_INSN_P, JUMP_P, CALL_P, LABEL_P, and | |
2445 | BARRIER_P instead of GET_CODE. | |
2446 | ||
b9aaf52e EB |
2447 | 2013-03-23 Eric Botcazou <ebotcazou@adacore.com> |
2448 | ||
2449 | * config/sparc/sparc.c (sparc_emit_probe_stack_range): Fix small | |
2450 | inaccuracy in the probing code. | |
2451 | ||
2452 | * config/sparc/sparc.md (ctrapsi4): Add predicate for operand #3. | |
2453 | (ctrapdi4): Likewise. | |
2454 | ||
66de4d7c EB |
2455 | 2013-03-23 Eric Botcazou <ebotcazou@adacore.com> |
2456 | ||
2457 | * calls.c (expand_call): Add missing guard to code handling return | |
2458 | of non-BLKmode structures in MSB. | |
2459 | * function.c (expand_function_end): Likewise. | |
2460 | ||
4f25c8fb EB |
2461 | 2013-03-23 Eric Botcazou <ebotcazou@adacore.com> |
2462 | ||
2463 | * combine.c (try_combine): Adjust comment. Do not add the set of | |
2464 | insn #0 if the destination indirectly is set or dies in insn #2. | |
2465 | Tidy up code to distribute a new note. | |
2466 | ||
23b7850d UB |
2467 | 2013-03-22 Uros Bizjak <ubizjak@gmail.com> |
2468 | ||
2469 | * config/i386/i386.md (*movdi_internal): Set prefix_rex attribute | |
2470 | also for alternatives 16 and 17. | |
2471 | ||
bed852cf UB |
2472 | 2013-03-22 Uros Bizjak <ubizjak@gmail.com> |
2473 | ||
2474 | * config/i386/sse.md (*mov<mode>_internal): Merge with | |
2475 | *mov<mode>_internal_rex64. Use x64 and nox64 isa attributes. | |
2476 | Emit insn template depending on type attribute. Use | |
2477 | HAVE_AS_IX86_INTERUNIT_MOVQ to handle broken assemblers that require | |
2478 | movd instead of movq mnemonic for interunit moves. Rewrite mode | |
2479 | attribute calculation. Remove unit attribute calculation. | |
2480 | Set prefix attribute to maybe_vex for sselog1 and ssemov types. | |
2481 | Set prefix_data16 attribute for DImode ssemov types. | |
2482 | Use Ym instead of y for SSE-MMX conversion alternatives. | |
2483 | Reorder operand constraints. | |
2484 | ||
1e8a7937 SB |
2485 | 2013-03-22 Steven Bosscher <steven@gcc.gnu.org> |
2486 | ||
2487 | * df.h (df_insn_delete): Adjust prototype. | |
2488 | * emit-rtl.c (remove_insn): Pass a basic block to df_insn_delete | |
2489 | and let it decide whether mark the basic block dirty. | |
2490 | (set_insn_deleted): Only pass INSN_P insns to df_insn_delete. | |
2491 | * df-scan.c (df_insn_info_delete): New helper function, split | |
2492 | off from df_insn_delete. | |
2493 | (df_scan_free_bb_info): Use it. | |
2494 | (df_insn_rescan, df_insn_rescan_all, df_process_deferred_rescans): | |
2495 | Likewise. | |
2496 | (df_insn_delete): Likewise. Take insn rtx as argument. Verify | |
2497 | that the insn is actually an insn and it has a non-NULL basic block. | |
2498 | Do not mark basic block dirty if only deleting a DEBUG_INSN. | |
2499 | ||
e14d094c RB |
2500 | 2013-03-22 Richard Biener <rguenther@suse.de> |
2501 | ||
2502 | * tree-ssa-loop-im.c (struct mem_ref): Remove indep_ref and | |
2503 | dep_ref members. | |
2504 | (mem_ref_alloc): Do not allocate them. | |
2505 | (refs_independent_p): Do not query or maintain a cache. | |
2506 | ||
e9cf7316 RB |
2507 | 2013-03-22 Richard Biener <rguenther@suse.de> |
2508 | ||
2509 | * tree-ssa-loop-im.c (memory_references): Drop all_refs_in_loop. | |
2510 | (gather_mem_refs_in_loops): Do not compute it. | |
2511 | (analyze_memory_references): Do not allocate it. | |
2512 | (tree_ssa_lim_finalize): Do not free it. | |
2513 | (for_all_locs_in_loop): Do not query all_refs_in_loop. | |
2514 | ||
f046e81b RB |
2515 | 2013-03-22 Richard Biener <rguenther@suse.de> |
2516 | ||
2517 | * is-a.h (as_a): Use gcc_checking_assert. | |
bed852cf | 2518 | |
a05c0ddf IB |
2519 | 2013-03-22 Ian Bolton <ian.bolton@arm.com> |
2520 | ||
2521 | * config/aarch64/aarch64.c (aarch64_print_operand): New | |
2522 | format specifier for printing a constant in hex. | |
2523 | * config/aarch64/aarch64.md (insv_imm<mode>): Use the X | |
2524 | format specifier for printing second operand. | |
2525 | ||
c00217fc RB |
2526 | 2013-03-22 Richard Biener <rguenther@suse.de> |
2527 | ||
2528 | * tree-ssa-loop-im.c (memory_references): Add refs_stored_in_loop | |
2529 | bitmaps. | |
2530 | (gather_mem_refs_in_loops): Perform store accumulation here. | |
2531 | (create_vop_ref_mapping_loop): Remove. | |
2532 | (create_vop_ref_mapping): Likewise. | |
2533 | (analyze_memory_references): Initialize refs_stored_in_loop. | |
bed852cf | 2534 | (LOOP_DEP_BIT): New define to map to bits in (in)dep_loop bitmaps. |
c00217fc RB |
2535 | (record_indep_loop): Remove. |
2536 | (record_dep_loop): New function. | |
2537 | (ref_indep_loop_p_1): Adjust to only walk over references | |
2538 | in the loop, not its subloops. | |
2539 | (ref_indep_loop_p): Rename to ... | |
2540 | (ref_indep_loop_p_2): ... this and recurse over the loop tree, | |
2541 | maintaining a more fine-grained cache. | |
2542 | (ref_indep_loop_p): Wrap ref_indep_loop_p_2. | |
2543 | (tree_ssa_lim_finalize): Free refs_stored_in_loop. | |
2544 | ||
15d19bf8 RB |
2545 | 2013-03-22 Richard Biener <rguenther@suse.de> |
2546 | ||
2547 | * tree-ssa-loop-im.c (struct mem_ref_locs): Remove. | |
2548 | (struct mem_ref): Make accesses_in_loop a vec of a vec of | |
2549 | aggregate mem_ref_loc. | |
2550 | (free_mem_ref_locs): Inline into ... | |
2551 | (memref_free): ... this and adjust. | |
2552 | (mem_ref_alloc): Adjust. | |
2553 | (mem_ref_locs_alloc): Remove. | |
2554 | (record_mem_ref_loc): Adjust. | |
2555 | (get_all_locs_in_loop): Rewrite into ... | |
2556 | (for_all_locs_in_loop): ... this iterator. | |
2557 | (rewrite_mem_ref_loc): New functor. | |
2558 | (rewrite_mem_refs): Use for_all_locs_in_loop. | |
2559 | (sm_set_flag_if_changed): New functor. | |
2560 | (execute_sm_if_changed_flag_set): Use for_all_locs_in_loop. | |
2561 | (ref_always_accessed): New functor. | |
2562 | (ref_always_accessed_p): Use for_all_locs_in_loop. | |
2563 | ||
6f37411d MG |
2564 | 2013-03-21 Marc Glisse <marc.glisse@inria.fr> |
2565 | ||
2566 | * tree-pass.h (PROP_gimple_lvec): New. | |
2567 | * passes.c (dump_properties): Handle PROP_gimple_lvec. | |
2568 | (init_optimization_passes): Move pass_lower_vector. | |
2569 | * tree-vect-generic.c (gate_expand_vector_operations_ssa): Test | |
2570 | PROP_gimple_lvec. | |
2571 | (pass_lower_vector): Provide PROP_gimple_lvec. | |
2572 | (pass_lower_vector_ssa): Likewise. | |
2573 | * cfgexpand.c (pass_expand): Require PROP_gimple_lvec. | |
2574 | ||
511ef689 MW |
2575 | 2013-03-21 Mark Wielaard <mjw@redhat.com> |
2576 | ||
2577 | * dwarf2out.c (size_of_aranges): Skip DECL_IGNORED_P functions. | |
2578 | ||
cc1df30b UB |
2579 | 2013-03-21 Uros Bizjak <ubizjak@gmail.com> |
2580 | ||
2581 | * config/i386/i386.md (*movdi_internal): Disparage slightly | |
2582 | all MMX moves to/from memory. Use Yi instead of x for SSE-MMX | |
2583 | conversion alternatives. | |
2584 | ||
c845cfe1 JJ |
2585 | 2013-03-21 Jakub Jelinek <jakub@redhat.com> |
2586 | ||
37e99116 JJ |
2587 | PR middle-end/48087 |
2588 | * diagnostic.def (DK_WERROR): New kind. | |
2589 | * diagnostic.h (werrorcount): Define. | |
2590 | * diagnostic.c (diagnostic_report_diagnostic): For DK_WARNING | |
2591 | promoted to DK_ERROR, increment DK_WERROR counter instead of | |
2592 | DK_ERROR counter. | |
2593 | * toplev.c (toplev_main): Call print_ignored_options even if | |
2594 | just werrorcount is non-zero. Exit with FATAL_EXIT_CODE | |
2595 | even if just werrorcount is non-zero. | |
2596 | ||
c845cfe1 JJ |
2597 | PR debug/55608 |
2598 | * dwarf2out.c (tree_add_const_value_attribute): Call ggc_free (array) | |
2599 | on failure. | |
2600 | (resolve_one_addr): Fail if referenced STRING_CST hasn't been written. | |
2601 | (string_cst_pool_decl): New function. | |
2602 | (optimize_one_addr_into_implicit_ptr): New function. | |
2603 | (resolve_addr_in_expr): Optimize DWARF location expression | |
2604 | DW_OP_addr DW_OP_stack_value where DW_OP_addr refers to some variable | |
2605 | which doesn't live in memory, but has DW_AT_location or | |
2606 | DW_AT_const_value, or refers to a string literal, into | |
2607 | DW_OP_GNU_implicit_pointer. | |
2608 | (optimize_location_into_implicit_ptr): New function. | |
2609 | (resolve_addr): If removing DW_AT_location of a variable because | |
2610 | it was DW_OP_addr of address of the variable, but the variable doesn't | |
2611 | live in memory, try to emit const value attribute for the initializer. | |
2612 | ||
08e0cda6 MG |
2613 | 2013-03-21 Marc Glisse <marc.glisse@inria.fr> |
2614 | ||
2615 | * tree.h (VECTOR_TYPE_P): New macro. | |
2616 | (VECTOR_INTEGER_TYPE_P, VECTOR_FLOAT_TYPE_P, FLOAT_TYPE_P, | |
2617 | TYPE_MODE): Use it. | |
2618 | * fold-const.c (fold_cond_expr_with_comparison): Use build_zero_cst. | |
2619 | VEC_COND_EXPR cannot be lvalues. | |
2620 | (fold_ternary_loc) <VEC_COND_EXPR>: Merge with the COND_EXPR case. | |
2621 | ||
d08633b4 MG |
2622 | 2013-03-21 Marc Glisse <marc.glisse@inria.fr> |
2623 | ||
2624 | * simplify-rtx.c (simplify_binary_operation_1) <VEC_CONCAT>: | |
2625 | Restrict the transformation to equal modes. | |
2626 | ||
e6647190 RB |
2627 | 2013-03-21 Richard Biener <rguenther@suse.de> |
2628 | ||
2629 | PR tree-optimization/39326 | |
2630 | * tree-ssa-loop-im.c (UNANALYZABLE_MEM_ID): New define. | |
2631 | (MEM_ANALYZABLE): Adjust. | |
2632 | (record_mem_ref_loc): Move bitmap ops ... | |
2633 | (gather_mem_refs_stmt): ... here. Use the shared mem-ref for | |
2634 | unanalyzable refs, do not record locations for it. | |
2635 | (analyze_memory_references): Allocate ref zero as shared | |
2636 | unanalyzable ref. | |
2637 | (refs_independent_p): Do not test for unanalyzed mems here. | |
2638 | (ref_indep_loop_p_1): Special-case disambiguation against | |
2639 | the unanalyzed ref. | |
cc1df30b | 2640 | (ref_indep_loop_p): Assert we are not queried for the unanalyzed mem. |
e6647190 | 2641 | |
65074f54 CL |
2642 | 2013-03-21 Christophe Lyon <christophe.lyon@linaro.org> |
2643 | ||
2644 | * config/arm/arm-protos.h (tune_params): Add | |
2645 | prefer_neon_for_64bits field. | |
2646 | * config/arm/arm.c (prefer_neon_for_64bits): New variable. | |
2647 | (arm_slowmul_tune): Default prefer_neon_for_64bits to false. | |
2648 | (arm_fastmul_tune, arm_strongarm_tune, arm_xscale_tune): Ditto. | |
2649 | (arm_9e_tune, arm_v6t2_tune, arm_cortex_tune): Ditto. | |
2650 | (arm_cortex_a15_tune, arm_cortex_a5_tune): Ditto. | |
2651 | (arm_cortex_a9_tune, arm_v6m_tune, arm_fa726te_tune): Ditto. | |
2652 | (arm_option_override): Handle -mneon-for-64bits new option. | |
2653 | * config/arm/arm.h (TARGET_PREFER_NEON_64BITS): New macro. | |
2654 | (prefer_neon_for_64bits): Declare new variable. | |
2655 | * config/arm/arm.md (arch): Rename neon_onlya8 and neon_nota8 to | |
cc1df30b | 2656 | avoid_neon_for_64bits and neon_for_64bits. Remove onlya8 and nota8. |
65074f54 CL |
2657 | (arch_enabled): Handle new arch types. Remove support for onlya8 |
2658 | and nota8. | |
2659 | (one_cmpldi2): Use new arch names. | |
bc5faa5b | 2660 | (zero_extend<mode>di2, extend<mode>di2): Ditto. |
65074f54 CL |
2661 | * config/arm/arm.opt (mneon-for-64bits): Add option. |
2662 | * config/arm/neon.md (adddi3_neon, subdi3_neon, iordi3_neon) | |
2663 | (anddi3_neon, xordi3_neon, ashldi3_neon, <shift>di3_neon): Use | |
2664 | neon_for_64bits instead of nota8 and avoid_neon_for_64bits instead | |
2665 | of onlya8. | |
2666 | * doc/invoke.texi (-mneon-for-64bits): Document. | |
2667 | ||
5a2d2a79 RB |
2668 | 2013-03-21 Richard Biener <rguenther@suse.de> |
2669 | ||
2670 | PR tree-optimization/39326 | |
2671 | * tree-ssa-loop-im.c (bb_loop_postorder): New global static. | |
2672 | (sort_bbs_in_loop_postorder_cmp): New function. | |
cc1df30b | 2673 | (gather_mem_refs_in_loops): Assign mem-ref IDs in loop postorder. |
5a2d2a79 | 2674 | |
5abe1e05 RB |
2675 | 2013-03-21 Richard Biener <rguenther@suse.de> |
2676 | ||
2677 | * tree-vect-data-refs.c (vect_update_interleaving_chain): Remove. | |
2678 | (vect_insert_into_interleaving_chain): Likewise. | |
2679 | (vect_drs_dependent_in_basic_block): Inline ... | |
2680 | (vect_slp_analyze_data_ref_dependence): ... here. New function, | |
2681 | split out from ... | |
2682 | (vect_analyze_data_ref_dependence): ... here. Simplify. | |
2683 | (vect_check_interleaving): Simplify. | |
2684 | (vect_analyze_data_ref_dependences): Likewise. Split out ... | |
2685 | (vect_slp_analyze_data_ref_dependences): ... this new function. | |
2686 | (dr_group_sort_cmp): New function. | |
2687 | (vect_analyze_data_ref_accesses): Compute data-reference groups | |
2688 | here instead of in vect_analyze_data_ref_dependence. Use | |
2689 | a more efficient algorithm. | |
2690 | * tree-vect-slp.c (vect_slp_analyze_bb_1): Use | |
2691 | vect_slp_analyze_data_ref_dependences. Call | |
2692 | vect_analyze_data_ref_accesses earlier. | |
2693 | * tree-vect-loop.c (vect_analyze_loop_2): Likewise. | |
2694 | * tree-vectorizer.h (vect_analyze_data_ref_dependences): Adjust. | |
2695 | (vect_slp_analyze_data_ref_dependences): New prototype. | |
2696 | ||
cad1735b RB |
2697 | 2013-03-21 Richard Biener <rguenther@suse.de> |
2698 | ||
2699 | * tree-ssa-loop-im.c (can_sm_ref_p): Do not test whether | |
2700 | ref is stored in the loop. | |
2701 | (find_refs_for_sm): Walk only over all stores. | |
2702 | (store_motion_loop): Allocate from lim_bitmap_obstack. | |
2703 | (store_motion): Likewise. | |
2704 | ||
141310ef RB |
2705 | 2013-03-21 Richard Biener <rguenther@suse.de> |
2706 | ||
2707 | * tree-vect-loop-manip.c (slpeel_tree_peel_loop_to_edge): | |
2708 | Update virtual SSA form. | |
2709 | ||
5022315a RO |
2710 | 2013-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2711 | ||
2712 | * configure.ac (gcc_cv_ld_eh_frame_ciev3): New test. | |
2713 | * configure: Regenerate. | |
2714 | * config.in: Regenerate. | |
2715 | * config/sol2.c (solaris_override_options): Only enforce DWARF 2 | |
2716 | if !HAVE_LD_EH_FRAME_CIEV3. | |
2717 | ||
50d4421c RB |
2718 | 2013-03-21 Richard Biener <rguenther@suse.de> |
2719 | ||
2720 | * tree-cfg.c (verify_expr_no_block): New function. | |
2721 | (verify_expr_location_1): Verify that neither DECL_DEBUG_EXPR | |
2722 | nor DECL_VALUE_EXPR have locations with associated blocks. | |
2723 | * tree-ssa-live.c (clear_unused_block_pointer_1): Remove. | |
2724 | (clear_unused_block_pointer): Remove code dealing with | |
2725 | blocks in DECL_DEBUG_EXPR locations. | |
2726 | ||
839b422f RB |
2727 | 2013-03-21 Richard Biener <rguenther@suse.de> |
2728 | ||
2729 | * tree.h (DECL_DEBUG_EXPR_IS_FROM): Rename to ... | |
2730 | (DECL_HAS_DEBUG_EXPR_P): ... this. Guard properly. | |
2731 | * tree.c (copy_node_stat): Do not copy DECL_HAS_DEBUG_EXPR_P. | |
2732 | * dwarf2out.c (add_var_loc_to_decl): Use DECL_HAS_DEBUG_EXPR_P | |
2733 | instead of DECL_DEBUG_EXPR_IS_FROM. | |
2734 | * gimplify.c (gimplify_modify_expr): Likewise. | |
2735 | * tree-cfg.c (verify_expr_location_1): Likewise. | |
2736 | * tree-complex.c (create_one_component_var): Likewise. | |
2737 | * tree-sra.c (create_access_replacement): Likewise. | |
2738 | * tree-ssa-live.c (clear_unused_block_pointer_1): Likewise. | |
2739 | (clear_unused_block_pointer): Likewise. | |
2740 | * tree-streamer-in.c (unpack_ts_decl_common_value_fields): Likewise. | |
2741 | * tree-streamer-out.c (pack_ts_decl_common_value_fields): Likewise. | |
2742 | * var-tracking.c (var_debug_decl): Likewise. | |
2743 | (track_expr_p): Likewise. | |
2744 | * tree-inline.c (add_local_variables): Likewise. Set | |
2745 | DECL_HAS_DEBUG_EXPR_P after copying it. | |
2746 | * tree-diagnostic.c (default_tree_printer): Use DECL_HAS_DEBUG_EXPR_P | |
2747 | instead of DECL_DEBUG_EXPR_IS_FROM. Guard properly. | |
2748 | ||
fe04878d UB |
2749 | 2013-03-21 Uros Bizjak <ubizjak@gmail.com> |
2750 | ||
2751 | PR bootstrap/56656 | |
2752 | * configure.ac (HAVE_AS_IX86_INTERUNIT_MOVQ): New test. | |
2753 | * configure: Regenerate. | |
2754 | * config.in: Regenerate. | |
2755 | * config/i386/i386.md (*movdf_internal): Use | |
2756 | HAVE_AS_IX86_INTERUNIT_MOVQ to handle broken assemblers that require | |
2757 | movd instead of movq mnemonic for interunit moves. | |
2758 | (*movdi_internal): Ditto. | |
2759 | ||
bd059b26 | 2760 | 2013-03-21 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
fa2e9a58 N |
2761 | |
2762 | * config/aarch64/aarch64-simd.md (simd_fabd): New Attribute. | |
2763 | (abd<mode>_3): New pattern. | |
2764 | (aba<mode>_3): New pattern. | |
2765 | (fabd<mode>_3): New pattern. | |
2766 | ||
bd059b26 | 2767 | 2013-03-21 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
50ce6f88 N |
2768 | |
2769 | * config/aarch64/aarch64-elf.h (REGISTER_PREFIX): Remove. | |
2770 | * config/aarch64/aarch64.c (aarch64_print_operand): Remove all | |
2771 | occurrence of REGISTER_PREFIX as its empty string. | |
2772 | ||
4f1f78b9 JL |
2773 | 2013-03-20 Jeff Law <law@redhat.com> |
2774 | ||
2775 | * tree-ssa-dom.c (record_equivalences_from_incoming_edge): Record | |
2776 | addititional equivalences for equality comparisons between an SSA_NAME | |
2777 | and a constant where the SSA_NAME was set from a widening conversion. | |
2778 | ||
327a1118 WL |
2779 | 2013-03-20 Walter Lee <walt@tilera.com> |
2780 | ||
2781 | * config/tilegx/sync.md (atomic_test_and_set): New pattern. | |
2782 | ||
813e0036 UB |
2783 | 2013-03-20 Uros Bizjak <ubizjak@gmail.com> |
2784 | ||
2785 | * config/i386/i386.md (*movoi_internal_avx): Emit insn template | |
2786 | depending on type attribute. | |
2787 | (*movti_internal): Ditto. | |
2788 | (*movtf_internal): Ditto. | |
2789 | (*movxf_internal): Ditto. | |
2790 | (*movdf_internal): Ditto. | |
2791 | (*movsf_internal): Ditto. | |
2792 | ||
7cf34aae UB |
2793 | 2013-03-20 Uros Bizjak <ubizjak@gmail.com> |
2794 | ||
2795 | * config/i386/i386.md (*movti_internal): Set prefix attribute to | |
2796 | maybe_vex for sselog1 and ssemov types. | |
2797 | (*movdi_internal): Reorder operand constraints. | |
2798 | (*movsi_internal): Ditto. Set prefix attribute to | |
2799 | maybe_vex for sselog1 and ssemov types. | |
2800 | (*movtf_internal): Set prefix attribute to maybe_vex | |
2801 | for sselog1 and ssemov types. | |
2802 | (*movdf_internal): Ditto. Set prefix_data16 attribute for | |
2803 | DImode ssemov types. Reorder operand constraints. | |
2804 | (*movsf_internal): Set type of alternatives 3,4 to imov. Set prefix | |
2805 | attribute to maybe_vex for sselog1 and ssemov types. Set prefix_data16 | |
2806 | attribute for SImode ssemov types. Reorder operand constraints. | |
2807 | ||
19321415 MJ |
2808 | 2013-03-20 Martin Jambor <mjambor@suse.cz> |
2809 | ||
2810 | * params.def (PARAM_IPA_CP_ARRAY_INDEX_HINT_BONUS): New parameter. | |
2811 | * ipa-cp.c (hint_time_bonus): Add abonus for known array indices. | |
2812 | ||
c6d5ff83 MM |
2813 | 2013-03-20 Pat Haugen <pthaugen@us.ibm.com> |
2814 | ||
2815 | * config/rs6000/predicates.md (indexed_address, update_address_mem | |
2816 | update_indexed_address_mem): New predicates. | |
2817 | * config/rs6000/vsx.md (vsx_extract_<mode>_zero): Set correct "type" | |
2818 | attribute for load/store instructions. | |
2819 | * config/rs6000/dfp.md (movsd_store): Likewise. | |
2820 | (movsd_load): Likewise. | |
2821 | * config/rs6000/rs6000.md (zero_extend<mode>di2_internal1): Likewise. | |
2822 | (unnamed HI->DI extend define_insn): Likewise. | |
2823 | (unnamed SI->DI extend define_insn): Likewise. | |
2824 | (unnamed QI->SI extend define_insn): Likewise. | |
2825 | (unnamed QI->HI extend define_insn): Likewise. | |
2826 | (unnamed HI->SI extend define_insn): Likewise. | |
2827 | (unnamed HI->SI extend define_insn): Likewise. | |
2828 | (extendsfdf2_fpr): Likewise. | |
2829 | (movsi_internal1): Likewise. | |
2830 | (movsi_internal1_single): Likewise. | |
2831 | (movhi_internal): Likewise. | |
2832 | (movqi_internal): Likewise. | |
2833 | (movcc_internal1): Correct mnemonic for stw insn. Set correct "type" | |
2834 | attribute for load/store instructions. | |
2835 | (mov<mode>_hardfloat): Set correct "type" attribute for load/store | |
2836 | instructions. | |
2837 | (mov<mode>_softfloat): Likewise. | |
2838 | (mov<mode>_hardfloat32): Likewise. | |
2839 | (mov<mode>_hardfloat64): Likewise. | |
2840 | (mov<mode>_softfloat64): Likewise. | |
2841 | (movdi_internal32): Likewise. | |
2842 | (movdi_internal64): Likewise. | |
2843 | (probe_stack_<mode>): Likewise. | |
2844 | ||
2845 | 2013-03-20 Michael Meissner <meissner@linux.vnet.ibm.com> | |
2846 | ||
2847 | * config/rs6000/vector.md (VEC_R): Add 32-bit integer, binary | |
2848 | floating point, and decimal floating point to reload iterator. | |
2849 | ||
2850 | * config/rs6000/constraints.md (wl constraint): New constraints to | |
2851 | return FLOAT_REGS if certain options are used to reduce the number | |
2852 | of separate patterns that exist in the file. | |
2853 | (wx constraint): Likewise. | |
2854 | (wz constraint): Likewise. | |
2855 | ||
2856 | * config/rs6000/rs6000.c (rs6000_debug_reg_global): If | |
2857 | -mdebug=reg, print wg, wl, wx, and wz constraints. | |
2858 | (rs6000_init_hard_regno_mode_ok): Initialize new constraints. | |
2859 | Initialize the reload functions for 64-bit binary/decimal floating | |
2860 | point types. | |
2861 | (reg_offset_addressing_ok_p): If we are on a power7 or later, use | |
2862 | LFIWZX and STFIWX to load/store 32-bit decimal types, and don't | |
2863 | create the buffer on the stack to overcome not having a 32-bit | |
2864 | load and store. | |
2865 | (rs6000_emit_move): Likewise. | |
2866 | (rs6000_secondary_memory_needed_rtx): Likewise. | |
2867 | (rs6000_alloc_sdmode_stack_slot): Likewise. | |
2868 | (rs6000_preferred_reload_class): On VSX, we can create SFmode 0.0f | |
2869 | via xxlxor, just like DFmode 0.0. | |
2870 | ||
2871 | * config/rs6000/rs6000.h (TARGET_NO_SDMODE_STACK): New macro, | |
2872 | define as 1 if we are running on a power7 or newer. | |
2873 | (enum r6000_reg_class_enum): Add new constraints. | |
2874 | ||
2875 | * config/rs6000/dfp.md (movsd): Delete, combine with binary | |
2876 | floating point moves in rs6000.md. Combine power6x (mfpgpr) moves | |
2877 | with other moves by using conditional constraits (wg). Use LFIWZX | |
bd059b26 | 2878 | and STFIWX for loading SDmode on power7. Use xxlxor to create 0.0f. |
c6d5ff83 MM |
2879 | (movsd splitter): Likewise. |
2880 | (movsd_hardfloat): Likewise. | |
2881 | (movsd_softfloat): Likewise. | |
2882 | ||
2883 | * config/rs6000/rs6000.md (FMOVE32): New iterators to combine | |
2884 | binary and decimal floating point moves. | |
2885 | (fmove_ok): New attributes to combine binary and decimal floating | |
2886 | point moves, and to combine power6x (mfpgpr) moves along normal | |
2887 | floating moves. | |
2888 | (real_value_to_target): Likewise. | |
2889 | (f32_lr): Likewise. | |
2890 | (f32_lm): Likewise. | |
2891 | (f32_li): Likewise. | |
2892 | (f32_sr): Likewise. | |
2893 | (f32_sm): Likewise. | |
2894 | (f32_si): Likewise. | |
2895 | (movsf): Combine binary and decimal floating point moves. Combine | |
2896 | power6x (mfpgpr) moves with other moves by using conditional | |
bd059b26 | 2897 | constraits (wg). Use LFIWZX and STFIWX for loading SDmode on power7. |
c6d5ff83 MM |
2898 | (mov<mode> for SFmode/SDmode); Likewise. |
2899 | (SFmode/SDmode splitters): Likewise. | |
2900 | (movsf_hardfloat): Likewise. | |
2901 | (mov<mode>_hardfloat for SFmode/SDmode): Likewise. | |
2902 | (movsf_softfloat): Likewise. | |
2903 | (mov<mode>_softfloat for SFmode/SDmode): Likewise. | |
2904 | ||
2905 | * doc/md.texi (PowerPC and IBM RS6000 constraints): Document wl, | |
2906 | wx and wz constraints. | |
2907 | ||
2908 | * config/rs6000/constraints.md (wg constraint): New constraint to | |
2909 | return FLOAT_REGS if -mmfpgpr (power6x) was used. | |
2910 | ||
2911 | * config/rs6000/rs6000.h (enum r6000_reg_class_enum): Add wg | |
2912 | constraint. | |
2913 | ||
2914 | * config/rs6000/rs6000.c (rs6000_debug_reg_global): If | |
2915 | -mdebug=reg, print wg, wl, wx, and wz constraints. | |
2916 | (rs6000_init_hard_regno_mode_ok): Initialize new constraints. | |
2917 | Initialize the reload functions for 64-bit binary/decimal floating | |
2918 | point types. | |
2919 | (reg_offset_addressing_ok_p): If we are on a power7 or later, use | |
2920 | LFIWZX and STFIWX to load/store 32-bit decimal types, and don't | |
2921 | create the buffer on the stack to overcome not having a 32-bit | |
2922 | load and store. | |
2923 | (rs6000_emit_move): Likewise. | |
2924 | (rs6000_secondary_memory_needed_rtx): Likewise. | |
2925 | (rs6000_alloc_sdmode_stack_slot): Likewise. | |
2926 | (rs6000_preferred_reload_class): On VSX, we can create SFmode 0.0f | |
2927 | via xxlxor, just like DFmode 0.0. | |
2928 | ||
c6d5ff83 MM |
2929 | * config/rs6000/dfp.md (movdd): Delete, combine with binary |
2930 | floating point moves in rs6000.md. Combine power6x (mfpgpr) moves | |
2931 | with other moves by using conditional constraits (wg). Use LFIWZX | |
2932 | and STFIWX for loading SDmode on power7. | |
2933 | (movdd splitters): Likewise. | |
2934 | (movdd_hardfloat32): Likewise. | |
2935 | (movdd_softfloat32): Likewise. | |
2936 | (movdd_hardfloat64_mfpgpr): Likewise. | |
2937 | (movdd_hardfloat64): Likewise. | |
2938 | (movdd_softfloat64): Likewise. | |
2939 | ||
2940 | * config/rs6000/rs6000.md (FMOVE64): New iterators to combine | |
2941 | 64-bit binary and decimal floating point moves. | |
2942 | (FMOVE64X): Likewise. | |
2943 | (movdf): Combine 64-bit binary and decimal floating point moves. | |
2944 | Combine power6x (mfpgpr) moves with other moves by using | |
2945 | conditional constraits (wg). | |
2946 | (mov<mode> for DFmode/DDmode): Likewise. | |
2947 | (DFmode/DDmode splitters): Likewise. | |
2948 | (movdf_hardfloat32): Likewise. | |
2949 | (mov<mode>_hardfloat32 for DFmode/DDmode): Likewise. | |
2950 | (movdf_softfloat32): Likewise. | |
2951 | (movdf_hardfloat64_mfpgpr): Likewise. | |
2952 | (movdf_hardfloat64): Likewise. | |
2953 | (mov<mode>_hardfloat64 for DFmode/DDmode): Likewise. | |
2954 | (movdf_softfloat64): Likewise. | |
2955 | (mov<mode>_softfloat64 for DFmode/DDmode): Likewise. | |
2956 | (reload_<mode>_load): Move to later in the file so they aren't in | |
2957 | the middle of the floating point move insns. | |
2958 | (reload_<mode>_store): Likewise. | |
2959 | ||
2960 | * doc/md.texi (PowerPC and IBM RS6000 constraints): Document wg | |
2961 | constraint. | |
2962 | ||
2963 | * config/rs6000/rs6000.c (rs6000_debug_reg_global): Print out wg | |
2964 | constraint if -mdebug=reg. | |
bd059b26 UB |
2965 | (rs6000_initi_hard_regno_mode_ok): Enable wg constraint if -mfpgpr. |
2966 | Enable using dd reload support if needed. | |
c6d5ff83 MM |
2967 | |
2968 | * config/rs6000/dfp.md (movtd): Delete, combine with 128-bit | |
2969 | binary and decimal floating point moves in rs6000.md. | |
2970 | (movtd_internal): Likewise. | |
2971 | ||
2972 | * config/rs6000/rs6000.md (FMOVE128): Combine 128-bit binary and | |
2973 | decimal floating point moves. | |
2974 | (movtf): Likewise. | |
2975 | (movtf_internal): Likewise. | |
2976 | (mov<mode>_internal, TDmode/TFmode): Likewise. | |
2977 | (movtf_softfloat): Likewise. | |
2978 | (mov<mode>_softfloat, TDmode/TFmode): Likewise. | |
2979 | ||
2980 | * config/rs6000/rs6000.md (movdi_mfpgpr): Delete, combine with | |
2981 | movdi_internal64, using wg constraint for move direct operations. | |
2982 | (movdi_internal64): Likewise. | |
2983 | ||
2984 | * config/rs6000/rs6000.c (rs6000_debug_reg_global): Print | |
2985 | MODES_TIEABLE_P for selected modes. Print the numerical value of | |
2986 | the various virtual registers. Use GPR/FPR first/last values, | |
2987 | instead of hard coding the register numbers. Print which modes | |
2988 | have reload functions registered. | |
bd059b26 UB |
2989 | (rs6000_option_override_internal): If -mdebug=reg, trace the options |
2990 | settings before/after setting cpu, target and subtarget settings. | |
2991 | (rs6000_secondary_reload_trace): Improve the RTL dump for -mdebug=addr | |
2992 | and for secondary reload failures in rs6000_secondary_reload_inner. | |
c6d5ff83 MM |
2993 | (rs6000_secondary_reload_fail): Likewise. |
2994 | (rs6000_secondary_reload_inner): Likewise. | |
2995 | ||
2996 | * config/rs6000/rs6000.md (FIRST_GPR_REGNO): Add convenience | |
2997 | macros for first/last GPR and FPR registers. | |
2998 | (LAST_GPR_REGNO): Likewise. | |
2999 | (FIRST_FPR_REGNO): Likewise. | |
3000 | (LAST_FPR_REGNO): Likewise. | |
3001 | ||
3002 | * config/rs6000/vector.md (mul<mode>3): Use the combined macro | |
3003 | VECTOR_UNIT_ALTIVEC_OR_VSX_P instead of separate calls to | |
3004 | VECTOR_UNIT_ALTIVEC_P and VECTOR_UNIT_VSX_P. | |
3005 | (vcond<mode><mode>): Likewise. | |
3006 | (vcondu<mode><mode>): Likewise. | |
3007 | (vector_gtu<mode>): Likewise. | |
3008 | (vector_gte<mode>): Likewise. | |
3009 | (xor<mode>3): Don't allow logical operations on TImode in 32-bit | |
bd059b26 | 3010 | to prevent the compiler from converting DImode operations to TImode. |
c6d5ff83 MM |
3011 | (ior<mode>3): Likewise. |
3012 | (and<mode>3): Likewise. | |
3013 | (one_cmpl<mode>2): Likewise. | |
3014 | (nor<mode>3): Likewise. | |
3015 | (andc<mode>3): Likewise. | |
3016 | ||
3017 | * config/rs6000/constraints.md (wt constraint): New constraint | |
3018 | that returns VSX_REGS if TImode is allowed in VSX registers. | |
3019 | ||
3020 | * config/rs6000/predicates.md (easy_fp_constant): 0.0f is an easy | |
3021 | constant under VSX. | |
3022 | ||
3023 | * config/rs6000/rs6000-modes.def (PTImode): Define, PTImode is | |
3024 | similar to TImode, but it is restricted to being in the GPRs. | |
3025 | ||
3026 | * config/rs6000/rs6000.opt (-mvsx-timode): New switch to allow | |
3027 | TImode to occupy a single VSX register. | |
3028 | ||
3029 | * config/rs6000/rs6000-cpus.def (ISA_2_6_MASKS_SERVER): Default to | |
3030 | -mvsx-timode for power7/power8. | |
3031 | (power7 cpu): Likewise. | |
3032 | (power8 cpu): Likewise. | |
3033 | ||
3034 | * config/rs6000/rs6000.c (rs6000_hard_regno_nregs_internal): Make | |
3035 | sure that TFmode/TDmode take up two registers if they are ever | |
3036 | allowed in the upper VSX registers. | |
3037 | (rs6000_hard_regno_mode_ok): If -mvsx-timode, allow TImode in VSX | |
3038 | registers. | |
3039 | (rs6000_init_hard_regno_mode_ok): Likewise. | |
3040 | (rs6000_debug_reg_global): Add debugging for PTImode and wt | |
3041 | constraint. Print if LRA is turned on. | |
3042 | (rs6000_option_override_internal): Give an error if -mvsx-timode | |
3043 | and VSX is not enabled. | |
3044 | (invalid_e500_subreg): Handle PTImode, restricting it to GPRs. If | |
3045 | -mvsx-timode, restrict TImode to reg+reg addressing, and PTImode | |
3046 | to reg+offset addressing. Use PTImode when checking offset | |
3047 | addresses for validity. | |
3048 | (reg_offset_addressing_ok_p): Likewise. | |
3049 | (rs6000_legitimate_offset_address_p): Likewise. | |
3050 | (rs6000_legitimize_address): Likewise. | |
3051 | (rs6000_legitimize_reload_address): Likewise. | |
3052 | (rs6000_legitimate_address_p): Likewise. | |
3053 | (rs6000_eliminate_indexed_memrefs): Likewise. | |
3054 | (rs6000_emit_move): Likewise. | |
3055 | (rs6000_secondary_reload): Likewise. | |
3056 | (rs6000_secondary_reload_inner): Handle PTImode. Allow 64-bit | |
3057 | reloads to fpr registers to continue to use reg+offset addressing, | |
3058 | but 64-bit reloads to altivec registers need reg+reg addressing. | |
3059 | Drop test for PRE_MODIFY, since VSX loads/stores no longer support | |
3060 | it. Treat LO_SUM like a PLUS operation. | |
3061 | (rs6000_secondary_reload_class): If type is 64-bit, prefer to use | |
bd059b26 | 3062 | FLOAT_REGS instead of VSX_RGS to allow use of reg+offset addressing. |
c6d5ff83 MM |
3063 | (rs6000_cannot_change_mode_class): Do not allow TImode in VSX |
3064 | registers to share a register with a smaller sized type, since VSX | |
3065 | puts scalars in the upper 64-bits. | |
3066 | (print_operand): Add support for PTImode. | |
3067 | (rs6000_register_move_cost): Use VECTOR_MEM_VSX_P instead of | |
3068 | VECTOR_UNIT_VSX_P to catch types that can be loaded in VSX | |
3069 | registers, but don't have arithmetic support. | |
3070 | (rs6000_memory_move_cost): Add test for VSX. | |
3071 | (rs6000_opt_masks): Add -mvsx-timode. | |
3072 | ||
3073 | * config/rs6000/vsx.md (VSm): Change to use 64-bit aligned moves | |
3074 | for TImode. | |
3075 | (VSs): Likewise. | |
3076 | (VSr): Use wt constraint for TImode. | |
3077 | (VSv): Drop TImode support. | |
3078 | (vsx_movti): Delete, replace with versions for 32-bit and 64-bit. | |
3079 | (vsx_movti_64bit): Likewise. | |
3080 | (vsx_movti_32bit): Likewise. | |
3081 | (vec_store_<mode>): Use VSX iterator instead of vector iterator. | |
3082 | (vsx_and<mode>3): Delete use of '?' constraint on inputs, just put | |
3083 | one '?' on the appropriate output constraint. Do not allow TImode | |
3084 | logical operations on 32-bit systems. | |
3085 | (vsx_ior<mode>3): Likewise. | |
3086 | (vsx_xor<mode>3): Likewise. | |
3087 | (vsx_one_cmpl<mode>2): Likewise. | |
3088 | (vsx_nor<mode>3): Likewise. | |
3089 | (vsx_andc<mode>3): Likewise. | |
3090 | (vsx_concat_<mode>): Likewise. | |
3091 | (vsx_xxpermdi_<mode>): Fix thinko for non V2DF/V2DI modes. | |
3092 | ||
3093 | * config/rs6000/rs6000.h (MASK_VSX_TIMODE): Map from | |
3094 | OPTION_MASK_VSX_TIMODE. | |
3095 | (enum rs6000_reg_class_enum): Add RS6000_CONSTRAINT_wt. | |
3096 | (STACK_SAVEAREA_MODE): Use PTImode instead of TImode. | |
3097 | ||
3098 | * config/rs6000/rs6000.md (INT mode attribute): Add PTImode. | |
3099 | (TI2 iterator): New iterator for TImode, PTImode. | |
3100 | (wd mode attribute): Add values for vector types. | |
bd059b26 UB |
3101 | (movti_string): Replace TI move operations with operations for TImode |
3102 | and PTImode. Add support for TImode being allowed in VSX registers. | |
c6d5ff83 MM |
3103 | (mov<mode>_string, TImode/PTImode): Likewise. |
3104 | (movti_ppc64): Likewise. | |
3105 | (mov<mode>_ppc64, TImode/PTImode): Likewise. | |
3106 | (TI mode splitters): Likewise. | |
3107 | ||
3108 | * doc/md.texi (PowerPC and IBM RS6000 constraints): Document wt | |
3109 | constraint. | |
3110 | ||
1fc5eced MG |
3111 | 2013-03-20 Marc Glisse <marc.glisse@inria.fr> |
3112 | ||
3113 | PR tree-optimization/56355 | |
3114 | * fold-const.c (tree_binary_nonnegative_warnv_p) <MULT_EXPR>: | |
3115 | Also handle integers with undefined overflow. | |
3116 | ||
22c4c869 CM |
3117 | 2013-03-20 Catherine Moore <clm@codesourcery.com> |
3118 | Maciej W. Rozycki <macro@codesourcery.com> | |
3119 | Tom de Vries <tom@codesourcery.com> | |
3120 | Nathan Sidwell <nathan@codesourcery.com> | |
3121 | Iain Sandoe <iain@codesourcery.com> | |
3122 | Nathan Froyd <froydnj@codesourcery.com> | |
3123 | Chao-ying Fu <fu@mips.com> | |
3124 | ||
3125 | * doc/extend.texi: (micromips, nomicromips, nocompression): | |
7cf34aae | 3126 | Document new function attributes. |
22c4c869 CM |
3127 | * doc/invoke.texi (minterlink-compressed, mmicromips, |
3128 | m14k, m14ke, m14kec): Document new options. | |
3129 | (minterlink-mips16): Update documentation. | |
3130 | * doc/md.texi (ZC, ZD): Document new constraints. | |
3131 | * configure.ac (gcc_cv_as_micromips): Check if linker | |
3132 | supports the .set micromips directive. | |
3133 | * configure: Regenerate. | |
3134 | * config.in: Regenerate. | |
3135 | * config/mips/mips-tables.opt: Regenerate. | |
3136 | * config/mips/micromips.md: New file. | |
3137 | * constraints.md (ZC, ZD): New constraints. | |
3138 | * config/mips/predicates.md (movep_src_register): New predicate. | |
3139 | (movep_src_operand): New predicate. | |
3140 | (non_volatile_mem_operand): New predicate. | |
3141 | * config/mips/mips.md (multimem): New type. | |
3142 | (length): Differentiate between 17-bit and 18-bit branch offsets. | |
3143 | (MOVEP1, MOVEP2): New mode iterator. | |
33159866 | 3144 | (mov_<load>l): Use ZC constraint. |
22c4c869 CM |
3145 | (mov_<load>r): Likewise. |
3146 | (mov_<store>l): Likewise. | |
3147 | (mov_<store>r): Likewise. | |
3148 | (*branch_equality<mode>_inverted): Add microMIPS support. | |
3149 | (*branch_equality<mode>): Likewise. | |
3150 | (*jump_absolute): Likewise. | |
3151 | (indirect_jump_<mode>): Likewise. | |
3152 | (tablejump_<mode>): Likewise. | |
3153 | (<optab>_internal): Likewise. | |
3154 | (sibcall_internal): Likewise. | |
3155 | (sibcall_value_internal): Likewise. | |
3156 | (prefetch): Use constraint ZD. | |
3157 | * config/mips/mips.opt (minterlink-compressed): New option. | |
3158 | (minterlink-mips16): Now an alias for minterlink-compressed. | |
3159 | (mmicromips): New option. | |
3160 | * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZR constraint. | |
3161 | (compare_and_swap_12): Likewise. | |
3162 | (sync_add<mode>): Likewise. | |
3163 | (sync_<optab>_12): Likewise. | |
3164 | (sync_old_<optab>_12): Likewise. | |
3165 | (sync_new_<optab>_12): Likewise. | |
3166 | (sync_nand_12): Likewise. | |
3167 | (sync_old_nand_12): Likewise. | |
3168 | (sync_new_nand_12): Likewise. | |
3169 | (sync_sub<mode>): Likewise. | |
3170 | (sync_old_add<mode>): Likewise. | |
3171 | (sync_old_sub<mode>): Likewise. | |
3172 | (sync_new_add<mode>): Likewise. | |
3173 | (sync_new_sub<mode>): Likewise. | |
3174 | (sync_<optab><mode>): Likewise. | |
3175 | (sync_old_<optab><mode>): Likewise. | |
3176 | (sync_new_<optab><mode>): Likewise. | |
3177 | (sync_nand<mode>): Likewise. | |
3178 | (sync_old_nand<mode>): Likewise. | |
3179 | (sync_new_nand<mode>): Likewise. | |
3180 | (sync_lock_test_and_set<mode>): Likewise. | |
3181 | (test_and_set_12): Likewise. | |
3182 | (atomic_compare_and_swap<mode>): Likewise. | |
3183 | (atomic_exchange<mode>_llsc): Likewise. | |
3184 | (atomic_fetch_add<mode>_llsc): Likewise. | |
3185 | * config/mips/mips-cpus.def (m14kc, m14k): New processors. | |
3186 | * config/mips/mips-protos.h (umips_output_save_restore): New prototype. | |
3187 | (umips_save_restore_pattern_p): Likewise. | |
3188 | (umips_load_store_pair_p): Likewise. | |
3189 | (umips_output_load_store_pair): Likewise. | |
3190 | (umips_movep_target_p): Likewise. | |
3191 | (umips_12bit_offset_address_p): Likewise. | |
3192 | * config/mips/mips.c (MIPS_MAX_FIRST_STEP): Update for microMIPS. | |
3193 | (mips_base_mips16): Rename this... | |
3194 | (mips_base_compression_flags): ...to this. Update all uses. | |
3195 | (mips_attribute_table): Add micromips, nomicromips and nocompression. | |
3196 | (mips_mips16_decl_p): Delete. | |
3197 | (mips_nomips16_decl_p): Delete. | |
33159866 | 3198 | (mips_get_compress_on_flags): New function. |
22c4c869 CM |
3199 | (mips_get_compress_off_flags): New function. |
3200 | (mips_get_compress_mode): New function. | |
3201 | (mips_get_compress_on_name): New function. | |
3202 | (mips_get_compress_off_name): New function. | |
3203 | (mips_insert_attributes): Support multiple compression types. | |
3204 | (mips_merge_decl_attributes): Likewise. | |
3205 | (umips_12bit_offset_address_p): New function. | |
3206 | (mips_start_function_definition): Emit .set micromips directive. | |
3207 | (mips_call_may_need_jalx_p): New function. | |
3208 | (mips_function_ok_for_sibcall): Add microMIPS support. | |
3209 | (mips_print_operand_punctuation): Support short delay slots and | |
3210 | compact jumps. | |
3211 | (umips_swm_mask, umips_swm_encoding): New. | |
3212 | (umips_build_save_restore): New function. | |
3213 | (mips_for_each_saved_gpr_and_fpr): Add microMIPS support. | |
3214 | (was_mips16_p): Remove. | |
3215 | (old_compression_mode): New. | |
3216 | (mips_set_compression_mode): New function. | |
3217 | (mips_set_current_function): Add microMIPS support. | |
3218 | (mips_option_override): Likewise. | |
3219 | (umips_save_restore_pattern_p): New function. | |
3220 | (umips_output_save_restore): New function. | |
3221 | (umips_load_store_pair_p_1): New function. | |
3222 | (umips_load_store_pair_p): New function. | |
3223 | (umips_output_load_store_pair_1): New function. | |
3224 | (umips_output_load_store_pair): New function. | |
3225 | (umips_movep_target_p) New function. | |
3226 | (mips_prepare_pch_save): Add microMIPS support. | |
3227 | * config/mips/mips.h (TARGET_COMPRESSION): New. | |
3228 | (TARGET_CPU_CPP_BUILTINS): Update macro | |
3229 | to use new compression flags and to support microMIPS. | |
3230 | (MIPS_ISA_LEVEL_SPEC): Add m14k processors. | |
3231 | (MIPS_ARCH_FLOAT_SPEC): Likewise. | |
3232 | (ISA_HAS_LWXS): Include TARGET_MICROMIPS. | |
3233 | (ISA_HAS_LOAD_DELAY): Exclude TARGET_MICROMIPS. | |
3234 | (ASM_SPEC): Support mmicromips and mno-micromips. | |
3235 | (M16STORE_REG_P): New macro. | |
3236 | (MIPS_CALL): Support TARGET_MICROMIPS. | |
3237 | (MICROMIPS_J): New macro. | |
3238 | (mips_base_mips16): Rename this... | |
3239 | (mips_base_compression_flags): ...to this. | |
3240 | (UMIPS_12BIT_OFFSET_P): New macro. | |
3241 | * config/mips/t-sde: (MULTILIB_OPTIONS): Add microMIPS. | |
3242 | (MULTILIB_DIRNAMES): Likewise. | |
92a8d7a7 RB |
3243 | 2013-03-20 Richard Biener <rguenther@suse.de> |
3244 | ||
3245 | PR tree-optimization/56661 | |
3246 | * tree-ssa-sccvn.c (visit_use): Only value-number calls if | |
3247 | the result does not have to be distinct. | |
3248 | ||
54714c68 RB |
3249 | 2013-03-20 Richard Biener <rguenther@suse.de> |
3250 | ||
3251 | * tree-inline.c (copy_tree_body_r): Sync MEM_REF code with | |
3252 | remap_gimple_op_r. | |
3253 | ||
cca1130d BS |
3254 | 2013-03-20 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
3255 | Steven Bosscher <steven@gcc.gnu.org> | |
3256 | ||
3257 | PR rtl-optimization/56605 | |
3258 | * loop-iv.c (implies_p): Handle equal RTXs and subregs. | |
3259 | ||
2a930377 UB |
3260 | 2013-03-20 Uros Bizjak <ubizjak@gmail.com> |
3261 | ||
3262 | PR bootstrap/56656 | |
3263 | * config/i386/i386.md (*movdi_internal): Handle broken assemblers | |
3264 | that require movd instead of movq. | |
3265 | ||
d6d305fe RB |
3266 | 2013-03-20 Richard Biener <rguenther@suse.de> |
3267 | ||
3268 | * tree-ssa-structalias.c (struct variable_info): Add pointer | |
3269 | to the first field of an aggregate with sub-vars. Make | |
3270 | this and the pointer to the next subfield its ID. | |
3271 | (vi_next): New function. | |
3272 | (nothing_id, anything_id, readonly_id, escaped_id, nonlocal_id, | |
3273 | storedanything_id, integer_id): Increment by one. | |
3274 | (new_var_info, get_call_vi, lookup_call_clobber_vi, | |
3275 | get_call_clobber_vi): Adjust. | |
3276 | (solution_set_expand): Simplify and speedup. | |
3277 | (solution_set_add): Inline into ... | |
3278 | (set_union_with_increment): ... this. Adjust accordingly. | |
3279 | (do_sd_constraint): Likewise. | |
3280 | (do_ds_constraint): Likewise. | |
3281 | (do_complex_constraint): Simplify. | |
3282 | (build_pred_graph): Adjust. | |
3283 | (solve_graph): Likewise. Simplify and speedup. | |
3284 | (get_constraint_for_ssa_var, get_constraint_for_ptr_offset, | |
3285 | get_constraint_for_component_ref, get_constraint_for_1, | |
3286 | first_vi_for_offset, first_or_preceding_vi_for_offset, | |
3287 | create_function_info_for, create_variable_info_for_1, | |
3288 | create_variable_info_for, intra_create_variable_infos): Adjust. | |
3289 | (init_base_vars): Push NULL for ID zero. | |
3290 | (compute_points_to_sets): Adjust. | |
3291 | ||
a271b42d RB |
3292 | 2013-03-20 Richard Biener <rguenther@suse.de> |
3293 | ||
3294 | * cfgloop.c (verify_loop_structure): Streamline and avoid | |
3295 | ICEing on corrupt loop tree. | |
3296 | * graph.c (draw_cfg_nodes_for_loop): Avoid ICEing on corrupt | |
3297 | loop tree. | |
3298 | ||
ebd65954 RB |
3299 | 2013-03-20 Richard Biener <rguenther@suse.de> |
3300 | ||
3301 | * tree-vect-loop-manip.c (slpeel_can_duplicate_loop_p): Do not | |
3302 | check whether an SSA update is needed. | |
3303 | ||
4547b7ee RS |
3304 | 2013-03-20 Richard Sandiford <rdsandiford@googlemail.com> |
3305 | ||
3306 | * config/mips/constraints.md (T): Rename to... | |
3307 | (Yf): ...this. | |
3308 | (U): Rename to... | |
3309 | (Yd): ...this. | |
3310 | * config/mips/mips.md (*movdi_64bit, *movdi_64bit_mips16) | |
3311 | (*mov<mode>_internal, *mov<mode>_mips16): Update accordingly. | |
3312 | ||
0b8cdc58 IB |
3313 | 2013-03-19 Ian Bolton <ian.bolton@arm.com> |
3314 | ||
3315 | * config/aarch64/aarch64.md (*sub<mode>3_carryin): New pattern. | |
3316 | (*subsi3_carryin_uxtw): Likewise. | |
3317 | ||
5977a10d IB |
3318 | 2013-03-19 Ian Bolton <ian.bolton@arm.com> |
3319 | ||
3320 | * config/aarch64/aarch64.md (*ror<mode>3_insn): New pattern. | |
3321 | (*rorsi3_insn_uxtw): Likewise. | |
3322 | ||
bd83ff2c IB |
3323 | 2013-03-19 Ian Bolton <ian.bolton@arm.com> |
3324 | ||
3325 | * config/aarch64/aarch64.md (*extr<mode>5_insn): New pattern. | |
3326 | (*extrsi5_insn_uxtw): Likewise. | |
3327 | ||
ba65123c RB |
3328 | 2013-03-19 Richard Biener <rguenther@suse.de> |
3329 | ||
3330 | PR tree-optimization/56273 | |
3331 | * passes.c (init_optimization_passes): Move second VRP after DOM. | |
3332 | ||
2eac0476 UB |
3333 | 2013-03-19 Uros Bizjak <ubizjak@gmail.com> |
3334 | ||
3335 | * config/i386/i386.md (*movti_internal): Merge from | |
3336 | *movti_internal_rex64 and *movti_internal_sse. Use x64 isa attribute. | |
3337 | (*movdi_internal): Merge with *movdi_internal_rex64. Use x64 and | |
3338 | nox64 isa attributes. | |
3339 | ||
6e55eda7 RB |
3340 | 2013-03-18 Richard Biener <rguenther@suse.de> |
3341 | ||
3342 | * tree-ssa-structalias.c (find): Use gcc_checking_assert. | |
3343 | (unite): Likewise. | |
3344 | (merge_node_constraints): Likewise. | |
3345 | (build_succ_graph): Likewise. | |
3346 | (valid_graph_edge): Inline into single caller. | |
3347 | (unify_nodes): Likewise. Use bitmap_set_bit return value | |
3348 | and cache varinfo. | |
3349 | (scc_visit): Fix formatting and variable use. | |
3350 | (do_sd_constraint): Use gcc_checking_assert. | |
3351 | (do_ds_constraint): Likewise. | |
3352 | (do_complex_constraint): Likewise. | |
3353 | (condense_visit): Likewise. Cleanup. | |
3354 | (dump_pred_graph): New function. | |
3355 | (perform_var_substitution): Dump the pred-graph before | |
3356 | variable substitution. | |
3357 | (find_equivalent_node): Use gcc_checking_assert. | |
3358 | (rewrite_constraints): Guard checking loop with ENABLE_CHECKING. | |
3359 | ||
4bdd44c4 RB |
3360 | 2013-03-18 Richard Biener <rguenther@suse.de> |
3361 | ||
3362 | * tree-vect-loop-manip.c (vect_create_cond_for_alias_checks): | |
3363 | Remove cond_expr_stmt_list argument and do not gimplify the | |
3364 | built expression. | |
3365 | (vect_loop_versioning): Adjust. | |
3366 | * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): | |
3367 | Cleanup to use less temporaries. | |
3368 | (vect_create_data_ref_ptr): Cleanup. | |
3369 | ||
38c56a5b JJ |
3370 | 2013-03-18 Jakub Jelinek <jakub@redhat.com> |
3371 | ||
3372 | PR tree-optimization/56635 | |
3373 | * fold-const.c (operand_equal_p): For MEM_REF and TARGET_MEM_REF, | |
3374 | require types_compatible_p types. | |
3375 | ||
20b2e6a0 NC |
3376 | 2013-03-18 Nick Clifton <nickc@redhat.com> |
3377 | ||
a6178a25 NC |
3378 | * config/stormy16/stormy16.c (xstormy16_expand_prologue): Remove |
3379 | spurious backslash. | |
3380 | ||
20b2e6a0 NC |
3381 | * config/mn10300/mn10300.c (mn10300_get_live_callee_saved_regs): |
3382 | Add missing line to comment describing function. | |
3383 | ||
92608d0e RB |
3384 | 2013-03-18 Richard Biener <rguenther@suse.de> |
3385 | ||
3386 | PR tree-optimization/56210 | |
3387 | * tree-ssa-structalias.c (find_func_aliases_for_builtin_call): | |
3388 | Handle string / character search functions. | |
3389 | * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Likewise. | |
3390 | ||
31348d52 RB |
3391 | 2013-03-18 Richard Biener <rguenther@suse.de> |
3392 | ||
3393 | PR middle-end/56483 | |
3394 | * cfgexpand.c (expand_gimple_cond): Inline gimple_cond_single_var_p | |
3395 | and implement properly. | |
3396 | * gimple.h (gimple_cond_single_var_p): Remove. | |
3397 | ||
fcac74a1 RB |
3398 | 2013-03-18 Richard Biener <rguenther@suse.de> |
3399 | ||
3400 | * tree-data-ref.h (find_data_references_in_loop): Declare. | |
3401 | * tree-data-ref.c (get_references_in_stmt): Use a stack | |
3402 | vector pre-allocated in the callers. | |
3403 | (find_data_references_in_stmt): Adjust. | |
3404 | (graphite_find_data_references_in_stmt): Likewise. | |
3405 | (create_rdg_vertices): Likewise. | |
3406 | (find_data_references_in_loop): Export. | |
3407 | * tree-vect-data-refs.c (vect_analyze_data_ref_dependences): | |
3408 | Compute dependences here... | |
3409 | (vect_analyze_data_refs): ...not here. When we encounter | |
3410 | a non-vectorizable data reference in basic-block vectorization | |
3411 | truncate the data reference vector. Do not bother to | |
3412 | fixup data-dependence information for gather loads. | |
3413 | * tree-vect-slp.c (vect_slp_analyze_bb_1): Check the number | |
3414 | of data references, as reported. | |
3415 | ||
0d5a1b56 RB |
3416 | 2013-03-18 Richard Biener <rguenther@suse.de> |
3417 | ||
3418 | PR tree-optimization/3713 | |
3419 | * tree-ssa-sccvn.c (visit_copy): Simplify. Always propagate | |
3420 | has_constants and expr. | |
3421 | (stmt_has_constants): Properly valueize SSA names when deciding | |
3422 | whether the stmt has constants. | |
3423 | ||
789c34e3 RB |
3424 | 2013-03-18 Richard Biener <rguenther@suse.de> |
3425 | ||
3426 | * tree-ssa-loop-manip.c (find_uses_to_rename): Do not scan the | |
3427 | whole function when there is nothing to do. | |
3428 | * tree-ssa-loop.c (pass_vectorize): Remove TODO_update_ssa. | |
3429 | * tree-vectorizer.c (vectorize_loops): Update virtual and | |
3430 | loop-closed SSA once. | |
3431 | * tree-vect-loop.c (vect_transform_loop): Do not update SSA here. | |
3432 | ||
076b4605 RB |
3433 | 2013-03-18 Richard Biener <rguenther@suse.de> |
3434 | ||
3435 | PR middle-end/56113 | |
3436 | * domwalk.c (bb_postorder): New global static. | |
3437 | (cmp_bb_postorder): New function. | |
3438 | (walk_dominator_tree): Replace scheme imposing an order for | |
3439 | visiting dominator sons by one sorting them at the time they | |
3440 | are pushed on the stack. | |
3441 | ||
bdb01696 RB |
3442 | 2013-03-18 Richard Biener <rguenther@suse.de> |
3443 | ||
3444 | PR tree-optimization/39326 | |
3445 | * tree-ssa-loop-im.c (refs_independent_p): Exploit symmetry. | |
3446 | (struct mem_ref): Replace mem member with ao_ref typed member. | |
3447 | (MEM_ANALYZABLE): Adjust. | |
3448 | (memref_eq): Likewise. | |
3449 | (mem_ref_alloc): Likewise. | |
3450 | (gather_mem_refs_stmt): Likewise. | |
3451 | (mem_refs_may_alias_p): Use the ao_ref to query the alias oracle. | |
3452 | (execute_sm_if_changed_flag_set): Adjust. | |
3453 | (execute_sm): Likewise. | |
3454 | (ref_always_accessed_p): Likewise. | |
3455 | (refs_independent_p): Likewise. | |
3456 | (can_sm_ref_p): Likewise. | |
3457 | ||
12d2dc5e JJ |
3458 | 2013-03-18 Jakub Jelinek <jakub@redhat.com> |
3459 | ||
3460 | PR c/56566 | |
3461 | * tree.c (tree_int_cst_min_precision): For integer_zerop (value) | |
3462 | return 1 even for !unsignedp. | |
3463 | ||
286fb677 UB |
3464 | 2013-03-17 Uros Bizjak <ubizjak@gmail.com> |
3465 | ||
3466 | * config/i386/i386.md (isa): Add x64 and nox64. | |
3467 | (enabled): Define x64 for TARGET_64BIT and nox64 for !TARGET_64BIT. | |
3468 | (*pushtf): Enable *roF alternative for x64 isa only. | |
3469 | (*pushxf): Merge with *pushxf_nointeger. Use Yx*r constraint. Set | |
3470 | mode attribute of integer alternatives to DImode for TARGET_64BIT. | |
3471 | (*pushdf): Merge with *pushdf_rex64. Use x64 and nox64 isa attributes. | |
3472 | (*movtf_internal): Merge from *movtf_internal_rex64 and | |
3473 | *movtf_internal_sse. Use x64 and nox64 isa attributes. | |
3474 | (*movxf_internal): Merge with *movxf_internal_rex64. Use x64 and | |
3475 | nox64 isa attributes. | |
3476 | (*movdf_internal): Merge with *movdf_internal_rex64. Use x64 and | |
3477 | nox64 isa attributes. | |
3478 | * config/i386/constraints.md (Yd): Do not set for TARGET_64BIT. | |
3479 | ||
88b97037 UB |
3480 | 2013-03-17 Uros Bizjak <ubizjak@gmail.com> |
3481 | ||
3482 | * config/alpha/alpha.c (TARGET_LRA_P): New define. | |
3483 | ||
9f4f1735 JJ |
3484 | 2013-03-17 Jakub Jelinek <jakub@redhat.com> |
3485 | ||
3486 | PR target/56640 | |
3487 | * config/arm/arm.h (REG_CLASS_NAMES): Add "SFP_REG" and "AFP_REG" | |
3488 | class names. Remove trailing comma after "ALL_REGS". | |
3489 | ||
48f4a6fa JH |
3490 | 2013-03-16 Jan Hubicka <jh@suse.cz> |
3491 | ||
3492 | * cgraph.h (cgraph_get_create_real_symbol_node): Declare. | |
3493 | * cgraph.c (cgraph_get_create_real_symbol_node): New function. | |
3494 | * cgrpahbuild.c: Use cgraph_get_create_real_symbol_node instead | |
3495 | of cgraph_get_create_node. | |
3496 | * ipa-prop.c (ipa_make_edge_direct_to_target): Likewise. | |
3497 | ||
98e81123 JM |
3498 | 2013-03-16 Jason Merrill <jason@redhat.com> |
3499 | ||
3500 | PR debug/49090 | |
3501 | * dwarf2out.c (gen_generic_params_dies): Indicate default arguments | |
3502 | with DW_AT_default_value. | |
3503 | ||
8a298c04 JJ |
3504 | 2013-03-16 Jakub Jelinek <jakub@redhat.com> |
3505 | ||
3506 | * BASE-VER: Set to 4.9.0. | |
3507 | ||
4323afa0 AK |
3508 | 2013-03-14 Andi Kleen <ak@linux.intel.com> |
3509 | ||
3510 | PR target/56619 | |
3511 | * doc/extend.texi: Document __ATOMIC_HLE_ACQUIRE, | |
3512 | __ATOMIC_HLE_RELEASE. Document __builtin_ia32 TSX intrincs. | |
3513 | Document _x* TSX intrinsics. | |
3514 | ||
b3c0d469 JJ |
3515 | 2013-03-14 Edgar E. Iglesias <edgar.iglesias@xilinx.com> |
3516 | David Holsgrove <david.holsgrove@xilinx.com> | |
8cc9a5a5 EI |
3517 | |
3518 | * configure.ac: Add MicroBlaze TLS support detection. | |
3519 | * configure: Regenerate. | |
88b97037 UB |
3520 | * config/microblaze/microblaze-protos.h |
3521 | (microblaze_cannot_force_const_mem, microblaze_tls_referenced_p, | |
3522 | symbol_mentioned_p, label_mentioned_p): Add prototypes. | |
3523 | * config/microblaze/microblaze.c (microblaze_address_type): Add | |
3524 | ADDRESS_TLS and tls_reloc address types. | |
8cc9a5a5 EI |
3525 | (microblaze_address_info): Add tls_reloc. |
3526 | (TARGET_HAVE_TLS): Define. | |
3527 | (get_tls_get_addr, microblaze_tls_symbol_p, microblaze_tls_operand_p_1, | |
3528 | microblaze_tls_referenced_p, microblaze_cannot_force_const_mem, | |
88b97037 UB |
3529 | symbol_mentioned_p, label_mentioned_p, tls_mentioned_p, |
3530 | load_tls_operand, microblaze_call_tls_get_addr, | |
3531 | microblaze_legitimize_tls_address): New functions. | |
8cc9a5a5 EI |
3532 | (microblaze_classify_unspec): Handle UNSPEC_TLS. |
3533 | (get_base_reg): Use microblaze_tls_symbol_p. | |
3534 | (microblaze_classify_address): Handle TLS. | |
88b97037 UB |
3535 | (microblaze_legitimate_pic_operand): Use symbol_mentioned_p, |
3536 | label_mentioned_p and microblaze_tls_referenced_p. | |
8cc9a5a5 EI |
3537 | (microblaze_legitimize_address): Handle TLS. |
3538 | (microblaze_address_insns): Handle ADDRESS_TLS. | |
3539 | (pic_address_needs_scratch): Handle TLS. | |
3540 | (print_operand_address): Handle TLS. | |
3541 | (microblaze_expand_prologue): Check TLS_NEEDS_GOT. | |
3542 | (microblaze_expand_move): Handle TLS. | |
88b97037 UB |
3543 | (microblaze_legitimate_constant_p): Check |
3544 | microblaze_cannot_force_const_mem and microblaze_tls_symbol_p. | |
8cc9a5a5 EI |
3545 | (TARGET_CANNOT_FORCE_CONST_MEM): Define. |
3546 | * config/microblaze/microblaze.h (TLS_NEEDS_GOT): Define | |
3547 | (PIC_OFFSET_TABLE_REGNUM): Set. | |
3548 | * config/microblaze/linux.h (TLS_NEEDS_GOT): Define. | |
3549 | * config/microblaze/microblaze.md (UNSPEC_TLS): Define. | |
3550 | (addsi3, movsi_internal2, movdf_internal): Update constraints | |
3551 | * config/microblaze/predicates.md (arith_plus_operand): Define | |
88b97037 UB |
3552 | (move_operand): Redefine as move_src_operand, |
3553 | check microblaze_tls_referenced_p. | |
8cc9a5a5 | 3554 | |
d803a491 IB |
3555 | 2013-03-14 Ian Bolton <ian.bolton@arm.com> |
3556 | ||
3557 | * config/aarch64/aarch64.md: (*and<mode>3nr_compare0): Use CC_NZ. | |
3558 | (*and_<SHIFT:optab><mode>3nr_compare0): Likewise. | |
3559 | ||
a8504f22 IB |
3560 | 2013-03-14 Ian Bolton <ian.bolton@arm.com> |
3561 | ||
3562 | * config/aarch64/aarch64.c (aarch64_select_cc_mode): Return correct | |
3563 | CC mode for AND. | |
3564 | ||
df2dfaea JJ |
3565 | 2013-03-14 Jakub Jelinek <jakub@redhat.com> |
3566 | ||
fbd28bc3 JJ |
3567 | PR tree-optimization/53265 |
3568 | * common.opt (Waggressive-loop-optimizations): New option. | |
3569 | * tree-ssa-loop-niter.c: Include tree-pass.h. | |
3570 | (do_warn_aggressive_loop_optimizations): New function. | |
3571 | (record_estimate): Call it. Don't add !is_exit bounds to loop->bounds | |
3572 | if number_of_latch_executions returned constant. | |
3573 | (estimate_numbers_of_iterations_loop): Call number_of_latch_executions | |
3574 | early. If number_of_latch_executions returned constant, set | |
3575 | nb_iterations_upper_bound back to it. | |
3576 | * cfgloop.h (struct loop): Add warned_aggressive_loop_optimizations | |
3577 | field. | |
3578 | * Makefile.in (tree-ssa-loop-niter.o): Depend on $(TREE_PASS_H). | |
3579 | * doc/invoke.texi (-Wno-aggressive-loop-optimizations): Document. | |
3580 | ||
df2dfaea JJ |
3581 | * config/aarch64/t-aarch64-linux (MULTARCH_DIRNAME): Remove. |
3582 | (MULTILIB_OSDIRNAMES): Set. | |
3583 | * genmultilib: If defaultosdirname doesn't start with :: , set | |
3584 | defaultosdirname2 instead, clear it and emit two . multilib_raw | |
3585 | entries instead of just one. | |
3586 | ||
ee0d2b68 KK |
3587 | 2013-03-14 Kaz Kojima <kkojima@gcc.gnu.org> |
3588 | ||
3589 | * config/sh/linux.h (TARGET_DEFAULT): Remove MASK_USERMODE. | |
3590 | (SUBTARGET_OVERRIDE_OPTIONS): Set TARGET_USERMODE as default. | |
3591 | * config/sh/netbsd-elf.h (TARGET_DEFAULT): Remove MASK_USERMODE. | |
3592 | (SUBTARGET_OVERRIDE_OPTIONS): New. | |
3593 | ||
decc676e OE |
3594 | 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org> |
3595 | ||
3596 | PR target/49880 | |
3597 | * config/sh/sh.opt (FPU_SINGLE_ONLY): New mask. | |
3598 | (musermode): Convert to Var(TARGET_USERMODE). | |
3599 | * config/sh/sh.h (SELECT_SH2A_SINGLE_ONLY, SELECT_SH4_SINGLE_ONLY, | |
3600 | MASK_ARCH): Add MASK_FPU_SINGLE_ONLY. | |
3601 | * config/sh/sh.c (sh_option_override): Use | |
3602 | TARGET_FPU_DOUBLE || TARGET_FPU_SINGLE_ONLY for call-fp case. | |
3603 | * config/sh/sh.md (udivsi3_i1, divsi3_i1): Remove ! TARGET_SH4 | |
3604 | condition. | |
3605 | (udivsi3_i4, divsi3_i4): Use TARGET_FPU_DOUBLE condition instead of | |
3606 | TARGET_SH4. | |
3607 | (udivsi3_i4_single, divsi3_i4_single): Use | |
3608 | TARGET_FPU_SINGLE_ONLY || TARGET_FPU_DOUBLE instead of TARGET_HARD_SH4. | |
3609 | ||
f4b719c7 DK |
3610 | 2013-03-13 Dave Korn <dave.korn.cygwin@....> |
3611 | ||
3612 | * config/i386/cygwin.h (SHARED_LIBGCC_SPEC): Make shared libgcc the | |
3613 | default setting. | |
3614 | ||
c40eced0 RB |
3615 | 2013-03-13 Richard Biener <rguenther@suse.de> |
3616 | ||
3617 | PR tree-optimization/56608 | |
3618 | * tree-vect-slp.c (vect_schedule_slp): Do not remove scalar | |
3619 | calls when vectorizing basic-blocks. | |
3620 | ||
1bfa5973 JJ |
3621 | 2013-03-13 Jakub Jelinek <jakub@redhat.com> |
3622 | ||
3623 | PR plugins/45078 | |
3624 | * config.gcc: On arm, mips, sh and sparc add vxworks-dummy.h to | |
3625 | tm_file. | |
3626 | ||
6fcf5434 JJ |
3627 | 2013-03-12 Jakub Jelinek <jakub@redhat.com> |
3628 | ||
3629 | * doc/invoke.texi (-Waddr-space-convert): Move into the table earlier. | |
3630 | ||
4f38fa8c JH |
3631 | 2013-03-11 Jan Hubicka <jh@suse.cz> |
3632 | ||
3633 | PR lto/56557 | |
3634 | * lto-streamer-out.c (output_symbol_p): Skip references from | |
3635 | constructors of external variables. | |
3636 | ||
c5c5ba89 JH |
3637 | 2013-03-11 Jan Hubicka <jh@suse.cz> |
3638 | ||
3639 | PR middle-end/56571 | |
3640 | * valtrack.c (cleanup_auto_inc_dec): Unshare clobbers originating | |
3641 | from pseudos. | |
3642 | * emit-rtl.c (verify_rtx_sharing): Likewise. | |
3643 | (copy_insn_1): Likewise. | |
3644 | * rtl.c (copy_rtx): Likewise. | |
3645 | ||
c2a939b1 GJL |
3646 | 2013-03-11 Georg-Johann Lay <avr@gjlay.de> |
3647 | ||
3648 | PR target/56591 | |
3649 | * config/avr/avr.c (avr_print_operand): Add space after '%c' in | |
3650 | output_operand_lossage message. | |
88b97037 | 3651 | |
3c3279fb RE |
3652 | 2013-03-11 Richard Earnshaw <rearnsha@arm.com> |
3653 | ||
3654 | PR target/56470 | |
3655 | * arm.c (shift_op): Validate RTL pattern on the fly. | |
3656 | (arm_print_operand, case 'S'): Don't use shift_operator to validate | |
3657 | the RTL. | |
3658 | ||
aef5ef9d JDA |
3659 | 2013-03-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
3660 | ||
3661 | PR target/56347 | |
3662 | * config/pa/pa.md (call_value): Check for calls to powf and direct to | |
3663 | new call patterns that clobber %fr12. | |
3664 | (call_val_powf, call_val_powf_pic, call_val_powf_64bit): New insn, | |
3665 | split and postreload patterns. | |
3666 | * config/pa/pa.c (pa_conditional_register_usage): Revert marking | |
3667 | registers %fr12 and %fr12R as call used. | |
3668 | ||
456610d3 SB |
3669 | 2013-03-09 Steven Bosscher <steven@gcc.gnu.org> |
3670 | ||
3671 | * dse.c (delete_dead_store_insn): Respect TDF_DETAILS. | |
3672 | (canon_address, record_store, replace_read, check_mem_read_rtx, | |
3673 | scan_insn, dse_step1, dse_step2_init, dse_step2_spill, | |
3674 | dse_step4, dse_step5_nospill, dse_step5_spill, dse_step6, | |
3675 | rest_of_handle_dse): Likewise. | |
3676 | ||
4b1baac8 RS |
3677 | 2013-03-09 Richard Sandiford <rdsandiford@googlemail.com> |
3678 | ||
3679 | PR middle-end/56524 | |
3680 | * tree.h (tree_optimization_option): Rename target_optabs to optabs. | |
3681 | Add base_optabs. | |
3682 | (TREE_OPTIMIZATION_OPTABS): Update after previous field change. | |
3683 | (TREE_OPTIMIZATION_BASE_OPTABS): New macro. | |
3684 | (save_optabs_if_changed): Replace with... | |
3685 | (init_tree_optimization_optabs): ...this. | |
3686 | * optabs.c (save_optabs_if_changed): Rename to... | |
3687 | (init_tree_optimization_optabs): ...this. Take the optimization node | |
3688 | as argument. Do nothing if the base optabs are already correct. | |
3689 | Reuse the existing TREE_OPTIMIZATION_OPTABS memory if we need | |
3690 | to recompute optabs. | |
3691 | * function.h (function): Remove optabs field. | |
3692 | * function.c (invoke_set_current_function_hook): Call | |
3693 | init_tree_optimization_optabs. Use the result to initialize | |
3694 | this_fn_optabs. | |
3695 | ||
b7a78683 AH |
3696 | 2013-02-27 Aldy Hernandez <aldyh@redhat.com> |
3697 | ||
3698 | * trans-mem.c (expand_transaction): Do not set PR_INSTRUMENTEDCODE | |
3699 | if GTMA_HAS_NO_INSTRUMENTATION. | |
3700 | (generate_tm_state): Keep GTMA_HAS_NO_INSTRUMENTATION bit. | |
3701 | (ipa_tm_transform_transaction): Set GTMA_HAS_NO_INSTRUMENTATION. | |
3702 | * gimple.h (GTMA_HAS_NO_INSTRUMENTATION): Define. | |
3703 | * gimple-pretty-print.c (dump_gimple_transaction): Handle | |
3704 | GTMA_HAS_NO_INSTRUMENTATION. | |
3705 | ||
6384c29b JJ |
3706 | 2013-03-08 Jakub Jelinek <jakub@redhat.com> |
3707 | ||
3708 | * config/gnu-user.h (LIBTSAN_EARLY_SPEC): Don't link against | |
3709 | libasan_preinit.o. | |
3710 | ||
ecd4f20a MP |
3711 | 2013-03-08 Marek Polacek <polacek@redhat.com> |
3712 | Jakub Jelinek <jakub@redhat.com> | |
3713 | ||
3714 | PR tree-optimization/56478 | |
3715 | * predict.c (is_comparison_with_loop_invariant_p): Change the | |
3716 | type of loop_step to tree. | |
3717 | (predict_loops): Adjust. | |
3718 | (predict_iv_comparison): Perform the computations on double_ints. | |
3719 | ||
64366d35 RB |
3720 | 2013-03-08 Richard Biener <rguenther@suse.de> |
3721 | ||
3722 | PR tree-optimization/56570 | |
3723 | * tree-cfg.c (verify_expr_location_1): Verify locations for | |
3724 | DECL_DEBUG_EXPR. | |
3725 | * tree-sra.c (create_access_replacement): Strip locations | |
3726 | from DECL_DEBUG_EXPRs. | |
3727 | ||
a9d5a059 RB |
3728 | 2013-03-08 Richard Biener <rguenther@suse.de> |
3729 | ||
3730 | * tree-inline.c (expand_call_inline): Do not associate | |
3731 | a BLOCK with the location in BLOCK_SOURCE_LOCATION. | |
3732 | * tree-cfg.c (verify_location): Verify BLOCK_SOURCE_LOCATION. | |
3733 | ||
b7aa4e9a RB |
3734 | 2013-03-08 Richard Biener <rguenther@suse.de> |
3735 | ||
3736 | * tree-ssa-ter.c (is_replaceable_p): Do not TER across location | |
3737 | or block changes with -Og. Fix for location / block encoding | |
3738 | changes and PHI arguments with locations. | |
3739 | ||
c4c2f9fa SB |
3740 | 2013-03-07 Steven Bosscher <steven@gcc.gnu.org> |
3741 | ||
3742 | * bitmap.c (struct bitmap_descriptor_d): Use unsigned HOST_WIDEST_INT | |
3743 | for all counters. | |
3744 | (struct output_info): Likewise. | |
3745 | (register_overhead): Remove bad gcc_assert. | |
3746 | (bitmap_find_bit): If there is only a single bitmap element, do not | |
3747 | count a miss as a search. | |
3748 | (print_statistics): Update for counter type changes. | |
3749 | (dump_bitmap_statistics): Likewise. Print headers such that they | |
3750 | are properly lined up with the printed counters. | |
3751 | ||
5bf6606a JJ |
3752 | 2013-03-07 Jakub Jelinek <jakub@redhat.com> |
3753 | ||
3754 | PR tree-optimization/56559 | |
3755 | * tree-ssa-reassoc.c (zero_one_operation): When looking at rhs2, | |
3756 | check that it has only a single use. | |
3757 | ||
2c653d46 RB |
3758 | 2013-03-07 Richard Biener <rguenther@suse.de> |
3759 | ||
3760 | * doc/invoke.texi (fwhole-program): Discourage use in combination | |
3761 | with -flto. | |
3762 | ||
a72d8780 JJ |
3763 | 2013-03-06 Jakub Jelinek <jakub@redhat.com> |
3764 | ||
01a454df JJ |
3765 | * config/arm/t-arm (TM_H, OPTIONS_H_EXTRA): Add arm-cores.def. |
3766 | ||
c1781047 JJ |
3767 | PR tree-optimization/56539 |
3768 | * tree-tailcall.c (adjust_return_value_with_ops): Use GSI_SAME_STMT | |
3769 | instead of GSI_CONTINUE_LINKING as last argument to | |
3770 | force_gimple_operand_gsi. Adjust function comment. | |
3771 | ||
9772c47a JJ |
3772 | * config/aarch64/t-aarch64 (TM_H, OPTIONS_H_EXTRA): Add |
3773 | aarch64-cores.def. | |
3774 | ||
a72d8780 JJ |
3775 | PR middle-end/56548 |
3776 | * expr.c (expand_cond_expr_using_cmove): When expanding cmove in | |
3777 | promoted mode, convert the result back to the original mode. | |
3778 | ||
fa5556de RB |
3779 | 2013-03-06 Richard Biener <rguenther@suse.de> |
3780 | ||
3781 | PR middle-end/56294 | |
3782 | * tree-into-ssa.c (insert_phi_nodes_for): Add dumping. | |
3783 | (insert_updated_phi_nodes_compare_uids): New function. | |
3784 | (update_ssa): Sort symbols_to_rename after UID before | |
3785 | traversing it to insert PHI nodes. | |
3786 | ||
010403d1 RB |
3787 | 2013-03-06 Richard Biener <rguenther@suse.de> |
3788 | ||
3789 | PR middle-end/50494 | |
3790 | * tree-vect-data-refs.c (vect_can_force_dr_alignment_p): | |
3791 | Do not adjust alignment of DECL_IN_CONSTANT_POOL decls. | |
3792 | ||
3793 | Revert | |
3794 | 2013-02-13 Richard Biener <rguenther@suse.de> | |
3795 | ||
3796 | PR lto/50494 | |
3797 | * varasm.c (output_constant_def_1): Get the decl representing | |
3798 | the constant as argument. | |
3799 | (output_constant_def): Wrap output_constant_def_1. | |
3800 | (make_decl_rtl): Use output_constant_def_1 with the decl | |
3801 | representing the constant. | |
3802 | (build_constant_desc): Optionally re-use a decl already | |
3803 | representing the constant. | |
3804 | (tree_output_constant_def): Adjust. | |
3805 | ||
3c27ce4c JY |
3806 | 2013-03-06 Joey Ye <joey.ye@arm.com> |
3807 | ||
3808 | PR lto/50293 | |
3809 | * gcc.c (convert_white_space): New function. | |
3810 | (main): Handles white space in function name. | |
3811 | ||
8f6d1c86 OE |
3812 | 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org> |
3813 | ||
3814 | PR target/56529 | |
3815 | * config/sh/sh.c (sh_option_override): Check for TARGET_DYNSHIFT | |
3816 | instead of TARGET_SH2 for call-table case. Do not set sh_div_strategy | |
3817 | to SH_DIV_CALL_TABLE for TARGET_SH2. | |
3818 | * config.gcc (sh_multilibs): Add m2 and m2a to sh*-*-linux* multilib | |
3819 | list. | |
3820 | * doc/invoke.texi (SH options): Document mdiv= call-div1, call-fp, | |
3821 | call-table options. | |
3822 | ||
798a209f SA |
3823 | 2013-03-05 Sterling Augustine <saugustine@google.com> |
3824 | Cary Coutant <ccoutant@google.com> | |
3825 | ||
3826 | PR debug/55364 | |
3827 | * dwarf2out.c (resolve_addr): Don't call | |
3828 | remove_loc_list_addr_table_entries a second time for the same | |
3829 | expression. | |
3830 | ||
6cfa417f | 3831 | 2013-03-05 Jakub Jelinek <jakub@redhat.com> |
ee61ea38 | 3832 | |
6cfa417f JJ |
3833 | PR debug/56510 |
3834 | * cfgexpand.c (expand_debug_parm_decl): Call copy_rtx on incoming. | |
3835 | (avoid_complex_debug_insns): New function. | |
3836 | (expand_debug_locations): Call it. | |
3837 | ||
3838 | PR rtl-optimization/56484 | |
3839 | * ifcvt.c (noce_process_if_block): If else_bb is NULL, avoid extending | |
3840 | lifetimes of hard registers on small register class machines. | |
3841 | ||
3842 | 2013-03-05 David Holsgrove <david.holsgrove@xilinx.com> | |
3843 | ||
3844 | * config/microblaze/microblaze-protos.h: Rename | |
ee61ea38 | 3845 | microblaze_is_interrupt_handler to microblaze_is_interrupt_variant. |
6cfa417f | 3846 | * config/microblaze/microblaze.c (microblaze_attribute_table): Add |
ee61ea38 DH |
3847 | fast_interrupt. |
3848 | (microblaze_fast_interrupt_function_p): New function. | |
3849 | (microblaze_is_interrupt_handler): Rename to | |
3850 | microblaze_is_interrupt_variant and add fast_interrupt check. | |
3851 | (microblaze_must_save_register): Use microblaze_is_interrupt_variant. | |
3852 | (save_restore_insns): Likewise. | |
3853 | (compute_frame_size): Likewise. | |
3854 | (microblaze_function_prologue): Add FAST_INTERRUPT_NAME. | |
3855 | (microblaze_globalize_label): Likewise. | |
6cfa417f JJ |
3856 | * config/microblaze/microblaze.h: Define FAST_INTERRUPT_NAME. |
3857 | * config/microblaze/microblaze.md: Use wrapper | |
ee61ea38 DH |
3858 | microblaze_is_interrupt_variant. |
3859 | ||
731aefac KT |
3860 | 2013-03-05 Kai Tietz <ktietz@redhat.com> |
3861 | ||
3862 | * sdbout.c (sdbout_one_type): Switch to current function's section | |
3863 | supporting cold/hot. | |
3864 | ||
a72d8780 | 3865 | 2013-03-05 David Holsgrove <david.holsgrove@xilinx.com> |
e34fd5a7 DH |
3866 | |
3867 | * doc/invoke.texi (MicroBlaze): Add -mbig-endian, -mlittle-endian, | |
3868 | -mxl-reorder. | |
3869 | ||
334e71e8 JJ |
3870 | 2013-03-05 Jakub Jelinek <jakub@redhat.com> |
3871 | ||
0b50e654 JJ |
3872 | PR middle-end/56461 |
3873 | * ggc-common.c (gt_pch_save): For ENABLE_VALGRIND_CHECKING, | |
3874 | if VALGRIND_GET_VBITS is defined, temporarily make object | |
3875 | memory all defined, and restore previous valgrind addressability | |
3876 | and definability afterwards. Free this_object at the end. | |
3877 | ||
4ccf8f43 JJ |
3878 | PR middle-end/56461 |
3879 | * lra.c (lra): Call lra_clear_live_ranges if live_p, | |
3880 | right before calling lra_create_live_ranges, also call it | |
3881 | when clearing live_p. Only call lra_clear_live_ranges | |
3882 | at the end if live_p. | |
3883 | ||
334e71e8 JJ |
3884 | PR middle-end/56461 |
3885 | * sched-deps.c (delete_dep_node): Free DEP_REPLACE. | |
3886 | ||
9ca966ca RB |
3887 | 2013-03-05 Richard Biener <rguenther@suse.de> |
3888 | ||
3889 | PR tree-optimization/56521 | |
3890 | * tree-ssa-sccvn.c (set_value_id_for_result): Always initialize | |
3891 | value-id. | |
3892 | ||
d273b176 SB |
3893 | 2013-03-05 Steven Bosscher <steven@gcc.gnu.org> |
3894 | ||
3895 | PR c++/55135 | |
3896 | * except.h (remove_unreachable_eh_regions): New prototype. | |
3897 | * except.c (remove_eh_handler_splicer): New function, split out | |
3898 | of remove_eh_handler. | |
3899 | (remove_eh_handler): Use remove_eh_handler_splicer. Add comment | |
3900 | warning about running it on many EH regions one at a time. | |
3901 | (remove_unreachable_eh_regions_worker): New function, walk the | |
3902 | EH tree in depth-first order and remove non-marked regions. | |
3903 | (remove_unreachable_eh_regions): New function. | |
3904 | * tree-eh.c (mark_reachable_handlers): New function, split out | |
3905 | from remove_unreachable_handlers. | |
3906 | (remove_unreachable_handlers): Use mark_reachable_handlers and | |
3907 | remove_unreachable_eh_regions. | |
3908 | (remove_unreachable_handlers_no_lp): Use mark_reachable_handlers | |
3909 | and remove_unreachable_eh_regions. | |
3910 | ||
5e7f1aef RB |
3911 | 2013-03-05 Richard Biener <rguenther@suse.de> |
3912 | ||
3913 | PR middle-end/56525 | |
3914 | * loop-init.c (fix_loop_structure): Remove loops in two stages, | |
3915 | not freeing them until the end. | |
3916 | ||
f276b762 AK |
3917 | 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
3918 | ||
3919 | * config/s390/s390.h: Define DWARF2_ASM_LINE_DEBUG_INFO. | |
3920 | ||
12a43ab8 RB |
3921 | 2013-03-05 Richard Biener <rguenther@suse.de> |
3922 | ||
3923 | PR tree-optimization/56270 | |
3924 | * tree-vect-slp.c (vect_schedule_slp): Clear vectorized stmts | |
3925 | of loads after scheduling an SLP instance. | |
3926 | ||
93675444 JJ |
3927 | 2013-03-05 Jakub Jelinek <jakub@redhat.com> |
3928 | ||
db4138e3 JJ |
3929 | * Makefile.in (dg_target_exps): Add aarch64.exp, epiphany.exp and |
3930 | tic6x.exp. | |
3931 | (check_gcc_parallelize): Run guality.exp as a separate job from | |
3932 | vect.exp with unsorted.exp and $(dg_target_exps) separately from | |
3933 | struct-layout-1.exp with stackalign.exp. | |
3934 | ||
dd3d1ec0 JJ |
3935 | * alias.c (init_alias_analysis): Clear reg_known_equiv_p bitmap. |
3936 | ||
b8d381a3 JJ |
3937 | PR middle-end/56461 |
3938 | * tree-vect-slp.c (vect_supported_load_permutation_p): Free | |
3939 | load_index sbitmap even if some bit in it isn't set. | |
3940 | ||
b4f9786b JJ |
3941 | PR middle-end/56461 |
3942 | * tree-ssa-loop-niter.c (bb_queue): Remove typedef. | |
3943 | (discover_iteration_bound_by_body_walk): Change queues to | |
3944 | vec<vec<basic_block> > and queue to vec<basic_block>. Fix up | |
3945 | spelling in comment. Call safe_push on queues[bound_index] directly. | |
3946 | Release queues[queue_index] in every iteration unconditionally. | |
3947 | Release bounds vector. | |
3948 | ||
93675444 JJ |
3949 | PR middle-end/56461 |
3950 | * tree-vect-stmts.c (free_stmt_vec_info_vec): Call | |
3951 | free_stmt_vec_info on any left-over stmt_vec_info in the vector. | |
3952 | * tree-vect-loop.c (vect_create_epilog_for_reduction): Release | |
3953 | inner_phis vector. | |
3954 | ||
3e492e9c RB |
3955 | 2013-03-05 Richard Biener <rguenther@suse.de> |
3956 | ||
3957 | PR lto/56515 | |
3958 | * tree-inline.c (remap_blocks_to_null): New function. | |
3959 | (expand_call_inline): When expanding a call stmt without | |
3960 | an associated block inline remap all callee blocks to NULL. | |
3961 | ||
a5d1569a JJ |
3962 | 2013-03-05 Jakub Jelinek <jakub@redhat.com> |
3963 | ||
86efb5cd JJ |
3964 | PR rtl-optimization/56494 |
3965 | * simplify-rtx.c (simplify_truncation): If C is narrower than A, | |
3966 | optimize (truncate:A (subreg:B (truncate:C X) 0)) into | |
3967 | (subreg:A (truncate:C X) 0) instead of (truncate:A X). | |
3968 | ||
85f5dbea JJ |
3969 | PR middle-end/56461 |
3970 | * sel-sched-ir.c (free_sched_pools): Release | |
3971 | succs_info_pool.stack[succs_info_pool.max_top] vectors too | |
3972 | if succs_info_pool.max_top isn't -1. | |
3973 | ||
a5d1569a JJ |
3974 | PR bootstrap/56509 |
3975 | * opts.c (opts_obstack, opts_concat): Moved to... | |
3976 | * opts-common.c (opts_obstack, opts_concat): ... here. | |
3977 | ||
4432aa6c JJ |
3978 | 2013-03-04 Jakub Jelinek <jakub@redhat.com> |
3979 | ||
3980 | PR middle-end/56461 | |
3981 | * diagnostic.c (diagnostic_append_note): Save and restore old prefix. | |
3982 | ||
f3a1fb91 MJ |
3983 | 2013-03-04 Martin Jambor <mjambor@suse.cz> |
3984 | ||
3985 | * tree-dfa.c (get_or_create_ssa_default_def): Use parameter fn in | |
3986 | all appropriate places. | |
3987 | ||
22110e6c EB |
3988 | 2013-01-04 Eric Botcazou <ebotcazou@adacore.com> |
3989 | ||
3990 | PR tree-optimization/56424 | |
3991 | * ipa-split.c (split_function): Do not set the RSO flag if result is | |
3992 | not by reference and its type is a register type. | |
3993 | ||
a72d8780 | 3994 | 2013-03-04 David Holsgrove <david.holsgrove@xilinx.com> |
91c4e421 | 3995 | |
88b97037 | 3996 | * config/microblaze/microblaze.c (microblaze_valid_pic_const): New |
91c4e421 | 3997 | (microblaze_legitimate_pic_operand): Likewise |
88b97037 | 3998 | * config/microblaze/microblaze.h (LEGITIMATE_PIC_OPERAND_P): calls |
91c4e421 DH |
3999 | new function microblaze_legitimate_pic_operand |
4000 | * config/microblaze/microblaze-protos.h | |
4001 | (microblaze_legitimate_pic_operand): Declare. | |
4002 | ||
a72d8780 | 4003 | 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
82f8f53a | 4004 | |
a72d8780 | 4005 | * config/microblaze/predicates.md (call_insn_simple_operand): |
82f8f53a | 4006 | New predicate for supported rtx code types. |
a72d8780 | 4007 | * config/microblaze/microblaze.md (call_internal1): Use |
82f8f53a EI |
4008 | call_insn_simple_operand predicate. |
4009 | ||
541d9ac8 JJ |
4010 | 2013-03-04 Jakub Jelinek <jakub@redhat.com> |
4011 | ||
5eb010bc JJ |
4012 | PR middle-end/56461 |
4013 | * tree-loop-distribution.c (ldist_gen): Call partition_free after each | |
4014 | partitions.ordered_remove. | |
4015 | ||
30862efc JJ |
4016 | PR middle-end/56461 |
4017 | * tree-vect-stmts.c (vectorizable_conversion): Don't call | |
4018 | vec_oprnds0.create (1) for modifier == NONE. | |
4019 | ||
8930f723 JJ |
4020 | PR middle-end/56461 |
4021 | * tree-vect-stmts.c (vectorizable_shift): Don't call create methods | |
4022 | on vec_oprnds0 or vec_oprnds1 before loop, only call it on | |
4023 | vec_oprnds1 right before pushing anything to it for | |
4024 | scalar_shift_arg. | |
4025 | ||
541d9ac8 JJ |
4026 | PR middle-end/56461 |
4027 | * tree-vect-loop.c (destroy_loop_vec_info): For !clean_stmts, just | |
4028 | set nbbs to 0 instead of having separate code path. | |
4029 | (vect_analyze_loop_form): Call destroy_loop_vec_info with true | |
4030 | instead of false as last argument if returning NULL. | |
4031 | ||
7aa7f2e3 SL |
4032 | 2013-03-03 Sandra Loosemore <sandra@codesourcery.com> |
4033 | ||
4034 | * target.def (TARGET_OPTION_VALID_ATTRIBUTE_P): Update comments; | |
4035 | the attribute is now called "target" instead of "option". | |
4036 | (TARGET_OPTION_PRAGMA_PARSE): Likewise, for the pragma. | |
4037 | * doc/tm.texi.in (Target Attributes): Likewise document the correct | |
4038 | attribute/pragma name for TARGET_OPTION_VALID_P and | |
4039 | TARGET_OPTION_PRAGMA_PARSE. Also copy-edit and correct markup. | |
4040 | * doc/tm.texi: Regenerated. | |
4041 | ||
8930f723 | 4042 | 2013-03-02 David Holsgrove <david.holsgrove@xilinx.com> |
cb8a1637 | 4043 | |
8930f723 | 4044 | * config/microblaze/microblaze.c: |
cb8a1637 | 4045 | Check mcpu, pcmp requirement and set TARGET_REORDER to 0 if not met. |
8930f723 JJ |
4046 | * config/microblaze/microblaze.h: Add -mxl-reorder to |
4047 | DRIVER_SELF_SPECS. | |
4048 | * config/microblaze/microblaze.md: New bswapsi2 and bswaphi2. | |
4049 | instructions emitted if TARGET_REORDER. | |
88b97037 UB |
4050 | * config/microblaze/microblaze.opt: New option -mxl-reorder set to 1 |
4051 | or 0 for -m/-mno case, but initialises as 2 to detect default use case | |
8930f723 | 4052 | separately. |
cb8a1637 | 4053 | |
4dc1d68c XDL |
4054 | 2013-03-01 Xinliang David Li <davidxl@google.com> |
4055 | ||
4056 | * tree-ssa-uninit.c (compute_control_dep_chain): Limit post-dom | |
4057 | walk length. | |
4058 | ||
689eaba3 JJ |
4059 | 2013-03-01 Jakub Jelinek <jakub@redhat.com> |
4060 | ||
9d676bf6 JJ |
4061 | PR middle-end/56461 |
4062 | * tree-ssa-loop-ivcanon.c (tree_estimate_loop_size): Release path | |
4063 | vector even when returning true. Fix up function comment formatting. | |
4064 | ||
caff7edf JJ |
4065 | PR middle-end/56461 |
4066 | * ira-build.c (ira_loop_nodes_count): New variable. | |
4067 | (create_loop_tree_nodes): Initialize it. | |
4068 | (finish_loop_tree_nodes): Use it instead of looking at current_loops. | |
4069 | ||
b6b9227d JJ |
4070 | PR middle-end/56461 |
4071 | * tree-vect-data-refs.c (vect_permute_store_chain): Avoid using copy | |
4072 | method on dr_chain and result_chain. | |
4073 | * tree-vect-stmts.c (vectorizable_store): Only call | |
4074 | result_chain.create if j == 0. | |
4075 | ||
689eaba3 JJ |
4076 | PR middle-end/56461 |
4077 | * tree-vect-stmts.c (vect_create_vectorized_promotion_stmts): Call | |
4078 | vec_oprnds0->release (); rather than vec_oprnds0->truncate (0) | |
4079 | before overwriting it. | |
4080 | ||
40bf31ed TB |
4081 | 2013-03-01 Tobias Burnus <burnus@net-b.de> |
4082 | ||
4083 | * doc/extended.texi (C Extensions): Change order in @menu | |
4084 | to match @node. | |
4085 | (Other MIPS Built-in Functions): Move last MIPS entry before | |
4086 | "picoChip Built-in Functions". | |
4087 | (SH Built-in Functions): Move after RX Built-in Functions. | |
4088 | * doc/gcc.texi (Introduction): Change order in @menu | |
4089 | to match @node. | |
4090 | * doc/md.texi (Constraints): Ditto. | |
4091 | * gty.texi (Type Information): Ditto. | |
4092 | (User-provided marking routines for template types): Make | |
4093 | subsection. | |
4094 | * doc/invoke.texi (AArch64 Options): Move before | |
4095 | "Adapteva Epiphany Options". | |
4096 | ||
e664c61c KS |
4097 | 2013-02-28 Konstantin Serebryany <konstantin.s.serebryany@gmail.com> |
4098 | Jakub Jelinek <jakub@redhat.com> | |
4099 | ||
4100 | PR sanitizer/56454 | |
4101 | * asan.c (gate_asan): Lookup no_sanitize_address instead of | |
4102 | no_address_safety_analysis attribute. | |
4103 | * doc/extend.texi (no_address_safety_attribute): Rename to | |
4104 | no_sanitize_address attribute, mention no_address_safety_analysis | |
4105 | attribute as deprecated alias. | |
4106 | ||
37b5ec8f JJ |
4107 | 2013-02-28 Jakub Jelinek <jakub@redhat.com> |
4108 | ||
4109 | PR middle-end/56461 | |
4110 | * tree-vectorizer.h (vect_get_slp_defs): Change 3rd argument | |
4111 | type to vec<vec<tree> > *. | |
4112 | * tree-vect-slp.c (vect_get_slp_defs): Likewise. Change vec_defs | |
4113 | to be vec<tree> instead of vec<tree> *, set vec_defs | |
4114 | to vNULL and call vec_defs.create (number_of_vects), adjust other | |
4115 | uses of vec_defs. | |
4116 | * tree-vect-stmts.c (vect_get_vec_defs, vectorizable_call, | |
4117 | vectorizable_condition): Adjust vect_get_slp_defs callers. | |
4118 | ||
ba96cdfb JG |
4119 | 2013-02-28 James Greenhalgh <james.greenhalgh@arm.com> |
4120 | ||
4121 | * config/aarch64/aarch64.c | |
4122 | (aarch64_float_const_representable): Remove unused variable. | |
4123 | ||
6f549691 JG |
4124 | 2013-02-28 James Greenhalgh <james.greenhalgh@arm.com> |
4125 | ||
4126 | * config/aarch64/aarch64.c (aarch64_mangle_type): Make static. | |
4127 | ||
af55e82d JG |
4128 | 2013-02-28 James Greenhalgh <james.greenhalgh@arm.com> |
4129 | ||
4130 | * config/aarch64/aarch64-builtins.c | |
4131 | (aarch64_init_simd_builtins): Make static. | |
4132 | ||
1df3f464 JG |
4133 | 2013-02-28 James Greenhalgh <james.greenhalgh@arm.com> |
4134 | ||
4135 | * config/aarch64/aarch64.c | |
4136 | (aarch64_simd_make_constant): Make static. | |
4137 | ||
f8f42513 MJ |
4138 | 2013-02-28 Martin Jambor <mjambor@suse.cz> |
4139 | ||
4140 | * tree-sra.c (load_assign_lhs_subreplacements): Do not put replacements | |
4141 | with no initialization to the RHS of debug statements. | |
4142 | ||
b48b3fc4 MJ |
4143 | 2013-02-28 Martin Jambor <mjambor@suse.cz> |
4144 | ||
4145 | PR tree-optimization/56294 | |
4146 | * tree-sra.c (analyze_access_subtree): Create replacement declarations. | |
4147 | Adjust dumping. | |
4148 | (get_access_replacement): Do not call create_access_replacement. | |
4149 | Assert a replacement exists. | |
4150 | (get_repl_default_def_ssa_name): Create the replacement declaration | |
4151 | itself. | |
4152 | ||
c3ae224c RR |
4153 | 2013-02-28 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
4154 | ||
4155 | * config/arm/arm.c (arm_output_mi_thunk): Call final_start_function and | |
4156 | final_end_function. | |
4157 | ||
45fa0eef MP |
4158 | 2013-02-28 Marek Polacek <polacek@redhat.com> |
4159 | ||
4160 | PR rtl-optimization/56466 | |
4161 | * loop-unroll.c (unroll_and_peel_loops): Call fix_loop_structure | |
4162 | if we're changing a loop. | |
4163 | (peel_loops_completely): Likewise. | |
4164 | ||
502c067d PC |
4165 | 2013-02-28 Paolo Carlini <paolo.carlini@oracle.com> |
4166 | ||
4167 | PR c++/55813 | |
4168 | * doc/invoke.texi ([-Wctor-dtor-privacy]): Complete. | |
4169 | ||
ff24afc8 GJL |
4170 | 2013-02-28 Georg-Johann Lay <avr@gjlay.de> |
4171 | ||
4172 | PR target/56445 | |
4173 | * config/avr/avr.c (avr_init_builtins): Use 'n' instead of empty | |
4174 | macro parameters with: FX_FTYPE_FX, FX_FTYPE_FX_INT, INT_FTYPE_FX, | |
4175 | INTX_FTYPE_FX, FX_FTYPE_INTX. | |
4176 | * config/avr/builtins.def: Adjust respective DEF_BUILTIN. | |
4177 | ||
c7b1fc1b GJL |
4178 | 2013-02-28 Georg-Johann Lay <avr@gjlay.de> |
4179 | ||
4180 | * avr/avr-mcus.def (ata5272, ata5505, attiny1634, ata6285) | |
4181 | (ata6286, atmega8a, atmega48pa, ata5790, ata5790n, ata5795) | |
4182 | (atmega164pa, atmega165pa, atmega168pa, atmega16hva, atmega16hvb) | |
4183 | (atmega16hvbrevb, atmega16m1, atmega16u4, atmega26hvg, atmega32a) | |
4184 | (atmega32a, atmega3250pa, atmega3290pa, atmega32c1, atmega32m1) | |
4185 | (atmega32u4, atmega32u6, atmega64a, atmega6490a, atmega6490p) | |
4186 | (atmega64c1, atmega64m1, atmega64rfa2, atmega64rfr2, atmega32hvb) | |
4187 | (atmega32hvbrevb, atmega16hva2, atmega48hvf, at90pwm161) | |
4188 | (atmega128a, atmega1284, atmxt112sl, atmxt224, atmxt224e) | |
4189 | (atmxt336s, atxmega16a4u, atxmega16c4, atxmega32a4u, atxmega32c4) | |
4190 | (atxmega32e5, atxmega64a3u, atxmega64a4u, atxmega64b1, atxmega64b3) | |
4191 | (atxmega64c3, atxmega64d4, atxmega128a3u, atxmega128b1) | |
4192 | (atxmega128b3, atxmega128c3, atxmega128d4, atmxt540s, atmxt540sreva) | |
4193 | (atxmega192a3u, atxmega192c3, atxmega256a3u, atxmega256c3) | |
4194 | (atxmega384c3, atxmega384d3, atxmega128a4u): New AVR_MCU. | |
4195 | (avrxmega6): Increase max flash segments from 5 to 6. | |
4196 | * config/avr/t-multilib: Regenerate. | |
4197 | * config/avr/avr-tables.opt: Regenerate. | |
4198 | * doc/avr-mmcu.texi: Regenerate. | |
4199 | ||
4a0e3cfe GJL |
4200 | 2013-02-28 Georg-Johann Lay <avr@gjlay.de> |
4201 | ||
4202 | * config/avr/avr.h (device_to_arch): Rename to device_to_ld. | |
4203 | (avr_device_to_arch): Rename to avr_device_to_ld. | |
4204 | (avr_device_to_as): New prototype. | |
4205 | (EXTRA_SPEC_FUNCTIONS): Add device_to_as. | |
4206 | (ASM_SPEC): Use device_to_as to get -mmcu= and -mno-skip-bug=. | |
4207 | * config/avr/driver-avr.c (avr_device_to_as): New. | |
4208 | (avr_device_to_arch): Rename to avr_device_to_ld. | |
4209 | ||
97785e52 JJ |
4210 | 2013-02-27 Jakub Jelinek <jakub@redhat.com> |
4211 | ||
3f292312 JJ |
4212 | PR middle-end/56461 |
4213 | * tree-vect-data-refs.c (vect_permute_load_chain): Avoid using copy | |
4214 | method on dr_chain and result_chain. | |
4215 | ||
a344216b JJ |
4216 | PR middle-end/56461 |
4217 | * tree-ssa-loop-niter.c (maybe_lower_iteration_bound): Call | |
4218 | pointer_set_destroy on not_executed_last_iteration. | |
4219 | ||
f121ad02 | 4220 | PR middle-end/56461 |
88b97037 | 4221 | * tree-vect-loop.c (vectorizable_reduction): Release vect_defs vector. |
f121ad02 | 4222 | |
307f83a3 JJ |
4223 | PR middle-end/56461 |
4224 | * ipa-pure-const.c (propagate): Use FOR_EACH_FUNCTION instead of | |
4225 | FOR_EACH_DEFINED_FUNCTION when freeing state. | |
4226 | ||
e19624ee JJ |
4227 | PR middle-end/56461 |
4228 | * df-scan.c (df_insn_delete): Use df_scan_free_mws_vec before | |
4229 | pool_free. | |
4230 | (df_insn_rescan_debug_internal): Use df_scan_free_mws_vec before | |
4231 | overwriting it. | |
4232 | ||
90e709fd JJ |
4233 | PR middle-end/56461 |
4234 | * ipa-cp.c (decide_whether_version_node): Call vec_free on | |
4235 | known_aggs[i].items and release known_aggs vector. | |
4236 | ||
97785e52 JJ |
4237 | PR middle-end/56461 |
4238 | * ipa-reference.c (propagate): Free node_info even for alias nodes. | |
4239 | ||
4240 | 2013-02-27 Edgar E. Iglesias <edgar.iglesias@gmail.com> | |
bbb3a9e2 | 4241 | |
97785e52 JJ |
4242 | * config/microblaze/microblaze.c (microblaze_emit_compare): |
4243 | Use xor for EQ/NE comparisions. | |
4244 | * config/microblaze/microblaze.md (cstoresf4): Add constraints | |
4245 | (cbranchsf4): Adjust operator to comparison_operator. | |
bbb3a9e2 | 4246 | |
6fa5e0ed JJ |
4247 | 2013-02-27 Jakub Jelinek <jakub@redhat.com> |
4248 | ||
4249 | PR middle-end/56461 | |
4250 | * tree-flow.h (edge_var_map_vector): Change into va_heap, vl_embed | |
4251 | vector. | |
4252 | * tree-ssa.c (redirect_edge_var_map_add): Use vec_safe_reserve and | |
4253 | vec_safe_push, always update *slot. | |
4254 | (redirect_edge_var_map_clear): Use vec_free. | |
4255 | (redirect_edge_var_map_dup): Use vec_safe_copy and vec_safe_reserve. | |
4256 | (free_var_map_entry): Use vec_free. | |
4257 | * tree-cfgcleanup.c (remove_forwarder_block_with_phi): Use | |
4258 | FOR_EACH_VEC_SAFE_ELT instead of FOR_EACH_VEC_ELT. | |
4259 | ||
436a956a AB |
4260 | 2013-02-27 Andrey Belevantsev <abel@ispras.ru> |
4261 | ||
4262 | PR middle-end/45472 | |
436a956a AB |
4263 | * sel-sched-ir.c (merge_expr): Also change vinsn of merged expr |
4264 | when the may_trap_p bit of the exprs being merged differs. | |
436a956a AB |
4265 | Reorder tests for speculativeness in the logical and operator. |
4266 | ||
f5c2caca JJ |
4267 | 2013-02-27 Jakub Jelinek <jakub@redhat.com> |
4268 | ||
0fcb564b JJ |
4269 | * incpath.c (add_standard_paths): Use reconcat instead of concat |
4270 | where appropriate and avoid leaking memory. | |
4271 | ||
dc357798 JJ |
4272 | * opts.h: Include obstack.h. |
4273 | (opts_concat): New prototype. | |
4274 | (opts_obstack): New declaration. | |
4275 | * opts.c (opts_concat): New function. | |
4276 | (opts_obstack): New variable. | |
4277 | (init_options_struct): Call gcc_init_obstack on opts_obstack. | |
4278 | (finish_options): Use opts_concat instead of concat | |
4279 | and XOBNEWVEC instead of XNEWVEC. | |
4280 | * opts-common.c (generate_canonical_option, decode_cmdline_option, | |
4281 | generate_option): Likewise. | |
4282 | * Makefile.in (OPTS_H): Depend on $(OBSTACK_H). | |
4283 | * lto-wrapper.c (main): Call gcc_init_obstack on opts_obstack. | |
4284 | ||
f5c2caca JJ |
4285 | PR target/56455 |
4286 | * stmt.c (expand_switch_as_decision_tree_p): If flag_pic | |
4287 | and ASM_OUTPUT_ADDR_DIFF_ELT isn't defined, return true. | |
4288 | ||
d0163673 JJ |
4289 | 2013-02-26 Jakub Jelinek <jakub@redhat.com> |
4290 | ||
4291 | PR middle-end/56461 | |
4292 | * lra-spills.c (lra_spill): Free spill_hard_reg at the end. | |
4293 | ||
b5ad2b8e JR |
4294 | 2013-02-26 Joern Rennecke <joern.rennecke@embecosm.com> |
4295 | ||
4296 | * config/arm/arm.c (const_ok_for_dimode_op): Back out last change. | |
4297 | (arm_block_move_unaligned_straight): Likewise. | |
4298 | (arm_adjust_block_mem): Likewise. | |
4299 | ||
9b639e2c JR |
4300 | 2013-02-26 Joern Rennecke <joern.rennecke@embecosm.com> |
4301 | ||
4302 | PR target/48901 | |
4303 | * config/lm32/lm32.c (gen_int_relational): Remove unused variables | |
4304 | temp, cond and label. | |
4305 | * config/lm32/lm32.md (ashlsi3): Remove unused variable one. | |
4306 | ||
e13a0ccb JR |
4307 | PR target/52500 |
4308 | * config/c6x/c6x.c (dbx_register_map): Change to unsigned. | |
4309 | * config/c6x/c6x.h (dbx_register_map): Update declaration. | |
4310 | ||
fbe4f171 JR |
4311 | PR target/52501 |
4312 | * config/cr16/cr16-protos.h: Move end of RTX_CODE guard below end | |
4313 | of prologue/epilogue functions. | |
4314 | ||
ae006543 JR |
4315 | PR target/52550 |
4316 | * config/tilegx/tilegx.c (tilegx_expand_prologue): | |
4317 | Remove unused variable cfa_offset. | |
4318 | * config/tilepro/tilepro.c (tilepro_expand_prologue): Likewise. | |
4319 | ||
c81369fa JR |
4320 | PR target/54639 |
4321 | * config/mn10300/mn10300.c (mn10300_expand_epilogue): Avoid offset | |
4322 | type promotion to unsigned. | |
4323 | ||
f8a8fea7 JR |
4324 | PR target/54640 |
4325 | * config/arm/arm.c (const_ok_for_dimode_op): Make code consistent | |
4326 | for HOST_WIDE_INT of 32 bit / same size as int. | |
4327 | (arm_block_move_unaligned_straight): Likewise. | |
4328 | (arm_adjust_block_mem): Likewise. | |
4329 | ||
f8be5169 JR |
4330 | PR target/54662 |
4331 | * config/mep/t-mep (mep-pragma.o): Use ALL_COMPILERFLAGS instead of | |
4332 | ALL_CFLAGS. | |
4333 | ||
f1ad3354 MP |
4334 | 2013-02-26 Marek Polacek <polacek@redhat.com> |
4335 | ||
4336 | PR tree-optimization/56426 | |
88b97037 | 4337 | * tree-ssa-loop.c (tree_ssa_loop_init): Always call scev_initialize. |
f1ad3354 | 4338 | |
a6af0f42 RB |
4339 | 2013-02-26 Richard Biener <rguenther@suse.de> |
4340 | ||
4341 | PR target/56444 | |
4342 | * config/mn10300/mn10300.c (mn10300_scan_for_setlb_lcc): Remove | |
4343 | unused variable loops. | |
4344 | ||
aca43c6c JJ |
4345 | 2013-02-26 Jakub Jelinek <jakub@redhat.com> |
4346 | ||
cecbe5d9 JJ |
4347 | PR tree-optimization/56448 |
4348 | * fold-const.c (operand_equal_p) <case tcc_reference>: Don't look at | |
4349 | TREE_SIDE_EFFECTS if flags contain OEP_CONSTANT_ADDRESS_OF. | |
4350 | Clear OEP_CONSTANT_ADDRESS_OF from flags before recursing on second or | |
4351 | later operands of the references, or even first operand for | |
4352 | INDIRECT_REF, TARGET_MEM_REF or MEM_REF. | |
4353 | ||
aca43c6c JJ |
4354 | PR tree-optimization/56443 |
4355 | * tree-vect-stmts.c (get_vectype_for_scalar_type_and_size): For | |
4356 | overaligned types, pass TYPE_UNSIGNED (scalar_type) as second argument | |
4357 | to type_for_mode langhook. | |
4358 | ||
53e2e141 MT |
4359 | 2013-02-25 Matt Turner <mattst88@gmail.com> |
4360 | ||
4361 | * doc/invoke.texi: Document r4700. | |
4362 | ||
259ee451 RB |
4363 | 2013-02-25 Richard Biener <rguenther@suse.de> |
4364 | ||
4365 | PR tree-optimization/56175 | |
4366 | * tree-ssa-forwprop.c (hoist_conversion_for_bitop_p): New predicate, | |
4367 | split out from ... | |
4368 | (simplify_bitwise_binary): ... here. Also guard the conversion | |
4369 | of (type) X op CST to (type) (X op ((type-x) CST)) with it. | |
4370 | ||
6d65e8f1 CM |
4371 | 2013-02-25 Catherine Moore <clm@codesourcery.com> |
4372 | ||
4373 | Revert: | |
4374 | 2013-02-24 Catherine Moore <clm@codesourcery.com> | |
4375 | Maciej W. Rozycki <macro@codesourcery.com> | |
4376 | Tom de Vries <tom@codesourcery.com> | |
a72d8780 | 4377 | Nathan Sidwell <nathan@codesourcery.com> |
6d65e8f1 CM |
4378 | Iain Sandoe <iain@codesourcery.com> |
4379 | Nathan Froyd <froydnj@codesourcery.com> | |
a72d8780 | 4380 | Chao-ying Fu <fu@mips.com> |
88b97037 | 4381 | |
6d65e8f1 | 4382 | * doc/extend.texi: (micromips, nomicromips, nocompression): |
88b97037 | 4383 | Document new function attributes. |
6d65e8f1 CM |
4384 | * doc/invoke.texi (minterlink-compressed, mmicromips, |
4385 | m14k, m14ke, m14kec): Document new options. | |
4386 | (minterlink-mips16): Update documentation. | |
4387 | * doc/md.texi (ZC, ZD): Document new constraints. | |
4388 | * configure.ac (gcc_cv_as_micromips): Check if linker | |
4389 | supports the .set micromips directive. | |
4390 | * configure: Regenerate. | |
4391 | * config.in: Regenerate. | |
4392 | * config/mips/mips-tables.opt: Regenerate. | |
4393 | * config/mips/micromips.md: New file. | |
4394 | * constraints.md (ZC, AD): New constraints. | |
4395 | * config/mips/predicates.md (movep_src_register): New predicate. | |
4396 | (movep_src_operand): New predicate. | |
4397 | (non_volatile_mem_operand): New predicate. | |
4398 | * config/mips/mips.md (multimem): New type. | |
4399 | (length): Differentiate between 17-bit and 18-bit branch offsets. | |
4400 | (MOVEP1, MOVEP2): New mode iterator. | |
4401 | (mov_<load>l): Use ZC constraint. | |
4402 | (mov_<load>r): Likewise. | |
4403 | (mov_<store>l): Likewise. | |
4404 | (mov_<store>r): Likewise. | |
4405 | (*branch_equality<mode>_inverted): Add microMIPS support. | |
4406 | (*branch_equality<mode>): Likewise. | |
4407 | (*jump_absolute): Likewise. | |
4408 | (indirect_jump_<mode>): Likewise. | |
4409 | (tablejump_<mode>): Likewise. | |
4410 | (<optab>_internal): Likewise. | |
4411 | (sibcall_internal): Likewise. | |
4412 | (sibcall_value_internal): Likewise. | |
4413 | (prefetch): Use constraint ZD. | |
4414 | * config/mips/mips.opt (minterlink-compressed): New option. | |
4415 | (minterlink-mips16): Now an alias for minterlink-compressed. | |
4416 | (mmicromips): New option. | |
4417 | * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZR constraint. | |
4418 | (compare_and_swap_12): Likewise. | |
4419 | (sync_add<mode>): Likewise. | |
4420 | (sync_<optab>_12): Likewise. | |
4421 | (sync_old_<optab>_12): Likewise. | |
4422 | (sync_new_<optab>_12): Likewise. | |
4423 | (sync_nand_12): Likewise. | |
4424 | (sync_old_nand_12): Likewise. | |
4425 | (sync_new_nand_12): Likewise. | |
4426 | (sync_sub<mode>): Likewise. | |
4427 | (sync_old_add<mode>): Likewise. | |
4428 | (sync_old_sub<mode>): Likewise. | |
4429 | (sync_new_add<mode>): Likewise. | |
4430 | (sync_new_sub<mode>): Likewise. | |
4431 | (sync_<optab><mode>): Likewise. | |
4432 | (sync_old_<optab><mode>): Likewise. | |
4433 | (sync_new_<optab><mode>): Likewise. | |
4434 | (sync_nand<mode>): Likewise. | |
4435 | (sync_old_nand<mode>): Likewise. | |
4436 | (sync_new_nand<mode>): Likewise. | |
4437 | (sync_lock_test_and_set<mode>): Likewise. | |
4438 | (test_and_set_12): Likewise. | |
4439 | (atomic_compare_and_swap<mode>): Likewise. | |
4440 | (atomic_exchange<mode>_llsc): Likewise. | |
4441 | (atomic_fetch_add<mode>_llsc): Likewise. | |
4442 | * config/mips/mips-cpus.def (m14kc, m14k): New processors. | |
4443 | * config/mips/mips-protos.h (umips_output_save_restore): New prototype. | |
4444 | (umips_save_restore_pattern_p): Likewise. | |
4445 | (umips_load_store_pair_p): Likewise. | |
4446 | (umips_output_load_store_pair): Likewise. | |
4447 | (umips_movep_target_p): Likewise. | |
4448 | (umips_12bit_offset_address_p): Likewise. | |
4449 | * config/mips/mips.c (MIPS_MAX_FIRST_STEP): Update for microMIPS. | |
4450 | (mips_base_mips16): Rename this... | |
4451 | (mips_base_compression_flags): ...to this. Update all uses. | |
4452 | (mips_attribute_table): Add micromips, nomicromips and nocompression. | |
4453 | (mips_mips16_decl_p): Delete. | |
4454 | (mips_nomips16_decl_p): Delete. | |
4455 | (mips_get_compress_on_flags): New function. | |
4456 | (mips_get_compress_off_flags): New function. | |
4457 | (mips_get_compress_mode): New function. | |
4458 | (mips_get_compress_on_name): New function. | |
4459 | (mips_get_compress_off_name): New function. | |
4460 | (mips_insert_attributes): Support multiple compression types. | |
4461 | (mips_merge_decl_attributes): Likewise. | |
4462 | (umips_12bit_offset_address_p): New function. | |
4463 | (mips_start_function_definition): Emit .set micromips directive. | |
4464 | (mips_call_may_need_jalx_p): New function. | |
4465 | (mips_function_ok_for_sibcall): Add microMIPS support. | |
4466 | (mips_print_operand_punctuation): Support short delay slots and | |
4467 | compact jumps. | |
4468 | (umips_swm_mask, umips_swm_encoding): New. | |
4469 | (umips_build_save_restore): New function. | |
4470 | (mips_for_each_saved_gpr_and_fpr): Add microMIPS support. | |
4471 | (was_mips16_p): Remove. | |
4472 | (old_compression_mode): New. | |
4473 | (mips_set_compression_mode): New function. | |
4474 | (mips_set_current_function): Add microMIPS support. | |
4475 | (mips_option_override): Likewise. | |
4476 | (umips_save_restore_pattern_p): New function. | |
4477 | (umips_output_save_restore): New function. | |
4478 | (umips_load_store_pair_p_1): New function. | |
4479 | (umips_load_store_pair_p): New function. | |
4480 | (umips_output_load_store_pair_1): New function. | |
4481 | (umips_output_load_store_pair): New function. | |
4482 | (umips_movep_target_p) New function. | |
4483 | (mips_prepare_pch_save): Add microMIPS support. | |
4484 | * config/mips/mips.h (TARGET_COMPRESSION): New. | |
4485 | (TARGET_CPU_CPP_BUILTINS): Update macro | |
4486 | to use new compression flags and to support microMIPS. | |
4487 | (MIPS_ISA_LEVEL_SPEC): Add m14k processors. | |
4488 | (MIPS_ARCH_FLOAT_SPEC): Likewise. | |
4489 | (ISA_HAS_LWXS): Include TARGET_MICROMIPS. | |
4490 | (ISA_HAS_LOAD_DELAY): Exclude TARGET_MICROMIPS. | |
4491 | (ASM_SPEC): Support mmicromips and mno-micromips. | |
4492 | (M16STORE_REG_P): New macro. | |
4493 | (MIPS_CALL): Support TARGET_MICROMIPS. | |
4494 | (MICROMIPS_J): New macro. | |
4495 | (mips_base_mips16): Rename this... | |
4496 | (mips_base_compression_flags): ...to this. | |
4497 | (UMIPS_12BIT_OFFSET_P): New macro. | |
4498 | * config/mips/t-sde: (MULTILIB_OPTIONS): Add microMIPS. | |
4499 | (MULTILIB_DIRNAMES): Likewise. | |
4500 | ||
5e5df392 TV |
4501 | 2013-02-25 Tom de Vries <tom@codesourcery.com> |
4502 | ||
4503 | PR rtl-optimization/56131 | |
4504 | * insn-notes.def (INSN_NOTE_BASIC_BLOCK): Update comment. | |
4505 | * cfgrtl.c (delete_insn): Don't reorder NOTE_INSN_DELETED_LABEL and | |
4506 | NOTE_INSN_BASIC_BLOCK if BLOCK_FOR_INSN == NULL. | |
4507 | ||
3fdb53c1 TB |
4508 | 2013-02-25 Tobias Burnus <burnus@net-b.de> |
4509 | ||
4510 | * doc/invoke.texi (-fsanitize=): Move from optimization | |
4511 | to debugging options. | |
4512 | ||
ed358aea AB |
4513 | 2013-02-25 Andrey Belevantsev <abel@ispras.ru> |
4514 | ||
4515 | * sched-deps.c (sched_analyze_insn): Fix typo in comment. | |
4516 | ||
f45e9053 AB |
4517 | 2013-02-25 Andrey Belevantsev <abel@ispras.ru> |
4518 | Alexander Monakov <amonakov@ispras.ru> | |
4519 | ||
4520 | PR middle-end/56077 | |
4521 | * sched-deps.c (sched_analyze_insn): When reg_pending_barrier, | |
4522 | flush pending lists also on non-jumps. Adjust comment. | |
4523 | ||
6941b508 CM |
4524 | 2013-02-24 Catherine Moore <clm@codesourcery.com> |
4525 | Maciej W. Rozycki <macro@codesourcery.com> | |
4526 | Tom de Vries <tom@codesourcery.com> | |
a72d8780 | 4527 | Nathan Sidwell <nathan@codesourcery.com> |
6941b508 CM |
4528 | Iain Sandoe <iain@codesourcery.com> |
4529 | Nathan Froyd <froydnj@codesourcery.com> | |
a72d8780 | 4530 | Chao-ying Fu <fu@mips.com> |
6941b508 CM |
4531 | |
4532 | * doc/extend.texi: (micromips, nomicromips, nocompression): | |
88b97037 | 4533 | Document new function attributes. |
6941b508 CM |
4534 | * doc/invoke.texi (minterlink-compressed, mmicromips, |
4535 | m14k, m14ke, m14kec): Document new options. | |
4536 | (minterlink-mips16): Update documentation. | |
4537 | * doc/md.texi (ZC, ZD): Document new constraints. | |
4538 | * configure.ac (gcc_cv_as_micromips): Check if linker | |
4539 | supports the .set micromips directive. | |
4540 | * configure: Regenerate. | |
4541 | * config.in: Regenerate. | |
4542 | * config/mips/mips-tables.opt: Regenerate. | |
4543 | * config/mips/micromips.md: New file. | |
4544 | * constraints.md (ZC, AD): New constraints. | |
4545 | * config/mips/predicates.md (movep_src_register): New predicate. | |
4546 | (movep_src_operand): New predicate. | |
4547 | (non_volatile_mem_operand): New predicate. | |
4548 | * config/mips/mips.md (multimem): New type. | |
4549 | (length): Differentiate between 17-bit and 18-bit branch offsets. | |
4550 | (MOVEP1, MOVEP2): New mode iterator. | |
3fdb53c1 | 4551 | (mov_<load>l): Use ZC constraint. |
6941b508 CM |
4552 | (mov_<load>r): Likewise. |
4553 | (mov_<store>l): Likewise. | |
4554 | (mov_<store>r): Likewise. | |
4555 | (*branch_equality<mode>_inverted): Add microMIPS support. | |
4556 | (*branch_equality<mode>): Likewise. | |
4557 | (*jump_absolute): Likewise. | |
4558 | (indirect_jump_<mode>): Likewise. | |
4559 | (tablejump_<mode>): Likewise. | |
4560 | (<optab>_internal): Likewise. | |
4561 | (sibcall_internal): Likewise. | |
4562 | (sibcall_value_internal): Likewise. | |
4563 | (prefetch): Use constraint ZD. | |
4564 | * config/mips/mips.opt (minterlink-compressed): New option. | |
4565 | (minterlink-mips16): Now an alias for minterlink-compressed. | |
4566 | (mmicromips): New option. | |
4567 | * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZR constraint. | |
4568 | (compare_and_swap_12): Likewise. | |
4569 | (sync_add<mode>): Likewise. | |
4570 | (sync_<optab>_12): Likewise. | |
4571 | (sync_old_<optab>_12): Likewise. | |
4572 | (sync_new_<optab>_12): Likewise. | |
4573 | (sync_nand_12): Likewise. | |
4574 | (sync_old_nand_12): Likewise. | |
4575 | (sync_new_nand_12): Likewise. | |
4576 | (sync_sub<mode>): Likewise. | |
4577 | (sync_old_add<mode>): Likewise. | |
4578 | (sync_old_sub<mode>): Likewise. | |
4579 | (sync_new_add<mode>): Likewise. | |
4580 | (sync_new_sub<mode>): Likewise. | |
4581 | (sync_<optab><mode>): Likewise. | |
4582 | (sync_old_<optab><mode>): Likewise. | |
4583 | (sync_new_<optab><mode>): Likewise. | |
4584 | (sync_nand<mode>): Likewise. | |
4585 | (sync_old_nand<mode>): Likewise. | |
4586 | (sync_new_nand<mode>): Likewise. | |
4587 | (sync_lock_test_and_set<mode>): Likewise. | |
4588 | (test_and_set_12): Likewise. | |
4589 | (atomic_compare_and_swap<mode>): Likewise. | |
4590 | (atomic_exchange<mode>_llsc): Likewise. | |
4591 | (atomic_fetch_add<mode>_llsc): Likewise. | |
4592 | * config/mips/mips-cpus.def (m14kc, m14k): New processors. | |
4593 | * config/mips/mips-protos.h (umips_output_save_restore): New prototype. | |
4594 | (umips_save_restore_pattern_p): Likewise. | |
4595 | (umips_load_store_pair_p): Likewise. | |
4596 | (umips_output_load_store_pair): Likewise. | |
4597 | (umips_movep_target_p): Likewise. | |
4598 | (umips_12bit_offset_address_p): Likewise. | |
4599 | * config/mips/mips.c (MIPS_MAX_FIRST_STEP): Update for microMIPS. | |
4600 | (mips_base_mips16): Rename this... | |
4601 | (mips_base_compression_flags): ...to this. Update all uses. | |
4602 | (mips_attribute_table): Add micromips, nomicromips and nocompression. | |
4603 | (mips_mips16_decl_p): Delete. | |
4604 | (mips_nomips16_decl_p): Delete. | |
3fdb53c1 | 4605 | (mips_get_compress_on_flags): New function. |
6941b508 CM |
4606 | (mips_get_compress_off_flags): New function. |
4607 | (mips_get_compress_mode): New function. | |
4608 | (mips_get_compress_on_name): New function. | |
4609 | (mips_get_compress_off_name): New function. | |
4610 | (mips_insert_attributes): Support multiple compression types. | |
4611 | (mips_merge_decl_attributes): Likewise. | |
4612 | (umips_12bit_offset_address_p): New function. | |
4613 | (mips_start_function_definition): Emit .set micromips directive. | |
4614 | (mips_call_may_need_jalx_p): New function. | |
4615 | (mips_function_ok_for_sibcall): Add microMIPS support. | |
4616 | (mips_print_operand_punctuation): Support short delay slots and | |
4617 | compact jumps. | |
4618 | (umips_swm_mask, umips_swm_encoding): New. | |
4619 | (umips_build_save_restore): New function. | |
4620 | (mips_for_each_saved_gpr_and_fpr): Add microMIPS support. | |
4621 | (was_mips16_p): Remove. | |
4622 | (old_compression_mode): New. | |
4623 | (mips_set_compression_mode): New function. | |
4624 | (mips_set_current_function): Add microMIPS support. | |
4625 | (mips_option_override): Likewise. | |
4626 | (umips_save_restore_pattern_p): New function. | |
4627 | (umips_output_save_restore): New function. | |
4628 | (umips_load_store_pair_p_1): New function. | |
4629 | (umips_load_store_pair_p): New function. | |
4630 | (umips_output_load_store_pair_1): New function. | |
4631 | (umips_output_load_store_pair): New function. | |
4632 | (umips_movep_target_p) New function. | |
4633 | (mips_prepare_pch_save): Add microMIPS support. | |
4634 | * config/mips/mips.h (TARGET_COMPRESSION): New. | |
4635 | (TARGET_CPU_CPP_BUILTINS): Update macro | |
4636 | to use new compression flags and to support microMIPS. | |
4637 | (MIPS_ISA_LEVEL_SPEC): Add m14k processors. | |
4638 | (MIPS_ARCH_FLOAT_SPEC): Likewise. | |
4639 | (ISA_HAS_LWXS): Include TARGET_MICROMIPS. | |
4640 | (ISA_HAS_LOAD_DELAY): Exclude TARGET_MICROMIPS. | |
4641 | (ASM_SPEC): Support mmicromips and mno-micromips. | |
4642 | (M16STORE_REG_P): New macro. | |
4643 | (MIPS_CALL): Support TARGET_MICROMIPS. | |
4644 | (MICROMIPS_J): New macro. | |
4645 | (mips_base_mips16): Rename this... | |
4646 | (mips_base_compression_flags): ...to this. | |
4647 | (UMIPS_12BIT_OFFSET_P): New macro. | |
4648 | * config/mips/t-sde: (MULTILIB_OPTIONS): Add microMIPS. | |
4649 | (MULTILIB_DIRNAMES): Likewise. | |
4650 | ||
cdebbc6d JJ |
4651 | 2013-02-24 Jakub Jelinek <jakub@redhat.com> |
4652 | ||
4653 | PR target/52555 | |
4654 | * target-globals.c (save_target_globals): For init_reg_sets and | |
4655 | target_reinit remporarily set this_fn_optabs to this_target_optabs. | |
4656 | ||
18c63565 JG |
4657 | 2013-02-22 James Grennahlgh <james.greenhalgh@arm.com> |
4658 | ||
4659 | * config/aarch64/aarch64-simd-builtins.def: Add copyright header. | |
4660 | * config/aarch64/t-aarch64 | |
4661 | (aarch64-builtins.o): Depend on aarch64-simd-builtins.def. | |
4662 | ||
2194f7a2 VM |
4663 | 2013-02-22 Vladimir Makarov <vmakarov@redhat.com> |
4664 | ||
4665 | PR inline-asm/56148 | |
4666 | * lra-constraints.c (process_alt_operands): Reload operand | |
4667 | conflicting with earlier clobber only if no more other conflicting | |
4668 | operands. | |
4669 | ||
7d613735 JJ |
4670 | 2013-02-22 Jakub Jelinek <jakub@redhat.com> |
4671 | ||
4672 | PR sanitizer/56393 | |
4673 | * config/gnu-user.h (LIBASAN_EARLY_SPEC): Link in libasan_preinit.o | |
4674 | if not linking a shared library. | |
4675 | ||
ac8d93a7 SL |
4676 | 2013-02-22 Seth LaForge <sethml@google.com> |
4677 | ||
4678 | * config.gcc (arm*-*-eabi*): Treat arm*eb as big-endian. | |
4679 | ||
e0237780 GY |
4680 | 2013-02-22 Greta Yorsh <Greta.Yorsh@arm.com> |
4681 | ||
3fdb53c1 TB |
4682 | * config/arm/arm.md (split for extendsidi): Update condition. |
4683 | (zero_extend<mode>di2,extend<mode>di2): Add an alternative. | |
4684 | * config/arm/iterators.md (qhs_extenddi_cstr): Likewise. | |
4685 | (qhs_zextenddi_cstr): Likewise. | |
e0237780 | 4686 | |
d7fde18c JJ |
4687 | 2013-02-21 Jakub Jelinek <jakub@redhat.com> |
4688 | ||
be63b77d JJ |
4689 | PR middle-end/56420 |
4690 | * expmed.c (EXACT_POWER_OF_2_OR_ZERO_P): Do subtraction in uhwi, to | |
4691 | avoid signed wrapping. | |
4692 | (expand_mult): Handle properly multiplication by | |
4693 | ((dword_type) -1) << (BITS_PER_WORD - 1). Improve multiplication by | |
4694 | ((dword_type) 1) << (BITS_PER_WORD - 1). Avoid undefined behavior | |
4695 | in the compiler if coeff is HOST_WIDE_INT_MIN. | |
4696 | (expand_divmod): Don't make ext_op1 static, change it's type to | |
4697 | uhwi. Avoid undefined behavior in -INTVAL (op1). | |
4698 | ||
d7fde18c JJ |
4699 | PR rtl-optimization/50339 |
4700 | * lower-subreg.h (struct lower_subreg_choices): Add splitting_ashiftrt | |
4701 | field. | |
4702 | * lower-subreg.c (compute_splitting_shift): Handle ASHIFTRT. | |
4703 | (compute_costs): Call compute_splitting_shift also for ASHIFTRT | |
4704 | into splitting_ashiftrt field. | |
4705 | (find_decomposable_shift_zext, resolve_shift_zext): Handle also | |
4706 | ASHIFTRT. | |
4707 | (dump_choices): Fix up printing LSHIFTRT choices, print ASHIFTRT | |
4708 | choices. | |
4709 | ||
6aad4455 AH |
4710 | 2013-02-20 Aldy Hernandez <aldyh@redhat.com> |
4711 | ||
4712 | PR middle-end/56108 | |
4713 | * trans-mem.c (execute_tm_mark): Do not expand transactions that | |
4714 | are sure to go irrevocable. | |
4715 | ||
38fe784d HPN |
4716 | 2013-02-21 Hans-Peter Nilsson <hp@axis.com> |
4717 | ||
4718 | * doc/rtl.texi (vec_concat, vec_duplicate): Mention that | |
4719 | scalars are valid operands. | |
4720 | ||
0fd44da3 MJ |
4721 | 2013-02-21 Martin Jambor <mjambor@suse.cz> |
4722 | ||
4723 | PR tree-optimization/56310 | |
4724 | * ipa-cp.c (agg_replacements_to_vector): New parameter index, copy | |
4725 | only matching indices and non-negative final offsets. | |
4726 | (intersect_aggregates_with_edge): Pass src_idx to | |
4727 | agg_replacements_to_vector. Pass src_idx insstead of index to | |
4728 | intersect_with_agg_replacements. | |
4729 | ||
7a92038b MJ |
4730 | 2013-02-21 Martin Jambor <mjambor@suse.cz> |
4731 | ||
4732 | * ipa-cp.c (good_cloning_opportunity_p): Dump the real threshold | |
4733 | instead of hard-wired defaults. | |
4734 | ||
c0da9c37 MR |
4735 | 2013-02-21 Maciej W. Rozycki <macro@codesourcery.com> |
4736 | ||
4737 | * doc/invoke.texi (MIPS Options): Update documentation of the | |
4738 | floating-point multiply-accumulate instruction restrictions. | |
4739 | ||
d247ea0c | 4740 | 2013-02-21 Kostya Serebryany <kcc@google.com> |
7df59255 KS |
4741 | |
4742 | * config/i386/i386.c (ix86_asan_shadow_offset): Use 0x7fff8000 as | |
4743 | asan_shadow_offset on x86_64 linux. | |
4744 | ||
22deefcb RB |
4745 | 2013-02-21 Richard Biener <rguenther@suse.de> |
4746 | ||
4747 | PR tree-optimization/56415 | |
4748 | Revert | |
4749 | 2013-02-11 Richard Biener <rguenther@suse.de> | |
4750 | ||
4751 | PR tree-optimization/56273 | |
4752 | * tree-vrp.c (simplify_cond_using_ranges): Disable for the | |
4753 | first VRP run. | |
4754 | ||
7bcc6e75 JJ |
4755 | 2013-02-21 Jakub Jelinek <jakub@redhat.com> |
4756 | ||
a0ad148f JJ |
4757 | PR bootstrap/56258 |
4758 | * doc/invoke.texi (-fdump-rtl-pro_and_epilogue): Use @item | |
4759 | instead of @itemx. | |
4760 | ||
7bcc6e75 JJ |
4761 | PR inline-asm/56405 |
4762 | * expr.c (expand_expr_real_1) <case TARGET_MEM_REF, MEM_REF>: Don't | |
4763 | use movmisalign or extract_bit_field for EXPAND_MEMORY modifier. | |
4764 | ||
a0a7b611 JH |
4765 | 2013-02-20 Jan Hubicka <jh@suse.cz> |
4766 | ||
4767 | PR tree-optimization/56265 | |
88b97037 UB |
4768 | * ipa-prop.c (ipa_make_edge_direct_to_target): Fixup callgraph |
4769 | when target is referenced for first time. | |
a0a7b611 | 4770 | |
c0e50f72 RB |
4771 | 2013-02-20 Richard Biener <rguenther@suse.de> |
4772 | ||
4773 | * tree-call-cdce.c (tree_call_cdce): Do not remove unused locals. | |
4774 | * tree-ssa-forwprop.c (ssa_forward_propagate_and_combine): Likewise. | |
4775 | * tree-ssa-dce.c (perform_tree_ssa_dce): Likewise. | |
4776 | * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Do | |
4777 | not return anything. | |
4778 | (rename_ssa_copies): Do not remove unused locals. | |
4779 | * tree-ssa-ccp.c (do_ssa_ccp): Likewise. | |
88b97037 | 4780 | * tree-ssanames.c (pass_release_ssa_names): Remove unused locals first. |
c0e50f72 RB |
4781 | * passes.c (execute_function_todo): Do not schedule unused locals |
4782 | removal if cleanup_tree_cfg did something. | |
4783 | * tree-ssa-live.c (remove_unused_locals): Dump statistics | |
4784 | about the number of removed locals. | |
4785 | ||
a52ca739 RB |
4786 | 2013-02-20 Richard Biener <rguenther@suse.de> |
4787 | ||
4788 | PR tree-optimization/56398 | |
88b97037 | 4789 | * tree-vect-loop-manip.c (adjust_debug_stmts): Skip SSA default defs. |
a52ca739 | 4790 | |
ec9c9d1b MJ |
4791 | 2013-02-20 Martin Jambor <mjambor@suse.cz> |
4792 | ||
4793 | PR tree-optimization/55334 | |
4794 | * ipa-cp.c (initialize_node_lattices): Disable IPA-CP through and to | |
4795 | restricted pointers to arrays. | |
4796 | ||
e91c8ed6 | 4797 | 2013-02-20 Richard Biener <rguenther@suse.de> |
88b97037 | 4798 | Jakub Jelinek <jakub@redhat.com> |
e91c8ed6 RB |
4799 | |
4800 | PR tree-optimization/56396 | |
4801 | * tree-ssa-ccp.c (n_const_val): New static variable. | |
4802 | (get_value): Return NULL for SSA names we don't have a lattice | |
4803 | entry for. | |
4804 | (ccp_initialize): Initialize n_const_val. | |
4805 | * tree-ssa-copy.c (n_copy_of): New static variable. | |
4806 | (init_copy_prop): Initialize n_copy_of. | |
4807 | (get_value): Return NULL_TREE for SSA names we don't have a | |
4808 | lattice entry for. | |
4809 | ||
3d916479 MJ |
4810 | 2013-02-20 Martin Jambor <mjambor@suse.cz> |
4811 | ||
4812 | * ipa-cp.c (initialize_node_lattices): Fix dumping condition. | |
4813 | ||
71a86758 RB |
4814 | 2013-02-20 Richard Biener <rguenther@suse.de> |
4815 | ||
4816 | * genpreds.c (write_lookup_constraint): Do not compare first | |
4817 | letter of the constraint again. | |
4818 | ||
79836a12 RB |
4819 | 2013-02-20 Richard Biener <rguenther@suse.de> |
4820 | ||
4821 | * tree-ssa-loop-ivopts.c (alloc_use_cost_map): Use bitmap_count_bits | |
4822 | and ceil_log2. | |
4823 | (get_use_iv_cost): Terminate hashtable walk when coming across | |
4824 | an empty entry. | |
4825 | ||
bbe4fb2c IZ |
4826 | 2013-02-20 Igor Zamyatin <igor.zamyatin@intel.com> |
4827 | ||
4828 | * config/i386/i386.c (initial_ix86_tune_features): Turn on fp | |
4829 | reassociation for avx2 targets. | |
4830 | ||
a72d8780 | 4831 | 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
79836a12 | 4832 | |
c77f83d5 EI |
4833 | * config/microblaze/microblaze.c: microblaze_has_clz = 0 |
4834 | Add version check for v8.10.a to enable microblaze_has_clz | |
88b97037 | 4835 | * config/microblaze/microblaze.h: Add TARGET_HAS_CLZ as combined |
c77f83d5 EI |
4836 | version and TARGET_PATTERN_COMPARE check |
4837 | * config/microblaze/microblaze.md: New clzsi2 instruction | |
3fdb53c1 | 4838 | |
a72d8780 | 4839 | 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
959434e6 | 4840 | |
a72d8780 | 4841 | * config/microblaze/microblaze.md (call_value_intern): Check symbol is |
959434e6 EI |
4842 | function before branching. |
4843 | ||
242387fa AB |
4844 | 2012-02-19 Andrey Belevantsev <abel@ispras.ru> |
4845 | ||
4846 | * sel-sched-dump.c (dump_insn_rtx_flags): Explicitly set | |
4847 | DUMP_INSN_RTX_UID. | |
4848 | (dump_insn_rtx_1): Pass PATTERN (insn) to str_pattern_slim. | |
4849 | ||
b4979ab9 AB |
4850 | 2012-02-19 Andrey Belevantsev <abel@ispras.ru> |
4851 | ||
4852 | PR middle-end/55889 | |
b4979ab9 AB |
4853 | * sel-sched.c: Include ira.h. |
4854 | (implicit_clobber_conflict_p): New function. | |
4855 | (moveup_expr): Use it. | |
88b97037 | 4856 | * Makefile.in (sel-sched.o): Depend on ira.h. |
b4979ab9 | 4857 | |
24d63016 RB |
4858 | 2013-02-19 Richard Biener <rguenther@suse.de> |
4859 | ||
4860 | PR tree-optimization/56384 | |
4861 | * tree-ssa-sccvn.h (struct vn_phi_s): Add type member. | |
4862 | (vn_hash_type): Split out from ... | |
4863 | (vn_hash_constant_with_type): ... here. | |
4864 | * tree-ssa-sccvn.c (vn_phi_compute_hash): Use vn_hash_type. | |
4865 | (vn_phi_eq): Compare types from vn_phi_s structure. | |
4866 | (vn_phi_lookup): Populate vn_phi_s type. | |
4867 | (vn_phi_insert): Likewise. | |
4868 | ||
a475fd3d JJ |
4869 | 2013-02-19 Jakub Jelinek <jakub@redhat.com> |
4870 | ||
47cc28f5 JJ |
4871 | PR tree-optimization/56350 |
4872 | * tree-vect-loop.c (vectorizable_reduction): If orig_stmt, return false | |
4873 | if haven't found reduction or nested cycle operand, rather than | |
4874 | asserting we must find it. | |
4875 | ||
a475fd3d JJ |
4876 | PR tree-optimization/56381 |
4877 | * tree-ssa-pre.c (create_expression_by_pieces): Fix up last argument | |
4878 | to fold_build3. | |
4879 | ||
4880 | 2013-02-18 Aldy Hernandez <aldyh@redhat.com> | |
135204dd AH |
4881 | Jakub Jelinek <jakub@redhat.com> |
4882 | ||
4883 | PR target/52555 | |
4884 | * genopinit.c (raw_optab_handler): Use this_fn_optabs. | |
4885 | (swap_optab_enable): Same. | |
4886 | (init_all_optabs): Use argument instead of global. | |
88b97037 | 4887 | * tree.h (struct tree_optimization_option): New field target_optabs. |
135204dd AH |
4888 | * expr.h (init_all_optabs): Add argument to prototype. |
4889 | (TREE_OPTIMIZATION_OPTABS): New. | |
4890 | (save_optabs_if_changed): Protoize. | |
4891 | * optabs.h: Declare this_fn_optabs. | |
4892 | * optabs.c (save_optabs_if_changed): New. | |
4893 | Declare this_fn_optabs. | |
4894 | (init_optabs): Add argument to init_all_optabs() call. | |
4895 | * function.c (invoke_set_current_function_hook): Handle per | |
4896 | function optabs. | |
4897 | * function.h (struct function): New field optabs. | |
4898 | * config/mips/mips.c (mips_set_mips16_mode): Handle when | |
4899 | optimization_current_node has changed. | |
4900 | * target-globals.h (save_target_globals_default_opts): Protoize. | |
4901 | * target-globals.c (save_target_globals_default_opts): New. | |
4902 | ||
3f587ca3 JDA |
4903 | 2013-02-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
4904 | ||
4905 | PR target/56347 | |
4906 | * config/pa/pa.c (pa_conditional_register_usage): On HP-UX, mark | |
4907 | registers %fr12 and %fr12R as call used. | |
ceaca33e JDA |
4908 | |
4909 | PR target/56214 | |
4910 | * config/pa/predicates.md (base14_operand): Except for BLKmode, QImode | |
88b97037 UB |
4911 | and HImode, require all displacements to be an integer multiple of |
4912 | their mode size. | |
ceaca33e JDA |
4913 | * config/pa/pa.c (pa_legitimate_address_p): For REG+BASE addresses, |
4914 | only allow QImode and HImode when reload is in progress and strict is | |
4915 | true. Likewise for symbolic addresses. Use base14_operand to check | |
4916 | displacements in REG+BASE addresses. | |
4917 | ||
fe0b4796 RB |
4918 | 2013-02-18 Richard Biener <rguenther@suse.de> |
4919 | ||
4920 | PR tree-optimization/56366 | |
4921 | * tree-vect-loop.c (get_initial_def_for_induction): Properly | |
4922 | handle sign-conversion of outer-loop initial induction value. | |
4923 | ||
6aaf596b RB |
4924 | 2013-02-18 Richard Biener <rguenther@suse.de> |
4925 | ||
73db8ff1 | 4926 | PR middle-end/56349 |
6aaf596b RB |
4927 | * cfghooks.c (merge_blocks): If we merge a latch into another |
4928 | block adjust references to it. | |
4929 | * cfgloop.c (flow_loops_find): Reset latch before recomputing it. | |
4930 | (verify_loop_structure): Verify that a recorded latch is in fact | |
4931 | a latch. | |
4932 | ||
5e97dfb6 RB |
4933 | 2013-02-18 Richard Biener <rguenther@suse.de> |
4934 | ||
4935 | PR tree-optimization/56321 | |
4936 | * tree-ssa-reassoc.c (propagate_op_to_single_use): Properly | |
4937 | order SSA name release and virtual operand unlinking. | |
4938 | ||
825527e8 EI |
4939 | 2013-02-17 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
4940 | ||
4941 | * config/microblaze/microblaze.md (save_stack_block): Define. | |
4942 | (restore_stack_block): Likewise. | |
4943 | ||
debd11d9 EI |
4944 | 2013-02-16 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
4945 | ||
4946 | * config/microblaze/linux.h (TARGET_SUPPORTS_PIC): Define as 1. | |
4947 | * config/microblaze/microblaze.h (TARGET_SUPPORTS_PIC): Define as 1. | |
4948 | * config/microblaze/microblaze.c (microblaze_option_override): | |
4949 | Bail out early for PIC modes when target does not support PIC. | |
4950 | ||
8ec77be0 EI |
4951 | 2013-02-16 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
4952 | ||
88b97037 | 4953 | * config/microblaze/microblaze.c (microblaze_asm_trampoline_template): |
8ec77be0 EI |
4954 | Replace with a microblaze version. |
4955 | (microblaze_trampoline_init): Adapt for microblaze. | |
a752b80f | 4956 | * config/microblaze/microblaze.h (TRAMPOLINE_SIZE): Adapt for |
8ec77be0 EI |
4957 | microblaze. |
4958 | ||
b41288b3 JJ |
4959 | 2013-02-16 Jakub Jelinek <jakub@redhat.com> |
4960 | Dodji Seketeli <dodji@redhat.com> | |
4961 | ||
4962 | PR asan/56330 | |
88b97037 | 4963 | * asan.c (get_mem_refs_of_builtin_call): White space and style cleanup. |
b41288b3 JJ |
4964 | (instrument_mem_region_access): Do not forget to always put |
4965 | instrumentation of the of 'base' and 'base + len' in a "if (len != | |
4966 | 0) statement, even for cases where either 'base' or 'base + len' | |
4967 | are not instrumented -- because they have been previously | |
4968 | instrumented. Simplify the logic by putting all the statements | |
4969 | instrument 'base + len' inside a sequence, and then insert that | |
4970 | sequence right before the current insertion point. Then, to | |
4971 | instrument 'base + len', just get an iterator on that statement. | |
4972 | And do not forget to update the pointer to iterator the function | |
4973 | received as argument. | |
4974 | ||
47918951 VM |
4975 | 2013-02-15 Vladimir Makarov <vmakarov@redhat.com> |
4976 | ||
4977 | PR rtl-optimization/56348 | |
4978 | * lra-assigns.c (reload_pseudo_compare_func): Prefer bigger pseudos. | |
4979 | ||
3fb7c699 SB |
4980 | 2013-02-15 Steven Bosscher <steven@gcc.gnu.org> |
4981 | ||
4982 | * graph.c (start_graph_dump): Print dumpfile base as digraph label. | |
4983 | (clean_graph_dump_file): Pass base to start_graph_dump. | |
4984 | ||
576fe41a RH |
4985 | 2013-02-14 Richard Henderson <rth@redhat.com> |
4986 | ||
4987 | PR target/55941 | |
4988 | * lower-subreg.c (simple_move): Check dest mode instead of src mode. | |
4989 | ||
bb3accfa SB |
4990 | 2013-02-14 Steven Bosscher <steven@gcc.gnu.org> |
4991 | ||
4992 | * collect2-aix.h: Define F_LOADONLY. | |
4993 | ||
03143140 RB |
4994 | 2013-02-14 Richard Biener <rguenther@suse.de> |
4995 | ||
4996 | PR lto/50494 | |
4997 | * varasm.c (output_constant_def_1): Get the decl representing | |
4998 | the constant as argument. | |
4999 | (output_constant_def): Wrap output_constant_def_1. | |
5000 | (make_decl_rtl): Use output_constant_def_1 with the decl | |
5001 | representing the constant. | |
5002 | (build_constant_desc): Optionally re-use a decl already | |
5003 | representing the constant. | |
5004 | (tree_output_constant_def): Adjust. | |
5005 | ||
8fb06726 DS |
5006 | 2013-02-14 Dodji Seketeli <dodji@redhat.com> |
5007 | ||
5008 | Fix an asan crash | |
5009 | * asan.c (instrument_builtin_call): Really put the length of the | |
5010 | second source argument into src1_len. | |
5011 | ||
c4bfe8bf JJ |
5012 | 2013-02-13 Jakub Jelinek <jakub@redhat.com> |
5013 | ||
5014 | * asan.c (create_cond_insert_point): Add create_then_fallthru_edge | |
5015 | argument. If it is false, don't create edge from then_bb to | |
5016 | fallthru_bb. | |
5017 | (insert_if_then_before_iter): Pass true to it. | |
5018 | (build_check_stmt): Pass false to it. | |
5019 | (transform_statements): Flush hash table only on extended basic | |
5020 | block boundaries, rather than at the beginning of every bb. | |
5021 | Don't flush hash table on nonfreeing_call_p calls. | |
5022 | * tree-flow.h (nonfreeing_call_p): New prototype. | |
5023 | * tree-ssa-phiopt.c (nonfreeing_call_p): No longer static. | |
5024 | ||
7afe2801 DM |
5025 | 2013-02-13 David S. Miller <davem@davemloft.net> |
5026 | ||
5027 | * expmed.c (expand_shift_1): Only strip scalar integer subregs. | |
5028 | ||
70cc3288 VM |
5029 | 2013-02-13 Vladimir Makarov <vmakarov@redhat.com> |
5030 | ||
5031 | PR target/56184 | |
5032 | * ira.c (max_regno_before_ira): Move from ... | |
5033 | (ira): ... here. | |
5034 | (fix_reg_equiv_init): Use max_regno_before_ira instead of | |
5035 | vec_safe_length. | |
5036 | ||
6422242b JJ |
5037 | 2013-02-13 Jakub Jelinek <jakub@redhat.com> |
5038 | ||
5039 | * config/i386/i386.c (ix86_asan_shadow_offset): Revert last change. | |
5040 | ||
976a81ee RB |
5041 | 2013-02-13 Richard Biener <rguenther@suse.de> |
5042 | ||
5043 | PR lto/56295 | |
5044 | * gimple-streamer-out.c (output_gimple_stmt): Undo wrapping | |
5045 | globals in MEM_REFs. | |
5046 | ||
c1874a87 RB |
5047 | 2013-02-13 Richard Biener <rguenther@suse.de> |
5048 | ||
5049 | * loop-init.c (loop_optimizer_init): Clear loop state when | |
5050 | re-initializing preserved loops. | |
5051 | * loop-unswitch.c (unswitch_single_loop): Return whether | |
5052 | we unswitched the loop. Do not verify loop state here. | |
88b97037 | 5053 | (unswitch_loops): When we unswitched a loop discover new loops. |
c1874a87 | 5054 | |
b4ab7d34 KS |
5055 | 2013-02-13 Kostya Serebryany <kcc@google.com> |
5056 | ||
88b97037 UB |
5057 | * config/i386/i386.c: Use 0x7fff8000 as asan_shadow_offset |
5058 | on x86_64 linux. | |
b4ab7d34 KS |
5059 | * sanitizer.def: Rename __asan_init to __asan_init_v1. |
5060 | ||
bdcbe80c DS |
5061 | 2013-02-12 Dodji Seketeli <dodji@redhat.com> |
5062 | ||
5063 | Avoid instrumenting duplicated memory access in the same basic block | |
5064 | * Makefile.in (asan.o): Add new dependency on hash-table.h | |
5065 | * asan.c (struct asan_mem_ref, struct mem_ref_hasher): New types. | |
5066 | (asan_mem_ref_init, asan_mem_ref_get_end, get_mem_ref_hash_table) | |
5067 | (has_stmt_been_instrumented_p, empty_mem_ref_hash_table) | |
5068 | (free_mem_ref_resources, has_mem_ref_been_instrumented) | |
5069 | (has_stmt_been_instrumented_p, update_mem_ref_hash_table) | |
5070 | (get_mem_ref_of_assignment): New functions. | |
5071 | (get_mem_refs_of_builtin_call): Extract from | |
5072 | instrument_builtin_call and tweak a little bit to make it fit with | |
5073 | the new signature. | |
5074 | (instrument_builtin_call): Use the new | |
5075 | get_mem_refs_of_builtin_call. Use gimple_call_builtin_p instead | |
5076 | of is_gimple_builtin_call. | |
5077 | (instrument_derefs, instrument_mem_region_access): Insert the | |
5078 | instrumented memory reference into the hash table. | |
5079 | (maybe_instrument_assignment): Renamed instrument_assignment into | |
5080 | this, and change it to advance the iterator when instrumentation | |
5081 | actually happened and return true in that case. This makes it | |
5082 | homogeneous with maybe_instrument_assignment, and thus give a | |
5083 | chance to callers to be more 'regular'. | |
5084 | (transform_statements): Clear the memory reference hash table | |
5085 | whenever we enter a new BB, when we cross a function call, or when | |
5086 | we are done transforming statements. Use | |
5087 | maybe_instrument_assignment instead of instrumentation. No more | |
5088 | need to special case maybe_instrument_assignment and advance the | |
5089 | iterator after calling it; it's now handled just like | |
5090 | maybe_instrument_call. Update comment. | |
5091 | ||
4861a1f7 RB |
5092 | 2013-02-13 Richard Biener <rguenther@suse.de> |
5093 | ||
5094 | * config/mn10300/mn10300.c (mn10300_scan_for_setlb_lcc): | |
5095 | Fix loop discovery code. | |
5096 | ||
1c86bd80 VM |
5097 | 2013-02-12 Vladimir Makarov <vmakarov@redhat.com> |
5098 | ||
5099 | PR inline-asm/56148 | |
5100 | * lra-constraints.c (process_alt_operands): Match early clobber | |
70cc3288 | 5101 | operand with itself. Check conflicts with earlyclobber only if |
1c86bd80 VM |
5102 | the operand is not reloaded. Prefer to reload conflicting operand |
5103 | if earlyclobber and matching operands are the same. | |
5104 | ||
7cbda518 RB |
5105 | 2013-02-12 Richard Biener <rguenther@suse.de> |
5106 | ||
5107 | PR lto/56297 | |
5108 | * lto-streamer-out.c (write_symbol): Do not output symbols | |
5109 | for hard register variables. | |
5110 | ||
e68a4ef6 GJL |
5111 | 2013-02-12 Georg-Johann Lay <avr@gjlay.de> |
5112 | ||
5113 | PR target/54222 | |
5114 | * config/avr/avr-dimode.md (umulsidi3, mulsidi3): New expanders. | |
5115 | (umulsidi3_insn, mulsidi3_insn): New insns. | |
5116 | ||
a72d8780 | 5117 | 2013-02-12 Christophe Lyon <christophe.lyon@linaro.org> |
2597da22 CL |
5118 | |
5119 | * config/arm/arm-protos.h (struct cpu_vec_costs): New struct type. | |
5120 | (struct tune_params): Add vec_costs field. | |
5121 | * config/arm/arm.c (arm_builtin_vectorization_cost) | |
5122 | (arm_add_stmt_cost): New functions. | |
5123 | (TARGET_VECTORIZE_BUILTIN_VECTORIZATION_COST) | |
5124 | (TARGET_VECTORIZE_ADD_STMT_COST): Define. | |
5125 | (arm_default_vec_cost): New struct of type cpu_vec_costs. | |
5126 | (arm_slowmul_tune, arm_fastmul_tune, arm_strongarm_tune) | |
5127 | (arm_xscale_tune, arm_9e_tune, arm_v6t2_tune, arm_cortex_tune) | |
5128 | (arm_cortex_a15_tune, arm_cortex_a5_tune, arm_cortex_a9_tune) | |
5129 | (arm_v6m_tune, arm_fa726te_tune): Define new vec_costs field. | |
5130 | ||
43320568 RB |
5131 | 2013-02-12 Richard Biener <rguenther@suse.de> |
5132 | ||
5133 | PR lto/56295 | |
5134 | * gimple-streamer-in.c (input_gimple_stmt): Strip MEM_REFs off | |
5135 | decls again if possible. | |
5136 | ||
a011aa39 RB |
5137 | 2013-02-12 Richard Biener <rguenther@suse.de> |
5138 | ||
5139 | PR middle-end/56288 | |
5140 | * tree-ssa.c (verify_ssa_name): Fix check, move | |
5141 | SSA_NAME_IN_FREE_LIST check up. | |
5142 | ||
6da26889 JJ |
5143 | 2013-02-12 Jakub Jelinek <jakub@redhat.com> |
5144 | Steven Bosscher <steven@gcc.gnu.org> | |
5145 | ||
5146 | PR rtl-optimization/56151 | |
5147 | * optabs.c (add_equal_note): Don't return 0 if target is a MEM, | |
5148 | equal to op0 or op1, and last_insn pattern is CODE operation | |
5149 | with MEM dest and one of the operands matches that MEM. | |
5150 | ||
f80e0faf ST |
5151 | 2013-02-11 Sriraman Tallam <tmsriramgoogle.com> |
5152 | ||
5153 | * doc/extend.texi: Document Function Multiversioning and "default" | |
5154 | parameter string to target attribute. | |
5155 | * config/i386/i386.c (get_builtin_code_for_version): Return 0 if | |
5156 | target attribute parameter is "default". | |
5157 | (ix86_compare_version_priority): Remove checks for target attribute. | |
5158 | (ix86_mangle_function_version_assembler_name): Change error to sorry. | |
5159 | Remove check for target attribute equal to NULL. Add assert. | |
5160 | (ix86_generate_version_dispatcher_body): Change error to sorry. | |
5161 | ||
6c59ffd1 IS |
5162 | 2013-02-11 Iain Sandoe <iain@codesourcery.com> |
5163 | Jack Howarth <howarth@bromo.med.uc.edu> | |
5164 | Patrick Marlier <patrick.marlier@gmail.com> | |
5165 | ||
5166 | PR libitm/55693 | |
5167 | * config/darwin.h: Replace ENDFILE_SPEC with TM_DESTRUCTOR and | |
5168 | define ENDFILE_SPEC as TM_DESTRUCTOR. | |
5169 | * config/i386/darwin.h (ENDFILE_SPEC): Use TM_DESTRUCTOR. | |
5170 | ||
a72d8780 | 5171 | 2013-02-11 Alexander Potapenko <glider@google.com> |
6a52ccb3 AP |
5172 | Jack Howarth <howarth@bromo.med.uc.edu> |
5173 | Jakub Jelinek <jakub@redhat.com> | |
5174 | ||
5175 | PR sanitizer/55617 | |
5176 | * config/darwin.c (cdtor_record): Rename ctor_record. | |
5177 | (sort_cdtor_records): Rename sort_ctor_records. | |
5178 | (finalize_dtors): New routine to sort destructors by | |
5179 | priority before use in assemble_integer. | |
5180 | (machopic_asm_out_destructor): Use finalize_dtors if needed. | |
5181 | ||
b63fe007 UB |
5182 | 2013-02-11 Uros Bizjak <ubizjak@gmail.com> |
5183 | ||
5184 | PR rtl-optimization/56275 | |
5185 | * simplify-rtx.c (avoid_constant_pool_reference): Check that | |
5186 | offset is non-negative and less than cmode size before | |
5187 | calling simplify_subreg. | |
5188 | ||
8e89b5b5 RB |
5189 | 2013-02-11 Richard Biener <rguenther@suse.de> |
5190 | ||
5191 | PR tree-optimization/56264 | |
5192 | * cfgloop.h (fix_loop_structure): Adjust prototype. | |
5193 | * loop-init.c (fix_loop_structure): Return the number of | |
5194 | newly discovered loops. | |
5195 | * tree-cfgcleanup.c (repair_loop_structures): When new loops | |
5196 | are discovered, do a full loop-closed SSA rewrite. | |
5197 | ||
b4a4b56d RB |
5198 | 2013-02-11 Richard Biener <rguenther@suse.de> |
5199 | ||
5200 | PR tree-optimization/56273 | |
5201 | * tree-vrp.c (simplify_cond_using_ranges): Disable for the | |
5202 | first VRP run. | |
5203 | (check_array_ref): Fix missing newline in dumps. | |
5204 | (search_for_addr_array): Likewise. | |
5205 | ||
0c885229 DE |
5206 | 2013-02-09 David Edelsohn <dje.gcc@gmail.com> |
5207 | ||
5208 | * config/rs6000/aix61.h (OS_MISSING_ALTIVEC): Undefine. | |
5209 | ||
59ac9a55 JJ |
5210 | 2013-02-09 Jakub Jelinek <jakub@redhat.com> |
5211 | ||
5212 | PR target/56256 | |
5213 | * config/rs6000/rs6000.h (ASSEMBLER_DIALECT): Define. | |
5214 | ||
25bb0bb5 VM |
5215 | 2013-02-08 Vladimir Makarov <vmakarov@redhat.com> |
5216 | ||
5217 | PR rtl-optimization/56246 | |
0c885229 | 5218 | * lra-constraints.c (simplify_operand_subreg): Try to reuse |
25bb0bb5 VM |
5219 | reload pseudo. |
5220 | * lra.c (lra): Clear lra_optional_reload_pseudos only when all | |
5221 | constraints are satisfied. | |
5222 | ||
a698cc03 JL |
5223 | 2013-02-08 Jeff Law <law@redhat.com> |
5224 | ||
5225 | PR debug/53948 | |
5226 | * emit-rtl.c (reg_is_parm_p): New function. | |
5227 | * regs.h (reg_is_parm_p): New prototype. | |
5228 | * ira-conflicts.c (ira_build_conflicts): Allow parameters in | |
5229 | callee-clobbered registers. | |
5230 | ||
e1122ddd MM |
5231 | 2013-02-08 Michael Meissner <meissner@linux.vnet.ibm.com> |
5232 | ||
5233 | PR target/56043 | |
5234 | * config/rs6000/rs6000.c (rs6000_builtin_vectorized_libmass): | |
5235 | If there is no implicit builtin declaration, just return NULL. | |
5236 | ||
19c5f6e6 UB |
5237 | 2013-02-08 Uros Bizjak <ubizjak@gmail.com> |
5238 | ||
5239 | * config/i386/sse.md (FMAMODEM): New mode iterator. | |
5240 | (fma<mode>4, fms<mode>4, fnma<mode>4, fnms<mode>4): Use FMAMODEM | |
5241 | mode iterator. Do not use TARGET_SSE_MATH in insn constraint. | |
5242 | ||
2480f2ca | 5243 | 2013-02-08 Uros Bizjak <ubizjak@gmail.com> |
76ef61fb | 5244 | |
2480f2ca UB |
5245 | * config/i386/gnu-user.h (TARGET_CAN_SPLIT_STACK): Define only |
5246 | when HAVE_GAS_CFI_PERSONALITY_DIRECTIVE is set. | |
5247 | * config/i386/gnu-user64.h (TARGET_CAN_SPLIT_STACK): Ditto. | |
5248 | ||
5249 | 2013-02-08 Edgar E. Iglesias <edgar.iglesias@gmail.com> | |
5250 | ||
5251 | * config.gcc (microblaze*-linux*): Add TARGET_BIG_ENDIAN_DEFAULT. | |
5252 | (microblaze*-*-elf): Likewise. | |
5253 | * config/microblaze/linux.h: Add -mbig-endian / -mlittle-endian to | |
5254 | LINK_SPEC. | |
5255 | * config/microblaze/microblaze-c.c: Add builtin defines for | |
5256 | _LITTLE_ENDIAN and _BIG_ENDIAN. | |
5257 | * config/microblaze/microblaze.h: Add TARGET_ENDIAN_DEFAULT and | |
5258 | add to TARGET_DEFAULT flags. | |
76ef61fb | 5259 | Expand ASM_SPEC and LINK_SPEC. |
2480f2ca UB |
5260 | Update BYTES_BIG_ENDIAN and WORDS_BIG_ENDIAN. |
5261 | * config/microblaze/microblaze.md: Update extendsidi2 and | |
5262 | movdi_internal instructions to use low-order / high-order reg | |
5263 | print_operands. | |
5264 | * config/microblaze/microblaze.opt: Add mbig-endian and mlittle-endian | |
5265 | options and inversemask / mask of LITTLE_ENDIAN. | |
5266 | * config/microblaze/t-microblaze: Expand multilib options to | |
5267 | include mlittle-endian (le) and update exceptions patterns. | |
5268 | ||
600a5961 JJ |
5269 | 2013-02-08 Jakub Jelinek <jakub@redhat.com> |
5270 | ||
5df81313 JJ |
5271 | PR rtl-optimization/56195 |
5272 | * lra-constraints.c (get_reload_reg): Don't reuse regs | |
5273 | if they have smaller mode than requested, if they have | |
5274 | wider mode than requested, try to return a SUBREG. | |
5275 | ||
600a5961 JJ |
5276 | PR tree-optimization/56250 |
5277 | * fold-const.c (extract_muldiv_1) <case NEGATE_EXPR>: Don't optimize | |
5278 | if type is unsigned and code isn't MULT_EXPR. | |
5279 | ||
ff544649 GJL |
5280 | 2013-02-08 Georg-Johann Lay <avr@gjlay.de> |
5281 | ||
5282 | PR tree-optimization/56064 | |
5283 | * fixed-value.c (fixed_from_double_int): Sign/zero extend payload | |
5284 | bits according to mode. | |
5285 | * fixed-value.h (fixed_from_double_int) | |
5286 | (const_fixed_from_double_int): Adjust comments. | |
5287 | ||
e45cde98 RB |
5288 | 2013-02-08 Richard Biener <rguenther@suse.de> |
5289 | ||
5290 | PR lto/56231 | |
5291 | * lto-streamer.h (struct data_in): Remove current_file, current_line | |
5292 | and current_col members. | |
5293 | * lto-streamer-out.c (lto_output_location): Stream changed bits | |
5294 | en-block for efficiency. | |
5295 | * lto-streamer-in.c (clear_line_info): Remove. | |
5296 | (lto_input_location): Cache current file, line and column | |
5297 | globally via local statics. Read changed bits en-block. | |
5298 | (input_function): Do not call clear_line_info. | |
5299 | (lto_read_body): Likewise. | |
5300 | (lto_input_toplevel_asms): Likewise. | |
5301 | ||
c1ca73d8 MM |
5302 | 2013-02-08 Michael Matz <matz@suse.de> |
5303 | ||
5304 | PR tree-optimization/52448 | |
5305 | * tree-ssa-phiopt.c (struct name_to_bb): Add phase member. | |
5306 | (nt_call_phase): New static. | |
5307 | (add_or_mark_expr): Only mark accesses with newer phase than any | |
5308 | call seen. | |
5309 | (nonfreeing_call_p): New. | |
5310 | (nt_init_block): Update nt_call_phase, mark blocks as visited. | |
5311 | (nt_fini_block): Keep blocks marked as visited. | |
5312 | (get_non_trapping): Initialize nt_call_phase, and reset aux pointer. | |
5313 | ||
57548aa2 RB |
5314 | 2013-02-08 Richard Biener <rguenther@suse.de> |
5315 | ||
5316 | * ira.c (ira): Free broken dominator information. | |
5317 | ||
8e10366f UB |
5318 | 2013-02-08 Uros Bizjak <ubizjak@gmail.com> |
5319 | ||
5320 | * config/i386/i386.c (ix86_spill_class): Use INTEGER_CLASS_P macro. | |
5321 | ||
f64fb0fa MP |
5322 | 2013-02-08 Marek Polacek <polacek@redhat.com> |
5323 | ||
8e10366f | 5324 | * cfgloop.c (verify_loop_structure): Add more checking of headers. |
f64fb0fa | 5325 | |
0375167b RB |
5326 | 2013-02-08 Richard Biener <rguenther@suse.de> |
5327 | ||
5328 | PR middle-end/56181 | |
5329 | * cfgloop.h (flow_loops_find): Adjust. | |
5330 | (bb_loop_header_p): Declare. | |
5331 | * cfgloop.c (bb_loop_header_p): New function split out from ... | |
5332 | (flow_loops_find): ... here. Adjust function signature, | |
5333 | support incremental loop structure update. | |
5334 | (verify_loop_structure): Cleanup. Verify a loop is a loop. | |
5335 | * cfgloopmanip.c (fix_loop_structure): Move ... | |
5336 | * loop-init.c (fix_loop_structure): ... here. | |
5337 | (apply_loop_flags): Split out from ... | |
5338 | (loop_optimizer_init): ... here. | |
5339 | (fix_loop_structure): Use apply_loop_flags. Use flow_loops_find | |
5340 | in incremental mode, only remove dead loops here. | |
5341 | ||
85d768f3 GJL |
5342 | 2013-02-08 Georg-Johann Lay <avr@gjlay.de> |
5343 | ||
5344 | PR target/54222 | |
5345 | * config/avr/avr.md (unspec) <UNSPEC_ROUND>: Add. | |
5346 | * config/avr/avr-fixed.md (ALL4QA, ALL124QA): New mode iterators. | |
5347 | (round<mode>3, round<mode>3_const): New expanders for fixed-mode. | |
5348 | (*round<mode>3.libgcc): New insns for fixed-modes. | |
5349 | * config/avr/builtins.def (ABSxx): Use a non-NULL LIBNAME. | |
5350 | (ROUNDxx, COUNTLSxx, BITSxx, xxBITS): New DEF_BUILTINs. | |
5351 | (ROUNDFX, COUNTLSFX, ABSFX): New DEF_BUILTINs. | |
5352 | * config/avr/stdfix.h (absFX, bitsFX, FXbits): Remove inline | |
5353 | implementations. Define to __builtin_avr_absFX, | |
5354 | __builtin_avr_bitsFX, __builtin_avr_FXbits, respectively. | |
5355 | (roundFX, countlsFX): Define to __builtin_avr_roundFX, | |
5356 | __builtin_avr_countlsFX, respectively. | |
5357 | * config/avr/avr-c.c (target.h): Include it. | |
5358 | (enum avr_builtin_id): New enum. | |
5359 | (avr_resolve_overloaded_builtin): New static function. | |
5360 | (avr_register_target_pragmas): Use it to set | |
5361 | targetm.resolve_overloaded_builtin. | |
5362 | * config/avr/avr.c (avr_init_builtins): Supply myriads of local | |
5363 | tree nodes used by DEF_BUILTIN. | |
5364 | (avr_expand_builtin) <AVR_BUILTIN_ROUNDxx>: Sanity-check them. | |
5365 | (avr_fold_builtin) <AVR_BUILTIN_BITSxx>: Fold to VIEW_COVERT_EXPR. | |
5366 | <AVR_BUILTIN_xxBITS>: Same. | |
5367 | ||
661bc682 RB |
5368 | 2013-02-08 Richard Biener <rguenther@suse.de> |
5369 | ||
5370 | * cfgloop.c (verify_loop_structure): Properly handle | |
5371 | a loop exiting to another loop header. | |
5372 | * ira-int.h (ira_loops): Remove. | |
5373 | * ira.c (ira_loops): Remove. | |
5374 | (ira): Use loop_optimizer_init and loop_optimizer_finalize. | |
5375 | (do_reload): Use loop_optimizer_finalize. | |
5376 | * ira-build.c (create_loop_tree_nodes): Use get_loops and | |
5377 | number_of_loops to access the loop tree. | |
5378 | (more_one_region_p): Likewise. | |
5379 | (finish_loop_tree_nodes): Likewise. | |
5380 | (rebuild_regno_allocno_maps): Likewise. | |
5381 | (mark_loops_for_removal): Likewise. | |
5382 | (mark_all_loops_for_removal): Likewise. | |
5383 | (remove_unnecessary_regions): Likewise. | |
5384 | (ira_build): Likewise. | |
5385 | * ira-emit.c (setup_entered_from_non_parent_p): Likewise. | |
5386 | ||
0d5049b2 RB |
5387 | 2013-02-08 Richard Biener <rguenther@suse.de> |
5388 | ||
5389 | * Makefile.in (tree-tailcall.o): Add $(CFGLOOP_H) dependency. | |
5390 | * ipa-pure-const.c (analyze_function): Avoid calling | |
5391 | mark_irreducible_loops twice. | |
8e10366f | 5392 | * tree-tailcall.c (tree_optimize_tail_calls_1): Mark loops for fixup. |
0d5049b2 | 5393 | |
499f32e8 DM |
5394 | 2013-02-07 David S. Miller <davem@davemloft.net> |
5395 | ||
5396 | * dwarf2out.c (based_loc_descr): Perform leaf register remapping | |
5397 | on 'reg'. | |
5398 | * var-tracking.c (vt_add_function_parameter): Test the presence of | |
5399 | HAVE_window_save properly and do not remap argument registers when | |
5400 | we have a leaf function. | |
5401 | ||
6edc3e32 UB |
5402 | 2013-02-07 Uros Bizjak <ubizjak@gmail.com> |
5403 | ||
5404 | PR bootstrap/56227 | |
5405 | * ggc-page.c (ggc_print_statistics): Use HOST_LONG_LONG_FORMAT | |
5406 | instead of "ll". | |
5407 | * config/i386/i386.c (ix86_print_operand): Ditto. | |
5408 | ||
5306401f VM |
5409 | 2013-02-07 Vladimir Makarov <vmakarov@redhat.com> |
5410 | ||
6edc3e32 | 5411 | * lra-constraints.c (process_alt_operands): Fix recently added comment. |
5306401f | 5412 | |
027ece11 VM |
5413 | 2013-02-07 Vladimir Makarov <vmakarov@redhat.com> |
5414 | ||
5415 | PR rtl-optimization/56225 | |
5416 | * lra-constraints.c (process_alt_operands): Check that reload hard | |
5417 | reg can hold value for strict_low_part. | |
5418 | ||
f980dfdb JJ |
5419 | 2013-02-07 Jakub Jelinek <jakub@redhat.com> |
5420 | ||
5421 | PR debug/56154 | |
5422 | * dwarf2out.c (dwarf2_debug_hooks): Set end_function hook to | |
5423 | dwarf2out_end_function. | |
5424 | (in_first_function_p, maybe_at_text_label_p, | |
5425 | first_loclabel_num_not_at_text_label): New variables. | |
5426 | (dwarf2out_var_location): In the first function find out | |
6edc3e32 | 5427 | lowest loclabel_num N where .LVLN is known not to be equal to .Ltext0. |
f980dfdb JJ |
5428 | (find_empty_loc_ranges_at_text_label, dwarf2out_end_function): New |
5429 | functions. | |
5430 | ||
73dd3123 EB |
5431 | 2013-02-07 Eric Botcazou <ebotcazou@adacore.com> |
5432 | ||
5433 | PR rtl-optimization/56178 | |
5434 | * cse.c (cse_insn): Do not create a REG_EQUAL note if the source is a | |
5435 | SUBREG of a register. Tidy up related block of code. | |
5436 | * fwprop.c (forward_propagate_and_simplify): Do not create a REG_EQUAL | |
5437 | note if the source is a register or a SUBREG of a register. | |
5438 | ||
e3936f47 JJ |
5439 | 2013-02-07 Jakub Jelinek <jakub@redhat.com> |
5440 | ||
5441 | PR target/56228 | |
5442 | * config/rs6000/rs6000.md (ptrm): New mode attr. | |
5443 | (call_indirect_aix<ptrsize>, call_indirect_aix<ptrsize>_nor11, | |
5444 | call_value_indirect_aix<pttrsize>, | |
5445 | call_value_indirect_aix<pttrsize>_nor11): Use <ptrm> instead of | |
5446 | m in constraints. | |
5447 | ||
d96d674b MH |
5448 | 2013-02-07 Michael Haubenwallner <michael.haubenwallner@salomon.at> |
5449 | ||
5450 | * collect2.c (main): Set aix64_flag for -G and -bsvr4 too, disable | |
5451 | if -bnortl. Convert to strcmp and strncmp. | |
5452 | ||
921f2dee AM |
5453 | 2013-02-07 Alan Modra <amodra@gmail.com> |
5454 | ||
5455 | PR target/54009 | |
5456 | * config/rs6000/rs6000.c (mem_operand_gpr): Check that LO_SUM | |
5457 | addresses won't wrap when offsetting. | |
5458 | (rs6000_secondary_reload): Provide secondary reloads needed for | |
5459 | wrapping LO_SUM addresses. | |
5460 | ||
d09c7dba TS |
5461 | 2013-02-06 Thomas Schwinge <thomas@codesourcery.com> |
5462 | ||
5463 | * config/gnu.h (GNU_USER_TARGET_OS_CPP_BUILTINS): Never define | |
5464 | MACH, just __MACH__. | |
5465 | ||
a44bbd48 RB |
5466 | 2013-02-06 Richard Biener <rguenther@suse.de> |
5467 | ||
5468 | * tracer.c (tracer): Mark loops with LOOPS_NEED_FIXUP | |
5469 | instead of calling fix_loop_structure. | |
5470 | ||
6d840d99 JJ |
5471 | 2013-02-06 Jakub Jelinek <jakub@redhat.com> |
5472 | ||
5473 | PR middle-end/56217 | |
5474 | * omp-low.c (use_pointer_for_field): Return false if | |
5475 | lower_send_shared_vars doesn't generate any copy-out code. | |
5476 | ||
0f33baa9 TV |
5477 | 2013-02-06 Tom de Vries <tom@codesourcery.com> |
5478 | ||
5479 | PR rtl-optimization/56131 | |
5480 | * cfgrtl.c (delete_insn): Use NOTE_BASIC_BLOCK instead of BLOCK_FOR_INSN | |
5481 | to get the bb of a NOTE_INSN_BASIC_BLOCK. Handle the case that the bb | |
5482 | of the label is NULL. Add comment. | |
5483 | ||
11f1e3ab JJ |
5484 | 2013-02-05 Jakub Jelinek <jakub@redhat.com> |
5485 | ||
31502f9f JJ |
5486 | * tree.h (struct tree_decl_with_vis): Remove thread_local field. |
5487 | ||
a74db9bd JJ |
5488 | PR sanitizer/55374 |
5489 | * config/gnu-user.h (LIBTSAN_EARLY_SPEC): Define. | |
5490 | (STATIC_LIBTSAN_LIBS): Likewise. | |
5491 | * gcc.c (ADD_STATIC_LIBTSAN_LIBS, LIBTSAN_EARLY_SPEC): Define. | |
5492 | (LIBTSAN_SPEC): Add ADD_STATIC_LIBTSAN_LIBS, if LIBTSAN_EARLY_SPEC | |
5493 | is defined, don't add anything else beyond that. | |
5494 | (SANITIZER_EARLY_SPEC, SANITIZER_SPEC): Define. | |
5495 | (LINK_COMMAND_SPEC): Use them. | |
5496 | ||
11f1e3ab JJ |
5497 | PR tree-optimization/56205 |
5498 | * tree-stdarg.c (check_all_va_list_escapes): Return true if | |
5499 | there are any PHI nodes that set non-va_list_escape_vars SSA_NAME | |
5500 | and some va_list_escape_vars SSA_NAME appears in some PHI argument. | |
5501 | ||
14ac6aa2 RB |
5502 | 2013-02-05 Richard Biener <rguenther@suse.de> |
5503 | ||
5504 | PR tree-optimization/53342 | |
5505 | PR tree-optimization/53185 | |
5506 | * tree-vectorizer.h (vect_check_strided_load): Remove. | |
5507 | * tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Do | |
5508 | not disallow peeling for vectorized strided loads. | |
5509 | (vect_check_strided_load): Make static and simplify. | |
5510 | (vect_analyze_data_refs): Adjust. | |
5511 | * tree-vect-stmts.c (vectorizable_load): Handle peeled loops | |
5512 | correctly when vectorizing strided loads. | |
5513 | ||
6f22445a RB |
5514 | 2013-02-05 Richard Biener <rguenther@suse.de> |
5515 | ||
5516 | * doc/install.texi: Refer to ISL, not PPL. | |
5517 | ||
39f9719e JH |
5518 | 2013-02-05 Jan Hubicka <jh@suse.cz> |
5519 | ||
ec4224ac JH |
5520 | PR tree-optimization/55789 |
5521 | * params.def (PARAM_EARLY_INLINER_MAX_ITERATIONS): Drop to 1. | |
5522 | ||
5523 | 2013-02-05 Jan Hubicka <jh@suse.cz> | |
5524 | ||
5525 | PR tree-optimization/55789 | |
39f9719e JH |
5526 | * cgraphclones.c (cgraph_remove_node_and_inline_clones): Remove |
5527 | the dead call anyway. | |
5528 | ||
956d3b33 EB |
5529 | 2013-02-05 Eric Botcazou <ebotcazou@adacore.com> |
5530 | ||
5531 | PR sanitizer/55374 | |
5532 | * config/gnu-user.h (LIBASAN_EARLY_SPEC): Add missing guard. | |
5533 | ||
5534 | 2013-02-04 Alexander Potapenko <glider@google.com> | |
5535 | Jack Howarth <howarth@bromo.med.uc.edu> | |
ae526fe5 AP |
5536 | Jakub Jelinek <jakub@redhat.com> |
5537 | ||
5538 | PR sanitizer/55617 | |
5539 | * config/darwin.c (sort_ctor_records): Stabilized qsort | |
5540 | on constructor priority by using original position. | |
5541 | (finalize_ctors): New routine to sort constructors by | |
5542 | priority before use in assemble_integer. | |
5543 | (machopic_asm_out_constructor): Use finalize_ctors if needed. | |
5544 | ||
7ac3af38 JJ |
5545 | 2013-02-04 Jakub Jelinek <jakub@redhat.com> |
5546 | ||
5547 | PR libstdc++/54314 | |
5548 | * config/i386/winnt.c (i386_pe_assemble_visibility): Don't warn | |
5549 | about visibility on artificial decls. | |
5550 | * config/sol2.c (solaris_assemble_visibility): Likewise. | |
5551 | ||
152689dc KT |
5552 | 2013-02-04 Kai Tietz <ktietz@redhat.com> |
5553 | ||
5554 | PR target/56186 | |
5555 | * config/i386/i386.c (function_value_ms_64): Add additional valtype | |
5556 | argument and improve checking of return-argument types for 16-byte | |
5557 | modes. | |
5558 | (ix86_function_value_1): Add additional valtype argument on call | |
5559 | of function_value_64. | |
5560 | (return_in_memory_ms_64): Sync 16-byte sized mode handling with | |
5561 | handling infunction_value_64 function. | |
5562 | ||
2b5987b5 MGD |
5563 | 2013-02-04 Matthew Gretton-Dann <matthew.gretton-dann@linaro.org> |
5564 | ||
7ac3af38 | 5565 | * reload.c (subst_reloads): Fix DEBUG_RELOAD build issue. |
2b5987b5 | 5566 | |
14597080 RB |
5567 | 2013-02-04 Richard Biener <rguenther@suse.de> |
5568 | ||
5569 | PR tree-optimization/56188 | |
5570 | * tree-ssa-structalias.c (label_visit): Consider case with | |
5571 | initially non-empty points-to set. | |
5572 | (perform_var_substitution): Dump node mapping and clean up. | |
5573 | ||
ed73881e RG |
5574 | 2013-02-04 Richard Guenther <rguenther@suse.de> |
5575 | ||
5576 | PR lto/56168 | |
5577 | * lto-symtab.c (lto_symtab_merge_decls_1): Make non-builtin | |
5578 | node prevail as last resort. | |
5579 | (lto_symtab_merge_decls): Remove guard on LTRANS here. | |
6edc3e32 | 5580 | (lto_symtab_prevailing_decl): Builtins are their own prevailing decl. |
ed73881e | 5581 | |
139a0707 RB |
5582 | 2013-02-04 Richard Biener <rguenther@suse.de> |
5583 | ||
5584 | PR tree-optimization/56113 | |
5585 | * tree-ssa-structalias.c (equiv_class_lookup, equiv_class_add): | |
5586 | Merge into ... | |
5587 | (equiv_class_lookup_or_add): ... this. | |
5588 | (label_visit): Adjust and fix error in previous patch. | |
5589 | (perform_var_substitution): Adjust. | |
5590 | ||
50fe8924 OE |
5591 | 2013-02-03 Oleg Endo <olegendo@gcc.gnu.org> |
5592 | ||
5593 | * config/sh/divtab.c: Fix formatting and comments throughout the file. | |
5594 | * config/sh/sh4-300.md: Likewise. | |
5595 | * config/sh/sh4a.md: Likewise. | |
5596 | * config/sh/constraints.md: Likewise. | |
5597 | * config/sh/sh.md: Likewise. | |
5598 | * config/sh/netbsd-elf.h: Likewise. | |
5599 | * config/sh/predicates.md: Likewise. | |
5600 | * config/sh/sh-protos.h: Likewise. | |
5601 | * config/sh/ushmedia.h: Likewise. | |
5602 | * config/sh/linux.h: Likewise. | |
5603 | * config/sh/sh.c: Likewise. | |
5604 | * config/sh/superh.h: Likewise. | |
5605 | * config/sh/elf.h: Likewise. | |
5606 | * config/sh/sh4.md: Likewise. | |
5607 | * config/sh/sh.h: Likewise. | |
5608 | ||
1a04ac2b JDA |
5609 | 2013-02-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
5610 | ||
5611 | * config/pa/constraints.md: Adjust unused letters. Change "T" | |
5612 | constraint to match_test floating_point_store_memory_operand(). | |
5613 | * config/pa/predicates.md (reg_plus_base_memory_operand): New. | |
5614 | (base14_operand): New. | |
5615 | (floating_point_store_memory_operand): New. | |
5616 | (integer_store_memory_operand): Revise to use base14_operand and | |
5617 | reg_plus_base_memory_operand. | |
5618 | (move_dest_operand): Allow symbolic_memory_operands. | |
5619 | (symbolic_memory_operand): Check for LO_SOM. | |
5620 | (symbolic_operand): Change default case to break. | |
5621 | * config/pa/pa.md: Remove unamed DFmode and SFmode patterns to force | |
5622 | CONST_DOUBLE values to be reloaded by putting them into memory when | |
5623 | the destination is a floating point register. | |
5624 | (movdf): Remove code to handle CONST_DOUBLE. | |
5625 | (movsf): Likewise. | |
5626 | (reload_indf_r1): New. | |
5627 | (reload_insf_r1): New. | |
5628 | Consistently use "Q" and "T" constraints with integer and floating | |
5629 | point move instructions, respectively. | |
5630 | (movdi): Remove FAIL. | |
5631 | Change predicate for source operand unamed DImode move from | |
5632 | general_operand to move_src_operand. | |
5633 | (umulsidi3): Change predicate for destination operand to | |
5634 | register_operand. | |
5635 | Likewise for similar unamed patterns. | |
5636 | * config/pa/pa-protos.h (pa_legitimize_reload_address): Declare. | |
5637 | * config/pa/pa.c (pa_symbolic_expression_p): Remove extra parenthesis. | |
5638 | (hppa_legitimize_address): Simplify mask calculation. | |
5639 | (pa_emit_move_sequence): Revised handling of secondary reloads from | |
5640 | REG+D addresses for floating point loads and stores. Directly handle | |
5641 | loading CONST0_RTX (mode) to a floating point register. | |
5642 | (pa_secondary_reload): Handle reloading DF and SFmode constant values | |
5643 | to floating point registers. Don't restrict secondary reloads to | |
5644 | floating point registers to integer modes. Revise some comments and | |
5645 | cleanup some code. | |
5646 | (TARGET_LEGITIMATE_ADDRESS_P): Define. | |
5647 | (pa_legitimate_address_p): New. | |
5648 | (pa_legitimize_reload_address): New. | |
5649 | * config/pa/pa.h (STRICT_REG_OK_FOR_INDEX_P): New. | |
5650 | (STRICT_REG_OK_FOR_BASE_P): New. | |
5651 | (GO_IF_LEGITIMATE_ADDRESS): Delete. Update some related comments. | |
5652 | (LEGITIMIZE_RELOAD_ADDRESS): Revise to use pa_legitimize_reload_address. | |
5653 | ||
3bf65591 DE |
5654 | 2013-02-03 David Edelsohn <dje.gcc@gmail.com> |
5655 | Andrew Dixie <andrewd@gentrack.com> | |
5656 | ||
5657 | * collect2.c (GCC_CHECK_HDR): Do not scan objects with F_LOADONLY | |
5658 | flag set. | |
5659 | ||
c0a8a3e6 RS |
5660 | 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com> |
5661 | ||
5662 | * expmed.c (extract_bit_field_1): Pass the full width of the | |
5663 | structure to get_best_reg_extraction_insn. | |
5664 | ||
99113dff DE |
5665 | 2013-02-01 David Edelsohn <dje.gcc@gmail.com> |
5666 | ||
5667 | PR target/54601 | |
5668 | * configure.ac (use_cxa_atexit): Add AIX. | |
5669 | * configure: Regenerate. | |
5670 | ||
5671 | * config/rs6000/aix61.h (STARTFILE_SPEC): Add crtcxa.o. | |
5672 | ||
ddd84654 JJ |
5673 | 2013-02-01 Jakub Jelinek <jakub@redhat.com> |
5674 | ||
5675 | PR debug/54793 | |
5676 | * final.c (need_profile_function): New variable. | |
5677 | (final_start_function): Drop ATTRIBUTE_UNUSED from first argument. | |
5678 | If first of NOTE_INSN_BASIC_BLOCK or NOTE_INSN_FUNCTION_BEG | |
5679 | is only preceeded by NOTE_INSN_VAR_LOCATION or NOTE_INSN_DELETED | |
5680 | notes, targetm.asm_out.function_prologue doesn't emit anything, | |
5681 | HAVE_prologue and profiler should be emitted before prologue, | |
5682 | set need_profile_function instead of emitting it. | |
5683 | (final_scan_insn): If need_profile_function, emit | |
5684 | profile_function on the first NOTE_INSN_BASIC_BLOCK or | |
5685 | NOTE_INSN_FUNCTION_BEG note. | |
5686 | ||
5687 | 2013-02-01 Richard Henderson <rth@redhat.com> | |
749af8ee RH |
5688 | |
5689 | * config/rs6000/rs6000.md (smulditi3): New. | |
5690 | (umulditi3): New. | |
5691 | ||
ff2a9d88 RH |
5692 | * config/alpha/alpha.md (umulditi3): New. |
5693 | ||
14d52b90 DE |
5694 | 2013-02-01 David Edelsohn <dje.gcc@gmail.com> |
5695 | ||
5696 | * config/rs6000/xcoff.h (ASM_OUTPUT_ALIGNED_COMMON): Use floor_log2. | |
5697 | (ASM_OUTPUT_ALIGNED_LOCAL): New. | |
5698 | ||
8c7ca45c RB |
5699 | 2013-02-01 Richard Biener <rguenther@suse.de> |
5700 | ||
5701 | PR tree-optimization/56113 | |
5702 | * tree-ssa-structalias.c (label_visit): Reduce work for | |
5703 | single-predecessor nodes. | |
5704 | ||
9f419393 EB |
5705 | 2013-02-01 Eric Botcazou <ebotcazou@adacore.com> |
5706 | ||
5707 | * fold-const.c (make_range_step) <TRUTH_NOT_EXPR>: Bail out if the | |
5708 | range isn't testing for zero. | |
5709 | ||
c5f4be84 SB |
5710 | 2013-01-31 Steven Bosscher <steven@gcc.gnu.org> |
5711 | ||
5712 | PR middle-end/56113 | |
5713 | * fwprop.c (fwprop_init): Set up loops without CFG modifications. | |
5714 | ||
dbdbd982 NC |
5715 | 2013-01-31 Hiroyuki Ono <hiroyuki.ono.jc@renesas.com> |
5716 | Nick Clifton <nickc@redhat.com> | |
5717 | ||
5718 | * config/v850/constraints.md (Q): Define as a memory constraint. | |
5719 | * config/v850/predicates.md (label_ref_operand): New predicate. | |
5720 | (e3v5_shift_operand): New predicate. | |
5721 | (ior_operator): New predicate. | |
5722 | * config/v850/t-v850: Add e3v5 multilib. | |
5723 | * config/v850/v850-protos.h (v850_adjust_insn_length): Prototype. | |
5724 | (v850_gen_movdi): Prototype. | |
5725 | * config/v850/v850.c: Add support for e3v5 architecture. | |
5726 | Rename all uses of TARGET_V850E || TARGET_V850E2_ALL to | |
5727 | TARGET_V850E_UP. | |
5728 | (construct_save_jarl): Add e3v5 long JARL support. | |
5729 | (v850_adjust_insn_length): New function. Adjust length of call | |
5730 | insns when using e3v5 instructions. | |
5731 | (v850_gen_movdi): New function: Generate instructions to move a | |
5732 | DImode value. | |
5733 | * config/v850/v850.h (TARGET_CPU_v850e3v5): Define. | |
5734 | (CPP_SPEC): Define __v850e3v5__ as appropriate. | |
5735 | (TARGET_USE_FPU): Enable for e3v5. | |
5736 | (CONST_OK_FOR_W): New macro. | |
5737 | (ADJUST_INSN_LENGTH): Define. | |
5738 | * config/v850/v850.md (UNSPEC_LOOP): Define. | |
5739 | (attr cpu): Add v850e3v5. | |
5740 | Rename all uses of TARGET_V850E2 to TARGET_V850E2V3_UP. | |
5741 | (movdi): New pattern. | |
5742 | (movdi_internal): New pattern. | |
5743 | (cbranchsf4): Conditionalize on TARGET_USE_FPU. | |
5744 | (cbranchdf4): Conditionalize on TARGET_USE_FPU. | |
5745 | (cstoresf4): Likewise. | |
5746 | (cstoredf4): Likewise. | |
5747 | (insv): New pattern. | |
5748 | (rotlso3_a): New pattern. | |
5749 | (rotlsi3_b): New pattern | |
5750 | (rotlsi3_v850e3v5): New pattern. | |
5751 | (doloop_begin): New pattern. | |
5752 | (fix_loop_counter): New pattern. | |
5753 | (doloop_end): New pattern. | |
5754 | (branch_normal): Add e3v5 long branch support. | |
5755 | (branch_invert): Likewise. | |
5756 | (branch_z_normal): Likewise. | |
5757 | (branch_z_invert): Likewise. | |
5758 | (branch_nz_normal): Likewise. | |
5759 | (branch_nz_invert): Likewise. | |
5760 | (call_internal_short): Add e3v5 register-indirect JARL support. | |
5761 | (call_internal_long): Likewise. | |
5762 | (call_value_internal_short): Likewise. | |
5763 | (call_value_internal_long): Likewise. | |
5764 | * config/v850/v850.opt (mv850e3v5, mv850e2v4): New options. | |
5765 | (mloop): New option. | |
5766 | * config.gcc: Add support for configuring v840e3v5 target. | |
6edc3e32 | 5767 | * doc/invoke.texi: Document new v850 specific command line options. |
dbdbd982 | 5768 | |
73861a41 PK |
5769 | 2013-01-31 Paul Koning <ni1d@arrl.net> |
5770 | ||
5771 | PR debug/55059 | |
5772 | PR debug/54508 | |
5773 | * dwarf2out.c (prune_unused_types_mark): Mark all of parent's | |
5774 | children if parent is a class. | |
5775 | (prune_unused_types_prune): Don't add DW_AT_declaration. | |
5776 | ||
e44978dc RB |
5777 | 2013-01-31 Richard Biener <rguenther@suse.de> |
5778 | ||
5779 | PR tree-optimization/56157 | |
5780 | * tree-vect-slp.c (vect_get_slp_defs): More thoroughly try to | |
5781 | match up operand with SLP child. | |
5782 | ||
90b10dec JM |
5783 | 2013-01-31 Jason Merrill <jason@redhat.com> |
5784 | ||
04d2dadd | 5785 | PR debug/54410 |
90b10dec JM |
5786 | * dwarf2out.c (gen_struct_or_union_type_die): Always schedule template |
5787 | parameters the first time. | |
5788 | (gen_scheduled_generic_parms_dies): Check completeness here. | |
5789 | ||
6e616110 RB |
5790 | 2013-01-31 Richard Biener <rguenther@suse.de> |
5791 | ||
5792 | PR middle-end/53073 | |
5793 | * common.opt (faggressive-loop-optimizations): New flag, | |
5794 | enabled by default. | |
5795 | * doc/invoke.texi (faggressive-loop-optimizations): Document. | |
5796 | * tree-ssa-loop-niter.c (estimate_numbers_of_iterations_loop): Guard | |
5797 | infer_loop_bounds_from_undefined by it. | |
5798 | ||
636f59cf RB |
5799 | 2013-01-31 Richard Biener <rguenther@suse.de> |
5800 | ||
5801 | PR tree-optimization/56150 | |
5802 | * tree-ssa-loop-manip.c (find_uses_to_rename_stmt): Do not | |
5803 | visit virtual operands. | |
5804 | (find_uses_to_rename_bb): Likewise. | |
5805 | ||
5806 | 2013-01-31 Richard Biener <rguenther@suse.de> | |
fcfa87ac RB |
5807 | |
5808 | PR tree-optimization/56150 | |
5809 | * tree-ssa-tail-merge.c (gimple_equal_p): Properly handle | |
5810 | mixed store non-store stmts. | |
5811 | ||
32887460 JJ |
5812 | 2013-01-30 Jakub Jelinek <jakub@redhat.com> |
5813 | ||
e60e09a0 JJ |
5814 | PR sanitizer/55374 |
5815 | * gcc.c (LIBASAN_SPEC): Define just to ADD_STATIC_LIBASAN_LIBS if | |
5816 | LIBASAN_EARLY_SPEC is defined. | |
5817 | (LIBASAN_EARLY_SPEC): Define to empty string if not already defined. | |
5818 | (LINK_COMMAND_SPEC): Add LIBASAN_EARLY_SPEC for -fsanitize=address, | |
5819 | before %o. | |
5820 | * config/gnu-user.h (LIBASAN_EARLY_SPEC): Define. | |
5821 | ||
32887460 JJ |
5822 | PR c++/55742 |
5823 | * config/i386/i386.c (ix86_valid_target_attribute_inner_p): Diagnose | |
5824 | invalid args instead of ICEing on it. | |
5825 | (ix86_valid_target_attribute_tree): Return error_mark_node if | |
5826 | ix86_valid_target_attribute_inner_p failed. | |
5827 | (ix86_valid_target_attribute_p): Return false only if | |
5828 | ix86_valid_target_attribute_tree returned error_mark_node. Allow | |
5829 | target("default") attribute. | |
5830 | (sorted_attr_string): Change argument from const char * to tree, | |
5831 | merge in all target attribute arguments rather than just one. | |
5832 | Formatting fix. Use XNEWVEC instead of xmalloc and XDELETEVEC | |
5833 | instead of free. Avoid using strcat. | |
5834 | (ix86_mangle_function_version_assembler_name): Mangle | |
5835 | target("default") as if no target attribute is present. Adjust | |
5836 | sorted_attr_string caller. Avoid leaking memory. Use XNEWVEC | |
5837 | instead of xmalloc and XDELETEVEC instead of free. | |
5838 | (ix86_function_versions): Don't return true if one of the decls | |
5839 | doesn't have target attribute. If they don't and one of the decls | |
5840 | is DECL_FUNCTION_VERSIONED, report an error. Adjust | |
5841 | sorted_attr_string caller. Use XDELETEVEC instead of free. | |
5842 | (ix86_supports_function_versions): Remove. | |
5843 | (make_name): Fix up formatting. | |
5844 | (make_dispatcher_decl): Remove resolver_name and its initialization. | |
5845 | Avoid leaking memory. | |
5846 | (is_function_default_version): Return true if there is | |
5847 | target("default") attribute rather than no target attribute at all. | |
5848 | (make_resolver_func): Avoid leaking memory. | |
5849 | (ix86_generate_version_dispatcher_body): Likewise. | |
5850 | (TARGET_OPTION_SUPPORTS_FUNCTION_VERSIONS): Remove. | |
5851 | * target.def (supports_function_versions): Remove. | |
5852 | * doc/tm.texi.in (SUPPORTS_FUNCTION_VERSIONS): Remove. | |
5853 | * doc/tm.texi: Regenerated. | |
5854 | ||
73cca0cc VM |
5855 | 2013-01-30 Vladimir Makarov <vmakarov@redhat.com> |
5856 | ||
5857 | PR rtl-optimization/56144 | |
5858 | * lra-constraints.c (get_reload_reg): Don't reuse reload pseudo | |
5859 | for values with side effects. | |
5860 | ||
11452e7b RB |
5861 | 2013-01-30 Richard Biener <rguenther@suse.de> |
5862 | ||
5863 | * sparseset.h (sparseset_bit_p): Use gcc_checking_assert. | |
5864 | (sparseset_pop): Likewise. | |
5865 | * cfganal.c (compute_idf): Likewise. Increase work-stack size | |
5866 | to be able to use quick_push in the worker loop. | |
5867 | ||
01cb1ef5 MP |
5868 | 2013-01-30 Marek Polacek <polacek@redhat.com> |
5869 | ||
5870 | * cfgcleanup.c (cleanup_cfg): Don't mark affected BBs. | |
5871 | ||
e892936e RB |
5872 | 2013-01-30 Richard Biener <rguenther@suse.de> |
5873 | ||
5874 | PR lto/56147 | |
6edc3e32 | 5875 | * lto-symtab.c (lto_symtab_merge_decls_1): Guard DECL_BUILT_IN check. |
e892936e | 5876 | |
cc06c01d GJL |
5877 | 2013-01-30 Georg-Johann Lay <avr@gjlay.de> |
5878 | ||
5879 | PR tree-optimization/56064 | |
5880 | * fixed-value.c (fixed_from_double_int): New function. | |
5881 | * fixed-value.h (fixed_from_double_int): New prototype. | |
5882 | (const_fixed_from_double_int): New static inline function. | |
5883 | * fold-const.c (native_interpret_fixed): New static function. | |
5884 | (native_interpret_expr) <FIXED_POINT_TYPE>: Use it. | |
5885 | (can_native_interpret_type_p) <FIXED_POINT_TYPE>: Return true. | |
5886 | (native_encode_fixed): New static function. | |
5887 | (native_encode_expr) <FIXED_CST>: Use it. | |
5888 | (native_interpret_int): Move double_int worker code to... | |
5889 | * double-int.c (double_int::from_buffer): ...this new static method. | |
5890 | * double-int.h (double_int::from_buffer): Prototype it. | |
5891 | ||
d394a308 RB |
5892 | 2013-01-30 Richard Biener <rguenther@suse.de> |
5893 | ||
5894 | * tree-ssa-structalias.c (final_solutions, final_solutions_obstack): | |
5895 | New pointer-map and obstack. | |
5896 | (init_alias_vars): Allocate pointer-map and obstack. | |
5897 | (delete_points_to_sets): Free them. | |
5898 | (find_what_var_points_to): Cache result. | |
5899 | (find_what_p_points_to): Adjust for changed interface of | |
5900 | find_what_var_points_to. | |
5901 | (compute_points_to_sets): Likewise. | |
5902 | (ipa_pta_execute): Likewise. | |
5903 | ||
20804d96 RO |
5904 | 2013-01-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
5905 | ||
5906 | * configure.ac (HAVE_AS_SPARC_NOBITS): New test. | |
5907 | * configure: Regenerate. | |
5908 | * config.in: Regenerate. | |
5909 | * config/sparc/sparc.c (sparc_solaris_elf_asm_named_section): Emit | |
5910 | #nobits/#progbits if supported. | |
5911 | ||
a7ad88a2 OE |
5912 | 2013-01-29 Oleg Endo <olegendo@gcc.gnu.org> |
5913 | ||
5914 | PR target/56121 | |
5915 | * config/sh/sh.md (bclr_m2a, bset_m2a, bst_m2a, bld_m2a, bldsign_m2a, | |
5916 | bld_reg, *bld_regqi, band_m2a, bandreg_m2a, bor_m2a, borreg_m2a, | |
5917 | bxor_m2a, bxorreg_m2a): Add satisfies_constraint_K03 condition. | |
5918 | ||
7af79f92 GY |
5919 | 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com> |
5920 | ||
91bfca59 OE |
5921 | * config/arm/cortex-a7.md (cortex_a7_neon, cortex_a7_all): Remove. |
5922 | (cortex_a7_idiv): Use cortex_a7_both instead of cortex_a7_all. | |
7af79f92 | 5923 | |
753bcf7b GY |
5924 | 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com> |
5925 | ||
91bfca59 OE |
5926 | * config/arm/arm.c (cortexa7_younger): Return true for TYPE_CALL. |
5927 | * config/arm/cortex-a7.md (cortex_a7_call): Update required units. | |
753bcf7b | 5928 | |
8cbc2ea8 GY |
5929 | 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com> |
5930 | ||
91bfca59 OE |
5931 | * config/arm/arm-protos.h (arm_mac_accumulator_is_result): New |
5932 | declaration. | |
5933 | * config/arm/arm.c (arm_mac_accumulator_is_result): New function. | |
5934 | * config/arm/cortex-a7.md: New bypasses using | |
5935 | arm_mac_accumulator_is_result. | |
8cbc2ea8 | 5936 | |
697a3325 GY |
5937 | 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com> |
5938 | ||
91bfca59 | 5939 | * config/arm/cortex-a7.md (cortex_a7_neon_mul): New reservation. |
697a3325 | 5940 | (cortex_a7_neon_mla): Likewise. |
91bfca59 OE |
5941 | (cortex_a7_fpfmad): New reservation. |
5942 | (cortex_a7_fpmacs): Use ffmas and update required units. | |
5943 | (cortex_a7_fpmuld): Update required units and latency. | |
5944 | (cortex_a7_fpmacd): Likewise. | |
5945 | (cortex_a7_fdivs, cortex_a7_fdivd): Likewise. | |
5946 | (cortex_a7_neon). Likewise. | |
5947 | (bypass) Update participating units. | |
697a3325 | 5948 | |
29637783 GY |
5949 | 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com> |
5950 | ||
91bfca59 OE |
5951 | * config/arm/arm.md (type): Add ffmas and ffmad to "type" attribute. |
5952 | * config/arm/vfp.md (fma,fmsub,fnmsub,fnmadd): Change type | |
5953 | from fmac to ffma. | |
5954 | * config/arm/vfp11.md (vfp_farith): Use ffmas. | |
5955 | (vfp_fmul): Use ffmad. | |
5956 | * config/arm/cortex-r4f.md (cortex_r4_fmacs): Use ffmas. | |
5957 | (cortex_r4_fmacd): Use ffmad. | |
5958 | * config/arm/cortex-m4-fpu.md (cortex_m4_fmacs): Use ffmas. | |
5959 | * config/arm/cortex-a9.md (cortex_a9_fmacs): Use ffmas. | |
5960 | (cortex_a9_fmacd): Use ffmad. | |
5961 | * config/arm/cortex-a8-neon.md (cortex_a8_vfp_macs): Use ffmas. | |
5962 | (cortex_a8_vfp_macd): Use ffmad. | |
5963 | * config/arm/cortex-a5.md (cortex_a5_fpmacs): Use ffmas. | |
5964 | (cortex_a5_fpmacd): Use ffmad. | |
5965 | * config/arm/cortex-a15-neon.md (cortex_a15_vfp_macs) Use ffmas. | |
5966 | (cortex_a15_vfp_macd): Use ffmad. | |
5967 | * config/arm/arm1020e.md (v10_fmul): Use ffmas and ffmad. | |
29637783 | 5968 | |
2ee8a2d5 JM |
5969 | 2013-01-29 Jason Merrill <jason@redhat.com> |
5970 | ||
5971 | PR libstdc++/54314 | |
5972 | * varasm.c (default_assemble_visibility): Don't warn about | |
5973 | visibility on artificial decls. | |
5974 | ||
78d087bc RB |
5975 | 2013-01-29 Richard Biener <rguenther@suse.de> |
5976 | ||
5977 | PR tree-optimization/56113 | |
5978 | * tree-ssa-structalias.c (equiv_class_lookup): Also return | |
5979 | the bitmap leader. | |
5980 | (label_visit): Free duplicate bitmaps and record the leader instead. | |
5981 | (perform_var_substitution): Adjust. | |
5982 | ||
83ba4d6f RB |
5983 | 2013-01-29 Richard Biener <rguenther@suse.de> |
5984 | ||
5985 | PR tree-optimization/55270 | |
5986 | * tree-ssa-dom.c (eliminate_degenerate_phis): If we changed | |
5987 | the CFG, schedule loops for fixup. | |
5988 | ||
66dfe13f NC |
5989 | 2013-01-29 Nick Clifton <nickc@redhat.com> |
5990 | ||
5991 | * config/rl78/rl78.c (rl78_regno_mode_code_ok_for_base_p): Allow | |
5992 | SP_REG. | |
5993 | ||
5a579c3b LE |
5994 | 2013-01-28 Leif Ekblad <leif@rdos.net> |
5995 | ||
5996 | * config.gcc (i[34567]86-*-rdos*, x86_64-*-rdos*): New targets. | |
5997 | * config/i386/i386.h (TARGET_RDOS): New macro. | |
5998 | (DEFAULT_LARGE_SECTION_THRESHOLD): New macro. | |
5999 | * config/i386/i386.c (ix86_option_override_internal): For 64bit | |
6000 | TARGET_RDOS, set ix86_cmodel to CM_MEDIUM_PIC and flag_pic to 1. | |
6001 | * config/i386/i386.opt (mlarge-data-threshold): Initialize to | |
6002 | DEFAULT_LARGE_SECTION_THRESHOLD. | |
6003 | * config/i386/i386.md (R14_REG, R15_REG): New constants. | |
6004 | * config/i386/rdos.h: New file. | |
6005 | * config/i386/rdos64.h: New file. | |
6006 | ||
51e44392 BS |
6007 | 2013-01-28 Bernd Schmidt <bernds@codesourcery.com> |
6008 | ||
6009 | PR other/54814 | |
6010 | * reload.c (find_valid_class_1): Use in_hard_reg_set_p instead of | |
6011 | TEST_HARD_REG_BIT. | |
6012 | ||
db1fb332 JJ |
6013 | 2013-01-28 Jakub Jelinek <jakub@redhat.com> |
6014 | ||
6015 | PR rtl-optimization/56117 | |
6016 | * sched-deps.c (sched_analyze_2) <case PREFETCH>: For use_cselib | |
6017 | call cselib_lookup_from_insn on the MEM before calling | |
6018 | add_insn_mem_dependence. | |
6019 | ||
16917761 RB |
6020 | 2013-01-28 Richard Biener <rguenther@suse.de> |
6021 | ||
6022 | * tree-inline.c (remap_gimple_stmt): Do not assing a BLOCK | |
6023 | to a stmt that didn't have one. | |
6024 | (copy_phis_for_bb): Likewise for PHI arguments. | |
6025 | (copy_debug_stmt): Likewise for debug stmts. | |
6026 | ||
b9fc0497 RB |
6027 | 2013-01-28 Richard Biener <rguenther@suse.de> |
6028 | ||
6029 | PR tree-optimization/56034 | |
6edc3e32 | 6030 | * tree-loop-distribution.c (enum partition_kind): Add PKIND_REDUCTION. |
b9fc0497 RB |
6031 | (partition_builtin_p): Adjust. |
6032 | (generate_code_for_partition): Handle PKIND_REDUCTION. Assert | |
6033 | it is the last partition. | |
6034 | (rdg_flag_uses): Check SSA_NAME_IS_DEFAULT_DEF before looking | |
6035 | up the vertex for the definition. | |
6036 | (classify_partition): Classify whether a partition is a | |
6037 | PKIND_REDUCTION, thus has uses outside of the loop. | |
6038 | (ldist_gen): Inherit PKIND_REDUCTION when merging partitions. | |
6039 | Merge all PKIND_REDUCTION partitions into the last partition. | |
6040 | (tree_loop_distribution): Seed partitions from reductions as well. | |
6041 | ||
aa710d25 JJ |
6042 | 2013-01-28 Jakub Jelinek <jakub@redhat.com> |
6043 | ||
0bfbca58 JJ |
6044 | PR tree-optimization/56125 |
6045 | * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Don't optimize | |
6046 | pow(x,c) into sqrt(x) * powi(x, n/2) or | |
6047 | 1.0 / (sqrt(x) * powi(x, abs(n/2))) if c is an integer or when | |
6048 | optimizing for size. | |
6049 | Don't optimize pow(x,c) into powi(x, n/3) * powi(cbrt(x), n%3) or | |
6050 | 1.0 / (powi(x, abs(n)/3) * powi(cbrt(x), abs(n)%3)) if 2c is an | |
6051 | integer. | |
6052 | ||
aa710d25 JJ |
6053 | PR tree-optimization/56094 |
6054 | * gimplify.c (force_gimple_operand_1): Temporarily set input_location | |
6055 | to UNKNOWN_LOCATION while gimplifying expr. | |
6056 | ||
77dc5297 UB |
6057 | 2013-01-27 Uros Bizjak <ubizjak@gmail.com> |
6058 | ||
6059 | PR target/56114 | |
6060 | * config/i386/i386.md (*movabs<mode>_1): Add square brackets around | |
6061 | operand 0 in movabs insn template for -masm=intel asm alternative. | |
6062 | (*movabs<mode>_2): Ditto for operand 1. | |
6063 | ||
0bfbca58 | 6064 | 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com> |
fbf0cf90 DH |
6065 | |
6066 | PR target/54663 | |
6067 | * config.gcc (microblaze*-linux*): Add tmake_file to allow building | |
6068 | of microblaze-c.o | |
6069 | ||
0bfbca58 | 6070 | 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
6f14eef2 EI |
6071 | |
6072 | * config.gcc (microblaze*-*-*): Rename microblaze*-*-elf, update | |
6073 | tm_file. | |
6074 | ||
0bfbca58 | 6075 | 2013-01-25 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
706b2314 N |
6076 | |
6077 | * config/aarch64/aarch64.c (TARGET_FIXED_CONDITION_CODE_REGS): | |
6078 | Undef to avoid warning. | |
6079 | ||
478f60f9 MH |
6080 | 2013-01-25 Michael Haubenwallner <michael.haubenwallner@salomon.at> |
6081 | ||
6082 | * configure.ac (gcc_cv_ld_static_dynamic): Define for AIX native ld. | |
6083 | * configure: Regenerate. | |
6084 | ||
d7fa6ee2 JJ |
6085 | 2013-01-25 Jakub Jelinek <jakub@redhat.com> |
6086 | ||
6087 | PR tree-optimization/56098 | |
6088 | * tree-ssa-phiopt.c (nt_init_block): Don't call add_or_mark_expr | |
6089 | for stmts with volatile ops. | |
6090 | (cond_store_replacement): Don't optimize if assign has volatile ops. | |
6091 | (cond_if_else_store_replacement_1): Don't optimize if either | |
6092 | then_assign or else_assign have volatile ops. | |
6093 | (hoist_adjacent_loads): Don't optimize if either def1 or def2 have | |
6094 | volatile ops. | |
6095 | ||
f8fe87bd GJL |
6096 | 2013-01-25 Georg-Johann Lay <avr@gjlay.de> |
6097 | ||
6098 | * doc/invoke.texi (AVR Built-in Macros): Document __XMEGA__. | |
6099 | ||
28398d0d GJL |
6100 | 2013-01-25 Georg-Johann Lay <avr@gjlay.de> |
6101 | ||
6102 | * doc/extend.texi (Example of asm with clobbered asm reg): Fix | |
6103 | missing ':' in asm example. | |
6104 | ||
b7d7d917 TB |
6105 | 2013-01-25 Tejas Belagod <tejas.belagod@arm.com> |
6106 | ||
6107 | * config/aarch64/aarch64-simd-builtins.def: Separate sq<r>dmulh_lane | |
6108 | entries into lane and laneq entries. | |
77dc5297 UB |
6109 | * config/aarch64/aarch64-simd.md (aarch64_sq<r>dmulh_lane<mode>): |
6110 | Remove AdvSIMD scalar modes. | |
b7d7d917 TB |
6111 | (aarch64_sq<r>dmulh_laneq<mode>): New. |
6112 | (aarch64_sq<r>dmulh_lane<mode>): New RTL pattern for Scalar AdvSIMD | |
6113 | modes. | |
6114 | * config/aarch64/arm_neon.h: Fix all the vq<r>dmulh_lane* intrinsics' | |
6115 | builtin implementations to relfect changes in RTL in aarch64-simd.md. | |
6116 | * config/aarch64/iterators.md (VCOND): New. | |
6117 | (VCONQ): New. | |
6118 | ||
556f9906 GJL |
6119 | 2013-01-25 Georg-Johann Lay <avr@gjlay.de> |
6120 | ||
6121 | PR target/54222 | |
6122 | * config/avr/builtins.def (DEF_BUILTIN): Add LIBNAME argument. | |
6123 | Add NULL LIBNAME argument to existing definitions. | |
6124 | (ABSHR, ABSR, ABSLR, ABSLLR, ABSHK, ABSK, ABSLK, ABSLLK): New. | |
6125 | * config/avr/avr-c.c (DEF_BUILTIN): Add LIBNAME argument. | |
6126 | * config/avr/avr.c (DEF_BUILTIN): Same. | |
6127 | (avr_init_builtins): Pass down LIBNAME to add_builtin_function. | |
6128 | (avr_expand_builtin): Expand to a vanilla call if a libgcc | |
6129 | implementation is available (DECL_ASSEMBLER_NAME is set). | |
6130 | (avr_fold_absfx): New static function. | |
6131 | (avr_fold_builtin): Use it to handle: AVR_BUILTIN_ABSHR, | |
6132 | AVR_BUILTIN_ABSR, AVR_BUILTIN_ABSLR, AVR_BUILTIN_ABSLLR, | |
6133 | AVR_BUILTIN_ABSHK, AVR_BUILTIN_ABSK, AVR_BUILTIN_ABSLK, | |
6134 | AVR_BUILTIN_ABSLLK. | |
6135 | * config/avr/stdfix.h (abshr, absr, abslr, absllr) | |
6136 | (abshk, absk, abslk, absllk): Provide as static inline functions. | |
6137 | ||
1f546bbb MP |
6138 | 2013-01-25 Marek Polacek <polacek@redhat.com> |
6139 | ||
6140 | PR tree-optimization/56035 | |
6141 | * cfgloopmanip.c (fix_loop_structure): Remove redundant condition. | |
6142 | ||
7e184bd7 UB |
6143 | 2012-01-24 Uros Bizjak <ubizjak@gmail.com> |
6144 | ||
6145 | * config/i386/i386.md (*movti_internal_rex64): Add (o,e) alternative. | |
6146 | (*movtf_internal_rex64): Add (!o,C) alternative | |
6147 | (*movxf_internal_rex64): Ditto. | |
6148 | (*movdf_internal_rex64): Add (?r,C) and (?m,C) alternatives. | |
6149 | ||
f5ba49ac SM |
6150 | 2013-01-24 Shenghou Ma <minux.ma@gmail.com> |
6151 | ||
6152 | * doc/invoke.texi: fix typo. | |
6153 | * doc/objc.texi: fix typo. | |
6154 | ||
a6343728 RS |
6155 | 2013-01-24 Richard Sandiford <rdsandiford@googlemail.com> |
6156 | ||
6157 | * config/mips/mips.md (*and<mode>3_mips16): Use the "W" constraint | |
6158 | for the first two alternatives. | |
6159 | ||
cd030c07 DN |
6160 | 2013-01-24 Diego Novillo <dnovillo@google.com> |
6161 | ||
77dc5297 | 6162 | * Makefile.in (GGC): Remove. Replace all instances with ggc-page.o. |
cd030c07 DN |
6163 | (ggc-zone.o): Remove. |
6164 | * configure.ac: Remove option --with-gc. | |
6165 | * configure: Re-generate. | |
6166 | * doc/install.texi: Remove documentation for --with-gc. | |
6167 | * gengtype.c (write_enum_defn): Remove. Update all users. | |
6168 | (write_Types_process_field): Remove generation of gt_e_* argument. | |
6169 | (output_type_enum): Remove. Update all users. | |
6170 | (write_enum_defn): Remove. Update all users. | |
6171 | (enum alloc_zone): Remove. Update all users. | |
77dc5297 | 6172 | (write_splay_tree_allocator_def): Remove generation of gt_e_* argument. |
cd030c07 DN |
6173 | * ggc-common.c (ggc_splay_alloc): Remove first argument. |
6174 | Update all callers. | |
6175 | (struct ptr_data): Remove field TYPE. Update all users. | |
77dc5297 | 6176 | (gt_pch_note_object): Remove argument TYPE. Update all users. |
cd030c07 DN |
6177 | * ggc-internal.h (ggc_pch_alloc_object): Remove last argument. |
6178 | Update all users. | |
aaf1e810 | 6179 | * ggc-none.c (ggc_alloc_typed_stat): Remove. |
cd030c07 DN |
6180 | (struct alloc_zone): Remove. |
6181 | (ggc_internal_alloc_zone_stat): Remove. | |
6182 | (ggc_internal_cleared_alloc_zone_stat): Remove. | |
6183 | * ggc-page.c (ggc_alloc_typed_stat): Remove. | |
77dc5297 UB |
6184 | (ggc_pch_count_object): Remove last argument. Update all users. |
6185 | (ggc_pch_alloc_object): Remove last argument. Update all users. | |
cd030c07 DN |
6186 | (struct alloc_zone): Remove. |
6187 | * ggc-zone.c: Remove. | |
77dc5297 | 6188 | * ggc.h (gt_pch_note_object): Remove last argument. Update all users. |
cd030c07 DN |
6189 | (struct alloc_zone): Remove. |
6190 | (ggc_alloc_typed_stat): Remove. | |
6191 | (ggc_alloc_typed): Remove. | |
6192 | (ggc_splay_alloc): Remove first argument. | |
6193 | (rtl_zone): Remove. Update all users. | |
6194 | (tree_zone): Remove. Update all users. | |
6195 | (tree_id_zone): Remove. Update all users. | |
6196 | (ggc_internal_zone_alloc_stat): Remove. Update all users. | |
77dc5297 | 6197 | (ggc_internal_zone_cleared_alloc_stat): Remove. Update all users. |
cd030c07 | 6198 | (ggc_internal_zone_vec_alloc_stat): Remove. Update all users. |
77dc5297 | 6199 | * tree-ssanames.c: Remove references to zone allocator in comments. |
cd030c07 | 6200 | |
a861ffa4 GJL |
6201 | 2013-01-24 Georg-Johann Lay <avr@gjlay.de> |
6202 | ||
6203 | * config/avr/avr.c (avr_out_fract): Make register numbers that | |
6204 | might be outside of source operand signed. | |
6205 | ||
593c0ddd UB |
6206 | 2013-01-24 Uros Bizjak <ubizjak@gmail.com> |
6207 | ||
6208 | * config/i386/constraints.md (Yf): New constraint. | |
6209 | * config/i386/i386.md (*movdf_internal_rex64): Use Yf*f instead | |
6210 | of f constraint to conditionaly disable x87 register preferences. | |
6211 | (*movdf_internal): Ditto. | |
6212 | (*movsf_internal): Ditto. | |
6213 | ||
e86c0101 SB |
6214 | 2013-01-24 Steven Bosscher <steven@gcc.gnu.org> |
6215 | ||
6216 | PR inline-asm/55934 | |
6217 | * lra-assigns.c (assign_by_spills): Throw away the pattern of asms | |
6218 | that have operands with impossible constraints. | |
6219 | Add a FIXME for a speed-up opportunity. | |
6220 | * lra-constraints.c (process_alt_operands): Verify that a class | |
6221 | selected from constraints on asms is valid for the operand mode. | |
6222 | (curr_insn_transform): Remove incorrect comment. | |
6223 | ||
f6fee35f DE |
6224 | 2013-01-23 David Edelsohn <dje.gcc@gmail.com> |
6225 | ||
6226 | * config/rs6000/rs6000.c (rs6000_delegitimize_address): Check that | |
6227 | TOC operand is a valid symbol ref in the constant pool. | |
6228 | ||
6229 | 2013-01-23 Edgar E. Iglesias <edgar.iglesias@gmail.com> | |
c7729184 | 6230 | |
aaf1e810 | 6231 | * config/microblaze/linux.h: Add TARGET_OS_CPP_BUILTINS |
c7729184 | 6232 | |
dc62d7d1 GJL |
6233 | 2013-01-23 Georg-Johann Lay <avr@gjlay.de> |
6234 | ||
6235 | PR target/54222 | |
6236 | * config/avr/stdfix.h: New file. | |
6237 | * t-avr (stdfix-gcc.h): New rule to build it. | |
6238 | (EXTRA_HEADERS): Set it to install stdfix.h, stdfix-gcc.h. | |
6239 | ||
2660d12d KS |
6240 | 2013-01-23 Kostya Serebryany <kcc@google.com> |
6241 | ||
77dc5297 UB |
6242 | * config/darwin.h: remove dependency on |
6243 | CoreFoundation (asan on Mac OS). | |
2660d12d | 6244 | |
a70418fc JJ |
6245 | 2013-01-23 Jakub Jelinek <jakub@redhat.com> |
6246 | ||
6247 | PR target/49069 | |
6248 | * config/arm/arm.md (cbranchdi4, cstoredi4): Use s_register_operand | |
6249 | instead of cmpdi_operand for first comparison operand. | |
6250 | Don't assert that comparison operands aren't both constants. | |
6251 | ||
47876a2a JW |
6252 | 2013-01-22 Jonathan Wakely <jwakely.gcc@gmail.com> |
6253 | ||
6254 | * doc/install.texi (Downloading the Source): Update references to | |
6255 | downloading separate components. | |
6256 | ||
6257 | 2013-01-22 Jonathan Wakely <jwakely.gcc@gmail.com> | |
4ebd56a5 JW |
6258 | |
6259 | * doc/extend.texi (__int128): Improve grammar. | |
6260 | ||
47876a2a | 6261 | 2013-01-22 Uros Bizjak <ubizjak@gmail.com> |
32fc5b8a UB |
6262 | |
6263 | PR target/56028 | |
6264 | * config/i386/i386.md (*movti_internal_rex64): Change (o,riF) | |
6265 | alternative to (o,r). | |
6266 | (*movdi_internal_rex64): Remove (!o,n) alternative. | |
6267 | (DImode immediate->memory splitter): Remove. | |
6268 | (DImode immediate->memory peephole2): Remove. | |
6269 | (movtf): Enable for TARGET_64BIT || TARGET_SSE. | |
6270 | (*movtf_internal_rex64): Rename from *movtf_internal. Change (!o,F*r) | |
6271 | alternative to (!o,*r). | |
6272 | (*movtf_internal_sse): New pattern. | |
6273 | (*movxf_internal_rex64): New pattern. | |
6274 | (*movxf_internal): Disable for TARGET_64BIT. | |
6275 | (*movdf_internal_rex64): Remove (!o,F) alternative. | |
6276 | ||
3a984f10 JJ |
6277 | 2013-01-22 Jakub Jelinek <jakub@redhat.com> |
6278 | ||
502498d5 JJ |
6279 | PR middle-end/56074 |
6280 | * dumpfile.c (dump_loc): Only print loc if LOCATION_LOCUS (loc) | |
6281 | isn't UNKNOWN_LOCATION nor BUILTINS_LOCATION. | |
6282 | * tree-vect-loop-manip.c (find_loop_location): Also ignore | |
6283 | stmt locations where LOCATION_LOCUS of the stmt location is | |
6284 | UNKNOWN_LOCATION or BUILTINS_LOCATION. | |
6285 | ||
3a984f10 JJ |
6286 | PR target/55686 |
6287 | * config/i386/i386.md (UNSPEC_STOS): New. | |
6288 | (strset_singleop, *strsetdi_rex_1, *strsetsi_1, *strsethi_1, | |
6289 | *strsetqi_1): Add UNSPEC_STOS. | |
6290 | ||
fa817f7f PC |
6291 | 2013-01-22 Paolo Carlini <paolo.carlini@oracle.com> |
6292 | ||
6293 | PR c++/56067 | |
6294 | * doc/invoke.texi: Remove left over -Wsynth example. | |
6295 | ||
8f498c1b JJ |
6296 | 2013-01-21 Jakub Jelinek <jakub@redhat.com> |
6297 | ||
6298 | PR tree-optimization/56051 | |
6299 | * fold-const.c (fold_binary_loc): Don't fold | |
6300 | X < (cast) (1 << Y) into (X >> Y) != 0 if cast is either | |
6301 | a narrowing conversion, or widening conversion from signed | |
6302 | to unsigned. | |
6303 | ||
47876a2a | 6304 | 2013-01-21 Uros Bizjak <ubizjak@gmail.com> |
35d59da7 UB |
6305 | |
6306 | PR rtl-optimization/56023 | |
6307 | * haifa-sched.c (fix_inter_tick): Do not update ticks of instructions, | |
6308 | dependent on debug instruction. | |
6309 | ||
5b9db1bc MJ |
6310 | 2013-01-21 Martin Jambor <mjambor@suse.cz> |
6311 | ||
6312 | PR middle-end/56022 | |
6313 | * function.c (allocate_struct_function): Call | |
6314 | invoke_set_current_function_hook earlier. | |
6315 | ||
e8bb7d68 JJ |
6316 | 2013-01-21 Jakub Jelinek <jakub@redhat.com> |
6317 | ||
6318 | * reload1.c (init_reload): Only initialize reload_obstack | |
6319 | during the first call. | |
6320 | ||
616a4e32 MP |
6321 | 2013-01-21 Marek Polacek <polacek@redhat.com> |
6322 | ||
6323 | * cfgloop.c (verify_loop_structure): Fix up grammar. | |
6324 | ||
4401981b YHH |
6325 | 2013-01-21 Yi-Hsiu Hsu <ahsu@marvell.com> |
6326 | ||
6327 | * config/arm/marvell-pj4.md (pj4_shift_conds, pj4_alu_shift, | |
6328 | pj4_alu_shift_conds, pj4_shift): Handle simple_alu_shift. | |
6329 | ||
8e87740b RR |
6330 | 2013-01-21 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
6331 | ||
6332 | PR target/56058 | |
6333 | * config/arm/marvell-pj4.md: Update copyright year. | |
6334 | Fix up use of alu to alu_reg and simple_alu_imm. | |
6335 | ||
47876a2a | 6336 | 2013-01-21 Uros Bizjak <ubizjak@gmail.com> |
1f6bc337 UB |
6337 | |
6338 | * config/i386/i386.md (enabled): Do not disable fma4 for TARGET_FMA. | |
6339 | ||
89d56d79 VM |
6340 | 2013-01-20 Vladimir Makarov <vmakarov@redhat.com> |
6341 | ||
6342 | PR target/55433 | |
6343 | * lra-constraints.c (curr_insn_transform): Don't reuse original | |
1f6bc337 | 6344 | insn for secondary memory move when memory mode should be different. |
89d56d79 | 6345 | |
fe603553 JDA |
6346 | 2013-01-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
6347 | ||
6348 | * config/pa/pa.md (atomic_loaddi, atomic_loaddi_1, atomic_storedi, | |
6349 | atomic_storedi_1): New patterns. | |
6350 | ||
01284895 VK |
6351 | 2013-01-20 Venkataramanan Kumar <venkataramanan.kumar@amd.com> |
6352 | ||
6353 | btver2 pipeline descriptions. | |
6354 | * config/i386/i386.c: Enable CPU_BTVER2 to use btver2 pipeline | |
6355 | descriptions. | |
6356 | * config/i386/i386.md (btver2_decode): New type attributes. | |
1f6bc337 | 6357 | * config/i386/sse.md (btver2_decode, btver2_sse_attr): New |
01284895 VK |
6358 | type attributes. |
6359 | * config/i386/btver2.md: New file describing btver2 pipelines. | |
6360 | ||
5630e3e1 JL |
6361 | 2013-01-19 Andrew Pinski <apinski@cavium.com> |
6362 | ||
6363 | PR tree-optimization/52631 | |
6364 | * tree-ssa-sccvn (visit_use): Before looking up the original | |
6365 | statement, try looking up the simplified expression. | |
6366 | ||
650ae806 AG |
6367 | 2013-01-19 Anthony Green <green@moxielogic.com> |
6368 | ||
6369 | * config/moxie/moxie.c (moxie_expand_prologue): Set | |
6370 | current_function_static_stack_size. | |
6371 | ||
e300ec2d JJ |
6372 | 2013-01-18 Jakub Jelinek <jakub@redhat.com> |
6373 | ||
6374 | PR tree-optimization/56029 | |
6375 | * tree-phinodes.c (reserve_phi_args_for_new_edge): Set | |
6376 | gimple_phi_arg_location for the new arg to UNKNOWN_LOCATION. | |
6377 | ||
a3d7af04 SS |
6378 | 2013-01-18 Sharad Singhai <singhai@google.com> |
6379 | ||
6380 | PR tree-optimization/55995 | |
6381 | * dumpfile.c (dump_loc): Print location only if available. | |
6382 | * tree-vectorizer.c (increase_alignment): Intialize vect_location. | |
6383 | ||
66aa7879 VM |
6384 | 2013-01-18 Vladimir Makarov <vmakarov@redhat.com> |
6385 | ||
6386 | PR target/55433 | |
6387 | * lra-constraints.c (curr_insn_transform): Reuse original insn for | |
6388 | secondary memory move. | |
6389 | (inherit_reload_reg): Use rclass instead of cl for | |
6390 | check_secondary_memory_needed_p. | |
6391 | ||
3f0fee7b JJ |
6392 | 2013-01-18 Jakub Jelinek <jakub@redhat.com> |
6393 | ||
6394 | PR middle-end/56015 | |
6395 | * expr.c (expand_expr_real_2) <case COMPLEX_EXPR>: Handle | |
1f6bc337 | 6396 | the case where writing real complex part of target modifies op1. |
3f0fee7b | 6397 | |
70c67693 JG |
6398 | 2013-01-18 James Greenhalgh <james.greenhalgh@arm.com> |
6399 | ||
6400 | * config/aarch64/aarch64-simd.md | |
6401 | (aarch64_vcond_internal<mode>): Handle unordered cases. | |
6402 | * config/aarch64/iterators.md (v_cmp_result): New. | |
6403 | ||
df8de9b3 YHH |
6404 | 2013-01-18 Yi-Hsiu Hsu <ahsu@marvell.com> |
6405 | Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> | |
6406 | ||
6407 | * config/arm/marvell-pj4.md: New file. | |
6408 | * config/arm/arm.c (arm_issue_rate): Add marvell_pj4. | |
6409 | * config/arm/arm.md (generic_sched): Add marvell_pj4. | |
6410 | (generic_vfp): Likewise. | |
6411 | * config/arm/arm-cores.def: Add marvell-pj4. | |
6412 | * config/arm/arm-tune.md: Regenerate. | |
6413 | * config/arm/arm-tables.opt: Regenerate. | |
6414 | * config/arm/bpabi.h (BE8_LINK_SPEC): Add marvell_pj4. | |
6415 | * doc/invoke.texi: Document marvell-pj4. | |
6416 | ||
be30c356 TB |
6417 | 2013-01-18 Tejas Belagod <tejas.belagod@arm.com> |
6418 | ||
6419 | * config/aarch64/arm_neon.h: Map scalar types to standard types. | |
6420 | ||
0bfbca58 | 6421 | 2013-01-18 Alexandre Oliva <aoliva@redhat.com> |
af6236c1 AO |
6422 | |
6423 | PR debug/54114 | |
6424 | PR debug/54402 | |
6425 | PR debug/49888 | |
6426 | * var-tracking.c (negative_power_of_two_p): New. | |
6427 | (global_get_addr_cache, local_get_addr_cache): New. | |
6428 | (get_addr_from_global_cache, get_addr_from_local_cache): New. | |
6429 | (vt_canonicalize_addr): Rewrite using the above. Adjust the | |
6430 | heading comment. | |
6431 | (vt_stack_offset_p): Remove. | |
6432 | (vt_canon_true_dep): Always canonicalize loc's address. | |
6433 | (clobber_overlapping_mems): Make sure we have a MEM. | |
6434 | (local_get_addr_clear_given_value): New. | |
6435 | (val_reset): Clear local cached entries. | |
6436 | (compute_bb_dataflow): Create and release the local cache. | |
6437 | Disable duplicate MEMs clobbering. | |
6438 | (emit_notes_in_bb): Clobber MEMs likewise. | |
6439 | (vt_emit_notes): Create and release the local cache. | |
6440 | (vt_initialize, vt_finalize): Create and release the global | |
6441 | cache, respectively. | |
1f6bc337 | 6442 | * alias.c (rtx_equal_for_memref_p): Compare operands of ENTRY_VALUEs. |
af6236c1 | 6443 | |
0bfbca58 | 6444 | 2013-01-18 Alexandre Oliva <aoliva@redhat.com> |
7ff37ffa AO |
6445 | |
6446 | PR libmudflap/53359 | |
6447 | * tree-mudflap.c (mudflap_finish_file): Skip deferred decls | |
6448 | not found in the symtab. | |
6449 | ||
0bfbca58 | 6450 | 2013-01-18 Alexandre Oliva <aoliva@redhat.com> |
3aa03517 | 6451 | |
c350ba53 | 6452 | PR debug/56006 |
3aa03517 AO |
6453 | PR rtl-optimization/55547 |
6454 | PR rtl-optimization/53827 | |
6455 | PR debug/53671 | |
6456 | PR debug/49888 | |
6457 | * alias.c (offset_overlap_p): New, factored out of... | |
6458 | (memrefs_conflict_p): ... this. Use absolute sizes. Retain | |
6459 | the conservative special case for symbolic constants. Don't | |
6460 | adjust zero sizes on alignment. | |
6461 | ||
c664546f JL |
6462 | 2013-01-18 Bernd Schmidt <bernds@codesourcery.com> |
6463 | ||
6464 | PR rtl-optimization/52573 | |
6465 | * regrename.c (build_def_use): Ignore REG_DEAD notes if there is a | |
6466 | REG_UNUSED for the same register. | |
6467 | ||
1bd3f750 MP |
6468 | 2013-01-17 Richard Biener <rguenther@suse.de> |
6469 | Marek Polacek <polacek@redhat.com> | |
6470 | ||
6471 | PR rtl-optimization/55833 | |
6472 | * loop-unswitch.c (unswitch_loops): Move loop verification... | |
6473 | (unswitch_single_loop): ...here. Call mark_irreducible_loops. | |
6474 | * cfgloopmanip.c (fix_loop_placement): Add IRRED_INVALIDATED parameter. | |
6475 | Set it to true when we're removing a loop from hierarchy tree in | |
6476 | an irreducible region. | |
6477 | (fix_bb_placements): Adjust caller. | |
6478 | (fix_loop_placements): Likewise. | |
6479 | ||
e52a8b71 GJL |
6480 | 2013-01-17 Georg-Johann Lay <avr@gjlay.de> |
6481 | ||
6482 | * config/avr/builtins.def (DEF_BUILTIN): Factor out | |
6483 | "__builtin_avr_" from NAME, turn NAME to an uppercase identifier. | |
6484 | Factor out 'CODE_FOR_' from ICODE, use 'nothing' instead of '-1'. | |
6485 | Remove ID. Adjust comments. | |
6486 | * config/avr/avr-c.c (avr_builtin_name): Remove. | |
6487 | (avr_cpu_cpp_builtins): Use DEF_BUILTIN instead of for-loop. | |
6488 | * config/avr/avr.c (avr_tolower): New static function. | |
6489 | (DEF_BUILTIN): Remove parameter ID. Prefix ICODE by 'CODE_FOR_'. | |
6490 | Stringify NAME, prefix it with "__builtin_avr_" and lowercase it. | |
6491 | (avr_expand_builtin): Assert insn_code != CODE_FOR_nothing for | |
6492 | default expansion. | |
6493 | ||
8386a7ea JH |
6494 | 2013-01-17 Jan Hubicka <jh@suse.cz> |
6495 | ||
610fb637 | 6496 | PR tree-optimization/55273 |
8386a7ea JH |
6497 | * loop-iv.c (iv_number_of_iterations): Consider zero iteration case. |
6498 | ||
47876a2a | 6499 | 2013-01-17 Uros Bizjak <ubizjak@gmail.com> |
8abaebcd UB |
6500 | |
6501 | PR target/55981 | |
6502 | * config/i386/sync.md (atomic_store<mode>): Always generate SWImode | |
6503 | store through atomic_store<mode>_1. | |
6504 | (atomic_store<mode>_1): Macroize insn using SWI mode iterator. | |
6505 | ||
8222c37e MJ |
6506 | 2013-01-17 Martin Jambor <mjambor@suse.cz> |
6507 | ||
6508 | PR tree-optimizations/55264 | |
6509 | * ipa-inline-transform.c (can_remove_node_now_p_1): Never return true | |
6510 | for virtual methods. | |
6511 | * ipa.c (symtab_remove_unreachable_nodes): Never return true for | |
6512 | virtual methods before inlining is over. | |
6513 | * cgraph.h (cgraph_only_called_directly_or_aliased_p): Return false for | |
6514 | virtual functions. | |
6515 | * cgraphclones.c (cgraph_create_virtual_clone): Mark clones as | |
6516 | non-virtual. | |
6517 | ||
79f01c76 VM |
6518 | 2013-01-16 Vladimir Makarov <vmakarov@redhat.com> |
6519 | ||
6520 | PR rtl-optimization/56005 | |
6521 | * sched-deps.c (sched_analyze_2): Check deps->readonly for adding | |
6522 | pending reads for prefetch. | |
6523 | ||
d0b6bb1b IB |
6524 | 2013-01-16 Ian Bolton <ian.bolton@arm.com> |
6525 | ||
aaf1e810 | 6526 | * config/aarch64/aarch64.md |
d0b6bb1b IB |
6527 | (*cstoresi_neg_uxtw): New pattern. |
6528 | (*cmovsi_insn_uxtw): New pattern. | |
6529 | (*<optab>si3_uxtw): New pattern. | |
6530 | (*<LOGICAL:optab>_<SHIFT:optab>si3_uxtw): New pattern. | |
6531 | (*<optab>si3_insn_uxtw): New pattern. | |
6532 | (*bswapsi2_uxtw): New pattern. | |
6533 | ||
cb9cf03b RB |
6534 | 2013-01-16 Richard Biener <rguenther@suse.de> |
6535 | ||
6536 | * tree-inline.c (tree_function_versioning): Remove set but | |
6537 | never used variable. | |
6538 | ||
2cfc56b9 RB |
6539 | 2013-01-16 Richard Biener <rguenther@suse.de> |
6540 | ||
6541 | PR tree-optimization/55964 | |
6542 | * tree-flow.h (rename_variables_in_loop): Remove. | |
6543 | (rename_variables_in_bb): Likewise. | |
6544 | * tree-loop-distribution.c (update_phis_for_loop_copy): Remove. | |
6545 | (copy_loop_before): Adjust and delete update-ssa status. | |
6546 | * tree-vect-loop-manip.c (rename_variables_in_bb): Make static. | |
8abaebcd | 6547 | (rename_variables_in_bb): Likewise. Properly walk over predecessors. |
2cfc56b9 RB |
6548 | (rename_variables_in_loop): Remove. |
6549 | (slpeel_update_phis_for_duplicate_loop): Likewise. | |
6550 | (slpeel_tree_duplicate_loop_to_edge_cfg): Handle nested loops, | |
6551 | use available cfg machinery instead of duplicating it. | |
6552 | Update PHI nodes and perform poor-mans SSA update here. | |
6553 | (slpeel_tree_peel_loop_to_edge): Adjust. | |
6554 | ||
c25a0c60 RB |
6555 | 2013-01-16 Richard Biener <rguenther@suse.de> |
6556 | ||
6557 | PR tree-optimization/54767 | |
6558 | PR tree-optimization/53465 | |
6559 | * tree-vrp.c (vrp_meet_1): Revert original fix for PR53465. | |
6560 | (vrp_visit_phi_node): For PHI arguments coming via backedges | |
6561 | drop all symbolical range information. | |
6562 | (execute_vrp): Compute backedges. | |
6563 | ||
04b535af RB |
6564 | 2013-01-16 Richard Biener <rguenther@suse.de> |
6565 | ||
6566 | * doc/install.texi: Update CLooG and ISL requirements to | |
6567 | 0.18.0 and 0.11.1. | |
6568 | ||
8b0a1e0b CB |
6569 | 2013-01-16 Christian Bruel <christian.bruel@st.com> |
6570 | ||
6571 | PR target/55301 | |
6572 | * config/sh/sh.c (sh_expand_prologue): Postpone new_stack mem symbol. | |
6573 | (broken_move): Handle UNSPECV_SP_SWITCH_B. | |
6574 | * config/sh/sh.md (sp_switch_1): Use set (reg:SI SP_REG). | |
6575 | ||
6576 | 2013-01-16 DJ Delorie <dj@redhat.com> | |
6577 | ||
6578 | * config/sh/sh.md (UNSPECV_SP_SWITCH_B): New. | |
6579 | (UNSPECV_SP_SWITCH_E): New. | |
6580 | (sp_switch_1): Change to an unspec. | |
6581 | (sp_switch_2): Change to an unspec. Don't use post-inc when we | |
6582 | replace $r15. | |
6583 | ||
6584 | 2013-01-16 Uros Bizjak <ubizjak@gmail.com> | |
88e784e6 UB |
6585 | |
6586 | * emit-rtl.c (need_atomic_barrier_p): Mask memory model argument | |
6587 | with MEMMODEL_MASK before comparing with MEMMODEL_* memory types. | |
6588 | * optabs.c (maybe_emit_sync_lock_test_and_set): Ditto. | |
6589 | (expand_mem_thread_fence): Ditto. | |
6590 | (expand_mem_signal_fence): Ditto. | |
6591 | (expand_atomic_load): Ditto. | |
6592 | (expand_atomic_store): Ditto. | |
6593 | ||
0bfbca58 | 6594 | 2013-01-16 Alexandre Oliva <aoliva@redhat.com> |
5147bf6a AO |
6595 | |
6596 | PR rtl-optimization/55547 | |
6597 | PR rtl-optimization/53827 | |
6598 | PR debug/53671 | |
6599 | PR debug/49888 | |
6600 | * alias.c (memrefs_conflict_p): Set sizes to negative after | |
6601 | AND adjustments. | |
6602 | ||
305e3ac1 JJ |
6603 | 2013-01-15 Jakub Jelinek <jakub@redhat.com> |
6604 | ||
6605 | PR target/55940 | |
6606 | * function.c (thread_prologue_and_epilogue_insns): Always | |
6607 | add crtl->drap_reg to set_up_by_prologue.set, even if | |
6608 | stack_realign_drap is false. | |
6609 | ||
f78ac4f2 JBG |
6610 | 2013-01-15 Jan-Benedict Glaw <jbglaw@lug-owl.de> |
6611 | ||
6612 | * config/vax/vax.md (add<mode>3, sub<mode>3, mul<mode>3, div<mode>3, | |
6613 | and<mode>3, *and<mode>_const_int, ior<mode>3, xor<mode>3, ashrsi3, | |
6614 | *call): Fix indention. | |
6615 | ||
a78a8cc4 TV |
6616 | 2013-01-15 Tom de Vries <tom@codesourcery.com> |
6617 | ||
6618 | PR target/55876 | |
6619 | * optabs.c (widen_operand): Use gen_lowpart instead of gen_rtx_SUBREG. | |
6620 | Update comment. | |
6621 | ||
0e80383f VM |
6622 | 2013-01-15 Vladimir Makarov <vmakarov@redhat.com> |
6623 | ||
305e3ac1 | 6624 | PR rtl-optimization/55153 |
0e80383f VM |
6625 | * sched-deps.c (sched_analyze_2): Add pending reads for prefetch. |
6626 | ||
207b5956 MJ |
6627 | 2013-01-15 Martin Jambor <mjambor@suse.cz> |
6628 | ||
6629 | PR tree-optimization/55920 | |
6630 | * tree-sra.c (analyze_access_subtree): Do not mark non-removable | |
6631 | accesses as grp_to_be_debug_replaced. | |
6632 | ||
a7818b54 JJ |
6633 | 2013-01-15 Jakub Jelinek <jakub@redhat.com> |
6634 | ||
6635 | PR tree-optimization/55920 | |
6636 | * tree-sra.c (sra_modify_assign): If for lacc->grp_to_be_debug_replaced | |
6637 | there is non-useless type conversion needed from debug rhs to lhs, | |
6638 | use build_debug_ref_for_model and/or VIEW_CONVERT_EXPR. | |
6639 | ||
b0fe107e JM |
6640 | 2013-01-15 Joseph Myers <joseph@codesourcery.com> |
6641 | Mikael Pettersson <mikpe@it.uu.se> | |
6642 | ||
6643 | PR target/43961 | |
6644 | * config/arm/arm.h (ADDR_VEC_ALIGN): Align SImode jump tables for | |
6645 | Thumb. | |
6646 | (ASM_OUTPUT_CASE_LABEL): Remove. | |
6647 | (ASM_OUTPUT_BEFORE_CASE_LABEL): Define to empty. | |
6648 | * final.c (shorten_branches): Update alignment of labels before | |
6649 | jump tables if CASE_VECTOR_SHORTEN_MODE. | |
6650 | ||
34ab62ee RB |
6651 | 2013-01-15 Richard Biener <rguenther@suse.de> |
6652 | ||
6653 | PR bootstrap/55961 | |
6654 | * system.h: Do not include gmp.h for building host tools. | |
6655 | ||
783a3a05 RB |
6656 | 2013-01-15 Richard Biener <rguenther@suse.de> |
6657 | ||
6658 | PR middle-end/55882 | |
6659 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Correctly | |
6660 | account for bitpos when computing alignment. | |
6661 | ||
3a579e09 VY |
6662 | 2013-01-15 Vladimir Yakovlev <vladimir.b.yakovlev@intel.com> |
6663 | ||
6664 | * config/i386/i386-c.c (ix86_target_macros_internal): New case. | |
6665 | (ix86_target_macros_internal): Likewise. | |
6666 | ||
6667 | * config/i386/i386.c (m_CORE2I7): Removed. | |
6668 | (m_CORE_HASWELL): New macro. | |
6669 | (m_CORE_ALL): Likewise. | |
6670 | (initial_ix86_tune_features): m_CORE2I7 is replaced by m_CORE_ALL. | |
6671 | (initial_ix86_arch_features): Likewise. | |
6672 | (processor_target_table): Initializations for Core avx2. | |
6673 | (cpu_names): New names "core-avx2". | |
6674 | (ix86_option_override_internal): Changed PROCESSOR_COREI7 by | |
6675 | PROCESSOR_CORE_HASWELL. | |
6676 | (ix86_issue_rate): New case. | |
6677 | (ia32_multipass_dfa_lookahead): Likewise. | |
6678 | (ix86_sched_init_global): Likewise. | |
6679 | ||
6680 | * config/i386/i386.h (TARGET_HASWELL): New macro. | |
6681 | (target_cpu_default): New TARGET_CPU_DEFAULT_haswell. | |
6682 | (processor_type): New PROCESSOR_HASWELL. | |
6683 | ||
955f5a07 JJ |
6684 | 2013-01-15 Jakub Jelinek <jakub@redhat.com> |
6685 | ||
ff784829 JJ |
6686 | PR tree-optimization/55955 |
6687 | * tree-vect-loop.c (vectorizable_reduction): Give up early on | |
6688 | *SHIFT_EXPR and *ROTATE_EXPR codes. | |
6689 | ||
955f5a07 JJ |
6690 | PR tree-optimization/48766 |
6691 | * opts.c (common_handle_option): For -fwrapv disable -ftrapv, for | |
6692 | -ftrapv disable -fwrapv. | |
6693 | ||
aeb8b4e9 GJL |
6694 | 2013-01-14 Georg-Johann Lay <avr@gjlay.de> |
6695 | ||
6696 | PR target/55974 | |
6697 | * config/avr/avr-c.c (avr_cpu_cpp_builtins): Define __FLASH | |
6698 | etc. to 1 and not to __flash. | |
6699 | Use LL suffix for __INT24_MAX__ with -mint8. | |
6700 | Use ULL suffix for __UINT24_MAX__ with -mint8. | |
6701 | ||
1c494c6a GJL |
6702 | 2013-01-14 Georg-Johann Lay <avr@gjlay.de> |
6703 | ||
6704 | * config/avr/avr-arch.h | |
6705 | (struct base_arch_s): Use typedef avr_arch_t instead. | |
6706 | (struct arch_info_s): Use typedef avr_arch_info_t instead. | |
6707 | (struct mcu_type_s): Use typedef avr_mcu_t instead. | |
6708 | * config/avr/avr.c: Same. | |
6709 | * config/avr/avr-devices.c: Same. | |
6710 | * config/avr/driver-avr.c: Same. | |
6711 | * config/avr/gen-avr-mmcu-texi.c: Same. | |
6712 | * config/avr/avr-mcus.def: Adjust comment. | |
6713 | ||
a50344cb TB |
6714 | 2013-01-14 Tejas Belagod <tejas.belagod@arm.com> |
6715 | ||
88e784e6 UB |
6716 | * config/aarch64/aarch64-simd.md (*aarch64_simd_ld1r<mode>): New. |
6717 | * config/aarch64/iterators.md (VALLDI): New. | |
a50344cb | 6718 | |
47876a2a | 6719 | 2013-01-14 Uros Bizjak <ubizjak@gmail.com> |
e6f0e052 UB |
6720 | Andi Kleen <ak@linux.intel.com> |
6721 | ||
6722 | PR target/55948 | |
6723 | * config/i386/sync.md (atomic_store<mode>_1): New pattern. | |
6724 | (atomic_store<mode>): Call atomic_store<mode>_1 for IX86_HLE_RELEASE | |
6725 | memmodel flag. | |
6726 | ||
00892272 GJL |
6727 | 2013-01-14 Georg-Johann Lay <avr@gjlay.de> |
6728 | ||
6729 | * config/avr/avr-stdint.h: Remove trailing blanks. | |
6730 | * config/avr/avr-log.h: Same. | |
6731 | * config/avr/avr-arch.h: Same. | |
6732 | * config/avr/avr-devices.c: Same. | |
6733 | * config/avr/avr-dimode.md: Same. | |
6734 | * config/avr/predicates.md: Same. | |
6735 | * config/avr/avr-c.c: Same. And fix typo. | |
e6f0e052 | 6736 | |
00892272 GJL |
6737 | * config/avr/avr-protos.h: Same. And: |
6738 | (function_arg_regno_p): Rename to avr_function_arg_regno_p. | |
6739 | (init_cumulative_args): Rename to avr_init_cumulative_args. | |
6740 | (expand_prologue): Rename to avr_expand_prologue. | |
6741 | (expand_epilogue): Rename to avr_expand_epilogue. | |
6742 | (adjust_insn_length): Rename to avr_adjust_insn_length. | |
6743 | (notice_update_cc): Rename to avr_notice_update_cc. | |
6744 | (final_prescan_insn): Rename to avr_final_prescan_insn. | |
6745 | * config/avr/avr.c: Same. | |
6746 | * config/avr/avr.h: Same. | |
6747 | * config/avr/avr.md: Remove trailing blanks. | |
6748 | (prologue): Use avr_expand_prologue. | |
6749 | (epilogue, sibcall_epilogue): Use avr_expand_epilogue. | |
6750 | ||
7bb01996 RB |
6751 | 2013-01-14 Richard Biener <rguenther@suse.de> |
6752 | ||
6753 | * tree-cfg.c (verify_expr_location, verify_expr_location_1, | |
6754 | verify_location, collect_subblocks): New functions. | |
6755 | (verify_gimple_in_cfg): Verify that locations only reference | |
6756 | BLOCKs in the functions BLOCK tree. | |
6757 | ||
2724573f RB |
6758 | 2013-01-14 Richard Biener <rguenther@suse.de> |
6759 | ||
6760 | * tree-cfgcleanup.c (remove_forwarder_block): Unshare propagated | |
6761 | PHI argument. | |
6762 | * graphite-sese-to-poly.c (insert_out_of_ssa_copy): Properly | |
6763 | unshare reference. | |
6764 | (insert_out_of_ssa_copy_on_edge): Likewise. | |
6765 | (rewrite_close_phi_out_of_ssa): Likewise. | |
6766 | * tree-ssa.c (insert_debug_temp_for_var_def): Properly unshare | |
6767 | debug expressions. | |
6768 | * tree-ssa-pre.c (insert_into_preds_of_block): Properly unshare | |
6769 | propagated constants. | |
6770 | * tree-cfg.c (tree_node_can_be_shared): Handled component-refs | |
6771 | can not be shared. | |
6772 | ||
9a0bbab6 GJL |
6773 | 2013-01-14 Georg-Johann Lay <avr@gjlay.de> |
6774 | ||
6775 | * config/avr/avr-modes.def: Add GPL copyright notice. | |
6776 | ||
45805f17 UB |
6777 | 2013-01-13 Uros Bizjak <ubizjak@gmail.com> |
6778 | ||
6779 | * config/i386/sync.md (mem_thread_fence): Mask operands[0] with | |
6780 | MEMMODEL_MASK to determine memory model. | |
6781 | (atomic_store<mode>): Ditto from operands[2]. | |
6782 | * config/i386/i386.c (ix86_memmodel_check): Declare "strong" as bool. | |
6783 | ||
9d60be38 JJ |
6784 | 2013-01-13 Jakub Jelinek <jakub@redhat.com> |
6785 | ||
6786 | PR fortran/55935 | |
45805f17 | 6787 | * gimple-fold.c (get_symbol_constant_value): Call unshare_expr. |
9d60be38 JJ |
6788 | (fold_gimple_assign): Don't call unshare_expr here. |
6789 | (fold_ctor_reference): Call unshare_expr. | |
6790 | ||
e7f49d92 TG |
6791 | 2013-01-13 Terry Guo <terry.guo@arm.com> |
6792 | ||
aaf1e810 EB |
6793 | * Makefile.in (s-mlib): New argument MULTILIB_REUSE. |
6794 | * doc/fragments.texi: Document MULTILIB_REUSE. | |
6795 | * gcc.c (multilib_reuse): New internal spec. | |
e7f49d92 | 6796 | (set_multilib_dir): Also search multilib from multilib_reuse. |
aaf1e810 | 6797 | * genmultilib (tmpmultilib3): Refactor code. |
e7f49d92 TG |
6798 | (tmpmultilib4): Ditto. |
6799 | (multilib_reuse): New multilib argument. | |
6800 | ||
fbd03a27 RS |
6801 | 2013-01-13 Richard Sandiford <rdsandiford@googlemail.com> |
6802 | ||
6803 | * Makefile.in: Update copyright. | |
6804 | ||
b3681f13 TV |
6805 | 2013-01-12 Tom de Vries <tom@codesourcery.com> |
6806 | ||
6807 | PR middle-end/55890 | |
6808 | * calls.c (expand_call): Check if arg_nr is valid. | |
6809 | ||
3f287e4b MM |
6810 | 2013-01-11 Michael Meissner <meissner@linux.vnet.ibm.com> |
6811 | ||
6812 | * doc/extend.texi (X86 Built-in Functions): Add whitespace in | |
6813 | __builtin_ia32_paddb256 and __builtin_ia32_pavgb256 | |
5bc35113 MM |
6814 | documentation. Add missing '__' in front of |
6815 | __builtin_ia32_packssdw256. | |
3f287e4b | 6816 | |
1abcd5eb AK |
6817 | 2013-01-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
6818 | ||
6819 | PR target/55719 | |
6820 | * config/s390/s390.c (s390_preferred_reload_class): Do not return | |
6821 | NO_REGS for larl operands. | |
6822 | (s390_reload_larl_operand): Use s390_load_address instead of | |
6823 | emit_move_insn. | |
6824 | ||
980d0812 RB |
6825 | 2013-01-11 Richard Biener <rguenther@suse.de> |
6826 | ||
6827 | * tree-cfg.c (verify_node_sharing_1): Split out from ... | |
6828 | (verify_node_sharing): ... here. | |
6829 | (verify_gimple_in_cfg): Use verify_node_sharing_1 for walk_tree. | |
6830 | ||
7cb9fd07 EB |
6831 | 2013-01-11 Eric Botcazou <ebotcazou@adacore.com> |
6832 | ||
6833 | * configure.ac (Tree checking): Set TREECHECKING to yes if enabled. | |
6834 | Substitute TREECHECKING. | |
6835 | * configure: Regenerate. | |
6836 | * Makefile.in (TREECHECKING): New. | |
6837 | ||
47876a2a | 6838 | 2013-01-11 Richard Guenther <rguenther@suse.de> |
c7ab2530 RG |
6839 | |
6840 | PR tree-optimization/44061 | |
6841 | * tree-vrp.c (extract_range_basic): Compute zero as | |
6842 | value-range for __builtin_constant_p of function parameters. | |
6843 | ||
d1e082c2 RS |
6844 | 2013-01-10 Richard Sandiford <rdsandiford@googlemail.com> |
6845 | ||
45805f17 | 6846 | Update copyright years. |
d1e082c2 | 6847 | |
f85021b0 VM |
6848 | 2013-01-10 Vladimir Makarov <vmakarov@redhat.com> |
6849 | ||
9d60be38 | 6850 | PR rtl-optimization/55672 |
0160442c VM |
6851 | * lra-eliminations.c (mark_not_eliminable): Permit addition with |
6852 | const to be eliminable. | |
f85021b0 | 6853 | |
7a8b1ec4 DE |
6854 | 2013-01-10 David Edelsohn <dje.gcc@gmail.com> |
6855 | ||
6856 | * configure.ac (HAVE_AS_TLS): Add check for powerpc-ibm-aix. | |
6857 | * configure: Regenerate. | |
6858 | ||
ad2e5b71 RB |
6859 | 2013-01-10 Richard Biener <rguenther@suse.de> |
6860 | ||
ddf9322d | 6861 | * builtins.c (expand_builtin_init_trampoline): Use set_mem_attributes. |
ad2e5b71 | 6862 | |
ffc5b2bb RB |
6863 | 2013-01-10 Richard Biener <rguenther@suse.de> |
6864 | ||
6865 | PR bootstrap/55792 | |
6866 | * tree-into-ssa.c (rewrite_add_phi_arguments): Do not set | |
6867 | locations for virtual PHI arguments. | |
6868 | (rewrite_update_phi_arguments): Likewise. | |
6869 | ||
e1f674e4 JS |
6870 | 2013-01-10 Joel Sherrill <joel.sherrill@OARcorp.com> |
6871 | ||
6872 | * config/v850/rtems.h (ASM_SPEC): Pass -m8byte-align and -mgcc-abi | |
6873 | on to assembler. | |
6874 | ||
a57fc743 JJ |
6875 | 2013-01-10 Jakub Jelinek <jakub@redhat.com> |
6876 | ||
6877 | PR tree-optimization/55921 | |
6878 | * tree-complex.c (expand_complex_asm): New function. | |
6879 | (expand_complex_operations_1): Call it for GIMPLE_ASM. | |
6880 | ||
0ff4390d AK |
6881 | 2013-01-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
6882 | ||
6883 | PR target/55718 | |
6884 | * config/s390/s390.c (s390_symref_operand_p) | |
6885 | (s390_loadrelative_operand_p): Merge the two functions. | |
6886 | (s390_check_qrst_address, print_operand_address): Add parameters | |
6887 | to s390_loadrelative_operand_p invokation. | |
6888 | (s390_check_symref_alignment): Use s390_loadrelative_operand_p. | |
6889 | (s390_reload_larl_operand, s390_secondary_reload): Use | |
6890 | s390_loadrelative_operand_p instead of s390_symref_operand_p. | |
6891 | (legitimize_pic_address): Handle @GOTENT and @PLT + addend. | |
6892 | ||
6f557e0e MS |
6893 | 2013-01-09 Mike Stump <mikestump@comcast.net> |
6894 | ||
6895 | * dse.c (record_store): Remove unnecessary assert. | |
6896 | ||
7770c9e9 JH |
6897 | 2013-01-09 Jan Hubicka <jh@suse.cz> |
6898 | ||
6899 | PR tree-optimization/55569 | |
6900 | * cfgloopmanip.c (scale_loop_profile): Make ITERATION_BOUND gcov_type. | |
6901 | * cfgloop.h (scale_loop_profile): Likewise. | |
6902 | ||
a19b1432 JH |
6903 | 2013-01-09 Jan Hubicka <jh@suse.cz> |
6904 | ||
6905 | PR lto/45375 | |
ddf9322d UB |
6906 | * ipa-inline.c (ipa_inline): Remove extern inlines and virtual |
6907 | functions. | |
a19b1432 JH |
6908 | * cgraphclones.c (cgraph_clone_node): Cpoy also LTO file data. |
6909 | ||
9a002da8 RS |
6910 | 2013-01-09 Richard Sandiford <rdsandiford@googlemail.com> |
6911 | ||
6912 | PR middle-end/55114 | |
6913 | * expr.h (maybe_emit_group_store): Declare. | |
6914 | * expr.c (maybe_emit_group_store): New function. | |
6915 | * builtins.c (expand_builtin_int_roundingfn): Call it. | |
6916 | (expand_builtin_int_roundingfn_2): Likewise. | |
6917 | ||
511dcace VM |
6918 | 2013-01-09 Vladimir Makarov <vmakarov@redhat.com> |
6919 | ||
e1f2b729 | 6920 | PR rtl-optimization/55829 |
511dcace VM |
6921 | * lra-constraints.c (match_reload): Add code for absent output. |
6922 | (curr_insn_transform): Add code for reloads of matched inputs | |
6923 | without output. | |
6924 | ||
7b0fe4f4 UB |
6925 | 2013-01-09 Uros Bizjak <ubizjak@gmail.com> |
6926 | ||
6927 | * config/i386/sse.md (*vec_interleave_highv2df): Change mode | |
6928 | attribute of movddup insn to DF. | |
6929 | (*vec_interleave_lowv2df): Ditto. | |
6930 | (vec_dupv2df): Ditto. | |
6931 | ||
870ca331 JH |
6932 | 2013-01-09 Jan Hubicka <jh@suse.cz> |
6933 | ||
6934 | PR tree-optimiation/55875 | |
6935 | * tree-ssa-loop-niter.c (number_of_iterations_cond): Add | |
6936 | EVERY_ITERATION parameter. | |
7b0fe4f4 | 6937 | (number_of_iterations_exit): Check if exit is executed every iteration. |
870ca331 JH |
6938 | (idx_infer_loop_bounds): Similarly here. |
6939 | (n_of_executions_at_most): Simplify | |
6940 | to only test for cases where statement is dominated by the | |
7b0fe4f4 | 6941 | particular bound; handle correctly the "postdominance" test. |
870ca331 JH |
6942 | (scev_probably_wraps_p): Use max loop iterations info |
6943 | as a global bound first. | |
6944 | ||
6f575fe4 | 6945 | 2013-01-09 Nguyen Duy Dat <dat.nguyen.yn@rvc.renesas.com> |
3cd232b5 NDD |
6946 | Nick Clifton <nickc@redhat.com> |
6947 | ||
6948 | * config/v850/v850.md (cbranchsf4): New pattern. | |
6949 | (cstoresf4): New pattern. | |
6950 | (cbranchdf4): New pattern. | |
6951 | (cstoredf4): New pattern. | |
6952 | (movsicc): Disallow floating point comparisons. | |
6953 | (cmpsf_le_insn): Fix order of operators. | |
6954 | (cmpsf_lt_insn): Likewise. | |
6955 | (cmpsf_eq_insn): Likewise. | |
6956 | (cmpdf_le_insn): Likewise. | |
6957 | (cmpdf_lt_insn): Likewise. | |
6958 | (cmpdf_eq_insn): Likewise. | |
6959 | (cmpsf_ge_insn): Use LE comparison. | |
6960 | (cmpdf_ge_insn): Likewise. | |
6961 | (cmpsf_gt_insn): Use LT comparison. | |
6962 | (cmpdf_gt_insn): Likewise. | |
6963 | (cmpsf_ne_insn): Delete pattern. | |
6964 | (cmpdf_ne_insn): Delete pattern. | |
6965 | * config/v850/v850.c (v850_gen_float_compare): Use | |
6966 | gen_cmpdf_eq_insn for NE comparison. | |
6967 | (v850_float_z_comparison_operator) | |
6968 | (v850_float_nz_comparison_operator): Move from here ... | |
6969 | * config/v850/predicates.md: ... to here. Move GT and GE | |
6970 | comparisons into v850_float_z_comparison_operator. | |
6971 | * config/v850/v850-protos.h (v850_float_z_comparison_operator): | |
6972 | Delete prototype. | |
6973 | (v850_float_nz_comparison_operator): Likewise. | |
6974 | ||
f0d54148 JDA |
6975 | 2013-01-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
6976 | ||
6977 | * config/pa/pa.c (pa_emit_move_sequence): Replace calls to gen_insv | |
6978 | with calls to gen_insvsi/gen_insvdi. | |
6979 | ||
8f01beca VK |
6980 | 2013-01-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com> |
6981 | ||
6982 | * config/i386/i386.c (initial_ix86_tune_features): Set up | |
6983 | X86_TUNE_AVX128_OPTIMAL for m_BTVER2. | |
6984 | ||
2aa579ad JJ |
6985 | 2013-01-09 Steven Bosscher <steven@gcc.gnu.org> |
6986 | Jakub Jelinek <jakub@redhat.com> | |
6987 | ||
6988 | PR tree-optimization/48189 | |
6989 | * predict.c (predict_loops): If max is 0, don't call compare_tree_int. | |
6990 | If nitercst is 0, don't predict the exit edge. | |
6991 | ||
6edc3e32 | 6992 | 2013-01-08 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
01a3a324 N |
6993 | |
6994 | * config/aarch64/aarch64.c (aarch64_print_operand): Replace %r | |
6995 | in asm_fprintf with reg_names. | |
6996 | (aarch64_print_operand_address): Likewise. | |
6997 | (aarch64_return_addr): Likewise. | |
6998 | * config/aarch64/aarch64.h (ASM_FPRINTF_EXTENSIONS): Remove. | |
6999 | ||
f6f94d94 JDA |
7000 | 2013-01-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
7001 | ||
7002 | * config/pa/pa.h (VAL_U6_BITS_P): Define. | |
7003 | (INT_U6_BITS): Likewise. | |
7004 | * config/pa/predicates.md (uint6_operand): New predicate. | |
7005 | (shift5_operand, shift6_operand): Likewise. | |
7006 | * config/pa/pa.md (lshrsi3, rotrsi3): Use shift5_operand instead of | |
7007 | arith32_operand. | |
7008 | (lshrdi3): Use shift6_operand. | |
7009 | (shrpsi4, shrpdi4): New insn patterns. | |
7010 | (extzv): Delete expander. | |
7011 | (extzvsi, extzvdi): New expanders. Use uint5_operand and uint6_operand | |
7012 | predicates in unamed zero extract patterns. Tighten common constraint. | |
7013 | (extv): Delete expander. | |
7014 | (extvsi, extvdi): New expanders. Use uint5_operand and uint6_operand | |
7015 | predicates in unamed sign extract patterns. Tighten common constraint. | |
7016 | (insv): Delete expander. | |
7017 | (insvsi, insvdi): New expanders. Use uint5_operand and uint6_operand | |
7018 | predicates in unamed insert patterns. Tighten common constraint. | |
7019 | Change uint32_operand predicate to uint6_operand predicate in unamed | |
7020 | DImode pattern to insert constant values of type 1...1xxxx. | |
7021 | ||
36b72910 JH |
7022 | 2013-01-04 Jan Hubicka <jh@suse.cz> |
7023 | ||
7024 | PR tree-optimization/55823 | |
7b0fe4f4 UB |
7025 | * ipa-prop.c (update_indirect_edges_after_inlining): Fix ordering |
7026 | issue. | |
36b72910 | 7027 | |
47876a2a | 7028 | 2013-01-08 Jakub Jelinek <jakub@redhat.com> |
c6d851b9 JJ |
7029 | Uros Bizjak <ubizjak@gmail.com> |
7030 | ||
7031 | PR rtl-optimization/55845 | |
7032 | * df-problems.c (can_move_insns_across): Stop scanning at | |
7033 | volatile_insn_p source instruction or give up if | |
7034 | across_from .. across_to range contains any volatile_insn_p | |
7035 | instructions. | |
7036 | ||
4369c11e TB |
7037 | 2013-01-08 Tejas Belagod <tejas.belagod@arm.com> |
7038 | ||
7b0fe4f4 UB |
7039 | * config/aarch64/aarch64-simd.md (vec_init<mode>): New. |
7040 | * config/aarch64/aarch64-protos.h (aarch64_expand_vector_init): | |
7041 | Declare. | |
4369c11e | 7042 | * config/aarch64/aarch64.c (aarch64_simd_dup_constant, |
7b0fe4f4 | 7043 | aarch64_simd_make_constant, aarch64_expand_vector_init): New. |
4369c11e | 7044 | |
aeb7e7c1 JJ |
7045 | 2013-01-08 Jakub Jelinek <jakub@redhat.com> |
7046 | ||
7047 | PR fortran/55341 | |
7048 | * asan.c (asan_clear_shadow): New function. | |
7049 | (asan_emit_stack_protection): Use it. | |
7050 | ||
a02ad1aa TB |
7051 | 2013-01-08 Tejas Belagod <tejas.belagod@arm.com> |
7052 | ||
7053 | * config/aarch64/aarch64-simd.md (aarch64_simd_vec_<su>mult_lo_<mode>, | |
7054 | aarch64_simd_vec_<su>mult_hi_<mode>): Separate instruction and operand | |
7055 | with tab instead of space. | |
7056 | ||
f90d87f5 NC |
7057 | 2013-01-08 Nick Clifton <nickc@redhat.com> |
7058 | ||
7059 | * config/rl78/rl78.c (rl78_expand_prologue): Always select | |
7060 | register bank 0 at the start of an interrupt handler. | |
83ffd964 NC |
7061 | * config/rl78/rl78.md (mulsi3_g13): Correct values for MDBL and |
7062 | MDBH registers. | |
f90d87f5 | 7063 | |
385eb93d JG |
7064 | 2013-01-08 James Greenhalgh <james.greenhalgh@arm.com> |
7065 | ||
7066 | * config/aarch64/aarch64-simd.md | |
7067 | (aarch64_simd_bsl<mode>_internal): Add floating-point modes. | |
7068 | (aarch64_simd_bsl): Likewise. | |
7069 | (aarch64_vcond_internal<mode>): Likewise. | |
7070 | (vcond<mode><mode>): Likewise. | |
7071 | (aarch64_cm<cmp><mode>): Fix constraints, add new modes. | |
7072 | * config/aarch64/iterators.md (V_cmp_result): Add V2DF. | |
7073 | ||
4dcd1054 JG |
7074 | 2013-01-08 James Greenhalgh <james.greenhalgh@arm.com> |
7075 | ||
7076 | * config/aarch64/aarch64-builtins.c | |
7077 | (aarch64_builtin_vectorized_function): Handle sqrt, sqrtf. | |
7078 | ||
4267a4a6 MJ |
7079 | 2013-01-08 Martin Jambor <mjambor@suse.cz> |
7080 | ||
7081 | PR debug/55579 | |
7082 | * tree-sra.c (analyze_access_subtree): Return true also after | |
7083 | potentially creating a debug-only replacement. | |
7084 | ||
5f4e6de3 JJ |
7085 | 2013-01-08 Jakub Jelinek <jakub@redhat.com> |
7086 | ||
3138f224 JJ |
7087 | PR middle-end/55890 |
7088 | * tree-ssa-ccp.c (evaluate_stmt): Use gimple_call_builtin_p. | |
7089 | ||
5f4e6de3 JJ |
7090 | PR tree-optimization/54120 |
7091 | * tree-vrp.c (range_fits_type_p): Don't allow | |
7092 | src_precision < precision from signed vr to unsigned_p | |
7093 | if vr->min or vr->max is negative. | |
7094 | (simplify_float_conversion_using_ranges): Test can_float_p | |
7095 | against CODE_FOR_nothing. | |
7096 | ||
f3ef18ff JJ |
7097 | 2013-01-08 Jakub Jelinek <jakub@redhat.com> |
7098 | Richard Biener <rguenther@suse.de> | |
7099 | ||
7100 | PR middle-end/55851 | |
7101 | * fold-const.c (int_binop_types_match_p): Allow all INTEGRAL_TYPE_P | |
7102 | types instead of just INTEGER_TYPE types. | |
7103 | ||
25c210f9 MK |
7104 | 2013-01-07 Mark Kettenis <kettenis@openbsd.org> |
7105 | ||
7106 | * config/i386/openbsdelf.h (LIBGCC2_HAS_TF_MODE, LIBGCC2_TF_CEXT, | |
7107 | TF_SIZE): Define. | |
f90d87f5 | 7108 | |
81826a7b SE |
7109 | 2013-01-07 Steve Ellcey <sellcey@mips.com> |
7110 | ||
7111 | PR target/42661 | |
7112 | * config/mips/mips.opt: Change mad to mmad to match documentation. | |
7113 | ||
35678514 GJL |
7114 | 2013-01-07 Georg-Johann Lay <avr@gjlay.de> |
7115 | ||
7116 | PR target/55897 | |
7117 | * doc/extend.texi (AVR Named Address Spaces): __memx goes into | |
7118 | .progmemx.data now. | |
7119 | ||
e5669488 GJL |
7120 | 2013-01-07 Georg-Johann Lay <avr@gjlay.de> |
7121 | ||
7122 | PR target/55897 | |
7123 | * config/avr/avr.h (ADDR_SPACE_COUNT): New enum. | |
7124 | (avr_addrspace_t): Add .section_name field. | |
7125 | * config/avr/avr.c (progmem_section): Use ADDR_SPACE_COUNT as | |
7126 | array size. | |
7127 | (avr_addrspace): Same. Initialize .section_name. Remove last | |
7128 | NULL entry. Put __memx into .progmemx.data. | |
7129 | (progmem_section_prefix): Remove. | |
7130 | (avr_asm_init_sections): No need to initialize progmem_section. | |
7131 | (avr_asm_named_section): Use avr_addrspace[].section_name to get | |
7132 | section name prefix. | |
7133 | (avr_asm_select_section): Ditto. And use get_unnamed_section to | |
7134 | retrieve the progmem section. | |
7135 | * avr-c.c (avr_cpu_cpp_builtins): Use ADDR_SPACE_COUNT as loop | |
7136 | boundary to run over avr_addrspace[]. | |
7137 | (avr_register_target_pragmas): Ditto. | |
7138 | ||
656e6f37 JJ |
7139 | 2013-01-06 Jakub Jelinek <jakub@redhat.com> |
7140 | ||
7141 | * varasm.c (output_constant_def_contents): For asan_protect_global | |
7142 | protected strings, adjust DECL_ALIGN if needed, before testing for | |
7143 | anchored symbols. | |
7144 | (place_block_symbol): Adjust size for asan protected STRING_CSTs if | |
7145 | TREE_CONSTANT_POOL_ADDRESS_P. Increase alignment for asan protected | |
7146 | normal decls. | |
7147 | (output_object_block): For asan protected decls, emit asan padding | |
7148 | after their contents. | |
7149 | * asan.c (asan_protect_global): Don't check TREE_ASM_WRITTEN here. | |
7150 | (asan_finish_file): Test it here instead. | |
7151 | ||
6edc3e32 UB |
7152 | 2013-01-07 Nick Clifton <nickc@redhat.com> |
7153 | Matthias Klose <doko@debian.org> | |
7154 | Doug Kwan <dougkwan@google.com> | |
7155 | H.J. Lu <hongjiu.lu@intel.com> | |
b352afba NC |
7156 | |
7157 | PR driver/55470 | |
7158 | * collect2.c (main): Support -fuse-ld=bfd and -fuse-ld=gold. | |
7159 | ||
7160 | * common.opt: Add fuse-ld=bfd and fuse-ld=gold. | |
7161 | ||
7162 | * gcc.c (LINK_COMMAND_SPEC): Pass -fuse-ld=* to collect2. | |
7163 | ||
7b0fe4f4 | 7164 | * opts.c (comman_handle_option): Ignore -fuse-ld=bfd and -fuse-ld=gold. |
b352afba NC |
7165 | |
7166 | * doc/invoke.texi: Document -fuse-ld=bfd and -fuse-ld=gold. | |
7167 | ||
2a095093 GJL |
7168 | 2013-01-07 Georg-Johann Lay <avr@gjlay.de> |
7169 | ||
f3b503f4 | 7170 | PR target/54461 |
2a095093 GJL |
7171 | * doc/install.texi (Cross-Compiler-Specific Options): Document |
7172 | --with-avrlibc. | |
7173 | ||
383f9b34 TB |
7174 | 2013-01-07 Tejas Belagod <tejas.belagod@arm.com> |
7175 | ||
7176 | * config/aarch64/arm_neon.h (vmovn_high_is16, vmovn_high_s32, | |
7177 | vmovn_high_s64, vmovn_high_u16, vmovn_high_u32, vmovn_high_u64, | |
7178 | vqmovn_high_s16, vqmovn_high_s32, vqmovn_high_s64, vqmovn_high_u16, | |
7179 | vqmovn_high_u32, vqmovn_high_u64, vqmovun_high_s16, vqmovun_high_s32, | |
7180 | vqmovun_high_s64): Fix source operand number and update copyright. | |
7181 | ||
3626621a RB |
7182 | 2013-01-07 Richard Biener <rguenther@suse.de> |
7183 | ||
7184 | PR middle-end/55890 | |
7185 | * gimple.h (gimple_call_builtin_p): New overload. | |
7186 | * gimple.c (validate_call): New function. | |
7187 | (gimple_call_builtin_p): Likewise. | |
7188 | * tree-ssa-structalias.c (find_func_aliases_for_builtin_call): | |
7189 | Use gimple_call_builtin_p. | |
7190 | (find_func_clobbers): Likewise. | |
7191 | * tree-ssa-strlen.c (adjust_last_stmt): Likewise. | |
7192 | (strlen_optimize_stmt): Likewise. | |
7193 | ||
8b2ea410 JG |
7194 | 2013-01-07 James Greenhalgh <james.greenhalgh@arm.com> |
7195 | ||
7196 | * config/aarch64/arm_neon.h (vld1_dup_*): Make argument const. | |
7197 | (vld1q_dup_*): Likewise. | |
7198 | (vld1_*): Likewise. | |
7199 | (vld1q_*): Likewise. | |
7200 | (vld1_lane_*): Likewise. | |
7201 | (vld1q_lane_*): Likewise. | |
7202 | ||
9713d329 RB |
7203 | 2013-01-07 Richard Biener <rguenther@suse.de> |
7204 | ||
7205 | * lto-streamer.h (LTO_minor_version): Bump to 2. | |
7206 | ||
3520f7cc JG |
7207 | 2013-01-07 James Greenhalgh <james.greenhalgh@arm.com> |
7208 | ||
7209 | * config/aarch64/aarch64-protos.h | |
7210 | (aarch64_const_double_zero_rtx_p): Rename to... | |
7211 | (aarch64_float_const_zero_rtx_p): ...this. | |
7212 | (aarch64_float_const_representable_p): New. | |
7213 | (aarch64_output_simd_mov_immediate): Likewise. | |
7214 | * config/aarch64/aarch64-simd.md (*aarch64_simd_mov<mode>): Refactor | |
7215 | move immediate case. | |
7216 | * config/aarch64/aarch64.c | |
7217 | (aarch64_const_double_zero_rtx_p): Rename to... | |
7218 | (aarch64_float_const_zero_rtx_p): ...this. | |
7219 | (aarch64_print_operand): Allow printing of new constants. | |
7220 | (aarch64_valid_floating_const): New. | |
7221 | (aarch64_legitimate_constant_p): Check for valid floating-point | |
7222 | constants. | |
7223 | (aarch64_simd_valid_immediate): Likewise. | |
7224 | (aarch64_vect_float_const_representable_p): New. | |
7225 | (aarch64_float_const_representable_p): Likewise. | |
7226 | (aarch64_simd_imm_zero_p): Also allow for floating-point 0.0. | |
7227 | (aarch64_output_simd_mov_immediate): New. | |
7228 | * config/aarch64/aarch64.md (*movsf_aarch64): Add new alternative. | |
7229 | (*movdf_aarch64): Likewise. | |
7230 | * config/aarch64/constraints.md (Ufc): New. | |
7231 | (Y): call aarch64_float_const_zero_rtx. | |
7232 | * config/aarch64/predicates.md (aarch64_fp_compare_operand): New. | |
7233 | ||
e167c04d RB |
7234 | 2013-01-07 Richard Biener <rguenther@suse.de> |
7235 | ||
7236 | PR tree-optimization/55888 | |
7237 | PR tree-optimization/55862 | |
7238 | * tree-ssa-pre.c (phi_translate_1): Revert previous change. | |
7239 | (valid_in_sets): Check if a NAME has a leader in AVAIL_OUT, | |
7240 | not if it is contained therein. | |
7241 | ||
0139aaab GJL |
7242 | 2013-01-07 Georg-Johann Lay <avr@gjlay.de> |
7243 | ||
7244 | * config/avr/t-avr: Typo. | |
7245 | ||
4a176b23 GJL |
7246 | 2013-01-07 Georg-Johann Lay <avr@gjlay.de> |
7247 | ||
7248 | PR55243 | |
7249 | * config/avr/t-avr: Don't automatically rebuild | |
7250 | $(srcdir)/config/avr/t-multilib | |
7251 | $(srcdir)/config/avr/avr-tables.opt | |
7252 | $(srcdir)/doc/avr-mmcu.texi | |
7253 | (avr-mcus): New phony target to build them on request. | |
7254 | (s-avr-mlib, s-avr-mmcu-texi): Remove. | |
7255 | * avr/avr-mcus.def: Adjust comments. | |
7256 | ||
c7afdc98 UB |
7257 | 2013-01-07 Uros Bizjak <ubizjak@gmail.com> |
7258 | ||
7259 | * config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Remove. | |
7260 | ||
1ab05c31 RS |
7261 | 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com> |
7262 | ||
7263 | * file-find.c, file-find.h, realmpfr.c: Add FSF as copyright holder. | |
7264 | ||
488e3acc RS |
7265 | 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com> |
7266 | ||
7267 | * config/tilepro/gen-mul-tables.cc: Put copyright on one line. | |
7268 | ||
a89599d2 DE |
7269 | 2013-01-05 David Edelsohn <dje.gcc@gmail.com> |
7270 | ||
7271 | * config/rs6000/aix53.h (LIB_SPEC): Add -lpthreads when compiling | |
7272 | to generate profiling. | |
7273 | * config/rs6000/aix64.h (LIB_SPEC): Same. | |
7274 | ||
70f09188 AP |
7275 | 2013-01-04 Andrew Pinski <apinski@cavium.com> |
7276 | ||
7277 | * config/aarch64/aarch64.c (aarch64_fixed_condition_code_regs): | |
7278 | New function. | |
7279 | (TARGET_FIXED_CONDITION_CODE_REGS): Define. | |
7280 | ||
918d445f UB |
7281 | 2013-01-04 Uros Bizjak <ubizjak@gmail.com> |
7282 | ||
7283 | * config/i386/i386.c (ix86_legitimize_address): Call convert_to_mode | |
7284 | unconditionally. | |
7285 | (ix86_expand_move): Ditto. | |
7286 | (ix86_zero_extend_to_Pmode): Ditto. | |
7287 | (ix86_expand_call): Ditto. | |
7288 | (ix86_expand_special_args_builtin): Ditto. | |
7289 | (ix86_expand_builtin): Ditto. | |
7290 | ||
361618ec RB |
7291 | 2013-01-04 Richard Biener <rguenther@suse.de> |
7292 | ||
7293 | PR tree-optimization/55862 | |
7294 | * tree-ssa-pre.c (phi_translate_1): Valueize SSA names after | |
7295 | translating them through PHI nodes. | |
7296 | ||
87eab554 MJ |
7297 | 2013-01-04 Martin Jambor <mjambor@suse.cz> |
7298 | ||
7299 | PR tree-optimization/55755 | |
7300 | * tree-sra.c (sra_modify_assign): Do not check that an access has no | |
7301 | children when trying to avoid producing a VIEW_CONVERT_EXPR. | |
7302 | ||
33879b9f MP |
7303 | 2013-01-04 Marek Polacek <polacek@redhat.com> |
7304 | ||
7305 | PR middle-end/55859 | |
7306 | * opts.c (default_options_optimization): Clarify error message. | |
7307 | ||
3068819a RB |
7308 | 2013-01-04 Richard Biener <rguenther@suse.de> |
7309 | ||
7310 | PR middle-end/55863 | |
7311 | * fold-const.c (split_tree): Undo -X - 1 to ~X folding for | |
7312 | reassociation. | |
7313 | ||
0e4ae794 JDA |
7314 | 2013-01-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
7315 | ||
7316 | PR target/53789 | |
7317 | * config/pa/pa.md (movsi): Revert previous change. | |
e58d2e48 JDA |
7318 | * config/pa/pa.c (pa_legitimate_constant_p): Reject all TLS symbol |
7319 | references. | |
0e4ae794 | 7320 | |
65c88cef RH |
7321 | 2013-01-03 Richard Henderson <rth@redhat.com> |
7322 | ||
7323 | * config/i386/i386.c (ix86_expand_move): Always assign to op1 | |
7324 | after eliminating TLS symbols. | |
7325 | ||
8ac16127 MG |
7326 | 2013-01-03 Marc Glisse <marc.glisse@inria.fr> |
7327 | ||
7328 | PR bootstrap/50167 | |
7329 | * graphite-interchange.c (pdr_stride_in_loop): Use gmp_fprintf. | |
7330 | * graphite-poly.c (debug_gmp_value): Likewise. | |
7331 | ||
bb664f09 UB |
7332 | 2013-01-03 Uros Bizjak <ubizjak@gmail.com> |
7333 | ||
7334 | PR target/55712 | |
7335 | * config/i386/i386-c.c (ix86_target_macros_internal): Depending on | |
7336 | selected code model, define __code_mode_small__, __code_model_medium__, | |
7337 | __code_model_large__, __code_model_32__ or __code_model_kernel__. | |
7338 | * config/i386/cpuid.h (__cpuid, __cpuid_count) [__i386__]: Prefix | |
7339 | xchg temporary register with %k. Declare temporary register as | |
7340 | early clobbered. | |
7341 | [__x86_64__]: For medium and large code models, preserve %rbx register. | |
7342 | ||
bcf1ef00 RB |
7343 | 2013-01-03 Richard Biener <rguenther@suse.de> |
7344 | ||
0506634a | 7345 | * tree-data-ref.c (dump_conflict_function): Use less vertical spacing. |
bcf1ef00 RB |
7346 | (dump_subscript): Adjust. |
7347 | (finalize_ddr_dependent): Do not dump redundant info. | |
7348 | (analyze_siv_subscript): Adjust. | |
7349 | (subscript_dependence_tester): Likewise. | |
7350 | (compute_affine_dependence): Likewise. | |
7351 | ||
59fd17e3 RB |
7352 | 2013-01-03 Richard Biener <rguenther@suse.de> |
7353 | ||
7354 | Revert | |
7355 | 2013-01-03 Richard Biener <rguenther@suse.de> | |
7356 | ||
7357 | PR tree-optimization/55857 | |
7358 | * tree-vect-stmts.c (vectorizable_load): Do not setup | |
7359 | re-alignment for invariant loads. | |
7360 | ||
7361 | 2013-01-02 Richard Biener <rguenther@suse.de> | |
7362 | ||
7363 | * tree-vect-stmts.c (vectorizable_load): When vectorizing an | |
0506634a | 7364 | invariant load do not generate a vector load from the scalar location. |
59fd17e3 | 7365 | |
595c2679 RB |
7366 | 2013-01-03 Richard Biener <rguenther@suse.de> |
7367 | ||
7368 | * tree-vect-loop.c (vect_analyze_loop_form): Clarify reason | |
7369 | for not vectorizing. | |
7370 | * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): Do | |
7371 | not build INDIRECT_REFs, call get_name once only. | |
7372 | (vect_create_data_ref_ptr): Likewise. Dump base object kind | |
7373 | based on DR_BASE_OBJECT, not DR_BASE_ADDRESS. | |
7374 | ||
90bb7d7a RB |
7375 | 2013-01-03 Richard Biener <rguenther@suse.de> |
7376 | ||
7377 | PR tree-optimization/55857 | |
7378 | * tree-vect-stmts.c (vectorizable_load): Do not setup | |
7379 | re-alignment for invariant loads. | |
7380 | ||
f09b77ca RB |
7381 | 2013-01-03 Richard Biener <rguenther@suse.de> |
7382 | ||
7383 | PR lto/55848 | |
7384 | * lto-symtab.c (lto_symtab_merge_decls_1): As last resort, always | |
7385 | prefer a built-in decl. | |
7386 | ||
3461a16e JJ |
7387 | 2013-01-03 Jakub Jelinek <jakub@redhat.com> |
7388 | ||
df8e2b4f JJ |
7389 | * gcc.c (process_command): Update copyright notice dates. |
7390 | * gcov.c (print_version): Likewise. | |
7391 | * gcov-dump.c (print_version): Likewise. | |
7392 | ||
3461a16e JJ |
7393 | PR rtl-optimization/55838 |
7394 | * loop-iv.c (iv_number_of_iterations): Call lowpart_subreg on | |
7395 | iv0.step, iv1.step and step. | |
7396 | ||
8b5546d6 JJ |
7397 | 2013-01-03 Jakub Jelinek <jakub@redhat.com> |
7398 | Marc Glisse <marc.glisse@inria.fr> | |
7399 | ||
7400 | PR tree-optimization/55832 | |
7401 | * fold-const.c (fold_binary_loc): For ABS_EXPR<x> >= 0 and | |
7402 | ABS_EXPR<x> < 0 folding use constant_boolean_node instead of | |
7403 | integer_{one,zero}_node. | |
7404 | ||
8ab1d2e9 JJ |
7405 | 2013-01-03 Jakub Jelinek <jakub@redhat.com> |
7406 | ||
7407 | PR debug/54402 | |
7408 | * params.def (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE): New param. | |
7409 | * var-tracking.c (reverse_op): Don't add reverse ops to | |
7410 | VALUEs that have already | |
0506634a | 7411 | PARAM_VALUE (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE) or longer locs list. |
8ab1d2e9 | 7412 | |
5b9ad1d4 GP |
7413 | 2013-01-02 Gerald Pfeifer <gerald@pfeifer.com> |
7414 | ||
7415 | * doc/contrib.texi: Note years as release manager for Mark Mitchell. | |
7416 | ||
e25a6711 TJ |
7417 | 2013-01-02 Teresa Johnson <tejohnson@google.com> |
7418 | ||
7419 | * dumpfile.c (dump_loc): Print filename with location. | |
7420 | * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Use | |
7421 | new location_t parameter to emit complete unroll message with | |
7422 | new dump framework. | |
7423 | (canonicalize_loop_induction_variables): Compute loops location | |
7424 | and pass to try_unroll_loop_completely. | |
7425 | * loop-unroll.c (report_unroll_peel): New function. | |
7426 | (peel_loops_completely): Use new dump format with location | |
7427 | for main dumpfile message, and invoke report_unroll_peel on success. | |
7428 | (decide_unrolling_and_peeling): Ditto. | |
7429 | (decide_peel_once_rolling): Remove old dumpfile message subsumed | |
7430 | by report_unroll_peel. | |
7431 | (decide_peel_completely): Ditto. | |
7432 | (decide_unroll_constant_iterations): Ditto. | |
7433 | (decide_unroll_runtime_iterations): Ditto. | |
7434 | (decide_peel_simple): Ditto. | |
7435 | (decide_unroll_stupid): Ditto. | |
7436 | * cfgloop.c (get_loop_location): New function. | |
7437 | * cfgloop.h (get_loop_location): Declare. | |
7438 | ||
77878621 ST |
7439 | 2013-01-02 Sriraman Tallam <tmsriram@google.com> |
7440 | ||
7441 | * config/i386/i386.c (fold_builtin_cpu): Remove unnecessary checks for | |
7442 | NULL. | |
7443 | ||
9e65d03e JDA |
7444 | 2013-01-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
7445 | ||
7446 | PR middle-end/55198 | |
7447 | * expr.c (expand_expr_real_1): Don't use bitfield extraction for non | |
7448 | BLKmode objects when EXPAND_MEMORY is specified. | |
7449 | ||
6a7da30f ST |
7450 | 2013-01-02 Sriraman Tallam <tmsriram@google.com> |
7451 | ||
7452 | * config/i386/i386.c (ix86_get_function_versions_dispatcher): Fix bug | |
7453 | in loop predicate. | |
7454 | (fold_builtin_cpu): Do not share cpu model decls across statements. | |
7455 | ||
e78167f2 JM |
7456 | 2013-01-02 Jason Merrill <jason@redhat.com> |
7457 | ||
7458 | PR c++/55804 | |
7459 | * tree.c (build_array_type_1): Revert earlier change. | |
7460 | ||
8c075fb4 YZ |
7461 | 2013-01-02 Yufeng Zhang <yufeng.zhang@arm.com> |
7462 | ||
7463 | * config/aarch64/aarch64-cores.def: Add entries for "cortex-a53" and | |
7464 | "cortex-a57". | |
7465 | * config/aarch64/aarch64-tune.md: Re-generate. | |
7466 | ||
0682ed3e RB |
7467 | 2013-01-02 Richard Biener <rguenther@suse.de> |
7468 | ||
7469 | * tree-vect-stmts.c (vectorizable_load): When vectorizing an | |
0506634a | 7470 | invariant load do not generate a vector load from the scalar location. |
0682ed3e | 7471 | |
b8f6a302 RB |
7472 | 2013-01-02 Richard Biener <rguenther@suse.de> |
7473 | ||
7474 | PR bootstrap/55784 | |
7475 | * configure.ac: Add $GMPINC to CFLAGS/CXXFLAGS. | |
7476 | * configure: Regenerate. | |
7477 | ||
04b80dbb RS |
7478 | 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com> |
7479 | ||
7480 | * builtins.c (expand_builtin_mathfn, expand_builtin_mathfn_2) | |
7481 | (expand_builtin_mathfn_ternary, expand_builtin_mathfn_3) | |
7482 | (expand_builtin_int_roundingfn_2): Keep the original target around | |
7483 | for the fallback case. | |
7484 | ||
635b0b0c RS |
7485 | 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com> |
7486 | ||
7487 | * tree-vrp.c (range_fits_type_p): Require the MSB of the double_int | |
7488 | to be clear for sign changes. | |
7489 | ||
42d57399 JH |
7490 | 2013-01-01 Jan Hubicka <jh@suse.cz> |
7491 | ||
7492 | * ipa-inline-analysis.c: Fix formatting. | |
7493 | ||
5bb6669d JJ |
7494 | 2013-01-01 Jakub Jelinek <jakub@redhat.com> |
7495 | ||
7496 | PR tree-optimization/55831 | |
7497 | * tree-vect-loop.c (get_initial_def_for_induction): Use | |
7498 | gsi_after_labels instead of gsi_start_bb. | |
ad41bd84 | 7499 | \f |
86a2db33 | 7500 | Copyright (C) 2013 Free Software Foundation, Inc. |
ad41bd84 JM |
7501 | |
7502 | Copying and distribution of this file, with or without modification, | |
7503 | are permitted in any medium without royalty provided the copyright | |
7504 | notice and this notice are preserved. |