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