OSDN Git Service

pf3gnuchains/gcc-fork.git
23 years ago2000-06-21 Bryce McKinlay <bryce@albatross.co.nz>
bryce [Wed, 21 Jun 2000 03:55:35 +0000 (03:55 +0000)]
2000-06-21  Bryce McKinlay  <bryce@albatross.co.nz>

* java/lang/ThreadGroup.java (add(Thread)): Rename to addThread() to
comply with classpath VM spec.
(add(Group)): Rename to addGroup().
* java/lang/Thread.java (Thread): Use addThread().
* java/lang/natThread.cc (finish_): Use removeThread().

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

23 years ago * configure.in: Use 'test a = b' not 'test a == b'.
zack [Wed, 21 Jun 2000 00:27:53 +0000 (00:27 +0000)]
* configure.in: Use 'test a = b' not 'test a == b'.
* configure: Regen.

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

23 years ago * Makefile.in (fix-header): Link with $(LIBS) not $(HOST_LIBS).
zack [Tue, 20 Jun 2000 23:36:33 +0000 (23:36 +0000)]
* Makefile.in (fix-header): Link with $(LIBS) not $(HOST_LIBS).

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

23 years ago2000-06-20 Anthony Williams <anthony@anthonyw.cjb.net>
bkoz [Tue, 20 Jun 2000 23:14:37 +0000 (23:14 +0000)]
2000-06-20  Anthony Williams  <anthony@anthonyw.cjb.net>

* bits/string.tcc: Fix find.
* testsuite/21_strings/find.cc: Patch.

2000-06-20  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* docs/install.html: Update where to get automake, where to get
binutils.
* acinclude.m4: Need -fno-builtins too, so gcc doesn't recognize
builtins.

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

23 years ago * cpplex.c (parse_name): Don't warn about $ in identifiers if
zack [Tue, 20 Jun 2000 22:42:18 +0000 (22:42 +0000)]
* cpplex.c (parse_name): Don't warn about $ in identifiers if
skipping.

* Makefile.in: Remove all references to HOST_INTLLIBS.

* cp/method.c: Don't include hard-reg-set.h.

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

23 years ago * g++.old-deja/g++.other/dyncast6.C: New test.
nathan [Tue, 20 Jun 2000 16:14:42 +0000 (16:14 +0000)]
* g++.old-deja/g++.other/dyncast6.C: New test.

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

23 years ago * rtti.c (get_base_offset): Cope when vbase field is in a base.
nathan [Tue, 20 Jun 2000 16:13:33 +0000 (16:13 +0000)]
* rtti.c (get_base_offset): Cope when vbase field is in a base.

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

23 years ago2000-06-20 Philipp Thomas <pthomas@suse.de>
jle [Tue, 20 Jun 2000 15:55:10 +0000 (15:55 +0000)]
2000-06-20  Philipp Thomas  <pthomas@suse.de>

* config/pa/pa.h (TARGET_SWITCHES): Require binutils 2.10 or later
for PA 2.0.

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

23 years ago * call.c (build_conditional_expr): Use VOID_TYPE_P.
nathan [Tue, 20 Jun 2000 15:42:55 +0000 (15:42 +0000)]
* call.c (build_conditional_expr): Use VOID_TYPE_P.
* cvt.c (cp_convert_to_pointer): Likewise.
(convert_to_void): Likewise.
* error.c (dump_expr): Likewise.
* except.c (complete_ptr_ref_or_void_ptr_p): Likewise.
* init.c (build_delete): Likewise.
* method.c (emit_thunk): Likewise.
* optmize.c (declare_return_variable): Likewise.
* rtti.c (get_tinfo_decl_dynamic): Likewise.
(get_typeid): Likewise.
(build_dynamic_cast_1): Likewise.
* typeck.c (composite_pointer_type): Likewise.
(common_type): Likewise.
(build_indirect_ref): Likewise.
(build_binary_op): Likewise.
(build_x_compound_expr): Likewise.
(check_return_expr): Likewise.
* typeck2.c (add_exception_specifier): Likewise.

* mangle.c (write_method_parms): Use direct comparison for end
of parmlist.

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

23 years agoDaily bump.
law [Tue, 20 Jun 2000 15:07:54 +0000 (15:07 +0000)]
Daily bump.

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

23 years ago2000-06-20 Bryce McKinlay <bryce@albatross.co.nz>
bryce [Tue, 20 Jun 2000 13:30:14 +0000 (13:30 +0000)]
2000-06-20  Bryce McKinlay  <bryce@albatross.co.nz>

* java/lang/ThreadGroup.java: Merged with classpath.
* prims.cc (_Jv_RunMain): Don't use \rain_group'.
* gnu/gcj/runtime/FirstThread.java: Remove ThreadGroup constructor
argument.
* java/lang/Thread.java (Thread): Bootstrap initial thread from
ThreadGroup.root if Thread.currentThread is null. Honour the
ThreadGroup's max priority setting.

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

23 years ago2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
bkoz [Tue, 20 Jun 2000 06:50:59 +0000 (06:50 +0000)]
2000-06-19  Benjamin Kosnik  <bkoz@soma.redhat.com>

* acinclude.m4 ((GLIBCPP_CHECK_MATH_SUPPORT): Revert last change.
Add -Werror-implicit-function-declaration instead.

Regenerate with fixed maintainer-tools.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* libio/Makefile.in: Regenerate.

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

23 years ago2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
bkoz [Tue, 20 Jun 2000 01:31:46 +0000 (01:31 +0000)]
2000-06-19  Benjamin Kosnik  <bkoz@soma.redhat.com>

Regenerate with fixed maintainer-tools.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* libio/Makefile.in: Regenerate.
* src/Makefile.in: Regenerate.

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

23 years ago2000-06-19 Russell Davidson <russell@ehess.cnrs-mrs.fr>
bkoz [Tue, 20 Jun 2000 01:24:46 +0000 (01:24 +0000)]
2000-06-19  Russell Davidson  <russell@ehess.cnrs-mrs.fr>

* testsuite/27_io/istream_extractor_arith.cc: Patch.
* bits/locale_factets.tcc: Tweak.

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

23 years ago2000-06-20 Bryce McKinlay <bryce@albatross.co.nz>
bryce [Tue, 20 Jun 2000 01:04:58 +0000 (01:04 +0000)]
2000-06-20  Bryce McKinlay  <bryce@albatross.co.nz>

Imported version 5.1.
* acinclude.m4: Push version to 5.1.

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

23 years ago2000-06-19 Raja R Harinath <harinath@cs.umn.edu>
bkoz [Mon, 19 Jun 2000 23:43:19 +0000 (23:43 +0000)]
2000-06-19  Raja R Harinath  <harinath@cs.umn.edu>

* src/Makefile.am: change @WERROR@ to $(WERROR) so that this can
be overridden on the command line for individual files.

2000-06-19  Benjamin Kosnik  <bkoz@soma.redhat.com>

* acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Can't use
AC_LANG_CPLUSPLUS as this tries to link in libstdc++, Which we are
building. Use -x c++ instead, which does not attempt to link
libstdc++.

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

23 years agoThis commit was generated by cvs2svn to compensate for changes in r34605,
bryce [Mon, 19 Jun 2000 23:42:00 +0000 (23:42 +0000)]
This commit was generated by cvs2svn to compensate for changes in r34605,
which included commits to RCS files with non-trunk default branches.

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

23 years ago * Take REG_INC notes into account.
amylaar [Mon, 19 Jun 2000 22:31:47 +0000 (22:31 +0000)]
* Take REG_INC notes into account.

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

23 years ago * c-parse.in (undeclared_variable_notice): Moved to c-typeck.c.
zack [Mon, 19 Jun 2000 22:28:28 +0000 (22:28 +0000)]
* c-parse.in (undeclared_variable_notice): Moved to c-typeck.c.
(primary: IDENTIFIER): Just call build_external_ref.
* c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
Regenerate.
* c-lex.c (lastiddecl): Remove.
(yylex): Replace all instances of lastiddecl with local
variables.

* c-typeck.c (build_external_ref): New function.  Treat decls
with C_DECL_ANTICIPATED mostly the same as nonexistent decls.
Look up the decl from the id here.  Call lookup_objc_ivar.
* c-lang.c (lookup_objc_ivar): Stub.
* objc/objc-act.c (lookup_objc_ivar): New function.

* c-tree.h: Prototype lookup_objc_ivar and build_external_ref.
* c-lex.h: Don't declare lastiddecl.

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

23 years ago2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
bkoz [Mon, 19 Jun 2000 22:20:15 +0000 (22:20 +0000)]
2000-06-19  Benjamin Kosnik  <bkoz@soma.redhat.com>

* docs/17_intro/contribute.html: Add bits about getting to the LWG
issues pages.
* docs/documentation.html: Rename link to make more accurate and scary.
* docs/gccrebuild.html: Edit for clarity as these are no longer
separate projects.
* docs/install.html: Add bits about binutils for
-ffunction-sections, -fdata-sections, -Wl,--gc-sections

* configure.in: Add call for GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
* math/Makefile.am (EXTRA_DIST): Change USE_LONG_DOUBLE to
USE_COMPLEX_LONG_DOUBLE.
* acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Break into
GLIBCPP_CHECK_MATH_SUPPORT and GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
Works around irregularies in powerpc "C" compiler, but a good idea
anyway.

* acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT):
New. Merge both old compiler bug checks for complex into this.

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

