8cd70fc698714b113136946d68b7becb34c467b7
[gcc.git] / gcc / ChangeLog
1 2016-01-07 Jakub Jelinek <jakub@redhat.com>
2
3 PR tree-optimization/69141
4 * tree-ssa-pre.c: Include langhooks.h.
5 (eliminate_dom_walker::before_dom_children): Use
6 lang_hooks.decl_printable_name instead of
7 cgraph_node::get ()->name ().
8
9 PR middle-end/68960
10 * gimple-expr.c (copy_var_decl): If var has DECL_USER_ALIGN set, copy
11 it and DECL_ALIGN too.
12
13 2016-01-06 Robert Suchanek <robert.suchanek@imgtec.com>
14
15 * config/mips/mips-ftypes.def: Sort to lexicographical order.
16
17 2016-01-06 Uros Bizjak <ubizjak@gmail.com>
18
19 PR target/69140
20 * config/i386/i386.c (ix86_expand_prologue): Declare fs.sp_valid
21 depending on frame_pointer_needed before remaining integer and SSE
22 registers are saved.
23
24 2015-01-06 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
25
26 * config/rs6000/vsx.md (*p9_vecload_<mode>): Replace VSX_M
27 mode iterator with VSX_M2.
28 (*p9_vecstore_<mode>): Likewise.
29 (*vsx_le_permute_<mode>): Restrict to !TARGET_P9_VECTOR.
30 (*vsx_le_perm_load_<mode> for VSX_LE_128): Likewise.
31 (*vsx_le_perm_store_<mode> for VSX_LE_128): Likewise.
32 (define_split for VSX_LE128 stores): Likewise.
33 (define_peephole2 for TImode LE swaps): Likewise.
34 (define_split for VSX_LE128 post-reload stores): Likewise.
35
36 2016-01-06 Marek Polacek <polacek@redhat.com>
37
38 PR sanitizer/69099
39 * convert.c (convert_to_integer_1): Adjust call to
40 ubsan_instrument_float_cast. Use NULL_TREE instead of NULL.
41 * ubsan.c (ubsan_instrument_float_cast): Drop the ARG parameter. Use
42 EXPR instead of ARG.
43 * ubsan.h (ubsan_instrument_float_cast): Adjust declaration.
44
45 2016-01-05 Sandra Loosemore <sandra@codesourcery.com>
46
47 PR 1078
48 * doc/extend.texi (RL78 Variable Attributes): New section.
49
50 2016-01-05 Marek Polacek <polacek@redhat.com>
51
52 PR c/69104
53 * builtins.c (get_memmodel): Use expansion point location rather than
54 the input location. Call warning_at rather than warning.
55 (expand_builtin_atomic_compare_exchange): Likewise.
56 (expand_builtin_atomic_load): Likewise.
57 (expand_builtin_atomic_store): Likewise.
58 (expand_builtin_atomic_clear): Likewise.
59
60 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
61
62 PR target/68991
63 * config/i386/i386.c (ix86_expand_vector_logical_operator):
64 Replace nonimmediate_operand with vector_operand.
65 * config/i386/predicates.md (vector_operand): New predicate.
66 (general_vector_operand): Replace nonimmediate_operand with
67 vector_operand.
68 * config/i386/sse.md: Replace nonimmediate_operand with
69 vector_operand and m constraint with Bm constraint on SSE
70 patterns with 16-byte memory operand.
71 * config/i386/subst.md (round_nimm_predicate): Replace
72 nonimmediate_operand with vector_operand.
73 (round_saeonly_nimm_predicate): Likewise.
74 (round_saeonly_nimm_scalar_predicate): New.
75
76 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
77
78 PR target/68991
79 * config/i386/constraints.md (Bm): New constraint.
80 * config/i386/predicates.md (vector_memory_operand): New
81 predicate.
82 * config/i386/sse.md: Replace xm with xBm in plusminus and
83 any_logic patterns.
84
85 2016-01-05 Sandra Loosemore <sandra@codesourcery.com>
86
87 PR 1078
88 * doc/extend.texi (V850 Function Attributes): New section.
89 (V850 Variable Attributes): New section.
90
91 2016-01-05 Sandra Loosemore <sandra@codesourcery.com>
92
93 PR 1078
94 * doc/extend.texi (MicroBlaze Function Attributes): Document
95 interrupt_handler and fast_interrupt attributes.
96
97 2016-01-05 Sergei Trofimovich <siarheit@google.com>
98
99 PR other/60465
100 * config/ia64/ia64.c (ia64_expand_load_address): Use gprel64
101 for local symbolic operands.
102 * config/ia64/predicates.md (local_symbolic_operand64): New
103 predicate.
104
105 2016-01-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
106
107 PR rtl-optimization/68651
108 * combine.c (combine_simplify_rtx): Canonicalize x + x into
109 x << 1.
110
111 2016-01-05 Nathan Sidwell <nathan@acm.org>
112
113 * alias.c (compare_base_decls): Use symtab_node::get.
114
115 2016-01-05 Nick Clifton <nickc@redhat.com>
116
117 PR target/68770
118 * ira-costs.c (copy_cost): Initialise the t_icode field of the
119 secondary_reload_info structure.
120
121 PR target/66655
122 * config/i386/cygming.h (MAKE_DECL_ONE_ONLY): Define to use weak
123 decls if weak support is available.
124
125 2016-01-04 Martin Sebor <msebor@redhat.com>
126
127 * doc/invoke.texi (Warning Options): Document -Winvalid-memory-model.
128
129 2016-01-04 Michael Meissner <meissner@linux.vnet.ibm.com>
130
131 * config/rs6000/rs6000-cpus.def (ISA_3_0_MASKS_SERVER): Add
132 OPTION_MASK_P9_DFORM.
133
134 * config/rs6000/constraints.md (wo constraint): New constraint for
135 ISA 3.0 (power9).
136
137 * config/rs6000/rs6000.c (rs6000_debug_reg_global): Add support
138 for wo constraint.
139 (rs6000_init_hard_regno_mode_ok): Likewise.
140
141 * config/rs6000/rs6000.h (r6000_reg_class_enum): Add support for
142 wo constraint.
143
144 * config/rs6000/altivec.md (altivec_vperm_<mode>): Clean up vperm
145 expanders not to have constraints. Add support for ISA 3.0 xxperm
146 instruction. Add support for fusing xxlor with xxperm.
147 (altivec_vperm_<mode>_internal): Likewise.
148 (altivec_vperm_v8hiv16qi): Likewise.
149 (altivec_vperm_<mode>v16q): Likewise.
150 (altivec_vperm_<mode>_uns): Likewise.
151 (vperm_v8hiv4si): Likewise.
152 (vperm_v16qiv8hi): Likewise.
153
154 * doc/md.texi (RS/6000 constraints): Document wo constraint.
155
156 2016-01-04 Jakub Jelinek <jakub@redhat.com>
157
158 Update copyright years.
159
160 * gcc.c (process_command): Update copyright notice dates.
161 * gcov-dump.c (print_version): Ditto.
162 * gcov.c (print_version): Ditto.
163 * gcov-tool.c (print_version): Ditto.
164 * gengtype.c (create_file): Ditto.
165 * doc/cpp.texi: Bump @copying's copyright year.
166 * doc/cppinternals.texi: Ditto.
167 * doc/gcc.texi: Ditto.
168 * doc/gccint.texi: Ditto.
169 * doc/gcov.texi: Ditto.
170 * doc/install.texi: Ditto.
171 * doc/invoke.texi: Ditto.
172
173 2016-01-04 Eric Botcazou <ebotcazou@adacore.com>
174
175 * config/arm/arm.c (aapcs_vfp_allocate_return_reg): Treat all integer
176 modes larger than TImode as TImode if NEON is not enabled.
177
178 2016-01-04 Eric Botcazou <ebotcazou@adacore.com>
179
180 PR target/69100
181 * config/sparc/sparc.h (FUNCTION_ARG_REGNO_P): Return true in 64-bit
182 mode for %f0-%f31 only if TARGET_FPU.
183
184 2016-01-04 Eric Botcazou <ebotcazou@adacore.com>
185
186 PR target/69072
187 * config/sparc/sparc.c (scan_record_type): Take into account subfields
188 to compute the PACKED_P predicate.
189 (function_arg_record_value): Minor tweaks.
190
191 2016-01-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
192
193 * doc/install.texi (--with-multilib-list): Describe the meaning of the
194 option for arm*-*-* targets.
195
196 2016-01-03 Sandra Loosemore <sandra@codesourcery.com>
197
198 * doc/extend.texi (Common Function Attributes): Move docs for
199 MSP430-specific attributes to....
200 (MSP430 Function Attributes): ...here. Delete the redundant
201 entries and copy-edit the remaining text.
202 (MSP430 Variable Attributes): Use uniform format for index
203 entries and add a cross-reference to the corresponding function
204 attribute docs.
205
206 2016-01-03 Vladimír Čunát <vcunat@gmail.com>
207
208 * doc/invoke.texi (RS/6000 and PowerPC Options): Fix
209 -finite-math typo.
210 (x86 Options): Likewise.
211
212 2016-01-01 Sandra Loosemore <sandra@codesourcery.com>
213
214 PR 1078
215
216 * extend.texi (Common Function Attributes) <no_stack_limit>: New.
217 * invoke.texi (Code Gen Options) <-fno-stack-limit>: Add pointer
218 to corresponding attribute.
219
220 2016-01-01 Sandra Loosemore <sandra@codesourcery.com>
221
222 * doc/extend.texi (Common Function Attributes) <noplt>: Move
223 to correct alphabetization of table. Copy-edit and correct
224 markup.
225 <stack_protect>: Likewise.
226 <target_clones>: Likewise.
227 <simd>: Likewise.
228 * doc/invoke.texi (Optimize Options) <-fstack-protector-explicit>:
229 Correct punctuation.
230 (Code Gen Options) <-fno-plt>: Copy-edit.
231
232 2016-01-01 Bernd Edlinger <bernd.edlinger@hotmail.de>
233
234 PR target/68917
235 * config/tilegx/tilegx.md (clzsi2): Don't create DI subregs of
236 SI values. Explicitly convert SI to DI and vice-versa.
237
238 2016-01-01 Jakub Jelinek <jakub@redhat.com>
239
240 PR tree-optimization/69070
241 * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Only test
242 REAL_VALUE_ISSIGNALING_NAN on arg0 if arg0 is a REAL_CST.
243
244 PR sanitizer/69055
245 * ubsan.c (ubsan_instrument_float_cast): Call
246 initialize_sanitizer_builtins.
247
248 PR target/69015
249 * ifcvt.c (find_cond_trap): Give up if returnjump_p (jump).
250 \f
251 Copyright (C) 2016 Free Software Foundation, Inc.
252
253 Copying and distribution of this file, with or without modification,
254 are permitted in any medium without royalty provided the copyright
255 notice and this notice are preserved.