platform/upstream/gcc.git
24 years agoDaily bump.
Jeff Law [Sun, 26 Sep 1999 07:45:09 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r29666

24 years agocse.c: Update comments.
Jeffrey A Law [Sat, 25 Sep 1999 19:13:18 +0000 (19:13 +0000)]
cse.c: Update comments.

        * cse.c: Update comments.
        (cse_insn): When converting a conditional/computed jump into
        an unconditional jump, always make sure a BARRIER immediately
        follows the converted jump.  Do not delete unreachable code.
        (cse_basic_block): Do not delete unreachable code.
        * toplev.c (rest_of_compilation): Move call to
        delete_trivially_dead_insns after the conditional call to
        jump_optimize.

From-SVN: r29665

24 years agodump.c (dequeue_and_dump): Handle RESULT_DECL.
Mark Mitchell [Sat, 25 Sep 1999 18:16:08 +0000 (18:16 +0000)]
dump.c (dequeue_and_dump): Handle RESULT_DECL.

* dump.c (dequeue_and_dump): Handle RESULT_DECL.
* ir.texi: Document RESULT_DECL and DECL_RESULT.

From-SVN: r29664

24 years agocp-tree.h (check_return_expr): New function.
Mark Mitchell [Sat, 25 Sep 1999 18:10:04 +0000 (18:10 +0000)]
cp-tree.h (check_return_expr): New function.

* cp-tree.h (check_return_expr): New function.
* decl.c (finish_constructor_body): New function.
(pushdecl): Put global friend functions in namespace binding
level, not the class binding level.
(finish_destructor_body): Make sure the dtor_label is always
defined.  Fix typo in comment.
(finish_function): Move generation of constructor-termination code
to semantic-analysis time.  Move generation of implicit `main'
return value to semantic-analysis time.
* semantics.c (finish_return_stmt): Generate goto's to
ctor_label/dtor_label here.  Use check_return_expr to do semantic
analysis on the returned expression.
* typeck.c (maybe_warn_about_returning_address_of_local): New
function split out from c_expand_return.
(check_return_expr): Likewise.
(c_expand_return): Just generate the RTL for the return.

From-SVN: r29663

24 years agolibiberty.h (make_temp_file): Add a prototype.
Kaveh R. Ghazi [Sat, 25 Sep 1999 13:11:17 +0000 (13:11 +0000)]
libiberty.h (make_temp_file): Add a prototype.

include:

        * libiberty.h (make_temp_file):  Add a prototype.

libiberty:

        * choose-temp.c: Remove obsolete comment about gcc.
        (make_temp_file): Constify a char*.

gcc:

        * collect2.c (make_temp_file): Don't prototype.

        * gcc.c (make_temp_file): Likewise.

        * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.

From-SVN: r29662

24 years agoTidy up assemble_variable()'s handling of uninitialised varaibles.
Nick Clifton [Sat, 25 Sep 1999 12:45:09 +0000 (12:45 +0000)]
Tidy up assemble_variable()'s handling of uninitialised varaibles.

From-SVN: r29661

24 years agoDaily bump.
Jeff Law [Sat, 25 Sep 1999 07:45:09 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r29660

24 years agocp-tree.h (CPTI_CLEANUP_TYPE): New macro.
Mark Mitchell [Fri, 24 Sep 1999 20:54:08 +0000 (20:54 +0000)]
cp-tree.h (CPTI_CLEANUP_TYPE): New macro.

* cp-tree.h (CPTI_CLEANUP_TYPE): New macro.
(cleanup_type): Likewise.
(search_tree): Change prototype.
* decl.c (local_variable_p): Adjust for new interface to
search_tree.
(check_default_argument): Likewise.
* error.c (dump_expr): Handle INIT_EXPR.
* except.c (expand_throw): Don't make cleanup_type a local static.
* expr.c (cplus_expand_expr): Don't handle NEW_EXPR.
* init.c (build_new): Call build_new_1 directly, rather than
building a NEW_EXPR.
(build_new_1): Tidy.  Don't build a VEC_INIT_EXPR except when
processing file-scope initializers.
* lex.c (init_parse): Add an opname_tab entry for INIT_EXPR.
* tree.c: Include splay-tree.h
(no_linkage_helper): Adjust for new interface to search_tree.
(search_tree): Pass around pointers to tree nodes, rather than the
nodes themselves.  Handle VEC_INIT_EXPR.
(no_linkage_check): Adjust for new interface to search_tree.
(mapcar): Handle VEC_INIT_EXPR.
(target_remap): New variable.
(bot_manip): Use it.
(bot_replace): New function.
(break_out_target_exprs): Use it to remap all variables used in a
default argument expression.
* typeck.c (build_modify_expr): Don't crash when outside a
function and presented with an INIT_EXPR assignment
* Makefile.in (tree.o): Depend on splay-tree.h.

From-SVN: r29659

24 years agoChanged credit to the right person.
Glenn Chambers [Fri, 24 Sep 1999 19:33:23 +0000 (12:33 -0700)]
Changed credit to the right person.

From-SVN: r29658

24 years agodecl.c (insert_block): Removed unconditional `abort'.
Glenn Chambers [Fri, 24 Sep 1999 19:24:19 +0000 (12:24 -0700)]
decl.c (insert_block): Removed unconditional `abort'.

Fri Sep 24 12:23:05 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* decl.c (insert_block): Removed unconditional `abort'.

From-SVN: r29657

24 years agore GNATS java.util/47 (Date.toString() returns embedded newline)
Tom Tromey [Fri, 24 Sep 1999 19:12:23 +0000 (19:12 +0000)]
re GNATS java.util/47 (Date.toString() returns embedded newline)

Fix for PR java.util/47:
* configure, include/config.h: Rebuilt.
* configure.in: Don't look for ctime or ctime_r.
* Makefile.in: Rebuilt.
* Makefile.am (nat_source_files): Don't mention natDate.cc.
* java/util/natDate.cc: Removed.
* java/util/TimeZone.java (tzIDs, rawOffsets, timeZones): New
static fields.
(getAvailableIDs): Rewrote.
(getTimeZone): Rewrote.
* java/util/Date.java (toGMTString): New method.
(toLocaleString): New method.
(toString): Rewrote.

From-SVN: r29656

24 years agoCope with down shifting a 32 bit constant on a 64 bit host.
Nick Clifton [Fri, 24 Sep 1999 16:12:44 +0000 (16:12 +0000)]
Cope with down shifting a 32 bit constant on a 64 bit host.

From-SVN: r29655

24 years agoMake Pmode be defined in terms of word_mode again now that emit-rtl.c
Jeff Law [Fri, 24 Sep 1999 15:39:31 +0000 (09:39 -0600)]
Make Pmode be defined in terms of word_mode again now that emit-rtl.c
has been fixed.

From-SVN: r29654

24 years agoAllow to distinguish between three classes of builtin functions
Bernd Schmidt [Fri, 24 Sep 1999 10:07:04 +0000 (10:07 +0000)]
Allow to distinguish between three classes of builtin functions

From-SVN: r29653

24 years ago* optabs.c (init_traps): Fix typo in last change.
Mark Mitchell [Fri, 24 Sep 1999 08:40:11 +0000 (08:40 +0000)]
* optabs.c (init_traps): Fix typo in last change.

From-SVN: r29652

24 years ago* toplev.c (rest_of_decl_compilation): Update comment.
Mark Mitchell [Fri, 24 Sep 1999 08:05:28 +0000 (08:05 +0000)]
* toplev.c (rest_of_decl_compilation): Update comment.

From-SVN: r29651

24 years agodecl.c (pushdecl): Don't make local declarations of extern variables give the variabl...
Mark Mitchell [Fri, 24 Sep 1999 08:03:42 +0000 (08:03 +0000)]
decl.c (pushdecl): Don't make local declarations of extern variables give the variable a...

* decl.c (pushdecl): Don't make local declarations of extern
variables give the variable a DECL_CONTEXT for the function.
(make_rtl_for_nonlocal_decl): Don't fuss with obstacks.  Simplify.
Don't accidentally make RTL for local declarations.
(emit_local_var): Handle declarations with asm-specifiers here.

From-SVN: r29650

24 years agoDaily bump.
Jeff Law [Fri, 24 Sep 1999 07:45:16 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r29649

24 years agoelf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol in .sbss if appropriate.
Geoff Keating [Fri, 24 Sep 1999 02:01:08 +0000 (02:01 +0000)]
elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol in .sbss if appropriate.

* config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
in .sbss if appropriate.
(EXTRA_SECTION_FUNCTIONS): Add sbss.
(SBSS_SECTION_ASM_OP): New macro.
* config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
(EXTRA_SECTIONS): Add in_sbss.
* config/mips/mips.h: Prototype sbss_section.

From-SVN: r29648

24 years agoir.texi: Improve documentation for TARGET_EXPRs.
Mark Mitchell [Fri, 24 Sep 1999 01:43:49 +0000 (01:43 +0000)]
ir.texi: Improve documentation for TARGET_EXPRs.

* ir.texi: Improve documentation for TARGET_EXPRs.  Discuss
STMT_IS_FULL_EXPR_P.

From-SVN: r29647

24 years agocp-tree.h (language_function): Add cannot_inline.
Mark Mitchell [Fri, 24 Sep 1999 01:29:29 +0000 (01:29 +0000)]
cp-tree.h (language_function): Add cannot_inline.

* cp-tree.h (language_function): Add cannot_inline.
* decl.c (start_function): Restore current_function_cannot_inline
from the saved value.
(save_function_data): Save current_function_cannot_inline.
* decl2.c (start_objects): Change prototype.  Build the function
in function-at-a-time mode.
(finish_objects): Likewise.
(generate_ctor_or_dtor_function): Adjust accordingly.

From-SVN: r29646

24 years agocp-tree.h (DECL_ANON_UNION_ELEMS): New macro.
Mark Mitchell [Fri, 24 Sep 1999 01:17:29 +0000 (01:17 +0000)]
cp-tree.h (DECL_ANON_UNION_ELEMS): New macro.

* cp-tree.h (DECL_ANON_UNION_ELEMS): New macro.
* decl2.c (finish_anon_union): Set DECL_ANON_UNION_ELEMS.
Don't call expand_anon_union_decl here
* semantics.c (exapnd_stmt): Call it here, instead.
* typeck.c (mark_addressable): Addressed variables are implicitly
used.

From-SVN: r29645

24 years agostmt.c (expand_start_bindings): Don't allow cleanup isntructions to disappear.
Mark Mitchell [Fri, 24 Sep 1999 01:14:54 +0000 (01:14 +0000)]
stmt.c (expand_start_bindings): Don't allow cleanup isntructions to disappear.

* stmt.c (expand_start_bindings): Don't allow cleanup isntructions
to disappear.

From-SVN: r29644

24 years ago* optabs.c (init_traps): Register trap_rtx as a GC root.
Mark Mitchell [Fri, 24 Sep 1999 01:03:58 +0000 (01:03 +0000)]
* optabs.c (init_traps): Register trap_rtx as a GC root.

From-SVN: r29643

24 years agocp-tree.h (VAR_OR_FUNCTION_DECL_CHECK): New macro.
Martin v. Löwis [Thu, 23 Sep 1999 22:20:08 +0000 (22:20 +0000)]
cp-tree.h (VAR_OR_FUNCTION_DECL_CHECK): New macro.

* cp-tree.h (VAR_OR_FUNCTION_DECL_CHECK): New macro.
(RECORD_OR_UNION_TYPE_CHECK, LANG_IDENTIFIER_CAST): Likewise.
(DEFARG_NODE_CHECK): Remove; replace with DEFAULT_ARG_CHECK.
* cp-tree.h: Add tree checking macros to various tree access
macros.
* ptree.c (print_lang_decl): Test for function or variable
before accessing template info.

From-SVN: r29642

24 years agomips.c (function_arg_pass_by_reference): Define unconditionally, since it's called...
Alexandre Oliva [Thu, 23 Sep 1999 21:42:45 +0000 (21:42 +0000)]
mips.c (function_arg_pass_by_reference): Define unconditionally, since it's called unconditionally.

* config/mips/mips.c (function_arg_pass_by_reference): Define
unconditionally, since it's called unconditionally.

From-SVN: r29641

24 years agodocument -fshort-wchar
Jason Merrill [Thu, 23 Sep 1999 21:19:09 +0000 (17:19 -0400)]
document -fshort-wchar

From-SVN: r29640

24 years agolex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
Jason Merrill [Thu, 23 Sep 1999 21:04:10 +0000 (21:04 +0000)]
lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.

* lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
* lang-specs.h: If -fshort-wchar, override __WCHAR_TYPE__.
* decl2.c (lang_f_options): Add -fshort-wchar.
* cp-tree.h: Declare flag_short_wchar.
* decl.c (init_decl_processing): If -fshort-wchar, use 'short unsigned
int' for wchar_t.

From-SVN: r29639

24 years agotoplev.c (documented_lang_options): Add -fshort-wchar.
Jason Merrill [Thu, 23 Sep 1999 21:03:53 +0000 (21:03 +0000)]
toplev.c (documented_lang_options): Add -fshort-wchar.

* toplev.c (documented_lang_options): Add -fshort-wchar.
* c-decl.c (c_decode_option): Likewise.
(init_decl_processing): If -fshort-wchar, use 'short unsigned int'
for wchar_t.
* c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
* gcc.c (default_compilers): If -fshort-wchar,
override __WCHAR_TYPE__.
* tm.texi (C Dialect Options): Add -fshort-wchar.

From-SVN: r29638

24 years agodwarf2out.c (output_aranges): Use DW_AT_location to find the symbol for a variable.
Jason Merrill [Thu, 23 Sep 1999 20:51:06 +0000 (20:51 +0000)]
dwarf2out.c (output_aranges): Use DW_AT_location to find the symbol for a variable.

* dwarf2out.c (output_aranges): Use DW_AT_location to find the
symbol for a variable.

From-SVN: r29637

24 years ago* cpplib.h (CPP_PREPROCESSED): New macro.
Jason Merrill [Thu, 23 Sep 1999 20:40:51 +0000 (20:40 +0000)]
* cpplib.h (CPP_PREPROCESSED): New macro.

From-SVN: r29636

24 years agoFix PA problem in order of initializations.
Alex Samuel [Thu, 23 Sep 1999 20:34:19 +0000 (20:34 +0000)]
Fix PA problem in order of initializations.

* emit-rtl.c (init_emit_once): Initialize modes first.

        Also add missing ChangeLog entry.

From-SVN: r29635

24 years agocpplib.c (handle_directive): Don't complain about `# NUMBER' if we're seeing this...
Jason Merrill [Thu, 23 Sep 1999 20:28:40 +0000 (20:28 +0000)]
cpplib.c (handle_directive): Don't complain about `# NUMBER' if we're seeing this input for a second time.

* cpplib.c (handle_directive): Don't complain about `# NUMBER' if
we're seeing this input for a second time.

From-SVN: r29634

24 years agoRevert unintended GGC change.
Richard Henderson [Thu, 23 Sep 1999 20:07:28 +0000 (13:07 -0700)]
Revert unintended GGC change.

From-SVN: r29633

24 years agoggc-page.c: New file.
Alex Samuel [Thu, 23 Sep 1999 20:00:57 +0000 (20:00 +0000)]
ggc-page.c: New file.

        * ggc-page.c: New file.
        * Makefile.in (ggc-page.o): New.

Co-Authored-By: Richard Henderson <rth@cygnus.com>
From-SVN: r29632

24 years agoinvoke.texi: Document -fdelete-null-pointer-checks
Jeffrey A Law [Thu, 23 Sep 1999 19:57:50 +0000 (19:57 +0000)]
invoke.texi: Document -fdelete-null-pointer-checks

        * invoke.texi: Document -fdelete-null-pointer-checks
        * toplev.c (flag_delete_null_pointer_checks): New.
        (f_options): Add entry for -fdelete-null-pointer-checks.
        (rest_of_compilation): Conditionalize null pointer check
        elimination on flag_delete_null_pointer_checks.
        (main): If -O2 or greater, enable -fdelete-null-pointer-checks

From-SVN: r29631

24 years agojvspec.c (lang_specific_driver): Don't read spec file if -fsyntax-only given.
Tom Tromey [Thu, 23 Sep 1999 19:45:39 +0000 (19:45 +0000)]
jvspec.c (lang_specific_driver): Don't read spec file if -fsyntax-only given.

* jvspec.c (lang_specific_driver): Don't read spec file if
-fsyntax-only given.

From-SVN: r29630

24 years agoShould have been checked in with Kingdon's change.
Jeff Law [Thu, 23 Sep 1999 19:41:04 +0000 (13:41 -0600)]
Should have been checked in with Kingdon's change.

From-SVN: r29629

24 years agoconfigure: Rebuilt.
Tom Tromey [Thu, 23 Sep 1999 19:38:11 +0000 (19:38 +0000)]
configure: Rebuilt.

* configure: Rebuilt.
* configure.in: Print message when checking to see if gcj can
handle -fuse-divide-subroutine.

From-SVN: r29628

24 years agoFix typo in yesterday's massive change.
Jeff Law [Thu, 23 Sep 1999 19:11:51 +0000 (13:11 -0600)]
Fix typo in yesterday's massive change.

From-SVN: r29627

24 years agonatFirstThread.cc (run): Renamed from `run0'.
Tom Tromey [Thu, 23 Sep 1999 19:05:50 +0000 (19:05 +0000)]
natFirstThread.cc (run): Renamed from `run0'.

* java/lang/natFirstThread.cc (run): Renamed from `run0'.  Removed
dead code.
* java/lang/FirstThread.java (run0): Renamed to `run'.
(run): Removed.

From-SVN: r29626

24 years agore GNATS gcj/51 (Writing on OutputStream of bad Socket kills app with "Broken pipe")
Tom Tromey [Thu, 23 Sep 1999 18:50:59 +0000 (18:50 +0000)]
re GNATS gcj/51 (Writing on OutputStream of bad Socket kills app with "Broken pipe")

* prims.cc (main_init): New function.
(JvRunMain): Call it.
(_Jv_RunMain): Likewise.
Include <signal.h>.
(main_init): Ignore SIGPIPE.  Fixes PR 51.

From-SVN: r29625

24 years agoiso646.h, [...]: Add copyright notice and special exception to GPL.
Zack Weinberg [Thu, 23 Sep 1999 18:02:55 +0000 (18:02 +0000)]
iso646.h, [...]: Add copyright notice and special exception to GPL.

1999-09-23 10:56 -0700  Zack Weinberg  <zack@bitmover.com>

* iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
copyright notice and special exception to GPL.

From-SVN: r29624

24 years agoabi64.h (mips_function_value): Add prototype arguments.
Kaveh R. Ghazi [Thu, 23 Sep 1999 17:46:23 +0000 (17:46 +0000)]
abi64.h (mips_function_value): Add prototype arguments.

* abi64.h (mips_function_value): Add prototype arguments.

* mips-protos.h: New file with mips prototypes.

* mips.c: Include "tm_p.h".
(mktemp, lookup_name): Add prototype arguments.
(extern_list, string_constant, mips_fill_delay_slot,
mips_output_external, mips_output_external_libcall,
mips_output_filename, mips_declare_object, function_prologue,
mips_expand_prologue, function_epilogue, mips16_constant,
build_mips16_function_stub, mips_output_conditional_branch):
Constify a char*.
(mips_va_start): Remove unused variable `u'.
(mips_va_arg): Cast value to unsigned when comparing against one.
(trace): Delete.
(save_restore_insns, mips_expand_prologue): Add missing arg in
call to `large_int'.

* mips.h: Move prototypes to mips-protos.h.
(data_section, memory_address_p, rdata_section,
readonly_data_section, simple_epilogue_p, text_section): Delete
prototypes delcared elsewhere.
(mips_epilogue_delay_slots, print_options): Delete unused decls.
(trace): Delete.
(GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.

* mips.md: Delete extra args in call to `mips_move_2words'.

* xm-iris6.h (alloca): Add prototype argument.

* genpeep.c: Include "tm_p.h" in generated output file.

From-SVN: r29623

24 years agobasic-block.h (find_edge_index): Change parameters.
Andrew MacLeod [Thu, 23 Sep 1999 15:07:26 +0000 (15:07 +0000)]
basic-block.h (find_edge_index): Change parameters.

Thu Sep 23 10:36:55 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>

* basic-block.h (find_edge_index): Change parameters.
* flow.c (verify_edge_list): Pass basic_block parameters to
find_edge_index instead of integers.

From-SVN: r29622

24 years agoUse unsigned shift instead of signed shift.
Nick Clifton [Thu, 23 Sep 1999 14:58:54 +0000 (14:58 +0000)]
Use unsigned shift instead of signed shift.

From-SVN: r29621

24 years agoAdd test case for this patch to combine.c:
Nick Clifton [Thu, 23 Sep 1999 14:58:00 +0000 (14:58 +0000)]
Add test case for this patch to combine.c:

* combine.c (simplify_comparison): Use an unsigned shift to adjust
the constant.

From-SVN: r29620

24 years ago* gcc.1: Fix a formatting error.
Guy Harris [Thu, 23 Sep 1999 14:49:11 +0000 (14:49 +0000)]
* gcc.1: Fix a formatting error.

From-SVN: r29619

24 years agoinstall.texi (Configurations): Remove pyramid.
Martin v. Löwis [Thu, 23 Sep 1999 13:58:53 +0000 (13:58 +0000)]
install.texi (Configurations): Remove pyramid.

* install.texi (Configurations): Remove pyramid. Add fr30, i686,
i786, mn10200, mn10300, pdp11, v850.

From-SVN: r29618

24 years ago* ir.texi: Fix formatting errors and typos.
Martin v. Löwis [Thu, 23 Sep 1999 13:55:27 +0000 (13:55 +0000)]
* ir.texi: Fix formatting errors and typos.

From-SVN: r29617

24 years agolibgcc2.c (num_digits): Add prototype with __attribute__((const)).
Dan Nicolaescu [Thu, 23 Sep 1999 13:37:49 +0000 (13:37 +0000)]
libgcc2.c (num_digits): Add prototype with __attribute__((const)).

        * libgcc2.c (num_digits): Add prototype with
        __attribute__((const)).
        (__terminate): Add prototype.

From-SVN: r29616

24 years agoregclass.c: Include ggc.h.
Jeff Law [Thu, 23 Sep 1999 13:07:39 +0000 (07:07 -0600)]
regclass.c: Include ggc.h.

        * regclass.c: Include ggc.h.
        * Makefile.in (regclass.o): Add ggc.h to dependency list.

From-SVN: r29615

24 years agobuiltins.c, [...]: Include tm_p.h.
Richard Henderson [Thu, 23 Sep 1999 12:36:06 +0000 (05:36 -0700)]
builtins.c, [...]: Include tm_p.h.

        * builtins.c, dbxout.c, varasm.c: Include tm_p.h.

        * alpha/alpha.c (print_operand): Fix type of `code'.
        (alpha_output_filename): Constify.
        * alpha/alpha.h: Move all function declarations ...
        * alpha/alpha-protos.h: ... here.  New file.
        * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
        (SECTION_FUNCTION_TEMPLATE): Likewise.

From-SVN: r29614

24 years agoUse cbranch patterns when available
Bernd Schmidt [Thu, 23 Sep 1999 11:34:49 +0000 (11:34 +0000)]
Use cbranch patterns when available

From-SVN: r29613

24 years agoDaily bump.
Jeff Law [Thu, 23 Sep 1999 07:45:09 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r29612

24 years agoAdd missing \
Jeff Law [Thu, 23 Sep 1999 02:23:48 +0000 (20:23 -0600)]
Add missing \

From-SVN: r29611

24 years ago* ir.texi: Document CLEANUP_STMT, SCOPE_STMT, and START_CATCH_STMT.
Mark Mitchell [Thu, 23 Sep 1999 02:10:55 +0000 (02:10 +0000)]
* ir.texi: Document CLEANUP_STMT, SCOPE_STMT, and START_CATCH_STMT.

From-SVN: r29610

24 years agodecl.c (pushdecl): Do create a binding for extern "C" functions...
Mark Mitchell [Thu, 23 Sep 1999 02:04:33 +0000 (02:04 +0000)]
decl.c (pushdecl): Do create a binding for extern "C" functions...

* decl.c (pushdecl): Do create a binding for extern "C" functions,
but not for their DECL_ASSEMBLER_NAMEs.
(lookup_name_current_level): Fix formatting.
(xref_tag): Likewise.
* decl2.c (start_objects): Mark static constructors and
destructors as used.

From-SVN: r29609

24 years agomips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large register offsets; let LEGITIMIZ...
Stan Cox [Thu, 23 Sep 1999 01:03:13 +0000 (01:03 +0000)]
mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large register offsets; let LEGITIMIZE_ADDRESS load it into a register.

* mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
register offsets; let LEGITIMIZE_ADDRESS load it into a register.
(LEGITIMIZE_ADDRESS): Use plus_constant to avoid (plus (reg) (const_int 0))
* mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.

From-SVN: r29608

24 years agopa.c, [...]: Support multiple assembler dialects in most assembler templates.
Jeffrey A Law [Wed, 22 Sep 1999 22:32:29 +0000 (22:32 +0000)]
pa.c, [...]: Support multiple assembler dialects in most assembler templates.

        * pa.c, pa.h, pa.md: Support multiple assembler dialects in
        most assembler templates.

From-SVN: r29607

24 years agors6000.c (expand_block_move): DImode loads and stores require word-aligned displacements.
David Edelsohn [Wed, 22 Sep 1999 22:27:58 +0000 (22:27 +0000)]
rs6000.c (expand_block_move): DImode loads and stores require word-aligned displacements.

* rs6000.c (expand_block_move): DImode loads and stores require
word-aligned displacements.  Increment address registers with
adddi3 on 64-bit platform.  Use TARGET_POWERPC64 not TARGET_64BIT.

From-SVN: r29606

24 years agoFix complex-5.c problem
Michael Meissner [Wed, 22 Sep 1999 21:37:20 +0000 (21:37 +0000)]
Fix complex-5.c problem

From-SVN: r29604

24 years agopa.c (hppa_legitimize_address): Handle full offsets for PA2.0 FP loads and stores.
Jeffrey A Law [Wed, 22 Sep 1999 20:50:44 +0000 (20:50 +0000)]
pa.c (hppa_legitimize_address): Handle full offsets for PA2.0 FP loads and stores.

        * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
        FP loads and stores.
        (following_call): Always return zero for the PA8000.
        * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
        FP loads and stores.
        (LEGITIMIZE_RELOAD_ADDRESS): Similarly.

From-SVN: r29603

24 years ago* libgcj.spec.in: Use `jc1' spec, not `cc1' spec.
Tom Tromey [Wed, 22 Sep 1999 20:44:41 +0000 (20:44 +0000)]
* libgcj.spec.in: Use `jc1' spec, not `cc1' spec.

From-SVN: r29602

24 years ago* pa.h (BRANCH_COST): Define.
Jeffrey A Law [Wed, 22 Sep 1999 20:37:28 +0000 (20:37 +0000)]
* pa.h (BRANCH_COST): Define.

From-SVN: r29601

24 years ago* lang-specs.h: Added `%(jc1)' to the jc1 spec.
Tom Tromey [Wed, 22 Sep 1999 20:30:30 +0000 (20:30 +0000)]
* lang-specs.h: Added `%(jc1)' to the jc1 spec.

From-SVN: r29600

24 years ago* pa.md (return, return_internal): Use bve for PA2.0.
Jeffrey A Law [Wed, 22 Sep 1999 20:29:43 +0000 (20:29 +0000)]
* pa.md (return, return_internal): Use bve for PA2.0.

From-SVN: r29599

24 years agopa.md (fused multiply): Add variants which reduce height for the fused multiply...
Jeffrey A Law [Wed, 22 Sep 1999 20:24:45 +0000 (20:24 +0000)]
pa.md (fused multiply): Add variants which reduce height for the fused multiply...

        * pa.md (fused multiply): Add variants which reduce height for the
        fused multiply, but which still generate 2 insns.
        (fnegabs): Similarly.

From-SVN: r29598

24 years agopa.md (subsi3): Turn into an expander.
Jeffrey A Law [Wed, 22 Sep 1999 20:11:22 +0000 (20:11 +0000)]
pa.md (subsi3): Turn into an expander.

        * pa.md (subsi3): Turn into an expander.  Create two anonymous
        patterns.  One for PA2.0 one for PA1.x.  Use mtsarcm for PA2.0.
        * pa.h (EXTRA_CONSTRAINT): Handle 'S'.

From-SVN: r29597

24 years agopa.md (subsi3): Turn into an expander.
Jeffrey A Law [Wed, 22 Sep 1999 20:10:13 +0000 (20:10 +0000)]
pa.md (subsi3): Turn into an expander.

        * pa.md (subsi3): Turn into an expander.  Create two anonymous
        patterns.  One for PA2.0 one for PA1.x.  Use mtsarcm for PA2.0.

From-SVN: r29596

24 years agopa.md (floatunssisf2, [...]): Generate different RTL for TARGET_PA_20.
Jeffrey A Law [Wed, 22 Sep 1999 19:57:37 +0000 (19:57 +0000)]
pa.md (floatunssisf2, [...]): Generate different RTL for TARGET_PA_20.

        * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
        for TARGET_PA_20.
        (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
        code generation.
        (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
        (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.

From-SVN: r29595

24 years agodecl.c (define_case_label): Don't crash if we're not in a switch.
Jason Merrill [Wed, 22 Sep 1999 19:16:37 +0000 (19:16 +0000)]
decl.c (define_case_label): Don't crash if we're not in a switch.

* decl.c (define_case_label): Don't crash if we're not in a switch.

* decl2.c (lang_decode_option): Don't bother explicitly ignoring flags.
* lang-options.h: Restore -fthis-is-variable.  Remove help strings
for unsupported flags.
* decl2.c (lang_decode_option): Accept and ignore -finit-priority.
Accept and warn about -fthis-is-variable.

From-SVN: r29594

24 years agojavaop.h (WORD_TO_FLOAT): Use `inline' unconditionally.
Tom Tromey [Wed, 22 Sep 1999 16:59:35 +0000 (16:59 +0000)]
javaop.h (WORD_TO_FLOAT): Use `inline' unconditionally.

* javaop.h (WORD_TO_FLOAT): Use `inline' unconditionally.
(WORDS_TO_LONG): Likewise.
(WORDS_TO_DOUBLE): Likewise.

From-SVN: r29593

24 years agobasic-block.h (add_noreturn_fake_exit_edges): Use correct name.
Andrew MacLeod [Wed, 22 Sep 1999 15:44:57 +0000 (15:44 +0000)]
basic-block.h (add_noreturn_fake_exit_edges): Use correct name.

Wed Sep 22 11:34:08 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>

* basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
* flow.c (remove_edge): Remove extra whitespace.
(remove_fake_edges): Fix comment.
(add_noreturn_fake_exit_edges): Use the correct name.

From-SVN: r29592

24 years agoMakefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
Nathan Sidwell [Wed, 22 Sep 1999 15:24:30 +0000 (15:24 +0000)]
Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.

* Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
(mostlyclean): Depend on INTL_MOSTLYCLEAN.
(clean): Depend on INTL_CLEAN.
(maintainer-clean): Adjust.

From-SVN: r29591

24 years agoconfigure.in (AC_PREREQ): Bump to 2.13.
Kaveh R. Ghazi [Wed, 22 Sep 1999 14:23:22 +0000 (14:23 +0000)]
configure.in (AC_PREREQ): Bump to 2.13.

        * configure.in (AC_PREREQ): Bump to 2.13.
        (AC_C_STRINGIZE): Call this instead of using a custom macro.

        * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.

        * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.

        * acconfig.h (HAVE_CPP_STRINGIFY): Delete.

        * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
        (HAVE_STRINGIZE): Define.

From-SVN: r29590

24 years agoregclass.c (init_regs): Add "top_of_stack" as a garbage collection root.
Jeffrey A Law [Wed, 22 Sep 1999 14:12:00 +0000 (14:12 +0000)]
regclass.c (init_regs): Add "top_of_stack" as a garbage collection root.

        * regclass.c (init_regs): Add "top_of_stack" as a garbage
        collection root.

From-SVN: r29589

24 years agoc-parse.in: save and restore warn_pointer_arith on __extension__ along with pedantic.
Jim Kingdon [Wed, 22 Sep 1999 12:58:30 +0000 (06:58 -0600)]
c-parse.in: save and restore warn_pointer_arith on __extension__ along with pedantic.

       * c-parse.in: save and restore warn_pointer_arith on __extension__
        along with pedantic.
        (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
        Set the type of extension to itype rather than $<itype>1 kludge.
        * extend.texi (Alternate Keywords): Adjust documentation.
        * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.

From-SVN: r29588

24 years agoflow.c (record_active_eh_regions): Terminate loop after finding the last insn in...
Jeffrey A Law [Wed, 22 Sep 1999 12:09:23 +0000 (12:09 +0000)]
flow.c (record_active_eh_regions): Terminate loop after finding the last insn in the last basic block.

        * flow.c (record_active_eh_regions): Terminate loop after finding
        the last insn in the last basic block.

From-SVN: r29587

24 years agoUdo previous delta
Nick Clifton [Wed, 22 Sep 1999 10:46:35 +0000 (10:46 +0000)]
Udo previous delta

From-SVN: r29586

24 years agoFix/suppress some testsuite failures for the Arm.
Nick Clifton [Wed, 22 Sep 1999 10:22:30 +0000 (10:22 +0000)]
Fix/suppress some testsuite failures for the Arm.

From-SVN: r29583

24 years agooops - add change missed from previous delta
Nick Clifton [Wed, 22 Sep 1999 10:15:28 +0000 (10:15 +0000)]
oops - add change missed from previous delta

From-SVN: r29582

24 years ago* config/c4x/c4x.md: Delete parallel instruction peepholes.
Michael Hayes [Wed, 22 Sep 1999 08:26:38 +0000 (08:26 +0000)]
* config/c4x/c4x.md: Delete parallel instruction peepholes.

From-SVN: r29581

24 years ago* config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
Michael Hayes [Wed, 22 Sep 1999 08:00:56 +0000 (08:00 +0000)]
* config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.

From-SVN: r29580

24 years agoc4x.c (c4x_process_after_reload): Rework machdep insn splitting to not use output...
Michael Hayes [Wed, 22 Sep 1999 07:58:01 +0000 (07:58 +0000)]
c4x.c (c4x_process_after_reload): Rework machdep insn splitting to not use output template.

* config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
splitting to not use output template.

From-SVN: r29579

24 years agoc4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
Michael Hayes [Wed, 22 Sep 1999 07:53:41 +0000 (07:53 +0000)]
c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.

* config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
* config/c4x/c4x.c (c4x_va_start): New function.

From-SVN: r29578

24 years agoDaily bump.
Jeff Law [Wed, 22 Sep 1999 07:45:14 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r29577

24 years agoTypo last change.
Richard Henderson [Wed, 22 Sep 1999 06:53:35 +0000 (23:53 -0700)]
Typo last change.

From-SVN: r29576

24 years agoVarious fixes for problems discovered stress-testing GC.
Alex Samuel [Wed, 22 Sep 1999 05:51:44 +0000 (05:51 +0000)]
Various fixes for problems discovered stress-testing GC.

* config/i386/i386.c (pic_label_name): Change to char pointer.
(global_offset_table): New variable.
(load_pic_register): Fill global_offset_table if it hasn't
already been done.  Allocate pic_label_name dynamically.
* ggc.h (empty_string): New variable.
* ggc-simple.c (empty_string): Likewise.
(init_ggc): Allocate empty_string and add as root.
* stmt.c (digit_strings): New variable.
(init_stmt): Add last_block_end_note as root.  Allocate and
initialize digit_strings.
(expand_asm_operands): Use empty_string and digit_string instead
of string constants.
* profile.c (init_arc_profiler): Allocate with ggc_alloc_string
instead of xmalloc.
(output_func_start_profiler): Likewise.
* c-typeck.c (digest_init): Check if init is error_mark_node.

From-SVN: r29575

24 years agoMessageFormat.java (MessageFormat(String)): Set the default locale.
Bryce McKinlay [Wed, 22 Sep 1999 04:41:26 +0000 (04:41 +0000)]
MessageFormat.java (MessageFormat(String)): Set the default locale.

1999-09-16  Bryce McKinlay  <bryce@albatross.co.nz>
* java/text/MessageFormat.java (MessageFormat(String)): Set the
default locale.
* java/text/NumberFormat.java: Check that object is a Number. If
not, throw IllegialArgumentException.

From-SVN: r29574

24 years agoJan Hubicka <hubicka@freesoft.cz>
Jan Hubicka [Wed, 22 Sep 1999 01:40:28 +0000 (03:40 +0200)]
Jan Hubicka  <hubicka@freesoft.cz>

        * genrecog.c (not_both_true): Handle correctly cases when called for
        tests with different positions in the insn.

From-SVN: r29573

24 years agoremove check_lang_option prototype
Jason Merrill [Wed, 22 Sep 1999 00:35:28 +0000 (20:35 -0400)]
remove check_lang_option prototype

From-SVN: r29572

24 years agodecl2.c (lang_decode_option): Accept and ignore -finit-priority.
Jason Merrill [Wed, 22 Sep 1999 00:30:34 +0000 (00:30 +0000)]
decl2.c (lang_decode_option): Accept and ignore -finit-priority.

* decl2.c (lang_decode_option): Accept and ignore -finit-priority.
Accept and warn about -fthis-is-variable.

From-SVN: r29571

24 years agoOutput_UTF8.java (write): Don't exit loop unless both `inlength' and `bytes_todo...
Tom Tromey [Tue, 21 Sep 1999 23:20:43 +0000 (23:20 +0000)]
Output_UTF8.java (write): Don't exit loop unless both `inlength' and `bytes_todo' are 0.

* gnu/gcj/convert/Output_UTF8.java (write): Don't exit loop unless
        both `inlength' and `bytes_todo' are 0.  Simplified 2-byte case.

From-SVN: r29570

24 years agoposix-threads.h (_Jv_MutexDestroy): Use _Jv_PthreadGetMutex.
Tom Tromey [Tue, 21 Sep 1999 23:01:23 +0000 (23:01 +0000)]
posix-threads.h (_Jv_MutexDestroy): Use _Jv_PthreadGetMutex.

* include/posix-threads.h (_Jv_MutexDestroy): Use
_Jv_PthreadGetMutex.
(_Jv_MutexLock): Likewise.
(_Jv_MutexUnlock): Likewise.

From-SVN: r29569

24 years agomachmode.h (HOST_PTR_PRINTF): Move from here ...
Kaveh R. Ghazi [Tue, 21 Sep 1999 22:31:29 +0000 (22:31 +0000)]
machmode.h (HOST_PTR_PRINTF): Move from here ...

       * machmode.h (HOST_PTR_PRINTF): Move from here ...

       * system.h (HOST_PTR_PRINTF): ... to here.

       * mips-tfile.c: Don't include machmode.h.

       * Makefile.in (MACHMODE_H): New variable.  Update to use it.
       (mips-tfile.o): Don't depend on machmode.h.

From-SVN: r29568

24 years agohaifa-sched.c (sched_analyze): Rename local variable `region' to avoid conflicts...
Kaveh R. Ghazi [Tue, 21 Sep 1999 22:28:47 +0000 (22:28 +0000)]
haifa-sched.c (sched_analyze): Rename local variable `region' to avoid conflicts with typedef struct `region'...

       * haifa-sched.c (sched_analyze): Rename local variable `region' to
       avoid conflicts with typedef struct `region' at the top level scope.

From-SVN: r29567

24 years agoOutputStreamWriter.java (OutputStreamWriter): Reverted previous patch; it too was...
Tom Tromey [Tue, 21 Sep 1999 21:35:41 +0000 (21:35 +0000)]
OutputStreamWriter.java (OutputStreamWriter): Reverted previous patch; it too was incorrect.

* java/io/OutputStreamWriter.java (OutputStreamWriter): Reverted
previous patch; it too was incorrect.
* java/io/PrintStream.java (PrintStream): Likewise.

From-SVN: r29566

24 years agobasic-block.h (basic_block): Add eh_beg, eh_end.
Richard Henderson [Tue, 21 Sep 1999 21:15:37 +0000 (14:15 -0700)]
basic-block.h (basic_block): Add eh_beg, eh_end.

        * basic-block.h (basic_block): Add eh_beg, eh_end.
        * flow.c (entry_exit_blocks): Update.
        (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
        Call new functions.
        (find_basic_blocks_1): Don't record eh_list at each bb.  Use
        lists.c functions to allocate insn lists.
        (make_edges): Use eh_beg+eh_end, not the lists.  Split out EH
        edge creation ...
        (make_eh_edge): ... here.  New.
        (move_stray_eh_region_notes): New.
        (record_active_eh_regions): New.
        (delete_unreachable_blocks): Split out block merging ...
        (try_merge_blocks): ... here.  New.
        (merge_blocks_move_predecessor_nojumps): Remove edge arg.
        Dump debugging data.
        (merge_blocks_move_successor_nojumps): Likewise.
        (merge_blocks): Use eh_beg+eh_end to validate block movement.

From-SVN: r29565

24 years agodump.c (dequeue_and_dump): Handle START_CATCH_STMT, CLEANUP_STMT, and SCOPE_STMT.
Mark Mitchell [Tue, 21 Sep 1999 20:32:44 +0000 (20:32 +0000)]
dump.c (dequeue_and_dump): Handle START_CATCH_STMT, CLEANUP_STMT, and SCOPE_STMT.

* dump.c (dequeue_and_dump): Handle START_CATCH_STMT,
CLEANUP_STMT, and SCOPE_STMT.

From-SVN: r29564