23 years ago2000-06-19 Anthony Williams <anthony@anthonyw.cjb.net>
bkoz [Mon, 19 Jun 2000 20:05:48 +0000 (20:05 +0000)]
2000-06-19  Anthony Williams  <anthony@anthonyw.cjb.net>

* testsuite/21_strings/find.cc: Empty strings can be found at all
positions. Modified.

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

23 years ago2000-06-19 Branko Cibej <branko.cibej@hermes.si>
bkoz [Mon, 19 Jun 2000 19:58:53 +0000 (19:58 +0000)]
2000-06-19  Branko Cibej  <branko.cibej@hermes.si>

        * testsuite/20_utilities: New directory.
        * testsuite/20_utilities/auto_ptr.cc: New file.

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

23 years ago2000-06-19 Andrew Haley <aph@cygnus.com>
aph [Mon, 19 Jun 2000 18:46:45 +0000 (18:46 +0000)]
2000-06-19  Andrew Haley  <aph@cygnus.com>

        * os_dep.c (read): Pass two dummy args to syscall().

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

23 years ago * c-common.h (IF_COND): Added documentation.
chelf [Mon, 19 Jun 2000 18:40:24 +0000 (18:40 +0000)]
* c-common.h (IF_COND): Added documentation.
(THEN_CLAUSE): Likewise.
(ELSE_CLAUSE): Likewise.
(WHILE_COND): Likewise.
(WHILE_BODY): Likewise.
(DO_COND): Likewise.
(DO_BODY): Likewise.
(RETURN_EXPR): Likewise.
(EXPR_STMT_EXPR): Likewise.
(FOR_INIT_STMT): Likewise.
(FOR_COND): Likewise.
(FOR_EXPR): Likewise.
(FOR_BODY): Likewise.
(SWITCH_COND): Likewise.
(SWITCH_BODY): Likewise.
(CASE_LOW): Likewise.
(CASE_HIGH): Likewise.
(GOTO_DESTINATION): Likewise.
(COMPOUND_BODY): Likewise.
(ASM_CV_QUAL): Likewise.
(ASM_STRING): Likewise.
(ASM_OUTPUTS): Likewise.
(ASM_INPUTS): Likewise.
(ASM_CLOBBERS): Likewise.
(DECL_STMT_DECL): Likewise.
(STMT_EXPR_STMT): Likewise.
(LABEL_STMT_LABEL): Likewise.

* c-common.def: Added documenetion for SRCLOC, EXPR_STMT,
COMPOUND_STMT, DECL_STMT, IF_STMT, FOR_STMT, WHILE_STMT, DO_STMT,
RETURN_STMT, BREAK_STMT, CONTINUE_STMT, SWITCH_STMT, GOTO_STMT,
LABEL_STMT, ASM_STMT, SCOPE_STMT, CASE_LABEL, STMT_EXPR.

* cp/cp-tree.h (genrtl_try_block): Declare function.
(genrtl_handler): Likewise.
(genrtl_catch_block): Likewise.
(genrtl_ctor_stmt): Likewise.
(genrtl_subobject): Likewise.
(genrtl_decl_cleanup): Likewise.
(genrtl_do_poplevel): Likewise.
(genrtl_do_pushlevel): Likewise.
(genrtl_clear_out_block): Likewise.
(genrtl_goto_stmt): Likewise.
(genrtl_expr_stmt): Likewise.
(genrtl_decl_stmt): Likewise.
(genrtl_if_stmt): Likewise.
(genrtl_while_stmt): Likewise.
(genrtl_do_stmt): Likewise.
(genrtl_return_stmt): Likewise.
(genrtl_for_stmt): Likewise.
(genrtl_break_stmt): Likewise.
(genrtl_continue_stmt): Likewise.
(genrtl_scope_stmt): Likewise.
(genrtl_switch_stmt): Likewise.
(genrtl_case_label): Likewise.
(genrtl_begin_compound_stmt): Likewise.
(genrtl_finish_compound_stmt): Likewise.
(genrtl_compound_stmt): Likewise.
(genrtl_asm_stmt): Likewise.
(genrtl_named_return_value): Likewise.
(genrtl_begin_stmt_expr): Likewise.
(genrtl_finish_stmt_expr): Likewise.
(finish_for_stmt): Removed first argument.
(finish_switch_stmt): Likewise.

