platform/upstream/gcc.git
23 years agostl_raw_storage_iter.h: Format.
Benjamin Kosnik [Tue, 19 Jun 2001 01:51:33 +0000 (01:51 +0000)]
stl_raw_storage_iter.h: Format.

2001-06-18  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/stl_raw_storage_iter.h: Format. Correct derivation.
* testsuite/20_util/raw_storage_iterator.cc: Same.

        * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to
        operator new.
        (__mem_interface): New typedef for switching between malloc and new.
* testsuite/20_util/allocator_members.cc: New file.

* testsuite/20_util/comparisons.cc: New file.
* testsuite/20_util/pairs.cc: New file.

From-SVN: r43451

23 years agosh.c (output_branch): Delete bogus code.
J"orn Rennecke [Tue, 19 Jun 2001 00:58:29 +0000 (00:58 +0000)]
sh.c (output_branch): Delete bogus code.

* sh.c (output_branch): Delete bogus code.

* sh.c (initial_elimination_offset):
Fix FROM == RETURN_ADDRESS_POINTER_REGNUM case.

From-SVN: r43450

23 years ago* concat.c: Include <sys/types.h>.
Richard Henderson [Mon, 18 Jun 2001 20:46:48 +0000 (13:46 -0700)]
* concat.c: Include <sys/types.h>.

From-SVN: r43449

23 years agoflow.c (find_unreachable_blocks): New function.
Jeffrey A Law [Mon, 18 Jun 2001 19:46:37 +0000 (19:46 +0000)]
flow.c (find_unreachable_blocks): New function.

* flow.c (find_unreachable_blocks): New function.
(delete_unreachable_blocks): Use find_unreachable_blocks.
* basic-block.h (find_unreachable_blocks): Declare.

From-SVN: r43448

23 years ago* dce.c (eliminate_dead_code): Fix formatting glitch.
Jeffrey A Law [Mon, 18 Jun 2001 18:57:41 +0000 (18:57 +0000)]
* dce.c (eliminate_dead_code): Fix formatting glitch.

From-SVN: r43447

23 years agoobjc.dg: New directory.
Stan Shebs [Mon, 18 Jun 2001 16:48:37 +0000 (16:48 +0000)]
objc.dg: New directory.

* objc.dg: New directory.
* objc.dg/dg.exp: New file.
* objc.dg/alias.m: New.
* objc.dg/class-1.m: New.
* objc.dg/class-2.m: New.
* objc.dg/const-str-1.m: New.
* objc.dg/const-str-2.m: New.
* objc.dg/id-1.m: New.
* objc.dg/method-1.m: New.
* objc.dg/super-class-1.m: New.
* lib/objc-dg.exp: New file.

From-SVN: r43446

23 years agoImplement the Named Return Value optimization.
Jason Merrill [Mon, 18 Jun 2001 16:15:12 +0000 (12:15 -0400)]
Implement the Named Return Value optimization.

        * c-common.h (RETURN_NULLIFIED_P): New macro.
        * c-semantics.c (genrtl_return_stmt): Check it.
        * cp-tree.h (struct cp_language_function): Add x_return_value.
        (current_function_return_value): Now a macro.
        * decl.c: Don't define it.
        (define_label, finish_case_label): Don't clear it.
        (init_decl_processing): Don't register it with GC.
        * semantics.c (genrtl_finish_function): Don't check it for
        no_return_label.  Copy the RTL from the return value to
        current_function_return_value and walk, calling...
        (nullify_returns_r): ...this new fn.
        * typeck.c (check_return_expr): Set current_function_return_value.

        * expr.c (clear_storage): Set TREE_NOTHROW on the decl for memset.
        (emit_block_move): Likewise.

From-SVN: r43445

23 years agounroll.c: Include predict.h.
Jan Hubicka [Mon, 18 Jun 2001 15:35:47 +0000 (17:35 +0200)]
unroll.c: Include predict.h.

* unroll.c: Include predict.h.
(unroll_loop): Drop prediction notes on preconditioning.
* predict.def (PRED_LOOP_PRECONDITIONG, PRED_LOOP_CONDITION):
New; add comments on the others.
* Makefile.in: (unroll.o): Add dependancy on predict.h.
* loop.c (strength_reduce): Fix branch prediction.

* stmt.c (emit_case_nodes): Optimize test whether index is in given
interval.

* predict.c (estimate_probability): Do not bail out early
when note is present.
(combine_predictions_for_insn): Fix note removal code.

From-SVN: r43441

23 years agotidy
Jason Merrill [Mon, 18 Jun 2001 11:17:53 +0000 (07:17 -0400)]
tidy

From-SVN: r43440

