OSDN Git Service

pf3gnuchains/gcc-fork.git
24 years ago * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
hubicka [Wed, 15 Mar 2000 12:34:40 +0000 (12:34 +0000)]
* i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
* i386.c (pentiumpro_cost): Set mul cost to 4.
(x86_use_movx): Set for PPro.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32560 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * i386.md (ix86_compute_frame_size): stack_alignment_needed is
hubicka [Wed, 15 Mar 2000 12:10:59 +0000 (12:10 +0000)]
* i386.md (ix86_compute_frame_size): stack_alignment_needed is
STACK_BOUNDARY for empty frames now.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32559 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cp-tree.h (CPTI_REF_DESC_TYPE, ref_desc_type_node): Remove.
nathan [Wed, 15 Mar 2000 10:40:27 +0000 (10:40 +0000)]
* cp-tree.h (CPTI_REF_DESC_TYPE, ref_desc_type_node): Remove.
* decl.c (ref_desc_type_node): Undocument.
* rtti.c (ptr_ref_initializer): Rename to ...
(ptr_initializer): ... here. Adjust comments.
(ptmd_initializer): Fix comment thinko.
(synthesize_tinfo_var): Remove REFERENCE_TYPE case.
(create_tinfo_types): Remove ref_desc_type_node init.
* tinfo2.cc (__reference_type_info): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32558 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * decl.c (cp_finish_decl): Remove obsolete comment.
nathan [Wed, 15 Mar 2000 09:45:39 +0000 (09:45 +0000)]
* decl.c (cp_finish_decl): Remove obsolete comment.

* typeck.c (build_ptrmemfunc1): Kill uninitialized warning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32557 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoTue Mar 14 17:15:41 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Wed, 15 Mar 2000 09:30:39 +0000 (09:30 +0000)]
Tue Mar 14 17:15:41 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* parse.y (register_incomplete_type): Fixed initialization of
JDEP_ENCLOSING.

