]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/ChangeLog
re PR libstdc++/55043 (issue with nesting unordered_map containing unique_ptr into...
[thirdparty/gcc.git] / gcc / ChangeLog
CommitLineData
8b0a1e0b
CB
12013-01-16 Christian Bruel <christian.bruel@st.com>
2
3 PR target/55301
4 * config/sh/sh.c (sh_expand_prologue): Postpone new_stack mem symbol.
5 (broken_move): Handle UNSPECV_SP_SWITCH_B.
6 * config/sh/sh.md (sp_switch_1): Use set (reg:SI SP_REG).
7
82013-01-16 DJ Delorie <dj@redhat.com>
9
10 * config/sh/sh.md (UNSPECV_SP_SWITCH_B): New.
11 (UNSPECV_SP_SWITCH_E): New.
12 (sp_switch_1): Change to an unspec.
13 (sp_switch_2): Change to an unspec. Don't use post-inc when we
14 replace $r15.
15
162013-01-16 Uros Bizjak <ubizjak@gmail.com>
88e784e6
UB
17
18 * emit-rtl.c (need_atomic_barrier_p): Mask memory model argument
19 with MEMMODEL_MASK before comparing with MEMMODEL_* memory types.
20 * optabs.c (maybe_emit_sync_lock_test_and_set): Ditto.
21 (expand_mem_thread_fence): Ditto.
22 (expand_mem_signal_fence): Ditto.
23 (expand_atomic_load): Ditto.
24 (expand_atomic_store): Ditto.
25
5147bf6a
AO
262013-01-16 Alexandre Oliva <aoliva@redhat.com>
27
28 PR rtl-optimization/55547
29 PR rtl-optimization/53827
30 PR debug/53671
31 PR debug/49888
32 * alias.c (memrefs_conflict_p): Set sizes to negative after
33 AND adjustments.
34
305e3ac1
JJ
352013-01-15 Jakub Jelinek <jakub@redhat.com>
36
37 PR target/55940
38 * function.c (thread_prologue_and_epilogue_insns): Always
39 add crtl->drap_reg to set_up_by_prologue.set, even if
40 stack_realign_drap is false.
41
f78ac4f2
JBG
422013-01-15 Jan-Benedict Glaw <jbglaw@lug-owl.de>
43
44 * config/vax/vax.md (add<mode>3, sub<mode>3, mul<mode>3, div<mode>3,
45 and<mode>3, *and<mode>_const_int, ior<mode>3, xor<mode>3, ashrsi3,
46 *call): Fix indention.
47
a78a8cc4
TV
482013-01-15 Tom de Vries <tom@codesourcery.com>
49
50 PR target/55876
51 * optabs.c (widen_operand): Use gen_lowpart instead of gen_rtx_SUBREG.
52 Update comment.
53
0e80383f
VM
542013-01-15 Vladimir Makarov <vmakarov@redhat.com>
55
305e3ac1 56 PR rtl-optimization/55153
0e80383f
VM
57 * sched-deps.c (sched_analyze_2): Add pending reads for prefetch.
58
207b5956
MJ
592013-01-15 Martin Jambor <mjambor@suse.cz>
60
61 PR tree-optimization/55920
62 * tree-sra.c (analyze_access_subtree): Do not mark non-removable
63 accesses as grp_to_be_debug_replaced.
64
a7818b54
JJ
652013-01-15 Jakub Jelinek <jakub@redhat.com>
66
67 PR tree-optimization/55920
68 * tree-sra.c (sra_modify_assign): If for lacc->grp_to_be_debug_replaced
69 there is non-useless type conversion needed from debug rhs to lhs,
70 use build_debug_ref_for_model and/or VIEW_CONVERT_EXPR.
71
b0fe107e
JM
722013-01-15 Joseph Myers <joseph@codesourcery.com>
73 Mikael Pettersson <mikpe@it.uu.se>
74
75 PR target/43961
76 * config/arm/arm.h (ADDR_VEC_ALIGN): Align SImode jump tables for
77 Thumb.
78 (ASM_OUTPUT_CASE_LABEL): Remove.
79 (ASM_OUTPUT_BEFORE_CASE_LABEL): Define to empty.
80 * final.c (shorten_branches): Update alignment of labels before
81 jump tables if CASE_VECTOR_SHORTEN_MODE.
82
34ab62ee
RB
832013-01-15 Richard Biener <rguenther@suse.de>
84
85 PR bootstrap/55961
86 * system.h: Do not include gmp.h for building host tools.
87
783a3a05
RB
882013-01-15 Richard Biener <rguenther@suse.de>
89
90 PR middle-end/55882
91 * emit-rtl.c (set_mem_attributes_minus_bitpos): Correctly
92 account for bitpos when computing alignment.
93
3a579e09
VY
942013-01-15 Vladimir Yakovlev <vladimir.b.yakovlev@intel.com>
95
96 * config/i386/i386-c.c (ix86_target_macros_internal): New case.
97 (ix86_target_macros_internal): Likewise.
98
99 * config/i386/i386.c (m_CORE2I7): Removed.
100 (m_CORE_HASWELL): New macro.
101 (m_CORE_ALL): Likewise.
102 (initial_ix86_tune_features): m_CORE2I7 is replaced by m_CORE_ALL.
103 (initial_ix86_arch_features): Likewise.
104 (processor_target_table): Initializations for Core avx2.
105 (cpu_names): New names "core-avx2".
106 (ix86_option_override_internal): Changed PROCESSOR_COREI7 by
107 PROCESSOR_CORE_HASWELL.
108 (ix86_issue_rate): New case.
109 (ia32_multipass_dfa_lookahead): Likewise.
110 (ix86_sched_init_global): Likewise.
111
112 * config/i386/i386.h (TARGET_HASWELL): New macro.
113 (target_cpu_default): New TARGET_CPU_DEFAULT_haswell.
114 (processor_type): New PROCESSOR_HASWELL.
115
955f5a07
JJ
1162013-01-15 Jakub Jelinek <jakub@redhat.com>
117
ff784829
JJ
118 PR tree-optimization/55955
119 * tree-vect-loop.c (vectorizable_reduction): Give up early on
120 *SHIFT_EXPR and *ROTATE_EXPR codes.
121
955f5a07
JJ
122 PR tree-optimization/48766
123 * opts.c (common_handle_option): For -fwrapv disable -ftrapv, for
124 -ftrapv disable -fwrapv.
125
aeb8b4e9
GJL
1262013-01-14 Georg-Johann Lay <avr@gjlay.de>
127
128 PR target/55974
129 * config/avr/avr-c.c (avr_cpu_cpp_builtins): Define __FLASH
130 etc. to 1 and not to __flash.
131 Use LL suffix for __INT24_MAX__ with -mint8.
132 Use ULL suffix for __UINT24_MAX__ with -mint8.
133
1c494c6a
GJL
1342013-01-14 Georg-Johann Lay <avr@gjlay.de>
135
136 * config/avr/avr-arch.h
137 (struct base_arch_s): Use typedef avr_arch_t instead.
138 (struct arch_info_s): Use typedef avr_arch_info_t instead.
139 (struct mcu_type_s): Use typedef avr_mcu_t instead.
140 * config/avr/avr.c: Same.
141 * config/avr/avr-devices.c: Same.
142 * config/avr/driver-avr.c: Same.
143 * config/avr/gen-avr-mmcu-texi.c: Same.
144 * config/avr/avr-mcus.def: Adjust comment.
145
a50344cb
TB
1462013-01-14 Tejas Belagod <tejas.belagod@arm.com>
147
88e784e6
UB
148 * config/aarch64/aarch64-simd.md (*aarch64_simd_ld1r<mode>): New.
149 * config/aarch64/iterators.md (VALLDI): New.
a50344cb 150
e6f0e052
UB
1512012-01-14 Uros Bizjak <ubizjak@gmail.com>
152 Andi Kleen <ak@linux.intel.com>
153
154 PR target/55948
155 * config/i386/sync.md (atomic_store<mode>_1): New pattern.
156 (atomic_store<mode>): Call atomic_store<mode>_1 for IX86_HLE_RELEASE
157 memmodel flag.
158
00892272
GJL
1592013-01-14 Georg-Johann Lay <avr@gjlay.de>
160
161 * config/avr/avr-stdint.h: Remove trailing blanks.
162 * config/avr/avr-log.h: Same.
163 * config/avr/avr-arch.h: Same.
164 * config/avr/avr-devices.c: Same.
165 * config/avr/avr-dimode.md: Same.
166 * config/avr/predicates.md: Same.
167 * config/avr/avr-c.c: Same. And fix typo.
e6f0e052 168
00892272
GJL
169 * config/avr/avr-protos.h: Same. And:
170 (function_arg_regno_p): Rename to avr_function_arg_regno_p.
171 (init_cumulative_args): Rename to avr_init_cumulative_args.
172 (expand_prologue): Rename to avr_expand_prologue.
173 (expand_epilogue): Rename to avr_expand_epilogue.
174 (adjust_insn_length): Rename to avr_adjust_insn_length.
175 (notice_update_cc): Rename to avr_notice_update_cc.
176 (final_prescan_insn): Rename to avr_final_prescan_insn.
177 * config/avr/avr.c: Same.
178 * config/avr/avr.h: Same.
179 * config/avr/avr.md: Remove trailing blanks.
180 (prologue): Use avr_expand_prologue.
181 (epilogue, sibcall_epilogue): Use avr_expand_epilogue.
182
7bb01996
RB
1832013-01-14 Richard Biener <rguenther@suse.de>
184
185 * tree-cfg.c (verify_expr_location, verify_expr_location_1,
186 verify_location, collect_subblocks): New functions.
187 (verify_gimple_in_cfg): Verify that locations only reference
188 BLOCKs in the functions BLOCK tree.
189
2724573f
RB
1902013-01-14 Richard Biener <rguenther@suse.de>
191
192 * tree-cfgcleanup.c (remove_forwarder_block): Unshare propagated
193 PHI argument.
194 * graphite-sese-to-poly.c (insert_out_of_ssa_copy): Properly
195 unshare reference.
196 (insert_out_of_ssa_copy_on_edge): Likewise.
197 (rewrite_close_phi_out_of_ssa): Likewise.
198 * tree-ssa.c (insert_debug_temp_for_var_def): Properly unshare
199 debug expressions.
200 * tree-ssa-pre.c (insert_into_preds_of_block): Properly unshare
201 propagated constants.
202 * tree-cfg.c (tree_node_can_be_shared): Handled component-refs
203 can not be shared.
204
9a0bbab6
GJL
2052013-01-14 Georg-Johann Lay <avr@gjlay.de>
206
207 * config/avr/avr-modes.def: Add GPL copyright notice.
208
45805f17
UB
2092013-01-13 Uros Bizjak <ubizjak@gmail.com>
210
211 * config/i386/sync.md (mem_thread_fence): Mask operands[0] with
212 MEMMODEL_MASK to determine memory model.
213 (atomic_store<mode>): Ditto from operands[2].
214 * config/i386/i386.c (ix86_memmodel_check): Declare "strong" as bool.
215
9d60be38
JJ
2162013-01-13 Jakub Jelinek <jakub@redhat.com>
217
218 PR fortran/55935
45805f17 219 * gimple-fold.c (get_symbol_constant_value): Call unshare_expr.
9d60be38
JJ
220 (fold_gimple_assign): Don't call unshare_expr here.
221 (fold_ctor_reference): Call unshare_expr.
222
e7f49d92
TG
2232013-01-13 Terry Guo <terry.guo@arm.com>
224
225 * gcc/Makefile.in (s-mlib): New argument MULTILIB_REUSE.
226 * gcc/doc/fragments.texi: Document MULTILIB_REUSE.
227 * gcc/gcc.c (multilib_reuse): New internal spec.
228 (set_multilib_dir): Also search multilib from multilib_reuse.
229 * gcc/genmultilib (tmpmultilib3): Refactor code.
230 (tmpmultilib4): Ditto.
231 (multilib_reuse): New multilib argument.
232
fbd03a27
RS
2332013-01-13 Richard Sandiford <rdsandiford@googlemail.com>
234
235 * Makefile.in: Update copyright.
236
b3681f13
TV
2372013-01-12 Tom de Vries <tom@codesourcery.com>
238
239 PR middle-end/55890
240 * calls.c (expand_call): Check if arg_nr is valid.
241
3f287e4b
MM
2422013-01-11 Michael Meissner <meissner@linux.vnet.ibm.com>
243
244 * doc/extend.texi (X86 Built-in Functions): Add whitespace in
245 __builtin_ia32_paddb256 and __builtin_ia32_pavgb256
5bc35113
MM
246 documentation. Add missing '__' in front of
247 __builtin_ia32_packssdw256.
3f287e4b 248
1abcd5eb
AK
2492013-01-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
250
251 PR target/55719
252 * config/s390/s390.c (s390_preferred_reload_class): Do not return
253 NO_REGS for larl operands.
254 (s390_reload_larl_operand): Use s390_load_address instead of
255 emit_move_insn.
256
980d0812
RB
2572013-01-11 Richard Biener <rguenther@suse.de>
258
259 * tree-cfg.c (verify_node_sharing_1): Split out from ...
260 (verify_node_sharing): ... here.
261 (verify_gimple_in_cfg): Use verify_node_sharing_1 for walk_tree.
262
7cb9fd07
EB
2632013-01-11 Eric Botcazou <ebotcazou@adacore.com>
264
265 * configure.ac (Tree checking): Set TREECHECKING to yes if enabled.
266 Substitute TREECHECKING.
267 * configure: Regenerate.
268 * Makefile.in (TREECHECKING): New.
269
c7ab2530
RG
2702012-01-11 Richard Guenther <rguenther@suse.de>
271
272 PR tree-optimization/44061
273 * tree-vrp.c (extract_range_basic): Compute zero as
274 value-range for __builtin_constant_p of function parameters.
275
d1e082c2
RS
2762013-01-10 Richard Sandiford <rdsandiford@googlemail.com>
277
45805f17 278 Update copyright years.
d1e082c2 279
f85021b0
VM
2802013-01-10 Vladimir Makarov <vmakarov@redhat.com>
281
9d60be38 282 PR rtl-optimization/55672
0160442c
VM
283 * lra-eliminations.c (mark_not_eliminable): Permit addition with
284 const to be eliminable.
f85021b0 285
7a8b1ec4
DE
2862013-01-10 David Edelsohn <dje.gcc@gmail.com>
287
288 * configure.ac (HAVE_AS_TLS): Add check for powerpc-ibm-aix.
289 * configure: Regenerate.
290
ad2e5b71
RB
2912013-01-10 Richard Biener <rguenther@suse.de>
292
ddf9322d 293 * builtins.c (expand_builtin_init_trampoline): Use set_mem_attributes.
ad2e5b71 294
ffc5b2bb
RB
2952013-01-10 Richard Biener <rguenther@suse.de>
296
297 PR bootstrap/55792
298 * tree-into-ssa.c (rewrite_add_phi_arguments): Do not set
299 locations for virtual PHI arguments.
300 (rewrite_update_phi_arguments): Likewise.
301
e1f674e4
JS
3022013-01-10 Joel Sherrill <joel.sherrill@OARcorp.com>
303
304 * config/v850/rtems.h (ASM_SPEC): Pass -m8byte-align and -mgcc-abi
305 on to assembler.
306
a57fc743
JJ
3072013-01-10 Jakub Jelinek <jakub@redhat.com>
308
309 PR tree-optimization/55921
310 * tree-complex.c (expand_complex_asm): New function.
311 (expand_complex_operations_1): Call it for GIMPLE_ASM.
312
0ff4390d
AK
3132013-01-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
314
315 PR target/55718
316 * config/s390/s390.c (s390_symref_operand_p)
317 (s390_loadrelative_operand_p): Merge the two functions.
318 (s390_check_qrst_address, print_operand_address): Add parameters
319 to s390_loadrelative_operand_p invokation.
320 (s390_check_symref_alignment): Use s390_loadrelative_operand_p.
321 (s390_reload_larl_operand, s390_secondary_reload): Use
322 s390_loadrelative_operand_p instead of s390_symref_operand_p.
323 (legitimize_pic_address): Handle @GOTENT and @PLT + addend.
324
6f557e0e
MS
3252013-01-09 Mike Stump <mikestump@comcast.net>
326
327 * dse.c (record_store): Remove unnecessary assert.
328
7770c9e9
JH
3292013-01-09 Jan Hubicka <jh@suse.cz>
330
331 PR tree-optimization/55569
332 * cfgloopmanip.c (scale_loop_profile): Make ITERATION_BOUND gcov_type.
333 * cfgloop.h (scale_loop_profile): Likewise.
334
a19b1432
JH
3352013-01-09 Jan Hubicka <jh@suse.cz>
336
337 PR lto/45375
ddf9322d
UB
338 * ipa-inline.c (ipa_inline): Remove extern inlines and virtual
339 functions.
a19b1432
JH
340 * cgraphclones.c (cgraph_clone_node): Cpoy also LTO file data.
341
9a002da8
RS
3422013-01-09 Richard Sandiford <rdsandiford@googlemail.com>
343
344 PR middle-end/55114
345 * expr.h (maybe_emit_group_store): Declare.
346 * expr.c (maybe_emit_group_store): New function.
347 * builtins.c (expand_builtin_int_roundingfn): Call it.
348 (expand_builtin_int_roundingfn_2): Likewise.
349
511dcace
VM
3502013-01-09 Vladimir Makarov <vmakarov@redhat.com>
351
e1f2b729 352 PR rtl-optimization/55829
511dcace
VM
353 * lra-constraints.c (match_reload): Add code for absent output.
354 (curr_insn_transform): Add code for reloads of matched inputs
355 without output.
356
7b0fe4f4
UB
3572013-01-09 Uros Bizjak <ubizjak@gmail.com>
358
359 * config/i386/sse.md (*vec_interleave_highv2df): Change mode
360 attribute of movddup insn to DF.
361 (*vec_interleave_lowv2df): Ditto.
362 (vec_dupv2df): Ditto.
363
870ca331
JH
3642013-01-09 Jan Hubicka <jh@suse.cz>
365
366 PR tree-optimiation/55875
367 * tree-ssa-loop-niter.c (number_of_iterations_cond): Add
368 EVERY_ITERATION parameter.
7b0fe4f4 369 (number_of_iterations_exit): Check if exit is executed every iteration.
870ca331
JH
370 (idx_infer_loop_bounds): Similarly here.
371 (n_of_executions_at_most): Simplify
372 to only test for cases where statement is dominated by the
7b0fe4f4 373 particular bound; handle correctly the "postdominance" test.
870ca331
JH
374 (scev_probably_wraps_p): Use max loop iterations info
375 as a global bound first.
376
6f575fe4 3772013-01-09 Nguyen Duy Dat <dat.nguyen.yn@rvc.renesas.com>
3cd232b5
NDD
378 Nick Clifton <nickc@redhat.com>
379
380 * config/v850/v850.md (cbranchsf4): New pattern.
381 (cstoresf4): New pattern.
382 (cbranchdf4): New pattern.
383 (cstoredf4): New pattern.
384 (movsicc): Disallow floating point comparisons.
385 (cmpsf_le_insn): Fix order of operators.
386 (cmpsf_lt_insn): Likewise.
387 (cmpsf_eq_insn): Likewise.
388 (cmpdf_le_insn): Likewise.
389 (cmpdf_lt_insn): Likewise.
390 (cmpdf_eq_insn): Likewise.
391 (cmpsf_ge_insn): Use LE comparison.
392 (cmpdf_ge_insn): Likewise.
393 (cmpsf_gt_insn): Use LT comparison.
394 (cmpdf_gt_insn): Likewise.
395 (cmpsf_ne_insn): Delete pattern.
396 (cmpdf_ne_insn): Delete pattern.
397 * config/v850/v850.c (v850_gen_float_compare): Use
398 gen_cmpdf_eq_insn for NE comparison.
399 (v850_float_z_comparison_operator)
400 (v850_float_nz_comparison_operator): Move from here ...
401 * config/v850/predicates.md: ... to here. Move GT and GE
402 comparisons into v850_float_z_comparison_operator.
403 * config/v850/v850-protos.h (v850_float_z_comparison_operator):
404 Delete prototype.
405 (v850_float_nz_comparison_operator): Likewise.
406
f0d54148
JDA
4072013-01-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
408
409 * config/pa/pa.c (pa_emit_move_sequence): Replace calls to gen_insv
410 with calls to gen_insvsi/gen_insvdi.
411
8f01beca
VK
4122013-01-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
413
414 * config/i386/i386.c (initial_ix86_tune_features): Set up
415 X86_TUNE_AVX128_OPTIMAL for m_BTVER2.
416
2aa579ad
JJ
4172013-01-09 Steven Bosscher <steven@gcc.gnu.org>
418 Jakub Jelinek <jakub@redhat.com>
419
420 PR tree-optimization/48189
421 * predict.c (predict_loops): If max is 0, don't call compare_tree_int.
422 If nitercst is 0, don't predict the exit edge.
423
01a3a324
N
4242013-01-08 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
425
426 * config/aarch64/aarch64.c (aarch64_print_operand): Replace %r
427 in asm_fprintf with reg_names.
428 (aarch64_print_operand_address): Likewise.
429 (aarch64_return_addr): Likewise.
430 * config/aarch64/aarch64.h (ASM_FPRINTF_EXTENSIONS): Remove.
431
f6f94d94
JDA
4322013-01-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
433
434 * config/pa/pa.h (VAL_U6_BITS_P): Define.
435 (INT_U6_BITS): Likewise.
436 * config/pa/predicates.md (uint6_operand): New predicate.
437 (shift5_operand, shift6_operand): Likewise.
438 * config/pa/pa.md (lshrsi3, rotrsi3): Use shift5_operand instead of
439 arith32_operand.
440 (lshrdi3): Use shift6_operand.
441 (shrpsi4, shrpdi4): New insn patterns.
442 (extzv): Delete expander.
443 (extzvsi, extzvdi): New expanders. Use uint5_operand and uint6_operand
444 predicates in unamed zero extract patterns. Tighten common constraint.
445 (extv): Delete expander.
446 (extvsi, extvdi): New expanders. Use uint5_operand and uint6_operand
447 predicates in unamed sign extract patterns. Tighten common constraint.
448 (insv): Delete expander.
449 (insvsi, insvdi): New expanders. Use uint5_operand and uint6_operand
450 predicates in unamed insert patterns. Tighten common constraint.
451 Change uint32_operand predicate to uint6_operand predicate in unamed
452 DImode pattern to insert constant values of type 1...1xxxx.
453
36b72910
JH
4542013-01-04 Jan Hubicka <jh@suse.cz>
455
456 PR tree-optimization/55823
7b0fe4f4
UB
457 * ipa-prop.c (update_indirect_edges_after_inlining): Fix ordering
458 issue.
36b72910 459
c6d851b9
JJ
4602012-01-08 Jakub Jelinek <jakub@redhat.com>
461 Uros Bizjak <ubizjak@gmail.com>
462
463 PR rtl-optimization/55845
464 * df-problems.c (can_move_insns_across): Stop scanning at
465 volatile_insn_p source instruction or give up if
466 across_from .. across_to range contains any volatile_insn_p
467 instructions.
468
4369c11e
TB
4692013-01-08 Tejas Belagod <tejas.belagod@arm.com>
470
7b0fe4f4
UB
471 * config/aarch64/aarch64-simd.md (vec_init<mode>): New.
472 * config/aarch64/aarch64-protos.h (aarch64_expand_vector_init):
473 Declare.
4369c11e 474 * config/aarch64/aarch64.c (aarch64_simd_dup_constant,
7b0fe4f4 475 aarch64_simd_make_constant, aarch64_expand_vector_init): New.
4369c11e 476
aeb7e7c1
JJ
4772013-01-08 Jakub Jelinek <jakub@redhat.com>
478
479 PR fortran/55341
480 * asan.c (asan_clear_shadow): New function.
481 (asan_emit_stack_protection): Use it.
482
a02ad1aa
TB
4832013-01-08 Tejas Belagod <tejas.belagod@arm.com>
484
485 * config/aarch64/aarch64-simd.md (aarch64_simd_vec_<su>mult_lo_<mode>,
486 aarch64_simd_vec_<su>mult_hi_<mode>): Separate instruction and operand
487 with tab instead of space.
488
f90d87f5
NC
4892013-01-08 Nick Clifton <nickc@redhat.com>
490
491 * config/rl78/rl78.c (rl78_expand_prologue): Always select
492 register bank 0 at the start of an interrupt handler.
83ffd964
NC
493 * config/rl78/rl78.md (mulsi3_g13): Correct values for MDBL and
494 MDBH registers.
f90d87f5 495
385eb93d
JG
4962013-01-08 James Greenhalgh <james.greenhalgh@arm.com>
497
498 * config/aarch64/aarch64-simd.md
499 (aarch64_simd_bsl<mode>_internal): Add floating-point modes.
500 (aarch64_simd_bsl): Likewise.
501 (aarch64_vcond_internal<mode>): Likewise.
502 (vcond<mode><mode>): Likewise.
503 (aarch64_cm<cmp><mode>): Fix constraints, add new modes.
504 * config/aarch64/iterators.md (V_cmp_result): Add V2DF.
505
4dcd1054
JG
5062013-01-08 James Greenhalgh <james.greenhalgh@arm.com>
507
508 * config/aarch64/aarch64-builtins.c
509 (aarch64_builtin_vectorized_function): Handle sqrt, sqrtf.
510
4267a4a6
MJ
5112013-01-08 Martin Jambor <mjambor@suse.cz>
512
513 PR debug/55579
514 * tree-sra.c (analyze_access_subtree): Return true also after
515 potentially creating a debug-only replacement.
516
5f4e6de3
JJ
5172013-01-08 Jakub Jelinek <jakub@redhat.com>
518
3138f224
JJ
519 PR middle-end/55890
520 * tree-ssa-ccp.c (evaluate_stmt): Use gimple_call_builtin_p.
521
5f4e6de3
JJ
522 PR tree-optimization/54120
523 * tree-vrp.c (range_fits_type_p): Don't allow
524 src_precision < precision from signed vr to unsigned_p
525 if vr->min or vr->max is negative.
526 (simplify_float_conversion_using_ranges): Test can_float_p
527 against CODE_FOR_nothing.
528
f3ef18ff
JJ
5292013-01-08 Jakub Jelinek <jakub@redhat.com>
530 Richard Biener <rguenther@suse.de>
531
532 PR middle-end/55851
533 * fold-const.c (int_binop_types_match_p): Allow all INTEGRAL_TYPE_P
534 types instead of just INTEGER_TYPE types.
535
25c210f9
MK
5362013-01-07 Mark Kettenis <kettenis@openbsd.org>
537
538 * config/i386/openbsdelf.h (LIBGCC2_HAS_TF_MODE, LIBGCC2_TF_CEXT,
539 TF_SIZE): Define.
f90d87f5 540
81826a7b
SE
5412013-01-07 Steve Ellcey <sellcey@mips.com>
542
543 PR target/42661
544 * config/mips/mips.opt: Change mad to mmad to match documentation.
545
35678514
GJL
5462013-01-07 Georg-Johann Lay <avr@gjlay.de>
547
548 PR target/55897
549 * doc/extend.texi (AVR Named Address Spaces): __memx goes into
550 .progmemx.data now.
551
e5669488
GJL
5522013-01-07 Georg-Johann Lay <avr@gjlay.de>
553
554 PR target/55897
555 * config/avr/avr.h (ADDR_SPACE_COUNT): New enum.
556 (avr_addrspace_t): Add .section_name field.
557 * config/avr/avr.c (progmem_section): Use ADDR_SPACE_COUNT as
558 array size.
559 (avr_addrspace): Same. Initialize .section_name. Remove last
560 NULL entry. Put __memx into .progmemx.data.
561 (progmem_section_prefix): Remove.
562 (avr_asm_init_sections): No need to initialize progmem_section.
563 (avr_asm_named_section): Use avr_addrspace[].section_name to get
564 section name prefix.
565 (avr_asm_select_section): Ditto. And use get_unnamed_section to
566 retrieve the progmem section.
567 * avr-c.c (avr_cpu_cpp_builtins): Use ADDR_SPACE_COUNT as loop
568 boundary to run over avr_addrspace[].
569 (avr_register_target_pragmas): Ditto.
570
656e6f37
JJ
5712013-01-06 Jakub Jelinek <jakub@redhat.com>
572
573 * varasm.c (output_constant_def_contents): For asan_protect_global
574 protected strings, adjust DECL_ALIGN if needed, before testing for
575 anchored symbols.
576 (place_block_symbol): Adjust size for asan protected STRING_CSTs if
577 TREE_CONSTANT_POOL_ADDRESS_P. Increase alignment for asan protected
578 normal decls.
579 (output_object_block): For asan protected decls, emit asan padding
580 after their contents.
581 * asan.c (asan_protect_global): Don't check TREE_ASM_WRITTEN here.
582 (asan_finish_file): Test it here instead.
583
b352afba
NC
5842013-01-07 Nick Clifton <nickc@redhat.com>
585 Matthias Klose <doko@debian.org>
586 Doug Kwan <dougkwan@google.com>
587 H.J. Lu <hongjiu.lu@intel.com>
588
589 PR driver/55470
590 * collect2.c (main): Support -fuse-ld=bfd and -fuse-ld=gold.
591
592 * common.opt: Add fuse-ld=bfd and fuse-ld=gold.
593
594 * gcc.c (LINK_COMMAND_SPEC): Pass -fuse-ld=* to collect2.
595
7b0fe4f4 596 * opts.c (comman_handle_option): Ignore -fuse-ld=bfd and -fuse-ld=gold.
b352afba
NC
597
598 * doc/invoke.texi: Document -fuse-ld=bfd and -fuse-ld=gold.
599
2a095093
GJL
6002013-01-07 Georg-Johann Lay <avr@gjlay.de>
601
f3b503f4 602 PR target/54461
2a095093
GJL
603 * doc/install.texi (Cross-Compiler-Specific Options): Document
604 --with-avrlibc.
605
383f9b34
TB
6062013-01-07 Tejas Belagod <tejas.belagod@arm.com>
607
608 * config/aarch64/arm_neon.h (vmovn_high_is16, vmovn_high_s32,
609 vmovn_high_s64, vmovn_high_u16, vmovn_high_u32, vmovn_high_u64,
610 vqmovn_high_s16, vqmovn_high_s32, vqmovn_high_s64, vqmovn_high_u16,
611 vqmovn_high_u32, vqmovn_high_u64, vqmovun_high_s16, vqmovun_high_s32,
612 vqmovun_high_s64): Fix source operand number and update copyright.
613
3626621a
RB
6142013-01-07 Richard Biener <rguenther@suse.de>
615
616 PR middle-end/55890
617 * gimple.h (gimple_call_builtin_p): New overload.
618 * gimple.c (validate_call): New function.
619 (gimple_call_builtin_p): Likewise.
620 * tree-ssa-structalias.c (find_func_aliases_for_builtin_call):
621 Use gimple_call_builtin_p.
622 (find_func_clobbers): Likewise.
623 * tree-ssa-strlen.c (adjust_last_stmt): Likewise.
624 (strlen_optimize_stmt): Likewise.
625
8b2ea410
JG
6262013-01-07 James Greenhalgh <james.greenhalgh@arm.com>
627
628 * config/aarch64/arm_neon.h (vld1_dup_*): Make argument const.
629 (vld1q_dup_*): Likewise.
630 (vld1_*): Likewise.
631 (vld1q_*): Likewise.
632 (vld1_lane_*): Likewise.
633 (vld1q_lane_*): Likewise.
634
9713d329
RB
6352013-01-07 Richard Biener <rguenther@suse.de>
636
637 * lto-streamer.h (LTO_minor_version): Bump to 2.
638
3520f7cc
JG
6392013-01-07 James Greenhalgh <james.greenhalgh@arm.com>
640
641 * config/aarch64/aarch64-protos.h
642 (aarch64_const_double_zero_rtx_p): Rename to...
643 (aarch64_float_const_zero_rtx_p): ...this.
644 (aarch64_float_const_representable_p): New.
645 (aarch64_output_simd_mov_immediate): Likewise.
646 * config/aarch64/aarch64-simd.md (*aarch64_simd_mov<mode>): Refactor
647 move immediate case.
648 * config/aarch64/aarch64.c
649 (aarch64_const_double_zero_rtx_p): Rename to...
650 (aarch64_float_const_zero_rtx_p): ...this.
651 (aarch64_print_operand): Allow printing of new constants.
652 (aarch64_valid_floating_const): New.
653 (aarch64_legitimate_constant_p): Check for valid floating-point
654 constants.
655 (aarch64_simd_valid_immediate): Likewise.
656 (aarch64_vect_float_const_representable_p): New.
657 (aarch64_float_const_representable_p): Likewise.
658 (aarch64_simd_imm_zero_p): Also allow for floating-point 0.0.
659 (aarch64_output_simd_mov_immediate): New.
660 * config/aarch64/aarch64.md (*movsf_aarch64): Add new alternative.
661 (*movdf_aarch64): Likewise.
662 * config/aarch64/constraints.md (Ufc): New.
663 (Y): call aarch64_float_const_zero_rtx.
664 * config/aarch64/predicates.md (aarch64_fp_compare_operand): New.
665
e167c04d
RB
6662013-01-07 Richard Biener <rguenther@suse.de>
667
668 PR tree-optimization/55888
669 PR tree-optimization/55862
670 * tree-ssa-pre.c (phi_translate_1): Revert previous change.
671 (valid_in_sets): Check if a NAME has a leader in AVAIL_OUT,
672 not if it is contained therein.
673
0139aaab
GJL
6742013-01-07 Georg-Johann Lay <avr@gjlay.de>
675
676 * config/avr/t-avr: Typo.
677
4a176b23
GJL
6782013-01-07 Georg-Johann Lay <avr@gjlay.de>
679
680 PR55243
681 * config/avr/t-avr: Don't automatically rebuild
682 $(srcdir)/config/avr/t-multilib
683 $(srcdir)/config/avr/avr-tables.opt
684 $(srcdir)/doc/avr-mmcu.texi
685 (avr-mcus): New phony target to build them on request.
686 (s-avr-mlib, s-avr-mmcu-texi): Remove.
687 * avr/avr-mcus.def: Adjust comments.
688
c7afdc98
UB
6892013-01-07 Uros Bizjak <ubizjak@gmail.com>
690
691 * config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Remove.
692
1ab05c31
RS
6932013-01-06 Richard Sandiford <rdsandiford@googlemail.com>
694
695 * file-find.c, file-find.h, realmpfr.c: Add FSF as copyright holder.
696
488e3acc
RS
6972013-01-06 Richard Sandiford <rdsandiford@googlemail.com>
698
699 * config/tilepro/gen-mul-tables.cc: Put copyright on one line.
700
a89599d2
DE
7012013-01-05 David Edelsohn <dje.gcc@gmail.com>
702
703 * config/rs6000/aix53.h (LIB_SPEC): Add -lpthreads when compiling
704 to generate profiling.
705 * config/rs6000/aix64.h (LIB_SPEC): Same.
706
70f09188
AP
7072013-01-04 Andrew Pinski <apinski@cavium.com>
708
709 * config/aarch64/aarch64.c (aarch64_fixed_condition_code_regs):
710 New function.
711 (TARGET_FIXED_CONDITION_CODE_REGS): Define.
712
918d445f
UB
7132013-01-04 Uros Bizjak <ubizjak@gmail.com>
714
715 * config/i386/i386.c (ix86_legitimize_address): Call convert_to_mode
716 unconditionally.
717 (ix86_expand_move): Ditto.
718 (ix86_zero_extend_to_Pmode): Ditto.
719 (ix86_expand_call): Ditto.
720 (ix86_expand_special_args_builtin): Ditto.
721 (ix86_expand_builtin): Ditto.
722
361618ec
RB
7232013-01-04 Richard Biener <rguenther@suse.de>
724
725 PR tree-optimization/55862
726 * tree-ssa-pre.c (phi_translate_1): Valueize SSA names after
727 translating them through PHI nodes.
728
87eab554
MJ
7292013-01-04 Martin Jambor <mjambor@suse.cz>
730
731 PR tree-optimization/55755
732 * tree-sra.c (sra_modify_assign): Do not check that an access has no
733 children when trying to avoid producing a VIEW_CONVERT_EXPR.
734
33879b9f
MP
7352013-01-04 Marek Polacek <polacek@redhat.com>
736
737 PR middle-end/55859
738 * opts.c (default_options_optimization): Clarify error message.
739
3068819a
RB
7402013-01-04 Richard Biener <rguenther@suse.de>
741
742 PR middle-end/55863
743 * fold-const.c (split_tree): Undo -X - 1 to ~X folding for
744 reassociation.
745
0e4ae794
JDA
7462013-01-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
747
748 PR target/53789
749 * config/pa/pa.md (movsi): Revert previous change.
e58d2e48
JDA
750 * config/pa/pa.c (pa_legitimate_constant_p): Reject all TLS symbol
751 references.
0e4ae794 752
65c88cef
RH
7532013-01-03 Richard Henderson <rth@redhat.com>
754
755 * config/i386/i386.c (ix86_expand_move): Always assign to op1
756 after eliminating TLS symbols.
757
8ac16127
MG
7582013-01-03 Marc Glisse <marc.glisse@inria.fr>
759
760 PR bootstrap/50167
761 * graphite-interchange.c (pdr_stride_in_loop): Use gmp_fprintf.
762 * graphite-poly.c (debug_gmp_value): Likewise.
763
bb664f09
UB
7642013-01-03 Uros Bizjak <ubizjak@gmail.com>
765
766 PR target/55712
767 * config/i386/i386-c.c (ix86_target_macros_internal): Depending on
768 selected code model, define __code_mode_small__, __code_model_medium__,
769 __code_model_large__, __code_model_32__ or __code_model_kernel__.
770 * config/i386/cpuid.h (__cpuid, __cpuid_count) [__i386__]: Prefix
771 xchg temporary register with %k. Declare temporary register as
772 early clobbered.
773 [__x86_64__]: For medium and large code models, preserve %rbx register.
774
bcf1ef00
RB
7752013-01-03 Richard Biener <rguenther@suse.de>
776
0506634a 777 * tree-data-ref.c (dump_conflict_function): Use less vertical spacing.
bcf1ef00
RB
778 (dump_subscript): Adjust.
779 (finalize_ddr_dependent): Do not dump redundant info.
780 (analyze_siv_subscript): Adjust.
781 (subscript_dependence_tester): Likewise.
782 (compute_affine_dependence): Likewise.
783
59fd17e3
RB
7842013-01-03 Richard Biener <rguenther@suse.de>
785
786 Revert
787 2013-01-03 Richard Biener <rguenther@suse.de>
788
789 PR tree-optimization/55857
790 * tree-vect-stmts.c (vectorizable_load): Do not setup
791 re-alignment for invariant loads.
792
793 2013-01-02 Richard Biener <rguenther@suse.de>
794
795 * tree-vect-stmts.c (vectorizable_load): When vectorizing an
0506634a 796 invariant load do not generate a vector load from the scalar location.
59fd17e3 797
595c2679
RB
7982013-01-03 Richard Biener <rguenther@suse.de>
799
800 * tree-vect-loop.c (vect_analyze_loop_form): Clarify reason
801 for not vectorizing.
802 * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): Do
803 not build INDIRECT_REFs, call get_name once only.
804 (vect_create_data_ref_ptr): Likewise. Dump base object kind
805 based on DR_BASE_OBJECT, not DR_BASE_ADDRESS.
806
90bb7d7a
RB
8072013-01-03 Richard Biener <rguenther@suse.de>
808
809 PR tree-optimization/55857
810 * tree-vect-stmts.c (vectorizable_load): Do not setup
811 re-alignment for invariant loads.
812
f09b77ca
RB
8132013-01-03 Richard Biener <rguenther@suse.de>
814
815 PR lto/55848
816 * lto-symtab.c (lto_symtab_merge_decls_1): As last resort, always
817 prefer a built-in decl.
818
3461a16e
JJ
8192013-01-03 Jakub Jelinek <jakub@redhat.com>
820
df8e2b4f
JJ
821 * gcc.c (process_command): Update copyright notice dates.
822 * gcov.c (print_version): Likewise.
823 * gcov-dump.c (print_version): Likewise.
824
3461a16e
JJ
825 PR rtl-optimization/55838
826 * loop-iv.c (iv_number_of_iterations): Call lowpart_subreg on
827 iv0.step, iv1.step and step.
828
8b5546d6
JJ
8292013-01-03 Jakub Jelinek <jakub@redhat.com>
830 Marc Glisse <marc.glisse@inria.fr>
831
832 PR tree-optimization/55832
833 * fold-const.c (fold_binary_loc): For ABS_EXPR<x> >= 0 and
834 ABS_EXPR<x> < 0 folding use constant_boolean_node instead of
835 integer_{one,zero}_node.
836
8ab1d2e9
JJ
8372013-01-03 Jakub Jelinek <jakub@redhat.com>
838
839 PR debug/54402
840 * params.def (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE): New param.
841 * var-tracking.c (reverse_op): Don't add reverse ops to
842 VALUEs that have already
0506634a 843 PARAM_VALUE (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE) or longer locs list.
8ab1d2e9 844
5b9ad1d4
GP
8452013-01-02 Gerald Pfeifer <gerald@pfeifer.com>
846
847 * doc/contrib.texi: Note years as release manager for Mark Mitchell.
848
e25a6711
TJ
8492013-01-02 Teresa Johnson <tejohnson@google.com>
850
851 * dumpfile.c (dump_loc): Print filename with location.
852 * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Use
853 new location_t parameter to emit complete unroll message with
854 new dump framework.
855 (canonicalize_loop_induction_variables): Compute loops location
856 and pass to try_unroll_loop_completely.
857 * loop-unroll.c (report_unroll_peel): New function.
858 (peel_loops_completely): Use new dump format with location
859 for main dumpfile message, and invoke report_unroll_peel on success.
860 (decide_unrolling_and_peeling): Ditto.
861 (decide_peel_once_rolling): Remove old dumpfile message subsumed
862 by report_unroll_peel.
863 (decide_peel_completely): Ditto.
864 (decide_unroll_constant_iterations): Ditto.
865 (decide_unroll_runtime_iterations): Ditto.
866 (decide_peel_simple): Ditto.
867 (decide_unroll_stupid): Ditto.
868 * cfgloop.c (get_loop_location): New function.
869 * cfgloop.h (get_loop_location): Declare.
870
77878621
ST
8712013-01-02 Sriraman Tallam <tmsriram@google.com>
872
873 * config/i386/i386.c (fold_builtin_cpu): Remove unnecessary checks for
874 NULL.
875
9e65d03e
JDA
8762013-01-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
877
878 PR middle-end/55198
879 * expr.c (expand_expr_real_1): Don't use bitfield extraction for non
880 BLKmode objects when EXPAND_MEMORY is specified.
881
6a7da30f
ST
8822013-01-02 Sriraman Tallam <tmsriram@google.com>
883
884 * config/i386/i386.c (ix86_get_function_versions_dispatcher): Fix bug
885 in loop predicate.
886 (fold_builtin_cpu): Do not share cpu model decls across statements.
887
e78167f2
JM
8882013-01-02 Jason Merrill <jason@redhat.com>
889
890 PR c++/55804
891 * tree.c (build_array_type_1): Revert earlier change.
892
8c075fb4
YZ
8932013-01-02 Yufeng Zhang <yufeng.zhang@arm.com>
894
895 * config/aarch64/aarch64-cores.def: Add entries for "cortex-a53" and
896 "cortex-a57".
897 * config/aarch64/aarch64-tune.md: Re-generate.
898
0682ed3e
RB
8992013-01-02 Richard Biener <rguenther@suse.de>
900
901 * tree-vect-stmts.c (vectorizable_load): When vectorizing an
0506634a 902 invariant load do not generate a vector load from the scalar location.
0682ed3e 903
b8f6a302
RB
9042013-01-02 Richard Biener <rguenther@suse.de>
905
906 PR bootstrap/55784
907 * configure.ac: Add $GMPINC to CFLAGS/CXXFLAGS.
908 * configure: Regenerate.
909
04b80dbb
RS
9102013-01-02 Richard Sandiford <rdsandiford@googlemail.com>
911
912 * builtins.c (expand_builtin_mathfn, expand_builtin_mathfn_2)
913 (expand_builtin_mathfn_ternary, expand_builtin_mathfn_3)
914 (expand_builtin_int_roundingfn_2): Keep the original target around
915 for the fallback case.
916
635b0b0c
RS
9172013-01-02 Richard Sandiford <rdsandiford@googlemail.com>
918
919 * tree-vrp.c (range_fits_type_p): Require the MSB of the double_int
920 to be clear for sign changes.
921
42d57399
JH
9222013-01-01 Jan Hubicka <jh@suse.cz>
923
924 * ipa-inline-analysis.c: Fix formatting.
925
5bb6669d
JJ
9262013-01-01 Jakub Jelinek <jakub@redhat.com>
927
928 PR tree-optimization/55831
929 * tree-vect-loop.c (get_initial_def_for_induction): Use
930 gsi_after_labels instead of gsi_start_bb.
ad41bd84 931\f
86a2db33 932Copyright (C) 2013 Free Software Foundation, Inc.
ad41bd84
JM
933
934Copying and distribution of this file, with or without modification,
935are permitted in any medium without royalty provided the copyright
936notice and this notice are preserved.