platform/upstream/linaro-gcc.git
10 years ago PR rtl-optimization/59724
jakub [Thu, 9 Jan 2014 07:21:21 +0000 (07:21 +0000)]
PR rtl-optimization/59724
* ifcvt.c (cond_exec_process_if_block): Don't call
flow_find_head_matching_sequence with 0 longest_match.
* cfgcleanup.c (flow_find_head_matching_sequence): Count even
non-active insns if !stop_after.
(try_head_merge_bb): Revert 2014-01-07 changes.

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

10 years ago * ree.c (get_sub_rtx): New function, extracted from...
law [Thu, 9 Jan 2014 04:42:38 +0000 (04:42 +0000)]
    * ree.c (get_sub_rtx): New function, extracted from...
        (merge_def_and_ext): Here.
        (combine_reaching_defs): Use get_sub_rtx.

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

10 years agoDaily bump.
gccadmin [Thu, 9 Jan 2014 00:17:01 +0000 (00:17 +0000)]
Daily bump.

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

10 years ago * cgraph.h (varpool_variable_node): Do not choke on null node.
ebotcazou [Wed, 8 Jan 2014 22:39:07 +0000 (22:39 +0000)]
* cgraph.h (varpool_variable_node): Do not choke on null node.

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

10 years ago PR middle-end/59471
jakub [Wed, 8 Jan 2014 22:33:12 +0000 (22:33 +0000)]
PR middle-end/59471
* gcc.dg/pr59471.c (foo): Avoid vector type arguments or return
type, use pointers to vector type instead.

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

10 years ago2014-01-08 Catherine Moore <clm@codesourcery.com>
clm [Wed, 8 Jan 2014 22:26:05 +0000 (22:26 +0000)]
2014-01-08  Catherine Moore  <clm@codesourcery.com>

gcc/testsuite/
* gcc.target/mips/umips-branch-3.c: New test.
* gcc.target/mips/umips-branch-4.c: New test.

gcc/
* config/mips/mips.md (simple_return): Attempt to use JRC for microMIPS.
* config/mips/mips.h (MIPS_CALL): Attempt to use JALS for microMIPS.

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

10 years agogcc/testsuite/
rsandifo [Wed, 8 Jan 2014 22:17:23 +0000 (22:17 +0000)]
gcc/testsuite/
* gcc.dg/tree-ssa/reassoc-32.c, gcc.dg/tree-ssa/reassoc-33.c,
gcc.dg/tree-ssa/reassoc-34.c, gcc.dg/tree-ssa/reassoc-35.c,
gcc.dg/tree-ssa/reassoc-36.c: Extend -mbranch-cost handling to MIPS.
* gcc.dg/tree-ssa/ssa-ifcombine-ccmp-1.c,
gcc.dg/tree-ssa/ssa-ifcombine-ccmp-4.c,
gcc.dg/tree-ssa/ssa-ifcombine-ccmp-5.c,
gcc.dg/tree-ssa/ssa-ifcombine-ccmp-6.c,
gcc.dg/tree-ssa/vrp87.c, gcc.dg/tree-ssa/forwprop-28.c: Skip for MIPS.

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

10 years agogcc/
rsandifo [Wed, 8 Jan 2014 22:16:49 +0000 (22:16 +0000)]
gcc/
PR rtl-optimization/59137
* reorg.c (steal_delay_list_from_target): Call update_block for
elided insns.
(steal_delay_list_from_fallthrough, relax_delay_slots): Likewise.

gcc/testsuite/
PR rtl-optimization/59137
* gcc.target/mips/pr59137.c: New test.

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

10 years ago2014-01-08 François Dumont <fdumont@gcc.gnu.org>
fdumont [Wed, 8 Jan 2014 20:57:57 +0000 (20:57 +0000)]
2014-01-08  François Dumont  <fdumont@gcc.gnu.org>

* include/bits/stl_vector.h (std::vector<>::_M_move_assign): Pass
*this allocator instance when building temporary vector instance
so that *this allocator does not get moved.
* include/debug/safe_base.h
(_Safe_sequence_base(_Safe_sequence_base&&)): New.
* include/debug/vector (__gnu_debug::vector<>(vector&&)): Use new
move constructor from _Safe_sequence_base.
(__gnu_debug::vector<>(vector&&, const allocator_type&)): Swap
safe iterators if the instance is moved.
(__gnu_debug::vector<>::operator=(vector&&)): Likewise.
* testsuite/23_containers/vector/allocator/move.cc (test01): Add
check on a vector iterator.
* testsuite/23_containers/vector/allocator/move_assign.cc
(test02): Likewise.
(test03): New, test with a non-propagating allocator.
* testsuite/23_containers/vector/debug/move_assign_neg.cc: New.

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

10 years ago2014-01-08 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
wschmidt [Wed, 8 Jan 2014 20:15:48 +0000 (20:15 +0000)]
2014-01-08  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Remove
two duplicate entries.

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

10 years ago * gcc.target/i386/asm-1.c (dg-options): Remove -m32.
uros [Wed, 8 Jan 2014 19:45:54 +0000 (19:45 +0000)]
* gcc.target/i386/asm-1.c (dg-options): Remove -m32.
* gcc.target/i386/incoming-5.c (dg-options): Ditto.
* gcc.target/i386/pr55433.c (dg-options): Ditto.
* gcc.target/i386/pr57848.c (dg-options): Ditto.
* gcc.target/i386/pr59099.c (dg-options): Ditto.
Require fpic effective target.
* gcc.target/i386/pr56246.c (dg-do): Compile for fpic target only.

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

