OSDN Git Service

pf3gnuchains/gcc-fork.git
11 years ago * pex-unix.c (pex_unix_exec_child): Save/restore environ.
devans [Tue, 8 Dec 2009 07:05:35 +0000 (07:05 +0000)]
* pex-unix.c (pex_unix_exec_child): Save/restore environ.

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

11 years ago2009-12-07 Shujing Zhao <pearly.zhao@oracle.com>
pzhao [Tue, 8 Dec 2009 02:21:04 +0000 (02:21 +0000)]
2009-12-07  Shujing Zhao  <pearly.zhao@oracle.com>

* MAINTAINERS (Write After Approval): Add myself.

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

11 years agoPR c/42312
dj [Tue, 8 Dec 2009 00:47:58 +0000 (00:47 +0000)]
PR c/42312
* config/mep/mep.c (mep_expand_prologue): Set
really_need_stack_frame after frame_size is set.

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

11 years ago PR rtl-opt/42269
rth [Tue, 8 Dec 2009 00:44:28 +0000 (00:44 +0000)]
    PR rtl-opt/42269
        * combine.c (setup_incoming_promotions): Improve the conditions
        under which we respect the promotions applied.

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

11 years ago * src/powerpc/aix_closure.S (libffi_closure_ASM): Fix tablejump
dje [Tue, 8 Dec 2009 00:41:10 +0000 (00:41 +0000)]
    * src/powerpc/aix_closure.S (libffi_closure_ASM): Fix tablejump
        typo.

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

11 years agoDaily bump.
gccadmin [Tue, 8 Dec 2009 00:16:56 +0000 (00:16 +0000)]
Daily bump.

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

11 years ago * config/sparc/linux.h (ASM_SPEC): Pass -K PIC if -findirect-dispatch.
ebotcazou [Mon, 7 Dec 2009 23:31:01 +0000 (23:31 +0000)]
* config/sparc/linux.h (ASM_SPEC): Pass -K PIC if -findirect-dispatch.
* config/sparc/linux64.h (ASM_SPEC): Likewise.

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

11 years ago PR debug/42299
rth [Mon, 7 Dec 2009 22:42:10 +0000 (22:42 +0000)]
PR debug/42299
PR debug/42166
* tree-ssa.c (insert_debug_temp_for_var_def): Skip propagation
for ssa names already registered for update.

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

11 years ago PR debug/42244
jakub [Mon, 7 Dec 2009 22:37:21 +0000 (22:37 +0000)]
PR debug/42244
* ddg.c (add_inter_loop_mem_dep): Use ANTI_DEP if from or to
is a DEBUG_INSN.

* gcc.dg/debug/pr42244.c: New test.

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

11 years agoCheck cpuid LWP bit.
spop [Mon, 7 Dec 2009 22:23:16 +0000 (22:23 +0000)]
Check cpuid LWP bit.

* config/i386/driver-i386.c (host_detect_local_cpu): Add -mlwp to the
options when bit_LWP is set.

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

11 years agoCheck cpuid ABM bit.
spop [Mon, 7 Dec 2009 22:23:10 +0000 (22:23 +0000)]
Check cpuid ABM bit.

* config/i386/cpuid.h (bit_ABM): New.
* config/i386/driver-i386.c (host_detect_local_cpu): Add -mabm to the
options when bit_ABM is set.

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

11 years agoFix ABM.
spop [Mon, 7 Dec 2009 22:23:01 +0000 (22:23 +0000)]
Fix ABM.

2009-12-04  Jakub Jelinek  <jakub@redhat.com>

* config/i386/i386.c (bdesc_special_args): Move __builtin_clzs from
this array ...
(bdesc_args): ... here.
* config.gcc (i[34567]86-*-*): Include abmintrin.h.
(x86_64-*-*): Likewise.

* gcc.target/i386/sse-12.c: Add -mabm to dg-options, mention
abmintrin.h is also tested.
* gcc.target/i386/sse-13.c: Likewise.

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

11 years agoFix _mm_popcnt* intrinsics.
spop [Mon, 7 Dec 2009 22:22:54 +0000 (22:22 +0000)]
Fix _mm_popcnt* intrinsics.

* config.gcc (i[34567]86-*-*, x86_64-*-*): Add popcntintrin.h.
* config/i386/abmintrin.h (_mm_popcnt_u32, _mm_popcnt_u64): Moved...
* config/i386/i386-c.c (__POPCNT__): Defined.
* config/i386/popcntintrin.h: ...here.  New file.
* config/i386/smmintrin.h (_mm_popcnt_u32, _mm_popcnt_u64): Moved...
Include popcntintrin.h.
* config/i386/x86intrin.h: Include popcntintrin.h when __POPCNT__
is defined.

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

11 years agoRemove XOP splitters.
spop [Mon, 7 Dec 2009 22:22:45 +0000 (22:22 +0000)]
Remove XOP splitters.

* config/i386/i386-protos.h (ix86_expand_fma4_multiple_memory):
Removed.
* config/i386/i386.c (ix86_expand_fma4_multiple_memory): Removed.
* config/i386/sse.md: Remove all XOP splitters.
Allow the second and fourth operands of XOP multiply-add insns
to be nonimmediate.

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

11 years agoRemove all FMA4 splitters.
spop [Mon, 7 Dec 2009 22:22:37 +0000 (22:22 +0000)]
Remove all FMA4 splitters.

* config/i386/sse.md: Remove all FMA4 splitters.
Allow the second operand of FMA4 insns to be a nonimmediate.
Fix comments punctuation.

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

