rs6000-c.c (altivec_overloaded_builtins): Remove two duplicate entries.
[gcc.git] / gcc / ChangeLog
1 2014-01-08 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2
3 * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Remove
4 two duplicate entries.
5
6 2014-01-08 Richard Sandiford <rdsandiford@googlemail.com>
7
8 Revert:
9 2012-10-07 Richard Sandiford <rdsandiford@googlemail.com>
10
11 * config/mips/mips.c (mips_truncated_op_cost): New function.
12 (mips_rtx_costs): Adjust test for BADDU.
13 * config/mips/mips.md (*baddu_di<mode>): Push truncates to operands.
14
15 2012-10-02 Richard Sandiford <rdsandiford@googlemail.com>
16
17 * config/mips/mips.md (*baddu_si_eb, *baddu_si_el): Merge into...
18 (*baddu_si): ...this new pattern.
19
20 2014-01-08 Jakub Jelinek <jakub@redhat.com>
21
22 PR ipa/59722
23 * ipa-prop.c (ipa_analyze_params_uses): Ignore uses in debug stmts.
24
25 2014-01-08 Bernd Edlinger <bernd.edlinger@hotmail.de>
26
27 PR middle-end/57748
28 * expr.h (expand_expr_real, expand_expr_real_1): Add new parameter
29 inner_reference_p.
30 (expand_expr, expand_normal): Adjust.
31 * expr.c (expand_expr_real, expand_expr_real_1): Add new parameter
32 inner_reference_p. Use inner_reference_p to expand inner references.
33 (store_expr): Adjust.
34 * cfgexpand.c (expand_call_stmt): Adjust.
35
36 2014-01-08 Rong Xu <xur@google.com>
37
38 * gcov-io.c (gcov_var): Move from gcov-io.h.
39 (gcov_position): Ditto.
40 (gcov_is_error): Ditto.
41 (gcov_rewrite): Ditto.
42 * gcov-io.h: Refactor. Move gcov_var to gcov-io.h, and libgcov
43 only part to libgcc/libgcov.h.
44
45 2014-01-08 Marek Polacek <polacek@redhat.com>
46
47 PR middle-end/59669
48 * omp-low.c (simd_clone_adjust): Don't crash if def is NULL.
49
50 2014-01-08 Marek Polacek <polacek@redhat.com>
51
52 PR sanitizer/59667
53 * ubsan.c (ubsan_type_descriptor): Call strip_array_types on type2.
54
55 2014-01-08 Jakub Jelinek <jakub@redhat.com>
56
57 PR rtl-optimization/59649
58 * stor-layout.c (get_mode_bounds): For BImode return
59 0 and STORE_FLAG_VALUE.
60
61 2014-01-08 Richard Biener <rguenther@suse.de>
62
63 PR middle-end/59630
64 * gimple.h (is_gimple_builtin_call): Remove.
65 (gimple_builtin_call_types_compatible_p): New.
66 (gimple_call_builtin_p): New overload.
67 * gimple.c (is_gimple_builtin_call): Remove.
68 (validate_call): Rename to ...
69 (gimple_builtin_call_types_compatible_p): ... this and export. Also
70 check return types.
71 (validate_type): New static function.
72 (gimple_call_builtin_p): New overload and adjust.
73 * gimple-fold.c (gimple_fold_builtin): Fold the return value.
74 (gimple_fold_call): Likewise. Use gimple_call_builtin_p.
75 (gimple_fold_stmt_to_constant_1): Likewise.
76 * tsan.c (instrument_gimple): Use gimple_call_builtin_p.
77
78 2014-01-08 Richard Biener <rguenther@suse.de>
79
80 PR middle-end/59471
81 * gimplify.c (gimplify_expr): Gimplify register-register type
82 VIEW_CONVERT_EXPRs to separate stmts.
83
84 2014-01-07 Jeff Law <law@redhat.com>
85
86 PR middle-end/53623
87 * ree.c (combine_set_extension): Handle case where source
88 and destination registers in an extension insn are different.
89 (combine_reaching_defs): Allow source and destination
90 registers in extension to be different under limited
91 circumstances.
92 (add_removable_extension): Remove restriction that the
93 source and destination registers in the extension are the
94 same.
95 (find_and_remove_re): Emit a copy from the extension's
96 destination to its source after the defining insn if
97 the source and destination registers are different.
98
99 PR middle-end/59285
100 * ifcvt.c (merge_if_block): If we are merging a block with more than
101 one successor with a block with no successors, remove any BARRIER
102 after the second block.
103
104 2014-01-07 Dan Xio Qiang <ziyan01@163.com>
105
106 * hw-doloop.c (reorg_loops): Release the bitmap obstack.
107
108 2014-01-07 John David Anglin <danglin@gcc.gnu.org>
109
110 PR target/59652
111 * config/pa/pa.c (pa_legitimate_address_p): Return false before reload
112 for 14-bit register offsets when INT14_OK_STRICT is false.
113
114 2014-01-07 Roland Stigge <stigge@antcom.de>
115 Michael Meissner <meissner@linux.vnet.ibm.com>
116
117 PR 57386/target
118 * config/rs6000/rs6000.c (rs6000_legitimate_offset_address_p):
119 Only check TFmode for SPE constants. Don't check TImode or
120 TDmode.
121
122 2014-01-07 James Greenhalgh <james.greenhalgh@arm.com>
123
124 * config/aarch64/aarch64-elf.h (ASM_SPEC): Remove identity spec for
125 -mcpu.
126
127 2014-01-07 Yufeng Zhang <yufeng.zhang@arm.com>
128
129 * config/arm/arm.c (arm_expand_neon_args): Call expand_expr
130 with EXPAND_MEMORY for NEON_ARG_MEMORY; check if the returned
131 rtx is const0_rtx or not.
132
133 2014-01-07 Richard Sandiford <rdsandiford@googlemail.com>
134
135 PR target/58115
136 * target-globals.c (save_target_globals): Remove this_fn_optab
137 handling.
138 * toplev.c: Include optabs.h.
139 (target_reinit): Temporarily restore the global options if another
140 set of options are in force.
141
142 2014-01-07 Jakub Jelinek <jakub@redhat.com>
143
144 PR rtl-optimization/58668
145 * cfgcleanup.c (flow_find_cross_jump): Don't count
146 any jumps if dir_p is NULL. Remove p1 variable, use active_insn_p
147 to determine what is counted.
148 (flow_find_head_matching_sequence): Use active_insn_p to determine
149 what is counted.
150 (try_head_merge_bb): Adjust for the flow_find_head_matching_sequence
151 counting change.
152 * ifcvt.c (count_bb_insns): Use active_insn_p && !JUMP_P to
153 determine what is counted.
154
155 PR tree-optimization/59643
156 * tree-predcom.c (split_data_refs_to_components): If one dr is
157 read and one write, determine_offset fails and the write isn't
158 in the bad component, just put the read into the bad component.
159
160 2014-01-07 Mike Stump <mikestump@comcast.net>
161 Jakub Jelinek <jakub@redhat.com>
162
163 PR pch/59436
164 * tree-core.h (struct tree_optimization_option): Change optabs
165 type from unsigned char * to void *.
166 * optabs.c (init_tree_optimization_optabs): Adjust
167 TREE_OPTIMIZATION_OPTABS initialization.
168
169 2014-01-06 Jakub Jelinek <jakub@redhat.com>
170
171 PR target/59644
172 * config/i386/i386.h (struct machine_function): Add
173 no_drap_save_restore field.
174 * config/i386/i386.c (ix86_save_reg): Use
175 !cfun->machine->no_drap_save_restore instead of
176 crtl->stack_realign_needed.
177 (ix86_finalize_stack_realign_flags): Don't clear drap_reg unless
178 this function clears frame_pointer_needed. Set
179 cfun->machine->no_drap_save_restore if clearing frame_pointer_needed
180 and DRAP reg is needed.
181
182 2014-01-06 Marek Polacek <polacek@redhat.com>
183
184 PR c/57773
185 * doc/implement-c.texi: Mention that other integer types are
186 permitted as bit-field types in strictly conforming mode.
187
188 2014-01-06 Felix Yang <fei.yang0953@gmail.com>
189
190 * modulo-sched.c (schedule_reg_moves): Clear distance1_uses if it
191 is newly allocated.
192
193 2014-01-06 Richard Earnshaw <rearnsha@arm.com>
194
195 * aarch64.c (aarch64_rtx_costs): Fix cost calculation for MADD.
196
197 2014-01-06 Martin Jambor <mjambor@suse.cz>
198
199 PR ipa/59008
200 * ipa-cp.c (ipcp_discover_new_direct_edges): Changed param_index type
201 to int.
202 * ipa-prop.c (ipa_print_node_params): Fix indentation.
203
204 2014-01-06 Eric Botcazou <ebotcazou@adacore.com>
205
206 PR debug/59350
207 PR debug/59510
208 * var-tracking.c (add_stores): Preserve the value of the source even if
209 we don't record the store.
210
211 2014-01-06 Terry Guo <terry.guo@arm.com>
212
213 * config.gcc (arm*-*-*): Check --with-arch against arm-arches.def.
214
215 2014-01-05 Iain Sandoe <iain@codesourcery.com>
216
217 PR bootstrap/59541
218 * config/darwin.c (darwin_function_section): Adjust return values to
219 correspond to optimisation changes made in r206070.
220
221 2014-01-05 Uros Bizjak <ubizjak@gmail.com>
222
223 * config/i386/i386.c (ix86_data_alignment): Calculate max_align
224 from prefetch_block tune setting.
225 (nocona_cost): Correct size of prefetch block to 64.
226
227 2014-01-04 Eric Botcazou <ebotcazou@adacore.com>
228
229 * config/arm/arm.c (arm_get_frame_offsets): Revamp long lines.
230 (arm_expand_epilogue_apcs_frame): Take into account the number of bytes
231 used to save the static chain register in the computation of the offset
232 from which the FP registers need to be restored.
233
234 2014-01-04 Jakub Jelinek <jakub@redhat.com>
235
236 PR tree-optimization/59519
237 * tree-vect-loop-manip.c (slpeel_update_phi_nodes_for_guard1): Don't
238 ICE if get_current_def (current_new_name) is already non-NULL, as long
239 as it is a phi result of some other phi in *new_exit_bb that has
240 the same argument.
241
242 * config/i386/sse.md (avx512f_load<mode>_mask): Emit vmovup{s,d}
243 or vmovdqu* for misaligned_operand.
244 (<sse>_loadu<ssemodesuffix><avxsizesuffix><mask_name>,
245 <sse2_avx_avx512f>_loaddqu<mode><mask_name>): Handle <mask_applied>.
246 * config/i386/i386.c (ix86_expand_special_args_builtin): Set
247 aligned_mem for AVX512F masked aligned load and store builtins and for
248 non-temporal moves.
249
250 2014-01-03 Bingfeng Mei <bmei@broadcom.com>
251
252 PR tree-optimization/59651
253 * tree-vect-loop-manip.c (vect_create_cond_for_alias_checks):
254 Address range for negative step should be added by TYPE_SIZE_UNIT.
255
256 2014-01-03 Andreas Schwab <schwab@linux-m68k.org>
257
258 * config/m68k/m68k.c (handle_move_double): Handle pushes with
259 overlapping registers also for registers other than the stack
260 pointer.
261
262 2014-01-03 Marek Polacek <polacek@redhat.com>
263
264 PR other/59661
265 * doc/extend.texi: Fix the return value of __builtin_FUNCTION and
266 __builtin_FILE.
267
268 2014-01-03 Jakub Jelinek <jakub@redhat.com>
269
270 PR target/59625
271 * config/i386/i386.c (ix86_avoid_jump_mispredicts): Don't consider
272 asm goto as jump.
273
274 * config/i386/i386.md (MODE_SIZE): New mode attribute.
275 (push splitter): Use <P:MODE_SIZE> instead of
276 GET_MODE_SIZE (<P:MODE>mode).
277 (lea splitter): Use <MODE_SIZE> instead of GET_MODE_SIZE (<MODE>mode).
278 (mov -1, reg peephole2): Likewise.
279 * config/i386/sse.md (*mov<mode>_internal,
280 <sse>_storeu<ssemodesuffix><avxsizesuffix>,
281 <sse2_avx_avx512f>_storedqu<mode>, <sse>_andnot<mode>3,
282 *<code><mode>3, *andnot<mode>3<mask_name>,
283 <mask_codefor><code><mode>3<mask_name>): Likewise.
284 * config/i386/subst.md (mask_mode512bit_condition,
285 sd_mask_mode512bit_condition): Likewise.
286
287 2014-01-02 Xinliang David Li <davidxl@google.com>
288
289 PR tree-optimization/59303
290 * tree-ssa-uninit.c (is_use_properly_guarded): Main cleanup.
291 (dump_predicates): Better output format.
292 (pred_equal_p): New function.
293 (is_neq_relop_p): Ditto.
294 (is_neq_zero_form_p): Ditto.
295 (pred_expr_equal_p): Ditto.
296 (pred_neg_p): Ditto.
297 (simplify_pred): Ditto.
298 (simplify_preds_2): Ditto.
299 (simplify_preds_3): Ditto.
300 (simplify_preds_4): Ditto.
301 (simplify_preds): Ditto.
302 (push_pred): Ditto.
303 (push_to_worklist): Ditto.
304 (get_pred_info_from_cmp): Ditto.
305 (is_degenerated_phi): Ditto.
306 (normalize_one_pred_1): Ditto.
307 (normalize_one_pred): Ditto.
308 (normalize_one_pred_chain): Ditto.
309 (normalize_preds): Ditto.
310 (normalize_cond_1): Remove function.
311 (normalize_cond): Ditto.
312 (is_gcond_subset_of): Ditto.
313 (is_subset_of_any): Ditto.
314 (is_or_set_subset_of): Ditto.
315 (is_and_set_subset_of): Ditto.
316 (is_norm_cond_subset_of): Ditto.
317 (pred_chain_length_cmp): Ditto.
318 (convert_control_dep_chain_into_preds): Type change.
319 (find_predicates): Ditto.
320 (find_def_preds): Ditto.
321 (destroy_predicates_vecs): Ditto.
322 (find_matching_predicates_in_rest_chains): Ditto.
323 (use_pred_not_overlap_with_undef_path_pred): Ditto.
324 (is_pred_expr_subset): Ditto.
325 (is_pred_chain_subset_of): Ditto.
326 (is_included_in): Ditto.
327 (is_superset_of): Ditto.
328
329 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
330
331 Update copyright years.
332
333 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
334
335 * common/config/arc/arc-common.c, config/arc/arc-modes.def,
336 config/arc/arc-protos.h, config/arc/arc.c, config/arc/arc.h,
337 config/arc/arc.md, config/arc/arc.opt,
338 config/arm/arm_neon_builtins.def, config/arm/crypto.def,
339 config/i386/avx512cdintrin.h, config/i386/avx512erintrin.h,
340 config/i386/avx512fintrin.h, config/i386/avx512pfintrin.h,
341 config/i386/btver2.md, config/i386/shaintrin.h, config/i386/slm.md,
342 config/linux-protos.h, config/linux.c, config/winnt-c.c,
343 diagnostic-color.c, diagnostic-color.h, gimple-ssa-isolate-paths.c,
344 vtable-verify.c, vtable-verify.h: Use the standard form for the
345 copyright notice.
346
347 2014-01-02 Tobias Burnus <burnus@net-b.de>
348
349 * gcc.c (process_command): Update copyright notice dates.
350 * gcov-dump.c: Ditto.
351 * gcov.c: Ditto.
352 * doc/cpp.texi: Bump @copying's copyright year.
353 * doc/cppinternals.texi: Ditto.
354 * doc/gcc.texi: Ditto.
355 * doc/gccint.texi: Ditto.
356 * doc/gcov.texi: Ditto.
357 * doc/install.texi: Ditto.
358 * doc/invoke.texi: Ditto.
359
360 2014-01-01 Jan-Benedict Glaw <jbglaw@lug-owl.de>
361
362 * config/nios2/nios2.h (BITS_PER_UNIT): Don't define it.
363
364 2014-01-01 Jakub Jelinek <jakub@redhat.com>
365
366 * config/i386/sse.md (*mov<mode>_internal): Guard
367 EXT_REX_SSE_REGNO_P (REGNO ()) uses with REG_P.
368
369 PR rtl-optimization/59647
370 * cse.c (cse_process_notes_1): Don't substitute negative VOIDmode
371 new_rtx into UNSIGNED_FLOAT rtxes.
372 \f
373 Copyright (C) 2014 Free Software Foundation, Inc.
374
375 Copying and distribution of this file, with or without modification,
376 are permitted in any medium without royalty provided the copyright
377 notice and this notice are preserved.