10 years agogcc/
rsandifo [Wed, 8 Jan 2014 19:32:56 +0000 (19:32 +0000)]
gcc/
Revert:
2012-10-07  Richard Sandiford  <rdsandiford@googlemail.com>

* config/mips/mips.c (mips_truncated_op_cost): New function.
(mips_rtx_costs): Adjust test for BADDU.
* config/mips/mips.md (*baddu_di<mode>): Push truncates to operands.

2012-10-02  Richard Sandiford  <rdsandiford@googlemail.com>

* config/mips/mips.md (*baddu_si_eb, *baddu_si_el): Merge into...
(*baddu_si): ...this new pattern.

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

10 years ago PR c++/59614
jason [Wed, 8 Jan 2014 18:48:31 +0000 (18:48 +0000)]
PR c++/59614
* class.c (abi_tag_data): Add tags field.
(check_abi_tags): Initialize it.
(find_abi_tags_r): Support collecting missing tags.
(mark_type_abi_tags): Don't look at template args.
(inherit_targ_abi_tags): New.
(check_bases_and_members): Use it.
* cp-tree.h (ABI_TAG_IMPLICIT): New.
* mangle.c (write_abi_tags): Check it.

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

10 years ago PR ipa/59722
jakub [Wed, 8 Jan 2014 18:41:22 +0000 (18:41 +0000)]
PR ipa/59722
* ipa-prop.c (ipa_analyze_params_uses): Ignore uses in debug stmts.

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

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

10 years ago2014-01-08 Bernd Edlinger <bernd.edlinger@hotmail.de>
edlinger [Wed, 8 Jan 2014 17:25:38 +0000 (17:25 +0000)]
2014-01-08  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        PR middle-end/57748
        * expr.h (expand_expr_real, expand_expr_real_1): Add new parameter
        inner_reference_p.
        (expand_expr, expand_normal): Adjust.
        * expr.c (expand_expr_real, expand_expr_real_1): Add new parameter
        inner_reference_p. Use inner_reference_p to expand inner references.
        (store_expr): Adjust.
        * cfgexpand.c (expand_call_stmt): Adjust.

testsuite:
2014-01-08  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        PR middle-end/57748
        * gcc.dg/torture/pr57748-3.c: New test.
        * gcc.dg/torture/pr57748-4.c: New test.

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

10 years ago2014-01-08 Rong Xu <xur@google.com>
tejohnson [Wed, 8 Jan 2014 16:37:08 +0000 (16:37 +0000)]
2014-01-08  Rong Xu  <xur@google.com>

* gcc/gcov-io.c (gcov_var): Move from gcov-io.h.
(gcov_position): Ditto.
(gcov_is_error): Ditto.
(gcov_rewrite): Ditto.
* gcc/gcov-io.h: Refactor. Move gcov_var to gcov-io.h, and libgcov
only part to libgcc/libgcov.h.
* libgcc/libgcov-driver.c: Use libgcov.h.
(buffer_fn_data): Use xmalloc instead of malloc.
(gcov_exit_merge_gcda): Ditto.
* libgcc/libgcov-driver-system.c (allocate_filename_struct): Ditto.
* libgcc/libgcov.h: New common header files for libgcov-*.h.
* libgcc/libgcov-interface.c: Use libgcov.h
* libgcc/libgcov-merge.c: Ditto.
* libgcc/libgcov-profiler.c: Ditto.
* libgcc/Makefile.in: Add dependence to libgcov.h

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

10 years ago PR middle-end/59669
mpolacek [Wed, 8 Jan 2014 15:37:35 +0000 (15:37 +0000)]
PR middle-end/59669
* omp-low.c (simd_clone_adjust): Don't crash if def is NULL.
testsuite/
* gcc.dg/gomp/pr59669-1.c: New test.
* gcc.dg/gomp/pr59669-2.c: New test.

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

10 years ago2014-01-08 Martin Jambor <mjambor@suse.cz>
jamborm [Wed, 8 Jan 2014 15:32:50 +0000 (15:32 +0000)]
2014-01-08  Martin Jambor  <mjambor@suse.cz>

PR ipa/59610
testsuite/
* gcc.dg/ipa/pr59610.c: New test.

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

10 years ago2014-01-08 Janus Weil <janus@gcc.gnu.org>
janus [Wed, 8 Jan 2014 15:25:22 +0000 (15:25 +0000)]
2014-01-08  Janus Weil  <janus@gcc.gnu.org>

PR fortran/58182
* resolve.c (gfc_verify_binding_labels): Modify order of checks.

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

PR fortran/58182
* gfortran.dg/binding_label_tests_26a.f90: New.
* gfortran.dg/binding_label_tests_26b.f90: New.

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

10 years ago PR sanitizer/59667
mpolacek [Wed, 8 Jan 2014 10:06:09 +0000 (10:06 +0000)]
PR sanitizer/59667
* ubsan.c (ubsan_type_descriptor): Call strip_array_types on type2.
testsuite/
* c-c++-common/ubsan/pr59667.c: New test.

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

10 years ago PR rtl-optimization/59649
jakub [Wed, 8 Jan 2014 10:01:29 +0000 (10:01 +0000)]
PR rtl-optimization/59649
* stor-layout.c (get_mode_bounds): For BImode return
0 and STORE_FLAG_VALUE.

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

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

