PR sanitizer/64981
[official-gcc.git] / gcc / ChangeLog
blob328c37d030398b3080dc7f1ca6d04d7935413513
1 2015-02-09  Jakub Jelinek  <jakub@redhat.com>
3         PR sanitizer/64981
4         * builtins.c (expand_builtin): Call targetm.expand_builtin
5         for BUILT_IN_MD builtins regardless of asan_intercepted_p.
7 2015-02-08  Jan Hubicka  <hubicka@ucw.cz>
9         PR ipa/61548
10         * tree-emutls.c (ipa_lower_emutls): Avoid duplicates in TLS_VARS.
12 2015-02-08  Jan Hubicka  <hubicka@ucw.cz>
14         PR ipa/63566 
15         * ipa-icf.c (set_local): New function.
16         (sem_function::merge): Use it.
18 2015-02-08  Jan Hubicka  <hubicka@ucw.cz>
20         * ipa-devirt.c (odr_types_equivalent_p): Fix formating.
21         (add_type_duplicate): Fix comparison of BINFOs.
23 2015-02-08  Jan Hubicka  <hubicka@ucw.cz>
25         * ipa-polymorphic-call.c (ipa_polymorphic_call_context): Avoid ICE
26         on getting VOID pointer.
28 2015-02-09  Jakub Jelinek  <jakub@redhat.com>
30         PR target/64979
31         * tree-stdarg.c (pass_stdarg::execute): Scan phi node args for
32         va_list escapes.
34 2015-02-09  Richard Biener  <rguenther@suse.de>
36         * genmatch.c (replace_id): Copy expr_type.
38 2015-02-09  Richard Biener  <rguenther@suse.de>
40         * tree-streamer.h (streamer_pack_tree_bitfields): Remove.
41         (streamer_write_tree_bitfields): Declare.
42         * tree-streamer-in.c (unpack_ts_base_value_fields): Inline,
43         properly unpack padding.
44         (unpack_value_fields): Inline ...
45         (streamer_read_tree_bitfields): ... here.
46         * tree-streamer-out.c (pack_ts_base_value_fields): Inline
47         and properly add padding bits.
48         (streamer_pack_tree_bitfields): Fold into ...
49         (streamer_write_tree_bitfields): ... this new function,
50         exposing the bitpack object.
51         * lto-streamer-out.c (lto_write_tree_1): Call
52         streamer_write_tree_bitfields.
54 2015-02-09  Richard Biener  <rguenther@suse.de>
56         PR tree-optimization/54000
57         * tree-ssa-looo-ivopts.c: Include tree-vectorizer.h.
58         (struct ivopts_data): Add loop_loc member.
59         (tree_ssa_iv_optimize_loop): Dump loop location.
60         (create_new_ivs): Likewise, also dump number of IVs generated.
62 2015-02-09  Martin Liska  <mliska@suse.cz>
64         * ipa-icf.c (sem_item_optimizer::register_hooks): Register hooks
65         just if not yet registered.
66         (ipa_icf_generate_summary): Register callgraph hooks.
68 2015-02-08  Andrew Pinski  <apinski@cavium.com>
70         * config/aarch64/aarch64.c (gty_dummy): Delete.
72 2015-02-08  Jan Hubicka  <hubicka@ucw.cz>
74         PR ipa/63566 
75         * ipa-visibility.c (cgraph_node::non_local_p): Accept aliases.
76         (cgraph_node::local_p): Remove thunk related FIXME.
78 2015-02-08  Jan Hubicka  <hubicka@ucw.cz>
80         PR ipa/63566 
81         * i386.c (ix86_function_regparm): Look through aliases to see if callee
82         is local and optimized.
83         (ix86_function_sseregparm): Likewise; also use target's SSE math
84         settings; error out instead of silently generating wrong code
85         on mismatches.
86         (init_cumulative_args): Look through aliases.
88 2015-02-08  Jan Hubicka  <hubicka@ucw.cz>
90         PR ipa/63566 
91         * ipa-split.c (execute_split_functions): Split if function has aliases.
93 2015-02-08  Jan Hubicka  <hubicka@ucw.cz>
95         PR ipa/63566 
96         * cgraphunit.c (cgraph_node::analyze): Be sure target of thunk is
97         aliases before trying to expand it.
98         (cgraph_node::expand_thunk): Fix formating.
100 2015-02-07  Sandra Loosemore  <sandra@codesourcery.com>
102         * doc/extend.texi (Function Attributes [naked]): Copy-edit.
103         (Using Assembly Language with C): Expand introduction.
104         (Basic Asm): Copy-edit.  Add more information about uses of
105         basic asm.
106         (Extended Asm): Copy-edit.  Document new escape syntax and
107         %l[label] syntax.
108         (Global Reg Vars): Copy-edit.
109         (Local Reg Vars): Likewise.
111 2015-02-06  David Edelsohn  <dje.gcc@gmail.com>
113         PR debug/2714
114         PR bootstrap/64256
115         * xcoffout.h (DBX_CONTIN_LENGTH): Define as 16384.
116         (DBX_CONTIN_CHAR): Define.
118 2015-02-06  Sebastian Pop  <s.pop@samsung.com>
119             Brian Rzycki  <b.rzycki@samsung.com>
121         PR tree-optimization/64878
122         * tree-ssa-threadedge.c: Include tree-ssa-loop.h.
123         (fsm_find_control_statement_thread_paths): Add parameter seen_loop_phi.
124         Stop recursion at loop phi nodes after having visited a loop phi node.
126 2015-02-06  Jakub Jelinek  <jakub@redhat.com>
128         * toplev.c (process_options): Change flag_ipa_ra before creating
129         optimization_{default,current}_node.
131         PR ipa/64896
132         * cgraphunit.c (cgraph_node::expand_thunk): If
133         restype is not is_gimple_reg_type nor the thunk_fndecl
134         returns aggregate_value_p, set restmp to a temporary variable
135         instead of resdecl.
137 2015-02-06  Vladimir Makarov  <vmakarov@redhat.com>
139         * lra.c (lra_emit_add): Fix a typo in using disp instead of base.
141 2015-02-06  Michael Meissner  <meissner@linux.vnet.ibm.com>
143         PR target/64205
144         * config/rs6000/rs6000.c (rs6000_init_hard_regno_mode_ok): Do not
145         add a general secondary reload handler for SDmode, unless we have
146         both read/write support for SDmode.
148 2015-02-06  Jakub Jelinek  <jakub@redhat.com>
150         PR middle-end/64937
151         * dwarf2out.c (set_block_abstract_flags, set_decl_abstract_flags):
152         Replace setting argument with abstract_vec, always set BLOCK_ABSTRACT
153         or DECL_ABSTRACT_P flags to 1 rather than to setting, and if it wasn't
154         1 before, push it to abstract_vec.
155         (dwarf2out_abstract_function): Adjust caller.  Don't call
156         set_decl_abstract_flags second time, instead clear BLOCK_ABSTRACT or
157         DECL_ABSTRACT_P flags for all abstract_vec elts.
159 2015-02-06  Renlin Li  <renlin.li@arm.com>
161         * tree-ssa-forwprop.c (execute): Keep location info while rewrite
162         complex gimple.
163         * tree-ssa.c (execute_update_addresses_taken): Likewise.
165 2015-02-06  Jeff Law  <law@redhat.com>
167         PR target/64889
168         * config/h8300/h8300.c (push): New argument "in_prologue".
169         Pass "in_prologue" along to "F".
170         (h8300_push_pop): Corresponding changes.
171         (h8300_expand_prologue): Likewise.
172         (h8300_swap_into_er6): Likewise.  Do not set RTX_FRAME_RELATED_P.
174 2015-02-06  Jakub Jelinek  <jakub@redhat.com>
176         PR rtl-optimization/64957
177         PR debug/64817
178         * simplify-rtx.c (simplify_binary_operation_1): Use ~cval for
179         IOR rather than for AND.
181 2015-02-06  Eric Botcazou  <ebotcazou@adacore.com>
183         PR target/62631
184         * tree-ssa-loop-ivopts.c (get_shiftadd_cost): Use the mininum of costs
185         of shift-add and (add + shift) operations.  Rename local variable.
187 2015-02-05  Jeff Law  <law@redhat.com>
189         PR target/17306
190         * config/h8300/constraints.md (U): Correctly dectect
191         "eightbit_data" memory addresses.
192         * config/h8300/h8300.c (eightbit_constant_address_p): Also
193         handle (const (plus (symbol_ref (x)))) where x is declared
194         as an 8-bit data memory address.
195         * config/h8300/h8300.md (call, call_value): Correctly detect
196         "funcvec" functions.
198         PR target/43264
199         * config/h8300/h8300.c (get_shift_alg): Fix ASHIFTRT by
200         24 to 28 bits for the H8/300.
202 2015-02-06  Alan Modra  <amodra@gmail.com>
204         PR target/64876
205         * config/rs6000/rs6000.c (chain_already_loaded): New function.
206         (rs6000_call_aix): Use it.
208 2015-02-05  Jan Hubicka <hubicka@ucw.cz>
210         * ipa-cp.c (ipa_value_from_jfunc, ipa_context_from_jfunc): Add bounds
211         check.
213 2015-02-05  Joern Rennecke  <joern.rennecke@embecosm.com>
215         * config/h8300/constraints.md ("U" constraint): Use strict
216         variant of REG_OK_FOR_BASE_P after reload has started.
218 2015-02-04  Mantas Mikaitis  <mantas.mikaitis@arm.com>
220         * config/arm/arm.h (TARGET_NEON_FP): Removed conditional definition,
221         define to zero if !TARGET_NEON.
222         (TARGET_CPU_CPP_BUILTINS): Added second condition before defining
223         __ARM_FP macro.
225 2015-02-04  Jan Hubicka  <hubicka@ucw.cz>
226             Trevor Saunders  <tsaunders@mozilla.com>
228         PR ipa/61548
229         * tree-emultls.c (new_emutls_decl): Resolve alias after creating it.
231 2015-02-04  Jan Hubicka  <hubicka@ucw.cz>
233         PR ipa/61548
234         * ipa.c (symbol_table::remove_unreachable_nodes): Fix ordering issue
235         when removing varpool nodes.
237 2015-02-04  Jan Hubicka  <hubicka@ucw.cz>
239         PR ipa/61548
240         * varpool.c (varpool_node::remove): Fix order of variables.
242 2015-02-04  Jan Hubicka  <hubicka@ucw.cz>
244         PR ipa/64686
245         * ipa-inline.c (inline_small_functions): Fix ordering issue between
246         speculation resolution and key updates.
248 2015-02-04  Jan Hubicka  <hubicka@ucw.cz>
250         * ipa-prop.c (update_indirect_edges_after_inlining): By more careful
251         about not letting any speculative edges unupdated.
253 2015-02-04  Jan Hubicka  <hubicka@ucw.cz>
255         PR gcov/64123
256         * gcov-io.c (gcov_var): Export.
258 2015-02-04  Jan Hubicka  <hubicka@ucw.cz>
260         PR middle-end/64922
261         * ipa-prop.c (update_indirect_edges_after_inlining): Correctly update
262         edges that become speculative.
264 2015-02-04  Jakub Jelinek  <jakub@redhat.com>
266         * dwarf2out.c (is_fortran): Also return true for DW_LANG_Fortran03
267         or DW_LANG_Fortran08.
268         (lower_bound_default): Return 1 for DW_LANG_Fortran03 or
269         DW_LANG_Fortran08.
270         (gen_compile_unit_die): Handle "GNU Fortran2003" and
271         "GNU Fortran2008" language strings.
272         * dbxout.c (get_lang_number): Use lang_GNU_Fortran.
273         * langhooks.h (lang_GNU_Fortran): New prototype.
274         * langhooks.c (lang_GNU_Fortran): New function.
275         * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Use
276         lang_GNU_Fortran.
278 2015-02-04  Eric Botcazou  <ebotcazou@adacore.com>
280         * config/sparc/sparc.c (RTX_OK_FOR_OFFSET_P): Fix off-by-one error.
281         (RTX_OK_FOR_OLO10_P): Likewise.
283 2015-02-04  Eric Botcazou  <ebotcazou@adacore.com>
285         * tree-ssa-loop-ivopts.c (get_address_cost): Use right mode for offset.
287 2015-02-04  Jan Hubicka  <hubicka@ucw.cz>
289         PR middle-end/64922
290         * gimple.c: Include gimple-ssa.h.
291         (maybe_remove_unused_call_args): New function.
292         * gimple.h (maybe_remove_unused_call_args): Declare.
293         * cgraph.c (cgraph_edge::redirect_call_stmt_to_callee): Use it.
294         * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children): Likewise.
295         * gimple-fold.c (gimple_fold_call): Likewise.
297 2015-02-04  H.J. Lu  <hongjiu.lu@intel.com>
299         PR rtl-optimization/64905
300         * lra-eliminations.c (setup_can_eliminate): Clear hard frame
301         pointer alignment if it isn't needed.
303 2015-02-04  Matthew Wahab  <matthew.wahab@arm.com>
305         * config/aarch64/aarch64-cores.def: Add cortex-a72 and
306         cortex-a72.cortex-a53.
307         * config/aarch64/aarch64-tune.md: Regenerate.
308         * doc/invoke.texi (AArch64 Options/-mtune): Add "cortex-a72".
310 2015-02-04  Nick Clifton  <nickc@redhat.com>
312         * config/rl78/rl78.c (rl78_note_reg_set): Note the use of REGs
313         inside a MEM.
315 2015-02-04  Jakub Jelinek  <jakub@redhat.com>
317         * builtins.def (DEF_BUILTIN_CHKP): Define if not defined.
318         (DEF_LIB_BUILTIN_CHKP, DEF_EXT_LIB_BUILTIN_CHKP): Redefine.
319         (DEF_CHKP_BUILTIN): Define using DEF_BUILTIN_CHKP instead
320         of DEF_BUILTIN.
321         (BUILT_IN_MEMCPY, BUILT_IN_MEMMOVE, BUILT_IN_MEMSET, BUILT_IN_STRCAT,
322         BUILT_IN_STRCHR, BUILT_IN_STRCPY, BUILT_IN_STRLEN): Use
323         DEF_LIB_BUILTIN_CHKP macro instead of DEF_LIB_BUILTIN.
324         (BUILT_IN_MEMCPY_CHK, BUILT_IN_MEMMOVE_CHK, BUILT_IN_MEMPCPY_CHK,
325         BUILT_IN_MEMPCPY, BUILT_IN_MEMSET_CHK, BUILT_IN_STPCPY_CHK,
326         BUILT_IN_STPCPY, BUILT_IN_STRCAT_CHK, BUILT_IN_STRCPY_CHK): Use
327         DEF_EXT_LIB_BUILTIN_CHKP macro instead of DEF_EXT_LIB_BUILTIN.
328         * tree-core.h (enum built_in_function): In between
329         BEGIN_CHKP_BUILTINS and END_CHKP_BUILTINS only define enum values
330         for builtins that use DEF_BUILTIN_CHKP macro.
332 2015-02-04  Alexandre Oliva <aoliva@redhat.com>
334         PR debug/64817
335         * cfgexpand.c (expand_debug_expr): Compute unsignedp from
336         operands for tcc_comparison exprs.  Fix typos.
338         PR debug/64817
339         * simplify-rtx.c (simplify_binary_operation_1): Simplify one
340         of two XORs that have an intervening AND or IOR.
342         PR debug/64817
343         * simplify-rtx.c (simplify_binary_operation_1): Rewrite
344         simplification of XOR of AND to not allocate new rtx before
345         committing to a simplification.
347 2015-02-04  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
349         * config/aarch64/aarch64-ldpstp.md: Use std::swap instead of
350         manual swaps in all peepholes.
352 2015-02-04  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
354         * config/aarch64/aarch64.c (aarch64_evpc_ext): Use std::swap instead
355         of manual swapping implementation.
356         (aarch64_expand_vec_perm_const_1): Likewise.
358 2015-02-04  James Greenhalgh <james.greenhalgh@arm.com>
360         * config/aarch64/aarch64.c (NAMED_PARAM): Delete it.
361         (generic_addrcost_table): Remove NAMED_PARAM.
362         (cortexa57_addrcost_table): Likewise.
363         (xgene1_addrcost_table): Likewise.
364         (generic_regmove_table): Likewise.
365         (cortexa53_regmove_table): Likewise.
366         (xgene1_regmove_table): Likewise.
367         (generic_vector_table): Likewise.
368         (cortexa57_vector_table): Likewise.
369         (xgene1_vector_table): Likewise.
370         (generic_tunings): Likewise.
371         (cortexa53_tunings): Likewise.
372         (cortexa57_tunings): Likewise.
373         (xgene1_tunings): Likewise.
375 2015-02-04  Matthew Wahab  <matthew.wahab@arm.com>
377         * config/arm/arm-cores.def: Add cortex-a72 and
378         cortex-a72.cortex-a53.
379         * config/arm/bpabi.h (BE8_LINK_SPEC): Likewise.
380         * config/arm/t-aprofile (MULTILIB_MATCHES): Likewise.
381         * config/arm/arm-tune.md: Regenerate.
382         * config/arm/arm-tables.opt: Add entries for "cortex-a72" and
383         "cortex-a72.cortex-a53".
384         * doc/invoke.texi (ARM Options/-mtune): Likewise.
386 2015-02-04  Nick Clifton  <nickc@redhat.com>
388         PR target/64408
389         * config/fr30/predicates.md (di_operand): Add SUBREG to the list
390         of accepted codes.
391         (nonimmediate_di_operand): Likewise.
393         * config/msp430/msp430.c (msp430_use_f5_series_hwmult): Add more
394         prefixes of known F5 using MSP430 MCUs.
396 2015-02-04  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
398         * config/aarch64/aarch64-simd-builtins.def (sqrt): Use BUILTIN_VDQF_DF.
399         * config/aarch64/arm_neon.h (vsqrt_f64): Use __builtin_aarch64_sqrtdf
400         instead of __builtin_sqrt.
402 2015-02-04  Ilya Enkovich  <ilya.enkovich@intel.com>
404         * varasm.c (do_assemble_alias): Follow transparent alias
405         chain for target.
406         (default_assemble_visibility): Follow transparent alias
407         chain for decl name.
409 2015-02-04  Thomas Preud'homme  <thomas.preudhomme@arm.com>
411         PR middle-end/62103
412         * tree-ssa-sccvn.c (fully_constant_vn_reference_p): Use TYPE_PRECISION
413         to compute size of referenced value in the constant case.
415 2015-02-03  Jakub Jelinek  <jakub@redhat.com>
417         PR rtl-optimization/64756
418         * cse.c (invalidate_dest): New function.
419         (cse_insn): Use it.  If dest != SET_DEST (sets[i].rtl) and
420         HASH (SET_DEST (sets[i].rtl), mode) computation sets do_not_record,
421         invalidate and do not record it.
423 2015-02-03  Oleg Endo  <olegendo@gcc.gnu.org>
425         PR target/64660
426         * config/sh/sync.md (atomic_<fetchop_name><mode>_hard,
427         atomic_not<mode>_hard, atomic_<fetchop_name><mode>_soft_tcb,
428         atomic_not<mode>_soft_tcb, atomic_nand<mode>_hard,
429         atomic_nand<mode>_soft_tcb): New insns.
430         (atomic_fetch_<fetchop_name>si_hard): Convert to insn_and_split.
431         Split into atomic_<fetchop_name>_fetchsi_hard if operands[0] is unused.
432         (define_insn "atomic_fetch_notsi_hard): Convert to insn_and_split.
433         Split into atomic_not_fetchsi_hard if operands[0] is unused.
434         (atomic_fetch_<fetchop_name><mode>_hard): Convert to insn_and_split.
435         Split into atomic_<fetchop_name><mode>_hard if operands[0] is unused.
436         (atomic_fetch_not<mode>_hard): Convert to insn_and_split.  Split into
437         atomic_not<mode>_hard if operands[0] is unused.
438         (atomic_fetch_<fetchop_name><mode>_soft_gusa): Convert to
439         insn_and_split.  Split into atomic_<fetchop_name>_fetch<mode>_soft_gusa
440         if operands[0] is unused.
441         (atomic_fetch_not<mode>_soft_gusa): Convert to insn_and_split.  Split
442         into atomic_not_fetch<mode>_soft_gusa if operands[0] is unused.
443         (atomic_fetch_<fetchop_name><mode>_soft_tcb): Convert to insn_and_split.
444         Split into atomic_<fetchop_name><mode>_soft_tcb if operands[0] is
445         unused.
446         (atomic_fetch_not<mode>_soft_tcb): Convert to insn_and_split.  Split
447         into atomic_not<mode>_soft_tcb if operands[0] is unused.
448         (atomic_fetch_<fetchop_name><mode>_soft_imask): Convert to
449         insn_and_split.  Split into atomic_<fetchop_name>_fetch<mode>_soft_imask
450         if operands[0] is unused.
451         (atomic_fetch_not<mode>_soft_imask): Convert to insn_and_split.  Split
452         into atomic_not_fetch<mode>_soft_imask is operands[0] is unused.
453         (atomic_fetch_nandsi_hard): Convert to insn_and_split.  Split into
454         atomic_nand_fetchsi_hard if operands[0] is unused.
455         (atomic_fetch_nand<mode>_hard): Convert to insn_and_split.  Split into
456         atomic_nand<mode>_hard if operands[0] is unused.
457         (atomic_fetch_nand<mode>_soft_gusa): Convert to insn_and_split.  Split
458         into atomic_nand_fetch<mode>_soft_gusa if operands[0] is unused.
459         (atomic_fetch_nand<mode>_soft_tcb): Convert to insn_and_split.  Split
460         into atomic_nand<mode>_soft_tcb if operands[0] is unused.
461         (atomic_fetch_nand<mode>_soft_imask): Convert to insn_and_split.  Split
462         into atomic_nand_fetch<mode>_soft_imask if operands[0] is unused.
463         (atomic_<fetchop_name>_fetch<mode>_hard): Convert to insn_and_split.
464         Split into atomic_<fetchop_name><mode>_hard if operands[0] is unused.
465         (atomic_not_fetch<mode>_hard): Convert to insn_and_split.  Split into
466         atomic_not<mode>_hard if operands[0] is unused.
467         (atomic_<fetchop_name>_fetch<mode>_soft_tcb): Convert to insn_and_split.
468         Split into atomic_<fetchop_name><mode>_soft_tcb if operands[0] is
469         unused.
470         (atomic_not_fetch<mode>_soft_tcb): Convert to insn_and_split.  Split
471         into atomic_not<mode>_soft_tcb if operands[0] is unused.
472         (atomic_nand_fetch<mode>_hard): Convert to insn_and_split.  Split into
473         atomic_nand<mode>_hard if operands[0] is unused.
474         (atomic_nand_fetch<mode>_soft_tcb): Convert to insn_and_split.  Split
475         into atomic_nand<mode>_soft_tcb if operands[0] is unused.
477 2015-02-03  David Malcolm  <dmalcolm@redhat.com>
479         PR jit/64810
480         * Makefile.in (GCC_OBJS): Add gcc-main.o.
481         * gcc-main.c: New file, containing "main" taken from gcc.c.
482         * gcc.c (do_self_spec): Free decoded_options.
483         (class driver): Move declaration to gcc.h.
484         (main): Move declaration and implementation to new file
485         gcc-main.c.
486         (driver_get_configure_time_options): New function.
487         * gcc.h (class driver): Move this declaration here, from
488         gcc.c.
489         (driver_get_configure_time_options): New declaration.
491 2015-02-03  Jan Hubicka  <hubicka@ucw.cz>
493         * ipa-inline-analysis.c (simple_edge_hints): Fix check for
494         cross-module inlining.
495         * cgraph.h (cgraph_node): Add flag merged.
496         * ipa-icf.c (sem_function::merge): Maintain it.
498 2015-02-03  Richard Sandiford  <richard.sandiford@arm.com>
500         * config/arm/arm.c (thumb2_reorg): Test UNARY_P and BINARY_P
501         instead of OBJECT_P.
503 2015-02-03  Eric Botcazou  <ebotcazou@adacore.com>
505         PR target/62631
506         * config/sparc/sparc.h (TARGET_HARD_MUL): Remove TARGET_V8PLUS.
507         (TARGET_HARD_MUL32): Rewrite based on TARGET_HARD_MUL.
508         * config/sparc/sparc.c (sparc_rtx_costs) <MULT>: Return costs based on
509         int_mulX for integers in 64-bit mode if TARGET_HARD_MUL is not set.
511 2015-02-03  Jakub Jelinek  <jakub@redhat.com>
513         PR other/63504
514         * combine.c (reg_n_sets_max): New variable.
515         (can_change_dest_mode, reg_nonzero_bits_for_combine,
516         reg_num_sign_bit_copies_for_combine, get_last_value_validate,
517         get_last_value): Use REG_N_SETS only on pseudos < reg_n_sets_max.
518         (try_combine): Use INC_REG_N_SETS only on pseudos < reg_n_sets_max.
519         (rest_of_handle_combine): Initialize reg_n_sets_max.
521 2015-02-02  Jan Hubicka  <hubicka@ucw.cz>
523         * ipa-inline.c (early_inliner): Skip inlining only in always_inlined;
524         if some always_inline was inlined, apply changes before inlining
525         heuristically.
527 2015-02-02  David Malcolm  <dmalcolm@redhat.com>
529         PR jit/64810
530         * config/arm/arm.c (arm_option_override): Set
531         arm_selected_arch/cpu/tune to NULL on entry.
533 2015-02-02  Tejas Belagod  <tejas.belagod@arm.com>
534             Andrew Pinski  <pinskia@gcc.gnu.org>
535             Jakub Jelinek  <jakub@gcc.gnu.org>
537         PR target/64231
538         * config/aarch64/aarch64.c (aarch64_classify_symbol): Fix large
539         integer typing for small model. Use IN_RANGE.
541 2015-02-02  Richard Biener  <rguenther@suse.de>
543         * tree-ssa-ccp.c (valueize_op_1): Always allow valueizing default-defs.
544         * tree-vrp.c (vrp_valueize_1): Likewise.
546 2015-02-02  Alan Modra  <amodra@gmail.com>
548         * config/rs6000/rs6000.c (rs6000_call_aix): Use unspec rather
549         than mem for toc_restore.
550         * config/rs6000/rs6000.md (UNSPEC_TOCSLOT): Define.
551         (call_indirect_aix, call_value_indirect_aix): Adjust to suit.
552         (call_indirect_elfv2, call_value_indirect_elfv2): Likewise.
554 2015-02-01  David Edelsohn  <dje.gcc@gmail.com>
556         PR target/64047
557         * config/rs6000/rs6000.c (rs6000_set_current_function): Handle
558         explicit default options.
560 2015-02-01  Jan Hubicka  <hubicka@ucw.cz>
562         PR ipa/64872
563         * ipa-utils.c (ipa_merge_profiles): Add release argument.
564         * ipa-icf.c (sem_function::merge): Do not release body when merging.
565         * ipa-utils.h (ipa_merge_profiles): Update prototype.
567 2015-02-01  Jakub Jelinek  <jakub@redhat.com>
569         PR debug/64817
570         * cfgexpand.c (deep_ter_debug_map): New variable.
571         (avoid_deep_ter_for_debug): New function.
572         (expand_debug_expr): If TERed SSA_NAME is in
573         deep_ter_debug_map, use the corresponding DEBUG_EXPR_DECL
574         instead of trying to expand SSA_NAME's def stmt.
575         (expand_debug_locations): When expanding debug bind
576         of a DEBUG_EXPR_DECL to corresponding SSA_NAME,
577         temporarily remove the DEBUG_EXPR_DECL from deep_ter_debug_map's
578         value.
579         (pass_expand::execute): Call avoid_deep_ter_for_debug on
580         all debug bind stmts.  Delete deep_ter_debug_map after
581         expand_debug_location if non-NULL and clear it.
583 2015-02-01  Oleg Endo  <olegendo@gcc.gnu.org>
585         PR target/64851
586         * config/sh/sync.md (atomic_fetch_notsi_hard,
587         atomic_fetch_not<mode>_hard, atomic_fetch_not<mode>_soft_gusa,
588         atomic_fetch_not<mode>_soft_tcb, atomic_fetch_not<mode>_soft_imask,
589         atomic_not_fetchsi_hard, atomic_not_fetch<mode>_hard,
590         atomic_not_fetch<mode>_soft_gusa, atomic_not_fetch<mode>_soft_tcb,
591         atomic_not_fetch<mode>_soft_imask): New insns.
593 2015-02-01  Maxim Kuvyrkov  <maxim.kuvyrkov@linaro.org>
595         * haifa-sched.c (INSN_RFS_DEBUG_ORIG_ORDER): New access macro.
596         (rank_for_schedule_debug): Split from ...
597         (rank_for_schedule): ... this.
598         (ready_sort): Sort DEBUG_INSNs separately from normal INSNs.
599         * sched-int.h (struct _haifa_insn_data): New field rfs_debug_orig_order.
601 2015-01-31  Sandra Loosemore  <sandra@codesourcery.com>
603         * doc/md.texi (Machine Constraints): Alphabetize table by target.
604         * doc/extend.texi (x86 Variable Attributes): Move section to
605         correct alphabetization after renaming.
606         (x86 Type Attributes): Likewise.
607         (Target Builtins): Re-alphabetize menu.
608         (x86 Built-in Functions): Move section to correct alphabetization
609         after renaming.
610         (x86 transactional memory intrinsics): Likewise.
611         * doc/invoke.texi (Option Summary): Re-alphabetize x86 Options
612         and x86 Windows Options in table and menu.
613         (x86 Options): Move section to correct alphabetization after
614         renaming.
615         (x86 Windows Options): Likewise.
617 2015-01-31  Sandra Loosemore  <sandra@codesourcery.com>
619         * doc/extend.texi: Use "x86", "x86-32", and "x86-64" as the
620         preferred names of the architecture and its 32- and 64-bit
621         variants.
622         * doc/invoke.texi: Likewise.
623         * doc/md.texi: Likewise.
625 2015-01-31  Uros Bizjak  <ubizjak@gmail.com>
627         PR target/64882
628         * config/i386/predicates.md (address_no_seg_operand): Reject
629         non-CONST_INT_P operands in invalid mode.
631 2015-01-31  Uros Bizjak  <ubizjak@gmail.com>
633         * config/i386/i386.md (*prefetch_prefetchw1): Remove mode of
634         address_operand 0.  Rename from *prefetch_prefetchwt1_<mode>.
635         * config/i386/predicates.md (address_no_seg_operand): Call
636         address_operand with VOIDmode.
637         (vsib_address_operand): Ditto.
638         (address_mpx_no_base_operand): Ditto.
639         (address_mpx_no_index_operand): Ditto.
641 2015-01-30  Vladimir Makarov  <vmakarov@redhat.com>
643         PR target/64688
644         * lra-constraints.c (original_subreg_reg_mode): New.
645         (simplify_operand_subreg): Try to simplify subreg of const.  Use
646         original_subreg_reg_mode for it.
647         (swap_operands): Update original_subreg_reg_mode.
648         (curr_insn_transform): Set up original_subreg_reg_mode.
650 2015-01-30  Vladimir Makarov  <vmakarov@redhat.com>
652         PR target/64617
653         * lra-constraints.c (prohibited_class_reg_set_mode_p): New
654         function.
655         (process_alt_operands): Use it.
656         (curr_insn_transform): Check the optional reload pseudo class is
657         ok for the mode.
659 2015-01-30  Joseph Myers  <joseph@codesourcery.com>
661         * diagnostic.c (fatal_error (const char *, ...)): Remove function.
662         * diagnostic-core.h (fatal_error (const char *, ...)): Remove
663         prototype.
664         * toplev.h (init_asm_output): Update comment on use of
665         UNKNOWN_LOCATION with fatal_error.
666         * cgraph.c, collect-utils.c, collect2.c, config/arc/arc.c,
667         config/arc/arc.md, config/avr/avr.c, config/c6x/c6x.h,
668         config/darwin.c, config/host-darwin.c, config/i386/host-cygwin.c,
669         config/i386/intelmic-mkoffload.c, config/nios2/nios2.c,
670         config/nvptx/mkoffload.c, config/nvptx/nvptx.h,
671         config/rs6000/host-darwin.c, config/rs6000/rs6000.c,
672         config/s390/s390.c, gcc.c, gcov-io.h, gcov-tool.c, ggc-common.c,
673         ggc-page.c, graph.c, ipa-inline-analysis.c, ipa-reference.c,
674         lto-cgraph.c, lto-section-in.c, lto-streamer-in.c, lto-streamer.c,
675         lto-wrapper.c, objc/objc-act.c, opts.c, passes.c, plugin.c,
676         tlink.c, toplev.c, tree-streamer-in.c, varpool.c: All callers of
677         fatal_error changed to pass input_location as first argument.
679 2015-01-30  Martin Liska  <mliska@suse.cz>
681         * tree.h: Change GCC_VERSION >= 4004 to GCC_VERSION >= 4006
682         in #pragma GCC diagnostic guards.
684 2015-01-30  Richard Biener  <rguenther@suse.de>
686         PR tree-optimization/64829
687         * tree-vect-patterns.c (vect_handle_widen_op_by_const): Do
688         not add a widening conversion pattern but hand off extra
689         widenings to callers.
690         (vect_recog_widen_mult_pattern): Handle extra widening produced
691         by vect_handle_widen_op_by_const.
692         (vect_recog_widen_shift_pattern): Likewise.
693         (vect_pattern_recog_1): Remove excess vertical space in dumping.
694         * tree-vect-stmts.c (vect_mark_stmts_to_be_vectorized): Likewise.
695         (vect_init_vector_1): Likewise.
696         (vect_get_vec_def_for_operand): Likewise.
697         (vect_finish_stmt_generation): Likewise.
698         (vectorizable_load): Likewise.
699         (vect_analyze_stmt): Likewise.
700         (vect_is_simple_use): Likewise.
702 2015-01-29  Jeff Law  <law@redhat.com>
704         * combine.c (try_combine): Fix typo in comment.
706 2015-01-29  Segher Boessenkool  <segher@kernel.crashing.org>
708         PR target/64580
709         * config.rs6000/rs6000.c (compute_vrsave_mask): Reverse loop order.
710         (rs6000_stack_info): Add assert.
711         (rs6000_output_savres_externs): New function, split off from...
712         (rs6000_output_function_prologue): ... here.  Do not call it for
713         thunks.
715 2015-01-29  Jeff Law  <law@redhat.com>
717         PR target/15184
718         * combine.c (try_combine): If I0 is a memory load and I3 a store
719         to a related address, increase the "goodness" of doing a 4-insn
720         combination with I0-I3.
721         (make_field_assignment): Handle SUBREGs in the ior+and case.
723 2015-01-29  Yuri Rumyantsev  <ysrumyan@gmail.com>
725         PR tree-optimization/64746
726         * tree-if-conv.c (mask_exists): New function.
727         (predicate_mem_writes): Save created mask with given size for further
728         use.
729         (stmt_is_root_of_bool_pattern): Remove argument VAR and store to it.
730         (ifcvt_repair_bool_pattern): Collect all statements that are root
731         of bool pattern and use iterative algorithm to remove multiple uses
732         of predicates, display number of required iterations.
734 2015-01-29  Richard Biener  <rguenther@suse.de>
736         PR tree-optimization/64853
737         * tree-vrp.c (vrp_valueize_1): Do not return anything if the
738         stmt will get simulated again.
739         * tree-ssa-ccp.c (valueize_op_1): Likewise.
741 2015-01-29  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
743         * config/arm/arm.c (arm_emit_multi_reg_pop): Simplify definition of
744         return_in_pc.  Remove redundant assignments.
745         (thumb2_emit_ldrd_pop): Simplify definition of return_in_pc.
746         (arm_expand_epilogue): Don't compare boolean with true in if condition.
748 2015-01-29  Uros Bizjak  <ubizjak@gmail.com>
750         * config/i386/i386.c (ix86_mode_after): Make static.
752 2015-01-29  Richard Biener  <rguenther@suse.de>
754         PR tree-optimization/64844
755         * tree-vect-loop.c (vect_estimate_min_profitable_iters): Always
756         dump cost model analysis.
757         * tree-vect-data-refs.c (vect_enhance_data_refs_alignment):
758         Do not register adjusted load/store costs here.
760 2015-01-29  Ilya Enkovich  <ilya.enkovich@intel.com>
761             Uros Bizjak  <ubizjak@gmail.com>
763         * config/i386/i386-protos.h (ix86_use_pseudo_pic_reg): New.
764         * config/i386/i386.h (PIC_OFFSET_TABLE_REGNUM): Simplify by
765         using x86_use_pseudo_pic_reg.
766         * config/i386/i386.c (ix86_conditional_register_usage): Remove
767         support for fixed PIC register.
768         (ix86_use_pseudo_pic_reg): Not static any more.
770 2015-01-29  Ilya Enkovich  <ilya.enkovich@intel.com>
772         PR middle-end/64805
773         * ipa-inline.c (early_inliner): Rebuild IPA_REF_CHKP reference
774         to avoid error in cgraph node verification.
776 2015-01-29  Marek Polacek  <polacek@redhat.com>
778         * doc/standards.texi: Reflect that the default for C is gnu11.
780 2015-01-29  Kaz Kojima  <kkojima@gcc.gnu.org>
782         PR target/64761
783         * reorg.c (switch_text_sections_between_p): New function.
784         (relax_delay_slots): Call it when testing if the jump insn
785         is removable.  Use targetm.can_follow_jump when testing if
786         the conditional branch can follow an unconditional jump.
788 2015-01-27  Caroline Tice  <cmtice@google.com>
790         Committing VTV Cywin/Ming patch for Patrick Wollgast
791         * config/i386/cygwin.h (STARTFILE_SPEC): Add vtv_start.o,
792         if -fvtable-verify=preinit/std is used.
793         * config/i386/mingw-w64.h (STARTFILE_SPEC): Likewise.
794         * config/i386/mingw32.h (STARTFILE_SPEC): Likewise.
795         * config/i386/cygwin.h (ENDFILE_SPEC): Add vtv_end.o,
796         if -fvtable-verify=preinit/std is used.
797         * config/i386/mingw32.h (ENDFILE_SPEC): Likewise.
798         * config/i386/cygwin.h (LIB_SPEC): Pass -lvtv and -lpsapi,
799         if -fvtable-verify=preinit/std is used.
800         * config/i386/mingw-w64.h (LIB_SPEC): Likewise.
801         * config/i386/mingw32.h (LIB_SPEC): Likewise.
802         * varasm.c (assemble_variable): Add code to properly set the comdat
803         section and name for the .vtable_map_vars section in case the
804         target is PE or COFF.
806 2015-01-29  Jan Hubicka  <hubicka@ucw.cz>
808         PR ipa/64801
809         * cgraphunit.c (init_lowered_empty_function): Add CoUNT parameter;
810         make sane BB profile.
811         (cgraph_node::expand_thunk): Make sane BB profile.
812         (cgraph_node::create_wrapper): Do not set call_stmt_cannot_inline_p.
813         * cgraph.h (init_lowered_empty_function): Update prototype.
814         * config/i386/i386.c (make_resolver_func): Update call.
815         * predict.c (gate): Disable branch prediction pass if
816         profile is already there.
818 2015-01-29  Jan Hubicka  <hubicka@ucw.cz>
820         * optc-save-gen.awk: flag_fp_contract_mode is no longer speical.
821         * opth-gen.awk: Likewise.
822         * common.opt: Mark flag_fp_contract_mode as Optimization.
824 2015-01-29  Bernd Edlinger  <bernd.edlinger@hotmail.de>
826         * config/i386/cygwin.h (LIBGCJ_SONAME): Set libgcj version to -16.
827         * config/i386/mingw32.h (LIBGCJ_SONAME): Set libgcj version to -16.
829 2015-01-28  Oleg Endo  <olegendo@gcc.gnu.org>
831         PR target/64659
832         * config/sh/predicates.md (atomic_arith_operand,
833         atomic_logical_operand): Remove.
834         * config/sh/sync.md (fetchop_predicate, fetchop_constraint): Remove.
835         (atomic_arith_operand_0): New predicate.
836         (atomic_compare_and_swap<mode>): Use arith_reg_dest for output values.
837         Use atomic_arith_operand_0 for input values.
838         (atomic_compare_and_swapsi_hard, atomic_compare_and_swap<mode>_hard,
839         atomic_compare_and_swap<mode>_soft_gusa,
840         atomic_compare_and_swap<mode>_soft_tcb,
841         atomic_compare_and_swap<mode>_soft_imask): Use arith_reg_dest and
842         arith_reg_operand instead of register_operand.
843         (atomic_exchange<mode>): Use arith_reg_dest for output value.  Use
844         atomic_arith_operand_0 for newval input.
845         (atomic_exchangesi_hard, atomic_exchange<mode>_hard,
846         atomic_exchange<mode>_soft_gusa, atomic_exchange<mode>_soft_tcb,
847         atomic_exchange<mode>_soft_imask): Use arith_reg_dest and
848         arith_reg_operand instead of register_operand.
849         (atomic_arith_operand_1, atomic_logical_operand_1): New predicates.
850         fetchop_predicate_1, fetchop_constraint_1_llcs,
851         fetchop_constraint_1_gusa, fetchop_constraint_1_tcb,
852         fetchop_constraint_1_imask): New code iterator attributes.
853         (atomic_fetch_<fetchop_name><mode>): Use arith_reg_dest instead of
854         register_operand.  Use fetchop_predicate_1.
855         (atomic_fetch_<fetchop_name>si_hard,
856         atomic_fetch_<fetchop_name><mode>_hard): Use arith_reg_dest instead of
857         register_operand.  Use fetchop_predicate_1, fetchop_constraint_1_llcs.
858         (atomic_fetch_<fetchop_name><mode>_soft_gusa): Use arith_reg_dest
859         and arith_reg_operand instead of register_operand.  Use
860         fetchop_predicate_1, fetchop_constraint_1_gusa.
861         (atomic_fetch_<fetchop_name><mode>_soft_tcb): Use arith_reg_dest
862         and arith_reg_operand instead of register_operand.  Use
863         fetchop_predicate_1, fetchop_constraint_1_tcb.  Adjust asm sequence
864         to allow R0 usage.
865         (atomic_fetch_<fetchop_name><mode>_soft_imask): Use arith_reg_dest
866         and arith_reg_operand instead of register_operand.  Use
867         fetchop_predicate_1, fetchop_constraint_1_imask.  Adjust asm sequence
868         to allow R0 usage.
869         (atomic_fetch_nand<mode>): Use arith_reg_dest instead of
870         register_operand.  Use atomic_logical_operand_1.
871         (atomic_fetch_nandsi_hard, atomic_fetch_nand<mode>_hard,
872         atomic_fetch_nand<mode>_soft_gusa): Use arith_reg_dest and
873         arith_reg_operand instead of register_operand.
874         (atomic_fetch_nand<mode>_soft_tcb, atomic_fetch_nand<mode>_soft_imask):
875         Use arith_reg_dest and arith_reg_operand instead of register_operand.
876         Use logical_operand and rK08.  Adjust asm sequence to allow R0 usage.
877         (atomic_<fetchop_name>_fetch<mode>): Use arith_reg_dest instead of
878         register_operand.  Use fetchop_predicate_1.
879         (atomic_<fetchop_name>_fetchsi_hard,
880         atomic_<fetchop_name>_fetch<mode>_hard): Use arith_reg_dest and
881         arith_reg_operand instead of register_operand.  Use fetchop_predicate_1,
882         fetchop_constraint_1_llcs.
883         (atomic_<fetchop_name>_fetch<mode>_soft_gusa): Use arith_reg_dest and
884         arith_reg_operand instead of register_operand.  Use fetchop_predicate_1,
885         fetchop_constraint_1_gusa.
886         (atomic_<fetchop_name>_fetch<mode>_soft_tcb): Use arith_reg_dest and
887         arith_reg_operand instead of register_operand.  Use fetchop_predicate_1,
888         fetchop_constraint_1_tcb.  Adjust asm sequence to allow R0 usage.
889         (atomic_<fetchop_name>_fetch<mode>_soft_imask): Use arith_reg_dest and
890         arith_reg_operand instead of register_operand.  Use fetchop_predicate_1,
891         fetchop_constraint_1_imask.  Adjust asm sequence to allow R0 usage.
892         (atomic_nand_fetch<mode>): Use arith_reg_dest instead of
893         register_operand.  Use atomic_logical_operand_1.
894         (atomic_nand_fetchsi_hard, atomic_nand_fetch<mode>_hard,
895         atomic_nand_fetch<mode>_soft_gusa): Use arith_reg_dest and
896         arith_reg_operand instead of register_operand.
897         (atomic_nand_fetch<mode>_soft_tcb): Use arith_reg_dest and
898         arith_reg_operand instead of register_operand.  Use logical_operand
899         and K08.  Adjust asm sequence to allow R0 usage.
900         (atomic_nand_fetch<mode>_soft_imask): Use arith_reg_dest and
901         arith_reg_operand instead of register_operand.  Use logical_operand
902         and K08.
904 2015-01-28  Jakub Jelinek  <jakub@redhat.com>
906         PR other/63504
907         * dwarf2out.c (add_AT_wide, mem_loc_descriptor, loc_descriptor):
908         Use ggc_alloc<wide_int> instead of ggc_cleared_alloc<wide_int>.
909         (attr_checksum, attr_checksum_ordered, hash_loc_operands): Checksum
910         only get_full_len HOST_WIDE_INTs from get_val () array rather than
911         all bits in *val_wide.
913 2015-01-28  Jan Hubicka  <hubicka@ucw.cz>
915         * varpool.c (tls_model_names): Fix names.
916         (varpool_node::dump): Dump tls- prefix for tls models.
918 2015-01-28  Thomas Schwinge  <thomas@codesourcery.com>
919             Bernd Schmidt  <bernds@codesourcery.com>
920             Nathan Sidwell  <nathan@codesourcery.com>
922         * config/nvptx/mkoffload.c: New file.
923         * config/nvptx/t-nvptx: Add build rules for it.
924         * config.gcc <nvptx-*> [$enable_as_accelerator = yes]
925         (extra_programs): Add mkoffload.
926         * config/nvptx/nvptx.c (nvptx_record_offload_symbol): New
927         function.
928         (TARGET_RECORD_OFFLOAD_SYMBOL): Define macro to use it.
930 2015-01-28  Yuri Rumyantsev  <ysrumyan@gmail.com>
932         PR middle-end/64809
933         * cfgexpand.c (reorder_operands): Skip debug gimples.
935 2015-01-28  Ilya Enkovich  <ilya.enkovich@intel.com>
937         PR tree-optimization/64277
938         * tree-ssa-loop-niter.c (record_nonwrapping_iv): Use base
939         range info when possible to refine estimation.
941 2015-01-28  Thomas Preud'homme  <thomas.preudhomme@arm.com>
943         PR tree-optimization/64718
944         * tree-ssa-math-opts.c (pass_optimize_bswap::execute): Make bswap_type
945         be a 16bit unsigned integer when n->range is 16.
946         (bswap_replace): Convert src to that type if necessary for all bswap
947         sizes.  Fix rotation right notation in nearby comment.  Use bswap_type
948         set in pass_optimize_bswap::execute ().
950 2015-01-28  James Greenhalgh  <james.greenhalgh@arm.com>
952         * config/aarch64/aarch64-simd.md (aarch64_abs<mode>): New.
953         * config/aarch64/aarch64-simd-builtins.def (abs): Split by
954         integer and floating point variants.
955         * config/aarch64/iterators.md (unspec): Add UNSPEC_ABS.
957 2015-01-28  Robert Suchanek  <robert.suchanek@imgtec.com>
959         * config/mips/mips.c (mips_hard_regno_mode_ok_p): Prohibit accumulators
960         for all vector modes.
962 2015-01-28  Jakub Jelinek  <jakub@redhat.com>
964         PR bootstrap/64612
965         * doc/sourcebuild.texi (comdat_group): Document.
967 2015-01-28  Terry Guo  <terry.guo@arm.com>
969         * config/arm/thumb1.md (*thumb1_movpc_insn): New insn pattern.
971 2015-01-27  David Malcolm  <dmalcolm@redhat.com>
973         * toplev.c (print_version): Add param "show_global_state", and
974         only print GGC and plugin information if it is true.
975         (init_asm_output): Pass in "true" for the new param when calling
976         print_version.
977         (process_options): Likewise.
978         (toplev::main): Likewise.
979         * toplev.h (print_version): Add new param to decl.
981 2015-01-27  Jan Hubicka  <hubicka@ucw.cz>
983         PR ipa/60871
984         PR ipa/64139
985         * tree.c (lookup_binfo_at_offset): New function.
986         (get_binfo_at_offset): Use it.
988 2015-01-27  Jan Hubicka  <hubicka@ucw.cz>
990         PR ipa/64282
991         * gimple-fold.c (gimple_get_virt_method_for_vtable): Remove assert
992         on vtable being vtable.
994 2015-01-27  Dominik Vogt  <vogt@linux.vnet.ibm.com>
996         * doc/extend.texi: s/390: Update documentation of hotpatch attribute.
997         * doc/invoke.texi (-mhotpatch): s/390: Update documentation of
998         -mhotpatch= option.
999         * config/s390/s390.opt (mhotpatch): s/390: Remove -mhotpatch and
1000         -mno-hotpatch options.  Change syntax of -mhotpatch= option.
1001         * config/s390/s390.c (s390_hotpatch_trampoline_halfwords_default):
1002         Renamed.
1003         (s390_hotpatch_trampoline_halfwords_max): Renamed.
1004         (s390_hotpatch_hw_max): New name.
1005         (s390_hotpatch_trampoline_halfwords): Renamed.
1006         (s390_hotpatch_hw_before_label): New name.
1007         (get_hotpatch_attribute): Removed.
1008         (s390_hotpatch_hw_after_label): New name.
1009         (s390_handle_hotpatch_attribute): Add second parameter to hotpatch
1010         attribute.
1011         (s390_attribute_table): Ditto.
1012         (s390_function_num_hotpatch_trampoline_halfwords): Renamed.
1013         (s390_function_num_hotpatch_hw): New name.
1014         Remove special handling of inline functions and hotpatching.
1015         Return number of nops before and after the function label.
1016         (s390_can_inline_p): Removed.
1017         (s390_asm_output_function_label): Emit a configurable number of nops
1018         after the function label.
1019         (s390_option_override): Update -mhotpatch= syntax and remove -mhotpatch.
1020         (TARGET_CAN_INLINE_P) Removed.
1021         (TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P): New.
1023 2015-01-27  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
1024             Jiong Wang  <jiong.wang@arm.com>
1026         * config/aarch64/aarch64.md (tb<optab><mode>1): Clobber CC reg instead
1027         of scratch reg.
1028         (cb<optab><mode>1): Likewise.
1029         * config/aarch64/iterators.md (bcond): New define_code_attr.
1031 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1033         * config/s390/s390.c (s390_memory_move_cost): Increase costs for
1034         memory accesses.
1036 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1038         * config/s390/s390.c (s390_register_move_cost): Increase costs for
1039         FPR->GPR moves.
1041 2015-01-27  Richard Biener  <rguenther@suse.de>
1043         * tree-vrp.c (update_value_range): Intersect the range with
1044         old recorded SSA name range information.
1046 2015-01-27  Nick Clifton  <nickc@redhat.com>
1048         * config/rl78/rl78.c (rl78_expand_prologue): In G10 mode push the
1049         BC, DE and HL registers directly, not via AX.
1050         When decrementing the stack pointer by a large amount, transfer SP
1051         into AX and perform the subtraction there.
1052         (rl78_expand_epilogue): Perform the inverse of the above
1053         enhancements.
1055 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1057         * config/i386/sysv4.h (CRT_GET_RFIB_DATA): Remove.
1059 2015-01-27  Jakub Jelinek  <jakub@redhat.com>
1060             Yury Gribov  <y.gribov@samsung.com>
1062         PR ubsan/64741
1063         * ubsan.c (ubsan_source_location): Refactor code.
1064         (ubsan_type_descriptor): Update type size. Refactor code.
1066 2015-01-27  Richard Biener  <rguenther@suse.de>
1068         PR tree-optimization/56273
1069         PR tree-optimization/59124
1070         PR tree-optimization/64277
1071         * tree-vrp.c (vrp_finalize): Emit array-bound warnings only
1072         from the first VRP pass.
1074 2015-01-27  Jakub Jelinek  <jakub@redhat.com>
1076         PR ipa/64776
1077         * cgraphunit.c (cgraph_node::expand_thunk): If not this_adjusting,
1078         handle the first argument in the same loop as all the other arguments.
1080         PR rtl-optimization/61058
1081         * jump.c (cleanup_barriers): Update basic block boundaries
1082         if BLOCK_FOR_INSN is non-NULL on PREV.
1084 2015-01-27  Ilya Enkovich  <ilya.enkovich@intel.com>
1086         * tree-chkp.c (chkp_call_returns_bounds_p): Fix handling of
1087         bounds narrowing, already instrumented calls and calls to
1088         not instrumentable functions.
1090 2015-01-27  Jakub Jelinek  <jakub@redhat.com>
1092         PR tree-optimization/64807
1093         * wide-int.cc (wi::divmod_internal): Clear
1094         b_dividend[dividend_blocks_needed].
1096 2015-01-26  DJ Delorie  <dj@redhat.com>
1098         * config/rl78/rl78.c (move_elim_pass): Don't optimize away
1099         volatile memory references.
1101 2015-01-26  Oleg Endo  <olegendo@gcc.gnu.org>
1103         PR target/49263
1104         * config/sh/sh.c (sh_split_treg_set_expr): Invoke emit_insn before
1105         remove_insn.
1106         * config/sh/sh.md (tstsi_t): Don't try to optimize constant with right
1107         shifts if it already fits into K08.
1109 2015-01-26  Jakub Jelinek  <jakub@redhat.com>
1111         PR ipa/64730
1112         * ipa-inline.c (inline_small_functions): Print "unknown" even
1113         if edge->call_stmt is non-NULL, but has builtins or unknown
1114         location.
1116         PR middle-end/64421
1117         * omp-low.c (simd_clone_mangle): If DECL_ASSEMBLER_NAME starts
1118         with asterisk, skip the first character.
1120 2015-01-26  H.J. Lu  <hongjiu.lu@intel.com>
1122         PR target/64806
1123         * config/i386/i386 (feature_priority): Revert the last P_POPCNT
1124         order change.
1126 2015-01-26  Uros Bizjak  <ubizjak@gmail.com>
1128         PR target/64795
1129         * config/i386/i386.md (*movdi_internal): Also check operand 0
1130         to determine TYPE_LEA operand.
1131         (*movsi_internal): Ditto.
1133 2015-01-26  Jakub Jelinek  <jakub@redhat.com>
1135         * config/rs6000/rs6000-cpus.def (POWERPC_MASKS): Add
1136         OPTION_MASK_QUAD_MEMORY_ATOMIC.
1138 2015-01-26  Renlin Li  <renlin.li@arm.com>
1140         * config/aarch64/aarch64.c (aarch64_load_symref_appropriately): Correct
1141         the comment.
1142         * config/aarch64/aarch64.md (tlsle_small_<mode>): Add left shift 12-bit
1143         for higher part.
1145 2015-01-26  Richard Biener  <rguenther@suse.de>
1147         PR middle-end/64764
1148         * tree-ssa-uninit.c (is_pred_expr_subset_of): Handle
1149         combining two BIT_AND_EXPR predicates.
1151 2015-01-26  H.J. Lu  <hongjiu.lu@intel.com>
1153         PR bootstrap/64754
1154         * tree-ssa-structalias.c (new_var_info): Initialize ruid.
1156 2015-01-26  Terry Guo  <terry.guo@arm.com>
1158         * config/arm/arm.c (arm_file_start): Update the assignment of
1159         Tag_ABI_HardFP_use.
1161 2015-01-25  James Greenhalgh  <james.greenhalgh@arm.com>
1163         * config/arm/arm-cores.def (cortex-a57): Use the new Cortex-A57
1164         pipeline model.
1165         config/arm/arm.md: Include the new Cortex-A57 model.
1166         (generic_sched): Don't use generic_sched when tuning for
1167         Cortex-A57.
1169 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
1170             Uros Bizjak  <ubizjak@gmail.com>
1172         * config/i386/i386.c (get_builtin_code_for_version): Add
1173         support for BMI and BMI2 multiversion functions.
1175 2015-01-25  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>
1177         * emit-rtl.h (store_bit_field): Move prototype to expmed.h.
1178         (extract_bit_field): Likewise.
1179         (extract_low_bits): Likewise.
1180         (expand_mult): Likewise.
1181         (expand_mult_highpart_adjust): Likewise.
1183 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
1185         * config/i386/driver-i386.c (host_detect_local_cpu): Check new
1186         Silvermont, Haswell, Broadwell and Knights Landing model numbers.
1187         * config/i386/i386.c (processor_model): Add
1188         M_INTEL_COREI7_BROADWELL.
1189         (arch_names_table): Add "broadwell".
1191 2015-01-24  Oleg Endo  <olegendo@gcc.gnu.org>
1193         PR target/49263
1194         PR target/53987
1195         PR target/64345
1196         PR target/59533
1197         PR target/52933
1198         PR target/54236
1199         PR target/51244
1200         * config/sh/sh-protos.h
1201         (sh_extending_set_of_reg::can_use_as_unextended_reg,
1202         sh_extending_set_of_reg::use_as_unextended_reg,
1203         sh_is_nott_insn, sh_movt_set_dest, sh_movrt_set_dest, sh_is_movt_insn,
1204         sh_is_movrt_insn, sh_insn_operands_modified_between_p,
1205         sh_reg_dead_or_unused_after_insn, sh_in_recog_treg_set_expr,
1206         sh_recog_treg_set_expr, sh_split_treg_set_expr): New functions.
1207         (sh_treg_insns): New class.
1208         * config/sh/sh.c (TARGET_LEGITIMATE_COMBINED_INSN): Define target hook.
1209         (scope_counter): New class.
1210         (sh_legitimate_combined_insn, sh_is_nott_insn, sh_movt_set_dest,
1211         sh_movrt_set_dest, sh_reg_dead_or_unused_after_insn,
1212         sh_extending_set_of_reg::can_use_as_unextended_reg,
1213         sh_extending_set_of_reg::use_as_unextended_reg, sh_recog_treg_set_expr,
1214         sh_in_recog_treg_set_expr, sh_try_split_insn_simple,
1215         sh_split_treg_set_expr): New functions.
1216         (addsubcosts): Handle treg_set_expr.
1217         (sh_rtx_costs): Handle IF_THEN_ELSE and ZERO_EXTRACT.
1218         (sh_rtx_costs): Use arith_reg_operand in SIGN_EXTEND and ZERO_EXTEND.
1219         (sh_rtx_costs): Handle additional bit test patterns in EQ and AND cases.
1220         (sh_insn_operands_modified_between_p): Make non-static.
1221         * config/sh/predicates.md (zero_extend_movu_operand): Allow
1222         simple_mem_operand in addition to displacement_mem_operand.
1223         (zero_extend_operand): Don't allow zero_extend_movu_operand.
1224         (treg_set_expr, treg_set_expr_not_const01,
1225         arith_reg_or_treg_set_expr): New predicates.
1226         * config/sh/sh.md (tstsi_t): Use arith_reg_operand and
1227         arith_or_int_operand instead of logical_operand.  Convert to
1228         insn_and_split.  Try to optimize constant operand in splitter.
1229         (tsthi_t, tstqi_t): Fold into *tst<mode>_t.  Convert to insn_and_split.
1230         (*tstqi_t_zero): Delete.
1231         (*tst<mode>_t_subregs): Add !sh_in_recog_treg_set_expr split condition.
1232         (tstsi_t_and_not): Delete.
1233         (tst<mode>_t_zero_extract_eq): Rename to *tst<mode>_t_zero_extract.
1234         Convert to insn_and_split.
1235         (unnamed split, tstsi_t_zero_extract_xor,
1236         tstsi_t_zero_extract_subreg_xor_little,
1237         tstsi_t_zero_extract_subreg_xor_big): Delete.
1238         (*tstsi_t_shift_mask): New insn_and_split.
1239         (cmpeqsi_t, cmpgesi_t): Add new split for const_int 0 operands and try
1240         to recombine with surrounding insns when splitting.
1241         (*negtstsi): Add !sh_in_recog_treg_set_expr condition.
1242         (cmp_div0s_0, cmp_div0s_1, *cmp_div0s_0, *cmp_div0s_1): Rewrite as ...
1243         (cmp_div0s, *cmp_div0s_1, *cmp_div0s_2, *cmp_div0s_3, *cmp_div0s_4,
1244         *cmp_div0s_5, *cmp_div0s_6): ... these new insn_and_split patterns.
1245         (*cbranch_div0s: Delete.
1246         (*addc): Convert to insn_and_split.  Use treg_set_expr as 3rd operand.
1247         Try to recombine with surrounding insns when splitting.  Add operand
1248         order variants.
1249         (*addc_t_r, *addc_r_t): Use treg_set_expr_not_const01.
1250         (*addc_r_r_1, *addc_r_lsb, *addc_r_r_lsb, *addc_r_lsb_r, *addc_r_msb,
1251         *addc_r_r_msb, *addc_2r_msb): Delete.
1252         (*addc_2r_lsb): Rename to *addc_2r_t.  Use treg_set_expr.  Add operand
1253         order variant.
1254         (*addc_negreg_t): New insn_and_split.
1255         (*subc): Convert to insn_and_split.  Use treg_set_expr as 3rd operand.
1256         Try to recombine with surrounding insns when splitting.
1257         Add operand order variants.
1258         (*subc_negt_reg, *subc_negreg_t, *reg_lsb_t, *reg_msb_t): New
1259         insn_and_split patterns.
1260         (*rotcr): Use arith_reg_or_treg_set_expr.  Try to recombine with
1261         surrounding insns when splitting.
1262         (unnamed rotcr split): Use arith_reg_or_treg_set_expr.
1263         (*rotcl): Likewise.  Add zero_extract variant.
1264         (*ashrsi2_31): New insn_and_split.
1265         (*negc): Convert to insn_and_split.  Use treg_set_expr.
1266         (*zero_extend<mode>si2_disp_mem): Update comment.
1267         (movrt_negc, *movrt_negc, nott): Add !sh_in_recog_treg_set_expr split
1268         condition.
1269         (*mov_t_msb_neg, mov_neg_si_t): Use treg_set_expr.  Try to recombine
1270         with surrounding insns when splitting.
1271         (any_treg_expr_to_reg): New insn_and_split.
1272         (*neg_zero_extract_0, *neg_zero_extract_1, *neg_zero_extract_2,
1273         *neg_zero_extract_3, *neg_zero_extract_4, *neg_zero_extract_5,
1274         *neg_zero_extract_6, *zero_extract_0, *zero_extract_1,
1275         *zero_extract_2): New single bit zero extract patterns.
1276         (bld_reg, *bld_regqi): Fold into bld<mode>_reg.
1277         (*get_thread_pointersi, store_gbr, *mov<mode>_gbr_load,
1278         *mov<mode>_gbr_load, *mov<mode>_gbr_load, *mov<mode>_gbr_load,
1279         *movdi_gbr_load): Use arith_reg_dest instead of register_operand for
1280         set destination.
1281         (set_thread_pointersi, load_gbr): Use arith_reg_operand instead of
1282         register_operand for set source.
1284 2015-01-23  Jan Hubicka  <hubicka@ucw.cz>
1286         * i386.opt (prefetch_sse): New targetsave.
1287         * i386.c (ix86_function_specific_save): Save prefetch_sse.
1288         (ix86_function_specific_restore): Restore prefetch_sse and initialize
1289         ix86_cost/ix86_tune_cost.
1291 2015-01-23  David Malcolm  <dmalcolm@redhat.com>
1293         * config/rs6000/rs6000.c (rs6000_output_function_epilogue):
1294         Support the JIT by using 0 as the language type.
1296 2015-01-23  Vladimir Makarov  <vmakarov@redhat.com>
1298         PR target/64317
1299         * lra-lives.c (make_hard_regno_born): Add parameter.  Don't make
1300         REAL_PIC_OFFSET_TABLE_REGNUM conflicting with pic offset pseudo.
1301         (mark_regno_live, process_bb_lives): Pass new parameter value to
1302         make_hard_regno_born.
1304 2015-01-23  Jakub Jelinek  <jakub@redhat.com>
1306         PR rtl-optimization/63637
1307         PR rtl-optimization/60663
1308         * cse.c (merge_equiv_classes): Set new_elt->cost to MAX_COST
1309         if elt->cost is MAX_COST for ASM_OPERANDS.
1310         (find_sets_in_insn): Fix up comment typo.
1311         (cse_insn): Don't set src_volatile for all non-volatile
1312         ASM_OPERANDS in PARALLELs, but just those with multiple outputs
1313         or with "memory" clobber.  Set elt->cost to MAX_COST
1314         for ASM_OPERANDS in PARALLEL.  Set src_elt->cost to MAX_COST
1315         if new_src is ASM_OPERANDS and elt->cost is MAX_COST.
1317 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
1319         * config/i386/sse.md (sse2_loadld): Set attribute isa to sse2 for
1320         alternative 1.
1322 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
1324         * config/i386/gnu-user.h (CRT_GET_RFIB_DATA): Move definition to
1325         libgcc/config/i386/elf-lib.h.
1327 2015-01-23  Jakub Jelinek  <jakub@redhat.com>
1329         PR driver/64737
1330         * gcc.c (print_configuration): Don't print a blank line at the end
1331         here...
1332         (run_attempt): ... but here unstead.
1334         PR middle-end/64734
1335         * omp-low.c (scan_sharing_clauses): Don't ignore
1336         OMP_CLAUSE_MAP_ZERO_BIAS_ARRAY_SECTION GOMP_MAP_POINTER clauses
1337         on target data/update constructs.
1339 2015-01-23  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1341         PR target/50928
1342         * config/m32c/m32c.c (encode_pattern_1): Removed gcc_unreachable here.
1343         (DEBUG_RELOAD): Removed define.
1344         (m32c_limit_reload_class): Enable traces with if DEBUG0.
1345         (m32c_function_arg): Added a type cast.
1346         (m32c_legitimize_reload_address): Push A_REGS reload with PSImode.
1347         * config/m32c/addsub.md (addsi3_1): Specify the mode of all arguments.
1348         * config/m32c/bitops.md (andqi3_16): Likewise.
1349         * config/m32c/mov.md (m32c_immd_dbl_mov): Likewise.
1350         (push_a01_l): Likewise.
1352 2015-01-23  David Malcolm  <dmalcolm@redhat.com>
1354         PR jit/64721
1355         * main.c (main): Construct toplev instances with init_signals=true.
1356         * toplev.c (general_init): Add param "init_signals", and use it to
1357         conditionalize the calls to signal and host_hooks.extra_signals.
1358         (toplev::toplev): Add param "init_signals".
1359         (toplev::main): When invoking general_init, pass m_init_signals
1360         to control whether signal-handlers are installed.
1361         * toplev.h (toplev::toplev): Add param "init_signals".
1362         (toplev::m_init_signals): New field.
1364 2015-01-23  David Malcolm  <dmalcolm@redhat.com>
1366         PR jit/64722
1367         * emit-rtl.c (init_emit_regs): Set pic_offset_table_rtx to
1368         NULL_RTX before testing PIC_OFFSET_TABLE_REGNUM, since the
1369         latter may be affected by the former (e.g. on i686).
1371 2015-01-23  Martin Liska  <mliska@suse.cz>
1373         * tree.h (tree_vec_elt_check): Workaround -Wstrict-overflow
1374         false positive during profiledbootstrap.
1376 2015-01-23  Tom de Vries  <tom@codesourcery.com>
1378         PR libgomp/64672
1379         * lto-opts.c (lto_write_options): Output non-explicit conservative
1380         -fno-openacc.
1381         * lto-wrapper.c (merge_and_complain): Handle merging -fopenacc.
1382         (append_compiler_options): Pass -fopenacc through.
1384 2015-01-23  Tom de Vries  <tom@codesourcery.com>
1386         PR libgomp/64707
1387         * lto-opts.c (lto_write_options): Output non-explicit conservative
1388         -fno-openmp.
1389         * lto-wrapper.c (merge_and_complain): Handle merging -fopenmp.
1390         (append_compiler_options): Pass -fopenmp through.
1392 2015-01-23  Jakub Jelinek  <jakub@redhat.com>
1394         PR debug/64511
1395         * dwarf2out.c (struct dw_loc_descr_node): Add chain_next
1396         GTY markup.
1398         * diagnostic-core.h (internal_error_no_backtrace): New prototype.
1399         * diagnostic.def (DK_ICE_NOBT): New kind.
1400         * diagnostic.c (diagnostic_action_after_output): Handle DK_ICE_NOBT
1401         like DK_ICE, but never print backtrace.
1402         (diagnostic_report_diagnostic): Handle DK_ICE_NOBT like DK_ICE.
1403         (internal_error_no_backtrace): New function.
1404         * gcc.c (execute): Use internal_error_no_backtrace instead of
1405         internal_error.
1407 2015-01-22  Jeff Law  <law@redhat.com>
1409         PR target/52076
1410         * config/m68k/m68k.md (xorsi3_internal): Twiddle constraints to
1411         improve code density for small immediate to memory case.
1412         (insv): Better handle bitfield assignments when the field is
1413         being set to all ones.
1414         * config/m68k/predicates.md (reg_or_pow2_m1_operand): New
1415         operand predicate.
1417 2015-01-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1418             Jakub Jelinek  <jakub@redhat.com>
1420         * gcc.c (LINK_SSP_SPEC): Handle -fstack-protector-explicit
1421         for !TARGET_LIBC_PROVIDES_SSP version and
1422         -fstack-protector-{all,strong,explicit} otherwise.
1423         * config/freebsd.h (LINK_SSP_SPEC): Handle
1424         -fstack-protector-{strong,explicit}.
1426 2015-01-22  Jan Hubicka  <hubicka@ucw.cz>
1427             H.J. Lu  <hongjiu.lu@intel.com>
1429         PR ipa/64694
1430         * ipa-inline.c (inline_small_functions): Fix thinko in maintenance of
1431         heap.
1433 2015-01-22  Wei Mi  <wmi@google.com>
1435         PR rtl-optimization/64557
1436         * dse.c (record_store): Call get_addr for mem_addr.
1437         (check_mem_read_rtx): Likewise.
1439 2015-01-22  Eric Botcazou  <ebotcazou@adacore.com>
1441         * fold-const.c (const_binop): Add early return for non-tcc_binary.
1443 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
1445         * toplev.c (init_local_tick): Process the failure when read
1446         fails for random_seed.
1448         * ubsan.c (ubsan_type_descriptor): Use 'pretty_print' for
1449         'pretty_name' to avoid memory overflow.
1451 2015-01-22  Richard Biener  <rguenther@suse.de>
1453         PR middle-end/64728
1454         * tree-ssa-coalesce.c (coalesce_partitions): Do not perform
1455         abnormal coalescing on undefined SSA names.
1457 2015-22-01  Uros Bizjak  <ubizjak@gmail.com>
1459         PR target/64688
1460         PR target/64477
1461         * config/i386/sse.md (vec_set<mode>_0): Use (Yi/r/C) constraints
1462         for alternative 3.
1463         (*vec_dup<mode>): Use (Yi/$r) constraints for alternative 1.
1465 2015-01-22  Trevor Saunders  <tsaunders@mozilla.com>
1467         PR middle-end/63325
1468         * fold-const.c (fold_checksum_tree): Don't include value of
1469         expr->decl_with_vis.symtab_node in the checksum.
1471 2015-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1473         * config/s390/s390.md (atomic code attribute): Fix typo "ior" -> "or".
1475 2015-01-22  Max Ostapenko  <m.ostapenko@partner.samsung.com>
1477         PR driver/64690
1478         * gcc.c (insert_comments): New function.
1479         (try_generate_repro): Call it.
1480         (append_text): Removed.
1482 2015-01-22  Richard Biener  <rguenther@suse.de>
1484         * ipa-inline.c (can_inline_edge_p): Disable inlining of edges
1485         with IL incompatible options.  Properly honor user optimize
1486         attributes.
1488 2015-01-21  Segher Boessenkool  <segher@kernel.crashing.org>
1490         PR rtl-optimization/64682
1491         * combine.c (distribute_notes): When moving a death note for
1492         a register that is set in the new I2, make sure to put it
1493         before that new I2.
1495 2015-01-21  David Edelsohn  <dje.gcc@gmail.com>
1497         * config/rs6000/rs6000.c (rs6000_file_start): Use rs6000_isa_flags
1498         not TARGET_DEFAULT.
1500 2015-01-21  Jakub Jelinek  <jakub@redhat.com>
1502         PR debug/64511
1503         * simplify-rtx.c (simplify_relational_operation_1): Don't try to
1504         optimize (eq/ne (and (side_effects) (const_int 0)) (const_int 0))
1505         into (eq/ne (and (not (side_effects)) (const_int 0)) (const_int 0)).
1507         PR sanitizer/64706
1508         * doc/invoke.texi (-fsanitize=vptr): Document.
1510         PR rtl-optimization/62078
1511         * dse.c: Include cfgcleanup.h.
1512         (rest_of_handle_dse): For -fnon-call-exceptions, if DSE removed
1513         anything call purge_all_dead_edges and cleanup_cfg at the end
1514         of the pass.
1516 2015-01-21  Jan Hubicka  <hubicka@ucw.cz>
1518         * ipa-utils.c (ipa_merge_profiles): Avoid ICE on mismatch in indirect
1519         edges.
1521 2015-01-21  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1523         * gimplify.c (gimplify_function_tree): Check the no_sanitize_thread
1524         decl attribute.
1526 2015-01-21  David Sherwood  <david.sherwood@arm.com>
1527             Tejas Belagod <Tejas.Belagod@arm.com>
1529         * config/aarch64/aarch64.h (CANNOT_CHANGE_MODE_CLASS): Removed.
1530         * config/aarch64/aarch64.c (aarch64_cannot_change_mode_class): Removed.
1531         * config/aarch64/aarch64-protos.h (aarch64_cannot_change_mode_class):
1532         Removed.
1534 2015-01-21  David Sherwood  <david.sherwood@arm.com>
1535             Tejas Belagod <Tejas.Belagod@arm.com>
1537         * config/aarch64/aarch64-protos.h (aarch64_simd_attr_length_rglist)
1538         (aarch64_reverse_mask): New decls.
1539         * config/aarch64/iterators.md (UNSPEC_REV_REGLIST): New enum.
1540         (insn_count): New mode_attr.
1541         * config/aarch64/aarch64-simd.md (vec_store_lanesoi, vec_store_lanesci)
1542         (vec_store_lanesxi, vec_load_lanesoi, vec_load_lanesci)
1543         (vec_load_lanesxi): Made ABI compliant for Big Endian targets.
1544         (aarch64_rev_reglist, aarch64_simd_ld2, aarch64_simd_ld3)
1545         (aarch64_simd_ld4, aarch64_simd_st2, aarch64_simd_st3)
1546         (aarch64_simd_st4): New patterns.
1547         * config/aarch64/aarch64.c (aarch64_simd_attr_length_rglist)
1548         (aarch64_reverse_mask): New functions.
1550 2015-01-21  Richard Sandiford  <richard.sandiford@arm.com>
1552         * config/aarch64/aarch64-protos.h (aarch64_simd_disambiguate_copy):
1553         Declare.
1554         * config/aarch64/aarch64.c (aarch64_classify_address): Allow extra
1555         addressing modes for BE.
1556         (aarch64_print_operand): Add 'R' specifier.
1557         (aarch64_simd_disambiguate_copy): Delete.
1558         (aarch64_simd_emit_reg_reg_move): New function.
1559         * config/aarch64/aarch64-simd.md: Use aarch64_simd_emit_reg_reg_move
1560         in define_splits for structural moves.
1561         (mov<mode>): Use less restrictive predicates.
1562         (*aarch64_mov<mode>): Simplify and only allow for LE.
1563         (*aarch64_be_movoi, *aarch64_be_movci, *aarch64_be_movxi): New.
1565 2015-01-21  Alan Hayward  <alan.hayward@arm.com>
1567         * rtlanal.c (subreg_get_info): Exit early for simple and common cases.
1569 2015-01-21  Richard Henderson  <rth@redhat.com>
1571         PR target/64669
1572         * ccmp.c (used_in_cond_stmt_p): Remove.
1573         (expand_ccmp_expr): Don't use it.
1575 2015-01-21  Nick Clifton  <nickc@redhat.com>
1577         * config/rl78/rl78.c (rl78_calculate_death_notes): Look inside
1578         PARALLELs.
1580 2015-01-21  Richard Biener  <rguenther@suse.de>
1582         PR middle-end/64313
1583         * tree-core.h (builtin_info, builtin_info_type): Turn from
1584         an object with two arrays into an array of an object with
1585         decl and two flags, implicit_p and declared_p.
1586         * tree.h (builtin_decl_explicit, builtin_decl_implicit,
1587         set_builtin_decl, set_builtin_decl_implicit_p,
1588         builtin_decl_explicit_p, builtin_decl_implicit_p): Adjust.
1589         (set_builtin_decl_declared_p, builtin_decl_declared_p): New functions.
1590         * builtins.c (builtin_info): Adjust.
1591         * gimplify.c (gimplify_addr_expr): References to builtins
1592         that have been declared by the user makes them eligible for
1593         use by the compiler.  Call set_builtin_decl_implicit_p on them.
1595 2015-01-20  Jeff Law  <law@redhat.com>
1597         PR target/59946
1598         * config/m68k/m68k.md (Comparison expanders and patterns): Do not
1599         allow pc-relative addresses in operand predicates or constraints.
1601 2015-01-21  Bin Cheng  <bin.cheng@arm.com>
1603         * config/arm/arm.c (arm_cortex_a53_tune, arm_cortex_a57_tune): Prefer
1604         neon on aarch32 processors for stringops.
1606 2015-01-19  Jan Hubicka  <hubicka@ucw.cz>
1608         PR ipa/63576
1609         * ipa-utils.c (ipa_merge_profiles): Merge speculative edges.
1611 2015-01-19  Jan Hubicka  <hubicka@ucw.cz>
1613         PR lto/45375
1614         * ipa-inline.c: Include lto-streamer.h
1615         (report_inline_failed_reason): Output source file differences and
1616         flags on optimization/target node mismatch.
1617         (can_inline_edge_p): Consider caller to be the outer inline function;
1618         be less restrictive about matching opimize and optimize_size attributes.
1619         (inline_account_function_p): Break out from ...
1620         (inline_small_functions): ... here.
1621         * ipa-inline-transform.c (clone_inlined_nodes): Use
1622         inline_account_function_p.
1623         (inline_call): Use optimize attribution; use inline_account_function_p.
1624         (inline_transform): Use opt_for_fn.
1625         * ipa-inline.h (inline_account_function_p): Declare.
1627 2015-01-20  Jakub Jelinek  <jakub@redhat.com>
1629         PR debug/64663
1630         * dwarf2out.c (decl_piece_node): Don't put bitsize into
1631         mode if bitsize <= 0.
1632         (decl_piece_bitsize, adjust_piece_list, add_var_loc_to_decl,
1633         dw_sra_loc_expr): Use HOST_WIDE_INT instead of int for bit
1634         sizes and positions.
1636 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
1638         * config/nios2/nios2.c (nios2_asm_file_end): Implement
1639         TARGET_ASM_FILE_END hook for adding .note.GNU-stack section when
1640         needed.
1641         (TARGET_ASM_FILE_END): Define.
1643 2015-01-20  Maxim Kuvyrkov  <maxim.kuvyrkov@linaro.org>
1645         * config/arm/arm-protos.h (enum arm_sched_autopref): New constants.
1646         (struct tune_params): Use the enum.
1647         * arm.c (arm_*_tune): Update.
1648         (arm_option_override): Update.
1650 2015-01-20  Richard Biener  <rguenther@suse.de>
1652         PR ipa/64684
1653         * ipa-reference.c (add_static_var): Inline ...
1654         (analyze_function): ... here after splitting out from ...
1655         (is_proper_for_analysis): ... this.
1657 2015-01-20  Matthew Wahab  <matthew.wahab@arm.com>
1659         PR target/64149
1660         * config/arm/arm.opt: Remove lra option and arm_lra_flag variablesle.
1661         * config/arm/arm.h (MODE_BASE_REG_CLASS): Remove use of arm_lra_flagag,
1662         replace the conditional with it's true branch.
1663         * config/arm/arm.config (TARGET_LRA_P): Set to hook_bool_void_true.
1664         (arm_lra_p): Remove.
1666 2015-01-20  Eric Botcazou  <ebotcazou@adacore.com>
1668         * config/visium/visium.h (LIB_SPEC): Adjust in default case.
1670 2015-01-20  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>
1672         * config/tilegx/mul-tables.c: Move symtab.h include after
1673         coretypes.h include.
1674         * config/tilepro/mul-tables.c: Add includes hashtab.h, hash-set.h,
1675         vec.h, machmode.h, tm.h, hard-reg-set.h, input.h, function.h, rtl.h,
1676         flags.h, statistics.h, double-int.h, real.h, fixed-value.h, alias.h,
1677         wide-int.h, inchash.h, tree.h, insn-config.h, expmed.h, dojump.h,
1678         explow.h, calls.h, emit-rtl.h, varasm.h, stmt.h.
1680 2015-01-20  Igor Zamyatin  <igor.zamyatin@intel.com>
1682         PR bootstrap/64676
1683         Revert:
1684         2015-01-19  Igor Zamyatin  <igor.zamyatin@intel.com>
1686         PR rtl-optimization/64081
1687         * loop-iv.c (def_pred_latch_p): New function.
1688         (latch_dominating_def): Allow specific cases with non-single
1689         definitions.
1690         (iv_get_reaching_def): Likewise.
1691         (check_complex_exit_p): New function.
1692         (check_simple_exit): Use check_complex_exit_p to allow certain cases
1693         with exits not executing on any iteration.
1695 2015-01-19  Jan Hubicka  <hubicka@ucw.cz>
1697         PR lto/45375
1698         * i386.c (ix86_option_override_internal): Use ix86_tune_cost
1699         to set branch cost.
1701 2015-01-19  Jan Hubicka  <hubicka@ucw.cz>
1703         PR lto/45375
1704         * i386.c (gate): Check flag_expensive_optimizations and
1705         optimize_size.
1706         (ix86_option_override_internal): Drop optimize_size condition
1707         on MASK_ACCUMULATE_OUTGOING_ARGS, MASK_VZEROUPPER,
1708         MASK_AVX256_SPLIT_UNALIGNED_LOAD, MASK_AVX256_SPLIT_UNALIGNED_STORE,
1709         MASK_PREFER_AVX128.
1710         (ix86_avx256_split_vector_move_misalign,
1711         ix86_avx256_split_vector_move_misalign): Check optimize_insn_for_speed.
1712         * sse.md (all uses of TARGET_PREFER_AVX128): Add
1713         optimize_insn_for_speed_p check.
1715 2015-01-19  Matthew Fortune  <matthew.fortune@imgtec.com>
1717         * config/mips/mips.h (FP_ASM_SPEC): New define.
1718         (ASM_SPEC): Remove floating-point options and use FP_ASM_SPEC
1719         instead.
1721 2015-01-19  Oleg Endo  <olegendo@gcc.gnu.org>
1723         PR target/53988
1724         * config/sh/sh-protos.h (sh_find_set_of_reg): Make sure not to return
1725         nullptr for insn when reaching the first insn.
1726         * config/sh/sh.c (sh_unspec_insn_p): Rewrite using subrtx_iterator.
1727         (sh_insn_operands_modified_between_p): Add nullptr check.
1728         (sh_find_extending_set_of_reg): Fix log message.  Don't accept
1729         sign extending mem load if the insn contains any UNSPEC or
1730         UNSPEC_VOLATILE.
1732 2015-01-19  Jan Hubicka  <hubicka@ucw.cz>
1734         * params.def (inline-unit-growth): Drop to 15%.
1735         * invoke.texi (inline-unit-growth): Document change.
1737 2015-01-19  Martin Liska  <mliska@suse.cz>
1739         PR ipa/64668
1740         * ipa-icf-gimple.c (func_checker::compare_operand): Call proper
1741         function for second argument of OBJ_TYPE_REF.
1743 2015-01-19  Jan Hubicka  <hubicka@ucw.cz>
1745         PR ipa/64218
1746         * ipa-inline.c (want_inline_function_to_all_callers_p): Fix check
1747         whether function is an alias.
1749 2015-01-19  Jan Hubicka  <hubicka@ucw.cz>
1751         * ipa-devirt.c (ipa_devirt): Drop polymorphic call info in hopeless
1752         cases.
1754 2015-01-19  Vladimir Makarov  <vmakarov@redhat.com>
1756         PR rtl-optimization/64671
1757         * lra-remat.c (operand_to_remat): Don't consider jump and call
1758         insns.
1760 2015-01-19  David Edelsohn  <dje.gcc@gmail.com>
1762         * config/rs6000/default64.h: Include rs6000-cpus.def.
1763         (TARGET_DEFAULT) [LITTLE_ENDIAN]: Use ISA 2.7 (POWER8).
1764         (TARGET_DEFAULT) [BIG_ENDIAN]: Use POWER4.
1765         * config/rs6000/driver-rs6000.c (detect_processor_aix): Add POWER7
1766         and POWER8.
1767         * config/rs6000/linux64.h (PROCESSOR_DEFAULT64): Always default to
1768         POWER8.
1769         * config/rs6000/rs6000.c (rs6000_file_start): Emit .machine
1770         pseudo-op to specify assembler dialect.
1772 2015-01-19  Martin Liska  <mliska@suse.cz>
1774         PR ipa/64664
1775         * ipa-icf.c (sem_item_optimizer::filter_removed_items):
1776         Handle safe potentially removed nodes during filtering.
1778 2015-01-19  Martin Liska  <mliska@suse.cz>
1780         * doc/extend.texi (no_icf): Add new attribute description.
1781         * ipa-icf.c (sem_item_optimizer::merge_classes): Handle cases
1782         where the pass attempts to merge a function with no_icf attribute.
1784 2015-01-19  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
1786         PR target/64532
1787         * doc/md.texi (ARM Options): Document register constraints.
1789 2015-01-19  Jiong Wang  <jiong.wang@arm.com>
1790             Andrew Pinski  <apinski@cavium.com>
1792         PR target/64304
1793         * config/aarch64/aarch64.md (define_insn "*ashl<mode>3_insn"): Deleted.
1794         (ashl<mode>3): Don't expand if operands[2] is not constant.
1796 2015-01-19  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
1798         PR target/64448
1799         * config/aarch64/aarch64-simd.md (aarch64_simd_bsl<mode>_internal):
1800         Match xor-and-xor RTL pattern.
1802 2015-01-19  Igor Zamyatin  <igor.zamyatin@intel.com>
1804         PR rtl-optimization/64081
1805         * loop-iv.c (def_pred_latch_p): New function.
1806         (latch_dominating_def): Allow specific cases with non-single
1807         definitions.
1808         (iv_get_reaching_def): Likewise.
1809         (check_complex_exit_p): New function.
1810         (check_simple_exit): Use check_complex_exit_p to allow certain cases
1811         with exits not executing on any iteration.
1813 2015-01-19  Jakub Jelinek  <jakub@redhat.com>
1815         * common.opt (fgraphite): Fix a typo.
1817 2015-01-19  Felix Yang  <felix.yang@huawei.com>
1819         * config/aarch64/aarch64-simd.md (aarch64_<maxmin_uns>p<mode>): New
1820         pattern.
1821         * config/aarch64/aarch64-simd-builtins.def (smaxp, sminp, umaxp,
1822         uminp, smax_nanp, smin_nanp): New builtins.
1823         * config/aarch64/arm_neon.h (vpmax_s8, vpmax_s16, vpmax_s32,
1824         vpmax_u8, vpmax_u16, vpmax_u32, vpmaxq_s8, vpmaxq_s16, vpmaxq_s32,
1825         vpmaxq_u8, vpmaxq_u16, vpmaxq_u32, vpmax_f32, vpmaxq_f32, vpmaxq_f64,
1826         vpmaxqd_f64, vpmaxs_f32, vpmaxnm_f32, vpmaxnmq_f32, vpmaxnmq_f64,
1827         vpmaxnmqd_f64, vpmaxnms_f32, vpmin_s8, vpmin_s16, vpmin_s32, vpmin_u8,
1828         vpmin_u16, vpmin_u32, vpminq_s8, vpminq_s16, vpminq_s32, vpminq_u8,
1829         vpminq_u16, vpminq_u32, vpmin_f32, vpminq_f32, vpminq_f64, vpminqd_f64,
1830         vpmins_f32, vpminnm_f32, vpminnmq_f32, vpminnmq_f64, vpminnmqd_f64,
1831         vpminnms_f32): Rewrite using builtin functions.
1833 2015-01-19  Thomas Schwinge  <thomas@codesourcery.com>
1835         PR libgomp/64625
1836         * omp-low.c (offload_symbol_decl): Remove variable.
1837         (get_offload_symbol_decl): Remove function.
1838         (expand_omp_target): For BUILT_IN_GOMP_TARGET,
1839         BUILT_IN_GOMP_TARGET_DATA, BUILT_IN_GOMP_TARGET_UPDATE pass NULL
1840         instead of &__OFFLOAD_TABLE__, for BUILT_IN_GOACC_DATA_START,
1841         BUILT_IN_GOACC_ENTER_EXIT_DATA, BUILT_IN_GOACC_PARALLEL,
1842         BUILT_IN_GOACC_UPDATE don't pass it at all.
1844 2015-01-19  Ilya Enkovich  <ilya.enkovich@intel.com>
1846         * tree-sra.c (some_callers_have_mismatched_arguments_p): Allow thunk
1847         callers.
1849 2015-01-19  Ilya Enkovich  <ilya.enkovich@intel.com>
1851         * ipa-chkp.c (chkp_produce_thunks): Add early param
1852         to split thunks production into two passes.  Keep
1853         'always_inline' function bodies after the first pass.
1854         (pass_data_ipa_chkp_early_produce_thunks): New.
1855         (pass_ipa_chkp_early_produce_thunks): New.
1856         (pass_ipa_chkp_produce_thunks::execute): Adjust to new
1857         chkp_produce_thunks signature.
1858         (make_pass_ipa_chkp_early_produce_thunks): New.
1859         * passes.def (pass_ipa_chkp_early_produce_thunks): New.
1860         (pass_ipa_chkp_produce_thunks): Move after local optimizations.
1861         * tree-pass.h (make_pass_ipa_chkp_early_produce_thunks): New.
1863 2015-01-18  Jan Hubicka  <hubicka@ucw.cz>
1865         * cgraph.c (cgraph_node::dump): Dump profile flags.
1867 2015-01-18  Oleg Endo  <olegendo@gcc.gnu.org>
1869         PR target/64652
1870         * config/sh/sh.md (udivsi3_i4, divsi3_i4): Make use of sfunc address
1871         reg appear first in the parallel.
1873 2015-01-18  Jan Hubicka  <hubicka@ucw.cz>
1875         * ipa-reference.c (set_reference_optimization_summary,
1876         ipa_reference_get_not_written_global): Do nothing if ipa-reference is
1877         disabled.
1878         (ignore_module_statics): New static var.
1879         (propagate_bits): If ipa-reference is disabled, do not look into local
1880         properties.
1881         (analyze_function): Disable analysis when ipa_reference is disabled.
1882         (generate_summary): Do not dump when reference is disabled;
1883         collect vars accessed from functions with ipa-reference disabled.
1884         (get_read_write_all_from_node): When ipa-reference is disabled, use the
1885         node flags.
1886         (gate): Enable for LTO.
1887         (ignore_edge_p): New function.
1888         (propagate): Skip functions w/o ipa-reference analysis.
1889         * optc-save-gen.awk: Handle optimize_debug correctly.
1890         * opth-gen.awk: Likewise.
1891         * common.opt (fauto-inc-dec, fdelete-dead-exceptions, ffunction-cse,
1892         fgraphite, fstrict-volatile-bitfields, fira-algorithm, fira-region,
1893         fira-share-save-slots, fira-share-spill-slots,
1894         fmodulo-sched-allow-regmoves, fpartial-inlining,
1895         sched-stalled-insns, fsched-stalled-insns-dep, fstrict-overflow,
1896         ftracer, ftree-parallelize-loops, fassociative-math,
1897         freciprocal-math, fvect-cost-model, fsimd-cost-model): Mark as
1898         Optimization
1899         (fauto-profile, fcommon, fdata-sections, fipa-icf-variables,
1900         ftoplevel-reorder, funit-at-a-time, fwhole-program): Do not mark as
1901         Optimization.
1902         * ipa-icf.c (gate, sem_item_optimizer::filter_removed_items):
1903         Fix for IPA.
1905 2015-01-18  Jan Hubicka  <hubicka@ucw.cz>
1907         PR ipa/64378
1908         * ipa-prop.c (try_make_edge_direct_virtual_call): Clear speculative
1909         flag correctly.
1910         * ipa-cp.c (ipa_get_indirect_edge_target_1): Handle speculation.
1912 2015-01-18  Sandra Loosemore  <sandra@codesourcery.com>
1914         * doc/invoke.texi ([-funroll-loops], [-funroll-all-loops]):
1915         Remove duplicate option listings.
1917 2015-01-18  Felix Yang  <felix.yang@huawei.com>
1919         * auto-profile.c (afdo_find_equiv_class): Remove unnecessary test.
1920         (autofdo_source_profile::get_callsite_total_count,
1921         function_instance::get_function_instance_by_decl,
1922         string_table::get_index, string_table::get_index_by_decl,
1923         afdo_vpt_for_early_inline, afdo_callsite_hot_enough_for_early_inline):
1924         Fix comment typos. Reformatting and minor code rearrangement.
1926 2015-01-17  Segher Boessenkool  <segher@kernel.crashing.org>
1928         * config/rs6000/rs6000.md (probe_stack): Delete.
1929         (probe_stack_address): New.
1931 2015-01-17  Segher Boessenkool  <segher@kernel.crashing.org>
1933         * config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Use TARGET_32BIT
1934         to test for 32-bit ABIs, not !TARGET_POWERPC64.
1936 2015-01-17  Segher Boessenkool  <segher@kernel.crashing.org>
1938         * config/rs6000/rs6000.c (rs6000_parallel_return): New function.
1939         (rs6000_function_value): Use it.  Handle SCmode and TCmode as well,
1940         for TARGET_32BIT && TARGET_POWERPC64.  Fix another BITS_PER_WORD
1941         snafu.
1942         (rs6000_libcall_value): Use the new function.
1944 2015-01-17  Sandra Loosemore  <sandra@codesourcery.com>
1946         * doc/invoke.texi ([-ftracer]): Remove duplicate option listing.
1948 2015-01-17  Eric Botcazou  <ebotcazou@adacore.com>
1950         * reorg.c (fill_simple_delay_slots): If TARGET_FLAGS_REGNUM is valid,
1951         implement a more precise life analysis for it during backward scan.
1953 2015-01-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
1955         * dwarf2out.c (gen_producer_string): Ignore also OPT_fpreprocessed.
1957 2015-01-17  Bernd Schmidt  <bernds@codesourcery.com>
1959         PR rtl-optimization/52773
1960         * calls.c (emit_library_call_value): When pushing arguments use
1961         stack_pointer_rtx rather than virtual_outgoing_args_rtx in
1962         CALL_INSN_FUNCTION_USAGE.  Only emit one of use of the magic
1963         stack pointer reference into CALL_INSN_FUNCTION_USAGE.
1965 2015-01-17  Jeff Law  <law@redhat.com>
1967         PR rtl-optimization/32790
1968         * reginfo.c (reg_scan_mark_refs): Look for ZERO_EXTRACT,
1969         not ZERO_EXTEND in SET_DESTs.
1971 2015-01-17  Alan Modra  <amodra@gmail.com>
1973         * cprop.c (do_local_cprop): Revert last change.
1975 2015-01-16  DJ Delorie  <dj@redhat.com>
1976             Nick Clifton  <nickc@redhat.com>
1978         * config/rl78/rl78-real.md (addqi3_real): Allow volatiles.
1979         (addhi3_real): Likewise.  Fix [HL+0] syntax.
1980         (subqi3_real): Likewise.
1981         (subhi3_real): Likewise.
1982         (cbranchqi4_real): Likewise.  Allow saddr,#imm.
1983         (cbranchhi4_real): Likewise.
1984         (cbranchhi4_real_inverted): Likewise.
1985         (cbranchsi4_real_lt): Likewise.
1986         (cbranchsi4_real_ge): Likewise.
1987         (cbranchsi4_real_ge): Likewise.
1988         * config/rl78/rl78-virt.md (add<mode>3_virt): Likewise.
1989         (sub<mode>3_virt): Likewise.
1990         (cbranchqi4_virt): Likewise.
1991         (cbranchhi4_virt): Likewise.
1992         * config/rl78/rl78.c (rl78_print_operand_1): 'p' modifier means
1993         always use '[reg+imm]' even when imm is zero.
1994         * config/rl78/predicates.md (rl78_volatile_memory_operand): New.
1995         (rl78_general_operand): New.
1996         (rl78_nonimmediate_operand): New.
1997         (rl78_nonfar_operand): Use them.
1998         (rl78_nonfar_nonimm_operand): Likewise.
1999         (rl78_stack_based_mem): Fix.
2000         * config/rl78/constraints.md (Ibqi): New.
2001         (IBqi): New.
2002         (Wsa): New.
2003         (Wsf): New.
2004         (Cs1): Fix.
2005         * config/rl78/rl78-expand.md (andqi3): Accept volatiles.
2006         (iorqi3): Likewise.
2007         (xorqi3): Likewise.
2008         * config/rl78/rl78-protos.h (rl78_sfr_p): New.
2010         * config/rl78/constrains (Qs8): New constraint.
2011         * config/rl78/rl78.c (rl78_flags_already_set): New function.
2012         * config/rl78/rl78-protos.h (rl78_flags_already_set): New prototype.
2013         * config/rl78/rl78-real.md (update_Z): New attribute.
2014         Update patterns to set it.
2015         (cbranchqi4_real): Call rl78_flags_already_set() to determine if a
2016         shorter compare and branch sequence can be used.
2017         (cbranchhi4_real): Likewise.
2018         (cbranchhi4_real_inverted): Likewise.
2020         * config/rl78/predicates.md (uword_operand): Allow symbol_refs.
2021         * config/rl78/rl78-c.c (rl78_register_pragmas): Register __near
2022         address space.
2023         * config/rl78/rl78.c (rl78_get_name_encoding): New.
2024         (rl78_option_override): Allow -mes0 only if C.
2025         (characterize_address): Support subregs of symbol_refs.
2026         (rl78_addr_space_address_mode): Move.  Add __near.
2027         (rl78_far_p): Likewise.
2028         (rl78_addr_space_pointer_mode): Likewise.
2029         (rl78_as_legitimate_address): Likewise.
2030         (rl78_addr_space_subset_p): Likewise.
2031         (rl78_addr_space_convert): Likewise.
2032         (rl78_print_operand_1): Support 16-bit addressing of 32-bit
2033         symbols with -mes0.
2034         (transcode_memory_rtx): Don't copy ES if -mes0.  Allow symbol[BC]
2035         addressing.
2036         (rl78_alloc_physical_registers_op1): Change logic to prefer
2037         symbol[BC] addressing.
2038         (frodata_section): New.
2039         (rl78_asm_init_sections): Initialize it.
2040         (rl78_select_section): Put __far readonly symbols in .frodata.
2041         (rl78_make_type_far): New.
2042         (rl78_insert_attributes): Force all readonly symbols to be
2043         __far when -mes0.
2044         (rl78_asm_out_integer): New.
2045         * config/rl78/rl78.h (ADDR_SPACE_NEAR): New.
2046         * config/rl78/rl78.opt (-mes0): New.
2048         * config/rl78/rl78.h (ASM_OUTPUT_LABELREF): New.
2049         (ASM_OUTPUT_ALIGNED_DECL_COMMON): New.
2050         (ASM_OUTPUT_ALIGNED_DECL_LOCAL): New.
2051         * config/rl78/rl78-protos.h (rl78_output_labelref): New.
2052         (rl78_saddr_p): New.
2053         (rl78_output_aligned_common): New.
2054         * config/rl78/rl78.c (rl78_output_symbol_ref): Strip encodings.
2055         (rl78_handle_saddr_attribute): New.
2056         (rl78_handle_naked_attribute): New.
2057         (rl78_attribute_table): Add saddr.
2058         (rl78_print_operand_1): Don't print '!' on saddr operands.
2059         (rl78_print_operand_1): Strip encodings.
2060         (rl78_sfr_p): New.
2061         (rl78_strip_name_encoding): New.
2062         (rl78_attrlist_to_encoding): New.
2063         (rl78_encode_section_info): New.
2064         (rl78_asm_init_sections): New.
2065         (rl78_select_section): New.
2066         (rl78_output_labelref): New.
2067         (rl78_output_aligned_common): New.
2068         (rl78_asm_out_integer): New.
2069         (rl78_asm_ctor_dtor): New.
2070         (rl78_asm_constructor): New.
2071         (rl78_asm_destructor): New.
2073         * config/rl78/rl78-real.md (movqi_es): Rename to movqi_to_es.
2074         * config/rl78/rl78.c (rl78_expand_epilogue): Update.
2075         (transcode_memory_rtx): Update.
2076         (rl78_expand_epilogue): Use A_REG instead of 0.
2078 2015-01-17  Maxim Kuvyrkov  <maxim.kuvyrkov@linaro.org>
2080         * config/arm/arm-protos.h (struct tune_params): New field
2081         sched_autopref_queue_depth.
2082         * config/arm/arm.c (sched-int.h): Include header.
2083         (arm_first_cycle_multipass_dfa_lookahead_guard,)
2084         (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD): Define hook.
2085         (arm_slowmul_tune, arm_fastmul_tune, arm_strongarm_tune,)
2086         (arm_xscale_tune, arm_9e_tune, arm_v6t2_tune, arm_cortex_tune,)
2087         (arm_cortex_a8_tune, arm_cortex_a7_tune, arm_cortex_a15_tune,)
2088         (arm_cortex_a53_tune, arm_cortex_a57_tune, arm_xgene1_tune,)
2089         (arm_cortex_a5_tune, arm_cortex_a9_tune, arm_cortex_a12_tune,)
2090         (arm_v7m_tune, arm_cortex_m7_tune, arm_v6m_tune, arm_fa726te_tune):
2091         Specify sched_autopref_queue_depth value.  Enabled for A15 and A57.
2092         * config/arm/t-arm (arm.o): Update.
2093         * haifa-sched.c (update_insn_after_change): Update.
2094         (rank_for_schedule): Use auto-prefetcher model, if requested.
2095         (autopref_multipass_init): New static function.
2096         (autopref_rank_for_schedule): New rank_for_schedule heuristic.
2097         (autopref_multipass_dfa_lookahead_guard_started_dump_p): New static
2098         variable for debug dumps.
2099         (autopref_multipass_dfa_lookahead_guard_1): New static helper function.
2100         (autopref_multipass_dfa_lookahead_guard): New global function that
2101         implements TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD hook.
2102         (init_h_i_d): Update.
2103         * params.def (PARAM_SCHED_AUTOPREF_QUEUE_DEPTH): New tuning knob.
2104         * sched-int.h (enum autopref_multipass_data_status): New const enum.
2105         (autopref_multipass_data_): Structure for auto-prefetcher data.
2106         (autopref_multipass_data_def, autopref_multipass_data_t): New typedefs.
2107         (struct _haifa_insn_data:autopref_multipass_data): New field.
2108         (INSN_AUTOPREF_MULTIPASS_DATA): New access macro.
2109         (autopref_multipass_dfa_lookahead_guard): Declare.
2111 2015-01-17  Maxim Kuvyrkov  <maxim.kuvyrkov@linaro.org>
2113         * rtlanal.c (get_base_term): Handle SCRATCH.
2115 2015-01-17  Maxim Kuvyrkov  <maxim.kuvyrkov@linaro.org>
2117         * config/aarch64/aarch64.c
2118         (aarch64_sched_first_cycle_multipass_dfa_lookahead): Implement hook.
2119         (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Define.
2120         * config/arm/arm.c
2121         (arm_first_cycle_multipass_dfa_lookahead): Implement hook.
2122         (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Define.
2124 2015-01-17  Alan Modra  <amodra@gmail.com>
2126         * cprop.c (do_local_cprop): Disallow replacement of fixed
2127         hard registers.
2129 2015-01-16  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
2131         PR target/62066
2132         * config/arm/arm-builtins.c (arm_expand_neon_args): Call va_end before
2133         early return 0.
2135 2015-01-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
2137         * sanitizer.def (BUILT_IN_TSAN_VPTR_UPDATE): Fixed parameters.
2138         * tsan.c (instrument_expr): Fixed parameters of __tsan_vptr_update.
2140 2015-01-16  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
2142         * config/arm/arm.md: Move comment about splitting Thumb1 patterns to...
2143         * config/arm/thumb1.md: ... Here.
2145 2015-01-16  Segher Boessenkool  <segher@kernel.crashing.org>
2147         * config/rs6000/rs6000.c (rs6000_scalar_mode_supported_p): Disallow
2148         TImode for TARGET_32BIT.
2150 2015-01-16  Segher Boessenkool  <segher@kernel.crashing.org>
2152         * config/rs6000/rs6000.c (TARGET_LIBGCC_CMP_RETURN_MODE,
2153         TARGET_LIBGCC_SHIFT_COUNT_MODE, TARGET_UNWIND_WORD_MODE): Implement
2154         as ...
2155         (rs6000_abi_word_mode): New function.
2157 2015-01-16  Segher Boessenkool  <segher@kernel.crashing.org>
2159         * config/rs6000/rs6000.c (rs6000_va_start): Use MIN_UNITS_PER_WORD
2160         instead of UNITS_PER_WORD to describe the size of stack slots.
2162 2015-01-16  Segher Boessenkool  <segher@kernel.crashing.org>
2164         * config/rs6000/rs6000.c (TARGET_PROMOTE_FUNCTION_MODE): Implement
2165         as rs6000_promote_function_mode.  Move comment to there.
2166         (rs6000_promote_function_mode): New function.
2168 2015-01-16  Segher Boessenkool  <segher@kernel.crashing.org>
2170         * config/rs6000/rs6000.h (PROMOTE_MODE): Correct test for when -m32
2171         -mpowerpc64 is active.
2173 2015-01-16  Ilya Enkovich  <ilya.enkovich@intel.com>
2175         PR middle-end/64353
2176         * tree-cfg.c (pass_data_fixup_cfg): Update SSA for
2177         virtuals on start.
2179 2015-01-16  James Greenhalgh  <james.greenhalgh@arm.com>
2181         * config/arm/cortex-a57.md: Remove duplicate of file accidentally
2182         introduced in revision 219724.
2184 2015-01-16  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
2185             Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2187         PR target/64263
2188         * config/aarch64/aarch64.md (*movsi_aarch64): Don't split if the
2189         destination is not a GP reg.
2190         (*movdi_aarch64): Likewise.
2192 2015-01-16  David Edelsohn  <dje.gcc@gmail.com>
2194         PR target/64623
2195         * config/rs6000/default64.h: Revert ISA change.
2197 2015-01-16  Richard Biener  <rguenther@suse.de>
2199         PR middle-end/64614
2200         * tree-ssa-uninit.c: Include tree-cfg.h.
2201         (MAX_SWITCH_CASES): New define.
2202         (convert_control_dep_chain_into_preds): Handle switch statements.
2203         (is_pred_expr_subset_of): Handle x == CST vs. (x & CST) != 0.
2204         (normalize_one_pred_1): Do not split bit-manipulations.
2205         Record (x & CST).
2207 2015-01-16  Richard Biener  <rguenther@suse.de>
2209         PR tree-optimization/64568
2210         * tree-ssa-forwprop.c (pass_forwprop::execute): Guard
2211         complex load rewriting for TARGET_MEM_REFs.
2213 2015-01-16  Uros Bizjak  <ubizjak@gmail.com>
2215         * builtins.c (expand_builtin_acc_on_device): Check target for NULL.
2217 2015-01-16  Matthew Wahab  <matthew.wahab@arm.com>
2219         PR target/64149
2220         * config/aarch64/aarch64.opt: Remove lra option and aarch64_lra_flag
2221         variable.
2222         * config/aarch64/aarch64.c (TARGET_LRA_P): Set to hook_bool_void_true.
2223         (aarch64_lra_p): Remove.
2225 2015-01-16  Ilya Enkovich  <ilya.enkovich@intel.com>
2227         PR target/64363
2228         * ipa-chkp.h (chkp_instrumentable_p): New.
2229         * ipa-chkp.c: Include tree-inline.h.
2230         (chkp_instrumentable_p): New.
2231         (chkp_maybe_create_clone): Use chkp_instrumentable_p.
2232         Fix processing of not instrumentable functions.
2233         (chkp_versioning): Use chkp_instrumentable_p. Warn about
2234         not instrumentable functions.
2235         * tree-chkp.c (chkp_add_bounds_to_call_stmt): Use
2236         chkp_instrumentable_p.
2237         * tree-inline.h (copy_forbidden): New.
2238         * tree-inline.c (copy_forbidden): Not static anymore.
2240 2015-01-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2242         * optc-save-gen.awk (cl_target_option_print_diff): Mark indent,
2243         ptr1, ptr2 unused.
2245 2015-01-16  Robert Suchanek  <robert.suchanek@imgtec.com>
2247         * lra-constraints.c (curr_insn_transform): Change a reload pseudo of
2248         type OP_OUT to OP_INOUT.
2250 2015-01-16  Robert Suchanek  <robert.suchanek@imgtec.com>
2252         * simplify-rtx.c (simplify_replace_fn_rtx): Simplify (lo_sum
2253         (high x) y) to y if x and y have the same base.
2255 2015-01-16  James Greenhalgh  <james.greenhalgh@arm.com>
2257         * config/arm/cortex-a57.md: New.
2258         * config/aarch64/aarch64.md: Include it.
2259         * config/aarch64/aarch64-cores.def (cortex-a57): Tune for it.
2260         * config/aarch64/aarch64-tune.md: Regenerate.
2262 2015-01-16  Zhenqiang Chen  <zhenqiang.chen@arm.com>
2264         PR target/64015
2265         * ccmp.c (expand_ccmp_next): New function.
2266         (expand_ccmp_expr_1, expand_ccmp_expr): Handle operand insn sequence
2267         and compare insn sequence.
2268         * config/aarch64/aarch64.c (aarch64_code_to_ccmode,
2269         aarch64_gen_ccmp_first, aarch64_gen_ccmp_next): New functions.
2270         (TARGET_GEN_CCMP_FIRST, TARGET_GEN_CCMP_NEXT): New MICRO.
2271         * config/aarch64/aarch64.md (*ccmp_and): Changed to ccmp_and<mode>.
2272         (*ccmp_ior): Changed to ccmp_ior<mode>.
2273         (cmp<mode>): New pattern.
2274         * doc/tm.texi (TARGET_GEN_CCMP_FIRST, TARGET_GEN_CCMP_NEXT): Update
2275         parameters.
2276         * target.def (gen_ccmp_first, gen_ccmp_next): Update parameters.
2278 2015-01-16  Ilya Tocar  <ilya.tocar@intel.com>
2280         * config/i386/avx2intrin.h (_mm256_bslli_epi128,
2281         _mm256_bsrli_epi128): New.
2282         * config/i386/emmintrin.h (_mm_bsrli_si128, _mm_bslli_si128): Ditto.
2284 2015-01-15  Jiong Wang  <jiong.wang@arm.com>
2286         * expmed.c (store_bit_field_using_insv): Improve warning message.
2287         Use %wu instead of HOST_WIDE_INT_PRINT_UNSIGNED.
2289 2015-01-15  Jiong Wang  <jiong.wang@arm.com>
2291         PR rtl-optimization/64011
2292         * expmed.c (store_bit_field_using_insv): Warn and truncate bitsize when
2293         there is partial overflow.
2295 2015-01-16  Chung-Ju Wu  <jasonwucj@gmail.com>
2297         * config/nds32/nds32-protos.h (nds32_expand_epilogue): Change
2298         prototype.
2299         (nds32_expand_epilogue_v3pop): Likewise.
2300         * config/nds32/nds32.md (sibcall): Define this for sibling call
2301         optimization.
2302         (sibcall_register): Likewise.
2303         (sibcall_immediate): Likewise.
2304         (sibcall_value): Likewise.
2305         (sibcall_value_register): Likewise.
2306         (sibcall_value_immediate): Likewise.
2307         (sibcall_epilogue): Likewise.
2308         (epilogue): Pass false to indicate this is not a sibcall epilogue.
2309         * config/nds32/nds32.c (nds32_expand_epilogue): Consider sibcall case.
2310         (nds32_expand_epilogue_v3pop): Likewise.
2312 2015-01-16  Chung-Ju Wu  <jasonwucj@gmail.com>
2314         * config/nds32/nds32-protos.h (nds32_can_use_return_insn): New.
2315         * config/nds32/nds32.md (unspec_volatile_func_return): Remove.
2316         (return_internal): New.
2317         (return): Define this named pattern.
2318         (simple_return): Define this named pattern.
2319         * config/nds32/nds32.c (nds32_expand_epilogue): Emit return_internal
2320         pattern instead of unspec_volatile_func_return.
2321         (nds32_expand_epilogue_v3pop): Likewise.
2322         (nds32_can_use_return_insn): New function.
2324 2015-01-16  Chung-Ju Wu  <jasonwucj@gmail.com>
2326         * config/nds32/constants.md (UNSPEC_VOLATILE_POP25_RETURN): New.
2327         * config/nds32/nds32.md (pop25return): New.
2328         * config/nds32/nds32.c (nds32_expand_epilogue_v3pop): Emit
2329         pop25return pattern.
2331 2015-01-16  Chung-Ju Wu  <jasonwucj@gmail.com>
2333         * doc/invoke.texi (NDS32 Options): Remove -mforce-fp-as-gp,
2334         -mforbid-fp-as-gp, and -mex9 options.
2336 2015-01-16  Chung-Ju Wu  <jasonwucj@gmail.com>
2338         * doc/invoke.texi (NDS32 Options): Add -mcmodel= option and
2339         remove -mgp-direct option.
2341 2015-01-15  Jan Hubicka  <hubicka@ucw.cz>
2343         * doc/invoke.texi (--param early-inlining-insns): Update default value.
2344         * params.def (PARAM_EARLY_INLINING_INSNS): Set to 14.
2346 2015-01-15  Jan Hubicka  <hubicka@ucw.cz>
2348         * ipa-inline.c (inline_small_functions): Work around hints
2349         cache issue.
2351 2015-01-15  Sandra Loosemore  <sandra@codesourcery.com>
2353         PR target/59710
2354         * doc/invoke.texi (Option Summary): Document new Nios II
2355         -mgpopt= syntax.
2356         (Nios II Options): Likewise.
2357         * config/nios2/nios2.opt: Add -mgpopt= option support.
2358         Modify existing -mgpopt and -mno-gpopt options to be aliases.
2359         * config/nios2/nios2-opts.h (enum nios2_gpopt_type): New.
2360         * config/nios2/nios2.c (nios2_option_override): Adjust
2361         -mgpopt defaulting.
2362         (nios2_in_small_data_p): Return true for explicit small data
2363         sections even with -G0.
2364         (nios2_symbol_ref_in_small_data_p): Adjust to handle new -mgpopt=
2365         option choices.
2367 2015-01-15  Jan Hubicka  <hubicka@ucw.cz>
2369         PR ipa/64612
2370         * ipa-inline-transform.c (can_remove_node_now_p): Fix handling
2371         of comdat locals.
2372         (inline_call): Fix removal of aliases.
2374 2015-01-15  Jakub Jelinek  <jakub@redhat.com>
2376         * flag-types.h (enum sanitize_code): Add SANITIZE_VPTR,
2377         include SANITIZE_VPTR in SANITIZE_UNDEFINED.
2378         * opts.c (common_handle_option): Add -fsanitize=vptr.
2379         * sanitizer.def (BUILT_IN_UBSAN_HANDLE_DYNAMIC_TYPE_CACHE_MISS,
2380         BUILT_IN_UBSAN_HANDLE_DYNAMIC_TYPE_CACHE_MISS_ABORT): New.
2381         * ubsan.h (enum ubsan_null_ckind): Add UBSAN_DOWNCAST_POINTER,
2382         UBSAN_DOWNCAST_REFERENCE, UBSAN_UPCAST and UBSAN_CAST_TO_VBASE.
2383         (ubsan_expand_vptr_ifn): New prototype.
2384         * internal-fn.c (expand_ANNOTATE, expand_GOMP_SIMD_LANE,
2385         expand_GOMP_SIMD_VF, expand_GOMP_SIMD_LAST_LANE, expand_UBSAN_NULL,
2386         expand_UBSAN_BOUNDS, expand_UBSAN_OBJECT_SIZE, expand_ASAN_CHECK,
2387         expand_LOOP_VECTORIZED): Make argument nameless, remove
2388         ATTRIBUTE_UNUSED.
2389         (expand_UBSAN_VPTR): New function.
2390         * internal-fn.def (UBSAN_NULL, ASAN_CHECK): Use R instead of W
2391         in fn spec.
2392         (UBSAN_VPTR): New internal function.
2393         * sanopt.c (tree_map_traits): Renamed to ...
2394         (sanopt_tree_map_traits): ... this.
2395         (sanopt_tree_triplet, sanopt_tree_triplet_map_traits): New classes.
2396         (sanopt_ctx): Adjust asan_check_map type for tree_map_traits
2397         to sanopt_tree_map_traits renaming.  Add vptr_check_map field.
2398         (maybe_optimize_ubsan_vptr_ifn): New function.
2399         (sanopt_optimize_walker): Handle IFN_UBSAN_VPTR.
2400         (pass_sanopt::execute): Likewise.  Call sanopt_optimize even for
2401         -fsanitize=vptr.
2402         * tree-ssa-alias.c (call_may_clobber_ref_p_1): Handle certain
2403         internal calls like pure functions for aliasing, even when they
2404         have other side-effects that prevent making them ECF_PURE.
2405         * ubsan.c (ubsan_vptr_type_cache_decl): New variable.
2406         (ubsan_expand_vptr_ifn): New function.
2408 2015-01-15  Vladimir Makarov  <vmakarov@redhat.com>
2410         PR rtl-optimization/64110
2411         * stmt.c (parse_output_constraint): Process '^' and '$'.
2412         (parse_input_constraint): Ditto.
2413         * lra-constraints.c (process_alt_operands): Process the new
2414         constraints.
2415         * ira-costs.c (record_reg_classes): Process the new constraint
2416         '^'.
2417         * genoutput.c (indep_constraints): Add '^' and '$'.
2418         * config/i386/sse.md (*vec_dup<mode>): Use '$' instead of '!'.
2419         * doc/md.texi: Add description of the new constraints.
2421 2015-01-15  Thomas Schwinge  <thomas@codesourcery.com>
2422             Bernd Schmidt  <bernds@codesourcery.com>
2423             Cesar Philippidis  <cesar@codesourcery.com>
2424             James Norris  <jnorris@codesourcery.com>
2425             Tom de Vries  <tom@codesourcery.com>
2426             Ilmir Usmanov  <i.usmanov@samsung.com>
2427             Dmitry Bocharnikov  <dmitry.b@samsung.com>
2428             Evgeny Gavrin  <e.gavrin@samsung.com>
2429             Jakub Jelinek  <jakub@redhat.com>
2431         * builtin-types.def (BT_FN_VOID_INT_INT_VAR)
2432         (BT_FN_VOID_INT_PTR_SIZE_PTR_PTR_PTR_INT_INT_VAR)
2433         (BT_FN_VOID_INT_OMPFN_PTR_SIZE_PTR_PTR_PTR_INT_INT_INT_INT_INT_VAR):
2434         New function types.
2435         * builtins.c: Include "gomp-constants.h".
2436         (expand_builtin_acc_on_device): New function.
2437         (expand_builtin, is_inexpensive_builtin): Handle
2438         BUILT_IN_ACC_ON_DEVICE.
2439         * builtins.def (DEF_GOACC_BUILTIN, DEF_GOACC_BUILTIN_COMPILER):
2440         New macros.
2441         * cgraph.c (cgraph_node::create): Consider flag_openacc next to
2442         flag_openmp.
2443         * config.gcc <nvptx-*> (tm_file): Add nvptx/offload.h.
2444         <*-intelmic-* | *-intelmicemul-*> (tm_file): Add
2445         i386/intelmic-offload.h.
2446         * gcc.c (LINK_COMMAND_SPEC, GOMP_SELF_SPECS): For -fopenacc, link
2447         to libgomp and its dependencies.
2448         * config/arc/arc.h (LINK_COMMAND_SPEC): Likewise.
2449         * config/darwin.h (LINK_COMMAND_SPEC_A): Likewise.
2450         * config/i386/mingw32.h (GOMP_SELF_SPECS): Likewise.
2451         * config/ia64/hpux.h (LIB_SPEC): Likewise.
2452         * config/pa/pa-hpux11.h (LIB_SPEC): Likewise.
2453         * config/pa/pa64-hpux.h (LIB_SPEC): Likewise.
2454         * doc/generic.texi: Update for OpenACC changes.
2455         * doc/gimple.texi: Likewise.
2456         * doc/invoke.texi: Likewise.
2457         * doc/sourcebuild.texi: Likewise.
2458         * gimple-pretty-print.c (dump_gimple_omp_for): Handle
2459         GF_OMP_FOR_KIND_OACC_LOOP.
2460         (dump_gimple_omp_target): Handle GF_OMP_TARGET_KIND_OACC_KERNELS,
2461         GF_OMP_TARGET_KIND_OACC_PARALLEL, GF_OMP_TARGET_KIND_OACC_DATA,
2462         GF_OMP_TARGET_KIND_OACC_UPDATE,
2463         GF_OMP_TARGET_KIND_OACC_ENTER_EXIT_DATA.
2464         Dump more data.
2465         * gimple.c: Update comments for OpenACC changes.
2466         * gimple.def: Likewise.
2467         * gimple.h: Likewise.
2468         (enum gf_mask): Add GF_OMP_FOR_KIND_OACC_LOOP,
2469         GF_OMP_TARGET_KIND_OACC_PARALLEL, GF_OMP_TARGET_KIND_OACC_KERNELS,
2470         GF_OMP_TARGET_KIND_OACC_DATA, GF_OMP_TARGET_KIND_OACC_UPDATE,
2471         GF_OMP_TARGET_KIND_OACC_ENTER_EXIT_DATA.
2472         (gimple_omp_for_cond, gimple_omp_for_set_cond): Sort in the
2473         appropriate place.
2474         (is_gimple_omp_oacc, is_gimple_omp_offloaded): New functions.
2475         * gimplify.c: Include "gomp-constants.h".
2476         Update comments for OpenACC changes.
2477         (is_gimple_stmt): Handle OACC_PARALLEL, OACC_KERNELS, OACC_DATA,
2478         OACC_HOST_DATA, OACC_DECLARE, OACC_UPDATE, OACC_ENTER_DATA,
2479         OACC_EXIT_DATA, OACC_CACHE, OACC_LOOP.
2480         (gimplify_scan_omp_clauses, gimplify_adjust_omp_clauses): Handle
2481         OMP_CLAUSE__CACHE_, OMP_CLAUSE_ASYNC, OMP_CLAUSE_WAIT,
2482         OMP_CLAUSE_NUM_GANGS, OMP_CLAUSE_NUM_WORKERS,
2483         OMP_CLAUSE_VECTOR_LENGTH, OMP_CLAUSE_GANG, OMP_CLAUSE_WORKER,
2484         OMP_CLAUSE_VECTOR, OMP_CLAUSE_DEVICE_RESIDENT,
2485         OMP_CLAUSE_USE_DEVICE, OMP_CLAUSE_INDEPENDENT, OMP_CLAUSE_AUTO,
2486         OMP_CLAUSE_SEQ.
2487         (gimplify_adjust_omp_clauses_1, gimplify_adjust_omp_clauses): Use
2488         GOMP_MAP_* instead of OMP_CLAUSE_MAP_*.  Use
2489         OMP_CLAUSE_SET_MAP_KIND.
2490         (gimplify_oacc_cache): New function.
2491         (gimplify_omp_for): Handle OACC_LOOP.
2492         (gimplify_omp_workshare): Handle OACC_KERNELS, OACC_PARALLEL,
2493         OACC_DATA.
2494         (gimplify_omp_target_update): Handle OACC_ENTER_DATA,
2495         OACC_EXIT_DATA, OACC_UPDATE.
2496         (gimplify_expr): Handle OACC_LOOP, OACC_CACHE, OACC_HOST_DATA,
2497         OACC_DECLARE, OACC_KERNELS, OACC_PARALLEL, OACC_DATA,
2498         OACC_ENTER_DATA, OACC_EXIT_DATA, OACC_UPDATE.
2499         (gimplify_body): Consider flag_openacc next to flag_openmp.
2500         * lto-streamer-out.c: Include "gomp-constants.h".
2501         * omp-builtins.def (BUILT_IN_ACC_GET_DEVICE_TYPE)
2502         (BUILT_IN_GOACC_DATA_START, BUILT_IN_GOACC_DATA_END)
2503         (BUILT_IN_GOACC_ENTER_EXIT_DATA, BUILT_IN_GOACC_PARALLEL)
2504         (BUILT_IN_GOACC_UPDATE, BUILT_IN_GOACC_WAIT)
2505         (BUILT_IN_GOACC_GET_THREAD_NUM, BUILT_IN_GOACC_GET_NUM_THREADS)
2506         (BUILT_IN_ACC_ON_DEVICE): New builtins.
2507         * omp-low.c: Include "gomp-constants.h".
2508         Update comments for OpenACC changes.
2509         (struct omp_context): Add reduction_map, gwv_below, gwv_this
2510         members.
2511         (extract_omp_for_data, use_pointer_for_field, install_var_field)
2512         (new_omp_context, delete_omp_context, scan_sharing_clauses)
2513         (create_omp_child_function, scan_omp_for, scan_omp_target)
2514         (check_omp_nesting_restrictions, lower_reduction_clauses)
2515         (build_omp_regions_1, diagnose_sb_0, make_gimple_omp_edges):
2516         Update for OpenACC changes.
2517         (scan_sharing_clauses): Handle OMP_CLAUSE_NUM_GANGS:
2518         OMP_CLAUSE_NUM_WORKERS: OMP_CLAUSE_VECTOR_LENGTH,
2519         OMP_CLAUSE_ASYNC, OMP_CLAUSE_WAIT, OMP_CLAUSE_GANG,
2520         OMP_CLAUSE_WORKER, OMP_CLAUSE_VECTOR, OMP_CLAUSE_DEVICE_RESIDENT,
2521         OMP_CLAUSE_USE_DEVICE, OMP_CLAUSE__CACHE_, OMP_CLAUSE_INDEPENDENT,
2522         OMP_CLAUSE_AUTO, OMP_CLAUSE_SEQ.  Use GOMP_MAP_* instead of
2523         OMP_CLAUSE_MAP_*.
2524         (expand_omp_for_static_nochunk, expand_omp_for_static_chunk):
2525         Handle GF_OMP_FOR_KIND_OACC_LOOP.
2526         (expand_omp_target, lower_omp_target): Handle
2527         GF_OMP_TARGET_KIND_OACC_PARALLEL, GF_OMP_TARGET_KIND_OACC_KERNELS,
2528         GF_OMP_TARGET_KIND_OACC_UPDATE,
2529         GF_OMP_TARGET_KIND_OACC_ENTER_EXIT_DATA,
2530         GF_OMP_TARGET_KIND_OACC_DATA.
2531         (pass_expand_omp::execute, execute_lower_omp)
2532         (pass_diagnose_omp_blocks::gate): Consider flag_openacc next to
2533         flag_openmp.
2534         (offload_symbol_decl): New variable.
2535         (oacc_get_reduction_array_id, oacc_max_threads)
2536         (get_offload_symbol_decl, get_base_type, lookup_oacc_reduction)
2537         (maybe_lookup_oacc_reduction, enclosing_target_ctx)
2538         (oacc_loop_or_target_p, oacc_lower_reduction_var_helper)
2539         (oacc_gimple_assign, oacc_initialize_reduction_data)
2540         (oacc_finalize_reduction_data, oacc_process_reduction_data): New
2541         functions.
2542         (is_targetreg_ctx): Remove function.
2543         * tree-core.h (enum omp_clause_code): Add OMP_CLAUSE__CACHE_,
2544         OMP_CLAUSE_DEVICE_RESIDENT, OMP_CLAUSE_USE_DEVICE,
2545         OMP_CLAUSE_GANG, OMP_CLAUSE_ASYNC, OMP_CLAUSE_WAIT,
2546         OMP_CLAUSE_AUTO, OMP_CLAUSE_SEQ, OMP_CLAUSE_INDEPENDENT,
2547         OMP_CLAUSE_WORKER, OMP_CLAUSE_VECTOR, OMP_CLAUSE_NUM_GANGS,
2548         OMP_CLAUSE_NUM_WORKERS, OMP_CLAUSE_VECTOR_LENGTH.
2549         * tree.c (omp_clause_code_name, walk_tree_1): Update accordingly.
2550         * tree.h (OMP_CLAUSE_GANG_EXPR, OMP_CLAUSE_GANG_STATIC_EXPR)
2551         (OMP_CLAUSE_ASYNC_EXPR, OMP_CLAUSE_WAIT_EXPR)
2552         (OMP_CLAUSE_VECTOR_EXPR, OMP_CLAUSE_WORKER_EXPR)
2553         (OMP_CLAUSE_NUM_GANGS_EXPR, OMP_CLAUSE_NUM_WORKERS_EXPR)
2554         (OMP_CLAUSE_VECTOR_LENGTH_EXPR): New macros.
2555         * tree-core.h: Update comments for OpenACC changes.
2556         (enum omp_clause_map_kind): Remove.
2557         (struct tree_omp_clause): Change type of map_kind member from enum
2558         omp_clause_map_kind to unsigned char.
2559         * tree-inline.c: Update comments for OpenACC changes.
2560         * tree-nested.c: Likewise.  Include "gomp-constants.h".
2561         (convert_nonlocal_reference_stmt, convert_local_reference_stmt)
2562         (convert_tramp_reference_stmt, convert_gimple_call): Update for
2563         OpenACC changes.  Use GOMP_MAP_* instead of OMP_CLAUSE_MAP_*.  Use
2564         OMP_CLAUSE_SET_MAP_KIND.
2565         * tree-pretty-print.c: Include "gomp-constants.h".
2566         (dump_omp_clause): Handle OMP_CLAUSE_DEVICE_RESIDENT,
2567         OMP_CLAUSE_USE_DEVICE, OMP_CLAUSE__CACHE_, OMP_CLAUSE_GANG,
2568         OMP_CLAUSE_ASYNC, OMP_CLAUSE_AUTO, OMP_CLAUSE_SEQ,
2569         OMP_CLAUSE_WAIT, OMP_CLAUSE_WORKER, OMP_CLAUSE_VECTOR,
2570         OMP_CLAUSE_NUM_GANGS, OMP_CLAUSE_NUM_WORKERS,
2571         OMP_CLAUSE_VECTOR_LENGTH, OMP_CLAUSE_INDEPENDENT.  Use GOMP_MAP_*
2572         instead of OMP_CLAUSE_MAP_*.
2573         (dump_generic_node): Handle OACC_PARALLEL, OACC_KERNELS,
2574         OACC_DATA, OACC_HOST_DATA, OACC_DECLARE, OACC_UPDATE,
2575         OACC_ENTER_DATA, OACC_EXIT_DATA, OACC_CACHE, OACC_LOOP.
2576         * tree-streamer-in.c: Include "gomp-constants.h".
2577         (unpack_ts_omp_clause_value_fields) Use GOMP_MAP_* instead of
2578         OMP_CLAUSE_MAP_*.  Use OMP_CLAUSE_SET_MAP_KIND.
2579         * tree-streamer-out.c: Include "gomp-constants.h".
2580         (pack_ts_omp_clause_value_fields): Use GOMP_MAP_* instead of
2581         OMP_CLAUSE_MAP_*.
2582         * tree.def (OACC_PARALLEL, OACC_KERNELS, OACC_DATA)
2583         (OACC_HOST_DATA, OACC_LOOP, OACC_CACHE, OACC_DECLARE)
2584         (OACC_ENTER_DATA, OACC_EXIT_DATA, OACC_UPDATE): New tree codes.
2585         * tree.c (omp_clause_num_ops): Update accordingly.
2586         * tree.h (OMP_BODY, OMP_CLAUSES, OMP_LOOP_CHECK, OMP_CLAUSE_SIZE):
2587         Likewise.
2588         (OACC_PARALLEL_BODY, OACC_PARALLEL_CLAUSES, OACC_KERNELS_BODY)
2589         (OACC_KERNELS_CLAUSES, OACC_DATA_BODY, OACC_DATA_CLAUSES)
2590         (OACC_HOST_DATA_BODY, OACC_HOST_DATA_CLAUSES, OACC_CACHE_CLAUSES)
2591         (OACC_DECLARE_CLAUSES, OACC_ENTER_DATA_CLAUSES)
2592         (OACC_EXIT_DATA_CLAUSES, OACC_UPDATE_CLAUSES)
2593         (OACC_KERNELS_COMBINED, OACC_PARALLEL_COMBINED): New macros.
2594         * tree.h (OMP_CLAUSE_MAP_KIND): Cast it to enum gomp_map_kind.
2595         (OMP_CLAUSE_SET_MAP_KIND): New macro.
2596         * varpool.c (varpool_node::get_create): Consider flag_openacc next
2597         to flag_openmp.
2598         * config/i386/intelmic-offload.h: New file.
2599         * config/nvptx/offload.h: Likewise.
2601 2015-01-15  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>
2603         * explow.h: Remove duplicate contents.
2604         * dojump.h: Likewise.
2606 2015-01-15  Richard Earnshaw  <rearnsha@arm.com>
2608         * arm.c (arm_xgene_tune): Add default initializer for instruction
2609         fusion.
2611 2015-01-15  Jan Hubicka  <hubicka@ucw.cz>
2613         PR ipa/64068
2614         PR ipa/64559
2615         * ipa.c (symbol_table::remove_unreachable_nodes):
2616         Do not put abstract origins into boundary.
2618 2015-01-15  Evgeny Stupachenko  <evstupac@gmail.com>
2620         * config/i386/gnu-user.h (CRT_GET_RFIB_DATA): Remove EBX register usage.
2621         * config/i386/sysv4.h (CRT_GET_RFIB_DATA): Ditto.
2623 2015-01-15  Steve Ellcey  <sellcey@mips.com>
2625         * Makefile.in (PLUGIN_HEADERS): Add dominance.h, cfg.h, cfgrtl.h,
2626         cfganal.h, cfgbuild.h, cfgcleanup.h, lcm.h, cfgloopmanip.h,
2627         builtins.def, and chkp-builtins.def.
2629 2015-01-15  David Edelsohn  <dje.gcc@gmail.com>
2631         * config/rs6000/default64.h (TARGET_DEFAULT) [LITTLE_ENDIAN]: Use
2632         ISA 2.7 (POWER8).
2634 2015-01-15  Richard Biener  <rguenther@suse.de>
2636         PR tree-optimization/61743
2637         * tree-ssa-pre.c (insert_into_preds_of_block): Preserve range
2638         information on PHIs for some simple cases.
2640 2015-01-15  Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
2642         * config/arm/arm.md (generic_sched): Specify xgene1 in 'no' list.
2643         Include xgene1.md.
2644         * config/arm/arm.c (arm_issue_rate): Specify 4 for xgene1.
2645         * config/arm/arm-cores.def (xgene1): New entry.
2646         * config/arm/arm-tables.opt: Regenerate.
2647         * config/arm/arm-tune.md: Regenerate.
2648         * config/arm/bpabi.h (BE8_LINK_SPEC): Specify mcpu=xgene1.
2650 2015-01-15  Yuri Rumyantsev  <ysrumyan@gmail.com>
2652         * tree-if-conv.c: Include hash-map.h.
2653         (aggressive_if_conv): New variable.
2654         (fold_build_cond_expr): Add simplification of non-zero condition.
2655         (add_to_dst_predicate_list): Invoke add_to_predicate_list if edge
2656         destination block is not always executed.
2657         (if_convertible_phi_p): Fix commentary, allow phi nodes have more
2658         than two predecessors if AGGRESSIVE_IF_CONV is true.
2659         (if_convertible_stmt_p): Fix commentary.
2660         (all_preds_critical_p): New function.
2661         (has_pred_critical_p): New function.
2662         (if_convertible_bb_p): Fix commentary, if AGGRESSIVE_IF_CONV is true
2663         BB can have more than two predecessors and all incoming edges can be
2664         critical.
2665         (predicate_bbs): Skip predication for loop exit block, use build2_loc
2666         to compute predicate for true edge.
2667         (find_phi_replacement_condition): Delete this function.
2668         (is_cond_scalar_reduction): Add arguments ARG_0, ARG_1 and EXTENDED.
2669         Allow interchange PHI arguments if EXTENDED is false.
2670         Change check that block containing reduction statement candidate
2671         is predecessor of phi-block since phi may have more than two arguments.
2672         (phi_args_hash_traits): New helper structure.
2673         (struct phi_args_hash_traits): New type.
2674         (phi_args_hash_traits::hash): New function.
2675         (phi_args_hash_traits::equal_keys): New function.
2676         (gen_phi_arg_condition): New function.
2677         (predicate_scalar_phi): Add handling of phi nodes with more than two
2678         arguments, delete COND and TRUE_BB arguments, insert body of
2679         find_phi_replacement_condition to predicate ordinary phi nodes.
2680         (predicate_all_scalar_phis): Skip blocks with the only predecessor,
2681         delete call of find_phi_replacement_condition and invoke
2682         predicate_scalar_phi with two arguments.
2683         (insert_gimplified_predicates): Add assert that non-predicated block
2684         don't have statements to insert.
2685         (ifcvt_split_critical_edges): New function.
2686         (ifcvt_split_def_stmt): Likewise.
2687         (ifcvt_walk_pattern_tree): Likewise.
2688         (stmt_is_root_of_bool_pattern): Likewise.
2689         (ifcvt_repair_bool_pattern): Likewise.
2690         (ifcvt_local_dce): Likewise.
2691         (tree_if_conversion): Add initialization of AGGRESSIVE_IF_CONV which
2692         is copy of inner or outer loop force_vectorize field, invoke
2693         ifcvt_split_critical_edges, ifcvt_local_dce and
2694         ifcvt_repair_bool_pattern for aggressive if-conversion.
2696 2015-01-15  Philipp Tomsich  <ptomsich@theobroma-systems.com>
2698         * config/aarch64/aarch64.md: Include xgene1.md.
2699         * config/aarch64/xgene1.md: New file.
2701 2015-01-15  Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
2703         * config/aarch64/aarch64-cores.def (xgene1): Update/add the
2704         xgene1 (APM XGene-1) core definition.
2705         * gcc/config/aarch64/aarch64.c: Add cost tables for APM XGene-1
2706         * config/arm/aarch-cost-tables.h: Add cost tables for APM XGene-1
2707         * doc/invoke.texi: Document -mcpu=xgene1.
2709 2015-01-15  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>
2711         * dojump.h: New header file.
2712         * explow.h: Likewise.
2713         * expr.h: Remove includes.
2714         Move expmed.c prototypes to expmed.h.
2715         Move dojump.c prototypes to dojump.h.
2716         Move alias.c prototypes to alias.h.
2717         Move explow.c prototypes to explow.h.
2718         Move calls.c prototypes to calls.h.
2719         Move emit-rtl.c prototypes to emit-rtl.h.
2720         Move varasm.c prototypes to varasm.h.
2721         Move stmt.c prototypes to stmt.h.
2722         (saved_pending_stack_adjust): Move to dojump.h.
2723         (adjust_address): Move to explow.h.
2724         (adjust_address_nv): Move to emit-rtl.h.
2725         (adjust_bitfield_address): Likewise.
2726         (adjust_bitfield_address_size): Likewise.
2727         (adjust_bitfield_address_nv): Likewise.
2728         (adjust_automodify_address_nv): Likewise.
2729         * explow.c (expr_size): Move to expr.c.
2730         (int_expr_size): Likewise.
2731         (tree_expr_size): Likewise.
2732         Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2733         fixed-value.h hashtab.h statistics.h stmt.h varasm.h.
2734         * genemit.c (main): Generate includes statistics.h, real.h,
2735         fixed-value.h, insn-config.h, expmed.h, dojump.h, explow.h, emit-rtl.h,
2736         stmt.h.
2737         * genopinit.c (main): Generate includes hashtab.h, hard-reg-set.h,
2738         function.h, statistics.h, real.h, fixed-value.h, expmed.h, dojump.h,
2739         explow.h, emit-rtl.h, stmt.h.
2740         * genoutput.c (main): Generate includes hashtab.h, statistics.h, real.h,
2741         fixed-value.h, expmed.h, dojump.h, explow.h, emit-rtl.h, stmt.h.
2742         * genemit.c (open_base_files): Generate includes flags.h, statistics.h,
2743         real.h, fixed-value.h, tree.h, expmed.h, dojump.h, explow.h, calls.h,
2744         emit-rtl.h, varasm.h, stmt.h.
2745         * config/tilepro/gen-mul-tables.cc: Generate includes hashtab.h,
2746         hash-set.h, vec.h, machmode.h, tm.h, hard-reg-set.h, input.h,
2747         function.h, rtl.h, flags.h, statistics.h, double-int.h, real.h,
2748         fixed-value.h, alias.h, wide-int.h, inchash.h, tree.h, insn-config.h,
2749         expmed.h, dojump.h, explow.h, calls.h, emit-rtl.h, varasm.h, stmt.h.
2750         * config/tilegx/mul-tables.c: Include alias.h calls.h dojump.h
2751         double-int.h emit-rtl.h explow.h expmed.h fixed-value.h flags.h
2752         function.h hard-reg-set.h hash-set.h hashtab.h inchash.h input.h
2753         insn-config.h machmode.h real.h rtl.h statistics.h stmt.h symtab.h
2754         tm.h tree.h varasm.h vec.h wide-int.h.
2755         * rtlhooks.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
2756         explow.h expmed.h fixed-value.h flags.h function.h hard-reg-set.h
2757         hash-set.h hashtab.h inchash.h input.h insn-config.h machmode.h
2758         real.h statistics.h stmt.h tree.h varasm.h vec.h wide-int.h.
2759         * cfgloopanal.c: Include alias.h calls.h dojump.h double-int.h
2760         emit-rtl.h explow.h expmed.h fixed-value.h flags.h inchash.h
2761         insn-config.h real.h statistics.h stmt.h tree.h varasm.h wide-int.h.
2762         * loop-iv.c: Likewise.
2763         * lra-assigns.c: Include alias.h calls.h dojump.h double-int.h
2764         emit-rtl.h explow.h expmed.h fixed-value.h flags.h inchash.h real.h
2765         statistics.h stmt.h tree.h varasm.h wide-int.h.
2766         * lra-constraints.c: Likewise.
2767         * lra-eliminations.c: Likewise.
2768         * lra-lives.c: Likewise.
2769         * lra-remat.c: Likewise.
2770         * bt-load.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
2771         explow.h expmed.h fixed-value.h inchash.h insn-config.h real.h
2772         statistics.h stmt.h tree.h varasm.h wide-int.h.
2773         * hw-doloop.c: Likewise.
2774         * ira-color.c: Likewise.
2775         * ira-emit.c: Likewise.
2776         * loop-doloop.c: Likewise.
2777         * loop-invariant.c: Likewise.
2778         * reload.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
2779         explow.h expmed.h fixed-value.h inchash.h real.h rtl.h
2780         statistics.h stmt.h tree.h varasm.h wide-int.h.
2781         * caller-save.c: Include alias.h calls.h dojump.h double-int.h
2782         emit-rtl.h explow.h expmed.h fixed-value.h inchash.h real.h
2783         statistics.h stmt.h tree.h varasm.h wide-int.h.
2784         * combine-stack-adj.c: Likewise.
2785         * cse.c: Likewise.
2786         * ddg.c: Likewise.
2787         * ifcvt.c: Likewise.
2788         * ira-costs.c: Likewise.
2789         * jump.c: Likewise.
2790         * lra-coalesce.c: Likewise.
2791         * lra-spills.c: Likewise.
2792         * profile.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
2793         explow.h expmed.h fixed-value.h insn-config.h real.h statistics.h
2794         stmt.h varasm.h wide-int.h.
2795         * lra.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
2796         explow.h expmed.h fixed-value.h real.h statistics.h stmt.h
2797         varasm.h.
2798         * config/sh/sh_treg_combine.cc: Include alias.h calls.h dojump.h
2799         double-int.h explow.h expmed.h fixed-value.h flags.h real.h
2800         statistics.h stmt.h varasm.h wide-int.h.
2801         * reorg.c: Include alias.h calls.h dojump.h double-int.h explow.h
2802         expmed.h fixed-value.h inchash.h real.h statistics.h stmt.h tree.h
2803         varasm.h wide-int.h.
2804         * reload1.c: Include alias.h calls.h dojump.h double-int.h explow.h
2805         expmed.h fixed-value.h real.h rtl.h statistics.h stmt.h varasm.h.
2806         * config/tilegx/tilegx.c: Include alias.h dojump.h double-int.h
2807         emit-rtl.h explow.h expmed.h fixed-value.h flags.h real.h
2808         statistics.h stmt.h.
2809         * config/tilepro/tilepro.c: Likewise.
2810         * config/mmix/mmix.c: Include alias.h dojump.h double-int.h emit-rtl.h
2811         explow.h expmed.h fixed-value.h real.h statistics.h stmt.h.
2812         * config/pdp11/pdp11.c: Likewise.
2813         * config/xtensa/xtensa.c: Likewise.
2814         * config/lm32/lm32.c: Include alias.h dojump.h double-int.h emit-rtl.h
2815         explow.h expmed.h fixed-value.h real.h statistics.h stmt.h
2816         varasm.h.
2817         * tree-chkp.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2818         fixed-value.h flags.h function.h hard-reg-set.h hashtab.h
2819         insn-config.h real.h rtl.h statistics.h stmt.h tm.h.
2820         * cilk-common.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2821         fixed-value.h flags.h function.h hard-reg-set.h hashtab.h
2822         insn-config.h real.h rtl.h statistics.h stmt.h tm.h varasm.h.
2823         * rtl-chkp.c: Likewise.
2824         * tree-chkp-opt.c: Likewise.
2825         * config/arm/arm-builtins.c: Include calls.h dojump.h emit-rtl.h
2826         explow.h expmed.h fixed-value.h flags.h function.h hard-reg-set.h
2827         hashtab.h insn-config.h real.h statistics.h stmt.h varasm.h.
2828         * ipa-icf.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2829         fixed-value.h flags.h hashtab.h insn-config.h real.h rtl.h
2830         statistics.h stmt.h.
2831         * tree-vect-data-refs.c: Likewise.
2832         * graphite-sese-to-poly.c: Include calls.h dojump.h emit-rtl.h explow.h
2833         expmed.h fixed-value.h flags.h hashtab.h insn-config.h real.h
2834         rtl.h statistics.h stmt.h varasm.h.
2835         * internal-fn.c: Likewise.
2836         * ipa-icf-gimple.c: Likewise.
2837         * lto-section-out.c: Likewise.
2838         * tree-data-ref.c: Likewise.
2839         * tree-nested.c: Likewise.
2840         * tree-outof-ssa.c: Likewise.
2841         * tree-predcom.c: Likewise.
2842         * tree-pretty-print.c: Likewise.
2843         * tree-scalar-evolution.c: Likewise.
2844         * tree-ssa-strlen.c: Likewise.
2845         * tree-vect-loop.c: Likewise.
2846         * tree-vect-patterns.c: Likewise.
2847         * tree-vect-slp.c: Likewise.
2848         * tree-vect-stmts.c: Likewise.
2849         * tsan.c: Likewise.
2850         * targhooks.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2851         fixed-value.h flags.h hashtab.h insn-config.h real.h statistics.h
2852         stmt.h.
2853         * config/sh/sh-mem.cc: Include calls.h dojump.h emit-rtl.h explow.h
2854         expmed.h fixed-value.h flags.h hashtab.h insn-config.h real.h
2855         statistics.h stmt.h varasm.h.
2856         * loop-unroll.c: Likewise.
2857         * ubsan.c: Likewise.
2858         * tree-ssa-loop-prefetch.c: Include calls.h dojump.h emit-rtl.h explow.h
2859         expmed.h fixed-value.h flags.h hashtab.h real.h rtl.h statistics.h
2860         stmt.h varasm.h.
2861         * dse.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2862         fixed-value.h function.h hashtab.h statistics.h stmt.h varasm.h.
2863         * tree-switch-conversion.c: Include calls.h dojump.h emit-rtl.h explow.h
2864         expmed.h fixed-value.h hashtab.h insn-config.h real.h rtl.h
2865         statistics.h stmt.h.
2866         * generic-match-head.c: Include calls.h dojump.h emit-rtl.h explow.h
2867         expmed.h fixed-value.h hashtab.h insn-config.h real.h rtl.h
2868         statistics.h stmt.h varasm.h.
2869         * gimple-match-head.c: Likewise.
2870         * lto-cgraph.c: Likewise.
2871         * lto-section-in.c: Likewise.
2872         * lto-streamer-in.c: Likewise.
2873         * lto-streamer-out.c: Likewise.
2874         * tree-affine.c: Likewise.
2875         * tree-cfg.c: Likewise.
2876         * tree-cfgcleanup.c: Likewise.
2877         * tree-if-conv.c: Likewise.
2878         * tree-into-ssa.c: Likewise.
2879         * tree-ssa-alias.c: Likewise.
2880         * tree-ssa-copyrename.c: Likewise.
2881         * tree-ssa-dse.c: Likewise.
2882         * tree-ssa-forwprop.c: Likewise.
2883         * tree-ssa-live.c: Likewise.
2884         * tree-ssa-math-opts.c: Likewise.
2885         * tree-ssa-pre.c: Likewise.
2886         * tree-ssa-sccvn.c: Likewise.
2887         * tree-tailcall.c: Likewise.
2888         * tree-vect-generic.c: Likewise.
2889         * tree-sra.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2890         fixed-value.h hashtab.h insn-config.h real.h rtl.h stmt.h varasm.h.
2891         * stor-layout.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2892         fixed-value.h hashtab.h insn-config.h real.h statistics.h stmt.h.
2893         * varasm.c: Likewise.
2894         * coverage.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2895         fixed-value.h hashtab.h insn-config.h real.h statistics.h stmt.h
2896         varasm.h.
2897         * init-regs.c: Likewise.
2898         * ira.c: Likewise.
2899         * omp-low.c: Likewise.
2900         * stack-ptr-mod.c: Likewise.
2901         * tree-ssa-reassoc.c: Likewise.
2902         * tree-complex.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2903         fixed-value.h hashtab.h insn-config.h rtl.h statistics.h stmt.h
2904         varasm.h.
2905         * dwarf2cfi.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2906         fixed-value.h hashtab.h insn-config.h statistics.h stmt.h varasm.h.
2907         * shrink-wrap.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2908         fixed-value.h hashtab.h real.h rtl.h statistics.h stmt.h.
2909         * recog.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2910         fixed-value.h hashtab.h real.h rtl.h statistics.h stmt.h varasm.h.
2911         * tree-ssa-phiopt.c: Likewise.
2912         * config/darwin.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2913         fixed-value.h hashtab.h real.h statistics.h stmt.h.
2914         * config/fr30/fr30.c: Likewise.
2915         * config/frv/frv.c: Likewise.
2916         * expr.c: Likewise.
2917         * final.c: Likewise.
2918         * optabs.c: Likewise.
2919         * passes.c: Likewise.
2920         * simplify-rtx.c: Likewise.
2921         * stmt.c: Likewise.
2922         * toplev.c: Likewise.
2923         * var-tracking.c: Likewise.
2924         * gcse.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2925         fixed-value.h hashtab.h real.h statistics.h stmt.h varasm.h.
2926         * lower-subreg.c: Likewise.
2927         * postreload-gcse.c: Likewise.
2928         * ree.c: Likewise.
2929         * reginfo.c: Likewise.
2930         * store-motion.c: Likewise.
2931         * combine.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2932         fixed-value.h hashtab.h real.h stmt.h varasm.h.
2933         * emit-rtl.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2934         fixed-value.h hashtab.h statistics.h stmt.h.
2935         * dojump.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2936         fixed-value.h hashtab.h statistics.h stmt.h varasm.h.
2937         * except.c: Likewise.
2938         * explow.c: Likewise.
2939         * tree-dfa.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2940         fixed-value.h insn-config.h real.h rtl.h statistics.h stmt.h
2941         varasm.h.
2942         * gimple-fold.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2943         fixed-value.h insn-config.h real.h rtl.h statistics.h varasm.h.
2944         * tree-ssa-structalias.c: Likewise.
2945         * cfgexpand.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2946         fixed-value.h insn-config.h real.h statistics.h.
2947         * calls.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2948         fixed-value.h insn-config.h real.h statistics.h stmt.h.
2949         * bb-reorder.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2950         fixed-value.h insn-config.h real.h statistics.h stmt.h varasm.h.
2951         * cfgbuild.c: Likewise.
2952         * function.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2953         fixed-value.h real.h rtl.h statistics.h stmt.h.
2954         * cfgrtl.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2955         fixed-value.h real.h rtl.h statistics.h stmt.h varasm.h.
2956         * dbxout.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2957         fixed-value.h real.h statistics.h stmt.h.
2958         * auto-inc-dec.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2959         fixed-value.h real.h statistics.h stmt.h varasm.h.
2960         * cprop.c: Likewise.
2961         * modulo-sched.c: Likewise.
2962         * postreload.c: Likewise.
2963         * ccmp.c: Include calls.h dojump.h emit-rtl.h explow.h fixed-value.h
2964         flags.h function.h hard-reg-set.h hashtab.h insn-config.h real.h
2965         statistics.h stmt.h varasm.h.
2966         * gimple-ssa-strength-reduction.c: Include calls.h dojump.h emit-rtl.h
2967         explow.h fixed-value.h flags.h hashtab.h insn-config.h real.h
2968         rtl.h statistics.h stmt.h varasm.h.
2969         * tree-ssa-loop-ivopts.c: Include calls.h dojump.h emit-rtl.h explow.h
2970         fixed-value.h flags.h hashtab.h real.h rtl.h statistics.h stmt.h
2971         varasm.h.
2972         * expmed.c: Include calls.h dojump.h emit-rtl.h explow.h fixed-value.h
2973         function.h hard-reg-set.h hashtab.h real.h statistics.h stmt.h
2974         varasm.h.
2975         * target-globals.c: Include calls.h dojump.h emit-rtl.h explow.h
2976         fixed-value.h function.h hashtab.h real.h statistics.h stmt.h
2977         varasm.h.
2978         * tree-ssa-address.c: Include calls.h dojump.h emit-rtl.h explow.h
2979         fixed-value.h hashtab.h real.h statistics.h stmt.h varasm.h.
2980         * cfgcleanup.c: Include calls.h dojump.h explow.h expmed.h fixed-value.h
2981         function.h real.h statistics.h stmt.h varasm.h.
2982         * alias.c: Include calls.h dojump.h explow.h expmed.h fixed-value.h
2983         insn-config.h real.h statistics.h stmt.h.
2984         * dwarf2out.c: Include calls.h dojump.h explow.h expmed.h fixed-value.h
2985         statistics.h stmt.h.
2986         * config/nvptx/nvptx.c: Include dojump.h emit-rtl.h explow.h expmed.h
2987         fixed-value.h flags.h hard-reg-set.h insn-config.h real.h
2988         statistics.h stmt.h varasm.h.
2989         * gimplify.c: Include dojump.h emit-rtl.h explow.h expmed.h
2990         fixed-value.h flags.h hashtab.h insn-config.h real.h rtl.h statistics.h.
2991         * asan.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
2992         flags.h hashtab.h insn-config.h real.h rtl.h statistics.h stmt.h.
2993         * ipa-devirt.c: Include dojump.h emit-rtl.h explow.h expmed.h
2994         fixed-value.h flags.h hashtab.h insn-config.h real.h rtl.h
2995         statistics.h stmt.h varasm.h.
2996         * ipa-polymorphic-call.c: Likewise.
2997         * config/aarch64/aarch64.c: Include dojump.h emit-rtl.h explow.h
2998         expmed.h fixed-value.h flags.h hashtab.h insn-config.h real.h
2999         statistics.h stmt.h.
3000         * config/c6x/c6x.c: Likewise.
3001         * config/aarch64/aarch64-builtins.c: Include dojump.h emit-rtl.h
3002         explow.h expmed.h fixed-value.h flags.h hashtab.h insn-config.h real.h
3003         statistics.h stmt.h varasm.h.
3004         * ipa-prop.c: Include dojump.h emit-rtl.h explow.h expmed.h
3005         fixed-value.h hashtab.h insn-config.h real.h rtl.h statistics.h
3006         stmt.h varasm.h.
3007         * ipa-split.c: Likewise.
3008         * tree-eh.c: Likewise.
3009         * tree-ssa-dce.c: Likewise.
3010         * tree-ssa-loop-niter.c: Likewise.
3011         * tree-vrp.c: Likewise.
3012         * config/nds32/nds32-cost.c: Include dojump.h emit-rtl.h explow.h
3013         expmed.h fixed-value.h hashtab.h insn-config.h real.h statistics.h
3014         stmt.h.
3015         * config/nds32/nds32-fp-as-gp.c: Likewise.
3016         * config/nds32/nds32-intrinsic.c: Likewise.
3017         * config/nds32/nds32-isr.c: Likewise.
3018         * config/nds32/nds32-md-auxiliary.c: Likewise.
3019         * config/nds32/nds32-memory-manipulation.c: Likewise.
3020         * config/nds32/nds32-pipelines-auxiliary.c: Likewise.
3021         * config/nds32/nds32-predicates.c: Likewise.
3022         * config/nds32/nds32.c: Likewise.
3023         * config/cris/cris.c: Include dojump.h emit-rtl.h explow.h expmed.h
3024         fixed-value.h hashtab.h real.h statistics.h.
3025         * config/alpha/alpha.c: Include dojump.h emit-rtl.h explow.h expmed.h
3026         fixed-value.h hashtab.h real.h statistics.h stmt.h.
3027         * config/arm/arm.c: Likewise.
3028         * config/avr/avr.c: Likewise.
3029         * config/bfin/bfin.c: Likewise.
3030         * config/h8300/h8300.c: Likewise.
3031         * config/i386/i386.c: Likewise.
3032         * config/ia64/ia64.c: Likewise.
3033         * config/iq2000/iq2000.c: Likewise.
3034         * config/m32c/m32c.c: Likewise.
3035         * config/m32r/m32r.c: Likewise.
3036         * config/m68k/m68k.c: Likewise.
3037         * config/mcore/mcore.c: Likewise.
3038         * config/mep/mep.c: Likewise.
3039         * config/mips/mips.c: Likewise.
3040         * config/mn10300/mn10300.c: Likewise.
3041         * config/moxie/moxie.c: Likewise.
3042         * config/pa/pa.c: Likewise.
3043         * config/rl78/rl78.c: Likewise.
3044         * config/rx/rx.c: Likewise.
3045         * config/s390/s390.c: Likewise.
3046         * config/sh/sh.c: Likewise.
3047         * config/sparc/sparc.c: Likewise.
3048         * config/spu/spu.c: Likewise.
3049         * config/stormy16/stormy16.c: Likewise.
3050         * config/v850/v850.c: Likewise.
3051         * config/vax/vax.c: Likewise.
3052         * config/cr16/cr16.c: Include dojump.h emit-rtl.h explow.h expmed.h
3053         fixed-value.h hashtab.h real.h statistics.h stmt.h varasm.h.
3054         * config/msp430/msp430.c: Likewise.
3055         * predict.c: Likewise.
3056         * value-prof.c: Likewise.
3057         * config/epiphany/epiphany.c: Include dojump.h emit-rtl.h explow.h
3058         expmed.h fixed-value.h hashtab.h statistics.h stmt.h.
3059         * config/microblaze/microblaze.c: Likewise.
3060         * config/nios2/nios2.c: Likewise.
3061         * config/rs6000/rs6000.c: Likewise.
3062         * tree.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
3063         insn-config.h real.h rtl.h statistics.h stmt.h.
3064         * cgraph.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
3065         insn-config.h real.h statistics.h stmt.h.
3066         * fold-const.c: Include dojump.h emit-rtl.h explow.h expmed.h
3067         fixed-value.h insn-config.h real.h statistics.h stmt.h varasm.h.
3068         * tree-inline.c: Include dojump.h emit-rtl.h explow.h expmed.h
3069         fixed-value.h real.h rtl.h statistics.h stmt.h varasm.h.
3070         * builtins.c: Include dojump.h emit-rtl.h explow.h expmed.h
3071         fixed-value.h real.h statistics.h stmt.h.
3072         * config/arc/arc.c: Include dojump.h emit-rtl.h explow.h expmed.h
3073         fixed-value.h statistics.h stmt.h.
3074         * config/visium/visium.c: Include dojump.h emit-rtl.h explow.h expmed.h
3075         stmt.h.
3077 2015-01-15  Jakub Jelinek  <jakub@redhat.com>
3079         * gengtype.c (create_user_defined_type): Workaround
3080         -Wmaybe-uninitialized false positives.
3081         * cse.c (fold_rtx): Likewise.
3082         * loop-invariant.c (gain_for_invariant): Likewise.
3084 2015-01-15  Eric Botcazou  <ebotcazou@adacore.com>
3086         * expr.c (expand_expr_real_1) <normal_inner_ref>: Use the expression to
3087         set the memory attributes in all cases but clear MEM_EXPR if need be.
3089 2015-01-15  Yuri Rumyantsev  <ysrumyan@gmail.com>
3091         PR tree-optimization/64434
3092         * cfgexpand.c (reorder_operands): New function.
3093         (expand_gimple_basic_block): Insert call of reorder_operands if
3094         optimized is true.
3096 2015-01-15  Matthew Fortune  <matthew.fortune@imgtec.com>
3098         * config/mips/micromips.md (*swp): Remove explicit parallel.
3099         (jraddiusp, *movep<MOVEP1:mode><MOVEP2:mode>): Likewise.
3100         * config/mips/mips-dsp.md (add<DSPV:mode>3): Likewise.
3101         (mips_add<DSP:dspfmt1>_s_<DSP:dspfmt2>, sub<DSPV:mode>3): Likewise.
3102         (mips_sub<DSP:dspfmt1>_s_<DSP:dspfmt2>, mips_addsc): Likewise.
3103         (mips_addwc, mips_absq_s_<DSPQ:dspfmt2>): Likewise.
3104         (mips_precrq_rs_ph_w, mips_precrqu_s_qb_ph): Likewise.
3105         (mips_shll_<DSPV:dspfmt2>, mips_shll_s_<DSPQ:dspfmt2>): Likewise.
3106         (mips_muleu_s_ph_qbl, mips_muleu_s_ph_qbr): Likewise.
3107         (mips_mulq_rs_ph, mips_muleq_s_w_phl, mips_muleq_s_w_phr): Likewise.
3108         (mips_dpaq_s_w_ph, mips_dpsq_s_w_ph, mips_mulsaq_s_w_ph): Likewise.
3109         (mips_dpaq_sa_l_w, mips_dpsq_sa_l_w, mips_maq_s_w_phl): Likewise.
3110         (mips_maq_s_w_phr, mips_maq_sa_w_phl, mips_maq_sa_w_phr): Likewise.
3111         (mips_extr_w, mips_extr_r_w, mips_extr_rs_w): Likewise.
3112         (mips_extr_s_h, mips_extp, mips_extpdp, mips_mthlip): Likewise.
3113         (mips_wrdsp): Likewise.
3114         * config/mips/mips-dspr2.md (mips_absq_s_qb): Remove explicit
3115         parallel.
3116         (mips_addu_ph, mips_addu_s_ph, mips_cmpgdu_eq_qb): Likewise.
3117         (mips_cmpgdu_lt_qb, mips_cmpgdu_le_qb, mulv2hi3): Likewise.
3118         (mips_mul_s_ph, mips_mulq_rs_w, mips_mulq_s_ph): Likewise.
3119         (mips_mulq_s_w, mips_subu_ph, mips_subu_s_ph): Likewise.
3120         (mips_dpaqx_s_w_ph, mips_dpaqx_sa_w_ph): Likewise.
3121         (mips_dpsqx_s_w_ph, mips_dpsqx_sa_w_ph): Likewise.
3122         * config/mips/mips-fixed.md (usadd<mode>3): Remove explicit parallel.
3123         (ssadd<mode>3, ussub<mode>3, sssub<mode>3, ssmul<mode>3): Likewise.
3124         (ssmaddsqdq4, ssmsubsqdq4): Likewise.
3126 2015-01-14  Matthew Fortune  <matthew.fortune@imgtec.com>
3128         * config/mips/mips.c (mips_rtx_costs): Set costs for LSA/DLSA.
3129         (mips_print_operand): Support 'y' to print exact log2 in decimal
3130         of a const_int.
3131         * config/mips/mips.h (ISA_HAS_LSA): New define.
3132         (ISA_HAS_DLSA): Likewise.
3133         * config/mips/mips.md (<GPR:d>lsa): New define_insn.
3134         * config/mips/predicates.md (const_immlsa_operand): New predicate.
3136 2015-01-15  Martin Liska  <mliska@suse.cz>
3138         PR target/64377
3139         * optc-save-gen.awk: Add support for array types.
3141 2015-01-15  Richard Biener  <rguenther@suse.de>
3143         PR middle-end/64365
3144         * tree-data-ref.c (dr_analyze_indices): Make sure that accesses
3145         for MEM_REF access functions with the same base can never partially
3146         overlap.
3148 2015-01-14  Marcos Diaz <marcos.diaz@tallertechnologies.com>
3150         * common.opt: New option -fstack-protector-explicit.
3151         * cfgexpand.c (SPCT_FLAG_EXPLICIT): New enum.
3152         (stack_protect_decl_phase): Handle stack_protect attribute for
3153         explicit stack protection requests.
3154         (expand_used_vars): Similarly.
3155         * doc/cpp.texi (__SSP_EXPLICIT__): Document predefined macro.
3156         * doc/extend.texi: Add documentation for "stack_protect" attribute.
3157         * doc/invoke.texi: Add documentation for -fstack-protector-explicit.
3159 2015-01-14  Oleg Endo  <olegendo@gcc.gnu.org>
3161         PR target/53988
3162         * config/sh/sh-protos.h (sh_find_set_of_reg): Add option to ignore
3163         reg-reg copies.
3164         (sh_extending_set_of_reg): New struct.
3165         (sh_find_extending_set_of_reg, sh_split_tst_subregs,
3166         sh_remove_reg_dead_or_unused_notes): New Declarations.
3167         * config/sh/sh.c (sh_remove_reg_dead_or_unused_notes,
3168         sh_find_extending_set_of_reg, sh_split_tst_subregs,
3169         sh_extending_set_of_reg::use_as_extended_reg): New functions.
3170         * config/sh/sh.md (*tst<mode>_t_zero): Rename to *tst<mode>_t_subregs,
3171         convert to insn_and_split and use new function sh_split_tst_subregs.
3173 2015-01-14  Sandra Loosemore  <sandra@codesourcery.com>
3175         * doc/invoke.texi (Option Summary): Reclassify -fuse-ld as a linker
3176         option.
3177         (Optimization Options): Move -fuse-ld documentation to...
3178         (Link Options): ...here.
3180 2015-01-14  Matthew Fortune  <matthew.fortune@imgtec.com>
3182         * config/mips/constraints.md (ZC): Add support for R6 LL/SC
3183         offsets.
3184         (ZD): Update to use ISA_HAS_9BIT_DISPLACEMENT.
3185         * config/mips/mips.h (ISA_HAS_PREFETCH_9BIT): Rename to...
3186         (ISA_HAS_9BIT_DISPLACEMENT): ... this. New macro.
3187         * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZC
3188         instead of ZR for the memory operand of LL/SC.
3189         (compare_and_swap_12, sync_add<mode>): Likewise.
3190         (sync_<optab>_12, sync_old_<optab>_12): Likewise.
3191         (sync_new_<optab>_12, sync_nand_12): Likewise.
3192         (sync_old_nand_12, sync_new_nand_12): Likewise.
3193         (sync_sub<mode>, sync_old_add<mode>): Likewise.
3194         (sync_old_sub<mode>, sync_new_add<mode>): Likewise.
3195         (sync_new_sub<mode>, sync_<optab><mode>): Likewise.
3196         (sync_old_<optab><mode>, sync_new_<optab><mode>"): Likewise.
3197         (sync_nand<mode>, sync_old_nand<mode>): Likewise.
3198         (sync_new_nand<mode>, sync_lock_test_and_set<mode>): Likewise.
3199         (test_and_set_12, atomic_compare_and_swap<mode>): Likewise.
3200         (atomic_exchange<mode>_llsc, atomic_fetch_add<mode>_llsc): Likewise.
3201         * doc/md.texi (ZC): Update description.
3203 2015-01-14  Andrew MacLeod  <amacleod@redhat.com>
3205         * builtins.c (expand_builtin_atomic_exchange): Remove error when
3206         memory model is CONSUME.
3207         (expand_builtin_atomic_compare_exchange, expand_builtin_atomic_load,
3208         expand_builtin_atomic_store): Change invalid memory model errors to
3209         warnings.
3210         (expand_builtin_atomic_clear): Change invalid model errors to warnings
3211         and issue warning for CONSUME.
3213 2015-01-14  Aldy Hernandez  <aldyh@redhat.com>
3215         * lto-cgraph: Update function comments for
3216         lto_symtab_encoder_encode_*.
3218 2015-01-14  Ilya Verbin  <ilya.verbin@intel.com>
3220         * Makefile.in (site.exp): Do not set ENABLE_LTO.
3222 2015-01-14  Ilya Verbin  <ilya.verbin@intel.com>
3224         * cgraphunit.c (ipa_passes): Remove argument from ipa_write_summaries.
3225         * lto-cgraph.c (select_what_to_stream): Remove argument, use
3226         lto_stream_offload_p instead.
3227         * lto-streamer.h (select_what_to_stream): Remove argument.
3228         * passes.c (ipa_write_summaries): Likewise.
3229         * tree-pass.h (ipa_write_summaries): Likewise.
3231 2015-01-14  Richard Biener  <rguenther@suse.de>
3233         PR tree-optimization/59354
3234         * tree-vect-slp.c (vect_build_slp_tree_1): Treat loads from
3235         groups larger than the slp group size as having gaps.
3237 2015-01-14  Andrew MacLeod  <amacleod@redhat.com>
3239         PR middle-end/59448
3240         * builtins.c (get_memmodel): Promote consume to acquire always.
3242 2015-01-14  Ilya Tocar  <ilya.tocar@intel.com>
3244         PR target/64386
3245         * config/i386/i386.c (ix86_expand_sse_cmp): Handle V64QImode,
3246         V32HImode.
3248 2015-01-14  Ilya Tocar  <ilya.tocar@intel.com>
3250         PR target/64393
3251         * common/config/i386/i386-common.c (OPTION_MASK_ISA_AVX512VBMI_SET):
3252         Enable AVX512BW.
3253         (OPTION_MASK_ISA_AVX512BW_UNSET): Disable AVX512VBMI.
3254         * config/i386/i386.c (ix86_hard_regno_mode_ok): Don't check
3255         AVX512VBMI, as it implies AVX512BW.
3257 2015-01-14  Ilya Tocar  <ilya.tocar@intel.com>
3259         PR target/64387
3260         * config/i386/sse.md (vec_unpacks_hi_v8sf): Fix predicate.
3261         (vec_unpacks_hi_v16sf): Ditto.
3263 2015-01-14  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
3265         * config/aarch64/arm_neon.h: Error out if AdvancedSIMD
3266         is not available.
3268 2015-01-14  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
3270         * doc/invoke.texi (mapcs): Mention deprecation.
3271         (mapcs-frame): Likewise.
3273 2015-01-14  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3275         PR target/64453
3276         * config/arm/arm.c (callee_saved_reg_p): Define.
3277         (arm_compute_save_reg0_reg12_mask): Use callee_saved_reg_p to check if
3278         register is callee saved instead of !call_used_regs[reg].
3279         (thumb1_compute_save_reg_mask): Likewise.
3281 2015-01-14  Hale Wang  <hale.wang@arm.com>
3283         * config/arm/arm.c: Tune the max_cond_insns/branch_cost for
3284         Cortex-M7.
3286 2015-01-14  Richard Biener  <rguenther@suse.de>
3288         PR lto/64415
3289         * tree-inline.c (insert_debug_decl_map): Check destination
3290         function MAY_HAVE_DEBUG_STMTS.
3291         (insert_init_debug_bind): Likewise.
3292         (insert_init_stmt): Remove redundant check.
3293         (remap_gimple_stmt): Drop debug stmts if the destination
3294         function has var-tracking assignments disabled.
3296 2015-01-14  Martin Liska  <mliska@suse.cz>
3298         * ipa-icf-gimple.c (func_checker::compare_operand): Add support for
3299         IMAGPART_EXPR and REALPART_EXPR and fix BIT_FIELD_REF comparison.
3301 2015-01-14  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
3303         PR target/64460
3304         * config/arm/arm.md (*<arith_shift_insn>_multsi): Set 'shift' to 2.
3305         (*<arith_shift_insn>_shiftsi): Set 'shift' attr to 3.
3307 2015-01-14  Matthew Fortune  <matthew.fortune@imgtec.com>
3309         * config/mips/mips.h (MIPS_ISA_LEVEL_SPEC): Only infer an ISA
3310         level from an ARCH; do not inject the default.
3311         (MIPS_DEFAULT_ISA_LEVEL_SPEC): New macro split out from
3312         MIPS_ISA_LEVEL_SPEC.
3313         (MIPS_ISA_NAN2008_SPEC): Update comment.
3314         (BASE_DRIVER_SELF_SPECS): Likewise.
3315         * config/mips/elfoabi.h (DRIVER_SELF_SPECS): Add
3316         MIPS_DEFAULT_ISA_LEVEL_SPEC.
3317         * config/mips/mti-elf.h (DRIVER_SELF_SPECS): Likewise.
3318         * config/mips/mti-linux.h (DRIVER_SELF_SPECS): Likewise.
3319         * config/mips/sde.h (DRIVER_SELF_SPECS): Likewise.
3321 2015-01-14  Richard Biener  <rguenther@suse.de>
3323         PR tree-optimization/64493
3324         PR tree-optimization/64495
3325         * tree-vect-loop.c (vect_finalize_reduction): For double-reductions
3326         assign the proper vectorized PHI to the inner loop exit PHIs.
3328 2015-01-14  Joey Ye  <joey.ye@arm.com>
3330         * config/arm/arm.c (arm_compute_save_reg_mask):
3331         Do not save lr in case of tail call.
3332         * config/arm/thumb2.md (*thumb2_pop_single): New pattern.
3334 2015-01-14  Martin Uecker <uecker@eecs.berkeley.edu>
3336         * tree-vrp.c (check_array_ref): Emit more warnings
3337         for warn_array_bounds >= 2.
3338         * common.opt: New option -Warray-bounds=.
3339         * doc/invoke.texi: Document -Warray-bounds=.
3341 2015-01-14  Chung-Ju Wu  <jasonwucj@gmail.com>
3343         * config/nds32/nds32.opt (mforce-fp-as-gp): Remove.
3344         (mforbid-fp-as-gp): Remove.
3345         (mex9): Remove.
3346         * config/nds32/nds32-fp-as-gp.c (nds32_have_prologue_p): Remove.
3347         (nds32_symbol_load_store_p): Remove.
3348         (nds32_fp_as_gp_check_available): Clean up implementation.
3349         * config/nds32/nds32.h (LINK_SPEC): Remove -mforce-as-gp and -mex9
3350         cases.
3351         * config/nds32/nds32.c (nds32_asm_file_start): No need to consider
3352         fp-as-gp and ex9 cases.
3354 2015-01-13  Jan Hubicka  <hubicka@ucw.cz>
3356         * tree-profile.c (init_ic_make_global_vars): Drop workaround
3357         for bintuils bug 14342.
3358         (init_ic_make_global_vars): Likewise.
3359         (gimple_init_edge_profiler): Likewise.
3360         (gimple_gen_ic_func_profiler): Likewise.
3362 2015-01-13  Naveen H.S  <Naveen.Hurugalawadi@caviumnetworks.com>
3364         * ipa-inline.c (inline_small_functions): Swap the operands in
3365         enum.
3367 2015-01-13  Jan Hubicka  <hubicka@ucw.cz>
3369         PR ipa/64481
3370         * ipa-inline-analysis.c (node_growth_cache): Remove.
3371         (initialize_growth_caches): Do not initialize it.
3372         (free_growth_caches): Do not free it.
3373         (do_estimate_growth): Rename to ...
3374         (estimate_growth): ... this one; drop growth cache code.
3375         (growth_likely_positive): Always go the heuristics way.
3376         * ipa-inline.c (can_inline_edge_p): Walk through aliases.
3377         (reset_edge_caches): Do not reset node growth.
3378         (heap_edge_removal_hook): Do not maintain cache.
3379         (inline_small_functions): Likewise; strenghten sanity check.
3380         (ipa_inline): Do not maintain caches.
3381         * ipa-inline.h (node_growth_cache): Remove.
3382         (do_estimate_growth): Remove to ...
3383         (estimate_growth): this one; remove inline version.
3384         (reset_node_growth_cache): Remove.
3386 2015-01-13  Jan Hubicka  <hubicka@ucw.cz>
3388         PR ipa/64565
3389         * ipa-inline.c (inline_small_functions): Update callee keys after
3390         resolving speculation
3391         (inline_small_functions): Always check monotonicity of the queue.
3393 2015-01-13  Marek Polacek  <polacek@redhat.com>
3395         PR middle-end/64391
3396         * trans-mem.c (get_attrs_for): Return NULL_TREE if X is NULL_TREE.
3398 2015-01-13  Jakub Jelinek  <jakub@redhat.com>
3400         PR rtl-optimization/64286
3401         * ree.c (combine_reaching_defs): Move part of comment earlier,
3402         remove !SCALAR_INT_MODE_P check.
3403         (add_removable_extension): Don't add vector mode
3404         extensions if all uses of the source register aren't the same
3405         vector extensions.
3407 2015-01-13  Renlin Li  <renlin.li@arm.com>
3409         * config/arm/arm.h (CLZ_DEFINED_VALUE_AT_ZERO): Return 2.
3410         (CTZ_DEFINED_VALUE_AT_ZERO): Ditto.
3412 2015-01-13  Martin Liska  <mliska@suse.cz>
3414         * ipa-icf.c (sem_function::equals_private): Call new functions
3415         cl_target_option_print_diff and cl_optimization_print_diff.
3416         * optc-save-gen.awk (cl_target_option_print_diff): New function.
3417         (cl_optimization_print_diff): Likewise.
3418         * opth-gen.awk: Likewise.
3420 2015-01-13  Richard Sandiford  <richard.sandiford@arm.com>
3422         * config/aarch64/aarch64.md (subsi3, *subsi3_uxtw, subdi3)
3423         (*sub_<optab><ALLX:mode>_<GPI:mode>, *sub_<optab><SHORT:mode>_si_uxtw)
3424         (*sub_<optab><ALLX:mode>_shft_<GPI:mode>)
3425         (*sub_<optab><SHORT:mode>_shft_si_uxtw, *sub_<optab><mode>_multp2)
3426         (*sub_<optab>si_multp2_uxtw, *sub_uxt<mode>_multp2)
3427         (*sub_uxtsi_multp2_uxtw): Add stack pointer sources.
3429 2015-01-13  Andrew Pinski   <apinski@cavium.com>
3431         * config/aarch64/aarch64.c (fusion_load_store): Check dest mode
3432         instead of src mode.
3434 2015-01-13  Richard Biener  <rguenther@suse.de>
3436         PR lto/64373
3437         * lto-streamer-out.c (tree_is_indexable): Guard for NULL
3438         DECL_CONTEXT.
3440 2015-01-13  Andrew Pinski   <apinski@cavium.com>
3442         * config/aarch64/aarch64.c (aarch64_operands_ok_for_ldpstp): Reject
3443         volatile mems.
3444         (aarch64_operands_adjust_ok_for_ldpstp): Likewise.
3446 2015-01-13  Jakub Jelinek  <jakub@redhat.com>
3448         PR middle-end/63974
3449         * cfgexpand.c (expand_computed_goto): Don't call
3450         convert_memory_address here.
3452 2015-01-13  Richard Biener  <rguenther@suse.de>
3454         PR tree-optimization/64406
3455         * tree-loop-distibution.c (pass_loop_distribution::execute):
3456         Reset the SCEV hashtable if we distributed anything.
3458 2015-01-13  Richard Biener  <rguenther@suse.de>
3460         PR tree-optimization/64404
3461         * tree-vect-stmts.c (vectorizable_load): Reject conflicting
3462         SLP types for CSEd loads.
3464 2015-01-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3466         PR tree-optimization/64436
3467         * tree-ssa-math-opts.c (find_bswap_or_nop_1): Move code performing the
3468         merge of two symbolic numbers for a bitwise OR to ...
3469         (perform_symbolic_merge): This. Also fix computation of the range and
3470         end of the symbolic number corresponding to the result of a bitwise OR.
3472 2015-01-13  Richard Biener  <rguenther@suse.de>
3474         PR tree-optimization/64568
3475         * tree-ssa-forwprop.c (pass_forwprop::execute): Properly
3476         release defs of removed stmts, avoid splitting TARGET_MEM_REFs.
3478 2015-01-13  Chung-Ju Wu  <jasonwucj@gmail.com>
3480         * config/nds32/nds32.c (nds32_legitimate_address_p): Consider
3481         TARGET_CMODEL_LARGE and TARGET_CMODEL_MEDIUM cases.
3483 2015-01-13  Chung-Ju Wu  <jasonwucj@gmail.com>
3485         * config/nds32/nds32.h (NDS32_SYMBOL_FLAG_RODATA): Define our own
3486         target-specific symbol_ref flag.
3487         (NDS32_SYMBOL_REF_RODATA_P): Define it to check if the symbol_ref
3488         resides in rodata section.
3489         * config/nds32/nds32.c (TARGET_ENCODE_SECTION_INFO): Define.
3490         (nds32_encode_section_info): New function.
3492 2015-01-13  Chung-Ju Wu  <jasonwucj@gmail.com>
3494         * config/nds32/nds32.md (call): Use pseudo instruction bal which
3495         clobbers TA_REGNUM if large code model is specified.
3496         (call_register): Likewise.
3497         (call_immediate): Likewise.
3498         (call_value): Likewise.
3499         (call_value_register): Likewise.
3500         (call_value_immediate): Likewise.
3502 2015-01-13  Chung-Ju Wu  <jasonwucj@gmail.com>
3504         * config/nds32/nds32.h (TARGET_CMODEL_SMALL): New macro.
3505         (TARGET_CMODEL_MEDIUM): New macro.
3506         (TARGET_CMODEL_LARGE): New macro.
3507         * config/nds32/nds32.c (nds32_asm_file_start): Display corresponding
3508         code model setting in assembly code.
3510 2015-01-13  Chung-Ju Wu  <jasonwucj@gmail.com>
3512         * common/config/nds32/nds32-common.c (TARGET_DEFAULT_TARGET_FLAGS):
3513         Remove MASK_GP_DIRECT flag.
3514         * config/nds32/nds32.h (MULTILIB_DEFAULTS): Have -mcmodel=medium as
3515         one of the multilib default options.
3516         * config/nds32/nds32.opt (mgp-direct): Remove.
3517         * config/nds32/t-mlibs (MULTILIB_OPTIONS): Use -mcmodel instead of
3518         -mgp-direct.  We also remove unnecessary -mlittle-endian/-mbig-endian.
3520 2015-01-13  Chung-Ju Wu  <jasonwucj@gmail.com>
3522         * config/nds32/nds32.opt (mcmodel): Add new option.
3523         * config/nds32/nds32-opts.h (nds32_cmodel_type): Add new enum type
3524         to describe code model.
3526 2015-01-13  Oleg Endo  <olegendo@gcc.gnu.org>
3528         PR target/64479
3529         * rtlanal.c (set_reg_p): Handle SEQUENCE constructs.
3531 2015-01-12  Kaz Kojima  <kkojima@gcc.gnu.org>
3533         * config/sh/sh.c (sh_atomic_assign_expand_fenv): New function.
3534         (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): Define.
3535         (sh_builtin_get_fpscr, sh_builtin_set_fpscr): New variables.
3536         (sh_init_builtins): Record decls for __builtin_sh_get_fpscr and
3537         __builtin_sh_set_fpscr.
3539 2015-01-12  Sandra Loosemore  <sandra@codesourcery.com>
3541         * doc/invoke.texi ([-Wsuggest-attribute=]): Don't use parentheses
3542         after a funtion name just to indicate it is a function.
3543         ([-fsanitize-undefined-trap-on-error]): Likewise.
3544         ([-fdbg-cnt=]): Likewise.
3545         ([-mmemcpy]): Likewise.
3546         ([-mflush-func]): Likewise.
3547         ([-msynci]): Likewise.
3549 2015-01-12  Sandra Loosemore  <sandra@codesourcery.com>
3551         * doc/invoke.texi ([-Wbad-function-cast]): Rewrite to avoid confusing
3552         example.
3554 2015-01-12  Jakub Jelinek  <jakub@redhat.com>
3556         PR tree-optimization/64563
3557         * tree-vrp.c (vrp_evaluate_conditional): Check for VR_RANGE
3558         instead of != VR_VARYING.
3560         PR target/64513
3561         * config/i386/i386.c (ix86_expand_prologue): Add
3562         REG_FRAME_RELATED_EXPR to %rax and %r10 pushes.
3564         PR tree-optimization/64454
3565         * tree-vrp.c (simplify_div_or_mod_using_ranges): Optimize
3566         op0 % op1 into op0 if op0 is in range [-op1 + 1, op1 - 1]
3567         for signed or [0, op1 - 1] for unsigned modulo.
3568         (simplify_stmt_using_ranges): Call simplify_div_or_mod_using_ranges
3569         even if op1 does not satisfy integer_pow2p.
3571         PR other/64370
3572         * sreal.c (sreal::to_double): Use ldexp instead of scalbnl.
3574 2015-01-12  Jeff Law  <law@redhat.com>
3576         PR target/64461
3577         * config/m68k/m68k.md (truncsiqi2): Disable for TARGET_COLDFIRE.
3578         (trunchiqi2, truncsihi2): Similarly.
3580         * config/h8300/h8300.c (Fpa): Use RTX_FRAME_RELATED_P directly
3581         rather than calling F.
3583 2015-01-12  Bernd Edlinger  <bernd.edlinger@hotmail.de>
3585         * tsan.c (instrument_expr): Use force_gimple_operand.
3586         Use may_be_nonaddressable_p instead of is_gimple_addressable.
3588 2015-01-12  Richard Biener  <rguenther@suse.de>
3590         PR tree-optimization/64530
3591         * tree-loop-distribution.c (pg_add_dependence_edges): Shuffle
3592         back dr1.
3594 2015-01-12  Richard Biener  <rguenther@suse.de>
3596         PR middle-end/64357
3597         * tree-cfg.c (gimple_can_merge_blocks_p): Protect simple
3598         latches properly.
3600 2015-01-12  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
3602         * config/arm/arm.c (arm_cortex_a12_tune): Update entries to match
3603         Cortex-A17 tuning parameters.
3604         * config/arm/arm-cores.def (cortex-a12): Schedule for cortex-a17.
3606 2015-01-12  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
3608         * config/arm/arm-protos.h (tune_params): Add fuseable_ops field.
3609         * config/arm/arm.c (arm_macro_fusion_p): New function.
3610         (arm_macro_fusion_pair_p): Likewise.
3611         (TARGET_SCHED_MACRO_FUSION_P): Define.
3612         (TARGET_SCHED_MACRO_FUSION_PAIR_P): Likewise.
3613         (ARM_FUSE_NOTHING): Likewise.
3614         (ARM_FUSE_MOVW_MOVT): Likewise.
3615         (arm_slowmul_tune, arm_fastmul_tune, arm_strongarm_tune,
3616         arm_xscale_tune, arm_9e_tune, arm_v6t2_tune, arm_cortex_tune,
3617         arm_cortex_a8_tune, arm_cortex_a7_tune, arm_cortex_a15_tune,
3618         arm_cortex_a53_tune, arm_cortex_a57_tune, arm_cortex_a9_tune,
3619         arm_cortex_a12_tune, arm_v7m_tune, arm_v6m_tune, arm_fa726te_tune
3620         arm_cortex_a5_tune): Specify fuseable_ops value.
3622 2015-01-12  H.J. Lu  <hongjiu.lu@intel.com>
3624         PR bootstrap/64561
3625         * configure.ac (HAVE_LD_PIE_COPYRELOC): Update Linux/x86-64 linker
3626         test for PIE with copy reloc.
3627         * configure: Regenerated.
3629 2015-01-12  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
3631         * config/arm/arm.c (arm_load_tp): Use R0_REGNUM instead of constant 0
3632         in gen_rtx_REG.
3633         (arm_tls_descseq_addr): Likewise.
3634         (arm_gen_movmemqi): Likewise.
3635         (arm_expand_epilogue_apcs_frame): Likewise.
3636         (arm_expand_epilogue): Likewise.
3637         (arm_expand_prologue): Likewise.  Use R1_REGNUM instead of constant 1
3638         in gen_rtx_REG.
3640 2015-01-12  Martin Liska  <mliska@suse.cz>
3642         PR ipa/64550
3643         * ipa-icf-gimple.c (func_checker::compare_memory_operand): Compare
3644         volatility for correct operands.
3646 2015-01-12  Martin Liska  <mliska@suse.cz>
3648         * ipa-icf.c (sem_function::equals_wpa): Add indirect_calls as indication
3649         that a function is not leaf.
3650         (sem_function::compare_polymorphic_p): Likewise.
3652 2015-01-12  Martin Liska  <mliska@suse.cz>
3654         * ipa-icf.c (sem_function::equals_wpa): Add indirect_calls as indication
3655         that a function is not leaf.
3656         (sem_function::compare_polymorphic_p): Likewise.
3658 2015-01-12  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>
3660         * config/visium/visium.c: Add includes hashtab.h, hash-set.h,
3661         machmode.h, input.h, statistics.h, vec.h, double-int.h, real.h,
3662         fixed-value.h, alias.h, symtab.h, tree-core.h, wide-int.h, inchash.h,
3663         fold-const.h, tree-check.h.
3665 2015-01-12  Jan Hubicka  <hubicka@ucw.cz>
3667         PR ipa/63967
3668         PR ipa/64425
3669         * ipa-inline.c (compute_uninlined_call_time,
3670         compute_inlined_call_time): Use counts for extra precision when
3671         needed possible.
3672         (big_speedup_p): Fix formating.
3673         (RELATIVE_TIME_BENEFIT_RANGE): Remove.
3674         (relative_time_benefit): Remove.
3675         (edge_badness): Turn DECL_DISREGARD_INLINE_LIMITS into hint;
3676         merge guessed and read profile paths.
3677         (inline_small_functions): Count only !optimize_size functions into
3678         initial size; be more lax about sanity check when profile is used;
3679         be sure to update inlined function profile when profile is read.
3681 2015-01-12  Jan Hubicka  <hubicka@ucw.cz>
3683         PR ipa/63470
3684         * ipa-inline-analysis.c (inline_edge_duplication_hook): Adjust
3685         cost when edge becomes direct.
3686         * ipa-prop.c (make_edge_direct): Do not adjust when speculation
3687         is resolved or when introducing new speculation.
3689 2015-01-12  Chen Gang  <gang.chen.5i5j@gmail.com>
3691         PR ipa/64551
3692         PR ipa/64552
3693         * ipa-icf.c (sem_function::equals_private): Use '&&' instead of
3694         '||' to fix typo issue.
3696         * gcc/tree.h (target_opts_for_fn): Check NULL_TREE since it can
3697         accept and return NULL.
3699 2015-01-12  Martin Liska  <mliska@suse.cz>
3701         * cgraph.c (cgraph_edge::remove_callee): Move function to header
3702         file for being inlined.
3703         (cgraph_set_edge_callee): Delete.
3704         (cgraph_edge::redirect_callee): Move function to header file
3705         for being inlined.
3706         (cgraph_edge::make_direct): Use new function.
3707         (cgraph_edge::dump_edge_flags): New function created from
3708         static dump_edge_flags function.
3709         (cgraph_node::dump): Use new function.
3710         (cgraph_edge::verify_count_and_frequency): New function created
3711         from verify_edge_count_and_frequency.
3712         (cgraph_edge::verify_corresponds_to_fndecl): New function created
3713         from verify_edge_corresponds_to_fndecl.
3714         (verify_edge_corresponds_to_fndecl): Delete.
3715         (cgraph_node::verify_node): Use new function.
3716         * cgraph.h (cgraph_edge::set_callee): New function.
3717         (cgraph_edge::dump_edge_flags): Likewise.
3718         (cgraph_edge::verify_corresponds_to_fndecl): Likewise.
3720 2015-01-11  Jan Hubicka  <hubicka@ucw.cz>
3722         * ipa-utils.c (estimate_function_body_sizes): Do not
3723         free node params when called late with early=true.
3725 2015-01-11  James Greenhalgh  <james.greenhalgh@arm.com>
3727         * doc/md.texi (Instruction Patterns): Rewrite text for
3728         clarity.
3729         (Example): Likewise.
3731 2015-01-10  Sandra Loosemore  <sandra@codesourcery.com>
3733         * doc/invoke.texi (Option Summary): Break long lines.
3734         [(-fdiagnostics-color)]: Put long literal in @smallexample
3735         instead of inline.
3736         [(-fsanitize-recover)]: Likewise.
3737         [(-fdump-rtl-split*)]: Rewrite to fix over-full hbox.
3738         [(-ffast-math)]: Likewise.
3739         [(--param max-inline-insns-recursive)]: Likewise.
3740         [(--param max-inline-recursive-depth)]: Likewise.
3741         [(-mno-text-section-literals)]: Likewise.
3743 2015-01-10  Thomas Schwinge  <thomas@codesourcery.com>
3745         * doc/install.texi: Update for libgomp being renamed from "GNU
3746         OpenMP Runtime Library" to "GNU Offloading and Multi Processing
3747         Runtime Library".
3748         * doc/sourcebuild.texi: Likewise.
3750 2015-01-10  Anthony Green  <green@moxielogic.com>
3752         * config/moxie/moxie.c (moxie_option_override): Fix forcing of
3753         mul.x availability for moxiebox configuration.
3755 2015-01-09  Anthony Green  <green@moxielogic.com>
3757         * config/moxie/moxie.md: Tabify assembly output.
3759 2015-01-09  Anthony Green  <green@moxielogic.com>
3761         * config/moxie/moxie.md (CC_REG): Correct register definition.
3763 2015-01-09  Sandra Loosemore  <sandra@codesourcery.com>
3765         * doc/invoke.texi ([-fvtable-verify]): Copy-edit and fix markup.
3766         ([-fvtv-debug], [-fvtv-counts]): Likewise.  Correct location
3767         of log files.
3769 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
3771         * config/arm/arm.h (MAX_SYNC_LIBFUNC_SIZE): Delete semicolon.
3773 2015-01-09  Bernd Schmidt  <bernds@codesourcery.com>
3774             Jakub Jelinek  <jakub@redhat.com>
3776         PR middle-end/64412
3777         * lto-streamer.h (lto_stream_offload_p): New declaration.
3778         * lto-streamer.c (lto_stream_offload_p): New variable.
3779         * cgraphunit.c (ipa_passes): Set lto_stream_offload_p
3780         at the same time as section_name_prefix.
3781         * lto-streamer-out.c (hash_tree): Don't hash TREE_TARGET_OPTION
3782         if lto_stream_offload_p.
3783         * tree-streamer-out.c (streamer_pack_tree_bitfields): Don't
3784         stream TREE_TARGET_OPTION if lto_stream_offload_p.
3785         (write_ts_function_decl_tree_pointers): Don't
3786         stream DECL_FUNCTION_SPECIFIC_TARGET if lto_stream_offload_p.
3787         * tree-streamer-in.c (unpack_value_fields): Don't stream
3788         TREE_TARGET_OPTION in if ACCEL_COMPILER.
3789         (lto_input_ts_function_decl_tree_pointers): Don't stream
3790         DECL_FUNCTION_SPECIFIC_TARGET in if ACCEL_COMPILER.
3791         * lto-opts.c (lto_write_options): Use lto_stream_offload_p
3792         instead of section_name_prefix string comparisons.
3794 2015-01-09  Jakub Jelinek  <jakub@redhat.com>
3796         PR rtl-optimization/64536
3797         * cfgrtl.c (rtl_tidy_fallthru_edge): Handle removal of degenerate
3798         tablejumps.
3800 2015-01-09  Michael Collison  <michael.collison@linaro.org>
3802         PR tree-optimization/64322
3803         * tree-vrp.c (extract_range_from_binary_expr_1): Attempt to derive
3804         range for RSHIFT_EXPR even if vr0 range is not VR_RANGE or is symbolic.
3806 2015-01-09  Tom de Vries  <tom@codesourcery.com>
3808         PR rtl-optimization/64539
3809         * regcprop.c (kill_clobbered_values): Factor out of ...
3810         (copyprop_hardreg_forward_1): ... here.  Use kill_clobbered_values
3811         instead of note_stores with kill_clobbered_value.
3813 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
3815          * ginclude/unwind-arm-common.h: Revert previous commit.
3817 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
3819         * config.gcc (arm*-*-freebsd*): New configuration.
3820         * config/arm/freebsd.h: New file.
3821         * config.host: Add extra components for arm*-*-freebsd*.
3822         * config/arm/arm.h: Introduce MAX_SYNC_LIBFUNC_SIZE.
3823         * config/arm/arm.c (arm_init_libfuncs): Use MAX_SYNC_LIBFUNC_SIZE.
3825 2015-01-09  Sebastian Huber  <sebastian.huber@embedded-brains.de>
3827         * config/rs6000/rtems.h (CPP_OS_RTEMS_SPEC): Define __PPC_CPU_E6500__
3828         for -mcpu=e6500.
3829         * config/rs6000/t-rtems: Add e6500 multilibs.
3831 2015-01-09  Sebastian Huber  <sebastian.huber@embedded-brains.de>
3833         * config/rs6000/t-rtems: Add -mno-spe to soft-float multilib for
3834         MPC8540.
3836 2015-01-09  Sebastian Huber  <sebastian.huber@embedded-brains.de>
3838         * config/rs6000/t-rtems: Use MULTILIB_REQUIRED instead of
3839         MULTILIB_EXCEPTIONS.
3841 2015-01-09  Sebastian Huber  <sebastian.huber@embedded-brains.de>
3843         * config/arm/t-rtems: Use MULTILIB_REQUIRED instead of
3844         MULTILIB_EXCEPTIONS.
3846 2015-01-09  Sebastian Huber  <sebastian.huber@embedded-brains.de>
3848         * config/arm/t-rtems-eabi: Rename to...
3849         * config/arm/t-rtems: ...this.
3850         * config/arm/rtems-eabi.h: Rename to...
3851         * config/arm/rtems.h: ...this.
3852         * config.gcc (arm*-*-rtems*): Reflect changes above.
3854 2015-01-09  Richard Biener  <rguenther@suse.de>
3856         PR tree-optimization/64410
3857         * tree-ssa.c (non_rewritable_lvalue_p): Allow REALPART/IMAGPART_EXPR
3858         on the LHS.
3859         (execute_update_addresses_taken): Deal with that.
3860         * tree-ssa-forwprop.c (pass_forwprop::execute): Use component-wise
3861         loads/stores for complex variables.
3863 2015-01-09  Martin Liska  <mliska@suse.cz>
3865         * ipa-icf-gimple.c (func_checker::compare_ssa_name): Enhance SSA
3866         name comparison.
3867         (func_checker::compare_memory_operand): New function.
3868         (func_checker::compare_operand): Split case to newly
3869         added functions.
3870         (func_checker::compare_cst_or_decl): New function.
3871         (func_checker::compare_gimple_call): Identify
3872         memory operands.
3873         (func_checker::compare_gimple_assign): Likewise.
3874         * ipa-icf-gimple.h: New function.
3876 2015-01-09  Martin Liska  <mliska@suse.cz>
3878         PR ipa/64503
3879         * sreal.c (sreal::dump): Change unsigned format to signed for
3880         m_exp value.
3881         (sreal::to_double): Replace exp2 with scalbln.
3883 2015-01-09  Martin Liska  <mliska@suse.cz>
3885         * cgraphunit.c (cgraph_node::create_wrapper): Fix level of indentation.
3886         * ipa-icf.c (sem_function::equals_private): Add support for target and
3887         (sem_item_optimizer::merge_classes): Remove redundant function
3888         optimization flags comparison.
3889         * tree.h (target_opts_for_fn): New function.
3891 2015-01-09  Tom de Vries  <tom@codesourcery.com>
3893         * omp-low.c (expand_omp_for_static_chunk): Fix assert.
3895 2015-01-09  Kito Cheng  <kito@0xlab.org>
3897         PR rtl-optimization/64348
3898         * lra-constraints.c (split_reg): Fix caller-save store/restore
3899         instruction generation.
3901 2015-01-08  John David Anglin  <danglin@gcc.gnu.org>
3903         PR gcov-profile/61790
3904         * gcov-tool.c (do_rewrite): Use strtoll instead of atoll if host has
3905         long long.  Fallback to int64_t if host doesn't have long long and
3906         use strtol if int64_t is long.  Otherwise, use sscanf for conversion.
3908 2015-01-08  Jakub Jelinek  <jakub@redhat.com>
3910         PR tree-optimization/63989
3911         * params.def (PARAM_MAX_TRACKED_STRLENS): Increment default
3912         from 1000 to 10000.
3913         * tree-ssa-strlen.c (get_strinfo): Moved earlier.
3914         (get_stridx): If we don't have a record for certain SSA_NAME,
3915         but it is POINTER_PLUS_EXPR of some SSA_NAME we do with
3916         constant offset, call get_stridx_plus_constant.
3917         (get_stridx_plus_constant): New function.
3918         (zero_length_string): Don't use get_stridx here.
3920         PR target/55023
3921         PR middle-end/64388
3922         * dse.c (struct insn_info): Mention frame_read set also
3923         before reload for tail calls on some targets.
3924         (scan_insn): Revert 2014-12-22 change.  Set frame_read
3925         also before reload for tail calls if
3926         HARD_FRAME_POINTER_IS_ARG_POINTER.  Call add_wild_read
3927         instead of add_non_frame_wild_read for non-const/memset
3928         tail calls after reload.
3930 2015-01-08  Jason Merrill  <jason@redhat.com>
3932         * ubsan.c (do_ubsan_in_current_function): New.
3933         (pass_ubsan::gate): Use it.
3934         * ubsan.h: Declare it.
3935         * convert.c (convert_to_integer): Use it.
3937 2015-01-08  Jakub Jelinek  <jakub@redhat.com>
3939         PR target/64338
3940         * config/i386/i386.c (ix86_expand_int_movcc): Don't reverse
3941         compare_code when it is unconditionally overwritten afterwards.
3942         Use ix86_reverse_condition instead of reverse_condition.  Don't
3943         change code if *reverse_condition* returned UNKNOWN and don't
3944         swap ct/cf and negate diff in that case.
3946 2015-01-08  Mike Stump  <mikestump@comcast.net>
3948         * tsan.c (pass_tsan::gate): Add no_sanitize_thread support.
3949         (pass_tsan_O0::gate): Likewise.
3950         * extend.texi (Function Attributes): Add no_sanitize_thread
3951         documentation.
3953 2015-01-08  Thomas Schwinge  <thomas@codesourcery.com>
3955         * builtins.def (DEF_GOMP_BUILTIN): Also consider flag_offload_abi
3956         for registering builtins.
3957         * config/i386/intelmic-mkoffload.c (prepare_target_image): Don't
3958         add -fopenmp to the argv_obstack used when invoking
3959         compile_for_target.
3961         * config/i386/intelmic-mkoffload.c (compile_for_target): Always
3962         add "-m32" or "-m64" to argv_obstack.
3963         (generate_host_descr_file): Likewise, when invoking host_compiler.
3964         (main): Always add "-m elf_i386" or "-m elf_x86_64" when invoking
3965         ld.
3967 2015-01-08  Oleg Endo  <olegendo@gcc.gnu.org>
3969         * config/sh/sh-mem.cc: Use constant as second operand when emitting
3970         tstsi_t insns.
3972 2015-01-08  Oleg Endo  <olegendo@gcc.gnu.org>
3974         PR target/55212
3975         * config/sh/sh.md (*addsi3_compact): Emit reg-reg copy instead of
3976         constant load if constant operand fits into I08.
3978 2015-01-08  Jakub Jelinek  <jakub@redhat.com>
3980         PR sanitizer/64336
3981         * tree.c (build2_stat): Fix up initialization of TREE_READONLY
3982         and TREE_THIS_VOLATILE for MEM_REFs.
3983         (build5_stat): Fix up initialization of TREE_READONLY and
3984         TREE_THIS_VOLATILE for TARGET_MEM_REFs.
3986 2015-01-08  Kaz Kojima  <kkojima@gcc.gnu.org>
3988         PR target/64533
3989         * config/sh/sh.md (*addsi3_compact): Use u constraint instead
3990         of r for the second alternative of the destination operand.
3992 2015-01-07  Segher Boessenkool  <segher@kernel.crashing.org>
3994         PR target/36557
3995         * config/rs6000/rs6000.md (*eqsi3_ext<mode>, *nesi3_ext<mode>): New.
3997 2015-01-07  Sandra Loosemore  <sandra@codesourcery.com>
3999         * doc/invoke.texi ([-fvtable-verify]): Fix markup on option
4000         keywords.
4001         ([-fivar-visibility], [-fvisibility]): Likewise.
4003 2015-01-07  Sandra Loosemore  <sandra@codesourcery.com>
4005         * doc/invoke.texi: Fix incorrect uses of @samp markup throughout
4006         the file where @code, @command, etc is more appropriate.
4008 2015-01-06  Sandra Loosemore  <sandra@codesourcery.com>
4010         * doc/invoke.texi (RS/6000 and PowerPC Options): Tidy formatting
4011         of -mrecip= documentation.
4013 2015-01-06  Michael Meissner  <meissner@linux.vnet.ibm.com>
4015         PR target/64505
4016         * config/rs6000/rs6000.c (rs6000_secondary_reload): Return the
4017         correct reload handler if -m32 -mpowerpc64 is used.
4019 2015-01-06  Tom de Vries  <tom@codesourcery.com>
4021         * tree-ssa-tail-merge.c: Fix typo in struct same_succ_def comment.
4023 2015-01-08  Christian Bruel  <christian.bruel@st.com>
4025         PR target/64507
4026         * config/sh/sh-mem.cc (sh_expand_cmpnstr): Check 0 length.
4028 2015-01-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4030         PR tree-optimization/63259
4031         * tree-ssa-math-opts.c (pass_optimize_bswap::execute): Stop checking
4032         if optab exists for 16bit byteswap.
4034 2015-01-06  Jakub Jelinek  <jakub@redhat.com>
4036         * opts.c (common_handle_option): Add support for
4037         -fno-sanitize=all and -f{,no-}sanitize-recover=all.
4038         * doc/invoke.texi: Document -fno-sanitize=all,
4039         -f{,no-}sanitize-recover=all.  Document that
4040         -fsanitize=float-cast-overflow is not enabled
4041         by -fsanitize=undefined.  Fix up documentation
4042         of -f{,no-}sanitize-recover.
4044 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
4046         * config.gcc: Add Visium support.
4047         * configure.ac: Likewise.
4048         * configure: Regenerate.
4049         * doc/extend.texi (interrupt attribute): Add Visium.
4050         * doc/invoke.texi: Document Visium options.
4051         * doc/install.texi: Document Visium target.
4052         * doc/md.texi: Document Visium constraints.
4053         * common/config/visium: New directory.
4054         * config/visium: Likewise.
4056 2015-01-05  Segher Boessenkool  <segher@kernel.crashing.org>
4058         * simplify-rtx.c (simplify_binary_operation_1): Handle more cases
4059         for the "(and X (ior (not X) Y) -> (and X Y)" transform.
4061 2015-01-05  Segher Boessenkool  <segher@kernel.crashing.org>
4063         * combine.c (combine_validate_cost): Do not count the cost of a
4064         split I2 twice.  Do not display it twice in the dump, either.
4066 2015-01-05  Sandra Loosemore  <sandra@codesourcery.com>
4068         Revert parts of r219199.
4069         * doc/invoke.texi ([-Wliteral-suffix]): Restore markup on
4070         <inttypes.h>.
4071         ([-Wtraditional]): Restore markup on <limits.h>.
4073 2015-01-05  Trevor Saunders  <tsaunders@mozilla.com>
4075         PR c++/31397
4076         * doc/invoke.texi: Document -Wsuggest-override.
4078 2015-01-05  Radovan Obradovic  <radovan.obradovic@imgtec.com>
4080         PR rtl-optimization/64287
4081         * toplev.c (HAVE_epilogue, HAVE_prologue): Provide default.
4082         (process_options): Disable flag_ipa_ra if profiling.
4084 2015-01-05  Eric Botcazou  <ebotcazou@adacore.com>
4086         * config/nds32/nds32-peephole2.md: Do not mention define_peephole.
4088 2015-01-05  Max Filippov  <jcmvbkbc@gmail.com>
4090         * config/xtensa/xtensa.c (hwloop_optimize, hwloop_fail,
4091         hwloop_pattern_reg, xtensa_doloop_hooks, xtensa_reorg_loops):
4092         put under #if TARGET_LOOPS guard.
4094 2015-01-05  Uros Bizjak  <ubizjak@gmail.com>
4096         * config/i386/i386.c (output_387_binary_op): Use std::swap.
4098 2015-01-05  Oleg Endo  <olegendo@gcc.gnu.org>
4100         * rtlanal.c (refers_to_regno_p): Change return value from int to bool.
4101         * rtl.h (refers_to_regno_p): Add overload.
4102         * cse.c: Use it.
4103         * bt-load.c: Likewise.
4104         * combine.c: Likewise.
4105         * df-scan.c: Likewise.
4106         * sched-deps.c: Likewise.
4107         * config/s390/s390.c: Likewise.
4108         * config/m32r/m32r.c: Likewise.
4109         * config/rs6000/spe.md: Likewise.
4110         * config/rs6000/rs6000.c: Likewise.
4111         * config/pa/pa.c: Likewise.
4112         * config/stormy16/stormy16.c: Likewise.
4113         * config/cris/cris.c: Likewise.
4114         * config/arc/arc.md: Likewise.
4115         * config/arc/arc.c: Likewise.
4116         * config/sh/sh.md: Likewise.
4117         * config/sh/sh.c: Likewise.
4118         * config/frv/frv.c: Likewise.
4120 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
4122         PR sanitizer/64265
4123         * gimplify.c (gimplify_function_tree): Add TSAN_FUNC_EXIT internal
4124         call as cleanup of the whole body.
4125         * internal-fn.def (TSAN_FUNC_EXIT): New internal call.
4126         * tsan.c (replace_func_exit): New function.
4127         (instrument_func_exit): Moved earlier.
4128         (instrument_memory_accesses): Adjust TSAN_FUNC_EXIT internal calls.
4129         Call instrument_func_exit if no TSAN_FUNC_EXIT internal calls have
4130         been found.
4131         (tsan_pass): Don't call instrument_func_exit.
4132         * internal-fn.c (expand_TSAN_FUNC_EXIT): New function.
4133         * tree-inline.c (copy_bb): Drop TSAN_FUNC_EXIT internal calls during
4134         inlining.
4136         PR sanitizer/64344
4137         * ubsan.h (ubsan_instrument_float_cast): Add ARG argument.
4138         * ubsan.c (ubsan_instrument_float_cast): Add ARG argument, pass
4139         it to libubsan handler instead of EXPR.  Fold comparisons earlier,
4140         if the result is integer_zerop, return NULL_TREE.
4141         * convert.c (convert_to_integer): Pass expr as ARG.
4143         PR tree-optimization/64465
4144         * tree-inline.c (redirect_all_calls): During inlining
4145         clean up EH stmts and EH edges if redirect_call_stmt_to_callee
4146         changed the stmt to a non-throwing call.
4148 2015-01-05  Sandra Loosemore  <sandra@codesourcery.com>
4150         * doc/invoke.texi: Fix incorrect uses of @code, @option, @samp,
4151         etc markup throughout the file.
4153 2015-01-05  Bernd Edlinger  <bernd.edlinger@hotmail.de>
4155         Enable experimental TSAN support for Ada.
4156         * tsan.c (instrument_expr): Handle VIEW_CONVERT_EXPR.
4158 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
4160         PR tree-optimization/64494
4161         * tree-ssa-loop-im.c (move_computations_dom_walker::before_dom): Also
4162         clear SSA_NAME_ANTI_RANGE_P flag.
4164 2015-01-05  Marek Polacek  <polacek@redhat.com>
4166         * doc/extend.texi (Arrays of Length Zero): Add missing comma.
4168 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
4170         Update copyright years.
4172         * gcc.c (process_command): Update copyright notice dates.
4173         * gcov-dump.c: Ditto.
4174         * gcov.c: Ditto.
4175         * doc/cpp.texi: Bump @copying's copyright year.
4176         * doc/cppinternals.texi: Ditto.
4177         * doc/gcc.texi: Ditto.
4178         * doc/gccint.texi: Ditto.
4179         * doc/gcov.texi: Ditto.
4180         * doc/install.texi: Ditto.
4181         * doc/invoke.texi: Ditto.
4183         * auto-profile.c, auto-profile.h: Fix up Copyright line.
4185 2015-01-04  Sandra Loosemore  <sandra@codesourcery.com>
4187         * doc/invoke.texi ([-fsized-deallocation]): Copy-edit to fix
4188         verb tense, etc.
4189         ([-fvtable-verify], [-fvtv-debug]): Likewise.
4190         ([-Wabi]): Likewise.
4191         ([-fmessage-length]): Likewise.
4192         ([-Wsuggest-final-types], [-Wsuggest-final-methods]): Likewise.
4193         ([-Wno-discarded-qualifiers]): Likewise.
4194         ([-Wnodiscarded-array-qualifiers]): Likewise.
4195         ([-Wno-virtual-move-assign]): Likewise.
4196         ([-fsanitize=address], [-fsanitize=thread]): Likewise.
4197         ([-fsanitize=leak], [-fsanitize=undefined]): Likewise.
4198         ([-fsanitize=unreachable], [-fsanitize-recover]): Likewise.
4199         ([-fsanitize-undefined-trap-on-error]): Likewise.
4200         ([-floop-interchange]): Likewise.
4201         ([-ftree-coalesce-inlined-vars]): Likewise.
4202         ([-fvect-cost-model]): Likewise.
4203         ([-flto]): Likewise.
4204         ([--param]): Likewise.
4205         (Spec Files): Likewise.
4206         ([-mstrict-align]): Likewise.
4207         ([-mfix-cortex-a53-835769]): Likewise.
4208         ([-march], [-mtune]): Likewise.
4209         ([-mpic-register]): Likewise.
4210         ([-munaligned-access]): Likewise.
4211         ([-msp8]): Likewise.
4212         (EIND and Devices with more than 128 Ki Bytes of Flash): Likewise.
4213         (AVR Built-in Macros): Likewise.
4214         ([-mpreferred-stack-boundary]): Likewise.
4215         ([-mtune-crtl]): Likewise.
4216         ([-mashf]): Likewise.
4217         ([-mmcu=]): Likewise.
4218         ([-minrt]): Likewise.
4219         ([-maltivec], [-maltivec=be], [-maltivec=le]): Likewise.
4220         ([-mupper-regs]): Likewise.
4221         ([-matomic-model]): Likewise.
4222         ([-mdiv]): Likewise.
4223         ([-mzdcbranch]): Likewise.
4224         ([-mdisable-callt]): Likewise.
4225         ([-msoft-float]): Likewise.
4226         ([-m8byte-align]): Likewise.
4227         ([-fstack-reuse]): Likewise.
4229 2015-01-03  Sandra Loosemore  <sandra@codesourcery.com>
4231         * doc/invoke.texi ([-fprofile-generate], [-fprofile-use]):
4232         Fix markup, light copy-editing.
4233         ([-fauto-profile]): Rewrite to fix formatting and content
4234         problems.
4236 2015-01-03  Sandra Loosemore  <sandra@codesourcery.com>
4238         * doc/invoke.texi ([-fisolate-erroneous-paths-dereference]):
4239         Copy-edit description.
4240         ([-fisolate-erroneous-paths-attribute]): Likewise.
4241         * common.opt (fisolate-erroneous-paths-dereference):
4242         Copy-edit description.
4243         (fisolate-erroneous-paths-attribute): Likewise.
4245 2015-01-03  Sandra Loosemore  <sandra@codesourcery.com>
4247         * doc/invoke.texi ([-fsemantic-interposition]): Fix typos and
4248         tidy grammar.
4250 2015-01-03  Sandra Loosemore  <sandra@codesourcery.com>
4252         * doc/invoke.texi ([-fplan9-extensions]): Add/fix @opindex.
4253         ([-fvtv-debug]): Likewise.
4254         ([-Wc++-compat]): Likewise.
4255         ([-Wc++11-compat]): Likewise.
4256         ([-Wc++14-compat]): Likewise.
4257         ([-Wno-sized-deallocation]): Likewise.
4258         ([-femit-class-debug-always]): Likewise.
4259         ([-femit-struct-debug-detailed]): Likewise.
4260         ([-fno-keep-inline-dllexport]): Likewise.
4261         ([-fira-algorithm]): Likewise.
4262         ([-fira-region]): Likewise.
4263         ([-flra-remat]): Likewise.
4264         ([-fipa-ra]): Likewise.
4265         ([-fhoist-adjacent-loads]): Likewise.
4266         ([-fisolate-erroneous-paths-dereference]): Likewise.
4267         ([-fisolate-erroneous-paths-attribute]): Likewise.
4268         ([-ftree-switch-conversion]): Likewise.
4269         ([-ftree-tail-merge]): Likewise.
4270         ([-ftree-loop-if-convert]): Likewise.
4271         ([-ftree-loop-if-convert-stores]): Likewise.
4272         ([-ftree-loop-distribution]): Likewise.
4273         ([-ftree-loop-distribute-patterns]): Likewise.
4274         ([-flto-compression-level]): Likewise.
4275         ([-flto-report]): Likewise.
4276         ([-flto-report-wpa]): Likewise.
4277         ([-fuse-linker-plugin]): Likewise.
4278         ([-mfix-cortex-a53-835769]): Likewise.
4279         ([-mno-fix-cortex-a53-835769]): Likewise.
4280         ([-mmmx]...[-mno-3dnow]): Remove the -mno- forms from the
4281         explicit listing; add a note to the discussion indicating they
4282         exist.  Reorder table to group similar options.  Add missing
4283         @opindex entries.  Add @need commands throughout the table to
4284         allow it to be split across multiple pages.
4285         ([-m8bit-idiv]): Fix @opindex.
4286         ([-mavx256-split-unaligned-load]): Likewise.
4287         ([-mavx256-split-unaligned-store]): Likewise.
4288         ([-mstack-protector-guard]): Likewise.
4289         ([-mcpu=]): Likewise.
4290         ([-mcpu]): Likewise.
4291         ([-mpointer-size=]): Likewise.
4293 2015-01-03  John David Anglin  <danglin@gcc.gnu.org>
4295         * config/pa/pa.md (decrement_and_branch_until_zero): Use `Q' constraint
4296         instead of `m' constraint.  Likewise for unnamed movb comparison
4297         patterns using reg_before_reload_operand predicate.
4298         * config/pa/predicates.md (reg_before_reload_operand): Tighten
4299         predicate to reject register index and LO_SUM DLT memory forms
4300         after reload.
4302 2015-01-02  Sandra Loosemore  <sandra@codesourcery.com>
4304         * doc/invoke.texi (Option Summary): Fix spelling of
4305         -fdevirtualize-at-ltrans.
4306         ([-fdevirtualize]): Fix markup.
4307         ([-fdevirtualize-speculatively]): Fix typo.
4308         ([-fdevirtualize-at-ltrans]): Likewise.  Make description less
4309         implementor-speaky.
4310         * common.opt (fdevirtualize-at-ltrans): Likewise.
4311         * ipa-devirt.c: Fix typos in comments throughout the file.
4312         (ipa_devirt): Fix typos in format strings for dump output.
4314 2015-01-02  Sandra Loosemore  <sandra@codesourcery.com>
4316         * doc/invoke.texi ([-fopt-info]): Fix markup, consolidate
4317         discussion of defaults, light copy-editing.
4319 2015-01-02  Bernd Edlinger  <bernd.edlinger@hotmail.de>
4321         * tsan.c (instrument_expr): corrected previous checkin.
4323 2015-01-02  Bernd Edlinger  <bernd.edlinger@hotmail.de>
4325         Instrument bit field and unaligned accesses for TSAN.
4326         * sanitizer.def (BUILT_IN_TSAN_READ_RANGE): New built-in function.
4327         (BUILT_IN_TSAN_WRITE_RANGE): New built-in function.
4328         * tsan.c (instrument_expr): Handle COMPONENT_REF and BIT_FIELD_REF.
4329         Use BUILT_IN_TSAN_READ_RANGE and BUILT_IN_TSAN_WRITE_RANGE for
4330         unaligned memory regions.
4332 2015-01-01  Anthony Green  <green@moxielogic.com>
4334         * config/moxie/predicates.md (moxie_general_movsrc_operand):
4335         Restrict move source register offsets to 16 bits.
4337 Copyright (C) 2015 Free Software Foundation, Inc.
4339 Copying and distribution of this file, with or without modification,
4340 are permitted in any medium without royalty provided the copyright
4341 notice and this notice are preserved.