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