PR middle-end/59630
* gimple.h (is_gimple_builtin_call): Remove.
(gimple_builtin_call_types_compatible_p): New.
(gimple_call_builtin_p): New overload.
* gimple.c (is_gimple_builtin_call): Remove.
(validate_call): Rename to ...
(gimple_builtin_call_types_compatible_p): ... this and export.  Also
check return types.
(validate_type): New static function.
(gimple_call_builtin_p): New overload and adjust.
* gimple-fold.c (gimple_fold_builtin): Fold the return value.
(gimple_fold_call): Likewise.  Use gimple_call_builtin_p.
(gimple_fold_stmt_to_constant_1): Likewise.
* tsan.c (instrument_gimple): Use gimple_call_builtin_p.

* gcc.dg/pr59630.c: New testcase.

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

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

PR middle-end/59471
* gimplify.c (gimplify_expr): Gimplify register-register type
VIEW_CONVERT_EXPRs to separate stmts.

* gcc.dg/pr59471.c: New testcase.

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

10 years ago PR middle-end/53623
law [Wed, 8 Jan 2014 06:03:12 +0000 (06:03 +0000)]
PR middle-end/53623
* ree.c (combine_set_extension): Handle case where source
and destination registers in an extension insn are different.
(combine_reaching_defs): Allow source and destination
registers in extension to be different under limited
circumstances.
(add_removable_extension): Remove restriction that the
source and destination registers in the extension are the
same.
(find_and_remove_re): Emit a copy from the extension's
destination to its source after the defining insn if
the source and destination registers are different.

PR middle-end/53623
* gcc.target/i386/pr53623.c: New test.

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

10 years ago PR middle-end/59285
law [Wed, 8 Jan 2014 05:56:31 +0000 (05:56 +0000)]
    PR middle-end/59285
        * ifcvt.c (merge_if_block): If we are merging a block with more than
        one successor with a block with no successors, remove any BARRIER
        after the second block.

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

10 years ago2014-01-07 Dan Xio Qiang <ziyan01@163.com>
law [Wed, 8 Jan 2014 05:51:49 +0000 (05:51 +0000)]
2014-01-07  Dan Xio Qiang <ziyan01@163.com>

        * hw-doloop.c (reorg_loops): Release the bitmap obstack.

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

10 years agoFix paths in previous testsuite ChangeLog.
abutcher [Wed, 8 Jan 2014 02:41:29 +0000 (02:41 +0000)]
Fix paths in previous testsuite ChangeLog.

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

10 years ago PR target/59652
danglin [Wed, 8 Jan 2014 01:58:35 +0000 (01:58 +0000)]
PR target/59652
* config/pa/pa.c (pa_legitimate_address_p): Return false before reload
for 14-bit register offsets when INT14_OK_STRICT is false.

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

10 years ago PR go/59430
ian [Wed, 8 Jan 2014 01:08:29 +0000 (01:08 +0000)]
PR go/59430
os/user: Use POSIX functions on Solaris.

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

10 years ago PR go/59433
ian [Wed, 8 Jan 2014 00:42:45 +0000 (00:42 +0000)]
PR go/59433
net: Don't use stack space for fd_sets when using select.

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

10 years agoDaily bump.
gccadmin [Wed, 8 Jan 2014 00:17:21 +0000 (00:17 +0000)]
Daily bump.

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

10 years ago PR c++/58856
jason [Tue, 7 Jan 2014 21:28:33 +0000 (21:28 +0000)]
PR c++/58856
* pt.c (num_innermost_template_parms): New.
(get_underlying_template): Use it.

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

10 years ago PR c++/58965
jason [Tue, 7 Jan 2014 21:24:37 +0000 (21:24 +0000)]
PR c++/58965
* mangle.c (write_guarded_var_name): Handle null DECL_NAME.

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

10 years agoUpdate gcc/testsuite/ChangeLog with r206403's cosmetic changes.
abutcher [Tue, 7 Jan 2014 20:44:03 +0000 (20:44 +0000)]
Update gcc/testsuite/ChangeLog with r206403's cosmetic changes.

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

10 years agoFix paths in my previous cp/ChangeLog entries (r206368-r206371) and fix layout in...
abutcher [Tue, 7 Jan 2014 20:36:16 +0000 (20:36 +0000)]
Fix paths in my previous cp/ChangeLog entries (r206368-r206371) and fix layout in cpp1y PR testcases as pointed out by Jakub.

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

10 years ago2014-01-07 Roland Stigge <stigge@antcom.de>
meissner [Tue, 7 Jan 2014 19:57:11 +0000 (19:57 +0000)]
2014-01-07  Roland Stigge  <stigge@antcom.de>
    Michael Meissner  <meissner@linux.vnet.ibm.com>

PR 57386/target
* config/rs6000/rs6000.c (rs6000_legitimate_offset_address_p):
Only check TFmode for SPE constants.  Don't check TImode or
TDmode.

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

10 years ago2014-01-07 Tim Shen <timshen91@gmail.com>
timshen [Tue, 7 Jan 2014 19:17:50 +0000 (19:17 +0000)]
2014-01-07  Tim Shen  <timshen91@gmail.com>

