]>
Commit | Line | Data |
---|---|---|
decc676e OE |
1 | 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org> |
2 | ||
3 | PR target/49880 | |
4 | * config/sh/sh.opt (FPU_SINGLE_ONLY): New mask. | |
5 | (musermode): Convert to Var(TARGET_USERMODE). | |
6 | * config/sh/sh.h (SELECT_SH2A_SINGLE_ONLY, SELECT_SH4_SINGLE_ONLY, | |
7 | MASK_ARCH): Add MASK_FPU_SINGLE_ONLY. | |
8 | * config/sh/sh.c (sh_option_override): Use | |
9 | TARGET_FPU_DOUBLE || TARGET_FPU_SINGLE_ONLY for call-fp case. | |
10 | * config/sh/sh.md (udivsi3_i1, divsi3_i1): Remove ! TARGET_SH4 | |
11 | condition. | |
12 | (udivsi3_i4, divsi3_i4): Use TARGET_FPU_DOUBLE condition instead of | |
13 | TARGET_SH4. | |
14 | (udivsi3_i4_single, divsi3_i4_single): Use | |
15 | TARGET_FPU_SINGLE_ONLY || TARGET_FPU_DOUBLE instead of TARGET_HARD_SH4. | |
16 | ||
f4b719c7 DK |
17 | 2013-03-13 Dave Korn <dave.korn.cygwin@....> |
18 | ||
19 | * config/i386/cygwin.h (SHARED_LIBGCC_SPEC): Make shared libgcc the | |
20 | default setting. | |
21 | ||
c40eced0 RB |
22 | 2013-03-13 Richard Biener <rguenther@suse.de> |
23 | ||
24 | PR tree-optimization/56608 | |
25 | * tree-vect-slp.c (vect_schedule_slp): Do not remove scalar | |
26 | calls when vectorizing basic-blocks. | |
27 | ||
1bfa5973 JJ |
28 | 2013-03-13 Jakub Jelinek <jakub@redhat.com> |
29 | ||
30 | PR plugins/45078 | |
31 | * config.gcc: On arm, mips, sh and sparc add vxworks-dummy.h to | |
32 | tm_file. | |
33 | ||
6fcf5434 JJ |
34 | 2013-03-12 Jakub Jelinek <jakub@redhat.com> |
35 | ||
36 | * doc/invoke.texi (-Waddr-space-convert): Move into the table earlier. | |
37 | ||
4f38fa8c JH |
38 | 2013-03-11 Jan Hubicka <jh@suse.cz> |
39 | ||
40 | PR lto/56557 | |
41 | * lto-streamer-out.c (output_symbol_p): Skip references from | |
42 | constructors of external variables. | |
43 | ||
c5c5ba89 JH |
44 | 2013-03-11 Jan Hubicka <jh@suse.cz> |
45 | ||
46 | PR middle-end/56571 | |
47 | * valtrack.c (cleanup_auto_inc_dec): Unshare clobbers originating | |
48 | from pseudos. | |
49 | * emit-rtl.c (verify_rtx_sharing): Likewise. | |
50 | (copy_insn_1): Likewise. | |
51 | * rtl.c (copy_rtx): Likewise. | |
52 | ||
c2a939b1 GJL |
53 | 2013-03-11 Georg-Johann Lay <avr@gjlay.de> |
54 | ||
55 | PR target/56591 | |
56 | * config/avr/avr.c (avr_print_operand): Add space after '%c' in | |
57 | output_operand_lossage message. | |
58 | ||
3c3279fb RE |
59 | 2013-03-11 Richard Earnshaw <rearnsha@arm.com> |
60 | ||
61 | PR target/56470 | |
62 | * arm.c (shift_op): Validate RTL pattern on the fly. | |
63 | (arm_print_operand, case 'S'): Don't use shift_operator to validate | |
64 | the RTL. | |
65 | ||
aef5ef9d JDA |
66 | 2013-03-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
67 | ||
68 | PR target/56347 | |
69 | * config/pa/pa.md (call_value): Check for calls to powf and direct to | |
70 | new call patterns that clobber %fr12. | |
71 | (call_val_powf, call_val_powf_pic, call_val_powf_64bit): New insn, | |
72 | split and postreload patterns. | |
73 | * config/pa/pa.c (pa_conditional_register_usage): Revert marking | |
74 | registers %fr12 and %fr12R as call used. | |
75 | ||
456610d3 SB |
76 | 2013-03-09 Steven Bosscher <steven@gcc.gnu.org> |
77 | ||
78 | * dse.c (delete_dead_store_insn): Respect TDF_DETAILS. | |
79 | (canon_address, record_store, replace_read, check_mem_read_rtx, | |
80 | scan_insn, dse_step1, dse_step2_init, dse_step2_spill, | |
81 | dse_step4, dse_step5_nospill, dse_step5_spill, dse_step6, | |
82 | rest_of_handle_dse): Likewise. | |
83 | ||
4b1baac8 RS |
84 | 2013-03-09 Richard Sandiford <rdsandiford@googlemail.com> |
85 | ||
86 | PR middle-end/56524 | |
87 | * tree.h (tree_optimization_option): Rename target_optabs to optabs. | |
88 | Add base_optabs. | |
89 | (TREE_OPTIMIZATION_OPTABS): Update after previous field change. | |
90 | (TREE_OPTIMIZATION_BASE_OPTABS): New macro. | |
91 | (save_optabs_if_changed): Replace with... | |
92 | (init_tree_optimization_optabs): ...this. | |
93 | * optabs.c (save_optabs_if_changed): Rename to... | |
94 | (init_tree_optimization_optabs): ...this. Take the optimization node | |
95 | as argument. Do nothing if the base optabs are already correct. | |
96 | Reuse the existing TREE_OPTIMIZATION_OPTABS memory if we need | |
97 | to recompute optabs. | |
98 | * function.h (function): Remove optabs field. | |
99 | * function.c (invoke_set_current_function_hook): Call | |
100 | init_tree_optimization_optabs. Use the result to initialize | |
101 | this_fn_optabs. | |
102 | ||
b7a78683 AH |
103 | 2013-02-27 Aldy Hernandez <aldyh@redhat.com> |
104 | ||
105 | * trans-mem.c (expand_transaction): Do not set PR_INSTRUMENTEDCODE | |
106 | if GTMA_HAS_NO_INSTRUMENTATION. | |
107 | (generate_tm_state): Keep GTMA_HAS_NO_INSTRUMENTATION bit. | |
108 | (ipa_tm_transform_transaction): Set GTMA_HAS_NO_INSTRUMENTATION. | |
109 | * gimple.h (GTMA_HAS_NO_INSTRUMENTATION): Define. | |
110 | * gimple-pretty-print.c (dump_gimple_transaction): Handle | |
111 | GTMA_HAS_NO_INSTRUMENTATION. | |
112 | ||
6384c29b JJ |
113 | 2013-03-08 Jakub Jelinek <jakub@redhat.com> |
114 | ||
115 | * config/gnu-user.h (LIBTSAN_EARLY_SPEC): Don't link against | |
116 | libasan_preinit.o. | |
117 | ||
ecd4f20a MP |
118 | 2013-03-08 Marek Polacek <polacek@redhat.com> |
119 | Jakub Jelinek <jakub@redhat.com> | |
120 | ||
121 | PR tree-optimization/56478 | |
122 | * predict.c (is_comparison_with_loop_invariant_p): Change the | |
123 | type of loop_step to tree. | |
124 | (predict_loops): Adjust. | |
125 | (predict_iv_comparison): Perform the computations on double_ints. | |
126 | ||
64366d35 RB |
127 | 2013-03-08 Richard Biener <rguenther@suse.de> |
128 | ||
129 | PR tree-optimization/56570 | |
130 | * tree-cfg.c (verify_expr_location_1): Verify locations for | |
131 | DECL_DEBUG_EXPR. | |
132 | * tree-sra.c (create_access_replacement): Strip locations | |
133 | from DECL_DEBUG_EXPRs. | |
134 | ||
a9d5a059 RB |
135 | 2013-03-08 Richard Biener <rguenther@suse.de> |
136 | ||
137 | * tree-inline.c (expand_call_inline): Do not associate | |
138 | a BLOCK with the location in BLOCK_SOURCE_LOCATION. | |
139 | * tree-cfg.c (verify_location): Verify BLOCK_SOURCE_LOCATION. | |
140 | ||
b7aa4e9a RB |
141 | 2013-03-08 Richard Biener <rguenther@suse.de> |
142 | ||
143 | * tree-ssa-ter.c (is_replaceable_p): Do not TER across location | |
144 | or block changes with -Og. Fix for location / block encoding | |
145 | changes and PHI arguments with locations. | |
146 | ||
c4c2f9fa SB |
147 | 2013-03-07 Steven Bosscher <steven@gcc.gnu.org> |
148 | ||
149 | * bitmap.c (struct bitmap_descriptor_d): Use unsigned HOST_WIDEST_INT | |
150 | for all counters. | |
151 | (struct output_info): Likewise. | |
152 | (register_overhead): Remove bad gcc_assert. | |
153 | (bitmap_find_bit): If there is only a single bitmap element, do not | |
154 | count a miss as a search. | |
155 | (print_statistics): Update for counter type changes. | |
156 | (dump_bitmap_statistics): Likewise. Print headers such that they | |
157 | are properly lined up with the printed counters. | |
158 | ||
5bf6606a JJ |
159 | 2013-03-07 Jakub Jelinek <jakub@redhat.com> |
160 | ||
161 | PR tree-optimization/56559 | |
162 | * tree-ssa-reassoc.c (zero_one_operation): When looking at rhs2, | |
163 | check that it has only a single use. | |
164 | ||
2c653d46 RB |
165 | 2013-03-07 Richard Biener <rguenther@suse.de> |
166 | ||
167 | * doc/invoke.texi (fwhole-program): Discourage use in combination | |
168 | with -flto. | |
169 | ||
a72d8780 JJ |
170 | 2013-03-06 Jakub Jelinek <jakub@redhat.com> |
171 | ||
01a454df JJ |
172 | * config/arm/t-arm (TM_H, OPTIONS_H_EXTRA): Add arm-cores.def. |
173 | ||
c1781047 JJ |
174 | PR tree-optimization/56539 |
175 | * tree-tailcall.c (adjust_return_value_with_ops): Use GSI_SAME_STMT | |
176 | instead of GSI_CONTINUE_LINKING as last argument to | |
177 | force_gimple_operand_gsi. Adjust function comment. | |
178 | ||
9772c47a JJ |
179 | * config/aarch64/t-aarch64 (TM_H, OPTIONS_H_EXTRA): Add |
180 | aarch64-cores.def. | |
181 | ||
a72d8780 JJ |
182 | PR middle-end/56548 |
183 | * expr.c (expand_cond_expr_using_cmove): When expanding cmove in | |
184 | promoted mode, convert the result back to the original mode. | |
185 | ||
fa5556de RB |
186 | 2013-03-06 Richard Biener <rguenther@suse.de> |
187 | ||
188 | PR middle-end/56294 | |
189 | * tree-into-ssa.c (insert_phi_nodes_for): Add dumping. | |
190 | (insert_updated_phi_nodes_compare_uids): New function. | |
191 | (update_ssa): Sort symbols_to_rename after UID before | |
192 | traversing it to insert PHI nodes. | |
193 | ||
010403d1 RB |
194 | 2013-03-06 Richard Biener <rguenther@suse.de> |
195 | ||
196 | PR middle-end/50494 | |
197 | * tree-vect-data-refs.c (vect_can_force_dr_alignment_p): | |
198 | Do not adjust alignment of DECL_IN_CONSTANT_POOL decls. | |
199 | ||
200 | Revert | |
201 | 2013-02-13 Richard Biener <rguenther@suse.de> | |
202 | ||
203 | PR lto/50494 | |
204 | * varasm.c (output_constant_def_1): Get the decl representing | |
205 | the constant as argument. | |
206 | (output_constant_def): Wrap output_constant_def_1. | |
207 | (make_decl_rtl): Use output_constant_def_1 with the decl | |
208 | representing the constant. | |
209 | (build_constant_desc): Optionally re-use a decl already | |
210 | representing the constant. | |
211 | (tree_output_constant_def): Adjust. | |
212 | ||
3c27ce4c JY |
213 | 2013-03-06 Joey Ye <joey.ye@arm.com> |
214 | ||
215 | PR lto/50293 | |
216 | * gcc.c (convert_white_space): New function. | |
217 | (main): Handles white space in function name. | |
218 | ||
8f6d1c86 OE |
219 | 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org> |
220 | ||
221 | PR target/56529 | |
222 | * config/sh/sh.c (sh_option_override): Check for TARGET_DYNSHIFT | |
223 | instead of TARGET_SH2 for call-table case. Do not set sh_div_strategy | |
224 | to SH_DIV_CALL_TABLE for TARGET_SH2. | |
225 | * config.gcc (sh_multilibs): Add m2 and m2a to sh*-*-linux* multilib | |
226 | list. | |
227 | * doc/invoke.texi (SH options): Document mdiv= call-div1, call-fp, | |
228 | call-table options. | |
229 | ||
798a209f SA |
230 | 2013-03-05 Sterling Augustine <saugustine@google.com> |
231 | Cary Coutant <ccoutant@google.com> | |
232 | ||
233 | PR debug/55364 | |
234 | * dwarf2out.c (resolve_addr): Don't call | |
235 | remove_loc_list_addr_table_entries a second time for the same | |
236 | expression. | |
237 | ||
6cfa417f | 238 | 2013-03-05 Jakub Jelinek <jakub@redhat.com> |
ee61ea38 | 239 | |
6cfa417f JJ |
240 | PR debug/56510 |
241 | * cfgexpand.c (expand_debug_parm_decl): Call copy_rtx on incoming. | |
242 | (avoid_complex_debug_insns): New function. | |
243 | (expand_debug_locations): Call it. | |
244 | ||
245 | PR rtl-optimization/56484 | |
246 | * ifcvt.c (noce_process_if_block): If else_bb is NULL, avoid extending | |
247 | lifetimes of hard registers on small register class machines. | |
248 | ||
249 | 2013-03-05 David Holsgrove <david.holsgrove@xilinx.com> | |
250 | ||
251 | * config/microblaze/microblaze-protos.h: Rename | |
ee61ea38 | 252 | microblaze_is_interrupt_handler to microblaze_is_interrupt_variant. |
6cfa417f | 253 | * config/microblaze/microblaze.c (microblaze_attribute_table): Add |
ee61ea38 DH |
254 | fast_interrupt. |
255 | (microblaze_fast_interrupt_function_p): New function. | |
256 | (microblaze_is_interrupt_handler): Rename to | |
257 | microblaze_is_interrupt_variant and add fast_interrupt check. | |
258 | (microblaze_must_save_register): Use microblaze_is_interrupt_variant. | |
259 | (save_restore_insns): Likewise. | |
260 | (compute_frame_size): Likewise. | |
261 | (microblaze_function_prologue): Add FAST_INTERRUPT_NAME. | |
262 | (microblaze_globalize_label): Likewise. | |
6cfa417f JJ |
263 | * config/microblaze/microblaze.h: Define FAST_INTERRUPT_NAME. |
264 | * config/microblaze/microblaze.md: Use wrapper | |
ee61ea38 DH |
265 | microblaze_is_interrupt_variant. |
266 | ||
731aefac KT |
267 | 2013-03-05 Kai Tietz <ktietz@redhat.com> |
268 | ||
269 | * sdbout.c (sdbout_one_type): Switch to current function's section | |
270 | supporting cold/hot. | |
271 | ||
a72d8780 | 272 | 2013-03-05 David Holsgrove <david.holsgrove@xilinx.com> |
e34fd5a7 DH |
273 | |
274 | * doc/invoke.texi (MicroBlaze): Add -mbig-endian, -mlittle-endian, | |
275 | -mxl-reorder. | |
276 | ||
334e71e8 JJ |
277 | 2013-03-05 Jakub Jelinek <jakub@redhat.com> |
278 | ||
0b50e654 JJ |
279 | PR middle-end/56461 |
280 | * ggc-common.c (gt_pch_save): For ENABLE_VALGRIND_CHECKING, | |
281 | if VALGRIND_GET_VBITS is defined, temporarily make object | |
282 | memory all defined, and restore previous valgrind addressability | |
283 | and definability afterwards. Free this_object at the end. | |
284 | ||
4ccf8f43 JJ |
285 | PR middle-end/56461 |
286 | * lra.c (lra): Call lra_clear_live_ranges if live_p, | |
287 | right before calling lra_create_live_ranges, also call it | |
288 | when clearing live_p. Only call lra_clear_live_ranges | |
289 | at the end if live_p. | |
290 | ||
334e71e8 JJ |
291 | PR middle-end/56461 |
292 | * sched-deps.c (delete_dep_node): Free DEP_REPLACE. | |
293 | ||
9ca966ca RB |
294 | 2013-03-05 Richard Biener <rguenther@suse.de> |
295 | ||
296 | PR tree-optimization/56521 | |
297 | * tree-ssa-sccvn.c (set_value_id_for_result): Always initialize | |
298 | value-id. | |
299 | ||
d273b176 SB |
300 | 2013-03-05 Steven Bosscher <steven@gcc.gnu.org> |
301 | ||
302 | PR c++/55135 | |
303 | * except.h (remove_unreachable_eh_regions): New prototype. | |
304 | * except.c (remove_eh_handler_splicer): New function, split out | |
305 | of remove_eh_handler. | |
306 | (remove_eh_handler): Use remove_eh_handler_splicer. Add comment | |
307 | warning about running it on many EH regions one at a time. | |
308 | (remove_unreachable_eh_regions_worker): New function, walk the | |
309 | EH tree in depth-first order and remove non-marked regions. | |
310 | (remove_unreachable_eh_regions): New function. | |
311 | * tree-eh.c (mark_reachable_handlers): New function, split out | |
312 | from remove_unreachable_handlers. | |
313 | (remove_unreachable_handlers): Use mark_reachable_handlers and | |
314 | remove_unreachable_eh_regions. | |
315 | (remove_unreachable_handlers_no_lp): Use mark_reachable_handlers | |
316 | and remove_unreachable_eh_regions. | |
317 | ||
5e7f1aef RB |
318 | 2013-03-05 Richard Biener <rguenther@suse.de> |
319 | ||
320 | PR middle-end/56525 | |
321 | * loop-init.c (fix_loop_structure): Remove loops in two stages, | |
322 | not freeing them until the end. | |
323 | ||
f276b762 AK |
324 | 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
325 | ||
326 | * config/s390/s390.h: Define DWARF2_ASM_LINE_DEBUG_INFO. | |
327 | ||
12a43ab8 RB |
328 | 2013-03-05 Richard Biener <rguenther@suse.de> |
329 | ||
330 | PR tree-optimization/56270 | |
331 | * tree-vect-slp.c (vect_schedule_slp): Clear vectorized stmts | |
332 | of loads after scheduling an SLP instance. | |
333 | ||
93675444 JJ |
334 | 2013-03-05 Jakub Jelinek <jakub@redhat.com> |
335 | ||
db4138e3 JJ |
336 | * Makefile.in (dg_target_exps): Add aarch64.exp, epiphany.exp and |
337 | tic6x.exp. | |
338 | (check_gcc_parallelize): Run guality.exp as a separate job from | |
339 | vect.exp with unsorted.exp and $(dg_target_exps) separately from | |
340 | struct-layout-1.exp with stackalign.exp. | |
341 | ||
dd3d1ec0 JJ |
342 | * alias.c (init_alias_analysis): Clear reg_known_equiv_p bitmap. |
343 | ||
b8d381a3 JJ |
344 | PR middle-end/56461 |
345 | * tree-vect-slp.c (vect_supported_load_permutation_p): Free | |
346 | load_index sbitmap even if some bit in it isn't set. | |
347 | ||
b4f9786b JJ |
348 | PR middle-end/56461 |
349 | * tree-ssa-loop-niter.c (bb_queue): Remove typedef. | |
350 | (discover_iteration_bound_by_body_walk): Change queues to | |
351 | vec<vec<basic_block> > and queue to vec<basic_block>. Fix up | |
352 | spelling in comment. Call safe_push on queues[bound_index] directly. | |
353 | Release queues[queue_index] in every iteration unconditionally. | |
354 | Release bounds vector. | |
355 | ||
93675444 JJ |
356 | PR middle-end/56461 |
357 | * tree-vect-stmts.c (free_stmt_vec_info_vec): Call | |
358 | free_stmt_vec_info on any left-over stmt_vec_info in the vector. | |
359 | * tree-vect-loop.c (vect_create_epilog_for_reduction): Release | |
360 | inner_phis vector. | |
361 | ||
3e492e9c RB |
362 | 2013-03-05 Richard Biener <rguenther@suse.de> |
363 | ||
364 | PR lto/56515 | |
365 | * tree-inline.c (remap_blocks_to_null): New function. | |
366 | (expand_call_inline): When expanding a call stmt without | |
367 | an associated block inline remap all callee blocks to NULL. | |
368 | ||
a5d1569a JJ |
369 | 2013-03-05 Jakub Jelinek <jakub@redhat.com> |
370 | ||
86efb5cd JJ |
371 | PR rtl-optimization/56494 |
372 | * simplify-rtx.c (simplify_truncation): If C is narrower than A, | |
373 | optimize (truncate:A (subreg:B (truncate:C X) 0)) into | |
374 | (subreg:A (truncate:C X) 0) instead of (truncate:A X). | |
375 | ||
85f5dbea JJ |
376 | PR middle-end/56461 |
377 | * sel-sched-ir.c (free_sched_pools): Release | |
378 | succs_info_pool.stack[succs_info_pool.max_top] vectors too | |
379 | if succs_info_pool.max_top isn't -1. | |
380 | ||
a5d1569a JJ |
381 | PR bootstrap/56509 |
382 | * opts.c (opts_obstack, opts_concat): Moved to... | |
383 | * opts-common.c (opts_obstack, opts_concat): ... here. | |
384 | ||
4432aa6c JJ |
385 | 2013-03-04 Jakub Jelinek <jakub@redhat.com> |
386 | ||
387 | PR middle-end/56461 | |
388 | * diagnostic.c (diagnostic_append_note): Save and restore old prefix. | |
389 | ||
f3a1fb91 MJ |
390 | 2013-03-04 Martin Jambor <mjambor@suse.cz> |
391 | ||
392 | * tree-dfa.c (get_or_create_ssa_default_def): Use parameter fn in | |
393 | all appropriate places. | |
394 | ||
22110e6c EB |
395 | 2013-01-04 Eric Botcazou <ebotcazou@adacore.com> |
396 | ||
397 | PR tree-optimization/56424 | |
398 | * ipa-split.c (split_function): Do not set the RSO flag if result is | |
399 | not by reference and its type is a register type. | |
400 | ||
a72d8780 | 401 | 2013-03-04 David Holsgrove <david.holsgrove@xilinx.com> |
91c4e421 DH |
402 | |
403 | * config/microblaze/microblaze.c (microblaze_valid_pic_const): New | |
404 | (microblaze_legitimate_pic_operand): Likewise | |
405 | * config/microblaze/microblaze.h (LEGITIMATE_PIC_OPERAND_P): calls | |
406 | new function microblaze_legitimate_pic_operand | |
407 | * config/microblaze/microblaze-protos.h | |
408 | (microblaze_legitimate_pic_operand): Declare. | |
409 | ||
a72d8780 | 410 | 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
82f8f53a | 411 | |
a72d8780 | 412 | * config/microblaze/predicates.md (call_insn_simple_operand): |
82f8f53a | 413 | New predicate for supported rtx code types. |
a72d8780 | 414 | * config/microblaze/microblaze.md (call_internal1): Use |
82f8f53a EI |
415 | call_insn_simple_operand predicate. |
416 | ||
541d9ac8 JJ |
417 | 2013-03-04 Jakub Jelinek <jakub@redhat.com> |
418 | ||
5eb010bc JJ |
419 | PR middle-end/56461 |
420 | * tree-loop-distribution.c (ldist_gen): Call partition_free after each | |
421 | partitions.ordered_remove. | |
422 | ||
30862efc JJ |
423 | PR middle-end/56461 |
424 | * tree-vect-stmts.c (vectorizable_conversion): Don't call | |
425 | vec_oprnds0.create (1) for modifier == NONE. | |
426 | ||
8930f723 JJ |
427 | PR middle-end/56461 |
428 | * tree-vect-stmts.c (vectorizable_shift): Don't call create methods | |
429 | on vec_oprnds0 or vec_oprnds1 before loop, only call it on | |
430 | vec_oprnds1 right before pushing anything to it for | |
431 | scalar_shift_arg. | |
432 | ||
541d9ac8 JJ |
433 | PR middle-end/56461 |
434 | * tree-vect-loop.c (destroy_loop_vec_info): For !clean_stmts, just | |
435 | set nbbs to 0 instead of having separate code path. | |
436 | (vect_analyze_loop_form): Call destroy_loop_vec_info with true | |
437 | instead of false as last argument if returning NULL. | |
438 | ||
7aa7f2e3 SL |
439 | 2013-03-03 Sandra Loosemore <sandra@codesourcery.com> |
440 | ||
441 | * target.def (TARGET_OPTION_VALID_ATTRIBUTE_P): Update comments; | |
442 | the attribute is now called "target" instead of "option". | |
443 | (TARGET_OPTION_PRAGMA_PARSE): Likewise, for the pragma. | |
444 | * doc/tm.texi.in (Target Attributes): Likewise document the correct | |
445 | attribute/pragma name for TARGET_OPTION_VALID_P and | |
446 | TARGET_OPTION_PRAGMA_PARSE. Also copy-edit and correct markup. | |
447 | * doc/tm.texi: Regenerated. | |
448 | ||
8930f723 | 449 | 2013-03-02 David Holsgrove <david.holsgrove@xilinx.com> |
cb8a1637 | 450 | |
8930f723 | 451 | * config/microblaze/microblaze.c: |
cb8a1637 | 452 | Check mcpu, pcmp requirement and set TARGET_REORDER to 0 if not met. |
8930f723 JJ |
453 | * config/microblaze/microblaze.h: Add -mxl-reorder to |
454 | DRIVER_SELF_SPECS. | |
455 | * config/microblaze/microblaze.md: New bswapsi2 and bswaphi2. | |
456 | instructions emitted if TARGET_REORDER. | |
457 | * config/microblaze/microblaze.opt: New option -mxl-reorder set to 1 | |
cb8a1637 | 458 | or 0 for -m/-mno case, but initialises as 2 to detect default use case |
8930f723 | 459 | separately. |
cb8a1637 | 460 | |
4dc1d68c XDL |
461 | 2013-03-01 Xinliang David Li <davidxl@google.com> |
462 | ||
463 | * tree-ssa-uninit.c (compute_control_dep_chain): Limit post-dom | |
464 | walk length. | |
465 | ||
689eaba3 JJ |
466 | 2013-03-01 Jakub Jelinek <jakub@redhat.com> |
467 | ||
9d676bf6 JJ |
468 | PR middle-end/56461 |
469 | * tree-ssa-loop-ivcanon.c (tree_estimate_loop_size): Release path | |
470 | vector even when returning true. Fix up function comment formatting. | |
471 | ||
caff7edf JJ |
472 | PR middle-end/56461 |
473 | * ira-build.c (ira_loop_nodes_count): New variable. | |
474 | (create_loop_tree_nodes): Initialize it. | |
475 | (finish_loop_tree_nodes): Use it instead of looking at current_loops. | |
476 | ||
b6b9227d JJ |
477 | PR middle-end/56461 |
478 | * tree-vect-data-refs.c (vect_permute_store_chain): Avoid using copy | |
479 | method on dr_chain and result_chain. | |
480 | * tree-vect-stmts.c (vectorizable_store): Only call | |
481 | result_chain.create if j == 0. | |
482 | ||
689eaba3 JJ |
483 | PR middle-end/56461 |
484 | * tree-vect-stmts.c (vect_create_vectorized_promotion_stmts): Call | |
485 | vec_oprnds0->release (); rather than vec_oprnds0->truncate (0) | |
486 | before overwriting it. | |
487 | ||
40bf31ed TB |
488 | 2013-03-01 Tobias Burnus <burnus@net-b.de> |
489 | ||
490 | * doc/extended.texi (C Extensions): Change order in @menu | |
491 | to match @node. | |
492 | (Other MIPS Built-in Functions): Move last MIPS entry before | |
493 | "picoChip Built-in Functions". | |
494 | (SH Built-in Functions): Move after RX Built-in Functions. | |
495 | * doc/gcc.texi (Introduction): Change order in @menu | |
496 | to match @node. | |
497 | * doc/md.texi (Constraints): Ditto. | |
498 | * gty.texi (Type Information): Ditto. | |
499 | (User-provided marking routines for template types): Make | |
500 | subsection. | |
501 | * doc/invoke.texi (AArch64 Options): Move before | |
502 | "Adapteva Epiphany Options". | |
503 | ||
e664c61c KS |
504 | 2013-02-28 Konstantin Serebryany <konstantin.s.serebryany@gmail.com> |
505 | Jakub Jelinek <jakub@redhat.com> | |
506 | ||
507 | PR sanitizer/56454 | |
508 | * asan.c (gate_asan): Lookup no_sanitize_address instead of | |
509 | no_address_safety_analysis attribute. | |
510 | * doc/extend.texi (no_address_safety_attribute): Rename to | |
511 | no_sanitize_address attribute, mention no_address_safety_analysis | |
512 | attribute as deprecated alias. | |
513 | ||
37b5ec8f JJ |
514 | 2013-02-28 Jakub Jelinek <jakub@redhat.com> |
515 | ||
516 | PR middle-end/56461 | |
517 | * tree-vectorizer.h (vect_get_slp_defs): Change 3rd argument | |
518 | type to vec<vec<tree> > *. | |
519 | * tree-vect-slp.c (vect_get_slp_defs): Likewise. Change vec_defs | |
520 | to be vec<tree> instead of vec<tree> *, set vec_defs | |
521 | to vNULL and call vec_defs.create (number_of_vects), adjust other | |
522 | uses of vec_defs. | |
523 | * tree-vect-stmts.c (vect_get_vec_defs, vectorizable_call, | |
524 | vectorizable_condition): Adjust vect_get_slp_defs callers. | |
525 | ||
ba96cdfb JG |
526 | 2013-02-28 James Greenhalgh <james.greenhalgh@arm.com> |
527 | ||
528 | * config/aarch64/aarch64.c | |
529 | (aarch64_float_const_representable): Remove unused variable. | |
530 | ||
6f549691 JG |
531 | 2013-02-28 James Greenhalgh <james.greenhalgh@arm.com> |
532 | ||
533 | * config/aarch64/aarch64.c (aarch64_mangle_type): Make static. | |
534 | ||
af55e82d JG |
535 | 2013-02-28 James Greenhalgh <james.greenhalgh@arm.com> |
536 | ||
537 | * config/aarch64/aarch64-builtins.c | |
538 | (aarch64_init_simd_builtins): Make static. | |
539 | ||
1df3f464 JG |
540 | 2013-02-28 James Greenhalgh <james.greenhalgh@arm.com> |
541 | ||
542 | * config/aarch64/aarch64.c | |
543 | (aarch64_simd_make_constant): Make static. | |
544 | ||
f8f42513 MJ |
545 | 2013-02-28 Martin Jambor <mjambor@suse.cz> |
546 | ||
547 | * tree-sra.c (load_assign_lhs_subreplacements): Do not put replacements | |
548 | with no initialization to the RHS of debug statements. | |
549 | ||
b48b3fc4 MJ |
550 | 2013-02-28 Martin Jambor <mjambor@suse.cz> |
551 | ||
552 | PR tree-optimization/56294 | |
553 | * tree-sra.c (analyze_access_subtree): Create replacement declarations. | |
554 | Adjust dumping. | |
555 | (get_access_replacement): Do not call create_access_replacement. | |
556 | Assert a replacement exists. | |
557 | (get_repl_default_def_ssa_name): Create the replacement declaration | |
558 | itself. | |
559 | ||
c3ae224c RR |
560 | 2013-02-28 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
561 | ||
562 | * config/arm/arm.c (arm_output_mi_thunk): Call final_start_function and | |
563 | final_end_function. | |
564 | ||
45fa0eef MP |
565 | 2013-02-28 Marek Polacek <polacek@redhat.com> |
566 | ||
567 | PR rtl-optimization/56466 | |
568 | * loop-unroll.c (unroll_and_peel_loops): Call fix_loop_structure | |
569 | if we're changing a loop. | |
570 | (peel_loops_completely): Likewise. | |
571 | ||
502c067d PC |
572 | 2013-02-28 Paolo Carlini <paolo.carlini@oracle.com> |
573 | ||
574 | PR c++/55813 | |
575 | * doc/invoke.texi ([-Wctor-dtor-privacy]): Complete. | |
576 | ||
ff24afc8 GJL |
577 | 2013-02-28 Georg-Johann Lay <avr@gjlay.de> |
578 | ||
579 | PR target/56445 | |
580 | * config/avr/avr.c (avr_init_builtins): Use 'n' instead of empty | |
581 | macro parameters with: FX_FTYPE_FX, FX_FTYPE_FX_INT, INT_FTYPE_FX, | |
582 | INTX_FTYPE_FX, FX_FTYPE_INTX. | |
583 | * config/avr/builtins.def: Adjust respective DEF_BUILTIN. | |
584 | ||
c7b1fc1b GJL |
585 | 2013-02-28 Georg-Johann Lay <avr@gjlay.de> |
586 | ||
587 | * avr/avr-mcus.def (ata5272, ata5505, attiny1634, ata6285) | |
588 | (ata6286, atmega8a, atmega48pa, ata5790, ata5790n, ata5795) | |
589 | (atmega164pa, atmega165pa, atmega168pa, atmega16hva, atmega16hvb) | |
590 | (atmega16hvbrevb, atmega16m1, atmega16u4, atmega26hvg, atmega32a) | |
591 | (atmega32a, atmega3250pa, atmega3290pa, atmega32c1, atmega32m1) | |
592 | (atmega32u4, atmega32u6, atmega64a, atmega6490a, atmega6490p) | |
593 | (atmega64c1, atmega64m1, atmega64rfa2, atmega64rfr2, atmega32hvb) | |
594 | (atmega32hvbrevb, atmega16hva2, atmega48hvf, at90pwm161) | |
595 | (atmega128a, atmega1284, atmxt112sl, atmxt224, atmxt224e) | |
596 | (atmxt336s, atxmega16a4u, atxmega16c4, atxmega32a4u, atxmega32c4) | |
597 | (atxmega32e5, atxmega64a3u, atxmega64a4u, atxmega64b1, atxmega64b3) | |
598 | (atxmega64c3, atxmega64d4, atxmega128a3u, atxmega128b1) | |
599 | (atxmega128b3, atxmega128c3, atxmega128d4, atmxt540s, atmxt540sreva) | |
600 | (atxmega192a3u, atxmega192c3, atxmega256a3u, atxmega256c3) | |
601 | (atxmega384c3, atxmega384d3, atxmega128a4u): New AVR_MCU. | |
602 | (avrxmega6): Increase max flash segments from 5 to 6. | |
603 | * config/avr/t-multilib: Regenerate. | |
604 | * config/avr/avr-tables.opt: Regenerate. | |
605 | * doc/avr-mmcu.texi: Regenerate. | |
606 | ||
4a0e3cfe GJL |
607 | 2013-02-28 Georg-Johann Lay <avr@gjlay.de> |
608 | ||
609 | * config/avr/avr.h (device_to_arch): Rename to device_to_ld. | |
610 | (avr_device_to_arch): Rename to avr_device_to_ld. | |
611 | (avr_device_to_as): New prototype. | |
612 | (EXTRA_SPEC_FUNCTIONS): Add device_to_as. | |
613 | (ASM_SPEC): Use device_to_as to get -mmcu= and -mno-skip-bug=. | |
614 | * config/avr/driver-avr.c (avr_device_to_as): New. | |
615 | (avr_device_to_arch): Rename to avr_device_to_ld. | |
616 | ||
97785e52 JJ |
617 | 2013-02-27 Jakub Jelinek <jakub@redhat.com> |
618 | ||
3f292312 JJ |
619 | PR middle-end/56461 |
620 | * tree-vect-data-refs.c (vect_permute_load_chain): Avoid using copy | |
621 | method on dr_chain and result_chain. | |
622 | ||
a344216b JJ |
623 | PR middle-end/56461 |
624 | * tree-ssa-loop-niter.c (maybe_lower_iteration_bound): Call | |
625 | pointer_set_destroy on not_executed_last_iteration. | |
626 | ||
f121ad02 JJ |
627 | PR middle-end/56461 |
628 | * tree-vect-loop.c (vectorizable_reduction): Release vect_defs | |
629 | vector. | |
630 | ||
307f83a3 JJ |
631 | PR middle-end/56461 |
632 | * ipa-pure-const.c (propagate): Use FOR_EACH_FUNCTION instead of | |
633 | FOR_EACH_DEFINED_FUNCTION when freeing state. | |
634 | ||
e19624ee JJ |
635 | PR middle-end/56461 |
636 | * df-scan.c (df_insn_delete): Use df_scan_free_mws_vec before | |
637 | pool_free. | |
638 | (df_insn_rescan_debug_internal): Use df_scan_free_mws_vec before | |
639 | overwriting it. | |
640 | ||
90e709fd JJ |
641 | PR middle-end/56461 |
642 | * ipa-cp.c (decide_whether_version_node): Call vec_free on | |
643 | known_aggs[i].items and release known_aggs vector. | |
644 | ||
97785e52 JJ |
645 | PR middle-end/56461 |
646 | * ipa-reference.c (propagate): Free node_info even for alias nodes. | |
647 | ||
648 | 2013-02-27 Edgar E. Iglesias <edgar.iglesias@gmail.com> | |
bbb3a9e2 | 649 | |
97785e52 JJ |
650 | * config/microblaze/microblaze.c (microblaze_emit_compare): |
651 | Use xor for EQ/NE comparisions. | |
652 | * config/microblaze/microblaze.md (cstoresf4): Add constraints | |
653 | (cbranchsf4): Adjust operator to comparison_operator. | |
bbb3a9e2 | 654 | |
6fa5e0ed JJ |
655 | 2013-02-27 Jakub Jelinek <jakub@redhat.com> |
656 | ||
657 | PR middle-end/56461 | |
658 | * tree-flow.h (edge_var_map_vector): Change into va_heap, vl_embed | |
659 | vector. | |
660 | * tree-ssa.c (redirect_edge_var_map_add): Use vec_safe_reserve and | |
661 | vec_safe_push, always update *slot. | |
662 | (redirect_edge_var_map_clear): Use vec_free. | |
663 | (redirect_edge_var_map_dup): Use vec_safe_copy and vec_safe_reserve. | |
664 | (free_var_map_entry): Use vec_free. | |
665 | * tree-cfgcleanup.c (remove_forwarder_block_with_phi): Use | |
666 | FOR_EACH_VEC_SAFE_ELT instead of FOR_EACH_VEC_ELT. | |
667 | ||
436a956a AB |
668 | 2013-02-27 Andrey Belevantsev <abel@ispras.ru> |
669 | ||
670 | PR middle-end/45472 | |
436a956a AB |
671 | * sel-sched-ir.c (merge_expr): Also change vinsn of merged expr |
672 | when the may_trap_p bit of the exprs being merged differs. | |
436a956a AB |
673 | Reorder tests for speculativeness in the logical and operator. |
674 | ||
f5c2caca JJ |
675 | 2013-02-27 Jakub Jelinek <jakub@redhat.com> |
676 | ||
0fcb564b JJ |
677 | * incpath.c (add_standard_paths): Use reconcat instead of concat |
678 | where appropriate and avoid leaking memory. | |
679 | ||
dc357798 JJ |
680 | * opts.h: Include obstack.h. |
681 | (opts_concat): New prototype. | |
682 | (opts_obstack): New declaration. | |
683 | * opts.c (opts_concat): New function. | |
684 | (opts_obstack): New variable. | |
685 | (init_options_struct): Call gcc_init_obstack on opts_obstack. | |
686 | (finish_options): Use opts_concat instead of concat | |
687 | and XOBNEWVEC instead of XNEWVEC. | |
688 | * opts-common.c (generate_canonical_option, decode_cmdline_option, | |
689 | generate_option): Likewise. | |
690 | * Makefile.in (OPTS_H): Depend on $(OBSTACK_H). | |
691 | * lto-wrapper.c (main): Call gcc_init_obstack on opts_obstack. | |
692 | ||
f5c2caca JJ |
693 | PR target/56455 |
694 | * stmt.c (expand_switch_as_decision_tree_p): If flag_pic | |
695 | and ASM_OUTPUT_ADDR_DIFF_ELT isn't defined, return true. | |
696 | ||
d0163673 JJ |
697 | 2013-02-26 Jakub Jelinek <jakub@redhat.com> |
698 | ||
699 | PR middle-end/56461 | |
700 | * lra-spills.c (lra_spill): Free spill_hard_reg at the end. | |
701 | ||
b5ad2b8e JR |
702 | 2013-02-26 Joern Rennecke <joern.rennecke@embecosm.com> |
703 | ||
704 | * config/arm/arm.c (const_ok_for_dimode_op): Back out last change. | |
705 | (arm_block_move_unaligned_straight): Likewise. | |
706 | (arm_adjust_block_mem): Likewise. | |
707 | ||
9b639e2c JR |
708 | 2013-02-26 Joern Rennecke <joern.rennecke@embecosm.com> |
709 | ||
710 | PR target/48901 | |
711 | * config/lm32/lm32.c (gen_int_relational): Remove unused variables | |
712 | temp, cond and label. | |
713 | * config/lm32/lm32.md (ashlsi3): Remove unused variable one. | |
714 | ||
e13a0ccb JR |
715 | PR target/52500 |
716 | * config/c6x/c6x.c (dbx_register_map): Change to unsigned. | |
717 | * config/c6x/c6x.h (dbx_register_map): Update declaration. | |
718 | ||
fbe4f171 JR |
719 | PR target/52501 |
720 | * config/cr16/cr16-protos.h: Move end of RTX_CODE guard below end | |
721 | of prologue/epilogue functions. | |
722 | ||
ae006543 JR |
723 | PR target/52550 |
724 | * config/tilegx/tilegx.c (tilegx_expand_prologue): | |
725 | Remove unused variable cfa_offset. | |
726 | * config/tilepro/tilepro.c (tilepro_expand_prologue): Likewise. | |
727 | ||
c81369fa JR |
728 | PR target/54639 |
729 | * config/mn10300/mn10300.c (mn10300_expand_epilogue): Avoid offset | |
730 | type promotion to unsigned. | |
731 | ||
f8a8fea7 JR |
732 | PR target/54640 |
733 | * config/arm/arm.c (const_ok_for_dimode_op): Make code consistent | |
734 | for HOST_WIDE_INT of 32 bit / same size as int. | |
735 | (arm_block_move_unaligned_straight): Likewise. | |
736 | (arm_adjust_block_mem): Likewise. | |
737 | ||
f8be5169 JR |
738 | PR target/54662 |
739 | * config/mep/t-mep (mep-pragma.o): Use ALL_COMPILERFLAGS instead of | |
740 | ALL_CFLAGS. | |
741 | ||
f1ad3354 MP |
742 | 2013-02-26 Marek Polacek <polacek@redhat.com> |
743 | ||
744 | PR tree-optimization/56426 | |
745 | * tree-ssa-loop.c (tree_ssa_loop_init): Always call | |
746 | scev_initialize. | |
747 | ||
a6af0f42 RB |
748 | 2013-02-26 Richard Biener <rguenther@suse.de> |
749 | ||
750 | PR target/56444 | |
751 | * config/mn10300/mn10300.c (mn10300_scan_for_setlb_lcc): Remove | |
752 | unused variable loops. | |
753 | ||
aca43c6c JJ |
754 | 2013-02-26 Jakub Jelinek <jakub@redhat.com> |
755 | ||
cecbe5d9 JJ |
756 | PR tree-optimization/56448 |
757 | * fold-const.c (operand_equal_p) <case tcc_reference>: Don't look at | |
758 | TREE_SIDE_EFFECTS if flags contain OEP_CONSTANT_ADDRESS_OF. | |
759 | Clear OEP_CONSTANT_ADDRESS_OF from flags before recursing on second or | |
760 | later operands of the references, or even first operand for | |
761 | INDIRECT_REF, TARGET_MEM_REF or MEM_REF. | |
762 | ||
aca43c6c JJ |
763 | PR tree-optimization/56443 |
764 | * tree-vect-stmts.c (get_vectype_for_scalar_type_and_size): For | |
765 | overaligned types, pass TYPE_UNSIGNED (scalar_type) as second argument | |
766 | to type_for_mode langhook. | |
767 | ||
53e2e141 MT |
768 | 2013-02-25 Matt Turner <mattst88@gmail.com> |
769 | ||
770 | * doc/invoke.texi: Document r4700. | |
771 | ||
259ee451 RB |
772 | 2013-02-25 Richard Biener <rguenther@suse.de> |
773 | ||
774 | PR tree-optimization/56175 | |
775 | * tree-ssa-forwprop.c (hoist_conversion_for_bitop_p): New predicate, | |
776 | split out from ... | |
777 | (simplify_bitwise_binary): ... here. Also guard the conversion | |
778 | of (type) X op CST to (type) (X op ((type-x) CST)) with it. | |
779 | ||
6d65e8f1 CM |
780 | 2013-02-25 Catherine Moore <clm@codesourcery.com> |
781 | ||
782 | Revert: | |
783 | 2013-02-24 Catherine Moore <clm@codesourcery.com> | |
784 | Maciej W. Rozycki <macro@codesourcery.com> | |
785 | Tom de Vries <tom@codesourcery.com> | |
a72d8780 | 786 | Nathan Sidwell <nathan@codesourcery.com> |
6d65e8f1 CM |
787 | Iain Sandoe <iain@codesourcery.com> |
788 | Nathan Froyd <froydnj@codesourcery.com> | |
a72d8780 | 789 | Chao-ying Fu <fu@mips.com> |
6d65e8f1 CM |
790 | * doc/extend.texi: (micromips, nomicromips, nocompression): |
791 | Document new function attributes. | |
792 | * doc/invoke.texi (minterlink-compressed, mmicromips, | |
793 | m14k, m14ke, m14kec): Document new options. | |
794 | (minterlink-mips16): Update documentation. | |
795 | * doc/md.texi (ZC, ZD): Document new constraints. | |
796 | * configure.ac (gcc_cv_as_micromips): Check if linker | |
797 | supports the .set micromips directive. | |
798 | * configure: Regenerate. | |
799 | * config.in: Regenerate. | |
800 | * config/mips/mips-tables.opt: Regenerate. | |
801 | * config/mips/micromips.md: New file. | |
802 | * constraints.md (ZC, AD): New constraints. | |
803 | * config/mips/predicates.md (movep_src_register): New predicate. | |
804 | (movep_src_operand): New predicate. | |
805 | (non_volatile_mem_operand): New predicate. | |
806 | * config/mips/mips.md (multimem): New type. | |
807 | (length): Differentiate between 17-bit and 18-bit branch offsets. | |
808 | (MOVEP1, MOVEP2): New mode iterator. | |
809 | (mov_<load>l): Use ZC constraint. | |
810 | (mov_<load>r): Likewise. | |
811 | (mov_<store>l): Likewise. | |
812 | (mov_<store>r): Likewise. | |
813 | (*branch_equality<mode>_inverted): Add microMIPS support. | |
814 | (*branch_equality<mode>): Likewise. | |
815 | (*jump_absolute): Likewise. | |
816 | (indirect_jump_<mode>): Likewise. | |
817 | (tablejump_<mode>): Likewise. | |
818 | (<optab>_internal): Likewise. | |
819 | (sibcall_internal): Likewise. | |
820 | (sibcall_value_internal): Likewise. | |
821 | (prefetch): Use constraint ZD. | |
822 | * config/mips/mips.opt (minterlink-compressed): New option. | |
823 | (minterlink-mips16): Now an alias for minterlink-compressed. | |
824 | (mmicromips): New option. | |
825 | * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZR constraint. | |
826 | (compare_and_swap_12): Likewise. | |
827 | (sync_add<mode>): Likewise. | |
828 | (sync_<optab>_12): Likewise. | |
829 | (sync_old_<optab>_12): Likewise. | |
830 | (sync_new_<optab>_12): Likewise. | |
831 | (sync_nand_12): Likewise. | |
832 | (sync_old_nand_12): Likewise. | |
833 | (sync_new_nand_12): Likewise. | |
834 | (sync_sub<mode>): Likewise. | |
835 | (sync_old_add<mode>): Likewise. | |
836 | (sync_old_sub<mode>): Likewise. | |
837 | (sync_new_add<mode>): Likewise. | |
838 | (sync_new_sub<mode>): Likewise. | |
839 | (sync_<optab><mode>): Likewise. | |
840 | (sync_old_<optab><mode>): Likewise. | |
841 | (sync_new_<optab><mode>): Likewise. | |
842 | (sync_nand<mode>): Likewise. | |
843 | (sync_old_nand<mode>): Likewise. | |
844 | (sync_new_nand<mode>): Likewise. | |
845 | (sync_lock_test_and_set<mode>): Likewise. | |
846 | (test_and_set_12): Likewise. | |
847 | (atomic_compare_and_swap<mode>): Likewise. | |
848 | (atomic_exchange<mode>_llsc): Likewise. | |
849 | (atomic_fetch_add<mode>_llsc): Likewise. | |
850 | * config/mips/mips-cpus.def (m14kc, m14k): New processors. | |
851 | * config/mips/mips-protos.h (umips_output_save_restore): New prototype. | |
852 | (umips_save_restore_pattern_p): Likewise. | |
853 | (umips_load_store_pair_p): Likewise. | |
854 | (umips_output_load_store_pair): Likewise. | |
855 | (umips_movep_target_p): Likewise. | |
856 | (umips_12bit_offset_address_p): Likewise. | |
857 | * config/mips/mips.c (MIPS_MAX_FIRST_STEP): Update for microMIPS. | |
858 | (mips_base_mips16): Rename this... | |
859 | (mips_base_compression_flags): ...to this. Update all uses. | |
860 | (mips_attribute_table): Add micromips, nomicromips and nocompression. | |
861 | (mips_mips16_decl_p): Delete. | |
862 | (mips_nomips16_decl_p): Delete. | |
863 | (mips_get_compress_on_flags): New function. | |
864 | (mips_get_compress_off_flags): New function. | |
865 | (mips_get_compress_mode): New function. | |
866 | (mips_get_compress_on_name): New function. | |
867 | (mips_get_compress_off_name): New function. | |
868 | (mips_insert_attributes): Support multiple compression types. | |
869 | (mips_merge_decl_attributes): Likewise. | |
870 | (umips_12bit_offset_address_p): New function. | |
871 | (mips_start_function_definition): Emit .set micromips directive. | |
872 | (mips_call_may_need_jalx_p): New function. | |
873 | (mips_function_ok_for_sibcall): Add microMIPS support. | |
874 | (mips_print_operand_punctuation): Support short delay slots and | |
875 | compact jumps. | |
876 | (umips_swm_mask, umips_swm_encoding): New. | |
877 | (umips_build_save_restore): New function. | |
878 | (mips_for_each_saved_gpr_and_fpr): Add microMIPS support. | |
879 | (was_mips16_p): Remove. | |
880 | (old_compression_mode): New. | |
881 | (mips_set_compression_mode): New function. | |
882 | (mips_set_current_function): Add microMIPS support. | |
883 | (mips_option_override): Likewise. | |
884 | (umips_save_restore_pattern_p): New function. | |
885 | (umips_output_save_restore): New function. | |
886 | (umips_load_store_pair_p_1): New function. | |
887 | (umips_load_store_pair_p): New function. | |
888 | (umips_output_load_store_pair_1): New function. | |
889 | (umips_output_load_store_pair): New function. | |
890 | (umips_movep_target_p) New function. | |
891 | (mips_prepare_pch_save): Add microMIPS support. | |
892 | * config/mips/mips.h (TARGET_COMPRESSION): New. | |
893 | (TARGET_CPU_CPP_BUILTINS): Update macro | |
894 | to use new compression flags and to support microMIPS. | |
895 | (MIPS_ISA_LEVEL_SPEC): Add m14k processors. | |
896 | (MIPS_ARCH_FLOAT_SPEC): Likewise. | |
897 | (ISA_HAS_LWXS): Include TARGET_MICROMIPS. | |
898 | (ISA_HAS_LOAD_DELAY): Exclude TARGET_MICROMIPS. | |
899 | (ASM_SPEC): Support mmicromips and mno-micromips. | |
900 | (M16STORE_REG_P): New macro. | |
901 | (MIPS_CALL): Support TARGET_MICROMIPS. | |
902 | (MICROMIPS_J): New macro. | |
903 | (mips_base_mips16): Rename this... | |
904 | (mips_base_compression_flags): ...to this. | |
905 | (UMIPS_12BIT_OFFSET_P): New macro. | |
906 | * config/mips/t-sde: (MULTILIB_OPTIONS): Add microMIPS. | |
907 | (MULTILIB_DIRNAMES): Likewise. | |
908 | ||
5e5df392 TV |
909 | 2013-02-25 Tom de Vries <tom@codesourcery.com> |
910 | ||
911 | PR rtl-optimization/56131 | |
912 | * insn-notes.def (INSN_NOTE_BASIC_BLOCK): Update comment. | |
913 | * cfgrtl.c (delete_insn): Don't reorder NOTE_INSN_DELETED_LABEL and | |
914 | NOTE_INSN_BASIC_BLOCK if BLOCK_FOR_INSN == NULL. | |
915 | ||
3fdb53c1 TB |
916 | 2013-02-25 Tobias Burnus <burnus@net-b.de> |
917 | ||
918 | * doc/invoke.texi (-fsanitize=): Move from optimization | |
919 | to debugging options. | |
920 | ||
ed358aea AB |
921 | 2013-02-25 Andrey Belevantsev <abel@ispras.ru> |
922 | ||
923 | * sched-deps.c (sched_analyze_insn): Fix typo in comment. | |
924 | ||
f45e9053 AB |
925 | 2013-02-25 Andrey Belevantsev <abel@ispras.ru> |
926 | Alexander Monakov <amonakov@ispras.ru> | |
927 | ||
928 | PR middle-end/56077 | |
929 | * sched-deps.c (sched_analyze_insn): When reg_pending_barrier, | |
930 | flush pending lists also on non-jumps. Adjust comment. | |
931 | ||
6941b508 CM |
932 | 2013-02-24 Catherine Moore <clm@codesourcery.com> |
933 | Maciej W. Rozycki <macro@codesourcery.com> | |
934 | Tom de Vries <tom@codesourcery.com> | |
a72d8780 | 935 | Nathan Sidwell <nathan@codesourcery.com> |
6941b508 CM |
936 | Iain Sandoe <iain@codesourcery.com> |
937 | Nathan Froyd <froydnj@codesourcery.com> | |
a72d8780 | 938 | Chao-ying Fu <fu@mips.com> |
6941b508 CM |
939 | |
940 | * doc/extend.texi: (micromips, nomicromips, nocompression): | |
941 | Document new function attributes. | |
942 | * doc/invoke.texi (minterlink-compressed, mmicromips, | |
943 | m14k, m14ke, m14kec): Document new options. | |
944 | (minterlink-mips16): Update documentation. | |
945 | * doc/md.texi (ZC, ZD): Document new constraints. | |
946 | * configure.ac (gcc_cv_as_micromips): Check if linker | |
947 | supports the .set micromips directive. | |
948 | * configure: Regenerate. | |
949 | * config.in: Regenerate. | |
950 | * config/mips/mips-tables.opt: Regenerate. | |
951 | * config/mips/micromips.md: New file. | |
952 | * constraints.md (ZC, AD): New constraints. | |
953 | * config/mips/predicates.md (movep_src_register): New predicate. | |
954 | (movep_src_operand): New predicate. | |
955 | (non_volatile_mem_operand): New predicate. | |
956 | * config/mips/mips.md (multimem): New type. | |
957 | (length): Differentiate between 17-bit and 18-bit branch offsets. | |
958 | (MOVEP1, MOVEP2): New mode iterator. | |
3fdb53c1 | 959 | (mov_<load>l): Use ZC constraint. |
6941b508 CM |
960 | (mov_<load>r): Likewise. |
961 | (mov_<store>l): Likewise. | |
962 | (mov_<store>r): Likewise. | |
963 | (*branch_equality<mode>_inverted): Add microMIPS support. | |
964 | (*branch_equality<mode>): Likewise. | |
965 | (*jump_absolute): Likewise. | |
966 | (indirect_jump_<mode>): Likewise. | |
967 | (tablejump_<mode>): Likewise. | |
968 | (<optab>_internal): Likewise. | |
969 | (sibcall_internal): Likewise. | |
970 | (sibcall_value_internal): Likewise. | |
971 | (prefetch): Use constraint ZD. | |
972 | * config/mips/mips.opt (minterlink-compressed): New option. | |
973 | (minterlink-mips16): Now an alias for minterlink-compressed. | |
974 | (mmicromips): New option. | |
975 | * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZR constraint. | |
976 | (compare_and_swap_12): Likewise. | |
977 | (sync_add<mode>): Likewise. | |
978 | (sync_<optab>_12): Likewise. | |
979 | (sync_old_<optab>_12): Likewise. | |
980 | (sync_new_<optab>_12): Likewise. | |
981 | (sync_nand_12): Likewise. | |
982 | (sync_old_nand_12): Likewise. | |
983 | (sync_new_nand_12): Likewise. | |
984 | (sync_sub<mode>): Likewise. | |
985 | (sync_old_add<mode>): Likewise. | |
986 | (sync_old_sub<mode>): Likewise. | |
987 | (sync_new_add<mode>): Likewise. | |
988 | (sync_new_sub<mode>): Likewise. | |
989 | (sync_<optab><mode>): Likewise. | |
990 | (sync_old_<optab><mode>): Likewise. | |
991 | (sync_new_<optab><mode>): Likewise. | |
992 | (sync_nand<mode>): Likewise. | |
993 | (sync_old_nand<mode>): Likewise. | |
994 | (sync_new_nand<mode>): Likewise. | |
995 | (sync_lock_test_and_set<mode>): Likewise. | |
996 | (test_and_set_12): Likewise. | |
997 | (atomic_compare_and_swap<mode>): Likewise. | |
998 | (atomic_exchange<mode>_llsc): Likewise. | |
999 | (atomic_fetch_add<mode>_llsc): Likewise. | |
1000 | * config/mips/mips-cpus.def (m14kc, m14k): New processors. | |
1001 | * config/mips/mips-protos.h (umips_output_save_restore): New prototype. | |
1002 | (umips_save_restore_pattern_p): Likewise. | |
1003 | (umips_load_store_pair_p): Likewise. | |
1004 | (umips_output_load_store_pair): Likewise. | |
1005 | (umips_movep_target_p): Likewise. | |
1006 | (umips_12bit_offset_address_p): Likewise. | |
1007 | * config/mips/mips.c (MIPS_MAX_FIRST_STEP): Update for microMIPS. | |
1008 | (mips_base_mips16): Rename this... | |
1009 | (mips_base_compression_flags): ...to this. Update all uses. | |
1010 | (mips_attribute_table): Add micromips, nomicromips and nocompression. | |
1011 | (mips_mips16_decl_p): Delete. | |
1012 | (mips_nomips16_decl_p): Delete. | |
3fdb53c1 | 1013 | (mips_get_compress_on_flags): New function. |
6941b508 CM |
1014 | (mips_get_compress_off_flags): New function. |
1015 | (mips_get_compress_mode): New function. | |
1016 | (mips_get_compress_on_name): New function. | |
1017 | (mips_get_compress_off_name): New function. | |
1018 | (mips_insert_attributes): Support multiple compression types. | |
1019 | (mips_merge_decl_attributes): Likewise. | |
1020 | (umips_12bit_offset_address_p): New function. | |
1021 | (mips_start_function_definition): Emit .set micromips directive. | |
1022 | (mips_call_may_need_jalx_p): New function. | |
1023 | (mips_function_ok_for_sibcall): Add microMIPS support. | |
1024 | (mips_print_operand_punctuation): Support short delay slots and | |
1025 | compact jumps. | |
1026 | (umips_swm_mask, umips_swm_encoding): New. | |
1027 | (umips_build_save_restore): New function. | |
1028 | (mips_for_each_saved_gpr_and_fpr): Add microMIPS support. | |
1029 | (was_mips16_p): Remove. | |
1030 | (old_compression_mode): New. | |
1031 | (mips_set_compression_mode): New function. | |
1032 | (mips_set_current_function): Add microMIPS support. | |
1033 | (mips_option_override): Likewise. | |
1034 | (umips_save_restore_pattern_p): New function. | |
1035 | (umips_output_save_restore): New function. | |
1036 | (umips_load_store_pair_p_1): New function. | |
1037 | (umips_load_store_pair_p): New function. | |
1038 | (umips_output_load_store_pair_1): New function. | |
1039 | (umips_output_load_store_pair): New function. | |
1040 | (umips_movep_target_p) New function. | |
1041 | (mips_prepare_pch_save): Add microMIPS support. | |
1042 | * config/mips/mips.h (TARGET_COMPRESSION): New. | |
1043 | (TARGET_CPU_CPP_BUILTINS): Update macro | |
1044 | to use new compression flags and to support microMIPS. | |
1045 | (MIPS_ISA_LEVEL_SPEC): Add m14k processors. | |
1046 | (MIPS_ARCH_FLOAT_SPEC): Likewise. | |
1047 | (ISA_HAS_LWXS): Include TARGET_MICROMIPS. | |
1048 | (ISA_HAS_LOAD_DELAY): Exclude TARGET_MICROMIPS. | |
1049 | (ASM_SPEC): Support mmicromips and mno-micromips. | |
1050 | (M16STORE_REG_P): New macro. | |
1051 | (MIPS_CALL): Support TARGET_MICROMIPS. | |
1052 | (MICROMIPS_J): New macro. | |
1053 | (mips_base_mips16): Rename this... | |
1054 | (mips_base_compression_flags): ...to this. | |
1055 | (UMIPS_12BIT_OFFSET_P): New macro. | |
1056 | * config/mips/t-sde: (MULTILIB_OPTIONS): Add microMIPS. | |
1057 | (MULTILIB_DIRNAMES): Likewise. | |
1058 | ||
cdebbc6d JJ |
1059 | 2013-02-24 Jakub Jelinek <jakub@redhat.com> |
1060 | ||
1061 | PR target/52555 | |
1062 | * target-globals.c (save_target_globals): For init_reg_sets and | |
1063 | target_reinit remporarily set this_fn_optabs to this_target_optabs. | |
1064 | ||
18c63565 JG |
1065 | 2013-02-22 James Grennahlgh <james.greenhalgh@arm.com> |
1066 | ||
1067 | * config/aarch64/aarch64-simd-builtins.def: Add copyright header. | |
1068 | * config/aarch64/t-aarch64 | |
1069 | (aarch64-builtins.o): Depend on aarch64-simd-builtins.def. | |
1070 | ||
2194f7a2 VM |
1071 | 2013-02-22 Vladimir Makarov <vmakarov@redhat.com> |
1072 | ||
1073 | PR inline-asm/56148 | |
1074 | * lra-constraints.c (process_alt_operands): Reload operand | |
1075 | conflicting with earlier clobber only if no more other conflicting | |
1076 | operands. | |
1077 | ||
7d613735 JJ |
1078 | 2013-02-22 Jakub Jelinek <jakub@redhat.com> |
1079 | ||
1080 | PR sanitizer/56393 | |
1081 | * config/gnu-user.h (LIBASAN_EARLY_SPEC): Link in libasan_preinit.o | |
1082 | if not linking a shared library. | |
1083 | ||
ac8d93a7 SL |
1084 | 2013-02-22 Seth LaForge <sethml@google.com> |
1085 | ||
1086 | * config.gcc (arm*-*-eabi*): Treat arm*eb as big-endian. | |
1087 | ||
e0237780 GY |
1088 | 2013-02-22 Greta Yorsh <Greta.Yorsh@arm.com> |
1089 | ||
3fdb53c1 TB |
1090 | * config/arm/arm.md (split for extendsidi): Update condition. |
1091 | (zero_extend<mode>di2,extend<mode>di2): Add an alternative. | |
1092 | * config/arm/iterators.md (qhs_extenddi_cstr): Likewise. | |
1093 | (qhs_zextenddi_cstr): Likewise. | |
e0237780 | 1094 | |
d7fde18c JJ |
1095 | 2013-02-21 Jakub Jelinek <jakub@redhat.com> |
1096 | ||
be63b77d JJ |
1097 | PR middle-end/56420 |
1098 | * expmed.c (EXACT_POWER_OF_2_OR_ZERO_P): Do subtraction in uhwi, to | |
1099 | avoid signed wrapping. | |
1100 | (expand_mult): Handle properly multiplication by | |
1101 | ((dword_type) -1) << (BITS_PER_WORD - 1). Improve multiplication by | |
1102 | ((dword_type) 1) << (BITS_PER_WORD - 1). Avoid undefined behavior | |
1103 | in the compiler if coeff is HOST_WIDE_INT_MIN. | |
1104 | (expand_divmod): Don't make ext_op1 static, change it's type to | |
1105 | uhwi. Avoid undefined behavior in -INTVAL (op1). | |
1106 | ||
d7fde18c JJ |
1107 | PR rtl-optimization/50339 |
1108 | * lower-subreg.h (struct lower_subreg_choices): Add splitting_ashiftrt | |
1109 | field. | |
1110 | * lower-subreg.c (compute_splitting_shift): Handle ASHIFTRT. | |
1111 | (compute_costs): Call compute_splitting_shift also for ASHIFTRT | |
1112 | into splitting_ashiftrt field. | |
1113 | (find_decomposable_shift_zext, resolve_shift_zext): Handle also | |
1114 | ASHIFTRT. | |
1115 | (dump_choices): Fix up printing LSHIFTRT choices, print ASHIFTRT | |
1116 | choices. | |
1117 | ||
6aad4455 AH |
1118 | 2013-02-20 Aldy Hernandez <aldyh@redhat.com> |
1119 | ||
1120 | PR middle-end/56108 | |
1121 | * trans-mem.c (execute_tm_mark): Do not expand transactions that | |
1122 | are sure to go irrevocable. | |
1123 | ||
38fe784d HPN |
1124 | 2013-02-21 Hans-Peter Nilsson <hp@axis.com> |
1125 | ||
1126 | * doc/rtl.texi (vec_concat, vec_duplicate): Mention that | |
1127 | scalars are valid operands. | |
1128 | ||
0fd44da3 MJ |
1129 | 2013-02-21 Martin Jambor <mjambor@suse.cz> |
1130 | ||
1131 | PR tree-optimization/56310 | |
1132 | * ipa-cp.c (agg_replacements_to_vector): New parameter index, copy | |
1133 | only matching indices and non-negative final offsets. | |
1134 | (intersect_aggregates_with_edge): Pass src_idx to | |
1135 | agg_replacements_to_vector. Pass src_idx insstead of index to | |
1136 | intersect_with_agg_replacements. | |
1137 | ||
7a92038b MJ |
1138 | 2013-02-21 Martin Jambor <mjambor@suse.cz> |
1139 | ||
1140 | * ipa-cp.c (good_cloning_opportunity_p): Dump the real threshold | |
1141 | instead of hard-wired defaults. | |
1142 | ||
c0da9c37 MR |
1143 | 2013-02-21 Maciej W. Rozycki <macro@codesourcery.com> |
1144 | ||
1145 | * doc/invoke.texi (MIPS Options): Update documentation of the | |
1146 | floating-point multiply-accumulate instruction restrictions. | |
1147 | ||
d247ea0c | 1148 | 2013-02-21 Kostya Serebryany <kcc@google.com> |
7df59255 KS |
1149 | |
1150 | * config/i386/i386.c (ix86_asan_shadow_offset): Use 0x7fff8000 as | |
1151 | asan_shadow_offset on x86_64 linux. | |
1152 | ||
22deefcb RB |
1153 | 2013-02-21 Richard Biener <rguenther@suse.de> |
1154 | ||
1155 | PR tree-optimization/56415 | |
1156 | Revert | |
1157 | 2013-02-11 Richard Biener <rguenther@suse.de> | |
1158 | ||
1159 | PR tree-optimization/56273 | |
1160 | * tree-vrp.c (simplify_cond_using_ranges): Disable for the | |
1161 | first VRP run. | |
1162 | ||
7bcc6e75 JJ |
1163 | 2013-02-21 Jakub Jelinek <jakub@redhat.com> |
1164 | ||
a0ad148f JJ |
1165 | PR bootstrap/56258 |
1166 | * doc/invoke.texi (-fdump-rtl-pro_and_epilogue): Use @item | |
1167 | instead of @itemx. | |
1168 | ||
7bcc6e75 JJ |
1169 | PR inline-asm/56405 |
1170 | * expr.c (expand_expr_real_1) <case TARGET_MEM_REF, MEM_REF>: Don't | |
1171 | use movmisalign or extract_bit_field for EXPAND_MEMORY modifier. | |
1172 | ||
a0a7b611 JH |
1173 | 2013-02-20 Jan Hubicka <jh@suse.cz> |
1174 | ||
1175 | PR tree-optimization/56265 | |
1176 | * ipa-prop.c (ipa_make_edge_direct_to_target): Fixup callgraph when target is | |
1177 | referenced for firs ttime. | |
1178 | ||
c0e50f72 RB |
1179 | 2013-02-20 Richard Biener <rguenther@suse.de> |
1180 | ||
1181 | * tree-call-cdce.c (tree_call_cdce): Do not remove unused locals. | |
1182 | * tree-ssa-forwprop.c (ssa_forward_propagate_and_combine): Likewise. | |
1183 | * tree-ssa-dce.c (perform_tree_ssa_dce): Likewise. | |
1184 | * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Do | |
1185 | not return anything. | |
1186 | (rename_ssa_copies): Do not remove unused locals. | |
1187 | * tree-ssa-ccp.c (do_ssa_ccp): Likewise. | |
1188 | * tree-ssanames.c (pass_release_ssa_names): Remove unused | |
1189 | locals first. | |
1190 | * passes.c (execute_function_todo): Do not schedule unused locals | |
1191 | removal if cleanup_tree_cfg did something. | |
1192 | * tree-ssa-live.c (remove_unused_locals): Dump statistics | |
1193 | about the number of removed locals. | |
1194 | ||
a52ca739 RB |
1195 | 2013-02-20 Richard Biener <rguenther@suse.de> |
1196 | ||
1197 | PR tree-optimization/56398 | |
1198 | * tree-vect-loop-manip.c (adjust_debug_stmts): Skip | |
1199 | SSA default defs. | |
1200 | ||
ec9c9d1b MJ |
1201 | 2013-02-20 Martin Jambor <mjambor@suse.cz> |
1202 | ||
1203 | PR tree-optimization/55334 | |
1204 | * ipa-cp.c (initialize_node_lattices): Disable IPA-CP through and to | |
1205 | restricted pointers to arrays. | |
1206 | ||
e91c8ed6 RB |
1207 | 2013-02-20 Richard Biener <rguenther@suse.de> |
1208 | Jakub Jelinek <jakub@redhat.com> | |
1209 | ||
1210 | PR tree-optimization/56396 | |
1211 | * tree-ssa-ccp.c (n_const_val): New static variable. | |
1212 | (get_value): Return NULL for SSA names we don't have a lattice | |
1213 | entry for. | |
1214 | (ccp_initialize): Initialize n_const_val. | |
1215 | * tree-ssa-copy.c (n_copy_of): New static variable. | |
1216 | (init_copy_prop): Initialize n_copy_of. | |
1217 | (get_value): Return NULL_TREE for SSA names we don't have a | |
1218 | lattice entry for. | |
1219 | ||
3d916479 MJ |
1220 | 2013-02-20 Martin Jambor <mjambor@suse.cz> |
1221 | ||
1222 | * ipa-cp.c (initialize_node_lattices): Fix dumping condition. | |
1223 | ||
71a86758 RB |
1224 | 2013-02-20 Richard Biener <rguenther@suse.de> |
1225 | ||
1226 | * genpreds.c (write_lookup_constraint): Do not compare first | |
1227 | letter of the constraint again. | |
1228 | ||
79836a12 RB |
1229 | 2013-02-20 Richard Biener <rguenther@suse.de> |
1230 | ||
1231 | * tree-ssa-loop-ivopts.c (alloc_use_cost_map): Use bitmap_count_bits | |
1232 | and ceil_log2. | |
1233 | (get_use_iv_cost): Terminate hashtable walk when coming across | |
1234 | an empty entry. | |
1235 | ||
bbe4fb2c IZ |
1236 | 2013-02-20 Igor Zamyatin <igor.zamyatin@intel.com> |
1237 | ||
1238 | * config/i386/i386.c (initial_ix86_tune_features): Turn on fp | |
1239 | reassociation for avx2 targets. | |
1240 | ||
a72d8780 | 1241 | 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
79836a12 | 1242 | |
c77f83d5 EI |
1243 | * config/microblaze/microblaze.c: microblaze_has_clz = 0 |
1244 | Add version check for v8.10.a to enable microblaze_has_clz | |
1245 | * config/microblaze/microblaze.h: Add TARGET_HAS_CLZ as combined | |
1246 | version and TARGET_PATTERN_COMPARE check | |
1247 | * config/microblaze/microblaze.md: New clzsi2 instruction | |
3fdb53c1 | 1248 | |
a72d8780 | 1249 | 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
959434e6 | 1250 | |
a72d8780 | 1251 | * config/microblaze/microblaze.md (call_value_intern): Check symbol is |
959434e6 EI |
1252 | function before branching. |
1253 | ||
242387fa AB |
1254 | 2012-02-19 Andrey Belevantsev <abel@ispras.ru> |
1255 | ||
1256 | * sel-sched-dump.c (dump_insn_rtx_flags): Explicitly set | |
1257 | DUMP_INSN_RTX_UID. | |
1258 | (dump_insn_rtx_1): Pass PATTERN (insn) to str_pattern_slim. | |
1259 | ||
b4979ab9 AB |
1260 | 2012-02-19 Andrey Belevantsev <abel@ispras.ru> |
1261 | ||
1262 | PR middle-end/55889 | |
1263 | ||
1264 | * sel-sched.c: Include ira.h. | |
1265 | (implicit_clobber_conflict_p): New function. | |
1266 | (moveup_expr): Use it. | |
1267 | * Makefile.in (sel-sched.o): Depend on ira.h. | |
1268 | ||
24d63016 RB |
1269 | 2013-02-19 Richard Biener <rguenther@suse.de> |
1270 | ||
1271 | PR tree-optimization/56384 | |
1272 | * tree-ssa-sccvn.h (struct vn_phi_s): Add type member. | |
1273 | (vn_hash_type): Split out from ... | |
1274 | (vn_hash_constant_with_type): ... here. | |
1275 | * tree-ssa-sccvn.c (vn_phi_compute_hash): Use vn_hash_type. | |
1276 | (vn_phi_eq): Compare types from vn_phi_s structure. | |
1277 | (vn_phi_lookup): Populate vn_phi_s type. | |
1278 | (vn_phi_insert): Likewise. | |
1279 | ||
a475fd3d JJ |
1280 | 2013-02-19 Jakub Jelinek <jakub@redhat.com> |
1281 | ||
47cc28f5 JJ |
1282 | PR tree-optimization/56350 |
1283 | * tree-vect-loop.c (vectorizable_reduction): If orig_stmt, return false | |
1284 | if haven't found reduction or nested cycle operand, rather than | |
1285 | asserting we must find it. | |
1286 | ||
a475fd3d JJ |
1287 | PR tree-optimization/56381 |
1288 | * tree-ssa-pre.c (create_expression_by_pieces): Fix up last argument | |
1289 | to fold_build3. | |
1290 | ||
1291 | 2013-02-18 Aldy Hernandez <aldyh@redhat.com> | |
135204dd AH |
1292 | Jakub Jelinek <jakub@redhat.com> |
1293 | ||
1294 | PR target/52555 | |
1295 | * genopinit.c (raw_optab_handler): Use this_fn_optabs. | |
1296 | (swap_optab_enable): Same. | |
1297 | (init_all_optabs): Use argument instead of global. | |
1298 | * tree.h (struct tree_optimization_option): New field | |
1299 | target_optabs. | |
1300 | * expr.h (init_all_optabs): Add argument to prototype. | |
1301 | (TREE_OPTIMIZATION_OPTABS): New. | |
1302 | (save_optabs_if_changed): Protoize. | |
1303 | * optabs.h: Declare this_fn_optabs. | |
1304 | * optabs.c (save_optabs_if_changed): New. | |
1305 | Declare this_fn_optabs. | |
1306 | (init_optabs): Add argument to init_all_optabs() call. | |
1307 | * function.c (invoke_set_current_function_hook): Handle per | |
1308 | function optabs. | |
1309 | * function.h (struct function): New field optabs. | |
1310 | * config/mips/mips.c (mips_set_mips16_mode): Handle when | |
1311 | optimization_current_node has changed. | |
1312 | * target-globals.h (save_target_globals_default_opts): Protoize. | |
1313 | * target-globals.c (save_target_globals_default_opts): New. | |
1314 | ||
3f587ca3 JDA |
1315 | 2013-02-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
1316 | ||
1317 | PR target/56347 | |
1318 | * config/pa/pa.c (pa_conditional_register_usage): On HP-UX, mark | |
1319 | registers %fr12 and %fr12R as call used. | |
ceaca33e JDA |
1320 | |
1321 | PR target/56214 | |
1322 | * config/pa/predicates.md (base14_operand): Except for BLKmode, QImode | |
1323 | and HImode, require all displacements to be an integer multiple of their | |
1324 | mode size. | |
1325 | * config/pa/pa.c (pa_legitimate_address_p): For REG+BASE addresses, | |
1326 | only allow QImode and HImode when reload is in progress and strict is | |
1327 | true. Likewise for symbolic addresses. Use base14_operand to check | |
1328 | displacements in REG+BASE addresses. | |
1329 | ||
fe0b4796 RB |
1330 | 2013-02-18 Richard Biener <rguenther@suse.de> |
1331 | ||
1332 | PR tree-optimization/56366 | |
1333 | * tree-vect-loop.c (get_initial_def_for_induction): Properly | |
1334 | handle sign-conversion of outer-loop initial induction value. | |
1335 | ||
6aaf596b RB |
1336 | 2013-02-18 Richard Biener <rguenther@suse.de> |
1337 | ||
73db8ff1 | 1338 | PR middle-end/56349 |
6aaf596b RB |
1339 | * cfghooks.c (merge_blocks): If we merge a latch into another |
1340 | block adjust references to it. | |
1341 | * cfgloop.c (flow_loops_find): Reset latch before recomputing it. | |
1342 | (verify_loop_structure): Verify that a recorded latch is in fact | |
1343 | a latch. | |
1344 | ||
5e97dfb6 RB |
1345 | 2013-02-18 Richard Biener <rguenther@suse.de> |
1346 | ||
1347 | PR tree-optimization/56321 | |
1348 | * tree-ssa-reassoc.c (propagate_op_to_single_use): Properly | |
1349 | order SSA name release and virtual operand unlinking. | |
1350 | ||
825527e8 EI |
1351 | 2013-02-17 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
1352 | ||
1353 | * config/microblaze/microblaze.md (save_stack_block): Define. | |
1354 | (restore_stack_block): Likewise. | |
1355 | ||
debd11d9 EI |
1356 | 2013-02-16 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
1357 | ||
1358 | * config/microblaze/linux.h (TARGET_SUPPORTS_PIC): Define as 1. | |
1359 | * config/microblaze/microblaze.h (TARGET_SUPPORTS_PIC): Define as 1. | |
1360 | * config/microblaze/microblaze.c (microblaze_option_override): | |
1361 | Bail out early for PIC modes when target does not support PIC. | |
1362 | ||
8ec77be0 EI |
1363 | 2013-02-16 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
1364 | ||
1365 | * config/microblaze/microblaze.c (microblaze_asm_trampoline_template): | |
1366 | Replace with a microblaze version. | |
1367 | (microblaze_trampoline_init): Adapt for microblaze. | |
1368 | * gcc/config/microblaze/microblaze.h (TRAMPOLINE_SIZE): Adapt for | |
1369 | microblaze. | |
1370 | ||
b41288b3 JJ |
1371 | 2013-02-16 Jakub Jelinek <jakub@redhat.com> |
1372 | Dodji Seketeli <dodji@redhat.com> | |
1373 | ||
1374 | PR asan/56330 | |
1375 | * asan.c (get_mem_refs_of_builtin_call): White space and style | |
1376 | cleanup. | |
1377 | (instrument_mem_region_access): Do not forget to always put | |
1378 | instrumentation of the of 'base' and 'base + len' in a "if (len != | |
1379 | 0) statement, even for cases where either 'base' or 'base + len' | |
1380 | are not instrumented -- because they have been previously | |
1381 | instrumented. Simplify the logic by putting all the statements | |
1382 | instrument 'base + len' inside a sequence, and then insert that | |
1383 | sequence right before the current insertion point. Then, to | |
1384 | instrument 'base + len', just get an iterator on that statement. | |
1385 | And do not forget to update the pointer to iterator the function | |
1386 | received as argument. | |
1387 | ||
47918951 VM |
1388 | 2013-02-15 Vladimir Makarov <vmakarov@redhat.com> |
1389 | ||
1390 | PR rtl-optimization/56348 | |
1391 | * lra-assigns.c (reload_pseudo_compare_func): Prefer bigger pseudos. | |
1392 | ||
3fb7c699 SB |
1393 | 2013-02-15 Steven Bosscher <steven@gcc.gnu.org> |
1394 | ||
1395 | * graph.c (start_graph_dump): Print dumpfile base as digraph label. | |
1396 | (clean_graph_dump_file): Pass base to start_graph_dump. | |
1397 | ||
576fe41a RH |
1398 | 2013-02-14 Richard Henderson <rth@redhat.com> |
1399 | ||
1400 | PR target/55941 | |
1401 | * lower-subreg.c (simple_move): Check dest mode instead of src mode. | |
1402 | ||
bb3accfa SB |
1403 | 2013-02-14 Steven Bosscher <steven@gcc.gnu.org> |
1404 | ||
1405 | * collect2-aix.h: Define F_LOADONLY. | |
1406 | ||
03143140 RB |
1407 | 2013-02-14 Richard Biener <rguenther@suse.de> |
1408 | ||
1409 | PR lto/50494 | |
1410 | * varasm.c (output_constant_def_1): Get the decl representing | |
1411 | the constant as argument. | |
1412 | (output_constant_def): Wrap output_constant_def_1. | |
1413 | (make_decl_rtl): Use output_constant_def_1 with the decl | |
1414 | representing the constant. | |
1415 | (build_constant_desc): Optionally re-use a decl already | |
1416 | representing the constant. | |
1417 | (tree_output_constant_def): Adjust. | |
1418 | ||
8fb06726 DS |
1419 | 2013-02-14 Dodji Seketeli <dodji@redhat.com> |
1420 | ||
1421 | Fix an asan crash | |
1422 | * asan.c (instrument_builtin_call): Really put the length of the | |
1423 | second source argument into src1_len. | |
1424 | ||
c4bfe8bf JJ |
1425 | 2013-02-13 Jakub Jelinek <jakub@redhat.com> |
1426 | ||
1427 | * asan.c (create_cond_insert_point): Add create_then_fallthru_edge | |
1428 | argument. If it is false, don't create edge from then_bb to | |
1429 | fallthru_bb. | |
1430 | (insert_if_then_before_iter): Pass true to it. | |
1431 | (build_check_stmt): Pass false to it. | |
1432 | (transform_statements): Flush hash table only on extended basic | |
1433 | block boundaries, rather than at the beginning of every bb. | |
1434 | Don't flush hash table on nonfreeing_call_p calls. | |
1435 | * tree-flow.h (nonfreeing_call_p): New prototype. | |
1436 | * tree-ssa-phiopt.c (nonfreeing_call_p): No longer static. | |
1437 | ||
7afe2801 DM |
1438 | 2013-02-13 David S. Miller <davem@davemloft.net> |
1439 | ||
1440 | * expmed.c (expand_shift_1): Only strip scalar integer subregs. | |
1441 | ||
70cc3288 VM |
1442 | 2013-02-13 Vladimir Makarov <vmakarov@redhat.com> |
1443 | ||
1444 | PR target/56184 | |
1445 | * ira.c (max_regno_before_ira): Move from ... | |
1446 | (ira): ... here. | |
1447 | (fix_reg_equiv_init): Use max_regno_before_ira instead of | |
1448 | vec_safe_length. | |
1449 | ||
6422242b JJ |
1450 | 2013-02-13 Jakub Jelinek <jakub@redhat.com> |
1451 | ||
1452 | * config/i386/i386.c (ix86_asan_shadow_offset): Revert last change. | |
1453 | ||
976a81ee RB |
1454 | 2013-02-13 Richard Biener <rguenther@suse.de> |
1455 | ||
1456 | PR lto/56295 | |
1457 | * gimple-streamer-out.c (output_gimple_stmt): Undo wrapping | |
1458 | globals in MEM_REFs. | |
1459 | ||
c1874a87 RB |
1460 | 2013-02-13 Richard Biener <rguenther@suse.de> |
1461 | ||
1462 | * loop-init.c (loop_optimizer_init): Clear loop state when | |
1463 | re-initializing preserved loops. | |
1464 | * loop-unswitch.c (unswitch_single_loop): Return whether | |
1465 | we unswitched the loop. Do not verify loop state here. | |
1466 | (unswitch_loops): When we unswitched a loop discover new | |
1467 | loops. | |
1468 | ||
b4ab7d34 KS |
1469 | 2013-02-13 Kostya Serebryany <kcc@google.com> |
1470 | ||
1471 | * config/i386/i386.c: Use 0x7fff8000 as asan_shadow_offset on x86_64 | |
1472 | linux. | |
1473 | * sanitizer.def: Rename __asan_init to __asan_init_v1. | |
1474 | ||
bdcbe80c DS |
1475 | 2013-02-12 Dodji Seketeli <dodji@redhat.com> |
1476 | ||
1477 | Avoid instrumenting duplicated memory access in the same basic block | |
1478 | * Makefile.in (asan.o): Add new dependency on hash-table.h | |
1479 | * asan.c (struct asan_mem_ref, struct mem_ref_hasher): New types. | |
1480 | (asan_mem_ref_init, asan_mem_ref_get_end, get_mem_ref_hash_table) | |
1481 | (has_stmt_been_instrumented_p, empty_mem_ref_hash_table) | |
1482 | (free_mem_ref_resources, has_mem_ref_been_instrumented) | |
1483 | (has_stmt_been_instrumented_p, update_mem_ref_hash_table) | |
1484 | (get_mem_ref_of_assignment): New functions. | |
1485 | (get_mem_refs_of_builtin_call): Extract from | |
1486 | instrument_builtin_call and tweak a little bit to make it fit with | |
1487 | the new signature. | |
1488 | (instrument_builtin_call): Use the new | |
1489 | get_mem_refs_of_builtin_call. Use gimple_call_builtin_p instead | |
1490 | of is_gimple_builtin_call. | |
1491 | (instrument_derefs, instrument_mem_region_access): Insert the | |
1492 | instrumented memory reference into the hash table. | |
1493 | (maybe_instrument_assignment): Renamed instrument_assignment into | |
1494 | this, and change it to advance the iterator when instrumentation | |
1495 | actually happened and return true in that case. This makes it | |
1496 | homogeneous with maybe_instrument_assignment, and thus give a | |
1497 | chance to callers to be more 'regular'. | |
1498 | (transform_statements): Clear the memory reference hash table | |
1499 | whenever we enter a new BB, when we cross a function call, or when | |
1500 | we are done transforming statements. Use | |
1501 | maybe_instrument_assignment instead of instrumentation. No more | |
1502 | need to special case maybe_instrument_assignment and advance the | |
1503 | iterator after calling it; it's now handled just like | |
1504 | maybe_instrument_call. Update comment. | |
1505 | ||
4861a1f7 RB |
1506 | 2013-02-13 Richard Biener <rguenther@suse.de> |
1507 | ||
1508 | * config/mn10300/mn10300.c (mn10300_scan_for_setlb_lcc): | |
1509 | Fix loop discovery code. | |
1510 | ||
1c86bd80 VM |
1511 | 2013-02-12 Vladimir Makarov <vmakarov@redhat.com> |
1512 | ||
1513 | PR inline-asm/56148 | |
1514 | * lra-constraints.c (process_alt_operands): Match early clobber | |
70cc3288 | 1515 | operand with itself. Check conflicts with earlyclobber only if |
1c86bd80 VM |
1516 | the operand is not reloaded. Prefer to reload conflicting operand |
1517 | if earlyclobber and matching operands are the same. | |
1518 | ||
7cbda518 RB |
1519 | 2013-02-12 Richard Biener <rguenther@suse.de> |
1520 | ||
1521 | PR lto/56297 | |
1522 | * lto-streamer-out.c (write_symbol): Do not output symbols | |
1523 | for hard register variables. | |
1524 | ||
e68a4ef6 GJL |
1525 | 2013-02-12 Georg-Johann Lay <avr@gjlay.de> |
1526 | ||
1527 | PR target/54222 | |
1528 | * config/avr/avr-dimode.md (umulsidi3, mulsidi3): New expanders. | |
1529 | (umulsidi3_insn, mulsidi3_insn): New insns. | |
1530 | ||
a72d8780 | 1531 | 2013-02-12 Christophe Lyon <christophe.lyon@linaro.org> |
2597da22 CL |
1532 | |
1533 | * config/arm/arm-protos.h (struct cpu_vec_costs): New struct type. | |
1534 | (struct tune_params): Add vec_costs field. | |
1535 | * config/arm/arm.c (arm_builtin_vectorization_cost) | |
1536 | (arm_add_stmt_cost): New functions. | |
1537 | (TARGET_VECTORIZE_BUILTIN_VECTORIZATION_COST) | |
1538 | (TARGET_VECTORIZE_ADD_STMT_COST): Define. | |
1539 | (arm_default_vec_cost): New struct of type cpu_vec_costs. | |
1540 | (arm_slowmul_tune, arm_fastmul_tune, arm_strongarm_tune) | |
1541 | (arm_xscale_tune, arm_9e_tune, arm_v6t2_tune, arm_cortex_tune) | |
1542 | (arm_cortex_a15_tune, arm_cortex_a5_tune, arm_cortex_a9_tune) | |
1543 | (arm_v6m_tune, arm_fa726te_tune): Define new vec_costs field. | |
1544 | ||
43320568 RB |
1545 | 2013-02-12 Richard Biener <rguenther@suse.de> |
1546 | ||
1547 | PR lto/56295 | |
1548 | * gimple-streamer-in.c (input_gimple_stmt): Strip MEM_REFs off | |
1549 | decls again if possible. | |
1550 | ||
a011aa39 RB |
1551 | 2013-02-12 Richard Biener <rguenther@suse.de> |
1552 | ||
1553 | PR middle-end/56288 | |
1554 | * tree-ssa.c (verify_ssa_name): Fix check, move | |
1555 | SSA_NAME_IN_FREE_LIST check up. | |
1556 | ||
6da26889 JJ |
1557 | 2013-02-12 Jakub Jelinek <jakub@redhat.com> |
1558 | Steven Bosscher <steven@gcc.gnu.org> | |
1559 | ||
1560 | PR rtl-optimization/56151 | |
1561 | * optabs.c (add_equal_note): Don't return 0 if target is a MEM, | |
1562 | equal to op0 or op1, and last_insn pattern is CODE operation | |
1563 | with MEM dest and one of the operands matches that MEM. | |
1564 | ||
f80e0faf ST |
1565 | 2013-02-11 Sriraman Tallam <tmsriramgoogle.com> |
1566 | ||
1567 | * doc/extend.texi: Document Function Multiversioning and "default" | |
1568 | parameter string to target attribute. | |
1569 | * config/i386/i386.c (get_builtin_code_for_version): Return 0 if | |
1570 | target attribute parameter is "default". | |
1571 | (ix86_compare_version_priority): Remove checks for target attribute. | |
1572 | (ix86_mangle_function_version_assembler_name): Change error to sorry. | |
1573 | Remove check for target attribute equal to NULL. Add assert. | |
1574 | (ix86_generate_version_dispatcher_body): Change error to sorry. | |
1575 | ||
6c59ffd1 IS |
1576 | 2013-02-11 Iain Sandoe <iain@codesourcery.com> |
1577 | Jack Howarth <howarth@bromo.med.uc.edu> | |
1578 | Patrick Marlier <patrick.marlier@gmail.com> | |
1579 | ||
1580 | PR libitm/55693 | |
1581 | * config/darwin.h: Replace ENDFILE_SPEC with TM_DESTRUCTOR and | |
1582 | define ENDFILE_SPEC as TM_DESTRUCTOR. | |
1583 | * config/i386/darwin.h (ENDFILE_SPEC): Use TM_DESTRUCTOR. | |
1584 | ||
a72d8780 | 1585 | 2013-02-11 Alexander Potapenko <glider@google.com> |
6a52ccb3 AP |
1586 | Jack Howarth <howarth@bromo.med.uc.edu> |
1587 | Jakub Jelinek <jakub@redhat.com> | |
1588 | ||
1589 | PR sanitizer/55617 | |
1590 | * config/darwin.c (cdtor_record): Rename ctor_record. | |
1591 | (sort_cdtor_records): Rename sort_ctor_records. | |
1592 | (finalize_dtors): New routine to sort destructors by | |
1593 | priority before use in assemble_integer. | |
1594 | (machopic_asm_out_destructor): Use finalize_dtors if needed. | |
1595 | ||
b63fe007 UB |
1596 | 2013-02-11 Uros Bizjak <ubizjak@gmail.com> |
1597 | ||
1598 | PR rtl-optimization/56275 | |
1599 | * simplify-rtx.c (avoid_constant_pool_reference): Check that | |
1600 | offset is non-negative and less than cmode size before | |
1601 | calling simplify_subreg. | |
1602 | ||
8e89b5b5 RB |
1603 | 2013-02-11 Richard Biener <rguenther@suse.de> |
1604 | ||
1605 | PR tree-optimization/56264 | |
1606 | * cfgloop.h (fix_loop_structure): Adjust prototype. | |
1607 | * loop-init.c (fix_loop_structure): Return the number of | |
1608 | newly discovered loops. | |
1609 | * tree-cfgcleanup.c (repair_loop_structures): When new loops | |
1610 | are discovered, do a full loop-closed SSA rewrite. | |
1611 | ||
b4a4b56d RB |
1612 | 2013-02-11 Richard Biener <rguenther@suse.de> |
1613 | ||
1614 | PR tree-optimization/56273 | |
1615 | * tree-vrp.c (simplify_cond_using_ranges): Disable for the | |
1616 | first VRP run. | |
1617 | (check_array_ref): Fix missing newline in dumps. | |
1618 | (search_for_addr_array): Likewise. | |
1619 | ||
0c885229 DE |
1620 | 2013-02-09 David Edelsohn <dje.gcc@gmail.com> |
1621 | ||
1622 | * config/rs6000/aix61.h (OS_MISSING_ALTIVEC): Undefine. | |
1623 | ||
59ac9a55 JJ |
1624 | 2013-02-09 Jakub Jelinek <jakub@redhat.com> |
1625 | ||
1626 | PR target/56256 | |
1627 | * config/rs6000/rs6000.h (ASSEMBLER_DIALECT): Define. | |
1628 | ||
25bb0bb5 VM |
1629 | 2013-02-08 Vladimir Makarov <vmakarov@redhat.com> |
1630 | ||
1631 | PR rtl-optimization/56246 | |
0c885229 | 1632 | * lra-constraints.c (simplify_operand_subreg): Try to reuse |
25bb0bb5 VM |
1633 | reload pseudo. |
1634 | * lra.c (lra): Clear lra_optional_reload_pseudos only when all | |
1635 | constraints are satisfied. | |
1636 | ||
a698cc03 JL |
1637 | 2013-02-08 Jeff Law <law@redhat.com> |
1638 | ||
1639 | PR debug/53948 | |
1640 | * emit-rtl.c (reg_is_parm_p): New function. | |
1641 | * regs.h (reg_is_parm_p): New prototype. | |
1642 | * ira-conflicts.c (ira_build_conflicts): Allow parameters in | |
1643 | callee-clobbered registers. | |
1644 | ||
e1122ddd MM |
1645 | 2013-02-08 Michael Meissner <meissner@linux.vnet.ibm.com> |
1646 | ||
1647 | PR target/56043 | |
1648 | * config/rs6000/rs6000.c (rs6000_builtin_vectorized_libmass): | |
1649 | If there is no implicit builtin declaration, just return NULL. | |
1650 | ||
19c5f6e6 UB |
1651 | 2013-02-08 Uros Bizjak <ubizjak@gmail.com> |
1652 | ||
1653 | * config/i386/sse.md (FMAMODEM): New mode iterator. | |
1654 | (fma<mode>4, fms<mode>4, fnma<mode>4, fnms<mode>4): Use FMAMODEM | |
1655 | mode iterator. Do not use TARGET_SSE_MATH in insn constraint. | |
1656 | ||
2480f2ca | 1657 | 2013-02-08 Uros Bizjak <ubizjak@gmail.com> |
76ef61fb | 1658 | |
2480f2ca UB |
1659 | * config/i386/gnu-user.h (TARGET_CAN_SPLIT_STACK): Define only |
1660 | when HAVE_GAS_CFI_PERSONALITY_DIRECTIVE is set. | |
1661 | * config/i386/gnu-user64.h (TARGET_CAN_SPLIT_STACK): Ditto. | |
1662 | ||
1663 | 2013-02-08 Edgar E. Iglesias <edgar.iglesias@gmail.com> | |
1664 | ||
1665 | * config.gcc (microblaze*-linux*): Add TARGET_BIG_ENDIAN_DEFAULT. | |
1666 | (microblaze*-*-elf): Likewise. | |
1667 | * config/microblaze/linux.h: Add -mbig-endian / -mlittle-endian to | |
1668 | LINK_SPEC. | |
1669 | * config/microblaze/microblaze-c.c: Add builtin defines for | |
1670 | _LITTLE_ENDIAN and _BIG_ENDIAN. | |
1671 | * config/microblaze/microblaze.h: Add TARGET_ENDIAN_DEFAULT and | |
1672 | add to TARGET_DEFAULT flags. | |
76ef61fb | 1673 | Expand ASM_SPEC and LINK_SPEC. |
2480f2ca UB |
1674 | Update BYTES_BIG_ENDIAN and WORDS_BIG_ENDIAN. |
1675 | * config/microblaze/microblaze.md: Update extendsidi2 and | |
1676 | movdi_internal instructions to use low-order / high-order reg | |
1677 | print_operands. | |
1678 | * config/microblaze/microblaze.opt: Add mbig-endian and mlittle-endian | |
1679 | options and inversemask / mask of LITTLE_ENDIAN. | |
1680 | * config/microblaze/t-microblaze: Expand multilib options to | |
1681 | include mlittle-endian (le) and update exceptions patterns. | |
1682 | ||
600a5961 JJ |
1683 | 2013-02-08 Jakub Jelinek <jakub@redhat.com> |
1684 | ||
5df81313 JJ |
1685 | PR rtl-optimization/56195 |
1686 | * lra-constraints.c (get_reload_reg): Don't reuse regs | |
1687 | if they have smaller mode than requested, if they have | |
1688 | wider mode than requested, try to return a SUBREG. | |
1689 | ||
600a5961 JJ |
1690 | PR tree-optimization/56250 |
1691 | * fold-const.c (extract_muldiv_1) <case NEGATE_EXPR>: Don't optimize | |
1692 | if type is unsigned and code isn't MULT_EXPR. | |
1693 | ||
ff544649 GJL |
1694 | 2013-02-08 Georg-Johann Lay <avr@gjlay.de> |
1695 | ||
1696 | PR tree-optimization/56064 | |
1697 | * fixed-value.c (fixed_from_double_int): Sign/zero extend payload | |
1698 | bits according to mode. | |
1699 | * fixed-value.h (fixed_from_double_int) | |
1700 | (const_fixed_from_double_int): Adjust comments. | |
1701 | ||
e45cde98 RB |
1702 | 2013-02-08 Richard Biener <rguenther@suse.de> |
1703 | ||
1704 | PR lto/56231 | |
1705 | * lto-streamer.h (struct data_in): Remove current_file, current_line | |
1706 | and current_col members. | |
1707 | * lto-streamer-out.c (lto_output_location): Stream changed bits | |
1708 | en-block for efficiency. | |
1709 | * lto-streamer-in.c (clear_line_info): Remove. | |
1710 | (lto_input_location): Cache current file, line and column | |
1711 | globally via local statics. Read changed bits en-block. | |
1712 | (input_function): Do not call clear_line_info. | |
1713 | (lto_read_body): Likewise. | |
1714 | (lto_input_toplevel_asms): Likewise. | |
1715 | ||
c1ca73d8 MM |
1716 | 2013-02-08 Michael Matz <matz@suse.de> |
1717 | ||
1718 | PR tree-optimization/52448 | |
1719 | * tree-ssa-phiopt.c (struct name_to_bb): Add phase member. | |
1720 | (nt_call_phase): New static. | |
1721 | (add_or_mark_expr): Only mark accesses with newer phase than any | |
1722 | call seen. | |
1723 | (nonfreeing_call_p): New. | |
1724 | (nt_init_block): Update nt_call_phase, mark blocks as visited. | |
1725 | (nt_fini_block): Keep blocks marked as visited. | |
1726 | (get_non_trapping): Initialize nt_call_phase, and reset aux pointer. | |
1727 | ||
57548aa2 RB |
1728 | 2013-02-08 Richard Biener <rguenther@suse.de> |
1729 | ||
1730 | * ira.c (ira): Free broken dominator information. | |
1731 | ||
8e10366f UB |
1732 | 2013-02-08 Uros Bizjak <ubizjak@gmail.com> |
1733 | ||
1734 | * config/i386/i386.c (ix86_spill_class): Use INTEGER_CLASS_P macro. | |
1735 | ||
f64fb0fa MP |
1736 | 2013-02-08 Marek Polacek <polacek@redhat.com> |
1737 | ||
8e10366f | 1738 | * cfgloop.c (verify_loop_structure): Add more checking of headers. |
f64fb0fa | 1739 | |
0375167b RB |
1740 | 2013-02-08 Richard Biener <rguenther@suse.de> |
1741 | ||
1742 | PR middle-end/56181 | |
1743 | * cfgloop.h (flow_loops_find): Adjust. | |
1744 | (bb_loop_header_p): Declare. | |
1745 | * cfgloop.c (bb_loop_header_p): New function split out from ... | |
1746 | (flow_loops_find): ... here. Adjust function signature, | |
1747 | support incremental loop structure update. | |
1748 | (verify_loop_structure): Cleanup. Verify a loop is a loop. | |
1749 | * cfgloopmanip.c (fix_loop_structure): Move ... | |
1750 | * loop-init.c (fix_loop_structure): ... here. | |
1751 | (apply_loop_flags): Split out from ... | |
1752 | (loop_optimizer_init): ... here. | |
1753 | (fix_loop_structure): Use apply_loop_flags. Use flow_loops_find | |
1754 | in incremental mode, only remove dead loops here. | |
1755 | ||
85d768f3 GJL |
1756 | 2013-02-08 Georg-Johann Lay <avr@gjlay.de> |
1757 | ||
1758 | PR target/54222 | |
1759 | * config/avr/avr.md (unspec) <UNSPEC_ROUND>: Add. | |
1760 | * config/avr/avr-fixed.md (ALL4QA, ALL124QA): New mode iterators. | |
1761 | (round<mode>3, round<mode>3_const): New expanders for fixed-mode. | |
1762 | (*round<mode>3.libgcc): New insns for fixed-modes. | |
1763 | * config/avr/builtins.def (ABSxx): Use a non-NULL LIBNAME. | |
1764 | (ROUNDxx, COUNTLSxx, BITSxx, xxBITS): New DEF_BUILTINs. | |
1765 | (ROUNDFX, COUNTLSFX, ABSFX): New DEF_BUILTINs. | |
1766 | * config/avr/stdfix.h (absFX, bitsFX, FXbits): Remove inline | |
1767 | implementations. Define to __builtin_avr_absFX, | |
1768 | __builtin_avr_bitsFX, __builtin_avr_FXbits, respectively. | |
1769 | (roundFX, countlsFX): Define to __builtin_avr_roundFX, | |
1770 | __builtin_avr_countlsFX, respectively. | |
1771 | * config/avr/avr-c.c (target.h): Include it. | |
1772 | (enum avr_builtin_id): New enum. | |
1773 | (avr_resolve_overloaded_builtin): New static function. | |
1774 | (avr_register_target_pragmas): Use it to set | |
1775 | targetm.resolve_overloaded_builtin. | |
1776 | * config/avr/avr.c (avr_init_builtins): Supply myriads of local | |
1777 | tree nodes used by DEF_BUILTIN. | |
1778 | (avr_expand_builtin) <AVR_BUILTIN_ROUNDxx>: Sanity-check them. | |
1779 | (avr_fold_builtin) <AVR_BUILTIN_BITSxx>: Fold to VIEW_COVERT_EXPR. | |
1780 | <AVR_BUILTIN_xxBITS>: Same. | |
1781 | ||
661bc682 RB |
1782 | 2013-02-08 Richard Biener <rguenther@suse.de> |
1783 | ||
1784 | * cfgloop.c (verify_loop_structure): Properly handle | |
1785 | a loop exiting to another loop header. | |
1786 | * ira-int.h (ira_loops): Remove. | |
1787 | * ira.c (ira_loops): Remove. | |
1788 | (ira): Use loop_optimizer_init and loop_optimizer_finalize. | |
1789 | (do_reload): Use loop_optimizer_finalize. | |
1790 | * ira-build.c (create_loop_tree_nodes): Use get_loops and | |
1791 | number_of_loops to access the loop tree. | |
1792 | (more_one_region_p): Likewise. | |
1793 | (finish_loop_tree_nodes): Likewise. | |
1794 | (rebuild_regno_allocno_maps): Likewise. | |
1795 | (mark_loops_for_removal): Likewise. | |
1796 | (mark_all_loops_for_removal): Likewise. | |
1797 | (remove_unnecessary_regions): Likewise. | |
1798 | (ira_build): Likewise. | |
1799 | * ira-emit.c (setup_entered_from_non_parent_p): Likewise. | |
1800 | ||
0d5049b2 RB |
1801 | 2013-02-08 Richard Biener <rguenther@suse.de> |
1802 | ||
1803 | * Makefile.in (tree-tailcall.o): Add $(CFGLOOP_H) dependency. | |
1804 | * ipa-pure-const.c (analyze_function): Avoid calling | |
1805 | mark_irreducible_loops twice. | |
8e10366f | 1806 | * tree-tailcall.c (tree_optimize_tail_calls_1): Mark loops for fixup. |
0d5049b2 | 1807 | |
499f32e8 DM |
1808 | 2013-02-07 David S. Miller <davem@davemloft.net> |
1809 | ||
1810 | * dwarf2out.c (based_loc_descr): Perform leaf register remapping | |
1811 | on 'reg'. | |
1812 | * var-tracking.c (vt_add_function_parameter): Test the presence of | |
1813 | HAVE_window_save properly and do not remap argument registers when | |
1814 | we have a leaf function. | |
1815 | ||
6edc3e32 UB |
1816 | 2013-02-07 Uros Bizjak <ubizjak@gmail.com> |
1817 | ||
1818 | PR bootstrap/56227 | |
1819 | * ggc-page.c (ggc_print_statistics): Use HOST_LONG_LONG_FORMAT | |
1820 | instead of "ll". | |
1821 | * config/i386/i386.c (ix86_print_operand): Ditto. | |
1822 | ||
5306401f VM |
1823 | 2013-02-07 Vladimir Makarov <vmakarov@redhat.com> |
1824 | ||
6edc3e32 | 1825 | * lra-constraints.c (process_alt_operands): Fix recently added comment. |
5306401f | 1826 | |
027ece11 VM |
1827 | 2013-02-07 Vladimir Makarov <vmakarov@redhat.com> |
1828 | ||
1829 | PR rtl-optimization/56225 | |
1830 | * lra-constraints.c (process_alt_operands): Check that reload hard | |
1831 | reg can hold value for strict_low_part. | |
1832 | ||
f980dfdb JJ |
1833 | 2013-02-07 Jakub Jelinek <jakub@redhat.com> |
1834 | ||
1835 | PR debug/56154 | |
1836 | * dwarf2out.c (dwarf2_debug_hooks): Set end_function hook to | |
1837 | dwarf2out_end_function. | |
1838 | (in_first_function_p, maybe_at_text_label_p, | |
1839 | first_loclabel_num_not_at_text_label): New variables. | |
1840 | (dwarf2out_var_location): In the first function find out | |
6edc3e32 | 1841 | lowest loclabel_num N where .LVLN is known not to be equal to .Ltext0. |
f980dfdb JJ |
1842 | (find_empty_loc_ranges_at_text_label, dwarf2out_end_function): New |
1843 | functions. | |
1844 | ||
73dd3123 EB |
1845 | 2013-02-07 Eric Botcazou <ebotcazou@adacore.com> |
1846 | ||
1847 | PR rtl-optimization/56178 | |
1848 | * cse.c (cse_insn): Do not create a REG_EQUAL note if the source is a | |
1849 | SUBREG of a register. Tidy up related block of code. | |
1850 | * fwprop.c (forward_propagate_and_simplify): Do not create a REG_EQUAL | |
1851 | note if the source is a register or a SUBREG of a register. | |
1852 | ||
e3936f47 JJ |
1853 | 2013-02-07 Jakub Jelinek <jakub@redhat.com> |
1854 | ||
1855 | PR target/56228 | |
1856 | * config/rs6000/rs6000.md (ptrm): New mode attr. | |
1857 | (call_indirect_aix<ptrsize>, call_indirect_aix<ptrsize>_nor11, | |
1858 | call_value_indirect_aix<pttrsize>, | |
1859 | call_value_indirect_aix<pttrsize>_nor11): Use <ptrm> instead of | |
1860 | m in constraints. | |
1861 | ||
d96d674b MH |
1862 | 2013-02-07 Michael Haubenwallner <michael.haubenwallner@salomon.at> |
1863 | ||
1864 | * collect2.c (main): Set aix64_flag for -G and -bsvr4 too, disable | |
1865 | if -bnortl. Convert to strcmp and strncmp. | |
1866 | ||
921f2dee AM |
1867 | 2013-02-07 Alan Modra <amodra@gmail.com> |
1868 | ||
1869 | PR target/54009 | |
1870 | * config/rs6000/rs6000.c (mem_operand_gpr): Check that LO_SUM | |
1871 | addresses won't wrap when offsetting. | |
1872 | (rs6000_secondary_reload): Provide secondary reloads needed for | |
1873 | wrapping LO_SUM addresses. | |
1874 | ||
d09c7dba TS |
1875 | 2013-02-06 Thomas Schwinge <thomas@codesourcery.com> |
1876 | ||
1877 | * config/gnu.h (GNU_USER_TARGET_OS_CPP_BUILTINS): Never define | |
1878 | MACH, just __MACH__. | |
1879 | ||
a44bbd48 RB |
1880 | 2013-02-06 Richard Biener <rguenther@suse.de> |
1881 | ||
1882 | * tracer.c (tracer): Mark loops with LOOPS_NEED_FIXUP | |
1883 | instead of calling fix_loop_structure. | |
1884 | ||
6d840d99 JJ |
1885 | 2013-02-06 Jakub Jelinek <jakub@redhat.com> |
1886 | ||
1887 | PR middle-end/56217 | |
1888 | * omp-low.c (use_pointer_for_field): Return false if | |
1889 | lower_send_shared_vars doesn't generate any copy-out code. | |
1890 | ||
0f33baa9 TV |
1891 | 2013-02-06 Tom de Vries <tom@codesourcery.com> |
1892 | ||
1893 | PR rtl-optimization/56131 | |
1894 | * cfgrtl.c (delete_insn): Use NOTE_BASIC_BLOCK instead of BLOCK_FOR_INSN | |
1895 | to get the bb of a NOTE_INSN_BASIC_BLOCK. Handle the case that the bb | |
1896 | of the label is NULL. Add comment. | |
1897 | ||
11f1e3ab JJ |
1898 | 2013-02-05 Jakub Jelinek <jakub@redhat.com> |
1899 | ||
31502f9f JJ |
1900 | * tree.h (struct tree_decl_with_vis): Remove thread_local field. |
1901 | ||
a74db9bd JJ |
1902 | PR sanitizer/55374 |
1903 | * config/gnu-user.h (LIBTSAN_EARLY_SPEC): Define. | |
1904 | (STATIC_LIBTSAN_LIBS): Likewise. | |
1905 | * gcc.c (ADD_STATIC_LIBTSAN_LIBS, LIBTSAN_EARLY_SPEC): Define. | |
1906 | (LIBTSAN_SPEC): Add ADD_STATIC_LIBTSAN_LIBS, if LIBTSAN_EARLY_SPEC | |
1907 | is defined, don't add anything else beyond that. | |
1908 | (SANITIZER_EARLY_SPEC, SANITIZER_SPEC): Define. | |
1909 | (LINK_COMMAND_SPEC): Use them. | |
1910 | ||
11f1e3ab JJ |
1911 | PR tree-optimization/56205 |
1912 | * tree-stdarg.c (check_all_va_list_escapes): Return true if | |
1913 | there are any PHI nodes that set non-va_list_escape_vars SSA_NAME | |
1914 | and some va_list_escape_vars SSA_NAME appears in some PHI argument. | |
1915 | ||
14ac6aa2 RB |
1916 | 2013-02-05 Richard Biener <rguenther@suse.de> |
1917 | ||
1918 | PR tree-optimization/53342 | |
1919 | PR tree-optimization/53185 | |
1920 | * tree-vectorizer.h (vect_check_strided_load): Remove. | |
1921 | * tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Do | |
1922 | not disallow peeling for vectorized strided loads. | |
1923 | (vect_check_strided_load): Make static and simplify. | |
1924 | (vect_analyze_data_refs): Adjust. | |
1925 | * tree-vect-stmts.c (vectorizable_load): Handle peeled loops | |
1926 | correctly when vectorizing strided loads. | |
1927 | ||
6f22445a RB |
1928 | 2013-02-05 Richard Biener <rguenther@suse.de> |
1929 | ||
1930 | * doc/install.texi: Refer to ISL, not PPL. | |
1931 | ||
39f9719e JH |
1932 | 2013-02-05 Jan Hubicka <jh@suse.cz> |
1933 | ||
ec4224ac JH |
1934 | PR tree-optimization/55789 |
1935 | * params.def (PARAM_EARLY_INLINER_MAX_ITERATIONS): Drop to 1. | |
1936 | ||
1937 | 2013-02-05 Jan Hubicka <jh@suse.cz> | |
1938 | ||
1939 | PR tree-optimization/55789 | |
39f9719e JH |
1940 | * cgraphclones.c (cgraph_remove_node_and_inline_clones): Remove |
1941 | the dead call anyway. | |
1942 | ||
956d3b33 EB |
1943 | 2013-02-05 Eric Botcazou <ebotcazou@adacore.com> |
1944 | ||
1945 | PR sanitizer/55374 | |
1946 | * config/gnu-user.h (LIBASAN_EARLY_SPEC): Add missing guard. | |
1947 | ||
1948 | 2013-02-04 Alexander Potapenko <glider@google.com> | |
1949 | Jack Howarth <howarth@bromo.med.uc.edu> | |
ae526fe5 AP |
1950 | Jakub Jelinek <jakub@redhat.com> |
1951 | ||
1952 | PR sanitizer/55617 | |
1953 | * config/darwin.c (sort_ctor_records): Stabilized qsort | |
1954 | on constructor priority by using original position. | |
1955 | (finalize_ctors): New routine to sort constructors by | |
1956 | priority before use in assemble_integer. | |
1957 | (machopic_asm_out_constructor): Use finalize_ctors if needed. | |
1958 | ||
7ac3af38 JJ |
1959 | 2013-02-04 Jakub Jelinek <jakub@redhat.com> |
1960 | ||
1961 | PR libstdc++/54314 | |
1962 | * config/i386/winnt.c (i386_pe_assemble_visibility): Don't warn | |
1963 | about visibility on artificial decls. | |
1964 | * config/sol2.c (solaris_assemble_visibility): Likewise. | |
1965 | ||
152689dc KT |
1966 | 2013-02-04 Kai Tietz <ktietz@redhat.com> |
1967 | ||
1968 | PR target/56186 | |
1969 | * config/i386/i386.c (function_value_ms_64): Add additional valtype | |
1970 | argument and improve checking of return-argument types for 16-byte | |
1971 | modes. | |
1972 | (ix86_function_value_1): Add additional valtype argument on call | |
1973 | of function_value_64. | |
1974 | (return_in_memory_ms_64): Sync 16-byte sized mode handling with | |
1975 | handling infunction_value_64 function. | |
1976 | ||
2b5987b5 MGD |
1977 | 2013-02-04 Matthew Gretton-Dann <matthew.gretton-dann@linaro.org> |
1978 | ||
7ac3af38 | 1979 | * reload.c (subst_reloads): Fix DEBUG_RELOAD build issue. |
2b5987b5 | 1980 | |
14597080 RB |
1981 | 2013-02-04 Richard Biener <rguenther@suse.de> |
1982 | ||
1983 | PR tree-optimization/56188 | |
1984 | * tree-ssa-structalias.c (label_visit): Consider case with | |
1985 | initially non-empty points-to set. | |
1986 | (perform_var_substitution): Dump node mapping and clean up. | |
1987 | ||
ed73881e RG |
1988 | 2013-02-04 Richard Guenther <rguenther@suse.de> |
1989 | ||
1990 | PR lto/56168 | |
1991 | * lto-symtab.c (lto_symtab_merge_decls_1): Make non-builtin | |
1992 | node prevail as last resort. | |
1993 | (lto_symtab_merge_decls): Remove guard on LTRANS here. | |
6edc3e32 | 1994 | (lto_symtab_prevailing_decl): Builtins are their own prevailing decl. |
ed73881e | 1995 | |
139a0707 RB |
1996 | 2013-02-04 Richard Biener <rguenther@suse.de> |
1997 | ||
1998 | PR tree-optimization/56113 | |
1999 | * tree-ssa-structalias.c (equiv_class_lookup, equiv_class_add): | |
2000 | Merge into ... | |
2001 | (equiv_class_lookup_or_add): ... this. | |
2002 | (label_visit): Adjust and fix error in previous patch. | |
2003 | (perform_var_substitution): Adjust. | |
2004 | ||
50fe8924 OE |
2005 | 2013-02-03 Oleg Endo <olegendo@gcc.gnu.org> |
2006 | ||
2007 | * config/sh/divtab.c: Fix formatting and comments throughout the file. | |
2008 | * config/sh/sh4-300.md: Likewise. | |
2009 | * config/sh/sh4a.md: Likewise. | |
2010 | * config/sh/constraints.md: Likewise. | |
2011 | * config/sh/sh.md: Likewise. | |
2012 | * config/sh/netbsd-elf.h: Likewise. | |
2013 | * config/sh/predicates.md: Likewise. | |
2014 | * config/sh/sh-protos.h: Likewise. | |
2015 | * config/sh/ushmedia.h: Likewise. | |
2016 | * config/sh/linux.h: Likewise. | |
2017 | * config/sh/sh.c: Likewise. | |
2018 | * config/sh/superh.h: Likewise. | |
2019 | * config/sh/elf.h: Likewise. | |
2020 | * config/sh/sh4.md: Likewise. | |
2021 | * config/sh/sh.h: Likewise. | |
2022 | ||
1a04ac2b JDA |
2023 | 2013-02-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
2024 | ||
2025 | * config/pa/constraints.md: Adjust unused letters. Change "T" | |
2026 | constraint to match_test floating_point_store_memory_operand(). | |
2027 | * config/pa/predicates.md (reg_plus_base_memory_operand): New. | |
2028 | (base14_operand): New. | |
2029 | (floating_point_store_memory_operand): New. | |
2030 | (integer_store_memory_operand): Revise to use base14_operand and | |
2031 | reg_plus_base_memory_operand. | |
2032 | (move_dest_operand): Allow symbolic_memory_operands. | |
2033 | (symbolic_memory_operand): Check for LO_SOM. | |
2034 | (symbolic_operand): Change default case to break. | |
2035 | * config/pa/pa.md: Remove unamed DFmode and SFmode patterns to force | |
2036 | CONST_DOUBLE values to be reloaded by putting them into memory when | |
2037 | the destination is a floating point register. | |
2038 | (movdf): Remove code to handle CONST_DOUBLE. | |
2039 | (movsf): Likewise. | |
2040 | (reload_indf_r1): New. | |
2041 | (reload_insf_r1): New. | |
2042 | Consistently use "Q" and "T" constraints with integer and floating | |
2043 | point move instructions, respectively. | |
2044 | (movdi): Remove FAIL. | |
2045 | Change predicate for source operand unamed DImode move from | |
2046 | general_operand to move_src_operand. | |
2047 | (umulsidi3): Change predicate for destination operand to | |
2048 | register_operand. | |
2049 | Likewise for similar unamed patterns. | |
2050 | * config/pa/pa-protos.h (pa_legitimize_reload_address): Declare. | |
2051 | * config/pa/pa.c (pa_symbolic_expression_p): Remove extra parenthesis. | |
2052 | (hppa_legitimize_address): Simplify mask calculation. | |
2053 | (pa_emit_move_sequence): Revised handling of secondary reloads from | |
2054 | REG+D addresses for floating point loads and stores. Directly handle | |
2055 | loading CONST0_RTX (mode) to a floating point register. | |
2056 | (pa_secondary_reload): Handle reloading DF and SFmode constant values | |
2057 | to floating point registers. Don't restrict secondary reloads to | |
2058 | floating point registers to integer modes. Revise some comments and | |
2059 | cleanup some code. | |
2060 | (TARGET_LEGITIMATE_ADDRESS_P): Define. | |
2061 | (pa_legitimate_address_p): New. | |
2062 | (pa_legitimize_reload_address): New. | |
2063 | * config/pa/pa.h (STRICT_REG_OK_FOR_INDEX_P): New. | |
2064 | (STRICT_REG_OK_FOR_BASE_P): New. | |
2065 | (GO_IF_LEGITIMATE_ADDRESS): Delete. Update some related comments. | |
2066 | (LEGITIMIZE_RELOAD_ADDRESS): Revise to use pa_legitimize_reload_address. | |
2067 | ||
3bf65591 DE |
2068 | 2013-02-03 David Edelsohn <dje.gcc@gmail.com> |
2069 | Andrew Dixie <andrewd@gentrack.com> | |
2070 | ||
2071 | * collect2.c (GCC_CHECK_HDR): Do not scan objects with F_LOADONLY | |
2072 | flag set. | |
2073 | ||
c0a8a3e6 RS |
2074 | 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com> |
2075 | ||
2076 | * expmed.c (extract_bit_field_1): Pass the full width of the | |
2077 | structure to get_best_reg_extraction_insn. | |
2078 | ||
99113dff DE |
2079 | 2013-02-01 David Edelsohn <dje.gcc@gmail.com> |
2080 | ||
2081 | PR target/54601 | |
2082 | * configure.ac (use_cxa_atexit): Add AIX. | |
2083 | * configure: Regenerate. | |
2084 | ||
2085 | * config/rs6000/aix61.h (STARTFILE_SPEC): Add crtcxa.o. | |
2086 | ||
ddd84654 JJ |
2087 | 2013-02-01 Jakub Jelinek <jakub@redhat.com> |
2088 | ||
2089 | PR debug/54793 | |
2090 | * final.c (need_profile_function): New variable. | |
2091 | (final_start_function): Drop ATTRIBUTE_UNUSED from first argument. | |
2092 | If first of NOTE_INSN_BASIC_BLOCK or NOTE_INSN_FUNCTION_BEG | |
2093 | is only preceeded by NOTE_INSN_VAR_LOCATION or NOTE_INSN_DELETED | |
2094 | notes, targetm.asm_out.function_prologue doesn't emit anything, | |
2095 | HAVE_prologue and profiler should be emitted before prologue, | |
2096 | set need_profile_function instead of emitting it. | |
2097 | (final_scan_insn): If need_profile_function, emit | |
2098 | profile_function on the first NOTE_INSN_BASIC_BLOCK or | |
2099 | NOTE_INSN_FUNCTION_BEG note. | |
2100 | ||
2101 | 2013-02-01 Richard Henderson <rth@redhat.com> | |
749af8ee RH |
2102 | |
2103 | * config/rs6000/rs6000.md (smulditi3): New. | |
2104 | (umulditi3): New. | |
2105 | ||
ff2a9d88 RH |
2106 | * config/alpha/alpha.md (umulditi3): New. |
2107 | ||
14d52b90 DE |
2108 | 2013-02-01 David Edelsohn <dje.gcc@gmail.com> |
2109 | ||
2110 | * config/rs6000/xcoff.h (ASM_OUTPUT_ALIGNED_COMMON): Use floor_log2. | |
2111 | (ASM_OUTPUT_ALIGNED_LOCAL): New. | |
2112 | ||
8c7ca45c RB |
2113 | 2013-02-01 Richard Biener <rguenther@suse.de> |
2114 | ||
2115 | PR tree-optimization/56113 | |
2116 | * tree-ssa-structalias.c (label_visit): Reduce work for | |
2117 | single-predecessor nodes. | |
2118 | ||
9f419393 EB |
2119 | 2013-02-01 Eric Botcazou <ebotcazou@adacore.com> |
2120 | ||
2121 | * fold-const.c (make_range_step) <TRUTH_NOT_EXPR>: Bail out if the | |
2122 | range isn't testing for zero. | |
2123 | ||
c5f4be84 SB |
2124 | 2013-01-31 Steven Bosscher <steven@gcc.gnu.org> |
2125 | ||
2126 | PR middle-end/56113 | |
2127 | * fwprop.c (fwprop_init): Set up loops without CFG modifications. | |
2128 | ||
dbdbd982 NC |
2129 | 2013-01-31 Hiroyuki Ono <hiroyuki.ono.jc@renesas.com> |
2130 | Nick Clifton <nickc@redhat.com> | |
2131 | ||
2132 | * config/v850/constraints.md (Q): Define as a memory constraint. | |
2133 | * config/v850/predicates.md (label_ref_operand): New predicate. | |
2134 | (e3v5_shift_operand): New predicate. | |
2135 | (ior_operator): New predicate. | |
2136 | * config/v850/t-v850: Add e3v5 multilib. | |
2137 | * config/v850/v850-protos.h (v850_adjust_insn_length): Prototype. | |
2138 | (v850_gen_movdi): Prototype. | |
2139 | * config/v850/v850.c: Add support for e3v5 architecture. | |
2140 | Rename all uses of TARGET_V850E || TARGET_V850E2_ALL to | |
2141 | TARGET_V850E_UP. | |
2142 | (construct_save_jarl): Add e3v5 long JARL support. | |
2143 | (v850_adjust_insn_length): New function. Adjust length of call | |
2144 | insns when using e3v5 instructions. | |
2145 | (v850_gen_movdi): New function: Generate instructions to move a | |
2146 | DImode value. | |
2147 | * config/v850/v850.h (TARGET_CPU_v850e3v5): Define. | |
2148 | (CPP_SPEC): Define __v850e3v5__ as appropriate. | |
2149 | (TARGET_USE_FPU): Enable for e3v5. | |
2150 | (CONST_OK_FOR_W): New macro. | |
2151 | (ADJUST_INSN_LENGTH): Define. | |
2152 | * config/v850/v850.md (UNSPEC_LOOP): Define. | |
2153 | (attr cpu): Add v850e3v5. | |
2154 | Rename all uses of TARGET_V850E2 to TARGET_V850E2V3_UP. | |
2155 | (movdi): New pattern. | |
2156 | (movdi_internal): New pattern. | |
2157 | (cbranchsf4): Conditionalize on TARGET_USE_FPU. | |
2158 | (cbranchdf4): Conditionalize on TARGET_USE_FPU. | |
2159 | (cstoresf4): Likewise. | |
2160 | (cstoredf4): Likewise. | |
2161 | (insv): New pattern. | |
2162 | (rotlso3_a): New pattern. | |
2163 | (rotlsi3_b): New pattern | |
2164 | (rotlsi3_v850e3v5): New pattern. | |
2165 | (doloop_begin): New pattern. | |
2166 | (fix_loop_counter): New pattern. | |
2167 | (doloop_end): New pattern. | |
2168 | (branch_normal): Add e3v5 long branch support. | |
2169 | (branch_invert): Likewise. | |
2170 | (branch_z_normal): Likewise. | |
2171 | (branch_z_invert): Likewise. | |
2172 | (branch_nz_normal): Likewise. | |
2173 | (branch_nz_invert): Likewise. | |
2174 | (call_internal_short): Add e3v5 register-indirect JARL support. | |
2175 | (call_internal_long): Likewise. | |
2176 | (call_value_internal_short): Likewise. | |
2177 | (call_value_internal_long): Likewise. | |
2178 | * config/v850/v850.opt (mv850e3v5, mv850e2v4): New options. | |
2179 | (mloop): New option. | |
2180 | * config.gcc: Add support for configuring v840e3v5 target. | |
6edc3e32 | 2181 | * doc/invoke.texi: Document new v850 specific command line options. |
dbdbd982 | 2182 | |
73861a41 PK |
2183 | 2013-01-31 Paul Koning <ni1d@arrl.net> |
2184 | ||
2185 | PR debug/55059 | |
2186 | PR debug/54508 | |
2187 | * dwarf2out.c (prune_unused_types_mark): Mark all of parent's | |
2188 | children if parent is a class. | |
2189 | (prune_unused_types_prune): Don't add DW_AT_declaration. | |
2190 | ||
e44978dc RB |
2191 | 2013-01-31 Richard Biener <rguenther@suse.de> |
2192 | ||
2193 | PR tree-optimization/56157 | |
2194 | * tree-vect-slp.c (vect_get_slp_defs): More thoroughly try to | |
2195 | match up operand with SLP child. | |
2196 | ||
90b10dec JM |
2197 | 2013-01-31 Jason Merrill <jason@redhat.com> |
2198 | ||
04d2dadd | 2199 | PR debug/54410 |
90b10dec JM |
2200 | * dwarf2out.c (gen_struct_or_union_type_die): Always schedule template |
2201 | parameters the first time. | |
2202 | (gen_scheduled_generic_parms_dies): Check completeness here. | |
2203 | ||
6e616110 RB |
2204 | 2013-01-31 Richard Biener <rguenther@suse.de> |
2205 | ||
2206 | PR middle-end/53073 | |
2207 | * common.opt (faggressive-loop-optimizations): New flag, | |
2208 | enabled by default. | |
2209 | * doc/invoke.texi (faggressive-loop-optimizations): Document. | |
2210 | * tree-ssa-loop-niter.c (estimate_numbers_of_iterations_loop): Guard | |
2211 | infer_loop_bounds_from_undefined by it. | |
2212 | ||
636f59cf RB |
2213 | 2013-01-31 Richard Biener <rguenther@suse.de> |
2214 | ||
2215 | PR tree-optimization/56150 | |
2216 | * tree-ssa-loop-manip.c (find_uses_to_rename_stmt): Do not | |
2217 | visit virtual operands. | |
2218 | (find_uses_to_rename_bb): Likewise. | |
2219 | ||
2220 | 2013-01-31 Richard Biener <rguenther@suse.de> | |
fcfa87ac RB |
2221 | |
2222 | PR tree-optimization/56150 | |
2223 | * tree-ssa-tail-merge.c (gimple_equal_p): Properly handle | |
2224 | mixed store non-store stmts. | |
2225 | ||
32887460 JJ |
2226 | 2013-01-30 Jakub Jelinek <jakub@redhat.com> |
2227 | ||
e60e09a0 JJ |
2228 | PR sanitizer/55374 |
2229 | * gcc.c (LIBASAN_SPEC): Define just to ADD_STATIC_LIBASAN_LIBS if | |
2230 | LIBASAN_EARLY_SPEC is defined. | |
2231 | (LIBASAN_EARLY_SPEC): Define to empty string if not already defined. | |
2232 | (LINK_COMMAND_SPEC): Add LIBASAN_EARLY_SPEC for -fsanitize=address, | |
2233 | before %o. | |
2234 | * config/gnu-user.h (LIBASAN_EARLY_SPEC): Define. | |
2235 | ||
32887460 JJ |
2236 | PR c++/55742 |
2237 | * config/i386/i386.c (ix86_valid_target_attribute_inner_p): Diagnose | |
2238 | invalid args instead of ICEing on it. | |
2239 | (ix86_valid_target_attribute_tree): Return error_mark_node if | |
2240 | ix86_valid_target_attribute_inner_p failed. | |
2241 | (ix86_valid_target_attribute_p): Return false only if | |
2242 | ix86_valid_target_attribute_tree returned error_mark_node. Allow | |
2243 | target("default") attribute. | |
2244 | (sorted_attr_string): Change argument from const char * to tree, | |
2245 | merge in all target attribute arguments rather than just one. | |
2246 | Formatting fix. Use XNEWVEC instead of xmalloc and XDELETEVEC | |
2247 | instead of free. Avoid using strcat. | |
2248 | (ix86_mangle_function_version_assembler_name): Mangle | |
2249 | target("default") as if no target attribute is present. Adjust | |
2250 | sorted_attr_string caller. Avoid leaking memory. Use XNEWVEC | |
2251 | instead of xmalloc and XDELETEVEC instead of free. | |
2252 | (ix86_function_versions): Don't return true if one of the decls | |
2253 | doesn't have target attribute. If they don't and one of the decls | |
2254 | is DECL_FUNCTION_VERSIONED, report an error. Adjust | |
2255 | sorted_attr_string caller. Use XDELETEVEC instead of free. | |
2256 | (ix86_supports_function_versions): Remove. | |
2257 | (make_name): Fix up formatting. | |
2258 | (make_dispatcher_decl): Remove resolver_name and its initialization. | |
2259 | Avoid leaking memory. | |
2260 | (is_function_default_version): Return true if there is | |
2261 | target("default") attribute rather than no target attribute at all. | |
2262 | (make_resolver_func): Avoid leaking memory. | |
2263 | (ix86_generate_version_dispatcher_body): Likewise. | |
2264 | (TARGET_OPTION_SUPPORTS_FUNCTION_VERSIONS): Remove. | |
2265 | * target.def (supports_function_versions): Remove. | |
2266 | * doc/tm.texi.in (SUPPORTS_FUNCTION_VERSIONS): Remove. | |
2267 | * doc/tm.texi: Regenerated. | |
2268 | ||
73cca0cc VM |
2269 | 2013-01-30 Vladimir Makarov <vmakarov@redhat.com> |
2270 | ||
2271 | PR rtl-optimization/56144 | |
2272 | * lra-constraints.c (get_reload_reg): Don't reuse reload pseudo | |
2273 | for values with side effects. | |
2274 | ||
11452e7b RB |
2275 | 2013-01-30 Richard Biener <rguenther@suse.de> |
2276 | ||
2277 | * sparseset.h (sparseset_bit_p): Use gcc_checking_assert. | |
2278 | (sparseset_pop): Likewise. | |
2279 | * cfganal.c (compute_idf): Likewise. Increase work-stack size | |
2280 | to be able to use quick_push in the worker loop. | |
2281 | ||
01cb1ef5 MP |
2282 | 2013-01-30 Marek Polacek <polacek@redhat.com> |
2283 | ||
2284 | * cfgcleanup.c (cleanup_cfg): Don't mark affected BBs. | |
2285 | ||
e892936e RB |
2286 | 2013-01-30 Richard Biener <rguenther@suse.de> |
2287 | ||
2288 | PR lto/56147 | |
6edc3e32 | 2289 | * lto-symtab.c (lto_symtab_merge_decls_1): Guard DECL_BUILT_IN check. |
e892936e | 2290 | |
cc06c01d GJL |
2291 | 2013-01-30 Georg-Johann Lay <avr@gjlay.de> |
2292 | ||
2293 | PR tree-optimization/56064 | |
2294 | * fixed-value.c (fixed_from_double_int): New function. | |
2295 | * fixed-value.h (fixed_from_double_int): New prototype. | |
2296 | (const_fixed_from_double_int): New static inline function. | |
2297 | * fold-const.c (native_interpret_fixed): New static function. | |
2298 | (native_interpret_expr) <FIXED_POINT_TYPE>: Use it. | |
2299 | (can_native_interpret_type_p) <FIXED_POINT_TYPE>: Return true. | |
2300 | (native_encode_fixed): New static function. | |
2301 | (native_encode_expr) <FIXED_CST>: Use it. | |
2302 | (native_interpret_int): Move double_int worker code to... | |
2303 | * double-int.c (double_int::from_buffer): ...this new static method. | |
2304 | * double-int.h (double_int::from_buffer): Prototype it. | |
2305 | ||
d394a308 RB |
2306 | 2013-01-30 Richard Biener <rguenther@suse.de> |
2307 | ||
2308 | * tree-ssa-structalias.c (final_solutions, final_solutions_obstack): | |
2309 | New pointer-map and obstack. | |
2310 | (init_alias_vars): Allocate pointer-map and obstack. | |
2311 | (delete_points_to_sets): Free them. | |
2312 | (find_what_var_points_to): Cache result. | |
2313 | (find_what_p_points_to): Adjust for changed interface of | |
2314 | find_what_var_points_to. | |
2315 | (compute_points_to_sets): Likewise. | |
2316 | (ipa_pta_execute): Likewise. | |
2317 | ||
20804d96 RO |
2318 | 2013-01-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2319 | ||
2320 | * configure.ac (HAVE_AS_SPARC_NOBITS): New test. | |
2321 | * configure: Regenerate. | |
2322 | * config.in: Regenerate. | |
2323 | * config/sparc/sparc.c (sparc_solaris_elf_asm_named_section): Emit | |
2324 | #nobits/#progbits if supported. | |
2325 | ||
a7ad88a2 OE |
2326 | 2013-01-29 Oleg Endo <olegendo@gcc.gnu.org> |
2327 | ||
2328 | PR target/56121 | |
2329 | * config/sh/sh.md (bclr_m2a, bset_m2a, bst_m2a, bld_m2a, bldsign_m2a, | |
2330 | bld_reg, *bld_regqi, band_m2a, bandreg_m2a, bor_m2a, borreg_m2a, | |
2331 | bxor_m2a, bxorreg_m2a): Add satisfies_constraint_K03 condition. | |
2332 | ||
7af79f92 GY |
2333 | 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com> |
2334 | ||
91bfca59 OE |
2335 | * config/arm/cortex-a7.md (cortex_a7_neon, cortex_a7_all): Remove. |
2336 | (cortex_a7_idiv): Use cortex_a7_both instead of cortex_a7_all. | |
7af79f92 | 2337 | |
753bcf7b GY |
2338 | 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com> |
2339 | ||
91bfca59 OE |
2340 | * config/arm/arm.c (cortexa7_younger): Return true for TYPE_CALL. |
2341 | * config/arm/cortex-a7.md (cortex_a7_call): Update required units. | |
753bcf7b | 2342 | |
8cbc2ea8 GY |
2343 | 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com> |
2344 | ||
91bfca59 OE |
2345 | * config/arm/arm-protos.h (arm_mac_accumulator_is_result): New |
2346 | declaration. | |
2347 | * config/arm/arm.c (arm_mac_accumulator_is_result): New function. | |
2348 | * config/arm/cortex-a7.md: New bypasses using | |
2349 | arm_mac_accumulator_is_result. | |
8cbc2ea8 | 2350 | |
697a3325 GY |
2351 | 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com> |
2352 | ||
91bfca59 | 2353 | * config/arm/cortex-a7.md (cortex_a7_neon_mul): New reservation. |
697a3325 | 2354 | (cortex_a7_neon_mla): Likewise. |
91bfca59 OE |
2355 | (cortex_a7_fpfmad): New reservation. |
2356 | (cortex_a7_fpmacs): Use ffmas and update required units. | |
2357 | (cortex_a7_fpmuld): Update required units and latency. | |
2358 | (cortex_a7_fpmacd): Likewise. | |
2359 | (cortex_a7_fdivs, cortex_a7_fdivd): Likewise. | |
2360 | (cortex_a7_neon). Likewise. | |
2361 | (bypass) Update participating units. | |
697a3325 | 2362 | |
29637783 GY |
2363 | 2013-01-29 Greta Yorsh <Greta.Yorsh@arm.com> |
2364 | ||
91bfca59 OE |
2365 | * config/arm/arm.md (type): Add ffmas and ffmad to "type" attribute. |
2366 | * config/arm/vfp.md (fma,fmsub,fnmsub,fnmadd): Change type | |
2367 | from fmac to ffma. | |
2368 | * config/arm/vfp11.md (vfp_farith): Use ffmas. | |
2369 | (vfp_fmul): Use ffmad. | |
2370 | * config/arm/cortex-r4f.md (cortex_r4_fmacs): Use ffmas. | |
2371 | (cortex_r4_fmacd): Use ffmad. | |
2372 | * config/arm/cortex-m4-fpu.md (cortex_m4_fmacs): Use ffmas. | |
2373 | * config/arm/cortex-a9.md (cortex_a9_fmacs): Use ffmas. | |
2374 | (cortex_a9_fmacd): Use ffmad. | |
2375 | * config/arm/cortex-a8-neon.md (cortex_a8_vfp_macs): Use ffmas. | |
2376 | (cortex_a8_vfp_macd): Use ffmad. | |
2377 | * config/arm/cortex-a5.md (cortex_a5_fpmacs): Use ffmas. | |
2378 | (cortex_a5_fpmacd): Use ffmad. | |
2379 | * config/arm/cortex-a15-neon.md (cortex_a15_vfp_macs) Use ffmas. | |
2380 | (cortex_a15_vfp_macd): Use ffmad. | |
2381 | * config/arm/arm1020e.md (v10_fmul): Use ffmas and ffmad. | |
29637783 | 2382 | |
2ee8a2d5 JM |
2383 | 2013-01-29 Jason Merrill <jason@redhat.com> |
2384 | ||
2385 | PR libstdc++/54314 | |
2386 | * varasm.c (default_assemble_visibility): Don't warn about | |
2387 | visibility on artificial decls. | |
2388 | ||
78d087bc RB |
2389 | 2013-01-29 Richard Biener <rguenther@suse.de> |
2390 | ||
2391 | PR tree-optimization/56113 | |
2392 | * tree-ssa-structalias.c (equiv_class_lookup): Also return | |
2393 | the bitmap leader. | |
2394 | (label_visit): Free duplicate bitmaps and record the leader instead. | |
2395 | (perform_var_substitution): Adjust. | |
2396 | ||
83ba4d6f RB |
2397 | 2013-01-29 Richard Biener <rguenther@suse.de> |
2398 | ||
2399 | PR tree-optimization/55270 | |
2400 | * tree-ssa-dom.c (eliminate_degenerate_phis): If we changed | |
2401 | the CFG, schedule loops for fixup. | |
2402 | ||
66dfe13f NC |
2403 | 2013-01-29 Nick Clifton <nickc@redhat.com> |
2404 | ||
2405 | * config/rl78/rl78.c (rl78_regno_mode_code_ok_for_base_p): Allow | |
2406 | SP_REG. | |
2407 | ||
5a579c3b LE |
2408 | 2013-01-28 Leif Ekblad <leif@rdos.net> |
2409 | ||
2410 | * config.gcc (i[34567]86-*-rdos*, x86_64-*-rdos*): New targets. | |
2411 | * config/i386/i386.h (TARGET_RDOS): New macro. | |
2412 | (DEFAULT_LARGE_SECTION_THRESHOLD): New macro. | |
2413 | * config/i386/i386.c (ix86_option_override_internal): For 64bit | |
2414 | TARGET_RDOS, set ix86_cmodel to CM_MEDIUM_PIC and flag_pic to 1. | |
2415 | * config/i386/i386.opt (mlarge-data-threshold): Initialize to | |
2416 | DEFAULT_LARGE_SECTION_THRESHOLD. | |
2417 | * config/i386/i386.md (R14_REG, R15_REG): New constants. | |
2418 | * config/i386/rdos.h: New file. | |
2419 | * config/i386/rdos64.h: New file. | |
2420 | ||
51e44392 BS |
2421 | 2013-01-28 Bernd Schmidt <bernds@codesourcery.com> |
2422 | ||
2423 | PR other/54814 | |
2424 | * reload.c (find_valid_class_1): Use in_hard_reg_set_p instead of | |
2425 | TEST_HARD_REG_BIT. | |
2426 | ||
db1fb332 JJ |
2427 | 2013-01-28 Jakub Jelinek <jakub@redhat.com> |
2428 | ||
2429 | PR rtl-optimization/56117 | |
2430 | * sched-deps.c (sched_analyze_2) <case PREFETCH>: For use_cselib | |
2431 | call cselib_lookup_from_insn on the MEM before calling | |
2432 | add_insn_mem_dependence. | |
2433 | ||
16917761 RB |
2434 | 2013-01-28 Richard Biener <rguenther@suse.de> |
2435 | ||
2436 | * tree-inline.c (remap_gimple_stmt): Do not assing a BLOCK | |
2437 | to a stmt that didn't have one. | |
2438 | (copy_phis_for_bb): Likewise for PHI arguments. | |
2439 | (copy_debug_stmt): Likewise for debug stmts. | |
2440 | ||
b9fc0497 RB |
2441 | 2013-01-28 Richard Biener <rguenther@suse.de> |
2442 | ||
2443 | PR tree-optimization/56034 | |
6edc3e32 | 2444 | * tree-loop-distribution.c (enum partition_kind): Add PKIND_REDUCTION. |
b9fc0497 RB |
2445 | (partition_builtin_p): Adjust. |
2446 | (generate_code_for_partition): Handle PKIND_REDUCTION. Assert | |
2447 | it is the last partition. | |
2448 | (rdg_flag_uses): Check SSA_NAME_IS_DEFAULT_DEF before looking | |
2449 | up the vertex for the definition. | |
2450 | (classify_partition): Classify whether a partition is a | |
2451 | PKIND_REDUCTION, thus has uses outside of the loop. | |
2452 | (ldist_gen): Inherit PKIND_REDUCTION when merging partitions. | |
2453 | Merge all PKIND_REDUCTION partitions into the last partition. | |
2454 | (tree_loop_distribution): Seed partitions from reductions as well. | |
2455 | ||
aa710d25 JJ |
2456 | 2013-01-28 Jakub Jelinek <jakub@redhat.com> |
2457 | ||
0bfbca58 JJ |
2458 | PR tree-optimization/56125 |
2459 | * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Don't optimize | |
2460 | pow(x,c) into sqrt(x) * powi(x, n/2) or | |
2461 | 1.0 / (sqrt(x) * powi(x, abs(n/2))) if c is an integer or when | |
2462 | optimizing for size. | |
2463 | Don't optimize pow(x,c) into powi(x, n/3) * powi(cbrt(x), n%3) or | |
2464 | 1.0 / (powi(x, abs(n)/3) * powi(cbrt(x), abs(n)%3)) if 2c is an | |
2465 | integer. | |
2466 | ||
aa710d25 JJ |
2467 | PR tree-optimization/56094 |
2468 | * gimplify.c (force_gimple_operand_1): Temporarily set input_location | |
2469 | to UNKNOWN_LOCATION while gimplifying expr. | |
2470 | ||
77dc5297 UB |
2471 | 2013-01-27 Uros Bizjak <ubizjak@gmail.com> |
2472 | ||
2473 | PR target/56114 | |
2474 | * config/i386/i386.md (*movabs<mode>_1): Add square brackets around | |
2475 | operand 0 in movabs insn template for -masm=intel asm alternative. | |
2476 | (*movabs<mode>_2): Ditto for operand 1. | |
2477 | ||
0bfbca58 | 2478 | 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com> |
fbf0cf90 DH |
2479 | |
2480 | PR target/54663 | |
2481 | * config.gcc (microblaze*-linux*): Add tmake_file to allow building | |
2482 | of microblaze-c.o | |
2483 | ||
0bfbca58 | 2484 | 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com> |
6f14eef2 EI |
2485 | |
2486 | * config.gcc (microblaze*-*-*): Rename microblaze*-*-elf, update | |
2487 | tm_file. | |
2488 | ||
0bfbca58 | 2489 | 2013-01-25 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
706b2314 N |
2490 | |
2491 | * config/aarch64/aarch64.c (TARGET_FIXED_CONDITION_CODE_REGS): | |
2492 | Undef to avoid warning. | |
2493 | ||
478f60f9 MH |
2494 | 2013-01-25 Michael Haubenwallner <michael.haubenwallner@salomon.at> |
2495 | ||
2496 | * configure.ac (gcc_cv_ld_static_dynamic): Define for AIX native ld. | |
2497 | * configure: Regenerate. | |
2498 | ||
d7fa6ee2 JJ |
2499 | 2013-01-25 Jakub Jelinek <jakub@redhat.com> |
2500 | ||
2501 | PR tree-optimization/56098 | |
2502 | * tree-ssa-phiopt.c (nt_init_block): Don't call add_or_mark_expr | |
2503 | for stmts with volatile ops. | |
2504 | (cond_store_replacement): Don't optimize if assign has volatile ops. | |
2505 | (cond_if_else_store_replacement_1): Don't optimize if either | |
2506 | then_assign or else_assign have volatile ops. | |
2507 | (hoist_adjacent_loads): Don't optimize if either def1 or def2 have | |
2508 | volatile ops. | |
2509 | ||
f8fe87bd GJL |
2510 | 2013-01-25 Georg-Johann Lay <avr@gjlay.de> |
2511 | ||
2512 | * doc/invoke.texi (AVR Built-in Macros): Document __XMEGA__. | |
2513 | ||
28398d0d GJL |
2514 | 2013-01-25 Georg-Johann Lay <avr@gjlay.de> |
2515 | ||
2516 | * doc/extend.texi (Example of asm with clobbered asm reg): Fix | |
2517 | missing ':' in asm example. | |
2518 | ||
b7d7d917 TB |
2519 | 2013-01-25 Tejas Belagod <tejas.belagod@arm.com> |
2520 | ||
2521 | * config/aarch64/aarch64-simd-builtins.def: Separate sq<r>dmulh_lane | |
2522 | entries into lane and laneq entries. | |
77dc5297 UB |
2523 | * config/aarch64/aarch64-simd.md (aarch64_sq<r>dmulh_lane<mode>): |
2524 | Remove AdvSIMD scalar modes. | |
b7d7d917 TB |
2525 | (aarch64_sq<r>dmulh_laneq<mode>): New. |
2526 | (aarch64_sq<r>dmulh_lane<mode>): New RTL pattern for Scalar AdvSIMD | |
2527 | modes. | |
2528 | * config/aarch64/arm_neon.h: Fix all the vq<r>dmulh_lane* intrinsics' | |
2529 | builtin implementations to relfect changes in RTL in aarch64-simd.md. | |
2530 | * config/aarch64/iterators.md (VCOND): New. | |
2531 | (VCONQ): New. | |
2532 | ||
556f9906 GJL |
2533 | 2013-01-25 Georg-Johann Lay <avr@gjlay.de> |
2534 | ||
2535 | PR target/54222 | |
2536 | * config/avr/builtins.def (DEF_BUILTIN): Add LIBNAME argument. | |
2537 | Add NULL LIBNAME argument to existing definitions. | |
2538 | (ABSHR, ABSR, ABSLR, ABSLLR, ABSHK, ABSK, ABSLK, ABSLLK): New. | |
2539 | * config/avr/avr-c.c (DEF_BUILTIN): Add LIBNAME argument. | |
2540 | * config/avr/avr.c (DEF_BUILTIN): Same. | |
2541 | (avr_init_builtins): Pass down LIBNAME to add_builtin_function. | |
2542 | (avr_expand_builtin): Expand to a vanilla call if a libgcc | |
2543 | implementation is available (DECL_ASSEMBLER_NAME is set). | |
2544 | (avr_fold_absfx): New static function. | |
2545 | (avr_fold_builtin): Use it to handle: AVR_BUILTIN_ABSHR, | |
2546 | AVR_BUILTIN_ABSR, AVR_BUILTIN_ABSLR, AVR_BUILTIN_ABSLLR, | |
2547 | AVR_BUILTIN_ABSHK, AVR_BUILTIN_ABSK, AVR_BUILTIN_ABSLK, | |
2548 | AVR_BUILTIN_ABSLLK. | |
2549 | * config/avr/stdfix.h (abshr, absr, abslr, absllr) | |
2550 | (abshk, absk, abslk, absllk): Provide as static inline functions. | |
2551 | ||
1f546bbb MP |
2552 | 2013-01-25 Marek Polacek <polacek@redhat.com> |
2553 | ||
2554 | PR tree-optimization/56035 | |
2555 | * cfgloopmanip.c (fix_loop_structure): Remove redundant condition. | |
2556 | ||
7e184bd7 UB |
2557 | 2012-01-24 Uros Bizjak <ubizjak@gmail.com> |
2558 | ||
2559 | * config/i386/i386.md (*movti_internal_rex64): Add (o,e) alternative. | |
2560 | (*movtf_internal_rex64): Add (!o,C) alternative | |
2561 | (*movxf_internal_rex64): Ditto. | |
2562 | (*movdf_internal_rex64): Add (?r,C) and (?m,C) alternatives. | |
2563 | ||
f5ba49ac SM |
2564 | 2013-01-24 Shenghou Ma <minux.ma@gmail.com> |
2565 | ||
2566 | * doc/invoke.texi: fix typo. | |
2567 | * doc/objc.texi: fix typo. | |
2568 | ||
a6343728 RS |
2569 | 2013-01-24 Richard Sandiford <rdsandiford@googlemail.com> |
2570 | ||
2571 | * config/mips/mips.md (*and<mode>3_mips16): Use the "W" constraint | |
2572 | for the first two alternatives. | |
2573 | ||
cd030c07 DN |
2574 | 2013-01-24 Diego Novillo <dnovillo@google.com> |
2575 | ||
77dc5297 | 2576 | * Makefile.in (GGC): Remove. Replace all instances with ggc-page.o. |
cd030c07 DN |
2577 | (ggc-zone.o): Remove. |
2578 | * configure.ac: Remove option --with-gc. | |
2579 | * configure: Re-generate. | |
2580 | * doc/install.texi: Remove documentation for --with-gc. | |
2581 | * gengtype.c (write_enum_defn): Remove. Update all users. | |
2582 | (write_Types_process_field): Remove generation of gt_e_* argument. | |
2583 | (output_type_enum): Remove. Update all users. | |
2584 | (write_enum_defn): Remove. Update all users. | |
2585 | (enum alloc_zone): Remove. Update all users. | |
77dc5297 | 2586 | (write_splay_tree_allocator_def): Remove generation of gt_e_* argument. |
cd030c07 DN |
2587 | * ggc-common.c (ggc_splay_alloc): Remove first argument. |
2588 | Update all callers. | |
2589 | (struct ptr_data): Remove field TYPE. Update all users. | |
77dc5297 | 2590 | (gt_pch_note_object): Remove argument TYPE. Update all users. |
cd030c07 DN |
2591 | * ggc-internal.h (ggc_pch_alloc_object): Remove last argument. |
2592 | Update all users. | |
aaf1e810 | 2593 | * ggc-none.c (ggc_alloc_typed_stat): Remove. |
cd030c07 DN |
2594 | (struct alloc_zone): Remove. |
2595 | (ggc_internal_alloc_zone_stat): Remove. | |
2596 | (ggc_internal_cleared_alloc_zone_stat): Remove. | |
2597 | * ggc-page.c (ggc_alloc_typed_stat): Remove. | |
77dc5297 UB |
2598 | (ggc_pch_count_object): Remove last argument. Update all users. |
2599 | (ggc_pch_alloc_object): Remove last argument. Update all users. | |
cd030c07 DN |
2600 | (struct alloc_zone): Remove. |
2601 | * ggc-zone.c: Remove. | |
77dc5297 | 2602 | * ggc.h (gt_pch_note_object): Remove last argument. Update all users. |
cd030c07 DN |
2603 | (struct alloc_zone): Remove. |
2604 | (ggc_alloc_typed_stat): Remove. | |
2605 | (ggc_alloc_typed): Remove. | |
2606 | (ggc_splay_alloc): Remove first argument. | |
2607 | (rtl_zone): Remove. Update all users. | |
2608 | (tree_zone): Remove. Update all users. | |
2609 | (tree_id_zone): Remove. Update all users. | |
2610 | (ggc_internal_zone_alloc_stat): Remove. Update all users. | |
77dc5297 | 2611 | (ggc_internal_zone_cleared_alloc_stat): Remove. Update all users. |
cd030c07 | 2612 | (ggc_internal_zone_vec_alloc_stat): Remove. Update all users. |
77dc5297 | 2613 | * tree-ssanames.c: Remove references to zone allocator in comments. |
cd030c07 | 2614 | |
a861ffa4 GJL |
2615 | 2013-01-24 Georg-Johann Lay <avr@gjlay.de> |
2616 | ||
2617 | * config/avr/avr.c (avr_out_fract): Make register numbers that | |
2618 | might be outside of source operand signed. | |
2619 | ||
593c0ddd UB |
2620 | 2013-01-24 Uros Bizjak <ubizjak@gmail.com> |
2621 | ||
2622 | * config/i386/constraints.md (Yf): New constraint. | |
2623 | * config/i386/i386.md (*movdf_internal_rex64): Use Yf*f instead | |
2624 | of f constraint to conditionaly disable x87 register preferences. | |
2625 | (*movdf_internal): Ditto. | |
2626 | (*movsf_internal): Ditto. | |
2627 | ||
e86c0101 SB |
2628 | 2013-01-24 Steven Bosscher <steven@gcc.gnu.org> |
2629 | ||
2630 | PR inline-asm/55934 | |
2631 | * lra-assigns.c (assign_by_spills): Throw away the pattern of asms | |
2632 | that have operands with impossible constraints. | |
2633 | Add a FIXME for a speed-up opportunity. | |
2634 | * lra-constraints.c (process_alt_operands): Verify that a class | |
2635 | selected from constraints on asms is valid for the operand mode. | |
2636 | (curr_insn_transform): Remove incorrect comment. | |
2637 | ||
f6fee35f DE |
2638 | 2013-01-23 David Edelsohn <dje.gcc@gmail.com> |
2639 | ||
2640 | * config/rs6000/rs6000.c (rs6000_delegitimize_address): Check that | |
2641 | TOC operand is a valid symbol ref in the constant pool. | |
2642 | ||
2643 | 2013-01-23 Edgar E. Iglesias <edgar.iglesias@gmail.com> | |
c7729184 | 2644 | |
aaf1e810 | 2645 | * config/microblaze/linux.h: Add TARGET_OS_CPP_BUILTINS |
c7729184 | 2646 | |
dc62d7d1 GJL |
2647 | 2013-01-23 Georg-Johann Lay <avr@gjlay.de> |
2648 | ||
2649 | PR target/54222 | |
2650 | * config/avr/stdfix.h: New file. | |
2651 | * t-avr (stdfix-gcc.h): New rule to build it. | |
2652 | (EXTRA_HEADERS): Set it to install stdfix.h, stdfix-gcc.h. | |
2653 | ||
2660d12d KS |
2654 | 2013-01-23 Kostya Serebryany <kcc@google.com> |
2655 | ||
77dc5297 UB |
2656 | * config/darwin.h: remove dependency on |
2657 | CoreFoundation (asan on Mac OS). | |
2660d12d | 2658 | |
a70418fc JJ |
2659 | 2013-01-23 Jakub Jelinek <jakub@redhat.com> |
2660 | ||
2661 | PR target/49069 | |
2662 | * config/arm/arm.md (cbranchdi4, cstoredi4): Use s_register_operand | |
2663 | instead of cmpdi_operand for first comparison operand. | |
2664 | Don't assert that comparison operands aren't both constants. | |
2665 | ||
47876a2a JW |
2666 | 2013-01-22 Jonathan Wakely <jwakely.gcc@gmail.com> |
2667 | ||
2668 | * doc/install.texi (Downloading the Source): Update references to | |
2669 | downloading separate components. | |
2670 | ||
2671 | 2013-01-22 Jonathan Wakely <jwakely.gcc@gmail.com> | |
4ebd56a5 JW |
2672 | |
2673 | * doc/extend.texi (__int128): Improve grammar. | |
2674 | ||
47876a2a | 2675 | 2013-01-22 Uros Bizjak <ubizjak@gmail.com> |
32fc5b8a UB |
2676 | |
2677 | PR target/56028 | |
2678 | * config/i386/i386.md (*movti_internal_rex64): Change (o,riF) | |
2679 | alternative to (o,r). | |
2680 | (*movdi_internal_rex64): Remove (!o,n) alternative. | |
2681 | (DImode immediate->memory splitter): Remove. | |
2682 | (DImode immediate->memory peephole2): Remove. | |
2683 | (movtf): Enable for TARGET_64BIT || TARGET_SSE. | |
2684 | (*movtf_internal_rex64): Rename from *movtf_internal. Change (!o,F*r) | |
2685 | alternative to (!o,*r). | |
2686 | (*movtf_internal_sse): New pattern. | |
2687 | (*movxf_internal_rex64): New pattern. | |
2688 | (*movxf_internal): Disable for TARGET_64BIT. | |
2689 | (*movdf_internal_rex64): Remove (!o,F) alternative. | |
2690 | ||
3a984f10 JJ |
2691 | 2013-01-22 Jakub Jelinek <jakub@redhat.com> |
2692 | ||
502498d5 JJ |
2693 | PR middle-end/56074 |
2694 | * dumpfile.c (dump_loc): Only print loc if LOCATION_LOCUS (loc) | |
2695 | isn't UNKNOWN_LOCATION nor BUILTINS_LOCATION. | |
2696 | * tree-vect-loop-manip.c (find_loop_location): Also ignore | |
2697 | stmt locations where LOCATION_LOCUS of the stmt location is | |
2698 | UNKNOWN_LOCATION or BUILTINS_LOCATION. | |
2699 | ||
3a984f10 JJ |
2700 | PR target/55686 |
2701 | * config/i386/i386.md (UNSPEC_STOS): New. | |
2702 | (strset_singleop, *strsetdi_rex_1, *strsetsi_1, *strsethi_1, | |
2703 | *strsetqi_1): Add UNSPEC_STOS. | |
2704 | ||
fa817f7f PC |
2705 | 2013-01-22 Paolo Carlini <paolo.carlini@oracle.com> |
2706 | ||
2707 | PR c++/56067 | |
2708 | * doc/invoke.texi: Remove left over -Wsynth example. | |
2709 | ||
8f498c1b JJ |
2710 | 2013-01-21 Jakub Jelinek <jakub@redhat.com> |
2711 | ||
2712 | PR tree-optimization/56051 | |
2713 | * fold-const.c (fold_binary_loc): Don't fold | |
2714 | X < (cast) (1 << Y) into (X >> Y) != 0 if cast is either | |
2715 | a narrowing conversion, or widening conversion from signed | |
2716 | to unsigned. | |
2717 | ||
47876a2a | 2718 | 2013-01-21 Uros Bizjak <ubizjak@gmail.com> |
35d59da7 UB |
2719 | |
2720 | PR rtl-optimization/56023 | |
2721 | * haifa-sched.c (fix_inter_tick): Do not update ticks of instructions, | |
2722 | dependent on debug instruction. | |
2723 | ||
5b9db1bc MJ |
2724 | 2013-01-21 Martin Jambor <mjambor@suse.cz> |
2725 | ||
2726 | PR middle-end/56022 | |
2727 | * function.c (allocate_struct_function): Call | |
2728 | invoke_set_current_function_hook earlier. | |
2729 | ||
e8bb7d68 JJ |
2730 | 2013-01-21 Jakub Jelinek <jakub@redhat.com> |
2731 | ||
2732 | * reload1.c (init_reload): Only initialize reload_obstack | |
2733 | during the first call. | |
2734 | ||
616a4e32 MP |
2735 | 2013-01-21 Marek Polacek <polacek@redhat.com> |
2736 | ||
2737 | * cfgloop.c (verify_loop_structure): Fix up grammar. | |
2738 | ||
4401981b YHH |
2739 | 2013-01-21 Yi-Hsiu Hsu <ahsu@marvell.com> |
2740 | ||
2741 | * config/arm/marvell-pj4.md (pj4_shift_conds, pj4_alu_shift, | |
2742 | pj4_alu_shift_conds, pj4_shift): Handle simple_alu_shift. | |
2743 | ||
8e87740b RR |
2744 | 2013-01-21 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
2745 | ||
2746 | PR target/56058 | |
2747 | * config/arm/marvell-pj4.md: Update copyright year. | |
2748 | Fix up use of alu to alu_reg and simple_alu_imm. | |
2749 | ||
47876a2a | 2750 | 2013-01-21 Uros Bizjak <ubizjak@gmail.com> |
1f6bc337 UB |
2751 | |
2752 | * config/i386/i386.md (enabled): Do not disable fma4 for TARGET_FMA. | |
2753 | ||
89d56d79 VM |
2754 | 2013-01-20 Vladimir Makarov <vmakarov@redhat.com> |
2755 | ||
2756 | PR target/55433 | |
2757 | * lra-constraints.c (curr_insn_transform): Don't reuse original | |
1f6bc337 | 2758 | insn for secondary memory move when memory mode should be different. |
89d56d79 | 2759 | |
fe603553 JDA |
2760 | 2013-01-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
2761 | ||
2762 | * config/pa/pa.md (atomic_loaddi, atomic_loaddi_1, atomic_storedi, | |
2763 | atomic_storedi_1): New patterns. | |
2764 | ||
01284895 VK |
2765 | 2013-01-20 Venkataramanan Kumar <venkataramanan.kumar@amd.com> |
2766 | ||
2767 | btver2 pipeline descriptions. | |
2768 | * config/i386/i386.c: Enable CPU_BTVER2 to use btver2 pipeline | |
2769 | descriptions. | |
2770 | * config/i386/i386.md (btver2_decode): New type attributes. | |
1f6bc337 | 2771 | * config/i386/sse.md (btver2_decode, btver2_sse_attr): New |
01284895 VK |
2772 | type attributes. |
2773 | * config/i386/btver2.md: New file describing btver2 pipelines. | |
2774 | ||
5630e3e1 JL |
2775 | 2013-01-19 Andrew Pinski <apinski@cavium.com> |
2776 | ||
2777 | PR tree-optimization/52631 | |
2778 | * tree-ssa-sccvn (visit_use): Before looking up the original | |
2779 | statement, try looking up the simplified expression. | |
2780 | ||
650ae806 AG |
2781 | 2013-01-19 Anthony Green <green@moxielogic.com> |
2782 | ||
2783 | * config/moxie/moxie.c (moxie_expand_prologue): Set | |
2784 | current_function_static_stack_size. | |
2785 | ||
e300ec2d JJ |
2786 | 2013-01-18 Jakub Jelinek <jakub@redhat.com> |
2787 | ||
2788 | PR tree-optimization/56029 | |
2789 | * tree-phinodes.c (reserve_phi_args_for_new_edge): Set | |
2790 | gimple_phi_arg_location for the new arg to UNKNOWN_LOCATION. | |
2791 | ||
a3d7af04 SS |
2792 | 2013-01-18 Sharad Singhai <singhai@google.com> |
2793 | ||
2794 | PR tree-optimization/55995 | |
2795 | * dumpfile.c (dump_loc): Print location only if available. | |
2796 | * tree-vectorizer.c (increase_alignment): Intialize vect_location. | |
2797 | ||
66aa7879 VM |
2798 | 2013-01-18 Vladimir Makarov <vmakarov@redhat.com> |
2799 | ||
2800 | PR target/55433 | |
2801 | * lra-constraints.c (curr_insn_transform): Reuse original insn for | |
2802 | secondary memory move. | |
2803 | (inherit_reload_reg): Use rclass instead of cl for | |
2804 | check_secondary_memory_needed_p. | |
2805 | ||
3f0fee7b JJ |
2806 | 2013-01-18 Jakub Jelinek <jakub@redhat.com> |
2807 | ||
2808 | PR middle-end/56015 | |
2809 | * expr.c (expand_expr_real_2) <case COMPLEX_EXPR>: Handle | |
1f6bc337 | 2810 | the case where writing real complex part of target modifies op1. |
3f0fee7b | 2811 | |
70c67693 JG |
2812 | 2013-01-18 James Greenhalgh <james.greenhalgh@arm.com> |
2813 | ||
2814 | * config/aarch64/aarch64-simd.md | |
2815 | (aarch64_vcond_internal<mode>): Handle unordered cases. | |
2816 | * config/aarch64/iterators.md (v_cmp_result): New. | |
2817 | ||
df8de9b3 YHH |
2818 | 2013-01-18 Yi-Hsiu Hsu <ahsu@marvell.com> |
2819 | Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> | |
2820 | ||
2821 | * config/arm/marvell-pj4.md: New file. | |
2822 | * config/arm/arm.c (arm_issue_rate): Add marvell_pj4. | |
2823 | * config/arm/arm.md (generic_sched): Add marvell_pj4. | |
2824 | (generic_vfp): Likewise. | |
2825 | * config/arm/arm-cores.def: Add marvell-pj4. | |
2826 | * config/arm/arm-tune.md: Regenerate. | |
2827 | * config/arm/arm-tables.opt: Regenerate. | |
2828 | * config/arm/bpabi.h (BE8_LINK_SPEC): Add marvell_pj4. | |
2829 | * doc/invoke.texi: Document marvell-pj4. | |
2830 | ||
be30c356 TB |
2831 | 2013-01-18 Tejas Belagod <tejas.belagod@arm.com> |
2832 | ||
2833 | * config/aarch64/arm_neon.h: Map scalar types to standard types. | |
2834 | ||
0bfbca58 | 2835 | 2013-01-18 Alexandre Oliva <aoliva@redhat.com> |
af6236c1 AO |
2836 | |
2837 | PR debug/54114 | |
2838 | PR debug/54402 | |
2839 | PR debug/49888 | |
2840 | * var-tracking.c (negative_power_of_two_p): New. | |
2841 | (global_get_addr_cache, local_get_addr_cache): New. | |
2842 | (get_addr_from_global_cache, get_addr_from_local_cache): New. | |
2843 | (vt_canonicalize_addr): Rewrite using the above. Adjust the | |
2844 | heading comment. | |
2845 | (vt_stack_offset_p): Remove. | |
2846 | (vt_canon_true_dep): Always canonicalize loc's address. | |
2847 | (clobber_overlapping_mems): Make sure we have a MEM. | |
2848 | (local_get_addr_clear_given_value): New. | |
2849 | (val_reset): Clear local cached entries. | |
2850 | (compute_bb_dataflow): Create and release the local cache. | |
2851 | Disable duplicate MEMs clobbering. | |
2852 | (emit_notes_in_bb): Clobber MEMs likewise. | |
2853 | (vt_emit_notes): Create and release the local cache. | |
2854 | (vt_initialize, vt_finalize): Create and release the global | |
2855 | cache, respectively. | |
1f6bc337 | 2856 | * alias.c (rtx_equal_for_memref_p): Compare operands of ENTRY_VALUEs. |
af6236c1 | 2857 | |
0bfbca58 | 2858 | 2013-01-18 Alexandre Oliva <aoliva@redhat.com> |
7ff37ffa AO |
2859 | |
2860 | PR libmudflap/53359 | |
2861 | * tree-mudflap.c (mudflap_finish_file): Skip deferred decls | |
2862 | not found in the symtab. | |
2863 | ||
0bfbca58 | 2864 | 2013-01-18 Alexandre Oliva <aoliva@redhat.com> |
3aa03517 | 2865 | |
c350ba53 | 2866 | PR debug/56006 |
3aa03517 AO |
2867 | PR rtl-optimization/55547 |
2868 | PR rtl-optimization/53827 | |
2869 | PR debug/53671 | |
2870 | PR debug/49888 | |
2871 | * alias.c (offset_overlap_p): New, factored out of... | |
2872 | (memrefs_conflict_p): ... this. Use absolute sizes. Retain | |
2873 | the conservative special case for symbolic constants. Don't | |
2874 | adjust zero sizes on alignment. | |
2875 | ||
c664546f JL |
2876 | 2013-01-18 Bernd Schmidt <bernds@codesourcery.com> |
2877 | ||
2878 | PR rtl-optimization/52573 | |
2879 | * regrename.c (build_def_use): Ignore REG_DEAD notes if there is a | |
2880 | REG_UNUSED for the same register. | |
2881 | ||
1bd3f750 MP |
2882 | 2013-01-17 Richard Biener <rguenther@suse.de> |
2883 | Marek Polacek <polacek@redhat.com> | |
2884 | ||
2885 | PR rtl-optimization/55833 | |
2886 | * loop-unswitch.c (unswitch_loops): Move loop verification... | |
2887 | (unswitch_single_loop): ...here. Call mark_irreducible_loops. | |
2888 | * cfgloopmanip.c (fix_loop_placement): Add IRRED_INVALIDATED parameter. | |
2889 | Set it to true when we're removing a loop from hierarchy tree in | |
2890 | an irreducible region. | |
2891 | (fix_bb_placements): Adjust caller. | |
2892 | (fix_loop_placements): Likewise. | |
2893 | ||
e52a8b71 GJL |
2894 | 2013-01-17 Georg-Johann Lay <avr@gjlay.de> |
2895 | ||
2896 | * config/avr/builtins.def (DEF_BUILTIN): Factor out | |
2897 | "__builtin_avr_" from NAME, turn NAME to an uppercase identifier. | |
2898 | Factor out 'CODE_FOR_' from ICODE, use 'nothing' instead of '-1'. | |
2899 | Remove ID. Adjust comments. | |
2900 | * config/avr/avr-c.c (avr_builtin_name): Remove. | |
2901 | (avr_cpu_cpp_builtins): Use DEF_BUILTIN instead of for-loop. | |
2902 | * config/avr/avr.c (avr_tolower): New static function. | |
2903 | (DEF_BUILTIN): Remove parameter ID. Prefix ICODE by 'CODE_FOR_'. | |
2904 | Stringify NAME, prefix it with "__builtin_avr_" and lowercase it. | |
2905 | (avr_expand_builtin): Assert insn_code != CODE_FOR_nothing for | |
2906 | default expansion. | |
2907 | ||
8386a7ea JH |
2908 | 2013-01-17 Jan Hubicka <jh@suse.cz> |
2909 | ||
610fb637 | 2910 | PR tree-optimization/55273 |
8386a7ea JH |
2911 | * loop-iv.c (iv_number_of_iterations): Consider zero iteration case. |
2912 | ||
47876a2a | 2913 | 2013-01-17 Uros Bizjak <ubizjak@gmail.com> |
8abaebcd UB |
2914 | |
2915 | PR target/55981 | |
2916 | * config/i386/sync.md (atomic_store<mode>): Always generate SWImode | |
2917 | store through atomic_store<mode>_1. | |
2918 | (atomic_store<mode>_1): Macroize insn using SWI mode iterator. | |
2919 | ||
8222c37e MJ |
2920 | 2013-01-17 Martin Jambor <mjambor@suse.cz> |
2921 | ||
2922 | PR tree-optimizations/55264 | |
2923 | * ipa-inline-transform.c (can_remove_node_now_p_1): Never return true | |
2924 | for virtual methods. | |
2925 | * ipa.c (symtab_remove_unreachable_nodes): Never return true for | |
2926 | virtual methods before inlining is over. | |
2927 | * cgraph.h (cgraph_only_called_directly_or_aliased_p): Return false for | |
2928 | virtual functions. | |
2929 | * cgraphclones.c (cgraph_create_virtual_clone): Mark clones as | |
2930 | non-virtual. | |
2931 | ||
79f01c76 VM |
2932 | 2013-01-16 Vladimir Makarov <vmakarov@redhat.com> |
2933 | ||
2934 | PR rtl-optimization/56005 | |
2935 | * sched-deps.c (sched_analyze_2): Check deps->readonly for adding | |
2936 | pending reads for prefetch. | |
2937 | ||
d0b6bb1b IB |
2938 | 2013-01-16 Ian Bolton <ian.bolton@arm.com> |
2939 | ||
aaf1e810 | 2940 | * config/aarch64/aarch64.md |
d0b6bb1b IB |
2941 | (*cstoresi_neg_uxtw): New pattern. |
2942 | (*cmovsi_insn_uxtw): New pattern. | |
2943 | (*<optab>si3_uxtw): New pattern. | |
2944 | (*<LOGICAL:optab>_<SHIFT:optab>si3_uxtw): New pattern. | |
2945 | (*<optab>si3_insn_uxtw): New pattern. | |
2946 | (*bswapsi2_uxtw): New pattern. | |
2947 | ||
cb9cf03b RB |
2948 | 2013-01-16 Richard Biener <rguenther@suse.de> |
2949 | ||
2950 | * tree-inline.c (tree_function_versioning): Remove set but | |
2951 | never used variable. | |
2952 | ||
2cfc56b9 RB |
2953 | 2013-01-16 Richard Biener <rguenther@suse.de> |
2954 | ||
2955 | PR tree-optimization/55964 | |
2956 | * tree-flow.h (rename_variables_in_loop): Remove. | |
2957 | (rename_variables_in_bb): Likewise. | |
2958 | * tree-loop-distribution.c (update_phis_for_loop_copy): Remove. | |
2959 | (copy_loop_before): Adjust and delete update-ssa status. | |
2960 | * tree-vect-loop-manip.c (rename_variables_in_bb): Make static. | |
8abaebcd | 2961 | (rename_variables_in_bb): Likewise. Properly walk over predecessors. |
2cfc56b9 RB |
2962 | (rename_variables_in_loop): Remove. |
2963 | (slpeel_update_phis_for_duplicate_loop): Likewise. | |
2964 | (slpeel_tree_duplicate_loop_to_edge_cfg): Handle nested loops, | |
2965 | use available cfg machinery instead of duplicating it. | |
2966 | Update PHI nodes and perform poor-mans SSA update here. | |
2967 | (slpeel_tree_peel_loop_to_edge): Adjust. | |
2968 | ||
c25a0c60 RB |
2969 | 2013-01-16 Richard Biener <rguenther@suse.de> |
2970 | ||
2971 | PR tree-optimization/54767 | |
2972 | PR tree-optimization/53465 | |
2973 | * tree-vrp.c (vrp_meet_1): Revert original fix for PR53465. | |
2974 | (vrp_visit_phi_node): For PHI arguments coming via backedges | |
2975 | drop all symbolical range information. | |
2976 | (execute_vrp): Compute backedges. | |
2977 | ||
04b535af RB |
2978 | 2013-01-16 Richard Biener <rguenther@suse.de> |
2979 | ||
2980 | * doc/install.texi: Update CLooG and ISL requirements to | |
2981 | 0.18.0 and 0.11.1. | |
2982 | ||
8b0a1e0b CB |
2983 | 2013-01-16 Christian Bruel <christian.bruel@st.com> |
2984 | ||
2985 | PR target/55301 | |
2986 | * config/sh/sh.c (sh_expand_prologue): Postpone new_stack mem symbol. | |
2987 | (broken_move): Handle UNSPECV_SP_SWITCH_B. | |
2988 | * config/sh/sh.md (sp_switch_1): Use set (reg:SI SP_REG). | |
2989 | ||
2990 | 2013-01-16 DJ Delorie <dj@redhat.com> | |
2991 | ||
2992 | * config/sh/sh.md (UNSPECV_SP_SWITCH_B): New. | |
2993 | (UNSPECV_SP_SWITCH_E): New. | |
2994 | (sp_switch_1): Change to an unspec. | |
2995 | (sp_switch_2): Change to an unspec. Don't use post-inc when we | |
2996 | replace $r15. | |
2997 | ||
2998 | 2013-01-16 Uros Bizjak <ubizjak@gmail.com> | |
88e784e6 UB |
2999 | |
3000 | * emit-rtl.c (need_atomic_barrier_p): Mask memory model argument | |
3001 | with MEMMODEL_MASK before comparing with MEMMODEL_* memory types. | |
3002 | * optabs.c (maybe_emit_sync_lock_test_and_set): Ditto. | |
3003 | (expand_mem_thread_fence): Ditto. | |
3004 | (expand_mem_signal_fence): Ditto. | |
3005 | (expand_atomic_load): Ditto. | |
3006 | (expand_atomic_store): Ditto. | |
3007 | ||
0bfbca58 | 3008 | 2013-01-16 Alexandre Oliva <aoliva@redhat.com> |
5147bf6a AO |
3009 | |
3010 | PR rtl-optimization/55547 | |
3011 | PR rtl-optimization/53827 | |
3012 | PR debug/53671 | |
3013 | PR debug/49888 | |
3014 | * alias.c (memrefs_conflict_p): Set sizes to negative after | |
3015 | AND adjustments. | |
3016 | ||
305e3ac1 JJ |
3017 | 2013-01-15 Jakub Jelinek <jakub@redhat.com> |
3018 | ||
3019 | PR target/55940 | |
3020 | * function.c (thread_prologue_and_epilogue_insns): Always | |
3021 | add crtl->drap_reg to set_up_by_prologue.set, even if | |
3022 | stack_realign_drap is false. | |
3023 | ||
f78ac4f2 JBG |
3024 | 2013-01-15 Jan-Benedict Glaw <jbglaw@lug-owl.de> |
3025 | ||
3026 | * config/vax/vax.md (add<mode>3, sub<mode>3, mul<mode>3, div<mode>3, | |
3027 | and<mode>3, *and<mode>_const_int, ior<mode>3, xor<mode>3, ashrsi3, | |
3028 | *call): Fix indention. | |
3029 | ||
a78a8cc4 TV |
3030 | 2013-01-15 Tom de Vries <tom@codesourcery.com> |
3031 | ||
3032 | PR target/55876 | |
3033 | * optabs.c (widen_operand): Use gen_lowpart instead of gen_rtx_SUBREG. | |
3034 | Update comment. | |
3035 | ||
0e80383f VM |
3036 | 2013-01-15 Vladimir Makarov <vmakarov@redhat.com> |
3037 | ||
305e3ac1 | 3038 | PR rtl-optimization/55153 |
0e80383f VM |
3039 | * sched-deps.c (sched_analyze_2): Add pending reads for prefetch. |
3040 | ||
207b5956 MJ |
3041 | 2013-01-15 Martin Jambor <mjambor@suse.cz> |
3042 | ||
3043 | PR tree-optimization/55920 | |
3044 | * tree-sra.c (analyze_access_subtree): Do not mark non-removable | |
3045 | accesses as grp_to_be_debug_replaced. | |
3046 | ||
a7818b54 JJ |
3047 | 2013-01-15 Jakub Jelinek <jakub@redhat.com> |
3048 | ||
3049 | PR tree-optimization/55920 | |
3050 | * tree-sra.c (sra_modify_assign): If for lacc->grp_to_be_debug_replaced | |
3051 | there is non-useless type conversion needed from debug rhs to lhs, | |
3052 | use build_debug_ref_for_model and/or VIEW_CONVERT_EXPR. | |
3053 | ||
b0fe107e JM |
3054 | 2013-01-15 Joseph Myers <joseph@codesourcery.com> |
3055 | Mikael Pettersson <mikpe@it.uu.se> | |
3056 | ||
3057 | PR target/43961 | |
3058 | * config/arm/arm.h (ADDR_VEC_ALIGN): Align SImode jump tables for | |
3059 | Thumb. | |
3060 | (ASM_OUTPUT_CASE_LABEL): Remove. | |
3061 | (ASM_OUTPUT_BEFORE_CASE_LABEL): Define to empty. | |
3062 | * final.c (shorten_branches): Update alignment of labels before | |
3063 | jump tables if CASE_VECTOR_SHORTEN_MODE. | |
3064 | ||
34ab62ee RB |
3065 | 2013-01-15 Richard Biener <rguenther@suse.de> |
3066 | ||
3067 | PR bootstrap/55961 | |
3068 | * system.h: Do not include gmp.h for building host tools. | |
3069 | ||
783a3a05 RB |
3070 | 2013-01-15 Richard Biener <rguenther@suse.de> |
3071 | ||
3072 | PR middle-end/55882 | |
3073 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Correctly | |
3074 | account for bitpos when computing alignment. | |
3075 | ||
3a579e09 VY |
3076 | 2013-01-15 Vladimir Yakovlev <vladimir.b.yakovlev@intel.com> |
3077 | ||
3078 | * config/i386/i386-c.c (ix86_target_macros_internal): New case. | |
3079 | (ix86_target_macros_internal): Likewise. | |
3080 | ||
3081 | * config/i386/i386.c (m_CORE2I7): Removed. | |
3082 | (m_CORE_HASWELL): New macro. | |
3083 | (m_CORE_ALL): Likewise. | |
3084 | (initial_ix86_tune_features): m_CORE2I7 is replaced by m_CORE_ALL. | |
3085 | (initial_ix86_arch_features): Likewise. | |
3086 | (processor_target_table): Initializations for Core avx2. | |
3087 | (cpu_names): New names "core-avx2". | |
3088 | (ix86_option_override_internal): Changed PROCESSOR_COREI7 by | |
3089 | PROCESSOR_CORE_HASWELL. | |
3090 | (ix86_issue_rate): New case. | |
3091 | (ia32_multipass_dfa_lookahead): Likewise. | |
3092 | (ix86_sched_init_global): Likewise. | |
3093 | ||
3094 | * config/i386/i386.h (TARGET_HASWELL): New macro. | |
3095 | (target_cpu_default): New TARGET_CPU_DEFAULT_haswell. | |
3096 | (processor_type): New PROCESSOR_HASWELL. | |
3097 | ||
955f5a07 JJ |
3098 | 2013-01-15 Jakub Jelinek <jakub@redhat.com> |
3099 | ||
ff784829 JJ |
3100 | PR tree-optimization/55955 |
3101 | * tree-vect-loop.c (vectorizable_reduction): Give up early on | |
3102 | *SHIFT_EXPR and *ROTATE_EXPR codes. | |
3103 | ||
955f5a07 JJ |
3104 | PR tree-optimization/48766 |
3105 | * opts.c (common_handle_option): For -fwrapv disable -ftrapv, for | |
3106 | -ftrapv disable -fwrapv. | |
3107 | ||
aeb8b4e9 GJL |
3108 | 2013-01-14 Georg-Johann Lay <avr@gjlay.de> |
3109 | ||
3110 | PR target/55974 | |
3111 | * config/avr/avr-c.c (avr_cpu_cpp_builtins): Define __FLASH | |
3112 | etc. to 1 and not to __flash. | |
3113 | Use LL suffix for __INT24_MAX__ with -mint8. | |
3114 | Use ULL suffix for __UINT24_MAX__ with -mint8. | |
3115 | ||
1c494c6a GJL |
3116 | 2013-01-14 Georg-Johann Lay <avr@gjlay.de> |
3117 | ||
3118 | * config/avr/avr-arch.h | |
3119 | (struct base_arch_s): Use typedef avr_arch_t instead. | |
3120 | (struct arch_info_s): Use typedef avr_arch_info_t instead. | |
3121 | (struct mcu_type_s): Use typedef avr_mcu_t instead. | |
3122 | * config/avr/avr.c: Same. | |
3123 | * config/avr/avr-devices.c: Same. | |
3124 | * config/avr/driver-avr.c: Same. | |
3125 | * config/avr/gen-avr-mmcu-texi.c: Same. | |
3126 | * config/avr/avr-mcus.def: Adjust comment. | |
3127 | ||
a50344cb TB |
3128 | 2013-01-14 Tejas Belagod <tejas.belagod@arm.com> |
3129 | ||
88e784e6 UB |
3130 | * config/aarch64/aarch64-simd.md (*aarch64_simd_ld1r<mode>): New. |
3131 | * config/aarch64/iterators.md (VALLDI): New. | |
a50344cb | 3132 | |
47876a2a | 3133 | 2013-01-14 Uros Bizjak <ubizjak@gmail.com> |
e6f0e052 UB |
3134 | Andi Kleen <ak@linux.intel.com> |
3135 | ||
3136 | PR target/55948 | |
3137 | * config/i386/sync.md (atomic_store<mode>_1): New pattern. | |
3138 | (atomic_store<mode>): Call atomic_store<mode>_1 for IX86_HLE_RELEASE | |
3139 | memmodel flag. | |
3140 | ||
00892272 GJL |
3141 | 2013-01-14 Georg-Johann Lay <avr@gjlay.de> |
3142 | ||
3143 | * config/avr/avr-stdint.h: Remove trailing blanks. | |
3144 | * config/avr/avr-log.h: Same. | |
3145 | * config/avr/avr-arch.h: Same. | |
3146 | * config/avr/avr-devices.c: Same. | |
3147 | * config/avr/avr-dimode.md: Same. | |
3148 | * config/avr/predicates.md: Same. | |
3149 | * config/avr/avr-c.c: Same. And fix typo. | |
e6f0e052 | 3150 | |
00892272 GJL |
3151 | * config/avr/avr-protos.h: Same. And: |
3152 | (function_arg_regno_p): Rename to avr_function_arg_regno_p. | |
3153 | (init_cumulative_args): Rename to avr_init_cumulative_args. | |
3154 | (expand_prologue): Rename to avr_expand_prologue. | |
3155 | (expand_epilogue): Rename to avr_expand_epilogue. | |
3156 | (adjust_insn_length): Rename to avr_adjust_insn_length. | |
3157 | (notice_update_cc): Rename to avr_notice_update_cc. | |
3158 | (final_prescan_insn): Rename to avr_final_prescan_insn. | |
3159 | * config/avr/avr.c: Same. | |
3160 | * config/avr/avr.h: Same. | |
3161 | * config/avr/avr.md: Remove trailing blanks. | |
3162 | (prologue): Use avr_expand_prologue. | |
3163 | (epilogue, sibcall_epilogue): Use avr_expand_epilogue. | |
3164 | ||
7bb01996 RB |
3165 | 2013-01-14 Richard Biener <rguenther@suse.de> |
3166 | ||
3167 | * tree-cfg.c (verify_expr_location, verify_expr_location_1, | |
3168 | verify_location, collect_subblocks): New functions. | |
3169 | (verify_gimple_in_cfg): Verify that locations only reference | |
3170 | BLOCKs in the functions BLOCK tree. | |
3171 | ||
2724573f RB |
3172 | 2013-01-14 Richard Biener <rguenther@suse.de> |
3173 | ||
3174 | * tree-cfgcleanup.c (remove_forwarder_block): Unshare propagated | |
3175 | PHI argument. | |
3176 | * graphite-sese-to-poly.c (insert_out_of_ssa_copy): Properly | |
3177 | unshare reference. | |
3178 | (insert_out_of_ssa_copy_on_edge): Likewise. | |
3179 | (rewrite_close_phi_out_of_ssa): Likewise. | |
3180 | * tree-ssa.c (insert_debug_temp_for_var_def): Properly unshare | |
3181 | debug expressions. | |
3182 | * tree-ssa-pre.c (insert_into_preds_of_block): Properly unshare | |
3183 | propagated constants. | |
3184 | * tree-cfg.c (tree_node_can_be_shared): Handled component-refs | |
3185 | can not be shared. | |
3186 | ||
9a0bbab6 GJL |
3187 | 2013-01-14 Georg-Johann Lay <avr@gjlay.de> |
3188 | ||
3189 | * config/avr/avr-modes.def: Add GPL copyright notice. | |
3190 | ||
45805f17 UB |
3191 | 2013-01-13 Uros Bizjak <ubizjak@gmail.com> |
3192 | ||
3193 | * config/i386/sync.md (mem_thread_fence): Mask operands[0] with | |
3194 | MEMMODEL_MASK to determine memory model. | |
3195 | (atomic_store<mode>): Ditto from operands[2]. | |
3196 | * config/i386/i386.c (ix86_memmodel_check): Declare "strong" as bool. | |
3197 | ||
9d60be38 JJ |
3198 | 2013-01-13 Jakub Jelinek <jakub@redhat.com> |
3199 | ||
3200 | PR fortran/55935 | |
45805f17 | 3201 | * gimple-fold.c (get_symbol_constant_value): Call unshare_expr. |
9d60be38 JJ |
3202 | (fold_gimple_assign): Don't call unshare_expr here. |
3203 | (fold_ctor_reference): Call unshare_expr. | |
3204 | ||
e7f49d92 TG |
3205 | 2013-01-13 Terry Guo <terry.guo@arm.com> |
3206 | ||
aaf1e810 EB |
3207 | * Makefile.in (s-mlib): New argument MULTILIB_REUSE. |
3208 | * doc/fragments.texi: Document MULTILIB_REUSE. | |
3209 | * gcc.c (multilib_reuse): New internal spec. | |
e7f49d92 | 3210 | (set_multilib_dir): Also search multilib from multilib_reuse. |
aaf1e810 | 3211 | * genmultilib (tmpmultilib3): Refactor code. |
e7f49d92 TG |
3212 | (tmpmultilib4): Ditto. |
3213 | (multilib_reuse): New multilib argument. | |
3214 | ||
fbd03a27 RS |
3215 | 2013-01-13 Richard Sandiford <rdsandiford@googlemail.com> |
3216 | ||
3217 | * Makefile.in: Update copyright. | |
3218 | ||
b3681f13 TV |
3219 | 2013-01-12 Tom de Vries <tom@codesourcery.com> |
3220 | ||
3221 | PR middle-end/55890 | |
3222 | * calls.c (expand_call): Check if arg_nr is valid. | |
3223 | ||
3f287e4b MM |
3224 | 2013-01-11 Michael Meissner <meissner@linux.vnet.ibm.com> |
3225 | ||
3226 | * doc/extend.texi (X86 Built-in Functions): Add whitespace in | |
3227 | __builtin_ia32_paddb256 and __builtin_ia32_pavgb256 | |
5bc35113 MM |
3228 | documentation. Add missing '__' in front of |
3229 | __builtin_ia32_packssdw256. | |
3f287e4b | 3230 | |
1abcd5eb AK |
3231 | 2013-01-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
3232 | ||
3233 | PR target/55719 | |
3234 | * config/s390/s390.c (s390_preferred_reload_class): Do not return | |
3235 | NO_REGS for larl operands. | |
3236 | (s390_reload_larl_operand): Use s390_load_address instead of | |
3237 | emit_move_insn. | |
3238 | ||
980d0812 RB |
3239 | 2013-01-11 Richard Biener <rguenther@suse.de> |
3240 | ||
3241 | * tree-cfg.c (verify_node_sharing_1): Split out from ... | |
3242 | (verify_node_sharing): ... here. | |
3243 | (verify_gimple_in_cfg): Use verify_node_sharing_1 for walk_tree. | |
3244 | ||
7cb9fd07 EB |
3245 | 2013-01-11 Eric Botcazou <ebotcazou@adacore.com> |
3246 | ||
3247 | * configure.ac (Tree checking): Set TREECHECKING to yes if enabled. | |
3248 | Substitute TREECHECKING. | |
3249 | * configure: Regenerate. | |
3250 | * Makefile.in (TREECHECKING): New. | |
3251 | ||
47876a2a | 3252 | 2013-01-11 Richard Guenther <rguenther@suse.de> |
c7ab2530 RG |
3253 | |
3254 | PR tree-optimization/44061 | |
3255 | * tree-vrp.c (extract_range_basic): Compute zero as | |
3256 | value-range for __builtin_constant_p of function parameters. | |
3257 | ||
d1e082c2 RS |
3258 | 2013-01-10 Richard Sandiford <rdsandiford@googlemail.com> |
3259 | ||
45805f17 | 3260 | Update copyright years. |
d1e082c2 | 3261 | |
f85021b0 VM |
3262 | 2013-01-10 Vladimir Makarov <vmakarov@redhat.com> |
3263 | ||
9d60be38 | 3264 | PR rtl-optimization/55672 |
0160442c VM |
3265 | * lra-eliminations.c (mark_not_eliminable): Permit addition with |
3266 | const to be eliminable. | |
f85021b0 | 3267 | |
7a8b1ec4 DE |
3268 | 2013-01-10 David Edelsohn <dje.gcc@gmail.com> |
3269 | ||
3270 | * configure.ac (HAVE_AS_TLS): Add check for powerpc-ibm-aix. | |
3271 | * configure: Regenerate. | |
3272 | ||
ad2e5b71 RB |
3273 | 2013-01-10 Richard Biener <rguenther@suse.de> |
3274 | ||
ddf9322d | 3275 | * builtins.c (expand_builtin_init_trampoline): Use set_mem_attributes. |
ad2e5b71 | 3276 | |
ffc5b2bb RB |
3277 | 2013-01-10 Richard Biener <rguenther@suse.de> |
3278 | ||
3279 | PR bootstrap/55792 | |
3280 | * tree-into-ssa.c (rewrite_add_phi_arguments): Do not set | |
3281 | locations for virtual PHI arguments. | |
3282 | (rewrite_update_phi_arguments): Likewise. | |
3283 | ||
e1f674e4 JS |
3284 | 2013-01-10 Joel Sherrill <joel.sherrill@OARcorp.com> |
3285 | ||
3286 | * config/v850/rtems.h (ASM_SPEC): Pass -m8byte-align and -mgcc-abi | |
3287 | on to assembler. | |
3288 | ||
a57fc743 JJ |
3289 | 2013-01-10 Jakub Jelinek <jakub@redhat.com> |
3290 | ||
3291 | PR tree-optimization/55921 | |
3292 | * tree-complex.c (expand_complex_asm): New function. | |
3293 | (expand_complex_operations_1): Call it for GIMPLE_ASM. | |
3294 | ||
0ff4390d AK |
3295 | 2013-01-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
3296 | ||
3297 | PR target/55718 | |
3298 | * config/s390/s390.c (s390_symref_operand_p) | |
3299 | (s390_loadrelative_operand_p): Merge the two functions. | |
3300 | (s390_check_qrst_address, print_operand_address): Add parameters | |
3301 | to s390_loadrelative_operand_p invokation. | |
3302 | (s390_check_symref_alignment): Use s390_loadrelative_operand_p. | |
3303 | (s390_reload_larl_operand, s390_secondary_reload): Use | |
3304 | s390_loadrelative_operand_p instead of s390_symref_operand_p. | |
3305 | (legitimize_pic_address): Handle @GOTENT and @PLT + addend. | |
3306 | ||
6f557e0e MS |
3307 | 2013-01-09 Mike Stump <mikestump@comcast.net> |
3308 | ||
3309 | * dse.c (record_store): Remove unnecessary assert. | |
3310 | ||
7770c9e9 JH |
3311 | 2013-01-09 Jan Hubicka <jh@suse.cz> |
3312 | ||
3313 | PR tree-optimization/55569 | |
3314 | * cfgloopmanip.c (scale_loop_profile): Make ITERATION_BOUND gcov_type. | |
3315 | * cfgloop.h (scale_loop_profile): Likewise. | |
3316 | ||
a19b1432 JH |
3317 | 2013-01-09 Jan Hubicka <jh@suse.cz> |
3318 | ||
3319 | PR lto/45375 | |
ddf9322d UB |
3320 | * ipa-inline.c (ipa_inline): Remove extern inlines and virtual |
3321 | functions. | |
a19b1432 JH |
3322 | * cgraphclones.c (cgraph_clone_node): Cpoy also LTO file data. |
3323 | ||
9a002da8 RS |
3324 | 2013-01-09 Richard Sandiford <rdsandiford@googlemail.com> |
3325 | ||
3326 | PR middle-end/55114 | |
3327 | * expr.h (maybe_emit_group_store): Declare. | |
3328 | * expr.c (maybe_emit_group_store): New function. | |
3329 | * builtins.c (expand_builtin_int_roundingfn): Call it. | |
3330 | (expand_builtin_int_roundingfn_2): Likewise. | |
3331 | ||
511dcace VM |
3332 | 2013-01-09 Vladimir Makarov <vmakarov@redhat.com> |
3333 | ||
e1f2b729 | 3334 | PR rtl-optimization/55829 |
511dcace VM |
3335 | * lra-constraints.c (match_reload): Add code for absent output. |
3336 | (curr_insn_transform): Add code for reloads of matched inputs | |
3337 | without output. | |
3338 | ||
7b0fe4f4 UB |
3339 | 2013-01-09 Uros Bizjak <ubizjak@gmail.com> |
3340 | ||
3341 | * config/i386/sse.md (*vec_interleave_highv2df): Change mode | |
3342 | attribute of movddup insn to DF. | |
3343 | (*vec_interleave_lowv2df): Ditto. | |
3344 | (vec_dupv2df): Ditto. | |
3345 | ||
870ca331 JH |
3346 | 2013-01-09 Jan Hubicka <jh@suse.cz> |
3347 | ||
3348 | PR tree-optimiation/55875 | |
3349 | * tree-ssa-loop-niter.c (number_of_iterations_cond): Add | |
3350 | EVERY_ITERATION parameter. | |
7b0fe4f4 | 3351 | (number_of_iterations_exit): Check if exit is executed every iteration. |
870ca331 JH |
3352 | (idx_infer_loop_bounds): Similarly here. |
3353 | (n_of_executions_at_most): Simplify | |
3354 | to only test for cases where statement is dominated by the | |
7b0fe4f4 | 3355 | particular bound; handle correctly the "postdominance" test. |
870ca331 JH |
3356 | (scev_probably_wraps_p): Use max loop iterations info |
3357 | as a global bound first. | |
3358 | ||
6f575fe4 | 3359 | 2013-01-09 Nguyen Duy Dat <dat.nguyen.yn@rvc.renesas.com> |
3cd232b5 NDD |
3360 | Nick Clifton <nickc@redhat.com> |
3361 | ||
3362 | * config/v850/v850.md (cbranchsf4): New pattern. | |
3363 | (cstoresf4): New pattern. | |
3364 | (cbranchdf4): New pattern. | |
3365 | (cstoredf4): New pattern. | |
3366 | (movsicc): Disallow floating point comparisons. | |
3367 | (cmpsf_le_insn): Fix order of operators. | |
3368 | (cmpsf_lt_insn): Likewise. | |
3369 | (cmpsf_eq_insn): Likewise. | |
3370 | (cmpdf_le_insn): Likewise. | |
3371 | (cmpdf_lt_insn): Likewise. | |
3372 | (cmpdf_eq_insn): Likewise. | |
3373 | (cmpsf_ge_insn): Use LE comparison. | |
3374 | (cmpdf_ge_insn): Likewise. | |
3375 | (cmpsf_gt_insn): Use LT comparison. | |
3376 | (cmpdf_gt_insn): Likewise. | |
3377 | (cmpsf_ne_insn): Delete pattern. | |
3378 | (cmpdf_ne_insn): Delete pattern. | |
3379 | * config/v850/v850.c (v850_gen_float_compare): Use | |
3380 | gen_cmpdf_eq_insn for NE comparison. | |
3381 | (v850_float_z_comparison_operator) | |
3382 | (v850_float_nz_comparison_operator): Move from here ... | |
3383 | * config/v850/predicates.md: ... to here. Move GT and GE | |
3384 | comparisons into v850_float_z_comparison_operator. | |
3385 | * config/v850/v850-protos.h (v850_float_z_comparison_operator): | |
3386 | Delete prototype. | |
3387 | (v850_float_nz_comparison_operator): Likewise. | |
3388 | ||
f0d54148 JDA |
3389 | 2013-01-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
3390 | ||
3391 | * config/pa/pa.c (pa_emit_move_sequence): Replace calls to gen_insv | |
3392 | with calls to gen_insvsi/gen_insvdi. | |
3393 | ||
8f01beca VK |
3394 | 2013-01-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com> |
3395 | ||
3396 | * config/i386/i386.c (initial_ix86_tune_features): Set up | |
3397 | X86_TUNE_AVX128_OPTIMAL for m_BTVER2. | |
3398 | ||
2aa579ad JJ |
3399 | 2013-01-09 Steven Bosscher <steven@gcc.gnu.org> |
3400 | Jakub Jelinek <jakub@redhat.com> | |
3401 | ||
3402 | PR tree-optimization/48189 | |
3403 | * predict.c (predict_loops): If max is 0, don't call compare_tree_int. | |
3404 | If nitercst is 0, don't predict the exit edge. | |
3405 | ||
6edc3e32 | 3406 | 2013-01-08 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> |
01a3a324 N |
3407 | |
3408 | * config/aarch64/aarch64.c (aarch64_print_operand): Replace %r | |
3409 | in asm_fprintf with reg_names. | |
3410 | (aarch64_print_operand_address): Likewise. | |
3411 | (aarch64_return_addr): Likewise. | |
3412 | * config/aarch64/aarch64.h (ASM_FPRINTF_EXTENSIONS): Remove. | |
3413 | ||
f6f94d94 JDA |
3414 | 2013-01-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
3415 | ||
3416 | * config/pa/pa.h (VAL_U6_BITS_P): Define. | |
3417 | (INT_U6_BITS): Likewise. | |
3418 | * config/pa/predicates.md (uint6_operand): New predicate. | |
3419 | (shift5_operand, shift6_operand): Likewise. | |
3420 | * config/pa/pa.md (lshrsi3, rotrsi3): Use shift5_operand instead of | |
3421 | arith32_operand. | |
3422 | (lshrdi3): Use shift6_operand. | |
3423 | (shrpsi4, shrpdi4): New insn patterns. | |
3424 | (extzv): Delete expander. | |
3425 | (extzvsi, extzvdi): New expanders. Use uint5_operand and uint6_operand | |
3426 | predicates in unamed zero extract patterns. Tighten common constraint. | |
3427 | (extv): Delete expander. | |
3428 | (extvsi, extvdi): New expanders. Use uint5_operand and uint6_operand | |
3429 | predicates in unamed sign extract patterns. Tighten common constraint. | |
3430 | (insv): Delete expander. | |
3431 | (insvsi, insvdi): New expanders. Use uint5_operand and uint6_operand | |
3432 | predicates in unamed insert patterns. Tighten common constraint. | |
3433 | Change uint32_operand predicate to uint6_operand predicate in unamed | |
3434 | DImode pattern to insert constant values of type 1...1xxxx. | |
3435 | ||
36b72910 JH |
3436 | 2013-01-04 Jan Hubicka <jh@suse.cz> |
3437 | ||
3438 | PR tree-optimization/55823 | |
7b0fe4f4 UB |
3439 | * ipa-prop.c (update_indirect_edges_after_inlining): Fix ordering |
3440 | issue. | |
36b72910 | 3441 | |
47876a2a | 3442 | 2013-01-08 Jakub Jelinek <jakub@redhat.com> |
c6d851b9 JJ |
3443 | Uros Bizjak <ubizjak@gmail.com> |
3444 | ||
3445 | PR rtl-optimization/55845 | |
3446 | * df-problems.c (can_move_insns_across): Stop scanning at | |
3447 | volatile_insn_p source instruction or give up if | |
3448 | across_from .. across_to range contains any volatile_insn_p | |
3449 | instructions. | |
3450 | ||
4369c11e TB |
3451 | 2013-01-08 Tejas Belagod <tejas.belagod@arm.com> |
3452 | ||
7b0fe4f4 UB |
3453 | * config/aarch64/aarch64-simd.md (vec_init<mode>): New. |
3454 | * config/aarch64/aarch64-protos.h (aarch64_expand_vector_init): | |
3455 | Declare. | |
4369c11e | 3456 | * config/aarch64/aarch64.c (aarch64_simd_dup_constant, |
7b0fe4f4 | 3457 | aarch64_simd_make_constant, aarch64_expand_vector_init): New. |
4369c11e | 3458 | |
aeb7e7c1 JJ |
3459 | 2013-01-08 Jakub Jelinek <jakub@redhat.com> |
3460 | ||
3461 | PR fortran/55341 | |
3462 | * asan.c (asan_clear_shadow): New function. | |
3463 | (asan_emit_stack_protection): Use it. | |
3464 | ||
a02ad1aa TB |
3465 | 2013-01-08 Tejas Belagod <tejas.belagod@arm.com> |
3466 | ||
3467 | * config/aarch64/aarch64-simd.md (aarch64_simd_vec_<su>mult_lo_<mode>, | |
3468 | aarch64_simd_vec_<su>mult_hi_<mode>): Separate instruction and operand | |
3469 | with tab instead of space. | |
3470 | ||
f90d87f5 NC |
3471 | 2013-01-08 Nick Clifton <nickc@redhat.com> |
3472 | ||
3473 | * config/rl78/rl78.c (rl78_expand_prologue): Always select | |
3474 | register bank 0 at the start of an interrupt handler. | |
83ffd964 NC |
3475 | * config/rl78/rl78.md (mulsi3_g13): Correct values for MDBL and |
3476 | MDBH registers. | |
f90d87f5 | 3477 | |
385eb93d JG |
3478 | 2013-01-08 James Greenhalgh <james.greenhalgh@arm.com> |
3479 | ||
3480 | * config/aarch64/aarch64-simd.md | |
3481 | (aarch64_simd_bsl<mode>_internal): Add floating-point modes. | |
3482 | (aarch64_simd_bsl): Likewise. | |
3483 | (aarch64_vcond_internal<mode>): Likewise. | |
3484 | (vcond<mode><mode>): Likewise. | |
3485 | (aarch64_cm<cmp><mode>): Fix constraints, add new modes. | |
3486 | * config/aarch64/iterators.md (V_cmp_result): Add V2DF. | |
3487 | ||
4dcd1054 JG |
3488 | 2013-01-08 James Greenhalgh <james.greenhalgh@arm.com> |
3489 | ||
3490 | * config/aarch64/aarch64-builtins.c | |
3491 | (aarch64_builtin_vectorized_function): Handle sqrt, sqrtf. | |
3492 | ||
4267a4a6 MJ |
3493 | 2013-01-08 Martin Jambor <mjambor@suse.cz> |
3494 | ||
3495 | PR debug/55579 | |
3496 | * tree-sra.c (analyze_access_subtree): Return true also after | |
3497 | potentially creating a debug-only replacement. | |
3498 | ||
5f4e6de3 JJ |
3499 | 2013-01-08 Jakub Jelinek <jakub@redhat.com> |
3500 | ||
3138f224 JJ |
3501 | PR middle-end/55890 |
3502 | * tree-ssa-ccp.c (evaluate_stmt): Use gimple_call_builtin_p. | |
3503 | ||
5f4e6de3 JJ |
3504 | PR tree-optimization/54120 |
3505 | * tree-vrp.c (range_fits_type_p): Don't allow | |
3506 | src_precision < precision from signed vr to unsigned_p | |
3507 | if vr->min or vr->max is negative. | |
3508 | (simplify_float_conversion_using_ranges): Test can_float_p | |
3509 | against CODE_FOR_nothing. | |
3510 | ||
f3ef18ff JJ |
3511 | 2013-01-08 Jakub Jelinek <jakub@redhat.com> |
3512 | Richard Biener <rguenther@suse.de> | |
3513 | ||
3514 | PR middle-end/55851 | |
3515 | * fold-const.c (int_binop_types_match_p): Allow all INTEGRAL_TYPE_P | |
3516 | types instead of just INTEGER_TYPE types. | |
3517 | ||
25c210f9 MK |
3518 | 2013-01-07 Mark Kettenis <kettenis@openbsd.org> |
3519 | ||
3520 | * config/i386/openbsdelf.h (LIBGCC2_HAS_TF_MODE, LIBGCC2_TF_CEXT, | |
3521 | TF_SIZE): Define. | |
f90d87f5 | 3522 | |
81826a7b SE |
3523 | 2013-01-07 Steve Ellcey <sellcey@mips.com> |
3524 | ||
3525 | PR target/42661 | |
3526 | * config/mips/mips.opt: Change mad to mmad to match documentation. | |
3527 | ||
35678514 GJL |
3528 | 2013-01-07 Georg-Johann Lay <avr@gjlay.de> |
3529 | ||
3530 | PR target/55897 | |
3531 | * doc/extend.texi (AVR Named Address Spaces): __memx goes into | |
3532 | .progmemx.data now. | |
3533 | ||
e5669488 GJL |
3534 | 2013-01-07 Georg-Johann Lay <avr@gjlay.de> |
3535 | ||
3536 | PR target/55897 | |
3537 | * config/avr/avr.h (ADDR_SPACE_COUNT): New enum. | |
3538 | (avr_addrspace_t): Add .section_name field. | |
3539 | * config/avr/avr.c (progmem_section): Use ADDR_SPACE_COUNT as | |
3540 | array size. | |
3541 | (avr_addrspace): Same. Initialize .section_name. Remove last | |
3542 | NULL entry. Put __memx into .progmemx.data. | |
3543 | (progmem_section_prefix): Remove. | |
3544 | (avr_asm_init_sections): No need to initialize progmem_section. | |
3545 | (avr_asm_named_section): Use avr_addrspace[].section_name to get | |
3546 | section name prefix. | |
3547 | (avr_asm_select_section): Ditto. And use get_unnamed_section to | |
3548 | retrieve the progmem section. | |
3549 | * avr-c.c (avr_cpu_cpp_builtins): Use ADDR_SPACE_COUNT as loop | |
3550 | boundary to run over avr_addrspace[]. | |
3551 | (avr_register_target_pragmas): Ditto. | |
3552 | ||
656e6f37 JJ |
3553 | 2013-01-06 Jakub Jelinek <jakub@redhat.com> |
3554 | ||
3555 | * varasm.c (output_constant_def_contents): For asan_protect_global | |
3556 | protected strings, adjust DECL_ALIGN if needed, before testing for | |
3557 | anchored symbols. | |
3558 | (place_block_symbol): Adjust size for asan protected STRING_CSTs if | |
3559 | TREE_CONSTANT_POOL_ADDRESS_P. Increase alignment for asan protected | |
3560 | normal decls. | |
3561 | (output_object_block): For asan protected decls, emit asan padding | |
3562 | after their contents. | |
3563 | * asan.c (asan_protect_global): Don't check TREE_ASM_WRITTEN here. | |
3564 | (asan_finish_file): Test it here instead. | |
3565 | ||
6edc3e32 UB |
3566 | 2013-01-07 Nick Clifton <nickc@redhat.com> |
3567 | Matthias Klose <doko@debian.org> | |
3568 | Doug Kwan <dougkwan@google.com> | |
3569 | H.J. Lu <hongjiu.lu@intel.com> | |
b352afba NC |
3570 | |
3571 | PR driver/55470 | |
3572 | * collect2.c (main): Support -fuse-ld=bfd and -fuse-ld=gold. | |
3573 | ||
3574 | * common.opt: Add fuse-ld=bfd and fuse-ld=gold. | |
3575 | ||
3576 | * gcc.c (LINK_COMMAND_SPEC): Pass -fuse-ld=* to collect2. | |
3577 | ||
7b0fe4f4 | 3578 | * opts.c (comman_handle_option): Ignore -fuse-ld=bfd and -fuse-ld=gold. |
b352afba NC |
3579 | |
3580 | * doc/invoke.texi: Document -fuse-ld=bfd and -fuse-ld=gold. | |
3581 | ||
2a095093 GJL |
3582 | 2013-01-07 Georg-Johann Lay <avr@gjlay.de> |
3583 | ||
f3b503f4 | 3584 | PR target/54461 |
2a095093 GJL |
3585 | * doc/install.texi (Cross-Compiler-Specific Options): Document |
3586 | --with-avrlibc. | |
3587 | ||
383f9b34 TB |
3588 | 2013-01-07 Tejas Belagod <tejas.belagod@arm.com> |
3589 | ||
3590 | * config/aarch64/arm_neon.h (vmovn_high_is16, vmovn_high_s32, | |
3591 | vmovn_high_s64, vmovn_high_u16, vmovn_high_u32, vmovn_high_u64, | |
3592 | vqmovn_high_s16, vqmovn_high_s32, vqmovn_high_s64, vqmovn_high_u16, | |
3593 | vqmovn_high_u32, vqmovn_high_u64, vqmovun_high_s16, vqmovun_high_s32, | |
3594 | vqmovun_high_s64): Fix source operand number and update copyright. | |
3595 | ||
3626621a RB |
3596 | 2013-01-07 Richard Biener <rguenther@suse.de> |
3597 | ||
3598 | PR middle-end/55890 | |
3599 | * gimple.h (gimple_call_builtin_p): New overload. | |
3600 | * gimple.c (validate_call): New function. | |
3601 | (gimple_call_builtin_p): Likewise. | |
3602 | * tree-ssa-structalias.c (find_func_aliases_for_builtin_call): | |
3603 | Use gimple_call_builtin_p. | |
3604 | (find_func_clobbers): Likewise. | |
3605 | * tree-ssa-strlen.c (adjust_last_stmt): Likewise. | |
3606 | (strlen_optimize_stmt): Likewise. | |
3607 | ||
8b2ea410 JG |
3608 | 2013-01-07 James Greenhalgh <james.greenhalgh@arm.com> |
3609 | ||
3610 | * config/aarch64/arm_neon.h (vld1_dup_*): Make argument const. | |
3611 | (vld1q_dup_*): Likewise. | |
3612 | (vld1_*): Likewise. | |
3613 | (vld1q_*): Likewise. | |
3614 | (vld1_lane_*): Likewise. | |
3615 | (vld1q_lane_*): Likewise. | |
3616 | ||
9713d329 RB |
3617 | 2013-01-07 Richard Biener <rguenther@suse.de> |
3618 | ||
3619 | * lto-streamer.h (LTO_minor_version): Bump to 2. | |
3620 | ||
3520f7cc JG |
3621 | 2013-01-07 James Greenhalgh <james.greenhalgh@arm.com> |
3622 | ||
3623 | * config/aarch64/aarch64-protos.h | |
3624 | (aarch64_const_double_zero_rtx_p): Rename to... | |
3625 | (aarch64_float_const_zero_rtx_p): ...this. | |
3626 | (aarch64_float_const_representable_p): New. | |
3627 | (aarch64_output_simd_mov_immediate): Likewise. | |
3628 | * config/aarch64/aarch64-simd.md (*aarch64_simd_mov<mode>): Refactor | |
3629 | move immediate case. | |
3630 | * config/aarch64/aarch64.c | |
3631 | (aarch64_const_double_zero_rtx_p): Rename to... | |
3632 | (aarch64_float_const_zero_rtx_p): ...this. | |
3633 | (aarch64_print_operand): Allow printing of new constants. | |
3634 | (aarch64_valid_floating_const): New. | |
3635 | (aarch64_legitimate_constant_p): Check for valid floating-point | |
3636 | constants. | |
3637 | (aarch64_simd_valid_immediate): Likewise. | |
3638 | (aarch64_vect_float_const_representable_p): New. | |
3639 | (aarch64_float_const_representable_p): Likewise. | |
3640 | (aarch64_simd_imm_zero_p): Also allow for floating-point 0.0. | |
3641 | (aarch64_output_simd_mov_immediate): New. | |
3642 | * config/aarch64/aarch64.md (*movsf_aarch64): Add new alternative. | |
3643 | (*movdf_aarch64): Likewise. | |
3644 | * config/aarch64/constraints.md (Ufc): New. | |
3645 | (Y): call aarch64_float_const_zero_rtx. | |
3646 | * config/aarch64/predicates.md (aarch64_fp_compare_operand): New. | |
3647 | ||
e167c04d RB |
3648 | 2013-01-07 Richard Biener <rguenther@suse.de> |
3649 | ||
3650 | PR tree-optimization/55888 | |
3651 | PR tree-optimization/55862 | |
3652 | * tree-ssa-pre.c (phi_translate_1): Revert previous change. | |
3653 | (valid_in_sets): Check if a NAME has a leader in AVAIL_OUT, | |
3654 | not if it is contained therein. | |
3655 | ||
0139aaab GJL |
3656 | 2013-01-07 Georg-Johann Lay <avr@gjlay.de> |
3657 | ||
3658 | * config/avr/t-avr: Typo. | |
3659 | ||
4a176b23 GJL |
3660 | 2013-01-07 Georg-Johann Lay <avr@gjlay.de> |
3661 | ||
3662 | PR55243 | |
3663 | * config/avr/t-avr: Don't automatically rebuild | |
3664 | $(srcdir)/config/avr/t-multilib | |
3665 | $(srcdir)/config/avr/avr-tables.opt | |
3666 | $(srcdir)/doc/avr-mmcu.texi | |
3667 | (avr-mcus): New phony target to build them on request. | |
3668 | (s-avr-mlib, s-avr-mmcu-texi): Remove. | |
3669 | * avr/avr-mcus.def: Adjust comments. | |
3670 | ||
c7afdc98 UB |
3671 | 2013-01-07 Uros Bizjak <ubizjak@gmail.com> |
3672 | ||
3673 | * config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Remove. | |
3674 | ||
1ab05c31 RS |
3675 | 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com> |
3676 | ||
3677 | * file-find.c, file-find.h, realmpfr.c: Add FSF as copyright holder. | |
3678 | ||
488e3acc RS |
3679 | 2013-01-06 Richard Sandiford <rdsandiford@googlemail.com> |
3680 | ||
3681 | * config/tilepro/gen-mul-tables.cc: Put copyright on one line. | |
3682 | ||
a89599d2 DE |
3683 | 2013-01-05 David Edelsohn <dje.gcc@gmail.com> |
3684 | ||
3685 | * config/rs6000/aix53.h (LIB_SPEC): Add -lpthreads when compiling | |
3686 | to generate profiling. | |
3687 | * config/rs6000/aix64.h (LIB_SPEC): Same. | |
3688 | ||
70f09188 AP |
3689 | 2013-01-04 Andrew Pinski <apinski@cavium.com> |
3690 | ||
3691 | * config/aarch64/aarch64.c (aarch64_fixed_condition_code_regs): | |
3692 | New function. | |
3693 | (TARGET_FIXED_CONDITION_CODE_REGS): Define. | |
3694 | ||
918d445f UB |
3695 | 2013-01-04 Uros Bizjak <ubizjak@gmail.com> |
3696 | ||
3697 | * config/i386/i386.c (ix86_legitimize_address): Call convert_to_mode | |
3698 | unconditionally. | |
3699 | (ix86_expand_move): Ditto. | |
3700 | (ix86_zero_extend_to_Pmode): Ditto. | |
3701 | (ix86_expand_call): Ditto. | |
3702 | (ix86_expand_special_args_builtin): Ditto. | |
3703 | (ix86_expand_builtin): Ditto. | |
3704 | ||
361618ec RB |
3705 | 2013-01-04 Richard Biener <rguenther@suse.de> |
3706 | ||
3707 | PR tree-optimization/55862 | |
3708 | * tree-ssa-pre.c (phi_translate_1): Valueize SSA names after | |
3709 | translating them through PHI nodes. | |
3710 | ||
87eab554 MJ |
3711 | 2013-01-04 Martin Jambor <mjambor@suse.cz> |
3712 | ||
3713 | PR tree-optimization/55755 | |
3714 | * tree-sra.c (sra_modify_assign): Do not check that an access has no | |
3715 | children when trying to avoid producing a VIEW_CONVERT_EXPR. | |
3716 | ||
33879b9f MP |
3717 | 2013-01-04 Marek Polacek <polacek@redhat.com> |
3718 | ||
3719 | PR middle-end/55859 | |
3720 | * opts.c (default_options_optimization): Clarify error message. | |
3721 | ||
3068819a RB |
3722 | 2013-01-04 Richard Biener <rguenther@suse.de> |
3723 | ||
3724 | PR middle-end/55863 | |
3725 | * fold-const.c (split_tree): Undo -X - 1 to ~X folding for | |
3726 | reassociation. | |
3727 | ||
0e4ae794 JDA |
3728 | 2013-01-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
3729 | ||
3730 | PR target/53789 | |
3731 | * config/pa/pa.md (movsi): Revert previous change. | |
e58d2e48 JDA |
3732 | * config/pa/pa.c (pa_legitimate_constant_p): Reject all TLS symbol |
3733 | references. | |
0e4ae794 | 3734 | |
65c88cef RH |
3735 | 2013-01-03 Richard Henderson <rth@redhat.com> |
3736 | ||
3737 | * config/i386/i386.c (ix86_expand_move): Always assign to op1 | |
3738 | after eliminating TLS symbols. | |
3739 | ||
8ac16127 MG |
3740 | 2013-01-03 Marc Glisse <marc.glisse@inria.fr> |
3741 | ||
3742 | PR bootstrap/50167 | |
3743 | * graphite-interchange.c (pdr_stride_in_loop): Use gmp_fprintf. | |
3744 | * graphite-poly.c (debug_gmp_value): Likewise. | |
3745 | ||
bb664f09 UB |
3746 | 2013-01-03 Uros Bizjak <ubizjak@gmail.com> |
3747 | ||
3748 | PR target/55712 | |
3749 | * config/i386/i386-c.c (ix86_target_macros_internal): Depending on | |
3750 | selected code model, define __code_mode_small__, __code_model_medium__, | |
3751 | __code_model_large__, __code_model_32__ or __code_model_kernel__. | |
3752 | * config/i386/cpuid.h (__cpuid, __cpuid_count) [__i386__]: Prefix | |
3753 | xchg temporary register with %k. Declare temporary register as | |
3754 | early clobbered. | |
3755 | [__x86_64__]: For medium and large code models, preserve %rbx register. | |
3756 | ||
bcf1ef00 RB |
3757 | 2013-01-03 Richard Biener <rguenther@suse.de> |
3758 | ||
0506634a | 3759 | * tree-data-ref.c (dump_conflict_function): Use less vertical spacing. |
bcf1ef00 RB |
3760 | (dump_subscript): Adjust. |
3761 | (finalize_ddr_dependent): Do not dump redundant info. | |
3762 | (analyze_siv_subscript): Adjust. | |
3763 | (subscript_dependence_tester): Likewise. | |
3764 | (compute_affine_dependence): Likewise. | |
3765 | ||
59fd17e3 RB |
3766 | 2013-01-03 Richard Biener <rguenther@suse.de> |
3767 | ||
3768 | Revert | |
3769 | 2013-01-03 Richard Biener <rguenther@suse.de> | |
3770 | ||
3771 | PR tree-optimization/55857 | |
3772 | * tree-vect-stmts.c (vectorizable_load): Do not setup | |
3773 | re-alignment for invariant loads. | |
3774 | ||
3775 | 2013-01-02 Richard Biener <rguenther@suse.de> | |
3776 | ||
3777 | * tree-vect-stmts.c (vectorizable_load): When vectorizing an | |
0506634a | 3778 | invariant load do not generate a vector load from the scalar location. |
59fd17e3 | 3779 | |
595c2679 RB |
3780 | 2013-01-03 Richard Biener <rguenther@suse.de> |
3781 | ||
3782 | * tree-vect-loop.c (vect_analyze_loop_form): Clarify reason | |
3783 | for not vectorizing. | |
3784 | * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): Do | |
3785 | not build INDIRECT_REFs, call get_name once only. | |
3786 | (vect_create_data_ref_ptr): Likewise. Dump base object kind | |
3787 | based on DR_BASE_OBJECT, not DR_BASE_ADDRESS. | |
3788 | ||
90bb7d7a RB |
3789 | 2013-01-03 Richard Biener <rguenther@suse.de> |
3790 | ||
3791 | PR tree-optimization/55857 | |
3792 | * tree-vect-stmts.c (vectorizable_load): Do not setup | |
3793 | re-alignment for invariant loads. | |
3794 | ||
f09b77ca RB |
3795 | 2013-01-03 Richard Biener <rguenther@suse.de> |
3796 | ||
3797 | PR lto/55848 | |
3798 | * lto-symtab.c (lto_symtab_merge_decls_1): As last resort, always | |
3799 | prefer a built-in decl. | |
3800 | ||
3461a16e JJ |
3801 | 2013-01-03 Jakub Jelinek <jakub@redhat.com> |
3802 | ||
df8e2b4f JJ |
3803 | * gcc.c (process_command): Update copyright notice dates. |
3804 | * gcov.c (print_version): Likewise. | |
3805 | * gcov-dump.c (print_version): Likewise. | |
3806 | ||
3461a16e JJ |
3807 | PR rtl-optimization/55838 |
3808 | * loop-iv.c (iv_number_of_iterations): Call lowpart_subreg on | |
3809 | iv0.step, iv1.step and step. | |
3810 | ||
8b5546d6 JJ |
3811 | 2013-01-03 Jakub Jelinek <jakub@redhat.com> |
3812 | Marc Glisse <marc.glisse@inria.fr> | |
3813 | ||
3814 | PR tree-optimization/55832 | |
3815 | * fold-const.c (fold_binary_loc): For ABS_EXPR<x> >= 0 and | |
3816 | ABS_EXPR<x> < 0 folding use constant_boolean_node instead of | |
3817 | integer_{one,zero}_node. | |
3818 | ||
8ab1d2e9 JJ |
3819 | 2013-01-03 Jakub Jelinek <jakub@redhat.com> |
3820 | ||
3821 | PR debug/54402 | |
3822 | * params.def (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE): New param. | |
3823 | * var-tracking.c (reverse_op): Don't add reverse ops to | |
3824 | VALUEs that have already | |
0506634a | 3825 | PARAM_VALUE (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE) or longer locs list. |
8ab1d2e9 | 3826 | |
5b9ad1d4 GP |
3827 | 2013-01-02 Gerald Pfeifer <gerald@pfeifer.com> |
3828 | ||
3829 | * doc/contrib.texi: Note years as release manager for Mark Mitchell. | |
3830 | ||
e25a6711 TJ |
3831 | 2013-01-02 Teresa Johnson <tejohnson@google.com> |
3832 | ||
3833 | * dumpfile.c (dump_loc): Print filename with location. | |
3834 | * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Use | |
3835 | new location_t parameter to emit complete unroll message with | |
3836 | new dump framework. | |
3837 | (canonicalize_loop_induction_variables): Compute loops location | |
3838 | and pass to try_unroll_loop_completely. | |
3839 | * loop-unroll.c (report_unroll_peel): New function. | |
3840 | (peel_loops_completely): Use new dump format with location | |
3841 | for main dumpfile message, and invoke report_unroll_peel on success. | |
3842 | (decide_unrolling_and_peeling): Ditto. | |
3843 | (decide_peel_once_rolling): Remove old dumpfile message subsumed | |
3844 | by report_unroll_peel. | |
3845 | (decide_peel_completely): Ditto. | |
3846 | (decide_unroll_constant_iterations): Ditto. | |
3847 | (decide_unroll_runtime_iterations): Ditto. | |
3848 | (decide_peel_simple): Ditto. | |
3849 | (decide_unroll_stupid): Ditto. | |
3850 | * cfgloop.c (get_loop_location): New function. | |
3851 | * cfgloop.h (get_loop_location): Declare. | |
3852 | ||
77878621 ST |
3853 | 2013-01-02 Sriraman Tallam <tmsriram@google.com> |
3854 | ||
3855 | * config/i386/i386.c (fold_builtin_cpu): Remove unnecessary checks for | |
3856 | NULL. | |
3857 | ||
9e65d03e JDA |
3858 | 2013-01-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
3859 | ||
3860 | PR middle-end/55198 | |
3861 | * expr.c (expand_expr_real_1): Don't use bitfield extraction for non | |
3862 | BLKmode objects when EXPAND_MEMORY is specified. | |
3863 | ||
6a7da30f ST |
3864 | 2013-01-02 Sriraman Tallam <tmsriram@google.com> |
3865 | ||
3866 | * config/i386/i386.c (ix86_get_function_versions_dispatcher): Fix bug | |
3867 | in loop predicate. | |
3868 | (fold_builtin_cpu): Do not share cpu model decls across statements. | |
3869 | ||
e78167f2 JM |
3870 | 2013-01-02 Jason Merrill <jason@redhat.com> |
3871 | ||
3872 | PR c++/55804 | |
3873 | * tree.c (build_array_type_1): Revert earlier change. | |
3874 | ||
8c075fb4 YZ |
3875 | 2013-01-02 Yufeng Zhang <yufeng.zhang@arm.com> |
3876 | ||
3877 | * config/aarch64/aarch64-cores.def: Add entries for "cortex-a53" and | |
3878 | "cortex-a57". | |
3879 | * config/aarch64/aarch64-tune.md: Re-generate. | |
3880 | ||
0682ed3e RB |
3881 | 2013-01-02 Richard Biener <rguenther@suse.de> |
3882 | ||
3883 | * tree-vect-stmts.c (vectorizable_load): When vectorizing an | |
0506634a | 3884 | invariant load do not generate a vector load from the scalar location. |
0682ed3e | 3885 | |
b8f6a302 RB |
3886 | 2013-01-02 Richard Biener <rguenther@suse.de> |
3887 | ||
3888 | PR bootstrap/55784 | |
3889 | * configure.ac: Add $GMPINC to CFLAGS/CXXFLAGS. | |
3890 | * configure: Regenerate. | |
3891 | ||
04b80dbb RS |
3892 | 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com> |
3893 | ||
3894 | * builtins.c (expand_builtin_mathfn, expand_builtin_mathfn_2) | |
3895 | (expand_builtin_mathfn_ternary, expand_builtin_mathfn_3) | |
3896 | (expand_builtin_int_roundingfn_2): Keep the original target around | |
3897 | for the fallback case. | |
3898 | ||
635b0b0c RS |
3899 | 2013-01-02 Richard Sandiford <rdsandiford@googlemail.com> |
3900 | ||
3901 | * tree-vrp.c (range_fits_type_p): Require the MSB of the double_int | |
3902 | to be clear for sign changes. | |
3903 | ||
42d57399 JH |
3904 | 2013-01-01 Jan Hubicka <jh@suse.cz> |
3905 | ||
3906 | * ipa-inline-analysis.c: Fix formatting. | |
3907 | ||
5bb6669d JJ |
3908 | 2013-01-01 Jakub Jelinek <jakub@redhat.com> |
3909 | ||
3910 | PR tree-optimization/55831 | |
3911 | * tree-vect-loop.c (get_initial_def_for_induction): Use | |
3912 | gsi_after_labels instead of gsi_start_bb. | |
ad41bd84 | 3913 | \f |
86a2db33 | 3914 | Copyright (C) 2013 Free Software Foundation, Inc. |
ad41bd84 JM |
3915 | |
3916 | Copying and distribution of this file, with or without modification, | |
3917 | are permitted in any medium without royalty provided the copyright | |
3918 | notice and this notice are preserved. |