platform/upstream/linaro-gcc.git
10 years ago2014-01-15 François Dumont <fdumont@gcc.gnu.org>
fdumont [Wed, 15 Jan 2014 16:53:02 +0000 (16:53 +0000)]
2014-01-15  François Dumont  <fdumont@gcc.gnu.org>

* include/bits/hashtable_policy.h: Fix some long lines.
* include/bits/hashtable.h (__hash_code_base_access): Define and
use it to check its _M_bucket_index noexcept qualification. Use
also in place of...
(__access_protected_ctor): ...this.
* testsuite/23_containers/unordered_set/instantiation_neg.cc:
Adapt line number.
* testsuite/23_containers/unordered_set/
not_default_constructible_hash_neg.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206632 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-01-15 Matthias Klose <doko@ubuntu.com>
doko [Wed, 15 Jan 2014 15:31:55 +0000 (15:31 +0000)]
2014-01-15  Matthias Klose  <doko@ubuntu.com>

        * go.test/go-test.exp: Set goarch for aarch64*-*-*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206631 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-01-15 Richard Biener <rguenther@suse.de>
rguenth [Wed, 15 Jan 2014 15:13:08 +0000 (15:13 +0000)]
2014-01-15  Richard Biener  <rguenther@suse.de>

PR tree-optimization/59822
* tree-vect-stmts.c (hoist_defs_of_uses): New function.
(vectorizable_load): Use it to hoist defs of uses of invariant
loads out of the loop.