11 years ago gcc/
jules [Mon, 7 Dec 2009 20:34:53 +0000 (20:34 +0000)]
gcc/
* config/arm/constraints.md (Ps, Pt): New constraint letters.
* config/arm/thumb2.md (*thumb2_addsi_short): Tighten constraints.

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

11 years ago * acinclude.m4: Regenerated to pick:
jakub [Mon, 7 Dec 2009 19:33:09 +0000 (19:33 +0000)]
* acinclude.m4: Regenerated to pick:
2007-06-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

* libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [linux]:
Ignore lines in ld.so.conf starting with 'hwcap '.

* configure: Regenerated.

2009-11-24  Peter O'Gorman  <peter@pogma.com>

Backport of libltdl changes from the 2.2.6b release.
* ltdl.c: Backport changes.

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

11 years agogcc/fortran:
dfranke [Mon, 7 Dec 2009 17:32:29 +0000 (17:32 +0000)]
gcc/fortran:
2009-12-07  Daniel Franke  <franke.daniel@gmail.com>

        PR fortran/41940
        * match.c (gfc_match_allocate): Improved error message for
        allocatable scalars that are allocated with a shape.

gcc/testsuite:
2009-12-07  Daniel Franke  <franke.daniel@gmail.com>

        PR fortran/41940
        * gfortran.dg/allocate_scalar_with_shape.f90: New.

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

11 years ago PR other/40302
ghazi [Mon, 7 Dec 2009 15:45:01 +0000 (15:45 +0000)]
PR other/40302
* configure.ac (HAVE_mpc): Don't define.
* config.in, configure: Regenerate.

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

11 years ago PR other/40302
ghazi [Mon, 7 Dec 2009 15:42:55 +0000 (15:42 +0000)]
PR other/40302
* builtins.c: Remove HAVE_mpc* checks throughout.
* fold-const.c: Likewise.
* real.h: Likewise.
* toplev.c: Likewise.

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

11 years ago PR other/40302
ghazi [Mon, 7 Dec 2009 15:36:46 +0000 (15:36 +0000)]
PR other/40302
* gcc.dg/torture/builtin-math-6.c: Assume we have MPC.
* gcc.dg/torture/builtin-math-7.c: Likewise.
* gfortran.dg/complex_intrinsic_7.f90: Likewise.
* gfortran.dg/complex_intrinsic_8.f90: Likewise.
* gfortran.dg/integer_exponentiation_4.f90: Re-enable some tests.
* lib/target-supports.exp (check_effective_target_mpc,
check_effective_target_mpc_pow, check_effective_target_mpc_arc):
Delete.

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

11 years ago2009-12-07 Edmar Wienskoski <edmar@freescale.com>
dje [Mon, 7 Dec 2009 15:34:21 +0000 (15:34 +0000)]
2009-12-07  Edmar Wienskoski  <edmar@freescale.com>

        * config.gcc (cpu_is_64bit): Add new core e500mc64.
        (powerpc*-*-*): Add new core e500mc64.
        * config/rs6000/e500mc64.md: New file.
        * config/rs6000/rs6000.c (processor_costs): Add new costs for
        e500mc64.
        (rs6000_override_options): Add e500mc64 case to
        processor_target_table. Altivec and Spe options not allowed with
        e500mc64. Disable string instructions for e500mc64. Enable branch
        targets alignment for both e500mc and e500mc64. Initialize
        rs6000_cost for e500mc64.
        (rs6000_emit_sISEL): New function.
        (rs6000_emit_sCOND): Call rs6000_emit_sISEL for isel targets.
        (rs6000_emit_int_cmove): Fix mode of 64 bit isel pattern
        generation.
        (rs6000_issue_rate): Set issue rate for e500mc64.
        (rs6000_rtx_costs): Set more accurate cost for mfcr instruction
        on architectures with isel.
        * config/rs6000/rs6000-protos.h (rs6000_emit_sISEL): Declare.
        * config/rs6000/rs6000.h (processor_type): Add
        PROCESSOR_PPCE500MC64.
        (ASM_CPU_SPEC): Add e500mc64.
        * config/rs6000/rs6000.md (define_attr "cpu"): Add ppce500mc64.
        Include e500mc64.md.
        (abssi2_isel): Expand pattern to handle DImode.
        (nabs<mode>2_isel): New pattern.
        (absdi2): Change pattern to handle 64 bit isel targets.
        (absdi2_internal): Exclude ISEL targets.
        (nabsdi2): Exclude ISEL targets.
        * doc/invoke.texi: Add e500mc64 to list of cpus.

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

11 years ago PR other/40302
ghazi [Mon, 7 Dec 2009 15:32:43 +0000 (15:32 +0000)]
PR other/40302
* arith.c: Remove HAVE_mpc* checks throughout.
* expr.c: Likewise.
* gfortran.h: Likewise.
* resolve.c: Likewise.
* simplify.c: Likewise.
* target-memory.c: Likewise.
* target-memory.h: Likewise.

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

11 years ago2009-12-07 Edmar Wienskoski <edmar@freescale.com>
dje [Mon, 7 Dec 2009 15:27:32 +0000 (15:27 +0000)]
2009-12-07  Edmar Wienskoski  <edmar@freescale.com>

        * gcc.target/powerpc/ppc-eq0-1.c: Adjust testcase for isel
        targets.

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