* cp/semantics.c (genrtl_try_block): Define function.
(genrtl_handler): Likewise.
(genrtl_catch_block): Likewise.
(genrtl_ctor_stmt): Likewise.
(genrtl_subobject): Likewise.
(genrtl_decl_cleanup): Likewise.
(genrtl_do_poplevel): Likewise.
(genrtl_do_pushlevel): Likewise.
(genrtl_clear_out_block): Likewise.
(genrtl_goto_stmt): Likewise.
(genrtl_expr_stmt): Likewise.
(genrtl_decl_stmt): Likewise.
(genrtl_if_stmt): Likewise.
(genrtl_while_stmt): Likewise.
(genrtl_do_stmt): Likewise.
(genrtl_return_stmt): Likewise.
(genrtl_for_stmt): Likewise.
(genrtl_break_stmt): Likewise.
(genrtl_continue_stmt): Likewise.
(genrtl_scope_stmt): Likewise.
(genrtl_switch_stmt): Likewise.
(genrtl_case_label): Likewise.
(genrtl_begin_compound_stmt): Likewise.
(genrtl_finish_compound_stmt): Likewise.
(genrtl_compound_stmt): Likewise.
(genrtl_asm_stmt): Likewise.
(genrtl_named_return_value): Likewise.
(genrtl_begin_stmt_expr): Likewise.
(genrtl_finish_stmt_expr): Likewise.
(finish_for_stmt): Removed first argument and generate rtl
specific code.
(finish_switch_stmt): Likewise.
(do_poplevel): Removed generate rtl specific code.
(do_pushlevel): Likewise.
(add_tree): Likewise.
(finish_goto_stmt): Likewise.
(finish_expr_stmt): Likewise.
(begin_if_stmt): Likewise.
(finish_if_stmt_cond): Likewise.
(finish_then_clause): Likewise.
(begin_else_clause): Likewise.
(finish_else_clause): Likewise.
(finish_if_stmt): Likewise.
(clear_out_block): Likewise.
(begin_while_stmt): Likewise.
(finish_while_stmt_cond): Likewise.
(finish_while_stmt): Likewise.
(begin_do_stmt): Likewise.
(finish_do_body): Likewise.
(finish_do_stmt): Likewise.
(finish_return_stmt): Likewise.
(begin_for_stmt): Likewise.
(finish_for_init_stmt): Likewise.
(finish_for_cond): Likewise.
(finish_for_expr): Likewise.
(finish_break_stmt): Likewise.
(finish_continue_stmt): Likewise.
(begin_switch_stmt): Likewise.
(finish_switch_cond): Likewise.
(finish_case_label): Likewise.
(begin_try_block): Likewise.
(begin_function_try_block): Likewise.
(finish_try_block): Likewise.
(finish_cleanup_try_block): Likewise.
(finish_cleanup): Likewise.
(finish_function_try_block): Likewise.
(finish_handler_sequence): Likewise.
(finish_function_handler_sequence): Likewise.
(begin_handler): Likewise.
(finish_handler_parms): Likewise.
(begin_catch_block): Likewise.
(finish_handler): Likewise.
(begin_compound_stmt): Likewise.
(finish_compound_stmt): Likewise.
(finish_asm_stmt): Likewise.
(finish_label_stmt): Likewise.
(finish_label_decl): Likewise.
(finish_subobject): Likewise.
(finish_decl_cleanup): Likewise.
(finish_named_return_value): Likewise.
(begin_stmt_expr): Likewise.
(finish_stmt_expr): Likewise.

* cp/decl.c (initialize_local_var): Changed call to finish_expr_stmt
to call genrtl_expr_stmt when appropriate.

* cp/init.c (begin_init_stmts): Changed calls to begin_stmt_expr and
begin_compound_expr to call genrtl_begin_stmt_expr and
genrtl_begin_compound_expr when appropriate.
(finish_init_stmts): Changed calls to finish_compound_expr and
finish_stmt_expr to call genrtl_finish_compound_expr and
genrtl_finish_stmt_expr when appropriate.
(expand_default_init): Changed call to finish_expr_stmt to call
genrtl_expr_stmt when appropriate.
(build_vec_init): Likewise.

* cp/parse.y (simple_stmt): Removed first argument from call to
finish_for_stmt. Removed first argument from call to
finish_switch_stmt.

* cp/parse.c: Regenerated.

* cp/pt.c (tsubst_expr): Removed first argument from call to
finish_for_stmt. Removed first argument from call to
finish_switch_stmt.

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

23 years ago * configure.in (--enable-checking): Update --help doc to reflect
ghazi [Mon, 19 Jun 2000 17:23:54 +0000 (17:23 +0000)]
* configure.in (--enable-checking): Update --help doc to reflect
new defaults.  Ensure $ac_save_IFS is set before $IFS is changed.

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

23 years agogcc/po:
pthomas [Mon, 19 Jun 2000 07:59:20 +0000 (07:59 +0000)]
gcc/po:

2000-06-19  Philipp Thomas  <pthomas@suse.de>

* POTFILES.in: change entries for dyn-string.[ch]

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

23 years agoDaily bump.
law [Mon, 19 Jun 2000 07:45:12 +0000 (07:45 +0000)]
Daily bump.

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

23 years ago2000-06-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
bkoz [Mon, 19 Jun 2000 03:14:40 +0000 (03:14 +0000)]
2000-06-14  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

       * src/Makefile.am (string_sources): Simplify, assuming that with
-ffunction-sections, -fdata-sections, -Wl,--gc-sections, all this
hacking is not necessary.
        (wstring_sources): Same.
        (OPTIMIZE_CXXFLAGS): Enable -fdata-sections -ffunction-sections
-Wl,--gc-sections.
* src/string-inst.cc: Remove macro blocks.
* mkcheck.in (CXX_FLAG): Add bits here.

* src/string-inst.cc: Remove iostream-related string instantiations.
* src/misc-inst.cc: Add here.

* acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change FMTFLAGS
to WFMT_FLAGS.
* aclocal.m4: Regenerate.
* configure.in: Change up.
* configure: Regenerate.

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

23 years ago * gcse.c (insert_insn_end_bb): Always put after NOTE_INSN_BASIC_BLOCK.
kenner [Mon, 19 Jun 2000 01:40:32 +0000 (01:40 +0000)]
* gcse.c (insert_insn_end_bb): Always put after NOTE_INSN_BASIC_BLOCK.

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

23 years ago * function.c (put_var_into_stack): Don't reference DECL_ fields
kenner [Mon, 19 Jun 2000 01:33:32 +0000 (01:33 +0000)]
* function.c (put_var_into_stack): Don't reference DECL_ fields
if input is a SAVE_EXPR.
Use set_mem_attributes in COMPLEX case.

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

23 years ago * java/lang/natClass.cc (forName): Removed dead code. Initialize
tromey [Sun, 18 Jun 2000 22:14:06 +0000 (22:14 +0000)]
* java/lang/natClass.cc (forName): Removed dead code.  Initialize
returned class.  For PR gcj/260.

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

23 years ago * config/ia64/ia64-protos.h (process_for_unwind_directive): Declare.
rth [Sun, 18 Jun 2000 18:54:43 +0000 (18:54 +0000)]
* config/ia64/ia64-protos.h (process_for_unwind_directive): Declare.
(ia64_file_start): Declare.
* config/ia64/ia64.h (ADDL_REGNO_P): Don't compare unsigned against 0.
(GR_REGNO_P): Likewise.
* config/ia64/ia64.c: Many prototypes.
(ia64_reg_numbers): Constify.
(ia64_input_reg_names, ia64_local_reg_names): Likewise.
(ia64_section_threshold): Make unsigned.
(ia64_print_operand): Constify.
(fix_range): Constify.
(ia64_init_builtins): Don't compare signed vs unsigned.
(ia64_expand_builtin): Likewise.

* config/ia64/ia64.h (EXTRA_CONSTRAINT): New.
(CONSTRAINT_OK_FOR_Q): New.
* config/ia64/ia64.md (movdi_internal): Use Q for fp<->mem.
(movsf_internal, movdf_internal): Likewise.
(cmovdi_internal): Rewrite so that constraints and predicates match;
simplify splitters.
(cmovsi_internal): Likewise.

