Trevor Saunders
d6ed95fcb5
Improve the test in bitfields.m4
...
Using a named bitfield with a width more than 0 means we won't hit
weirdness caused by the bitfield not really needing to exist. Changing
int to long long means we won't have trouble with some arch where size
of int is 1 or 2.
libobjc/ChangeLog:
2015-05-04 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* configure: Regenerate.
config/ChangeLog:
2015-05-04 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* bitfields.m4: Change int to long long, and use bitfields of
width 1 instead of 0.
From-SVN: r222794
2015-05-05 03:41:53 +00:00
Jonathan Wakely
f6341d8d09
re PR libstdc++/51617 ([C++0x] async(f) isn't.)
...
PR libstdc++/51617
* include/std/future (async): Change default policy to launch::async.
From-SVN: r222793
2015-05-05 02:56:47 +01:00
Jan Hubicka
417402b80e
tree.c (verify_type): Check various uses of TYPE_MAXVAL...
...
* tree.c (verify_type): Check various uses of TYPE_MAXVAL;
fix overactive TYPE_MIN_VALUE check and add FIXME for type
compatibility problems.
From-SVN: r222792
2015-05-05 01:42:07 +00:00
Ajit Agarwal
2bdf1dd58b
The changes are made in the patch for optimized usage of pcmpne/pcmpeq instructions.
...
The changes are made in the patch for optimized usage of pcmpne/pcmpeq
instructions. The xor with register to register is replaced with pcmpeq
/pcmpne instructions and for immediate check still the xori will be used.
The purpose of the change is to acheive the aggressive usage of pcmpne
/pcmpeq instructions instead of xor being used for comparison.
ChangeLog:
2015-05-04 Ajit Agarwal <ajitkum@xilinx.com>
* config/microblaze/microblaze.md (cbranchsi4): Added immediate
constraints.
(cbranchsi4_reg): New.
* config/microblaze/microblaze.c
(microblaze_expand_conditional_branch_reg): New.
* config/microblaze/microblaze-protos.h
(microblaze_expand_conditional_branch_reg): New prototype.
From-SVN: r222791
2015-05-05 01:08:45 +00:00
Ajit Agarwal
0bb87e8a83
The changes are made in the patch for optimized usage of fint instruction.
...
The sequence of fint/cond_branch is replaced with fcmp/cond_branch. The
fint instruction takes 6/7 cycles as compared to fcmp instruction which
takes 1 cycles. The conversion from float to int with fint instruction
is not required and can directly compared with fcmp instruction which
takes 1 cycle as compared to 6/7 cycles with fint instruction.
ChangeLog:
2015-03-04 Ajit Agarwal <ajitkum@xilinx.com>
* config/microblaze/microblaze.md (peephole2): New.
From-SVN: r222790
2015-05-05 01:07:26 +00:00
GCC Administrator
2277469bc8
Daily bump.
...
From-SVN: r222788
2015-05-05 00:16:16 +00:00
Jeff Law
319dcdd8bd
Revert:
...
2015-05-04 Jeff Law <law@redhat.com>
* match.pd (bit_and (plus/minus (convert @0) (convert @1) mask): New
simplifier to narrow arithmetic.
* generic-match-head.c: (types_match, single_use): New functions.
* gimple-match-head.c: (types_match, single_use): New functions.
Revert:
2015-05-04 Jeff Law <law@redhat.com>
* gcc.dg/tree-ssa/shorten-1.c: New test.
From-SVN: r222784
2015-05-04 17:45:57 -06:00
Kaz Kojima
4e417af354
re PR target/65987 ([SH] Wrong jump generated for gcc.dg/tree-prof/va-arg-pack-1.c with -fprofile-use)
...
PR target/65987
* config/sh/sh.c (output_far_jump, split_branches): Take into account
sectiion crossing jumps.
From-SVN: r222783
2015-05-04 23:25:58 +00:00
Paolo Carlini
f5322614a6
re PR c++/66007 (Narrowing conversion inside { } results in all zero elements in C++11 mode with -Wno-error=narrowing)
...
/cp
2015-05-04 Paolo Carlini <paolo.carlini@oracle.com>
Jakub Jelinek <jakub@redhat.com>
PR c++/66007
* typeck2.c (check_narrowing): Check by-hand that the pedwarn didn't
result in an actual error.
/testsuite
2015-05-04 Paolo Carlini <paolo.carlini@oracle.com>
Jakub Jelinek <jakub@redhat.com>
PR c++/66007
* g++.dg/cpp0x/Wnarrowing4.C: New.
Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
From-SVN: r222778
2015-05-04 20:58:33 +00:00
Sandra Loosemore
467d8d51f1
common.opt (fdelete-null-pointer-checks): Init to -1.
...
2015-05-04 Sandra Loosemore <sandra@codesourcery.com>
gcc/
* common.opt (fdelete-null-pointer-checks): Init to -1.
* config/nios2/elf.h (SUBTARGET_OVERRIDE_OPTIONS): Define to
override flag_delete_null_pointer_checks default.
* doc/invoke.texi (-fdelete-null-pointer-checks): Clarify
behavior re address zero. Better document target-specific behavior.
(-fisolate-errneous-paths-dereference): Mention relationship to
-fdelete-null-pointer-checks.
gcc/testsuite/
* lib/target-supports.exp
(check_effective_target_keeps_null_pointer_checks): Clarify that
this is for targets that disable -fdelete-null-pointer-checks,
not default it to off.
* gcc.dg/ipa/ipa-pta-14.c: Make dependence on
-fdelete-null-pointer-checks explicit.
* gcc.dg/tree-ssa/20030730-1.c: Likewise.
* gcc.dg/tree-ssa/20030730-2.c: Likewise.
* gcc.dg/tree-ssa/isolate-1.c: Likewise.
* gcc.dg/tree-ssa/isolate-2.c: Likewise.
* gcc.dg/tree-ssa/isolate-3.c: Likewise.
* gcc.dg/tree-ssa/isolate-4.c: Likewise.
* gcc.dg/tree-ssa/isolate-5.c: Likewise.
* gcc.dg/tree-ssa/nonzero-1.c: Likewise.
* gcc.dg/tree-ssa/pr20318.c: Likewise.
* gcc.dg/tree-ssa/pr20701.c: Likewise.
* gcc.dg/tree-ssa/pr20702.c: Likewise.
* gcc.dg/tree-ssa/pr21086.c: Likewise.
* gcc.dg/tree-ssa/pr21090.c: Likewise.
* gcc.dg/tree-ssa/pr58480.c: Likewise.
* gcc.dg/tree-ssa/pta-escape-1.c: Likewise.
* gcc.dg/tree-ssa/pta-escape-2.c: Likewise.
* gcc.dg/tree-ssa/pta-escape-3.c: Likewise.
* gcc.dg/tree-ssa/ssa-vrp-thread-1.c: Likewise.
* gcc.dg/tree-ssa/unreachable.c: Likewise.
* gcc.dg/tree-ssa/vrp02.c: Likewise.
* gcc.dg/tree-ssa/vrp07.c: Likewise.
* gcc.dg/tree-ssa/vrp08.c: Likewise.
* gcc.dg/tree-ssa/vrp55.c: Likewise.
* g++.dg/cpp0x/static_assert9.C: Likewise.
* g++.dg/tree-ssa/nonzero-1.C: Likewise.
* g++.dg/tree-ssa/pr19476-1.C: Likewise.
* g++.dg/tree-ssa/pr19476-2.C: Likewise.
* g++.dg/tree-ssa/pr19476-5.C: Likewise.
* g++.dg/tree-ssa/pr26406.C: Likewise.
From-SVN: r222777
2015-05-04 15:55:06 -04:00
Jakub Jelinek
100c8e9e9d
re PR middle-end/65984 (ICE: definition in block 4 does not dominate use in block 2 with -fnon-call-exceptions -fsanitize=enum)
...
PR tree-optimization/65984
* ubsan.c: Include tree-cfg.h.
(instrument_bool_enum_load): Use stmt_ends_bb_p instead of
stmt_could_throw_p test, rename can_throw variable to ends_bb.
* c-c++-common/ubsan/pr65984.c: New test.
From-SVN: r222775
2015-05-04 21:52:33 +02:00
Uros Bizjak
2f4eb706df
i386.c: Change GET_CODE (...) == CONST_DOUBLE check to CONST_DOUBLE_P predicate.
...
* config/i386/i386.c: Change GET_CODE (...) == CONST_DOUBLE check
to CONST_DOUBLE_P predicate.
(standard_sse_constant_p): Return 0 for !TARGET_SSE.
(ix86_legitimate_constant_p) <case CONST_WIDE_INT>: For 32bit targets,
allow only operands that satisfy standard_sse_constant_p predicate.
* config/i386/i386.md: Change GET_CODE (...) == CONST_DOUBLE check
to CONST_DOUBLE_P predicate.
From-SVN: r222774
2015-05-04 21:50:51 +02:00
Jeff Law
383be4a8c1
match.pd (bit_and (plus/minus (convert @0) (convert @1) mask): New simplifier to narrow arithmetic.
...
* match.pd (bit_and (plus/minus (convert @0) (convert @1) mask): New
simplifier to narrow arithmetic.
* generic-match-head.c: (types_match, single_use): New functions.
* gimple-match-head.c: (types_match, single_use): New functions.
* gcc.dg/tree-ssa/shorten-1.c: New test.
From-SVN: r222771
2015-05-04 11:21:56 -06:00
Andreas Tobler
e2bbbfbcbd
arm.c: Restore bootstrap.
...
2015-05-04 Andreas Tobler <andreast@gcc.gnu.org>
* config/arm/arm.c: Restore bootstrap.
From-SVN: r222768
2015-05-04 17:33:28 +02:00
Uros Bizjak
44d0de8d70
i386.h (TARGET_SUPPORTS_WIDE_INT): New define.
...
* config/i386/i386.h (TARGET_SUPPORTS_WIDE_INT): New define.
* config/i386/i386.c (ix86_legitimate_constant_p): Handle TImode
as CONST_WIDE_INT, not CONST_DOUBLE.
(ix86_cannot_force_const_mem): Handle CONST_WIDE_INT.
(output_pic_addr_const): Do not handle VOIDmode CONST_DOUBLEs.
(ix86_find_base_term): Do not check for CONST_DOUBLE.
(ix86_print_operand): Do not handle non-FPmode CONST_DOUBLEs.
(ix86_build_signbit_mask): Rewrite using wide ints.
(ix86_split_to_parts) [HOST_BITS_PER_WIDE_INT < 64]: Remove.
(ix86_rtx_costs): Handle CONST_WIDE_INT.
(find_constant): Ditto.
* config/i386/i386.md (bts, btr, btc peepholes): Rewrite
using gen_int_mode.
* config/i386/predicates.md (x86_64_immediate_operand)
<case CONST_INT>: Remove HOST_BITS_PER_WIDE_INT == 32 code.
(x86_64_zext_immediate_operand): Remove CONST_DOUBLE handling.
<case CONST_INT>: Remove HOST_BITS_PER_WIDE_INT == 32 code.
(const0_operand): Also match const_wide_int.
(constm1_operand): Ditto.
(const1_operand): Ditto.
From-SVN: r222767
2015-05-04 17:05:11 +02:00
Francois-Xavier Coudert
a982bcf962
re PR fortran/44735 (ICE on FORALL with character array pointer)
...
PR fortran/44735
* gfortran.dg/pr44735.f90: New test.
From-SVN: r222766
2015-05-04 14:27:14 +00:00
Richard Biener
78a8b26c40
re PR middle-end/65965 (Straight-line memcpy/memset not vectorized when equivalent loop is)
...
2015-05-04 Richard Biener <rguenther@suse.de>
PR tree-optimization/65965
* tree-vect-data-refs.c (vect_analyze_data_ref_accesses): Split
store groups at gaps.
* gcc.dg/vect/bb-slp-33.c: New testcase.
From-SVN: r222765
2015-05-04 14:24:49 +00:00
Richard Biener
7457466941
re PR tree-optimization/65935 (433.milc in SPEC CPU 2006 is miscompiled)
...
2015-05-04 Richard Biener <rguenther@suse.de>
PR tree-optimization/65935
* tree-vect-slp.c (vect_build_slp_tree): If we swapped operands
then make sure to apply that swapping to the IL.
* gcc.dg/vect/bb-slp-pr65935.c: New testcase.
From-SVN: r222764
2015-05-04 13:31:02 +00:00
Jakub Jelinek
a6c014db50
Makefile.in (PATCHLEVEL_c): New variable.
...
* Makefile.in (PATCHLEVEL_c): New variable.
(DATESTAMP_s, REVISION_s): If PATCHLEVEL_c is not 0,
expand the same way as if DEVPHASE_c was non-empty.
From-SVN: r222762
2015-05-04 12:39:16 +02:00
Kai Tietz
237c7252c1
Fix typo "with"
...
From-SVN: r222760
2015-05-04 12:18:23 +02:00
Kai Tietz
1473ab9abb
re PR lto/65559 (lto1.exe: internal compiler error: in read_cgraph_and_symbols, at lto/lto.c:2947)
...
PR target/65559
* lto-wrapper.c (run_gcc): Open filename
with in binary-mode.
From-SVN: r222759
2015-05-04 12:16:23 +02:00
Sandra Loosemore
6cefc5041c
extend.texi (Variable Attributes, [...]): Move sections up in file, to immediately after the Function Attributes section.
...
2015-05-03 Sandra Loosemore <sandra@codesourcery.com>
gcc/
* doc/extend.texi (Variable Attributes, Type Attributes): Move
sections up in file, to immediately after the Function Attributes
section.
From-SVN: r222758
2015-05-03 22:41:10 -04:00
GCC Administrator
cf9921666b
Daily bump.
...
From-SVN: r222757
2015-05-04 00:16:15 +00:00
Jan Hubicka
30a9f69b59
* tree.c (verify_type): Check various uses of TYPE_MINVAL.
...
From-SVN: r222753
2015-05-04 00:14:47 +00:00
Christophe Lyon
90c19438a2
[ARM,AArch64][testsuite] AdvSIMD intrinsics tests cleanup: remove useless expected values.
...
2015-05-03 Christophe Lyon <christophe.lyon@linaro.org>
* gcc.target/aarch64/advsimd-intrinsics/binary_op.inc: Call CHECK
for each supported variant instead of CHECK_RESULTS.
* gcc.target/aarch64/advsimd-intrinsics/binary_sat_op.inc: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/unary_op.inc: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vXXXl.inc: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vXXXw.inc: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vsXi_n.inc: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vshuffle.inc: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vaba.c: Remove dummy
expected results for unsupported variants. Call CHECK for each
supported variant instead of CHECK_RESULTS.
* gcc.target/aarch64/advsimd-intrinsics/vabal.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vabd.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vabdl.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vcls.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vclz.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vcnt.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vcombine.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vcreate.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vget_high.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vget_low.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vldX.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vldX_dup.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vldX_lane.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vmul.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vshl.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vsli_n.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vsri_n.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vabs.c: Remove dummy
expected results for unsupported variants.
* gcc.target/aarch64/advsimd-intrinsics/vadd.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vaddl.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vaddw.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vand.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vbic.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vcage.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vcagt.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vcale.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vcalt.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vceq.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vcge.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vcgt.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vcle.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vclt.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/veor.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vneg.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vorn.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vorr.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vqabs.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vqadd.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vqneg.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vqsub.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vsub.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vsubl.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vsubw.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vtrn.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vuzp.c: Likewise.
* gcc.target/aarch64/advsimd-intrinsics/vzip.c: Likewise.
From-SVN: r222752
2015-05-03 22:53:17 +02:00
Thomas Koenig
816426afdd
re PR fortran/37131 (inline matmul for small matrix sizes)
...
2015-05-03 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/37131
* gfortran.dg/bound_9.f90: Add pointer assignment.
From-SVN: r222751
2015-05-03 18:09:57 +00:00
Matthias Klose
cabb9d59a2
configure.ac: Match $host configured with triplets.
...
2015-05-03 Matthias Klose <doko@ubuntu.com>
* configure.ac: Match $host configured with triplets.
* configure: Regenerate.
From-SVN: r222750
2015-05-03 17:31:26 +00:00
GCC Administrator
175fa90355
Daily bump.
...
From-SVN: r222746
2015-05-03 00:16:20 +00:00
Trevor Saunders
ec0c6743bb
make emit_partition_copy return a rtx_insn *
...
gcc/ChangeLog:
2015-05-02 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* tree-outof-ssa.c (emit_partition_copy): Return rtx_insn *.
(insert_partition_copy_on_edge): Adjust.
(insert_rtx_to_part_on_edge): Likewise.
(insert_part_to_rtx_on_edge): Likewise.
From-SVN: r222742
2015-05-02 21:07:15 +00:00
Trevor Saunders
d38ff8dd18
make set_return_jump_label take an rtx_insn *
...
gcc/ChangeLog:
2015-05-02 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* function.c (set_return_jump_label): Change type of argument to
rtx_insn *.
* function.h (set_return_jump_label): Adjust.
From-SVN: r222741
2015-05-02 21:06:59 +00:00
Trevor Saunders
618bccf984
type reg_equiv_init as rtx_insn_list
...
gcc/ChangeLog:
2015-05-02 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* reload.h (struct reg_equivs_t): Change type of init to
rtx_insn *.
* ira.c (fix_reg_equiv_init): Adjust.
* reload1.c (eliminate_regs_1): Likewise.
(init_eliminable_invariants): Likewise.
From-SVN: r222740
2015-05-02 21:06:43 +00:00
Trevor Saunders
8df68a8219
make fp_setter_insn take a rtx_insn *
...
gcc/ChangeLog:
2015-05-02 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* cselib.c (fp_setter_insn): Take a rtx_insn *.
* cselib.h (fp_setter_insn): Adjust.
From-SVN: r222739
2015-05-02 21:06:27 +00:00
Trevor Saunders
df167cbe0d
make validate_replace_src_group take a rtx_insn *
...
gcc/ChangeLog:
2015-05-02 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* recog.c (struct validate_replace_src_data): Change type of
insn field to rtx_insn *.
(validate_replace_src_group): Change type of argument to rtx_insn *.
* recog.h (validate_replace_src_group): Adjust.
From-SVN: r222738
2015-05-02 21:06:09 +00:00
Trevor Saunders
90831096a7
make several functions in the scheduler take rtx_insn *
...
gcc/ChangeLog:
2015-05-02 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* haifa-sched.c: Change the type of some variables to rtx_insn *.
* sched-deps.c: Likewise.
* sched-int.h: Likewise.
* sched-rgn.c: Likewise.
* sel-sched.c: Likewise.
From-SVN: r222737
2015-05-02 21:05:54 +00:00
Trevor Saunders
0bd5850c9b
make some functions in config/ take a rtx_insn *
...
gcc/ChangeLog:
2015-05-02 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
to rtx_insn *.
* config/i386/i386.c: Change the type of some arguments to
rtx_insn *.
* config/arm/arm.c: Likewise.
From-SVN: r222736
2015-05-02 21:05:37 +00:00
Trevor Saunders
605780f61f
make some functions in lra-constraints.c take rtx_insn *
...
gcc/ChangeLog:
2015-05-02 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* lra-constraints.c: Change type of some arguments to rtx_insn *.
From-SVN: r222735
2015-05-02 21:05:20 +00:00
Trevor Saunders
15cd50fbfb
kill_autoinc_value can take a rtx_insn *
...
gcc/ChangeLog:
2015-05-02 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* regcprop.c (kill_autoinc_value): Change type of argument to
rtx_insn *.
From-SVN: r222734
2015-05-02 21:05:04 +00:00
Trevor Saunders
bddee3fc68
recog_data::insn can be a rtx_insn *
...
gcc/ChangeLog:
2015-05-02 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* genrecog.c (print_subroutine): Adjust.
* recog.c (get_bool_attr_mask_uncached): Likewise.
* recog.h (struct recog_data_d): Change the type of insn to
rtx_insn *.
From-SVN: r222733
2015-05-02 21:04:47 +00:00
Trevor Saunders
15f63a9a1b
add_cfi_insn can be a rtx_insn *
...
gcc/ChangeLog:
2015-05-02 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* dwarf2cfi.c (add_cfi_insn): Change type to rtx_insn *.
From-SVN: r222732
2015-05-02 21:04:31 +00:00
Trevor Saunders
0f0446b585
df_set_note can take a rtx_insn *
...
gcc/ChangeLog:
2015-05-02 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* df-problems.c (df_set_note): Change type of argument to
rtx_insn *.
From-SVN: r222731
2015-05-02 21:04:13 +00:00
Trevor Saunders
21afc57d08
change local vars to rtx_insn *
...
gcc/ChangeLog:
2015-05-02 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* builtins.c (expand_builtin_trap): Change type of local
variable to rtx_insn *.
* config/arc/arc.md: Likewise.
* config/arm/arm.c (arm_barrier_cost): Likewise.
* config/avr/avr.c (avr_reorg): Likewise.
* config/bfin/bfin.c (workaround_speculation): Likewise.
(add_sched_insns_for_speculation): Likewise.
* config/i386/i386.c (ix86_init_pic_reg): Likewise.
(ix86_emit_save_regs): Likewise.
(get_scratch_register_on_entry): Likewise.
(ix86_emit_restore_reg_using_pop): Likewise.
(ix86_emit_leave): Likewise.
(ix86_emit_restore_regs_using_mov): Likewise.
(ix86_expand_epilogue): Likewise.
* config/rl78/rl78.c (rl78_alloc_physical_registers_cmp):
Likewise.
(rl78_alloc_physical_registers_umul): Likewise.
* config/sh/sh.md: Likewise.
* cselib.c (discard_useless_locs): Likewise.
(cselib_invalidate_regno): Likewise.
(cselib_invalidate_mem): Likewise.
* function.c (expand_function_start): Likewise.
(emit_use_return_register_into_block): Likewise.
* gcse.c: Likewise.
* haifa-sched.c (ok_for_early_queue_removal): Likewise.
* ifcvt.c (noce_get_alt_condition): Likewise.
* loop-doloop.c (doloop_condition_get): Likewise.
* lra-constraints.c (inherit_in_ebb): Likewise.
* modulo-sched.c (sms_schedule_by_order): Likewise.
* recog.c (next_insn_tests_no_inequality): Likewise.
* reorg.c (emit_delay_sequence): Likewise.
(update_reg_dead_notes): Likewise.
(fix_reg_dead_note): Likewise.
(fill_slots_from_thread): Likewise.
(delete_computation): Likewise.
From-SVN: r222730
2015-05-02 21:03:53 +00:00
Jonathan Wakely
563777d7fc
any (any::_Storage): Fix alignment of buffer.
...
* include/experimental/any (any::_Storage): Fix alignment of buffer.
(any::_Internal): Check alignment of type.
* testsuite/experimental/any/cons/aligned.cc: New.
* testsuite/experimental/any/misc/any_cast_neg.cc: Adjust dg-error.
From-SVN: r222729
2015-05-02 19:19:39 +01:00
Jonathan Wakely
b4f504de77
iterator (ostream_joiner): Simplify by using the injected-class-name and the ostream_type typedef.
...
* include/experimental/iterator (ostream_joiner): Simplify by using
the injected-class-name and the ostream_type typedef.
From-SVN: r222728
2015-05-02 19:03:20 +01:00
Jonathan Wakely
a623b6f011
iterator: New.
...
* include/experimental/iterator: New. Define ostream_joiner.
* include/Makefile.am: Add new header.
* include/Makefile.in: Regenerate.
* testsuite/experimental/iterator/make_ostream_joiner.cc: New.
* testsuite/experimental/iterator/ostream_joiner.cc: New.
* testsuite/experimental/iterator/requirements.cc: New.
* doc/xml/manual/status_cxx2017.xml: Update status.
* doc/html/manual/status.html: Regenerate.
From-SVN: r222727
2015-05-02 18:14:25 +01:00
Steven G. Kargl
3435c26f32
re PR fortran/65976 (gfortran man-page lists the -fno-fixed-form flag but does not define it, and it doesn't work)
...
2015-05-02 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/65976
* invoke.texi: Remove 'no-' in '-fno-fixed-form'
From-SVN: r222725
2015-05-02 16:37:35 +00:00
Jonathan Wakely
6c0b8a537c
numeric: New.
...
* include/experimental/numeric: New. Define gcd and lcm.
* include/Makefile.am: Add new header.
* include/Makefile.in: Regenerate.
* testsuite/experimental/numeric/gcd.cc: New.
* testsuite/experimental/numeric/lcm.cc: New.
* doc/xml/manual/status_cxx2017.xml: Update status.
* doc/html/manual/status.html: Regenerate.
From-SVN: r222724
2015-05-02 16:18:36 +01:00
Edward Smith-Rowland
fe4b6acbff
Revert addition of feature macros from other headers per latest SD-6.
...
2015-05-02 Edward Smith-Rowland <3dw4rd@verizon.net>
Revert addition of feature macros from other headers per latest SD-6.
* include/experimental/deque: Remove feature-test macro.
* include/experimental/forward_list: Ditto.
* include/experimental/list: Ditto.
* include/experimental/map: Ditto.
* include/experimental/set: Ditto.
* include/experimental/string: Ditto.
* include/experimental/unordered_map: Ditto.
* include/experimental/unordered_set: Ditto.
From-SVN: r222722
2015-05-02 12:48:32 +00:00
Jonathan Wakely
9407c6fa53
any (any::_Storage): Make non-copyable.
...
* include/experimental/any (any::_Storage): Make non-copyable.
(any::any): Do not copy _Storage object.
(any::operator=): Implement more efficiently than swapping.
(any::swap): Use new _Op_xfer operation.
(any::_Op::_Op_xfer): New enumerator.
(_Manager_internal::_S_alloc): Remove unused function.
(_Manager_internal::_S_create, _Manager_external::_S_create): Use out
parameter instead of returning a _Storage object.
(_Manager_internal::_S_manage, _Manager_external::_S_manage): Add
_Op_xfer operation for moving and swapping.
* testsuite/experimental/any/cons/nontrivial.cc: New.
* testsuite/experimental/any/misc/any_cast_neg.cc: Adjust dg-error.
From-SVN: r222721
2015-05-02 13:38:44 +01:00
Jonathan Wakely
5b244a78dc
fs_path.h (filesystem_error::~filesystem_error): Declare.
...
* include/experimental/fs_path.h (filesystem_error::~filesystem_error):
Declare.
* src/filesystem/path.cc (filesystem_error::~filesystem_error):
Define.
From-SVN: r222720
2015-05-02 12:36:55 +01:00
Jonathan Wakely
cb2ef49e83
re PR libstdc++/65978 (missing constexpr on std::forward_as_tuple and std::tie (LWG issues 2275 and 2301))
...
PR libstdc++/65978
* include/std/tuple (forward_as_tuple, tie): Add constexpr.
* testsuite/20_util/tuple/creation_functions/constexpr.cc: Uncomment
and fix tests for forward_as_tuple and tie.
From-SVN: r222719
2015-05-02 12:20:03 +01:00