11 years ago * config/i386/i386.md (any_or): New code iterator.
uros [Mon, 7 Dec 2009 14:28:22 +0000 (14:28 +0000)]
* config/i386/i386.md (any_or): New code iterator.
(any_logic): Rename from plogic code iterator.
(logicprefix): Rename from plogicprefix code attribute.
(<code><mode>3): Macroize expander from {ior,xor}<mode>3 using
any_or code iterator.
(*<code><mode>_1): Macroize insn from *{ior,xor}<mode>_1 using
any_or code iterator.
(*<code><mode>_2): Ditto from *{ior,xor}<mode>_2.
(*<code><mode>_3): Ditto from *{ior,xor}<mode>_3.
(ior and xor splitters): Ditto.
* config/i386/mmx.md: Updated for rename.
* config/i386/sse.md: Ditto.

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

11 years ago2009-12-07 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Mon, 7 Dec 2009 14:27:59 +0000 (14:27 +0000)]
2009-12-07  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/42319
* include/parallel/losertree.h: Include bits/stl_function.h instead
of the whole <functional>.
* include/parallel/base.h: Likewise.
* include/parallel/numeric: Likewise.
* include/parallel/balanced_quicksort.h: Likewise.
* include/parallel/checkers.h: Likewise.
* testsuite/17_intro/headers/c++200x/42319.cc: New.

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

11 years ago * id.po: Update.
jsm28 [Mon, 7 Dec 2009 12:17:20 +0000 (12:17 +0000)]
* id.po: Update.

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

11 years ago * configure.ac (net/if.h check): Include sys/socket.h if present.
ebotcazou [Mon, 7 Dec 2009 09:44:22 +0000 (09:44 +0000)]
* configure.ac (net/if.h check): Include sys/socket.h if present.
* configure: Regenerate.

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

11 years ago * config/i386/i386.md (float<SSEMODEI24:mode><X87MODEF:mode>2):
uros [Mon, 7 Dec 2009 08:53:22 +0000 (08:53 +0000)]
* config/i386/i386.md (float<SSEMODEI24:mode><X87MODEF:mode>2):
Remove quotes around condition logic code.

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

11 years ago* gcc.c-torture/execute/vla-dealloc-1.c: Use lower loop count for 16bit int targets.
hutchinsonandy [Mon, 7 Dec 2009 00:21:47 +0000 (00:21 +0000)]
* gcc.c-torture/execute/vla-dealloc-1.c: Use lower loop count for 16bit int targets.

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

11 years agoDaily bump.
gccadmin [Mon, 7 Dec 2009 00:16:47 +0000 (00:16 +0000)]
Daily bump.

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

11 years ago PR debug/42234
rth [Sun, 6 Dec 2009 23:59:52 +0000 (23:59 +0000)]
PR debug/42234
* tree-ssa-dom.c (degenerate_phi_result): Check for NULL phi
argument earlier.

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

11 years agolibgfortran/
janus [Sun, 6 Dec 2009 22:57:13 +0000 (22:57 +0000)]
libgfortran/
2009-12-06  Janus Weil  <janus@gcc.gnu.org>

PR fortran/41478
PR fortran/42268
* intrinsics/pack_generic.c (pack): Add safety checks for the case that
'vector' is NULL.

gcc/testsuite/
2009-12-06  Janus Weil  <janus@gcc.gnu.org>

PR fortran/41478
PR fortran/42268
* gfortran.dg/intrinsic_pack_5.f90: New test.

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

11 years ago PR middle-end/30447
ghazi [Sun, 6 Dec 2009 16:11:06 +0000 (16:11 +0000)]
PR middle-end/30447
PR middle-end/30789
PR other/40302

* configure.ac: Require MPC.
* configure: Regenerate.
gcc:
* doc/install.texi: Document MPC is required.

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

11 years ago2009-12-06 Daniel Franke <franke.daniel@gmail.com>
dfranke [Sun, 6 Dec 2009 12:59:46 +0000 (12:59 +0000)]
2009-12-06  Daniel Franke  <franke.daniel@gmail.com>

        PR fortran/40904
        * intrinsics.texi: Fixed description of COUNT.

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

11 years ago * config/i386/i386-md (g): Add HImode and QImode.
uros [Sun, 6 Dec 2009 12:03:51 +0000 (12:03 +0000)]
* config/i386/i386-md (g): Add HImode and QImode.
(general_szext_operand): New mode attribute.
(*test<mode>_1): Macroize insn from *test{qi,hi,si}_1 using
SWI124 mode iterator.
(and<mode>3): Macroize expander from and{qi,hi,si,di}3 using
SWIM mode iterator.
(*and<mode>_2): Macroize insn from *and{qi,hi,si}_2 using
SWI124 mode iterator.
(ior<mode>3): Macroize expander from ior{qi,hi,si,di}3 using
SWIM mode iterator.
(*ior<mode>_1): Macroize insn from *ior{hi,si,di}_1 using
SWI248 mode iterator.
(*ior<mode>_2): Macroize insn from *ior{qi,hi,si,di}_2 using
SWI mode iterator.
(*ior<mode>_3): Macroize insn from *ior{qi,hi,si,di}_3 using
SWI mode iterator.
(xor<mode>3): Macroize expander from xor{qi,hi,si,di}3 using
SWIM mode iterator.
(*xor<mode>_1): Macroize insn from *xor{hi,si,di}_1 using
SWI248 mode iterator.
(*xor<mode>_2): Macroize insn from *xor{qi,hi,si,di}_2 using
SWI mode iterator.
(*xor<mode>_3): Macroize insn from *xor{qi,hi,si,di}_3 using
SWI mode iterator.

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

11 years agoDaily bump.
gccadmin [Sun, 6 Dec 2009 00:17:55 +0000 (00:17 +0000)]
Daily bump.

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

11 years ago2009-12-05 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sat, 5 Dec 2009 23:57:50 +0000 (23:57 +0000)]
2009-12-05  H.J. Lu  <hongjiu.lu@intel.com>