* config/ia64/ia64.h (ASM_SPEC): Add -x for gas.
(ASM_FILE_START): New.
* config/ia64/ia64.c (ia64_file_start): New.
(rtx_needs_barrier): Handle pred.rel.mutex.
(emit_predicate_relation_info): New.
* config/ia64/ia64.md (pred_rel_mutex): New.
* config/ia64/linux.h (ASM_SPEC): Define.
* config/ia64/sysv4.h (ASM_FILE_START): Define.

* config/ia64/ia64.c (ia64_encode_section_info): Fix thinko
filtering global register variables.

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

23 years ago * c-common.c (add_c_tree_codes): Fix definition for traditional C.
ghazi [Sun, 18 Jun 2000 13:09:26 +0000 (13:09 +0000)]
* c-common.c (add_c_tree_codes): Fix definition for traditional C.

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

23 years agoDaily bump.
law [Sun, 18 Jun 2000 07:45:08 +0000 (07:45 +0000)]
Daily bump.

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

23 years agoFix spec %v3
meissner [Sun, 18 Jun 2000 02:37:02 +0000 (02:37 +0000)]
Fix spec %v3

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

23 years agomodified make check test output
korbb [Sat, 17 Jun 2000 19:54:04 +0000 (19:54 +0000)]
modified make check test output

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

23 years agoobsolete test result file
korbb [Sat, 17 Jun 2000 19:48:41 +0000 (19:48 +0000)]
obsolete test result file

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

23 years agonew test result files
korbb [Sat, 17 Jun 2000 19:48:12 +0000 (19:48 +0000)]
new test result files

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

23 years agoreorder some files= entries
korbb [Sat, 17 Jun 2000 19:43:21 +0000 (19:43 +0000)]
reorder some files= entries

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

23 years agofinish the implementation of multiple tests per fix
korbb [Sat, 17 Jun 2000 17:50:12 +0000 (17:50 +0000)]
finish the implementation of multiple tests per fix

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

23 years ago * gcc.texi: Remove reference to stupid.c.
kenner [Sat, 17 Jun 2000 14:26:30 +0000 (14:26 +0000)]
* gcc.texi: Remove reference to stupid.c.

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

23 years ago2000-05-17 H.J. Lu (hjl@gnu.org)
toon [Sat, 17 Jun 2000 13:53:59 +0000 (13:53 +0000)]
2000-05-17  H.J. Lu  (hjl@gnu.org)

* Make-lang.in: Use a unique stamp for each target to support
parallel make.

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

