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