* g++.dg/torture/pr59822.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206630 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR target/59808
kyukhin [Wed, 15 Jan 2014 12:01:08 +0000 (12:01 +0000)]
    PR target/59808
        * gcc.target/i386/sse-12.c: Add `-mavx512[cd, er, pf]' options.
        * gcc.target/i386/sse-14.c: Fix PR59808.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206629 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-01-15 Matthew Gretton-Dann <matthew.gretton-dann@linaro.org>
clyon [Wed, 15 Jan 2014 10:27:55 +0000 (10:27 +0000)]
2014-01-15  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org>
            Kugan Vivekanandarajah  <kuganv@linaro.org>

gcc/
PR target/59695
* config/aarch64/aarch64.c (aarch64_build_constant): Fix incorrect
truncation.

gcc/testsuite/
PR target/59695
* g++.dg/pr59695.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206628 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoAdd
jakub [Wed, 15 Jan 2014 09:39:11 +0000 (09:39 +0000)]
Add
PR target/59803
reference to ChangeLog entries.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206625 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-01-15 Richard Biener <rguenther@suse.de>
rguenth [Wed, 15 Jan 2014 08:47:30 +0000 (08:47 +0000)]
2014-01-15  Richard Biener  <rguenther@suse.de>

PR rtl-optimization/59802
* lcm.c (compute_available): Use inverted postorder to seed
the initial worklist.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206624 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
krebbel [Wed, 15 Jan 2014 08:36:44 +0000 (08:36 +0000)]
2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* config/s390/s390.c (s390_preferred_reload_class): Don't return
ADDR_REGS for invalid symrefs in non-PIC code.

2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* gcc.c-torture/compile/pr59803.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206623 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR other/58712
jakub [Wed, 15 Jan 2014 08:08:17 +0000 (08:08 +0000)]
PR other/58712
* builtins.c (determine_block_size): Initialize *probable_max_size
even if len_rtx is CONST_INT.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206621 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR c/58943
jakub [Wed, 15 Jan 2014 08:03:53 +0000 (08:03 +0000)]
PR c/58943
* c-typeck.c (build_modify_expr): For lhs op= rhs, if rhs has side
effects, preevaluate rhs using SAVE_EXPR first.

* c-omp.c (c_finish_omp_atomic): Set in_late_binary_op around
build_modify_expr with non-NOP_EXPR opcode.  Handle return from it
being COMPOUND_EXPR.
(c_finish_omp_for): Handle incr being COMPOUND_EXPR with first
operand a SAVE_EXPR and second MODIFY_EXPR.

* gcc.c-torture/execute/pr58943.c: New test.
* gcc.dg/tree-ssa/ssa-fre-33.c (main): Avoid using += in the test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206620 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agocompiler: Use backend interface for interface info and field expressions.
ian [Wed, 15 Jan 2014 00:17:22 +0000 (00:17 +0000)]
compiler: Use backend interface for interface info and field expressions.

* go-gcc.cc (Gcc_backend::compound_expression): New function.
(Gcc_backend::conditional_expression): New function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206615 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoDaily bump.
gccadmin [Wed, 15 Jan 2014 00:16:39 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206614 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agocompiler: Add Backend Function type.
ian [Tue, 14 Jan 2014 23:21:16 +0000 (23:21 +0000)]
compiler: Add Backend Function type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206611 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-01-14 Andrew Pinski <apinski@cavium.com>
pinskia [Tue, 14 Jan 2014 19:55:59 +0000 (19:55 +0000)]
2014-01-14  Andrew Pinski  <apinski@cavium.com>

* config/aarch64/aarch64-protos.h (tune_params): Add issue_rate.
* config/aarch64/aarch64.c (generic_tunings): Add issue rate of 2.
(cortexa53_tunings): Likewise.
(aarch64_sched_issue_rate): New function.
(TARGET_SCHED_ISSUE_RATE): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206609 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-01-14 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Tue, 14 Jan 2014 19:08:32 +0000 (19:08 +0000)]
2014-01-14  Vladimir Makarov  <vmakarov@redhat.com>

* ira-costs.c (find_costs_and_classes): Add missed
ira_init_register_move_cost_if_necessary.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206606 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-01-14 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Tue, 14 Jan 2014 19:07:01 +0000 (19:07 +0000)]
2014-01-14  Vladimir Makarov  <vmakarov@redhat.com>

PR target/59787
* config/arm/arm.c (arm_coproc_mem_operand): Add lra_in_progress.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206605 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoConsolidate ABI warning into type_natural_mode
hjl [Tue, 14 Jan 2014 16:41:10 +0000 (16:41 +0000)]
Consolidate ABI warning into type_natural_mode

gcc/

PR target/59794
* config/i386/i386.c (type_natural_mode): Add a bool parameter
to indicate if type is used for function return value.  Warn
ABI change if the vector mode isn't available for function
return value.
(ix86_function_arg_advance): Pass false to type_natural_mode.
(ix86_function_arg): Likewise.
(ix86_gimplify_va_arg): Likewise.
(function_arg_32): Don't warn ABI change.
(ix86_function_value): Pass true to type_natural_mode.
(ix86_return_in_memory): Likewise.
(ix86_struct_value_rtx): Removed.
(TARGET_STRUCT_VALUE_RTX): Likewise.

gcc/testsuite/

PR target/59794
* g++.dg/ext/vector23.C: Also prune ABI change for Linux/x86.
* gcc.target/i386/pr39162.c (y): New __m256i variable.
(bar): Change return type to void.  Set y to x.
* gcc.target/i386/pr59794-1.c: New testcase.
* gcc.target/i386/pr59794-2.c: Likewise.
* gcc.target/i386/pr59794-3.c: Likewise.
* gcc.target/i386/pr59794-4.c: Likewise.
* gcc.target/i386/pr59794-5.c: Likewise.
* gcc.target/i386/pr59794-6.c: Likewise.
* gcc.target/i386/pr59794-7.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206603 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agogcc/
rsandifo [Tue, 14 Jan 2014 14:45:07 +0000 (14:45 +0000)]
gcc/
* jump.c (redirect_jump_2): Remove REG_CROSSING_JUMP notes when
converting a conditional jump into a conditional return.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206600 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-01-14 Richard Biener <rguenther@suse.de>
rguenth [Tue, 14 Jan 2014 09:04:50 +0000 (09:04 +0000)]
2014-01-14  Richard Biener  <rguenther@suse.de>

PR tree-optimization/58921
PR tree-optimization/59006
* tree-vect-loop-manip.c (vect_loop_versioning): Remove code
hoisting invariant stmts.
* tree-vect-stmts.c (vectorizable_load): Insert the splat of
invariant loads on the preheader edge if possible.

* gcc.dg/torture/pr58921.c: New testcase.
* gcc.dg/torture/pr59006.c: Likewise.
* gcc.dg/vect/pr58508.c: XFAIL no longer handled cases.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206599 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR testsuite/59494
jakub [Tue, 14 Jan 2014 09:00:30 +0000 (09:00 +0000)]
PR testsuite/59494
* gfortran.dg/vect/fast-math-mgrid-resid.f: Change
-fdump-tree-optimized to -fdump-tree-pcom-details in dg-options and
cleanup-tree-dump from optimized to pcom.  Remove scan-tree-dump-times
for vect_\[^\\n\]*\\+, add scan-tree-dump-times for no suitable chains and
Executing predictive commoning without unrolling.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206598 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-01-14 Joey Ye <joey.ye@arm.com>
jye2 [Tue, 14 Jan 2014 07:29:25 +0000 (07:29 +0000)]
2014-01-14  Joey Ye  <joey.ye@arm.com>

        * doc/plugin.texi (Building GCC plugins): Update to C++.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206597 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agogcc/
kyukhin [Tue, 14 Jan 2014 06:21:06 +0000 (06:21 +0000)]
gcc/
        * config/i386/avx512erintrin.h (_mm_rcp28_round_sd): New.
        (_mm_rcp28_round_ss): Ditto.
        (_mm_rsqrt28_round_sd): Ditto.
        (_mm_rsqrt28_round_ss): Ditto.
        (_mm_rcp28_sd): Ditto.
        (_mm_rcp28_ss): Ditto.
        (_mm_rsqrt28_sd): Ditto.
        (_mm_rsqrt28_ss): Ditto.
        * config/i386/avx512fintrin.h (_mm512_stream_load_si512): Ditto.
        * config/i386/i386-builtin-types.def (V8DI_FTYPE_PV8DI): Ditto.
        * config/i386/i386.c (IX86_BUILTIN_MOVNTDQA512): Ditto.
        (IX86_BUILTIN_RCP28SD): Ditto.
        (IX86_BUILTIN_RCP28SS): Ditto.
        (IX86_BUILTIN_RSQRT28SD): Ditto.
        (IX86_BUILTIN_RSQRT28SS): Ditto.
        (bdesc_special_args): Define __builtin_ia32_movntdqa512,
        __builtin_ia32_rcp28sd_round, __builtin_ia32_rcp28ss_round,
        __builtin_ia32_rsqrt28sd_round, __builtin_ia32_rsqrt28ss_round.
        (ix86_expand_special_args_builtin): Expand new FTYPE.
        * config/i386/sse.md (define_mode_attr "sse4_1_avx2"): Expand to V8DI.
        (srcp14<mode>): Make insn unary.
        (avx512f_vmscalef<mode><round_name>): Use substed predicate.
        (avx512f_sgetexp<mode><round_saeonly_name>): Ditto.
        (avx512f_rndscale<mode><round_saeonly_name>): Ditto.
        (<sse4_1_avx2>_movntdqa): Extend to 512 bits.
        (avx512er_exp2<mode><mask_name><round_saeonly_name>):
        Fix rounding: make it SAE only.
        (<mask_codefor>avx512er_rcp28<mode><mask_name><round_saeonly_name>): Ditto.
        (<mask_codefor>avx512er_rsqrt28<mode><mask_name><round_saeonly_name>): Ditto.
        (avx512er_vmrcp28<mode><round_saeonly_name>): Ditto.
        (avx512er_vmrsqrt28<mode><round_saeonly_name>): Ditto.
        (avx512f_getmant<mode><mask_name><round_saeonly_name>): Ditto.
        * config/i386/subst.md (round_saeonly_mask_scalar_operand3): Remove.
        (round_saeonly_mask_scalar_operand4): Ditto.
        (round_saeonly_mask_scalar_op3): Ditto.
        (round_saeonly_mask_scalar_op4): Ditto.

gcc/testsuite/
        * gcc.target/i386/avx-1.c: Fix __builtin_ia32_exp2ps_mask,
        __builtin_ia32_exp2pd_mask, __builtin_ia32_rcp28ps_mask,
        __builtin_ia32_rcp28pd_mask, __builtin_ia32_rsqrt28ps_mask,
        __builtin_ia32_rsqrt28pd_mask. Add __builtin_ia32_rcp28ss_round,
        __builtin_ia32_rcp28sd_round, __builtin_ia32_rsqrt28ss_round,
        __builtin_ia32_rsqrt28sd_round.
        * gcc.target/i386/avx512er-vexp2pd-1.c: Fix rounding mode.
        * gcc.target/i386/avx512er-vexp2ps-1.c: Ditto.
        * gcc.target/i386/avx512er-vrcp28pd-1.c: Ditto.
        * gcc.target/i386/avx512er-vrcp28ps-1.c: Ditto.
        * gcc.target/i386/avx512er-vrsqrt28pd-1.c: Ditto.
        * gcc.target/i386/avx512er-vrsqrt28ps-1.c: Ditto.
        * gcc.target/i386/avx512er-vrcp28sd-1.c: New.
        * gcc.target/i386/avx512er-vrcp28sd-2.c: Ditto.
        * gcc.target/i386/avx512er-vrcp28ss-1.c: Ditto.
        * gcc.target/i386/avx512er-vrcp28ss-2.c: Ditto.
        * gcc.target/i386/avx512er-vrsqrt28sd-1.c: Ditto.
        * gcc.target/i386/avx512er-vrsqrt28sd-2.c: Ditto.
        * gcc.target/i386/avx512er-vrsqrt28ss-1.c: Ditto.
        * gcc.target/i386/avx512er-vrsqrt28ss-2.c: Ditto.
        * gcc.target/i386/avx512f-vmovntdqa-1.c: Ditto.
        * gcc.target/i386/avx512f-vmovntdqa-2.c: Ditto.
        * gcc.target/i386/avx512f-vrcp14sd-2.c: Fix.
        * gcc.target/i386/avx512f-vrcp14ss-2.c: Ditto.
        * gcc.target/i386/sse-22.c: Extend with new built-ins,
        fix wrong rounding mode (see above).
        * gcc.target/i386/sse-23.c: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206596 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoDaily bump.
gccadmin [Tue, 14 Jan 2014 00:16:45 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206593 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agogcc:
wschmidt [Mon, 13 Jan 2014 23:18:05 +0000 (23:18 +0000)]
gcc:

2014-01-13  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin):
Implement -maltivec=be for vec_insert and vec_extract.

gcc/testsuite:

2014-01-13  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* gcc.dg/vmx/insert.c: New.
* gcc.dg/vmx/insert-be-order.c: New.
* gcc.dg/vmx/extract.c: New.
* gcc.dg/vmx/extract-be-order.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206590 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-01-13 François Dumont <fdumont@gcc.gnu.org>
fdumont [Mon, 13 Jan 2014 20:07:22 +0000 (20:07 +0000)]
2014-01-13  François Dumont  <fdumont@gcc.gnu.org>

* include/debug/set.h (set): Implement C++11 allocator-aware
container requirements.
* include/debug/map.h (map): Likewise.
* include/debug/multiset.h (multiset): Likewise.
* include/debug/multimap.h (multimap): Likewise.
* include/debug/set.h (set::operator=(set&&)): Add noexcept and
fix implementation regarding management of safe iterators.
* include/debug/map.h (map::operator=(map&&)): Likewise.
* include/debug/multiset.h (multiset::operator=(multiset&&)): Likewise.
* include/debug/multimap.h (multimap::operator=(multimap&&)):
Likewise.
* include/debug/set.h (set::operator=(std::initializer_list<>)):
Rely on the same operator from normal mode.
* include/debug/map.h (map::operator=(std::initializer_list<>)):
Likewise.
* include/debug/multiset.h
(multiset::operator=(std::initializer_list<>)): Likewise.
* include/debug/multimap.h
(multimap::operator=(std::initializer_list<>)): Likewise.
* include/debug/set.h (set::swap(set&)): Add noexcept
specification, add allocator equality check.
* include/debug/map.h (map::swap(map&)): Likewise.
* include/debug/multiset.h (multiset::swap(multiset&)): Likewise.
* include/debug/multimap.h (multimap::swap(multimap&)): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206588 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoMake sure that -msse/-mavx are appended at the end
hjl [Mon, 13 Jan 2014 19:36:17 +0000 (19:36 +0000)]
Make sure that -msse/-mavx are appended at the end

PR libitm/53113
* Makefile.am (x86_sse.lo): Append -msse to CXXFLAGS.
(x86_avx.lo): Append -mavx to CXXFLAGS.
* Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206587 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago* config/msp430/msp430.md (call_internal): Don't allow memory
dj [Mon, 13 Jan 2014 19:17:45 +0000 (19:17 +0000)]
* config/msp430/msp430.md (call_internal): Don't allow memory
references with SP as the base register.
(call_value_internal): Likewise.
* config/msp430/constraints.md (Yc): New.  For memory references
that don't use SP as a base register.

* config/msp430/msp430.c (msp430_print_operand): Add 'J' to mean
"an integer without a # prefix"
* config/msp430/msp430.md (epilogue_helper): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206586 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR target/59617
jakub [Mon, 13 Jan 2014 19:16:30 +0000 (19:16 +0000)]
PR target/59617
* config/i386/i386.c (ix86_vectorize_builtin_gather): Uncomment
AVX512F gather builtins.
* tree-vect-stmts.c (vectorizable_mask_load_store): For now punt
on gather decls with INTEGER_TYPE masktype.
(vectorizable_load): For INTEGER_TYPE masktype, put the INTEGER_CST
directly into the builtin rather than hoisting it before loop.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206585 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR tree-optimization/59387
jakub [Mon, 13 Jan 2014 19:14:03 +0000 (19:14 +0000)]
PR tree-optimization/59387
* tree-scalar-evolution.c: Include gimple-fold.h and gimplify-me.h.
(scev_const_prop): If folded_casts and type has undefined overflow,
use force_gimple_operand instead of force_gimple_operand_gsi and
for each added stmt if it is assign with
arith_code_with_undefined_signed_overflow, call
rewrite_to_defined_overflow.
* tree-ssa-loop-im.c: Don't include gimplify-me.h, include
gimple-fold.h instead.
(arith_code_with_undefined_signed_overflow,
rewrite_to_defined_overflow): Moved to ...
* gimple-fold.c (arith_code_with_undefined_signed_overflow,
rewrite_to_defined_overflow): ... here.  No longer static.
Include gimplify-me.h.
* gimple-fold.h (arith_code_with_undefined_signed_overflow,
rewrite_to_defined_overflow): New prototypes.

* gcc.c-torture/execute/pr59387.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206583 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-01-13 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
ktkachov [Mon, 13 Jan 2014 15:58:47 +0000 (15:58 +0000)]
2014-01-13  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

* config/arm/arm.h (MAX_CONDITIONAL_EXECUTE): Fix typo in description.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206580 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-01-13 Richard Biener <rguenther@suse.de>
rguenth [Mon, 13 Jan 2014 11:27:43 +0000 (11:27 +0000)]
2014-01-13  Richard Biener  <rguenther@suse.de>

* g++.dg/lto/lto.exp: Do check_effective_target_lto check before
adjusting mathlib options.
* gfortran.dg/lto/lto.exp: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206577 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * builtins.c (get_object_alignment_2): Minor tweak.
ebotcazou [Mon, 13 Jan 2014 10:36:27 +0000 (10:36 +0000)]
* builtins.c (get_object_alignment_2): Minor tweak.
* tree-ssa-loop-ivopts.c (may_be_unaligned_p): Rewrite.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206576 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-01-13 Christian Bruel <christian.bruel@st.com>
chrbr [Mon, 13 Jan 2014 09:16:48 +0000 (09:16 +0000)]
2014-01-13  Christian Bruel  <christian.bruel@st.com>

* config/sh/sh-mem.cc (sh_expand_cmpnstr): Unroll small sizes and
  optimized non constant lengths.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206575 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * gcc.dg/vect/vect-simd-clone-10.c: Add dg-do run.
jakub [Mon, 13 Jan 2014 09:13:15 +0000 (09:13 +0000)]
* gcc.dg/vect/vect-simd-clone-10.c: Add dg-do run.
* gcc.dg/vect/vect-simd-clone-12.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206574 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR libgomp/59194
jakub [Mon, 13 Jan 2014 07:56:40 +0000 (07:56 +0000)]
PR libgomp/59194
* omp-low.c (expand_omp_atomic_pipeline): Expand the initial
load as __atomic_load_N if possible.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206572 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoDaily bump.
gccadmin [Mon, 13 Jan 2014 00:17:02 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206571 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR ada/59772
ebotcazou [Sun, 12 Jan 2014 14:29:12 +0000 (14:29 +0000)]
PR ada/59772
* gcc-interface/cuintp.c (build_cst_from_int): Use 32-bit integer type
as intermediate type.
(UI_To_gnu): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206565 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-01-12 Janus Weil <janus@gcc.gnu.org>
janus [Sun, 12 Jan 2014 11:08:31 +0000 (11:08 +0000)]
2014-01-12  Janus Weil  <janus@gcc.gnu.org>

PR fortran/58026
* decl.c (gfc_match_data_decl): Improve error recovery.

2014-01-12  Janus Weil  <janus@gcc.gnu.org>

PR fortran/58026
* gfortran.dg/alloc_comp_basics_6.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206564 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoDaily bump.
gccadmin [Sun, 12 Jan 2014 00:17:10 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206563 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-01-11 Steven G. Kargl <kargl@gcc.gnu.org>
jvdelisle [Sat, 11 Jan 2014 21:38:30 +0000 (21:38 +0000)]
2014-01-11  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/59700
* gfortran.dg/pr59700.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206559 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago Missed file for previous commit.
jvdelisle [Sat, 11 Jan 2014 21:36:57 +0000 (21:36 +0000)]
Missed file for previous commit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206558 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-01-11 Dominique d'Humieres <dominiq@lps.ens.fr>
jvdelisle [Sat, 11 Jan 2014 21:30:43 +0000 (21:30 +0000)]
2014-01-11  Dominique d'Humieres  <dominiq@lps.ens.fr>

* gfortran.dg/binding_label_tests_10_main.f03: Cleanup mod file.
* gfortran.dg/use_only_3.f90: Likewise.
* gfortran.dg/inquire_10.f90: Delete opened file.
* gfortran.dg/inquire_15.f90: Likewise.
* gfortran.dg/pr16597.f90: Likewise.
* gfortran.dg/open_negative_unit_1.f90: Likewise + test
for PR59419.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206557 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * config/rs6000/rs6000.c (rs6000_expand_mtfsf_builtin): Remove
dje [Sat, 11 Jan 2014 19:25:54 +0000 (19:25 +0000)]
    * config/rs6000/rs6000.c (rs6000_expand_mtfsf_builtin): Remove
        target parameter.
        (rs6000_expand_builtin): Adjust call.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206555 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR target/58115
dje [Sat, 11 Jan 2014 18:57:56 +0000 (18:57 +0000)]
    PR target/58115
        * config/rs6000/rs6000.h (SWITCHABLE_TARGET): Define.
        * config/rs6000/rs6000.c: Include target-globals.h.
        (rs6000_set_current_function): Instead of doing target_reinit
        unconditionally, use save_target_globals_default_opts and
        restore_target_globals.

        * config/rs6000/rs6000-builtin.def (mffs, mtfsf): Add builtins for
        FPSCR.
        * config/rs6000/rs6000.c (rs6000_expand_mtfsf_builtin): New.
        (rs6000_expand_builtin): Handle mffs and mtfsf.
        (rs6000_init_builtins): Define mffs and mtfsf.
        * config/rs6000/rs6000.md (UNSPECV_MFFS, UNSPECV_MTFSF): New.
        (rs6000_mffs): New pattern.
        (rs6000_mtfsf): New pattern.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206554 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-01-11 Jerry DeLisle <jvdelisle@gcc.gnu>
jvdelisle [Sat, 11 Jan 2014 18:57:20 +0000 (18:57 +0000)]
2014-01-11  Jerry DeLisle  <jvdelisle@gcc.gnu>
    Dominique d'Humieres  <dominiq@lps.ens.fr>
    Steven G. Kargl  <kargl@gcc.gnu.org>

PR libfortran/59700
PR libfortran/59764
* io/io.h (struct st_parameter_dt): Assign expanded_read flag to
unused bit. Define new variable line_buffer_pos.
* io/list_read.c (free_saved, next_char, l_push_char,
read_logical, read_real): Replace use of item_count with
line_buffer_pos for line_buffer look ahead.
(read_logical, read_integer, parse_real, read_real, check_type):
Adjust location of free_line to after generating error messages
to retain the correct item count for the message.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206553 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * tree-ssa-loop-ivopts.c (iv_ca_narrow): New parameter.
amker [Sat, 11 Jan 2014 09:33:39 +0000 (09:33 +0000)]
* tree-ssa-loop-ivopts.c (iv_ca_narrow): New parameter.
Start narrowing with START.  Apply candidate-use pair
and check overall cost in narrowing.
(iv_ca_prune): Pass new argument.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206552 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoDaily bump.
gccadmin [Sat, 11 Jan 2014 00:16:58 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206548 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR middle-end/59743
law [Fri, 10 Jan 2014 22:13:18 +0000 (22:13 +0000)]
PR middle-end/59743
* ree.c (combine_reaching_defs): Ensure the defining statement
occurs before the extension when optimizing extensions with
different source and destination hard registers.

PR middle-end/59743
* gcc.c-torture/compile/pr59743.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206545 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR ipa/58585
hubicka [Fri, 10 Jan 2014 21:34:37 +0000 (21:34 +0000)]
PR ipa/58585
* ipa-devirt.c (build_type_inheritance_graph): Also add types of vtables
into the type inheritance graph.

* g++.dg/torture/pr58585.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206543 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR rtl-optimization/59754
jakub [Fri, 10 Jan 2014 21:27:52 +0000 (21:27 +0000)]
PR rtl-optimization/59754
* ree.c (combine_reaching_defs): Disallow !SCALAR_INT_MODE_P
modes in the REGNO != REGNO case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206542 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-01-10 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
wschmidt [Fri, 10 Jan 2014 21:26:25 +0000 (21:26 +0000)]
2014-01-10  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* config/rs6000/rs6000-builtin.def: Fix pasto for VPKSDUS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206541 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR tree-optimization/59745
jakub [Fri, 10 Jan 2014 20:37:52 +0000 (20:37 +0000)]
PR tree-optimization/59745
* tree-predcom.c (tree_predictive_commoning_loop): Call
free_affine_expand_cache if giving up because components is NULL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206540 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * target-globals.c (save_target_globals): Allocate < 4KB structs using
jakub [Fri, 10 Jan 2014 20:25:05 +0000 (20:25 +0000)]
* target-globals.c (save_target_globals): Allocate < 4KB structs using
GC in payload of target_globals struct instead of allocating them on
the heap and the larger structs separately using GC.
* target-globals.h (struct target_globals): Make regs, hard_regs,
reload, expmed, ira, ira_int and lra_fields GTY((atomic)) instead
of GTY((skip)) and change type to void *.
(reset_target_globals): Cast loads from those fields to corresponding
types.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206539 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * gcc.dg/pr46309.c: Disable for cris*-*-*.
hp [Fri, 10 Jan 2014 19:18:34 +0000 (19:18 +0000)]
* gcc.dg/pr46309.c: Disable for cris*-*-*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206537 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-01-10 Steve Ellcey <sellcey@mips.com>
sje [Fri, 10 Jan 2014 17:54:10 +0000 (17:54 +0000)]
2014-01-10  Steve Ellcey  <sellcey@mips.com>

PR plugins/59335
* Makefile.in (PLUGIN_HEADERS): Add gimplify.h, gimple-iterator.h,
gimple-ssa.h, fold-const.h, tree-cfg.h, tree-into-ssa.h,
tree-ssanames.h, print-tree.h, varasm.h, and context.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206535 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * gcc.target/arm/neon-nested-apcs.c: Tweak dg directives.
ebotcazou [Fri, 10 Jan 2014 16:10:37 +0000 (16:10 +0000)]
* gcc.target/arm/neon-nested-apcs.c: Tweak dg directives.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206532 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoPR target/59744
rearnsha [Fri, 10 Jan 2014 15:21:21 +0000 (15:21 +0000)]
PR target/59744
Fix ChangeLog typos in previous commit (r206529).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206530 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR target/9744
rearnsha [Fri, 10 Jan 2014 15:12:03 +0000 (15:12 +0000)]
PR target/9744

gcc:
* aarch64-modes.def (CC_Zmode): New flags mode.
* aarch64.c (aarch64_select_cc_mode): Only allow NEG when the condition
represents an equality.
(aarch64_get_condition_code0): Handle CC_Zmode.
* aarch64.md (compare_neg<mode>): Restrict to equality operations.

gcc/testsuite:
* gcc.target/aarch64/cmn-neg.c: Use equality comparisons.
* gcc.target/aarch64/cmn-neg2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206529 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-01-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
krebbel [Fri, 10 Jan 2014 14:59:41 +0000 (14:59 +0000)]
2014-01-10  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* config/s390/s390.c (s390_expand_tbegin): Remove jump over CC
extraction in good case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206527 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR libstdc++/59699
redi [Fri, 10 Jan 2014 14:30:32 +0000 (14:30 +0000)]
PR libstdc++/59699
* doc/xml/manual/support.xml (std.support.types.null): Update links.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206526 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR libstdc++/59687
redi [Fri, 10 Jan 2014 14:30:27 +0000 (14:30 +0000)]
PR libstdc++/59687
* doc/xml/manual/backwards_compatibility.xml
(backwards.third.nocreate_noreplace): Correct and expand.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206525 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR libstdc++/59698
redi [Fri, 10 Jan 2014 14:30:21 +0000 (14:30 +0000)]
PR libstdc++/59698
* doc/xml/manual/status_cxx1998.xml (iso.1998.specific): Markup
and stylistic improvements.
* doc/xml/manual/codecvt.xml (std.localization.facet.codecvt): Likewise
and update for C++11.
* doc/xml/manual/ctype.xml (std.localization.facet.ctype): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206524 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-01-10 Richard Biener <rguenther@suse.de>
rguenth [Fri, 10 Jan 2014 13:07:42 +0000 (13:07 +0000)]
2014-01-10  Richard Biener  <rguenther@suse.de>

PR tree-optimization/59374
* tree-vect-slp.c (vect_slp_analyze_bb_1): Move dependence
checking after SLP discovery.  Mark stmts not participating
in any SLP instance properly.

* gcc.dg/torture/pr59374-3.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206523 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-01-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
ktkachov [Fri, 10 Jan 2014 11:48:37 +0000 (11:48 +0000)]
2014-01-10  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

* config/arm/arm.c (arm_new_rtx_costs): Use destination mode
when handling a SET rtx.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206521 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-01-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
ktkachov [Fri, 10 Jan 2014 11:47:04 +0000 (11:47 +0000)]
2014-01-10  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

* config/arm/arm-cores.def (cortex-a53): Specify FL_CRC32.
(cortex-a57): Likewise.
(cortex-a57.cortex-a53): Likewise. Remove redundant flags.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206520 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago[gcc/testsuite/]
ktkachov [Fri, 10 Jan 2014 11:43:48 +0000 (11:43 +0000)]
[gcc/testsuite/]
2014-01-10  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

* lib/target-supports.exp
(check_effective_target_arm_crypto_ok_nocache): New.
(check_effective_target_arm_crypto_ok): Use above procedure.
(add_options_for_arm_crypto): Use et_arm_crypto_flags.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206519 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-01-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
ktkachov [Fri, 10 Jan 2014 11:42:03 +0000 (11:42 +0000)]
2014-01-10  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

* config/arm/arm.c (arm_init_iwmmxt_builtins): Skip
non-iwmmxt builtins.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206518 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoNote that pass_pre destroys PROP_no_crit_edges
vries [Fri, 10 Jan 2014 10:37:22 +0000 (10:37 +0000)]
Note that pass_pre destroys PROP_no_crit_edges

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

* tree-ssa-pre.c (pass_data_pre): Add comment about PROP_no_crit_edges
in properties_required.  Add PROP_no_crit_edges to properties_destroyed.
* tree-ssa-sink.c (pass_data_sink_code): Remove PROP_no_crit_edges
from properties_required.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206517 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR ipa/58252
hubicka [Fri, 10 Jan 2014 09:33:24 +0000 (09:33 +0000)]
PR ipa/58252
PR ipa/59226
* ipa-devirt.c record_target_from_binfo): Take as argument
stack of binfos and lookup matching one for virtual inheritance.
(possible_polymorphic_call_targets_1): Update.

* g++.dg/ipa/devirt-20.C: New testcase.
* g++.dg/torture/pr58252.C: Likewise.
* g++.dg/torture/pr59226.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206516 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-01-10 Max Ostapenko <m.ostapenko@partner.samsung.com>
chefmax [Fri, 10 Jan 2014 09:16:39 +0000 (09:16 +0000)]
2014-01-10  Max Ostapenko  <m.ostapenko@partner.samsung.com>

* c-c++-common/asan/no-asan-stack.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206515 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agogcc/
rsandifo [Fri, 10 Jan 2014 08:51:40 +0000 (08:51 +0000)]
gcc/
2014-01-10  Huacai Chen  <chenhc@lemote.com>

* config/mips/driver-native.c (host_detect_local_cpu): Handle new
kernel strings for Loongson-2E/2F/3A.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206512 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agocompiler: Use backend interface for slice info.
ian [Fri, 10 Jan 2014 06:42:08 +0000 (06:42 +0000)]
compiler: Use backend interface for slice info.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206509 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoDaily bump.
gccadmin [Fri, 10 Jan 2014 00:16:59 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206507 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR libstdc++/59680
redi [Thu, 9 Jan 2014 23:39:31 +0000 (23:39 +0000)]
PR libstdc++/59680
* src/c++11/thread.cc (__sleep_for): Fix call to ::sleep.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206504 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR middle-end/59670
jakub [Thu, 9 Jan 2014 23:39:06 +0000 (23:39 +0000)]
PR middle-end/59670
* tree-vect-data-refs.c (vect_analyze_data_refs): Check
is_gimple_call before calling gimple_call_internal_p.

* gcc.dg/pr59670.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206503 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agocompiler: Add flattening pass
ian [Thu, 9 Jan 2014 23:28:10 +0000 (23:28 +0000)]
compiler: Add flattening pass

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206502 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoruntime: fix 32-bit malloc for pointers >= 0x80000000
ian [Thu, 9 Jan 2014 23:16:56 +0000 (23:16 +0000)]
runtime: fix 32-bit malloc for pointers >= 0x80000000

The spans array is allocated in runtime_mallocinit.  On a
32-bit system the number of entries in the spans array is
MaxArena32 / PageSize, which (2U << 30) / (1 << 12) == (1 << 19).
So we are allocating an array that can hold 19 bits for an
index that can hold 20 bits.  According to the comment in the
function, this is intentional: we only allocate enough spans
(and bitmaps) for a 2G arena, because allocating more would
probably be wasteful.

But since the span index is simply the upper 20 bits of the
memory address, this scheme only works if memory addresses are
limited to the low 2G of memory.  That would be OK if we were
careful to enforce it, but we're not.  What we are careful to
enforce, in functions like runtime_MHeap_SysAlloc, is that we
always return addresses between the heap's arena_start and
arena_start + MaxArena32.

We generally get away with it because we start allocating just
after the program end, so we only run into trouble with
programs that allocate a lot of memory, enough to get past
address 0x80000000.

This changes the code that computes a span index to subtract
arena_start on 32-bit systems just as we currently do on
64-bit systems.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206501 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-01-09 Steve Ellcey <sellcey@mips.com>
sje [Thu, 9 Jan 2014 21:02:43 +0000 (21:02 +0000)]
2014-01-09  Steve Ellcey  <sellcey@mips.com>

* Makefile.in (TREE_FLOW_H): Remove.
(TREE_SSA_H): Add file names from tree-flow.h.
* doc/tree-ssa.texi (Annotations): Remove reference to tree-flow.h
* tree.h: Remove tree-flow.h reference.
* hash-table.h: Remove tree-flow.h reference.
* tree-ssa-loop-niter.c (dump_affine_iv): Replace tree-flow.h
reference with tree-ssa-loop.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206496 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-01-09 Steve Ellcey <sellcey@mips.com>
sje [Thu, 9 Jan 2014 21:00:42 +0000 (21:00 +0000)]
2014-01-09  Steve Ellcey  <sellcey@mips.com>

* gcc.dg/delay-slot-1.c: Restrict -mabi=64 to 64 bit processors.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206495 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-01-09 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
wschmidt [Thu, 9 Jan 2014 20:30:50 +0000 (20:30 +0000)]
2014-01-09  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* doc/invoke.texi: Add -maltivec={be,le} options, and document
default element-order behavior for -maltivec.
* config/rs6000/rs6000.opt: Add -maltivec={be,le} options.
* config/rs6000/rs6000.c (rs6000_option_override_internal): Ensure
that -maltivec={le,be} implies -maltivec; disallow -maltivec=le
when targeting big endian, at least for now.
* config/rs6000/rs6000.h: Add #define of VECTOR_ELT_ORDER_BIG.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206494 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR middle-end/47735
jakub [Thu, 9 Jan 2014 20:12:36 +0000 (20:12 +0000)]
PR middle-end/47735
* cfgexpand.c (expand_one_var): For SSA_NAMEs, if the underlying
var satisfies use_register_for_decl, just take into account type
alignment, rather than decl alignment.

* gcc.target/i386/pr47735.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206493 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR tree-optimization/59622
jakub [Thu, 9 Jan 2014 20:09:33 +0000 (20:09 +0000)]
PR tree-optimization/59622
* gimple-fold.c (gimple_fold_call): Fix a typo in message.  For
__builtin_unreachable replace the OBJ_TYPE_REF call with a call to
__builtin_unreachable and add if needed a setter of the lhs SSA_NAME.
Don't devirtualize for inplace at all.  For targets.length () == 1,
if the call is noreturn and cfun isn't in SSA form yet, clear lhs.

* g++.dg/opt/pr59622-2.C: New test.
* g++.dg/opt/pr59622-3.C: New test.
* g++.dg/opt/pr59622-4.C: New test.
* g++.dg/opt/pr59622-5.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206492 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoFix up ChangeLog Copyright dates.
jakub [Thu, 9 Jan 2014 20:08:22 +0000 (20:08 +0000)]
Fix up ChangeLog Copyright dates.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206491 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-01-09 Tobias Burnus <burnus@net-b.de>
burnus [Thu, 9 Jan 2014 19:51:13 +0000 (19:51 +0000)]
2014-01-09  Tobias Burnus  <burnus@net-b.de>

        * cpp.c (gfc_cpp_handle_option): Add missing break.
        * trans-io.c (transfer_expr): Silence unused value warning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206487 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoMove libgcc ChangeLog entries to libgcc/ChangeLog
hjl [Thu, 9 Jan 2014 19:41:54 +0000 (19:41 +0000)]
Move libgcc ChangeLog entries to libgcc/ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206486 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoRemove the unused btver1
hjl [Thu, 9 Jan 2014 19:39:53 +0000 (19:39 +0000)]
Remove the unused btver1

* config/i386/i386.md (cpu): Remove the unused btver1.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206485 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-01-09 Rong Xu <xur@google.com>
xur [Thu, 9 Jan 2014 19:13:47 +0000 (19:13 +0000)]
2014-01-09  Rong Xu  <xur@google.com>

* libgcc/libgcov-driver.c (this_prg): make it local to save
        bss space.
(gcov_exit_compute_summary): Ditto.
(gcov_exit_merge_gcda): Ditto.
(gcov_exit_merge_summary): Ditto.
(gcov_exit_dump_gcov): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206483 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-01-09 Rong Xu <xur@google.com>
xur [Thu, 9 Jan 2014 19:12:58 +0000 (19:12 +0000)]
2014-01-09  Rong Xu  <xur@google.com>

* libgcc/libgcov-driver.c (this_prg): make it local to save
        bss space.
(gcov_exit_compute_summary): Ditto.
(gcov_exit_merge_gcda): Ditto.
(gcov_exit_merge_summary): Ditto.
(gcov_exit_dump_gcov): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206482 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoPut a breakpoint on __sanitizer::Report
hjl [Thu, 9 Jan 2014 18:40:13 +0000 (18:40 +0000)]
Put a breakpoint on __sanitizer::Report

* gdbasan.in: Put a breakpoint on __sanitizer::Report.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206481 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR libstdc++/59738
redi [Thu, 9 Jan 2014 18:38:52 +0000 (18:38 +0000)]
PR libstdc++/59738
* include/bits/stl_vector.h (vector<>::_M_move_assign): Restore
support for non-Movable types.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206480 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoRotate libstdc++-v3/ChangeLog
redi [Thu, 9 Jan 2014 18:38:40 +0000 (18:38 +0000)]
Rotate libstdc++-v3/ChangeLog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206479 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR target/58115
jakub [Thu, 9 Jan 2014 18:25:19 +0000 (18:25 +0000)]
PR target/58115
* tree-core.h (struct target_globals): New forward declaration.
(struct tree_target_option): Add globals field.
* tree.h (TREE_TARGET_GLOBALS): Define.
(prepare_target_option_nodes_for_pch): New prototype.
* target-globals.h (struct target_globals): Define even if
!SWITCHABLE_TARGET.
* tree.c (prepare_target_option_node_for_pch,
prepare_target_option_nodes_for_pch): New functions.
* config/i386/i386.h (SWITCHABLE_TARGET): Define.
* config/i386/i386.c: Include target-globals.h.
(ix86_set_current_function): Instead of doing target_reinit
unconditionally, use save_target_globals_default_opts and
restore_target_globals.
c-family/
* c-pch.c (c_common_write_pch): Call
prepare_target_option_nodes_for_pch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206478 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * sanitizer_common/sanitizer_symbolizer_libbacktrace.h
jakub [Thu, 9 Jan 2014 18:16:40 +0000 (18:16 +0000)]
* sanitizer_common/sanitizer_symbolizer_libbacktrace.h
(LibbacktraceSymbolizer::Demangle): New declaration.
* sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
(POSIXSymbolizer::Demangle): Use libbacktrace_symbolizer_'s Demangle
method if possible.
* sanitizer_common/sanitizer_symbolizer_libbacktrace.cc: Include
"demangle.h" if SANITIZE_CP_DEMANGLE is defined.
(struct CplusV3DemangleData): New type.
(CplusV3DemangleCallback, CplusV3Demangle): New functions.
(SymbolizeCodePCInfoCallback, SymbolizeCodeCallback,
SymbolizeDataCallback): Use CplusV3Demangle.
* sanitizer_common/Makefile.am (AM_CXXFLAGS): Add
-DSANITIZE_CP_DEMANGLE and -I $(top_srcdir)/../include.
* libbacktrace/backtrace-rename.h (cplus_demangle_builtin_types,
cplus_demangle_fill_ctor, cplus_demangle_fill_dtor,
cplus_demangle_fill_extended_operator, cplus_demangle_fill_name,
cplus_demangle_init_info, cplus_demangle_mangled_name,
cplus_demangle_operators, cplus_demangle_print,
cplus_demangle_print_callback, cplus_demangle_type, cplus_demangle_v3,
cplus_demangle_v3_callback, is_gnu_v3_mangled_ctor,
is_gnu_v3_mangled_dtor, java_demangle_v3, java_demangle_v3_callback):
Define.
(__asan_internal_memcmp, __asan_internal_strncmp): New prototypes.
(memcmp, strncmp): Redefine.
* libbacktrace/Makefile.am (libsanitizer_libbacktrace_la_SOURCES): Add
../../libiberty/cp-demangle.c.
* libbacktrace/bridge.cc (__asan_internal_memcmp,
__asan_internal_strncmp): New functions.
* sanitizer_common/Makefile.in: Regenerated.
* libbacktrace/Makefile.in: Regenerated.
* configure: Regenerated.
* configure.ac: Regenerated.
* config.h.in: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206477 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * sanitizer_common/Makefile.am (AM_CPPFLAGS): Add
jakub [Thu, 9 Jan 2014 18:15:41 +0000 (18:15 +0000)]
* sanitizer_common/Makefile.am (AM_CPPFLAGS): Add
-isystem $(top_srcdir)/include/system.
* sanitizer_common/Makefile.in: Regenerated.
* include/system/linux/aio_abi.h: New header.
* include/system/linux/mroute.h: New header.
* include/system/linux/mroute6.h: New header.
* include/system/linux/perf_event.h: New header.
* include/system/linux/types.h: New header.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206476 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago PR sanitizer/59136
jakub [Thu, 9 Jan 2014 18:13:39 +0000 (18:13 +0000)]
PR sanitizer/59136
libsanitizer/
* sanitizer_common/Makefile.am (AM_CXXFLAGS): If
LIBBACKTRACE_SUPPORTED add -DSANITIZER_LIBBACKTRACE
and -I/-include flags.
* lsan/Makefile.am (liblsan_la_LIBADD): Add
libsanitizer_libbacktrace.la if LIBBACKTRACE_SUPPORTED.
* tsan/Makefile.am (libtsan_la_LIBADD): Likewise.
* ubsan/Makefile.am (libubsan_la_LIBADD): Likewise.
* asan/Makefile.am (libasan_la_LIBADD): Likewise.
* Makefile.am (SUBDIRS): If LIBBACKTRACE_SUPPORTED add
libbacktrace.
* README.gcc: Document that also lsan and ubsan are
maintained in compiler-rt upstream.
* libbacktrace/Makefile.am: New file.
* libbacktrace/backtrace-rename.h: New file.
* libbacktrace/backtrace-supported.h.in: New file.
* libbacktrace/bridge.cc: New file.
* configure.ac: Add tests needed for libbacktrace build
within libsanitizer.
* sanitizer_common/Makefile.in: Regenerated.
* lsan/Makefile.in: Regenerated.
* tsan/Makefile.in: Regenerated.
* ubsan/Makefile.in: Regenerated.
* libbacktrace/Makefile.in: Generated.
* config.h.in: Regenerated.
* configure: Regenerated.
* Makefile.in: Regenerated.
* interception/Makefile.in: Regenerated.
* asan/Makefile.in: Regenerated.
* aclocal.m4: Regenerated.
testsuite/
* c-c++-common/asan/strip-path-prefix-1.c: Allow also the
filename:line instead of (modulename+offset) form with stripped
initial / from the filename.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206475 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * go.test/go-test.exp (go-gc-tests): Skip nilptr tests that test
ian [Thu, 9 Jan 2014 17:58:14 +0000 (17:58 +0000)]
* go.test/go-test.exp (go-gc-tests): Skip nilptr tests that test
the other Go compiler.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206474 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago2014-01-09 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Thu, 9 Jan 2014 17:45:55 +0000 (17:45 +0000)]
2014-01-09  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/59730
* g++.dg/cpp0x/variadic145.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206473 138bc75d-0d04-0410-961f-82ee72b054a4

10 years ago * go.test/go-test.exp (go-gc-tests): Don't run peano.go on systems
uros [Thu, 9 Jan 2014 17:14:03 +0000 (17:14 +0000)]
* go.test/go-test.exp (go-gc-tests): Don't run peano.go on systems
which don't support -fsplit-stack.  Skip rotate[0123].go tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206470 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoFix for PR bootstrap/59094
bviyer [Thu, 9 Jan 2014 16:52:23 +0000 (16:52 +0000)]
Fix for PR bootstrap/59094
+2014-01-09  Balaji V. Iyer  <balaji.v.iyer@intel.com>
+
+       PR bootstrap/59094
+       * Makefile.am (cilkincludedir): Fixed a bug to store version-specific
+       runtime libraries in the correct place.
+       * Makefile.in: Regenerate.
+

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206469 138bc75d-0d04-0410-961f-82ee72b054a4

10 years agoFix for PR testsuite/59524
bviyer [Thu, 9 Jan 2014 15:41:20 +0000 (15:41 +0000)]
Fix for PR testsuite/59524
2014-01-09  Balaji V. Iyer  <balaji.v.iyer@intel.com>

+       PR testsuite/59524
+       * gcc.dg/cilk-plus/cilk-plus.exp: Make sure the cilk keywords tests
+       are run only if the Cilk library is available/enabled.
+       * g++.dg/cilk-plus/cilk-plus.exp: Likewise.
+       * lib/target-supports.exp (check_libcilkrts_available): New
function.
+

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206468 138bc75d-0d04-0410-961f-82ee72b054a4