Jan Hubicka [Mon, 18 Feb 2002 10:57:30 +0000 (11:57 +0100)]
* regrename.c (kill_set_value): Handle subregs properly.
From-SVN: r49838
GCC Administrator [Mon, 18 Feb 2002 08:16:15 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r49836
Bryce McKinlay [Mon, 18 Feb 2002 07:32:34 +0000 (07:32 +0000)]
natPlainDatagramSocketImpl.cc (bind): Call setsockopt to enable SO_BROADCAST.
2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
enable SO_BROADCAST.
From-SVN: r49835
Tom Tromey [Mon, 18 Feb 2002 04:55:07 +0000 (04:55 +0000)]
java-tree.h (TYPE_STRICTFP): New macro.
* java-tree.h (TYPE_STRICTFP): New macro.
(struct lang_type) [strictfp]: New field.
(CLASS_STRICTFP): New macro.
(METHOD_STRICTFP): New macro.
(struct lang_decl) [strictfp]: New field.
* parse.y (method_header): Disallow strictfp constructor or
abstract method.
(STRICT_TK): Move before MODIFIER_TK.
* parse.h (CLASS_MODIFIERS): Added ACC_STRICT.
(METHOD_MODIFIERS): Likewise.
(INTERFACE_MODIFIERS): Likewise.
* jcf-write.c (get_access_flags): Likewise.
* class.c (set_class_decl_access_flags): Recognize ACC_STRICT.
(add_method_1): Likewise.
(get_access_flags_from_decl): Likewise.
* jcf-dump.c (print_access_flags): Print in standard order. Also,
recognize strictfp flag.
* jcf.h (ACC_STRICT): New define.
From-SVN: r49834
David Billinghurst [Mon, 18 Feb 2002 03:54:30 +0000 (03:54 +0000)]
objc-act.c (handle_impent): Remove leading '*' from objc_class_name.
2002-02-18 David Billinghurst <David.Billinghurst@riotinto.com>
* objc/objc-act.c (handle_impent): Remove leading '*'
from objc_class_name.
From-SVN: r49833
Jason Merrill [Mon, 18 Feb 2002 03:15:44 +0000 (22:15 -0500)]
pt.c (do_type_instantiation): Don't pedwarn if in_system_header.
* pt.c (do_type_instantiation): Don't pedwarn if in_system_header.
(do_decl_instantiation): Likewise.
From-SVN: r49832
Bryce McKinlay [Mon, 18 Feb 2002 03:05:55 +0000 (03:05 +0000)]
err7.xfail: Removed.
* libjava.lang/err7.xfail: Removed.
* libjava.lang/err8.xfail: Removed.
From-SVN: r49831
Craig Rodrigues [Mon, 18 Feb 2002 03:00:38 +0000 (03:00 +0000)]
re PR c++/5685 (g++ 3.0.2 allows multiple identical declaration of default argument)
2002-02-17 Craig Rodrigues <rodrigc@gcc.gnu.org>
PR c++/5685
* decl.c (duplicate_decls): Make warning unconditional
if duplicate default argument declarations are present.
From-SVN: r49830
Jason Merrill [Mon, 18 Feb 2002 02:52:44 +0000 (21:52 -0500)]
name-finder.cc (toHex): Use word mode, not long long.
* name-finder.cc (toHex): Use word mode, not long long.
* gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
From-SVN: r49829
Richard Henderson [Mon, 18 Feb 2002 01:07:52 +0000 (17:07 -0800)]
alpha.c (some_small_symbolic_operand, [...]): Rename from *symbolic_mem_op*.
* config/alpha/alpha.c (some_small_symbolic_operand,
some_small_symbolic_operand_1, split_small_symbolic_operand,
split_small_symbolic_operand_1): Rename from *symbolic_mem_op*.
Handle small SYMBOL_REFs anywhere, not just inside memories.
* config/alpha/alpha-protos.h: Update.
* config/alpha/alpha.h (PREDICATE_CODES): Update.
* config/alpha/alpha.md (small symbolic operand splitter): Update.
From-SVN: r49827
Roland McGrath [Sun, 17 Feb 2002 23:06:55 +0000 (23:06 +0000)]
config.gcc (powerpc-*-gnu-gnualtivec*, [...]): New configurations.
2002-01-21 Roland McGrath <roland@frob.com>
* config.gcc (powerpc-*-gnu-gnualtivec*,
powerpc-*-gnu*, powerpc64-*-gnu*): New configurations.
* config/rs6000/gnu.h: New file.
* config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS):
Grok "gnu" in rs6000_abi_name.
(ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC,
CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC):
Grok -mcall-gnu analogous to -mcall-linux et al.
(LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC,
LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): New macros.
(SUBTARGET_EXTRA_SPECS): Add *_os_gnu specs using them.
From-SVN: r49826
Jakub Jelinek [Sun, 17 Feb 2002 20:47:52 +0000 (21:47 +0100)]
re PR c/3444 (Test fails (cast))
PR c/3444:
* c-typeck.c (build_binary_op) [BIT_XOR_EXPR]: Remove explicit
shortening.
* typeck.c (build_binary_op) [BIT_XOR_EXPR]: Remove explicit
shortening.
* gcc.c-torture/execute/
20020216-1.c: New test.
From-SVN: r49825
Philipp Thomas [Sun, 17 Feb 2002 18:14:50 +0000 (18:14 +0000)]
cris.h: Undefine STARTFILE_SPEC and ENDFILE_SPEC before (re)defining them.
2002-02-17 Philipp Thomas <pthomas@suse.de>
* config/cris/cris.h: Undefine STARTFILE_SPEC and
ENDFILE_SPEC before (re)defining them.
From-SVN: r49823
Kazu Hirata [Sun, 17 Feb 2002 15:39:25 +0000 (15:39 +0000)]
h8300.c: Fix formatting.
* config/h8300/h8300.c: Fix formatting.
* config/h8300/h8300.h: Likewise.
From-SVN: r49822
Philipp Thomas [Sun, 17 Feb 2002 14:55:10 +0000 (14:55 +0000)]
Explain why empty strings should not be marked for translation.
From-SVN: r49821
Philipp Thomas [Sun, 17 Feb 2002 14:23:53 +0000 (14:23 +0000)]
final.c (output_operand_lossage): Changed to accept printf style arguments.
2002-02-17 Philipp Thomas <pthomas@suse.de>
* final.c (output_operand_lossage): Changed to accept
printf style arguments. Change calls where necessary.
* output.h (output_operand_lossage): Change declaration
accordingly. Update copyright.
* config/arc/arc.c config/fr30/fr30.c config/m32r/m32r.c
config/m88k/m88k.c : Adapt all calls to output_operand_lossage.
Update copyright date where necessary.
* config/i386/i386.c (print_operand): Likewise. Remove use of
sprintf.
* config/cris/cris.c (cris_operand_lossage): Likewise.
Rename parameter so that exgettext recognizes it as
translatable message.
(LOSE_AND_RETURN): Rename parameter to msgid.
* po/gcc.pot: Regenerate.
From-SVN: r49820
Kazu Hirata [Sun, 17 Feb 2002 12:41:46 +0000 (12:41 +0000)]
h8300.h (CONDITIONAL_REGISTER_USAGE): Replace a hard coded register number with an appropriate macro.
* config/h8300/h8300.h (CONDITIONAL_REGISTER_USAGE): Replace a
hard coded register number with an appropriate macro.
(HARD_REGNO_MODE_OK): Likewise.
(ARG_POINTER_REGNUM): Likewise.
(STATIC_CHAIN_REGNUM): Likewise.
(RETURN_ADDRESS_POINTER_REGNUM): Likewise.
* config/h8300/h8300.md (define_constants): Define more
register numbers.
From-SVN: r49819
GCC Administrator [Sun, 17 Feb 2002 08:16:12 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r49817
Philipp Thomas [Sun, 17 Feb 2002 07:52:12 +0000 (07:52 +0000)]
Don't mark empty strings for translation.
From-SVN: r49816
H.J. Lu [Sun, 17 Feb 2002 05:36:47 +0000 (05:36 +0000)]
linux.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
2002-02-16 H.J. Lu <hjl@gnu.org>
* config/mips/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
From-SVN: r49815
Zack Weinberg [Sun, 17 Feb 2002 02:54:20 +0000 (02:54 +0000)]
cppinit.c (merge_include_chains): Check for brack being NULL before attempting to merge it with qtail.
* cppinit.c (merge_include_chains): Check for brack being
NULL before attempting to merge it with qtail.
From-SVN: r49814
Andrew Cagney [Sun, 17 Feb 2002 01:20:31 +0000 (01:20 +0000)]
netbsd.h (PREFERRED_DEBUGGING_TYPE): Set to DBX_DEBUG.
* config/rs6000/netbsd.h (PREFERRED_DEBUGGING_TYPE): Set to
DBX_DEBUG.
From-SVN: r49813
John David Anglin [Sat, 16 Feb 2002 22:30:35 +0000 (22:30 +0000)]
* pa/t-pa, pa/t-pro, pa/som.h: Revert last patch.
From-SVN: r49811
John David Anglin [Sat, 16 Feb 2002 22:13:59 +0000 (22:13 +0000)]
t-pa (LIB2FUNCS_EXTRA): Don't build lib2funcs.asm.
* pa/t-pa (LIB2FUNCS_EXTRA): Don't build lib2funcs.asm.
* pa/t-pro (LIB2FUNCS_EXTRA): Likewise.
* som.h (DO_GLOBAL_DTORS_BODY): Delete define.
From-SVN: r49810
Benjamin Kosnik [Sat, 16 Feb 2002 19:33:43 +0000 (19:33 +0000)]
locale_facets.tcc: Add pragma GCC system_header.
2002-02-16 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.tcc: Add pragma GCC system_header.
* include/bits/fstream.tcc: Same.
* include/bits/sstream.tcc: Same.
* include/bits/ostream.tcc: Same.
* include/bits/istream.tcc: Same.
* include/bits/streambuf.tcc: Same.
* include/bits/basic_ios.tcc: Same.
* include/bits/basic_string.tcc: Same.
From-SVN: r49809
Richard Kenner [Sat, 16 Feb 2002 18:55:21 +0000 (13:55 -0500)]
Fix typo.
From-SVN: r49808
Richard Kenner [Sat, 16 Feb 2002 18:54:33 +0000 (18:54 +0000)]
alpha.md (*movsi_nt_vms_nofix): Was *movesi_nt_vms; now only if !TARGET_FIX.
* config/alpha/alpha.md (*movsi_nt_vms_nofix): Was *movesi_nt_vms;
now only if !TARGET_FIX.
(*movsi_nt_vms_fix): New pattern.
From-SVN: r49807
Douglas B Rupp [Sat, 16 Feb 2002 18:50:17 +0000 (13:50 -0500)]
alpha.c: Implement null frame procedure types on VMS.
* config/alpha/alpha.c: Implement null frame procedure types on VMS.
(alpha_procedure_type): Replaces alpha_is_stack_procedure.
(alpha_sa_mask, alpha_sa_size): Reflect above change.
(alpha_pv_save_size, alpha_expand_prologue): Likewise.
(alpha_start_function, alpha_expand_epilogue): Likewise.
(unicosmk_gen_dsib): Likewise.
From-SVN: r49806
Richard Kenner [Sat, 16 Feb 2002 18:44:14 +0000 (18:44 +0000)]
* expr.c (store_constructor): Handle target REG case for ARRAY_TYPE.
From-SVN: r49805
Neil Booth [Sat, 16 Feb 2002 17:31:16 +0000 (17:31 +0000)]
* gcc.dg/decl-1.c: Update, new test.
From-SVN: r49804
Nathan Sidwell [Sat, 16 Feb 2002 12:13:41 +0000 (12:13 +0000)]
decl.c (grokdeclarator): Set typedef_decl for all TYPE_DECLs, remove incorrect comment.
cp:
* decl.c (grokdeclarator): Set typedef_decl for all TYPE_DECLs,
remove incorrect comment. Move #if 0'd code to common path. Use
IMPLICIT_TYPENAME_P. Simplify & reformat ARRAY_TYPE duplication.
testsuite:
* g++.dg/abi/bitfield1.C: New test.
* g++.dg/abi/bitfield2.C: New test.
From-SVN: r49803
GCC Administrator [Sat, 16 Feb 2002 08:16:41 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r49802
Benjamin Kosnik [Sat, 16 Feb 2002 02:41:10 +0000 (02:41 +0000)]
std_iosfwd.h: Don't guard typedefs with _GLIBCPP_USE_WCHAR_T
2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
* include/std/std_iosfwd.h: Don't guard typedefs with
_GLIBCPP_USE_WCHAR_T
* include/bits/stringfwd.h: Same.
From-SVN: r49800
Benjamin Kosnik [Sat, 16 Feb 2002 00:50:58 +0000 (00:50 +0000)]
locale.cc (moneypunct_byname): Remove definitions.
2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
* src/locale.cc (moneypunct_byname): Remove definitions.
* include/std/std_streambuf.h (streambuf::operator=): Return.
From-SVN: r49799
Benjamin Kosnik [Sat, 16 Feb 2002 00:19:13 +0000 (00:19 +0000)]
Tune for size.
2002-02-15 Benjamin Kosnik <bkoz@redhat.com>
Tune for size.
* src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
explicit instantiation.
(string::_Rep::_S_max_size): Same.
* include/bits/basic_string.tcc: Add extern explicit
instantiations for string, wstring.
* include/bits/basic_ios.tcc: Add extern explicit instantiations
for ios, wios.
* include/bits/streambuf.tcc: Same, for streambuf, wstreambuf.
* include/bits/istream.tcc: Same, for istream, wistream.
* include/bits/ostream.tcc: Same for ostream, wostream, iostream,
wiostream.
* include/bits/sstream.tcc: Same, for stringbuf, wstringbuf,
istringstream, wistringstream, ostringstream, wostringstream,
stringstream, wstringstream.
* include/bits/fstream.tcc: Same, for filebuf, wfilebuf, ifstream,
wifstream, ofstream, wofstream, fstream, wfstream.
* src/misc-inst.cc: Correct comments.
Add iomanip instantiations for wide streams.
* include/std/std_iomanip.h: Same.
* include/bits/locale_facets.tcc: Same.
* include/std/std_streambuf.h: Correct
_GLIBCPP_FULLY_COMPLIANT_HEADERS guard.
* include/std/std_sstream.h: Same.
* include/std/std_ostream.h: Same.
* include/std/std_istream.h: Same.
* include/std/std_fstream.h: Same.
* include/std/std_streambuf.h: Add definitions for private copy
ctor and assignment operator.
* include/std/std_istream.h: Remove declared but undefined copy
ctor and assignment operator. This is taken care of in ios_base,
so adding it in the derived class as well is superfluous.
* include/std/std_ostream.h: Same.
* include/bits/basic_ios.h (basic_ios::clear): Don't inline.
* include/bits/basic_ios.tcc (basic_ios::clear): Move definition here.
From-SVN: r49798
Ulrich Weigand [Fri, 15 Feb 2002 23:30:03 +0000 (23:30 +0000)]
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
David Edelsohn [Fri, 15 Feb 2002 21:04:53 +0000 (21:04 +0000)]
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
John David Anglin [Fri, 15 Feb 2002 19:11:01 +0000 (19:11 +0000)]
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
Richard Sandiford [Fri, 15 Feb 2002 16:11:10 +0000 (16:11 +0000)]
* gcc.dg/attr-nest.c: New test.
From-SVN: r49792
Richard Sandiford [Fri, 15 Feb 2002 16:08:21 +0000 (16:08 +0000)]
* c-decl.c (grokdeclarator): Prevent a segfault on unnamed decls.
From-SVN: r49791
Richard Sandiford [Fri, 15 Feb 2002 12:21:00 +0000 (12:21 +0000)]
* gcc.c-torture/execute/
20020215-1.c: New test.
From-SVN: r49788
Richard Sandiford [Fri, 15 Feb 2002 12:18:49 +0000 (12:18 +0000)]
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
GCC Administrator [Fri, 15 Feb 2002 08:16:13 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r49785
Tom Tromey [Fri, 15 Feb 2002 06:55:42 +0000 (06:55 +0000)]
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
Bryce McKinlay [Fri, 15 Feb 2002 05:53:29 +0000 (05:53 +0000)]
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
Eric Blake [Fri, 15 Feb 2002 03:21:47 +0000 (03:21 +0000)]
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
Benjamin Kosnik [Fri, 15 Feb 2002 02:21:33 +0000 (02:21 +0000)]
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
Mike Stump [Fri, 15 Feb 2002 00:09:29 +0000 (00:09 +0000)]
Import bugfix.
From-SVN: r49779
Mark Wielaard [Thu, 14 Feb 2002 23:16:11 +0000 (23:16 +0000)]
[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
Alexandre Oliva [Thu, 14 Feb 2002 19:30:42 +0000 (19:30 +0000)]
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
Alexandre Oliva [Thu, 14 Feb 2002 19:27:21 +0000 (19:27 +0000)]
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
Joel Sherrill [Thu, 14 Feb 2002 18:57:38 +0000 (18:57 +0000)]
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
Joel Sherrill [Thu, 14 Feb 2002 18:52:22 +0000 (18:52 +0000)]
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
Phil Edwards [Thu, 14 Feb 2002 18:24:13 +0000 (18:24 +0000)]
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
Todd Stock [Thu, 14 Feb 2002 17:48:36 +0000 (17:48 +0000)]
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
Ulrich Weigand [Thu, 14 Feb 2002 16:39:23 +0000 (16:39 +0000)]
* config/s390/linux.h (ASM_OUTPUT_ALIGNED_BSS): New.
From-SVN: r49768
Martin Kahlert [Thu, 14 Feb 2002 15:42:37 +0000 (15:42 +0000)]
jni.h: Fix typo.
2002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
* include/jni.h: Fix typo.
From-SVN: r49767
Jakub Jelinek [Thu, 14 Feb 2002 14:17:42 +0000 (15:17 +0100)]
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
Kazu Hirata [Thu, 14 Feb 2002 13:25:30 +0000 (13:25 +0000)]
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
Hans-Peter Nilsson [Thu, 14 Feb 2002 11:08:57 +0000 (11:08 +0000)]
* config.gcc (c4x-*-rtems*): Fix typo in tm_file setting.
From-SVN: r49764
Jakub Jelinek [Thu, 14 Feb 2002 10:22:53 +0000 (11:22 +0100)]
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
GCC Administrator [Thu, 14 Feb 2002 08:16:54 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r49762
Toon Moene [Thu, 14 Feb 2002 06:16:56 +0000 (07:16 +0100)]
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
Eric Christopher [Thu, 14 Feb 2002 05:11:44 +0000 (05:11 +0000)]
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
Aldy Hernandez [Thu, 14 Feb 2002 03:43:03 +0000 (03:43 +0000)]
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
Aldy Hernandez [Thu, 14 Feb 2002 03:37:37 +0000 (03:37 +0000)]
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
Bryce McKinlay [Thu, 14 Feb 2002 00:09:23 +0000 (00:09 +0000)]
Removed .s files.
From-SVN: r49752
Joel Sherrill [Wed, 13 Feb 2002 22:49:03 +0000 (22:49 +0000)]
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
Jan Hubicka [Wed, 13 Feb 2002 22:44:12 +0000 (23:44 +0100)]
* regmove.c (kill_value): Handle subregs.
From-SVN: r49748
Jan Hubicka [Wed, 13 Feb 2002 22:35:54 +0000 (23:35 +0100)]
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
Jakub Jelinek [Wed, 13 Feb 2002 21:49:32 +0000 (22:49 +0100)]
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
Jakub Jelinek [Wed, 13 Feb 2002 21:46:22 +0000 (22:46 +0100)]
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
Richard Smith [Wed, 13 Feb 2002 20:59:37 +0000 (20:59 +0000)]
* g++.old-deja/g++.other/thunk1.C: New test.
From-SVN: r49743
Benjamin Kosnik [Wed, 13 Feb 2002 18:29:12 +0000 (18:29 +0000)]
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
Ulrich Weigand [Wed, 13 Feb 2002 17:55:02 +0000 (17:55 +0000)]
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
Jason Merrill [Wed, 13 Feb 2002 17:36:20 +0000 (12:36 -0500)]
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
Martin Kahlert [Wed, 13 Feb 2002 17:34:52 +0000 (17:34 +0000)]
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
Jason Merrill [Wed, 13 Feb 2002 17:32:24 +0000 (12:32 -0500)]
* typeck2.c (digest_init): Do handle values of vector type.
From-SVN: r49736
Todd Stock [Wed, 13 Feb 2002 17:12:27 +0000 (17:12 +0000)]
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
Douglas B Rupp [Wed, 13 Feb 2002 15:37:41 +0000 (10:37 -0500)]
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
Douglas B Rupp [Wed, 13 Feb 2002 15:32:02 +0000 (10:32 -0500)]
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
Douglas B Rupp [Wed, 13 Feb 2002 15:19:27 +0000 (10:19 -0500)]
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
Douglas B Rupp [Wed, 13 Feb 2002 15:14:49 +0000 (10:14 -0500)]
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
Richard Kenner [Wed, 13 Feb 2002 14:50:53 +0000 (14:50 +0000)]
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
Kazu Hirata [Wed, 13 Feb 2002 13:07:48 +0000 (13:07 +0000)]
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
Kazu Hirata [Wed, 13 Feb 2002 12:51:53 +0000 (12:51 +0000)]
h8300.c (h8300_adjust_insn_length): Correct the length computation of movsi.
* config/h8300/h8300.c (h8300_adjust_insn_length): Correct the
length computation of movsi.
* config/h8300/h8300.md (movsi_h8300hs): Correct the length.
From-SVN: r49728
Kazu Hirata [Wed, 13 Feb 2002 12:42:33 +0000 (12:42 +0000)]
h8300.md (subqi3): Tighten the predicate for operands[2] to register_operand.
* config/h8300/h8300.md (subqi3): Tighten the predicate for
operands[2] to register_operand.
From-SVN: r49727
Jason Merrill [Wed, 13 Feb 2002 12:05:01 +0000 (07:05 -0500)]
typeck2.c (digest_init, [...]): Treat vectors like arrays.
* typeck2.c (digest_init, process_init_constructor): Treat vectors
like arrays.
From-SVN: r49726
Jan Hubicka [Wed, 13 Feb 2002 10:09:16 +0000 (11:09 +0100)]
* i386.md (fop_*_comm_*): allow nonimmediate in the first operand.
From-SVN: r49725
GCC Administrator [Wed, 13 Feb 2002 08:16:17 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r49722
Toon Moene [Wed, 13 Feb 2002 07:39:56 +0000 (08:39 +0100)]
data.c (ffedata_eval_offset_): Only convert index...
2002-02-13 Toon Moene <toon@moene.indiv.nluug.nl>
* data.c (ffedata_eval_offset_): Only convert index,
low and high bound in data statements to default integer
if they are constants. Use a copy of the data structure.
From-SVN: r49721
Bryce McKinlay [Wed, 13 Feb 2002 05:38:39 +0000 (05:38 +0000)]
dbg_mlc.c (GC_debug_generic_malloc): Removed.
* dbg_mlc.c (GC_debug_generic_malloc): Removed.
* sparc_mach_dep.S: Rename from sparc_mach_dep.s as it is a
preprocessor file.
* mips_sgi_mach_dep.S: Likewise.
* Makefile.am: Update for above changes.
* Makefile.in: Rebuilt.
From-SVN: r49720
Aldy Hernandez [Wed, 13 Feb 2002 04:00:27 +0000 (04:00 +0000)]
rs6000.md: Use predicate altivec_register_operand for altivec_lvx* and altivec_stvx*.
2002-02-12 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.md: Use predicate altivec_register_operand
for altivec_lvx* and altivec_stvx*.
("*movv4si_internal"): Add constraint for loading from GPRs.
("*movv8hi_internal1"): Same.
("*movv16qi_internal1"): Same.
("*movv4sf_internal1"): Same.
* config/rs6000/rs6000.c (altivec_register_operand): New.
* config/rs6000/rs6000.h (PREDICATE_CODES): Add
altivec_register_operand.
From-SVN: r49719
Hans-Peter Nilsson [Wed, 13 Feb 2002 02:11:51 +0000 (02:11 +0000)]
mmix.c (mmix_assemble_integer): Don't handle SYMBOL_REF.
* config/mmix/mmix.c (mmix_assemble_integer) <case 4>: Don't
handle SYMBOL_REF.
From-SVN: r49718
Tom Tromey [Wed, 13 Feb 2002 00:29:42 +0000 (00:29 +0000)]
* exception.cc (std::abort): Mark as noreturn.
From-SVN: r49717
David Billinghurst [Tue, 12 Feb 2002 22:46:25 +0000 (22:46 +0000)]
weak1.C: weak attributes not supported on cygwin
2002-02-12 David Billinghurst <David.Billinghurst@riotinto.com>
* g++.dg/warn/weak1.C: weak attributes not supported on cygwin
From-SVN: r49716
Stan Shebs [Tue, 12 Feb 2002 22:26:12 +0000 (22:26 +0000)]
c-typeck.c (digest_init): Handle vectors.
* c-typeck.c (digest_init): Handle vectors.
(really_start_incremental_init): Same.
(pop_init_level): Same.
(process_init_element): Same.
* varasm.c (output_constant): Same.
* expr.c (clear_storage): Same.
(store_constructor): Same.
* gcc.dg/altivec-3.c: New.
From-SVN: r49715
Eric Christopher [Tue, 12 Feb 2002 21:55:29 +0000 (21:55 +0000)]
explow.c (hard_function_value): Add comment explaining signed/unsigned comparison.
2002-02-12 Eric Christopher <echristo@redhat.com>
* explow.c (hard_function_value): Add comment explaining
signed/unsigned comparison.
From-SVN: r49714
Jakub Jelinek [Tue, 12 Feb 2002 21:39:42 +0000 (22:39 +0100)]
jump.c (never_reached_warning): Add finish argument.
* jump.c (never_reached_warning): Add finish argument.
If finish is NULL, stop on CODE_LABEL, otherwise stop before first
real insn after end.
* rtl.h (never_reached_warning): Adjust prototype.
* cse.c (cse_insn): Pass NULL as finish to never_reached_warning.
* cfgrtl.c (flow_delete_block): Pass b->end as finish to
never_reached_warning.
* gcc.dg/Wunreachable-1.c: New test.
* gcc.dg/Wunreachable-2.c: New test.
From-SVN: r49713
Joseph Myers [Tue, 12 Feb 2002 21:33:12 +0000 (21:33 +0000)]
* gcc.dg/c90-const-expr-3.c, gcc.dg/c99-const-expr-3.c: New tests.
From-SVN: r49712