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