* include/bits/regex_compiler.h (_AnyMatcher<>::_AnyMatcher(),
_AnyMatcher<>::operator(), _AnyMatcher<>::_M_apply(),
_CharMatcher<>::_CharMatcher(), _CharMatcher<>::_M_translate(),
_BracketMatcher<>::_BracketMatcher(), _BracketMatcher<>::operator(),
_BracketMatcher<>::_M_add_char(),
_BracketMatcher<>::_M_add_collating_element(),
_BracketMatcher<>::_M_add_equivalence_class(),
_BracketMatcher<>::_M_add_character_class(),
_BracketMatcher<>::_M_make_range(), _BracketMatcher<>::_M_ready(),
_BracketMatcher<>::_M_apply(), _BracketMatcher<>::_M_make_cache()):
Fix _AnyMatcher behavior of POSIX style and move _M_flags
to template parameter; Add cache for _BracketMatcher. Adjust
declarations from here...
* include/bits/regex.h (basic_regex<>::imbue()): ...to here. Also,
imbuing a regex will trigger a recompilation to rebuild the cache.
* include/bits/regex_compiler.tcc (_Compiler<>::_M_atom(),
_Compiler<>::_M_bracket_expression()): Adjust matchers' caller for
different template bool parameters.
* include/bits/regex_executor.h: Remove unnecessary declarations.
* include/std/regex: Adjust including orders.
* testsuite/28_regex/traits/char/user_defined.cc: New.
* testsuite/28_regex/traits/wchar_t/user_defined.cc: New.

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

10 years ago[AArch64] big.LITTLE option rewriting bug
jgreenhalgh [Tue, 7 Jan 2014 17:21:13 +0000 (17:21 +0000)]
[AArch64] big.LITTLE option rewriting bug

gcc/

* config/aarch64/aarch64-elf.h (ASM_SPEC): Remove identity spec for
-mcpu.

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

10 years agogcc/
yufeng [Tue, 7 Jan 2014 16:18:04 +0000 (16:18 +0000)]
gcc/

* config/arm/arm.c (arm_expand_neon_args): Call expand_expr
with EXPAND_MEMORY for NEON_ARG_MEMORY; check if the returned
rtx is const0_rtx or not.

gcc/testsuite/

* gcc.target/arm/neon/vst1Q_laneu64-1.c: New test.

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

10 years agogcc/
rsandifo [Tue, 7 Jan 2014 15:26:41 +0000 (15:26 +0000)]
gcc/
PR target/58115
* target-globals.c (save_target_globals): Remove this_fn_optab
handling.
* toplev.c: Include optabs.h.
(target_reinit): Temporarily restore the global options if another
set of options are in force.

gcc/testsuite/
* gcc.target/i386/intrinsics_4.c (bar): New function.

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

10 years agoUpdate Solaris baselines
ro [Tue, 7 Jan 2014 12:46:53 +0000 (12:46 +0000)]
Update Solaris baselines

* config/abi/post/solaris2.9/baseline_symbols.txt: Regenerate.
* config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Likewise.
* config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
* config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
* config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.

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

10 years ago/cp
paolo [Tue, 7 Jan 2014 09:40:28 +0000 (09:40 +0000)]
/cp
2014-01-07  Paolo Carlini  <paolo.carlini@oracle.com>

* semantics.c (trait_expr_value, [CPTK_IS_BASE_OF]): Implement
the letter of 20.11.6 about Base and Derived naming the same
class type modulo cv-qualifiers.

/testsuite
2014-01-07  Paolo Carlini  <paolo.carlini@oracle.com>

* g++.dg/ext/is_base_of_incomplete-2.C: New.

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

10 years ago PR rtl-optimization/58668
jakub [Tue, 7 Jan 2014 07:54:47 +0000 (07:54 +0000)]
PR rtl-optimization/58668
* cfgcleanup.c (flow_find_cross_jump): Don't count
any jumps if dir_p is NULL.  Remove p1 variable, use active_insn_p
to determine what is counted.
(flow_find_head_matching_sequence): Use active_insn_p to determine
what is counted.
(try_head_merge_bb): Adjust for the flow_find_head_matching_sequence
counting change.
* ifcvt.c (count_bb_insns): Use active_insn_p && !JUMP_P to
determine what is counted.

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

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

10 years ago PR tree-optimization/59643
jakub [Tue, 7 Jan 2014 07:49:10 +0000 (07:49 +0000)]
PR tree-optimization/59643
* tree-predcom.c (split_data_refs_to_components): If one dr is
read and one write, determine_offset fails and the write isn't
in the bad component, just put the read into the bad component.

* gcc.dg/pr59643.c: New test.
* gcc.c-torture/execute/pr59643.c: New test.

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

10 years ago PR pch/59436
jakub [Tue, 7 Jan 2014 07:47:57 +0000 (07:47 +0000)]
PR pch/59436
* tree-core.h (struct tree_optimization_option): Change optabs
type from unsigned char * to void *.
* optabs.c (init_tree_optimization_optabs): Adjust
TREE_OPTIMIZATION_OPTABS initialization.

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

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

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

10 years ago2014-01-06 Janus Weil <janus@gcc.gnu.org>
janus [Mon, 6 Jan 2014 23:21:39 +0000 (23:21 +0000)]
2014-01-06  Janus Weil  <janus@gcc.gnu.org>

PR fortran/59589
* class.c (comp_is_finalizable): New function to dermine if a given
component is finalizable.
(finalize_component, generate_finalization_wrapper): Use it.

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

PR fortran/59589
* gfortran.dg/class_allocate_16.f90: New.

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

