2015-01-05 Sandra Loosemore <sandra@codesourcery.com>
[official-gcc.git] / gcc / ChangeLog
blob1b6c3be7f60250d9f8ebcef18a8892b87cd82933
1 2015-01-05  Sandra Loosemore  <sandra@codesourcery.com>
3         Revert parts of r219199.
4         * doc/invoke.texi ([-Wliteral-suffix]): Restore markup on
5         <inttypes.h>.
6         ([-Wtraditional]): Restore markup on <limits.h>.
8 2015-01-05  Trevor Saunders  <tsaunders@mozilla.com>
10         PR c++/31397
11         * doc/invoke.texi: Document -Wsuggest-override.
13 2015-01-05  Radovan Obradovic  <radovan.obradovic@imgtec.com>
15         PR rtl-optimization/64287
16         * toplev.c (HAVE_epilogue, HAVE_prologue): Provide default.
17         (process_options): Disable flag_ipa_ra if profiling.
19 2015-01-05  Eric Botcazou  <ebotcazou@adacore.com>
21         * config/nds32/nds32-peephole2.md: Do not mention define_peephole.
23 2015-01-05  Max Filippov  <jcmvbkbc@gmail.com>
25         * config/xtensa/xtensa.c (hwloop_optimize, hwloop_fail,
26         hwloop_pattern_reg, xtensa_doloop_hooks, xtensa_reorg_loops):
27         put under #if TARGET_LOOPS guard.
29 2015-01-05  Uros Bizjak  <ubizjak@gmail.com>
31         * config/i386/i386.c (output_387_binary_op): Use std::swap.
33 2015-01-05  Oleg Endo  <olegendo@gcc.gnu.org>
35         * rtlanal.c (refers_to_regno_p): Change return value from int to bool.
36         * rtl.h (refers_to_regno_p): Add overload.
37         * cse.c: Use it.
38         * bt-load.c: Likewise.
39         * combine.c: Likewise.
40         * df-scan.c: Likewise.
41         * sched-deps.c: Likewise.
42         * config/s390/s390.c: Likewise.
43         * config/m32r/m32r.c: Likewise.
44         * config/rs6000/spe.md: Likewise.
45         * config/rs6000/rs6000.c: Likewise.
46         * config/pa/pa.c: Likewise.
47         * config/stormy16/stormy16.c: Likewise.
48         * config/cris/cris.c: Likewise.
49         * config/arc/arc.md: Likewise.
50         * config/arc/arc.c: Likewise.
51         * config/sh/sh.md: Likewise.
52         * config/sh/sh.c: Likewise.
53         * config/frv/frv.c: Likewise.
55 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
57         PR sanitizer/64265
58         * gimplify.c (gimplify_function_tree): Add TSAN_FUNC_EXIT internal
59         call as cleanup of the whole body.
60         * internal-fn.def (TSAN_FUNC_EXIT): New internal call.
61         * tsan.c (replace_func_exit): New function.
62         (instrument_func_exit): Moved earlier.
63         (instrument_memory_accesses): Adjust TSAN_FUNC_EXIT internal calls.
64         Call instrument_func_exit if no TSAN_FUNC_EXIT internal calls have
65         been found.
66         (tsan_pass): Don't call instrument_func_exit.
67         * internal-fn.c (expand_TSAN_FUNC_EXIT): New function.
68         * tree-inline.c (copy_bb): Drop TSAN_FUNC_EXIT internal calls during
69         inlining.
71         PR sanitizer/64344
72         * ubsan.h (ubsan_instrument_float_cast): Add ARG argument.
73         * ubsan.c (ubsan_instrument_float_cast): Add ARG argument, pass
74         it to libubsan handler instead of EXPR.  Fold comparisons earlier,
75         if the result is integer_zerop, return NULL_TREE.
76         * convert.c (convert_to_integer): Pass expr as ARG.
78         PR tree-optimization/64465
79         * tree-inline.c (redirect_all_calls): During inlining
80         clean up EH stmts and EH edges if redirect_call_stmt_to_callee
81         changed the stmt to a non-throwing call.
83 2015-01-05  Sandra Loosemore  <sandra@codesourcery.com>
85         * doc/invoke.texi: Fix incorrect uses of @code, @option, @samp,
86         etc markup throughout the file.
88 2015-01-05  Bernd Edlinger  <bernd.edlinger@hotmail.de>
90         Enable experimental TSAN support for Ada.
91         * tsan.c (instrument_expr): Handle VIEW_CONVERT_EXPR.
93 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
95         PR tree-optimization/64494
96         * tree-ssa-loop-im.c (move_computations_dom_walker::before_dom): Also
97         clear SSA_NAME_ANTI_RANGE_P flag.
99 2015-01-05  Marek Polacek  <polacek@redhat.com>
101         * doc/extend.texi (Arrays of Length Zero): Add missing comma.
103 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
105         Update copyright years.
107         * gcc.c (process_command): Update copyright notice dates.
108         * gcov-dump.c: Ditto.
109         * gcov.c: Ditto.
110         * doc/cpp.texi: Bump @copying's copyright year.
111         * doc/cppinternals.texi: Ditto.
112         * doc/gcc.texi: Ditto.
113         * doc/gccint.texi: Ditto.
114         * doc/gcov.texi: Ditto.
115         * doc/install.texi: Ditto.
116         * doc/invoke.texi: Ditto.
118         * auto-profile.c, auto-profile.h: Fix up Copyright line.
120 2015-01-04  Sandra Loosemore  <sandra@codesourcery.com>
122         * doc/invoke.texi ([-fsized-deallocation]): Copy-edit to fix
123         verb tense, etc.
124         ([-fvtable-verify], [-fvtv-debug]): Likewise.
125         ([-Wabi]): Likewise.
126         ([-fmessage-length]): Likewise.
127         ([-Wsuggest-final-types], [-Wsuggest-final-methods]): Likewise.
128         ([-Wno-discarded-qualifiers]): Likewise.
129         ([-Wnodiscarded-array-qualifiers]): Likewise.
130         ([-Wno-virtual-move-assign]): Likewise.
131         ([-fsanitize=address], [-fsanitize=thread]): Likewise.
132         ([-fsanitize=leak], [-fsanitize=undefined]): Likewise.
133         ([-fsanitize=unreachable], [-fsanitize-recover]): Likewise.
134         ([-fsanitize-undefined-trap-on-error]): Likewise.
135         ([-floop-interchange]): Likewise.
136         ([-ftree-coalesce-inlined-vars]): Likewise.
137         ([-fvect-cost-model]): Likewise.
138         ([-flto]): Likewise.
139         ([--param]): Likewise.
140         (Spec Files): Likewise.
141         ([-mstrict-align]): Likewise.
142         ([-mfix-cortex-a53-835769]): Likewise.
143         ([-march], [-mtune]): Likewise.
144         ([-mpic-register]): Likewise.
145         ([-munaligned-access]): Likewise.
146         ([-msp8]): Likewise.
147         (EIND and Devices with more than 128 Ki Bytes of Flash): Likewise.
148         (AVR Built-in Macros): Likewise.
149         ([-mpreferred-stack-boundary]): Likewise.
150         ([-mtune-crtl]): Likewise.
151         ([-mashf]): Likewise.
152         ([-mmcu=]): Likewise.
153         ([-minrt]): Likewise.
154         ([-maltivec], [-maltivec=be], [-maltivec=le]): Likewise.
155         ([-mupper-regs]): Likewise.
156         ([-matomic-model]): Likewise.
157         ([-mdiv]): Likewise.
158         ([-mzdcbranch]): Likewise.
159         ([-mdisable-callt]): Likewise.
160         ([-msoft-float]): Likewise.
161         ([-m8byte-align]): Likewise.
162         ([-fstack-reuse]): Likewise.
164 2015-01-03  Sandra Loosemore  <sandra@codesourcery.com>
166         * doc/invoke.texi ([-fprofile-generate], [-fprofile-use]):
167         Fix markup, light copy-editing.
168         ([-fauto-profile]): Rewrite to fix formatting and content
169         problems.
171 2015-01-03  Sandra Loosemore  <sandra@codesourcery.com>
173         * doc/invoke.texi ([-fisolate-erroneous-paths-dereference]):
174         Copy-edit description.
175         ([-fisolate-erroneous-paths-attribute]): Likewise.
176         * common.opt (fisolate-erroneous-paths-dereference):
177         Copy-edit description.
178         (fisolate-erroneous-paths-attribute): Likewise.
180 2015-01-03  Sandra Loosemore  <sandra@codesourcery.com>
182         * doc/invoke.texi ([-fsemantic-interposition]): Fix typos and
183         tidy grammar.
185 2015-01-03  Sandra Loosemore  <sandra@codesourcery.com>
187         * doc/invoke.texi ([-fplan9-extensions]): Add/fix @opindex.
188         ([-fvtv-debug]): Likewise.
189         ([-Wc++-compat]): Likewise.
190         ([-Wc++11-compat]): Likewise.
191         ([-Wc++14-compat]): Likewise.
192         ([-Wno-sized-deallocation]): Likewise.
193         ([-femit-class-debug-always]): Likewise.
194         ([-femit-struct-debug-detailed]): Likewise.
195         ([-fno-keep-inline-dllexport]): Likewise.
196         ([-fira-algorithm]): Likewise.
197         ([-fira-region]): Likewise.
198         ([-flra-remat]): Likewise.
199         ([-fipa-ra]): Likewise.
200         ([-fhoist-adjacent-loads]): Likewise.
201         ([-fisolate-erroneous-paths-dereference]): Likewise.
202         ([-fisolate-erroneous-paths-attribute]): Likewise.
203         ([-ftree-switch-conversion]): Likewise.
204         ([-ftree-tail-merge]): Likewise.
205         ([-ftree-loop-if-convert]): Likewise.
206         ([-ftree-loop-if-convert-stores]): Likewise.
207         ([-ftree-loop-distribution]): Likewise.
208         ([-ftree-loop-distribute-patterns]): Likewise.
209         ([-flto-compression-level]): Likewise.
210         ([-flto-report]): Likewise.
211         ([-flto-report-wpa]): Likewise.
212         ([-fuse-linker-plugin]): Likewise.
213         ([-mfix-cortex-a53-835769]): Likewise.
214         ([-mno-fix-cortex-a53-835769]): Likewise.
215         ([-mmmx]...[-mno-3dnow]): Remove the -mno- forms from the
216         explicit listing; add a note to the discussion indicating they
217         exist.  Reorder table to group similar options.  Add missing
218         @opindex entries.  Add @need commands throughout the table to
219         allow it to be split across multiple pages.
220         ([-m8bit-idiv]): Fix @opindex.
221         ([-mavx256-split-unaligned-load]): Likewise.
222         ([-mavx256-split-unaligned-store]): Likewise.
223         ([-mstack-protector-guard]): Likewise.
224         ([-mcpu=]): Likewise.
225         ([-mcpu]): Likewise.
226         ([-mpointer-size=]): Likewise.
228 2015-01-03  John David Anglin  <danglin@gcc.gnu.org>
230         * config/pa/pa.md (decrement_and_branch_until_zero): Use `Q' constraint
231         instead of `m' constraint.  Likewise for unnamed movb comparison
232         patterns using reg_before_reload_operand predicate.
233         * config/pa/predicates.md (reg_before_reload_operand): Tighten
234         predicate to reject register index and LO_SUM DLT memory forms
235         after reload.
237 2015-01-02  Sandra Loosemore  <sandra@codesourcery.com>
239         * doc/invoke.texi (Option Summary): Fix spelling of
240         -fdevirtualize-at-ltrans.
241         ([-fdevirtualize]): Fix markup.
242         ([-fdevirtualize-speculatively]): Fix typo.
243         ([-fdevirtualize-at-ltrans]): Likewise.  Make description less
244         implementor-speaky.
245         * common.opt (fdevirtualize-at-ltrans): Likewise.
246         * ipa-devirt.c: Fix typos in comments throughout the file.
247         (ipa_devirt): Fix typos in format strings for dump output.
249 2015-01-02  Sandra Loosemore  <sandra@codesourcery.com>
251         * doc/invoke.texi ([-fopt-info]): Fix markup, consolidate
252         discussion of defaults, light copy-editing.
254 2015-01-02  Bernd Edlinger  <bernd.edlinger@hotmail.de>
256         * tsan.c (instrument_expr): corrected previous checkin.
258 2015-01-02  Bernd Edlinger  <bernd.edlinger@hotmail.de>
260         Instrument bit field and unaligned accesses for TSAN.
261         * sanitizer.def (BUILT_IN_TSAN_READ_RANGE): New built-in function.
262         (BUILT_IN_TSAN_WRITE_RANGE): New built-in function.
263         * tsan.c (instrument_expr): Handle COMPONENT_REF and BIT_FIELD_REF.
264         Use BUILT_IN_TSAN_READ_RANGE and BUILT_IN_TSAN_WRITE_RANGE for
265         unaligned memory regions.
267 2015-01-01  Anthony Green  <green@moxielogic.com>
269         * config/moxie/predicates.md (moxie_general_movsrc_operand):
270         Restrict move source register offsets to 16 bits.
272 Copyright (C) 2015 Free Software Foundation, Inc.
274 Copying and distribution of this file, with or without modification,
275 are permitted in any medium without royalty provided the copyright
276 notice and this notice are preserved.