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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
jsm28 [Wed, 2 Dec 2009 14:25:46 +0000 (14:25 +0000)]
* gcc.pot: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154911
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Wed, 2 Dec 2009 14:24:09 +0000 (14:24 +0000)]
* cpplib.pot: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154910
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Wed, 2 Dec 2009 13:58:02 +0000 (13:58 +0000)]
Forgot to add file with last commit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154909
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Wed, 2 Dec 2009 13:50:52 +0000 (13:50 +0000)]
gcc/
PR middle-end/42224
* tree.h (int_or_pointer_precision): Remove.
* tree.c (int_or_pointer_precision): Remove.
(integer_pow2p): Use TYPE_PRECISION instead.
(tree_log2): Likewise.
(tree_floor_log2): Likewise.
(signed_or_unsigned_type_for): Likewise.
* fold-const.c (fit_double_type): Likewise.
* varasm.c (initializer_constant_valid_p): Likewise.
gcc/testsuite/
PR middle-end/42224
* gcc.target/s390/pr42224.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154908
138bc75d-0d04-0410-961f-
82ee72b054a4
irar [Wed, 2 Dec 2009 13:36:47 +0000 (13:36 +0000)]
* doc/invoke.texi (-fdump-tree-slp): Document.
(-ftree-vectorizer-verbose): Update.
(-ftree-slp-vectorize): Document.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154907
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Wed, 2 Dec 2009 11:15:50 +0000 (11:15 +0000)]
Oops - omitted this part of xstormy16 patch to use __clzhi2() instead of __stormy16_count_leading_zeros.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154905
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Wed, 2 Dec 2009 10:59:04 +0000 (10:59 +0000)]
* config/rx/rx.c (rx_conditional_register_usage): Do not warn if
no fixed registers are available for interrupt handlers. Do not
fix normal registers.
(MUST_SAVE_ACC_REGISTER): New macro.
(rx_get_stack_layout): Create a stack frame for fast interrupt
handlers, if necessary. Push extra registers if needed in order
to save the accumulator.
(rx_expand_prologue): Create a stack frame for fast interrupt
handlers, if necessary.
(rx_expand_builtin_mvfc): Handle the case where there is no
target.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154903
138bc75d-0d04-0410-961f-
82ee72b054a4
jb [Wed, 2 Dec 2009 09:22:50 +0000 (09:22 +0000)]
Typo in ChangeLog entry for PR fortran/42131
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154900
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 2 Dec 2009 08:39:10 +0000 (08:39 +0000)]
* g++spec.c (lang_specific_driver): Remove unused saw_verbose_flag
variable.
* pt.c (tsubst_pack_expansion): Remove unused first_arg_pack variable.
* init.c (build_vec_init): Remove unused size variable.
* typeck2.c (check_narrowing): Remove unused was_decl variable.
* decl.c (poplevel): Remove unused tmp and real_functionbody
variables.
(decls_match): Remove unused tree_name variable.
(start_decl): Remove unused type variable.
* parser.c (cp_parser_type_parameter): Remove unused parameter_list
variable.
(cp_parser_template_id, cp_parser_explicit_instantiation,
cp_parser_declarator): Remove unused token variable.
(cp_parser_simple_type_specifier): Remove unused id variable.
(cp_parser_parameter_declaration): Remove unused
greater_than_is_operator_p variable.
(cp_parser_check_declarator_template_parameters): Remove unused
member variable.
(c_parse_file): Remove unused error_occurred variable.
* cp-gimplify.c (cp_gimplify_init_expr): Remove unused slot variable.
* typeck.c (cp_build_function_call_vec): Remove unused name variable.
* class.c (resolve_address_of_overloaded_function): Remove unused
is_reference variable.
(build_rtti_vtbl_entries): Remove unused basetype variable.
* mangle.c (write_template_param): Remove unused parm_level and
parm_type variables.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154899
138bc75d-0d04-0410-961f-
82ee72b054a4
spop [Wed, 2 Dec 2009 05:49:34 +0000 (05:49 +0000)]
lzcount intrinsics.
* config/i386/abmintrin.h (__lzcnt16): New.
(__lzcnt): New.
(__lzcnt64): New.
* config/i386/i386-builtin-types.def (UINT16_FTYPE_UINT16): New.
* config/i386/i386.c (IX86_BUILTIN_CLZS): New.
(bdesc_special_args): Add __builtin_clzs.
(ix86_expand_args_builtin): Handle UINT16_FTYPE_UINT16.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154895
138bc75d-0d04-0410-961f-
82ee72b054a4
spop [Wed, 2 Dec 2009 05:48:18 +0000 (05:48 +0000)]
ABM popcount intrinsics.
* config/i386/abmintrin.h (_mm_popcnt_u32): New.
(_mm_popcnt_u64): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154894
138bc75d-0d04-0410-961f-
82ee72b054a4
spop [Wed, 2 Dec 2009 05:47:26 +0000 (05:47 +0000)]
ABM intrinsics file.
* config/i386/abmintrin.h: New.
* config/i386/i386-c.c (ix86_target_macros_internal): Defined __ABM__.
* config/i386/x86intrin.h: Include abmintrin.h when __ABM__ is defined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154893
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Wed, 2 Dec 2009 04:21:08 +0000 (04:21 +0000)]
* src/powerpc/aix.S (ffi_call_AIX): Convert to more standard
register usage. Call ffi_prep_args directly. Add long double
return value support.
* src/powerpc/ffi_darwin.c (ffi_prep_args): Double arg increment
applies to FFI_TYPE_DOUBLE. Correct fpr_base increment typo.
Separate FFI_TYPE_SINT32 and FFI_TYPE_UINT32 cases.
(ffi_prep_cif_machdep): Only 16 byte stack alignment in 64 bit
mode.
(ffi_closure_helper_DARWIN): Remove nf and ng counters. Move temp
into case.
* src/powerpc/aix_closure.S: Maintain 16 byte stack alignment.
Allocate result area between params and FPRs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154892
138bc75d-0d04-0410-961f-
82ee72b054a4
tglek [Wed, 2 Dec 2009 01:00:39 +0000 (01:00 +0000)]
* parser.c (cp_parser_class_specifier): Set class location to that of IDENTIFIER_NODE instead of '{' when possible.\n* semantics.c (begin_class_definition): Do not overide locations with less precise ones.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154890
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 2 Dec 2009 00:16:40 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154889
138bc75d-0d04-0410-961f-
82ee72b054a4
bje [Tue, 1 Dec 2009 22:05:25 +0000 (22:05 +0000)]
* java/net/natVMURLConnection.cc (guessContentTypeFromBuffer):
Mark `bytes' and `valid' parameters as potentially unused.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154886
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 1 Dec 2009 21:58:04 +0000 (21:58 +0000)]
PR c++/41611
* decl2.c (get_guard): Copy DECL_COMDAT.
(comdat_linkage): Set DECL_COMDAT unconditionally.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154885
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Tue, 1 Dec 2009 21:56:40 +0000 (21:56 +0000)]
* gcc.target/i386/vperm-v4sf-1.c (dg-options): Use -msse.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154884
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Tue, 1 Dec 2009 21:23:55 +0000 (21:23 +0000)]
* config/i386/i386.md (SWI124): Rename from CRC32MODE.
(crc32modesuffix): Remove.
(crc32modeconstraint): Ditto.
(sse4_2_crc32<mode>): Update for renamed mode iterator. Use
imodesuffix instead of crc32modesuffix and <r>m instead of
crc32modeconstraint.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154882
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Tue, 1 Dec 2009 20:09:37 +0000 (20:09 +0000)]
PR c++/3187
* optimize.c (cdtor_comdat_group): New function.
(maybe_clone_body): Also optimize DECL_COMDAT base/complete cdtors
and in that case put also the deleting dtor in the same comdat group
as base and complete dtor if dtor is virtual.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154880
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Tue, 1 Dec 2009 19:41:52 +0000 (19:41 +0000)]
PR c++/42234
* tree-cfgcleanup.c (cleanup_omp_return): Don't ICE if control_bb
contains no statements.
* g++.dg/gomp/pr42234.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154878
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Tue, 1 Dec 2009 19:12:29 +0000 (19:12 +0000)]
2009-12-01 Grigori Fursin <grigori.fursin@inria.fr>
Joern Rennecke <amylaar@spamcop.net>
* cgraphunit.c (plugin.h): Include.
(ipa_passes): Invoke PLUGIN_ALL_IPA_PASSES_START /
PLUGIN_ALL_IPA_PASSES_END at start / end of processing.
* gcc-plugin.h (highlev-plugin-common.h, hashtab.h): Include.
(enum plugin_event): Define by including plugin.def.
Last enumerator is now called PLUGIN_EVENT_FIRST_DYNAMIC.
(plugin_event_name): Change type to const char **.
(get_event_last, get_named_event_id, unregister_callback): Declare.
(register_callback): Change type of event argument to int.
(highlev-plugin-common.h): New file.
* Makefile.in (GCC_PLUGIN_H): Add highlev-plugin-common.h and
$(HASHTAB_H)
(tree-optimize.o passes.o): Depend on $(PLUGIN_H).
(PLUGIN_HEADERS): Add opts.h, $(PARAMS_H) and plugin.def.
(s-header-vars): New rule.
(install-plugin): Depend on s-header-vars. Install b-header-vars.
* params.c (get_num_compiler_params): New function.
* params.h (get_num_compiler_params): Declare.
* passes.c (plugin.h): Include.
(make_pass_instance): Invoke PLUGIN_NEW_PASS.
(do_per_function_toporder, pass_init_dump_file): No longer static.
(pass_fini_dump_file): Likewise.
(execute_one_pass): Likewise. Invoke PLUGIN_OVERRIDE_GATE and
PLUGIN_PASS_EXECUTION.
(execute_ipa_pass_list): Invoke PLUGIN_EARLY_GIMPLE_PASSES_START and
PLUGIN_EARLY_GIMPLE_PASSES_END.
* plugin.c (plugin_event_name_init): New array, defined by
including plugin.def.
(FMT_FOR_PLUGIN_EVENT): Update.
(plugin_event_name): Change type to const char ** and initialize
to plugin_event_name_init.
(event_tab, event_last, event_horizon): New variable.
(get_event_last): New function.
(plugin_callbacks_init): New array.
(plugin_callbacks: Change type to struct callback_info **.
Initialize to plugin_callbacks_init.
(htab_event_eq, get_named_event_id, unregister_callback): New function.
(invoke_plugin_va_callbacks): Likewise.
(register_callback): Change type of event argument to int.
Handle new events. Allow dynamic events.
(invoke_plugin_callbacks): Likewise. Return success status.
(plugins_active_p): Allow dynamic callbacks.
* plugin.def: New file.
* plugin.h (invoke_plugin_callbacks): Update prototype.
(invoke_plugin_va_callbacks): Declare.
* tree-optimize.c (plugin.h): Include.
(tree_rest_of_compilation): Invoke PLUGIN_ALL_PASSES_START and
PLUGIN_ALL_PASSES_END.
* tree-pass.h (execute_one_pass, pass_init_dump_file): Declare.
(pass_fini_dump_file, do_per_function_toporder): Likewise.
* doc/plugin.texi: Document new event types.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154877
138bc75d-0d04-0410-961f-
82ee72b054a4
jb [Tue, 1 Dec 2009 18:32:37 +0000 (18:32 +0000)]
PR fortran/42131 Sign test using ternary operator
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154876
138bc75d-0d04-0410-961f-
82ee72b054a4
jamborm [Tue, 1 Dec 2009 17:39:44 +0000 (17:39 +0000)]
2009-12-01 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/42237
* tree-sra.c (sra_ipa_modify_assign): Split gimple_reg_type assignments
in between references into two.
* testsuite/gcc.c-torture/compile/pr42237.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154874
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Tue, 1 Dec 2009 14:22:50 +0000 (14:22 +0000)]
2009-12-01 Richard Guenther <rguenther@suse.de>
* tree-inline.c (copy_tree_body_r): Do not set TREE_BLOCK
to the block of the call when remapping a type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154873
138bc75d-0d04-0410-961f-
82ee72b054a4
jamborm [Tue, 1 Dec 2009 10:51:07 +0000 (10:51 +0000)]
2009-12-01 Martin Jambor <mjambor@suse.cz>
* cgraph.h (struct cgraph_edge): Reorder fields. Make loop_nest
unsigned short int.
* ipa-prop.h (struct ipa_param_call_note): Likewise.
* ipa-prop.c (ipa_note_param_call): Initialize note->loop_nest.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154872
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Tue, 1 Dec 2009 10:29:57 +0000 (10:29 +0000)]
2009-12-01 Pascal Obry <obry@adacore.com>
* s-osprim-mingw.adb (Get_Base_Time): Make sure that the base time is
taken at a clock tick boundary.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154871
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Tue, 1 Dec 2009 10:24:39 +0000 (10:24 +0000)]
2009-12-01 Thomas Quinot <quinot@adacore.com>
* g-sechas.ads (GNAT.Secure_Hashes.H."=" on Context): Make abstract.
2009-12-01 Matthew Gingell <gingell@adacore.com>
* adadecode.c: Allow compilation when building the run time in the gnat
runtime.
(__gnat_decode): Strip the .nnnn suffix from names of nested functions.
* gcc-interface/Makefile.in: Ada adadecode to LIBGNAT_SRCS and
LIBGNAT_OBJS.
2009-12-01 Vincent Celier <celier@adacore.com>
* gnatcmd.adb (Check_Files): Quote the path names as they may include
spaces.
2009-12-01 Ed Schonberg <schonberg@adacore.com>
* sem_ch3.adb (Analyze_Object_Declaration): If the defining identifier
has already been declared, it may have been rewritten as a renaming
declaration.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154870
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Tue, 1 Dec 2009 10:02:24 +0000 (10:02 +0000)]
2009-12-01 Richard Guenther <rguenther@suse.de>
* final.c (rest_of_clean_state): If -fcompare-debug is
given dump final insns without UIDs.
* tree-ssa-live.c (remove_unused_scope_block_p): Remove
after_inlining checks.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154869
138bc75d-0d04-0410-961f-
82ee72b054a4
charlet [Tue, 1 Dec 2009 09:52:51 +0000 (09:52 +0000)]
2009-12-01 Ed Schonberg <schonberg@adacore.com>
* einfo.ads: Clarify use of Is_Private_Primitive.
* sem_ch6.adb (Analyze_Subprogram_Declaration): An operation is a
private primitive operation only if it is declared in the scope of the
private controlling type.
* exp_ch9.adb (Build_Wrapper_Spec): Build wrappers for private
protected operations as well.
2009-12-01 Arnaud Charlet <charlet@adacore.com>
* gnat1drv.adb (Adjust_Global_Switches): Disable front-end
optimizations in CodePeer mode, to keep the tree as close to the source
code as possible, and also to avoid inconsistencies between trees when
using different optimization switches.
2009-12-01 Thomas Quinot <quinot@adacore.com>
* scos.ads: Updated specification of source coverage obligation
information.
2009-12-01 Thomas Quinot <quinot@adacore.com>
* g-sercom.ads, g-sercom-mingw.adb, g-sercom-linux.adb,
a-ststio.adb, s-commun.adb, s-commun.ads, g-socket.adb,
g-socket.ads (System.Communications.Last_Index): For the case where no
element has been transferred and Item'First =
Stream_Element_Offset'First, raise CONSTRAINT_ERROR.
2009-12-01 Ed Schonberg <schonberg@adacore.com>
* sem_ch10.adb (Install_Siblings): A private with_clause on some child
unit U in an ancestor of the current unit must be ignored if the
current unit has a regular with_clause on U.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154868
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Tue, 1 Dec 2009 09:19:47 +0000 (09:19 +0000)]
2009-12-01 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/42057
* g++.dg/parse/crash54.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154865
138bc75d-0d04-0410-961f-
82ee72b054a4
chaoyingfu [Tue, 1 Dec 2009 01:40:28 +0000 (01:40 +0000)]
2009-11-30 Chao-ying Fu <fu@mips.com>
* gcc.target/mips/dsp-lhx.c: New test.
* gcc.target/mips/dsp-no-lhx.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154862
138bc75d-0d04-0410-961f-
82ee72b054a4
chaoyingfu [Tue, 1 Dec 2009 01:37:52 +0000 (01:37 +0000)]
2009-11-30 Chao-ying Fu <fu@mips.com>
* config/mips/mips-dsp.md (mips_lhx_<mode>): Use sign_extend.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154861
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 1 Dec 2009 00:16:42 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154859
138bc75d-0d04-0410-961f-
82ee72b054a4
davek [Tue, 1 Dec 2009 00:09:30 +0000 (00:09 +0000)]
2009-11-30 Dave Korn <dave.korn.cygwin@gmail.com>
* testsuite/lib/libstdc++.exp (libstdc++_init): Add host-dependent
settings for LC_ALL and LANG.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154856
138bc75d-0d04-0410-961f-
82ee72b054a4