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