PR bootstrap/42306
* configure: Regenerated.
* Makefile.in: Likewise.

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

11 years ago * src/powerpc/aix.S: Update AIX32 code to be consistent with AIX64
dje [Sat, 5 Dec 2009 21:48:58 +0000 (21:48 +0000)]
    * src/powerpc/aix.S: Update AIX32 code to be consistent with AIX64
        code.
        * src/powerpc/aix_closure.s: Same.

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

11 years agoAdd TARGET_FUSED_MADD to FMA4 insns.
spop [Sat, 5 Dec 2009 20:11:52 +0000 (20:11 +0000)]
Add TARGET_FUSED_MADD to FMA4 insns.

* config/i386/i386.c (TARGET_DEFAULT_TARGET_FLAGS): Add
MASK_FUSED_MADD.
* config/i386/i386.h (CC1_CPU_SPEC_1): Remove
"'-mfused-madd' was removed".
* config/i386/i386.opt (mfused-madd): New.
* config/i386/sse.md: Add TARGET_FUSED_MADD to FMA4 insns.
* doc/invoke.texi (-mfused-madd, -mno-fused-madd): Document.

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

11 years ago * pa64-hpux.h (LIB_SPEC): Handle -rdynamic.
danglin [Sat, 5 Dec 2009 19:43:14 +0000 (19:43 +0000)]
* pa64-hpux.h (LIB_SPEC): Handle -rdynamic.
* pa-hpux10.h (LIB_SPEC): Likewise.
* pa-hpux11.h (LIB_SPEC): Likewise.

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

11 years ago PR ada/41912
danglin [Sat, 5 Dec 2009 17:45:59 +0000 (17:45 +0000)]
PR ada/41912
* pa/linux-unwind.h (pa32_fallback_frame_state): Set fs->signal_frame
for signal frames.
* pa/hpux-unwind.h (pa32_fallback_frame_state): Likewise.

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

11 years agoSync from git Libtool and regenerate.
rwild [Sat, 5 Dec 2009 17:18:53 +0000 (17:18 +0000)]
Sync from git Libtool and regenerate.

/:
PR target/38384
PR bootstrap/40972
* libtool.m4: Sync from git Libtool.
* ltoptions.m4: Likewise.
* ltversion.m4: Likewise.
* lt~obsolete.m4: Likewise.
* ltmain.sh: Likewise.

boehm-gc/:
* Makefile.in: Regenerate.
* configure: Regenerate.
* include/Makefile.in: Regenerate.

fixincludes/:
* configure: Regenerate.

gcc/:
* configure: Regenerate.

libffi/:
* Makefile.in: Regenerate.
* configure: Regenerate.
* include/Makefile.in: Regenerate.
* man/Makefile.in: Regenerate.
* testsuite/Makefile.in: Regenerate.

libgfortran/:
* Makefile.in: Regenerate.
* configure: Regenerate.

libgomp/:
* Makefile.in: Regenerate.
* configure: Regenerate.
* testsuite/Makefile.in: Regenerate.

libjava/classpath/:
* Makefile.in: Regenerate.
* configure: Regenerate.
* doc/Makefile.in: Regenerate.
* doc/api/Makefile.in: Regenerate.
* examples/Makefile.in: Regenerate.
* external/Makefile.in: Regenerate.
* external/jsr166/Makefile.in: Regenerate.
* external/relaxngDatatype/Makefile.in: Regenerate.
* external/sax/Makefile.in: Regenerate.
* external/w3c_dom/Makefile.in: Regenerate.
* include/Makefile.in: Regenerate.
* lib/Makefile.in: Regenerate.
* native/Makefile.in: Regenerate.
* native/fdlibm/Makefile.in: Regenerate.
* native/jawt/Makefile.in: Regenerate.
* native/jni/Makefile.in: Regenerate.
* native/jni/classpath/Makefile.in: Regenerate.
* native/jni/gconf-peer/Makefile.in: Regenerate.
* native/jni/gstreamer-peer/Makefile.in: Regenerate.
* native/jni/gtk-peer/Makefile.in: Regenerate.
* native/jni/java-io/Makefile.in: Regenerate.
* native/jni/java-lang/Makefile.in: Regenerate.
* native/jni/java-math/Makefile.in: Regenerate.
* native/jni/java-net/Makefile.in: Regenerate.
* native/jni/java-nio/Makefile.in: Regenerate.
* native/jni/java-util/Makefile.in: Regenerate.
* native/jni/midi-alsa/Makefile.in: Regenerate.
* native/jni/midi-dssi/Makefile.in: Regenerate.
* native/jni/native-lib/Makefile.in: Regenerate.
* native/jni/qt-peer/Makefile.in: Regenerate.
* native/jni/xmlj/Makefile.in: Regenerate.
* native/plugin/Makefile.in: Regenerate.
* resource/Makefile.in: Regenerate.
* scripts/Makefile.in: Regenerate.
* tools/Makefile.in: Regenerate.

libjava/:
* Makefile.in: Regenerate.
* configure: Regenerate.
* gcj/Makefile.in: Regenerate.
* include/Makefile.in: Regenerate.
* testsuite/Makefile.in: Regenerate.

libmudflap/:
* Makefile.in: Regenerate.
* configure: Regenerate.
* testsuite/Makefile.in: Regenerate.

libobjc/:
* configure: Regenerate.

libssp/:
* Makefile.in: Regenerate.
* configure: Regenerate.