10 years ago PR target/59644
jakub [Mon, 6 Jan 2014 21:38:27 +0000 (21:38 +0000)]
PR target/59644
* config/i386/i386.h (struct machine_function): Add
no_drap_save_restore field.
* config/i386/i386.c (ix86_save_reg): Use
!cfun->machine->no_drap_save_restore instead of
crtl->stack_realign_needed.
(ix86_finalize_stack_realign_flags): Don't clear drap_reg unless
this function clears frame_pointer_needed.  Set
cfun->machine->no_drap_save_restore if clearing frame_pointer_needed
and DRAP reg is needed.

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

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

10 years agogo/build: Set GOARCH on arm64 systems.
ian [Mon, 6 Jan 2014 19:24:23 +0000 (19:24 +0000)]
go/build: Set GOARCH on arm64 systems.

I am reliably informed that the architecture name and letter for the
plan9/inferno compilers for 64-bit ARM systems will be "arm64" and "7"
respectively, so let's get that bit in nice and early.

From Michael Hudson-Doyle.
https://codereview.appspot.com/34830045/

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

10 years ago PR c/57773
mpolacek [Mon, 6 Jan 2014 18:53:01 +0000 (18:53 +0000)]
PR c/57773
* doc/implement-c.texi: Mention that other integer types are
permitted as bit-field types in strictly conforming mode.
c/
* c-decl.c (check_bitfield_type_and_width): Warn for implementation
defined bit-field types only in ISO C.
testsuite/
* gcc.dg/pr57773.c: New test.

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

10 years agoFix PR c++/59638
abutcher [Mon, 6 Jan 2014 18:22:48 +0000 (18:22 +0000)]
Fix PR c++/59638

PR c++/59638
* cp/parser.c (cp_parser_init_declarator): Undo fully implicit
template parameter list when declarator is not a function.

* g++.dg/cpp1y/pr59638.C: New testcase.

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

10 years agoFix PR c++/59629
abutcher [Mon, 6 Jan 2014 18:22:38 +0000 (18:22 +0000)]
Fix PR c++/59629

PR c++/59629
* cp/parser.c (cp_parser_lambda_expression): Save/reset/restore
auto_is_implicit_function_template_parm_p around lambda body.

* g++.dg/cpp1y/pr59629.C: New testcase.

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

10 years agoFix PR c++/59636
abutcher [Mon, 6 Jan 2014 18:22:29 +0000 (18:22 +0000)]
Fix PR c++/59636

PR c++/59636
* cp/parser.c (cp_parser_template_parameter): Early out with
error_mark_node if parameter declaration was not parsed.

* g++.dg/cpp1y/pr59636.C: New testcase.

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

10 years agoFix PR c++/59635
abutcher [Mon, 6 Jan 2014 18:22:19 +0000 (18:22 +0000)]
Fix PR c++/59635

PR c++/59635
* cp/lambda.c (maybe_add_lambda_conv_op): Handle marking conversion
function as unimplemented for generic lambdas with varargs.

* g++.dg/cpp1y/pr59635.C: New testcase.

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

10 years agolibiberty: fix --enable-install-libiberty flag [PR 56780]
vapier [Mon, 6 Jan 2014 18:15:31 +0000 (18:15 +0000)]
libiberty: fix --enable-install-libiberty flag [PR 56780]

Commit 199570 fixed the --disable-install-libiberty behavior, but it also
added a bug where the enable path never works because the initial clear
of target_header_dir wasn't deleted.  So we end up initializing properly
at the top only to reset it at the end all the time.

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

10 years ago2014-01-02 Felix Yang <fei.yang0953@gmail.com>
law [Mon, 6 Jan 2014 16:46:12 +0000 (16:46 +0000)]
2014-01-02  Felix Yang  <fei.yang0953@gmail.com>

* modulo-sched.c (schedule_reg_moves): Clear distance1_uses if it
is newly allocated.

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

10 years agoReverted r205593
edlinger [Mon, 6 Jan 2014 16:34:52 +0000 (16:34 +0000)]
Reverted r205593
2013-12-02  Bernd Edlinger  <bernd.edlinger@hotmail.de>

PR target/58115
* function.c (invoke_set_current_function_hook): Call
targetm.set_current_function after setting this_fn_optabs.

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

10 years ago * aarch64.c (aarch64_rtx_costs): Fix cost calculation for MADD.
rearnsha [Mon, 6 Jan 2014 15:58:44 +0000 (15:58 +0000)]
* aarch64.c (aarch64_rtx_costs): Fix cost calculation for MADD.

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

10 years agolibiberty/
gary [Mon, 6 Jan 2014 14:14:21 +0000 (14:14 +0000)]
libiberty/
2014-01-06  Gary Benson  <gbenson@redhat.com>

* cp-demangle.c (struct d_print_info): New fields
next_saved_scope, copy_templates, next_copy_template and
num_copy_templates.
(d_count_templates): New function.
(d_print_init): New parameter "dc".
Estimate numbers of templates and scopes required.
(d_print_free): Removed function.
(cplus_demangle_print_callback): Allocate stack for
templates and scopes.  Removed call to d_print_free.
(d_copy_templates): Removed function.
(d_save_scope): New function.
(d_get_saved_scope): Likewise.
(d_print_comp): Replace state saving/restoring code with
calls to d_save_scope and d_get_saved_scope.

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

10 years ago2014-01-06 Martin Jambor <mjambor@suse.cz>
jamborm [Mon, 6 Jan 2014 14:05:25 +0000 (14:05 +0000)]
2014-01-06  Martin Jambor  <mjambor@suse.cz>