23 years agoDaily bump.
law [Sat, 17 Jun 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.

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

23 years ago * c-common.c (c_tree_code_type): New array.
chelf [Sat, 17 Jun 2000 02:37:23 +0000 (02:37 +0000)]
* c-common.c (c_tree_code_type): New array.
        (c_tree_code_length): Likewise.
(c_tree_code_name): Likewise.
(add_c_tree_codes): New function.

        * c-common.h (add_c_tree_codes): Declare.
        (enum c_tree_code): New enum.

* c-lex.c (init_parse): Added call to add_c_tree_codes.

        * cp/cp-tree.h (enum cplus_tree_code): Changed __DUMMY to
CP_DUMMY_TREE_CODE. Remove #include "c-common.def".

* cp/lex.c (cplus_tree_code_type[]): Removed #include "c-common.def".
        (cplus_tree_code_length[]): Likewise.
        (cplus_tree_code_name[]): Likewise.
(init_parse): Added call to add_c_tree_codes. Changed
LAST_AND_UNUSED_TREE_CODE to LAST_C_TREE_CODE.

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

23 years ago * fixinc/inclhack.def (ctrl_quotes_def, io_quotes_def): Modify
ghazi [Fri, 16 Jun 2000 20:38:42 +0000 (20:38 +0000)]
* fixinc/inclhack.def (ctrl_quotes_def, io_quotes_def): Modify
select pattern to also match macro defs with only one argument.

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

23 years ago Fix for PR libgcj/261:
tromey [Fri, 16 Jun 2000 15:52:24 +0000 (15:52 +0000)]
Fix for PR libgcj/261:
* include/win32-signal.h (MAKE_THROW_FRAME): Added `_exception'
argument.
* include/sparc-signal.h (MAKE_THROW_FRAME): Added `_exception'
argument.  (This is a patch from long ago that somehow went
missing.)

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

23 years ago * cp-tree.h (finish_mem_initializers): Declare.
mmitchel [Fri, 16 Jun 2000 15:35:10 +0000 (15:35 +0000)]
* cp-tree.h (finish_mem_initializers): Declare.
(count_trees): Likewise.
* parse.y (base_init): Use finish_mem_initializers.
* semantics.c (finish_mem_initializers): New function.

* tree.c (count_trees_r): Prototype.  Use DATA parameter to store
the number of trees.
(n_trees): Remove.
(count_trees): Don't use it.

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

23 years ago * gcc.c-torture/execute/loop-6.c: New test.
jakub [Fri, 16 Jun 2000 11:14:56 +0000 (11:14 +0000)]
* gcc.c-torture/execute/loop-6.c: New test.

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

23 years agoDaily bump.
law [Fri, 16 Jun 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.

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

23 years ago * cp-tree.h (struct language_function): Remove x_base_init_list
mmitchel [Fri, 16 Jun 2000 07:34:51 +0000 (07:34 +0000)]
* cp-tree.h (struct language_function): Remove x_base_init_list
and x_member_init_list.
(current_base_init_list): Remove.
(current_member_init_list): Likewise.
(setup_vtbl_ptr): Change prototype.
(emit_base_init): Likewise.
(expand_member_init): Likewise.
(reinit_parse_for_function): Remove.
* decl.c (save_function_data): Don't clear x_base_init_list and
x_member_init_list.
(mark_language_function): Don't mark them.
* init.c (perform_member_init): Tweak comment.
(sort_member_init): Take the list of initializers as an argument.
(sort_base_init): Likewise.
(emit_base_init): Likewise.
(expand_member_init): Return the initializer.  Don't use global
variables.
* lex.c (reinit_parse_for_function): Remove.
* method.c (build_template_parm_names): Correct substitution.
(do_build_copy_constructor): Don't use current_member_init_list
and current_base_init_list.
(synthesize_method): Likewise.
* parse.y (base_init): Split mem-initializers into
base-initializers and field-initializers.
(member_init_list): Build up the list here.
(member_init): Return the initializer.
(fn.depfn): Don't use reinit_parse_for_function.
* parse.c: Regenerated.
* pt.c (convert_nontype_argument): Don't make an ADDR_EXPR of the
ERROR_MARK.
(tsubst_expr): Don't use current_member_init_list
and current_base_init_list.
(tsubst_expr_values): Rename to ...
(tsubst_initializer_list): ... this.  Use convert_from_reference.
* semantics.c (setup_vtbl_ptr): Don't use current_member_init_list
and current_base_init_list.
(begin_function_definition): Don't call reinit_parse_for_function.

* dump.c (dequeue_and_dump): Use TREE_VEC_LENGTH with vectors.

* error.c (dump_expr): Handle ADDR_EXPRs with REFERENCE_TYPE
correctly.

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

23 years ago * gnu/gcj/convert/natIconv.cc (iconv_adapter): New function.
tromey [Fri, 16 Jun 2000 01:11:12 +0000 (01:11 +0000)]
* gnu/gcj/convert/natIconv.cc (iconv_adapter): New function.
(read): Use it.
(write): Likewise.

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

23 years ago * i386.md: Create new [right,left] rotate and right shift
law [Fri, 16 Jun 2000 00:59:02 +0000 (00:59 +0000)]
* i386.md: Create new [right,left] rotate and right shift
patterns to optimize shift by 1 bit for certain ia32 processors.
Update patterns which perform left shifts to optimize shift by
1 bit for certain ia32 processors.
* i386.c (const_int_1_operand): New predicate.
* i386.h (PREDICATE_CODES): Handle const_int_1_operand.
* i386-protos.h (const_int_1_operand): Prototype.

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

23 years ago * tree.c (count_trees): New debugging function.
jason [Thu, 15 Jun 2000 21:24:39 +0000 (21:24 +0000)]
    * tree.c (count_trees): New debugging function.

        * typeck.c (build_x_function_call): Use DECL_FUNCTION_TEMPLATE_P.
        * init.c (build_member_call): Pull out the name of a DECL.

        * Makefile.in (semantics.o, pt.o): Depend on TIMEVAR_H.
        * semantics.c (expand_body): Push to TV_INTEGRATION here.
        * optimize.c (optimize_function): Not here.
        * pt.c (instantiate_decl): Push to TV_PARSE.

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

23 years ago * cp-tree.h (DECL_PENDING_INLINE_P): Relax checking.
mmitchel [Thu, 15 Jun 2000 18:24:04 +0000 (18:24 +0000)]
* cp-tree.h (DECL_PENDING_INLINE_P): Relax checking.

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

23 years ago * jcf-write.c (CHECK_PUT): Add static prototype. Make pointer
ghazi [Thu, 15 Jun 2000 18:08:44 +0000 (18:08 +0000)]
    * jcf-write.c (CHECK_PUT): Add static prototype.  Make pointer
        types the same in comparison.
        (CHECK_OP): Add static prototype.

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

23 years ago * ste.c (gbe_block): Constify.
ghazi [Thu, 15 Jun 2000 18:05:03 +0000 (18:05 +0000)]
    * ste.c (gbe_block): Constify.

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

23 years ago * gcc.dg/20000614-1.c: New test.
jakub [Thu, 15 Jun 2000 15:25:52 +0000 (15:25 +0000)]
* gcc.dg/20000614-1.c: New test.
* gcc.dg/20000614-2.c: New test.

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

23 years ago2000-06-15 Bryce McKinlay <bryce@albatross.co.nz>
bryce [Thu, 15 Jun 2000 12:04:50 +0000 (12:04 +0000)]
2000-06-15  Bryce McKinlay  <bryce@albatross.co.nz>

Fix for PR java.lang/258:
* prims.cc (_Jv_PrimClass): Set state of primitive class to
JV_STATE_DONE, to prevent accidental initialization.
* java/lang/natClass.cc (_Jv_IsAssignableFrom): Call
_Jv_InterfaceAssignableFrom if target is an interface and source is
an interface or an abstract class. Remove redundant initializeClass
calls. Remove duplicate if_idt test.
(_Jv_InterfaceAssignableFrom): New function.
* java/lang/Class.h (_Jv_InterfaceAssignableFrom): Prototype.

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

23 years ago2000-06-15 Bryce McKinlay <bryce@albatross.co.nz>
bryce [Thu, 15 Jun 2000 11:58:18 +0000 (11:58 +0000)]
2000-06-15  Bryce McKinlay  <bryce@albatross.co.nz>

Fix for PR java.lang/258:
* prims.cc (_Jv_PrimClass): Set state of primitive class to
JV_STATE_DONE, to prevent accidental initialization.
* java/lang/natClass.cc (_Jv_IsAssignableFrom): Call
_Jv_InterfaceAssignableFrom if target is an interface and source is
an interface or an abstract class. Remove redundant initializeClass
calls. Remove duplicate if_idt test.
* java/lang/Class.h (_Jv_InterfaceAssignableFrom): New function.

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

23 years agoDaily bump.
law [Thu, 15 Jun 2000 07:45:08 +0000 (07:45 +0000)]
Daily bump.

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

23 years agomore 16-bit/h8300 tweaks
jason [Thu, 15 Jun 2000 00:14:08 +0000 (00:14 +0000)]
more 16-bit/h8300 tweaks

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

23 years ago * mips.c (machine_dependent_reorg): Fix braces for nested if.
amylaar [Wed, 14 Jun 2000 22:47:56 +0000 (22:47 +0000)]
* mips.c (machine_dependent_reorg): Fix braces for nested if.

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

23 years ago2000-06-14 Geoff Keating <geoffk@cygnus.com>
dje [Wed, 14 Jun 2000 21:45:43 +0000 (21:45 +0000)]
2000-06-14  Geoff Keating  <geoffk@cygnus.com>

* rs6000.c (toc_hash_eq): Use CODE_LABEL_NUMBER to compare
LABEL_REFs.

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

23 years ago * conflict.c (conflict_graph_compute): Don't look for REG_INC.
rth [Wed, 14 Jun 2000 21:08:15 +0000 (21:08 +0000)]
    * conflict.c (conflict_graph_compute): Don't look for REG_INC.

        * config/ia64/ia64.c (ia64_setup_incoming_varargs): Don't emit
        auto-inc code.

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

23 years ago * print-rtl.c (print_rtx): Emit space before mem alias set.
rth [Wed, 14 Jun 2000 21:04:42 +0000 (21:04 +0000)]
    * print-rtl.c (print_rtx): Emit space before mem alias set.

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

23 years ago * rs6000.c (expand_block_move): Fix typo in earlier change.
dje [Wed, 14 Jun 2000 20:26:17 +0000 (20:26 +0000)]
* rs6000.c (expand_block_move): Fix typo in earlier change.
(print_operand): Remove unused variables neg and op.
(toc_hash_mark_entry): Fix prototype.

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

23 years ago * g++.old-deja/g++.other/inline12.C: New test.
hp [Wed, 14 Jun 2000 19:04:08 +0000 (19:04 +0000)]
* g++.old-deja/g++.other/inline12.C: New test.

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

23 years ago* c-common.def: New file.
chelf [Wed, 14 Jun 2000 18:21:44 +0000 (18:21 +0000)]
* c-common.def: New file.

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

23 years ago * c-common.h (IF_COND): Moved here from cp/cp-tree.h.
chelf [Wed, 14 Jun 2000 17:26:18 +0000 (17:26 +0000)]
* c-common.h (IF_COND): Moved here from cp/cp-tree.h.
(THEN_CLAUSE): Likewise.
(ELSE_CLAUSE): Likewise.
(WHILE_COND): Likewise.
(WHILE_BODY): Likewise.
(DO_COND): Likewise.
(DO_BODY): Likewise.
(RETURN_EXPR): Likewise.
(EXPR_STMT_EXPR): Likewise.
(FOR_INIT_STMT): Likewise.
(FOR_COND): Likewise.
(FOR_EXPR): Likewise.
(FOR_BODY): Likewise.
(SWITCH_COND): Likewise.
(SWITCH_BODY): Likewise.
(CASE_LOW): Likewise.
(CASE_HIGH): Likewise.
(GOTO_DESTINATION): Likewise.
(COMPOUND_BODY): Likewise.
(ASM_CV_QUAL): Likewise.
(ASM_STRING): Likewise.
(ASM_OUTPUTS): Likewise.
(ASM_INPUTS): Likewise.
(ASM_CLOBBERS): Likewise.
(DECL_STMT_DECL): Likewise.
(STMT_EXPR_STMT): Likewise.
(LABEL_STMT_LABEL): Likewise.
(SCOPE_BEGIN_P): Likewise.
(SCOPE_END_P): Likewise.
(SCOPE_STMT_BLOCK): Likewise.
(SCOPE_NULLIFIED_P): Likewise.
(SCOPE_NO_CLEANUPS_P): Likewise.
(SCOPE_PARTIAL_P): Likewise.
(ASM_VOLATILE_P): Likewise.
(STMT_LINENO): Likewise.
(STMT_LINENO_FOR_FN_P): Likewise.

* c-common.def: Added SRCLOC, SIZEOF_EXPR, ARROW_EXPR,
ALIGNOF_EXPR, EXPR_STMT, COMPOUND_STMT, DECL_STMT, IF_STMT,
FOR_STMT, WHILE_STMT, DO_STMT, RETURN_STMT, BREAK_STMT,
CONTINUE_STMT, SWITCH_STMT, GOTO_STMT, LABEL_STMT, ASM_STMT,
SCOPE_STMT, CASE_LABEL, STMT_EXPR.

* gencheck.c (tree_codes[]): Added '#include "c-common.def"'.

* cp/cp-tree.h (IF_COND): Move to c-common.h.
(THEN_CLAUSE): Likewise.
(ELSE_CLAUSE): Likewise.
(WHILE_COND): Likewise.
(WHILE_BODY): Likewise.
(DO_COND): Likewise.
(DO_BODY): Likewise.
(RETURN_EXPR): Likewise.
(EXPR_STMT_EXPR): Likewise.
(FOR_INIT_STMT): Likewise.
(FOR_COND): Likewise.
(FOR_EXPR): Likewise.
(FOR_BODY): Likewise.
(SWITCH_COND): Likewise.
(SWITCH_BODY): Likewise.
(CASE_LOW): Likewise.
(CASE_HIGH): Likewise.
(GOTO_DESTINATION): Likewise.
(COMPOUND_BODY): Likewise.
(ASM_CV_QUAL): Likewise.
(ASM_STRING): Likewise.
(ASM_OUTPUTS): Likewise.
(ASM_INPUTS): Likewise.
(ASM_CLOBBERS): Likewise.
(DECL_STMT_DECL): Likewise.
(STMT_EXPR_STMT): Likewise.
(LABEL_STMT_LABEL): Likewise.
(SCOPE_BEGIN_P): Likewise.
(SCOPE_END_P): Likewise.
(SCOPE_STMT_BLOCK): Likewise.
(SCOPE_NULLIFIED_P): Likewise.
(SCOPE_NO_CLEANUPS_P): Likewise.
(SCOPE_PARTIAL_P): Likewise.
(ASM_VOLATILE_P): Likewise.
(STMT_LINENO): Likewise.
(STMT_LINENO_FOR_FN_P): Likewise.

* cp/cp-tree.def: Removed SRCLOC, SIZEOF_EXPR, ARROW_EXPR,
ALIGNOF_EXPR, EXPR_STMT, COMPOUND_STMT, DECL_STMT, IF_STMT,
FOR_STMT, WHILE_STMT, DO_STMT, RETURN_STMT, BREAK_STMT,
CONTINUE_STMT, SWITCH_STMT, GOTO_STMT, LABEL_STMT, ASM_STMT,
SCOPE_STMT, CASE_LABEL, STMT_EXPR.

* cp/Makefile.in (CXX_TREE_H): Added $(srcdir)/../c-common.def.

* cp/Make-lang.in (CXX_SRCS): Added $(srcdir)/c-common.def.
(cc1plus$(exeext)): Added $(srcdir)/c-common.def.

* cp/lex.c (cplus_tree_code_type[]): Added '#include "c-common.def"'.
(cplus_tree_code_length[]): Added '#include "c-common.def"'.
(cplus_tree_code_name[]): Added '#include "c-common.def"'.

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

23 years agoThinko in last change.
law [Wed, 14 Jun 2000 16:38:54 +0000 (16:38 +0000)]
Thinko in last change.

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

23 years ago * gcc.c (main): Quiet compiler warnings. argv is assumed to be
law [Wed, 14 Jun 2000 16:35:16 +0000 (16:35 +0000)]
    * gcc.c (main): Quiet compiler warnings.  argv is assumed to be
        writable in parts of the GCC code.

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

23 years ago * cp-tree.h (BINFO_OVERRIDE_ALONG_VIRTUAL_PATH): New macro.
mmitchel [Wed, 14 Jun 2000 16:10:14 +0000 (16:10 +0000)]
* cp-tree.h (BINFO_OVERRIDE_ALONG_VIRTUAL_PATH): New macro.
* class.c (dfs_find_final_overrider): Set it appropriately.
(dfs_built_vtt_inits): Check BINFO_OVERRIDE_ALONG_VIRTUAL_PATH to
avoid unneeded secondary vptrs.

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

23 years ago * config/elfos.h (ASM_GENERATE_INTERNAL_LABEL): Make printf
law [Wed, 14 Jun 2000 16:08:28 +0000 (16:08 +0000)]
    * config/elfos.h (ASM_GENERATE_INTERNAL_LABEL): Make printf
        specification match cast.

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

23 years ago * configure.in: Revert AC_TYPE_GETGROUPS patch from June 13.
law [Wed, 14 Jun 2000 15:30:12 +0000 (15:30 +0000)]
    * configure.in: Revert AC_TYPE_GETGROUPS patch from June 13.
        * configure, config.in: Rebuilt.
* sys-protos.h: Similarly.

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

23 years ago * configure.in: Revert AC_TYPE_GETGROUPS patch from June 13.
law [Wed, 14 Jun 2000 15:27:58 +0000 (15:27 +0000)]
    * configure.in: Revert AC_TYPE_GETGROUPS patch from June 13.
        * configure, config.in: Rebuilt.

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

23 years ago * g++.old-deja/g++.other/eh1.C: New test.
jakub [Wed, 14 Jun 2000 08:59:54 +0000 (08:59 +0000)]
* g++.old-deja/g++.other/eh1.C: New test.
* g++.old-deja/g++.other/type.C: New test.
* g++.old-deja/g++.other/initstring.C: New test.

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

23 years agoAdd Build don't link which disappeared on the way
jakub [Wed, 14 Jun 2000 08:47:38 +0000 (08:47 +0000)]
Add Build don't link which disappeared on the way

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

23 years agoDaily bump.
law [Wed, 14 Jun 2000 07:45:08 +0000 (07:45 +0000)]
Daily bump.

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

23 years ago * ifcvt.c (EDGE_COMPLEX): Move definition ...
wehle [Wed, 14 Jun 2000 07:41:57 +0000 (07:41 +0000)]
* ifcvt.c (EDGE_COMPLEX): Move definition ...
* basic-block.h (EDGE_COMPLEX): ... here.

* loop.c (check_dbra_loop): Specify the register when
generating REG_NONNEG notes and don't generate duplicates.

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

23 years ago * tree.h (TYPE_USER_ALIGN, DECL_USER_ALIGN): Define.
jakub [Wed, 14 Jun 2000 05:30:09 +0000 (05:30 +0000)]
* tree.h (TYPE_USER_ALIGN, DECL_USER_ALIGN): Define.
(struct tree_type, struct tree_decl): Add user_align member.
* stor-layout.c (layout_decl): Set DECL_USER_ALIGN.
(place_union_field): If BIGGEST_FIELD_ALIGNMENT is defined
and DECL_USER_ALIGN 0, cap alignment to this value.
(place_field): Likewise.
(finalize_type_size): Set TYPE_USER_ALIGN.
(layout_type): Likewise.
(initialize_sizetypes): Likewise.
* c-common.c (decl_attributes): Set TYPE_USER_ALIGN resp.
DECL_USER_ALIGN to 1.
* c-decl.c (duplicate_decls): Set DECL_USER_ALIGN.
(xfer_tag): Set TYPE_USER_ALIGN.
(finish_struct): Set DECL_USER_ALIGN resp. TYPE_USER_ALIGN.
(finish_enum): Likewise.
* stmt.c (expand_decl): Set DECL_USER_ALIGN.
(expand_anon_union_decl): Likewise.
* tree.c (make_node): Set DECL_USER_ALIGN resp. TYPE_USER_ALIGN.
(build_index_type): Set TYPE_USER_ALIGN.
(build_range_type): Likewise.
(build_common_tree_nodes_2): Likewise.
* tm.texi (BIGGEST_FIELD_ALIGNMENT): Document the changed meaning.

ch/:
* decl.c (init_decl_processing): Set TYPE_USER_ALIGN.
(layout_enum): Set DECL_USER_ALIGN resp. TYPE_USER_ALIGN.
* typeck.c (layout_chill_range_type): Set TYPE_USER_ALIGN.
(apply_chill_field_layout): Set DECL_USER_ALIGN.
(layout_chill_struct_type): Set TYPE_USER_ALIGN.

cp/:
* class.c (build_secondary_vtable): Set DECL_USER_ALIGN.
(check_bitfield_decl, check_field_decl): Likewise.
(build_vtbl_or_vbase_field, build_base_field): Likewise.
(layout_class_type): Set DECL_USER_ALIGN resp. CLASSTYPE_USER_ALIGN.
* decl.c (record_unknown_type): Set TYPE_USER_ALIGN.
(xfer_tag, finish_enum): Likewise.
* decl2.c (finish_builtin_type): Likewise.
* init.c (init_init_processing): Likewise.
* pt.c (instantiate_class_template): Likewise.
* rtti.c (get_tinfo_decl, synthesize_tinfo_fn): Set DECL_USER_ALIGN.
* cp-tree.h (struct lang_type): Add user_align member.
(CLASSTYPE_USER_ALIGN): Define.

f/:
* com.c (ffecom_transform_common_): Set DECL_USER_ALIGN.
(ffecom_transform_equiv_, ffecom_decl_field): Likewise.
(ffecom_init_0): Set DECL_USER_ALIGN resp. TYPE_USER_ALIGN.
(duplicate_decls): Set DECL_USER_ALIGN.

java/:
* typeck.c (build_java_array_type): Set TYPE_USER_ALIGN.
* parse.y (java_complete_class): Set DECL_USER_ALIGN.
* parse.c: Rebuilt.

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

23 years ago * configure.in: Use --enable-checking=misc,tree,gc by default if
law [Wed, 14 Jun 2000 03:06:30 +0000 (03:06 +0000)]
    * configure.in: Use --enable-checking=misc,tree,gc by default if
        no --enable-checking option is given and for
        --enable-checking=yes.
        * configure: Rebuilt.

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

23 years ago2000-06-13 Steven King <sxking@uswest.net>
bkoz [Wed, 14 Jun 2000 01:16:03 +0000 (01:16 +0000)]
2000-06-13  Steven King  <sxking@uswest.net>

        * acinclude.m4:  Fixup some of the builtin math tests and add tests for
        __builtin_fmod* and test libm for fmodf, fmodl or _fmodf, _fmodl.
        * acconfig.h: Add entries for fmod*.

2000-06-13  Branko Cibej  <branko.cibej@hermes.si>

        * bits/std_cmath.h:  Fix typos in tests (*_FMODFF -> *_FMODF).
        Test  *_MODFF not *_MODF for modf(float, float*).
        (modf(float, float*)): Remove reference to _C_legacy.

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

23 years ago2000-06-13 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 14 Jun 2000 00:12:42 +0000 (00:12 +0000)]
2000-06-13  Benjamin Kosnik  <bkoz@redhat.com>

        * acinclude.m4 (enable_cshadow_headers): Change CSHADOWFLAGS to
_GNU_SOURCE instead of _ISOC9X_SOURCE, as _GNU_SOURCE is the
superset, and already defined at top level.
        * aclocal.m4: Regenerate.
        * configure: Regenerate.

* docs/17_intro/contribute.html: Plead with people to use -cp.

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

23 years ago2000-06-13 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 14 Jun 2000 00:01:08 +0000 (00:01 +0000)]
2000-06-13  Benjamin Kosnik  <bkoz@redhat.com>

        * acinclude.m4 (enable_cshadow_headers): Change CSHADOWFLAGS to
