law [Mon, 24 Apr 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33373
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 24 Apr 2000 07:29:11 +0000 (07:29 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33372
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Mon, 24 Apr 2000 06:59:16 +0000 (06:59 +0000)]
2000-04-23 Benjamin Kosnik <bkoz@cygnus.com>
* new.cc (set_new_handler): Needs to be in std::.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33371
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33370
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 24 Apr 2000 06:41:16 +0000 (06:41 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33369
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 24 Apr 2000 05:52:07 +0000 (05:52 +0000)]
* sort.c (sort_pointers): Fix endianness bugs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33368
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 24 Apr 2000 04:57:20 +0000 (04:57 +0000)]
* gcconfig.h (DYNAMIC_LOADING): Define for PPC Linux.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33367
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 24 Apr 2000 00:51:36 +0000 (00:51 +0000)]
* sort.h: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33365
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 24 Apr 2000 00:51:08 +0000 (00:51 +0000)]
* sort.c: New file.
* Makefile.in (CFILES): Add sort.c
(REQUIRED_OFILES): Add sort.o.
(sort.o): New target.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33364
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Sun, 23 Apr 2000 23:28:39 +0000 (23:28 +0000)]
* config/mn10300/mn10300.md (addsi): `inc4' on address
registers does not modify cc, but `inc' on an extended
register does.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33363
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 23 Apr 2000 22:32:18 +0000 (22:32 +0000)]
* typeck.c (c_expand_asm_operands): Restore the original
contents of the output list.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33362
138bc75d-0d04-0410-961f-
82ee72b054a4
law [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33361
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sun, 23 Apr 2000 21:50:59 +0000 (21:50 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33360
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Sun, 23 Apr 2000 21:40:51 +0000 (21:40 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33359
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 23 Apr 2000 20:42:27 +0000 (20:42 +0000)]
* gcc.c-torture/execute/
20000422-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33358
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33357
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Sun, 23 Apr 2000 19:42:39 +0000 (19:42 +0000)]
2000-04-23 Benjamin Kosnik <bkoz@redhat.com>
* shadow/bits: Add.
* shadow/sys: Add.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33356
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sun, 23 Apr 2000 17:03:31 +0000 (17:03 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33355
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Sun, 23 Apr 2000 15:20:57 +0000 (15:20 +0000)]
* boehm.c (mark_reference_fields): Use int_byte_position.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33354
138bc75d-0d04-0410-961f-
82ee72b054a4
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; always use validate_change to update insn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33353
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 23 Apr 2000 07:45:08 +0000 (07:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33352
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33351
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sat, 22 Apr 2000 23:02:08 +0000 (23:02 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33350
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sat, 22 Apr 2000 22:50:50 +0000 (22:50 +0000)]
Convert C++ comment to block comment
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33349
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Sat, 22 Apr 2000 21:44:58 +0000 (21:44 +0000)]
* boehm.c (mark_reference_fields): Added `last_view_index'
argument. Use DECL_FIELD_OFFSET to determine field's offset.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33346
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sat, 22 Apr 2000 21:07:46 +0000 (21:07 +0000)]
* loop.c (strength_reduce): Fix biv removal code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33344
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 22 Apr 2000 19:16:03 +0000 (19:16 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33343
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 22 Apr 2000 18:47:52 +0000 (18:47 +0000)]
* flow.c (mark_used_reg): Hack around rs6000 eliminable pic reg.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33342
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 22 Apr 2000 18:41:05 +0000 (18:41 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33341
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 22 Apr 2000 18:34:59 +0000 (18:34 +0000)]
* predict.c (expected_value_to_br_prob): Don't bomb if op1 of
the collected condition is not a constant.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33340
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
+ * 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.
+
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33339
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Sat, 22 Apr 2000 12:01:30 +0000 (12:01 +0000)]
2000-04-22 Gabriel Dos Reis <gdr@codesourcery.com>
* ir.texi: Document complex number representation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33338
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Sat, 22 Apr 2000 11:49:16 +0000 (11:49 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33337
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 22 Apr 2000 10:36:44 +0000 (10:36 +0000)]
* expr.c (preexpand_calls, case CALL_EXPR): Don't look at TYPE_SIZE
of VOID_TYPE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33336
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 22 Apr 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33335
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Sat, 22 Apr 2000 00:43:22 +0000 (00:43 +0000)]
Whitespace change
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33332
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Fri, 21 Apr 2000 23:03:19 +0000 (23:03 +0000)]
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)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33330
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 21 Apr 2000 22:20:20 +0000 (22:20 +0000)]
2000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
* Makefile.in (*-subdir): Revamp slightly to avoid losing on
4.3BSD systems.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33329
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 21 Apr 2000 21:41:32 +0000 (21:41 +0000)]
* java/io/PipedInputStream.java, java/io/PipedOutputStream.java:
Yet another new version from Classpath.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33328
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Fri, 21 Apr 2000 21:34:19 +0000 (21:34 +0000)]
* config/mn10300/mn10300.h (REGNO_REG_CLASS): Use NO_REGS instead
of explicit 0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33327
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Fri, 21 Apr 2000 21:32:24 +0000 (21:32 +0000)]
* config/mn10300/mn10300.h (REGISTER_MOVE_COST): Provide more
accurate data about SP moves.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33326
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Fri, 21 Apr 2000 21:29:46 +0000 (21:29 +0000)]
* config/mn10300/mn10300.h (ADDITIONAL_REGISTER_NAMES): Added
aliases to AM33 registers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33325
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Fri, 21 Apr 2000 21:27:20 +0000 (21:27 +0000)]
* config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Added register 16
to all EXTENDED bitmaps.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33324
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Fri, 21 Apr 2000 21:19:55 +0000 (21:19 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33323
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 21 Apr 2000 21:16:54 +0000 (21:16 +0000)]
Update. Build with the same version of bison.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33322
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Fri, 21 Apr 2000 21:14:13 +0000 (21:14 +0000)]
* config/mn10300/mn10300.md (movdi, movdf): Do not use `movu' when
the operand is not constant.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33321
138bc75d-0d04-0410-961f-
82ee72b054a4
law [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33320
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 21 Apr 2000 20:46:11 +0000 (20:46 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33319
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 21 Apr 2000 20:38:43 +0000 (20:38 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33318
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Fri, 21 Apr 2000 20:33:34 +0000 (20:33 +0000)]
2000-04-21 Benjamin Kosnik <bkoz@redhat.com>
* libstdc++-v3: New directory.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33317
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 21 Apr 2000 20:12:05 +0000 (20:12 +0000)]
* java/io/PipedInputStream.java, java/io/PipedReader.java,
java/io/PipedOutputStream.java, java/io/PipedWriter.java: New
version from Classpath.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33316
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 21 Apr 2000 19:53:15 +0000 (19:53 +0000)]
* parse.y (not_accessible_p): Use member's class, not current
class, when doing inheritance check for protected reference.
Fixes PR gcj/124.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33315
138bc75d-0d04-0410-961f-
82ee72b054a4
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.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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33314
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 21 Apr 2000 19:21:50 +0000 (19:21 +0000)]
Add missing blank
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33313
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
(place_field): Properly compute know and actual alignment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33312
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 21 Apr 2000 19:09:18 +0000 (19:09 +0000)]
* gengenrtl.c (gencode): Write obstack_alloc_rtx function start
in proper format.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33311
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33310
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Fri, 21 Apr 2000 17:18:50 +0000 (17:18 +0000)]
* 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".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33309
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Fri, 21 Apr 2000 16:19:20 +0000 (16:19 +0000)]
* predict.c (estimate_probability): New heuristic: if a jump
branches around a block with no successors, predict it taken.
Disentangle control flow.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33308
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 21 Apr 2000 14:23:44 +0000 (14:23 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33307
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 21 Apr 2000 14:18:49 +0000 (14:18 +0000)]
* gnu/gcj/protocol/file/Handler.java (openConnection): Use
`setURL', not `url.set'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33306
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Fri, 21 Apr 2000 13:10:46 +0000 (13:10 +0000)]
typo
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33305
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 21 Apr 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33304
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 21 Apr 2000 02:56:58 +0000 (02:56 +0000)]
* loop.c (emit_iv_add_mult): Revert last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33302
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Fri, 21 Apr 2000 01:24:17 +0000 (01:24 +0000)]
Thu Apr 20 18:20:58 2000 Jason Schroeder <shrode@subnature.com>
* jcf-dump.c (SPECIAL_IINC): Fixed typo printing iinc instruction.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33301
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33300
138bc75d-0d04-0410-961f-
82ee72b054a4
gkm [Fri, 21 Apr 2000 01:02:57 +0000 (01:02 +0000)]
* compile/
20000420-2.c: New test for stack misalignment
when optimizing, but without sibling-call optimizations (-O1).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33299
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 21 Apr 2000 00:53:14 +0000 (00:53 +0000)]
* libjava.compile/block.java: New file.
* libjava.compile/block.out: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33298
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 20 Apr 2000 22:24:33 +0000 (22:24 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33292
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 20 Apr 2000 19:49:14 +0000 (19:49 +0000)]
* libjava.jni/throwit.out: Fixed output to be correct.
* libjava.jni/noclass.java (main): `find_it' throws an exception.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33291
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Thu, 20 Apr 2000 19:33:11 +0000 (19:33 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33289
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 20 Apr 2000 19:10:40 +0000 (19:10 +0000)]
* config/alpha/alpha.c (alpha_emit_floatuns): Emit missing barrier.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33288
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 20 Apr 2000 17:57:19 +0000 (17:57 +0000)]
* gcc.dg/
20000420-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33286
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 20 Apr 2000 17:39:30 +0000 (17:39 +0000)]
* jni.cc (_Jv_JNI_PopSystemFrame): Clear `env->ex'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33285
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Thu, 20 Apr 2000 16:09:27 +0000 (16:09 +0000)]
* c-common.c (decl_attributes) [A_ALIAS]: Set TREE_USED on the
object pointed to.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33284
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33283
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Thu, 20 Apr 2000 14:27:59 +0000 (14:27 +0000)]
* g++.abi/ptrflags.C: New test.
* g++.eh/catchptr1.C: Test incomplete pointer chains.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33282
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Thu, 20 Apr 2000 14:25:33 +0000 (14:25 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33281
138bc75d-0d04-0410-961f-
82ee72b054a4
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 sibling calls.
(store_one_arg): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33280
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 20 Apr 2000 12:06:58 +0000 (12:06 +0000)]
* toplev.c (enum dump_file_index, dump_file): Add DFI_sibling.
(rest_of_compilation): Write sibling dump file and account
for time as jump time.
* invoke.texi: Update documentation on dump flags.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33279
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 20 Apr 2000 10:55:19 +0000 (10:55 +0000)]
Fix copuyright notice
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33278
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 20 Apr 2000 10:54:51 +0000 (10:54 +0000)]
Fix whitespace in one place
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33277
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 20 Apr 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33276
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 20 Apr 2000 06:54:02 +0000 (06:54 +0000)]
update
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33275
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 20 Apr 2000 06:50:57 +0000 (06:50 +0000)]
fix last change
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33274
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 20 Apr 2000 05:53:58 +0000 (05:53 +0000)]
* typeck.c (build_x_function_call): Resolve an OFFSET_REF.
* call.c (joust): Exit early if we get the same function, too.
* decl2.c (key_method): Return NULL_TREE for template classes.
(import_export_class): Don't need to check for template classes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33273
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 20 Apr 2000 05:49:48 +0000 (05:49 +0000)]
* jni.cc (_Jv_JNI_FindClass): Use system class loader if class
doesn't have a loader.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33272
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Thu, 20 Apr 2000 02:52:26 +0000 (02:52 +0000)]
2000-04-19 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (yyerror): `msg' can be null, don't use it in that case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33270
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 20 Apr 2000 01:19:58 +0000 (01:19 +0000)]
typo
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33269
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 19 Apr 2000 23:23:42 +0000 (23:23 +0000)]
* avr.c: #include "system.h" instead of <stdio.h> and <stdlib.h>.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33268
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Wed, 19 Apr 2000 20:53:06 +0000 (20:53 +0000)]
* cpphash.c (special_symbol): Represent an empty macro with
"\r \r " not just "\r ".
(_cpp_macroexpand): Correct condition for the foo ( ) special
case.
(unsafe_chars): Handle EOF as second argument.
(push_macro_expansion): Simplify test for removing escape at
end. Do not trim both escapes if there is no text in between.
* gcc.dg/
20000419-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33267
138bc75d-0d04-0410-961f-
82ee72b054a4
jimb [Wed, 19 Apr 2000 19:26:17 +0000 (19:26 +0000)]
Doc fix.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33266
138bc75d-0d04-0410-961f-
82ee72b054a4
jimb [Wed, 19 Apr 2000 19:24:27 +0000 (19:24 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33265
138bc75d-0d04-0410-961f-
82ee72b054a4
jimb [Wed, 19 Apr 2000 19:22:34 +0000 (19:22 +0000)]
* dwarf2out.c (DWARF2_ADDR_SIZE): New macro. Use it instead
of PTR_SIZE, when appropriate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33264
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 19 Apr 2000 16:43:44 +0000 (16:43 +0000)]
* system.h (ONLY_INT_FIELDS): Make sure it is defined.
(USE_ENUM_BITFIELDS): Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33263
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 19 Apr 2000 16:07:51 +0000 (16:07 +0000)]
* stor-layout.c (place_field): Set rli->offset_align properly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33262
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 19 Apr 2000 16:05:03 +0000 (16:05 +0000)]
* gjavah.c (cxx_keyword_subst): Avoid potential infinite loop.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33261
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 19 Apr 2000 16:04:14 +0000 (16:04 +0000)]
* gcc/conflict.c (conflict_graph_add): Pass enum type to
htab_find_slot.
* gcc/cpperror.c (hashtab.h): Now include.
* gcc/cppexp.c (hashtab.h): Likewise.
* gcc/cpplex.c (hashtab.h): Likewise.
* gcc/cppfiles.c (hashtab.h): Likewise.
(find_include_file, _cpp_calc_hash, cpp_read_file): Pass enum type
to htab_find_slot_with_hash.
* gcc/cpphash.c (hashtab.h): Now include.
(_cpp_lookup_slot): INSERT is now enum insert_option.
* gcc/cpphash.h (_cpp_lookup_slot): Likewise.
* gcc/cppinit.c (hashtab.h): Include earlier.
(initialize_builtins): Pass enum to htab_find_slot.
* gcc/cpplib.c (hashtab.h): Now include.
(do_define, do_undef): Pass enum type to _cpp_lookup_slot.
(do_pragma_poison, do_assert): Likewise.
* gcc/emit-rtl.c (gen_rtx_CONST_INT): Pass enum to
htab_find_slot_with_hash.
* gcc/simplify-rtx.c (cselib_lookup_mem, cselib_lookup): Likewise.
* gcc/tree.c (type_hash_add): Likewise.
(build1): Minor cleanup.
* include/hashtab.h (enum insert_option): New type.
(htab_find_slot, htab_find_slot_with_hash): Use it.
* libiberty/hashtab.c: Various minor cleanups.
(htab_find_slot_with_hash): INSERT is now enum insert_option.
(htab_find_slot): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33260
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Wed, 19 Apr 2000 15:39:16 +0000 (15:39 +0000)]
* mips.h (BITS_PER_WORD, UNITS_PER_WORD, UNITS_PER_FPREG,
INT_TYPE_SIZE, LONG_TYPE_SIZE, POINTER_SIZE, POINTER_BOUNDARY,
PARM_BOUNDARY): Remove unnecessary casts.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33259
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Wed, 19 Apr 2000 14:41:03 +0000 (14:41 +0000)]
* calls.c (precompute_arguments): Remove must_preallocate and
args_size calls.
(expand_call): Update call of precompute_arguments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33258
138bc75d-0d04-0410-961f-
82ee72b054a4