Commit Graph

62841 Commits

Author SHA1 Message Date
Eric Botcazou
1e02510f05 re PR other/18138 (libgcc_s.so.1 not found by 64-bit testsuite)
gcc/testsuite:
	PR other/18138
	* lib/g++.exp: Accept more than one multilib libgcc.
	* lib/gcc-dg.exp: Likewise.
	* lib/objc.exp: Likewise.
	* lib/treelang.exp: Likewise.
	* lib/gfortran.exp: Likewise.

libffi:
	PR other/18138
	* testsuite/lib/libffi-dg.exp: Accept more than one multilib
	libgcc.

libjava:
	PR other/18138
	* testsuite/lib/libjava.exp: Accept more than one multilib
	libgcc.

libmudflap!:
	PR other/18138
	* testsuite/lib/libmudflap.exp: Accept more than one multilib
	libgcc.

libstdc++-v3:
	PR other/18138
	* testsuite/lib/libstdc++.exp: Accept more than one multilib
	libgcc.

From-SVN: r89528
2004-10-25 09:01:15 +00:00
Kazuhiro Inaoka
d9a193b251 (FFII_CLOSURES): Set to 0.
From-SVN: r89527
2004-10-25 08:55:44 +00:00
Paolo Carlini
ec61e852bc basic_string.h (_Rep::_M_is_safe, [...]): New, use througout.
2004-10-25  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/basic_string.h (_Rep::_M_is_safe, _M_check_length,
	_M_move, _M_copy, _M_assign): New, use througout.
	(operator+=(_CharT)): Define in terms of push_back.
	(append(const basic_string&)): Define here, inline, and simplify,
	don't use the full _M_replace_safe.
	(append(size_type, _CharT)): Likewise, don't use _M_replace_aux.
	(push_back): Likewise.
	(assign(const basic_string&)): Define here, inline.
	* include/bits/basic_string.tcc (append(const _CharT* s, size_type):
	Fix: when s points inside the _Rep, upon reallocation (reserve) we
	were copying from deallocated memory.
	(append(const basic_string&, size_type, size_type)): Simplify,
	don't use _M_replace_safe.
	(replace(size_type, size_type, const _CharT*, size_type)): Slightly
	tweak.
	(reserve): Likewise.
	* testsuite/21_strings/basic_string/append/char/2.cc: New.
	* testsuite/21_strings/basic_string/append/char/3.cc: Likewise.
	* testsuite/21_strings/basic_string/append/wchar_t/2.cc: Likewise.
	* testsuite/21_strings/basic_string/append/wchar_t/3.cc: Likewise.

	* testsuite/21_strings/basic_string/assign/char/3.cc: Remove junk.
	* testsuite/21_strings/basic_string/assign/wchar_t/3.cc: Likewise.

From-SVN: r89526
2004-10-25 08:45:04 +00:00
Alexandre Oliva
4318d4a1b6 * config/frv/linux.h (TARGET_C99_FUNCTIONS): Define to 0.
From-SVN: r89525
2004-10-25 08:35:34 +00:00
Alexandre Oliva
a6cb87fba6 frv.md (movdi, movdf): Handle wide-constant splits with wider-than-32-bit HOST_WIDE_INTs.
* config/frv/frv.md (movdi, movdf): Handle wide-constant splits
with wider-than-32-bit HOST_WIDE_INTs.

From-SVN: r89524
2004-10-25 08:33:04 +00:00
David Billinghurst
4de3d01180 2004-10-25 David Billinghurst <David.Billinghurst@riotinto.com
* config/mips/mips.c(mips_output_filename): Remove unused
	array ltext_label_name

From-SVN: r89522
2004-10-25 06:14:33 +00:00
Ben Elliston
f47b662edb * cfgcleanup.c (outgoing_edges_match): Fix typo in dump output.
From-SVN: r89521
2004-10-25 14:23:49 +10:00
James A. Morrison
04972521bb treetree.c (tree_code_generate_return): Wrap param declaration in ENABLE_CHECKING.
2004-10-24  James A. Morrison  <phython@gcc.gnu.org>

        * treetree.c (tree_code_generate_return): Wrap param declaration in
        ENABLE_CHECKING.

From-SVN: r89520
2004-10-25 03:03:24 +00:00
Geoffrey Keating
c8529ffa5b * config/rs6000/darwin.h (BLOCK_REG_PADDING): Define.
From-SVN: r89519
2004-10-25 02:03:50 +00:00
Ben Elliston
a304f64e16 * cfgcleanup.c (outgoing_edges_match): Fix typo in dump output.
From-SVN: r89518
2004-10-25 10:29:02 +10:00
Ben Elliston
f3515059ee * gcc.dg/c90-const-expr-3.c: Reference the ISO C standard.
From-SVN: r89517
2004-10-25 10:17:07 +10:00
GCC Administrator
dc717146f2 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r89515.2
2004-10-25 00:16:17 +00:00
GCC Administrator
e15ffffa4b Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r89514.2
2004-10-25 00:16:12 +00:00
Geoffrey Keating
c94ac97d33 Correct e-mail address on last change.
From-SVN: r89512
2004-10-24 22:06:36 +00:00
Geoffrey Keating
8b45dc77de c90-const-expr-3.c: xfail all the ASSERT_NOT_NPC tests.
* gcc.dg/c90-const-expr-3.c: xfail all the ASSERT_NOT_NPC tests.
	* gcc.dg/c99-const-expr-3.c: Likewise.

From-SVN: r89511
2004-10-24 20:59:29 +00:00
Andrew Pinski
711a89d6e0 predict.c (predict_loops): Call scev_finalize instead of scev_reset.
2004-10-23  Andrew Pinski  <pinskia@physics.uc.edu>

        * predict.c (predict_loops): Call scev_finalize instead of
        scev_reset.

From-SVN: r89504
2004-10-23 18:46:38 -07:00
Kazu Hirata
92453b2172 dbxcoff.h, [...]: Update copyright.
* config/dbxcoff.h, config/dbxelf.h, config/libgloss.h,
	config/openbsd.h, config/mips/r3900.h, config/pdp11/pdp11.md,
	config/sh/ushmedia.h, config/sparc/elf.h,
	config/sparc/sp64-elf.h: Update copyright.

From-SVN: r89503
2004-10-24 01:42:49 +00:00
Kazu Hirata
4e0148df67 stmt.c (expand_case): Handle the default label outside of the for loop.
* stmt.c (expand_case): Handle the default label outside of
	the for loop.  Remove code to handle a missing default label.

From-SVN: r89502
2004-10-24 00:46:10 +00:00
GCC Administrator
545b6261a4 Daily bump.
From-SVN: r89500
2004-10-24 00:16:10 +00:00
Kazu Hirata
d0ed471f09 dbxout.c (dbxout_function_decl): Don't use DBX_OUTPUT_FUNCTION_END.
* dbxout.c (dbxout_function_decl): Don't use
	DBX_OUTPUT_FUNCTION_END.
	* system.h: Poison DBX_OUTPUT_FUNCTION_END.
	* doc/tm.texi (DBX_OUTPUT_FUNCTION_END): Remove.

From-SVN: r89496
2004-10-23 20:31:24 +00:00
Daniel Jacobowitz
fc45f3fed5 configure.in: Use an absolute path to install-sh.
* configure.in: Use an absolute path to install-sh.
	* configure: Regenerated.

From-SVN: r89495
2004-10-23 20:28:46 +00:00
Michael Koch
b1a70a1a82 DocFlavor.java, [...]: Added missing constants.
2004-10-23  Michael Koch  <konqueror@gmx.de>

	* javax/print/DocFlavor.java,
	javax/print/attribute/standard/JobStateReason.java,
	javax/print/attribute/standard/MultipleDocumentHandling.java:
	Added missing constants.

From-SVN: r89494
2004-10-23 20:06:12 +00:00
Andrew Pinski
ed3eaab807 deallocate_global-2.c: s/value_t/value_type/.
2004-10-23  Andrew Pinski  <pinskia@physics.uc.edu>

        * testsuite/ext/mt_allocator/deallocate_global-2.c:
        s/value_t/value_type/. s/traits_t/traits_type/.
        s/policy_t/policy_type/. s/allocator_t/allocator_type/.
        s/string_t/string_type/. s/list_t/list_type/.
        * testsuite/ext/mt_allocator/deallocate_global-4.cc: Likewise.
        * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Likewise.
        * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Likewise.
        * testsuite/ext/mt_allocator/deallocate_local-2.cc: Likewise.
        * testsuite/ext/mt_allocator/deallocate_local-4.cc: Likewise.
        * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Likewise.
        * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Likewise.

From-SVN: r89493
2004-10-23 12:41:06 -07:00
Andrew Pinski
66174cd035 re PR middle-end/17967 (Expand is considered slower? (remove_useless_stmts is considered part of expand))
2004-10-23  Andrew Pinski  <pinskia@physics.uc.edu>

        PR middle-end/17967
        * tree-cfg.c (remove_usless_stmts_cond):  Don't Fold statement.

From-SVN: r89492
2004-10-23 12:17:08 -07:00
Daniel Berlin
84dd478f2b tree-ssa-dom.c (record_equality): Use loop depth to determine which way to record the equality as well.
2004-10-23  Daniel Berlin  <dberlin@dberlin.org>

	* tree-ssa-dom.c (record_equality): Use loop depth to determine
	which way to record the equality as well.
	(loop_depth_of_name): New function.

From-SVN: r89491
2004-10-23 18:00:01 +00:00
Andrew Pinski
ee742c05a2 loop-1.c: Add -static for *-*-darwin*.
2004-10-23  Andrew Pinski  <pinskia@physics.uc.edu>.

        * gcc.dg/tree-ssa/loop-1.c: Add -static for *-*-darwin*.

From-SVN: r89489
2004-10-23 08:53:06 -07:00
Eric Botcazou
918047526d re PR middle-end/17793 (Ada bootstrap failure)
PR middle-end/17793
	* gimplify.c (gimplify_addr_expr) <VIEW_CONVERT_EXPR>: Look
	through the operand if it is a useless type conversion.

From-SVN: r89488
2004-10-23 09:16:46 +00:00
R. Kelley Cook
757f86d6a4 Ignore autom4te.cache
From-SVN: r89486
2004-10-23 02:34:54 +00:00
GCC Administrator
f38b1cee95 Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r89484.2
2004-10-23 00:16:25 +00:00
GCC Administrator
0f051780fa Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r89483.2
2004-10-23 00:16:21 +00:00
Ben Elliston
865851d0dc cfg.c (remove_edge): Use VEC_unordered_remove.
* cfg.c (remove_edge): Use VEC_unordered_remove.
	(redirect_edge_succ): Likewise.
	(redirect_edge_pred): Likewise.
	* cfgrtl.c (force_nonfallthru_and_redirect): Likewise.

From-SVN: r89480
2004-10-23 08:55:47 +10:00
Ben Elliston
fef62f0370 * gcc.c-torture/execute/loop-2e.x: Remove.
From-SVN: r89479
2004-10-23 08:34:18 +10:00
Tom Tromey
aced40e999 Connection.java (sendRequest): Fix typo.
* gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
	typo.

From-SVN: r89477
2004-10-22 21:15:38 +00:00
Michael Koch
7758f90a45 re PR libgcj/14009 (libgcj HttpURLConnection does not handle situation where retrieving url without trailing slash after domain.)
2004-10-22  Michael Koch  <konqueror@gmx.de>

	PR libjava/14009
	* gnu/java/net/protocol/http/Connection.java
	(sendRequest): Handle case when url.getFile() returns an empty string.

From-SVN: r89476
2004-10-22 20:23:21 +00:00
Kazu Hirata
eb84665417 sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Don't access PTR beyond its end.
* sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Don't access PTR
	beyond its end.

From-SVN: r89475
2004-10-22 19:48:43 +00:00
Eric Christopher
94ff898d42 rs6000.c (setup_incoming_varargs): Align DFmode saves.
2004-10-22  Eric Christopher  <echristo@redhat.com>

        * config/rs6000/rs6000.c (setup_incoming_varargs): Align DFmode
	saves.

From-SVN: r89474
2004-10-22 19:44:48 +00:00
Aldy Hernandez
7a2f787061 spe.md (spe_extendsfdf2): New.
* config/rs6000/spe.md (spe_extendsfdf2): New.
	(movdf_e500_double): New.
	(spe_truncdfsf2): New.
	(spe_absdf2): New.
	(spe_nabsdf2): New.
	(spe_negdf2): New.
	(sub_adddf3): New.
	(spe_subdf3): New.
	(spe_muldf3): New.
	(spe_floatsidf2): New.
	(spe_floatunssidf2): New.
	(fix_truncdfsi2): New.
	(spe_fixuns_truncdfsi2): New.

	* config/rs6000/rs6000.md (truncdfsf2): Change to expander.
	(fpr_truncdfsf2): New.
	(negdf2): Change to expander.
	(fpr_negdf2): New.
	(fpr_nabsdf2): Name pattern.
	(adddf3): Change to expander.
	(fpr_adddf3): Nem.
	(subdf3): Change to expander.
	(fpr_subdf3): New.
	(muldf3): Change to expander.
	(fpr_muldf3): New.
	(divdf3): Change to expander.
	(fpr_divdf3): New.
	(movdf_softfloat32): Change !TARGET_FPRS to TARGET_E500_SINGLE.
	(cmpdf): Allow for TARGET_E500_DOUBLE.

From-SVN: r89472
2004-10-22 19:41:58 +00:00
Kazu Hirata
3a6210c52f c-semantics.c (re_push_stmt_list): Remove.
* c-semantics.c (re_push_stmt_list): Remove.
	* c-common.h: Remove the corresponding prototype.

From-SVN: r89468
2004-10-22 18:54:25 +00:00
Kazu Hirata
11901f5dcc stmt.c (asm_op_is_mem_input): Remove.
* stmt.c (asm_op_is_mem_input): Remove.
	* tree.h: Remove the corresponding prototype.

From-SVN: r89467
2004-10-22 18:52:19 +00:00
Kazu Hirata
82338042c0 tree-gimple.c (is_gimple_constructor_elt): Remove.
* tree-gimple.c (is_gimple_constructor_elt): Remove.
	* tree-gimple.h: Remove the corresponding prototype.

From-SVN: r89466
2004-10-22 18:50:34 +00:00
Kazu Hirata
4fe8591b52 varasm.c (get_pool_mode_for_function, [...]): Remove.
* varasm.c (get_pool_mode_for_function, get_pool_offset):
	Remove.
	* rtl.h: Remove the corresponding prototypes.

From-SVN: r89465
2004-10-22 18:48:15 +00:00
Kazu Hirata
385efa80b7 tree-cfg.c (thread_jumps_from_bb): Speed up by extracting edge information when...
* tree-cfg.c (thread_jumps_from_bb): Speed up by extracting
	edge information when we commit ourselves to threading a
	particular jump.

From-SVN: r89462
2004-10-22 17:59:50 +00:00
Kazu Hirata
afc3f39603 tree-cfg.c (thread_jumps): Speed up by putting basic blocks into worklist instead of their indexes.
* tree-cfg.c (thread_jumps): Speed up by putting basic blocks
	into worklist instead of their indexes.

From-SVN: r89461
2004-10-22 17:56:04 +00:00
Michael Koch
7651d1b89e Fixed ChangeLog entry of my last commit.
From-SVN: r89455
2004-10-22 17:16:28 +00:00
Michael Koch
0460023ee2 2004-10-22 Michael Koch <konqueror@gmx.de>
* java/lang/Math.java
	* java/lang/StackTraceElement.java
	* java/nio/Buffer.java
	* java/nio/ByteBuffer.java
	* java/nio/CharBuffer.java
	* java/nio/DoubleBuffer.java
	* java/nio/FloatBuffer.java
	* java/nio/IntBuffer.java
	* java/nio/LongBuffer.java
	* java/nio/ShortBuffer.java
	* java/nio/charset/Charset.java
	* java/rmi/server/RMIClassLoader.java
	* java/rmi/server/RMISocketFactory.java
	* java/security/Policy.java
	* java/text/ChoiceFormat.java
	* java/text/CollationElementIterator.java
	* java/text/DateFormat.java
	* java/text/DecimalFormat.java
	* java/text/DecimalFormatSymbols.java
	* java/text/MessageFormat.java
	* java/text/NumberFormat.java
	* java/text/RuleBasedCollator.java
	* java/text/SimpleDateFormat.java
	* java/util/BitSet.java
	* java/util/Calendar.java
	* java/util/Collections.java
	* java/util/IdentityHashMap.java
	* java/util/Locale.java
	* java/util/TreeMap.java
	* java/util/logging/LogRecord.java
	* java/util/logging/XMLFormatter.java
	* java/util/prefs/AbstractPreferences.java
	* java/util/prefs/Preferences.java
	* javax/crypto/interfaces/DHPrivateKey.java
	* javax/crypto/interfaces/DHPublicKey.java
	* javax/crypto/interfaces/PBEKey.java
	* javax/net/ssl/HandshakeCompletedEvent.java
	* javax/security/auth/Subject.java

From-SVN: r89454
2004-10-22 17:14:29 +00:00
Kazu Hirata
471854f82a alias.c, [...]: Fix comment formatting.
* alias.c, basic-block.h, cgraphunit.c, combine.c, domwalk.h,
	final.c, gengtype.c, genpreds.c, ggc-page.c, insn-notes.def,
	lambda-code.c, loop-unroll.c, modulo-sched.c, pointer-set.c,
	pretty-print.c, ra-colorize.c, sbitmap.c, tree-complex.c,
	tree-data-ref.c, tree-dfa.c, tree-inline.c, tree-into-ssa.c,
	tree-scalar-evolution.c, tree-ssa-dom.c,
	tree-ssa-loop-manip.c, tree-ssa-loop-niter.c,
	tree-ssa-phiopt.c, tree-ssa-pre.c, tree-ssa-threadupdate.c,
	tree-vectorizer.c, vec.h: Fix comment formatting.

From-SVN: r89453
2004-10-22 17:05:11 +00:00
Ulrich Weigand
969def5539 * gnu/java/net/natPlainSocketImplPosix.cc
(gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
	with 'int *' argument instead of 'long *'.

From-SVN: r89450
2004-10-22 15:27:04 +00:00
Kazu Hirata
279b5b3c95 dwarf.h, [...]: Update copyright.
* dwarf.h, gthr-dce.h, gthr-single.h, gthr-solaris.h, gthr.h,
	libfuncs.h, libgcc2.h, stab.def, tsystem.h: Update copyright.

From-SVN: r89446
2004-10-22 15:03:23 +00:00
Eric Botcazou
e063dbf8f7 re PR java/17265 (Libjava doesn't build)
PR java/17265
	* class.c (make_local_function_alias): Revert 2004-08-18 change.
	(make_method_value): Likewise.

From-SVN: r89443
2004-10-22 14:30:37 +00:00
Kazu Hirata
8638a0f819 ptx4.h, [...]: Update copyright.
* config/ptx4.h, config/mcore/mcore-pe.h,
	config/rs6000/eabi.h, config/vax/elf.h: Update copyright.

From-SVN: r89442
2004-10-22 14:22:50 +00:00