_GNU_SOURCE instead of _ISOC9X_SOURCE, as _GNU_SOURCE is the
superset, and already defined at top level.
        * aclocal.m4: Regenerate.
        * configure: Regenerate.

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

23 years agoFix a stupid typo.
warrenl [Tue, 13 Jun 2000 23:52:00 +0000 (23:52 +0000)]
Fix a stupid typo.

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

23 years ago2000-06-13 Anthony Williams <anthony@anthonyw.cjb.net>
bkoz [Tue, 13 Jun 2000 23:48:29 +0000 (23:48 +0000)]
2000-06-13  Anthony Williams  <anthony@anthonyw.cjb.net>

* testsuite/23_containers/bitset_ctor.cc: Qualify reverse wth std::.

* testsuite/27_io/filebuf.cc: Changed calls to
fpos<>._M_position() to implicit calls to operator streamoff().
* testsuite/27_io/iostream_objects.cc: Removed #include <ciso646>,
as not needed. Revert, as part of standard.
* testsuite/27_io/ostream_inserter_arith.cc: Replaced explicit
call to numpunct<>._M_init() with overrides of the appropriate
virtual functions.

* testsuite/27_io/stringstream.cc: Removed unnecessary char *
pointers from test01, so no need to call base(), which isn't
guaranteed to be implemented as iterators may themselves be pointers
* testsuite/27_io/stringbuf.cc: Removed unnecessary calls to
_M_position() - use implicit conversion to streamoff instead

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

