OSDN Git Service
ian [Tue, 21 Aug 2012 20:51:32 +0000 (20:51 +0000)]
* config/i386/morestack.S (__morestack_non_split): Increase amount
of space allocated for non-split code stack.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190573
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Tue, 21 Aug 2012 13:34:19 +0000 (13:34 +0000)]
2012-08-21 Richard Guenther <rguenther@suse.de>
Backport from mainline
2012-08-16 Richard Guenther <rguenther@suse.de>
PR middle-end/54146
* tree-ssa-loop-niter.c (find_loop_niter_by_eval): Free the
exit vector.
* ipa-pure-const.c (analyze_function): Use FOR_EACH_LOOP_BREAK.
* cfgloop.h (FOR_EACH_LOOP_BREAK): Fix.
* tree-ssa-structalias.c (handle_lhs_call): Properly free rhsc.
* tree-ssa-loop-im.c (analyze_memory_references): Adjust.
(tree_ssa_lim_finalize): Free all mem_refs.
* tree-ssa-sccvn.c (extract_and_process_scc_for_name): Free
scc when bailing out.
* modulo-sched.c (sms_schedule): Use FOR_EACH_LOOP_BREAK.
* ira-build.c (loop_with_complex_edge_p): Free loop exit vector.
* graphite-sese-to-poly.c (scop_ivs_can_be_represented): Use
FOR_EACH_LOOP_BREAK.
2012-08-17 Richard Guenther <rguenther@suse.de>
* tree-sra.c (modify_function): Free redirect_callers vector.
* ipa-split.c (split_function): Free args_to_pass vector.
* tree-vect-stmts.c (vectorizable_operation): Do not pre-allocate
vec_oprnds.
(new_stmt_vec_info): Do not pre-allocate STMT_VINFO_SAME_ALIGN_REFS.
* tree-vect-slp.c (vect_free_slp_instance): Free the instance.
(vect_analyze_slp_instance): Free everything.
(destroy_bb_vec_info): Free the SLP instances.
2012-08-17 Richard Guenther <rguenther@suse.de>
* params.def (integer-share-limit): Decrease from 256 to 251,
add rationale.
2012-08-21 Richard Guenther <rguenther@suse.de>
* tree-ssa-loop-im.c (tree_ssa_lim_finalize): Properly free
the affine expansion cache.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190562
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Tue, 21 Aug 2012 05:29:43 +0000 (05:29 +0000)]
mksysinfo: Fix syscall.F_GETLK and friends for 32-bit x86.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190555
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 21 Aug 2012 00:17:44 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190551
138bc75d-0d04-0410-961f-
82ee72b054a4
pmarlier [Mon, 20 Aug 2012 16:25:21 +0000 (16:25 +0000)]
gcc/
2012-08-20 Patrick Marlier <patrick.marlier@gmail.com>
Backported from trunk
2012-08-20 Patrick Marlier <patrick.marlier@gmail.com>
PR middle-end/53992
* omp-low.c (lower_omp_1): Handle GIMPLE_TRANSACTION.
testsuite/
2012-08-20 Patrick Marlier <patrick.marlier@gmail.com>
Backported from trunk
2012-08-20 Patrick Marlier <patrick.marlier@gmail.com>
PR middle-end/53992
* gcc.dg/gomp/pr53992.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190537
138bc75d-0d04-0410-961f-
82ee72b054a4
ramana [Mon, 20 Aug 2012 10:18:36 +0000 (10:18 +0000)]
Fix PR target/54212
2012-08-20 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org>
Backport from mainline.
2012-08-15 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org>
PR target/54212
* config/arm/neon.md (vec_set<mode>_internal VD,VQ): Do not
mark as predicable. Adjust asm template.
(vec_setv2di_internal): Likewise.
(vec_extract<mode> VD, VQ): Likewise.
(vec_extractv2di): Likewise.
(neon_vget_lane<mode>_sext_internal VD, VQ): Likewise.
(neon_vset_lane<mode>_sext_internal VD, VQ): Likewise.
(neon_vdup_n<mode> VX, V32): Likewise.
(neon_vdup_nv2di): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190527
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 20 Aug 2012 00:17:23 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190520
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 19 Aug 2012 00:17:32 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190507
138bc75d-0d04-0410-961f-
82ee72b054a4
walt [Sat, 18 Aug 2012 03:28:23 +0000 (03:28 +0000)]
Define stubs for feedback instrumentation.
Backport from mainline
2012-08-17 Walter Lee <walt@tilera.com>
* config/tilegx/feedback.h (FEEDBACK_ENTER_EXPLICIT): Define.
(FEEDBACK_ENTER): Define.
(FEEDBACK_REENTER): Define.
(FEEDBACK_ENTRY): Define.
* config/tilepro/feedback.h: (FEEDBACK_ENTER_EXPLICIT): Define.
(FEEDBACK_ENTER): Define.
(FEEDBACK_REENTER): Define.
(FEEDBACK_ENTRY): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190500
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 18 Aug 2012 00:17:49 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190497
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Fri, 17 Aug 2012 02:33:24 +0000 (02:33 +0000)]
* config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
rs6000/t-slibgcc-aix.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190466
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 17 Aug 2012 00:17:45 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190461
138bc75d-0d04-0410-961f-
82ee72b054a4
walt [Thu, 16 Aug 2012 20:08:44 +0000 (20:08 +0000)]
Add a stub header file "feedback.h," needed to compile glibc and
linux.
Backport from mainline
2012-08-16 Walter Lee <walt@tilera.com>
* config.gcc (tilegx-*-linux*): Add feedback.h.
(tilepro-*-linux*): Likewise.
* config/tilegx/feedback.h: New file.
* config/tilepro/feedback.h: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190453
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 16 Aug 2012 00:17:56 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190425
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 15 Aug 2012 00:17:48 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190400
138bc75d-0d04-0410-961f-
82ee72b054a4
kyukhin [Tue, 14 Aug 2012 13:59:04 +0000 (13:59 +0000)]
Backport from mainline r189840 and r187586:
2012-07-25 Sergey Melnikov <sergey.melnikov@intel.com>
* config/i386/i386.md (stack_protect_set): Disable the pattern
for Android since Android libc (bionic) does not provide random
value for stack protection guard at gs:0x14. Guard value
will be provided from external symbol (default implementation).
(stack_protect_set_<mode>): Likewise.
(stack_protect_test): Likewise.
(stack_protect_test_<mode>): Likewise.
* gcc/defaults.h: Define macro TARGET_HAS_BIONIC to 0 - target does
not have Bionic by default
* config/linux.h: Redefine macro TARGET_HAS_BIONIC to (OPTION_BIONIC)
Macro OPTION_BIONIC is defined in this file and provides Bionic
accessibility status
2012-05-16 Igor Zamyatin <igor.zamyatin@intel.com>
* configure.ac: Stack protector enabling for Android targets.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190383
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 14 Aug 2012 00:17:21 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190371
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Mon, 13 Aug 2012 19:57:31 +0000 (19:57 +0000)]
2012-08-13 David Adler <d.adler.s@gmail.com>
PR libstdc++/54185
* src/c++11/condition_variable.cc (condition_variable): Always
destroy native type in destructor.
* testsuite/30_threads/condition_variable/54185.cc: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190357
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Mon, 13 Aug 2012 07:35:03 +0000 (07:35 +0000)]
Backported from trunk
2012-07-19 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/53942
* function.c (assign_parm_setup_reg): Avoid zero/sign extension
directly from likely spilled non-fixed hard registers, move them
to pseudo first.
* gcc.dg/pr53942.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190338
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 13 Aug 2012 00:17:09 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190334
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 12 Aug 2012 00:17:11 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190323
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Sat, 11 Aug 2012 13:08:16 +0000 (13:08 +0000)]
* config/i386/sse.md (xop_phaddbq): Fix vec_select selectors.
(xop_phaddubq): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190315
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Sat, 11 Aug 2012 04:09:31 +0000 (04:09 +0000)]
compiler: Reject type switch using non-interface type.
Fixes issue 16.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190311
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 11 Aug 2012 00:17:43 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190307
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Fri, 10 Aug 2012 13:21:31 +0000 (13:21 +0000)]
ChangeLog:
Backport from mainline
2012-07-30 Ulrich Weigand <ulrich.weigand@linaro.org>
Richard Earnshaw <rearnsha@arm.com>
* target.def (vector_alignment): New target hook.
* doc/tm.texi.in (TARGET_VECTOR_ALIGNMENT): Document new hook.
* doc/tm.texi: Regenerate.
* targhooks.c (default_vector_alignment): New function.
* targhooks.h (default_vector_alignment): Add prototype.
* stor-layout.c (layout_type): Use targetm.vector_alignment.
* config/arm/arm.c (arm_vector_alignment): New function.
(TARGET_VECTOR_ALIGNMENT): Define.
* tree-vect-data-refs.c (vect_update_misalignment_for_peel): Use
vector type alignment instead of size.
* tree-vect-loop-manip.c (vect_do_peeling_for_loop_bound): Use
element type size directly instead of computing it from alignment.
Fix variable naming and comment.
testsuite/ChangeLog:
Backport from mainline
2012-07-30 Ulrich Weigand <ulrich.weigand@linaro.org>
* lib/target-supports.exp
(check_effective_target_vect_natural_alignment): New function.
* gcc.dg/align-2.c: Only run on targets with natural alignment
of vector types.
* gcc.dg/vect/slp-25.c: Adjust tests for targets without natural
alignment of vector types.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190295
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 10 Aug 2012 00:17:28 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190276
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Thu, 9 Aug 2012 18:44:40 +0000 (18:44 +0000)]
* config/alpha/alpha.c (alpha_pad_noreturn): Rename to ...
(alpha_pad_function_end): ... this. Also insert NOP between
sibling call and GP load.
(alpha_reorg): Update call to alpha_pad_function_end. Expand comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190262
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Thu, 9 Aug 2012 15:33:28 +0000 (15:33 +0000)]
Don't return identity for CONST or symbolic reference
gcc/
2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
Backport from mainline
2012-08-08 Richard Sandiford <rdsandiford@googlemail.com>
H.J. Lu <hongjiu.lu@intel.com>
PR rtl-optimization/54157
* combine.c (gen_lowpart_for_combine): Don't return identity
for CONST or symbolic reference.
gcc/testsuite/
2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
Backport from mainline
2012-08-08 H.J. Lu <hongjiu.lu@intel.com>
PR rtl-optimization/54157
* gcc.target/i386/pr54157.c: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190256
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 9 Aug 2012 00:17:42 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190245
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 8 Aug 2012 00:17:23 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190218
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 7 Aug 2012 00:17:15 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190193
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Mon, 6 Aug 2012 18:00:00 +0000 (18:00 +0000)]
2012-08-06 Peter Bergner <bergner@vnet.ibm.com>
PR libstdc++/54036
* include/decimal/decimal.h (_DEFINE_DECIMAL_UNARY_OP): Use _Op as
a unary operator.
* testsuite/decimal/pr54036-1.cc: New test.
* testsuite/decimal/pr54036-2.cc: Likewise.
* testsuite/decimal/pr54036-3.cc: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190185
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Mon, 6 Aug 2012 16:28:42 +0000 (16:28 +0000)]
Backport from mainline
2012-07-23 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386-protos.h (ix86_lea_outperforms): Remove prototype.
* config/i386/i386.c (ix86_lea_outperforms): Make static. Make
split_cost argument signed.
(ix86_use_lea_for_mov): Use INVALID_REGNUM instead of -1.
(ix86_avoid_lea_for_addr): Ditto.
2012-07-27 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.c (ix86_avoid_lea_for_addr): Return false if
the address has less than two components.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190183
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Mon, 6 Aug 2012 14:34:27 +0000 (14:34 +0000)]
Revert delta 190174
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190178
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Mon, 6 Aug 2012 09:24:36 +0000 (09:24 +0000)]
Latest updates from FSF 4.7 branch
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190174
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 6 Aug 2012 00:17:18 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190153
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 5 Aug 2012 00:17:56 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190148
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 4 Aug 2012 00:17:53 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190138
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 3 Aug 2012 00:17:13 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190107
138bc75d-0d04-0410-961f-
82ee72b054a4
sje [Thu, 2 Aug 2012 18:24:09 +0000 (18:24 +0000)]
2012-08-02 Steve Ellcey <sellcey@mips.com>
Backport from Mainline
2012-07-19 Steve Ellcey <sellcey@mips.com>
* config/mips/mips.c (mips_set_mips16_mode): Clear SYNCI_MASK in
MIPS16 mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190091
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Thu, 2 Aug 2012 16:24:25 +0000 (16:24 +0000)]
Backport from mainline
2012-07-24 Uros Bizjak <ubizjak@gmail.com>
PR target/53961
* config/i386/i386.c (ix86_legitimate_address_p): Move check for
negative constant address for TARGET_X32 ...
(ix86_decompose_address): ... here. Reject constant addresses
that don't satisfy x86_64_immediate_operand predicate.
2012-07-23 Uros Bizjak <ubizjak@gmail.com>
PR target/53961
* config/i386/i386.md (*lea): Add asserts to detect invalid addresses.
* config/i386/i386.c (ix86_print_operand_address): Ditto.
(ix86_decompose_address): Allow (zero_extend:DI (subreg:SI (...)))
addresses. Prevent zero extensions of CONST_INT operands.
2012-07-22 Uros Bizjak <ubizjak@gmail.com>
PR target/53961
* config/i386/i386.md (*lea): New insn pattern.
(*lea_1): Remove.
(*lea<mode>_2): Ditto.
(*lea_{3,4,5,6}_zext): Ditto.
* config/i386/predicates.md (lea_address_operand): Do not reject
zero-extended address operands.
* config/i386/constraints.md (j): Remove address constraint.
* config/i386/i386.c (ix86_decompose_address): Allow SImode subreg
of an address.
(ix86_print_operand_address): Handle SImode subreg of an address.
(ix86_avoid_lea_for_addr): Reject zero-extended addresses for now.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190089
138bc75d-0d04-0410-961f-
82ee72b054a4
michaelh [Thu, 2 Aug 2012 04:14:13 +0000 (04:14 +0000)]
2012-08-02 Michael Hope <michael.hope@linaro.org>
Backport from mainline r186389:
2012-04-12 Andreas Schwab <schwab@linux-m68k.org>
* testsuite/Makefile.am (check_DEJAGNUnormal0): Run
prettyprinters.exp.
* testsuite/Makefile.in: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190064
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 2 Aug 2012 00:17:03 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190059
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Wed, 1 Aug 2012 19:14:59 +0000 (19:14 +0000)]
Backport from mainline
2012-03-09 Uros Bizjak <ubizjak@gmail.com>
PR target/52530
* config/i386/i386.c (ix86_print_operand): Handle 'E' operand modifier.
(ix86_print_operand_address): Handle UNSPEC_LEA_ADDR. Do not fallback
to set code to 'q'.
* config/i386/i386.md (UNSPEC_LEA_ADDR): New unspec.
(*movdi_internal_rex64): Use %E operand modifier for lea.
(*movsi_internal): Ditto.
(*lea_1): Ditto.
(*lea<mode>_2): Ditto.
(*lea_{3,4,5,6}_zext): Ditto.
(*tls_global_dynamic_32_gnu): Ditto.
(*tls_global_dynamic_64): Ditto.
(*tls_dynamic_gnu2_lea_32): Ditto.
(*tls_dynamic_gnu2_lea_64): Ditto.
(pro_epilogue_adjust_stack_<mode>_add): Ditto.
testsuite/ChangeLog:
Backport from mainline
2012-03-11 Uros Bizjak <ubizjak@gmail.com>
PR target/52530
* gcc.dg/torture/pr52530.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190048
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Wed, 1 Aug 2012 17:03:34 +0000 (17:03 +0000)]
Backport from mainline
2012-08-01 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.c (ix86_address_subreg_operand): Reject
stack pointer.
(ix86_print_operand_address): Assert that parts.base and parts.index
are non-NULL after call to simplify_subreg.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190045
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 1 Aug 2012 00:17:41 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@190027
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 31 Jul 2012 00:17:48 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189992
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 30 Jul 2012 00:17:06 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189949
138bc75d-0d04-0410-961f-
82ee72b054a4
fdumont [Sun, 29 Jul 2012 17:06:21 +0000 (17:06 +0000)]
2012-07-29 François Dumont <fdumont@gcc.gnu.org>
PR libstdc++/54075
* include/bits/hashtable_policy.h
(_Prime_rehash_policy::_M_next_bkt): Add a growth factor set to 2
to boost growth in the number of buckets.
* testsuite/performance/23_containers/insert/unordered_set.cc: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189941
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 29 Jul 2012 00:17:43 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189928
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 28 Jul 2012 00:18:14 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189923
138bc75d-0d04-0410-961f-
82ee72b054a4
kyukhin [Fri, 27 Jul 2012 09:56:24 +0000 (09:56 +0000)]
* gcc.dg/
20020201-1.c: Remove declarations for exit, abort,
rand, srand. Include <stdlib.h>.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189906
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 27 Jul 2012 00:18:04 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189903
138bc75d-0d04-0410-961f-
82ee72b054a4
fdumont [Thu, 26 Jul 2012 12:31:50 +0000 (12:31 +0000)]
2012-07-26 François Dumont <fdumont@gcc.gnu.org>
PR libstdc++/54075
* include/bits/hashtable.h
(_Hashtable<>::_Hashtable(_InputIterator, _InputIterator,
size_type, ...): Remove std::max usage to guarantee that hashtable
state is consistent with hash policy state.
(_Hashtable<>::rehash): Likewise. Set _M_prev_resize to 0 to avoid
the hashtable shrinking on next insertion.
* testsuite/23_containers/unordered_set/modifiers/reserve.cc: New.
* testsuite/23_containers/unordered_multiset/modifiers/reserve.cc: New.
* testsuite/23_containers/unordered_map/modifiers/reserve.cc: New.
* testsuite/23_containers/unordered_multimap/modifiers/reserve.cc: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189889
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Thu, 26 Jul 2012 01:57:22 +0000 (01:57 +0000)]
runtime, runtime/pprof: Fix runtime/pprof test to pass, enable it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189879
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 26 Jul 2012 00:17:54 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189875
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 25 Jul 2012 00:17:19 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189831
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 24 Jul 2012 00:17:11 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189799
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Mon, 23 Jul 2012 03:57:53 +0000 (03:57 +0000)]
runtime: correct a logic error in hashmap growth.
The bug prevented maps to grow properly to sizes
larger than 1.3 million.
From Rémy Oudompheng.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189767
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 23 Jul 2012 00:17:12 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189764
138bc75d-0d04-0410-961f-
82ee72b054a4
olegendo [Sun, 22 Jul 2012 23:44:45 +0000 (23:44 +0000)]
PR target/33135
* config/sh/sh.opt (mieee): Use Var instead of Mask. Correct
description.
* config/sh/sh.c (sh_option_override): Do not change
flag_finite_math_only. Set TARGET_IEEE to complement of
flag_finite_math_only.
* doc/invoke.texi (SH options): Add mno-ieee. Correct
description of mieee and mno-ieee behavior.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189761
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 22 Jul 2012 00:18:12 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189750
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 21 Jul 2012 00:17:15 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189736
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 20 Jul 2012 16:11:58 +0000 (16:11 +0000)]
PR c++/54038
* tree.c (build_cplus_array_type): Use build_cplus_array_type to build
canonical array type rather than mess with its TYPE_*_VARIANT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189720
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Fri, 20 Jul 2012 09:44:33 +0000 (09:44 +0000)]
2012-07-20 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/30_threads/thread/adl.cc: Add missing dg-requires.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189710
138bc75d-0d04-0410-961f-
82ee72b054a4
kyukhin [Fri, 20 Jul 2012 08:57:04 +0000 (08:57 +0000)]
2012-07-20 Kirill Yukhin <kirill.yukhin@intel.com>
PR target/53877
* config/i386/lzcntintrin.h (_lzcnt_u32): New.
(_lzcnt_u64): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189706
138bc75d-0d04-0410-961f-
82ee72b054a4
abel [Fri, 20 Jul 2012 08:49:52 +0000 (08:49 +0000)]
Backport from mainline
2012-03-06 Andrey Belevantsev <abel@ispras.ru>
PR rtl-optimization/52250
* sel-sched-ir.c (maybe_tidy_empty_bb): Try harder to find a bb
to put note list into. Unconditionally call move_bb_info.
(move_bb_info): Do not assert the blocks being in the same region,
just drop the note list if they are not.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189705
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 20 Jul 2012 06:29:33 +0000 (06:29 +0000)]
PR c++/54026
* typeck.c (cp_apply_type_quals_to_decl): Check COMPLETE_TYPE_P.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189702
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 20 Jul 2012 00:16:39 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189694
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Thu, 19 Jul 2012 21:56:33 +0000 (21:56 +0000)]
* config/sparc/sparc.md (adddi3_insn_sp32): Add earlyclobber.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189690
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Thu, 19 Jul 2012 21:40:23 +0000 (21:40 +0000)]
* tree-ssa-forwprop.c (combine_conversions): Punt if the RHS of the
defining statement is a SSA name that occurs in abnormal PHIs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189688
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Thu, 19 Jul 2012 21:26:17 +0000 (21:26 +0000)]
* gimple-fold.c (canonicalize_constructor_val): Strip only useless type
conversions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189686
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Thu, 19 Jul 2012 21:16:42 +0000 (21:16 +0000)]
* gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Try to ensure
that an object of CW type initialized to a value is sufficiently
aligned for this value.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189683
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Thu, 19 Jul 2012 20:25:07 +0000 (20:25 +0000)]
* tree-ssa-ccp.c (valid_lattice_transition): Clarify comment
about transition from invariant to known bits.
(likely_value): Addresses with UNDEFINED components are UNDEFINED.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189679
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Thu, 19 Jul 2012 15:46:06 +0000 (15:46 +0000)]
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: Do not
look up the REP part of the base type in advance. Deal with that of
the variant types.
(get_rep_part): Be prepared for record types with fields.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189667
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Thu, 19 Jul 2012 14:05:54 +0000 (14:05 +0000)]
PR middle-end/54017
* tree-cfgcleanup.c (cleanup_omp_return): Remove.
(cleanup_tree_cfg_bb): Don't call it.
* omp-low.c (expand_omp_sections): Fix up the !exit_reachable case
handling.
* c-c++-common/gomp/pr54017.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189659
138bc75d-0d04-0410-961f-
82ee72b054a4
chrbr [Thu, 19 Jul 2012 13:46:46 +0000 (13:46 +0000)]
PR target/54029
* config/sh/sh.c (gen_far_branch): Set JUMP_LABEL for return jumps.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189657
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 19 Jul 2012 01:37:07 +0000 (01:37 +0000)]
* method.c (process_subob_fn): Make sure no_implicit_p is non-null
before trying to store through it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189641
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 19 Jul 2012 00:17:09 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189636
138bc75d-0d04-0410-961f-
82ee72b054a4
corsepiu [Wed, 18 Jul 2012 15:34:46 +0000 (15:34 +0000)]
2012-07-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* config.gcc (v850-*-rtems*): New target.
* config/v850/rtems.h: New.
* config/v850/t-rtems: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189619
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Wed, 18 Jul 2012 12:45:39 +0000 (12:45 +0000)]
* doc/invoke.texi (ARM Options): Document -munaligned-access.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189613
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Wed, 18 Jul 2012 08:35:41 +0000 (08:35 +0000)]
2012-07-18 Richard Guenther <rguenther@suse.de>
Backport from mainline
2012-05-03 Richard Guenther <rguenther@suse.de>
* gfortran.dg/pr52621.f90: Add -w to avoid diagnostic about
unsupported prefetching support.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189606
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 18 Jul 2012 02:48:17 +0000 (02:48 +0000)]
PR c++/53995
* decl.c (finish_enum_value_list): Only call
insert_late_enum_def_into_classtype_sorted_fields in class scope.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189599
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 18 Jul 2012 00:16:55 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189593
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 17 Jul 2012 21:34:22 +0000 (21:34 +0000)]
PR c++/53989
* tree.c (build_cplus_array_type): Also add TYPE_CANONICAL
to the list of variants.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189588
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 17 Jul 2012 19:27:51 +0000 (19:27 +0000)]
PR c++/53549
* parser.c (cp_parser_class_head): Call xref_basetypes here.
(cp_parser_class_specifier_1): Not here.
* pt.c (tsubst_decl) [USING_DECL]: Check uses_template_parms
as well as DECL_DEPENDENT_P.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189585
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 17 Jul 2012 00:17:20 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189558
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Mon, 16 Jul 2012 22:34:13 +0000 (22:34 +0000)]
PR libstdc++/53270
* include/ext/concurrence.h: Use NSDMI for gthreads types.
* include/ext/rope: Likewise. Destroy mutexes in destructors. Add
system_header pragma.
Revert:
2012-06-19 Jonathan Wakely <jwakely.gcc@gmail.com>
PR libstdc++/53270
* config/os/gnu-linux/os_defines.h: Disable static initializer macros
for gthreads types in C++11 mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189555
138bc75d-0d04-0410-961f-
82ee72b054a4
redi [Mon, 16 Jul 2012 20:47:40 +0000 (20:47 +0000)]
PR libstdc++/53978
* include/bits/alloc_traits.h (allocator_traits): Define static
constants.
* include/bits/ptr_traits.h (pointer_traits): Likewise.
* include/ext/alloc_traits.h (__allocator_always_compares_equal):
Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189548
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 16 Jul 2012 00:17:39 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189498
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Sun, 15 Jul 2012 08:13:47 +0000 (08:13 +0000)]
PR target/53961
Backport from mainline
2012-04-25 Jakub Jelinek <jakub@redhat.com>
PR target/53110
* config/i386/i386.md (and<mode>3): For andq $0xffffffff, reg
instead expand it as zero extension.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189491
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 15 Jul 2012 00:17:52 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189488
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Sat, 14 Jul 2012 07:42:08 +0000 (07:42 +0000)]
* config/i386/i386.md (QImode and HImode cmove splitters): Merge
QImode and HImode splitters. Use ix86_comparison_operator.
Explicitly match FLAGS_REG.
(DFmode cmove splitter): Explicitly match FLAGS_REG.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189478
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 14 Jul 2012 00:16:52 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189475
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Fri, 13 Jul 2012 17:22:55 +0000 (17:22 +0000)]
PR rtl-optimization/53908
* gcc.dg/torture/pr53908.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189469
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Fri, 13 Jul 2012 17:21:41 +0000 (17:21 +0000)]
PR rtl-optimization/53908
* df-problems.c (can_move_insns_across): When doing
memory-reference book-keeping, handle call insns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189468
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 13 Jul 2012 15:09:47 +0000 (15:09 +0000)]
PR c++/53953
* method.c (synthesized_method_walk): Initialize no_implicit_p sooner.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189466
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Fri, 13 Jul 2012 09:00:18 +0000 (09:00 +0000)]
2012-07-13 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/53657
* include/bits/stl_pair.h (pair<>::pair(pair&&)): Declare defaulted,
per C++11.
* include/bits/stl_map.h (map<>::insert(_Pair&&), map<>::insert
(const_iterator, _Pair&&)): Constrain with std::is_constructible,
per LWG2005.
* include/bits/stl_multimap.h (multimap<>::insert(_Pair&&),
multimap<>::insert(const_iterator, _Pair&&)): Likewise.
* include/bits/hashtable.h (_Hashtable<>::insert(_Pair&&),
_Hashtable<>::insert(const_iterator, _Pair&&)): Likewise.
* include/debug/unordered_map: Adjust.
* include/debug/map.h: Likewise.
* include/debug/multimap.h: Likewise.
* include/profile/unordered_map: Likewise.
* include/profile/map.h: Likewise.
* include/profile/multimap.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189457
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 13 Jul 2012 00:16:30 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189447
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 12 Jul 2012 00:16:39 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189430
138bc75d-0d04-0410-961f-
82ee72b054a4