PR ipa/59008
* ipa-cp.c (ipcp_discover_new_direct_edges): Changed param_index type
to int.
* ipa-prop.c (ipa_print_node_params): Fix indentation.

testsuite/
        * gcc.dg/ipa/pr59008.c: New test.

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

10 years agoClear hardware capabilities for gcc.dg/vect/vect-simd-clone-*.c
ro [Mon, 6 Jan 2014 13:56:53 +0000 (13:56 +0000)]
Clear hardware capabilities for gcc.dg/vect/vect-simd-clone-*.c

* gcc.dg/vect/vect.exp: Add clearcap_ldflags to DEFAULT_VECTCFLAGS
if supported.

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

10 years agoCorrectly require C99 support in avx512f tests
ro [Mon, 6 Jan 2014 13:45:29 +0000 (13:45 +0000)]
Correctly require C99 support in avx512f tests

* gcc.target/i386/avx512f-vcmppd-2.c: Add -std=c99.
Require c99_runtime.
* gcc.target/i386/avx512f-vcmpps-2.c: Likewise.

* gcc.target/i386/avx512f-vfixupimmpd-2.c: Add -std=gnu99.
Require c99_runtime.
* gcc.target/i386/avx512f-vfixupimmps-2.c: Likewise.
* gcc.target/i386/avx512f-vfixupimmsd-2.c: Likewise.
* gcc.target/i386/avx512f-vfixupimmss-2.c: Likewise.

* gcc.target/i386/avx512f-vgetmantpd-2.c: Add -std=c99.
Require c99_runtime.
Make CALC void static.
* gcc.target/i386/avx512f-vgetmantps-2.c: Likewise.

* gcc.target/i386/avx512f-vgetmantsd-2.c: Add -std=c99.
Require c99_runtime.
* gcc.target/i386/avx512f-vgetmantss-2.c: Likewise.

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

10 years agoRequire avx in gcc.target/i386/pr59501-*.c
ro [Mon, 6 Jan 2014 13:35:07 +0000 (13:35 +0000)]
Require avx in gcc.target/i386/pr59501-*.c

* gcc.target/i386/pr59501-1.c: Require avx effective target.
* gcc.target/i386/pr59501-2.c: Likewise.
* gcc.target/i386/pr59501-3.c: Likewise.
* gcc.target/i386/pr59501-4.c: Likewise.
* gcc.target/i386/pr59501-5.c: Likewise.
* gcc.target/i386/pr59501-6.c: Likewise.

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

10 years agoDeclare fma in gcc.target/i386/pr59390.c
ro [Mon, 6 Jan 2014 13:22:59 +0000 (13:22 +0000)]
Declare fma in gcc.target/i386/pr59390.c

* gcc.target/i386/pr59390.c: Replace math.h by fma declaration.
* gcc.target/i386/pr59390_1.c: Likewise.
* gcc.target/i386/pr59390_2.c: Likewise.

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

10 years ago PR debug/59350
ebotcazou [Mon, 6 Jan 2014 11:39:41 +0000 (11:39 +0000)]
PR debug/59350
PR debug/59510
* var-tracking.c (add_stores): Preserve the value of the source even if
we don't record the store.

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

10 years ago2014-01-06 Janus Weil <janus@gcc.gnu.org>
janus [Mon, 6 Jan 2014 11:31:34 +0000 (11:31 +0000)]
2014-01-06  Janus Weil  <janus@gcc.gnu.org>

PR fortran/59023
PR fortran/59662
* resolve.c (resolve_global_procedure): Don't apply to c-binding
procedures.
(gfc_verify_binding_labels): Remove duplicate line.

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

PR fortran/59023
* gfortran.dg/bind_c_procs_2.f90: New.

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

10 years ago2014-01-06 Terry Guo <terry.guo@arm.com>
xguo [Mon, 6 Jan 2014 08:16:30 +0000 (08:16 +0000)]
2014-01-06  Terry Guo  <terry.guo@arm.com>

* config.gcc (arm*-*-*): Check --with-arch against arm-arches.def.

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

10 years agoruntime: Remove unused runtime_cpuid variables.
ian [Mon, 6 Jan 2014 03:01:58 +0000 (03:01 +0000)]
runtime: Remove unused runtime_cpuid variables.

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

10 years agoDaily bump.
gccadmin [Mon, 6 Jan 2014 00:16:27 +0000 (00:16 +0000)]
Daily bump.

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

10 years agogcc:
iains [Sun, 5 Jan 2014 21:47:43 +0000 (21:47 +0000)]
gcc:

PR bootstrap/59541
* config/darwin.c (darwin_function_section): Adjust return values to
correspond to optimisation changes made in r206070.

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

10 years ago * gcc.dg/tree-ssa/reassoc-33.c: Don't run on hppa*-*-*.
danglin [Sun, 5 Jan 2014 18:25:53 +0000 (18:25 +0000)]
* gcc.dg/tree-ssa/reassoc-33.c: Don't run on hppa*-*-*.
* gcc.dg/tree-ssa/reassoc-34.c: Likewise.
* gcc.dg/tree-ssa/reassoc-35.c: Likewise.
* gcc.dg/tree-ssa/reassoc-36.c: Likewise.
* gcc.dg/tree-ssa/forwprop-28.c: Skip compile on hppa*-*-*.
* gcc.dg/tree-ssa/vrp47.c: Likewise.
* gcc.dg/tree-ssa/vrp87.c: Likewise.

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