23 years ago2000-06-13 Thomas Holenstein <thomas@hex.ch>
bkoz [Tue, 13 Jun 2000 23:48:02 +0000 (23:48 +0000)]
2000-06-13  Thomas Holenstein  <thomas@hex.ch>

        * bits/stl_iterator.h: Added inline to operators == to >=.

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

23 years agocomplain about long long
jason [Tue, 13 Jun 2000 23:47:37 +0000 (23:47 +0000)]
complain about long long

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

23 years ago Test for PR java.lang/258:
warrenl [Tue, 13 Jun 2000 23:44:05 +0000 (23:44 +0000)]
Test for PR java.lang/258:
* libjava.lang/Class_1.java: New file.
* libjava.lang/Class_1.out: New file.

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

23 years ago * libgcc2.c (ia64_throw_helper): Use __builtin_return_address.
rth [Tue, 13 Jun 2000 23:36:19 +0000 (23:36 +0000)]
    * libgcc2.c (ia64_throw_helper): Use __builtin_return_address.
        (__throw): Don't pass the address of a label.

        * config/ia64/ia64.c (ia64_compute_frame_size): Use
        current_function_is_leaf.
        (ia64_expand_prologue): Likewise.  Modify return_address_pointer_rtx
        instead of reg_names[RETURN_ADDRESS_REGNUM].
        (ia64_init_machine_status): Reset return_address_pointer_rtx.
        * config/ia64/ia64.h (RETURN_ADDRESS_POINTER_REGNUM): Rename
        from RETURN_ADDRESS_REGNUM.  Update all uses.
        (RETURN_ADDR_RTX): Use return_address_pointer_rtx; return
        zero instead of null on failure.
        (ELIMINABLE_REGS): Add ra->b0 elimination.
        (CAN_ELIMINATE): Update accordingly.
        (INITIAL_ELIMINATION_OFFSET): Likewise.
        (REGISTER_NAMES): Use an illegal assembler name for
        RETURN_ADDRESS_POINTER_REGNUM.

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

