platform/upstream/gcc.git
21 years ago* mh-cygwin: Don't build libtermcap if it doesn't exist.
Christopher Faylor [Tue, 17 Dec 2002 02:58:05 +0000 (02:58 +0000)]
* mh-cygwin: Don't build libtermcap if it doesn't exist.

From-SVN: r60191

21 years ago* Makefile.in (gcov-iov.h): Improve portability.
Loren J. Rittle [Tue, 17 Dec 2002 02:02:48 +0000 (02:02 +0000)]
* Makefile.in (gcov-iov.h): Improve portability.

From-SVN: r60190

21 years agomips.h (ASM_OUTPUT_ADDR_DIFF_ELT): Do not use qpword on API_N32/not gas
Jan Hubicka [Mon, 16 Dec 2002 22:45:41 +0000 (23:45 +0100)]
mips.h (ASM_OUTPUT_ADDR_DIFF_ELT): Do not use qpword on API_N32/not gas

* mips.h (ASM_OUTPUT_ADDR_DIFF_ELT): Do not use qpword on API_N32/not
gas
* mips.md (tablejump insn): Likewise.

From-SVN: r60188

21 years ago* root.texi: Change version number to 3.4.
Mark Mitchell [Mon, 16 Dec 2002 22:18:33 +0000 (22:18 +0000)]
* root.texi: Change version number to 3.4.

From-SVN: r60185

21 years agogcc-common.texi: Change version number to 3.4.
Mark Mitchell [Mon, 16 Dec 2002 21:59:43 +0000 (21:59 +0000)]
gcc-common.texi: Change version number to 3.4.

* doc/include/gcc-common.texi: Change version number to 3.4.

* gcj.texi: Change version number to 3.4.

* root.texi: Change version number to 3.4.

From-SVN: r60183

21 years agoadd PR reference
Jason Merrill [Mon, 16 Dec 2002 20:52:22 +0000 (15:52 -0500)]
add PR reference

From-SVN: r60182

21 years agore PR libstdc++/8949 (numeric_limits<>::denorm_min() and is_iec559 problems.)
Paolo Carlini [Mon, 16 Dec 2002 19:52:37 +0000 (20:52 +0100)]
re PR libstdc++/8949 (numeric_limits<>::denorm_min() and is_iec559 problems.)

2002-12-16  Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/8949
* include/std/std_limits.h
(struct numeric_limits<short>,
struct numeric_limits<unsigned short>,
struct numeric_limits<int>,
struct numeric_limits<unsigned int>,
struct numeric_limits<long>,
struct numeric_limits<unsigned long>,
struct numeric_limits<long long>,
struct numeric_limits<unsigned long long>): According
to 18.2.1.2,53 and 18.2.1.5,1 is_iec559 shall be false.
* testsuite/18_support/numeric_limits.cc: Add test04.

From-SVN: r60181

21 years agooops.
Bruce Korb [Mon, 16 Dec 2002 19:02:09 +0000 (19:02 +0000)]
oops.

From-SVN: r60178

21 years agoconfigure.in (GLIBCPP_ENABLE_DEBUG): Default to none.
Benjamin Kosnik [Mon, 16 Dec 2002 19:02:01 +0000 (19:02 +0000)]
configure.in (GLIBCPP_ENABLE_DEBUG): Default to none.

2002-12-16  Benjamin Kosnik  <bkoz@redhat.com>

        * configure.in (GLIBCPP_ENABLE_DEBUG): Default to none.
Call GLIBCPP_ENABLE_DEBUG_FLAGS.
        * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): GLIBCPP_BUILD_DEBUG, new
        conditional if --enable-debug is yes. Rework.
(GLIBCPP_ENABLE_DEBUG_FLAGS): New.
        * aclocal.m4: Regenerate.
* libio/Makefile.am: Remove DEBUG_FLAGS.
* libio/Makefile.in: Regenerate.
* libsupc++/Makefile.am: Remove DEBUG_FLAGS.
* libsupc++/Makefile.in: Regenerate.
* docs/html/configopts.html: Add docs for --enable-debug,
--enable-debug-flags.

2002-12-16  Benjamin Kosnik  <bkoz@redhat.com>

Correct dependency tracking, build warts.
* configure.in: Correct repeated AC_OUTPUT thrashing by
config-ml.in
* configure: Regenerate.
* include/Makefile.am (stamp-target): Stamp in top_builddir.
* include/Makefile.in: Regenerate.
* src/Makefile.am (codecvt_members.cc): New rule.
(collate_members.cc): Same.
(ctype_members.cc): Same.
(messages_members.cc): Same.
(monetary_members.cc): Same.
(numeric_members.cc): Same.
(time_members.cc): Same.
(c++locale.cc): Same.
(basic_file.cc): Same.
* src/Makefile.in: Regenerate.
* acinclude.m4 (CCTYPE_CHAR_CC): Remove.
(CCCODECVT_CC): Don't link, AC_SUBST.
(CCOLLATE_CC): Same.
(CCTYPE_CC): Same.
(CMESSAGES_CC): Same.
(CMONEY_CC): Same.
(CNUMERIC_CC): Same.
(CTIME_CC): Same.
(CLOCALE_CC): Same.
* aclocal.m4: Regenerate.

* src/Makefile.am (libstdc___la_LIBADD): Use top_builddir
for convenience libraries.
(version_arg): Rename linker.map to libstdc++.ver.
(libstdc___la_DEPENDENCIES): Remove linker.map, add
libstdc++-symbol.ver as a dependency.
(libstdc++-symbol.ver): Add rule.
* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Change LINKER_MAP to
SYMVER_MAP. Don't link, AC_SUBST.

