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