vxworks.h (VXWORKS_LIBGCC_SPEC): Don't link shared RTPs with libc_internal.
[gcc.git] / gcc / ChangeLog
1 2016-01-08 Olivier Hainque <hainque@adacore.com>
2
3 * config/vxworks.h (VXWORKS_LIBGCC_SPEC): Don't link shared RTPs with
4 libc_internal.
5
6 2016-01-08 Alan Lawrence <alan.lawrence@arm.com>
7
8 * gcc.target/rs6000/paired.md (reduc_smax_v2sf): Rename to...
9 (reduc_smax_scal_v2sf): ...here, make result SFmode, extract element.
10 (reduc_smin_v2sf): Rename to...
11 (reduc_smin_scal_v2sf): ...here, make result SFmode, extract element.
12 (reduc_splus_v2sf): Rename to...
13 (reduc_plus_scal_v2sf): ...here, make result SFmode, extract element.
14
15 2016-01-08 Jakub Jelinek <jakub@redhat.com>
16
17 PR tree-optimization/69162
18 * gimplify.c (gimplify_va_arg_expr): Encode original type of
19 valist argument in another argument.
20 (gimplify_modify_expr): Adjust for the above change. Cleanup.
21 * tree-stdarg.c (expand_ifn_va_arg_1): Use new 3rd argument
22 to determine the va_list type, build a MEM_REF instead of
23 build_fold_indirect_ref.
24
25 PR tree-optimization/69172
26 * gimple-fold.c (gimple_fold_builtin_memory_chk): Pass type to
27 gimple_build.
28
29 2016-01-08 Thomas Preud'homme <thomas.preudhomme@arm.com>
30
31 PR tree-optimization/67781
32 * tree-ssa-math-opts.c (find_bswap_or_nop): Zero out bytes in cmpxchg
33 and cmpnop in two steps: first the ones not accessed in original
34 gimple expression in a endian independent way and then the ones not
35 accessed in the final result in an endian-specific way.
36
37 2016-01-08 Jakub Jelinek <jakub@redhat.com>
38
39 PR tree-optimization/69083
40 * tree-vect-slp.c (vect_get_constant_vectors): For
41 VECTOR_BOOLEAN_TYPE_P assert op is fold_convertible_p to vector_type's
42 element type. If op is fold_convertible_p to vector_type's element
43 type, use NOP_EXPR instead of VCE.
44
45 2016-01-08 Segher Boessenkool <segher@kernel.crashing.org>
46
47 PR rtl-optimization/67778
48 PR rtl-optimization/68634
49 PR rtl-optimization/68909
50 * shrink-wrap.c (try_shrink_wrapping): Add comment. Don't pop
51 block from the stack until done with it. Remove a superfluous
52 bitmap set. Remove a superfluous bitmap test.
53
54 2016-01-07 Martin Sebor <msebor@redhat.com>
55
56 PR c/68966
57 * doc/extend.texi (__atomic Builtins, __sync Builtins): Document
58 constraint on the type of arguments.
59
60 2016-01-07 Andreas Tobler <andreast@gcc.gnu.org>
61
62 * config/arm/freebsd.h: Rename SUBTARGET_OVERRIDE_OPTIONS to
63 SUBTARGET_OVERRIDE_INTERNAL_OPTIONS. Adjust to check
64 unaligned_access on the gcc_options set.
65 * config/arm/arm.c (arm_option_override_internal): Use
66 SUBTARGET_OVERRIDE_INTERNAL_OPTIONS.
67
68 2016-01-07 Uros Bizjak <ubizjak@gmail.com>
69
70 PR target/69140
71 * config/i386/i386.c (ix86_frame_pointer_required): Enable
72 frame pointer for TARGET_64BIT_MS_ABI when stack is misaligned.
73
74 2016-01-07 Uros Bizjak <ubizjak@gmail.com>
75
76 Revert
77 2016-01-06 Uros Bizjak <ubizjak@gmail.com>
78
79 PR target/69140
80 * config/i386/i386.c (ix86_expand_prologue): Declare fs.sp_valid
81 depending on frame_pointer_needed before remaining integer and SSE
82 registers are saved.
83
84 2016-01-07 Sandra Loosemore <sandra@codesourcery.com>
85
86 PR 1078
87 * doc/extend.texi (Nvidia PDX Function Attributes): New section.
88
89 2016-01-07 H.J. Lu <hongjiu.lu@intel.com>
90
91 PR target/69171
92 * config/i386/sse.md (<sse>_sqrt<mode>2<mask_name><round_name>):
93 Use the "xBm" constraint.
94 (float<sseintvecmodelower><mode>2<mask_name><round_name):
95 Likewise.
96 (sse_cvtsi2ss<round_name>): Use round_nimm_scalar_predicate.
97 (sse_cvtsi2ssq<round_name>): Likewise.
98 (sse_cvtss2si<round_name>): Likewise.
99 (sse_cvtss2siq<round_name>): Likewise.
100 (sse2_cvtsi2sdq<round_name>): Likewise.
101 (sse2_cvtsd2si<round_name>): Likewise.
102 (sse2_cvtsd2siq<round_name>): Likewise.
103 * config/i386/subst.md (round_nimm_scalar_predicate): New
104 predicate.
105
106 2015-12-15 Bernd Schmidt <bschmidt@redhat.com>
107
108 PR middle-end/67639
109 * varasm.c (make_decl_rtl): Mark invalid register vars as
110 DECL_EXTERNAL.
111
112 PR rtl-optimization/66206
113 * bt-load.c (find_btr_use): Change first arg to be a pointer to an rtx.
114 All callers changed.
115
116 2016-01-07 Jakub Jelinek <jakub@redhat.com>
117
118 PR tree-optimization/69141
119 * tree-ssa-pre.c: Include langhooks.h.
120 (eliminate_dom_walker::before_dom_children): Use
121 lang_hooks.decl_printable_name instead of
122 cgraph_node::get ()->name ().
123
124 PR middle-end/68960
125 * gimple-expr.c (copy_var_decl): If var has DECL_USER_ALIGN set, copy
126 it and DECL_ALIGN too.
127
128 2016-01-06 Robert Suchanek <robert.suchanek@imgtec.com>
129
130 * config/mips/mips-ftypes.def: Sort to lexicographical order.
131
132 2016-01-06 Uros Bizjak <ubizjak@gmail.com>
133
134 PR target/69140
135 * config/i386/i386.c (ix86_expand_prologue): Declare fs.sp_valid
136 depending on frame_pointer_needed before remaining integer and SSE
137 registers are saved.
138
139 2015-01-06 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
140
141 * config/rs6000/vsx.md (*p9_vecload_<mode>): Replace VSX_M
142 mode iterator with VSX_M2.
143 (*p9_vecstore_<mode>): Likewise.
144 (*vsx_le_permute_<mode>): Restrict to !TARGET_P9_VECTOR.
145 (*vsx_le_perm_load_<mode> for VSX_LE_128): Likewise.
146 (*vsx_le_perm_store_<mode> for VSX_LE_128): Likewise.
147 (define_split for VSX_LE128 stores): Likewise.
148 (define_peephole2 for TImode LE swaps): Likewise.
149 (define_split for VSX_LE128 post-reload stores): Likewise.
150
151 2016-01-06 Marek Polacek <polacek@redhat.com>
152
153 PR sanitizer/69099
154 * convert.c (convert_to_integer_1): Adjust call to
155 ubsan_instrument_float_cast. Use NULL_TREE instead of NULL.
156 * ubsan.c (ubsan_instrument_float_cast): Drop the ARG parameter. Use
157 EXPR instead of ARG.
158 * ubsan.h (ubsan_instrument_float_cast): Adjust declaration.
159
160 2016-01-05 Sandra Loosemore <sandra@codesourcery.com>
161
162 PR 1078
163 * doc/extend.texi (RL78 Variable Attributes): New section.
164
165 2016-01-05 Marek Polacek <polacek@redhat.com>
166
167 PR c/69104
168 * builtins.c (get_memmodel): Use expansion point location rather than
169 the input location. Call warning_at rather than warning.
170 (expand_builtin_atomic_compare_exchange): Likewise.
171 (expand_builtin_atomic_load): Likewise.
172 (expand_builtin_atomic_store): Likewise.
173 (expand_builtin_atomic_clear): Likewise.
174
175 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
176
177 PR target/68991
178 * config/i386/i386.c (ix86_expand_vector_logical_operator):
179 Replace nonimmediate_operand with vector_operand.
180 * config/i386/predicates.md (vector_operand): New predicate.
181 (general_vector_operand): Replace nonimmediate_operand with
182 vector_operand.
183 * config/i386/sse.md: Replace nonimmediate_operand with
184 vector_operand and m constraint with Bm constraint on SSE
185 patterns with 16-byte memory operand.
186 * config/i386/subst.md (round_nimm_predicate): Replace
187 nonimmediate_operand with vector_operand.
188 (round_saeonly_nimm_predicate): Likewise.
189 (round_saeonly_nimm_scalar_predicate): New.
190
191 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
192
193 PR target/68991
194 * config/i386/constraints.md (Bm): New constraint.
195 * config/i386/predicates.md (vector_memory_operand): New
196 predicate.
197 * config/i386/sse.md: Replace xm with xBm in plusminus and
198 any_logic patterns.
199
200 2016-01-05 Sandra Loosemore <sandra@codesourcery.com>
201
202 PR 1078
203 * doc/extend.texi (V850 Function Attributes): New section.
204 (V850 Variable Attributes): New section.
205
206 2016-01-05 Sandra Loosemore <sandra@codesourcery.com>
207
208 PR 1078
209 * doc/extend.texi (MicroBlaze Function Attributes): Document
210 interrupt_handler and fast_interrupt attributes.
211
212 2016-01-05 Sergei Trofimovich <siarheit@google.com>
213
214 PR other/60465
215 * config/ia64/ia64.c (ia64_expand_load_address): Use gprel64
216 for local symbolic operands.
217 * config/ia64/predicates.md (local_symbolic_operand64): New
218 predicate.
219
220 2016-01-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
221
222 PR rtl-optimization/68651
223 * combine.c (combine_simplify_rtx): Canonicalize x + x into
224 x << 1.
225
226 2016-01-05 Nathan Sidwell <nathan@acm.org>
227
228 * alias.c (compare_base_decls): Use symtab_node::get.
229
230 2016-01-05 Nick Clifton <nickc@redhat.com>
231
232 PR target/68770
233 * ira-costs.c (copy_cost): Initialise the t_icode field of the
234 secondary_reload_info structure.
235
236 PR target/66655
237 * config/i386/cygming.h (MAKE_DECL_ONE_ONLY): Define to use weak
238 decls if weak support is available.
239
240 2016-01-04 Martin Sebor <msebor@redhat.com>
241
242 * doc/invoke.texi (Warning Options): Document -Winvalid-memory-model.
243
244 2016-01-04 Michael Meissner <meissner@linux.vnet.ibm.com>
245
246 * config/rs6000/rs6000-cpus.def (ISA_3_0_MASKS_SERVER): Add
247 OPTION_MASK_P9_DFORM.
248
249 * config/rs6000/constraints.md (wo constraint): New constraint for
250 ISA 3.0 (power9).
251
252 * config/rs6000/rs6000.c (rs6000_debug_reg_global): Add support
253 for wo constraint.
254 (rs6000_init_hard_regno_mode_ok): Likewise.
255
256 * config/rs6000/rs6000.h (r6000_reg_class_enum): Add support for
257 wo constraint.
258
259 * config/rs6000/altivec.md (altivec_vperm_<mode>): Clean up vperm
260 expanders not to have constraints. Add support for ISA 3.0 xxperm
261 instruction. Add support for fusing xxlor with xxperm.
262 (altivec_vperm_<mode>_internal): Likewise.
263 (altivec_vperm_v8hiv16qi): Likewise.
264 (altivec_vperm_<mode>v16q): Likewise.
265 (altivec_vperm_<mode>_uns): Likewise.
266 (vperm_v8hiv4si): Likewise.
267 (vperm_v16qiv8hi): Likewise.
268
269 * doc/md.texi (RS/6000 constraints): Document wo constraint.
270
271 2016-01-04 Jakub Jelinek <jakub@redhat.com>
272
273 Update copyright years.
274
275 * gcc.c (process_command): Update copyright notice dates.
276 * gcov-dump.c (print_version): Ditto.
277 * gcov.c (print_version): Ditto.
278 * gcov-tool.c (print_version): Ditto.
279 * gengtype.c (create_file): Ditto.
280 * doc/cpp.texi: Bump @copying's copyright year.
281 * doc/cppinternals.texi: Ditto.
282 * doc/gcc.texi: Ditto.
283 * doc/gccint.texi: Ditto.
284 * doc/gcov.texi: Ditto.
285 * doc/install.texi: Ditto.
286 * doc/invoke.texi: Ditto.
287
288 2016-01-04 Eric Botcazou <ebotcazou@adacore.com>
289
290 * config/arm/arm.c (aapcs_vfp_allocate_return_reg): Treat all integer
291 modes larger than TImode as TImode if NEON is not enabled.
292
293 2016-01-04 Eric Botcazou <ebotcazou@adacore.com>
294
295 PR target/69100
296 * config/sparc/sparc.h (FUNCTION_ARG_REGNO_P): Return true in 64-bit
297 mode for %f0-%f31 only if TARGET_FPU.
298
299 2016-01-04 Eric Botcazou <ebotcazou@adacore.com>
300
301 PR target/69072
302 * config/sparc/sparc.c (scan_record_type): Take into account subfields
303 to compute the PACKED_P predicate.
304 (function_arg_record_value): Minor tweaks.
305
306 2016-01-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
307
308 * doc/install.texi (--with-multilib-list): Describe the meaning of the
309 option for arm*-*-* targets.
310
311 2016-01-03 Sandra Loosemore <sandra@codesourcery.com>
312
313 * doc/extend.texi (Common Function Attributes): Move docs for
314 MSP430-specific attributes to....
315 (MSP430 Function Attributes): ...here. Delete the redundant
316 entries and copy-edit the remaining text.
317 (MSP430 Variable Attributes): Use uniform format for index
318 entries and add a cross-reference to the corresponding function
319 attribute docs.
320
321 2016-01-03 Vladimír Čunát <vcunat@gmail.com>
322
323 * doc/invoke.texi (RS/6000 and PowerPC Options): Fix
324 -finite-math typo.
325 (x86 Options): Likewise.
326
327 2016-01-01 Sandra Loosemore <sandra@codesourcery.com>
328
329 PR 1078
330
331 * extend.texi (Common Function Attributes) <no_stack_limit>: New.
332 * invoke.texi (Code Gen Options) <-fno-stack-limit>: Add pointer
333 to corresponding attribute.
334
335 2016-01-01 Sandra Loosemore <sandra@codesourcery.com>
336
337 * doc/extend.texi (Common Function Attributes) <noplt>: Move
338 to correct alphabetization of table. Copy-edit and correct
339 markup.
340 <stack_protect>: Likewise.
341 <target_clones>: Likewise.
342 <simd>: Likewise.
343 * doc/invoke.texi (Optimize Options) <-fstack-protector-explicit>:
344 Correct punctuation.
345 (Code Gen Options) <-fno-plt>: Copy-edit.
346
347 2016-01-01 Bernd Edlinger <bernd.edlinger@hotmail.de>
348
349 PR target/68917
350 * config/tilegx/tilegx.md (clzsi2): Don't create DI subregs of
351 SI values. Explicitly convert SI to DI and vice-versa.
352
353 2016-01-01 Jakub Jelinek <jakub@redhat.com>
354
355 PR tree-optimization/69070
356 * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Only test
357 REAL_VALUE_ISSIGNALING_NAN on arg0 if arg0 is a REAL_CST.
358
359 PR sanitizer/69055
360 * ubsan.c (ubsan_instrument_float_cast): Call
361 initialize_sanitizer_builtins.
362
363 PR target/69015
364 * ifcvt.c (find_cond_trap): Give up if returnjump_p (jump).
365 \f
366 Copyright (C) 2016 Free Software Foundation, Inc.
367
368 Copying and distribution of this file, with or without modification,
369 are permitted in any medium without royalty provided the copyright
370 notice and this notice are preserved.