10 years ago * config/i386/i386.c (ix86_data_alignment): Calculate max_align
uros [Sun, 5 Jan 2014 15:42:07 +0000 (15:42 +0000)]
* config/i386/i386.c (ix86_data_alignment): Calculate max_align
from prefetch_block tune setting.
(nocona_cost): Correct size of prefetch block to 64.

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

10 years agoDaily bump.
gccadmin [Sun, 5 Jan 2014 00:16:49 +0000 (00:16 +0000)]
Daily bump.

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

10 years ago * config/arm/arm.c (arm_get_frame_offsets): Revamp long lines.
ebotcazou [Sat, 4 Jan 2014 21:51:51 +0000 (21:51 +0000)]
* config/arm/arm.c (arm_get_frame_offsets): Revamp long lines.
(arm_expand_epilogue_apcs_frame): Take into account the number of bytes
used to save the static chain register in the computation of the offset
from which the FP registers need to be restored.

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

10 years ago PR tree-optimization/59519
jakub [Sat, 4 Jan 2014 11:23:16 +0000 (11:23 +0000)]
PR tree-optimization/59519
* tree-vect-loop-manip.c (slpeel_update_phi_nodes_for_guard1): Don't
ICE if get_current_def (current_new_name) is already non-NULL, as long
as it is a phi result of some other phi in *new_exit_bb that has
the same argument.

* gcc.dg/vect/pr59519-1.c: New test.
* gcc.dg/vect/pr59519-2.c: New test.

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

10 years ago * config/i386/sse.md (avx512f_load<mode>_mask): Emit vmovup{s,d}
jakub [Sat, 4 Jan 2014 09:57:36 +0000 (09:57 +0000)]
* config/i386/sse.md (avx512f_load<mode>_mask): Emit vmovup{s,d}
or vmovdqu* for misaligned_operand.
(<sse>_loadu<ssemodesuffix><avxsizesuffix><mask_name>,
<sse2_avx_avx512f>_loaddqu<mode><mask_name>): Handle <mask_applied>.
* config/i386/i386.c (ix86_expand_special_args_builtin): Set
aligned_mem for AVX512F masked aligned load and store builtins and for
non-temporal moves.

* gcc.target/i386/avx512f-vmovdqu32-1.c: Allow vmovdqu64 instead of
vmovdqu32.

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

10 years ago2014-01-04 Janus Weil <janus@gcc.gnu.org>
janus [Sat, 4 Jan 2014 09:25:04 +0000 (09:25 +0000)]
2014-01-04  Janus Weil  <janus@gcc.gnu.org>

PR fortran/59547
* class.c (add_proc_comp): Copy pure attribute.

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

PR fortran/59547
* gfortran.dg/typebound_proc_32.f90: New.

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

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

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

10 years ago2014-01-03 Marc Glisse <marc.glisse@inria.fr>
glisse [Fri, 3 Jan 2014 21:12:48 +0000 (21:12 +0000)]
2014-01-03  Marc Glisse  <marc.glisse@inria.fr>

PR c++/58950
gcc/cp/
* cvt.c (convert_to_void): Handle VEC_PERM_EXPR and VEC_COND_EXPR.
gcc/testsuite/
* g++.dg/pr58950.C: New file.

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

10 years ago2014-01-03 Tobias Burnus <burnus@net-b.de>
burnus [Fri, 3 Jan 2014 20:24:50 +0000 (20:24 +0000)]
2014-01-03  Tobias Burnus  <burnus@net-b.de>

        PR c++/58567
        * pt.c (tsubst_omp_for_iterator): Early return for
        * error_mark_node.

2014-01-03  Tobias Burnus  <burnus@net-b.de>

        PR c++/58567
        * g++.dg/gomp/pr58567.C: New.

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

10 years ago2014-01-03 Bingfeng Mei <bmei@broadcom.com>
meibf [Fri, 3 Jan 2014 15:40:57 +0000 (15:40 +0000)]
2014-01-03  Bingfeng Mei <bmei@broadcom.com>

PR tree-optimization/59651
* tree-vect-loop-manip.c (vect_create_cond_for_alias_checks):
Address range for negative step should be added by TYPE_SIZE_UNIT.

PR tree-optimization/59651
* gcc.dg/torture/pr59651.c: New test.
* gcc.dg/vect/pr59651.c: Ditto.

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

10 years ago* config/m68k/m68k.c (handle_move_double): Handle pushes with
schwab [Fri, 3 Jan 2014 13:57:45 +0000 (13:57 +0000)]
* config/m68k/m68k.c (handle_move_double): Handle pushes with
overlapping registers also for registers other than the stack
pointer.

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

10 years ago PR other/59661
mpolacek [Fri, 3 Jan 2014 12:28:31 +0000 (12:28 +0000)]
PR other/59661
* doc/extend.texi: Fix the return value of __builtin_FUNCTION and
__builtin_FILE.

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

10 years ago PR target/59625
jakub [Fri, 3 Jan 2014 12:22:17 +0000 (12:22 +0000)]
PR target/59625
* config/i386/i386.c (ix86_avoid_jump_mispredicts): Don't consider
asm goto as jump.

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

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

10 years ago/cp
paolo [Fri, 3 Jan 2014 11:11:31 +0000 (11:11 +0000)]
/cp
2014-01-03  Paolo Carlini  <paolo.carlini@oracle.com>

