Neil Booth [Thu, 21 Jun 2001 20:56:07 +0000 (20:56 +0000)]
re PR preprocessor/3260 (#include __FILE__ broken)
PR preprocessor/3260
* cppmacro.c (make_string_token): Null terminate.
From-SVN: r43492
DJ Delorie [Thu, 21 Jun 2001 20:34:39 +0000 (16:34 -0400)]
alpha.h (struct machine_function): Remove.
* config/alpha/alpha.h (struct machine_function): Remove.
* config/alpha/alpha.c (integrate.h): Include.
(override_options): Don't set up machine_status hooks.
(alpha_init_machine_status): Remove.
(alpha_mark_machine_status): Remove.
(alpha_free_machine_status): Remove.
(alpha_return_addr): Use get_hard_reg_initial_val.
(alpha_gp_save_rtx): Likewise.
(alpha_ra_ever_killed): Use has_hard_reg_initial_val.
From-SVN: r43491
Aldy Hernandez [Thu, 21 Jun 2001 19:37:35 +0000 (19:37 +0000)]
handle interrupt_handler correctly
From-SVN: r43490
Phil Edwards [Thu, 21 Jun 2001 19:32:19 +0000 (19:32 +0000)]
Fix massive typo/thinko in previous ChangeLog entry.
From-SVN: r43489
Phil Edwards [Thu, 21 Jun 2001 19:00:08 +0000 (19:00 +0000)]
install.texi: Add 'c' to list of --enable-languages choices.
2001-06-21 Phil Edwards <pme@sources.redhat.com>
* doc/install.texi: Add 'c' to list of --enable-languages choices.
Index: doc/install.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/install.texi,v
retrieving revision 1.31
diff -u -3 -p -r1.31 install.texi
--- install.texi 2001/06/21 15:25:54 1.31
+++ install.texi 2001/06/21 18:59:08
@@ -546,7 +546,7 @@ their runtime libraries should be built.
@var{langN} you can issue the following command in the
@file{gcc} directory of your GCC source tree:@* @samp{grep language=
*/config-lang.in}@* Currently, you can use any of the following:
-@code{c++}, @code{f77}, @code{java} and @code{objc}.
+@code{c}, @code{c++}, @code{f77}, @code{java} and @code{objc}.
@code{CHILL} is not currently maintained, and will almost
certainly fail to compile. Note that this switch does not work with
EGCS 1.1.2 or older versions of egcs. It is supported in GCC 2.95
From-SVN: r43488
DJ Delorie [Thu, 21 Jun 2001 17:55:00 +0000 (13:55 -0400)]
* integrate.c (mark_hard_reg_initial_vals): Check for NULL.
From-SVN: r43487
DJ Delorie [Thu, 21 Jun 2001 16:50:56 +0000 (12:50 -0400)]
integrate.c (ggc.h): Include.
* integrate.c (ggc.h): Include.
(initial_value_pair, initial_value_struct,
setup_initial_hard_reg_value_integration): Add prototypes.
(expand_inline_function): Call
setup_initial_hard_reg_value_integration.
(has_func_hard_reg_initial_val, get_func_hard_reg_initial_val,
get_hard_reg_initial_val, has_hard_reg_initial_val): New functions
to keep track of values present at the start of a function.
(mark_hard_reg_initial_vals): New, for gc.
(setup_initial_hard_reg_value_integration): New. Sets up pseudo
mappings for initial values.
(emit_initial_value_sets): New. Emits code to set initial value
pseudos.
* integrate.h: Add prototypes for new functions.
* function.h (struct function): Add hard_reg_initial_vals field.
* function.c (integrate.h): Include.
(mark_function_status): Call
mark_hard_reg_initial_vals.
* toplev.c (integrate.h): Include.
(rest_of_compilation): Call emit_initial_value_sets.
From-SVN: r43486
Stan Shebs [Thu, 21 Jun 2001 15:25:56 +0000 (15:25 +0000)]
contrib.texi, [...]: Use the correct name "Objective-C" everywhere instead of "Objective C".
* doc/contrib.texi, doc/cpp.texi, doc/cppinternals.texi,
doc/extend.texi, doc/gcc.texi, doc/install.texi, doc/invoke.texi,
doc/objc.texi, doc/tm.texi: Use the correct name "Objective-C"
everywhere instead of "Objective C".
From-SVN: r43485
Tom Tromey [Thu, 21 Jun 2001 15:17:21 +0000 (15:17 +0000)]
java-interp.h (_Jv_InterpClass): Use JV_MARKOBJ_DECL.
* include/java-interp.h (_Jv_InterpClass): Use JV_MARKOBJ_DECL.
From Corey Minyard.
From-SVN: r43484
Gabriel Dos Reis [Thu, 21 Jun 2001 12:01:09 +0000 (12:01 +0000)]
indirect_array.h (indirect_array<>::operator=): Make copy and assignment operator public.
* include/bits/indirect_array.h (indirect_array<>::operator=):
Make copy and assignment operator public. Implement. Format.
* include/bits/valarray_array.h (__valarray_copy): Add overloads
for copy between index arrays. Format.
From-SVN: r43483
GCC Administrator [Thu, 21 Jun 2001 07:16:54 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r43482
Alexandre Petit-Bianco [Thu, 21 Jun 2001 03:20:04 +0000 (20:20 -0700)]
class.c (java_hash_tree_node): Fixed indentation in leading comment.
2001-06-20 Alexandre Petit-Bianco <apbianco@redhat.com>
* class.c (java_hash_tree_node): Fixed indentation in leading comment.
* parse.y (do_resolve_class): Moved comments out to leading comment
section. Removed local `start', New local `_ht' and
`circularity_hash.' Record `enclosing' in hash table and search
it to detect circularity. Use `enclosing' as an argument to
`lookup_cl.' Free the hash table when done.
(http://gcc.gnu.org/ml/gcc-patches/2001-06/msg01318.html )
From-SVN: r43480
Joseph Myers [Thu, 21 Jun 2001 00:03:48 +0000 (01:03 +0100)]
c-tree.texi, [...]: Consistently use "front end" and "back end" as nouns and "front-end" and...
* doc/c-tree.texi, doc/contrib.texi, doc/extend.texi,
doc/gcc.texi, doc/install-old.texi, doc/install.texi,
doc/invoke.texi, doc/rtl.texi: Consistently use "front end" and
"back end" as nouns and "front-end" and "back-end" as adjectives.
From-SVN: r43479
Jan Hubicka [Wed, 20 Jun 2001 19:55:43 +0000 (21:55 +0200)]
* predict.c (estimate_probability): Fix loop bounds.
From-SVN: r43478
Jan Hubicka [Wed, 20 Jun 2001 17:12:34 +0000 (19:12 +0200)]
toplev.c (rest_of_compilation): Run mark_constant_function before profile-arcs.
* toplev.c (rest_of_compilation): Run mark_constant_function
before profile-arcs.
From-SVN: r43477
Jan Hubicka [Wed, 20 Jun 2001 17:10:11 +0000 (19:10 +0200)]
predict.c (estimate_loops_at_level, [...]): New functions.
* predict.c (estimate_loops_at_level, propagate_freq
estimate_bb_frequencies, count_to_freqs): New functions.
(estimate_probability): Call estimate_bb_frequencies.
* basic-block.h (basic_block_def): Add field "freq".
(BB_FREQ_MAX): New constant.
From-SVN: r43476
Tom Tromey [Wed, 20 Jun 2001 16:21:24 +0000 (16:21 +0000)]
re PR java/2319 (invalid UTF-8 sequences should be rejected)
* lex.c (java_read_char): Disallow invalid and overlong
sequences. Fixes PR java/2319.
From-SVN: r43475
J"orn Rennecke [Wed, 20 Jun 2001 16:04:31 +0000 (16:04 +0000)]
sh.c (barrier_align): Don't ask for alignment when seeing a branch-around-a-jump from...
* sh.c (barrier_align): Don't ask for alignment when seeing a
branch-around-a-jump from machine_dependent_reorg.
From-SVN: r43474
Jeffrey A Law [Wed, 20 Jun 2001 14:44:04 +0000 (14:44 +0000)]
ssa.c (rename_block): Update parameter to remove_phi_alternative
* ssa.c (rename_block): Update parameter to remove_phi_alternative
(convert_from_ssa): Do create REG_DEAD and REG_UNUSED notes when
re-running life analysis.
From-SVN: r43473
Stan Shebs [Wed, 20 Jun 2001 13:51:19 +0000 (13:51 +0000)]
objc-act.c (hash_init): Assume xmalloc always succeeds, also use memset to clear the hash tables.
* objc/objc-act.c (hash_init): Assume xmalloc always succeeds,
also use memset to clear the hash tables.
(hash_enter): Assume xmalloc always succeeds.
(hash_add_attr): Ditto.
(continue_class): Ditto.
From-SVN: r43472
Michael Meissner [Wed, 20 Jun 2001 07:18:18 +0000 (07:18 +0000)]
Fix __builtin_expect on PowerPCs
From-SVN: r43470
GCC Administrator [Wed, 20 Jun 2001 07:17:00 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r43468
Benjamin Kosnik [Wed, 20 Jun 2001 03:06:44 +0000 (03:06 +0000)]
mknumeric_limits: Add static definitions, format.
2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
* mknumeric_limits: Add static definitions, format.
* testsuite/18_support/numeric_limits.cc (test02): Add test.
* include/c_std/bits/std_cwchar.h: Include ctime.
* testsuite/17_intro/header_cwchar.cc : Check.
* include/c_std/bits/std_cwctype.h: Inject wctype.
* testsuite/17_intro/header_cwctype.cc: Update.
From-SVN: r43467
Benjamin Kosnik [Wed, 20 Jun 2001 03:05:31 +0000 (03:05 +0000)]
mknumeric_limits: Add static defintions, format.
2001-06-19 Benjamin Kosnik <bkoz@redhat.com>
* mknumeric_limits: Add static defintions, format.
* testsuite/18_support/numeric_limits.cc (test02): Add test.
* include/c_std/bits/std_cwchar.h: Include ctime.
* testsuite/17_intro/header_cwchar.cc : Check.
* include/c_std/bits/std_cwctype.h: Inject wctype.
From-SVN: r43466
Geoffrey Keating [Tue, 19 Jun 2001 18:30:28 +0000 (18:30 +0000)]
rtl.texi (Machine Modes): Correct description of floating-point modes on machines with non-8-bit bytes.
* doc/rtl.texi (Machine Modes): Correct description of
floating-point modes on machines with non-8-bit bytes.
From-SVN: r43465
Jeffrey A Law [Tue, 19 Jun 2001 16:54:26 +0000 (16:54 +0000)]
ssa.c (remove_phi_alternative): Remove declaration.
* ssa.c (remove_phi_alternative): Remove declaration. No longer
static. Second argument is a pointer to a basic block structure,
not a basic block index.
(convert_to_ssa): Do not remove dead code.
(convert_from_ssa): Do not remove dead code to create death notes.
* ssa.h (remove_phi_alternative): Declare.
From-SVN: r43464
Jeffrey A Law [Tue, 19 Jun 2001 15:03:01 +0000 (15:03 +0000)]
flow.c (delete_unreachable_blocks): Fix patch error in previous change (call to find_unreachable_blocks was lost).
* flow.c (delete_unreachable_blocks): Fix patch error in
previous change (call to find_unreachable_blocks was lost).
From-SVN: r43463
Bernd Schmidt [Tue, 19 Jun 2001 14:34:23 +0000 (14:34 +0000)]
Fix incorrect note handling.
From-SVN: r43462
Jeffrey A Law [Tue, 19 Jun 2001 14:18:49 +0000 (14:18 +0000)]
ssa.c (ssa_uses): Remove definition.
* ssa.c (ssa_uses): Remove definition.
(apply_delayed_renames): Don't grow ssa_uses.
(rename_block): Remove comment related to ssa_uses.
(rename_registers): Do not initialize ssa_uses.
(convert_from_ssa): Do not free ssa_uses.
From-SVN: r43460
Jeffrey A Law [Tue, 19 Jun 2001 14:13:13 +0000 (14:13 +0000)]
Makefile.in (OBJS): Replace dce.o with ssa-dce.o
* Makefile.in (OBJS): Replace dce.o with ssa-dce.o
(dependencies): Replace dce.c with ssa-dce.c and dce.o with
ssa-dce.o.
From-SVN: r43459
Jeffrey A Law [Tue, 19 Jun 2001 14:04:13 +0000 (14:04 +0000)]
* POTFILES.in: Replace dce.c with ssa-dce.c.
From-SVN: r43458
Jeffrey A Law [Tue, 19 Jun 2001 13:53:25 +0000 (13:53 +0000)]
* ssa-dce.c: Renamed from dce.c.
From-SVN: r43457
Richard Sandiford [Tue, 19 Jun 2001 13:32:57 +0000 (13:32 +0000)]
except.c (initialize_handler_parm): Expect __cxa_begin_catch to return pointers to data members by reference rather...
* except.c (initialize_handler_parm): Expect __cxa_begin_catch to
return pointers to data members by reference rather than by value.
From-SVN: r43456
Mark J. Roberts [Tue, 19 Jun 2001 11:42:03 +0000 (11:42 +0000)]
BigInteger.java (byteArrayToIntArray): Don't include extraneous/malformed sign word.
2001-06-19 Mark J. Roberts <mjr@statesmean.com>
* java/math/BigInteger.java (byteArrayToIntArray): Don't include
extraneous/malformed sign word.
From-SVN: r43455
Eric Christopher [Tue, 19 Jun 2001 08:34:34 +0000 (08:34 +0000)]
emit-rtl.c (gen_lowpart_common): Do not assume that SFmode and DFmode are UNITS_PER_WORD and 2*UNITS_PER_WORD.
2001-06-19 Eric Christopher <echristo@redhat.com>
* emit-rtl.c (gen_lowpart_common): Do not assume that SFmode
and DFmode are UNITS_PER_WORD and 2*UNITS_PER_WORD. Use
GET_MODE_BITSIZE instead of GET_MODE_SIZE/UNITS_PER_WORD.
From-SVN: r43454
GCC Administrator [Tue, 19 Jun 2001 07:16:51 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r43453
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
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
Richard Henderson [Mon, 18 Jun 2001 20:46:48 +0000 (13:46 -0700)]
* concat.c: Include <sys/types.h>.
From-SVN: r43449
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
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
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
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
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
Jason Merrill [Mon, 18 Jun 2001 11:17:53 +0000 (07:17 -0400)]
tidy
From-SVN: r43440
GCC Administrator [Mon, 18 Jun 2001 07:16:16 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r43433
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
Neil Booth [Sun, 17 Jun 2001 09:50:00 +0000 (09:50 +0000)]
* tm.texi: Document STDC_0_IN_SYSTEM_HEADERS.
From-SVN: r43426
GCC Administrator [Sun, 17 Jun 2001 07:16:08 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r43424
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
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
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
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
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
Jan Hubicka [Sat, 16 Jun 2001 10:48:06 +0000 (12:48 +0200)]
* i386.md (minsf): Fix splitter. (PR fortran/3191)
From-SVN: r43418
GCC Administrator [Sat, 16 Jun 2001 07:16:10 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r43416
Tom Tromey [Fri, 15 Jun 2001 23:44:45 +0000 (23:44 +0000)]
* jni.cc (_Jv_JNI_NewLocalRef): Search other frames.
From-SVN: r43415
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
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
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
Loren J. Rittle [Fri, 15 Jun 2001 22:25:18 +0000 (22:25 +0000)]
* doc/install.texi: Use correct markup hints.
From-SVN: r43411
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
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
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
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
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
Jan Hubicka [Fri, 15 Jun 2001 17:44:56 +0000 (19:44 +0200)]
* optabs.c (expand_twoval_binop): Avoid undefined behaviour.
From-SVN: r43403
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
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
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
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
Jason Merrill [Fri, 15 Jun 2001 11:45:27 +0000 (07:45 -0400)]
add missing function
From-SVN: r43397
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
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
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
GCC Administrator [Fri, 15 Jun 2001 07:18:46 +0000 (07:18 +0000)]
Daily bump.
From-SVN: r43392
Hartmut Penner [Fri, 15 Jun 2001 06:25:24 +0000 (06:25 +0000)]
Add myself as s390 backend maintainer.
From-SVN: r43390
Michael Hayes [Fri, 15 Jun 2001 01:19:39 +0000 (01:19 +0000)]
* README.C4X: Remove (finally...).
From-SVN: r43388
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
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
Richard Henderson [Thu, 14 Jun 2001 20:15:19 +0000 (13:15 -0700)]
* config/mips/mips.md (exception_receiver): New.
From-SVN: r43379
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
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
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
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
Jan Hubicka [Thu, 14 Jun 2001 13:41:22 +0000 (15:41 +0200)]
* i386.c (ix86_expand_prologue): Fix merging conflict.
From-SVN: r43373
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
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
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
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
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
GCC Administrator [Thu, 14 Jun 2001 07:16:56 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r43362
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
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
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
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
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
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
Joseph Myers [Wed, 13 Jun 2001 18:48:09 +0000 (19:48 +0100)]
* README: Remove version number.
From-SVN: r43346
Mark Mitchell [Wed, 13 Jun 2001 18:38:01 +0000 (18:38 +0000)]
* NEWS: Update release number.
From-SVN: r43344