gcc.git
10 years agoHandcode gen_rtx_INSN
David Malcolm [Tue, 9 Sep 2014 15:14:03 +0000 (15:14 +0000)]
Handcode gen_rtx_INSN

gcc/ChangeLog:
2014-09-09  David Malcolm  <dmalcolm@redhat.com>

* combine.c (try_combine): Eliminate checked cast on result of
gen_rtx_INSN.
* emit-rtl.c (gen_rtx_INSN): New function, improving over the prior
autogenerated one by strengthening the return type and params 2 and 3
from rtx to rtx_insn *, and by naming the params.
* gengenrtl.c (special_rtx): Add INSN to those that are
special-cased.
* rtl.h (gen_rtx_INSN): New prototype.

From-SVN: r215083

10 years agostruct ira_reg_equiv_s's "init_insns" is an rtx_insn_list
David Malcolm [Tue, 9 Sep 2014 15:10:39 +0000 (15:10 +0000)]
struct ira_reg_equiv_s's "init_insns" is an rtx_insn_list

gcc/ChangeLog:
2014-09-09  David Malcolm  <dmalcolm@redhat.com>

* ira.c (ira_update_equiv_info_by_shuffle_insn): Use NULL rather
than NULL_RTX.
(no_equiv): Likewise.
(update_equiv_regs): Likewise.
(setup_reg_equiv): Likewise.  Strengthen locals "elem",
"prev_elem", "next_elem" from rtx to rtx_insn_list *, and "insn"
from rtx to rtx_insn *.  Use methods of "elem" for typesafety and
clarity.
* ira.h (struct ira_reg_equiv_s): Strengthen field "init_insns"
from rtx to rtx_insn_list *.
* lra-assigns.c (spill_for): Strengthen local "x" from rtx to
rtx_insn_list * and use methods for clarity and typesafety.
* lra-constraints.c (contains_deleted_insn_p): Likewise for param
"list".
(init_insn_rhs_dead_pseudo_p): Likewise for local "insns".  Remove
redundant check on INSN_P (insns): this cannot hold, as "insns" is
an INSN_LIST, not an insn.
(reverse_equiv_p): Strengthen local "insns" from rtx to
rtx_insn_list * and use methods for clarity and typesafety.
(contains_reloaded_insn_p): Likewise for local "list".

From-SVN: r215082

10 years ago[AArch64 Testsuite] Add a test of vldN_dup intrinsics
Alan Lawrence [Tue, 9 Sep 2014 14:08:56 +0000 (14:08 +0000)]
[AArch64 Testsuite] Add a test of vldN_dup intrinsics

        * gcc.target/aarch64/vldN_dup_1.c: New test.

From-SVN: r215078

10 years ago[AArch64 Testsuite] Extend test of vld1+vst1 intrinsics to cover more variants
Alan Lawrence [Tue, 9 Sep 2014 14:03:17 +0000 (14:03 +0000)]
[AArch64 Testsuite] Extend test of vld1+vst1 intrinsics to cover more variants

* gcc.target/aarch64/vld1-vst1_1.c: Rewrite to test all variants.

From-SVN: r215077

10 years agoUpdate email address for recent commits, to comply with company policy.
Richard Sandiford [Tue, 9 Sep 2014 13:21:15 +0000 (13:21 +0000)]
Update email address for recent commits, to comply with company policy.

From-SVN: r215074

10 years ago[AArch64 Testsuite] Add test of vld[234]q? intrinsic
Alan Lawrence [Tue, 9 Sep 2014 13:07:27 +0000 (13:07 +0000)]
[AArch64 Testsuite] Add test of vld[234]q? intrinsic

* gcc.target/aarch64/vldN_1.c: New test.

From-SVN: r215072

10 years ago[AArch64 Testsuite]Fix scan-assembler test false alarm on aarch64-linux-gnu
Alan Lawrence [Tue, 9 Sep 2014 13:03:32 +0000 (13:03 +0000)]
[AArch64 Testsuite]Fix scan-assembler test false alarm on aarch64-linux-gnu

        * gcc.target/aarch64/simd/int_comparisons_1.c: Tighten regexp.

From-SVN: r215071

10 years agotypeck.c (build_class_member_access_expr): Move -Winvalid-offsetof code...
Jason Merrill [Tue, 9 Sep 2014 12:49:23 +0000 (08:49 -0400)]
typeck.c (build_class_member_access_expr): Move -Winvalid-offsetof code...

* typeck.c (build_class_member_access_expr): Move
-Winvalid-offsetof code...
* semantics.c (finish_offsetof): ...here.
* parser.c (cp_parser_builtin_offsetof): Remember the location of
the type argument.
* pt.c (tsubst_copy_and_build) [OFFSETOF_EXPR]: Preserve it.

From-SVN: r215070

10 years ago[ARM] Enable auto-vectorization for copysignf
Jiong Wang [Tue, 9 Sep 2014 12:29:36 +0000 (12:29 +0000)]
[ARM] Enable auto-vectorization for copysignf

  gcc/
    * config/arm/arm.c (NEON_COPYSIGNF): New enum.
    (arm_init_neon_builtins): Support NEON_COPYSIGNF.
    (arm_builtin_vectorized_function): Likewise.
    * config/arm/arm_neon_builtins.def: New macro for copysignf.
    * config/arm/neon.md (neon_copysignf<mode>): New pattern for vector
    copysignf.

  gcc/testsuite/
    * gcc.target/arm/vect-copysignf.c: New testcase.

From-SVN: r215067

10 years agobb-reorder.h (default_target_bb_reorder): Remove redundant GTY.
Richard Sandiford [Tue, 9 Sep 2014 12:12:06 +0000 (12:12 +0000)]
bb-reorder.h (default_target_bb_reorder): Remove redundant GTY.

gcc/
* bb-reorder.h (default_target_bb_reorder): Remove redundant GTY.
* builtins.h (default_target_builtins): Likewise.
* gcse.h (default_target_gcse): Likewise.
* target-globals.h (target_globals): Add a destructor.  Convert
void-pointer fields back to their real type and change from
GTY((atomic)) to GTY((skip)).
(restore_target_globals): Remove casts accordingly.
* target-globals.c (save_target_globals): Use XCNEW rather than
ggc_internal_cleared_alloc to allocate non-GC structures.
Use ggc_cleared_alloc to allocate the target_globals structure
itself.
(target_globals::~target_globals): Define.

From-SVN: r215063

