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