libstdc++-v3/:
* Makefile.in: Regenerate.
* configure: Regenerate.
* doc/Makefile.in: Regenerate.
* include/Makefile.in: Regenerate.
* libsupc++/Makefile.in: Regenerate.
* po/Makefile.in: Regenerate.
* python/Makefile.in: Regenerate.
* src/Makefile.in: Regenerate.
* testsuite/Makefile.in: Regenerate.

lto-plugin/:
* configure: Regenerate.
* Makefile.in: Regenerate.

zlib/:
* Makefile.in: Regenerate.
* configure: Regenerate.

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

11 years ago * arm/thumb2.md (thumb2_mulsi_short_compare0): Use a low-register
rearnsha [Sat, 5 Dec 2009 17:04:39 +0000 (17:04 +0000)]
* arm/thumb2.md (thumb2_mulsi_short_compare0): Use a low-register
for the scratch.

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

11 years ago * config/os/hpux/os_defines.h (_GLIBCXX_PSEUDO_VISIBILITY): Provide
davek [Sat, 5 Dec 2009 06:13:44 +0000 (06:13 +0000)]
* config/os/hpux/os_defines.h (_GLIBCXX_PSEUDO_VISIBILITY): Provide
empty definition.

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

11 years ago PR c++/42010
jason [Sat, 5 Dec 2009 01:51:46 +0000 (01:51 +0000)]
PR c++/42010
* cp-tree.h (DECL_DISCRIMINATOR_SET_P): New.
* mangle.c (discriminator_for_local_entity): Check it.

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

11 years agoDaily bump.
gccadmin [Sat, 5 Dec 2009 00:18:04 +0000 (00:18 +0000)]
Daily bump.

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

11 years ago PR c++/42277
jason [Fri, 4 Dec 2009 22:51:12 +0000 (22:51 +0000)]
PR c++/42277
* semantics.c (finish_decltype_type): Don't assume that op1 of a
COMPONENT_REF is always the field.
* g++.dg/cpp0x/decltype20.C: New.

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

11 years ago * src/powerpc/aix_closure.S: Reorganize 64-bit code to match
dje [Fri, 4 Dec 2009 22:24:05 +0000 (22:24 +0000)]
    * src/powerpc/aix_closure.S: Reorganize 64-bit code to match
        linux64_closure.S.

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

11 years ago * sv.po: Update.
jsm28 [Fri, 4 Dec 2009 21:58:43 +0000 (21:58 +0000)]
* sv.po: Update.

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

11 years ago * be.po, ca.po, da.po, de.po, el.po, es.po, fr.po, id.po, ja.po,
jsm28 [Fri, 4 Dec 2009 21:45:09 +0000 (21:45 +0000)]
* be.po, ca.po, da.po, de.po, el.po, es.po, fr.po, id.po, ja.po,
nl.po, sv.po, tr.po, uk,po, vi.po, zh_CN.po, zh_TW.po: Update.

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

11 years ago * be.po, da.po, de.po, el.po, es.po, fi.po, fr.po, id.po, ja.po,
jsm28 [Fri, 4 Dec 2009 21:42:20 +0000 (21:42 +0000)]
* be.po, da.po, de.po, el.po, es.po, fi.po, fr.po, id.po, ja.po,
nl.po, ru.po, sr.po, sv.po, tr.po, zh_CN.po, zh_TW.po: Update.

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

11 years ago PR libffi/41908
uros [Fri, 4 Dec 2009 18:41:59 +0000 (18:41 +0000)]
PR libffi/41908
* src/x86/ffi64.c (classify_argument): Update from
gcc/config/i386/i386.c.
(ffi_closure_unix64_inner): Do not use the address of two consecutive
SSE registers directly.
* testsuite/libffi.call/cls_dbls_struct.c (main): Remove xfail
for x86_64 linux targets.

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

11 years ago2009-12-04 David Daney <ddaney@caviumnetworks.com>
daney [Fri, 4 Dec 2009 17:46:23 +0000 (17:46 +0000)]
2009-12-04  David Daney  <ddaney@caviumnetworks.com>

PR rtl-optimization/42164
* combine.c (combine_simplify_rtx): Handle truncation of integer
constants.

2009-12-04  David Daney  <ddaney@caviumnetworks.com>

PR rtl-optimization/42164
* gcc.c-torture/compile/pr42164.c: New test.

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

11 years ago2009-12-04 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Fri, 4 Dec 2009 16:29:26 +0000 (16:29 +0000)]
2009-12-04  Paolo Carlini  <paolo.carlini@oracle.com>

* ChangeLog: Remove spurious white spaces and tabs.
* ChangeLog-2007: Likewise.
* ChangeLog-2006: Likewise.
* ChangeLog-2005: Likewise.
* ChangeLog-2004: Likewise.
* ChangeLog-2003: Likewise.
* ChangeLog-2002: Likewise.
* ChangeLog-2000: Likewise.
* ChangeLog-1999: Likewise.

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

11 years agoPR libfortran/40812 Large file support for MinGW
jb [Fri, 4 Dec 2009 16:28:44 +0000 (16:28 +0000)]
PR libfortran/40812 Large file support for MinGW

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

11 years ago * src/powerpc/ffi_darwin.c (ffi_closure_helper_DARWIN): Increment
dje [Fri, 4 Dec 2009 15:36:50 +0000 (15:36 +0000)]
    * src/powerpc/ffi_darwin.c (ffi_closure_helper_DARWIN): Increment
        pfr for long double split between fpr13 and stack.

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

11 years ago2009-12-04 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 4 Dec 2009 14:44:24 +0000 (14:44 +0000)]
2009-12-04  Richard Guenther  <rguenther@suse.de>