* include/Makefile.am (target_headers_noinst): New.
(stamp-target): Add CLOCALE_INTERNAL_H.
* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't link
CLOCALE_INTERNAL_H, AC_SUBST.
* config/locale/gnu/c_locale.cc: Modify c++locale_internal.h
include.
* config/locale/gnu/time_members.cc: Same.
* config/locale/gnu/numeric_members.cc: Same.
* config/locale/gnu/monetary_members.cc: Same.
* config/locale/gnu/messages_members.cc: Same.
* config/locale/gnu/ctype_members.cc: Same.
* config/locale/gnu/collate_members.cc: Same.
* config/locale/gnu/codecvt_members.cc: Same.
* config/locale/generic/codecvt_members.cc: Remove.

From-SVN: r60177

21 years agomove inclusion of signal.h
Bruce Korb [Mon, 16 Dec 2002 18:58:42 +0000 (18:58 +0000)]
move inclusion of signal.h

From-SVN: r60176

21 years agoMerge basic-improvements-branch to trunk
Zack Weinberg [Mon, 16 Dec 2002 18:23:00 +0000 (18:23 +0000)]
Merge basic-improvements-branch to trunk

From-SVN: r60174

21 years agosh.h (EXTRA_CONSTRAINT_Z): New macro.
J"orn Rennecke [Mon, 16 Dec 2002 17:21:50 +0000 (17:21 +0000)]
sh.h (EXTRA_CONSTRAINT_Z): New macro.

* sh.h (EXTRA_CONSTRAINT_Z): New macro.
(EXTRA_CONSTRAINT): Use it.
* sh.md (anddi3): Use 'Z' constraint for alternative 2.

From-SVN: r60173

