1 2015-01-08 Jakub Jelinek <jakub@redhat.com>
5 * dse.c (struct insn_info): Mention frame_read set also
6 before reload for tail calls on some targets.
7 (scan_insn): Revert 2014-12-22 change. Set frame_read
8 also before reload for tail calls if
9 HARD_FRAME_POINTER_IS_ARG_POINTER. Call add_wild_read
10 instead of add_non_frame_wild_read for non-const/memset
11 tail calls after reload.
13 2015-01-08 Jason Merrill <jason@redhat.com>
15 * ubsan.c (do_ubsan_in_current_function): New.
16 (pass_ubsan::gate): Use it.
17 * ubsan.h: Declare it.
18 * convert.c (convert_to_integer): Use it.
20 2015-01-08 Jakub Jelinek <jakub@redhat.com>
23 * config/i386/i386.c (ix86_expand_int_movcc): Don't reverse
24 compare_code when it is unconditionally overwritten afterwards.
25 Use ix86_reverse_condition instead of reverse_condition. Don't
26 change code if *reverse_condition* returned UNKNOWN and don't
27 swap ct/cf and negate diff in that case.
29 2015-01-08 Mike Stump <mikestump@comcast.net>
31 * tsan.c (pass_tsan::gate): Add no_sanitize_thread support.
32 (pass_tsan_O0::gate): Likewise.
33 * extend.texi (Function Attributes): Add no_sanitize_thread
36 2015-01-08 Thomas Schwinge <thomas@codesourcery.com>
38 * builtins.def (DEF_GOMP_BUILTIN): Also consider flag_offload_abi
39 for registering builtins.
40 * config/i386/intelmic-mkoffload.c (prepare_target_image): Don't
41 add -fopenmp to the argv_obstack used when invoking
44 * config/i386/intelmic-mkoffload.c (compile_for_target): Always
45 add "-m32" or "-m64" to argv_obstack.
46 (generate_host_descr_file): Likewise, when invoking host_compiler.
47 (main): Always add "-m elf_i386" or "-m elf_x86_64" when invoking
50 2015-01-08 Oleg Endo <olegendo@gcc.gnu.org>
52 * config/sh/sh-mem.cc: Use constant as second operand when emitting
55 2015-01-08 Oleg Endo <olegendo@gcc.gnu.org>
58 * config/sh/sh.md (*addsi3_compact): Emit reg-reg copy instead of
59 constant load if constant operand fits into I08.
61 2015-01-08 Jakub Jelinek <jakub@redhat.com>
64 * tree.c (build2_stat): Fix up initialization of TREE_READONLY
65 and TREE_THIS_VOLATILE for MEM_REFs.
66 (build5_stat): Fix up initialization of TREE_READONLY and
67 TREE_THIS_VOLATILE for TARGET_MEM_REFs.
69 2015-01-08 Kaz Kojima <kkojima@gcc.gnu.org>
72 * config/sh/sh.md (*addsi3_compact): Use u constraint instead
73 of r for the second alternative of the destination operand.
75 2015-01-07 Segher Boessenkool <segher@kernel.crashing.org>
78 * config/rs6000/rs6000.md (*eqsi3_ext<mode>, *nesi3_ext<mode>): New.
80 2015-01-07 Sandra Loosemore <sandra@codesourcery.com>
82 * doc/invoke.texi ([-fvtable-verify]): Fix markup on option
84 ([-fivar-visibility], [-fvisibility]): Likewise.
86 2015-01-07 Sandra Loosemore <sandra@codesourcery.com>
88 * doc/invoke.texi: Fix incorrect uses of @samp markup throughout
89 the file where @code, @command, etc is more appropriate.
91 2015-01-06 Sandra Loosemore <sandra@codesourcery.com>
93 * doc/invoke.texi (RS/6000 and PowerPC Options): Tidy formatting
94 of -mrecip= documentation.
96 2015-01-06 Michael Meissner <meissner@linux.vnet.ibm.com>
99 * config/rs6000/rs6000.c (rs6000_secondary_reload): Return the
100 correct reload handler if -m32 -mpowerpc64 is used.
102 2015-01-06 Tom de Vries <tom@codesourcery.com>
104 * tree-ssa-tail-merge.c: Fix typo in struct same_succ_def comment.
106 2015-01-08 Christian Bruel <christian.bruel@st.com>
109 * config/sh/sh-mem.cc (sh_expand_cmpnstr): Check 0 length.
111 2015-01-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
113 PR tree-optimization/63259
114 * tree-ssa-math-opts.c (pass_optimize_bswap::execute): Stop checking
115 if optab exists for 16bit byteswap.
117 2015-01-06 Jakub Jelinek <jakub@redhat.com>
119 * opts.c (common_handle_option): Add support for
120 -fno-sanitize=all and -f{,no-}sanitize-recover=all.
121 * doc/invoke.texi: Document -fno-sanitize=all,
122 -f{,no-}sanitize-recover=all. Document that
123 -fsanitize=float-cast-overflow is not enabled
124 by -fsanitize=undefined. Fix up documentation
125 of -f{,no-}sanitize-recover.
127 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
129 * config.gcc: Add Visium support.
130 * configure.ac: Likewise.
131 * configure: Regenerate.
132 * doc/extend.texi (interrupt attribute): Add Visium.
133 * doc/invoke.texi: Document Visium options.
134 * doc/install.texi: Document Visium target.
135 * doc/md.texi: Document Visium constraints.
136 * common/config/visium: New directory.
137 * config/visium: Likewise.
139 2015-01-05 Segher Boessenkool <segher@kernel.crashing.org>
141 * simplify-rtx.c (simplify_binary_operation_1): Handle more cases
142 for the "(and X (ior (not X) Y) -> (and X Y)" transform.
144 2015-01-05 Segher Boessenkool <segher@kernel.crashing.org>
146 * combine.c (combine_validate_cost): Do not count the cost of a
147 split I2 twice. Do not display it twice in the dump, either.
149 2015-01-05 Sandra Loosemore <sandra@codesourcery.com>
151 Revert parts of r219199.
152 * doc/invoke.texi ([-Wliteral-suffix]): Restore markup on
154 ([-Wtraditional]): Restore markup on <limits.h>.
156 2015-01-05 Trevor Saunders <tsaunders@mozilla.com>
159 * doc/invoke.texi: Document -Wsuggest-override.
161 2015-01-05 Radovan Obradovic <radovan.obradovic@imgtec.com>
163 PR rtl-optimization/64287
164 * toplev.c (HAVE_epilogue, HAVE_prologue): Provide default.
165 (process_options): Disable flag_ipa_ra if profiling.
167 2015-01-05 Eric Botcazou <ebotcazou@adacore.com>
169 * config/nds32/nds32-peephole2.md: Do not mention define_peephole.
171 2015-01-05 Max Filippov <jcmvbkbc@gmail.com>
173 * config/xtensa/xtensa.c (hwloop_optimize, hwloop_fail,
174 hwloop_pattern_reg, xtensa_doloop_hooks, xtensa_reorg_loops):
175 put under #if TARGET_LOOPS guard.
177 2015-01-05 Uros Bizjak <ubizjak@gmail.com>
179 * config/i386/i386.c (output_387_binary_op): Use std::swap.
181 2015-01-05 Oleg Endo <olegendo@gcc.gnu.org>
183 * rtlanal.c (refers_to_regno_p): Change return value from int to bool.
184 * rtl.h (refers_to_regno_p): Add overload.
186 * bt-load.c: Likewise.
187 * combine.c: Likewise.
188 * df-scan.c: Likewise.
189 * sched-deps.c: Likewise.
190 * config/s390/s390.c: Likewise.
191 * config/m32r/m32r.c: Likewise.
192 * config/rs6000/spe.md: Likewise.
193 * config/rs6000/rs6000.c: Likewise.
194 * config/pa/pa.c: Likewise.
195 * config/stormy16/stormy16.c: Likewise.
196 * config/cris/cris.c: Likewise.
197 * config/arc/arc.md: Likewise.
198 * config/arc/arc.c: Likewise.
199 * config/sh/sh.md: Likewise.
200 * config/sh/sh.c: Likewise.
201 * config/frv/frv.c: Likewise.
203 2015-01-05 Jakub Jelinek <jakub@redhat.com>
206 * gimplify.c (gimplify_function_tree): Add TSAN_FUNC_EXIT internal
207 call as cleanup of the whole body.
208 * internal-fn.def (TSAN_FUNC_EXIT): New internal call.
209 * tsan.c (replace_func_exit): New function.
210 (instrument_func_exit): Moved earlier.
211 (instrument_memory_accesses): Adjust TSAN_FUNC_EXIT internal calls.
212 Call instrument_func_exit if no TSAN_FUNC_EXIT internal calls have
214 (tsan_pass): Don't call instrument_func_exit.
215 * internal-fn.c (expand_TSAN_FUNC_EXIT): New function.
216 * tree-inline.c (copy_bb): Drop TSAN_FUNC_EXIT internal calls during
220 * ubsan.h (ubsan_instrument_float_cast): Add ARG argument.
221 * ubsan.c (ubsan_instrument_float_cast): Add ARG argument, pass
222 it to libubsan handler instead of EXPR. Fold comparisons earlier,
223 if the result is integer_zerop, return NULL_TREE.
224 * convert.c (convert_to_integer): Pass expr as ARG.
226 PR tree-optimization/64465
227 * tree-inline.c (redirect_all_calls): During inlining
228 clean up EH stmts and EH edges if redirect_call_stmt_to_callee
229 changed the stmt to a non-throwing call.
231 2015-01-05 Sandra Loosemore <sandra@codesourcery.com>
233 * doc/invoke.texi: Fix incorrect uses of @code, @option, @samp,
234 etc markup throughout the file.
236 2015-01-05 Bernd Edlinger <bernd.edlinger@hotmail.de>
238 Enable experimental TSAN support for Ada.
239 * tsan.c (instrument_expr): Handle VIEW_CONVERT_EXPR.
241 2015-01-05 Jakub Jelinek <jakub@redhat.com>
243 PR tree-optimization/64494
244 * tree-ssa-loop-im.c (move_computations_dom_walker::before_dom): Also
245 clear SSA_NAME_ANTI_RANGE_P flag.
247 2015-01-05 Marek Polacek <polacek@redhat.com>
249 * doc/extend.texi (Arrays of Length Zero): Add missing comma.
251 2015-01-05 Jakub Jelinek <jakub@redhat.com>
253 Update copyright years.
255 * gcc.c (process_command): Update copyright notice dates.
256 * gcov-dump.c: Ditto.
258 * doc/cpp.texi: Bump @copying's copyright year.
259 * doc/cppinternals.texi: Ditto.
260 * doc/gcc.texi: Ditto.
261 * doc/gccint.texi: Ditto.
262 * doc/gcov.texi: Ditto.
263 * doc/install.texi: Ditto.
264 * doc/invoke.texi: Ditto.
266 * auto-profile.c, auto-profile.h: Fix up Copyright line.
268 2015-01-04 Sandra Loosemore <sandra@codesourcery.com>
270 * doc/invoke.texi ([-fsized-deallocation]): Copy-edit to fix
272 ([-fvtable-verify], [-fvtv-debug]): Likewise.
274 ([-fmessage-length]): Likewise.
275 ([-Wsuggest-final-types], [-Wsuggest-final-methods]): Likewise.
276 ([-Wno-discarded-qualifiers]): Likewise.
277 ([-Wnodiscarded-array-qualifiers]): Likewise.
278 ([-Wno-virtual-move-assign]): Likewise.
279 ([-fsanitize=address], [-fsanitize=thread]): Likewise.
280 ([-fsanitize=leak], [-fsanitize=undefined]): Likewise.
281 ([-fsanitize=unreachable], [-fsanitize-recover]): Likewise.
282 ([-fsanitize-undefined-trap-on-error]): Likewise.
283 ([-floop-interchange]): Likewise.
284 ([-ftree-coalesce-inlined-vars]): Likewise.
285 ([-fvect-cost-model]): Likewise.
287 ([--param]): Likewise.
288 (Spec Files): Likewise.
289 ([-mstrict-align]): Likewise.
290 ([-mfix-cortex-a53-835769]): Likewise.
291 ([-march], [-mtune]): Likewise.
292 ([-mpic-register]): Likewise.
293 ([-munaligned-access]): Likewise.
295 (EIND and Devices with more than 128 Ki Bytes of Flash): Likewise.
296 (AVR Built-in Macros): Likewise.
297 ([-mpreferred-stack-boundary]): Likewise.
298 ([-mtune-crtl]): Likewise.
299 ([-mashf]): Likewise.
300 ([-mmcu=]): Likewise.
301 ([-minrt]): Likewise.
302 ([-maltivec], [-maltivec=be], [-maltivec=le]): Likewise.
303 ([-mupper-regs]): Likewise.
304 ([-matomic-model]): Likewise.
306 ([-mzdcbranch]): Likewise.
307 ([-mdisable-callt]): Likewise.
308 ([-msoft-float]): Likewise.
309 ([-m8byte-align]): Likewise.
310 ([-fstack-reuse]): Likewise.
312 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
314 * doc/invoke.texi ([-fprofile-generate], [-fprofile-use]):
315 Fix markup, light copy-editing.
316 ([-fauto-profile]): Rewrite to fix formatting and content
319 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
321 * doc/invoke.texi ([-fisolate-erroneous-paths-dereference]):
322 Copy-edit description.
323 ([-fisolate-erroneous-paths-attribute]): Likewise.
324 * common.opt (fisolate-erroneous-paths-dereference):
325 Copy-edit description.
326 (fisolate-erroneous-paths-attribute): Likewise.
328 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
330 * doc/invoke.texi ([-fsemantic-interposition]): Fix typos and
333 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
335 * doc/invoke.texi ([-fplan9-extensions]): Add/fix @opindex.
336 ([-fvtv-debug]): Likewise.
337 ([-Wc++-compat]): Likewise.
338 ([-Wc++11-compat]): Likewise.
339 ([-Wc++14-compat]): Likewise.
340 ([-Wno-sized-deallocation]): Likewise.
341 ([-femit-class-debug-always]): Likewise.
342 ([-femit-struct-debug-detailed]): Likewise.
343 ([-fno-keep-inline-dllexport]): Likewise.
344 ([-fira-algorithm]): Likewise.
345 ([-fira-region]): Likewise.
346 ([-flra-remat]): Likewise.
347 ([-fipa-ra]): Likewise.
348 ([-fhoist-adjacent-loads]): Likewise.
349 ([-fisolate-erroneous-paths-dereference]): Likewise.
350 ([-fisolate-erroneous-paths-attribute]): Likewise.
351 ([-ftree-switch-conversion]): Likewise.
352 ([-ftree-tail-merge]): Likewise.
353 ([-ftree-loop-if-convert]): Likewise.
354 ([-ftree-loop-if-convert-stores]): Likewise.
355 ([-ftree-loop-distribution]): Likewise.
356 ([-ftree-loop-distribute-patterns]): Likewise.
357 ([-flto-compression-level]): Likewise.
358 ([-flto-report]): Likewise.
359 ([-flto-report-wpa]): Likewise.
360 ([-fuse-linker-plugin]): Likewise.
361 ([-mfix-cortex-a53-835769]): Likewise.
362 ([-mno-fix-cortex-a53-835769]): Likewise.
363 ([-mmmx]...[-mno-3dnow]): Remove the -mno- forms from the
364 explicit listing; add a note to the discussion indicating they
365 exist. Reorder table to group similar options. Add missing
366 @opindex entries. Add @need commands throughout the table to
367 allow it to be split across multiple pages.
368 ([-m8bit-idiv]): Fix @opindex.
369 ([-mavx256-split-unaligned-load]): Likewise.
370 ([-mavx256-split-unaligned-store]): Likewise.
371 ([-mstack-protector-guard]): Likewise.
372 ([-mcpu=]): Likewise.
374 ([-mpointer-size=]): Likewise.
376 2015-01-03 John David Anglin <danglin@gcc.gnu.org>
378 * config/pa/pa.md (decrement_and_branch_until_zero): Use `Q' constraint
379 instead of `m' constraint. Likewise for unnamed movb comparison
380 patterns using reg_before_reload_operand predicate.
381 * config/pa/predicates.md (reg_before_reload_operand): Tighten
382 predicate to reject register index and LO_SUM DLT memory forms
385 2015-01-02 Sandra Loosemore <sandra@codesourcery.com>
387 * doc/invoke.texi (Option Summary): Fix spelling of
388 -fdevirtualize-at-ltrans.
389 ([-fdevirtualize]): Fix markup.
390 ([-fdevirtualize-speculatively]): Fix typo.
391 ([-fdevirtualize-at-ltrans]): Likewise. Make description less
393 * common.opt (fdevirtualize-at-ltrans): Likewise.
394 * ipa-devirt.c: Fix typos in comments throughout the file.
395 (ipa_devirt): Fix typos in format strings for dump output.
397 2015-01-02 Sandra Loosemore <sandra@codesourcery.com>
399 * doc/invoke.texi ([-fopt-info]): Fix markup, consolidate
400 discussion of defaults, light copy-editing.
402 2015-01-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
404 * tsan.c (instrument_expr): corrected previous checkin.
406 2015-01-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
408 Instrument bit field and unaligned accesses for TSAN.
409 * sanitizer.def (BUILT_IN_TSAN_READ_RANGE): New built-in function.
410 (BUILT_IN_TSAN_WRITE_RANGE): New built-in function.
411 * tsan.c (instrument_expr): Handle COMPONENT_REF and BIT_FIELD_REF.
412 Use BUILT_IN_TSAN_READ_RANGE and BUILT_IN_TSAN_WRITE_RANGE for
413 unaligned memory regions.
415 2015-01-01 Anthony Green <green@moxielogic.com>
417 * config/moxie/predicates.md (moxie_general_movsrc_operand):
418 Restrict move source register offsets to 16 bits.
420 Copyright (C) 2015 Free Software Foundation, Inc.
422 Copying and distribution of this file, with or without modification,
423 are permitted in any medium without royalty provided the copyright
424 notice and this notice are preserved.