gcc.git
21 years agohowto.html: Link to Dietmar Kuehl's IOStream page...
Jonathan Wakely [Tue, 4 Feb 2003 18:24:07 +0000 (18:24 +0000)]
howto.html: Link to Dietmar Kuehl's IOStream page...

2002-02-04  Jonathan Wakely  <redi@gcc.gnu.org>

* docs/html/27_io/howto.html: Link to Dietmar Kuehl's IOStream page,
add HTML comment about updating links if numbering changes.

From-SVN: r62390

21 years ago[multiple changes]
Paolo Carlini [Tue, 4 Feb 2003 18:08:45 +0000 (18:08 +0000)]
[multiple changes]

2003-02-04  Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/9538
* include/bits/streambuf.tcc (sputbackc): Access
this->gptr()[-1] only if _M_in_beg < _M_in_cur.
* testsuite/27_io/filebuf_virtuals.cc (test08): Add.

2003-02-04  Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/9507
* include/bits/fstream.tcc (open): If the 'ate' repositioning
operation fails, calls close _and_ returns a null pointer
to indicate failure (27.8.1.3,4).
* testsuite/27_io/filebuf_members.cc (test_06): Add.

2003-02-04  Petur Runolfsson  <peturr02@ru.is>

* testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0).

From-SVN: r62388

21 years ago* i386.md (vector push splitters): Fix typo in resolving conflict.
Jan Hubicka [Tue, 4 Feb 2003 18:08:16 +0000 (19:08 +0100)]
* i386.md (vector push splitters):  Fix typo in resolving conflict.

From-SVN: r62387

21 years agoi386.c (x86_function_profiler): Fix typo in format.
Rodney Brown [Tue, 4 Feb 2003 18:01:20 +0000 (18:01 +0000)]
i386.c (x86_function_profiler): Fix typo in format.

2003-02-04  Rodney Brown  <rbrown64@csc.com.au>

* config/i386/i386.c (x86_function_profiler): Fix typo in format.

From-SVN: r62384

21 years agohowto.html: New section on stdio_filebuf.
Jonathan Wakely [Tue, 4 Feb 2003 17:42:19 +0000 (17:42 +0000)]
howto.html: New section on stdio_filebuf.

2002-02-04  Jonathan Wakely  <redi@gcc.gnu.org>

* docs/html/27_io/howto.html: New section on stdio_filebuf.
* docs/html/ext/howto.html: Move stdio_filebuf notes to 27_io.
* docs/html/documentation.html: Regenerate.

From-SVN: r62383

21 years agoinstall.texi (*-*-linux-gnu): Mention glibc requirements for recent libstdc++.
Phil Edwards [Tue, 4 Feb 2003 16:27:20 +0000 (16:27 +0000)]
install.texi (*-*-linux-gnu): Mention glibc requirements for recent libstdc++.

2003-02-04  Phil Edwards  <pme@gcc.gnu.org>

* doc/install.texi (*-*-linux-gnu):  Mention glibc requirements
for recent libstdc++.  Remove formatting cruft.

From-SVN: r62379

21 years agodwarf2out.c (dwarf2out_finish): Add AT_comp_dir attribute even if input file name...
Jakub Jelinek [Tue, 4 Feb 2003 13:30:02 +0000 (14:30 +0100)]
dwarf2out.c (dwarf2out_finish): Add AT_comp_dir attribute even if input file name is absolute...

* dwarf2out.c (dwarf2out_finish): Add AT_comp_dir
attribute even if input file name is absolute, but one of the
includes is relative.

From-SVN: r62377

21 years agoconfigure.in (AC_PROG_CC_WORKS): Define _GNU_SOURCE.
Andreas Jaeger [Tue, 4 Feb 2003 10:04:04 +0000 (11:04 +0100)]
configure.in (AC_PROG_CC_WORKS): Define _GNU_SOURCE.

* libU77/configure.in (AC_PROG_CC_WORKS): Define _GNU_SOURCE.
* libU77/config.hin: Regenerated.
* libU77/configure: Regenerated.

From-SVN: r62373

21 years agore PR c++/7129 (ICE with min/max assignment operators (<?= and >?=))
Mark Mitchell [Tue, 4 Feb 2003 07:23:14 +0000 (07:23 +0000)]
re PR c++/7129 (ICE with min/max assignment operators (<?= and >?=))

PR c++/7129
* call.c (z_candidate): Add args.
(convert_class_to_reference): Set it.
(implicit_conversion): Tidy.
(add_candidate): Add args parameter.
(add_function_candidate): Adjust call to add_candidate.
(add_conv_candidate): Likewise.
(build_builtin_candidate): Likewise.
(build_user_type_conversion_1): Eliminate wasteful tree_cons
usage.
(build_new_function_call): Likewise.
(build_object_call): Likewise.
(add_candidates): New function.
(build_new_op): Use it.
(covert_like_real): Adjust call to build_over_call.
(build_over_call): Remove args parameter.
* operators.def: Add <?= and >?=.

PR c++/7129
* testsuite/g++.dg/ext/max.C: New test.

From-SVN: r62370

21 years agofastjar.texi: Update to GFDL 1.2.
Joseph Myers [Tue, 4 Feb 2003 01:27:53 +0000 (01:27 +0000)]
fastjar.texi: Update to GFDL 1.2.

fastjar:
* fastjar.texi: Update to GFDL 1.2.

gcc:
* doc/gcc.texi, doc/gccint.texi, doc/gcov.texi,
doc/include/fdl.texi, doc/invoke.texi: Update to GFDL 1.2.
* doc/install.texi: Update copyright dates.  Update to GFDL 1.2.

gcc/ada:
* gnat_rm.texi, gnat_ug.texi: Update to GFDL 1.2.
* gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi,
gnat_ug_wnt.texi: Regenerate.

gcc/f:
* g77.texi, invoke.texi: Update to GFDL 1.2.

gcc/java:
* gcj.texi: Update to GFDL 1.2.

gcc/treelang:
* treelang.texi: Update to GFDL 1.2.

libiberty:
* libiberty.texi: Update to GFDL 1.2.

libstdc++-v3:
* docs/html/17_intro/porting.texi: Update to GFDL 1.2.
* docs/html/17_intro/porting.html: Regenerate.

From-SVN: r62365

21 years agoDaily bump.
GCC Administrator [Tue, 4 Feb 2003 00:18:06 +0000 (00:18 +0000)]
Daily bump.

From-SVN: r62364

21 years agolibgcc2.c (__ffsdi2, [...]): Change return type to "int".
Richard Henderson [Mon, 3 Feb 2003 22:42:20 +0000 (14:42 -0800)]
libgcc2.c (__ffsdi2, [...]): Change return type to "int".

        * libgcc2.c (__ffsdi2, __clzsi2, __clzdi2, __ctzsi2, __ctzdi2,
        __popcountsi2, __popcountdi2, __paritysi2, __paritydi2): Change
        return type to "int".  Shuffle declarations and undef int trap.
        * libgcc2.h: Remove their declarations.
        * optabs.c (expand_unop): Force outmode to int for bitops.

From-SVN: r62353

21 years agonatRuntime.cc (java::lang::Runtime::_load)): Take care of the fact that on Win32...
Ranjit Mathew [Mon, 3 Feb 2003 21:23:59 +0000 (21:23 +0000)]
natRuntime.cc (java::lang::Runtime::_load)): Take care of the fact that on Win32...

