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
Nick Clifton
1b0792ddf7
config/v850/lib1funcs.asm (___ucmpdi2): Correct jump instruction for when the
...
high words are identical.
From-SVN: r104730
2005-09-28 09:32:54 +00:00
Richard Henderson
241de8a07a
* pretty-print.c (pp_base_format): Fix typo for %>.
...
From-SVN: r104728
2005-09-27 23:53:12 -07:00
GCC Administrator
7797e3385c
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r104716.2
2005-09-28 00:16:17 +00:00
Mark Mitchell
c43e95f8f5
re PR c++/22147 (ICE in get_bindings)
...
PR c++/22147
* name-lookup.c (maybe_process_template_type_declaration): Don't
treat forward declarations of classes as templates just because
we're processing_template_decl.
* pt.c (tsubst_decl): Clear DECL_TEMPLATE_INFO for friend
functions.
PR c++/22147
* g++.dg/template/friend37.C: New test.
* g++.dg/parse/crash28.C: Adjust error markers.
From-SVN: r104713
2005-09-27 23:31:57 +00:00
Jakub Jelinek
57f0d086d5
re PR fortran/18518 (equivalenced variables are not saved)
...
PR fortran/18518
* trans-common.c (build_equiv_decl): Add IS_SAVED argument.
If it is true, set TREE_STATIC on the decl.
(create_common): If any symbol in equivalence has SAVE attribute,
pass true as last argument to build_equiv_decl.
* gfortran.fortran-torture/execute/save_2.f90: New decl.
From-SVN: r104712
2005-09-27 23:46:14 +02:00
Devang Patel
93954fcc89
re PR tree-optimization/23625 (ICE: in bsi_after_labels, at tree-flow-inline.h:758)
...
PR tree-optimization/23625
* tree-flow-inline.h (bsi_after_labels): Remove, first statement is
LABEL_EXPR, assertion check.
* gcc.dg/PR23625.c: New test.
From-SVN: r104711
2005-09-27 14:44:55 -07:00
Steve Ellcey
118ea208fa
re PR target/23552 (FAIL: gfortran.dg/large_real_kind_1.f90)
...
PR target/23552
* acinclude.m4 (LIBGFOR_CHECK_FOR_BROKEN_ISFINITE): New.
(LIBGFOR_CHECK_FOR_BROKEN_ISNAN): New.
(LIBGFOR_CHECK_FOR_BROKEN_FPCLASSIFY): New.
* configure.ac (LIBGFOR_CHECK_FOR_BROKEN_ISFINITE): Add use.
(LIBGFOR_CHECK_FOR_BROKEN_ISNAN): Add use.
(LIBGFOR_CHECK_FOR_BROKEN_FPCLASSIFY): Add use.
* configure: Regenerate.
* config.h.in: Regenerate.
* libgfortan.h (isfinite): undef if broken, set if needed.
(isnan): undef if broken, set if needed.
(fpclassify): undef if broken, set if needed.
* io/write.c: Remove TODO comment about working isfinite.
* intrinsics/c99_functions.c (round): Use isfinite instead
of fpclassify.
* intrinsics/c99_functions.c (roundf): Ditto.
From-SVN: r104710
2005-09-27 21:12:52 +00:00
J"orn Rennecke
ca7a5aec06
optabs.c (no_conflict_move_test): Check if a result of a to-be-moved insn would be clobbered by an originally...
...
* optabs.c (no_conflict_move_test): Check if a result of a
to-be-moved insn would be clobbered by an originally
preceding insn.
From-SVN: r104709
2005-09-27 22:09:28 +01:00