21 years agoDaily bump.
GCC Administrator [Mon, 16 Dec 2002 08:17:31 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r60172

21 years agofix my email address
Doug Evans [Mon, 16 Dec 2002 08:16:06 +0000 (08:16 +0000)]
fix my email address

From-SVN: r60165

21 years ago* sem_ch6.adb (Analyze_Subprogram_Body): Fix typo and formatting
Geert Bosch [Sun, 15 Dec 2002 17:32:01 +0000 (18:32 +0100)]
* sem_ch6.adb (Analyze_Subprogram_Body): Fix typo and formatting

From-SVN: r60159

21 years agore PR ada/5690 (renaming subprograms and default_expression)
Geert Bosch [Sun, 15 Dec 2002 16:18:20 +0000 (17:18 +0100)]
re PR ada/5690 (renaming subprograms and default_expression)

* sem_ch6.adb (Analyze_Subprogram_Body): Recognize additional
        case of a body created for a Renaming_As_Body, on which
        conformance checks are not performed. Fixes PR ada/5690.

From-SVN: r60158

21 years agoRevert last commit due to freeze.
Richard Sandiford [Sun, 15 Dec 2002 12:05:34 +0000 (12:05 +0000)]
Revert last commit due to freeze.

From-SVN: r60157

21 years ago* config/mips/mips.md: Disable the movstrsi define_split.
Richard Sandiford [Sun, 15 Dec 2002 11:34:17 +0000 (11:34 +0000)]
* config/mips/mips.md: Disable the movstrsi define_split.

From-SVN: r60156

21 years agoDaily bump.
GCC Administrator [Sun, 15 Dec 2002 08:17:26 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r60154

21 years agoMakefile.tpl (check-gcc-c++): Renamed from check-c++.
Jason Merrill [Sat, 14 Dec 2002 08:37:12 +0000 (03:37 -0500)]
Makefile.tpl (check-gcc-c++): Renamed from check-c++.

        * Makefile.tpl (check-gcc-c++): Renamed from check-c++.  Don't run
        library tests.
        (check-c++): Just depend on it and check-target-libstdc++-v3.
        * Makefile.in: Regenerate.

From-SVN: r60126

21 years agoDaily bump.
GCC Administrator [Sat, 14 Dec 2002 08:17:21 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r60125

21 years agopa.c (output_millicode_call): Correct typo.
John David Anglin [Sat, 14 Dec 2002 02:54:14 +0000 (02:54 +0000)]
pa.c (output_millicode_call): Correct typo.

* pa.c (output_millicode_call): Correct typo.
(output_call): Likewise.

From-SVN: r60115

21 years agoFix test for LP64, move it to gcc.c-torture/compile (per Kaveh Ghazi)
Dale Johannesen [Sat, 14 Dec 2002 00:54:02 +0000 (00:54 +0000)]
Fix test for LP64, move it to gcc.c-torture/compile (per Kaveh Ghazi)

From-SVN: r60111

21 years agomn10300.c (print_operand): Check operand's range.
Alexandre Oliva [Fri, 13 Dec 2002 23:07:47 +0000 (23:07 +0000)]
mn10300.c (print_operand): Check operand's range.

* config/mn10300/mn10300.c (print_operand) <case N>: Check
operand's range.  Print value directly, without aid from
output_address.
<case U>: New.
<case S>: Make sure argument to fprintf has the right type.
* config/mn10300/mn10300.h (OK_FOR_T): New macro.
(EXTRA_CONSTRAINT): Adjust.
* config/mn10300/mn10300.md: Add new all-QImode pattern for
bclr.  Use %U for immediate operands of bset and bclr.
(iorqi3): New expand, with insns for AM33 and mn10300.

From-SVN: r60109

21 years agoMakefile.in (check-gcc-c++): Renamed from check-c++.
Jason Merrill [Fri, 13 Dec 2002 22:26:37 +0000 (17:26 -0500)]
Makefile.in (check-gcc-c++): Renamed from check-c++.

        * Makefile.in (check-gcc-c++): Renamed from check-c++.  Don't run
        library tests.
        (check-c++): Just depend on it and check-target-libstdc++-v3.

From-SVN: r60107

21 years agore PR c++/8031 (ICE in comptypes, at cp/typeck.c:913)
Gabriel Dos Reis [Fri, 13 Dec 2002 21:58:54 +0000 (21:58 +0000)]
re PR c++/8031 (ICE in comptypes, at cp/typeck.c:913)

PR C++/8031
* cvt.c (convert_to_pointer_force): Don't try comparing against
erronous type.

From-SVN: r60106

21 years agocp-tree.h: Have the multiple-include guards around the entire file.
Geoffrey Keating [Fri, 13 Dec 2002 21:04:27 +0000 (21:04 +0000)]
cp-tree.h: Have the multiple-include guards around the entire file.

* cp-tree.h: Have the multiple-include guards around
the entire file.

From-SVN: r60104

21 years ago*** empty log message ***
J"orn Rennecke [Fri, 13 Dec 2002 20:20:28 +0000 (20:20 +0000)]
*** empty log message ***

From-SVN: r60103

21 years agoFix type.
Devang Patel [Fri, 13 Dec 2002 20:16:07 +0000 (12:16 -0800)]
Fix type.

From-SVN: r60102

21 years agoDoc fix for PR 1621.
Jim Wilson [Fri, 13 Dec 2002 20:07:15 +0000 (20:07 +0000)]
Doc fix for PR 1621.

* doc/extend.texi (Complex Numbers): Update info on debug info.

From-SVN: r60101

21 years agoSecurityRandom (digest): Removed field.
Casey Marshall [Fri, 13 Dec 2002 14:21:07 +0000 (14:21 +0000)]
SecurityRandom (digest): Removed field.

2002-12-13  Casey Marshall  <rsdio@metastatic.org>
    Mark Wielaard  <mark@klomp.org>

* java/security/SecurityRandom (digest): Removed field.
(SecureRandom): Check all providers for case-insensitive SecureRandom
implementation. Don't ignore classname == null. Fallback to SHA1PRNG
if necessary.
(getInstance(String,Provider,boolean): New method.
(getInstance(String)): Use new method.
(getInstance(String,String)): Likewise.
(getInstance(String,Provider)): Likewise.

2002-12-13  Casey Marshall  <rsdio@metastatic.org>

* java/security/Security.java (loadProviders): Increment i only once.

Co-Authored-By: Mark Wielaard <mark@klomp.org>
From-SVN: r60099

21 years agoh8300.md (addhi3_h8300): Remove the last alternative.
Kazu Hirata [Fri, 13 Dec 2002 13:47:12 +0000 (13:47 +0000)]
h8300.md (addhi3_h8300): Remove the last alternative.

* config/h8300/h8300.md (addhi3_h8300): Remove the last
alternative.

From-SVN: r60098

21 years agoClassLoader.java (resolveClass0): Transform ClassNotFoundException to NoClassDefFound...
Mark Wielaard [Fri, 13 Dec 2002 10:04:15 +0000 (10:04 +0000)]
ClassLoader.java (resolveClass0): Transform ClassNotFoundException to NoClassDefFoundError.

* java/lang/ClassLoader.java (resolveClass0): Transform
ClassNotFoundException to NoClassDefFoundError. Transform all other
throwables to LinkageError.

From-SVN: r60097

21 years agoDaily bump.
GCC Administrator [Fri, 13 Dec 2002 08:17:16 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r60096

21 years agoloader.exp (gcj_loader_test_one): Use libjava_prune_warnings.
Tom Tromey [Fri, 13 Dec 2002 05:00:15 +0000 (05:00 +0000)]
loader.exp (gcj_loader_test_one): Use libjava_prune_warnings.

* libjava.loader/loader.exp (gcj_loader_test_one): Use
libjava_prune_warnings.
(gcj_loader_run): Likewise.
* libjava.mauve/mauve.exp (test_mauve): Use
libjava_prune_warnings.
(test_mauve_sim): Likewise.
* libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
libjava_prune_warnings.
(gcj_jni_build_header): Likewise.
* lib/libjava.exp (libjava_prune_warnings): New proc.
(gcj_link): Use it.
(test_libjava_from_source): Likewise.
(test_libjava_from_javac): Likewise.

From-SVN: r60089

21 years agoI forgot to commit ChangeLogs with darwin ld tests and documentation patch.
Devang Patel [Fri, 13 Dec 2002 01:32:48 +0000 (17:32 -0800)]
I forgot to commit ChangeLogs with darwin ld tests and documentation patch.

From-SVN: r60088

21 years agore PR debug/1621 (Debugging with complex numbers)
Jim Wilson [Fri, 13 Dec 2002 01:24:52 +0000 (01:24 +0000)]
re PR debug/1621 (Debugging with complex numbers)

Fix for PR 1621.
* dbxout.c (dbxout_fptype_value): New.
(dbxout_type, case COMPLEX_TYPE): Call it.  Use 'R' instead of 'r'.

From-SVN: r60087

21 years agoc-decl.c: Fix a comment typo.
Kazu Hirata [Fri, 13 Dec 2002 00:17:22 +0000 (00:17 +0000)]
c-decl.c: Fix a comment typo.

* c-decl.c: Fix a comment typo.
* cfg.c: Likewise.
* cfgcleanup.c: Likewise.
* cfglayout.c: Likewise.
* cfgrtl.c: Likewise.
* c-typeck.c: Likewise.
* dominance.c: Likewise.
* dwarf2asm.c: Likewise.
* dwarfout.c: Likewise.
* expmed.c: Likewise.
* expr.c: Likewise.
* final.c: Likewise.
* flow.c: Likewise.
* function.c: Likewise.
* gcc.c: Likewise.
* genautomata.c: Likewise.
* integrate.c: Likewise.
* loop.c: Likewise.
* loop.h: Likewise.
* output.h: Likewise.
* profile.c: Likewise.
* ra.h: Likewise.
* reload1.c: Likewise.
* reload.c: Likewise.
* sched-rgn.c: Likewise.
* stmt.c: Likewise.
* tree.h: Likewise.
* vmsdbgout.c: Likewise.

From-SVN: r60085

21 years ago* config/h8300/h8300.md: Add a new peephole2.
Kazu Hirata [Thu, 12 Dec 2002 22:29:10 +0000 (22:29 +0000)]
* config/h8300/h8300.md: Add a new peephole2.

From-SVN: r60082

21 years agoinvoke.texi: Document Darwin linker options...
Devang Patel [Thu, 12 Dec 2002 22:23:45 +0000 (14:23 -0800)]
invoke.texi: Document Darwin linker options...

gcc
        *doc/invoke.texi: Document Darwin linker options, -bundle
        -bind_at_load, -all_load and -arch_errors_fatal

testsuite
        * gcc.dg/darwin-ld-1.c: New test.
        * gcc.dg/darwin-ld-2.c: New test.
        * gcc.dg/darwin-ld-3.c: New test.
        * gcc.dg/darwin-ld-4.c: New test.
        * gcc.dg/darwin-ld-5.c: New test.

From-SVN: r60081

21 years agoh8300.md (a peephole2): Accept a constant that's accepted by CONST_OK_FOR_J.
Kazu Hirata [Thu, 12 Dec 2002 21:33:43 +0000 (21:33 +0000)]
h8300.md (a peephole2): Accept a constant that's accepted by CONST_OK_FOR_J.

* config/h8300/h8300.md (a peephole2): Accept a constant
that's accepted by CONST_OK_FOR_J.

From-SVN: r60080

21 years agoh8300.h (CONST_OK_FOR_J): New.
Kazu Hirata [Thu, 12 Dec 2002 21:19:57 +0000 (21:19 +0000)]
h8300.h (CONST_OK_FOR_J): New.

* config/h8300/h8300.h (CONST_OK_FOR_J): New.
(CONST_OK_FOR_LETTER_P): Use CONST_OK_FOR_J.
* config/h8300/h8300.md (*addhi_h8300): Add a new alternative.
(*addhi_h8300hs): Likewise.

From-SVN: r60079

21 years agosh.c (reg_class_from_letter): No longer const.
J"orn Rennecke [Thu, 12 Dec 2002 17:11:13 +0000 (17:11 +0000)]
sh.c (reg_class_from_letter): No longer const.

* sh.c (reg_class_from_letter): No longer const.  Add 'e' entry.
(sh_register_move_cost): Add clause for SImode fp-fp moves.
Increase cost for moves involving multiple general purpose registers.
* sh.h (OVERRIDE_OPTIONS): Set reg_class_from_letter['e'] according to
TARGET_FMOVD.
(HARD_REGNO_MODE_OK): Allow V2SFmode and V4SFmode in general purpose
registers, and SImode in fp registers, for ! TARGET_SHMEDIA.
(enum reg_class reg_class_from_letter): No longer const.
(SECONDARY_OUTPUT_RELOAD_CLASS): Use REGCLASS_HAS_FP_REG /
REGCLASS_HAS_GENERAL_REG.
Handle SImode moves from/to fp registers.
! TARGET_SHMEDIA && TARGET_FMOVD.
(SECONDARY_INPUT_RELOAD_CLASS): Use REGCLASS_HAS_FP_REG.
* sh.md (movsi_ie): Add alternatives to move from / to fp regisyters.

From-SVN: r60076

21 years agosh.h (REG_CLASS_HAS_FP_REG): New.
Joern Rennecke [Thu, 12 Dec 2002 16:40:49 +0000 (16:40 +0000)]
sh.h (REG_CLASS_HAS_FP_REG): New.

Wed Dec 11 19:05:05 2002  J"orn Rennecke <joern.rennecke@superh.com>

        * sh.h (REG_CLASS_HAS_FP_REG): New.
        (REGISTER_MOVE_COST) Use it.  Put body into a function and
        move it into:
        * sh.c (sh_register_move_cost).
        * sh-protos.h (sh_register_move_cost): Declare.

        * sh.c (sh_expand_builtin): Abort for unexpected nop values.
        (sh_adjust_cost): Always return a value.

From-SVN: r60075

21 years agosh.h (REG_CLASS_HAS_FP_REG): New.
Joern Rennecke [Thu, 12 Dec 2002 16:25:12 +0000 (16:25 +0000)]
sh.h (REG_CLASS_HAS_FP_REG): New.

        * sh.h (REG_CLASS_HAS_FP_REG): New.
        (REGISTER_MOVE_COST) Use it.  Put body into a function and
        move it into:
        * sh.c (sh_register_move_cost).
        * sh-protos.h (sh_register_move_cost): Declare.

        * sh.c (sh_expand_builtin): Abort for unexpected nop values.
        (sh_adjust_cost): Always return a value.

From-SVN: r60074

21 years agoia64.c (ia64_hpux_asm_file_end): Fix typo in last change and some warnings.
Andreas Schwab [Thu, 12 Dec 2002 14:08:21 +0000 (14:08 +0000)]
ia64.c (ia64_hpux_asm_file_end): Fix typo in last change and some warnings.

* config/ia64/ia64.c (ia64_hpux_asm_file_end): Fix typo in last
change and some warnings.

From-SVN: r60073

21 years ago* doc/md.texi (pushm): Fix a typo.
Kazu Hirata [Thu, 12 Dec 2002 14:03:56 +0000 (14:03 +0000)]
* doc/md.texi (pushm): Fix a typo.

From-SVN: r60072

21 years ago20021212-1.c: New test.
Eric Botcazou [Thu, 12 Dec 2002 11:09:39 +0000 (12:09 +0100)]
20021212-1.c: New test.

2002-12-12  Eric Botcazou  <ebotcazou@libertysurf.fr>

* gcc.c-torture/compile/20021212-1.c: New test.

From-SVN: r60068

21 years agoLink PR opt/8334 to its fix.
Eric Botcazou [Thu, 12 Dec 2002 10:59:45 +0000 (10:59 +0000)]
Link PR opt/8334 to its fix.

From-SVN: r60067

21 years agoDaily bump.
GCC Administrator [Thu, 12 Dec 2002 08:17:18 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r60066

21 years ago* Makefile.in (configure-target-rda): Depend on ALL_GCC_C.
Alexandre Oliva [Thu, 12 Dec 2002 07:04:34 +0000 (07:04 +0000)]
* Makefile.in (configure-target-rda): Depend on ALL_GCC_C.

From-SVN: r60060

21 years agomips.c (mips_output_conditional_branch): Support PIC-safe out-of-range branch and...
Alexandre Oliva [Thu, 12 Dec 2002 05:13:04 +0000 (05:13 +0000)]
mips.c (mips_output_conditional_branch): Support PIC-safe out-of-range branch and branch-likely.

* config/mips/mips.c (mips_output_conditional_branch): Support
PIC-safe out-of-range branch and branch-likely.
* config/mips/mips.md (attr length): PIC-safe out-of-range
branches are longer.
("jump"): Support PIC-safe out-of-range-for-branch jumps.  Remove
unused code to support indirect jumps.

From-SVN: r60058

21 years agopa.h (BIGGEST_ALIGNMENT): Change 32-bit value to 64 bits.
John David Anglin [Thu, 12 Dec 2002 02:44:02 +0000 (02:44 +0000)]
pa.h (BIGGEST_ALIGNMENT): Change 32-bit value to 64 bits.

* pa.h (BIGGEST_ALIGNMENT): Change 32-bit value to 64 bits.
(MAX_PARM_BOUNDARY, STACK_BOUNDARY): Express in terms of
BIGGEST_ALIGNMENT.
(PREFERRED_STACK_BOUNDARY): Express in terms of STACK_BOUNDARY.
(FUNCTION_BOUNDARY): Express in terms of BITS_PER_WORD.

From-SVN: r60056

21 years ago* doc/invoke.texi: Correct dump file names.
Kazu Hirata [Thu, 12 Dec 2002 02:07:46 +0000 (02:07 +0000)]
* doc/invoke.texi: Correct dump file names.

From-SVN: r60055

21 years ago* java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
Tom Tromey [Thu, 12 Dec 2002 00:58:39 +0000 (00:58 +0000)]
* java/lang/ClassLoader.java (findLoadedClass): Now synchronized.

From-SVN: r60053

21 years agore PR libstdc++/8887 (locale)
Paolo Carlini [Thu, 12 Dec 2002 00:22:58 +0000 (01:22 +0100)]
re PR libstdc++/8887 (locale)

2002-12-11  Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/8887
* config/locale/generic/time_members.cc
(__timepunct<char>::_M_initialize_timepunct): Fix typos
in _M_date_format and _M_date_era_format string literals.

From-SVN: r60050

21 years agoia64.c (ia64_hpux_asm_file_end): Don't send stripped name to globalize_label or assem...
Steve Ellcey [Wed, 11 Dec 2002 20:41:43 +0000 (20:41 +0000)]
ia64.c (ia64_hpux_asm_file_end): Don't send stripped name to globalize_label or assemble_name.

* config/ia64/ia64.c (ia64_hpux_asm_file_end): Don't send stripped
name to globalize_label or assemble_name.

From-SVN: r60046

21 years agosh.h (REG_CLASS_HAS_GENERAL_REG): Only true for SIBCALL_REGS if not TARGET_SHMEDIA.
J"orn Rennecke [Wed, 11 Dec 2002 20:16:27 +0000 (20:16 +0000)]
sh.h (REG_CLASS_HAS_GENERAL_REG): Only true for SIBCALL_REGS if not TARGET_SHMEDIA.

* sh.h (REG_CLASS_HAS_GENERAL_REG): Only true for SIBCALL_REGS
if not TARGET_SHMEDIA.

From-SVN: r60045

21 years agoClassLoader.java (loadedClasses): New field.
Tom Tromey [Wed, 11 Dec 2002 19:18:59 +0000 (19:18 +0000)]
ClassLoader.java (loadedClasses): New field.

* java/lang/ClassLoader.java (loadedClasses): New field.
(defineClass): Fixed indentation.  Put new class in
loadedClasses.
(findLoadedClass): Implement here.
* java/lang/natClassLoader.cc (findLoadedClass): Removed.

From-SVN: r60043

21 years agosh.h (REG_CLASS_HAS_GENERAL_REG): New.
J"orn Rennecke [Wed, 11 Dec 2002 18:42:11 +0000 (18:42 +0000)]
sh.h (REG_CLASS_HAS_GENERAL_REG): New.

* sh.h (REG_CLASS_HAS_GENERAL_REG): New.
(REGISTER_MOVE_COST): Use it.

From-SVN: r60041

21 years agotree.h (MODULE_LOCAL_P): Kill.
Richard Henderson [Wed, 11 Dec 2002 18:28:26 +0000 (10:28 -0800)]
tree.h (MODULE_LOCAL_P): Kill.

        * tree.h (MODULE_LOCAL_P): Kill.
        * varasm.c (default_binds_local_p_1): Use decl_visibility instead.

From-SVN: r60040

21 years ago* config/h8300/h8300.md (two define_peephole2): New.
Kazu Hirata [Wed, 11 Dec 2002 13:27:29 +0000 (13:27 +0000)]
* config/h8300/h8300.md (two define_peephole2): New.

From-SVN: r60036

21 years agoh8300.h (CONST_OK_FOR_J): Remove.
Kazu Hirata [Wed, 11 Dec 2002 13:01:40 +0000 (13:01 +0000)]
h8300.h (CONST_OK_FOR_J): Remove.

* config/h8300/h8300.h (CONST_OK_FOR_J): Remove.
(CONST_OK_FOR_K): Likewise.
(CONST_OK_FOR_M): Likewise.
(CONST_OK_FOR_LETTER_P): Do not use the above macros.

From-SVN: r60035

21 years agoDaily bump.
GCC Administrator [Wed, 11 Dec 2002 08:17:16 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r60030

21 years agoc-common.c (builtin_define_type_max): Handle unsigned types too.
Neil Booth [Wed, 11 Dec 2002 06:36:17 +0000 (06:36 +0000)]
c-common.c (builtin_define_type_max): Handle unsigned types too.

* c-common.c (builtin_define_type_max): Handle unsigned
types too.
testsuite:
* gcc.dg/fshort-wchar: New test.

From-SVN: r60023

21 years agoMakefile.in: Rebuilt.
Tom Tromey [Wed, 11 Dec 2002 03:15:14 +0000 (03:15 +0000)]
Makefile.in: Rebuilt.

* Makefile.in: Rebuilt.
* Makefile.am (nat_source_files): Added natVMClassLoader.cc.
* gnu/gcj/runtime/natVMClassLoader.cc: New file.
(gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
* java/lang/natClassLoader.cc
(gnu::gcj::runtime::VMClassLoader::findClass): Removed.

From-SVN: r60020

21 years agoURLClassLoader.java (getCanonicalFileURL): New method.
Mark Wielaard [Wed, 11 Dec 2002 02:13:51 +0000 (02:13 +0000)]
URLClassLoader.java (getCanonicalFileURL): New method.

2002-12-10  Mark Wielaard  <mark@klomp.org>
            Tom Tromey  <tromey@redhat.com>

* java/net/URLClassLoader.java (getCanonicalFileURL): New method.
(JarURLLoader): Use it.
(FileURLLoader): Likewise.
(JarURLResource.getURL): Use chained exception.
(FileResource.getURL): Likewise.
(FileURLLoader.getResource): Use canonical file name.
(addURL): Indentation fix.

Co-Authored-By: Tom Tromey <tromey@redhat.com>
From-SVN: r60019

21 years agore PR c++/8372 (ICE on explicit call of destructor)
Mark Mitchell [Tue, 10 Dec 2002 22:31:40 +0000 (22:31 +0000)]
re PR c++/8372 (ICE on explicit call of destructor)

PR c++/8372
* pt.c (tsubst_copy): Handle destructor names more correctly.

PR c++/8372
* g++.dg/template/dtor1.C: New test.

From-SVN: r60015

21 years ago* cp-tree.h: get rid of needs_virtual_reinit bit.
Matt Austern [Tue, 10 Dec 2002 21:53:49 +0000 (21:53 +0000)]
* cp-tree.h: get rid of needs_virtual_reinit bit.

From-SVN: r60014

21 years agowin32.h: Fixed typo in "DISABLE_JAVA_NET".
Tom Tromey [Tue, 10 Dec 2002 21:24:47 +0000 (21:24 +0000)]
win32.h: Fixed typo in "DISABLE_JAVA_NET".

* include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
From Laurent Bardet <l.bardet@magic.fr>.

From-SVN: r60013

21 years agore PR other/8882 (Error in the documentation "GNU Compiler Collection Internals")
Janis Johnson [Tue, 10 Dec 2002 21:00:31 +0000 (21:00 +0000)]
re PR other/8882 (Error in the documentation "GNU Compiler Collection Internals")

2002-12-10  Janis Johnson  <janis187@us.ibm.com>

PR other/8882
* doc/tm.texi (PUSH_ARGS): Remove misplaced line.

From-SVN: r60011

21 years agoAdd support for darwin linker options.
Devang Patel [Tue, 10 Dec 2002 20:20:47 +0000 (12:20 -0800)]
Add support for darwin linker options.

        * config/darwin.h(LINK_SPEC): Add darwin specific linker options.
* doc/invoke.texi: Add new "Darwin Options" section.

From-SVN: r60010

21 years agoFix PPC32 SVR4 ABI bug with 128-bit long double.
Jim Wilson [Tue, 10 Dec 2002 19:24:38 +0000 (19:24 +0000)]
Fix PPC32 SVR4 ABI bug with 128-bit long double.

* rs6000.h (RETURN_IN_MEMORY): If ABI_V4, then TFmode is returned in
memory.

From-SVN: r60006

21 years agocxxabi.h (__cxa_bad_cast): Declare it.
Mark Mitchell [Tue, 10 Dec 2002 17:09:05 +0000 (17:09 +0000)]
cxxabi.h (__cxa_bad_cast): Declare it.

* libsupc++/cxxabi.h (__cxa_bad_cast): Declare it.
(__cxa_bad_typeid): Likewise.
(__cxa_atexit): Likewise.
(__cxa_finalize): Likewise.

From-SVN: r60001

21 years agocse.c (cse_insn): Don't cse past a basic block boundary.
Andrew Haley [Tue, 10 Dec 2002 16:35:37 +0000 (16:35 +0000)]
cse.c (cse_insn): Don't cse past a basic block boundary.

2002-12-10  Andrew Haley  <aph@redhat.com>

* cse.c (cse_insn): Don't cse past a basic block boundary.

From-SVN: r60000

21 years agomemconst.C: Use old-deja, not dg, error markers.
Mark Mitchell [Tue, 10 Dec 2002 14:45:48 +0000 (14:45 +0000)]
memconst.C: Use old-deja, not dg, error markers.

* g++.old-deja/g++.ext/memconst.C: Use old-deja, not dg, error
markers.

From-SVN: r59997

21 years ago* g++.dg/parse/parameter-declaration-1.C: Expect error on last line.
Jakub Jelinek [Tue, 10 Dec 2002 11:06:33 +0000 (12:06 +0100)]
* g++.dg/parse/parameter-declaration-1.C: Expect error on last line.

From-SVN: r59994

21 years agolinux.h (LIB_SPEC): If -pthread, add -lpthread even if -shared.
Jakub Jelinek [Tue, 10 Dec 2002 10:55:32 +0000 (11:55 +0100)]
linux.h (LIB_SPEC): If -pthread, add -lpthread even if -shared.

* config/linux.h (LIB_SPEC): If -pthread, add -lpthread even if
-shared.
* config/alpha/linux-elf.h (LIB_SPEC): Likewise.
* config/alpha/linux.h (LIB_SPEC): Likewise.
* config/arm/linux-elf.h (LIB_SPEC): Likewise.
* config/pa/pa-linux.h (LIB_SPEC): Likewise.
* config/sparc/linux.h (LIB_SPEC): Likewise.
* config/sparc/linux64.h (LIB_SPEC): Likewise.

From-SVN: r59992

21 years agoDaily bump.
GCC Administrator [Tue, 10 Dec 2002 08:17:19 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r59990

21 years ago* include/bits/slice_array.h (slice_array<>::operator=): Fix typo.
Gabriel Dos Reis [Tue, 10 Dec 2002 07:32:04 +0000 (07:32 +0000)]
* include/bits/slice_array.h (slice_array<>::operator=): Fix typo.

From-SVN: r59983

21 years agore PR c++/8153 (ICE with static const member in class)
Mark Mitchell [Tue, 10 Dec 2002 07:11:46 +0000 (07:11 +0000)]
re PR c++/8153 (ICE with static const member in class)

PR c++/8153
PR c++/8036
* NEWS: Document removal of in-class initialization extension for
static data members of non-arithmetic, non-enumeration type.
* decl.c (check_static_variable_definition): Do not allow that
extension.
* decl2.c (grokfield): Do not call digest_init when processing
templates.

PR c++/8153
PR c++/8036
* g++.dg/template/static1.C: New test.
* g++.dg/template/static2.C: New test.
* g++.old-deja/g++.ext/memconst.C: New test.

From-SVN: r59980

21 years ago* doc/invoke.texi: Document UltraSparc III option.
Larin Hennessy [Tue, 10 Dec 2002 02:01:29 +0000 (02:01 +0000)]
* doc/invoke.texi: Document UltraSparc III option.

From-SVN: r59977

21 years agowin32.h (_Jv_platform_solib_prefix): New define.
Tom Tromey [Tue, 10 Dec 2002 01:39:32 +0000 (01:39 +0000)]
win32.h (_Jv_platform_solib_prefix): New define.

* include/win32.h (_Jv_platform_solib_prefix): New define.
(_Jv_platform_solib_suffix): Likewise.
* include/posix.h (_Jv_platform_solib_prefix): New define.
(_Jv_platform_solib_suffix): Likewise.
* java/lang/natRuntime.cc: Include StackTrace.h.
(_load): Use findLibrary and new platform defines.
(nativeGetLibname): Use new platform defines.

From-SVN: r59976

21 years agonatResourceBundle.cc (getCallingClassLoader): Assume `t' won't be null.
Tom Tromey [Tue, 10 Dec 2002 01:29:29 +0000 (01:29 +0000)]
natResourceBundle.cc (getCallingClassLoader): Assume `t' won't be null.

* java/util/natResourceBundle.cc (getCallingClassLoader): Assume
`t' won't be null.

From-SVN: r59975

21 years agoi386.h (TARGET_CPU_CPP_BUILTINS): Define __tune_pentium2__ and __tune_pentium3__...
Richard Henderson [Tue, 10 Dec 2002 00:56:36 +0000 (16:56 -0800)]
i386.h (TARGET_CPU_CPP_BUILTINS): Define __tune_pentium2__ and __tune_pentium3__ as necessary.

        * config/i386/i386.h (TARGET_CPU_CPP_BUILTINS): Define
        __tune_pentium2__ and __tune_pentium3__ as necessary.

From-SVN: r59974

21 years agotarget.h (gcc_target): Add cannot_force_const_mem.
Richard Henderson [Mon, 9 Dec 2002 23:54:01 +0000 (15:54 -0800)]
target.h (gcc_target): Add cannot_force_const_mem.

        * target.h (gcc_target): Add cannot_force_const_mem.
        * target-def.h (TARGET_CANNOT_FORCE_CONST_MEM): New.
        (TARGET_INITIALIZER): Add it.
        * varasm.c (force_const_mem): Fail if cannot_force_const_mem.
        * expr.c (emit_move_insn): Be prepared for force_const_mem to fail.
        * reload1.c (reload): Likewise.
        * hooks.c (hook_bool_rtx_false): New.
        * hooks.h: Declare it.

        * config/i386/i386.c (ix86_cannot_force_const_mem): New.
        (TARGET_CANNOT_FORCE_CONST_MEM): New.
        (ix86_expand_move): Remove de-const-pooling hack.

* gcc.dg/tls/opt-4.c: New.

From-SVN: r59971

21 years ago* toplev.c (dump_file): Fix order to match reality.
Jan Hubicka [Mon, 9 Dec 2002 20:49:34 +0000 (21:49 +0100)]
* toplev.c (dump_file): Fix order to match reality.

From-SVN: r59968

21 years agors6000.md (load_multiple): Use adjust_address_nv.
Geoffrey Keating [Mon, 9 Dec 2002 19:59:17 +0000 (19:59 +0000)]
rs6000.md (load_multiple): Use adjust_address_nv.

* config/rs6000/rs6000.md (load_multiple): Use adjust_address_nv.
(store_multiple): Likewise.

From-SVN: r59967

21 years ago* libsupc++/cxxabi.h (__cxa_pure_virtual): Declare it.
Mark Mitchell [Mon, 9 Dec 2002 19:31:33 +0000 (19:31 +0000)]
* libsupc++/cxxabi.h (__cxa_pure_virtual): Declare it.

From-SVN: r59965

21 years agofptr.c (__canonicalize_funcptr_for_compare): Don't canonicalize function pointers...
John David Anglin [Mon, 9 Dec 2002 19:16:14 +0000 (19:16 +0000)]
fptr.c (__canonicalize_funcptr_for_compare): Don't canonicalize function pointers in page 0.

* pa/fptr.c (__canonicalize_funcptr_for_compare): Don't canonicalize
function pointers in page 0.

From-SVN: r59964

21 years agohpux.h (TARGET_STRUCT_ARG_REG_LITTLE_ENDIAN): Remove definition
Steve Ellcey [Mon, 9 Dec 2002 18:07:58 +0000 (18:07 +0000)]
hpux.h (TARGET_STRUCT_ARG_REG_LITTLE_ENDIAN): Remove definition

* config/ia64/hpux.h (TARGET_STRUCT_ARG_REG_LITTLE_ENDIAN): Remove
definition
(MEMBER_TYPE_FORCES_BLK): Move.
* config/ia64/ia64.c (ia64_function_arg): Use PARALLEL to pass
aggregate arguments.
(ia64_function_value): Use PARALLEL to return aggregate values.

From-SVN: r59963

21 years agotm.texi (FUNCTION_ARG_REG_LITTLE_ENDIAN): Remove definition.
Steve Ellcey [Mon, 9 Dec 2002 17:54:07 +0000 (17:54 +0000)]
tm.texi (FUNCTION_ARG_REG_LITTLE_ENDIAN): Remove definition.

* doc/tm.texi (FUNCTION_ARG_REG_LITTLE_ENDIAN): Remove definition.
* defaults.h (FUNCTION_ARG_REG_LITTLE_ENDIAN): Remove definition.
* calls.c (store_unaligned_arguments_into_pseudos) Remove
FUNCTION_ARG_REG_LITTLE_ENDIAN.
* stmt.c (expand_return): Ditto.
* expr.c (move_block_from_reg): Ditto.
(copy_blkmode_from_reg): Ditto.
* expmed.c (store_bit_field): Ditto.

From-SVN: r59962

21 years agoDaily bump.
GCC Administrator [Mon, 9 Dec 2002 08:17:22 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r59961

21 years agoconfig.sub: Import from master repository
Svein E. Seldal [Mon, 9 Dec 2002 08:10:20 +0000 (08:10 +0000)]
config.sub: Import from master repository

* config.sub: Import from master repository
* config.guess: Ditto
* MAINTAINERS: Added Svein Seldal under write after approval
* gcc/config.gcc: Added tic4x-* target as an alias to c4x-*

From-SVN: r59955

21 years agoTest for PR libgcj/8823:
Tom Tromey [Mon, 9 Dec 2002 01:20:38 +0000 (01:20 +0000)]
Test for PR libgcj/8823:

* libjava.lang/pr8823.java: New file.
* libjava.lang/pr8823.out: New file.

From-SVN: r59953

21 years agoconpr-2.C: Expect failure on solaris2.
Kaveh R. Ghazi [Mon, 9 Dec 2002 00:47:30 +0000 (00:47 +0000)]
conpr-2.C: Expect failure on solaris2.

* g++.dg/special/conpr-2.C: Expect failure on solaris2.
* g++.dg/special/ecos.exp (conpr-3.C): Likewise.
* g++.dg/special/initp1.C: Likewise.

From-SVN: r59950

21 years agoConnection.java (getJarFile): download and cache remote jar files.
Mark Wielaard [Mon, 9 Dec 2002 00:04:00 +0000 (00:04 +0000)]
Connection.java (getJarFile): download and cache remote jar files.

* gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
cache remote jar files.
* gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
add File.separator to URL when it is a directory.
* java/lang/ClassLoader.java: Add Classpath javadoc.
(parent): final.
(getParent): Add (disabled) security check.
(findLibrary): New default method.
* java/net/JarURLConnection.java (getManifest): Implement.
(getInputStream): Only create InputStream when entry exists.
(getHeaders): Only use jarFileURLConnection or JarEntry to set length
when they exist.
* java/net/URLClassLoader.java: New/Rewritten version from Classpath.

From-SVN: r59949

21 years agoResourceBundle.java (resourceBundleCache): Not final.
Mark Wielaard [Sun, 8 Dec 2002 23:38:02 +0000 (23:38 +0000)]
ResourceBundle.java (resourceBundleCache): Not final.

* java/util/ResourceBundle.java (resourceBundleCache): Not final.
(lastDefaultLocale): New field.
(getBundle): When Locale.getDefault != lastDefaultLocale reset
resourceBundleCache.

From-SVN: r59948

21 years agoi386.c (ix86_expand_int_movcc): Use force_operand instead of constructing insn directly.
Jan Hubicka [Sun, 8 Dec 2002 14:03:40 +0000 (15:03 +0100)]
i386.c (ix86_expand_int_movcc): Use force_operand instead of constructing insn directly.

* i386.c (ix86_expand_int_movcc):  Use force_operand instead of constructing
insn directly.

From-SVN: r59937

21 years agoDaily bump.
GCC Administrator [Sun, 8 Dec 2002 08:17:08 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r59935