]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/ChangeLog
re PR middle-end/54120 (FAIL: gfortran.fortran-torture/execute/random_2.f90 execution)
[thirdparty/gcc.git] / gcc / ChangeLog
CommitLineData
5f4e6de3
JJ
12013-01-08 Jakub Jelinek <jakub@redhat.com>
2
3 PR tree-optimization/54120
4 * tree-vrp.c (range_fits_type_p): Don't allow
5 src_precision < precision from signed vr to unsigned_p
6 if vr->min or vr->max is negative.
7 (simplify_float_conversion_using_ranges): Test can_float_p
8 against CODE_FOR_nothing.
9
f3ef18ff
JJ
102013-01-08 Jakub Jelinek <jakub@redhat.com>
11 Richard Biener <rguenther@suse.de>
12
13 PR middle-end/55851
14 * fold-const.c (int_binop_types_match_p): Allow all INTEGRAL_TYPE_P
15 types instead of just INTEGER_TYPE types.
16
25c210f9
MK
172013-01-07 Mark Kettenis <kettenis@openbsd.org>
18
19 * config/i386/openbsdelf.h (LIBGCC2_HAS_TF_MODE, LIBGCC2_TF_CEXT,
20 TF_SIZE): Define.
21
81826a7b
SE
222013-01-07 Steve Ellcey <sellcey@mips.com>
23
24 PR target/42661
25 * config/mips/mips.opt: Change mad to mmad to match documentation.
26
35678514
GJL
272013-01-07 Georg-Johann Lay <avr@gjlay.de>
28
29 PR target/55897
30 * doc/extend.texi (AVR Named Address Spaces): __memx goes into
31 .progmemx.data now.
32
e5669488
GJL
332013-01-07 Georg-Johann Lay <avr@gjlay.de>
34
35 PR target/55897
36 * config/avr/avr.h (ADDR_SPACE_COUNT): New enum.
37 (avr_addrspace_t): Add .section_name field.
38 * config/avr/avr.c (progmem_section): Use ADDR_SPACE_COUNT as
39 array size.
40 (avr_addrspace): Same. Initialize .section_name. Remove last
41 NULL entry. Put __memx into .progmemx.data.
42 (progmem_section_prefix): Remove.
43 (avr_asm_init_sections): No need to initialize progmem_section.
44 (avr_asm_named_section): Use avr_addrspace[].section_name to get
45 section name prefix.
46 (avr_asm_select_section): Ditto. And use get_unnamed_section to
47 retrieve the progmem section.
48 * avr-c.c (avr_cpu_cpp_builtins): Use ADDR_SPACE_COUNT as loop
49 boundary to run over avr_addrspace[].
50 (avr_register_target_pragmas): Ditto.
51
656e6f37
JJ
522013-01-06 Jakub Jelinek <jakub@redhat.com>
53
54 * varasm.c (output_constant_def_contents): For asan_protect_global
55 protected strings, adjust DECL_ALIGN if needed, before testing for
56 anchored symbols.
57 (place_block_symbol): Adjust size for asan protected STRING_CSTs if
58 TREE_CONSTANT_POOL_ADDRESS_P. Increase alignment for asan protected
59 normal decls.
60 (output_object_block): For asan protected decls, emit asan padding
61 after their contents.
62 * asan.c (asan_protect_global): Don't check TREE_ASM_WRITTEN here.
63 (asan_finish_file): Test it here instead.
64
b352afba
NC
652013-01-07 Nick Clifton <nickc@redhat.com>
66 Matthias Klose <doko@debian.org>
67 Doug Kwan <dougkwan@google.com>
68 H.J. Lu <hongjiu.lu@intel.com>
69
70 PR driver/55470
71 * collect2.c (main): Support -fuse-ld=bfd and -fuse-ld=gold.
72
73 * common.opt: Add fuse-ld=bfd and fuse-ld=gold.
74
75 * gcc.c (LINK_COMMAND_SPEC): Pass -fuse-ld=* to collect2.
76
77 * opts.c (comman_handle_option): Ignore -fuse-ld=bfd and
78 -fuse-ld=gold.
79
80 * doc/invoke.texi: Document -fuse-ld=bfd and -fuse-ld=gold.
81
2a095093
GJL
822013-01-07 Georg-Johann Lay <avr@gjlay.de>
83
f3b503f4 84 PR target/54461
2a095093
GJL
85 * doc/install.texi (Cross-Compiler-Specific Options): Document
86 --with-avrlibc.
87
383f9b34
TB
882013-01-07 Tejas Belagod <tejas.belagod@arm.com>
89
90 * config/aarch64/arm_neon.h (vmovn_high_is16, vmovn_high_s32,
91 vmovn_high_s64, vmovn_high_u16, vmovn_high_u32, vmovn_high_u64,
92 vqmovn_high_s16, vqmovn_high_s32, vqmovn_high_s64, vqmovn_high_u16,
93 vqmovn_high_u32, vqmovn_high_u64, vqmovun_high_s16, vqmovun_high_s32,
94 vqmovun_high_s64): Fix source operand number and update copyright.
95
3626621a
RB
962013-01-07 Richard Biener <rguenther@suse.de>
97
98 PR middle-end/55890
99 * gimple.h (gimple_call_builtin_p): New overload.
100 * gimple.c (validate_call): New function.
101 (gimple_call_builtin_p): Likewise.
102 * tree-ssa-structalias.c (find_func_aliases_for_builtin_call):
103 Use gimple_call_builtin_p.
104 (find_func_clobbers): Likewise.
105 * tree-ssa-strlen.c (adjust_last_stmt): Likewise.
106 (strlen_optimize_stmt): Likewise.
107
8b2ea410
JG
1082013-01-07 James Greenhalgh <james.greenhalgh@arm.com>
109
110 * config/aarch64/arm_neon.h (vld1_dup_*): Make argument const.
111 (vld1q_dup_*): Likewise.
112 (vld1_*): Likewise.
113 (vld1q_*): Likewise.
114 (vld1_lane_*): Likewise.
115 (vld1q_lane_*): Likewise.
116
9713d329
RB
1172013-01-07 Richard Biener <rguenther@suse.de>
118
119 * lto-streamer.h (LTO_minor_version): Bump to 2.
120
3520f7cc
JG
1212013-01-07 James Greenhalgh <james.greenhalgh@arm.com>
122
123 * config/aarch64/aarch64-protos.h
124 (aarch64_const_double_zero_rtx_p): Rename to...
125 (aarch64_float_const_zero_rtx_p): ...this.
126 (aarch64_float_const_representable_p): New.
127 (aarch64_output_simd_mov_immediate): Likewise.
128 * config/aarch64/aarch64-simd.md (*aarch64_simd_mov<mode>): Refactor
129 move immediate case.
130 * config/aarch64/aarch64.c
131 (aarch64_const_double_zero_rtx_p): Rename to...
132 (aarch64_float_const_zero_rtx_p): ...this.
133 (aarch64_print_operand): Allow printing of new constants.
134 (aarch64_valid_floating_const): New.
135 (aarch64_legitimate_constant_p): Check for valid floating-point
136 constants.
137 (aarch64_simd_valid_immediate): Likewise.
138 (aarch64_vect_float_const_representable_p): New.
139 (aarch64_float_const_representable_p): Likewise.
140 (aarch64_simd_imm_zero_p): Also allow for floating-point 0.0.
141 (aarch64_output_simd_mov_immediate): New.
142 * config/aarch64/aarch64.md (*movsf_aarch64): Add new alternative.
143 (*movdf_aarch64): Likewise.
144 * config/aarch64/constraints.md (Ufc): New.
145 (Y): call aarch64_float_const_zero_rtx.
146 * config/aarch64/predicates.md (aarch64_fp_compare_operand): New.
147
e167c04d
RB
1482013-01-07 Richard Biener <rguenther@suse.de>
149
150 PR tree-optimization/55888
151 PR tree-optimization/55862
152 * tree-ssa-pre.c (phi_translate_1): Revert previous change.
153 (valid_in_sets): Check if a NAME has a leader in AVAIL_OUT,
154 not if it is contained therein.
155
0139aaab
GJL
1562013-01-07 Georg-Johann Lay <avr@gjlay.de>
157
158 * config/avr/t-avr: Typo.
159
4a176b23
GJL
1602013-01-07 Georg-Johann Lay <avr@gjlay.de>
161
162 PR55243
163 * config/avr/t-avr: Don't automatically rebuild
164 $(srcdir)/config/avr/t-multilib
165 $(srcdir)/config/avr/avr-tables.opt
166 $(srcdir)/doc/avr-mmcu.texi
167 (avr-mcus): New phony target to build them on request.
168 (s-avr-mlib, s-avr-mmcu-texi): Remove.
169 * avr/avr-mcus.def: Adjust comments.
170
c7afdc98
UB
1712013-01-07 Uros Bizjak <ubizjak@gmail.com>
172
173 * config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Remove.
174
1ab05c31
RS
1752013-01-06 Richard Sandiford <rdsandiford@googlemail.com>
176
177 * file-find.c, file-find.h, realmpfr.c: Add FSF as copyright holder.
178
488e3acc
RS
1792013-01-06 Richard Sandiford <rdsandiford@googlemail.com>
180
181 * config/tilepro/gen-mul-tables.cc: Put copyright on one line.
182
a89599d2
DE
1832013-01-05 David Edelsohn <dje.gcc@gmail.com>
184
185 * config/rs6000/aix53.h (LIB_SPEC): Add -lpthreads when compiling
186 to generate profiling.
187 * config/rs6000/aix64.h (LIB_SPEC): Same.
188
70f09188
AP
1892013-01-04 Andrew Pinski <apinski@cavium.com>
190
191 * config/aarch64/aarch64.c (aarch64_fixed_condition_code_regs):
192 New function.
193 (TARGET_FIXED_CONDITION_CODE_REGS): Define.
194
918d445f
UB
1952013-01-04 Uros Bizjak <ubizjak@gmail.com>
196
197 * config/i386/i386.c (ix86_legitimize_address): Call convert_to_mode
198 unconditionally.
199 (ix86_expand_move): Ditto.
200 (ix86_zero_extend_to_Pmode): Ditto.
201 (ix86_expand_call): Ditto.
202 (ix86_expand_special_args_builtin): Ditto.
203 (ix86_expand_builtin): Ditto.
204
361618ec
RB
2052013-01-04 Richard Biener <rguenther@suse.de>
206
207 PR tree-optimization/55862
208 * tree-ssa-pre.c (phi_translate_1): Valueize SSA names after
209 translating them through PHI nodes.
210
87eab554
MJ
2112013-01-04 Martin Jambor <mjambor@suse.cz>
212
213 PR tree-optimization/55755
214 * tree-sra.c (sra_modify_assign): Do not check that an access has no
215 children when trying to avoid producing a VIEW_CONVERT_EXPR.
216
33879b9f
MP
2172013-01-04 Marek Polacek <polacek@redhat.com>
218
219 PR middle-end/55859
220 * opts.c (default_options_optimization): Clarify error message.
221
3068819a
RB
2222013-01-04 Richard Biener <rguenther@suse.de>
223
224 PR middle-end/55863
225 * fold-const.c (split_tree): Undo -X - 1 to ~X folding for
226 reassociation.
227
0e4ae794
JDA
2282013-01-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
229
230 PR target/53789
231 * config/pa/pa.md (movsi): Revert previous change.
e58d2e48
JDA
232 * config/pa/pa.c (pa_legitimate_constant_p): Reject all TLS symbol
233 references.
0e4ae794 234
65c88cef
RH
2352013-01-03 Richard Henderson <rth@redhat.com>
236
237 * config/i386/i386.c (ix86_expand_move): Always assign to op1
238 after eliminating TLS symbols.
239
8ac16127
MG
2402013-01-03 Marc Glisse <marc.glisse@inria.fr>
241
242 PR bootstrap/50167
243 * graphite-interchange.c (pdr_stride_in_loop): Use gmp_fprintf.
244 * graphite-poly.c (debug_gmp_value): Likewise.
245
bb664f09
UB
2462013-01-03 Uros Bizjak <ubizjak@gmail.com>
247
248 PR target/55712
249 * config/i386/i386-c.c (ix86_target_macros_internal): Depending on
250 selected code model, define __code_mode_small__, __code_model_medium__,
251 __code_model_large__, __code_model_32__ or __code_model_kernel__.
252 * config/i386/cpuid.h (__cpuid, __cpuid_count) [__i386__]: Prefix
253 xchg temporary register with %k. Declare temporary register as
254 early clobbered.
255 [__x86_64__]: For medium and large code models, preserve %rbx register.
256
bcf1ef00
RB
2572013-01-03 Richard Biener <rguenther@suse.de>
258
0506634a 259 * tree-data-ref.c (dump_conflict_function): Use less vertical spacing.
bcf1ef00
RB
260 (dump_subscript): Adjust.
261 (finalize_ddr_dependent): Do not dump redundant info.
262 (analyze_siv_subscript): Adjust.
263 (subscript_dependence_tester): Likewise.
264 (compute_affine_dependence): Likewise.
265
59fd17e3
RB
2662013-01-03 Richard Biener <rguenther@suse.de>
267
268 Revert
269 2013-01-03 Richard Biener <rguenther@suse.de>
270
271 PR tree-optimization/55857
272 * tree-vect-stmts.c (vectorizable_load): Do not setup
273 re-alignment for invariant loads.
274
275 2013-01-02 Richard Biener <rguenther@suse.de>
276
277 * tree-vect-stmts.c (vectorizable_load): When vectorizing an
0506634a 278 invariant load do not generate a vector load from the scalar location.
59fd17e3 279
595c2679
RB
2802013-01-03 Richard Biener <rguenther@suse.de>
281
282 * tree-vect-loop.c (vect_analyze_loop_form): Clarify reason
283 for not vectorizing.
284 * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): Do
285 not build INDIRECT_REFs, call get_name once only.
286 (vect_create_data_ref_ptr): Likewise. Dump base object kind
287 based on DR_BASE_OBJECT, not DR_BASE_ADDRESS.
288
90bb7d7a
RB
2892013-01-03 Richard Biener <rguenther@suse.de>
290
291 PR tree-optimization/55857
292 * tree-vect-stmts.c (vectorizable_load): Do not setup
293 re-alignment for invariant loads.
294
f09b77ca
RB
2952013-01-03 Richard Biener <rguenther@suse.de>
296
297 PR lto/55848
298 * lto-symtab.c (lto_symtab_merge_decls_1): As last resort, always
299 prefer a built-in decl.
300
3461a16e
JJ
3012013-01-03 Jakub Jelinek <jakub@redhat.com>
302
df8e2b4f
JJ
303 * gcc.c (process_command): Update copyright notice dates.
304 * gcov.c (print_version): Likewise.
305 * gcov-dump.c (print_version): Likewise.
306
3461a16e
JJ
307 PR rtl-optimization/55838
308 * loop-iv.c (iv_number_of_iterations): Call lowpart_subreg on
309 iv0.step, iv1.step and step.
310
8b5546d6
JJ
3112013-01-03 Jakub Jelinek <jakub@redhat.com>
312 Marc Glisse <marc.glisse@inria.fr>
313
314 PR tree-optimization/55832
315 * fold-const.c (fold_binary_loc): For ABS_EXPR<x> >= 0 and
316 ABS_EXPR<x> < 0 folding use constant_boolean_node instead of
317 integer_{one,zero}_node.
318
8ab1d2e9
JJ
3192013-01-03 Jakub Jelinek <jakub@redhat.com>
320
321 PR debug/54402
322 * params.def (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE): New param.
323 * var-tracking.c (reverse_op): Don't add reverse ops to
324 VALUEs that have already
0506634a 325 PARAM_VALUE (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE) or longer locs list.
8ab1d2e9 326
5b9ad1d4
GP
3272013-01-02 Gerald Pfeifer <gerald@pfeifer.com>
328
329 * doc/contrib.texi: Note years as release manager for Mark Mitchell.
330
e25a6711
TJ
3312013-01-02 Teresa Johnson <tejohnson@google.com>
332
333 * dumpfile.c (dump_loc): Print filename with location.
334 * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Use
335 new location_t parameter to emit complete unroll message with
336 new dump framework.
337 (canonicalize_loop_induction_variables): Compute loops location
338 and pass to try_unroll_loop_completely.
339 * loop-unroll.c (report_unroll_peel): New function.
340 (peel_loops_completely): Use new dump format with location
341 for main dumpfile message, and invoke report_unroll_peel on success.
342 (decide_unrolling_and_peeling): Ditto.
343 (decide_peel_once_rolling): Remove old dumpfile message subsumed
344 by report_unroll_peel.
345 (decide_peel_completely): Ditto.
346 (decide_unroll_constant_iterations): Ditto.
347 (decide_unroll_runtime_iterations): Ditto.
348 (decide_peel_simple): Ditto.
349 (decide_unroll_stupid): Ditto.
350 * cfgloop.c (get_loop_location): New function.
351 * cfgloop.h (get_loop_location): Declare.
352
77878621
ST
3532013-01-02 Sriraman Tallam <tmsriram@google.com>
354
355 * config/i386/i386.c (fold_builtin_cpu): Remove unnecessary checks for
356 NULL.
357
9e65d03e
JDA
3582013-01-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
359
360 PR middle-end/55198
361 * expr.c (expand_expr_real_1): Don't use bitfield extraction for non
362 BLKmode objects when EXPAND_MEMORY is specified.
363
6a7da30f
ST
3642013-01-02 Sriraman Tallam <tmsriram@google.com>
365
366 * config/i386/i386.c (ix86_get_function_versions_dispatcher): Fix bug
367 in loop predicate.
368 (fold_builtin_cpu): Do not share cpu model decls across statements.
369
e78167f2
JM
3702013-01-02 Jason Merrill <jason@redhat.com>
371
372 PR c++/55804
373 * tree.c (build_array_type_1): Revert earlier change.
374
8c075fb4
YZ
3752013-01-02 Yufeng Zhang <yufeng.zhang@arm.com>
376
377 * config/aarch64/aarch64-cores.def: Add entries for "cortex-a53" and
378 "cortex-a57".
379 * config/aarch64/aarch64-tune.md: Re-generate.
380
0682ed3e
RB
3812013-01-02 Richard Biener <rguenther@suse.de>
382
383 * tree-vect-stmts.c (vectorizable_load): When vectorizing an
0506634a 384 invariant load do not generate a vector load from the scalar location.
0682ed3e 385
b8f6a302
RB
3862013-01-02 Richard Biener <rguenther@suse.de>
387
388 PR bootstrap/55784
389 * configure.ac: Add $GMPINC to CFLAGS/CXXFLAGS.
390 * configure: Regenerate.
391
04b80dbb
RS
3922013-01-02 Richard Sandiford <rdsandiford@googlemail.com>
393
394 * builtins.c (expand_builtin_mathfn, expand_builtin_mathfn_2)
395 (expand_builtin_mathfn_ternary, expand_builtin_mathfn_3)
396 (expand_builtin_int_roundingfn_2): Keep the original target around
397 for the fallback case.
398
635b0b0c
RS
3992013-01-02 Richard Sandiford <rdsandiford@googlemail.com>
400
401 * tree-vrp.c (range_fits_type_p): Require the MSB of the double_int
402 to be clear for sign changes.
403
42d57399
JH
4042013-01-01 Jan Hubicka <jh@suse.cz>
405
406 * ipa-inline-analysis.c: Fix formatting.
407
5bb6669d
JJ
4082013-01-01 Jakub Jelinek <jakub@redhat.com>
409
410 PR tree-optimization/55831
411 * tree-vect-loop.c (get_initial_def_for_induction): Use
412 gsi_after_labels instead of gsi_start_bb.
ad41bd84 413\f
86a2db33 414Copyright (C) 2013 Free Software Foundation, Inc.
ad41bd84
JM
415
416Copying and distribution of this file, with or without modification,
417are permitted in any medium without royalty provided the copyright
418notice and this notice are preserved.