OSDN Git Service

pf3gnuchains/gcc-fork.git
22 years ago * Makefile.in (start.encap): Do not depend on LIBGCC1.
rth [Wed, 3 May 2000 23:18:47 +0000 (23:18 +0000)]
    * Makefile.in (start.encap): Do not depend on LIBGCC1.

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

22 years ago * Makefile.in (WARN_CFLAGS): Add -pedantic -Wno-long-long.
jason [Wed, 3 May 2000 22:45:31 +0000 (22:45 +0000)]
    * Makefile.in (WARN_CFLAGS): Add -pedantic -Wno-long-long.
        (LOOSE_CFLAGS): New: CFLAGS without -pedantic and -Wtraditional.
        (GCC_CFLAGS): Use it.
        (LANG_FLAGS_TO_PASS): New: SUBDIR_FLAGS_TO_PASS with LOOSE_CFLAGS.
        * cp/Make-lang.in, java/Make-lang.in, f/Make-lang.in, ch/Make-lang.in,
        objc/Make-lang.in: Use it.

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

22 years ago * cp-tree.def (THUNK_DECL): Remove.
mmitchel [Wed, 3 May 2000 22:25:21 +0000 (22:25 +0000)]
* cp-tree.def (THUNK_DECL): Remove.
* cp-tree.h (DECL_THUNK_P): New macro.
(DECL_NON_THUNK_FUNCTION_P): Likewise.
(DECL_EXTERN_C_FUNCTION_P): Likewise.
(SET_DECL_THUNK_P): Likewise.
(DELTA_FROM_VTABLE_ENTRY): Use DECL_THUNK_P.
(FNADDR_FROM_VTABLE_ENTRY): Likewise.
(DECL_MAIN_P): Use DECL_EXTERN_C_FUNCTION_P.
* decl.c (decls_match): Use DECL_EXTERN_C_P.
(duplicate_decls): Likewise.
(pushdecl): Likewise.  Adjust thunk handling.
(grokfndecl): Use DECL_EXTERN_C_P.
* decl2.c (mark_vtable_entries): Use DECL_THUNK_P.
* dump.c (dequeue_and_dump): Remove THUNK_DECL handling.
* except.c (nothrow_libfn_p): Use DECL_EXTERN_C_P.
* expr.c (cplus_expand_expr): Remove THUNK_DECL handling.
* method.c (make_thunk): Use SET_DECL_THUNK_P.  Set
DECL_NO_STATIC_CHAIN.
(emit_thunk): Don't play games with TREE_CODE on thunks.  Don't
set DECL_DESTRUCTOR_P or DECL_CONSTRUCTOR_P on a thunk.
* search.c (covariant_return_p): Remove THUNK_DECL handling.
* ir.texi: Update.

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

22 years agoFix typo
mmitchel [Wed, 3 May 2000 22:19:14 +0000 (22:19 +0000)]
Fix typo

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

22 years ago * config/i386/i386.md (lshrqi2_cmpno): Use q not r in constraint.
rth [Wed, 3 May 2000 21:17:35 +0000 (21:17 +0000)]
    * config/i386/i386.md (lshrqi2_cmpno): Use q not r in constraint.

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

22 years ago * mklibgcc.in: Restrict OLDCC=GCC test to native. Equate
rth [Wed, 3 May 2000 21:00:49 +0000 (21:00 +0000)]
    * mklibgcc.in: Restrict OLDCC=GCC test to native.  Equate
        LIBGCC1 empty with libgcc1.null.

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

22 years agoFix for ia64-linux misoptimization.
wilson [Wed, 3 May 2000 20:04:31 +0000 (20:04 +0000)]
Fix for ia64-linux misoptimization.
* fold-const.c (extract_muldiv, case MAX_EXPR): Don't allow signedness
change.

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

22 years agoTestcase for ia64-linux extract_muldiv bug.
wilson [Wed, 3 May 2000 20:03:21 +0000 (20:03 +0000)]
Testcase for ia64-linux extract_muldiv bug.
* execute/20000503-1.c: New test for extract_muldiv bug.

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

22 years ago * tree.h (tree_common): Add bounded_flag member. Remove
gkm [Wed, 3 May 2000 19:58:42 +0000 (19:58 +0000)]
* tree.h (tree_common): Add bounded_flag member.  Remove
inaccurate comment about number of remaining bits.
(BOUNDED_INDIRECT_TYPE_P, BOUNDED_POINTER_TYPE_P,
BOUNDED_REFERENCE_TYPE_P, MAYBE_BOUNDED_INDIRECT_TYPE_P,
MAYBE_BOUNDED_POINTER_TYPE_P, MAYBE_BOUNDED_REFERENCE_TYPE_P,
TREE_BOUNDED, TYPE_MAIN_VARIANTS_PHYSICALLY_EQUAL_P,
TYPE_MAIN_PHYSICAL_VARIANT, TYPE_BOUNDED): New macros.
(TYPE_QUAL_BOUNDED): New constant.
(TYPE_QUALS): Handle bounded qualifier.
(TREE_EXPR_QUALS, TREE_FUNC_QUALS): New macros.
(TYPE_BOUNDED_VALUE, TYPE_BOUNDED_BASE, TYPE_BOUNDED_EXTENT,
TYPE_BOUNDED_SUBTYPE, TYPE_UNBOUNDED_VARIANT, TYPE_POINTER_DEPTH,
TYPE_AMBIENT_BOUNDEDNESS): New macros.
(MAX_POINTER_DEPTH, VA_LIST_POINTER_DEPTH): New constants.
(tree_type): Add pointer_depth member.  Remove
inaccurate comment about number of remaining bits.
(DECL_POINTER_DEPTH): Add macro.
(tree_decl): Add pointer_depth member.

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