10 years agore PR c++/62255 (Introducing an unrelated template parameter causes compilation to...
Jason Merrill [Tue, 9 Sep 2014 11:59:45 +0000 (07:59 -0400)]
re PR c++/62255 (Introducing an unrelated template parameter causes compilation to fail)

PR c++/62255
* pt.c (instantiate_decl): Handle recursive instantiation of
static data member.

From-SVN: r215062

10 years ago[ARM][7/7] Convert FP mnemonics to UAL | f{ld,st}m -> v{ld,st}m
Kyrylo Tkachov [Tue, 9 Sep 2014 11:29:21 +0000 (11:29 +0000)]
[ARM][7/7] Convert FP mnemonics to UAL | f{ld,st}m -> v{ld,st}m

* config/arm/arm.md (vfp_pop_multiple_with_writeback): Use vldm
mnemonic instead of fldmfdd.
* config/arm/arm.c (vfp_output_fstmd): Rename to...
(vfp_output_vstmd): ... This.  Convert output to UAL syntax.
Output vpush when address register is SP.
* config/arm/arm-protos.h (vfp_output_fstmd): Rename to...
(vfp_output_vstmd): ... This.
* config/arm/vfp.md (push_multi_vfp): Update call to
vfp_output_vstmd.

From-SVN: r215056

10 years ago[ARM][6/7] Convert FP mnemonics to UAL | movcc_vfp (fmstat)
Kyrylo Tkachov [Tue, 9 Sep 2014 11:27:49 +0000 (11:27 +0000)]
[ARM][6/7] Convert FP mnemonics to UAL | movcc_vfp (fmstat)

* config/arm/vfp.md (*movcc_vfp): Use UAL syntax.

From-SVN: r215055

10 years ago[ARM][5/7] Convert FP mnemonics to UAL | sqrt and FP compare patterns
Kyrylo Tkachov [Tue, 9 Sep 2014 11:27:00 +0000 (11:27 +0000)]
[ARM][5/7] Convert FP mnemonics to UAL | sqrt and FP compare patterns

* config/arm/vfp.md (*sqrtsf2_vfp): Use UAL assembly syntax.
(*sqrtdf2_vfp): Likewise.
(*cmpsf_vfp): Likewise.
(*cmpsf_trap_vfp): Likewise.
(*cmpdf_vfp): Likewise.
(*cmpdf_trap_vfp): Likewise.

* gcc.target/arm/vfp-1.c: Updated expected assembly.

From-SVN: r215054

10 years ago[ARM][4/7] Convert FP mnemonics to UAL | vcvt patterns
Kyrylo Tkachov [Tue, 9 Sep 2014 11:25:12 +0000 (11:25 +0000)]
[ARM][4/7] Convert FP mnemonics to UAL | vcvt patterns

* config/arm/vfp.md (*extendsfdf2_vfp): Use UAL assembly syntax.
(*truncdfsf2_vfp): Likewise.
(*truncsisf2_vfp): Likewise.
(*truncsidf2_vfp): Likewise.
(fixuns_truncsfsi2): Likewise.
(fixuns_truncdfsi2): Likewise.
(*floatsisf2_vfp): Likewise.
(*floatsidf2_vfp): Likewise.
(floatunssisf2): Likewise.
(floatunssidf2): Likewise.

* gcc.target/arm/vfp-1.c: Updated expected assembly.

From-SVN: r215053

10 years ago[3/7] Convert FP mnemonics to UAL | mul+add patterns
Kyrylo Tkachov [Tue, 9 Sep 2014 11:22:52 +0000 (11:22 +0000)]
[3/7] Convert FP mnemonics to UAL | mul+add patterns

* config/arm/vfp.md (*mulsf3_vfp): Use UAL assembly syntax.
(*muldf3_vfp): Likewise.
(*mulsf3negsf_vfp): Likewise.
(*muldf3negdf_vfp): Likewise.
(*mulsf3addsf_vfp): Likewise.
(*muldf3adddf_vfp): Likewise.
(*mulsf3subsf_vfp): Likewise.
(*muldf3subdf_vfp): Likewise.
(*mulsf3negsfaddsf_vfp): Likewise.
(*fmuldf3negdfadddf_vfp): Likewise.
(*mulsf3negsfsubsf_vfp): Likewise.
(*muldf3negdfsubdf_vfp): Likewise.

* gcc.target/arm/vfp-1.c: Updated expected assembly.

From-SVN: r215052

10 years ago[ARM][2/7] Convert FP mnemonics to UAL | add/sub/div/abs patterns.
Kyrylo Tkachov [Tue, 9 Sep 2014 11:20:02 +0000 (11:20 +0000)]
[ARM][2/7] Convert FP mnemonics to UAL | add/sub/div/abs patterns.

* config/arm/vfp.md (*abssf2_vfp): Use UAL assembly syntax.
(*absdf2_vfp): Likewise.
(*negsf2_vfp): Likewise.
(*negdf2_vfp): Likewise.
(*addsf3_vfp): Likewise.
(*adddf3_vfp): Likewise.
(*subsf3_vfp): Likewise.
(*subdf3_vfp): Likewise.
(*divsf3_vfp): Likewise.
(*divdf3_vfp): Likewise.

* gcc.target/arm/vfp-1.c: Updated expected assembly.

From-SVN: r215051

10 years ago[ARM][1/7] Convert FP mnemonics to UAL | mov patterns.
Kyrylo Tkachov [Tue, 9 Sep 2014 11:17:20 +0000 (11:17 +0000)]
[ARM][1/7] Convert FP mnemonics to UAL | mov patterns.

* config/arm/arm.c (output_move_vfp): Use UAL syntax for load/store
multiple.
(arm_print_operand): Don't convert real values to decimal
representation in default case.
(fp_immediate_constant): Delete.
* config/arm/arm-protos.h (fp_immediate_constant): Likewise.
* config/arm/vfp.md (*arm_movsi_vfp): Convert to VFP moves to UAL
syntax.
(*thumb2_movsi_vfp): Likewise.
(*movdi_vfp): Likewise.
(*movdi_vfp_cortexa8): Likewise.
(*movhf_vfp_neon): Likewise.
(*movhf_vfp): Likewise.
(*movsf_vfp): Likewise.
(*thumb2_movsf_vfp): Likewise.
(*movdf_vfp): Likewise.
(*thumb2_movdf_vfp): Likewise.
(*movsfcc_vfp): Likewise.
(*thumb2_movsfcc_vfp): Likewise.
(*movdfcc_vfp): Likewise.
(*thumb2_movdfcc_vfp): Likewise.

* gcc.target/arm/pr51835.c: Update expected assembly.
* gcc.target/arm/vfp-1.c: Likewise.
* gcc.target/arm/vfp-ldmdbd.c: Likewise.
* gcc.target/arm/vfp-ldmdbs.c: Likewise.
* gcc.target/arm/vfp-ldmiad.c: Likewise.
* gcc.target/arm/vfp-ldmias.c: Likewise.
* gcc.target/arm/vfp-stmdbd.c: Likewise.
* gcc.target/arm/vfp-stmdbs.c: Likewise.
* gcc.target/arm/vfp-stmiad.c: Likewise.
* gcc.target/arm/vfp-stmias.c: Likewise.

From-SVN: r215050

10 years ago[Obvious] Change Linux to GNU/LINUX in ARM options documentation
James Greenhalgh [Tue, 9 Sep 2014 10:58:18 +0000 (10:58 +0000)]
[Obvious] Change Linux to GNU/LINUX in ARM options documentation

gcc/
* doc/invoke.texi (-march): Use GNU/Linux rather than Linux.
(-mtune): Likewise.
(-mcpu): Likewise.

From-SVN: r215049

10 years agoxordi3-opt.c: Disable this test case for thumb1 target.
Tony Wang [Tue, 9 Sep 2014 10:40:40 +0000 (10:40 +0000)]
xordi3-opt.c: Disable this test case for thumb1 target.

2014-09-09  Tony Wang  <tony.wang@arm.com>

    gcc/testsuite/
    * gcc.target/arm/xordi3-opt.c: Disable this
    test case for thumb1 target.
    * gcc.target/arm/iordi3-opt.c: Ditto.

From-SVN: r215047

10 years ago[AArch64] PR 61749: Do not ICE in lane intrinsics when passed non-constant lane number
Kyrylo Tkachov [Tue, 9 Sep 2014 10:15:46 +0000 (10:15 +0000)]
[AArch64] PR 61749: Do not ICE in lane intrinsics when passed non-constant lane number

PR target/61749
* config/aarch64/aarch64-builtins.c (aarch64_types_quadop_qualifiers):
Use qualifier_immediate for last operand.  Rename to...
(aarch64_types_ternop_lane_qualifiers): ... This.
(TYPES_QUADOP): Rename to...
(TYPES_TERNOP_LANE): ... This.
(aarch64_simd_expand_args): Return const0_rtx when encountering user
error.  Change return of 0 to return of NULL_RTX.
(aarch64_crc32_expand_builtin): Likewise.
(aarch64_expand_builtin): Return NULL_RTX instead of 0.
ICE when expanding unknown builtin.
* config/aarch64/aarch64-simd-builtins.def (sqdmlal_lane): Use
TERNOP_LANE qualifiers.
(sqdmlsl_lane): Likewise.
(sqdmlal_laneq): Likewise.
(sqdmlsl_laneq): Likewise.
(sqdmlal2_lane): Likewise.
(sqdmlsl2_lane): Likewise.
(sqdmlal2_laneq): Likewise.
(sqdmlsl2_laneq): Likewise.

* gcc.target/aarch64/vqdml_lane_intrinsics-bad_1.c: New test.

From-SVN: r215046

10 years agoinvoke.texi (Optimization Options): Add missing @gol to the end of a line.
Nick Clifton [Tue, 9 Sep 2014 08:27:39 +0000 (08:27 +0000)]
invoke.texi (Optimization Options): Add missing @gol to the end of a line.

* doc/invoke.texi (Optimization Options): Add missing @gol to the
end of a line.
(S/390 and zSeries Options): Remove superfluous word from the
description of the -mhotpatch option.

From-SVN: r215044

10 years agoshrink-wrap.h: #define SHRINK_WRAPPING_ENABLED.
Zhenqiang Chen [Tue, 9 Sep 2014 05:30:36 +0000 (05:30 +0000)]
shrink-wrap.h: #define SHRINK_WRAPPING_ENABLED.

ChangeLog:
2014-09-09  Zhenqiang Chen  <zhenqiang.chen@arm.com>

* shrink-wrap.h: #define SHRINK_WRAPPING_ENABLED.
* ira.c: #include "shrink-wrap.h"
(split_live_ranges_for_shrink_wrap): Use SHRINK_WRAPPING_ENABLED.
* ifcvt.c: #include "shrink-wrap.h"
(dead_or_predicable): Use SHRINK_WRAPPING_ENABLED.

testsuite/ChangeLog:
2014-09-09  Zhenqiang Chen  <zhenqiang.chen@arm.com>

* gcc.target/arm/split-live-ranges-for-shrink-wrap.c: New test.

From-SVN: r215041

10 years agoremove picochip
Trevor Saunders [Tue, 9 Sep 2014 02:11:06 +0000 (02:11 +0000)]
remove picochip

contrib/ChangeLog:

2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>

* compare-all-tests: Don't test picochip.
* config-list.mk: Likewise.

gcc/ChangeLog:

2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>

* common/config/picochip/picochip-common.c: Remove.
* config.gcc: Remove support for picochip.
* config/picochip/constraints.md: Remove.
* config/picochip/dfa_space.md: Remove.
* config/picochip/dfa_speed.md: Remove.
* config/picochip/picochip-protos.h: Remove.
* config/picochip/picochip.c: Remove.
* config/picochip/picochip.h: Remove.
* config/picochip/picochip.md: Remove.
* config/picochip/picochip.opt: Remove.
* config/picochip/predicates.md: Remove.
* config/picochip/t-picochip: Remove.
* doc/md.texi: Don't document picochi.

libgcc/ChangeLog:

2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>

* config.host: Remove picochip support.
* config/picochip/adddi3.S: Remove.
* config/picochip/ashlsi3.S: Remove.
* config/picochip/ashlsi3.c: Remove.
* config/picochip/ashrsi3.S: Remove.
* config/picochip/ashrsi3.c: Remove.
* config/picochip/clzsi2.S: Remove.
* config/picochip/cmpsi2.S: Remove.
* config/picochip/divmod15.S: Remove.
* config/picochip/divmodhi4.S: Remove.
* config/picochip/divmodsi4.S: Remove.
* config/picochip/lib1funcs.S: Remove.
* config/picochip/longjmp.S: Remove.
* config/picochip/lshrsi3.S: Remove.
* config/picochip/lshrsi3.c: Remove.
* config/picochip/parityhi2.S: Remove.
* config/picochip/popcounthi2.S: Remove.
* config/picochip/setjmp.S: Remove.
* config/picochip/subdi3.S: Remove.
* config/picochip/t-picochip: Remove.
* config/picochip/ucmpsi2.S: Remove.
* config/picochip/udivmodhi4.S: Remove.
* config/picochip/udivmodsi4.S: Remove.

From-SVN: r215039

10 years agoDaily bump.
GCC Administrator [Tue, 9 Sep 2014 00:16:58 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r215036

10 years agocontrol_flow_insn_p takes an insn
David Malcolm [Mon, 8 Sep 2014 20:52:19 +0000 (20:52 +0000)]
control_flow_insn_p takes an insn

gcc/ChangeLog:
2014-09-08  David Malcolm  <dmalcolm@redhat.com>

* basic-block.h (control_flow_insn_p): Strengthen param from
const_rtx to const rtx_insn *.
* cfgbuild.c (control_flow_insn_p): Likewise.

From-SVN: r215028

10 years agogcse.c's modify_mem_list is a list of insns
David Malcolm [Mon, 8 Sep 2014 20:45:32 +0000 (20:45 +0000)]
gcse.c's modify_mem_list is a list of insns

gcc/ChangeLog:
2014-09-08  David Malcolm  <dmalcolm@redhat.com>

* gcse.c (modify_mem_list): Strengthen this variable from
vec<rtx> * to vec<rtx_insn *> *.
(vec_rtx_heap): Strengthen this typedef from vec<rtx> to
vec<rtx_insn *>.
(load_killed_in_block_p): Strengthen local "list" from vec<rtx> to
vec<rtx_insn *>, and local "setter" from rtx to rtx_insn *.
(record_last_mem_set_info): Strengthen param "insn" from rtx to
rtx_insn *.
(record_last_set_info): Likewise for local "last_set_insn".

From-SVN: r215027

10 years agore PR tree-optimization/60196 (Incorrect compilation with -fwrapv and -ftree-vectorize)
Jakub Jelinek [Mon, 8 Sep 2014 20:15:31 +0000 (22:15 +0200)]
re PR tree-optimization/60196 (Incorrect compilation with -fwrapv and -ftree-vectorize)

PR tree-optimization/60196
PR tree-optimization/63189
* gcc.dg/vect/pr63189.c: New test.
* gcc.dg/vect/pr60196-1.c: New test.
* gcc.dg/vect/pr60196-2.c: New test.

From-SVN: r215025

10 years ago* doc/invoke.texi (MSP430 Options): Add -minrt.
DJ Delorie [Mon, 8 Sep 2014 19:34:18 +0000 (15:34 -0400)]
* doc/invoke.texi (MSP430 Options): Add -minrt.

From-SVN: r215021

10 years agors6000.c (special_handling_values): Add SH_SPLAT.
Bill Schmidt [Mon, 8 Sep 2014 18:40:56 +0000 (18:40 +0000)]
rs6000.c (special_handling_values): Add SH_SPLAT.

[gcc]

2014-09-08  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* config/rs6000/rs6000.c (special_handling_values):  Add SH_SPLAT.
(rtx_is_swappable_p): Convert UNSPEC cascading ||s to a switch
statement; allow optimization of UNSPEC_VSPLT_DIRECT with special
handling SH_SPLAT.
(adjust_extract): Fix test for VEC_DUPLICATE case; fix adjustment
of extracted lane.
(adjust_splat): New function.
(handle_special_swappables): Call adjust_splat for SH_SPLAT.
(dump_swap_insn_table): Add case for SH_SPLAT.

[gcc/testsuite]

2014-09-08  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* gcc.target/powerpc/swaps-p8-16.c: New test.

From-SVN: r215019

10 years agore PR ipa/63196 (FAIL: g++.dg/torture/pr57140.C -O3 -fomit-frame-pointer (internal...
Richard Biener [Mon, 8 Sep 2014 14:28:51 +0000 (14:28 +0000)]
re PR ipa/63196 (FAIL: g++.dg/torture/pr57140.C   -O3 -fomit-frame-pointer  (internal compiler error))

2014-09-08  Richard Biener  <rguenther@suse.de>

PR ipa/63196
* tree-inline.c (copy_loops): The source loop header should
always be non-NULL.
(tree_function_versioning): If loops need fixup after removing
unreachable blocks fix them.
* omp-low.c (simd_clone_adjust): Do not add incr block to
loop under construction.

From-SVN: r215016

10 years ago[Obvious] Remove unused aarch64_types_cmtst_qualifiers, was breaking bootstrap.
Alan Lawrence [Mon, 8 Sep 2014 14:18:01 +0000 (14:18 +0000)]
[Obvious] Remove unused aarch64_types_cmtst_qualifiers, was breaking bootstrap.

        * config/aarch64/aarch64-builtins.c
        (aarch64_types_cmtst_qualifiers, TYPES_TST): Remove as unused.

From-SVN: r215015

10 years agoRemove SF_SIZE etc. target macros.
Joseph Myers [Mon, 8 Sep 2014 12:25:35 +0000 (13:25 +0100)]
Remove SF_SIZE etc. target macros.

gcc:
* config/i386/cygming.h (TF_SIZE): Remove.
* config/i386/darwin.h (TF_SIZE): Remove.
* config/i386/dragonfly.h (TF_SIZE): Remove.
* config/i386/freebsd.h (TF_SIZE): Remove.
* config/i386/gnu-user-common.h (TF_SIZE): Remove.
* config/i386/openbsdelf.h (TF_SIZE): Remove.
* config/i386/sol2.h (TF_SIZE): Remove.
* config/ia64/hpux.h (XF_SIZE, TF_SIZE): Remove.
* config/ia64/linux.h (TF_SIZE): Remove.
* doc/tm.texi.in (SF_SIZE, DF_SIZE, XF_SIZE, TF_SIZE): Remove.
* doc/tm.texi: Regenerate.
* system.h (SF_SIZE, DF_SIZE, XF_SIZE, TF_SIZE): Poison.

gcc/c-family:
* c-cppbuiltin.c (c_cpp_builtins): Define macros for mantissa
digits of floating-point modes if -fbuilding-libgcc.

libgcc:
* libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
(DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
(XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
(TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
* libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
error if not defined and LIBGCC2_HAS_SF_MODE is defined.
(DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
defined and LIBGCC2_HAS_DF_MODE is defined.
(XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
defined and LIBGCC2_HAS_XF_MODE is defined.
(TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
defined and LIBGCC2_HAS_TF_MODE is defined.

From-SVN: r215014

10 years agoRemove no-longer-needed fp-bit target macros.
Joseph Myers [Mon, 8 Sep 2014 12:22:56 +0000 (13:22 +0100)]
Remove no-longer-needed fp-bit target macros.

gcc:
* defaults.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO):
Remove.
* doc/tm.texi.in (ROUND_TOWARDS_ZERO, LARGEST_EXPONENT_IS_NORMAL):
Remove.
* doc/tm.texi: Regenerate.
* system.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO):
Poison.
* config/arm/arm.h (LARGEST_EXPONENT_IS_NORMAL): Remove.
* config/cris/cris.h (__make_dp): Remove.

libgcc:
* fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
and ROUND_TOWARDS_ZERO conditionals.

From-SVN: r215013

10 years agore PR bootstrap/63204 (gtype-desc.c:887:40: error: 'struct loop' has no member named...
Richard Biener [Mon, 8 Sep 2014 12:01:50 +0000 (12:01 +0000)]
re PR bootstrap/63204 (gtype-desc.c:887:40: error: 'struct loop' has no member named 'former_header' breaks bootstrap)

2014-09-08  Richard Biener  <rguenther@suse.de>

PR bootstrap/63204
* cfgloop.c (mark_loop_for_removal): Track former header
unconditionally.
* cfgloop.h (struct loop): Add former_header member unconditionally.
* loop-init.c (fix_loop_structure): Enable bogus loop removal
diagnostic unconditionally.

From-SVN: r215012

10 years agoDaily bump.
GCC Administrator [Mon, 8 Sep 2014 00:17:06 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r215008

10 years agolibgcov-interface.c (STRONG_ALIAS): Rename to ...
Nathan Sidwell [Sun, 7 Sep 2014 18:09:34 +0000 (18:09 +0000)]
libgcov-interface.c (STRONG_ALIAS): Rename to ...

* libgcov-interface.c (STRONG_ALIAS): Rename to ...
(ALIAS_weak): ... here. Use forwarding function.  Adjust uses.

From-SVN: r215005

10 years agoFix PR63190
Venkataramanan Kumar [Sun, 7 Sep 2014 17:08:50 +0000 (17:08 +0000)]
Fix PR63190

From-SVN: r215004

10 years agore PR rtl-optimization/62208 (ICE with -fwhole-program on valid code at -O3 on x86_64...
Richard Sandiford [Sun, 7 Sep 2014 08:54:49 +0000 (08:54 +0000)]
re PR rtl-optimization/62208 (ICE with -fwhole-program on valid code at -O3 on x86_64-linux-gnu in trunc_int_for_mode, at explow.c:56)

gcc/
PR rtl-optimization/62208
* simplify-rtx.c (simplify_relational_operation_1): Use CONST0_RTX
rather than const0_rtx in eq/ne-xor simplifications.

gcc/testsuite/
* gcc.target/i386/pr62208.c: New test.

From-SVN: r215002

10 years agoDaily bump.
GCC Administrator [Sun, 7 Sep 2014 00:16:27 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r215001

10 years agore PR testsuite/56194 (FAIL: g++.dg/init/const9.C -std=c++98 scan-assembler-not...
John David Anglin [Sat, 6 Sep 2014 21:45:53 +0000 (21:45 +0000)]
re PR testsuite/56194 (FAIL: g++.dg/init/const9.C -std=c++98  scan-assembler-not rodata)

PR testsuite/56194
* g++.dg/init/const9.C: Skip scan-assembler-not "rodata" on hppa*-*-*.

From-SVN: r214996

10 years agopr61800.C: Require visibility.
John David Anglin [Sat, 6 Sep 2014 21:28:13 +0000 (21:28 +0000)]
pr61800.C: Require visibility.

* g++.dg/ipa/pr61800.C: Require visibility.

From-SVN: r214995

10 years agopr61868.c: Require lto.
John David Anglin [Sat, 6 Sep 2014 19:25:29 +0000 (19:25 +0000)]
pr61868.c: Require lto.

* gcc.dg/pr61868.c: Require lto.

From-SVN: r214994

10 years agoarc.c (arc_predicate_delay_insns): Swap comparison arguments to silence bogus warning.
Joern Rennecke [Sat, 6 Sep 2014 16:14:47 +0000 (16:14 +0000)]
arc.c (arc_predicate_delay_insns): Swap comparison arguments to silence bogus warning.

        * config/arc/arc.c (arc_predicate_delay_insns): Swap comparison
        arguments to silence bogus warning.

From-SVN: r214993

10 years agoarc.c (arc_print_operand): Fix format for HOST_WIDE_INT.
Joern Rennecke [Sat, 6 Sep 2014 16:04:40 +0000 (16:04 +0000)]
arc.c (arc_print_operand): Fix format for HOST_WIDE_INT.

        * config/arc/arc.c (arc_print_operand): Fix format for HOST_WIDE_INT.
        * arc_output_mi_thunk: Likewise.

From-SVN: r214992

10 years agore PR target/63171 (Segfault in rs6000.c:rs6000_emit_move for multiple tls tests...
Richard Sandiford [Sat, 6 Sep 2014 10:04:44 +0000 (10:04 +0000)]
re PR target/63171 (Segfault in rs6000.c:rs6000_emit_move for multiple tls tests starting with r214658)

gcc/
PR middle-end/63171
* rtlanal.c (tls_referenced_p): Don't skip constant subrtxes.

From-SVN: r214989

10 years agoFix IRA_HARD_REGNO_ADD_COST_MULTIPLIER in ira_tune_allocno_costs
Tom de Vries [Sat, 6 Sep 2014 08:08:36 +0000 (08:08 +0000)]
Fix IRA_HARD_REGNO_ADD_COST_MULTIPLIER in ira_tune_allocno_costs

2014-09-06  Tom de Vries  <tom@codesourcery.com>

* ira-costs.c (ira_tune_allocno_costs): Don't conditionalize
IRA_HARD_REGNO_ADD_COST_MULTIPLIER code on
ALLOCNO_CROSSED_CALLS_CLOBBERED_REGS.

From-SVN: r214988

10 years agohashtable_policy.h (_Prime_rehash_policy): Constructor noexcept qualified.
François Dumont [Sat, 6 Sep 2014 07:38:48 +0000 (07:38 +0000)]
hashtable_policy.h (_Prime_rehash_policy): Constructor noexcept qualified.

2014-09-06  François Dumont  <fdumont@gcc.gnu.org>

* include/bits/hashtable_policy.h (_Prime_rehash_policy): Constructor
noexcept qualified.
(_Hash_code_base<>): All specialization default constructible if
possible.
(_Hashtable_base<>): Likewise.
* include/bits/hashtable.h (_Hashtable<>()): Implementation defaulted.
* include/bits/unordered_map.h (unordered_map<>::unordered_map()): New,
implementation defaulted.
(unordered_multimap<>::unordered_multimap()): Likewise.
* include/bits/unordered_set.h
(unordered_set<>::unordered_set()): Likewise.
(unordered_multiset<>::unordered_multiset()): Likewise.
* include/debug/unordered_map: Likewise.
* include/debug/unordered_set: Likewise.
* testsuite/23_containers/unordered_map/allocator/noexcept.cc
(test04()): New.
* testsuite/23_containers/unordered_multimap/allocator/noexcept.cc
(test04()): New.
* testsuite/23_containers/unordered_set/allocator/noexcept.cc
(test04()): New.
* testsuite/23_containers/unordered_multiset/allocator/noexcept.cc
(test04()): New.

From-SVN: r214986

10 years agore PR bootstrap/63188 (r214954 breaks bootstrap on x86_64-apple-darwin13)
Dominique d'Humieres [Sat, 6 Sep 2014 05:17:10 +0000 (05:17 +0000)]
re PR bootstrap/63188 (r214954 breaks bootstrap on x86_64-apple-darwin13)

2014-09-05  Dominique Dhumieres  <dominiq@lps.ens.fr>

PR target/63188
* config/darwin.h (INIT_SECTION_ASM_OP): Define to "".
* config/pa/pa64-hpux.h (INIT_SECTION_ASM_OP): Likewise.

From-SVN: r214983

10 years agoDaily bump.
GCC Administrator [Sat, 6 Sep 2014 00:16:51 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r214980

10 years agore PR rtl-optimization/62146 (CSE replaces constant with an expression incorrectly)
Easwaran Raman [Fri, 5 Sep 2014 22:23:26 +0000 (22:23 +0000)]
re PR rtl-optimization/62146 (CSE replaces constant with an expression incorrectly)

2014-09-05  Easwaran Raman  <eraman@google.com>

        PR rtl-optimization/62146
        * ifcvt.c (dead_or_predicable): Make removal of REG_EQUAL note of
          hoisted instruction unconditional.

        testsuite:
        * testsuite/g++.dg/opt/pr62146.C: New.

From-SVN: r214977

10 years agore PR target/63187 (Unrecognizable insn ICE due to revision 214080)
Segher Boessenkool [Fri, 5 Sep 2014 19:17:08 +0000 (21:17 +0200)]
re PR target/63187 (Unrecognizable insn ICE due to revision 214080)

2014-09-05  Segher Boessenkool  <segher@kernel.crashing.org>

PR target/63187
* config/rs6000/rs6000.md (*and<mode>3_imm_dot, *and<mode>3_imm_dot2):
Do not allow any_mask_operand for operands[2].
(*and<mode>3_imm_mask_dot, *and<mode>3_imm_mask_dot2): New.

From-SVN: r214976

10 years agore PR c++/62659 (Regression in template argument substitution in 4.9+)
Jason Merrill [Fri, 5 Sep 2014 17:59:40 +0000 (13:59 -0400)]
re PR c++/62659 (Regression in template argument substitution in 4.9+)

PR c++/62659
* semantics.c (potential_constant_expression_1): Handle un-folded
pointer to member constants.

From-SVN: r214974

10 years agoruntime: Use the clone system call on GNU/Linux.
Ian Lance Taylor [Fri, 5 Sep 2014 15:24:36 +0000 (15:24 +0000)]
runtime: Use the clone system call on GNU/Linux.

Without this we weren't supporting the standard Cloneflags
field of SysProcAttr.

From-SVN: r214972

10 years agoUse rtx_insn for various jump-handling functions and predicates
David Malcolm [Fri, 5 Sep 2014 15:15:43 +0000 (15:15 +0000)]
Use rtx_insn for various jump-handling functions and predicates

gcc/ChangeLog:
2014-09-05  David Malcolm  <dmalcolm@redhat.com>

* config/arc/arc.c (arc_print_operand): Use insn method of
final_sequence for type-safety.
* config/bfin/bfin.c (bfin_hardware_loop): Strengthen param
"insn" from rtx to rtx_insn *.
* config/frv/frv.c (frv_print_operand_jump_hint): Likewise.
* config/mn10300/mn10300.c (mn10300_scan_for_setlb_lcc):
Likewise for locals "branch", "label".
* config/h8300/h8300.c (same_cmp_preceding_p): Likewise for
locals "i1", "i2".  Use NULL rather than NULL_RTX in comparisons.
(same_cmp_following_p): Likewise for locals "i2", "i3".
* config/sh/sh_optimize_sett_clrt.cc
(sh_optimize_sett_clrt::sh_cbranch_ccreg_value): Likewise for
param "cbranch_insn".
* function.c (convert_jumps_to_returns): Likewis for local "jump".
* ifcvt.c (cond_exec_get_condition): Likewise for param "jump".
* jump.c (simplejump_p): Strengthen param "insn" from const_rtx to
const rtx_insn *.
(condjump_p): Likewise.
(condjump_in_parallel_p): Likewise.
(pc_set): Likewise.
(any_uncondjump_p): Likewise.
(any_condjump_p): Likewise.
(condjump_label): Likewise.
(returnjump_p): Strengthen param "insn" from rtx to
const rtx_insn *.
(onlyjump_p): Strengthen param "insn" from const_rtx to
const rtx_insn *.
(jump_to_label_p): Likewise.
(invert_jump_1): Strengthen param "jump" from rtx to rtx_insn *.
(invert_jump): Likewise.
* reorg.c (simplejump_or_return_p): Add checked cast when calling
simplejump_p.
(get_jump_flags): Strengthen param "insn" from rtx to
const rtx_insn *.
(get_branch_condition): Likewise.
(condition_dominates_p): Likewise.
(make_return_insns): Move declaration of local "pat" earlier, to
after we've handled NONJUMP_INSN_P and non-sequences, using its
methods to simplify the code and for type-safety.
* rtl.h (find_constant_src): Strengthen param from const_rtx to
const rtx_insn *.
(jump_to_label_p): Strengthen param from rtx to const rtx_insn *.
(condjump_p): Strengthen param from const_rtx to
const rtx_insn *.
(any_condjump_p): Likewise.
(any_uncondjump_p): Likewise.
(pc_set): Likewise.
(condjump_label): Likewise.
(simplejump_p): Likewise.
(returnjump_p): Likewise.
(onlyjump_p): Likewise.
(invert_jump_1): Strengthen param 1 from rtx to rtx_insn *.
(invert_jump): Likewise.
(condjump_in_parallel_p): Strengthen param from const_rtx to
const rtx_insn *.
* rtlanal.c (find_constant_src): Strengthen param from const_rtx
to const rtx_insn *.
* sel-sched-ir.c (fallthru_bb_of_jump): Strengthen param from rtx
to const rtx_insn *.
* sel-sched-ir.h (fallthru_bb_of_jump): Likewise.

From-SVN: r214970

10 years agoSimplification within reorg.c
David Malcolm [Fri, 5 Sep 2014 15:03:12 +0000 (15:03 +0000)]
Simplification within reorg.c

gcc/ChangeLog:
2014-09-05  David Malcolm  <dmalcolm@redhat.com>

* reorg.c (relax_delay_slots): Move declaration of "trial_seq"
above the conditional, and convert the check on GET_CODE to a
dyn_cast, so that "trial_seq" is available as an rtx_sequence * in
the conditional.  Simplify the conditional by using methods of
"trial_seq".

From-SVN: r214969

10 years agoUse rtx_insn_list within haifa-sched.c
David Malcolm [Fri, 5 Sep 2014 14:55:53 +0000 (14:55 +0000)]
Use rtx_insn_list within haifa-sched.c

gcc/ChangeLog:
2014-09-05  David Malcolm  <dmalcolm@redhat.com>

* haifa-sched.c (check_clobbered_conditions): Strengthen local
"link" from rtx to rtx_insn_list *, and use its methods for
clarity and type-safety.
(toggle_cancelled_flags): Likewise.
(restore_last_backtrack_point): Likewise.
(queue_to_ready): Use insn method of "link" in one place.
(schedule_block): Strengthen local "link" from rtx to
rtx_insn_list *, and use its methods for clarity and type-safety.

From-SVN: r214968

10 years agoUse rtx_insn for more scheduler things, plus CONST_CAST_RTX_INSN
David Malcolm [Fri, 5 Sep 2014 14:51:09 +0000 (14:51 +0000)]
Use rtx_insn for more scheduler things, plus CONST_CAST_RTX_INSN

gcc/ChangeLog:
2014-09-05  David Malcolm  <dmalcolm@redhat.com>

* sched-deps.c (sched_get_condition_with_rev_uncached): Strengthen
param "insn" from const_rtx to const rtx_insn *.
(sched_get_reverse_condition_uncached): Likewise.
(sched_get_condition_with_rev): Likewise.
(sched_has_condition_p): Likewise.
(sched_insns_conditions_mutex_p): Likewise for both params.
(sched_insn_is_legitimate_for_speculation_p): Likewise for param
"insn"; convert use of CONST_CAST_RTX to CONST_CAST_RTX_INSN.
(setup_insn_reg_uses): Move local "list" to be more tightly
scoped, strengthening it from an rtx to an rtx_insn_list *.  Use
its methods for clarity and type-safety.
(sched_analyze_1): Strengthen local "pending" from rtx to
rtx_insn_list *, and local "pending_mem" from rtx to
rtx_expr_list *.  Use methods of each for clarity and type-safety.
(sched_analyze_2): Likewise.
(sched_analyze_insn): Likewise.

* sched-int.h (sched_get_reverse_condition_uncached): Strengthen
param from const_rtx to const rtx_insn *.
(sched_insns_conditions_mutex_p): Likewise for both params.
(sched_insn_is_legitimate_for_speculation_p): Likewise for first
param.

* system.h (CONST_CAST_RTX_INSN): New macro.

From-SVN: r214967

10 years agoUse rtx_insn more within peep2
David Malcolm [Fri, 5 Sep 2014 14:47:02 +0000 (14:47 +0000)]
Use rtx_insn more within peep2

gcc/ChangeLog:
2014-09-05  David Malcolm  <dmalcolm@redhat.com>

* recog.c (peep2_attempt): Strengthen return type from rtx to
rtx_insn *.
(peep2_update_life): Likewise for params "last", "prev", removing
a checked cast made redundant by this.
(peephole2_optimize): Likewise for local "last".

From-SVN: r214966

10 years agoruntime: Use correct size for unsafe.Pointer GC instructions.
Ian Lance Taylor [Fri, 5 Sep 2014 14:43:24 +0000 (14:43 +0000)]
runtime: Use correct size for unsafe.Pointer GC instructions.

From-SVN: r214965

10 years agoConvert set_block_for_insn from a macro to an inline function
David Malcolm [Fri, 5 Sep 2014 14:19:35 +0000 (14:19 +0000)]
Convert set_block_for_insn from a macro to an inline function

gcc/ChangeLog:
2014-09-05  David Malcolm  <dmalcolm@redhat.com>

* basic-block.h (set_block_for_insn): Eliminate this macro in
favor of...
* rtl.h (set_block_for_insn): New inline function, imposing the
requirement that the "insn" param is an rtx_insn *.

From-SVN: r214963

10 years agoEliminate the checked cast from get_call_reg_set_usage
David Malcolm [Fri, 5 Sep 2014 14:13:28 +0000 (14:13 +0000)]
Eliminate the checked cast from get_call_reg_set_usage

gcc/ChangeLog
2014-09-05  David Malcolm  <dmalcolm@redhat.com>

* caller-save.c (setup_save_areas): Strengthen local "insn" from
rtx to rtx_insn *.
* final.c (get_call_reg_set_usage): Likewise for first param,
eliminating a checked cast.
* regs.h (get_call_reg_set_usage): Likewise for first param.
* resource.c (mark_set_resources): Introduce local rtx_call_insn *
"call_insn" for the case of a MARK_SRC_DEST_CALL via a checked
cast, replacing references to "x" with "call_insn" where
appropriate.
(mark_target_live_regs): Strengthen local "real_insn" from rtx to
rtx_insn *, adding a checked cast.

From-SVN: r214962

10 years agoDrop uncast_insn from param 1 of final_scan_insn
David Malcolm [Fri, 5 Sep 2014 14:04:46 +0000 (14:04 +0000)]
Drop uncast_insn from param 1 of final_scan_insn

gcc/ChangeLog
2014-09-05  David Malcolm  <dmalcolm@redhat.com>

* output.h (final_scan_insn): Strengthen first param from rtx to
rtx_insn *.

* final.c (final_scan_insn): Likewise, renaming it back from
"uncast_insn" to "insn", eliminating the checked cast.

* config/h8300/h8300.md (define_insn "jump"): Replace local rtx
"vec" with an rtx_sequence * "seq", taking a copy of
"final_sequence", and using methods of "seq" for clarity, and for
type-safety in the calls to final_scan_insn.
* config/mips/mips.c (mips_output_conditional_branch): Use methods
of "final_sequence" for clarity, and for type-safety in the call to
final_scan_insn.
* config/sh/sh.c (print_slot): Strengthen param from rtx to
rtx_sequence * and rename from "insn" to "seq".

From-SVN: r214961

10 years agoUse rtx_jump_table_data in jump.c:delete_related_insns
David Malcolm [Fri, 5 Sep 2014 13:58:29 +0000 (13:58 +0000)]
Use rtx_jump_table_data in jump.c:delete_related_insns

gcc/ChangeLog
2014-09-05  David Malcolm  <dmalcolm@redhat.com>

* jump.c (delete_related_insns): Introduce a new local "table" by
replacing JUMP_TABLE_DATA_P with a dyn_cast, then use the
get_labels method of "table" to simplify access to the labels in
the jump table.

From-SVN: r214960

10 years ago[ARM/AArch64] Add scheduling info for ARMv8-A FPU new instructions in Cortex-A53.
Kyrylo Tkachov [Fri, 5 Sep 2014 13:44:17 +0000 (13:44 +0000)]
[ARM/AArch64] Add scheduling info for ARMv8-A FPU new instructions in Cortex-A53.

* config/arm/cortex-a53.md (cortex_a53_fpalu): Add f_rints, f_rintd,
f_minmaxs, f_minmaxd types.

From-SVN: r214959

10 years agore PR fortran/62245 (gfortran miscompiles int() on mips)
Joost VandeVondele [Fri, 5 Sep 2014 13:40:05 +0000 (13:40 +0000)]
re PR fortran/62245 (gfortran miscompiles int() on mips)

        PR fortran/62245
        * intrinsic.texi (INT): clarify result.

From-SVN: r214958

10 years agocfgloop.c (mark_loop_for_removal): Record former header when ENABLE_CHECKING.
Richard Biener [Fri, 5 Sep 2014 13:04:40 +0000 (13:04 +0000)]
cfgloop.c (mark_loop_for_removal): Record former header when ENABLE_CHECKING.

2014-09-05  Richard Biener  <rguenther@suse.de>

* cfgloop.c (mark_loop_for_removal): Record former header
when ENABLE_CHECKING.
* cfgloop.h (strut loop): Add former_header member when
ENABLE_CHECKING.
* loop-init.c (fix_loop_structure): Sanity check loops
marked for removal if they re-appeared.

From-SVN: r214957

10 years agovect-109.c: Skip predicate added.
Marat Zakirov [Fri, 5 Sep 2014 13:04:21 +0000 (13:04 +0000)]
vect-109.c: Skip predicate added.

2014-09-05  Marat Zakirov  <m.zakirov@samsung.com>

testsuite
* gcc.dg/vect/vect-109.c: Skip predicate added.
* gcc.dg/vect/vect-93.c: Test check fixed.
* gcc.dg/vect/bb-slp-10.c: Likewise.
* lib/target-supports.exp (check_effective_target_arm_vect_no_misalign):
Check unaligned feature.

From-SVN: r214956

10 years agoUse -fbuilding-libgcc for more target macros used in libgcc.
Joseph Myers [Fri, 5 Sep 2014 12:03:46 +0000 (13:03 +0100)]
Use -fbuilding-libgcc for more target macros used in libgcc.

gcc/c-family:
* c-cppbuiltin.c (c_cpp_builtins): Also define
__LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__,
__LIBGCC_EH_FRAME_SECTION_NAME__, __LIBGCC_JCR_SECTION_NAME__,
__LIBGCC_CTORS_SECTION_ASM_OP__, __LIBGCC_DTORS_SECTION_ASM_OP__,
__LIBGCC_TEXT_SECTION_ASM_OP__, __LIBGCC_INIT_SECTION_ASM_OP__,
__LIBGCC_INIT_ARRAY_SECTION_ASM_OP__,
__LIBGCC_STACK_GROWS_DOWNWARD__,
__LIBGCC_DONT_USE_BUILTIN_SETJMP__,
__LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__,
__LIBGCC_DWARF_FRAME_REGISTERS__,
__LIBGCC_EH_RETURN_STACKADJ_RTX__, __LIBGCC_JMP_BUF_SIZE__,
__LIBGCC_STACK_POINTER_REGNUM__ and
__LIBGCC_VTABLE_USES_DESCRIPTORS__ for -fbuilding-libgcc.
(builtin_define_with_value): Handle backslash-escaping in string
macro values.

libgcc:
* Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
* config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
uses to __LIBGCC_STACK_POINTER_REGNUM__.
(DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
__LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
* config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
* config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
(DWARF_FRAME_REGISTERS): Change all uses to
__LIBGCC_DWARF_FRAME_REGISTERS__.
(EH_RETURN_STACKADJ_RTX): Change all uses to
__LIBGCC_EH_RETURN_STACKADJ_RTX__.
* config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
__LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
* config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
use to __LIBGCC_EH_FRAME_SECTION_NAME__.
(JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
* config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
to __LIBGCC_EH_FRAME_SECTION_NAME__.
(JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
* config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
__LIBGCC_STACK_POINTER_REGNUM__.
(DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
__LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
* config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
to __LIBGCC_STACK_POINTER_REGNUM__.
* config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
* config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
* config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
(STACK_POINTER_REGNUM): Change all uses to
__LIBGCC_STACK_POINTER_REGNUM__.
* config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
use to __LIBGCC_STACK_POINTER_REGNUM__.
* config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
uses to __LIBGCC_STACK_POINTER_REGNUM__.
* config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
to __LIBGCC_DWARF_FRAME_REGISTERS__.
* config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
to __LIBGCC_DWARF_FRAME_REGISTERS__.
* config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
to __LIBGCC_STACK_POINTER_REGNUM__.
* config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
Remove conditional definition.
* crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
__LIBGCC_TEXT_SECTION_ASM_OP__.
(EH_FRAME_SECTION_NAME): Change all uses to
__LIBGCC_EH_FRAME_SECTION_NAME__.
(EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
__LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
(CTORS_SECTION_ASM_OP): Change all uses to
__LIBGCC_CTORS_SECTION_ASM_OP__.
(DTORS_SECTION_ASM_OP): Change all uses to
__LIBGCC_DTORS_SECTION_ASM_OP__.
(JCR_SECTION_NAME): Change all uses to
__LIBGCC_JCR_SECTION_NAME__.
(INIT_SECTION_ASM_OP): Change all uses to
__LIBGCC_INIT_SECTION_ASM_OP__.
(INIT_ARRAY_SECTION_ASM_OP): Change all uses to
__LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
* generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
__LIBGCC_STACK_GROWS_DOWNWARD__.
* libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
__LIBGCC_INIT_SECTION_ASM_OP__.
(INIT_ARRAY_SECTION_ASM_OP): Change all uses to
__LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
(EH_FRAME_SECTION_NAME): Change all uses to
__LIBGCC_EH_FRAME_SECTION_NAME__.
* libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
definitions.  Change all uses to
__LIBGCC_VTABLE_USES_DESCRIPTORS__.
* unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
__LIBGCC_STACK_GROWS_DOWNWARD__.
(DWARF_FRAME_REGISTERS): Change all uses to
__LIBGCC_DWARF_FRAME_REGISTERS__.
(EH_RETURN_STACKADJ_RTX): Change all uses to
__LIBGCC_EH_RETURN_STACKADJ_RTX__.
* unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
* unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
__LIBGCC_DONT_USE_BUILTIN_SETJMP__.
(JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.

From-SVN: r214954

10 years ago[PATCH AArch64] Rename [u]int32x1_t to [u]int32_t (resp 16x1, 8x1) in arm_neon.h
Alan Lawrence [Fri, 5 Sep 2014 11:48:04 +0000 (11:48 +0000)]
[PATCH AArch64] Rename [u]int32x1_t to [u]int32_t (resp 16x1, 8x1) in arm_neon.h

gcc/:

* config/aarch64/arm_neon.h (int32x1_t, int16x1_t, int8x1_t,
uint32x1_t, uint16x1_t, uint8x1_t): Remove typedefs.

(vqabsb_s8, vqabsh_s16, vqabss_s32, vqaddb_s8, vqaddh_s16, vqadds_s32,
vqaddb_u8, vqaddh_u16, vqadds_u32, vqdmlalh_s16, vqdmlalh_lane_s16,
vqdmlals_s32, vqdmlslh_s16, vqdmlslh_lane_s16, vqdmlsls_s32,
vqdmulhh_s16, vqdmulhh_lane_s16, vqdmulhs_s32, vqdmulhs_lane_s32,
vqdmullh_s16, vqdmullh_lane_s16, vqdmulls_s32, vqdmulls_lane_s32,
vqmovnh_s16, vqmovns_s32, vqmovnd_s64, vqmovnh_u16, vqmovns_u32,
vqmovnd_u64, vqmovunh_s16, vqmovuns_s32, vqmovund_s64, vqnegb_s8,
vqnegh_s16, vqnegs_s32, vqrdmulhh_s16, vqrdmulhh_lane_s16,
vqrdmulhs_s32, vqrdmulhs_lane_s32, vqrshlb_s8, vqrshlh_s16,
vqrshls_s32, vqrshlb_u8, vqrshlh_u16, vqrshls_u32, vqrshrnh_n_s16,
vqrshrns_n_s32, vqrshrnd_n_s64, vqrshrnh_n_u16, vqrshrns_n_u32,
vqrshrnd_n_u64, vqrshrunh_n_s16, vqrshruns_n_s32, vqrshrund_n_s64,
vqshlb_s8, vqshlh_s16, vqshls_s32, vqshlb_u8, vqshlh_u16, vqshls_u32,
vqshlb_n_s8, vqshlh_n_s16, vqshls_n_s32, vqshlb_n_u8, vqshlh_n_u16,
vqshls_n_u32, vqshlub_n_s8, vqshluh_n_s16, vqshlus_n_s32,
vqshrnh_n_s16, vqshrns_n_s32, vqshrnd_n_s64, vqshrnh_n_u16,
vqshrns_n_u32, vqshrnd_n_u64, vqshrunh_n_s16, vqshruns_n_s32,
vqshrund_n_s64, vqsubb_s8, vqsubh_s16, vqsubs_s32, vqsubb_u8,
vqsubh_u16, vqsubs_u32, vsqaddb_u8, vsqaddh_u16, vsqadds_u32,
vuqaddb_s8, vuqaddh_s16, vuqadds_s32): Replace all int{32,16,8}x1_t
with int{32,16,8}_t.

gcc/testsuite/:

* gcc.target/aarch64/scalar_intrinsics.c (*): Replace all
int{32,16,8}x1_t with int{32,16,8}_t.
* gcc.target/aarch64/simd/vqdmlalh_lane_s16.c: Likewise.
* gcc.target/aarch64/simd/vqdmlslh_lane_s16.c: Likewise.
* gcc.target/aarch64/simd/vqdmullh_lane_s16.c: Likewise.
* gcc.target/aarch64/simd/vqdmulls_lane_s32.c: Likewise.

From-SVN: r214953

10 years ago[PATCH AArch64 2/2] Replace temporary inline assembler for vget_high
Alan Lawrence [Fri, 5 Sep 2014 11:24:56 +0000 (11:24 +0000)]
[PATCH AArch64 2/2] Replace temporary inline assembler for vget_high

* config/aarch64/arm_neon.h (__GET_HIGH): New macro.
(vget_high_f32, vget_high_f64, vget_high_p8, vget_high_p16,
vget_high_s8, vget_high_s16, vget_high_s32, vget_high_s64,
vget_high_u8, vget_high_u16, vget_high_u32, vget_high_u64):
Remove temporary __asm__ and reimplement.

From-SVN: r214952

10 years ago[PATCH AArch64 1/2] Add execution tests of vget_low and vget_high
Alan Lawrence [Fri, 5 Sep 2014 11:13:47 +0000 (11:13 +0000)]
[PATCH AArch64 1/2] Add execution tests of vget_low and vget_high

* gcc.target/aarch64/vget_high_1.c: New test.
* gcc.target/aarch64/vget_low_1.c: Likewise.

From-SVN: r214950

10 years ago[PATCH AArch64 2/2] Remove vector compare/tst __builtins
Alan Lawrence [Fri, 5 Sep 2014 11:09:28 +0000 (11:09 +0000)]
[PATCH AArch64 2/2] Remove vector compare/tst __builtins

* config/aarch64/aarch64-builtins.c (aarch64_fold_builtin): Remove code
handling cmge, cmgt, cmeq, cmtst.

* config/aarch64/aarch64-simd-builtins.def (cmeq, cmge, cmgt, cmle,
cmlt, cmgeu, cmgtu, cmtst): Remove.

* config/aarch64/arm_neon.h (vceq_*, vceqq_*, vceqz_*, vceqzq_*,
vcge_*, vcgeq_*, vcgez_*, vcgezq_*, vcgt_*, vcgtq_*, vcgtz_*,
vcgtzq_*, vcle_*, vcleq_*, vclez_*, vclezq_*, vclt_*, vcltq_*,
vcltz_*, vcltzq_*, vtst_*, vtstq_*): Use gcc vector extensions.

From-SVN: r214949

10 years ago[PATCH AArch64 1/2] Improve codegen of vector compares inc. tst instruction
Alan Lawrence [Fri, 5 Sep 2014 10:50:04 +0000 (10:50 +0000)]
[PATCH AArch64 1/2] Improve codegen of vector compares inc. tst instruction

gcc/:

* config/aarch64/aarch64-builtins.c (aarch64_types_cmtst_qualifiers,
TYPES_TST): Define.
(aarch64_fold_builtin): Update pattern for cmtst.

* config/aarch64/aarch64-protos.h (aarch64_const_vec_all_same_int_p):
Declare.

* config/aarch64/aarch64-simd-builtins.def (cmtst): Update qualifiers.

* config/aarch64/aarch64-simd.md (aarch64_vcond_internal<mode><mode>):
Switch operands, separate out more cases, refactor.

(aarch64_cmtst<mode>): Rewrite pattern to match (plus ... -1).

* config/aarch64.c (aarch64_const_vec_all_same_int_p): Take single
argument; rename old version to...
(aarch64_const_vec_all_same_in_range_p): ...this.
(aarch64_print_operand, aarch64_simd_shift_imm_p): Follow renaming.

* config/aarch64/predicates.md (aarch64_simd_imm_minus_one): Define.

gcc/testsuite/:

* gcc.target/aarch64/simd/int_comparisons.x: New file.
* gcc.target/aarch64/simd/int_comparisons_1.c: New test.
* gcc.target/aarch64/simd/int_comparisons_2.c: Ditto.

From-SVN: r214948

10 years ago[PATCH][AArch64] Tidy: remove unused qualifier_const_pointer
Alan Lawrence [Fri, 5 Sep 2014 10:37:00 +0000 (10:37 +0000)]
[PATCH][AArch64] Tidy: remove unused qualifier_const_pointer

* config/aarch64/aarch64-builtins.c (enum aarch64_type_qualifiers):
Remove qualifier_const_pointer, update comment.

From-SVN: r214947

10 years ago[PATCH][AArch64] One-liner: fix type of an add in SIMD registers
Alan Lawrence [Fri, 5 Sep 2014 10:32:09 +0000 (10:32 +0000)]
[PATCH][AArch64] One-liner: fix type of an add in SIMD registers

* config/aarch64/aarch64.md (adddi3_aarch64): set type to neon_add.

From-SVN: r214946

10 years ago[PATCH AArch64] Remove varargs from aarch64_simd_expand_args
Alan Lawrence [Fri, 5 Sep 2014 10:21:46 +0000 (10:21 +0000)]
[PATCH AArch64] Remove varargs from aarch64_simd_expand_args

        * config/aarch64/aarch64-builtins.c (aarch64_simd_expand_args): Replace
        varargs with pointer parameter.
        (aarch64_simd_expand_builtin): pass pointer into previous.

From-SVN: r214945

10 years ago[ARM/AArch64] Schedule alu_ext for Cortex-A53.
Kyrylo Tkachov [Fri, 5 Sep 2014 10:14:01 +0000 (10:14 +0000)]
[ARM/AArch64] Schedule alu_ext for Cortex-A53.

      * config/arm/cortex-a53.md (cortex_a53_alu_shift): Add alu_ext,
      alus_ext.

From-SVN: r214944

10 years ago[PATCH AArch64] Add a builtin for rbit(q?)_p8; add intrinsics and tests.
Alan Lawrence [Fri, 5 Sep 2014 09:58:21 +0000 (09:58 +0000)]
[PATCH AArch64] Add a builtin for rbit(q?)_p8; add intrinsics and tests.

gcc/:

* config/aarch64/aarch64-simd.md (aarch64_rbit<mode>): New pattern.
* config/aarch64/aarch64-simd-builtins.def (rbit): New builtin.
* config/aarch64/arm_neon.h (vrbit_s8, vrbit_u8, vrbitq_s8, vrbitq_u8):
Replace temporary asm with call to builtin.
(vrbit_p8, vrbitq_p8): New functions.

gcc/testsuite/:

* gcc.target/aarch64/simd/vrbit_1.c: New test.

From-SVN: r214943

10 years agocfgloop.c (mark_loop_for_removal): New function.
Richard Biener [Fri, 5 Sep 2014 09:17:49 +0000 (09:17 +0000)]
cfgloop.c (mark_loop_for_removal): New function.

2014-09-05  Richard Biener  <rguenther@suse.de>

* cfgloop.c (mark_loop_for_removal): New function.
* cfgloop.h (mark_loop_for_removal): Declare.
* cfghooks.c (delete_basic_block): Use mark_loop_for_removal.
(merge_blocks): Likewise.
(duplicate_block): Likewise.
* except.c (sjlj_emit_dispatch_table): Likewise.
* tree-eh.c (cleanup_empty_eh_merge_phis): Likewise.
* tree-ssa-threadupdate.c (ssa_redirect_edges): Likewise.
(thread_through_loop_header): Likewise.

From-SVN: r214942

10 years agore PR tree-optimization/63148 (r187042 causes auto-vectorization failure for X86...
Richard Biener [Fri, 5 Sep 2014 08:23:32 +0000 (08:23 +0000)]
re PR tree-optimization/63148 (r187042 causes auto-vectorization failure for X86 for -m32.)

2014-09-05  Richard Biener  <rguenther@suse.de>

PR middle-end/63148
* fold-const.c (try_move_mult_to_index): Remove.
(fold_binary_loc): Do not call it.
* tree-data-ref.c (dr_analyze_indices): Strip conversions
from the base object again.

c-family/
* c-format.c (check_format_arg): Properly handle
effectively signed POINTER_PLUS_EXPR offset.

* gcc.dg/vect/pr63148.c: New testcase.
* c-c++-common/pr19807-1.c: Likewise.
* g++.dg/tree-ssa/pr19807.C: Adjust.
* g++.dg/tree-ssa/tmmti-2.C: Remove.

From-SVN: r214941

10 years ago[AArch64 Obvious] Add a mode to operand 1 of sibcall_value_insn
James Greenhalgh [Fri, 5 Sep 2014 08:19:12 +0000 (08:19 +0000)]
[AArch64 Obvious] Add a mode to operand 1 of sibcall_value_insn

gcc/

* config/aarch64/aarch64.md (sibcall_value_insn): Give operand 1
a mode.

From-SVN: r214940

10 years agore PR plugins/59335 (Plugin doesn't build on trunk)
Joey Ye [Fri, 5 Sep 2014 06:52:17 +0000 (06:52 +0000)]
re PR plugins/59335 (Plugin doesn't build on trunk)

2014-09-05  Joey Ye  <joey.ye@arm.com>

    PR plugin/59335
    * Makefile.in (PLUGIN_HEADERS): Add wide-int.h, signop.h, hash-map.h,

From-SVN: r214938

10 years agore PR target/55701 (Inline some instances of memset for ARM)
Bin Cheng [Fri, 5 Sep 2014 03:45:57 +0000 (03:45 +0000)]
re PR target/55701 (Inline some instances of memset for ARM)

PR target/55701
* config/arm/arm.md (setmem): New pattern.
* config/arm/arm-protos.h (struct tune_params): New fields.
(arm_gen_setmem): New prototype.
* config/arm/arm.c (arm_slowmul_tune): Initialize new fields.
(arm_fastmul_tune, arm_strongarm_tune, arm_xscale_tune): Ditto.
(arm_9e_tune, arm_v6t2_tune, arm_cortex_tune): Ditto.
(arm_cortex_a8_tune, arm_cortex_a7_tune): Ditto.
(arm_cortex_a15_tune, arm_cortex_a53_tune): Ditto.
(arm_cortex_a57_tune, arm_cortex_a5_tune): Ditto.
(arm_cortex_a9_tune, arm_cortex_a12_tune): Ditto.
(arm_v7m_tune, arm_v6m_tune, arm_fa726te_tune): Ditto.
(arm_const_inline_cost): New function.
(arm_block_set_max_insns): New function.
(arm_block_set_non_vect_profit_p): New function.
(arm_block_set_vect_profit_p): New function.
(arm_block_set_unaligned_vect): New function.
(arm_block_set_aligned_vect): New function.
(arm_block_set_unaligned_non_vect): New function.
(arm_block_set_aligned_non_vect): New function.
(arm_block_set_vect, arm_gen_setmem): New functions.

testsuite
* gcc.target/arm/memset-inline-1.c: New test.
* gcc.target/arm/memset-inline-2.c: New test.
* gcc.target/arm/memset-inline-3.c: New test.
* gcc.target/arm/memset-inline-4.c: New test.
* gcc.target/arm/memset-inline-5.c: New test.
* gcc.target/arm/memset-inline-6.c: New test.
* gcc.target/arm/memset-inline-7.c: New test.
* gcc.target/arm/memset-inline-8.c: New test.
* gcc.target/arm/memset-inline-9.c: New test.
* gcc.target/arm/memset-inline-10.c: New test.

From-SVN: r214937

10 years agoarm.md (arm_movqi_insn): Use Uh instead of m constraint.
Bin Cheng [Fri, 5 Sep 2014 03:33:38 +0000 (03:33 +0000)]
arm.md (arm_movqi_insn): Use Uh instead of m constraint.

* config/arm/arm.md (arm_movqi_insn): Use Uh instead of m constraint.

From-SVN: r214936

10 years agoarm.c (output_move_neon): Handle REG explicitly.
Bin Cheng [Fri, 5 Sep 2014 03:31:29 +0000 (03:31 +0000)]
arm.c (output_move_neon): Handle REG explicitly.

* config/arm/arm.c (output_move_neon): Handle REG explicitly.

From-SVN: r214935

10 years agomake dead_debug_insert_temp take an rtx_insn *
Trevor Saunders [Fri, 5 Sep 2014 02:32:00 +0000 (02:32 +0000)]
make dead_debug_insert_temp take an rtx_insn *

gcc/ChangeLog:

2014-09-04  Trevor Saunders  <tsaunders@mozilla.com>

* valtrack.c (dead_debug_insert_temp): Take an rtx_insn * instead of
an rtx.
* valtrack.h: Adjust.

From-SVN: r214934

10 years agomake several emit functions take an rtx_insn *
Trevor Saunders [Fri, 5 Sep 2014 02:31:40 +0000 (02:31 +0000)]
make several emit functions take an rtx_insn *

gcc/ChangeLog:

2014-09-04  Trevor Saunders  <tsaunders@mozilla.com>

* emit-rtl.c (emit_insn_before_noloc): Take an rtx_insn * instead of
an rtx.
(emit_jump_insn_before_noloc): Likewise.
(emit_call_insn_before_noloc): Likewise.
(emit_label_before): Likewise.
(emit_label_after): Likewise.
(emit_insn_before_setloc): Likewise.
(emit_jump_insn_before_setloc): Likewise.
(emit_call_insn_before_setloc): Likewise.
(emit_call_insn_before): Likewise.
* rtl.h: Adjust.

From-SVN: r214933

10 years agoRemove a cast in cse.c
David Malcolm [Fri, 5 Sep 2014 01:32:23 +0000 (01:32 +0000)]
Remove a cast in cse.c

gcc/
2014-09-05  David Malcolm  <dmalcolm@redhat.com>

* cse.c (cse_insn): Strengthen local "new_rtx" from rtx to
rtx_insn *, eliminating a checked cast.

From-SVN: r214932

10 years agoParams to modified_between_p
David Malcolm [Fri, 5 Sep 2014 01:24:47 +0000 (01:24 +0000)]
Params to modified_between_p

gcc/
2014-09-05  David Malcolm  <dmalcolm@redhat.com>

* rtl.h (modified_between_p): Strengthen params 2 and 3 from
const_rtx to const rtx_insn *.
* rtlanal.c (modified_between_p): Likewise, eliminating a checked
cast.

From-SVN: r214931

10 years agofixup_args_size_notes takes a pair of rtx_insn
David Malcolm [Fri, 5 Sep 2014 01:14:41 +0000 (01:14 +0000)]
fixup_args_size_notes takes a pair of rtx_insn

gcc/
2014-09-05  David Malcolm  <dmalcolm@redhat.com>

* emit-rtl.c (try_split): Update NULL_RTX to NULL in call to
fixup_args_size_notes.
* expr.c (fixup_args_size_notes): Strengthen first two params from
rtx to rtx_insn *, eliminating a checked cast.
* rtl.h (fixup_args_size_notes): Strengthen first two params from
rtx to rtx_insn *.

From-SVN: r214930

10 years agoReturn type of get_ready_element
David Malcolm [Fri, 5 Sep 2014 01:06:19 +0000 (01:06 +0000)]
Return type of get_ready_element

gcc/
2014-09-05  David Malcolm  <dmalcolm@redhat.com>

* haifa-sched.c (get_ready_element): Strengthen return type from
rtx to rtx_insn *.
* sched-int.h (get_ready_element): Likewise.

From-SVN: r214929

10 years agoRemove dg-options for sh*-*-* from gcc.c-torture/execute/pr44683.c.
Kaz Kojima [Fri, 5 Sep 2014 00:20:33 +0000 (00:20 +0000)]
Remove dg-options for sh*-*-* from gcc.c-torture/execute/pr44683.c.

From-SVN: r214928

10 years agoDaily bump.
GCC Administrator [Fri, 5 Sep 2014 00:17:08 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r214927

10 years agore PR target/63165 (r214816 breaks Java build and 435.gromacs)
Segher Boessenkool [Thu, 4 Sep 2014 22:53:01 +0000 (00:53 +0200)]
re PR target/63165 (r214816 breaks Java build and 435.gromacs)

2014-09-04  Segher Boessenkool  <segher@kernel.crashing.org>

PR target/63165
* config/rs6000/rs6000.md (floatsi<mode>2_lfiwax_mem): Use
indexed_or_indirect_operand instead of memory_operand.
(floatsi<mode>2_lfiwzx_mem): Ditto.

From-SVN: r214924

10 years agouse rtx_insn * a little more
Trevor Saunders [Thu, 4 Sep 2014 21:11:34 +0000 (21:11 +0000)]
use rtx_insn * a little more

gcc/ChangeLog:

2014-09-04  Trevor Saunders  <tsaunders@mozilla.com>

* config/bfin/bfin.c, config/c6x/c6x.c, config/m32c/m32c.c,
config/mn10300/mn10300.c, config/s390/s390.c, config/sh/sh.c,
ifcvt.c, reorg.c: Change types of variables from rtx to rtx_insn *.

From-SVN: r214923

10 years agoChange the types of arguments and return values for several functions from rtx to...
Trevor Saunders [Thu, 4 Sep 2014 21:11:23 +0000 (21:11 +0000)]
Change the types of arguments and return values for several functions from rtx to rtx_insn *

gcc/ChangeLog:

2014-09-04  Trevor Saunders  <tsaunders@mozilla.com>

* emit-rtl.c (get_first_nonnote_insn): Return rtx_insn * instead of
rtx.
(get_last_nonnote_insn): Likewise.
(next_nonnote_insn_bb): Take rtx_insn * instead of rtx.
* resource.c (find_basic_block): Likewise.
* rtl.h: Adjust.
* rtlanal.c (keep_with_call_p): Take const rtx_insn * instead of
const_rtx.

From-SVN: r214922

10 years agoinsn_latency takes a pair of rtx_insn
David Malcolm [Thu, 4 Sep 2014 20:56:16 +0000 (20:56 +0000)]
insn_latency takes a pair of rtx_insn

gcc/
2014-09-04  David Malcolm  <dmalcolm@redhat.com>

* genattr.c (main): Within the prototype of insn_latency written
out to insn-attr.h, strengthen both params from rtx to rtx_insn *.
* genautomata.c (output_internal_maximal_insn_latency_func):
Within the implementation of insn_latency written out to
insn-automata.c, strengthen both params from rtx to rtx_insn *,
eliminating a pair of checked casts.

From-SVN: r214921

10 years agoeh_returnjump_p takes an rtx_insn
David Malcolm [Thu, 4 Sep 2014 20:34:36 +0000 (20:34 +0000)]
eh_returnjump_p takes an rtx_insn

2014-09-04  David Malcolm  <dmalcolm@redhat.com>

gcc/
* jump.c (eh_returnjump_p): Strengthen param "insn" from rtx to
rtx_insn *.

* rtl.h (eh_returnjump_p): Likewise.

From-SVN: r214919

10 years ago* Makefile.in (TAGS): Handle constructs in timevar.def.
Aldy Hernandez [Thu, 4 Sep 2014 19:19:46 +0000 (19:19 +0000)]
* Makefile.in (TAGS): Handle constructs in timevar.def.

From-SVN: r214918