23 years ago * config/ia64/ia64.h (enum reg_class): Remove FR_INT_REGS, FR_FP_REGS,
rth [Tue, 13 Jun 2000 23:19:50 +0000 (23:19 +0000)]
    * config/ia64/ia64.h (enum reg_class): Remove FR_INT_REGS, FR_FP_REGS,
        GR_AND_FR_INT_REGS, GR_AND_FR_FP_REGS.
        (REG_CLASS_NAMES): Likewise.
        (REG_CLASS_CONTENTS): Likewise.
        (FR_FP_REGNO_P, FR_INT_REGNO_P): Remove.
        (HARD_REGNO_MODE_OK): Remove references to them.
        (REGNO_REG_CLASS): Likewise.
        (REG_CLASS_FROM_LETTER): Likewise.
        (CLASS_MAX_NREGS): Likewise.
        (REGISTER_MOVE_COST): Likewise.
        * config/ia64/ia64.c (ia64_secondary_reload_class): Likewise.
        * config/ia64/ia64.md (*): Replace "e" constraints with "f".
        (movqi_internal): Special case moves from zero.
        (movhi_internal, movsi_internal): Likewise.
        (movdi_internal): Likewise.  Fill out "f" constraints.
        (movsf_internal): Fill out "r" constraints.
        (movdf_internal): Likewise.

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

23 years ago * flow.c (insn_dead_p): Keep sets to PIC_OFFSET_TABLE_REGNUM
rth [Tue, 13 Jun 2000 22:23:49 +0000 (22:23 +0000)]
    * flow.c (insn_dead_p): Keep sets to PIC_OFFSET_TABLE_REGNUM
        alive before reload.

        * haifa-sched.c (struct deps): Add in_post_call_group_p.
        (add_dependence): Handle notes between SCHED_GROUP_P insns.
        (remove_dependence): Always define.
        (set_sched_group_p): New.
        (sched_analyze_2): Use it.
        (sched_analyze_insn): Don't special-case naked uses.  Look for
        and extend in_post_call_group_p.
        (sched_analyze): Clear stale SCHED_GROUP_P.  Set in_post_call_group_p.
        (init_deps): Clear in_post_call_group_p.

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

23 years ago2000-06-13 Brent Verner <brent@rcfile.org>
bkoz [Tue, 13 Jun 2000 22:20:56 +0000 (22:20 +0000)]
2000-06-13  Brent Verner <brent@rcfile.org>

* bits/streambuf.tcc: repaired _S_copy_streambufs()
* testsuite/27_io/ostream_inserter_other.cc (test03): Added testcase.

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

23 years ago * Make-lang.in (c++.install-common): Install g++-cross in
law [Tue, 13 Jun 2000 21:49:33 +0000 (21:49 +0000)]
    * Make-lang.in (c++.install-common): Install g++-cross in
        $(gcc_tooldir)/bin as g++ and c++; g++ in $(bindir) as
        $(target_alias)-g++ and $(target_alias)-c++.

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

23 years ago * combine.c (subst): Use CLASS_CANNOT_CHANGE_MODE and
rth [Tue, 13 Jun 2000 21:47:44 +0000 (21:47 +0000)]
    * combine.c (subst): Use CLASS_CANNOT_CHANGE_MODE and
        CLASS_CANNOT_CHANGE_MODE_P instead of CLASS_CANNOT_CHANGE_SIZE
        and hard-coded tests.
        (simplify_set): Likewise.
        (gen_lowpart_for_combine): Likewise.
        * emit-rtl.c (gen_lowpart_common): Likewise.
        * global.c (find_reg): Likewise.
        * local-alloc.c (find_free_reg): Likewise.
        * recog.c (register_operand): Likewise.
        * regclass.c (init_reg_sets_1): Likewise.
        (record_operand_costs, regclass): Likewise.
        * reload.c (push_reload): Likewise.
        * reload1.c (choose_reload_regs): Likewise.
        * flow.c (mark_used_regs): Conditionally set REG_CHANGES_MODE.
        * local-alloc.c (struct qty): Rename changes_size to changes_mode.
        Update all references.
        * regs.h (struct reg_info_def): Likewise.
        (REG_CHANGES_MODE): Rename from REG_CHANGES_SIZE.
        * tm.texi (CLASS_CANNOT_CHANGE_MODE): Document.
        (CLASS_CANNOT_CHANGE_MODE_P): Likewise.

        * config/alpha/alpha.h (CLASS_CANNOT_CHANGE_MODE): Rename.
        (CLASS_CANNOT_CHANGE_MODE_P): New.
        * config/mips/mips.h: Likewise.
        * config/pa/pa32-regs.h: Likewise.
        * config/pa/pa64-regs.h: Likewise.
        * config/rs6000/rs6000.h: Likewise.
        * config/sh/sh.h: Likewise.
        * config/ia64/ia64.h (CLASS_CANNOT_CHANGE_MODE): New.
        (CLASS_CANNOT_CHANGE_MODE_P): New.
        * config/avr/avr.h (CLASS_CANNOT_CHANGE_SIZE): Remove dead code.
        * config/d30v/d30v.h: Likewise.

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

23 years ago * Make-lang.in (CHILL.install-common): Use $(INSTALL_SCRIPT), not
law [Tue, 13 Jun 2000 21:31:26 +0000 (21:31 +0000)]
    * Make-lang.in (CHILL.install-common): Use $(INSTALL_SCRIPT), not
        $(INSTALL_PROGRAM) for chill.install.

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

23 years ago * configure.in: Add AC_TYPE_GETGROUPS test.
law [Tue, 13 Jun 2000 21:28:31 +0000 (21:28 +0000)]
    * configure.in: Add AC_TYPE_GETGROUPS test.
        * sys-protos.h: Use GETGROUPS_T * for second arg of getgroups.
        * configure: Rebuilt.

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

23 years ago * explow.c (set_mem_attributes): Do nothing for NULL type.
rth [Tue, 13 Jun 2000 21:16:24 +0000 (21:16 +0000)]
    * explow.c (set_mem_attributes): Do nothing for NULL type.

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

23 years ago * config/m68k/openbsd.h (ASM_SPEC): pass down options to assembler
law [Tue, 13 Jun 2000 20:54:33 +0000 (20:54 +0000)]
    * config/m68k/openbsd.h (ASM_SPEC): pass down options to assembler
        correctly.

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

23 years agoFix typo found by bootstrap.
wilson [Tue, 13 Jun 2000 20:08:12 +0000 (20:08 +0000)]
Fix typo found by bootstrap.
* config/ia64/ia64.md (movxf_internal): Add missing "e" to ldf/stf.

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