22 years ago * config/avr/avr-protos.h (test_hard_reg_class): Declared.
denisc [Wed, 3 May 2000 19:20:09 +0000 (19:20 +0000)]
* config/avr/avr-protos.h (test_hard_reg_class): Declared.
* config/avr/avr.c (ashrhi3_out): optimized shift by 15.
(lshrhi3_out): Likewise.
(ashrsi3_out): bugfix in shift by 8.
(test_hard_reg_class): New function.
* config/avr/avr.md: Bugfix inside conditions in peepholes.
(ashlhi3): removed define_expand of this pattern.
(*ashlhi3_insn): renamed to ashlhi3.
(ashlsi3): removed define_expand of this pattern.
(*ashlsi3_insn): renamed to ashlsi3.
(ashrqi3): removed define_expand of this pattern.
(*ashrqi3_insn): renamed to ashrqi3.
(ashrhi3): removed define_expand of this pattern.
(*ashrhi3_insn): renamed to ashrhi3.
(ashrsi3): removed define_expand of this pattern.
(*ashrsi3_insn): renamed to ashrsi3.
(lshrhi3): removed define_expand of this pattern.
(*lshrhi3_insn): renamed to lshrhi3.
(lshrsi3): removed define_expand of this pattern.
(*lshrsi3_insn): renamed to lshrsi3.

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

22 years agoReplace inclusion of <stdio.h> with "system.h"
nickc [Wed, 3 May 2000 18:49:17 +0000 (18:49 +0000)]
Replace inclusion of <stdio.h> with "system.h"

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

22 years agoPatches from David Mosberger, and a patch to make bootstrap work.
wilson [Wed, 3 May 2000 18:46:05 +0000 (18:46 +0000)]
Patches from David Mosberger, and a patch to make bootstrap work.
* config/ia64/ia64.c (ia64_encode_section_info): Add check for
TREE_ASM_WRITTEN.
* config/ia64/ia64.c (ia64_override_options): Force -mconstant-gp
if -mauto-pic is on.
...

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

22 years ago * Makefile.in (STAGESTUFF): Add libgcc libgcc.mk.
rth [Wed, 3 May 2000 18:21:49 +0000 (18:21 +0000)]
    * Makefile.in (STAGESTUFF): Add libgcc libgcc.mk.
        (libgcc1.null, libgcc1.cross, libgcc1.a): Remove targets.
        (libgcc1-asm.a, libgcc1.S, libgcc2.a): Remove targets.
        (mklibgcc, libgcc.mk): New targets.
        (libgcc.a): Use libgcc.mk.
        (stmp-multilib): Likewise.
        (stmp-multilib-sub): Remove.
        (mostlyclean): Don't delete libgcc2 temp files.
        * configure.in (AC_PROG_CC_C_O): Add.
        (NO_MINUS_C_MINUS_O): Substitute it.
        (all_outputs): Add mklibgcc.
        * mklibgcc.in: New file.

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

22 years ago * expr.c (build_java_jsr): Use emit_jump, not expand_goto.
tromey [Wed, 3 May 2000 18:09:27 +0000 (18:09 +0000)]
* expr.c (build_java_jsr): Use emit_jump, not expand_goto.

* javaop.h (WORD_TO_INT): New function.
(IMMEDIATE_s4): Use WORD_TO_INT.
* jcf.h (JPOOL_INT): Ditto.

* gjavah.c (decode_signature_piece): Don't treat `$' as namespace
separator.

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

22 years ago * cppexp.c (op_t): Make an int.
jason [Wed, 3 May 2000 18:06:26 +0000 (18:06 +0000)]
    * cppexp.c (op_t): Make an int.

        * rtlanal.c (dead_or_set_regno_p): Remove unused variable.

        * varasm.c (initializer_constant_valid_p): Fix parenthesis.

        * gensupport.c (process_rtx): Fix macros used.

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

22 years ago * flow.c (propagate_one_insn): Also don't PROP_REG_INFO for
rth [Wed, 3 May 2000 17:59:25 +0000 (17:59 +0000)]
    * flow.c (propagate_one_insn): Also don't PROP_REG_INFO for
        call-clobbered registers of a call.

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

22 years ago * gensupport.c: New file.
cpopetz [Wed, 3 May 2000 17:45:26 +0000 (17:45 +0000)]
* gensupport.c: New file.
* gensupport.h: New file.
* Makefile.in (HOST_RTL): Depend on gensupport.
(gensupport.o) New rule.
* genattr.c: Use gensupport for reading .md files.
* genattrtab.c: Ditto.
* gencodes.c: Ditto.
* genconfig.c: Ditto.
* genemit.c: Ditto.
* genextract.c: Ditto.
* genflags.c: Ditto.
* genopinit.c: Ditto.
* genoutput.c: Ditto.
* genpeep.c: Ditto.
* genrecog.c: Ditto.
* rtl.def (define_insn_and_split): New DEF_RTL_EXPR.
* md.texi (Insn Splitting): Document define_insn_and_split.

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

