Commit Graph

40874 Commits

Author SHA1 Message Date
Ulrich Weigand
13e58269a6 s390.c (pool_stop_uid, [...]): Delete.
* config/s390/s390.c (pool_stop_uid, other_chunk, far_away,
	check_and_change_labels, s390_final_chunkify): Delete.
	(s390_split_branches, s390_chunkify_pool): New functions.
	(s390_function_prologue): Call them.

	* config/s390/s390.h (S390_REL_MAX): Delete.
	(S390_CHUNK_MAX, S390_CHUNK_OV): Adjust values.

	* config/s390/s390.md (cjump, icjump, jump): Fix length
	attribute calculation.

From-SVN: r49797
2002-02-15 23:30:03 +00:00
David Edelsohn
34d1b01d2e linux64.h (STRIP_NAME_ENCODING): Delete.
* config/rs6000/linux64.h (STRIP_NAME_ENCODING): Delete.
        * config/rs6000/ppc-asm.h (JUMP_TARGET): Define for powerpc64.

From-SVN: r49796
2002-02-15 16:04:53 -05:00
John David Anglin
be5cc51a9b gcc.c (init_gcc_specs): Revert patch from 2002-02-15.
* gcc.c (init_gcc_specs): Revert patch from 2002-02-15.
	* config/pa/pa-linux.h (LIB_SPEC): Likewise.
	* config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Likewise.

From-SVN: r49794
2002-02-15 19:11:01 +00:00
Richard Sandiford
aa42eef159 * gcc.dg/attr-nest.c: New test.
From-SVN: r49792
2002-02-15 16:11:10 +00:00
Richard Sandiford
ee96ce90ca * c-decl.c (grokdeclarator): Prevent a segfault on unnamed decls.
From-SVN: r49791
2002-02-15 16:08:21 +00:00
Richard Sandiford
0b6e58fd6f * gcc.c-torture/execute/20020215-1.c: New test.
From-SVN: r49788
2002-02-15 12:21:00 +00:00
Richard Sandiford
05fa709d38 reload.c (find_dummy_reload): Check that an output register is valid for its mode.
* reload.c (find_dummy_reload): Check that an output register
	is valid for its mode.

From-SVN: r49787
2002-02-15 12:18:49 +00:00
GCC Administrator
6d010d53c1 Daily bump.
From-SVN: r49785
2002-02-15 08:16:13 +00:00
Tom Tromey
ef9c7b8eed re PR libgcj/5695 (verify.cc test that target is an object before running down interfaces)
Fix for PR libgcj/5695:
	* verify.cc (is_assignable_from_slow): Check to see if target is
	an Object before checking to see if source is an interface.
	(verify_instructions_0) [op_invokeinterface]: Handle case where
	we're making an interface call on Object.

From-SVN: r49783
2002-02-15 06:55:42 +00:00
Bryce McKinlay
15b28697de Makefile.in: Rebuilt with Eric's change below.
* Makefile.in: Rebuilt with Eric's change below.

	* java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
	round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
	Removed functions which are now implemented in Math.java.

From-SVN: r49782
2002-02-15 05:53:29 +00:00
Eric Blake
2f999d0fe7 javaprims.h (java::lang): Add java::lang::StrictMath.
2002-02-14  Eric Blake  <ebb9@email.byu.edu>

	* gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
	* Makefile.am (core_java_source_files): Add
	java/lang/StrictMath.java.
	* java/lang/Math.java: Merge with Classpath.
	* java/lang/StrictMath.java: New file - merge with Classpath.

From-SVN: r49781
2002-02-15 03:21:47 +00:00
Benjamin Kosnik
37cea03434 linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
2002-02-14  Benjamin Kosnik  <bkoz@redhat.com>

	* config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
	Add typeinfo bits. Smooth.
	* aclocal.m4: Regenerate.
	* configure: Same.
	* src/Makefile.in: Same.

