1. 15 Mar, 2000 7 commits
    • Daily bump. · 368cdff8
      From-SVN: r32555
      Jeff Law committed
    • * libjava.compile/PR140.xfail: New file. · 25ceeb83
      From-SVN: r32553
      Bryce McKinlay committed
    • pr172.java: Correct classname to match file name. · 37ce3e05
      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.
      
      From-SVN: r32552
      Bryce McKinlay committed
    • * libjava.compile/PR140.java: New file, for PR gcj/140. · 87ee36a8
      From-SVN: r32551
      Tom Tromey committed
    • cp-tree.h: Tweak documentation. · 2d926395
      	* 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.
      
      From-SVN: r32550
      Mark Mitchell committed
    • cp-tree.h: Tweak documentation. · 5c24fba6
      	* 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.
      
      From-SVN: r32549
      Mark Mitchell committed
    • stor-layout.c (layout_union): Remove. · cc9d4a85
      	* 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.
      
      From-SVN: r32548
      Mark Mitchell committed
  2. 14 Mar, 2000 30 commits
  3. 13 Mar, 2000 3 commits
    • gccbug.in: New file. · e4476d1c
      	* gccbug.in: New file.
      	* configure.in (all_outputs): Add gccbug.
      	* Makefile.in (install-common): Install gccbug.
      	(GCCBUG_INSTALL_NAME): New variable.
      	* configure: Rebuilt.
      
      From-SVN: r32515
      Martin v. Löwis committed
    • function.c (put_var_into_stack): Use type_for_mode to calculate part_type. · c3b247b4
              * 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.
      
      From-SVN: r32514
      Jason Merrill committed
    • Makefile.in (LIBCPP_OBJS): Add cpplex.o. · 45b966db
      	* 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.
      
      From-SVN: r32513
      Zack Weinberg committed