22 years agoTue May 2 00:20:30 2000 Jason Eckhardt <jle@cygnus.com>
jle [Wed, 3 May 2000 16:39:55 +0000 (16:39 +0000)]
Tue May  2 00:20:30 2000  Jason Eckhardt  <jle@cygnus.com>

        * flow.c (verify_flow_info): Added two more sanity checks. The
        first checks that the blocks are numbered consecutively. The second
        checks that n_basic_blocks is actually equal to the number of
        basic blocks in the insn chain.

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

22 years ago2000-05-03 Phil Edwards <pme@sourceware.cygnus.com>
pme [Wed, 3 May 2000 16:11:03 +0000 (16:11 +0000)]
2000-05-03  Phil Edwards  <pme@sourceware.cygnus.com>
            Felix Natter <fnatter@gmx.net>

* docs/footer.html:  Update to see if it takes effect.
* docs/thanks.html:  More people.
* docs/17_intro/headers_cc.txt:  Copy from testsuite, since that can't
  be seen from the web pages.  Rename for browser-friendliness...
* docs/17_intro/howto.html:  ...and update here.
* docs/17_intro/porting-howto.html:  Changes from Felix.
* docs/gccrebuild.html:  Mention v3->egcs move.
* docs/faq/index.html:  Ditto.  Also misc tweaks and URL updates.
* docs/faq/index.txt:  Regenerate.

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

22 years ago * cpplib.h: Add accessor macros for token lists.
zack [Wed, 3 May 2000 15:35:47 +0000 (15:35 +0000)]
* cpplib.h: Add accessor macros for token lists.
* cpplib.c, cpphash.c, cpplex.c: Use them.

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

22 years ago * expr.c (expand_expr, case COMPONENT_REF): Don't check for checking
kenner [Wed, 3 May 2000 13:20:48 +0000 (13:20 +0000)]
* expr.c (expand_expr, case COMPONENT_REF): Don't check for checking
memory usage if not in a function.
* varasm.c (initializer_constant_valid_p, case ADDR_EXPR): Only
return address if static.

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

22 years agoAdd missing blank
kenner [Wed, 3 May 2000 13:17:29 +0000 (13:17 +0000)]
Add missing blank

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

22 years ago * ifcvt.c (noce_try_cmove_arith): Use may_trap_p to thest
hubicka [Wed, 3 May 2000 11:16:35 +0000 (11:16 +0000)]
* ifcvt.c (noce_try_cmove_arith):  Use may_trap_p to thest
whether address may trap.

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

