platform/upstream/gcc.git
24 years agoDo not try to combine a sequence of insns when the second insn has been
Nick Clifton [Tue, 25 Apr 2000 00:40:36 +0000 (00:40 +0000)]
Do not try to combine a sequence of insns when the second insn has been
replaced by a note.

From-SVN: r33398

24 years agocall.c (standard_conversion): Accept conversion between COMPLEX_TYPEs
Gabriel Dos Reis [Tue, 25 Apr 2000 00:11:34 +0000 (00:11 +0000)]
call.c (standard_conversion): Accept conversion between COMPLEX_TYPEs

2000-04-24  Gabriel Dos Reis  <gdr@codesourcery.com>

        * call.c (standard_conversion): Accept conversion between
        COMPLEX_TYPEs

        * cvt.c (ocp_convert): Handle conversion to COMPLEX_TYPE

From-SVN: r33396

24 years agogcc.c (load_specs): New static function.
Mumit Khan [Mon, 24 Apr 2000 23:57:46 +0000 (23:57 +0000)]
gcc.c (load_specs): New static function.

        * gcc.c (load_specs): New static function.
        (read_specs): Use it.

From-SVN: r33395

24 years agogcc.c (lookup_compiler): Make multiple passes for case insensitive filesystems.
Mumit Khan [Mon, 24 Apr 2000 23:35:43 +0000 (23:35 +0000)]
gcc.c (lookup_compiler): Make multiple passes for case insensitive filesystems.

        * gcc.c (lookup_compiler): Make multiple passes for case
        insensitive filesystems.

From-SVN: r33393

24 years agoparse.y (source_start_java_method): Deleted unecessary code.
Alexandre Petit-Bianco [Mon, 24 Apr 2000 23:27:39 +0000 (23:27 +0000)]
parse.y (source_start_java_method): Deleted unecessary code.

2000-04-24  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * parse.y (source_start_java_method): Deleted unecessary code.
        (patch_method_invocation): Fixed comment.

From-SVN: r33392

24 years agohashtab.c (hash_pointer, eq_pointer): Make definition static to match prototype.
Kaveh R. Ghazi [Mon, 24 Apr 2000 22:29:09 +0000 (22:29 +0000)]
hashtab.c (hash_pointer, eq_pointer): Make definition static to match prototype.

       * hashtab.c (hash_pointer, eq_pointer): Make definition static to
       match prototype.
       (htab_expand): Cast the return value of xcalloc.

From-SVN: r33391

24 years agocpphash.c: replace HSPACE_BEFORE with PREV_WHITESPACE.
Neil Booth [Mon, 24 Apr 2000 22:07:36 +0000 (22:07 +0000)]
cpphash.c: replace HSPACE_BEFORE with PREV_WHITESPACE.

* cpphash.c: replace HSPACE_BEFORE with PREV_WHITESPACE.
* cpphash.h (_cpp_check_directive): new.
* cpplex.c (handle_newline, cpp_free_token_list,
init_trigraph_map, trigraph_ok, trigraph_replace,
backslash_start, skip_block_comment, skip_line_comment,
skip_whitespace, parse_name, parse_number, parse_string,
copy_comment, _cpp_lex_line, spell_char, spell_string,
spell_comment, spell_name, spell_other, _cpp_lex_file,
_cpp_output_list): new.
(expand_name_space): take length argument.
(init_token_list): add comment list initialisation.
(cpp_scan_line): use auto_expand_name_space.  PREV_WHITESPACE
instead of HSPACE_BEFORE.

* cpplib.c (_cpp_check_directive): new
* cpplib.h (cpp_name, PREV_WHITESPACE, PREV_COMMENT,
DIGRAPH, UNSIGNED_INT, TOK_NAME): new.
(HSPACE_BEFORE): delete.
(TTYPE_TABLE): rearrange.
(struct cpp_toklist): update.

From-SVN: r33390

24 years agoaclocal.m4 (gcc_AC_HEADER_STRING, [...]): Use the three argument form of AC_DEFINE.
Kaveh R. Ghazi [Mon, 24 Apr 2000 21:20:14 +0000 (21:20 +0000)]
aclocal.m4 (gcc_AC_HEADER_STRING, [...]): Use the three argument form of AC_DEFINE.

* aclocal.m4 (gcc_AC_HEADER_STRING, gcc_AC_FUNC_PRINTF_PTR,
gcc_AC_C_VOLATILE, gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG): Use the three
argument form of AC_DEFINE.

* configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER,
HAVE_INTTYPES_H, PACKAGE, VERSION, ENABLE_WIN32_REGISTRY,
WIN32_REGISTRY_KEY, HAVE_GAS_SUBSECTION_ORDERING, HAVE_GAS_WEAK,
HAVE_GAS_HIDDEN, HAVE_AS_REGISTER_PSEUDO_OP, AS_SPARC64_FLAG,
HAVE_AS_OFFSETABLE_LO10, ENABLE_NEW_GXX_ABI): Likewise.

* acconfig.h: Delete stubs made redundant by 3-arg AC_DEFINE.

From-SVN: r33389

24 years agoMakefile.in (GCC_FOR_TARGET, [...]): Use -isystem, not -I, for including system headers.
Kaveh R. Ghazi [Mon, 24 Apr 2000 20:12:12 +0000 (20:12 +0000)]
Makefile.in (GCC_FOR_TARGET, [...]): Use -isystem, not -I, for including system headers.

        * Makefile.in (GCC_FOR_TARGET, GCC_CFLAGS, LIBGCC2_INCLUDES,
        deduced.h): Use -isystem, not -I, for including system headers.

From-SVN: r33388

24 years agoFix bug building libgcc:
Nick Clifton [Mon, 24 Apr 2000 18:48:41 +0000 (18:48 +0000)]
Fix bug building libgcc:

Do not generate small add insn if the source register is eliminable.

From-SVN: r33387

24 years agodecl2.c (finish_file): Remove double setup for accounting compile time.
Zack Weinberg [Mon, 24 Apr 2000 18:42:22 +0000 (18:42 +0000)]
decl2.c (finish_file): Remove double setup for accounting compile time.

* decl2.c (finish_file): Remove double setup for accounting
compile time.

From-SVN: r33386

24 years agoconfigure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Delete redundant call to AC_MSG_RESULT.
Kaveh R. Ghazi [Mon, 24 Apr 2000 18:23:19 +0000 (18:23 +0000)]
configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Delete redundant call to AC_MSG_RESULT.

       * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Delete redundant
       call to AC_MSG_RESULT.