2003-02-03  Ranjit Mathew <rmathew@hotmail.com>

* java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
could also have been exported as "JNI_OnLoad@8" (MinGW) or
"_JNI_OnLoad@8" (MSVC).

From-SVN: r62348

21 years agoresolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling convention on Win32 to invoke...
Ranjit Mathew [Mon, 3 Feb 2003 21:07:22 +0000 (21:07 +0000)]
resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling convention on Win32 to invoke native JNI methods.

2003-02-03  Ranjit Mathew <rmathew@hotmail.com>

* resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
convention on Win32 to invoke native JNI methods.

From-SVN: r62345

21 years agoxtensa.c (order_regs_for_local_alloc): Order the coprocessor registers before floatin...
Bob Wilson [Mon, 3 Feb 2003 20:23:24 +0000 (20:23 +0000)]
xtensa.c (order_regs_for_local_alloc): Order the coprocessor registers before floating-point registers.

        * config/xtensa/xtensa.c (order_regs_for_local_alloc): Order the
        coprocessor registers before floating-point registers.
        * config/xtensa/xtensa.h (REG_ALLOC_ORDER): Adjust register numbers
        to account for a previously removed register.
        (SPEC_REG_FIRST, SPEC_REG_LAST, SPEC_REG_NUM, COUNT_REGISTER_REGNUM):
        Delete unused macros.

From-SVN: r62340

21 years agoi386.c (ix86_expand_store_builtin): Always force op1 to register.
Jan Hubicka [Mon, 3 Feb 2003 20:20:36 +0000 (21:20 +0100)]
i386.c (ix86_expand_store_builtin): Always force op1 to register.

* i386.c (ix86_expand_store_builtin):  Always force op1 to register.
(mov*_internal): Fix predicates; require one of operands to not be
memory.
(SSE?MMX move expanders):  Fix predicates; force one of operands to
register.
(SSE/MMX push patterns): Reorganize; fix x86-64 code generation.
(movups/movupd/movdqu patterns): Force one of operands to not be
memory.

From-SVN: r62339

21 years agohooks.c (hook_rtx_rtx_identity): Generic hook function that takes a single rtx and...
Roger Sayle [Mon, 3 Feb 2003 19:40:58 +0000 (19:40 +0000)]
hooks.c (hook_rtx_rtx_identity): Generic hook function that takes a single rtx and returns it unmodified.

* hooks.c (hook_rtx_rtx_identity): Generic hook function that
takes a single rtx and returns it unmodified.
* hooks.h (hook_rtx_rtx_identity): Prototype here.
* target.h (struct gcc_target): Add "delegitimize_address"
field to target structure.
* target-def.h (TARGET_DELEGITIMIZE_ADDRESS):  Provide default
for delegitimize_address target using hook_rtx_rtx_identity.
(TARGET_INITIALIZER): Initialize delegitimize_address field
using TARGET_DELEGITIMIZE_ADDRESS macro.
* simplify-rtx.c (avoid_constant_pool_reference): Handle float
extensions of constant pool references.  Use delegitimize_address
to undo the obfuscation of "-fpic".
* Makefile.in (simplify-rtx.o): Add dependency on target.h.

* config/i386/i386.c (TARGET_DELEGITIMIZE_ADDRESS): Define as
i386_simplify_dwarf_addr.
(ix86_find_base_term): Simplify using i386_simplify_dwarf_addr.
   (maybe_get_pool_constant): Likewise.

From-SVN: r62336

21 years agostd_bitset.h: Replace CHAR_BIT with __CHAR_BIT__, use numeric_limits for bits-per...
Falk Hueffner [Mon, 3 Feb 2003 19:37:53 +0000 (19:37 +0000)]
std_bitset.h: Replace CHAR_BIT with __CHAR_BIT__, use numeric_limits for bits-per-word values.

2003-02-03  Falk Hueffner  <falk.hueffner@student.uni-tuebingen.de>
            Phil Edwards  <pme@gcc.gnu.org>

* include/std/std_bitset.h:  Replace CHAR_BIT with __CHAR_BIT__, use
numeric_limits for bits-per-word values.
(_Base_bitset::_M_do_count, _Base_bitset<1>::_M_do_count):
Use __builtin_popcountl instead.
(_Base_bitset::_M_do_find_first, _Base_bitset::_M_do_find_next,
_Base_bitset<1>::_M_do_find_first, _Base_bitset<1>::_M_do_find_next):
Use __builtin_ctzl instead.
(_S_bit_count, _S_first_one):  Remove.
* config/linker-map.gnu (GLIBCPP_3.4):  Remove std::_S_bit_count.
* src/Makefile.am (sources):  Remove bitset.cc.
* src/bitset.cc:  Delete file.
* src/Makefile.in:  Regenerate.

Co-Authored-By: Phil Edwards <pme@gcc.gnu.org>
From-SVN: r62335

21 years agoparse.y (java_expand_classes): Scan the whole class list looking for access methods...
Andrew Haley [Mon, 3 Feb 2003 17:44:55 +0000 (17:44 +0000)]
parse.y (java_expand_classes): Scan the whole class list looking for access methods that haven't yet been expanded.

2003-01-31  Andrew Haley  <aph@redhat.com>

        * parse.y (java_expand_classes): Scan the whole class list looking
        for access methods that haven't yet been expanded.

From-SVN: r62329

21 years agoFix ChangeLog entry.
Andrew Haley [Mon, 3 Feb 2003 17:14:38 +0000 (17:14 +0000)]
Fix ChangeLog entry.

From-SVN: r62328

21 years agoconfigure.host (x86_64): Enable interpreter.
Andrew Haley [Mon, 3 Feb 2003 17:10:16 +0000 (17:10 +0000)]
configure.host (x86_64): Enable interpreter.

2003-02-03  Andrew Haley  <aph@emcee.cambridge.redhat.com>

        * configure.host (x86_64): Enable interpreter.

From-SVN: r62326

21 years agoAdd missing TOC link from previous commit. Regenerate .txt file.
Phil Edwards [Mon, 3 Feb 2003 16:47:44 +0000 (16:47 +0000)]
Add missing TOC link from previous commit.  Regenerate .txt file.

From-SVN: r62323

21 years agoPR libstdc++/9527, PR libstdc++/8713
Phil Edwards [Mon, 3 Feb 2003 16:44:44 +0000 (16:44 +0000)]
PR libstdc++/9527, PR libstdc++/8713

2003-02-03  Phil Edwards  <pme@gcc.gnu.org>

PR libstdc++/9527, PR libstdc++/8713
* docs/html/install.html:  Mention glibc version requirement.
* docs/html/faq/index.html (3.8):  New note, glibc 2.2.5+ is needed
with 3.2.1+ (formatting bugfixes).
* docs/html/faq/index.txt:  Regenerate.

From-SVN: r62322

21 years agojacks.exp (gcj_jacks_write): Set LD_LIBRARY_PATH to find libgcc_s.
Ulrich Weigand [Mon, 3 Feb 2003 16:20:30 +0000 (16:20 +0000)]
jacks.exp (gcj_jacks_write): Set LD_LIBRARY_PATH to find libgcc_s.

* libjava.jacks/jacks.exp (gcj_jacks_write): Set LD_LIBRARY_PATH
to find libgcc_s.  Set JAVA_CLASSPATH to find libgcj.jar.

From-SVN: r62318

