Ralf Wildenhues
43e02a8a71
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.
From-SVN: r155012
2009-12-05 17:18:53 +00:00
Richard Earnshaw
3fc604fcde
thumb2.md (thumb2_mulsi_short_compare0): Use a low-register for the scratch.
...
* arm/thumb2.md (thumb2_mulsi_short_compare0): Use a low-register
for the scratch.
From-SVN: r155011
2009-12-05 17:04:39 +00:00
Dave Korn
2e6623d8fa
os_defines.h (_GLIBCXX_PSEUDO_VISIBILITY): Provide empty definition.
...
* config/os/hpux/os_defines.h (_GLIBCXX_PSEUDO_VISIBILITY): Provide
empty definition.
From-SVN: r155008
2009-12-05 06:13:44 +00:00
Jason Merrill
364f9c6bf6
re PR c++/42010 ([C++0x] ICE: lang_* check: failed in discriminator_for_local_entity, at cp/mangle.c:1581)
...
PR c++/42010
* cp-tree.h (DECL_DISCRIMINATOR_SET_P): New.
* mangle.c (discriminator_for_local_entity): Check it.
From-SVN: r155007
2009-12-04 20:51:46 -05:00
GCC Administrator
b50eb277c1
Daily bump.
...
From-SVN: r155006
2009-12-05 00:18:04 +00:00
Jason Merrill
21920fd14c
re PR c++/42277 (decltype error in template)
...
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.
From-SVN: r155002
2009-12-04 17:51:12 -05:00
David Edelsohn
2f2d73866b
aix_closure.S: Reorganize 64-bit code to match linux64_closure.S.
...
* src/powerpc/aix_closure.S: Reorganize 64-bit code to match
linux64_closure.S.
From-SVN: r155001
2009-12-04 17:24:05 -05:00
Joseph Myers
b75caae698
* sv.po: Update.
...
From-SVN: r154999
2009-12-04 21:58:43 +00:00
Joseph Myers
4d46c04837
be.po, [...]: Update.
...
* 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.
From-SVN: r154998
2009-12-04 21:45:09 +00:00
Joseph Myers
02c7d30f1d
be.po, [...]: Update.
...
* 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.
From-SVN: r154997
2009-12-04 21:42:20 +00:00
Uros Bizjak
6078f50a12
re PR libffi/41908 (closures fail for some structure arguments containing floats)
...
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.
From-SVN: r154988
2009-12-04 19:41:59 +01:00
David Daney
d0e4968c33
re PR rtl-optimization/42164 (internal compiler error: in simplify_subreg, at simplify-rtx.c:5138)
...
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.
From-SVN: r154987
2009-12-04 17:46:23 +00:00
Johannes Singler
c21237d527
ChangeLog: Remove spurious white spaces and tabs.
...
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.
From-SVN: r154985
2009-12-04 16:29:26 +00:00
Janne Blomqvist
a4384badd7
PR libfortran/40812 Large file support for MinGW
...
From-SVN: r154984
2009-12-04 18:28:44 +02:00
David Edelsohn
0c5526222c
ffi_darwin.c (ffi_closure_helper_DARWIN): Increment pfr for long double split between fpr13 and stack.
...
* src/powerpc/ffi_darwin.c (ffi_closure_helper_DARWIN): Increment
pfr for long double split between fpr13 and stack.
From-SVN: r154983
2009-12-04 10:36:50 -05:00
Richard Guenther
2465519746
lto-streamer-out.c (pack_ts_decl_common_value_fields): Revert previous change.
...
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.
From-SVN: r154980
2009-12-04 14:44:24 +00:00
Richard Guenther
c8b3e92f20
tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Handle BUILT_IN_MALLOC.
...
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.
From-SVN: r154979
2009-12-04 14:42:23 +00:00
Eric Botcazou
321e10dd4c
trans.c (add_decl_expr): At toplevel, mark the TYPE_ADA_SIZE field of records and unions.
...
* 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.
From-SVN: r154978
2009-12-04 12:05:08 +00:00
Matthias Klose
a7004a7e0e
re PR target/40134 (symbols not resolved when building shared libraries (link with -lgcc_s -lgcc?))
...
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.
Co-Authored-By: John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
From-SVN: r154973
2009-12-04 07:47:51 +00:00
Dodji Seketeli
38a15b40ea
re PR c++/42218 (Broken diagnostic: 'tree_vec' not supported by pp_c_expression)
...
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.
From-SVN: r154972
2009-12-04 08:38:42 +01:00
Eric Botcazou
25a3160899
Fix nits
...
From-SVN: r154971
2009-12-04 07:28:53 +00:00
Sebastian Pop
4926bb1d60
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.
Co-Authored-By: Richard Henderson <rth@redhat.com>
From-SVN: r154970
2009-12-04 05:27:39 +00:00
Richard Henderson
aa356b75ed
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.
From-SVN: r154969
2009-12-04 05:27:02 +00:00
Sebastian Pop
80c0adc635
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.
From-SVN: r154968
2009-12-04 05:26:27 +00:00
David Edelsohn
afb5e62297
ffi_darwin.c (ffi_prep_args): Increment next_arg and fparg_count twice for long double.
...
* src/powerpc/ffi_darwin.c (ffi_prep_args): Increment next_arg and
fparg_count twice for long double.
From-SVN: r154967
2009-12-03 22:43:40 -05:00
Jason Merrill
b83f1f569d
* g++.dg/abi/guard2.C: Run on *-*-linux* rather than x86-*-*
...
From-SVN: r154966
2009-12-03 22:09:43 -05:00
Jason Merrill
d35311a213
re PR middle-end/41611 (guard variable is emitted even when the guarded symbol isn't)
...
PR c++/41611
* decl2.c (get_guard): Don't use the same comdat group as the decl.
From-SVN: r154965
2009-12-03 19:26:35 -05:00
Jason Merrill
4e3f6d8529
re PR c++/42266 ([C++0x] ICE with decltype and variadic templates)
...
PR c++/42266
* cvt.c (convert_from_reference): Do nothing if TREE_TYPE is null.
From-SVN: r154964
2009-12-03 19:26:27 -05:00
GCC Administrator
8414ab1197
Daily bump.
...
From-SVN: r154963
2009-12-04 00:16:47 +00:00
Joseph Myers
6b34ab4104
* gcc.pot: Regenerate.
...
From-SVN: r154958
2009-12-03 21:30:23 +00:00
David Edelsohn
be311914b8
re PR libffi/42243 (powerpc-apple-darwin9 libffi failures)
...
PR libffi/42243
* src/powerpc/ffi_darwin.c (ffi_prep_args): Remove extra parentheses.
From-SVN: r154956
2009-12-03 14:09:29 -05:00
Richard Guenther
154885548c
cgraphunit.c (assemble_thunk): Use DECL_ASSEMBLER_NAME instead of DECL_NAME for the entry point.
...
2009-12-03 Richard Guenther <rguenther@suse.de>
* cgraphunit.c (assemble_thunk): Use DECL_ASSEMBLER_NAME
instead of DECL_NAME for the entry point.
From-SVN: r154954
2009-12-03 16:06:03 +00:00
Jakub Jelinek
762de626f7
re PR middle-end/42049 (ICE with -O2 - internal compiler error: in expand_expr_real_1, at expr.c:9314)
...
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.
From-SVN: r154952
2009-12-03 16:34:56 +01:00
Eric Botcazou
80fa46179c
exp_util.adb (Make_CW_Equivalent_Type): Set the Is_Class_Wide_Equivalent_Type flag here in lieu of...
...
* 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.
From-SVN: r154950
2009-12-03 15:10:58 +00:00
Richard Earnshaw
cf9eb56580
linux-atomic.c (SYNC_LOCK_RELEASE): Place memory barrier before the lock release.
...
* arm/linux-atomic.c (SYNC_LOCK_RELEASE): Place memory barrier
before the lock release.
From-SVN: r154949
2009-12-03 14:26:46 +00:00
Paolo Carlini
bcaf576b83
re PR libstdc++/42261 (infinite recursion from string(string::size_type(6), string::size_type('f')))
...
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.
From-SVN: r154948
2009-12-03 14:20:56 +00:00
Uros Bizjak
ddf6c18784
cls_longdouble_va.c (main): Fix format string.
...
* testsuite/libffi.call/cls_longdouble_va.c (main): Fix format string.
Remove xfails for x86 linux targets.
From-SVN: r154946
2009-12-03 15:02:10 +01:00
Michael Matz
2bdbbe94ec
re PR middle-end/38474 (compile time explosion in dataflow_set_preserve_mem_locs at -O3)
...
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.
From-SVN: r154945
2009-12-03 13:36:32 +00:00
Bernd Schmidt
1f92467594
re PR middle-end/42202 (Revision 154688 caused many gfortran failures)
...
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.
From-SVN: r154944
2009-12-03 12:58:30 +00:00
Ken Werner
75741fedc5
spu-elf.h (STARTFILE_SPEC): Add support for gprof startup files.
...
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.
From-SVN: r154942
2009-12-03 11:47:11 +00:00
Uros Bizjak
a27c404027
cls_longdouble_va.c (main): Fix format string.
...
* testsuite/libffi.call/cls_longdouble_va.c (main): Fix format string.
From-SVN: r154941
2009-12-03 11:35:31 +01:00
Paolo Carlini
54d1aa1f64
ref.cc: Add.
...
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.
From-SVN: r154939
2009-12-03 10:18:04 +00:00
Dodji Seketeli
84894f850f
re PR c++/42217 (ICE with zero-length bit-field)
...
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.
From-SVN: r154938
2009-12-03 09:33:03 +01:00
Jakub Jelinek
249ccaff22
re PR c++/42256 (483.xalancbmk fails to link)
...
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.
From-SVN: r154937
2009-12-03 09:03:36 +01:00
Hans-Peter Nilsson
90df451fde
mutex_extensions.cc: Adjust dg-error line number.
...
* testsuite/ext/profile/mutex_extensions.cc: Adjust dg-error line
number.
From-SVN: r154936
2009-12-03 06:43:51 +00:00
Dave Korn
9957322df4
ggc-page.c (struct free_object): Pull definition out ...
...
* ggc-page.c (struct free_object): Pull definition out ...
(struct globals): .. from here.
From-SVN: r154933
2009-12-03 02:04:16 +00:00
David Edelsohn
7837c24708
ffi_darwin.c (ffi_prep_args): Fix typo in INT64 case.
...
* src/powerpc/ffi_darwin.c (ffi_prep_args): Fix typo in INT64
case.
From-SVN: r154932
2009-12-02 20:32:21 -05:00
GCC Administrator
315df37387
Daily bump.
...
From-SVN: r154931
2009-12-03 00:16:36 +00:00
Richard Guenther
793e86a71b
fold-const.c (div_if_zero_remainder): Honor that sizetypes are sign-extending.
...
2009-12-02 Richard Guenther <rguenther@suse.de>
* fold-const.c (div_if_zero_remainder): Honor that sizetypes
are sign-extending. Simplify.
From-SVN: r154926
2009-12-02 22:49:43 +00:00
Richard Henderson
fc81a3692d
re PR tree-optimization/42215 (internal compiler error: verify_stmts failed with -O2 -ftree-loop-distribution)
...
PR tree-opt/42215
* tree-loop-distribution.c (build_size_arg_loc): Tidy.
(generate_memset_zero): Convert to sizetype properly. Tidy.
From-SVN: r154925
2009-12-02 14:35:21 -08:00