From-SVN: r33385

24 years agoinvoke.texi: Correct grammatical errors...
Martin v. Löwis [Mon, 24 Apr 2000 18:03:42 +0000 (18:03 +0000)]
invoke.texi: Correct grammatical errors...

* invoke.texi: Correct grammatical errors, document
-fno-gnu-keywords as identical to -fno-asm for C++.

From-SVN: r33384

24 years agoaclocal.m4: (GCC_HEADER_STRING...
Kaveh R. Ghazi [Mon, 24 Apr 2000 17:45:50 +0000 (17:45 +0000)]
aclocal.m4: (GCC_HEADER_STRING...

        * aclocal.m4: (GCC_HEADER_STRING, GCC_NEED_DECLARATION,
        GCC_NEED_DECLARATIONS, GCC_FUNC_VFPRINTF_DOPRNT,
        GCC_FUNC_PRINTF_PTR, GCC_PROG_LN_S, GCC_PROG_LN, GCC_C_VOLATILE,
        AC_GCC_C_LONG_DOUBLE, GCC_FUNC_MKDIR_TAKES_ONE_ARG,
        EGCS_PROG_INSTALL): Rename autoconf macros with prefix gcc_AC_.

        * configure.in (AC_GCC_C_LONG_DOUBLE, GCC_PROG_LN, GCC_PROG_LN_S,
        GCC_C_VOLATILE, EGCS_PROG_INSTALL, GCC_HEADER_STRING,
        GCC_FUNC_VFPRINTF_DOPRNT, GCC_FUNC_PRINTF_PTR,
        GCC_NEED_DECLARATIONS, GCC_FUNC_MKDIR_TAKES_ONE_ARG): Invoke with
        new macros names.

From-SVN: r33383

24 years agosstream: New file.
Magnus Fromreide [Mon, 24 Apr 2000 17:31:57 +0000 (19:31 +0200)]
sstream: New file.

* sstream: New file.
* Makefile.in (HEADERS): Add it.

From-SVN: r33380

24 years agoc-pragma.c (push_alignment): Use BITS_PER_UNIT macro.
Mumit Khan [Mon, 24 Apr 2000 17:24:45 +0000 (17:24 +0000)]
c-pragma.c (push_alignment): Use BITS_PER_UNIT macro.

2000-04-24  Mumit Khan  <khan@xraylith.wisc.edu>

* c-pragma.c (push_alignment): Use BITS_PER_UNIT macro.
(pop_alignment): Likewise.
(handle_pragma_token): Likewise.

From-SVN: r33379

24 years agoRespective ChangeLogs for common, cp/, java/
Robert Lipe [Mon, 24 Apr 2000 16:17:04 +0000 (16:17 +0000)]
Respective ChangeLogs for common, cp/, java/

Respective ChangeLogs for common, cp/, java/
        * tree.h (tree_decl): Member `mode' now ENUM_BITFIELD.
        * cp-tree.h (lang_type): Member `language' now ENUM_BITFIELD.
        * parse.h (_jdep): Member `kind' now ENUM_BITFIELD.

From-SVN: r33378

24 years agonatFirstThread.cc (run): Initialize class before calling main.
Jeff Sturm [Mon, 24 Apr 2000 15:07:16 +0000 (15:07 +0000)]
natFirstThread.cc (run): Initialize class before calling main.

* gnu/gcj/runtime/natFirstThread.cc (run): Initialize class before
calling main.

From-SVN: r33377

24 years agocombine.c (try_combine): Update reg_nonzero_bits of newi2pat before newpat.
Hiroyuki Machida [Mon, 24 Apr 2000 08:46:15 +0000 (17:46 +0900)]
combine.c (try_combine): Update reg_nonzero_bits of newi2pat before newpat.

        * combine.c (try_combine): Update reg_nonzero_bits of
        newi2pat before newpat.

From-SVN: r33376

24 years agoloop.c (strength_reduce): Simplify test to INSN_P.
Jan Hubicka [Mon, 24 Apr 2000 08:23:08 +0000 (08:23 +0000)]
loop.c (strength_reduce): Simplify test to INSN_P.

* loop.c (strength_reduce): Simplify test to INSN_P.
(record_giv): Attempt to simplify the add value, use CONSTANT_P
expressions instead of CONST_INT.
(express_from_1): Likewise.

From-SVN: r33375

24 years agoregs.h (reg_n_max): Don't declare.
Mark Mitchell [Mon, 24 Apr 2000 07:48:12 +0000 (07:48 +0000)]
regs.h (reg_n_max): Don't declare.

* regs.h (reg_n_max): Don't declare.
* flow.c (reg_n_max): Don't define.
* regclass.c (renumber): Don't initialize to zero.
(regno_allocated): Likewise.
(reg_n_max): Define.
(allocate_reg_info): Don't initialize unnecessarily.

From-SVN: r33374

24 years agoDaily bump.
Jeff Law [Mon, 24 Apr 2000 07:45:07 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r33373

24 years agohashtab.h (hash_pointer): Declare.
Mark Mitchell [Mon, 24 Apr 2000 07:29:11 +0000 (07:29 +0000)]
hashtab.h (hash_pointer): Declare.

* hashtab.h (hash_pointer): Declare.
(eq_pointer): Likewise.

* hashtab.c (hash_pointer): New function.
(eq_pointer): Likewise.
(htab_hash_pointer): New variable.
(htab_eq_pointer): Likewise.

From-SVN: r33372

24 years agonew.cc (set_new_handler): Needs to be in std::.
Benjamin Kosnik [Mon, 24 Apr 2000 06:59:16 +0000 (06:59 +0000)]
new.cc (set_new_handler): Needs to be in std::.

2000-04-23  Benjamin Kosnik  <bkoz@cygnus.com>

* new.cc (set_new_handler): Needs to be in std::.

From-SVN: r33371

24 years agogenattrtab.c (find_attr): Initialize unsigned_p, func_units_p and blockage_p in the...
Jeffrey A Law [Mon, 24 Apr 2000 06:45:30 +0000 (06:45 +0000)]
genattrtab.c (find_attr): Initialize unsigned_p, func_units_p and blockage_p in the newly allocated attribute.

        * genattrtab.c (find_attr): Initialize unsigned_p, func_units_p
        and blockage_p in the newly allocated attribute.

From-SVN: r33370

24 years agocp-tree.h (lang_decl): Remove pretty_function_p.
Mark Mitchell [Mon, 24 Apr 2000 06:41:16 +0000 (06:41 +0000)]
cp-tree.h (lang_decl): Remove pretty_function_p.

* cp-tree.h (lang_decl): Remove pretty_function_p.
(DECL_PRETTY_FUNCTION_P): Use TREE_LANG_FLAG_0, not a bit in the
language-specific node.
* decl.c (cp_make_fname_decl): Use build_decl, not
build_lang_decl, to build the variables.
(grokvardecl): Don't call build_lang_decl for local variables in
templates.
(grokdeclarator): Don't call build_lang_decl for local type
declarations in templates.
* lex.c (retrofit_lang_decl): Use ggc_alloc_obj to allocated
zero'd memory, rather than calling memset.
* pt.c: Include hashtab.h.
(local_specializations): New variable.
(retrieve_local_specialization): Use it.
(register_local_specialization): Likewise.
(tsubst_decl): Don't assume local variables have
DECL_LANG_SPECIFIC.
(instantiate_decl): Set up local_specializations.
* Makefile.in (HTAB_H): New variable.

From-SVN: r33369

24 years ago* sort.c (sort_pointers): Fix endianness bugs.
Mark Mitchell [Mon, 24 Apr 2000 05:52:07 +0000 (05:52 +0000)]
* sort.c (sort_pointers): Fix endianness bugs.

From-SVN: r33368

24 years ago* gcconfig.h (DYNAMIC_LOADING): Define for PPC Linux.
Tom Tromey [Mon, 24 Apr 2000 04:57:20 +0000 (04:57 +0000)]
* gcconfig.h (DYNAMIC_LOADING): Define for PPC Linux.

From-SVN: r33367

24 years ago* sort.h: New file.
Mark Mitchell [Mon, 24 Apr 2000 00:51:36 +0000 (00:51 +0000)]
* sort.h: New file.

From-SVN: r33365

24 years agosort.c: New file.
Mark Mitchell [Mon, 24 Apr 2000 00:51:08 +0000 (00:51 +0000)]
sort.c: New file.

* sort.c: New file.
* Makefile.in (CFILES): Add sort.c
(REQUIRED_OFILES): Add sort.o.
(sort.o): New target.

From-SVN: r33364

24 years agomn10300.md (addsi): `inc4' on address registers does not modify cc...
Alexandre Oliva [Sun, 23 Apr 2000 23:28:39 +0000 (23:28 +0000)]
mn10300.md (addsi): `inc4' on address registers does not modify cc...

* config/mn10300/mn10300.md (addsi): `inc4' on address
registers does not modify cc, but `inc' on an extended
register does.

From-SVN: r33363

24 years agotypeck.c (c_expand_asm_operands): Restore the original contents of the output list.
Richard Henderson [Sun, 23 Apr 2000 22:32:18 +0000 (15:32 -0700)]
typeck.c (c_expand_asm_operands): Restore the original contents of the output list.

        * typeck.c (c_expand_asm_operands): Restore the original
        contents of the output list.

From-SVN: r33362

24 years agoreload.c (find_equiv_reg): Checks all valueno regs as a reload_reg_p regs.
Denis Chertykov [Sun, 23 Apr 2000 22:25:25 +0000 (22:25 +0000)]
reload.c (find_equiv_reg): Checks all valueno regs as a reload_reg_p regs.

        * reload.c (find_equiv_reg): Checks all valueno regs
        as a reload_reg_p regs.

From-SVN: r33361

24 years agocpphash.c (collect_objlike_expansion): Add sanity check.
Zack Weinberg [Sun, 23 Apr 2000 21:50:59 +0000 (21:50 +0000)]
cpphash.c (collect_objlike_expansion): Add sanity check.

* cpphash.c (collect_objlike_expansion): Add sanity check.
(special_symbol): Remove case T_CONST, T_XCONST, T_MCONST.  If
the buffer is the empty string, return.  Mark __DATE__ and
__TIME__ as XCONST nodes, not MCONST.
(_cpp_macroexpand): Avoid pushing an empty buffer.
(funlike_macroexpand): Don't pop token_buffer here.

From-SVN: r33360

24 years agomn10300.h (REGNO_IN_RANGE_P): New macro.
Alexandre Oliva [Sun, 23 Apr 2000 21:40:51 +0000 (21:40 +0000)]
mn10300.h (REGNO_IN_RANGE_P): New macro.

* config/mn10300/mn10300.h (REGNO_IN_RANGE_P): New macro.
(REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_SP_P): New macros.
(REGNO_EXTENDED_P, REGNO_AM33_P): New macros.
(REGNO_OK_FOR_BASE_P): Define in terms of them.
(REGNO_OK_FOR_BIT_BASE_P, REGNO_OK_FOR_INDEX_P): Likewise.
(REG_OK_FOR_BASE_P): Define in terms of the REGNO macro.
(REG_OK_FOR_BIT_BASE_P, REG_OK_FOR_INDEX_P): Likewise.

From-SVN: r33359

24 years ago* gcc.c-torture/execute/20000422-1.c: New test.
Jeffrey A Law [Sun, 23 Apr 2000 20:42:27 +0000 (20:42 +0000)]
* gcc.c-torture/execute/20000422-1.c: New test.

From-SVN: r33358

24 years agoloop.c (simplify_giv_expr): Be more agressive on simplifying constant MULT givs.
Jan Hubicka [Sun, 23 Apr 2000 20:25:40 +0000 (20:25 +0000)]
loop.c (simplify_giv_expr): Be more agressive on simplifying constant MULT givs.

* loop.c (simplify_giv_expr):  Be more agressive on simplifying
constant MULT givs.

From-SVN: r33357

24 years agobits: Add.
Benjamin Kosnik [Sun, 23 Apr 2000 19:42:39 +0000 (19:42 +0000)]
bits: Add.

2000-04-23  Benjamin Kosnik  <bkoz@redhat.com>

* shadow/bits: Add.
* shadow/sys: Add.

From-SVN: r33356

24 years agocpphash.h (struct definition): Move file, line, col members...
Zack Weinberg [Sun, 23 Apr 2000 17:03:31 +0000 (17:03 +0000)]
cpphash.h (struct definition): Move file, line, col members...

* cpphash.h (struct definition): Move file, line, col members...
(struct hashnode): ... here.  Also add 'disabled' flag.
(enum node_type): Add T_VOID, T_XCONST, T_FMACRO, and
T_IDENTITY.  Remove T_DISABLED.
Update prototypes.

* cpphash.c (_cpp_dump_definition): Split out dump_DEFINITION.
(collect_expansion): Split into collect_objlike_expansion and
collect_funlike_expansion.
(_cpp_macroexpand): Split out scan_arguments, stringify, and
funlike_macroexpand.
(_cpp_compare_defs): Rename compare_defs, make static.
(_cpp_make_hashnode): Initialize hp->disabled.
(macro_cleanup): Adjust for new token types.  Clear
m->disabled.
(_cpp_create_definition): Move code here to determine what
sort of macro it is, and code to check for redefinitions, from
do_define.  Implement a few simple cases without creating a
full DEFINITION.
(_cpp_macroexpand, special_symbol, _cpp_dump_definition):
Handle the simple cases.
(push_macro_expansion): Set buf->has_escapes and hp->disabled
here.

* cppinit.c (builtin_array): Change MCONST to XCONST
everywhere.
* cpplex.c (maybe_macroexpand): Handle IDENTITY macros here;
fix check for disabled and function-like macros.
* cpplib.c (do_define): Move most logic to
_cpp_create_definition.
(do_undef): Handle new special token types.

From-SVN: r33355

24 years ago* boehm.c (mark_reference_fields): Use int_byte_position.
Tom Tromey [Sun, 23 Apr 2000 15:20:57 +0000 (15:20 +0000)]
* boehm.c (mark_reference_fields): Use int_byte_position.

From-SVN: r33354

24 years agoloop.c (maybe_eliminate_biv_1): Use GET_CODE (x) == CONST_INT instead of CONSTANT_P...
Jan Hubicka [Sun, 23 Apr 2000 12:28:50 +0000 (12:28 +0000)]
loop.c (maybe_eliminate_biv_1): Use GET_CODE (x) == CONST_INT instead of CONSTANT_P for mult_val...

* loop.c (maybe_eliminate_biv_1): Use GET_CODE (x) == CONST_INT instead
of CONSTANT_P for mult_val; always use validate_change to update insn.

From-SVN: r33353

24 years agoDaily bump.
Jeff Law [Sun, 23 Apr 2000 07:45:08 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r33352

24 years agoboehm.c (mark_reference_fields): Only call byte_position on non-static fields.
Tom Tromey [Sun, 23 Apr 2000 01:26:51 +0000 (01:26 +0000)]
boehm.c (mark_reference_fields): Only call byte_position on non-static fields.

* boehm.c (mark_reference_fields): Only call byte_position on
non-static fields.

From-SVN: r33351

24 years agocpphash.c (trad_stringify, add_pat): New functions.
Zack Weinberg [Sat, 22 Apr 2000 23:02:08 +0000 (23:02 +0000)]
cpphash.c (trad_stringify, add_pat): New functions.

* cpphash.c (trad_stringify, add_pat): New functions.
(collect_expansion): Restore support for -traditional syntax.
Use trad_stringify and add_pat.
(_cpp_macroexpand): Restore support for -traditional semantics.
* cpplex.c (_cpp_scan_line): Don't change space_before if we
get a COMMENT token.
(_cpp_lex_token): Provide COMMENT tokens to caller if
traditional and parsing_define_directive.
(skip_comment): Warn about // comments if -Wtraditional.
* cpplib.c (do_define): Fix typo.  Create EMPTY nodes with
proper node type.
(do_undef): Don't warn about undefining EMPTY nodes.

From-SVN: r33350

24 years agoConvert C++ comment to block comment
Zack Weinberg [Sat, 22 Apr 2000 22:50:50 +0000 (22:50 +0000)]
Convert C++ comment to block comment

From-SVN: r33349

24 years agoboehm.c (mark_reference_fields): Added `last_view_index' argument.
Tom Tromey [Sat, 22 Apr 2000 21:44:58 +0000 (21:44 +0000)]
boehm.c (mark_reference_fields): Added `last_view_index' argument.

* boehm.c (mark_reference_fields): Added `last_view_index'
argument.  Use DECL_FIELD_OFFSET to determine field's offset.

From-SVN: r33346

24 years ago* loop.c (strength_reduce): Fix biv removal code.
Jan Hubicka [Sat, 22 Apr 2000 21:07:46 +0000 (21:07 +0000)]
* loop.c (strength_reduce): Fix biv removal code.

From-SVN: r33344

24 years agopredict.c (estimate_probability): Examine both sides of a branch for no exits.
Richard Henderson [Sat, 22 Apr 2000 19:16:03 +0000 (12:16 -0700)]
predict.c (estimate_probability): Examine both sides of a branch for no exits.

        * predict.c (estimate_probability): Examine both sides of
        a branch for no exits.  Use 90% not 50% for predict taken.
        Reorg for one copy of note generation code.

From-SVN: r33343

24 years ago* flow.c (mark_used_reg): Hack around rs6000 eliminable pic reg.
Richard Henderson [Sat, 22 Apr 2000 18:47:52 +0000 (11:47 -0700)]
* flow.c (mark_used_reg): Hack around rs6000 eliminable pic reg.

From-SVN: r33342

24 years agodiagnostic.c (init_output_buffer): Don't initialize format_args.
Richard Henderson [Sat, 22 Apr 2000 18:41:05 +0000 (11:41 -0700)]
diagnostic.c (init_output_buffer): Don't initialize format_args.

        * diagnostic.c (init_output_buffer): Don't initialize format_args.
        (output_clear): Likewise.
        (output_printf): Use va_copy.
        (vline_wrapper_message_with_location): Likewise.
        (v_message_with_decl): Likewise.
        (line_wrapper_printf): VA_START infor buffer.format_args directly.
        * system.h (va_copy): Provide default implementation.

From-SVN: r33341

24 years agopredict.c (expected_value_to_br_prob): Don't bomb if op1 of the collected condition...
Richard Henderson [Sat, 22 Apr 2000 18:34:59 +0000 (11:34 -0700)]
predict.c (expected_value_to_br_prob): Don't bomb if op1 of the collected condition is not a constant.

        * predict.c (expected_value_to_br_prob): Don't bomb if op1 of
        the collected condition is not a constant.

From-SVN: r33340

24 years ago+ 2000-04-22 Anthony Green <green@cygnus.com> + + * include/jvm.h (__builtin_expect...
Anthony Green [Sat, 22 Apr 2000 17:09:39 +0000 (17:09 +0000)]
+ 2000-04-22 Anthony Green <green@cygnus.com> + + * include/jvm.h (__builtin_expect): Define as unused for now.

+ 2000-04-22  Anthony Green  <green@cygnus.com>
+
+  * include/jvm.h (__builtin_expect): Define as unused for now.
+  * java/lang/natObject.cc (_Jv_MonitorEnter): Add __builtin_expect.
+  (notify): Ditto.
+  (notifyAll): Ditto.
+  (wait): Ditto.
+  (_Jv_MonitorExit): Ditto.
+  * boehm.cc (_Jv_MarkObj): Ditto.
+  (_Jv_MarkObj): Ditto.
+  (_Jv_MarkArray): Ditto.
+  (_Jv_AllocBytes): Ditto.
+  * prims.cc (_Jv_AllocObject): Ditto.
+  (_Jv_NewObjectArray): Ditto.
+  (_Jv_NewPrimArray): Ditto.
+  (_Jv_Malloc): Ditto.
+  (_Jv_Realloc): Ditto.
+  (_Jv_MallocUnchecked): Ditto.
+  (_Jv_divI): Ditto.
+  (_Jv_remI): Ditto.
+  (_Jv_divJ): Ditto.
+  (_Jv_remJ): Ditto.
+
+  * include/Makefile.in: Rebuilt.
+  * include/Makefile.am (include_HEADERS): Add jvmpi.h.
+

From-SVN: r33339

24 years agoir.texi: Document complex number representation.
Gabriel Dos Reis [Sat, 22 Apr 2000 12:01:30 +0000 (12:01 +0000)]
ir.texi: Document complex number representation.

2000-04-22  Gabriel Dos Reis <gdr@codesourcery.com>

        * ir.texi:  Document complex number representation.

From-SVN: r33338

24 years agodiagnostic.h: New file.
Gabriel Dos Reis [Sat, 22 Apr 2000 11:49:16 +0000 (11:49 +0000)]
diagnostic.h: New file.

2000-04-22  Gabriel Dos Reis  <gdr@codesourcery.com>

        * diagnostic.h: New file.

        * Makefile.in (diagnostic.o): Depends on diagnostic.h

        * diagnostic.c: Tweak.  Rationalize the output logic.  Adjust
        various function prototypes.
        (diagnostic.h): #include.
        (struct output_buffer): Move into diagnostic.h.
        (get_output_prefix): Rename to output_get_prefix.  Export.
        (init_output_buffer): Export. Break out.  Ajust intialization.
        (output_space_left, output_append): Export.
        (output_newline): Rename to output_add_newline.  Export.
        (output_clear): Nullify additional output_buffer fields.
        (output_puts): Rename to output_add_string.  Export.
        (dump_output): Rename to output_flush_on.  Export.
        (build_location_prefix): Constify return-type.
        (emit_output_prefix): Rename to output_emit_prefix. Export.
        (set_real_maximum_length): New function.
        (output_set_maximum_length): Ditto
        (output_clear): Ditto.
        (output_add_character): Ditto.
        (output_add_integer): Ditto.
        (output_add_space): Ditto.
        (output_format): Ditto.
        (output_printf): Adjust buffer initialization.
        (vline_wrapper_message_with_location): Ditto.
        (v_message_with_decl): Ditto.  Adjust call to output_puts
        and get_output_prefix.
        (default_print_error_function): Adjust buffer intialization.

From-SVN: r33337

24 years agoexpr.c (preexpand_calls, [...]): Don't look at TYPE_SIZE of VOID_TYPE.
Richard Kenner [Sat, 22 Apr 2000 10:36:44 +0000 (10:36 +0000)]
expr.c (preexpand_calls, [...]): Don't look at TYPE_SIZE of VOID_TYPE.

* expr.c (preexpand_calls, case CALL_EXPR): Don't look at TYPE_SIZE
of VOID_TYPE.

From-SVN: r33336

24 years agoDaily bump.
Jeff Law [Sat, 22 Apr 2000 07:45:07 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r33335

24 years agoWhitespace change
Alexandre Oliva [Sat, 22 Apr 2000 00:43:22 +0000 (00:43 +0000)]
Whitespace change

From-SVN: r33332

24 years ago[multiple changes]
Alexandre Petit-Bianco [Fri, 21 Apr 2000 23:03:19 +0000 (16:03 -0700)]
[multiple changes]

Thu Apr 20 17:41:28 2000  Mo DeJong  <mdejong@cygnus.com>

* parse.h (INTERFACE_INNER_MODIFIERS): New macro.
* parse.y (check_class_interface_creation): Fixed comments. Select
  permitted modifiers for (inner) interfaces. Changed error message
  to report rejected modifiers used with local classes.

2000-04-20  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* parse.h (INNER_ENCLOSING_SCOPE_CHECK): Immediate inner classes
of directly inherited type considered in scope.
* parse.y (do_resolve_class): Search inherited classes for inner
classes.

(This fixes the PR #194 and #197:
 http://sourceware.cygnus.com/ml/java-prs/2000-q2/msg00008.html
 http://sourceware.cygnus.com/ml/java-prs/2000-q2/msg00011.html)

From-SVN: r33330

24 years agoMakefile.in (*-subdir): Revamp slightly to avoid losing on 4.3BSD systems.
Michael Sokolov [Fri, 21 Apr 2000 22:20:20 +0000 (22:20 +0000)]
Makefile.in (*-subdir): Revamp slightly to avoid losing on 4.3BSD systems.

2000-04-21  Michael Sokolov  <msokolov@ivan.Harhan.ORG>

        * Makefile.in (*-subdir): Revamp slightly to avoid losing on
        4.3BSD systems.

From-SVN: r33329

24 years agoPipedInputStream.java, [...]: Yet another new version from Classpath.
Tom Tromey [Fri, 21 Apr 2000 21:41:32 +0000 (21:41 +0000)]
PipedInputStream.java, [...]: Yet another new version from Classpath.

* java/io/PipedInputStream.java, java/io/PipedOutputStream.java:
Yet another new version from Classpath.

From-SVN: r33328

24 years agomn10300.h (REGNO_REG_CLASS): Use NO_REGS instead of explicit 0.
Alexandre Oliva [Fri, 21 Apr 2000 21:34:19 +0000 (21:34 +0000)]
mn10300.h (REGNO_REG_CLASS): Use NO_REGS instead of explicit 0.

* config/mn10300/mn10300.h (REGNO_REG_CLASS): Use NO_REGS instead
of explicit 0.

From-SVN: r33327

24 years agomn10300.h (REGISTER_MOVE_COST): Provide more accurate data about SP moves.
Alexandre Oliva [Fri, 21 Apr 2000 21:32:24 +0000 (21:32 +0000)]
mn10300.h (REGISTER_MOVE_COST): Provide more accurate data about SP moves.

* config/mn10300/mn10300.h (REGISTER_MOVE_COST): Provide more
accurate data about SP moves.

From-SVN: r33326

24 years agomn10300.h (ADDITIONAL_REGISTER_NAMES): Added aliases to AM33 registers.
Alexandre Oliva [Fri, 21 Apr 2000 21:29:46 +0000 (21:29 +0000)]
mn10300.h (ADDITIONAL_REGISTER_NAMES): Added aliases to AM33 registers.

* config/mn10300/mn10300.h (ADDITIONAL_REGISTER_NAMES): Added
aliases to AM33 registers.

From-SVN: r33325

24 years agomn10300.h (REG_CLASS_CONTENTS): Added register 16 to all EXTENDED bitmaps.
Alexandre Oliva [Fri, 21 Apr 2000 21:27:20 +0000 (21:27 +0000)]
mn10300.h (REG_CLASS_CONTENTS): Added register 16 to all EXTENDED bitmaps.

* config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Added register 16
to all EXTENDED bitmaps.

From-SVN: r33324

24 years agomn10300-protos.h (mn10300_address_cost): Declare.
Alexandre Oliva [Fri, 21 Apr 2000 21:19:55 +0000 (21:19 +0000)]
mn10300-protos.h (mn10300_address_cost): Declare.

* config/mn10300/mn10300-protos.h (mn10300_address_cost): Declare.
* config/mn10300/mn10300.h (ADDRESS_COST): New macro.
* config/mn10300/mn10300.c (mn10300_address_cost): New function.

From-SVN: r33323

24 years agoUpdate. Build with the same version of bison.
Jeff Law [Fri, 21 Apr 2000 21:16:54 +0000 (15:16 -0600)]
Update.  Build with the same version of bison.

From-SVN: r33322

24 years agomn10300.md (movdi, movdf): Do not use `movu' when the operand is not constant.
Alexandre Oliva [Fri, 21 Apr 2000 21:14:13 +0000 (21:14 +0000)]
mn10300.md (movdi, movdf): Do not use `movu' when the operand is not constant.

* config/mn10300/mn10300.md (movdi, movdf): Do not use `movu' when
the operand is not constant.

From-SVN: r33321

24 years agoreload.c (find_equiv_reg): Checks all valueno and regno regs as a call-clobbered...
Denis Chertykov [Fri, 21 Apr 2000 21:00:09 +0000 (21:00 +0000)]
reload.c (find_equiv_reg): Checks all valueno and regno regs as a call-clobbered regs.

        * reload.c (find_equiv_reg): Checks all valueno and regno regs
        as a call-clobbered regs.

From-SVN: r33320

24 years agore GNATS libgcj/15 (_REENTRANT should be defined more consistently)
Tom Tromey [Fri, 21 Apr 2000 20:46:11 +0000 (20:46 +0000)]
re GNATS libgcj/15 (_REENTRANT should be defined more consistently)

Fix for PR libgcj/15:
* java/util/natGregorianCalendar.cc (_REENTRANT,
_POSIX_PTHREAD_SEMANTICS): Don't define.
* java/net/natInetAddress.cc (_REENTRANT): Don't define.
* java/lang/natSystem.cc (_REENTRANT, _POSIX_PTHREAD_SEMANTICS):
Don't define.
* java/io/natFile.cc (_REENTRANT, _POSIX_PTHREAD_SEMANTICS): Don't
define.
* configure: Rebuilt.
* configure.in: If using POSIX threads, define _REENTRANT if
needed.  Define _POSIX_PTHREAD_SEMANTICS.  Don't define
GETHOSTBYNAME_R_NEEDS_REENTRANT.

From-SVN: r33319

24 years agore GNATS libgcj/15 (_REENTRANT should be defined more consistently)
Tom Tromey [Fri, 21 Apr 2000 20:38:43 +0000 (20:38 +0000)]
re GNATS libgcj/15 (_REENTRANT should be defined more consistently)

Fix for PR libgcj/15:
* java/util/natGregorianCalendar.cc (_REENTRANT,
_POSIX_PTHREAD_SEMANTICS): Don't define.
* java/net/natInetAddress.cc (_REENTRANT): Don't define.
* java/lang/natSystem.cc (_REENTRANT, _POSIX_PTHREAD_SEMANTICS):
Don't define.
* java/io/natFile.cc (_REENTRANT, _POSIX_PTHREAD_SEMANTICS): Don't
define.
* configure: Rebuilt.
* configure.in: If using POSIX threads, define _REENTRANT if
needed.  Define _POSIX_PTHREAD_SEMANTICS.  Don't define
GETHOSTBYNAME_R_NEEDS_REENTRANT.

From-SVN: r33318

24 years agolibstdc++-v3: New directory.
Benjamin Kosnik [Fri, 21 Apr 2000 20:33:34 +0000 (20:33 +0000)]
libstdc++-v3: New directory.

2000-04-21  Benjamin Kosnik  <bkoz@redhat.com>

* libstdc++-v3: New directory.

From-SVN: r33317

24 years agoPipedInputStream.java, [...]: New version from Classpath.
Tom Tromey [Fri, 21 Apr 2000 20:12:05 +0000 (20:12 +0000)]
PipedInputStream.java, [...]: New version from Classpath.

* java/io/PipedInputStream.java, java/io/PipedReader.java,
java/io/PipedOutputStream.java, java/io/PipedWriter.java: New
version from Classpath.

From-SVN: r33316

24 years agore GNATS gcj/124 (protected constructor for InvocationTargetException still visible)
Tom Tromey [Fri, 21 Apr 2000 19:53:15 +0000 (19:53 +0000)]
re GNATS gcj/124 (protected constructor for InvocationTargetException still visible)

* parse.y (not_accessible_p): Use member's class, not current
class, when doing inheritance check for protected reference.
Fixes PR gcj/124.

From-SVN: r33315

24 years agortl.c: Use NOTE_INSN_REPEATED_LINE_NUMBER and NOTE_INSN_RANGE_BEG.
Richard Kenner [Fri, 21 Apr 2000 19:32:10 +0000 (19:32 +0000)]
rtl.c: Use NOTE_INSN_REPEATED_LINE_NUMBER and NOTE_INSN_RANGE_BEG.

* rtl.c: Use NOTE_INSN_REPEATED_LINE_NUMBER and NOTE_INSN_RANGE_BEG.
* rtl.h: Likewise.
* rtl.def: Update comment.
* function.c (expand_function): Use NOTE_INSN_REPEATED_LINE_NUMBER.
* integrate.c (expand_inline_function): Likewise.
* profile.c (branch_prob): Likewise.
* ggc-common.c (ggc_mark_rtx_children): Use NOTE_INSN_RANGE_BEG.
* print-rtl.c (print_rtx): Likewise.
* haifa-sched.c (sched_analyze, unlink_other_notes): Likewise.
(reemit_notes): Likewise; also use enum insn_note.

From-SVN: r33314

24 years agoAdd missing blank
Richard Kenner [Fri, 21 Apr 2000 19:21:50 +0000 (15:21 -0400)]
Add missing blank

From-SVN: r33313

24 years agostor-layout.c (layout_decl): Only set DECL_MODE if not already set.
Richard Kenner [Fri, 21 Apr 2000 19:19:24 +0000 (19:19 +0000)]
stor-layout.c (layout_decl): Only set DECL_MODE if not already set.

* stor-layout.c (layout_decl): Only set DECL_MODE if not already set.
(place_field): Properly compute know and actual alignment.

From-SVN: r33312

24 years agogengenrtl.c (gencode): Write obstack_alloc_rtx function start in proper format.
Richard Kenner [Fri, 21 Apr 2000 19:09:18 +0000 (19:09 +0000)]
gengenrtl.c (gencode): Write obstack_alloc_rtx function start in proper format.

* gengenrtl.c (gencode): Write obstack_alloc_rtx function start
in proper format.

From-SVN: r33311

24 years agocse.c (cse_insn): In (set REG0 REG1) case, remove a REG_EQUAL note for REG1.
Richard Kenner [Fri, 21 Apr 2000 18:46:01 +0000 (18:46 +0000)]
cse.c (cse_insn): In (set REG0 REG1) case, remove a REG_EQUAL note for REG1.

* cse.c (cse_insn): In (set REG0 REG1) case, remove a REG_EQUAL
note for REG1.

From-SVN: r33310

24 years agocpphash.c (struct arg, [...]): Const-ify strings.
Zack Weinberg [Fri, 21 Apr 2000 17:18:50 +0000 (17:18 +0000)]
cpphash.c (struct arg, [...]): Const-ify strings.

* cpphash.c (struct arg, struct arglist): Const-ify strings.
(warn_trad_stringify, duplicate_arg_p): New helper functions.
(collect_expansion): Rewrite to scan over a token list.
Remove -traditional support.
(collect_formal_parameters): Rename to collect_params; rewrite
to scan over a token list.
(_cpp_create_definition): Adjust to scan a token list.
(_cpp_macroexpand): Remove -traditional support.
(_cpp_compare_defs): Whitespace is now canonicalized.
(comp_def_part): Delete function.

* cpphash.h: Update prototypes.
* cpplex.c (init_token_list): Don't set lineno if there is no
buffer.
(pedantic_whitespace): New function.
(_cpp_scan_line): Mark tokens that had hspace before.  Don't
consume a newline.  Use pedantic_whitespace.
(_cpp_lex_token): Remove support for -traditional macros.
(_cpp_get_define_token): Delete.
(_cpp_get_directive_token): Do the real work here.  Use
pedantic_whitespace.
(_cpp_init_input_buffer): Initialize pfile->directbuf.

* cpplib.c (get_macro_name): Delete.
(do_define): Read the entire line into pfile->directbuf, then
feed the token list to _cpp_create_definition.
* cpplib.h (HSPACE_BEFORE): new define.
(struct cpp_reader): Add a toklist member, "directbuf".

From-SVN: r33309

24 years agopredict.c (estimate_probability): New heuristic...
Zack Weinberg [Fri, 21 Apr 2000 16:19:20 +0000 (16:19 +0000)]
predict.c (estimate_probability): New heuristic...

* predict.c (estimate_probability): New heuristic: if a jump
branches around a block with no successors, predict it taken.
Disentangle control flow.

From-SVN: r33308

24 years agore GNATS libgcj/213 (Another parallel build error)
Tom Tromey [Fri, 21 Apr 2000 14:23:44 +0000 (14:23 +0000)]
re GNATS libgcj/213 (Another parallel build error)

Fix for PR libgcj/213:
* Makefile.in: Rebuilt.
* Makefile.am (gij_SOURCES): Added gij.cc.
(EXTRA_gij_SOURCES): Removed.
(gij_LDADD): Removed gij.lo.
(gij_DEPENDENCIES): Likewise.
($(gij_OBJECTS)): Depend on nat_headers.

From-SVN: r33307

24 years agoHandler.java (openConnection): Use `setURL', not `url.set'.
Tom Tromey [Fri, 21 Apr 2000 14:18:49 +0000 (14:18 +0000)]
Handler.java (openConnection): Use `setURL', not `url.set'.

* gnu/gcj/protocol/file/Handler.java (openConnection): Use
`setURL', not `url.set'.

From-SVN: r33306

24 years agotypo
Alexandre Oliva [Fri, 21 Apr 2000 13:10:46 +0000 (13:10 +0000)]
typo

From-SVN: r33305

24 years agoDaily bump.
Jeff Law [Fri, 21 Apr 2000 07:45:07 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r33304

24 years ago* loop.c (emit_iv_add_mult): Revert last change.
Richard Henderson [Fri, 21 Apr 2000 02:56:58 +0000 (19:56 -0700)]
* loop.c (emit_iv_add_mult): Revert last change.

From-SVN: r33302

24 years agojcf-dump.c (SPECIAL_IINC): Fixed typo printing iinc instruction.
Jason Schroeder [Fri, 21 Apr 2000 01:24:17 +0000 (01:24 +0000)]
jcf-dump.c (SPECIAL_IINC): Fixed typo printing iinc instruction.

Thu Apr 20 18:20:58 2000  Jason Schroeder  <shrode@subnature.com>

* jcf-dump.c (SPECIAL_IINC): Fixed typo printing iinc instruction.

From-SVN: r33301

24 years agoFix for PR java.io/204:
Tom Tromey [Fri, 21 Apr 2000 01:18:16 +0000 (01:18 +0000)]
Fix for PR java.io/204:

* java/io/PipedInputStream.java, java/io/PipedReader.java,
java/io/PipedOutputStream.java, java/io/PipedWriter.java: Imported
from Classpath.

From-SVN: r33300

24 years ago20000420-2.c: New test for stack misalignment when optimizing...
Greg McGary [Fri, 21 Apr 2000 01:02:57 +0000 (01:02 +0000)]
20000420-2.c: New test for stack misalignment when optimizing...

* compile/20000420-2.c: New test for stack misalignment
when optimizing, but without sibling-call optimizations (-O1).

From-SVN: r33299

24 years agoblock.java: New file.
Alexandre Petit-Bianco [Fri, 21 Apr 2000 00:53:14 +0000 (00:53 +0000)]
block.java: New file.

* libjava.compile/block.java: New file.
* libjava.compile/block.out: New file.

From-SVN: r33298

24 years agore GNATS libgcj/212 (build is broken on Linux/Alpha)
Tom Tromey [Thu, 20 Apr 2000 22:24:33 +0000 (22:24 +0000)]
re GNATS libgcj/212 (build is broken on Linux/Alpha)

Fix for PR libgcj/212:
* gcj/javaprims.h (_Jv_word, _Jv_word2): Removed definitions.
* include/jvm.h (_Jv_word, _Jv_word2): Define.
* java/lang/Class.h (_Jv_word): Declare.

From-SVN: r33292

24 years agothrowit.out: Fixed output to be correct.
Tom Tromey [Thu, 20 Apr 2000 19:49:14 +0000 (19:49 +0000)]
throwit.out: Fixed output to be correct.

* libjava.jni/throwit.out: Fixed output to be correct.

* libjava.jni/noclass.java (main): `find_it' throws an exception.

From-SVN: r33291

24 years agocpplib.h (enum cpp_ttype): Add token types for all punctuators.
Zack Weinberg [Thu, 20 Apr 2000 19:33:11 +0000 (19:33 +0000)]
cpplib.h (enum cpp_ttype): Add token types for all punctuators.

* cpplib.h (enum cpp_ttype): Add token types for all
punctuators.  Distinguish pp-numbers from valid C numbers.
Give some tokens better names.  Initialize from macro.
(struct cpp_name, cpp_token, cpp_toklist): New data
structures.
Update prototypes.
* cpplex.c (bump_column, expand_name_space,
expand_token_space, init_token_list, cpp_output_list,
_cpp_scan_line):  New functions.
(output_line_command): Add third argument, new line number.
* cpphash.h: Update prototypes.
* cppexp.c, cpphash.c, cpplib.c, scan-decls.c: Update for new
token names.

From-SVN: r33289

24 years ago* config/alpha/alpha.c (alpha_emit_floatuns): Emit missing barrier.
Richard Henderson [Thu, 20 Apr 2000 19:10:40 +0000 (12:10 -0700)]
* config/alpha/alpha.c (alpha_emit_floatuns): Emit missing barrier.

From-SVN: r33288

24 years ago* gcc.dg/20000420-1.c: New test.
Jeffrey A Law [Thu, 20 Apr 2000 17:57:19 +0000 (17:57 +0000)]
* gcc.dg/20000420-1.c: New test.

From-SVN: r33286

24 years ago* jni.cc (_Jv_JNI_PopSystemFrame): Clear `env->ex'.
Tom Tromey [Thu, 20 Apr 2000 17:39:30 +0000 (17:39 +0000)]
* jni.cc (_Jv_JNI_PopSystemFrame): Clear `env->ex'.

From-SVN: r33285

24 years agoc-common.c (decl_attributes): Set TREE_USED on the object pointed to.
Zack Weinberg [Thu, 20 Apr 2000 16:09:27 +0000 (16:09 +0000)]
c-common.c (decl_attributes): Set TREE_USED on the object pointed to.

* c-common.c (decl_attributes) [A_ALIAS]: Set TREE_USED on the
object pointed to.

From-SVN: r33284

24 years agoloop.c (emit_iv_add_mult): Simplify it's input and emit REG_EQUAL note explaining...
Jan Hubicka [Thu, 20 Apr 2000 14:40:09 +0000 (14:40 +0000)]
loop.c (emit_iv_add_mult): Simplify it's input and emit REG_EQUAL note explaining the calculated value.

* loop.c (emit_iv_add_mult):  Simplify it's input and emit
REG_EQUAL note explaining the calculated value.

From-SVN: r33283

24 years agoptrflags.C: New test.
Nathan Sidwell [Thu, 20 Apr 2000 14:27:59 +0000 (14:27 +0000)]
ptrflags.C: New test.

* g++.abi/ptrflags.C: New test.
* g++.eh/catchptr1.C: Test incomplete pointer chains.

From-SVN: r33282

24 years agortti.c (init_rtti_processing): Set tinfo_var_id in new-abi.
Nathan Sidwell [Thu, 20 Apr 2000 14:25:33 +0000 (14:25 +0000)]
rtti.c (init_rtti_processing): Set tinfo_var_id in new-abi.

* rtti.c (init_rtti_processing): Set tinfo_var_id in new-abi.
(target_incomplete_p): New function.
(tinfo_base_init): Create comdat NTBS name variable.
(ptr_initializer): Add non_public parameter. Calculate it.
(ptmd_initializer): Likewise.
(synthesize_tinfo_var): Adjust. Emit incomplete class tinfo.
(create_real_tinfo_var): Add non_public parameter. Use it.
Push proxy into global namespace.
* inc/cxxabi.h (__pointer_type_info::incomplete_class_mask):
New enumeration.
* inc/typeinfo (type_info::before, type_info::operator==):
Compare __name addresses.

* tinfo2.cc: Remove new-abi builtins comment.

From-SVN: r33281

24 years agocalls.c (expand_call): Avoid unnecesary precalculation and outgoing parameters space...
Jan Hubicka [Thu, 20 Apr 2000 12:20:38 +0000 (12:20 +0000)]
calls.c (expand_call): Avoid unnecesary precalculation and outgoing parameters space guarding for...

* calls.c (expand_call): Avoid unnecesary precalculation
and outgoing parameters space guarding for sibling calls.
(store_one_arg): Likewise.

From-SVN: r33280