21 years agolibgcj.spec.in (jc1): Add BACKTRACESPEC.
Andrew Haley [Mon, 3 Feb 2003 15:59:48 +0000 (15:59 +0000)]
libgcj.spec.in (jc1): Add BACKTRACESPEC.

2003-02-03  Andrew Haley  <aph@redhat.com>

* libgcj.spec.in (jc1): Add BACKTRACESPEC.
        * configure.host (x86_64): Default to -fno-omit-frame-pointer.
        * configure.in (BACKTRACESPEC): New.
        * configure: Regenerate.

From-SVN: r62316

21 years ago* gcc.c-torture/execute/20030203-1.c: New test.
Jan Hubicka [Mon, 3 Feb 2003 15:07:50 +0000 (16:07 +0100)]
* gcc.c-torture/execute/20030203-1.c: New test.

From-SVN: r62314

21 years ago* i386.c (ix86_expand_int_movcc): Fix setcc sign bit case.
Jan Hubicka [Mon, 3 Feb 2003 15:02:07 +0000 (15:02 +0000)]
* i386.c (ix86_expand_int_movcc):  Fix setcc sign bit case.

From-SVN: r62313

21 years agoi386.c (ix86_expand_int_movcc): Fix setcc sign bit case.
Jan Hubicka [Mon, 3 Feb 2003 15:02:02 +0000 (15:02 +0000)]
i386.c (ix86_expand_int_movcc): Fix setcc sign bit case.

* i386.c (ix86_expand_int_movcc):  Fix setcc sign bit case.

[[Split portion of a mixed commit.]]

From-SVN: r62312.2

21 years agoFix for java/4269:
Adrian Bunk [Mon, 3 Feb 2003 13:57:15 +0000 (13:57 +0000)]
Fix for java/4269:

2003-01-31 Adrian Bunk <bunk@fs.tum.de>

Fix for java/4269:

* jv-scan.c: Use HAVE_LANGINFO_CODESET instead of HAVE_NL_LANGINFO
to fix bootstrap on sparc-unknown-netbsdelf1.5.
* jcf-parse.c: Likewise.

From-SVN: r62310

21 years agore PR libstdc++/9234 (unary minus for valarrays broken)
Volker Reichelt [Mon, 3 Feb 2003 10:38:36 +0000 (10:38 +0000)]
re PR libstdc++/9234 (unary minus for valarrays broken)

PR libstdc++/9234
* include/bits/valarray_before.h (_UnBase::operator[]): Apply unary
operator.

* include/bits/valarray_before.h (__not_equal_to): Use != instead of ==.

* testsuite/26_numerics/valarray_operators.cc: New test.

From-SVN: r62309

21 years ago20000320-1.c: The ARM VFP format is 'natural-endian'.
Richard Earnshaw [Mon, 3 Feb 2003 10:15:15 +0000 (10:15 +0000)]
20000320-1.c: The ARM VFP format is 'natural-endian'.

* gcc.c-torture/exectue/ieee/20000320-1.c: The ARM VFP format is
'natural-endian'.

From-SVN: r62306

21 years agoMake-lang.in (ada.install-info): Let $(DESTDIR)$(infodir) be created if necessary.
Christian Cornelssen [Mon, 3 Feb 2003 00:55:32 +0000 (01:55 +0100)]
Make-lang.in (ada.install-info): Let $(DESTDIR)$(infodir) be created if necessary.

* Make-lang.in (ada.install-info): Let $(DESTDIR)$(infodir)
be created if necessary.
(ada.install-common): Let $(DESTDIR)$(bindir) be created
if necessary.  Remove erroneous and redundant gnatchop
installation commands. Test for gnatdll before attempting
to install it.
(ada.uninstall): Also uninstall gnatfind, gnatxref, gnatlbr,
and gnatdll from all plausible locations.

From-SVN: r62304

21 years ago* regclass.c (cannot_change_mode_set_regs): Correct argument order.
Jan Hubicka [Mon, 3 Feb 2003 00:31:53 +0000 (01:31 +0100)]
* regclass.c (cannot_change_mode_set_regs): Correct argument order.

From-SVN: r62302