23 years agoDaily bump.
GCC Administrator [Mon, 18 Jun 2001 07:16:16 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r43433

23 years agoexcept.c (resolve_fixup_regions): Initialise "cleanup".
Ben Elliston [Mon, 18 Jun 2001 06:43:51 +0000 (06:43 +0000)]
except.c (resolve_fixup_regions): Initialise "cleanup".

2001-06-18  Ben Elliston  <bje@redhat.com>

* except.c (resolve_fixup_regions): Initialise "cleanup".

From-SVN: r43432

23 years ago* tm.texi: Document STDC_0_IN_SYSTEM_HEADERS.
Neil Booth [Sun, 17 Jun 2001 09:50:00 +0000 (09:50 +0000)]
* tm.texi: Document STDC_0_IN_SYSTEM_HEADERS.

From-SVN: r43426

23 years agoDaily bump.
GCC Administrator [Sun, 17 Jun 2001 07:16:08 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r43424

23 years agoexpr.c (expand_expr, [...]): If taking address of SAVE_EXPR, use put_var_into_stack.
Richard Kenner [Sun, 17 Jun 2001 00:18:44 +0000 (00:18 +0000)]
expr.c (expand_expr, [...]): If taking address of SAVE_EXPR, use put_var_into_stack.

* expr.c (expand_expr, case ADDR_EXPR): If taking address of SAVE_EXPR,
use put_var_into_stack.

From-SVN: r43423

23 years agomangle1.C: Modify regexp to test for `[: \t\n]' at end of label name.
John David Anglin [Sat, 16 Jun 2001 18:30:32 +0000 (18:30 +0000)]
mangle1.C: Modify regexp to test for `[: \t\n]' at end of label name.

* g++.dg/mangle1.C: Modify regexp to test for `[: \t\n]' at end
of label name.

From-SVN: r43422

23 years agogccspec.c (lang_specific_driver): If compiling ObjC, add -shared-libgcc when necessary.
Franz Sirl [Sat, 16 Jun 2001 16:33:28 +0000 (16:33 +0000)]
gccspec.c (lang_specific_driver): If compiling ObjC, add -shared-libgcc when necessary.

        2001-06-16  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

        * gccspec.c (lang_specific_driver): If compiling ObjC, add
        -shared-libgcc when necessary.
        * Makefile.in (gccspec.o): Compile with DRIVER_DEFINES.

From-SVN: r43421

23 years agobitmap.h: Add dump_bitmap...
Daniel Berlin [Sat, 16 Jun 2001 16:13:25 +0000 (16:13 +0000)]
bitmap.h: Add dump_bitmap...

2001-06-16  Daniel Berlin  <dan@cgsoftware.com>

* bitmap.h: Add dump_bitmap, bitmap_zero, bitmap_union_of_diffs,
bitmap_a_or_b, bitmap_a_and_b, bitmap_first_set_bit,
bitmap_last_set_bit. All for compatibility with sbitmap's.

*bitmap.c (bitmap_zero): New function.
(bitmap_union_of_diffs): New function.
(bitmap_first_set_bit): New function.
(bitmap_last_set_bit): New function.

From-SVN: r43420

23 years agocpp.texi, [...]: Update.
Neil Booth [Sat, 16 Jun 2001 10:59:48 +0000 (10:59 +0000)]
cpp.texi, [...]: Update.

* cpp.texi, invoke.texi: Update.
* cpp.1, gcc.1: Regenerate.

From-SVN: r43419

23 years ago* i386.md (minsf): Fix splitter. (PR fortran/3191)
Jan Hubicka [Sat, 16 Jun 2001 10:48:06 +0000 (12:48 +0200)]
* i386.md (minsf): Fix splitter. (PR fortran/3191)

From-SVN: r43418

23 years agoDaily bump.
GCC Administrator [Sat, 16 Jun 2001 07:16:10 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r43416

23 years ago* jni.cc (_Jv_JNI_NewLocalRef): Search other frames.
Tom Tromey [Fri, 15 Jun 2001 23:44:45 +0000 (23:44 +0000)]
* jni.cc (_Jv_JNI_NewLocalRef): Search other frames.

From-SVN: r43415

23 years agocpp.texi: Update.
Neil Booth [Fri, 15 Jun 2001 23:40:33 +0000 (23:40 +0000)]
cpp.texi: Update.

* doc/cpp.texi: Update.
* doc/cpp.1: Regenerate.

From-SVN: r43414

23 years agonatRuntime.cc (_Jv_FindSymbolInExecutable): Return NULL if no library on the list...
Tom Tromey [Fri, 15 Jun 2001 23:22:02 +0000 (23:22 +0000)]
natRuntime.cc (_Jv_FindSymbolInExecutable): Return NULL if no library on the list has the symbol.

* java/lang/natRuntime.cc (_Jv_FindSymbolInExecutable): Return
NULL if no library on the list has the symbol.
(init): Call add_library on the program itself.
* prims.cc (JvRunMain): Initialize Runtime before searching for
`main'.
(_Jv_RunMain): Likewise.

From-SVN: r43413

23 years agodocumentation.html: Point to new doxygen'ed collection.
Phil Edwards [Fri, 15 Jun 2001 22:57:30 +0000 (22:57 +0000)]
documentation.html: Point to new doxygen'ed collection.

2001-06-15  Phil Edwards  <pme@sources.redhat.com>

* docs/html/documentation.html:  Point to new doxygen'ed collection.

From-SVN: r43412

23 years ago* doc/install.texi: Use correct markup hints.
Loren J. Rittle [Fri, 15 Jun 2001 22:25:18 +0000 (22:25 +0000)]
* doc/install.texi: Use correct markup hints.

From-SVN: r43411

23 years agosv.po: Updated.
Dennis Bjorklund [Fri, 15 Jun 2001 22:13:00 +0000 (22:13 +0000)]
sv.po: Updated.

2001-06-15  Dennis Bjorklund  <db@zigo.dhs.org>

* sv.po: Updated.  Approximately 1100 of 3600 strings translated.

From-SVN: r43410

23 years agojni.cc (ClassClass): Removed; updated all users.
Tom Tromey [Fri, 15 Jun 2001 22:09:10 +0000 (22:09 +0000)]
jni.cc (ClassClass): Removed; updated all users.

* jni.cc (ClassClass): Removed; updated all users.
(ObjectClass): Likewise.
(ThrowableClass): Likewise.
(MethodClass): Likewise.
(ThreadGroupClass): Likewise.
(local_ref_table): Renamed from `ref_table'.
(global_ref_table): New global.
(_Jv_JNI_Init): Initialize both ref tables.
(mark_for_gc): Added `ref_table' parameter.
(unmark_for_gc): Likewise.  Also, fail if we unreferenced too many
times.
(_Jv_JNI_NewGlobalRef): Updated for new mark function.
(_Jv_JNI_DeleteGlobalRef): Likewise.
(_Jv_JNI_DeleteLocalRef): Likewise.
(_Jv_JNI_NewLocalRef): Likewise.
(_Jv_JNI_PopLocalFrame): Likewise.
(_Jv_JNI_GetStringChars): Likewise.
(_Jv_JNI_ReleaseStringChars): Likewise.
(_Jv_JNI_GetPrimitiveArrayElements): Likewise.
(_Jv_JNI_ReleasePrimitiveArrayElements): Likewise.

From-SVN: r43409

23 years ago* function.c (gen_mem_addressof): Handle case where DECL is SAVE_EXPR.
Richard Kenner [Fri, 15 Jun 2001 22:08:42 +0000 (22:08 +0000)]
* function.c (gen_mem_addressof): Handle case where DECL is SAVE_EXPR.

From-SVN: r43408

23 years ago* explow.c (expr_size): If DECL and size specified, use it.
Richard Kenner [Fri, 15 Jun 2001 22:05:09 +0000 (22:05 +0000)]
* explow.c (expr_size): If DECL and size specified, use it.

From-SVN: r43407

23 years agocpp.texi: Formatting corrections.
Zack Weinberg [Fri, 15 Jun 2001 17:57:48 +0000 (17:57 +0000)]
cpp.texi: Formatting corrections.

* doc/cpp.texi: Formatting corrections.
Correct buggy example of use of __GNUC__ etc.
Clarify $ in identifiers.
* doc/cpp.1: Regenerate.

From-SVN: r43404

23 years ago* optabs.c (expand_twoval_binop): Avoid undefined behaviour.
Jan Hubicka [Fri, 15 Jun 2001 17:44:56 +0000 (19:44 +0200)]
* optabs.c (expand_twoval_binop): Avoid undefined behaviour.

From-SVN: r43403

23 years agoinstall.texi (Specific, alpha*-*-*): Fixed Tru64 UNIX etc.
Rainer Orth [Fri, 15 Jun 2001 17:35:48 +0000 (17:35 +0000)]
install.texi (Specific, alpha*-*-*): Fixed Tru64 UNIX etc.

* doc/install.texi (Specific, alpha*-*-*): Fixed Tru64 UNIX
etc. spelling.
(Specific, alpha-*-osf1): Renamed to alpha*-*-osf*.
Added Tru64 UNIX V5.1 bootstrap hints.
(Specific, alpha*-*-osf*): Removed old section, obsolete.

From-SVN: r43402

23 years agoinstall.texi (Specific): Mention that glibc cannot be compiled with GCC 3.0.
Andreas Jaeger [Fri, 15 Jun 2001 16:41:07 +0000 (18:41 +0200)]
install.texi (Specific): Mention that glibc cannot be compiled with GCC 3.0.

* doc/install.texi (Specific): Mention that glibc cannot be
compiled with GCC 3.0.

From-SVN: r43400

23 years agoclass.c (dfs_accumulate_vtbl_inits): Just point to the base we're sharing a ctor...
Jason Merrill [Fri, 15 Jun 2001 14:03:09 +0000 (10:03 -0400)]
class.c (dfs_accumulate_vtbl_inits): Just point to the base we're sharing a ctor vtable with.

* class.c (dfs_accumulate_vtbl_inits): Just point to the base we're
sharing a ctor vtable with.  Merge code for cases 1 and 2.
(binfo_ctor_vtable): New fn.
(build_vtt_inits, dfs_build_secondary_vptr_vtt_inits): Use it.

From-SVN: r43399

23 years agocombine.c (nonzero_bits): Don't optimize away division by zero.
Andrew Haley [Fri, 15 Jun 2001 13:27:03 +0000 (13:27 +0000)]
combine.c (nonzero_bits): Don't optimize away division by zero.

2001-06-14  Andrew Haley  <aph@redhat.com>

* combine.c (nonzero_bits): Don't optimize away division by
zero.

From-SVN: r43398

23 years agoadd missing function
Jason Merrill [Fri, 15 Jun 2001 11:45:27 +0000 (07:45 -0400)]
add missing function

From-SVN: r43397

23 years agocpp.texi: Revised and brought up to date.
Zack Weinberg [Fri, 15 Jun 2001 07:25:51 +0000 (07:25 +0000)]
cpp.texi: Revised and brought up to date.

* doc/cpp.texi: Revised and brought up to date.
* doc/cpp.1: Regenerate.

[[Split portion of a mixed commit.]]

From-SVN: r43395.2

23 years agocpp.texi: Revised and brought up to date.
Zack Weinberg [Fri, 15 Jun 2001 07:21:48 +0000 (07:21 +0000)]
cpp.texi: Revised and brought up to date.

* doc/cpp.texi: Revised and brought up to date.
* doc/cpp.1: Regenerate.

From-SVN: r43394

23 years ago* doc/install.texi: Update --enable-threads to match reality.
Loren J. Rittle [Fri, 15 Jun 2001 07:18:55 +0000 (07:18 +0000)]
* doc/install.texi: Update --enable-threads to match reality.

From-SVN: r43393

23 years agoDaily bump.
GCC Administrator [Fri, 15 Jun 2001 07:18:46 +0000 (07:18 +0000)]
Daily bump.

From-SVN: r43392

23 years agoAdd myself as s390 backend maintainer.
Hartmut Penner [Fri, 15 Jun 2001 06:25:24 +0000 (06:25 +0000)]
Add myself as s390 backend maintainer.

From-SVN: r43390

23 years ago* README.C4X: Remove (finally...).
Michael Hayes [Fri, 15 Jun 2001 01:19:39 +0000 (01:19 +0000)]
* README.C4X: Remove (finally...).

From-SVN: r43388

23 years agoinstall.texi: Update for C4x.
Michael Hayes [Fri, 15 Jun 2001 01:07:47 +0000 (01:07 +0000)]
install.texi: Update for C4x.

* doc/install.texi: Update for C4x.
* README.C4X: Remove.

From-SVN: r43385

23 years agoc-tree.texi, [...]: Fix spelling and typos.
Joseph Myers [Thu, 14 Jun 2001 22:51:18 +0000 (23:51 +0100)]
c-tree.texi, [...]: Fix spelling and typos.

* doc/c-tree.texi, doc/contrib.texi, doc/extend.texi,
doc/gcc.texi, doc/install.texi, doc/invoke.texi, doc/md.texi,
doc/objc.texi, doc/rtl.texi, doc/tm.texi: Fix spelling and typos.
Consistently use "built-in" and "bit-field".  Minor logical markup
improvements.
* doc/gcc.1: Regenerate.

From-SVN: r43383

23 years ago* config/mips/mips.md (exception_receiver): New.
Richard Henderson [Thu, 14 Jun 2001 20:15:19 +0000 (13:15 -0700)]
* config/mips/mips.md (exception_receiver): New.

From-SVN: r43379

23 years ago* contrib/gcc_update: Fix timestamp on gcc/f/intdoc.texi.
Albert Chin-A-Young [Thu, 14 Jun 2001 19:02:00 +0000 (19:02 +0000)]
* contrib/gcc_update: Fix timestamp on gcc/f/intdoc.texi.

From-SVN: r43377

23 years agogcc.texi: Update passes documentation to be more in tune with reality.
Daniel J. Berlin [Thu, 14 Jun 2001 18:54:44 +0000 (18:54 +0000)]
gcc.texi: Update passes documentation to be more in tune with reality.

2001-06-14  Daniel J. Berlin <dan@cgsoftware.com>

* doc/gcc.texi:  Update passes documentation to be more in tune
with reality.

From-SVN: r43376

23 years agojni.exp: New file.
Tom Tromey [Thu, 14 Jun 2001 17:46:53 +0000 (17:46 +0000)]
jni.exp: New file.

* libjava.jni/jni.exp: New file.
* lib/libjava.exp (gcj_link): New proc.

From-SVN: r43375

23 years agore PR libgcj/3144 (java.lang.Date.compareTo() not supported)
Tom Tromey [Thu, 14 Jun 2001 15:41:57 +0000 (15:41 +0000)]
re PR libgcj/3144 (java.lang.Date.compareTo() not supported)

Fix for PR libgcj/3144:
* java/util/Date.java: Merged with Classpath.

From-SVN: r43374

23 years ago* i386.c (ix86_expand_prologue): Fix merging conflict.
Jan Hubicka [Thu, 14 Jun 2001 13:41:22 +0000 (15:41 +0200)]
* i386.c (ix86_expand_prologue): Fix merging conflict.

From-SVN: r43373

23 years agoclass.c (dfs_find_final_overrider): Fix logic.
Jason Merrill [Thu, 14 Jun 2001 12:59:40 +0000 (08:59 -0400)]
class.c (dfs_find_final_overrider): Fix logic.

        * class.c (dfs_find_final_overrider): Fix logic.

        * class.c (update_vtable_entry_for_fn): Uncomment optimization to use
        virtual thunk instead of non-virtual.
        (get_matching_virtual): Uncomment.

        * pt.c (unify): Don't recurse between the POINTER_TYPE and the
        OFFSET_TYPE.  If we're adding cv-quals, the extra ones would be on
        PARM, not ARG.

From-SVN: r43372

23 years agoc-tree.texi, [...]: Use more logical markup.
Joseph Myers [Thu, 14 Jun 2001 11:08:04 +0000 (12:08 +0100)]
c-tree.texi, [...]: Use more logical markup.

* doc/c-tree.texi, doc/contrib.texi, doc/extend.texi,
doc/gcc.texi, doc/gcov.texi, doc/install-old.texi,
doc/invoke.texi, doc/md.texi, doc/rtl.texi, doc/tm.texi: Use more
logical markup.  Use TeX quotes and dashes.  Use @dots{} and
@minus{}.  Avoid spaces inside @var.  Update last modification
date in gcc.texi.
* doc/gcc.1, doc/gcov.1: Regenerate.

From-SVN: r43369

23 years agoclass.c (dfs_accumulate_vtbl_inits): For case 2 & 3...
Nathan Sidwell [Thu, 14 Jun 2001 10:48:20 +0000 (10:48 +0000)]
class.c (dfs_accumulate_vtbl_inits): For case 2 & 3...

cp:
* class.c (dfs_accumulate_vtbl_inits): For case 2 & 3, make sure
we've not emerged from the hierarchy of RTTI_BINFO on reaching
a non-virtual base.
testsuite:
* g++.old-deja/g++.abi/vbase8-9.C: New test.

From-SVN: r43368

23 years agoi386.c (x86_accumulate_outgoing_args, [...]): New global variables.
Jan Hubicka [Thu, 14 Jun 2001 10:45:38 +0000 (12:45 +0200)]
i386.c (x86_accumulate_outgoing_args, [...]): New global variables.

* i386.c (x86_accumulate_outgoing_args, x86_prologue_using_move,
x86_epilogue_using_move): New global variables.
(override_options): Enable ACCUMULATE_OUTGOING_ARGS if preferred.
(ix86_emit_save_regs_using_mov): New static function.
(ix86_expand_prologue, ix86_expand_epilogue): Use moves if preferred.
* i386.h (MASK_MMX, MASK_SSE, MASK_SSE2, MASK_128BIT_LONG_DOUBLE,
MASK_MIX_SSE_I387): Renumber.
(MASK_NO_ACCUMULATE_OUTGOING_ARGS): New.
(x86_accumulate_outgoing_args, x86_prologue_using_move,
x86_epilogue_using_move): Declare.
(TARGET_PROLOGUE_USING_MOVE, TARGET_EPILOGUE_USING_MOVE): New.

From-SVN: r43366

23 years agoconfigure.in (auxdir): Replace by ...
Nathan Sidwell [Thu, 14 Jun 2001 08:45:38 +0000 (08:45 +0000)]
configure.in (auxdir): Replace by ...

* configure.in (auxdir): Replace by ...
(toprel): ... new variable.
(toplevel_srcdir): Construct from $toprel.
* acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
rather than .. to locate gcc source directory.
(GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
* aclocal.m4, configure: Rebuilt.

From-SVN: r43364

23 years agoDaily bump.
GCC Administrator [Thu, 14 Jun 2001 07:16:56 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r43362

23 years agoglobals.cc: Define globals _GLIBCPP_mutex_init ()...
John David Anglin [Thu, 14 Jun 2001 06:06:48 +0000 (06:06 +0000)]
globals.cc: Define globals _GLIBCPP_mutex_init ()...

* src/globals.cc: Define globals _GLIBCPP_mutex_init (),
_GLIBCPP_mutex_address_init (), _GLIBCPP_once, _GLIBCPP_mutex
and _GLIBCPP_mutex_address.
* include/bits/stl_threads.h (_STL_mutex_lock): Use above to provide
once-only runtime initialization of _M_lock mutex when
__GTHREAD_MUTEX_INIT_FUNCTION is defined.
(__STL_MUTEX_INITIALIZER): Provide initializer for _STL_mutex_lock
for __GTHREAD_MUTEX_INIT_FUNCTION case.

From-SVN: r43360

23 years agoBlow away a duplicate definition of "pow()" for C++
John David Anglin [Thu, 14 Jun 2001 03:51:26 +0000 (03:51 +0000)]
Blow away a duplicate definition of "pow()" for C++

From-SVN: r43358

23 years ago* ifcvt.c (dead_or_predicable): Fix return value last patch.
Richard Henderson [Thu, 14 Jun 2001 00:40:44 +0000 (17:40 -0700)]
* ifcvt.c (dead_or_predicable): Fix return value last patch.

From-SVN: r43357

23 years agoslice_array_assignment.cc (main): New test.
Gabriel Dos Reis [Wed, 13 Jun 2001 22:16:24 +0000 (22:16 +0000)]
slice_array_assignment.cc (main): New test.

        * testsuite/26_numerics/slice_array_assignment.cc (main): New test.

        * include/bits/slice_array.h (slice_array<>::operator=): Make
        public and implement.
        (slice_array<>::slice_array): Make copy-constructor public.

        * include/bits/valarray_array.h (__valarray_copy): Add another
        overload to copy between strided arrays.

From-SVN: r43352

23 years agoobjc.exp (objc_target_compile): Add ${rootme} to ld_library_path variable.
Franz Sirl [Wed, 13 Jun 2001 21:56:12 +0000 (21:56 +0000)]
objc.exp (objc_target_compile): Add ${rootme} to ld_library_path variable.

        2001-06-13  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

        * lib/objc.exp (objc_target_compile): Add ${rootme} to ld_library_path
        variable.

From-SVN: r43351

23 years agoinquire.c: Include "config.h".
Toon Moene [Wed, 13 Jun 2001 21:06:15 +0000 (23:06 +0200)]
inquire.c: Include "config.h".

2001-06-13  Toon Moene  <toon@moene.indiv.nluug.nl>

* libI77/inquire.c: Include "config.h".

From-SVN: r43350

23 years ago* README: Remove version number.
Joseph Myers [Wed, 13 Jun 2001 18:48:09 +0000 (19:48 +0100)]
* README: Remove version number.

From-SVN: r43346

23 years ago* NEWS: Update release number.
Mark Mitchell [Wed, 13 Jun 2001 18:38:01 +0000 (18:38 +0000)]
* NEWS: Update release number.

From-SVN: r43344

23 years ago* gennews: Set TERM to vt100 for Lynx.
Mark Mitchell [Wed, 13 Jun 2001 18:37:16 +0000 (18:37 +0000)]
* gennews: Set TERM to vt100 for Lynx.

From-SVN: r43343

23 years ago* NEWS: Remove.
Mark Mitchell [Wed, 13 Jun 2001 18:35:53 +0000 (18:35 +0000)]
* NEWS: Remove.

From-SVN: r43342

23 years ago* NEWS: Remove.
Mark Mitchell [Wed, 13 Jun 2001 18:30:39 +0000 (18:30 +0000)]
* NEWS: Remove.

From-SVN: r43341

23 years agoBUGS: Remove.
Mark Mitchell [Wed, 13 Jun 2001 18:29:38 +0000 (18:29 +0000)]
BUGS: Remove.

* BUGS: Remove.
* NEWS: Likewise.

From-SVN: r43340

23 years agoifcvt.c (cond_exec_get_condition): Use reversed_comparison_code.
Richard Henderson [Wed, 13 Jun 2001 18:16:31 +0000 (11:16 -0700)]
ifcvt.c (cond_exec_get_condition): Use reversed_comparison_code.

        * ifcvt.c (cond_exec_get_condition): Use reversed_comparison_code.
        (cond_exec_process_if_block, dead_or_predicable): Likewise.

From-SVN: r43336

23 years agomips-tfile.c (copy_object): Always pass indexNil for symbol table index.
Rainer Orth [Wed, 13 Jun 2001 18:07:34 +0000 (18:07 +0000)]
mips-tfile.c (copy_object): Always pass indexNil for symbol table index.

* mips-tfile.c (copy_object): Always pass indexNil for symbol
table index.

From-SVN: r43334

23 years agoacinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
Benjamin Kosnik [Wed, 13 Jun 2001 17:51:38 +0000 (17:51 +0000)]
acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.

2001-06-13  Benjamin Kosnik  <bkoz@redhat.com>

* acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* include/bits/c++config (__GLIBCPP__): Update date.

From-SVN: r43332

23 years agoAdded John Gilmore.
Per Bothner [Wed, 13 Jun 2001 17:44:40 +0000 (10:44 -0700)]
Added John Gilmore.

From-SVN: r43330

23 years agoh8300.h (OK_FOR_T): Remove.
Kazu Hirata [Wed, 13 Jun 2001 17:41:19 +0000 (17:41 +0000)]
h8300.h (OK_FOR_T): Remove.

2001-06-13  Kazu Hirata  <kazu@hxi.com>

* config/h8300/h8300.h (OK_FOR_T): Remove.
(EXTRA_CONSTRAINT): Do not use OK_FOR_T.
* config/h8300/h8300.md: Remove alternatives involving inc and dec
in the helper patterns for addhi3 and addsi3.

From-SVN: r43329

23 years agoaclocal.m4, configure: Rebuilt.
Tom Tromey [Wed, 13 Jun 2001 16:48:29 +0000 (16:48 +0000)]
aclocal.m4, configure: Rebuilt.

* aclocal.m4, configure: Rebuilt.
* acinclude.m4: Find configure.host in srcdir.

From-SVN: r43325

23 years agoaclocal.m4, configure: Rebuilt.
Tom Tromey [Wed, 13 Jun 2001 16:38:39 +0000 (16:38 +0000)]
aclocal.m4, configure: Rebuilt.

* aclocal.m4, configure: Rebuilt.
* acinclude.m4: Find configure.host in srcdir.

From-SVN: r43324

23 years ago* release: Remove.
Gerald Pfeifer [Wed, 13 Jun 2001 16:27:29 +0000 (18:27 +0200)]
* release: Remove.

From-SVN: r43322

23 years agocontrib.texi: Link to libstdc++'s thanks.html for now.
Phil Edwards [Wed, 13 Jun 2001 15:15:24 +0000 (15:15 +0000)]
contrib.texi: Link to libstdc++'s thanks.html for now.

2001-06-13  Phil Edwards  <pme@sources.redhat.com>

* doc/contrib.texi:  Link to libstdc++'s thanks.html for now.

From-SVN: r43319

23 years agoREADME: Update wrt.
Gerald Pfeifer [Wed, 13 Jun 2001 14:51:33 +0000 (16:51 +0200)]
README: Update wrt.

* INSTALL/README: Update wrt. to the installation instructions now
residing in gcc/doc/install.texi.

From-SVN: r43318

23 years agoMakefile.in: Move _bb and __gcc_bcmp to LIB2FUNCS_ST.
Zack Weinberg [Wed, 13 Jun 2001 14:26:03 +0000 (14:26 +0000)]
Makefile.in: Move _bb and __gcc_bcmp to LIB2FUNCS_ST.

* Makefile.in: Move _bb and __gcc_bcmp to LIB2FUNCS_ST.
* libgcc-std.ver: Take out __bb* and __gcc_bcmp.

* config/t-slibgcc-elf-ver, config/t-slibgcc-sld,
config/alpha/t-osf4, config/mips/t-iris6: Extract all
references to @shlib_map_file@, @shlib_objs@, or
@shlib_base_name@ to Makefile variables.
Bump soname version of libgcc to 1.

From-SVN: r43316

23 years agoinstall.texi: Use more logical markup.
Joseph Myers [Wed, 13 Jun 2001 13:07:28 +0000 (14:07 +0100)]
install.texi: Use more logical markup.

* doc/install.texi: Use more logical markup.  Include @node
commands in the source when generating any non-HTML.

From-SVN: r43314

23 years agoREADME: Replace with a cut-down and updated version of gcc/README.
Joseph Myers [Wed, 13 Jun 2001 07:55:27 +0000 (08:55 +0100)]
README: Replace with a cut-down and updated version of gcc/README.

* README: Replace with a cut-down and updated version of gcc/README.

gcc:
* README: Remove.  Some of the contents moved to ../README.

From-SVN: r43312

23 years agoDaily bump.
GCC Administrator [Wed, 13 Jun 2001 07:18:21 +0000 (07:18 +0000)]
Daily bump.

From-SVN: r43311

23 years agoinstall.texi (--enable-shared): List package names recognized by GCC.
Alexandre Oliva [Wed, 13 Jun 2001 07:11:59 +0000 (07:11 +0000)]
install.texi (--enable-shared): List package names recognized by GCC.

* doc/install.texi (--enable-shared): List package names
recognized by GCC.

From-SVN: r43308

23 years agoAdd various folks.
Jeff Law [Wed, 13 Jun 2001 04:16:45 +0000 (22:16 -0600)]
Add various folks.

From-SVN: r43305

23 years agoinstall.texi (ix86-*-solaris*): Removed, outdated.
Alexandre Oliva [Wed, 13 Jun 2001 03:38:52 +0000 (03:38 +0000)]
install.texi (ix86-*-solaris*): Removed, outdated.

* doc/install.texi (ix86-*-solaris*): Removed, outdated.
(*-*-solaris*): Document problem in /bin/sh that affects
configuring libraries.
(sparc-*-solaris*): Recommend GNU binutils 2.11.1 or vendor tools.
(*-sun-solaris2.8): Document linker problem that explains why
libjava is disabled by default.

From-SVN: r43303

23 years agoRevert this patch:
Mark Mitchell [Wed, 13 Jun 2001 03:21:48 +0000 (03:21 +0000)]
Revert this patch:

* toplev.c (rest_of_compilation): Remove dead code before
purge_addressof.

From-SVN: r43301

23 years agorevert: configure.in (sparc*-*-*): Check assembler R_SPARC_UA32 support.
Alexandre Oliva [Wed, 13 Jun 2001 03:10:44 +0000 (03:10 +0000)]
revert: configure.in (sparc*-*-*): Check assembler R_SPARC_UA32 support.

Reverted:
2001-06-07  Nathan Sidwell  <nathan@codesourcery.com>
* configure.in (sparc*-*-*): Check assembler R_SPARC_UA32 support.
* configure: Rebuilt.

From-SVN: r43300

23 years agoFix for PR 3128, IA-64 linux kernel miscompile
Jim Wilson [Wed, 13 Jun 2001 02:48:45 +0000 (02:48 +0000)]
Fix for PR 3128, IA-64 linux kernel miscompile

Fix for PR 3128, IA-64 linux kernel miscompile
* loop.c (strength_reduce): Move bl->all_reduced set before
check_ext_dependant_givs call.
(check_ext_dependant_givs): Clear bl->all_reduced when ignoring givs.

From-SVN: r43298

23 years agoconfig-ml.in (powerpc-*-* | rs6000-*-*): Allow aix64 and pthread multilibs to be...
David Edelsohn [Wed, 13 Jun 2001 02:12:07 +0000 (02:12 +0000)]
config-ml.in (powerpc-*-* | rs6000-*-*): Allow aix64 and pthread multilibs to be disabled.

        * config-ml.in (powerpc-*-* | rs6000-*-*): Allow aix64 and pthread
        multilibs to be disabled.

From-SVN: r43294

23 years agoextend.texi (Function Attributes): Document SH's sp_switch and trap_exit.
Alexandre Oliva [Wed, 13 Jun 2001 02:09:18 +0000 (02:09 +0000)]
extend.texi (Function Attributes): Document SH's sp_switch and trap_exit.

* doc/extend.texi (Function Attributes): Document SH's sp_switch
and trap_exit.

From-SVN: r43293

23 years agofpos.h (fpos::operator-): Don't return reference, return original, non-modified version.
Benjamin Kosnik [Wed, 13 Jun 2001 01:50:27 +0000 (01:50 +0000)]
fpos.h (fpos::operator-): Don't return reference, return original, non-modified version.

2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/fpos.h (fpos::operator-): Don't return reference,
return original, non-modified version.
(fpos::operator+): Same.
* testsuite/27_io/fpos.cc: Add test.

[[Split portion of a mixed commit.]]

From-SVN: r43290.2

23 years agofpos.h (fpos::operator-): Don't return reference, return original, non-modified version.
Benjamin Kosnik [Wed, 13 Jun 2001 01:14:42 +0000 (01:14 +0000)]
fpos.h (fpos::operator-): Don't return reference, return original, non-modified version.

2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/fpos.h (fpos::operator-): Don't return reference,
return original, non-modified version.
(fpos::operator+): Same.

From-SVN: r43287

23 years agoinvoke.texi: Use more logical markup.
Joseph Myers [Wed, 13 Jun 2001 01:12:19 +0000 (02:12 +0100)]
invoke.texi: Use more logical markup.

* doc/invoke.texi: Use more logical markup.  Use TeX quotes,
dashes and @dots{}.

From-SVN: r43286

23 years agoi386.c (ix86_expand_prologue): Always use gen_pro_epilogue_adjust_stack; update argum...
Richard Henderson [Wed, 13 Jun 2001 00:54:41 +0000 (17:54 -0700)]
i386.c (ix86_expand_prologue): Always use gen_pro_epilogue_adjust_stack; update arguments.

        * config/i386/i386.c (ix86_expand_prologue): Always use
        gen_pro_epilogue_adjust_stack; update arguments.
        (ix86_expand_epilogue): Likewise.
        (ix86_emit_epilogue_esp_adjustment): Remove.
        (ix86_adjust_cost): Remove pro_epilogue_adjust_stack hack.
        * config/i386/i386.md (pro_epilogue_adjust_stack): Use a BLKmode
        clobber of scratch memory instead of a modification of EBP as the
        barrier.  Update all peepholes to match.

From-SVN: r43284

23 years ago* g++.old-deja/g++.other/crash27.C: Don't XFAIL.
Richard Henderson [Wed, 13 Jun 2001 00:43:18 +0000 (17:43 -0700)]
* g++.old-deja/g++.other/crash27.C: Don't XFAIL.

From-SVN: r43282

23 years agoporting.texi: Add documentation about libstdc++-v3-specific macros that are currently...
Loren J. Rittle [Tue, 12 Jun 2001 23:09:09 +0000 (23:09 +0000)]
porting.texi: Add documentation about libstdc++-v3-specific macros that are currently...

libstdc++/2071
* porting.texi: Add documentation about libstdc++-v3-specific
macros that are currently included in os_defines.h files.

* config/basic_file_stdio.h (sys_getc): New method.
(sys_ungetc): New method.
* include/bits/basic_file.h: (sys_getc): New method signature.
(sys_ungetc): New method signature.

* include/bits/fstream.tcc (underflow): Add conditional code
paths which avoid using short seeks on streams (especially
useful when the stream might be interactive or a pipe).  At
the moment, this alternate path only avoids seeking when the
``buffer size'' of underflow() is 1 since the C standard only
guarantees buffer space for one ungetc (this technique could
be extended since *-*-solaris* supports buffering for 4 calls
to ungetc and *-*-*bsd* supports buffering limited only by
memory resources).  Also, _GLIBCPP_AVOID_FSEEK must be defined
in a port's os_defines.h file for this alternate path to even
be considered.  As a bonus, the idiom of using getc/ungetc
requires no system calls whereas fseek maps to one or two
system call(s) on many platforms.

* config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
Define it.
* config/os/solaris/solaris2.5/bits/os_defines.h
(_GLIBCPP_AVOID_FSEEK): Likewise.
* config/os/solaris/solaris2.6/bits/os_defines.h
(_GLIBCPP_AVOID_FSEEK): Likewise.
* config/os/solaris/solaris2.7/bits/os_defines.h
(_GLIBCPP_AVOID_FSEEK): Likewise.

From-SVN: r43278

23 years agostd_sstream.h: Add allocator_type, as per DR 251.
Benjamin Kosnik [Tue, 12 Jun 2001 23:00:39 +0000 (23:00 +0000)]
std_sstream.h: Add allocator_type, as per DR 251.

2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/3142
* include/bits/std_sstream.h: Add allocator_type, as per DR 251.

libstdc++/3141
* include/bits/istream.tcc (getline, get): Fix as per DR 243.

libstdc++/3140
* include/bits/std_bitset.h (bitset::set): Fix as per DR 186.

libstdc++/3139
* include/bits/limits_generic.h: Fix as per DR 184.

From-SVN: r43276

23 years agogcc.texi: Change the font used for @def...
Joseph Myers [Tue, 12 Jun 2001 22:40:00 +0000 (23:40 +0100)]
gcc.texi: Change the font used for @def...

* doc/gcc.texi: Change the font used for @def... commands to a
fixed width font.
* doc/extend.texi: Use more logical markup.  Use "built-in"
instead of "builtin".  Use @deftypefn to mark up built-in
functions; specify their types in the @deftypefn and not in the
descriptive text.  Use TeX quotes and dashes.  Add more index
entries.

From-SVN: r43274

23 years agostd_sstream.h: Add allocator_type, as per DR 251.
Benjamin Kosnik [Tue, 12 Jun 2001 22:14:08 +0000 (22:14 +0000)]
std_sstream.h: Add allocator_type, as per DR 251.

2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/3142
* include/bits/std_sstream.h: Add allocator_type, as per DR 251.

libstdc++/3141
* include/bits/istream.tcc (getline, get): Fix as per DR 243.

libstdc++/3140
* include/bits/std_bitset.h (bitset::set): Fix as per DR 186.

libstdc++/3139
* include/bits/limits_generic.h: Fix as per DR 184.

From-SVN: r43273

23 years agogcc.texi (HOST_BITS_PER_LONGLONG): Document.
Lars Brinkhoff [Tue, 12 Jun 2001 19:47:44 +0000 (19:47 +0000)]
gcc.texi (HOST_BITS_PER_LONGLONG): Document.

* gcc.texi (HOST_BITS_PER_LONGLONG): Document.
(DIR_SEPARATOR_2): Likewise.

From-SVN: r43272