* lto-streamer-out.c (pack_ts_decl_common_value_fields):
Revert previous change.
(lto_output_ts_decl_common_tree_pointers): Stream DECL_VALUE_EXPR.
* lto-streamer-in.c (lto_input_ts_decl_common_tree_pointers):
Likewise.

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

11 years ago2009-12-04 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 4 Dec 2009 14:42:23 +0000 (14:42 +0000)]
2009-12-04  Richard Guenther  <rguenther@suse.de>

* tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Handle
BUILT_IN_MALLOC.
(call_may_clobber_ref_p_1): Likewise.

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

11 years ago * gcc-interface/trans.c (add_decl_expr): At toplevel, mark the
ebotcazou [Fri, 4 Dec 2009 12:05:08 +0000 (12:05 +0000)]
* gcc-interface/trans.c (add_decl_expr): At toplevel, mark the
TYPE_ADA_SIZE field of records and unions.

* gcc-interface/trans.c (Attribute_to_gnu) <Attr_Length>: Set the
source location of the node onto the comparison expression if it
is not cached.

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

11 years ago2009-12-04 Matthias Klose <doko@ubuntu.com>
doko [Fri, 4 Dec 2009 07:47:51 +0000 (07:47 +0000)]
2009-12-04  Matthias Klose  <doko@ubuntu.com>
            John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

        PR target/40134
        * config.gcc (hppa*-*-linux*): Use config/t-slibgcc-libgcc.
        * config/pa/pa-linux.h (LIB_SPEC): Remove.

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

11 years agoFix PR c++/42218
dodji [Fri, 4 Dec 2009 07:38:42 +0000 (07:38 +0000)]
Fix PR c++/42218

gcc/cp/ChangeLog:
PR c++/42218
* cxx-pretty-print.c (pp_cxx_unqualified_id): Print only innermost
template arguments.

gcc/testsuite/ChangeLog:
PR c++/42218
* g++.dg/other/error33.C: New test.

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

11 years agoFix nits
ebotcazou [Fri, 4 Dec 2009 07:28:53 +0000 (07:28 +0000)]
Fix nits

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

11 years agoFix FMA4 and XOP insns.
spop [Fri, 4 Dec 2009 05:27:39 +0000 (05:27 +0000)]
Fix FMA4 and XOP insns.

2009-12-02  Sebastian Pop  <sebastian.pop@amd.com>
    Richard Henderson  <rth@redhat.com>

* config/i386/i386-protos.h (ix86_fma4_valid_op_p): Removed.
* config/i386/i386.c (ix86_fma4_valid_op_p): Removed.
* config/i386/i386.md: Do not use ix86_fma4_valid_op_p.
* config/i386/sse.md (fma4_*): Remove alternative with operand 1
matching a memory access.  Do not use ix86_fma4_valid_op_p.
(xop_*): Same.
Do not use ix86_fma4_valid_op_p in FMA4 and XOP splitters.

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

11 years agoFor FMA4, force all operands into registers.
spop [Fri, 4 Dec 2009 05:27:02 +0000 (05:27 +0000)]
For FMA4, force all operands into registers.

2009-12-02  Richard Henderson  <rth@redhat.com>

* config/i386/i386.c (ix86_fixup_binary_operands): For FMA4, force
all operands into registers.

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

11 years agoRemove unused operand.
spop [Fri, 4 Dec 2009 05:26:27 +0000 (05:26 +0000)]
Remove unused operand.

2009-12-02  Sebastian Pop  <sebastian.pop@amd.com>

* config/i386/i386.c (ix86_expand_fma4_multiple_memory): Remove unused
parameter.
* config/i386/i386-protos.h (ix86_expand_fma4_multiple_memory): Same.
* config/i386/sse.md: Same.

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

11 years ago * src/powerpc/ffi_darwin.c (ffi_prep_args): Increment next_arg and
dje [Fri, 4 Dec 2009 03:43:40 +0000 (03:43 +0000)]
    * src/powerpc/ffi_darwin.c (ffi_prep_args): Increment next_arg and
        fparg_count twice for long double.

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

11 years ago * g++.dg/abi/guard2.C: Run on *-*-linux* rather than x86-*-*
jason [Fri, 4 Dec 2009 03:09:43 +0000 (03:09 +0000)]
* g++.dg/abi/guard2.C: Run on *-*-linux* rather than x86-*-*

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

11 years ago PR c++/41611
jason [Fri, 4 Dec 2009 00:26:35 +0000 (00:26 +0000)]
PR c++/41611
* decl2.c (get_guard): Don't use the same comdat group as the decl.

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

11 years ago PR c++/42266
jason [Fri, 4 Dec 2009 00:26:27 +0000 (00:26 +0000)]
PR c++/42266
* cvt.c (convert_from_reference): Do nothing if TREE_TYPE is null.

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

11 years agoDaily bump.
gccadmin [Fri, 4 Dec 2009 00:16:47 +0000 (00:16 +0000)]
Daily bump.

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

11 years ago * gcc.pot: Regenerate.
jsm28 [Thu, 3 Dec 2009 21:30:23 +0000 (21:30 +0000)]
* gcc.pot: Regenerate.

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

11 years ago PR libffi/42243
dje [Thu, 3 Dec 2009 19:09:29 +0000 (19:09 +0000)]
    PR libffi/42243
        * src/powerpc/ffi_darwin.c (ffi_prep_args): Remove extra parentheses.

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

11 years ago2009-12-03 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 3 Dec 2009 16:06:03 +0000 (16:06 +0000)]
2009-12-03  Richard Guenther  <rguenther@suse.de>