21 years agoDaily bump.
GCC Administrator [Mon, 3 Feb 2003 00:17:03 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r62299

21 years agoconfigure: Rebuilt.
Tom Tromey [Sun, 2 Feb 2003 23:08:35 +0000 (23:08 +0000)]
configure: Rebuilt.

* configure: Rebuilt.
* configure.in (TOOLKIT) [xlib]: Set correctly.

From-SVN: r62292

21 years agoMakefile.in: Rebuilt.
Tom Tromey [Sun, 2 Feb 2003 23:06:39 +0000 (23:06 +0000)]
Makefile.in: Rebuilt.

* Makefile.in: Rebuilt.
* Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
libstdc++.

From-SVN: r62291

21 years ago* MAINTAINERS (Write after approval): Add myself.
Christian Cornelssen [Sun, 2 Feb 2003 20:44:31 +0000 (21:44 +0100)]
* MAINTAINERS (Write after approval): Add myself.

From-SVN: r62287

21 years ago_tilib.c: Don't include tsystem.h or defaults.h.
Kaveh R. Ghazi [Sun, 2 Feb 2003 19:55:15 +0000 (19:55 +0000)]
_tilib.c: Don't include tsystem.h or defaults.h.

* mips/_tilib.c: Don't include tsystem.h or defaults.h.  Don't
define LIBGCC2_WORDS_BIG_ENDIAN.  Include coretypes.h and tm.h.

From-SVN: r62284

21 years ago* varasm.c (asm_output_aligned_bss): Declare as possibly unused.
Andreas Schwab [Sun, 2 Feb 2003 17:30:49 +0000 (17:30 +0000)]
* varasm.c (asm_output_aligned_bss): Declare as possibly unused.

From-SVN: r62282

21 years agoarm.md (sibcall_epilogue): Set the "conds" to "clob".
Richard Earnshaw [Sun, 2 Feb 2003 16:20:31 +0000 (16:20 +0000)]
arm.md (sibcall_epilogue): Set the "conds" to "clob".

* arm.md (sibcall_epilogue): Set the "conds" to "clob".
(epilogue_insns): Likewise.

From-SVN: r62281

21 years ago* doc/install.texi (hppa*-hp-hpux11*): Update installation notes.
John David Anglin [Sun, 2 Feb 2003 06:08:58 +0000 (06:08 +0000)]
* doc/install.texi (hppa*-hp-hpux11*): Update installation notes.

From-SVN: r62273

21 years agopa-protos.h (attr_length_millicode_call): Remove second argument.
John David Anglin [Sun, 2 Feb 2003 06:04:58 +0000 (06:04 +0000)]
pa-protos.h (attr_length_millicode_call): Remove second argument.

* pa-protos.h (attr_length_millicode_call): Remove second argument.
(attr_length_indirect_call, attr_length_indirect_call,
attr_length_save_restore_dltp): New prototypes.
* pa.c (attr_length_millicode_call): Remove second argument.  Check
INSN_ADDRESSES_SET_P in distance calculation.
(output_millicode_call): Check INSN_ADDRESSES_SET_P before using
INSN_ADDRESSES.
(attr_length_call): Check INSN_ADDRESSES_SET_P in distance calculation.
(output_call): Check INSN_ADDRESSES_SET_P before using INSN_ADDRESSES.
Call attr_length_call directly.
(attr_length_indirect_call, output_indirect_call,
attr_length_save_restore_dltp): New functions.
* pa.md (attr_length_millicode_call): Drop second argument from all
patterns.
(return_internal_pic): Delete.
(return_external_pic): Remove use of PIC register and pic operand and
flag checks.
(epilogue): Use return_internal for both normal and pic code.
(call, call_value): Emit new 32-bit pic patterns for symref and
indirect calls.  Remove uses for arg pointer and pic register.
(call_symref_pic, call_symref_pic_post_reload, call_reg_pic,
call_reg_pic_post_reload, call_val_symref_pic,
call_val_symref_pic_post_reload, call_val_reg_pic,
call_val_reg_pic_post_reload): New pre and post reload insn patterns.
Implement define_split and define_peephole2 patterns for pre reload
patterns.
(call_symref_64bit, call_internal_reg_64bit, call_value_symref_64bit,
call_value_internal_reg_64bit): Shorten names.
(all call patterns): Explicitly indicate registers used and clobbered.
Use attr_length_indirect_call and attr_length_save_restore_dltp for
attribute length calculation.  Move code generation for indirect calls
to output_indirect_call.
(sibcall, sibcall_value): Don't restore PIC register.
(exception_receiver, builtin_setjmp_receiver): Add blockage after PIC
register retore.

From-SVN: r62272

21 years agoinstall.texi (Testing): Simplify and compress instructions concerning Dejagnu.
Gerald Pfeifer [Sun, 2 Feb 2003 01:52:15 +0000 (02:52 +0100)]
install.texi (Testing): Simplify and compress instructions concerning Dejagnu.

* doc/install.texi (Testing): Simplify and compress instructions
concerning Dejagnu.

From-SVN: r62270

21 years agocollect2.c (pexecute_pid): Rename to pid.
John David Anglin [Sun, 2 Feb 2003 01:31:40 +0000 (01:31 +0000)]
collect2.c (pexecute_pid): Rename to pid.

* collect2.c (pexecute_pid): Rename to pid.
(collect_wait, collect_execute, scan_prog_file, scan_libraries): Use
pid.

From-SVN: r62269

21 years agoextend.texi (Function Attributes): Remove documentation for PowerPC Windows NT functi...
Geoffrey Keating [Sun, 2 Feb 2003 01:21:21 +0000 (01:21 +0000)]
extend.texi (Function Attributes): Remove documentation for PowerPC Windows NT function attributes..

* doc/extend.texi (Function Attributes): Remove documentation
for PowerPC Windows NT function attributes..

From-SVN: r62268

21 years agoDaily bump.
GCC Administrator [Sun, 2 Feb 2003 00:17:05 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r62267

21 years agoindex.html: Correct link to libg++ information.
Phil Edwards [Sat, 1 Feb 2003 21:47:13 +0000 (21:47 +0000)]
index.html: Correct link to libg++ information.

2003-02-01  Phil Edwards  <pme@gcc.gnu.org>

* docs/html/faq/index.html:  Correct link to libg++ information.
* docs/html/faq/index.txt:  Regenerated.

From-SVN: r62259

21 years agodwarf2out.c (gen_type_die): Check for typedefs before calling for TYPE_MAIN_VARIANT.
Daniel Jacobowitz [Sat, 1 Feb 2003 21:12:55 +0000 (21:12 +0000)]
dwarf2out.c (gen_type_die): Check for typedefs before calling for TYPE_MAIN_VARIANT.

* dwarf2out.c (gen_type_die): Check for typedefs before calling
for TYPE_MAIN_VARIANT.

From-SVN: r62258

21 years agolibgcc2.c: Include auto-host.h.
Richard Henderson [Sat, 1 Feb 2003 20:58:35 +0000 (12:58 -0800)]
libgcc2.c: Include auto-host.h.

        * libgcc2.c: Include auto-host.h.
        (ATTRIBUTE_HIDDEN): New.
        (__clz_tab): Don't declare here for clz and ctz.
        (__clzsi2, __clzdi2): Use count_leading_zeros.
        (__ctzsi2, __ctzdi2): Use count_trailing_zeros.
        (__popcount_tab): Mark ATTRIBUTE_HIDDEN.
        (__paritysi2, __paritydi2): Use shifts instead of __popcount_tab.
        * longlong.h (__clz_tab): Mark ATTRIBUTE_HIDDEN.

From-SVN: r62256

21 years agoi386.md (addsi_1_zext splitter): Add TARGET_64BIT to the conditional.
Richard Henderson [Sat, 1 Feb 2003 20:18:05 +0000 (12:18 -0800)]
i386.md (addsi_1_zext splitter): Add TARGET_64BIT to the conditional.

        * config/i386/i386.md (addsi_1_zext splitter): Add TARGET_64BIT
        to the conditional.
        (ashlsi3_1_zext splitter): Likewise.

From-SVN: r62254

21 years ago[multiple changes]
Richard Henderson [Sat, 1 Feb 2003 19:00:02 +0000 (11:00 -0800)]
[multiple changes]

2003-02-01  Richard Henderson  <rth@redhat.com>

* optabs.c (expand_unop): Use word_mode for outmode of bit scaners.
* libgcc2.c (__ffsdi2, __clzsi2, __clzdi2, __ctzsi2, __ctzdi2,
__popcountsi2, __popcountdi2, __paritysi2 __paritydi2): Change
return type to Wtype.

* libgcc-std.ver (GCC_3.4): Fix inheritance.

* config/i386/i386.md (ffssi2): Use nonimmediate_operand for
expander input constraint.

2003-02-01  Falk Hueffner  <falk.hueffner@student.uni-tuebingen.de>

        * optabs.h (optab_index): Add OTI_clz, OTI_ctz, OTI_popcount and
        OTI_parity.
        (clz_optab, ctz_optab, popcount_optab, parity_optab): New.
        * optabs.c (widen_clz, expand_parity): New.
        (expand_unop): Handle clz and parity.  Hardcode SImode as outmode
        for libcalls to clz, ctz, popcount, and parity.
        (init_optabs): Init clz_optab, ctz_optab, popcount_optab and
        parity_optab, and set up libfunc handlers.
        * libgcc2.c (__clzsi2, __clzdi2, __ctzsi2, __ctzdi2,
        __popcountsi2, __popcountdi2, __paritysi2 __paritydi2,
        __popcount_tab): New.
        * libgcc2.h: Declare them.
        * libgcc-std.ver (GCC_3.4): Add new functions from libgcc2.c.
        * genopinit.c (optabs): Add clz_optab, ctz_optab, popcount_optab
        and parity_optab.
        * builtin-types.def (BT_FN_INT_LONG, BT_FN_INT_LONGLONG): New.
        * builtins.def (BUILT_IN_CLZ, BUILT_IN_CTZ, BUILT_IN_POPCOUNT,
        BUILT_IN_PARITY, BUILT_IN_FFSL, BUILT_IN_CLZL, BUILT_IN_CTZL,
        BUILT_IN_POPCOUNTL, BUILT_IN_PARITYL, BUILT_IN_FFSLL,
        BUILT_IN_CLZLL, BUILT_IN_CTZLL, BUILT_IN_POPCOUNTLL,
        BUILT_IN_PARITYLL): New.
        * builtins.c (expand_builtin_unop): Rename from expand_builtin_ffs
        and add optab argument.
        (expand_builtin): Expand BUILT_IN_{FFS,CLZ,POPCOUNT,PARITY}*.
        * tree.def (CLZ_EXPR, CTZ_EXPR, POPCOUNT_EXPR, PARITY_EXPR): New.
        * expr.c (expand_expr): Handle them.
        * fold-const.c (tree_expr_nonnegative_p): Likewise.
        * rtl.def (CLZ, CTZ, POPCOUNT, PARITY): New.
        * reload1.c (eliminate_regs): Handle them.
        (elimination_effects): Likewise.
        * function.c (instantiate_virtual_regs_1): Likewise
        * genattrtab.c (check_attr_value): Likewise.
        * simplify-rtx.c (simplify_unary_operation): Likewise.
        * c-common.c (c_common_truthvalue_conversion): Handle POPCOUNT_EXPR.
        * combine.c (combine_simplify_rtx): Handle POPCOUNT and PARITY.
        (nonzero_bits): Handle CLZ, CTZ, POPCOUNT and PARITY.
        * config/alpha/alpha.md (clzdi2, ctzdi2, popcountdi2): New.
        * config/arm/arm.c (arm_init_builtins): Rename __builtin_clz to
        __builtin_arm_clz.
        * Makefile.in (LIB2FUNCS_1, LIB2FUNCS_2): Move...
        * mklibgcc.in (lib2funcs): ...here and merge.  Add new members.
        * doc/extend.texi (Other Builtins): Add new builtins.
        * doc/md.texi (Standard Names): Add new patterns.

From-SVN: r62252

21 years ago* reload.c: Revert 2003-01-31 change.
Ulrich Weigand [Sat, 1 Feb 2003 17:14:32 +0000 (17:14 +0000)]
* reload.c: Revert 2003-01-31 change.

From-SVN: r62249

21 years agoConst correctness issue: http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html
Paolo Carlini [Sat, 1 Feb 2003 16:37:20 +0000 (17:37 +0100)]
Const correctness issue: gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html

2003-02-01  Paolo Carlini  <pcarlini@unitus.it>
    Benjamin Kosnik  <bkoz@redhat.com>

Const correctness issue:
http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html
* include/bits/locale_classes.h
(locale::_Impl::_M_facets): Change type to const facet**.
(locale::_Impl::_M_install_facet): Change declaration to
take const facet*.
(locale::facet::_M_references): Make mutable.
(locale::facet::_M_add_reference): Declare const.
(locale::facet::_M_remove_reference): Likewise.
* include/bits/locale_facets.tcc
(use_facet(const locale&)): Tweak for const facet** _M_facets.
(has_facet(const locale&)): Likewise.
* src/locale.cc
(locale::facet::_M_add_reference): Adjust definition.
(locale::facet::_M_remove_reference): Likewise.
* src/localename.cc
(locale::_Impl::_Impl(const _Impl&, size_t)): Tweak for
const facet** _M_facets.
(locale::_Impl::_Impl(const char*, size_t)): Likewise.
(locale::_Impl::_Impl(facet**, size_t, bool)): Likewise.
(locale::_Impl::_M_install_facet): Adjust definition to take
const facet* and for const facet** _M_facets.
* testsuite/22_locale/locale/cons/8.cc: Add.

Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com>
From-SVN: r62248

21 years ago* combine.c (combine_simplify_rtx): Use reversed_comparison_code_parts.
Jan Hubicka [Sat, 1 Feb 2003 13:16:29 +0000 (14:16 +0100)]
* combine.c (combine_simplify_rtx):  Use reversed_comparison_code_parts.

From-SVN: r62246

21 years agoflags.h (flag_volatile): Remove declaration.
Richard Sandiford [Sat, 1 Feb 2003 13:09:41 +0000 (13:09 +0000)]
flags.h (flag_volatile): Remove declaration.

* flags.h (flag_volatile): Remove declaration.
(flag_volatile_global, flag_volatile_static): Likewise.
* c-typeck.c (build_indirect_ref): Don't check flag_volatile.
* toplev.c (flag_volatile): Remove definition.
(flag_volatile_global, flag_volatile_static): Likewise.
(f_options): Remove corresponding entries here.
* varasm.c (make_decl_rtl): Don't check flag_volatile_global
or flag_volatile_static.
* doc/invoke.texi: Remove documentation of -fvolatile,
-fvolatile-global and -fvolatile-static.

cp/
* typeck.c (build_indirect_ref): Don't check flag_volatile.

ada/
* utils2.c (build_unary_op): Don't check flag_volatile.
* gnat_ug.texi: Remove -fvolatile from example.
* gnat_ug_vxw.texi: Likewise.

testsuite/
* g++.dg/init/new1.C: Remove -fvolatile dg-options line.
* g++.dg/init/new2.C: Likewise.
* g++.dg/other/new1.C: Likewise.

From-SVN: r62245

21 years agoFix wrongly applied last patch.
Andreas Jaeger [Sat, 1 Feb 2003 11:16:19 +0000 (12:16 +0100)]
Fix wrongly applied last patch.

From-SVN: r62239

21 years agoCorrect ChangeLog entry.
Loren J. Rittle [Sat, 1 Feb 2003 05:35:21 +0000 (05:35 +0000)]
Correct ChangeLog entry.

From-SVN: r62236

21 years agopa.c (pa_output_function_prologue, [...]): Move updating of total_code_bytes from...
John David Anglin [Sat, 1 Feb 2003 04:26:29 +0000 (04:26 +0000)]
pa.c (pa_output_function_prologue, [...]): Move updating of total_code_bytes from prologue to epilogue.

* pa.c (pa_output_function_prologue, pa_output_function_epilogue): Move
updating of total_code_bytes from prologue to epilogue.

From-SVN: r62233

21 years agoMakefile.in: Rebuilt.
Mark Wielaard [Sat, 1 Feb 2003 01:36:17 +0000 (01:36 +0000)]
Makefile.in: Rebuilt.

       * Makefile.in: Rebuilt.
       * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.

From-SVN: r62231

21 years ago* gjavah.c (throwable_p): Allocate 1 more byte for string.
Mark Wielaard [Sat, 1 Feb 2003 01:31:31 +0000 (01:31 +0000)]
* gjavah.c (throwable_p): Allocate 1 more byte for string.

From-SVN: r62228

21 years agoreload.c (find_reloads): Do not use the mode specified in the insn pattern as reload...
Ulrich Weigand [Sat, 1 Feb 2003 01:01:38 +0000 (01:01 +0000)]
reload.c (find_reloads): Do not use the mode specified in the insn pattern as reload mode for address...

gcc/
* reload.c (find_reloads): Do not use the mode specified in the insn
pattern as reload mode for address operands.  Do not generate optional
reloads for operands where a mandatory reload was already pushed.
Generate optional reloads only in the final pass though find_reloads.
(have_replacement_p): New function.

gcc/testsuite/
* gcc.dg/20030129-1.c: New test.

From-SVN: r62225

21 years agoDaily bump.
GCC Administrator [Sat, 1 Feb 2003 00:17:03 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r62224

21 years agoinstall.texi (Testing): Remove a reference to our obsolete /testresults web pages...
Gerald Pfeifer [Fri, 31 Jan 2003 23:58:30 +0000 (00:58 +0100)]
install.texi (Testing): Remove a reference to our obsolete /testresults web pages and strip redundant...

* doc/install.texi (Testing): Remove a reference to our obsolete
/testresults web pages and strip redundant information concerning
test results.
(Binaries): Refer to Microsoft Windows instead of listing all
possible variants.

From-SVN: r62214

21 years agoloop.c (emit_prefetch_instructions): Do conversion at right place in RTL chain.
Jan Hubicka [Fri, 31 Jan 2003 23:34:17 +0000 (00:34 +0100)]
loop.c (emit_prefetch_instructions): Do conversion at right place in RTL chain.

* loop.c (emit_prefetch_instructions):  Do conversion at right place in
RTL chain.

* combine.c (simplify_set): Reverse order of ragumetns to
REG_CANNOT_CHANGE_MODE_P
* df.c (df_def_record_1): Likewise.
* recog.c (register_operand): Likewise.
* simplify-rtx.c (simplify_subreg): Likewise.
* hard-reg-set.h (REG_CANNOT_CHANGE_MODE_P): Update use of
CANNOT_CHANGE_MODE_CLASS.
* regclass.c (cannot_change_mode_set_regs, invalid_mode_change_p):
Likewise.
* reload.c (push_reload): Likewise.
* alpha.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
* ia64.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
* mips.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
* mips-protos.h (mips_cannot_change_mode_class): Update prototype.
* mips.c (mips_cannot_change_mode_class): Update.
* pa64-regs.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
* rs6000.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
* s390.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
* sh.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
* sh-protos.h (sh_cannot_change_mode_class): Update prototype.
* sh.c (sh_cannot_change_mode_class): Update.
* i386.h (CANNOT_CHANGE_MODE_CLASS): New.
* tm.texi (CANNOT_CHANGE_MODE_CLASS): Update documentation.

From-SVN: r62212

21 years agodarwin.h (LINK_COMMAND_SPEC): Update for Nathan's recent change to LINK_COMMAND_SPEC...
Geoffrey Keating [Fri, 31 Jan 2003 23:08:32 +0000 (23:08 +0000)]
darwin.h (LINK_COMMAND_SPEC): Update for Nathan's recent change to LINK_COMMAND_SPEC in gcc.c.

* config/darwin.h (LINK_COMMAND_SPEC): Update for Nathan's recent
change to LINK_COMMAND_SPEC in gcc.c.

From-SVN: r62211

21 years agojni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be cast to element type.
Tom Tromey [Fri, 31 Jan 2003 22:50:48 +0000 (22:50 +0000)]
jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be cast to element type.

* jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
cast to element type.
(_Jv_JNI_SetObjectArrayElement): Check array bounds.
(_Jv_JNI_GetObjectArrayElement): Likewise.

From-SVN: r62210

21 years agojartool.c (extract_jar): Don't lseek to skip extra fields.
Daiki Ueno [Fri, 31 Jan 2003 22:48:27 +0000 (22:48 +0000)]
jartool.c (extract_jar): Don't lseek to skip extra fields.

2003-01-31  Daiki Ueno  <ueno@unixuser.org>

* jartool.c (extract_jar): Don't lseek to skip extra fields.
(consume): If the stream is seekable, do lseek.

From-SVN: r62208

21 years agore PR target/9506 (ABI breakage: structure return)
Loren J. Rittle [Fri, 31 Jan 2003 21:59:38 +0000 (21:59 +0000)]
re PR target/9506 (ABI breakage: structure return)

PR c/9506
* i386.c (override_options): Use DEFAULT_PCC_STRUCT_RETURN.
* gcc.dg/struct-ret-libc.c: New test.

From-SVN: r62204

21 years agoMakefile.in: Rebuilt.
Tom Tromey [Fri, 31 Jan 2003 21:47:16 +0000 (21:47 +0000)]
Makefile.in: Rebuilt.

* Makefile.in: Rebuilt.
* Makefile.am (cond_x_ltlibrary): Renamed library to
lib-gnu-awt-xlib.la.
(lib_gnu_awt_xlib_la_SOURCES): Renamed.
(EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
(lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
(lib_gnu_awt_xlib_la_LIBADD): Likewise.
(lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
(lib_gnu_awt_xlib_la_LINK): Likewise.
(install-exec-hook): Removed.
(lib-gnu-awt-xlib.la): Renamed.

From-SVN: r62201

21 years agopa32-regs.h (REGNO_REG_CLASS, [...]): Delete duplicated code.
John David Anglin [Fri, 31 Jan 2003 20:23:23 +0000 (20:23 +0000)]
pa32-regs.h (REGNO_REG_CLASS, [...]): Delete duplicated code.

* pa32-regs.h (REGNO_REG_CLASS, REG_CLASS_FROM_LETTER): Delete
duplicated code.

From-SVN: r62196

21 years agoMakefile.tpl (all-sid): Add libiberty/bfd/opcodes dependencies.
Frank Ch. Eigler [Fri, 31 Jan 2003 20:02:02 +0000 (20:02 +0000)]
Makefile.tpl (all-sid): Add libiberty/bfd/opcodes dependencies.

2003-01-31  Frank Ch. Eigler  <fche@redhat.com>

* Makefile.tpl (all-sid): Add libiberty/bfd/opcodes dependencies.
* Makefile.in: Regenerated.

From-SVN: r62195

21 years agoconfigure.in: Adjust command to source config-ml.in to account for changes to the...
Christian Cornelssen [Fri, 31 Jan 2003 19:35:22 +0000 (20:35 +0100)]
configure.in: Adjust command to source config-ml.in to account for changes to the...

2003-01-31  Christian Cornelssen  <ccorn@cs.tu-berlin.de>,
            Andreas Schwab  <schwab@suse.de>

        * configure.in: Adjust command to source config-ml.in to account
        for changes to the libffi_basedir definition.
        (libffi_basedir): Remove ${srcdir} from value and include trailing
        slash if nonempty.

        * configure: Regenerate.

Co-Authored-By: Andreas Schwab <schwab@suse.de>
From-SVN: r62193

21 years agore PR fortran/7681 (ICE in compensate_edge, at reg-stack.c:2591)
Toon Moene [Fri, 31 Jan 2003 18:43:08 +0000 (19:43 +0100)]
re PR fortran/7681 (ICE in compensate_edge, at reg-stack.c:2591)

2003-01-31  Toon Moene  <toon@moene.indiv.nluug.nl>

* news.texi: Document fixing PR fortran/7681
and optimization/9258.

From-SVN: r62192

21 years agolibjava.exp (libjava_prune_warnings): Remove all unreachable bytecode warnings.
Mark Wielaard [Fri, 31 Jan 2003 18:09:04 +0000 (18:09 +0000)]
libjava.exp (libjava_prune_warnings): Remove all unreachable bytecode warnings.

       * lib/libjava.exp (libjava_prune_warnings): Remove all unreachable
       bytecode warnings.

From-SVN: r62190

21 years agoaclocal.m4, [...]: Rebuilt.
Tom Tromey [Fri, 31 Jan 2003 17:59:00 +0000 (17:59 +0000)]
aclocal.m4, [...]: Rebuilt.

* aclocal.m4, configure, include/config.h.in: Rebuilt.
* acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
aclocal.m4 and lost in some merge.

From-SVN: r62188

21 years agoWindow.java (Window(Window,GraphicsConfiguration)): Don't try to find graphics config...
Tom Tromey [Fri, 31 Jan 2003 17:54:14 +0000 (17:54 +0000)]
Window.java (Window(Window,GraphicsConfiguration)): Don't try to find graphics configuration.

* java/awt/Window.java (Window(Window,GraphicsConfiguration)):
Don't try to find graphics configuration.
* java/awt/Toolkit.java (default_toolkit_name): Use new
Configuration entry.
* gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
New global.
* configure: Rebuilt.
* configure.in (TOOLKIT): New subst.
(--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
Do AWT tests much earlier.  Run Gtk tests.  Make jniinclude
directory.  Make output directories for .c files.
* Makefile.in: Rebuilt.
* Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
(toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
(all_java_source_files): Added new sources.
($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
(gtk_c_files): New macro.
(gtk_c_source_files): New macro.
(cond_gtk_ltlibrary): New macro.
($(gtk_c_files)): New target.
(lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
(gtk_awt_peer_sources): New macro.
(gtk_c_headers): New macro.
($(gtk_c_headers)): New target.
(ACLOCAL_AMFLAGS): New macro.
* gtk.m4, glib.m4, libart.m4: New files.
* gnu/java/awt/peer/gtk/GdkFontMetrics.java,
gnu/java/awt/peer/gtk/GdkGraphics.java,
gnu/java/awt/peer/gtk/GtkArg.java,
gnu/java/awt/peer/gtk/GtkArgList.java,
gnu/java/awt/peer/gtk/GtkButtonPeer.java,
gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
gnu/java/awt/peer/gtk/GtkChoicePeer.java,
gnu/java/awt/peer/gtk/GtkClipboard.java,
gnu/java/awt/peer/gtk/GtkComponentPeer.java,
gnu/java/awt/peer/gtk/GtkContainerPeer.java,
gnu/java/awt/peer/gtk/GtkDialogPeer.java,
gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
gnu/java/awt/peer/gtk/GtkFontPeer.java,
gnu/java/awt/peer/gtk/GtkFramePeer.java,
gnu/java/awt/peer/gtk/GtkGenericPeer.java,
gnu/java/awt/peer/gtk/GtkImage.java,
gnu/java/awt/peer/gtk/GtkImagePainter.java,
gnu/java/awt/peer/gtk/GtkLabelPeer.java,
gnu/java/awt/peer/gtk/GtkListPeer.java,
gnu/java/awt/peer/gtk/GtkMainThread.java,
gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
gnu/java/awt/peer/gtk/GtkMenuPeer.java,
gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
gnu/java/awt/peer/gtk/GtkPanelPeer.java,
gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
gnu/java/awt/peer/gtk/GtkToolkit.java,
gnu/java/awt/peer/gtk/GtkWindowPeer.java,
gnu/java/awt/peer/gtk/TestAWT.java,
gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
* jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
jni/classpath/jnilink.c, jni/classpath/jnilink.h,
jni/classpath/native_state.c, jni/classpath/native_state.h,
jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.

From-SVN: r62187

21 years agoProperties.java (load): Ignore backslash before EOF.
Julian Dolby [Fri, 31 Jan 2003 17:00:01 +0000 (17:00 +0000)]
Properties.java (load): Ignore backslash before EOF.

2003-01-31  Julian Dolby  <dolby@us.ibm.com>

* java/util/Properties.java (load): Ignore backslash before EOF.

From-SVN: r62186

21 years agore PR c++/8849 (ICE in resolve_overloaded_unification for invalid code)
Kriang Lerdsuwanakij [Fri, 31 Jan 2003 16:28:06 +0000 (16:28 +0000)]
re PR c++/8849 (ICE in resolve_overloaded_unification for invalid code)

PR c++/8849
* pt.c (resolve_overloaded_unification): Handle FUNCTION_DECL.

* g++.dg/template/ptrmem4.C: New test.

From-SVN: r62181

21 years agotree.h (TYPE_BINFO_SIZE, [...]): Remove.
Nathan Sidwell [Fri, 31 Jan 2003 14:46:55 +0000 (14:46 +0000)]
tree.h (TYPE_BINFO_SIZE, [...]): Remove.

* tree.h (TYPE_BINFO_SIZE, TYPE_BINFO_SIZE_UNIT): Remove.
(BINFO_ELTS): New #define.
* stor-layout.c (finalize_record_size): Don't set them.
* cp/cp-tree.h (BINFO_SUBVTT_INDEX, BINFO_VPTR_INDEX,
BINFO_PRIMARY_BASE_OF): Use BINFO_ELTS.
(BINFO_LANG_ELTS): New #define.
* cp/tree.c (make_binfo): Use BINFO_LANG_ELTS.
* java/class.c (make_class): Use BINFO_ELTS.
(set_super_info): Likewse.
(add_interface_do): Likewise.
* objc/objc-act.c (start_class): Use BINFO_ELTS.

From-SVN: r62180

21 years agotimevar.c (getrusage): Don't ever declare if not HAVE_GETRUSAGE.
Danny Smith [Fri, 31 Jan 2003 07:33:56 +0000 (07:33 +0000)]
timevar.c (getrusage): Don't ever declare if not HAVE_GETRUSAGE.

* timevar.c (getrusage): Don't ever declare if not HAVE_GETRUSAGE.
(times): Don't ever declare if not HAVE_TIMES.
(clock): Don't ever declare if not HAVE_CLOCK.

From-SVN: r62175

21 years agoNew test.
Richard Henderson [Fri, 31 Jan 2003 06:57:51 +0000 (22:57 -0800)]
New test.

From-SVN: r62174

21 years ago* expr.c (store_expr): Promote all MEM intermediates to regs.
Richard Henderson [Fri, 31 Jan 2003 06:53:07 +0000 (22:53 -0800)]
* expr.c (store_expr): Promote all MEM intermediates to regs.

From-SVN: r62173

21 years agoflow.c (update_life_info): Zap life info after cleanup_cfg.
Richard Henderson [Fri, 31 Jan 2003 06:52:48 +0000 (22:52 -0800)]
flow.c (update_life_info): Zap life info after cleanup_cfg.

        * flow.c (update_life_info): Zap life info after cleanup_cfg.
        (regno_uninitialized): Use correct live at function entry set.
        (regno_clobbered_at_setjmp): Likewise.

From-SVN: r62172

21 years agoarm.c: Fix comment typos.
Kazu Hirata [Fri, 31 Jan 2003 02:20:48 +0000 (02:20 +0000)]
arm.c: Fix comment typos.

* config/arm/arm.c: Fix comment typos.
* config/arm/arm.h: Likewise.
* config/arm/netbsd-elf.h: Likewise.
* config/arm/netbsd.h: Likewise.

From-SVN: r62171

21 years agoIndex: ChangeLog
Geoffrey Keating [Fri, 31 Jan 2003 01:42:38 +0000 (01:42 +0000)]
Index: ChangeLog
2003-01-30  Geoffrey Keating  <geoffk@apple.com>

* gengtype.c (struct walk_type_data): Add needs_cast_p.
(walk_type): Set needs_cast_p in walk_type_data.
(write_types_process_field): Supply casts when required to suppress
warnings.
(write_root): Cast gt_pch_n_S to suppress warning.
* Makefile.in: Remove -Wno-error from gtype-desc.o and c-decl.o.
* cp/Make-lang.in: Remove -Wno-error from cp/decl.o.
* config/rs6000/rs6000.c (print_operand): Mask off high bits only
when they might exist.
* config/rs6000/t-rs6000: Remove -Wno-error from varasm.o,
insn-conditions.o, and rs6000.o.

Index: cp/ChangeLog
2003-01-30  Geoffrey Keating  <geoffk@apple.com>

* cp/Make-lang.in: Remove -Wno-error from cp/decl.o.

From-SVN: r62170

21 years agoDaily bump.
GCC Administrator [Fri, 31 Jan 2003 00:17:06 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r62169

21 years agonatClass.cc (initializeClass): Check tables when (state == JV_STATE_IN_PROGRESS).
Jeff Sturm [Thu, 30 Jan 2003 23:20:45 +0000 (23:20 +0000)]
natClass.cc (initializeClass): Check tables when (state == JV_STATE_IN_PROGRESS).

* java/lang/natClass.cc (initializeClass): Check tables when
(state == JV_STATE_IN_PROGRESS).
(_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
* java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
interpreted classes.
(linkClass0): Use _Jv_WaitForState.

From-SVN: r62161

21 years agoconfig.guess: Updated to 2003-01-30's version.
Roger Sayle [Thu, 30 Jan 2003 22:44:14 +0000 (22:44 +0000)]
config.guess: Updated to 2003-01-30's version.

* config.guess: Updated to 2003-01-30's version.
* config.sub: Updated to 2003-01-28's version.

From-SVN: r62160

21 years agoMakefile.in (libiberty_topdir): New subst.
Christian Cornelssen [Thu, 30 Jan 2003 19:02:12 +0000 (20:02 +0100)]
Makefile.in (libiberty_topdir): New subst.

* Makefile.in (libiberty_topdir): New subst.
(mkinstalldirs): Redefine in terms of the above.
* configure.in: AC_SUBST it.
* configure: Regenerate.

From-SVN: r62155

21 years agoggc-page.c (G.context_depth_allocations): New.
Richard Henderson [Thu, 30 Jan 2003 18:14:06 +0000 (10:14 -0800)]
ggc-page.c (G.context_depth_allocations): New.

        * ggc-page.c (G.context_depth_allocations): New.
        (G.context_depth_collections): New.
        (alloc_page): Set G.context_depth_allocations.
        (ggc_collect): Set G.context_depth_collections.
        (ggc_push_context): Limit to HOST_BITS_PER_LONG contexts.
        (ggc_pop_context): Early exit for no allocations or collections.

From-SVN: r62152

21 years ago* tree-inline.c (walk_tree): Streamline duplicate hash table lookup.
Richard Henderson [Thu, 30 Jan 2003 18:09:15 +0000 (10:09 -0800)]
* tree-inline.c (walk_tree): Streamline duplicate hash table lookup.

From-SVN: r62151

21 years agojcf-parse.c (read_class): Update identifier's class value if it changed during parsing.
Tom Tromey [Thu, 30 Jan 2003 17:15:36 +0000 (17:15 +0000)]
jcf-parse.c (read_class): Update identifier's class value if it changed during parsing.

* jcf-parse.c (read_class): Update identifier's class value if it
changed during parsing.

From-SVN: r62149

21 years agoFixed incorrectly formatted entries.
Joel Sherrill [Thu, 30 Jan 2003 16:54:57 +0000 (16:54 +0000)]
Fixed incorrectly formatted entries.

From-SVN: r62146

21 years agoclass.c (check_field_decls): Only check C_TYPE_FIELDS_READONLY for class types.
Mark Mitchell [Thu, 30 Jan 2003 16:02:58 +0000 (16:02 +0000)]
class.c (check_field_decls): Only check C_TYPE_FIELDS_READONLY for class types.

* class.c (check_field_decls): Only check C_TYPE_FIELDS_READONLY
for class types.
* cp-tree.h (C_TYPE_FIELDS_READONLY): Use a lang-specific bit
rather than TYPE_LANG_FLAG_0.
(TYPE_BUILT_IN): Remove.
(TYPE_DEPENDENT_P): New macro.
(TYPE_DEPENDENT_P_VALID): Likewise.
(lang_type_class): Add fields_readonly.
* decl.c (record_builtin_type): Don't set TYPE_BUILT_IN.
* pt.c (dependent_type_p_r): New function, split out from ...
(dependent_type_p): ... here.  Memoize results.
* search.c (dependent_base_p): Use dependent_type_p, not
uses_template_parms.
* typeck.c (build_modify_expr): Only check C_TYPE_FIELDS_READONLY
for class types.

From-SVN: r62143

21 years agoarm.c (arm_compute_initial_elimination_offset): If optimizing for size...
Richard Earnshaw [Thu, 30 Jan 2003 15:39:43 +0000 (15:39 +0000)]
arm.c (arm_compute_initial_elimination_offset): If optimizing for size...

* arm.c (arm_compute_initial_elimination_offset): If optimizing for
size, the link register is always saved if any other register is
saved.

From-SVN: r62142

21 years agoh8300-protos.h: Update the prototype for compute_plussi_cc.
Kazu Hirata [Thu, 30 Jan 2003 15:36:19 +0000 (15:36 +0000)]
h8300-protos.h: Update the prototype for compute_plussi_cc.

* config/h8300/h8300-protos.h: Update the prototype for
compute_plussi_cc.
(cpp_reader): Declare before it is used.
* config/h8300/h8300.c (compute_plussi_cc): Change the return
type to int.
* config/h8300/h8300.md (monitor_prologue): Call abort() if we
see an unknown H8 variant.

From-SVN: r62141

21 years agore PR target/9316 (powerpc-rtems/extending multilibs)
Ralf Corsepius [Thu, 30 Jan 2003 14:22:53 +0000 (14:22 +0000)]
re PR target/9316 (powerpc-rtems/extending multilibs)

2003-01-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>

PR target/9316
* config/rs6000/rtems.h: Add CPP_OS_DEFAULT_SPEC.
* config/rs6000/sysv4.h: Add CPP_OS_RTEMS_SPEC.
* config/rs6000/t-rtems: New file. multilib variants to match OS.
* config.gcc (powerpc-*-rtems*): Use rs6000/t-rtems instead of
rs6000/t-ppcgas so we get the desired multilibs.

From-SVN: r62139

21 years ago(arm_output_epilogue): Update stack pointer when popping saved IP register
Nick Clifton [Thu, 30 Jan 2003 14:13:25 +0000 (14:13 +0000)]
(arm_output_epilogue): Update stack pointer when popping saved IP register
off the stack.

From-SVN: r62138

21 years agoaix43.h: Fix comment typos.
Kazu Hirata [Thu, 30 Jan 2003 13:19:16 +0000 (13:19 +0000)]
aix43.h: Fix comment typos.

* config/rs6000/aix43.h: Fix comment typos.
* config/rs6000/aix51.h: Likewise.
* config/rs6000/aix52.h: Likewise.
* config/rs6000/altivec.h: Likewise.
* config/rs6000/rs6000.c: Likewise.
* config/rs6000/rs6000.h: Likewise.
* config/rs6000/rs6000.md: Likewise.
* config/rs6000/spe.md: Likewise.

From-SVN: r62133

21 years agoconfig.if: If gcc_version is already set, just use it.
Alexandre Oliva [Thu, 30 Jan 2003 11:52:51 +0000 (11:52 +0000)]
config.if: If gcc_version is already set, just use it.

* config.if: If gcc_version is already set, just use it.  Don't set
gcc_version_trigger if it's already set, otherwise set it to
gcc/version.c, but only if the file exists.  If it is not set and
gcc/version.c does not exist, try to extract the version number from
$CC.

From-SVN: r62131