From-SVN: r49780
2002-02-15 02:21:33 +00:00
Mike Stump
a4993876dd Import bugfix.
From-SVN: r49779
2002-02-15 00:09:29 +00:00
Mark Wielaard
894286989e [multiple changes]
2002-02-14  Mark Wielaard  <mark@klomp.org>

    * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
    package as a workaround for gcj 3.0.x

2002-02-14  Mark Wielaard <mark@klomp.org>

    * java/security/BasicPermission.java: extends with fully qualified
    classname as workaround for gcj 3.0.4.

2002-02-14  Eric Blake  <ebb9@email.byu.edu>

    * java/net/DatagramSocketImpl.java (setOption, getOption): Work
    around gcj bug of wrong emitted qualifier for inherited method.
    * java/net/SocketImpl.java (setOption, getOption): Ditto.
    * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
    constructor to reduce amount of emitted bytecode. While this
    happens to work around a jikes 1.15 bug, it is still a useful
    patch even for correct compilers.
    * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
    * gnu/java/rmi/server/UnicastRemoteCall.java
    (DummyObjectOutputStream, DummyObjectInputStream): Ditto.

2002-02-14  Eric Blake  <ebb9@email.byu.edu>

    * java/net/DatagramSocketImpl.java: Reformat (no code changes).
    * java/net/SocketImpl.java: Ditto.
    * java/rmi/server/RMIClassLoader.java: Ditto.
    * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.

2002-02-14  Mark Wielaard <mark@klomp.org>

    Thanks to Takashi Okamoto
    * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
    * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
    * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().

From-SVN: r49778
2002-02-14 23:16:11 +00:00
Alexandre Oliva
9a360704f9 combine.c (known_cond): After replacing the REG of a SUBREG, try to simplify it.
* combine.c (known_cond): After replacing the REG of a SUBREG, try
to simplify it.

From-SVN: r49775
2002-02-14 19:30:42 +00:00
Alexandre Oliva
4606272bc4 function.c (assign_parms): Demote promoted argument passed by transparent reference.
* function.c (assign_parms): Demote promoted argument passed by
transparent reference.

From-SVN: r49774
2002-02-14 19:27:21 +00:00
Joel Sherrill
0b46224d2b atomicity.h: Corrected for RTEMS targets which do not have a CAS instruction.
2001-02-14	Joel Sherrill <joel@OARcorp.com>

	* config/cpu/m68k/bits/atomicity.h: Corrected for RTEMS targets which
	do not have a CAS instruction.

From-SVN: r49772
2002-02-14 18:57:38 +00:00
Joel Sherrill
e62d89a165 rtems-elf.h, rtems.h: Removed redundant -Acpu() and -Amachine() to eliminate warnings.
2001-02-14	Joel Sherrill <joel@OARcorp.com>

	* config/arm/rtems-elf.h, config/h8300/rtems.h: Removed redundant
	-Acpu() and -Amachine() to eliminate warnings.

From-SVN: r49771
2002-02-14 18:52:22 +00:00
Phil Edwards
530539d9d9 acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
2002-02-14  Phil Edwards  <pme@gcc.gnu.org>

	* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS):  New macro, initial revision.
	* configure.in:  Call it.
	* config/linker-map.gnu:  New file, initial incomplete revision.
	* src/Makefile.am:  Optionally pass version script to the linker.
	* aclocal.m4:  Regenerate.
	* configure:  Regenerate.
	* src/Makefile.in:  Regenerate.

From-SVN: r49770
2002-02-14 18:24:13 +00:00
Todd Stock
30fbb95c05 re PR libgcj/5670 (verify.cc not properly merging states)
2002-02-13  Todd Stock  <toddastock@yahoo.com>

	Fix for PR libgcj/5670:
	* verify.cc (is_assignable_from_slow): If `source' is interface,
	recursively look for merge with `target'.

From-SVN: r49769
2002-02-14 17:48:36 +00:00
Ulrich Weigand
6c4cf6956e * config/s390/linux.h (ASM_OUTPUT_ALIGNED_BSS): New.
From-SVN: r49768
2002-02-14 16:39:23 +00:00
Martin Kahlert
aeb4ed4614 jni.h: Fix typo.
2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>

	* include/jni.h: Fix typo.