* cgraphunit.c (assemble_thunk): Use DECL_ASSEMBLER_NAME
instead of DECL_NAME for the entry point.

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

11 years ago PR middle-end/42049
jakub [Thu, 3 Dec 2009 15:34:56 +0000 (15:34 +0000)]
PR middle-end/42049
* builtins.c (expand_builtin_strcpy_args): Handle COMPOUND_EXPRs
potentially returned from folding strcpy.

* gcc.c-torture/compile/pr42049.c: New test.

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

11 years ago * exp_util.adb (Make_CW_Equivalent_Type): Set the
ebotcazou [Thu, 3 Dec 2009 15:10:58 +0000 (15:10 +0000)]
* exp_util.adb (Make_CW_Equivalent_Type): Set the
Is_Class_Wide_Equivalent_Type flag here in lieu of...
(Make_Subtype_From_Expr): ...here.
* exp_ch3.adb (Expand_Freeze_Record_Type): Do not set
Has_Controlled_Component on class-wide equivalent types.
* freeze.adb (Freeze_Record_Type): Likewise.
* sem_ch3.adb (Record_Type_Definition): Likewise.

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

11 years ago * arm/linux-atomic.c (SYNC_LOCK_RELEASE): Place memory barrier
rearnsha [Thu, 3 Dec 2009 14:26:46 +0000 (14:26 +0000)]
* arm/linux-atomic.c (SYNC_LOCK_RELEASE): Place memory barrier
before the lock release.

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

11 years ago2009-12-03 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Thu, 3 Dec 2009 14:20:56 +0000 (14:20 +0000)]
2009-12-03  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/42261
* include/bits/basic_string.h (_S_construct_aux(_Integer, _Integer,
const _Alloc&, __true_type)): Cast the second argument to value_type.
* include/ext/sso_string_base.h (_M_construct_aux(_Integer, _Integer,
std::__true_type)): Likewise.
* include/ext/rc_string_base.h (_S_construct_aux(_Integer, _Integer,
const _Alloc&, std::__true_type)): Likewise.
* testsuite/21_strings/basic_string/cons/char/42261.cc: New.
* testsuite/21_strings/basic_string/cons/wchar_t/42261.cc: Likewise.

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

11 years ago * testsuite/libffi.call/cls_longdouble_va.c (main): Fix format string.
uros [Thu, 3 Dec 2009 14:02:10 +0000 (14:02 +0000)]
* testsuite/libffi.call/cls_longdouble_va.c (main): Fix format string.
Remove xfails for x86 linux targets.

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

11 years ago PR middle-end/38474
matz [Thu, 3 Dec 2009 13:36:32 +0000 (13:36 +0000)]
PR middle-end/38474
* cfgexpand.c (struct stack_var): Add conflicts member.
(stack_vars_conflict, stack_vars_conflict_alloc,
n_stack_vars_conflict): Remove.
(add_stack_var): Initialize conflicts member.
(triangular_index, resize_stack_vars_conflict): Remove.
(add_stack_var_conflict, stack_var_conflict_p): Rewrite in
terms of new member.
(union_stack_vars): Only run over the conflicts.
(partition_stack_vars): Remove special case.
(expand_used_vars_for_block): Don't call resize_stack_vars_conflict,
don't create self-conflicts.
(account_used_vars_for_block): Don't create any conflicts.
(fini_vars_expansion): Free bitmaps, don't free or clear removed
globals.

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

11 years ago PR middle-end/42202
bernds [Thu, 3 Dec 2009 12:58:30 +0000 (12:58 +0000)]
PR middle-end/42202
* regrename.c (live_in_chains): New variable.
(verify_reg_tracked): New static function.
(scan_rtx_reg): Update live_in_chains.
(scan_rtx): Only promote sets in COND_EXEC to OP_INOUT if
we're already tracking the reg.
(build_def_use): Likewise.  Initialize live_in_chains.

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

11 years ago2009-12-03 Ken Werner <ken.werner@de.ibm.com>
krebbel [Thu, 3 Dec 2009 11:47:11 +0000 (11:47 +0000)]
2009-12-03  Ken Werner  <ken.werner@de.ibm.com>

        * config/spu/spu-elf.h (STARTFILE_SPEC): Add support for gprof
        startup files.
        * config/spu/spu-protos.h (spu_function_profiler): Add prototype.
        * config/spu/spu.c (spu_function_profiler): New function.
        * config/spu/spu.h (FUNCTION_PROFILER): Invoke
        spu_function_profiler.
        (NO_PROFILE_COUNTERS): Define.
        (PROFILE_BEFORE_PROLOGUE): Likewise.

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

11 years ago * testsuite/libffi.call/cls_longdouble_va.c (main): Fix format string.
uros [Thu, 3 Dec 2009 10:35:31 +0000 (10:35 +0000)]
* testsuite/libffi.call/cls_longdouble_va.c (main): Fix format string.

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

11 years ago2009-12-03 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Thu, 3 Dec 2009 10:18:04 +0000 (10:18 +0000)]
2009-12-03  Paolo Carlini  <paolo.carlini@oracle.com>

* testsuite/20_util/bind/ref.cc: Add.
* testsuite/20_util/bind/all_bound.cc: Likewise.
* testsuite/20_util/bind/nested.cc: Likewise.
* testsuite/20_util/bind/placeholders.cc: Likewise.

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

11 years agoFix PR c++/42217
dodji [Thu, 3 Dec 2009 08:33:03 +0000 (08:33 +0000)]
Fix PR c++/42217

gcc/cp/ChangeLog
PR c++/42217
* class.c (remove_zero_width_bit_fields): The width of the bit field is
in DECL_SIZE, not in DECL_INITIAL.

