GCC Administrator
1400103e45
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r104842.2
2005-10-01 00:16:27 +00:00
Geoffrey Keating
ed0db39f6d
Makefile.in (LIPO_FOR_TARGET): Define.
...
* Makefile.in (LIPO_FOR_TARGET): Define.
(STRIP_FOR_TARGET): Define.
From-SVN: r104840
2005-09-30 23:43:07 +00:00
James E Wilson
cc6ac522f9
Don't build thread library for targets that don't support threads.
...
* configure.ac (pthread.h): Use AC_CHECK_HEADERS instead of
AC_CHECK_HEADER.
(target_thread_file): New. Set from sed'ed gcc output.
(posix_threads): New. Set from target_thread_file. Use instead of
ac_have_pthread_h.
(pthread_create_version): Move initialization before code using it.
* configure: Regenerate.
From-SVN: r104838
2005-09-30 16:13:06 -07:00
Joseph Myers
6a82a28a50
re PR other/23693 (Manuals in the Portable Document Format (PDF))
...
PR other/23693
* update_web_docs: Add PDF support. Correct check of DEV-PHASE.
From-SVN: r104837
2005-09-30 23:06:07 +01:00
Richard Earnshaw
78a5d7279e
arm.md (movqi): On thumb when optimizing...
...
* arm.md (movqi): On thumb when optimizing, handle loading from
memory by describing this as taking a subreg of a zero-extended load
into an SImode register.
(movhi): Likewise.
From-SVN: r104836
2005-09-30 21:36:44 +00:00
Joseph Myers
3c993f84de
* update_web_docs_old: Remove.
...
From-SVN: r104835
2005-09-30 22:31:34 +01:00
Tom Tromey
e0f7b2609b
re PR libgcj/24051 (libjava failed to configure)
...
libjava:
PR libgcj/24051:
* Makefile.in: Rebuilt.
* Makefile.am (toolexeclib_LTLIBRARIES): Add Qt library if
requested.
(lib_gnu_java_awt_peer_qt_la_SOURCES): New variable.
(lib_gnu_java_awt_peer_qt_la_LIBADD): Likewise.
(lib_gnu_java_awt_peer_qt_la_DEPENDENCIES): Likewise.
(lib_gnu_java_awt_peer_qt_la_LDFLAGS): Likewise.
(lib_gnu_java_awt_peer_qt_la_LINK): Likewise.
* configure: Rebuilt.
* configure.ac: Pass --enable-qt-peers when qt is requested.
libjava/classpath:
PR libgcj/24051:
* Makefile.in: Rebuilt.
* Makefile.am (ACLOCAL_AMFLAGS): Added -I ../../config
* configure: Rebuilt.
* configure.ac: Use GCC_NO_EXECUTABLES
From-SVN: r104833
2005-09-30 20:46:59 +00:00
Janne Blomqvist
21905d1b43
re PR libfortran/24112 (Reopening file with STATUS='OLD' doesn't work)
...
2005-09-30 Janne Blomqvist <jblomqvi@cc.hut.fi>
libgfortran/
PR 24112
* io/open.c (edit_modes): Check for correct flag.
gcc/testsuite/
PR 24112
* gfortran.dg/open_status_1.f90: New.
From-SVN: r104829
2005-09-30 20:47:54 +02:00
Daniel Jacobowitz
3f27846b1c
reload1.c (merge_assigned_reloads): Do not change any RELOAD_FOR_OUTPUT_ADDRESS reloads.
...
* reload1.c (merge_assigned_reloads): Do not change any
RELOAD_FOR_OUTPUT_ADDRESS reloads.
From-SVN: r104827
2005-09-30 18:09:56 +00:00
Geoffrey Keating
f46876f99c
t-slibgcc-darwin (libgcc_s_%.dylib): Remove old symlinks before creating new ones.
...
* config/t-slibgcc-darwin (libgcc_s_%.dylib): Remove old symlinks
before creating new ones. Do symlinks before creating the actual
targets.
From-SVN: r104826
2005-09-30 18:08:26 +00:00
James E Wilson
06fb0460df
Fix mips-elf gp relocation overflow errors.
...
* mf-heuristics.c (_end, ENTRY_POINT): Make them arrays with unknown
bounds.
From-SVN: r104825
2005-09-30 11:06:26 -07:00
Geoffrey Keating
dd7dc25023
t-slibgcc-darwin (libgcc_s_%.dylib): Use --print-multi-lib to work out which multilibs are actually being built.
...
* config/t-slibgcc-darwin (libgcc_s_%.dylib): Use --print-multi-lib
to work out which multilibs are actually being built.
From-SVN: r104824
2005-09-30 17:55:27 +00:00
Paolo Carlini
18048e65b0
re PR libstdc++/24064 (tr1::unordered_map seems to seg-fault when caching hash values)
...
2005-09-30 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/24064
* include/tr1/hashtable (hash_code_base<>::store_code): Add.
(hashtable<>::insert(const value_type&)): Use it.
* testsuite/tr1/6_containers/unordered/hashtable/24064.cc: New.
From-SVN: r104823
2005-09-30 16:54:54 +00:00
Andrew Pinski
72a7ab824e
configure: Regenerate with the correct autoconf version.
...
2005-09-30 Andrew Pinski <pinskia@physics.uc.edu>
* configure: Regenerate with the correct
autoconf version.
From-SVN: r104821
2005-09-30 09:13:22 -07:00
Catherine Moore
6b65a26d24
configure.in (bfin-*-*): New.
...
* configure.in (bfin-*-*): New.
* configure: Regenerated.
From-SVN: r104820
2005-09-30 12:09:35 -04:00
Kazu Hirata
5116a5d2ab
tree-vect-transform.c, [...]: Fix comment typos.
...
* tree-vect-transform.c, config/ms1/ms1.md,
config/s390/s390.c, config/v850/v850.md: Fix comment typos.
Follow spelling conventions.
* doc/invoke.texi, doc/md.texi: Fix typos.
From-SVN: r104817
2005-09-30 15:36:26 +00:00
Andrew MacLeod
5dc2e33320
re PR tree-optimization/21430 (Quadratic behavior with constant initializers)
...
2005-09-30 Andrew Macleod <amacleod@redat.com>
PR tree-optimization/21430
* tree-ssa-operands.c (set_virtual_use_link): New. Link new virtual
use operands, and set stmt pointer if need be.
(FINALIZE_CORRECT_USE: New. Macro to call appropriate use fixup routine.
tree-ssa-opfinalize.h (FINALIZE_FUNC): Call FINALIZE_CORRECT_USE if
present.
From-SVN: r104816
2005-09-30 14:33:53 +00:00
Paolo Carlini
eae6e95b7f
re PR libstdc++/23953 (using stringstreams causes crashes with some locales)
...
2005-09-30 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/23953
* include/bits/locale_facets.tcc (__numpunct_cache<>::_M_cache,
__moneypunct_cache<>::_M_cache): Check that grouping()[0] > 0.
(__verify_grouping): Do the last check only if __grouping[__min] > 0.
(__add_grouping<>): End recursion if *__gbeg <= 0.
* testsuite/22_locale/num_get/get/char/23953.cc: New.
* testsuite/22_locale/num_get/get/wchar_t/23953.cc: Likewise.
* testsuite/22_locale/num_put/put/char/23953.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/23953.cc: Likewise.
From-SVN: r104814
2005-09-30 08:39:52 +00:00
Uros Bizjak
7a6a7d975b
fast-math-vect-reduc-7.c: Clean up temp files.
...
* gcc.dg/vect/fast-math-vect-reduc-7.c: Clean up temp files.
* gcc.dg/vect/pr22480.c: Clean up temp files.
* gcc.dg/vect/pr23831.c: Clean up temp files.
* gcc.dg/vect/pr23816-1.c: Require effective-target vect_condition.
Clean up temp files.
* gcc.dg/vect/pr23816-2.c: Require effective-target vect_condition.
Clean up temp files.
* gcc.dg/20050309-1.c: Clean up temp files.
* gcc.dg/20050325-1.c: Clean up temp files.
From-SVN: r104813
2005-09-30 08:17:54 +02:00
Uros Bizjak
e0854e30a2
re PR tree-optimization/24059 (ICE expand_expr_real_1 with -ftree-vectorize -O2)
...
PR tree-optimization/24059
* gcc.dg/vect/pr24059.c : New test.
From-SVN: r104812
2005-09-30 07:30:18 +02:00
James E Wilson
f1dff13a79
We can only wrap mmap if it exists.
...
* mf-hooks1.c (__mf_0fn_mmap, mmap, __mf_0fn_munmap, munmap): Protect
with HAVE_MMAP ifdef.
From-SVN: r104810
2005-09-29 18:50:56 -07:00
Tom Tromey
07f0879956
re PR java/24120 (jc1 incorrectly uses libiberty hashes)
...
PR java/24120:
* jcf-io.c (memoized_dirlist_hash): New function.
(caching_stat): Use it.
From-SVN: r104809
2005-09-30 00:33:26 +00:00
GCC Administrator
edbcf8fd55
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r104805.2
2005-09-30 00:17:53 +00:00
Richard Kenner
4ecd8dc716
re PR middle-end/24053 (ICE in build_int_cst_wide, at tree.c:795)
...
PR middle-end/24053
* stor-layout.c (set_sizetype): Set TYPE_MAIN_VARIANT of bitsizetype.
From-SVN: r104800
2005-09-29 22:11:12 +00:00
Mark Mitchell
93b47b19c5
* optabs.c (expand_binop): Initialize first_pass_p.
...
From-SVN: r104798
2005-09-29 21:50:55 +00:00
Jakub Jelinek
df4b9cfe50
re PR middle-end/24109 (non unit-at-a-time failure with compound literals)
...
PR middle-end/24109
* c-decl.c (c_write_global_declarations_1): If any
wrapup_global_declaration_2 call returned true, restart the loop.
* gcc.c-torture/execute/20050929-1.c: New test.
From-SVN: r104794
2005-09-29 23:34:33 +02:00
Daniel Berlin
8d2c775f01
re PR tree-optimization/24117 (struct is not marked fully as call clobbered)
...
2005-09-29 Daniel Berlin <dberlin@dberlin.org>
Fix PR tree-optimization/24117
* tree-ssa-structalias.c (find_func_aliases): Strip nops
before considering whether to use anyoffset.
From-SVN: r104791
2005-09-29 19:38:00 +00:00
Paolo Carlini
ffc53fb0fa
2005-09-29 Paolo Carlini <pcarlini@suse.de>
...
Improve last ChangeLog entry.
From-SVN: r104785
2005-09-29 17:50:26 +00:00
Chris Jefferson
2bd8e92c33
re PR libstdc++/23978 (tr1::tie doesn't work with std::pair)
...
2005-09-29 Chris Jefferson <chris@bubblescope.net>
PR libstdc++/23978
* include/tr1/functional (ref, cref): Make inline.
* include/tr1/tuple_iterate.h (tuple): Add operator=(std::pair).
(tie): Correct formatting.
(make_tuple): Make inline.
* testsuite/tr1/6_containers/tuple/creation_functions/23978.cc: New.
From-SVN: r104784
2005-09-29 17:42:42 +00:00
Steven Bosscher
2cff1b3e09
* gcc.dg/tree-ssa/ssa-ccp-11.c: Fix the test case and un-xfail.
...
From-SVN: r104777
2005-09-29 15:54:28 +00:00
Paolo Bonzini
be1ea09b13
Revert this patch:
...
2005-09-15 Paolo Bonzini <bonzini@gnu.org>
* optabs.c (expand_binop): Use swap_commutative_operands_with_target
to order operands.
(swap_commutative_operands_with_target): New.
From-SVN: r104775
2005-09-29 14:57:23 +00:00
Paolo Bonzini
02eb875fcf
re PR c/21419 (Accepts writting to const via asm)
...
gcc:
2005-09-29 Paolo Bonzini <bonzini@gnu.org>
PR c/21419
* gimplify.c (gimplify_asm_expr): Raise an error if an output is
read-only.
testsuite:
2005-09-29 Paolo Bonzini <bonzini@gnu.org>
PR c/21419
* gcc.dg/pr21419.c: New test.
From-SVN: r104774
2005-09-29 14:53:39 +00:00
Jakub Jelinek
090037799c
string.c (find_option): Change 3rd argument to const st_option *.
...
* runtime/string.c (find_option): Change 3rd argument to
const st_option *.
* libgfortran.h (find_option): Likewise.
* runtime/environ.c (rounding, precision, signal_choices): Constify.
(init_choice, show_choice): Change 2nd argument to const choice *.
* io/open.c (access_opt, action_opt, blank_opt, delim_opt, form_opt,
position_opt, status_opt, pad_opt): Constify.
* io/transfer.c (advance_opt): Likewise.
* io/inquire.c (undefined): Likewise.
* io/close.c (status_opt): Likewise.
* io/format.c (posint_required, period_required, nonneg_required,
unexpected_element, unexpected_end, bad_string, bad_hollerith,
reversion_error): Likewise.
* io/unix.c (yes, no, unknown): Change from const char *
into const char [].
From-SVN: r104773
2005-09-29 15:53:59 +02:00
Steven Bosscher
1ebd8d9ac1
re PR tree-optimization/23911 (Failure to propagate constants from a const initializer for _Complex)
...
gcc/
PR tree-optimization/23911
* tree-ssa-ccp.c (fold_const_aggregate_ref): Handle REALPART_EXPR
and IMAGPART_EXPR too.
testsuite/
* gcc.dg/pr23911.c: New test.
From-SVN: r104771
2005-09-29 12:25:10 +00:00
Uros Bizjak
577b2a064e
Added missing PR number to
...
2005-09-20 Richard Henderson <rth@redhat.com>
From-SVN: r104765
2005-09-29 08:19:02 +02:00
Andreas Tobler
a0bb10e784
configure.ac: Fix typo.
...
2005-09-29 Andreas Tobler <a.tobler@schweiz.ch>
* configure.ac: Fix typo.
* configure: Regenerate.
From-SVN: r104764
2005-09-29 07:00:39 +02:00
Mark Mitchell
0f8594eee9
re PR middle-end/17886 (variable rotate and unsigned long long rotate should be better optimized)
...
PR 17886
* expmed.c (expand_shift): Move logic to reverse rotation
direction when rotating by constants ...
* optabs.c (expand_binop): ... here.
* config/i386/i386.md (rotrdi3): Handle 32-bit mode.
(ix86_rotrdi3): New pattern.
(rotldi3): Handle 32-bit mode.
(ix86_rotldi3): New pattern.
From-SVN: r104761
2005-09-29 03:31:23 +00:00
Geoffrey Keating
4bc7cba795
Index: ChangeLog
...
2005-09-28 Geoffrey Keating <geoffk@apple.com>
* Makefile.tpl (BASE_TARGET_EXPORTS): Add LIPO, STRIP.
(LIPO_FOR_TARGET): New.
(CONFIGURED_LIPO_FOR_TARGET): New.
(USUAL_LIPO_FOR_TARGET): New.
(STRIP_FOR_TARGET): New.
(CONFIGURED_STRIP_FOR_TARGET): New.
(USUAL_STRIP_FOR_TARGET): New.
* Makefile.def (flags_to_pass): Add LIPO_FOR_TARGET and
STRIP_FOR_TARGET.
* configure.in: Set LIPO_FOR_TARGET, STRIP_FOR_TARGET,
CONFIGURED_LIPO_FOR_TARGET, CONFIGURED_STRIP_FOR_TARGET.
* Makefile.in: Regenerate.
* configure.in: Regenerate.
Index: gcc/ChangeLog
2005-09-28 Geoffrey Keating <geoffk@apple.com>
* Makefile.in: Export LIPO_FOR_TARGET, STRIP_FOR_TARGET.
(stage1-start): Delete old libgcc and libunwind before moving
anything into the stage directory.
(stage2-start): Likewise.
(stage3-start): Likewise.
(stage4-start): Likewise.
(stageprofile-start): Likewise.
(stagefeedback-start): Likewise.
* config.gcc (*-*-darwin*): Automatically use CPU-specific darwin.h
header in tm_file and CPU-specific t-darwin in tmake_file.
(i[34567]86-*-darwin*): Don't change tm_file.
(powerpc-*-darwin*): Don't change tm_file or tmake_file.
* config/darwin.h (REAL_LIBGCC_SPEC): Rewrite to use proper libgcc
shared library stub for target OS version.
* config/t-slibgcc-darwin (SHLIB_SOLINK): Delete.
(SHLIB_LINK): Don't make SHLIB_SOLINK.
(SHLIB_INSTALL): Don't install SHLIB_SOLINK.
(libgcc_s.%.dylib): New.
(LIBGCC): Define.
(install-darwin-libgcc-stubs): New.
(INSTALL_LIBGCC): New append.
* config/i386/darwin-libgcc.10.4.ver: New.
* config/i386/darwin-libgcc.10.5.ver: New.
* config/i386/t-darwin: New.
* config/rs6000/darwin-libgcc.10.4.ver: New.
* config/rs6000/darwin-libgcc.10.5.ver: New.
* config/rs6000/darwin.h (REAL_LIBGCC_SPEC): Delete.
* config/rs6000/t-darwin (SHLIB_VERPFX): Define.
From-SVN: r104756
2005-09-29 00:49:56 +00:00
Geoffrey Keating
23ed23848b
t-darwin8: Uncomment contents, allow -m64 multilib to be built.
...
* config/rs6000/t-darwin8: Uncomment contents, allow -m64
multilib to be built.
From-SVN: r104755
2005-09-29 00:42:21 +00:00
GCC Administrator
3f05a925b4
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r104752.2
2005-09-29 00:18:51 +00:00
Alan Modra
c22e62a672
re PR target/24102 (floatdisf2_internal2 broken)
...
PR target/24102
* config/rs6000/rs6000.md (floatdisf2_internal2): Correct range
check for numbers that need no bit twiddle.
From-SVN: r104750
2005-09-29 09:46:10 +09:30
Geoffrey Keating
040b1c5a5c
Index: ChangeLog
...
2005-09-28 Geoffrey Keating <geoffk@apple.com>
* Makefile.tpl (BASE_TARGET_EXPORTS): Add LIPO, STRIP.
(LIPO_FOR_TARGET): New.
(CONFIGURED_LIPO_FOR_TARGET): New.
(USUAL_LIPO_FOR_TARGET): New.
(STRIP_FOR_TARGET): New.
(CONFIGURED_STRIP_FOR_TARGET): New.
(USUAL_STRIP_FOR_TARGET): New.
* Makefile.def (flags_to_pass): Add LIPO_FOR_TARGET and
STRIP_FOR_TARGET.
* configure.in: Set LIPO_FOR_TARGET, STRIP_FOR_TARGET,
CONFIGURED_LIPO_FOR_TARGET, CONFIGURED_STRIP_FOR_TARGET.
* Makefile.in: Regenerate.
* configure.in: Regenerate.
Index: gcc/ChangeLog
2005-09-28 Geoffrey Keating <geoffk@apple.com>
* Makefile.in: Export LIPO_FOR_TARGET, STRIP_FOR_TARGET.
(stage1-start): Delete old libgcc and libunwind before moving
anything into the stage directory.
(stage2-start): Likewise.
(stage3-start): Likewise.
(stage4-start): Likewise.
(stageprofile-start): Likewise.
(stagefeedback-start): Likewise.
* config.gcc (*-*-darwin*): Automatically use CPU-specific darwin.h
header in tm_file and CPU-specific t-darwin in tmake_file.
(i[34567]86-*-darwin*): Don't change tm_file.
(powerpc-*-darwin*): Don't change tm_file or tmake_file.
* config/darwin.h (REAL_LIBGCC_SPEC): Rewrite to use proper libgcc
shared library stub for target OS version.
* config/t-slibgcc-darwin (SHLIB_SOLINK): Delete.
(SHLIB_LINK): Don't make SHLIB_SOLINK.
(SHLIB_INSTALL): Don't install SHLIB_SOLINK.
(libgcc_s.%.dylib): New.
(LIBGCC): Define.
(install-darwin-libgcc-stubs): New.
(INSTALL_LIBGCC): New append.
* config/i386/darwin-libgcc.10.4.ver: New.
* config/i386/darwin-libgcc.10.5.ver: New.
* config/i386/t-darwin: New.
* config/rs6000/darwin-libgcc.10.4.ver: New.
* config/rs6000/darwin-libgcc.10.5.ver: New.
* config/rs6000/darwin.h (REAL_LIBGCC_SPEC): Delete.
* config/rs6000/t-darwin (SHLIB_VERPFX): Define.
From-SVN: r104747
2005-09-28 23:50:06 +00:00
Geoffrey Keating
c7d0307027
locks.h: Use 64-bit versions of primitives when __LP64__ is defined rather than...
...
* sysdep/powerpc/locks.h: Use 64-bit versions of primitives when
__LP64__ is defined rather than __powerpc64__.
(compare_and_swap): 'ret' is an obj_addr_t not just an int.
(compare_and_swap_release): Likewise.
From-SVN: r104746
2005-09-28 22:46:48 +00:00
Paul Brook
107bcc1133
fpgnulib.c (__extendsfdf2, [...]): Handle denormals.
...
2005-09-28 Paul Brook <paul@codesourcery.com>
* config/m68k/fpgnulib.c (__extendsfdf2, __truncdfsf2): Handle
denormals.
From-SVN: r104745
2005-09-28 22:12:55 +00:00
David Daney
e7d15badcc
* HACKING: Update instructions for classpath import.
...
From-SVN: r104744
2005-09-28 21:43:23 +00:00
Richard Guenther
9b14a362a3
re PR tree-optimization/23853 (ICE: in tree_low_cst, at tree.c:4270)
...
2005-09-28 Richard Guenther <rguenther@suse.de>
PR tree-optimization/23853
* tree-vect-analyze.c (vect_compute_data_ref_alignment): Use
host_integerp to verify misalignment value.
From-SVN: r104743
2005-09-28 21:30:40 +00:00
Mark Mitchell
75b1574e5a
* g++.dg/opt/pr19650.C: Use -w -fpermissive.
...
From-SVN: r104742
2005-09-28 20:43:47 +00:00
Richard Henderson
02ee605c6c
builtins.c (get_builtin_sync_mode): New.
...
* builtins.c (get_builtin_sync_mode): New.
(expand_builtin_sync_operation): Pass in mode argument.
(expand_builtin_compare_and_swap): Likewise.
(expand_builtin_lock_test_and_set): Likewise.
(expand_builtin_lock_release): Likewise.
(expand_builtin): Update to match.
From-SVN: r104741
2005-09-28 11:16:54 -07:00
Nick Clifton
7d866c52c5
config/v850/v850.h (GO_IF_LEGITIMATE_ADDRESS): Tidy up formatting.
...
Add check to PLUS case to ensure that the offset is within an acceptable range.
config/v850/v850.md (casesi): Disable the generation of the switch pattern as
it is not being handled properly at the moment.
From-SVN: r104736
2005-09-28 15:56:53 +00:00
Mark Mitchell
9f4a5c9a63
re PR c++/16782 (Accepts qualified member function declaration in class)
...
PR c++/16782
* decl.c (grokdeclarator): Always pedwarn about overqualified
member names.
PR c++/16782
* g++.dg/parse/qualified4.C: New test.
* g++.old-deja/g++.law/static-mem5.C: Use -w -fpermissive.
* g++.old-deja/g++.mike/p8154.C: Likewise.
From-SVN: r104733
2005-09-28 14:50:17 +00:00