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