Core DR 1442
PR c++/59165
* parser.c (cp_parser_perform_range_for_lookup): Don't pass true
as include_std to perform_koenig_lookup.
(cp_parser_postfix_expression): Adjust.
* pt.c (tsubst_copy_and_build): Likewise.
* semantics.c (perform_koenig_lookup): Remove bool parameter.
(omp_reduction_lookup): Adjust.
* name-lookup.c (lookup_arg_dependent_1): Remove bool parameter.
(lookup_arg_dependent): Likewise.
(lookup_function_nonclass): Adjust.
* name-lookup.h: Adjust declaration.
* cp-tree.h: Likewise.

/testsuite
2014-01-03  Paolo Carlini  <paolo.carlini@oracle.com>

Core DR 1442
PR c++/59165
* g++.dg/cpp0x/range-for28.C: New.
* g++.dg/cpp0x/range-for3.C: Update.

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

10 years ago * config/i386/i386.md (MODE_SIZE): New mode attribute.
jakub [Fri, 3 Jan 2014 10:51:42 +0000 (10:51 +0000)]
* config/i386/i386.md (MODE_SIZE): New mode attribute.
(push splitter): Use <P:MODE_SIZE> instead of
GET_MODE_SIZE (<P:MODE>mode).
(lea splitter): Use <MODE_SIZE> instead of GET_MODE_SIZE (<MODE>mode).
(mov -1, reg peephole2): Likewise.
* config/i386/sse.md (*mov<mode>_internal,
<sse>_storeu<ssemodesuffix><avxsizesuffix>,
<sse2_avx_avx512f>_storedqu<mode>, <sse>_andnot<mode>3,
*<code><mode>3, *andnot<mode>3<mask_name>,
<mask_codefor><code><mode>3<mask_name>): Likewise.
* config/i386/subst.md (mask_mode512bit_condition,
sd_mask_mode512bit_condition): Likewise.

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

10 years ago * gnatvsn.ads (Current_Year): Bump to 2014.
ebotcazou [Fri, 3 Jan 2014 08:42:16 +0000 (08:42 +0000)]
* gnatvsn.ads (Current_Year): Bump to 2014.

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

10 years agolibgcc:
jsm28 [Fri, 3 Jan 2014 02:05:44 +0000 (02:05 +0000)]
libgcc:
* config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
case of small numerator and finite nonzero result.

gcc/testsuite:
* gcc.target/powerpc/rs6000-ldouble-3.c: New test.

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

10 years agoFix PR/59303 -- uninit analysis enhancement
davidxl [Fri, 3 Jan 2014 00:40:57 +0000 (00:40 +0000)]
Fix PR/59303 -- uninit analysis enhancement

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

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

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

10 years agoRotate cp/ChangeLog
jakub [Thu, 2 Jan 2014 22:52:20 +0000 (22:52 +0000)]
Rotate cp/ChangeLog

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

10 years ago2014-01-02 Marc Glisse <marc.glisse@inria.fr>
glisse [Thu, 2 Jan 2014 22:45:56 +0000 (22:45 +0000)]
2014-01-02  Marc Glisse  <marc.glisse@inria.fr>

PR c++/59087
gcc/cp/
* parser.c (cp_parser_userdef_numeric_literal): Mention
-fext-numeric-literals in the message.

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

10 years ago2014-01-02 Marc Glisse <marc.glisse@inria.fr>
glisse [Thu, 2 Jan 2014 22:43:24 +0000 (22:43 +0000)]
2014-01-02  Marc Glisse  <marc.glisse@inria.fr>

PR c++/59641
gcc/cp/
* call.c (build_conditional_expr_1): Check the return value of
force_rvalue.
gcc/testsuite/
* g++.dg/cpp0x/pr59641.C: New file.

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

10 years ago2014-01-02 Marc Glisse <marc.glisse@inria.fr>
glisse [Thu, 2 Jan 2014 22:30:43 +0000 (22:30 +0000)]
2014-01-02  Marc Glisse  <marc.glisse@inria.fr>

gcc/cp/
* call.c (convert_like_real): Check complain.
gcc/testsuite/
* g++.dg/cpp0x/initlist-explicit-sfinae.C: New file.

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

10 years agoUpdate copyright years in libstdc++-v3/
rsandifo [Thu, 2 Jan 2014 22:30:10 +0000 (22:30 +0000)]
Update copyright years in libstdc++-v3/

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

10 years ago2014-01-02 Marc Glisse <marc.glisse@inria.fr>
glisse [Thu, 2 Jan 2014 22:26:24 +0000 (22:26 +0000)]
2014-01-02  Marc Glisse  <marc.glisse@inria.fr>

PR c++/59378
gcc/cp/
* typeck.c (build_x_vec_perm_expr): Handle non-dependent arguments
in templates.
gcc/testsuite/
* g++.dg/ext/pr59378.C: New file.

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

10 years agoUpdate copyright years in libobjc/
rsandifo [Thu, 2 Jan 2014 22:26:09 +0000 (22:26 +0000)]
Update copyright years in libobjc/

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

10 years agoUpdate copyright years in libitm/
rsandifo [Thu, 2 Jan 2014 22:26:00 +0000 (22:26 +0000)]
Update copyright years in libitm/

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

10 years agoUpdate copyright years in libgomp/
rsandifo [Thu, 2 Jan 2014 22:25:54 +0000 (22:25 +0000)]
Update copyright years in libgomp/

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

10 years agoUpdate copyright years in libgfortran/
rsandifo [Thu, 2 Jan 2014 22:25:45 +0000 (22:25 +0000)]
Update copyright years in libgfortran/

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