gcc/testsuite/ChangeLog
PR c++/42217
* g++.dg/other/bitfield4.C: New test.

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

11 years ago PR c++/42256
jakub [Thu, 3 Dec 2009 08:03:36 +0000 (08:03 +0000)]
PR c++/42256
* optimize.c (maybe_clone_body): Call emit_associated_thunks
after expand_or_defer_fn_1.

* g++.dg/inherit/thunk11.C: New test.
* g++.dg/inherit/thunk11.h: New file.
* g++.dg/inherit/thunk11-aux.cc: New file.

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

11 years ago * testsuite/ext/profile/mutex_extensions.cc: Adjust dg-error line
hp [Thu, 3 Dec 2009 06:43:51 +0000 (06:43 +0000)]
* testsuite/ext/profile/mutex_extensions.cc: Adjust dg-error line
number.

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

11 years ago * ggc-page.c (struct free_object): Pull definition out ...
davek [Thu, 3 Dec 2009 02:04:16 +0000 (02:04 +0000)]
* ggc-page.c (struct free_object): Pull definition out ...
(struct globals): .. from here.

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

11 years ago * src/powerpc/ffi_darwin.c (ffi_prep_args): Fix typo in INT64
dje [Thu, 3 Dec 2009 01:32:21 +0000 (01:32 +0000)]
    * src/powerpc/ffi_darwin.c (ffi_prep_args): Fix typo in INT64
        case.

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

11 years agoDaily bump.
gccadmin [Thu, 3 Dec 2009 00:16:36 +0000 (00:16 +0000)]
Daily bump.

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

11 years ago2009-12-02 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 2 Dec 2009 22:49:43 +0000 (22:49 +0000)]
2009-12-02  Richard Guenther  <rguenther@suse.de>

* fold-const.c (div_if_zero_remainder): Honor that sizetypes
are sign-extending.  Simplify.

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

11 years ago PR tree-opt/42215
rth [Wed, 2 Dec 2009 22:35:21 +0000 (22:35 +0000)]
    PR tree-opt/42215
        * tree-loop-distribution.c (build_size_arg_loc): Tidy.
        (generate_memset_zero): Convert to sizetype properly.  Tidy.

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

11 years ago2009-12-02 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 2 Dec 2009 20:33:25 +0000 (20:33 +0000)]
2009-12-02  Richard Guenther  <rguenther@suse.de>

* g++.dg/ipa/iinline-1.C: Adjust.
* g++.dg/template/cond2.C: Likewise.
* g++.dg/template/pr35240.C: Likewise.

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

11 years ago2009-12-02 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 2 Dec 2009 19:35:37 +0000 (19:35 +0000)]
2009-12-02  Richard Guenther  <rguenther@suse.de>

* lto-streamer-out.c (pack_ts_decl_common_value_fields):
Do not pretend we have value exprs.

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

11 years ago2009-12-02 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 2 Dec 2009 18:15:17 +0000 (18:15 +0000)]
2009-12-02  Richard Guenther  <rguenther@suse.de>

PR middle-end/41491
* fold-const.c (try_move_mult_to_index): Do not leak
domain types into the IL.

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

11 years ago * parser.c (cp_parser_class_specifier): Back out my previous change.
tglek [Wed, 2 Dec 2009 17:50:41 +0000 (17:50 +0000)]
* parser.c (cp_parser_class_specifier): Back out my previous change.
* semantics.c (begin_class_definition): Back out my previous change.

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

11 years ago2009-12-02 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 2 Dec 2009 17:13:51 +0000 (17:13 +0000)]
2009-12-02  Richard Guenther  <rguenther@suse.de>

PR middle-end/42088
* tree.c (free_lang_data): Disable if not using LTO.

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

11 years ago2009-12-02 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Wed, 2 Dec 2009 15:53:39 +0000 (15:53 +0000)]
2009-12-02  Paolo Carlini  <paolo.carlini@oracle.com>

* Adjust last ChangeLog entry, mention Make-lang.in.

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

11 years ago2009-12-02 Paolo Bonzini <bonzini@gnu.org>
paolo [Wed, 2 Dec 2009 15:49:20 +0000 (15:49 +0000)]
2009-12-02  Paolo Bonzini  <bonzini@gnu.org>
    Shujing Zhao  <pearly.zhao@oracle.com>

PR c++/29917
* call.c (op_error): Accept a boolean to indicate no match/ambiguous
match, instead of a string. Callers adjusted.

PR c++/34836
* cp-tree.h (readonly_error_kind): New type.
(readonly_error): Adjust prototype with new argument.
* typeck2.c (readonly_error): Accept readonly_error_kind as argument
and add macro ERROR_FOR_ASSIGNMENT to emit diagnostics.
* semantics.c (finish_asm_stmt): Adjust readonly_error call.
* typeck.c (cp_build_unary_op, cp_build_modify_expr): Likewise.

* decl.c (grokparms, grok_op_properties): Put the diagnostics in full
sentences for easy translation and wrap the diagnostics into G_() when
needed.
(create_array_type_for_decl): Likewise.
* pt.c (tsubst): Likewise.
* typeck2.c (cp_build_unary_op): Wrap diagnostic into _().
* rtti.c (build_dynamic_cast_1): Likewise.

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

11 years ago2009-12-02 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 2 Dec 2009 15:22:01 +0000 (15:22 +0000)]
2009-12-02  Richard Guenther  <rguenther@suse.de>

PR middle-end/42229
* cfgloopmanip.c (remove_path): Avoid cancelling loops
twice.

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