22 years agoDaily bump.
law [Wed, 3 May 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.

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

22 years agoTue May 2 23:38:37 2000 Jason Eckhardt <jle@cygnus.com>
jle [Wed, 3 May 2000 04:41:04 +0000 (04:41 +0000)]
Tue May  2 23:38:37 2000  Jason Eckhardt  <jle@cygnus.com>

* bb-reorder (chain_reorder_blocks): Changed code to test for
EDGE_FALLTHRU rather than making erroneous assumption that the
first outgoing edge is the fall-through edge.

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

22 years agospelling tweak
jason [Wed, 3 May 2000 01:35:11 +0000 (01:35 +0000)]
spelling tweak

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

22 years agochange MIPS varargs ABI in config/mips/mips.c
dlindsay [Wed, 3 May 2000 01:22:38 +0000 (01:22 +0000)]
change MIPS varargs ABI in config/mips/mips.c

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

22 years agoTue May 2 19:18:43 2000 Jason Eckhardt <jle@cygnus.com>
jle [Wed, 3 May 2000 00:20:24 +0000 (00:20 +0000)]
Tue May  2 19:18:43 2000  Jason Eckhardt  <jle@cygnus.com>

        * bb-reorder.c (struct reorder_block_def): Remove members end,
        block_begin, and block_end.
        (REORDER_BLOCK_OLD_END): Delete.
        (REORDER_BLOCK_BEGIN): Delete.
        (REORDER_BLOCK_END): Delete.
        (chain_reorder_blocks): Remove dead code.

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

22 years agoTue May 2 17:06:53 2000 Jason Eckhardt <jle@cygnus.com>
jle [Tue, 2 May 2000 22:05:06 +0000 (22:05 +0000)]
Tue May  2 17:06:53 2000  Jason Eckhardt  <jle@cygnus.com>

* bb-reorder.c (remove_scope_notes): Check for both types of scope
notes as the end of a basic block before deleting.

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

22 years agooops
jason [Tue, 2 May 2000 22:04:16 +0000 (22:04 +0000)]
oops

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

22 years ago2000-05-02 Mumit Khan <khan@xraylith.wisc.edu>
khan [Tue, 2 May 2000 21:52:27 +0000 (21:52 +0000)]
2000-05-02  Mumit Khan  <khan@xraylith.wisc.edu>

* final.c (final_start_function): Fix spelling of "necessary".

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

22 years ago * toplev.c (debug_ignore_block): Return int.
jason [Tue, 2 May 2000 20:43:24 +0000 (20:43 +0000)]
    * toplev.c (debug_ignore_block): Return int.
        * dwarf2out.c (dwarf2out_ignore_block): Likewise.
        * toplev.h, dwarf2out.h: Adjust.
        * emit-rtl.c (remove_unnecessary_notes): Test return value.

        * emit-rtl.c (remove_unnecessary_notes): Fix spelling of "necessary".
        * toplev.c, final.c, rtl.h: Adjust.

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

22 years ago * class.c (add_method_1): Set both DECL_EXTERNAL and METHOD_NATIVE
tromey [Tue, 2 May 2000 20:32:31 +0000 (20:32 +0000)]
* class.c (add_method_1): Set both DECL_EXTERNAL and METHOD_NATIVE
on native function.
* jcf-parse.c (parse_class_file): Call build_jni_stub for native
JNI methods.
* expr.c (build_jni_stub): New function.
* lang-specs.h: -fjni and -femit-class-file are incompatible.
* parse.c: Rebuilt.
* parse.y (java_complete_expand_methods): Expand a native method
and call build_jni_stub if -fjni given.
* lang-options.h: Document -fjni.
* lang.c (flag_jni): New global.
(lang_f_options): Added `jni' entry.
* java-tree.h (soft_lookupjnimethod_node,
soft_getjnienvnewframe_node, soft_jnipopsystemframe_node):
Declare.
(flag_jni): Declare.
(build_jni_stub): Declare.
(struct lang_decl): Added `native' flag.
(METHOD_NATIVE): Redefined to use `native' field of lang specific
structure.
* decl.c (soft_lookupjnimethod_node, soft_getjnienvnewframe_node,
soft_jnipopsystemframe_node): New globals.
(init_decl_processing): Set them.  _Jv_InitClass only takes one
argument.

* java-tree.def: Put into `C' mode.

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

22 years ago * aclocal.m4 (gcc_AC_CHECK_PROG_VER): New macro.
zack [Tue, 2 May 2000 19:09:24 +0000 (19:09 +0000)]
* aclocal.m4 (gcc_AC_CHECK_PROG_VER): New macro.
* configure.in: Look for makeinfo in the unified tree, then
for a system makeinfo which is sufficiently new.
* Makefile.in: If configure says makeinfo is too old, don't
build or install Info documentation.

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

22 years ago * cpphash.c (collect_params): Fix off-by-one error.
zack [Tue, 2 May 2000 18:10:52 +0000 (18:10 +0000)]
* cpphash.c (collect_params): Fix off-by-one error.
(dump_hash_helper): Dump all four macro nodetypes.

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

22 years ago * cpphash.c (trad_stringify): Adjust p after stringification as
jakub [Tue, 2 May 2000 16:33:44 +0000 (16:33 +0000)]
* cpphash.c (trad_stringify): Adjust p after stringification as
well.

* gcc.dg/cpp-tradstringify.c: New test.

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

22 years ago * cpplib.h (CPP_POP, parse_cleanup_t): Delete.
zack [Tue, 2 May 2000 16:09:12 +0000 (16:09 +0000)]
* cpplib.h (CPP_POP, parse_cleanup_t): Delete.
(cpp_buffer): Remove cleanup, seen_eof, manual_pop members.

* cppfiles.c (file_cleanup): Delete.
* cpphash.c (macro_cleanup): Delete.
(collect_objlike_expansion, collect_funlike_expansion,
macarg, scan_arguments): Remove CPP_POP case.

* cpplex.c (null_cleanup): Delete.
(cpp_pop_buffer): Do the work that was done in the cleanups
here.  Call _cpp_unwind_if_stack from here.
(_cpp_expand_to_buffer, cpp_scan_buffer_nooutput,
cpp_scan_buffer): Run until we see CPP_EOF and the top of
stack is the buffer _below_ the one we stacked.
(cpp_get_token): Always pop an exhausted buffer.  Return
CPP_EOF unless it's a macro buffer.  Don't call _cpp_handle_eof.
* cpplib.c (skip_if_group): Don't call cpp_get_token to
increment the line number.
(_cpp_handle_eof): Rename to _cpp_unwind_if_stack.

* fix-header.c (read_scan_file) [parsing getchar()]: Run until
we see CPP_EOF and the top of stack is the buffer _below_ the
one we stacked.
* scan-decls.c: Likewise.

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

22 years ago * gcc.c-torture/compile/20000502-1.c: New test.
jakub [Tue, 2 May 2000 15:17:08 +0000 (15:17 +0000)]
* gcc.c-torture/compile/20000502-1.c: New test.
* g++.old-deja/g++.other/align.C: New test.

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

22 years ago2000-05-02 Andrew Haley <aph@cygnus.com>
aph [Tue, 2 May 2000 13:50:25 +0000 (13:50 +0000)]
2000-05-02  Andrew Haley  <aph@cygnus.com>

        * config/ia64/ia64.c (ia64_encode_section_info): Handle the case
        where this function is called for the second time on a decl that
        has had its section info changed in such a way as to move it out
        of small data/bss.
        * config/ia64/ia64.h (REDO_SECTION_INFO_P): New definition.

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

22 years agoDaily bump.
law [Tue, 2 May 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.

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

22 years ago2000-05-01 Vadim Egorov <egorovv@@mailandnews.com>
bkoz [Tue, 2 May 2000 07:11:03 +0000 (07:11 +0000)]
2000-05-01  Vadim Egorov  <egorovv@@mailandnews.com>

        * bits/char_traits.h: Fix parameter types.
        * bits/string.tcc: Avoid traits_type::move.

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

22 years ago2000-05-01 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 2 May 2000 06:45:21 +0000 (06:45 +0000)]
2000-05-01  Benjamin Kosnik  <bkoz@redhat.com>

* config/cpu/powerpc/bits/atomicity.h (__exchange_and_add): More
fixes.

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

22 years ago * ifcvt.c (dead_or_predicable): Set merge_bb->end to the insn before
rth [Tue, 2 May 2000 06:35:22 +0000 (06:35 +0000)]
    * ifcvt.c (dead_or_predicable): Set merge_bb->end to the insn before
        the sequence we're moving, not to merge_bb->head.

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

22 years ago * tree.c (walk_tree): Set lineno.
jason [Tue, 2 May 2000 05:25:27 +0000 (05:25 +0000)]
    * tree.c (walk_tree): Set lineno.

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

22 years ago2000-05-01 Vadim Egorov <egorovv@@mailandnews.com>
bkoz [Tue, 2 May 2000 04:50:23 +0000 (04:50 +0000)]
2000-05-01  Vadim Egorov  <egorovv@@mailandnews.com>

        * bits/char_traits.h: Fix parameter types.
        * bits/string.tcc: Avoid traits_type::move.

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

22 years ago(This trying to counter the effect of the PR 195 check in -- this should
apbianco [Tue, 2 May 2000 04:49:51 +0000 (04:49 +0000)]
(This trying to counter the effect of the PR 195 check in -- this should
 be right now.)

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

22 years ago * exception.cc: Update license notice.
mmitchel [Tue, 2 May 2000 01:25:15 +0000 (01:25 +0000)]
* exception.cc: Update license notice.
* new.cc: Likewise.
* new1.cc: Likewise.
* new2.cc: Likewise.
* tinfo.cc: Likewise.
* tinfo2.cc: Likewise.
* vec.cc: Likewise.
* inc/cxxabi.h: Likewise.
* inc/exception: Likewise.
* inc/new: Likewise.
* inc/new.h: Likewise.
* inc/typeinfo: Likewise.

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

22 years ago2000-05-01 Benjamin Kosnik <bkoz@cygnus.com>
bkoz [Tue, 2 May 2000 00:51:59 +0000 (00:51 +0000)]
2000-05-01  Benjamin Kosnik  <bkoz@cygnus.com>

* config.if: Tweak.

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

22 years ago2000-04-30 Steven King <sxking@uswest.net>
bkoz [Tue, 2 May 2000 00:27:21 +0000 (00:27 +0000)]
2000-04-30  Steven King <sxking@uswest.net>

        * bits/locale_facets.h: Fix syntax  error.
        * bits/std_fstream.h: ditto

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

22 years ago * configure.in (alpha*-*-linux-gnulibc1*) [tmake_file]: Remove
rth [Tue, 2 May 2000 00:15:28 +0000 (00:15 +0000)]
    * configure.in (alpha*-*-linux-gnulibc1*) [tmake_file]: Remove
        reference to alpha/t-linux.
        (alpha*-*-linux-gnu*): Likewise.
        * configure: Rebuild.

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

22 years ago * flow.c (calculate_global_regs_live): Skip for_each_successor_phi
rth [Tue, 2 May 2000 00:02:24 +0000 (00:02 +0000)]
    * flow.c (calculate_global_regs_live): Skip for_each_successor_phi
        if not in SSA form.

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

22 years ago * calls.c (expand_call): Don't emit reg notes for a sibcall.
rth [Mon, 1 May 2000 23:59:00 +0000 (23:59 +0000)]
    * calls.c (expand_call): Don't emit reg notes for a sibcall.

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

22 years ago * tree.c (build_target_expr_with_type): If we already have a
jason [Mon, 1 May 2000 23:51:37 +0000 (23:51 +0000)]
    * tree.c (build_target_expr_with_type): If we already have a
        TARGET_EXPR, just return it.

        * optimize.c (initialize_inlined_parameters): Don't generate an
        EXPR_STMT if we can just use DECL_INITIAL.
        * decl.c (emit_local_var): Only make the initialization a
        full-expression if stmts_are_full_exprs_p.

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

22 years ago2000-05-01 Benjamin Kosnik <bkoz@haight.constant.com>
bkoz [Mon, 1 May 2000 23:47:31 +0000 (23:47 +0000)]
2000-05-01  Benjamin Kosnik  <bkoz@haight.constant.com>

* src/Makefile.am (AC_CXXFLAGS): Add CPUFLAGS here.
* src/Makefile.in: Regenerate.
* acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Revert.

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

22 years ago(The patch contained impurities -- this should fix the situation.)
apbianco [Mon, 1 May 2000 22:32:20 +0000 (22:32 +0000)]
(The patch contained impurities -- this should fix the situation.)

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

22 years ago * ifcvt.c (if_convert): Only verify_flow_info if ENABLE_CHECKING.
rth [Mon, 1 May 2000 22:25:54 +0000 (22:25 +0000)]
    * ifcvt.c (if_convert): Only verify_flow_info if ENABLE_CHECKING.

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

22 years ago * integrate.c (copy_decl_for_inlining): Copy TREE_READONLY and
jason [Mon, 1 May 2000 21:49:37 +0000 (21:49 +0000)]
    * integrate.c (copy_decl_for_inlining): Copy TREE_READONLY and
        TREE_THIS_VOLATILE.

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

22 years ago2000-04-25 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Mon, 1 May 2000 21:46:29 +0000 (21:46 +0000)]
2000-04-25  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * parse.y (register_incomplete_type): Handle JDEP_ANONYMOUS.

(This is a fix for the Java PR #195:
 http://sourceware.cygnus.com/ml/java-prs/2000-q2/msg00009.html)

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

22 years ago2000-04-28 Jakub Jelinek <jakub@redhat.com>
tromey [Mon, 1 May 2000 21:36:39 +0000 (21:36 +0000)]
2000-04-28  Jakub Jelinek  <jakub@redhat.com>

* Makefile.am (GCJCOMPILE, JCFLAGS, JF1CLAGS, jv_convert_LINK,
gij_LINK, libgcj.zip, .java=.class): Move -L option out of FLAGS.
(libgcj_la_LDFLAGS): Add -L../libstdc++ for in-gcc builds.
(jv_convert_LDFLAGS, gij_LDFLAGS): Add `pwd`/../libstdc++ to
-rpath for in-gcc builds.
* Makefile.in: Rebuilt.

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

22 years ago2000-04-28 Jakub Jelinek <jakub@redhat.com>
tromey [Mon, 1 May 2000 21:35:35 +0000 (21:35 +0000)]
2000-04-28  Jakub Jelinek  <jakub@redhat.com>

* Makefile.am (SUBDIRS): Define.
(AM_MAKEFLAGS): Likewise.
(Multilib support.): Add section.
* Makefile.in: Rebuilt.
* ltconfig (extra_compiler_flags, extra_compiler_flags_value):
        New variables. Set for gcc using -print-multi-lib. Export them
        to libtool.
        (sparc64-*-linux-gnu*): Use libsuff 64 for search paths.
        * ltmain.sh (B|b|V): Don't throw away gcc's -B, -b and -V options
        for -shared links.
        (extra_compiler_flags_value, extra_compiler_flags): Check these
        for extra compiler options which need to be passed down in
        compiler_flags.

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

22 years ago * ifcvt.c (noce_emit_cmove): Conditionally compile call to
rth [Mon, 1 May 2000 21:21:44 +0000 (21:21 +0000)]
    * ifcvt.c (noce_emit_cmove): Conditionally compile call to
        emit_conditional_move.

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

22 years agoChange dynamic linker name to conform to current glibc. From Jakub Jelinek.
wilson [Mon, 1 May 2000 20:23:37 +0000 (20:23 +0000)]
Change dynamic linker name to conform to current glibc.  From Jakub Jelinek.
* config/ia64/linux.h (LINK_SPEC): Use /lib/ld-linux-ia64.so.1
as the dynamic linker.

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

22 years ago * cppfiles.c (open_include_file): Open file in blocking mode.
zack [Mon, 1 May 2000 20:05:11 +0000 (20:05 +0000)]
* cppfiles.c (open_include_file): Open file in blocking mode.
(read_include_file): Don't fcntl(fd, F_SETFL, 0) anymore.
Only exclude block devices and directories.

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

22 years agoOops, forgot to commit this with the last change
zack [Mon, 1 May 2000 18:23:07 +0000 (18:23 +0000)]
Oops, forgot to commit this with the last change

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

22 years ago * cpphash.c (_cpp_make_hashnode): Rename make_HASHNODE, now
zack [Mon, 1 May 2000 18:20:10 +0000 (18:20 +0000)]
* cpphash.c (_cpp_make_hashnode): Rename make_HASHNODE, now
static.  Allocate the hashnode and its string in the same
block of memory.
(del_HASHNODE): Don't free h->name.
(_cpp_lookup): If there is no entry for this string, create
one, of type T_VOID.
(_cpp_lookup_slot): Delete.
* cpphash.h: Update prototypes.

* cpplex.c (maybe_macroexpand): Check for hp->type == T_VOID,
not hp == NULL.
* cpplib.c (do_define, do_undef, do_pragma_poison, do_assert,
do_unassert, cpp_defined): Use _cpp_lookup.  Don't create a
node here, just fill in the value field properly.  "Delete"
entries by setting the value field to T_VOID.  Check for
hp->type == T_VOID, not hp == NULL.

* Makefile.in (cpplib.o): Don't depend on $(HASHTAB_H).
* cpperror.c, cppexp.c, cpplex.c, cpplib.c:  Don't include
hashtab.h.

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

22 years ago2000-04-30 Benjamin Kosnik <bkoz@gnu.org>
bkoz [Mon, 1 May 2000 18:14:03 +0000 (18:14 +0000)]
2000-04-30  Benjamin Kosnik  <bkoz@gnu.org>

* config/cpu/powerpc/bits/atomicity.h: Fix typo.
* mknumeric_limits (trait_name): Fix copyright notice.
* src/gen-num-limits.cc: Explicitly instantiate epsilon and
round_error data members of struct value. This works around
weak-linking issues on AIX, HPUX.

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

22 years agoUpdate copyrights.
law [Mon, 1 May 2000 17:32:22 +0000 (17:32 +0000)]
Update copyrights.

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

22 years agoUpdate copyright.
law [Mon, 1 May 2000 17:31:40 +0000 (17:31 +0000)]
Update copyright.

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

22 years ago* config/mn10300/mn10300.c (print_operand_address): Do not add
aoliva [Mon, 1 May 2000 17:28:26 +0000 (17:28 +0000)]
* config/mn10300/mn10300.c (print_operand_address): Do not add
zero to SP.

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

22 years agoUpdate copyrights.
law [Mon, 1 May 2000 17:24:23 +0000 (17:24 +0000)]
Update copyrights.

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

22 years agoUpdate copyright
law [Mon, 1 May 2000 17:18:52 +0000 (17:18 +0000)]
Update copyright

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

22 years agoUpdate copyright.
law [Mon, 1 May 2000 17:17:55 +0000 (17:17 +0000)]
Update copyright.

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

22 years ago* config/mn10300/mn10300.c (expand_epilogue): If SP is to be
aoliva [Mon, 1 May 2000 17:09:05 +0000 (17:09 +0000)]
* config/mn10300/mn10300.c (expand_epilogue): If SP is to be
adjusted by less than 256 bytes, use ret regardless of having any
callee-saved register to restore.

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

22 years ago * tm.texi (TARGET_HAS_F_SETFLKW): Fix typo.
law [Mon, 1 May 2000 16:53:03 +0000 (16:53 +0000)]
    * tm.texi (TARGET_HAS_F_SETFLKW): Fix typo.

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

22 years ago * cp-tree.h (same_type_ignoring_top_level_qualifiers_p): New
mmitchel [Mon, 1 May 2000 16:51:17 +0000 (16:51 +0000)]
* cp-tree.h (same_type_ignoring_top_level_qualifiers_p): New
macro.
* call.c (standard_conversion): Use it.
(direct_reference_binding): Likewise.
(build_over_call): Likewise.
(is_properly_derived_from): Likewise.
(compare_ics): Likewise.
* class.c (resolves_to_fixed_type_p): Likewise.
* optimize.c (declare_return_variable): Likewise.
* pt.c (is_specialization_of): Likewise.
(unify): Likewise.
* typeck.c (comp_target_parms): Likeiwse.
(build_static_cast): Likewise.
(build_reinterpret_cast): Likewise.
(build_const_cast): Likewise.
(comp_ptr_ttypes_real): Likewise.
(comp_ptr_ttypes_const): Likewise.
* typeck2.c (process_init_constructor): Likewise.

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

22 years ago * config/i386/djgpp.h (INT_ASM_OP): Define.
law [Mon, 1 May 2000 16:50:49 +0000 (16:50 +0000)]
    * config/i386/djgpp.h (INT_ASM_OP): Define.
        (CPP_PREDEFINES): Rename MSDOS to __MSDOS__.
        (ASM_WEAKEN_LABEL): Define.
        (MASK_BNU210): Define.
        (SUBTARGET_SWITCHES): Define.
        (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Define.
        (MAKE_DECL_ONE_ONLY): Define.
        (UNIQUE_SECTION_P, UNIQUE_SECTION): Define.

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

22 years ago * i386/cygwin.h (INT_ASM_OP): Define.
law [Mon, 1 May 2000 16:47:22 +0000 (16:47 +0000)]
    * i386/cygwin.h (INT_ASM_OP): Define.

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

22 years ago * config/avr/avr.c (address_cost): renamed to avr_address_cost.
denisc [Mon, 1 May 2000 14:37:11 +0000 (14:37 +0000)]
* config/avr/avr.c (address_cost): renamed to avr_address_cost.
* config/avr/avr.h (ADDRESS_COST): use avr_address_cost.

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

22 years ago * config/avr/avr.c (asm_file_start): output 0 as r0 and 1 as r1 in
denisc [Mon, 1 May 2000 14:11:51 +0000 (14:11 +0000)]
* config/avr/avr.c (asm_file_start): output 0 as r0 and 1 as r1 in
__tmp_reg__ and __zero_reg__ initialization.

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

22 years agoNew file
loewis [Mon, 1 May 2000 11:15:22 +0000 (11:15 +0000)]
New file

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

22 years agoDaily bump.
law [Mon, 1 May 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.

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

22 years ago * flow.c (propagate_one_insn): Mark sets even when the insn is dead.
rth [Mon, 1 May 2000 07:21:29 +0000 (07:21 +0000)]
    * flow.c (propagate_one_insn): Mark sets even when the insn is dead.

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

22 years ago * ifcvt.c (noce_process_if_block): Fail the conversion if X is
rth [Mon, 1 May 2000 06:55:44 +0000 (06:55 +0000)]
    * ifcvt.c (noce_process_if_block): Fail the conversion if X is
        referenced bewteen the condition and the jump.  Don't delete
        anything but the jump.

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

22 years ago * decl.c (finish_destructor_body): Use the base destructor when
mmitchel [Mon, 1 May 2000 06:01:33 +0000 (06:01 +0000)]
* decl.c (finish_destructor_body): Use the base destructor when
destroying virtual bases.

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

22 years ago * expr.c (cplus_expand_expr): Preserve temporaries when expanding
mmitchel [Mon, 1 May 2000 05:50:40 +0000 (05:50 +0000)]
* expr.c (cplus_expand_expr): Preserve temporaries when expanding
STMT_EXPRs.
* optimize.c (struct inline_data): Add target_exprs field.
(declare_return_variable): When a function returns an aggregate,
use the variable declared in the TARGET_EXPR as the remapped
DECL_RESULT.
(expand_call_inline): Update the pending target_exprs stack.
(optimize_function): Initialize the stack.

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

22 years agoSun Apr 30 22:48:24 2000 Jason Eckhardt <jle@cygnus.com>
jle [Mon, 1 May 2000 03:46:21 +0000 (03:46 +0000)]
Sun Apr 30 22:48:24 2000  Jason Eckhardt  <jle@cygnus.com>

* bb-reorder.c (scope_def): New struct.
(scope_forest_info): New struct.
(struct reorder_block_def): New member "scope".
(REORDER_BLOCK_SCOPE): New macro.
(relate_bbs_with_scopes): New function and prototype.
(make_new_scope): Likewise.
(build_scope_forest): Likewise.
(remove_scope_notes): Likewise.
(insert_intra_1): Likewise.
(insert_intra_bb_scope_notes): Likewise.
(insert_inter_bb_scope_notes): Likewise.
(rebuild_scope_notes): Likewise.
(free_scope_forest_1): Likewise.
(free_scope_forest): Likewise.
(dump_scope_forest): Likewise.
(dump_scope_forest_1): Likewise.
(chain_reorder_blocks): Set REORDER_BLOCK_SCOPE for new block.
Update REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for new
block.
(reorder_basic_blocks): Added calls to build_scope_scope_forest
and remove_scope_notes before reordering is done. Added calls to
rebuild_scope_notes, free_scope_forest, and reorder_blocks after
after reordering is done.

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

22 years ago * decl2.c (finish_file): Fix typo in comment.
mmitchel [Mon, 1 May 2000 01:43:24 +0000 (01:43 +0000)]
* decl2.c (finish_file): Fix typo in comment.

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

22 years ago2000-04-30 Benjamin Kosnik <bkoz@gnu.org>
bkoz [Mon, 1 May 2000 00:14:10 +0000 (00:14 +0000)]
2000-04-30  Benjamin Kosnik  <bkoz@gnu.org>

* mknumeric_limits (trait_name): Fix copyright notice.
* src/gen-num-limits.cc: Explicitly instantiate epsilon and
round_error data members of struct value. This works around
weak-linking issues on AIX, HPUX.

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

22 years agoremoved two stale entries
korbb [Sun, 30 Apr 2000 23:59:45 +0000 (23:59 +0000)]
removed two stale entries

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

22 years agoAdded definitions needed by OSR5
korbb [Sun, 30 Apr 2000 23:30:15 +0000 (23:30 +0000)]
Added definitions needed by OSR5

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

22 years ago * ifcvt.c (dead_or_predicable): Manually squeeze non-movable notes
rth [Sun, 30 Apr 2000 18:41:37 +0000 (18:41 +0000)]
    * ifcvt.c (dead_or_predicable): Manually squeeze non-movable notes
        from the last insn in the sequence.

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

22 years ago * method.c (emit_thunk): Don't try to return a `void' value.
mmitchel [Sun, 30 Apr 2000 18:03:36 +0000 (18:03 +0000)]
* method.c (emit_thunk): Don't try to return a `void' value.

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

22 years ago * optimize.c (initialize_inlined_parameters): If the parameter is
mmitchel [Sun, 30 Apr 2000 18:02:10 +0000 (18:02 +0000)]
* optimize.c (initialize_inlined_parameters): If the parameter is
addressable, we need to make a new VAR_DECL, even if the
initializer is constant.

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

22 years ago * cpplex.c (cpp_idcmp): New function.
zack [Sun, 30 Apr 2000 17:30:25 +0000 (17:30 +0000)]
* cpplex.c (cpp_idcmp): New function.
* cpplib.h: Prototype it.
* scan_decls.c (scan_decls): Use it to inspect token names.
* fix-header.c (read_scan_file): Likewise.  Set system_header_p on
the file being run through the preprocessor.
(check_macro_names): Provide length of token to cpp_defined.

* Makefile.in: Remove stale warning message.

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

22 years ago * cppfiles.c (redundant_include_p): Provide length of token to
zack [Sun, 30 Apr 2000 17:11:25 +0000 (17:11 +0000)]
* cppfiles.c (redundant_include_p): Provide length of token to
cpp_defined.
* cpphash.c (_cpp_make_hashnode, _cpp_lookup_slot): Hash
values are unsigned int.
(_cpp_lookup, _cpp_lookup_slot): Do not calculate the length.
(_cpp_lookup_slot): Do not calculate the hash, either.
* cpphash.h: Update prototypes.
* cpplib.c (do_define, do_undef, do_pragma_poison, do_assert):
Hashes are unsigned int.  Calculate hash here, pass by value
to _cpp_lookup_slot.

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

22 years ago2000-04-28 Loren J. Rittle <ljrittle@acm.org>
bkoz [Sun, 30 Apr 2000 16:12:56 +0000 (16:12 +0000)]
2000-04-28  Loren J. Rittle  <ljrittle@acm.org>

        * mkcheck.in: Rely on exit status instead of the presence of a
        core file.  Added comments on how/where to save core and exe
        files.  Move shell wildcards outside quotes and fix core path.

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

22 years agoFix memory corruption bug
crux [Sun, 30 Apr 2000 13:37:15 +0000 (13:37 +0000)]
Fix memory corruption bug

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

22 years ago * config/d30v: New port.
rth [Sun, 30 Apr 2000 11:17:13 +0000 (11:17 +0000)]
    * config/d30v: New port.

        * configure.in (d30v-*): Set fp format.
        * configure: Rebuild.

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

22 years ago * ifcvt.c: New file.
rth [Sun, 30 Apr 2000 11:01:53 +0000 (11:01 +0000)]
    * ifcvt.c: New file.
        * Makefile.in (OBJS): Add it.
        (ifcvt.o): New target.
        * jump.c (jump_optimize_1): Remove all code related to if-conversion,
        and conditional arithmetic.
        (find_insert_position): Remove.
        * timevar.def (TV_IFCVT, TV_IFCVT2): New.
        * toplev.c (DFI_ce, DFI_ce2): New.
        (dump_file): Add ce and ce2 dumps.
        (rest_of_compilation): Run if_convert a couple o times.  Set
        cse_not_expected after cse2.  Don't set no_new_pseudos until
        after sched1 or recompute_reg_usage.

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

22 years ago * config/alpha/t-crtbe (crtbegin.o): Add "-I.".
rth [Sun, 30 Apr 2000 10:56:21 +0000 (10:56 +0000)]
    * config/alpha/t-crtbe (crtbegin.o): Add "-I.".
        (crtend.o, crtbeginS.o, crtendS.o): Likewise.

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