summaryrefslogtreecommitdiff
path: root/gcc
Commit message (Collapse)AuthorAgeFilesLines
* Daily bump.gccadmin2014-04-181-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209513 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-04-17 Paolo Carlini <paolo.carlini@oracle.com>paolo2014-04-172-1/+24
| | | | | | | | PR c++/59200 * g++.dg/cpp0x/alias-decl-42.C: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209499 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-04-17 Michael Meissner <meissner@linux.vnet.ibm.com>meissner2014-04-172-7/+18
| | | | | | | | | | | | PR target/60876 * config/rs6000/rs6000.c (rs6000_setup_reg_addr_masks): Make sure GET_MODE_SIZE gets passed an enum machine_mode type and not integer. (rs6000_init_hard_regno_mode_ok): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209498 138bc75d-0d04-0410-961f-82ee72b054a4
* compiler: Use backend interface for constant expressions.ian2014-04-175-44/+54
| | | | | | | | * go-gcc.cc (Gcc_backend::named_constant_expression): New function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209495 138bc75d-0d04-0410-961f-82ee72b054a4
* PR go/60870ian2014-04-171-2/+13
| | | | | | | | | | | | | | | | | | compiler: Don't convert function type for an interface method. For an interface method the function type is the type without the receiver, which is wrong since we are passing a receiver. The interface method will always have the correct type in this case, so no type conversion is necessary. Also don't do the type conversion when calling a named function, since in that case the type is also always correct. The type can be wrong, and the conversion required, when the function type refers to itself recursively. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209494 138bc75d-0d04-0410-961f-82ee72b054a4
* compiler: Define immutability for numeric, constant, type info, type ↵ian2014-04-171-1/+54
| | | | | | conversion, and addressof expressions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209493 138bc75d-0d04-0410-961f-82ee72b054a4
* * ipa-inline.c (inline_small_functions): Account only non-coldhubicka2014-04-173-2/+12
| | | | | | | | functions. * doc/invoke.texi (inline-unit-growth): Update documentation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209490 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/rs6000/rs6000.md (addti3, subti3): New.pthaugen2014-04-175-0/+145
| | | | | | | | | * gcc.target/powerpc/ti_math1.c: New. * gcc.target/powerpc/ti_math2.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209489 138bc75d-0d04-0410-961f-82ee72b054a4
* Generate "xor reg, reg" if optimizing for sizehjl2014-04-172-2/+8
| | | | | | | | | | PR target/60863 * config/i386/i386.c (ix86_expand_clear): Remove outdated comment. Check optimize_insn_for_size_p instead of optimize_insn_for_speed_p. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209488 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-04-17 Martin Jambor <mjambor@suse.cz>jamborm2014-04-177-12/+126
| | | | | | | | | | | | | | | | | | | | | | * gimple-iterator.c (gsi_start_edge): New function. * gimple-iterator.h (gsi_start_edge): Declare. * tree-sra.c (single_non_eh_succ): New function. (disqualify_ops_if_throwing_stmt): Renamed to disqualify_if_bad_bb_terminating_stmt. Allow throwing statements having one non-EH successor BB. (sra_modify_expr): If stmt ends bb, use single non-EH successor to generate loads into replacements. (sra_modify_assign): Likewise and and also use the simple path for such statements. (sra_modify_function_body): Commit statements on edges. testsuite/ * gnat.dg/opt34.adb: New. * gnat.dg/opt34_pkg.ads: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209487 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-04-17 Richard Biener <rguenther@suse.de>rguenth2014-04-172-3/+13
| | | | | | | | | PR middle-end/60849 * tree-ssa-propagate.c (valid_gimple_rhs_p): Allow vector comparison results and add clarifying comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209486 138bc75d-0d04-0410-961f-82ee72b054a4
* * genmodes.c (struct mode_data): Add need_bytesize_adj field.jakub2014-04-176-3/+147
| | | | | | | | | | | | | | | | | | | (blank_mode): Initialize it. (emit_mode_size_inline, emit_mode_nunits_inline, emit_mode_inner_inline): New functions. (emit_insn_modes_h): Call them and surround their output with #if GCC_VERSION >= 4001 ... #endif. * machmode.h (GET_MODE_SIZE, GET_MODE_NUNITS, GET_MODE_INNER): For GCC_VERSION >= 4001 use mode_*_inline routines instead of mode_* arrays if the argument is __builtin_constant_p. * lower-subreg.c (dump_choices): Make sure GET_MODE_SIZE argument is enum machine_mode. fortran/ * trans-types.c (gfc_init_kinds): Make sure GET_MODE_BITSIZE argument is enum machine_mode. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209484 138bc75d-0d04-0410-961f-82ee72b054a4
* pass cfun to pass::executetbsaunde2014-04-17127-2991/+3013
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gcc/ * passes.c (opt_pass::execute): Adjust. (pass_manager::execute_pass_mode_switching): Likewise. (early_local_passes::execute): Likewise. (execute_one_pass): Pass cfun to the pass's execute method. * tree-pass.h (opt_pass::execute): Add function * argument. * asan.c, auto-inc-dec.c, bb-reorder.c, bt-load.c, cfgcleanup.c, cfgexpand.c, cfgrtl.c, cgraphbuild.c, combine-stack-adj.c, combine.c, compare-elim.c, config/arc/arc.c, config/epiphany/mode-switch-use.c, config/epiphany/resolve-sw-modes.c, config/i386/i386.c, config/mips/mips.c, config/rl78/rl78.c, config/s390/s390.c, config/sparc/sparc.c, cprop.c, dce.c, df-core.c, dse.c, dwarf2cfi.c, except.c, final.c, function.c, fwprop.c, gcse.c, gimple-low.c, gimple-ssa-isolate-paths.c, gimple-ssa-strength-reduction.c, graphite.c, ifcvt.c, init-regs.c, ipa-cp.c, ipa-devirt.c, ipa-inline-analysis.c, ipa-inline.c, ipa-profile.c, ipa-pure-const.c, ipa-reference.c, ipa-split.c, ipa.c, ira.c, jump.c, loop-init.c, lower-subreg.c, mode-switching.c, omp-low.c, postreload-gcse.c, postreload.c, predict.c, recog.c, ree.c, reg-stack.c, regcprop.c, reginfo.c, regrename.c, reorg.c, sched-rgn.c, stack-ptr-mod.c, store-motion.c, tracer.c, trans-mem.c, tree-call-cdce.c, tree-cfg.c, tree-cfgcleanup.c, tree-complex.c, tree-eh.c, tree-emutls.c, tree-if-conv.c, tree-into-ssa.c, tree-loop-distribution.c, tree-nrv.c, tree-object-size.c, tree-parloops.c, tree-predcom.c, tree-ssa-ccp.c, tree-ssa-copy.c, tree-ssa-copyrename.c, tree-ssa-dce.c, tree-ssa-dom.c, tree-ssa-dse.c, tree-ssa-forwprop.c, tree-ssa-ifcombine.c, tree-ssa-loop-ch.c, tree-ssa-loop-im.c, tree-ssa-loop-ivcanon.c, tree-ssa-loop-prefetch.c, tree-ssa-loop-unswitch.c, tree-ssa-loop.c, tree-ssa-math-opts.c, tree-ssa-phiopt.c, tree-ssa-phiprop.c, tree-ssa-pre.c, tree-ssa-reassoc.c, tree-ssa-sink.c, tree-ssa-strlen.c, tree-ssa-structalias.c, tree-ssa-uncprop.c, tree-ssa-uninit.c, tree-ssa.c, tree-ssanames.c, tree-stdarg.c, tree-switch-conversion.c, tree-tailcall.c, tree-vect-generic.c, tree-vectorizer.c, tree-vrp.c, tree.c, tsan.c, ubsan.c, var-tracking.c, vtable-verify.c, web.c: Adjust. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209482 138bc75d-0d04-0410-961f-82ee72b054a4
* pass current function to opt_pass::gate ()tbsaunde2014-04-17110-1348/+774
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gcc/ * passes.c (opt_pass::gate): Take function * argument. (gate_all_early_local_passes): Merge into (early_local_passes::gate): this. (gate_all_early_optimizations): Merge into (all_early_optimizations::gate): this. (gate_all_optimizations): Mege into (all_optimizations::gate): this. (gate_all_optimizations_g): Merge into (all_optimizations_g::gate): this. (gate_rest_of_compilation): Mege into (rest_of_compilation::gate): this. (gate_postreload): Merge into (postreload::gate): this. (dump_one_pass): Pass cfun to the pass's gate method. (execute_ipa_summary_passes): Likewise. (execute_one_pass): Likewise. (ipa_write_summaries_2): Likewise. (ipa_write_optimization_summaries_1): Likewise. (ipa_read_summaries_1): Likewise. (ipa_read_optimization_summaries_1): Likewise. (execute_ipa_stmt_fixups): Likewise. * tree-pass.h (opt_pass::gate): Add function * argument. * asan.c, auto-inc-dec.c, bb-reorder.c, bt-load.c, combine-stack-adj.c, combine.c, compare-elim.c, config/epiphany/resolve-sw-modes.c, config/i386/i386.c, config/rl78/rl78.c, config/sh/sh_optimize_sett_clrt.cc, config/sh/sh_treg_combine.cc, config/sparc/sparc.c, cprop.c, cse.c, dce.c, df-core.c, dse.c, dwarf2cfi.c, except.c, fwprop.c, gcse.c, gimple-ssa-isolate-paths.c, gimple-ssa-strength-reduction.c, graphite.c, ifcvt.c, init-regs.c, ipa-cp.c, ipa-devirt.c, ipa-profile.c, ipa-pure-const.c, ipa-reference.c, ipa-split.c, ipa.c, loop-init.c, lower-subreg.c, mode-switching.c, modulo-sched.c, omp-low.c, postreload-gcse.c, postreload.c, predict.c, recog.c, ree.c, reg-stack.c, regcprop.c, regrename.c, reorg.c, sched-rgn.c, store-motion.c, tracer.c, trans-mem.c, tree-call-cdce.c, tree-cfg.c, tree-cfgcleanup.c, tree-complex.c, tree-eh.c, tree-emutls.c, tree-if-conv.c, tree-into-ssa.c, tree-loop-distribution.c, tree-nrv.c, tree-parloops.c, tree-predcom.c, tree-profile.c, tree-sra.c, tree-ssa-ccp.c, tree-ssa-copy.c, tree-ssa-copyrename.c, tree-ssa-dce.c, tree-ssa-dom.c, tree-ssa-dse.c, tree-ssa-forwprop.c, tree-ssa-ifcombine.c, tree-ssa-loop-ch.c, tree-ssa-loop-im.c, tree-ssa-loop-ivcanon.c, tree-ssa-loop-prefetch.c, tree-ssa-loop-unswitch.c, tree-ssa-loop.c, tree-ssa-math-opts.c, tree-ssa-phiopt.c, tree-ssa-phiprop.c, tree-ssa-pre.c, tree-ssa-reassoc.c, tree-ssa-sink.c, tree-ssa-strlen.c, tree-ssa-structalias.c, tree-ssa-uncprop.c, tree-ssa-uninit.c, tree-ssa.c, tree-stdarg.c, tree-switch-conversion.c, tree-tailcall.c, tree-vect-generic.c, tree-vectorizer.c, tree-vrp.c, tsan.c, ubsan.c, var-tracking.c, vtable-verify.c, web.c: Adjust. gcc/testsuite/ * g++.dg/plugin/dumb_plugin.c, g++.dg/plugin/selfasign.c, gcc.dg/plugin/one_time_plugin.c, gcc.dg/plugin/selfasign.c: Adjust. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209481 138bc75d-0d04-0410-961f-82ee72b054a4
* enable -Woverloaded-virtual when availabletbsaunde2014-04-173-2/+53
| | | | | | | | gcc/ * configure.ac: Check for -Woverloaded-virtual and enable it if found. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209480 138bc75d-0d04-0410-961f-82ee72b054a4
* remove has_gatetbsaunde2014-04-17130-250/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gcc/ * passes.c (dump_one_pass): don't check pass->has_gate. (execute_ipa_summary_passes): Likewise. (execute_one_pass): Likewise. (ipa_write_summaries_2): Likewise. (ipa_write_optimization_summaries_1): Likewise. (ipa_read_optimization_summaries_1): Likewise. (execute_ipa_stmt_fixups): Likewise. * tree-pass.h (pass_data::has_gate): Remove. * asan.c, auto-inc-dec.c, bb-reorder.c, bt-load.c, cfgcleanup.c, cfgexpand.c, cfgrtl.c, cgraphbuild.c, combine-stack-adj.c, combine.c, compare-elim.c, config/arc/arc.c, config/epiphany/mode-switch-use.c, config/epiphany/resolve-sw-modes.c, config/i386/i386.c, config/mips/mips.c, config/rl78/rl78.c, config/s390/s390.c, config/sh/sh_optimize_sett_clrt.cc, config/sh/sh_treg_combine.cc, config/sparc/sparc.c, cprop.c, cse.c, dce.c, df-core.c, dse.c, dwarf2cfi.c, except.c, final.c, function.c, fwprop.c, gcse.c, gimple-low.c, gimple-ssa-isolate-paths.c, gimple-ssa-strength-reduction.c, graphite.c, ifcvt.c, init-regs.c, ipa-cp.c, ipa-devirt.c, ipa-inline-analysis.c, ipa-inline.c, ipa-profile.c, ipa-pure-const.c, ipa-reference.c, ipa-split.c, ipa.c, ira.c, jump.c, loop-init.c, lower-subreg.c, mode-switching.c, modulo-sched.c, omp-low.c, postreload-gcse.c, postreload.c, predict.c, recog.c, ree.c, reg-stack.c, regcprop.c, reginfo.c, regrename.c, reorg.c, sched-rgn.c, stack-ptr-mod.c, store-motion.c, tracer.c, trans-mem.c, tree-call-cdce.c, tree-cfg.c, tree-cfgcleanup.c, tree-complex.c, tree-eh.c, tree-emutls.c, tree-if-conv.c, tree-into-ssa.c, tree-loop-distribution.c, tree-nrv.c, tree-object-size.c, tree-parloops.c, tree-predcom.c, tree-profile.c, tree-sra.c, tree-ssa-ccp.c, tree-ssa-copy.c, tree-ssa-copyrename.c, tree-ssa-dce.c, tree-ssa-dom.c, tree-ssa-dse.c, tree-ssa-forwprop.c, tree-ssa-ifcombine.c, tree-ssa-loop-ch.c, tree-ssa-loop-im.c, tree-ssa-loop-ivcanon.c, tree-ssa-loop-prefetch.c, tree-ssa-loop-unswitch.c, tree-ssa-loop.c, tree-ssa-math-opts.c, tree-ssa-phiopt.c, tree-ssa-phiprop.c, tree-ssa-pre.c, tree-ssa-reassoc.c, tree-ssa-sink.c, tree-ssa-strlen.c, tree-ssa-structalias.c, tree-ssa-uncprop.c, tree-ssa-uninit.c, tree-ssa.c, tree-ssanames.c, tree-stdarg.c, tree-switch-conversion.c, tree-tailcall.c, tree-vect-generic.c, tree-vectorizer.c, tree-vrp.c, tree.c, tsan.c, ubsan.c, var-tracking.c, vtable-verify.c, web.c: Adjust. gcc/testsuite/ * g++.dg/plugin/dumb_plugin.c, g++.dg/plugin/selfassign.c, gcc.dg/plugin/one_time_plugin.c, gcc.dg/plugin/selfassign.c: Adjust. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209479 138bc75d-0d04-0410-961f-82ee72b054a4
* merge register_dump_files_1 into register_dump_files and remove more ↵tbsaunde2014-04-173-31/+17
| | | | | | | | | | | | | fiddling with properties gcc/ * pass_manager.h (pass_manager::register_dump_files_1): Remove declaration. * passes.c (pass_manager::register_dump_files_1): Merge into (pass_manager::register_dump_files): this, and remove its handling of properties since the pass always has the properties anyway. (pass_manager::pass_manager): Adjust. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209478 138bc75d-0d04-0410-961f-82ee72b054a4
* remove properties stuff from register_dump_files_1tbsaunde2014-04-173-17/+12
| | | | | | | | | | gcc/ * pass_manager.h (pass_manager::register_dump_files_1): Adjust. * passes.c (pass_manager::register_dump_files_1): Remove dead code dealing with properties. (pass_manager::register_dump_files): Adjust. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209477 138bc75d-0d04-0410-961f-82ee72b054a4
* dwarf2out: Use normal constant values in bound_info if possible.mark2014-04-172-12/+27
| | | | | | | * dwarf2out.c (add_bound_info): If HOST_WIDE_INT is big enough, then represent the bound as normal constant value. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209473 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/60847jakub2014-04-175-9/+128
| | | | | | | | | | | | | | | | | | | | | Forward port from 4.8 branch 2013-07-19 Kirill Yukhin <kirill.yukhin@intel.com> * config/i386/bmiintrin.h (_blsi_u32): New. (_blsi_u64): Ditto. (_blsr_u32): Ditto. (_blsr_u64): Ditto. (_blsmsk_u32): Ditto. (_blsmsk_u64): Ditto. (_tzcnt_u32): Ditto. (_tzcnt_u64): Ditto. * gcc.target/i386/bmi-1.c: Extend with new instrinsics. Fix scan patterns. * gcc.target/i386/bmi-2.c: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209471 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.c (used_arg): Prevent out of bound access for multilib_options.jakub2014-04-172-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209470 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-04-17 Richard Biener <rguenther@suse.de>rguenth2014-04-174-1/+31
| | | | | | | | | | | PR middle-end/60849 * tree-ssa-propagate.c (valid_gimple_rhs_p): Only allow effective boolean results for comparisons. * g++.dg/opt/pr60849.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209469 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-04-17 Richard Biener <rguenther@suse.de>rguenth2014-04-174-2/+56
| | | | | | | | | | | PR tree-optimization/60836 * tree-vect-loop.c (vect_create_epilog_for_reduction): Force initial PHI args to be gimple values. * g++.dg/vect/pr60836.cc: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209468 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-04-17 Richard Biener <rguenther@suse.de>rguenth2014-04-177-17/+244
| | | | | | | | | | | | | | | | | | PR tree-optimization/60841 * tree-vect-data-refs.c (vect_analyze_data_refs): Count stmts. * tree-vect-loop.c (vect_analyze_loop_2): Pass down number of stmts to SLP build. * tree-vect-slp.c (vect_slp_analyze_bb_1): Likewise. (vect_analyze_slp): Likewise. (vect_analyze_slp_instance): Likewise. (vect_build_slp_tree): Limit overall SLP tree growth. * tree-vectorizer.h (vect_analyze_data_refs, vect_analyze_slp): Adjust prototypes. * gcc.dg/vect/pr60841.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209467 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/kyukhin2014-04-172-0/+18
| | | | | | | | | * config/i386/i386.c (x86_add_stmt_cost): Fix vector cost model for Silvermont. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209466 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/kyukhin2014-04-174-2/+16
| | | | | | | | | | | * config/i386/x86-tune.def (TARGET_SLOW_PSHUFB): New tune definition. * config/i386/i386.h (TARGET_SLOW_PSHUFB): New tune flag. * config/i386/i386.c (expand_vec_perm_even_odd_1): Avoid byte shuffles for TARGET_SLOW_PSHUFB git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209465 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/kyukhin2014-04-172-3/+7
| | | | | | | | | * config/i386/i386.c (slm_cost): Adjust vec_to_scalar_cost. * config/i386/i386.c (intel_cost): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209464 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-04-17 Joey Ye <joey.ye@arm.com>jye22014-04-172-2/+6
| | | | | | | * opts.c (OPT_fif_conversion, OPT_fif_conversion2): Disable for Og. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209463 138bc75d-0d04-0410-961f-82ee72b054a4
* * opts.c (common_handle_option): Disable -fipa-reference coorectlyhubicka2014-04-172-1/+6
| | | | | | | with -fuse-profile. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209462 138bc75d-0d04-0410-961f-82ee72b054a4
* * ipa-devirt.c (odr_type_d): Add field all_derivations_known.hubicka2014-04-174-27/+187
| | | | | | | | | | | | | | | | | | | | | | | | | | (type_all_derivations_known_p): New predicate. (type_all_ctors_visible_p): New predicate. (type_possibly_instantiated_p): New predicate. (get_odr_type): Compute all_derivations_known. (dump_odr_type): Dump the flag. (maybe_record_type): Cleanup. (record_target_from_binfo): Add bases_to_consider array; record bases for types w/o instances and skip CXX destructor. (possible_polymorphic_call_targets_1): Add bases_to_consider and consider_construction parameters; check if type may have instance. (get_polymorphic_call_info): Set maybe_in_construction to true when we know nothing. (record_targets_from_bases): Skip CXX destructors; they are never called for types in construction. (possible_polymorphic_call_targets): Do not record target when type may not have instance. * g++.dg/ipa/devirt-31.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209461 138bc75d-0d04-0410-961f-82ee72b054a4
* PR lto/60820hubicka2014-04-173-0/+30
| | | | | | | | * gcc.dg/lto/pr60820_0.c: New testcase. * gcc.dg/lto/pr60820_1.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209460 138bc75d-0d04-0410-961f-82ee72b054a4
* PR ipa/60854hubicka2014-04-174-1/+36
| | | | | | | | | * ipa.c (symtab_remove_unreachable_nodes): Mark targets of external aliases alive, too. * g++.dg/torture/pr60854.C: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209459 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-04-16 Andrew Pinski <apinski@cavium.com>pinskia2014-04-172-0/+7
| | | | | | | | * config/host-linux.c (TRY_EMPTY_VM_SPACE): Change aarch64 ilp32 definition. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209457 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2014-04-171-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209456 138bc75d-0d04-0410-961f-82ee72b054a4
* * final.c (compute_alignments): Do not apply loop alignment to a blockebotcazou2014-04-162-0/+7
| | | | | | | falling through to the exit. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209451 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-04-16 Catherine Moore <clm@codesourcery.com>clm2014-04-164-3/+34
| | | | | | | | | | | | | gcc/ * mips.md (*mov<mode>_internal, *movhi_internal, *movqi_internal): Adjust constraints for microMIPS store patterns. testsuite/ * gcc.target/mips/umips-store16-2.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209450 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-04-16 Marc Glisse <marc.glisse@inria.fr>glisse2014-04-164-1/+15
| | | | | | | | | | | gcc/cp/ * decl.c (reshape_init_r): Handle a single element of vector type. gcc/testsuite/ * g++.dg/cpp0x/initlist-vect.C: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209449 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-04-16 Patrick Palka <patrick@parcs.ath.cx>paolo2014-04-166-11/+62
| | | | | | | | | | | | | | | | | | | | PR c++/60765 * decl2.c (cplus_decl_attributes): Handle pointer-to-member-function declarations. 2014-04-16 Patrick Palka <patrick@parcs.ath.cx> PR c++/60764 * call.c (build_user_type_coversion): Use build_dummy_object to create the placeholder object for a constructor method call. (build_special_member_call): Likewise. (build_over_call): Check for the placeholder object with is_dummy_object. (build_new_method_call_1): Likewise. Don't attempt to resolve a dummy object for a constructor method call. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209447 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/avr/avr-mcus.def: Correct typo for atxmega256a3bu macro.denisc2014-04-162-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209446 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-04-16 Paul Pluzhnikov <ppluzhnikov@google.com>ppluzhnikov2014-04-162-3/+12
| | | | | | | | | | PR c++/59295 * friend.c (add_friend, make_friend_class): Move repeated friend warning under Wredundant_decls. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209444 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-ssa-operands.c (create_vop_var): Set DECL_IGNORED_P.ebotcazou2014-04-168-20/+22
| | | | | | | | | | (append_use): Run at -O0. (append_vdef): Likewise. * tree-ssa-ter.c (ter_is_replaceable_p): Do not special-case -O0. * tree-ssa-uninit.c (warn_uninitialized_vars): Remove obsolete comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209443 138bc75d-0d04-0410-961f-82ee72b054a4
* PR tree-optimization/60844jakub2014-04-164-5/+63
| | | | | | | | | | | | * tree-ssa-reassoc.c (reassoc_remove_stmt): New function. (propagate_op_to_single_use, remove_visited_stmt_chain, linearize_expr, repropagate_negates, reassociate_bb): Use it instead of gsi_remove. * gcc.dg/pr60844.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209442 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-04-16 Martin Jambor <mjambor@suse.cz>jamborm2014-04-164-12/+15
| | | | | | | | | | | | | | * cgraphclones.c (cgraph_create_virtual_clone): Duplicate ipa_transforms_to_apply. (cgraph_function_versioning): Assert that old_node has empty ipa_transforms_to_apply. * trans-mem.c (ipa_tm_create_version): Likewise. * tree-inline.c (tree_function_versioning): Do not duplicate ipa_transforms_to_apply. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209441 138bc75d-0d04-0410-961f-82ee72b054a4
* Correctly detect native TLS support with 64-bit gas on Solaris/x86 (PR ↵ro2014-04-163-32/+51
| | | | | | | | | | | | | target/60817) PR target/60817 * configure.ac (set_have_as_tls): Merge i[34567]86-*-* and x86_64-*-* cases. Pass necessary as flags on 64-bit Solaris/x86. Use lowercase relocs for x86_64-*-*. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209440 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.gccadmin2014-04-161-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209439 138bc75d-0d04-0410-961f-82ee72b054a4
* * ipa-devirt.c (referenced_from_vtable_p): New predicate.hubicka2014-04-152-5/+76
| | | | | | | (maybe_record_node, likely_target_p): Use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209435 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-04-15 Bill Schmidt <wschmidt@linux.vnet.ibm.com>wschmidt2014-04-153-6/+26
| | | | | | | | | | | | | | | | | | | | | | | | PR target/60839 Revert following patch 2014-04-02 Michael Meissner <meissner@linux.vnet.ibm.com> PR target/60735 * config/rs6000/rs6000.c (rs6000_hard_regno_mode_ok): If we have software floating point or no floating point registers, do not allow any type in the FPRs. Eliminate a test for SPE SIMD types in GPRs that occurs after we tested for GPRs that would never be true. * config/rs6000/rs6000.md (mov<mode>_softfloat32, FMOVE64): Rewrite tests to use TARGET_DOUBLE_FLOAT and TARGET_E500_DOUBLE, since the FMOVE64 type is DFmode/DDmode. If TARGET_E500_DOUBLE, specifically allow DDmode, since that does not use the SPE SIMD instructions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209425 138bc75d-0d04-0410-961f-82ee72b054a4
* Add DW_AT_const_value as unsigned or int depending on type and value used.mark2014-04-152-14/+20
| | | | | | | | | | | | | | As the comment in the code already indicated DWARF2 does provide DW_FORM_sdata/DW_FORM_udata to represent signed/unsigned data. Enumeration constants wider than HOST_WIDE_INT are already handled separately. Those constant values that do fit a HOST_WIDE_INT can be encoded as signed or unsigned depending on type and value for more efficient encoding. * dwarf2out.c (gen_enumeration_type_die): Add DW_AT_const_value as unsigned or int depending on type and value used. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209424 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-04-15 Richard Biener <rguenther@suse.de>rguenth2014-04-156-127/+217
| | | | | | | | | | | | | | | | | | PR rtl-optimization/56965 * alias.c (ncr_compar, nonoverlapping_component_refs_p): Move ... * tree-ssa-alias.c (ncr_compar, nonoverlapping_component_refs_p): ... here. * alias.c (true_dependence_1): Do not call nonoverlapping_component_refs_p. * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Call nonoverlapping_component_refs_p. (indirect_refs_may_alias_p): Likewise. * gcc.dg/torture/pr56965-1.c: New testcase. * gcc.dg/torture/pr56965-2.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209423 138bc75d-0d04-0410-961f-82ee72b054a4
* 2014-04-15 Teresa Johnson <tejohnson@google.com>tejohnson2014-04-155-6/+15
| | | | | | | | | | | | * cfg.c (dump_bb_info): Fix flags check. * tree-cfg.c (remove_bb): Only dump TDF_BLOCKS when removing. 2014-04-15 Teresa Johnson <tejohnson@google.com> * gcc.dg/tree-prof/update-loopch.c: Update expected output. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209421 138bc75d-0d04-0410-961f-82ee72b054a4