From-SVN: r49767
2002-02-14 15:42:37 +00:00
Jakub Jelinek
333ce3a767 dg.exp: Exclude debug subdir, it has its own .exp.
* g++.dg/dg.exp: Exclude debug subdir, it has its own .exp.
	* g++.dg/debug/debug.exp: New.
	* g++.dg/debug/trivial.C: New.
	* g++.dg/debug/debug1.C: Moved...
	* g++.dg/other/debug1.C: ...from here.
	* g++.dg/debug/debug2.C: Moved...
	* g++.dg/other/debug2.C: ...from here.
	* g++.dg/debug/debug3.C: Moved...
	* g++.dg/other/debug3.C: ...from here.

From-SVN: r49766
2002-02-14 15:17:42 +01:00
Kazu Hirata
037f11ef74 h8300-protos.h: Update the prototype for const_costs.
* config/h8300/h8300-protos.h: Update the prototype for
	const_costs.
	* config/h8300/h8300.c (const_costs): Treat SET as a little
	more expensive operation.
	* config/h8300/h8300.h (DEFAULT_RTX_COSTS): Update the
	reference to const_costs.

From-SVN: r49765
2002-02-14 13:25:30 +00:00
Hans-Peter Nilsson
fdc76b0969 * config.gcc (c4x-*-rtems*): Fix typo in tm_file setting.
From-SVN: r49764
2002-02-14 11:08:57 +00:00
Jakub Jelinek
d76e68001b re PR c/5503 (GCC ignores prototype)
PR c/5503:
	* c-decl.c (duplicate_decls): If builtin type has TYPE_ARG_TYPES NULL,
	use arguments from newtype.

	* gcc.dg/noncompile/20020213-1.c: New test.

From-SVN: r49763
2002-02-14 11:22:53 +01:00
GCC Administrator
2a5e0aeacd Daily bump.
From-SVN: r49762
2002-02-14 08:16:54 +00:00
Toon Moene
7bc195dde3 news.texi: List Problem Reports fixed in 3.1.
2002-02-13  Toon Moene  <toon@moene.indiv.nluug.nl>

	* news.texi: List Problem Reports fixed in 3.1.

From-SVN: r49760
2002-02-14 06:16:56 +00:00
Eric Christopher
5ae590d72b mips.c (override_options): Add check for march/mipsX on the same command line.
2002-02-13  Eric Christopher  <echristo@redhat.com>

	* config/mips/mips.c (override_options): Add check for march/mipsX
	on the same command line. Fix error message in cpu processing.
	Remove architecture and ISA checks.

From-SVN: r49759
2002-02-14 05:11:44 +00:00
Aldy Hernandez
b851369147 darwin.h (ROUND_TYPE_ALIGN): Adjust for vectors.
2002-02-13  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Adjust for vectors.

        * config/rs6000/sysv4.h (ROUND_TYPE_ALIGN): Add MAX.

From-SVN: r49758
2002-02-14 03:43:03 +00:00
Aldy Hernandez
78c875e81a rs6000.md ("*movv4si_internal"): Add m<-r and r<-r alternatives.
2002-02-14  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.md ("*movv4si_internal"): Add m<-r and r<-r
        alternatives.
        ("*movv8hi_internal1"): Same.
        ("*movv16qi_internal1"): Same.
        ("*movv4sf_internal1"): Same.

        * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do
        not push_reload for altivec modes.