(This is a fix to the gcj PR #172:
 http://sourceware.cygnus.com/ml/java-prs/2000-q1/msg00169.html)

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32556 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDaily bump.
law [Wed, 15 Mar 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32555 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * libjava.compile/PR140.xfail: New file.
bryce [Wed, 15 Mar 2000 03:23:04 +0000 (03:23 +0000)]
* libjava.compile/PR140.xfail: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32553 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-03-15 Bryce McKinlay <bryce@albatross.co.nz>
bryce [Wed, 15 Mar 2000 03:14:24 +0000 (03:14 +0000)]
2000-03-15  Bryce McKinlay  <bryce@albatross.co.nz>

        * libjava.compile/pr172.java: Correct classname to match file name.
        * libjava.compile/pr174.java: ditto. Remove superfluous main()
        method.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32552 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * libjava.compile/PR140.java: New file, for PR gcj/140.
tromey [Wed, 15 Mar 2000 01:45:10 +0000 (01:45 +0000)]
* libjava.compile/PR140.java: New file, for PR gcj/140.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32551 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cp-tree.h: Tweak documentation.
mmitchel [Wed, 15 Mar 2000 00:46:47 +0000 (00:46 +0000)]
* cp-tree.h: Tweak documentation.
* class.c (build_vbase_pointer_fields): Layout the fields, too.
(avoid_overlap): Remove.
(get_binfo_offset_as_int): New function.
(dfs_serach_base_offsets): Likewise.
(layout_nonempty_base_or_field): Likewise.
(build_base_field): Layout fields here.  Avoid placing two objects
of the same type at the same address, under the new ABI.
(build_base_fields): Adjust accordingly.
(create_vtable_ptr): Return the new field, but don't attach it to
TYPE_FIELDS.
(remove_base_field): Remove.
(remove_base_fields): Remove.
(layout_basetypes): Adjust accordingly.
(layout_class_type): Call layout_field for each field, rather than
just making a wholesale call to layout_type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32550 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cp-tree.h: Tweak documentation.
mmitchel [Wed, 15 Mar 2000 00:16:21 +0000 (00:16 +0000)]
* cp-tree.h: Tweak documentation.
* class.c (build_vbase_pointer_fields): Layout the fields, too.
(avoid_overlap): Remove.
(get_binfo_offset_as_int): New function.
(dfs_serach_base_offsets): Likewise.
(layout_nonempty_base_or_field): Likewise.
(build_base_field): Layout fields here.  Avoid placing two objects
of the same type at the same address, under the new ABI.
(build_base_fields): Adjust accordingly.
(create_vtable_ptr): Return the new field, but don't attach it to
TYPE_FIELDS.
(remove_base_field): Remove.
(remove_base_fields): Remove.
(layout_basetypes): Adjust accordingly.
(layout_class_type): Call layout_field for each field, rather than
just making a wholesale call to layout_type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32549 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * stor-layout.c (layout_union): Remove.
mmitchel [Wed, 15 Mar 2000 00:12:37 +0000 (00:12 +0000)]
* stor-layout.c (layout_union): Remove.
(layout_union_field): New function, split out from layout_union.
(finish_union_layout): Likewise.
(layout_field): Handle unions by calling layout_union_field.
(finish_record_layout): Handle unions.
(layout_type): Combine RECORD_TYPE, UNION_TYPE, and
QUAL_UNION_TYPE handling.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32548 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
jle [Tue, 14 Mar 2000 22:50:19 +0000 (22:50 +0000)]
    * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
        end of basic block is jump_insn, not barrier; use create_basic_block
        instead of creating basic block by hand.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32547 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * jni.cc (mangled_name): Fixed assertion.
tromey [Tue, 14 Mar 2000 21:59:54 +0000 (21:59 +0000)]
* jni.cc (mangled_name): Fixed assertion.
(JNI_GetCreatedJavaVMs): Don't comment out `buf_len' argument;
turned assert into actual failure.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32546 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * flow.c (reorder_basic_blocks): Account for barriers when writing
jle [Tue, 14 Mar 2000 21:21:18 +0000 (21:21 +0000)]
* flow.c (reorder_basic_blocks): Account for barriers when writing
over NEXT_INSN (last_bb->end).
(verify_flow_info): Add check for missing barriers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32545 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDelete useless, generated texinfo index
zack [Tue, 14 Mar 2000 21:18:29 +0000 (21:18 +0000)]
Delete useless, generated texinfo index

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32544 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-02-14 Andrew Haley <aph@cygnus.com>
aph [Tue, 14 Mar 2000 20:54:55 +0000 (20:54 +0000)]
2000-02-14  Andrew Haley  <aph@cygnus.com>

        * check-init.c (check_init): Add new cases for unary and binary
        tree nodes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32543 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * gcc.c-torture/execute/20000314-3.c: New test.
law [Tue, 14 Mar 2000 20:30:10 +0000 (20:30 +0000)]
    * gcc.c-torture/execute/20000314-3.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32542 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * c-parse.y, c-parse.c, c-parse.h: Regenerate.
gkm [Tue, 14 Mar 2000 19:54:04 +0000 (19:54 +0000)]
* c-parse.y, c-parse.c, c-parse.h: Regenerate.
* objc/objc-parse.y, objc/objc-parse.c: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32541 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
gkm [Tue, 14 Mar 2000 19:42:11 +0000 (19:42 +0000)]
* c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
* c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
* c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
__ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
__unbounded, __unbounded__): New keywords.
* c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32540 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * libjava.compile/pr172.java: New file, for PR gcj/172.
tromey [Tue, 14 Mar 2000 18:37:18 +0000 (18:37 +0000)]
* libjava.compile/pr172.java: New file, for PR gcj/172.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32539 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoAdd cselib; use it in loop and reload_cse_regs
crux [Tue, 14 Mar 2000 18:36:18 +0000 (18:36 +0000)]
Add cselib; use it in loop and reload_cse_regs

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32538 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * libjava.compile/pr174.java: New file, for PR gcj/174.
tromey [Tue, 14 Mar 2000 18:35:02 +0000 (18:35 +0000)]
* libjava.compile/pr174.java: New file, for PR gcj/174.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32537 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoSome cleanups/additions for hashtables
crux [Tue, 14 Mar 2000 18:28:45 +0000 (18:28 +0000)]
Some cleanups/additions for hashtables

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32536 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoFix spec string parsing bugs
nickc [Tue, 14 Mar 2000 18:08:35 +0000 (18:08 +0000)]
Fix spec string parsing bugs

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32535 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago* function.c (prepare_function_start): Correctly initialize
rearnsha [Tue, 14 Mar 2000 17:48:48 +0000 (17:48 +0000)]
* function.c (prepare_function_start): Correctly initialize
cfun->stack_alignment_needed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32534 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cppfiles.c (find_include_file): Don't assume nshort is a
zack [Tue, 14 Mar 2000 17:25:24 +0000 (17:25 +0000)]
* cppfiles.c (find_include_file): Don't assume nshort is a
substring of name.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32533 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * gcc.c-torture/execute/20000314-2.c: New test.
law [Tue, 14 Mar 2000 16:49:03 +0000 (16:49 +0000)]
    * gcc.c-torture/execute/20000314-2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32532 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * gcc.c-torture/compile/20000314-2.c: New test.
law [Tue, 14 Mar 2000 16:28:08 +0000 (16:28 +0000)]
    * gcc.c-torture/compile/20000314-2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32531 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * gcc.c-torture/execute/2000314-1.c: New test.
law [Tue, 14 Mar 2000 16:10:27 +0000 (16:10 +0000)]
    * gcc.c-torture/execute/2000314-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32530 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoNew test.
law [Tue, 14 Mar 2000 16:06:24 +0000 (16:06 +0000)]
New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32529 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * configure.in (hppa configurations): Add pa32-regs.h to the
law [Tue, 14 Mar 2000 15:47:24 +0000 (15:47 +0000)]
    * configure.in (hppa configurations): Add pa32-regs.h to the
        list of tm files as appropriate.
        * configure: Rebuilt.
        * pa.c (compute_frame_size): Remove explicit knowledge about FP
        register numbering.
        (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
        (fmpyaddoperands, fmpysuboperands): Likewise.
        * pa.h: Remove various definitions which depend on knowing
        how registers are numbered.
        * pa32-regs.h: New file with PA32 register numbering specific
        definitions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32527 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * regmove.c (combine_stack_adjustments): New.
rth [Tue, 14 Mar 2000 14:38:52 +0000 (14:38 +0000)]
    * regmove.c (combine_stack_adjustments): New.
        (stack_memref_p, single_set_for_csa): New.
        (free_csa_memlist, record_one_stack_memref): New.
        (try_apply_stack_adjustment): New.
        (combine_stack_adjustments_for_block): New.
        * rtl.h (combine_stack_adjustments): Declare.
        * toplev.c (rest_of_compilation): Call it.

        * i386.md: Revert 2000-01-16 change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32526 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * gccbug.in: Add web category, gcc specific classes.
loewis [Tue, 14 Mar 2000 09:50:58 +0000 (09:50 +0000)]
* gccbug.in: Add web category, gcc specific classes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32525 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * stor-layout.c (finalize_record_size): Fix typo.
nathan [Tue, 14 Mar 2000 09:36:03 +0000 (09:36 +0000)]
* stor-layout.c (finalize_record_size): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32524 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDaily bump.
law [Tue, 14 Mar 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32523 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * c-typeck.c (c_alignof): Error on incomplete types.
rth [Tue, 14 Mar 2000 08:24:21 +0000 (08:24 +0000)]
    * c-typeck.c (c_alignof): Error on incomplete types.
        * extend.texi (Alignment): Document this.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32522 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoJeff Sturm <jsturm@sigma6.com>
rth [Tue, 14 Mar 2000 08:11:38 +0000 (08:11 +0000)]
Jeff Sturm  <jsturm@sigma6.com>

        * except.c (expand_throw): Fix typo in _Jv_Sjlj_Throw.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32521 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-03-13 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Tue, 14 Mar 2000 07:51:42 +0000 (07:51 +0000)]
2000-03-13  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* parse.y (resolve_package): Set `next' once a type name has been
progressively discovered.
(resolve_qualified_expression_name): Propagate resolution only if
there are remaining qualifiers. Take into account `q' might have
been cleared after re-qualification.
* parse.y (patch_method_invocation): New local `resolved'.
   Section dealing with qualified expression rewritten to use
  resolve_field_access.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32520 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cppfiles.c: Include mkdeps.h.
zack [Tue, 14 Mar 2000 06:34:11 +0000 (06:34 +0000)]
* cppfiles.c: Include mkdeps.h.
(find_include_file, read_include_file): Remove _cpp_ prefix
from name, make static.
(_cpp_execute_include): New function, broken out of
do_include.

* cpplib.c: Don't include mkdeps.h.
(struct directive): Remove type field. Reorder entries.  The
function takes only one argument.
(struct if_stack): Make type field an int.
(directive_table): Rename to dtable.  Generate it, the
prototypes of the directive handlers, and the enum for the
directive numbers, from a template macro.
(do_ifndef, do_include_next, do_import): New functions.
(do_define, do_include, do_endif, do_ifdef, do_if, do_else,
do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
do_ident, do_assert, do_unassert, do_sccs): Take only one
argument.
(do_sccs): Define always, but alter behavior based on
SCCS_DIRECTIVE.
(_cpp_handle_directive, consider_directive_while_skipping):
Restructure for new directive table layout.

(pass_thru_directive): Take a directive number, not a pointer
to a struct directive.
(parse_include): New function, broken out of do_include.
(do_include, do_import, do_include_next): Use parse_include
and _cpp_execute_include.
(do_elif, do_else): Test for T_ELSE specifically when checking
for #elif/#else after #else.
(parse_ifdef): New function, broken out of do_ifdef.
(validate_else): Expect a name arg without a leading #.
(if_directive_name): Delete.
(cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
directive handlers with only one argument.

* cpphash.h: Update prototypes.
(enum node_type): Remove entries for directives.
* Makefile.in: Update dependencies.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32519 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cpphash.c (dump_hash_helper): Only dump nodes of type
zack [Tue, 14 Mar 2000 06:10:27 +0000 (06:10 +0000)]
* cpphash.c (dump_hash_helper): Only dump nodes of type
T_MACRO.  Emit a newline after each definition.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32518 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoAdded Java 1.1 language features.
apbianco [Tue, 14 Mar 2000 05:01:05 +0000 (05:01 +0000)]
Added Java 1.1 language features.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32517 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * gccbug.in: New file.
loewis [Mon, 13 Mar 2000 23:51:26 +0000 (23:51 +0000)]
* gccbug.in: New file.
* configure.in (all_outputs): Add gccbug.
* Makefile.in (install-common): Install gccbug.
(GCCBUG_INSTALL_NAME): New variable.
* configure: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32515 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * function.c (put_var_into_stack): Use type_for_mode to calculate
jason [Mon, 13 Mar 2000 22:54:03 +0000 (22:54 +0000)]
    * function.c (put_var_into_stack): Use type_for_mode to calculate
        part_type.  Use MEM_SET_IN_STRUCT_P.
        * expr.c (store_field): Handle CONCAT.
        (store_constructor): Use fields_length.
        * tree.c (fields_length): New fn.
        * tree.h: Declare it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32514 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
zack [Mon, 13 Mar 2000 22:01:08 +0000 (22:01 +0000)]
* Makefile.in (LIBCPP_OBJS): Add cpplex.o.
(cpplex.o): New target.
* po/POTFILES.in: Add cpplex.c.

* cpplex.c (_cpp_grow_token_buffer, null_cleanup,
cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
skip_block_comment, skip_line_comment, skip_comment,
copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
_cpp_parse_name, skip_string, parse_string,
_cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
_cpp_get_directive_token, find_position,
_cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
(maybe_macroexpand, _cpp_lex_token): New functions.

* cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
parse_goto_mark): Delete.
(_cpp_handle_eof): New function.
(_cpp_handle_directive): Rename from handle_directive.
(_cpp_output_line_command): Rename from output_line_command.
(do_if, do_elif): Call _cpp_parse_expr directly.
* cppfiles.c (_cpp_read_include_file): Don't call
init_input_buffer here.
* cpphash.c (quote_string): Move here, rename _cpp_quote_string.
* cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
here; pop the token_buffer and skip the rest of the line here.
* cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
here.

* cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
Define here.
(CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
CPP_GOTO_MARK): New macros.
(_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
_cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
_cpp_read_and_prescan, _cpp_init_input_buffer,
_cpp_grow_token_buffer, _cpp_get_directive_token,
_cpp_handle_directive, _cpp_handle_eof,
_cpp_output_line_command): Prototype them here.
* cpplib.h (enum cpp_token): Add CPP_MACRO.
(CPP_RESERVE, get_directive_token, cpp_grow_buffer,
quote_string, output_line_command): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32513 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoMon Mar 13 11:36:51 2000 Hans Boehm <boehm@acm.org>
apbianco [Mon, 13 Mar 2000 21:36:09 +0000 (21:36 +0000)]
Mon Mar 13 11:36:51 2000  Hans Boehm <boehm@acm.org>

* typeck.c (build_prim_array_type): Correctly set the high word too.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32512 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoFix recently introduced error in expand_end_case.
crux [Mon, 13 Mar 2000 19:35:38 +0000 (19:35 +0000)]
Fix recently introduced error in expand_end_case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32511 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * decl.c (grokfndecl): Set TREE_NOTHROW if TYPE_NOTHROW_P.
jason [Mon, 13 Mar 2000 19:23:34 +0000 (19:23 +0000)]
    * decl.c (grokfndecl): Set TREE_NOTHROW if TYPE_NOTHROW_P.

        * except.c (dtor_nothrow): New fn.
        (do_pop_exception): Use it.  Take type parm.
        (push_eh_cleanup): Take type parm.
        (expand_start_catch_block): Pass it.
        (build_eh_type_type_ref): Accept null type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32510 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoNew test; for ia32 codegen bug.
zack [Mon, 13 Mar 2000 17:41:35 +0000 (17:41 +0000)]
New test; for ia32 codegen bug.
Reported by Daniel Lauer <daniel@informatik.uni-bonn.de>

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32509 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
jakub [Mon, 13 Mar 2000 17:34:57 +0000 (17:34 +0000)]
* config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
(movsi_zero_liveg0): Remove.
(movsf_insn_novis_liveg0): Remove.
(negsi2): Remove.
(negsi2_not_liveg0): Rename to negsi2.
(one_cmplsi2): Remove.
(one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
(one_cmplsi2_liveg0): Remove.
* config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
(CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
(PREDICATE_CODES): Remove zero_operand.
* config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
TARGET_BROKEN_SAVERESTORE.
(zero_operand): Remove.
* config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
-mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
options.
(SUBTARGET_OVERRIDE_OPTIONS): Remove.
* config/sparc/linux-aout.h (TARGET_LIVE_G0,
TARGET_BROKEN_SAVERESTORE): Remove.
* config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
Remove.
* config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
Remove.
* config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
Remove.

* config/sparc/sparc.md (return_df_no_fpu): New pattern.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32508 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cpplib.c (do_pragma_implementation): Fix off-by-one error
zack [Mon, 13 Mar 2000 17:25:36 +0000 (17:25 +0000)]
* cpplib.c (do_pragma_implementation): Fix off-by-one error
truncating a string.  Don't assume tokens are nul terminated.
Problem noted by Andreas Jaeger <aj@suse.de>

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32507 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * dwarf2out.c (add_name_and_src_coords_attributes): Only add
jason [Mon, 13 Mar 2000 15:09:49 +0000 (15:09 +0000)]
    * dwarf2out.c (add_name_and_src_coords_attributes): Only add
        DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
        (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32506 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago* stor-layout.c (new_record_layout_info): Fix typo inside ifdef
rearnsha [Mon, 13 Mar 2000 13:24:54 +0000 (13:24 +0000)]
* stor-layout.c (new_record_layout_info): Fix typo inside ifdef
STRUCTURE_SIZE_BOUNDARY.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32505 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * g++.old-deja/g++.warn/inline.C: New test.
nathan [Mon, 13 Mar 2000 11:12:13 +0000 (11:12 +0000)]
* g++.old-deja/g++.warn/inline.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32504 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * tree.h (record_layout_info_s): New structure.
mmitchel [Mon, 13 Mar 2000 09:12:50 +0000 (09:12 +0000)]
* tree.h (record_layout_info_s): New structure.
(record_layout_info): New type.
(new_record_layout_info): New function.
(layout_field): Likewise.
(finish_record_layout): Likewise.
* stor-layout.c (layout_record): Remove.
(new_record_layout_info): New function.
(layout_field): New function, broken out from layout_record.
(finalize_record_size): Likewise.
(compute_record_mode): Likewise.
(finalize_type_size): New function, broken out from layout_type.
(finish_record_layout): Likewise.
(layout_type): Use them.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32503 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDaily bump.
law [Mon, 13 Mar 2000 08:45:08 +0000 (08:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32502 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cp-tree.h (revert_static_member_fn): Change prototype.
mmitchel [Mon, 13 Mar 2000 04:54:39 +0000 (04:54 +0000)]
* cp-tree.h (revert_static_member_fn): Change prototype.
* decl.c (grokfndecl): Adjust call to revert_static_member_fn.
(grok_op_properties): Likewise.
(start_function): Likewise.
(revert_static_member_fn): Simplify.
* pt.c (check_explicit_specialization): Adjust call to
revert_static_member_fn.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32501 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agotoon forgot to check in configure
zack [Mon, 13 Mar 2000 03:43:19 +0000 (03:43 +0000)]
toon forgot to check in configure

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32500 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cpphash.c: Don't include version.h.
zack [Mon, 13 Mar 2000 00:10:13 +0000 (00:10 +0000)]
  * cpphash.c: Don't include version.h.
(special_symbol) [case T_VERSION]: Look for the string in
hp->value.cpval; don't use version_string.
* cppinit.c (initialize_builtins): Set hp->value.cpval for
__VERSION__ to version_string.
* Makefile.in (cpphash.o): Update deps.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32499 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago Convert cpplib to use libiberty/hashtab.c.
zack [Sun, 12 Mar 2000 23:46:05 +0000 (23:46 +0000)]
Convert cpplib to use libiberty/hashtab.c.

* cpplib.h (struct cpp_reader): Make hashtab and
all_include_files of type 'struct htab *'.  Delete HASHSIZE
and ALL_INCLUDE_HASHSIZE macros.

* cpphash.h: Update prototypes.
(struct hashnode): Remove next, prev, and bucket_hdr members.
Make length a size_t.  Add hash member.
(struct ihash): Remove next member.  Add hash member.  Make
name a flexible array member.

* cppfiles.c: Include hashtab.h.
(include_hash): Delete.
(IHASHSIZE): New macro.
(hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
(cpp_included): Do the hash lookup here.
(_cpp_find_include_file): Rewrite.
(cpp_read_file): Put the "fake" hash entry into the hash
table.  Honor the control_macro, if it turns out we've seen
the file before.  Don't push the buffer here.
(_cpp_read_include_file): Push the buffer here.
(OMODES): New macro.  Use it whenever we call open(2).

* cpphash.c: Include hashtab.h.
(hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
_cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
_cpp_lookup_slot): New functions.
(HASHSIZE): new macro.
(hashf, _cpp_install, _cpp_delete_macro): Delete.
(_cpp_lookup): Use hashtab.h routines.

* cppinit.c: Include hashtab.h.
(cpp_reader_init): Call _cpp_init_macro_hash and
_cpp_init_include_hash.  Don't allocate hashtab directly.
(cpp_cleanup): Just call htab_delete on pfile->hashtab and
pfile->all_include_files.
(initialize_builtins): Use _cpp_make_hashnode and
htab_find_slot to add hash entries.
(cpp_finish): Just call _cpp_dump_macro_hash.
* cpplib.c: Include hashtab.h.
(do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
create hash entries.
(do_pragma_poison, do_assert): Likewise.
(do_include): Don't push the buffer here.  Don't increment
system_include_depth unless _cpp_read_include_file succeeds.
(do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
or htab_remove_elt.
(do_pragma_implementation): Use alloca to create copy.

* Makefile.in: Update dependencies.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32497 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * libF77/configure.in: Define IEEE_COMPLEX_DIVIDE.
toon [Sun, 12 Mar 2000 19:20:47 +0000 (19:20 +0000)]
* libF77/configure.in: Define IEEE_COMPLEX_DIVIDE.
* libF77/[cz]_div.c: Arrange for compilation under
-DIEEE_COMPLEX_DIVIDE to make these routines
avoid calling sig_die when the denominator vanishes.
* libF77/s_rnge.c: Add casts for the case of
sizeof(ftnint) == sizeof(int) < sizeof(long).
* libI77/endfile.c: Set state to writing (b->uwrt = 1) when an
endfile statement requires copying the file
Also, supply a missing (long) cast in the sprintf call.
* libI77/sfe.c: Add #ifdef ALWAYS_FLUSH logic, for formatted I/O.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32496 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoRevert previous checkin
gdr [Sun, 12 Mar 2000 19:03:13 +0000 (19:03 +0000)]
Revert previous checkin

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32495 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cp-tree.h (scope_kind): New type.
mmitchel [Sun, 12 Mar 2000 18:47:52 +0000 (18:47 +0000)]
* cp-tree.h (scope_kind): New type.
(tmpl_spec_kind): Likewise.
(declare_pseudo_global_level): Remove.
(pseudo_global_level_p): Rename to template_parm_scope_p.
(pushlevel): Remove declaration.
(begin_scope): New function.
(finish_scope): Likewise.
(current_tmpl_spec_kind): Likewise.
* decl.c (struct binding_level): Shorten parm_flag to 2 bits.
Shorten keep to 2 bits.  Rename pseudo_global to template_parms_p.
Add template_spec_p.
(toplevel_bindings_p): Adjust.
(declare_pseudo_global_level): Remove.
(pseudo_global_level_p): Rename to template_parm_scope_p.
(current_tmpl_spec_kind): New function.
(begin_scope): Likewise.
(finish_scope): Likewise.
(maybe_push_to_top_level): Adjust.
(maybe_process_template_type_declaration): Likewise.
(pushtag): Likewise.
(pushdecl_nonclass_level): Likewise.
(lookup_tag): Likewise.
(grokfndecl): Handle member template specializations.  Share
constructor and non-constructor code.
* decl2.c (check_classfn): Handle member template specializations.
* pt.c (begin_template_parm_list): Use begin_scope.
(begin_specialization): Likewise.
(end_specialization): Likewise.
(check_explicit_specialization): Use current_tmpl_spec_kind.
Handle member template specializations.
(end_template_decl): Use finish_scope.  Remove call to
get_pending_sizes.
(push_template_decl_real): Remove bogus error message.
(tsubst_decl): Fix typo in code contained in comment.
(instantiate_template): Handle member template specializations.
(most_general_template): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32494 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * MAINTAINERS: Added myself for write-after-approval.
toon [Sun, 12 Mar 2000 17:24:42 +0000 (17:24 +0000)]
* MAINTAINERS: Added myself for write-after-approval.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32493 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-03-11 Gabriel Dos Reis <gdr@codesourcery.com>
gdr [Sun, 12 Mar 2000 17:19:22 +0000 (17:19 +0000)]
2000-03-11  Gabriel Dos Reis  <gdr@codesourcery.com>

        * lex.c (whitespace_cr): Compress consecutive calls to warning().
        (do_identifier): Ditto for error().

        * pt.c (convert_nontype_argument): Ditto for cp_error().
        (convert_template_argument): Ditto for cp_pedwarn().

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32492 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cppinit.c (cl_directive_handler): More K&R fixing.
ghazi [Sun, 12 Mar 2000 13:55:52 +0000 (13:55 +0000)]
   * cppinit.c (cl_directive_handler): More K&R fixing.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32490 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDaily bump.
law [Sun, 12 Mar 2000 08:45:08 +0000 (08:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32489 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * MAINTAINERS: Add self as ia64 port maintainer.
wilson [Sun, 12 Mar 2000 08:24:23 +0000 (08:24 +0000)]
* MAINTAINERS: Add self as ia64 port maintainer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32488 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoFix bug found by make bootstrap failure. Eliminate some warnings.
wilson [Sun, 12 Mar 2000 08:00:08 +0000 (08:00 +0000)]
Fix bug found by make bootstrap failure.  Eliminate some warnings.
* config/ia64/ia64.c (ia64_compute_frame_size): Align size to
STACK_BOUNDARY.
* config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32487 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
ghazi [Sun, 12 Mar 2000 04:33:26 +0000 (04:33 +0000)]
* cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
Change from char[] to macros.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32486 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-03-12 Neil Booth <NeilB@earthling.net>
neil [Sun, 12 Mar 2000 00:32:01 +0000 (00:32 +0000)]
2000-03-12  Neil Booth  <NeilB@earthling.net>

* cppinit.c (cpp_start_read): Update indirect function
call to K&R C.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32485 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
wilson [Sun, 12 Mar 2000 00:28:18 +0000 (00:28 +0000)]
* config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
entry.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32484 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
wilson [Sun, 12 Mar 2000 00:20:06 +0000 (00:20 +0000)]
* config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32483 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agooops
jason [Sat, 11 Mar 2000 10:14:13 +0000 (10:14 +0000)]
oops

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32482 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-03-11 Neil Booth <NeilB@earthling.net>
neil [Sat, 11 Mar 2000 09:13:00 +0000 (09:13 +0000)]
2000-03-11  Neil Booth  <NeilB@earthling.net>

* cppinit.c (struct pending option): Replace undef with a
pointer to a directive handling routine.
(struct cpp_pending): Replace separate assert_ and define_
lists with one directive_ list.
(new_pending_define): Rename new_pending_directive. Extra
argument is the directive's handling routine.
(handle_option): Update to use new_pending_directive.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32481 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * exception.cc (__check_null_eh_spec): New fn.
jason [Sat, 11 Mar 2000 09:00:13 +0000 (09:00 +0000)]
    * exception.cc (__check_null_eh_spec): New fn.
        * except.c (expand_end_eh_spec): Call it if the spec is throw().

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32480 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDaily bump.
law [Sat, 11 Mar 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32479 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agotweak formatting
jason [Sat, 11 Mar 2000 08:27:17 +0000 (08:27 +0000)]
tweak formatting

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32478 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cppfiles.c (file_cleanup, _cpp_find_include_file,
neil [Sat, 11 Mar 2000 00:49:44 +0000 (00:49 +0000)]
* cppfiles.c (file_cleanup, _cpp_find_include_file,
remap_filename, _cpp_read_include_file, actual_directory,
hack_vms_include_specification): Replace bcopy(), index() etc
calls.  Add casts to some allocations.  Make some variables
  pointers to const [unsigned] char.
* cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
collect_formal_parameters): Similarly.
* cppinit.c (struct pending_option, append_include_chain,
cpp_options_init, cpp_reader_init, initialize_standard_includes,
cpp_start_read, new_pending_define, handle_option): Similarly.
* cpplib.c (cpp_define, copy_comment, do_define, do_include,
do_undef, do_error, do_warning, do_pragma, do_pragma_once,
do_pragma_implementation, detect_if_not_defined,
do_ifdef, skip_if_group, cpp_get_token, parse_string,
do_assert, do_unassert): Similarly.
* cpplib.h (cpp_buffer, cpp_options): Update types.  Update
function prototypes.
* mkdeps.c (deps_add_target, deps_add_dep): cast allocations.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32477 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * builtins.c (expand_builtin_strlen): Revert last change.
rth [Sat, 11 Mar 2000 00:30:06 +0000 (00:30 +0000)]
    * builtins.c (expand_builtin_strlen): Revert last change.
        Use emit_insn_before if we're at the beginning of a sequence.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32476 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * decl.c (push_throw_library_fn): Take the FUNCTION_TYPE.
jason [Sat, 11 Mar 2000 00:23:18 +0000 (00:23 +0000)]
    * decl.c (push_throw_library_fn): Take the FUNCTION_TYPE.
        * except.c (expand_end_eh_spec): Add the return type.
        * rtti.c (throw_bad_cast): Add the parmtypes.
        (throw_bad_typeid): Likewise.

        * semantics.c (expand_stmt): Only leave out rtl for unused
        artificials, and set DECL_IGNORED_P on them as well.
        * decl.c (wrapup_globals_for_namespace): Likewise.

        * decl.c (maybe_commonize_var): Skip all artificial decls.
        * pt.c (tsubst_decl): Don't copy TREE_ASM_WRITTEN.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32475 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-03-10 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
gdr [Fri, 10 Mar 2000 21:20:08 +0000 (21:20 +0000)]
2000-03-10  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>

        * std/bastring.h (basic_string<>::push_back): Was missing.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32474 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * builtins.c (expand_builtin_strlen): Make sure that we have something
jason [Fri, 10 Mar 2000 19:50:09 +0000 (19:50 +0000)]
    * builtins.c (expand_builtin_strlen): Make sure that we have something
        at the beginning of the sequence.

        * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
        deferred inlines.

        * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32473 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoFix typo last change.
rth [Fri, 10 Mar 2000 19:21:06 +0000 (19:21 +0000)]
Fix typo last change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32472 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * except.c (can_throw): Use INTVAL on a CONST_INT.
rth [Fri, 10 Mar 2000 19:12:53 +0000 (19:12 +0000)]
    * except.c (can_throw): Use INTVAL on a CONST_INT.
        (reachable_handlers): Likewise.
        * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32471 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
gavin [Fri, 10 Mar 2000 14:24:50 +0000 (14:24 +0000)]
* config/mips/linux.h: Undefine MD_EXEC_PREFIX and
MD_STARTFILE_PREFIX since those are not needed on linux.
(ASM_FILE_START): New, from mips/gnu.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32470 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * lang-options.h, decl2.c: Add -fno-enforce-eh-specs.
jason [Fri, 10 Mar 2000 11:56:00 +0000 (11:56 +0000)]
    * lang-options.h, decl2.c: Add -fno-enforce-eh-specs.
        * cp-tree.h: Declare flag_enforce_eh_specs.
        * decl.c (store_parm_decls, finish_function): Check it.

        C library functions don't throw.
        * Makefile.in (cfns.h): New target.
        (except.o): Depend on it.
        * Make-lang.in (cc1plus): Depend on cfns.gperf.
        * cfns.gperf: New file.
        * cfns.h: Generated.
        * except.c: Include it.
        (nothrow_libfn_p): New fn.
        * decl.c (grokfndecl): Use it.
        * cp-tree.h: Declare it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32469 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * decl.c (push_overloaded_decl_1, auto_function,
jason [Fri, 10 Mar 2000 09:25:45 +0000 (09:25 +0000)]
    * decl.c (push_overloaded_decl_1, auto_function,
        define_function): Lose.
        (build_library_fn_1): New static fn.
        (builtin_function): Use it.
        (get_atexit_node): Use build_library_fn_ptr.
        (build_library_fn, build_cp_library_fn, build_library_fn_ptr,
        build_cp_library_fn_ptr, push_library_fn, push_cp_library_fn,
        push_void_library_fn, push_throw_library_fn): New fns.
        * cp-tree.h: Declare them.
        (cp_tree_index): Remove CPTI_BAD_CAST, CPTI_BAD_TYPEID.
        (throw_bad_cast_node, throw_bad_typeid_node): Lose.
        * except.c (init_exception_processing, call_eh_info, do_pop_exception,
        (expand_end_eh_spec, alloc_eh_object, expand_throw): Use above fns.
        * rtti.c (build_runtime_decl): Lose.
        (throw_bad_cast, throw_bad_typeid, get_tinfo_decl,
        build_dynamic_cast_1, expand_si_desc, expand_class_desc,
        expand_ptr_desc, expand_attr_desc, expand_generic_desc): Use above fns.

        * call.c (build_call): Remove result_type parm.
        Call mark_used on unused artificial fns.
        * init.c, method.c, typeck.c, except.c, rtti.c: Adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32468 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDaily bump.
law [Fri, 10 Mar 2000 08:45:08 +0000 (08:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32467 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * com.c (ffecom_stabilize_aggregate_): Don't refer to TREE_RAISES.
jason [Fri, 10 Mar 2000 08:44:50 +0000 (08:44 +0000)]
    * com.c (ffecom_stabilize_aggregate_): Don't refer to TREE_RAISES.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32466 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoChanges in include:
samuel [Fri, 10 Mar 2000 08:16:55 +0000 (08:16 +0000)]
Changes in include:

* partition.h: New file.

Changes in libiberty:

* Makefile.in (CFILES): Add partition.c.
(REQUIRED_OFILES): Add partition.o.
(partition.o): New rule.
* partition.c: New file.

Changes in gcc:

* Makefile.in (ssa.o): New rule.
(OBJS): Add ssa.o.
(STAGESTUFF): Add *.ssa and *.ussa.
(mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
* rtl.def (PHI): New RTL expression.
* rtl.h (clear_log_links): New declaration.
(convert_to_ssa): Likewise.
(convert_from_ssa): Likewise.
* flow.c (split_edge): If the entry node falls through to the
split edge's source block, split the entry edge.
(clear_log_links): New function.
* toplev.c (ssa_dump): New variable.
(flag_ssa): Likewise.
(f_options): Add "ssa".
(compile_file): Create SSA dump files.
(rest_of_compilation): Go to and from SSA if enabled.
(decide_d_option): Handle -de for SSA dump files.
* ssa.c: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32465 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * java/security/Key.java(serialVersionUID): Set to 0 for now.
warrenl [Fri, 10 Mar 2000 05:10:40 +0000 (05:10 +0000)]
* java/security/Key.java(serialVersionUID): Set to 0 for now.
* java/security/interfaces/DSAPrivateKey.java(serialVersionUID): Ditto.
* java/security/interfaces/DSAPublicKey.java(serialVersionUID): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32464 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoFix ia64 spec95 134.perl miscompilation.
wilson [Fri, 10 Mar 2000 04:03:10 +0000 (04:03 +0000)]
Fix ia64 spec95 134.perl miscompilation.
* expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
same as VAR_DECL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32463 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-03-09 Benjamin Kosnik <bkoz@cygnus.com>
bkoz [Fri, 10 Mar 2000 03:01:05 +0000 (03:01 +0000)]
2000-03-09  Benjamin Kosnik  <bkoz@cygnus.com>

* config/alpha/linux.h (WCHAR_TYPE): Make consistent.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32462 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * java/security/AlgorithmParameterGeneratorSpi.java: New file.
warrenl [Fri, 10 Mar 2000 02:43:57 +0000 (02:43 +0000)]
* java/security/AlgorithmParameterGeneratorSpi.java: New file.
* java/security/DigestException.java: New file.
* java/security/GeneralSecurityException.java: New file.
* java/security/InvalidAlgorithmParameterException.java: New file.
* java/security/InvalidKeyException.java: New file.
* java/security/InvalidParameterException.java: New file.
* java/security/Key.java: New file.
* java/security/KeyException.java: New file.
* java/security/KeyPair.java: New file.
* java/security/KeyPairGenerator.java: New file.
* java/security/KeyPairGeneratorSpi.java: New file.
* java/security/NoSuchProviderException.java: New file.
* java/security/PrivateKey.java: New file.
* java/security/Provider.java: New file.
* java/security/PublicKey.java: New file.
* java/security/SecureRandom.java: New file.
* java/security/Security.java: New file.
* java/security/Signature.java: New file.
* java/security/SignatureException.java: New file.
* java/security/interfaces/DSAKey.java: New file.
* java/security/interfaces/DSAParams.java: New file.
* java/security/interfaces/DSAPrivateKey.java: New file.
* java/security/interfaces/DSAPublicKey.java: New file.
* java/security/interfaces/RSAPrivateCrtKey.java: New file.
* java/security/interfaces/RSAPrivateKey.java: New file.
* java/security/interfaces/RSAPublicKey.java: New file.
* java/security/spec/AlgorithmParameterSpec.java: New file.
* java/security/spec/InvalidKeySpecException.java: New file.
* java/security/spec/InvalidParameterSpecException.java: New file.
* java/security/spec/KeySpec.java: New file.
* java/security/spec/RSAPrivateCrtKeySpec.java: New file.
* java/security/spec/RSAPrivateKeySpec.java: New file.
* java/security/spec/RSAPublicKeySpec.java: New file.
* Makefile.am: Added above java.security files.
* Makefile.in: Rebuilt.

* java/security/MessageDigest.java: Rewritten.
* java/security/SecureClassLoader.java: Added JDK1.2 comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32461 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
law [Fri, 10 Mar 2000 01:12:22 +0000 (01:12 +0000)]
    * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
        (MD_STARTFILE_PREFIX_1): New macro.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32460 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * hashtab.h (struct htab): Add del_f.
zack [Fri, 10 Mar 2000 00:00:24 +0000 (00:00 +0000)]
* hashtab.h (struct htab): Add del_f.
(htab_del): New type.
(htab_create): Add fourth argument.

* hashtab.c (htab_create): Set del_f.
(htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32459 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoAdd another case
zack [Thu, 9 Mar 2000 23:04:50 +0000 (23:04 +0000)]
Add another case

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32458 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoUpdated again.
bryce [Thu, 9 Mar 2000 22:42:01 +0000 (22:42 +0000)]
Updated again.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32457 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoUpdated README.
bryce [Thu, 9 Mar 2000 22:20:43 +0000 (22:20 +0000)]
Updated README.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32456 138bc75d-0d04-0410-961f-82ee72b054a4