From-SVN: r49757
2002-02-14 03:37:37 +00:00
Bryce McKinlay
b34223e5ac Removed .s files.
From-SVN: r49752
2002-02-14 00:09:23 +00:00
Joel Sherrill
f22b4bc43d config.gcc (a29k-*-rtems): General cleanup across all RTEMS targets...
2002-02-13	Joel Sherrill <joel@OARcorp.com>

	* config.gcc (a29k-*-rtems), config/a29k/rtems.h: General cleanup across
	all RTEMS targets including removal of #includes from config/*/rtems*.h
	file and adding them to tm_file setting. Added xm_defines=POSIX to
	many targets.
	* config.gcc (c4x-*-rtems), config/c4x/rtems.h: Ditto.
	* config.gcc (h8300-*-rtems), config/h8300/rtems.h: Ditto.
	* config.gcc (hppa1.1-*-rtems), config/pa/rtems.h: Ditto.
	* config.gcc (i960-*-rtems), config/i960/rtems.h: Ditto.
	* config.gcc (m68k-*-rtems*), config/m68k/rtems.h,
	config/m68k/rtemself.h: Ditto.
	* config.gcc (mips*-*-rtems*), config/mips/rtems.h,
	config/mips/rtems64.h: Ditto.
	* config.gcc (powerpc-*-rtems*), config/rs6000/rtems.h: Ditto.
	* config.gcc (sh-*-rtems*), config/sh/rtems.h, config/sh/rtemself.h:
	Ditto.
	* config.gcc (sparc-*-rtems*), config/sparc/rtems.h,
	config/sparc/rtemself.h: Ditto.
	* config.gcc (v850-*-rtems*), config/v850/rtems.h: Ditto.
	* config.gcc (arm-rtems), config/arm/rtems-elf.h: Ditto plus moved
	arm-rtems stanza closer to other arm-elf targets and made arm-rtems
	more like arm-elf.
	* config.gcc (i[34567]86-*-rtems*), config/i386/djgpp-rtems.h,
	config/i386/rtems.h, config/i386/rtemself.h: Ditto plus i386-rtemself
	target made more similar to i386-elf.
	* config/i386/t-rtems-i386: Added soft float support and multilibs.
	* config/m68k/t-m68kbare: Add 68040 and 68060 as multilib alternatives to
	be similar to config/m68k/t-m68kelf.
	* gthr-rtems.h: Encapsulate with extern "C" for C++.

From-SVN: r49749
2002-02-13 22:49:03 +00:00
Jan Hubicka
8686336f51 * regmove.c (kill_value): Handle subregs.
From-SVN: r49748
2002-02-13 22:44:12 +00:00
Jan Hubicka
558740bf3d i386.md (mul patterns): Allow memory operand to be first; add expanders where needed; fix constraints.
* i386.md (mul patterns): Allow memory operand to be first;
	add expanders where needed; fix constraints.
	(min?f_nonieee, max?f_nonieee, SSE TImode patterns):
	Allow memory operand to be the first.

	* i386.c (ix86_prepare_fp_compare_args): Fix condition for swapping
	operands.

From-SVN: r49747
2002-02-13 22:35:54 +00:00
Jakub Jelinek
21117a1708 re PR c/5681 (gcc 3.0.3 produces wrong assembler code)
PR c/5681:
	* expr.c (safe_from_p): Pass VOIDmode to true_dependence instead of
	GET_MODE (x).

	* gcc.c-torture/execute/20020213-1.c: New test.

From-SVN: r49746
2002-02-13 22:49:32 +01:00
Jakub Jelinek
ec65b2e3da re PR rtl-optimization/5547 (g++ 3.1 crash in output_operand)
PR optimization/5547:
	* config/i386/i386.c (i386_simplify_dwarf_addr): Simplify
	all valid IA-32 address modes involving non-scaled %ebx and
	GOT/GOTOFF as displacement.

	* g++.dg/other/debug3.C: New test.

From-SVN: r49745
2002-02-13 22:46:22 +01:00
Richard Smith
658311e053 * g++.old-deja/g++.other/thunk1.C: New test.
From-SVN: r49743
2002-02-13 20:59:37 +00:00
Benjamin Kosnik
8dba028f10 localename.cc: Remove stdexcept include.
2002-02-13  Benjamin Kosnik  <bkoz@redhat.com>

	* src/localename.cc: Remove stdexcept include.
	* src/locale-inst.cc: Same.
	* src/locale.cc: Same.
	* src/functexcept.cc: Remove string includes.
	* include/std/std_bitset.h: Remove stdexcept include.
	* testsuite/23_containers/bitset_members.cc: Add stdexcept.

From-SVN: r49740
2002-02-13 18:29:12 +00:00
Ulrich Weigand
ce50cae8cf s390.c (s390_final_chunkify): Re-run shorten_branches after emitting ltorg insns.
* config/s390/s390.c (s390_final_chunkify): Re-run shorten_branches
	after emitting ltorg insns.

	* config/s390/s390.md (*cmpdf_ccs_0, *cmpdf_ccs, *cmpsf_ccs_0,
	*cmpsf_ccs, truncdfsf2_ieee, *adddf3, *addsf3, *subdf3, *subsf3,
	*muldf3, *mulsf3, *divdf3, *divsf3, *negdf2, *negsf2, *absdf2,
	*abssf2): Fix "op_type" attribute.

From-SVN: r49739
2002-02-13 17:55:02 +00:00
Jason Merrill
57d5032b06 decl.c (builtin_function): Set TREE_THIS_VOLATILE on return fns.
* decl.c (builtin_function): Set TREE_THIS_VOLATILE on return fns.
        (finish_function): Don't warn if current_function_returns_null.

From-SVN: r49738
2002-02-13 12:36:20 -05:00
Martin Kahlert
c66b9fd97e jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned correctly.
2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>

	* jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
	correctly.

From-SVN: r49737
2002-02-13 17:34:52 +00:00
Jason Merrill
bb26522d7b * typeck2.c (digest_init): Do handle values of vector type.
From-SVN: r49736
2002-02-13 12:32:24 -05:00
Todd Stock
1eca751e4b re PR libgcj/5671 (verify.cc problem merging local variables)
2002-02-13  Todd Stock  <toddastock@yahoo.com>

	Fix for PR libgcj/5671:
	* verify.cc (state::merge): Handle case where we're merging
	against an interface.

From-SVN: r49735
2002-02-13 17:12:27 +00:00
Douglas B Rupp
2dbe67bbfa mkconfig.sh: Avoid using a subshell redirect.
* mkconfig.sh: Avoid using a subshell redirect.
	($output.T): Change to $(output)T.
	(ENABLE_NLS): Remove unneeded undef.

From-SVN: r49734
2002-02-13 10:37:41 -05:00
Douglas B Rupp
ea5b9a1fd2 vms.h (MD_EXEC_PREFIX, [...]): Define.
* config/alpha/vms.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define.
	* config/alpha/x-vms (libsubdir): Define.

From-SVN: r49733
2002-02-13 10:32:02 -05:00
Douglas B Rupp
3deb00ce32 vms.h (MD_FALLBACK_FRAME_STATE_FOR): Handle register frame procedures.
* config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Handle
	register frame procedures. Optimize retrieving context.

From-SVN: r49732
2002-02-13 10:19:27 -05:00
Douglas B Rupp
09eb789b6d t-vms (MULTILIB_OPTIONS): Define.
* config/alpha/t-vms (MULTILIB_OPTIONS): Define.
	(MULTILIB_DIRNAME, LIBGCC, INSTALL_LIBGCC): Likewise.
	* config/alpha/vms.h (ASM_FILE_START): Write .arch directive.

From-SVN: r49731
2002-02-13 10:14:49 -05:00
Richard Kenner
1abade8571 alias.c (find_base_term, [...]): Make same change as for find_base_value.
* alias.c (find_base_term, case ZERO_EXTEND, case SIGN_EXTEND):
	Make same change as for find_base_value.

From-SVN: r49730
2002-02-13 09:50:53 -05:00
Kazu Hirata
c283e63fe1 h8300.h (MODES_TIEABLE_P): Accept a combination of QImode and SImode.
* config/h8300/h8300.h (MODES_TIEABLE_P): Accept a combination
	of QImode and SImode.

From-SVN: r49729
2002-02-13 13:07:48 +00:00