platform/upstream/gcc.git
23 years agosh.c (prepare_move_operands): Use operands[0] as temporary if no_new_pseudos.
Alexandre Oliva [Fri, 19 Jan 2001 22:31:21 +0000 (22:31 +0000)]
sh.c (prepare_move_operands): Use operands[0] as temporary if no_new_pseudos.

* config/sh/sh.c (prepare_move_operands) [PIC]: Use operands[0] as
temporary if no_new_pseudos.

From-SVN: r39145

23 years ago* cppinternals.texi: Update.
Neil Booth [Fri, 19 Jan 2001 22:25:53 +0000 (22:25 +0000)]
* cppinternals.texi: Update.

From-SVN: r39144

23 years ago* arm.c (arm_init_builtins): Re-enable builtins.
Richard Earnshaw [Fri, 19 Jan 2001 21:42:52 +0000 (21:42 +0000)]
* arm.c (arm_init_builtins): Re-enable builtins.

From-SVN: r39143

23 years ago* decl2.c (flag_vtable_thunks): Also depend on ENABLE_NEW_GXX_ABI.
Jason Merrill [Fri, 19 Jan 2001 21:07:21 +0000 (16:07 -0500)]
* decl2.c (flag_vtable_thunks): Also depend on ENABLE_NEW_GXX_ABI.

From-SVN: r39142

23 years agortl.texi (SET, CLOBBER): Document PARALLEL as SET_DEST possibility.
Richard Kenner [Fri, 19 Jan 2001 18:28:58 +0000 (18:28 +0000)]
rtl.texi (SET, CLOBBER): Document PARALLEL as SET_DEST possibility.

* rtl.texi (SET, CLOBBER): Document PARALLEL as SET_DEST possibility.
* flow.c (mark_set_1, case PARALLEL): Don't require BLKmode, allow
element to be null, and always expect an EXPR_LIST.
* rtlanal.c (reg_overlap_mentioned_p, note_stores): Likewise.
* sched-deps.c (sched_analyze_1): Likewise.
* sched-rgn.c (check_live_1, update_live_1): Likewise.

From-SVN: r39141

23 years agoregclass.c (max_set_parallel): New variable.
Richard Kenner [Fri, 19 Jan 2001 18:09:17 +0000 (18:09 +0000)]
regclass.c (max_set_parallel): New variable.

* regclass.c (max_set_parallel): New variable.
(reg_scan): Take it into account in computation of max_parallel.
(reg_scan_mark_refs, case SET): Compute it.

From-SVN: r39140

23 years agoalias.c (rtx_equal_for_memref_p, [...]): Don't assume args are REG.
Richard Kenner [Fri, 19 Jan 2001 18:04:23 +0000 (13:04 -0500)]
alias.c (rtx_equal_for_memref_p, [...]): Don't assume args are REG.

* alias.c (rtx_equal_for_memref_p, case ADDRESSOF): Don't assume
args are REG.
* expr.c (store_constructor): Don't look at MEM_ALIAS_SET unless MEM.
* function.c (assign_parms): Use INTVAL for a CONST_INT.

From-SVN: r39139

23 years ago* gcc.c-torture/execute/20010119-1.c: New test.
Jakub Jelinek [Fri, 19 Jan 2001 18:03:44 +0000 (19:03 +0100)]
* gcc.c-torture/execute/20010119-1.c: New test.

From-SVN: r39138

23 years agodwarf2out.c (gen_subprogram_die): Don't reuse the in-class decl for the abstract...
Jason Merrill [Fri, 19 Jan 2001 17:11:15 +0000 (12:11 -0500)]
dwarf2out.c (gen_subprogram_die): Don't reuse the in-class decl for the abstract instance of an inline function.

        * dwarf2out.c (gen_subprogram_die): Don't reuse the in-class decl
        for the abstract instance of an inline function.

From-SVN: r39137

23 years agoImprove ChangeLog entry of previous patch
Alexandre Oliva [Fri, 19 Jan 2001 16:34:15 +0000 (16:34 +0000)]
Improve ChangeLog entry of previous patch

From-SVN: r39136

23 years agoreload1.c (move2add_note_store): Treat all registers about which no information is...
Alexandre Oliva [Fri, 19 Jan 2001 16:32:27 +0000 (16:32 +0000)]
reload1.c (move2add_note_store): Treat all registers about which no information is known as potential bases...

* reload1.c (move2add_note_store): Treat all registers about which
no information is known as potential bases, and treat all
registers directly or indirectly derived from it as members of the
same set of values.
(reload_cse_move2add): Adjust accordingly.  Take mode and
offset of base register into account.

From-SVN: r39135

23 years agotweak comments
Jason Merrill [Fri, 19 Jan 2001 15:23:34 +0000 (10:23 -0500)]
tweak comments

From-SVN: r39134

23 years agodecl2.c (arg_assoc_class): Fix double iteration logic.
Jason Merrill [Fri, 19 Jan 2001 15:12:33 +0000 (10:12 -0500)]
decl2.c (arg_assoc_class): Fix double iteration logic.

        * decl2.c (arg_assoc_class): Fix double iteration logic.

        * init.c (build_delete): Always call convert_force to strip cv-quals.

        * decl2.c (flag_new_abi): Depend on ENABLE_NEW_GXX_ABI.
        * lang-specs.h: Default ABI depends on ENABLE_NEW_GXX_ABI.
        * g++spec.c: Don't look at ENABLE_NEW_GXX_ABI.

From-SVN: r39133

23 years agosearch.c (get_vbase_1): Count only virtual bases.
Nathan Sidwell [Fri, 19 Jan 2001 13:32:53 +0000 (13:32 +0000)]
search.c (get_vbase_1): Count only virtual bases.

cp:
* search.c (get_vbase_1): Count only virtual bases.
testsuite:
* g++.old-deja/g++.other/vbase5.C: New test.

From-SVN: r39132

23 years ago* gcc.c-torture/execute/20010118-1.c: New test.
Jakub Jelinek [Fri, 19 Jan 2001 10:35:13 +0000 (11:35 +0100)]
* gcc.c-torture/execute/20010118-1.c: New test.

From-SVN: r39131

23 years agoclass.c (duplicate_tag_error): Robustify flag clearing.
Nathan Sidwell [Fri, 19 Jan 2001 09:27:34 +0000 (09:27 +0000)]
class.c (duplicate_tag_error): Robustify flag clearing.

cp:
* class.c (duplicate_tag_error): Robustify flag clearing.

From-SVN: r39130

23 years agocp-tree.h (lookup_template_class): Add complain parm.
Nathan Sidwell [Fri, 19 Jan 2001 09:24:20 +0000 (09:24 +0000)]
cp-tree.h (lookup_template_class): Add complain parm.

cp:
* cp-tree.h (lookup_template_class): Add complain parm.
* decl.c (lookup_namespace_name): Adjust call to
lookup_template_class.
(make_typename_type): Likewise.
* semantics.c (finish_template_type): Likewise.
* pt.c (lookup_template_class): Add complain parm. Adjust.
(tsubst_aggr_type): Pass COMPLAIN down to lookup_template_class.
(tsubst): Likewise.
testsuite:
* g++.old-deja/g++.pt/deduct3.C: New test.

From-SVN: r39129

23 years agoalias.c (find_base_value): Recognize TRUNCATE.
J"orn Rennecke [Fri, 19 Jan 2001 09:20:14 +0000 (09:20 +0000)]
alias.c (find_base_value): Recognize TRUNCATE.

* alias.c (find_base_value): Recognize TRUNCATE.
(record_set): In PLUS case, invalidate if other summand is also a
base value.

From-SVN: r39128

23 years agopt.c (copy_default_args_to_explicit_spec): Preserve object's CV quals.
Nathan Sidwell [Fri, 19 Jan 2001 09:19:33 +0000 (09:19 +0000)]
pt.c (copy_default_args_to_explicit_spec): Preserve object's CV quals.

cp:
* pt.c (copy_default_args_to_explicit_spec): Preserve
object's CV quals. Reorganize.
testsuite:
* g++.old-deja/g++.pt/spec34.C: New test.

From-SVN: r39127

23 years agoDaily bump.
Jeff Law [Fri, 19 Jan 2001 08:45:14 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r39126

23 years ago* g77.f-torture/compile/20000601-2.f: New test.
David Billinghurst [Fri, 19 Jan 2001 07:59:23 +0000 (07:59 +0000)]
* g77.f-torture/compile/20000601-2.f: New test.

From-SVN: r39125

23 years ago17_intro: Prepare testcases for new style DejaGnu framework.
Gabriel Dos Reis [Fri, 19 Jan 2001 02:52:27 +0000 (02:52 +0000)]
17_intro: Prepare testcases for new style DejaGnu framework.

2001-01-19  Gabriel Dos Reis  <gdr@codesourcery.com>

* testsuite/17_intro: Prepare testcases for new style DejaGnu
framework.

From-SVN: r39124

23 years agogcj.texi (Input Options): Mention .java files.
Per Bothner [Thu, 18 Jan 2001 22:36:23 +0000 (14:36 -0800)]
gcj.texi (Input Options): Mention .java files.

2001-01-18  Per Bothner  <per@bothner.com>

* gcj.texi (Input Options): Mention .java files.

From-SVN: r39123

23 years agoRemove extraneous conflict indicator
Nathan Sidwell [Thu, 18 Jan 2001 14:27:06 +0000 (14:27 +0000)]
Remove extraneous conflict indicator

From-SVN: r39122

23 years agotypeck.c (build_modify_expr): Say `initialization' for INIT_EXPRs.
Nathan Sidwell [Thu, 18 Jan 2001 14:25:03 +0000 (14:25 +0000)]
typeck.c (build_modify_expr): Say `initialization' for INIT_EXPRs.

cp:
* typeck.c (build_modify_expr): Say `initialization' for
INIT_EXPRs.
* init.c (build_default_init): Convert to enumeral type, if
needed.
testsuite:
* g++.old-deja/g++.other/init17.C: New test.

From-SVN: r39121

23 years agoFix typos in previous change
Richard Kenner [Thu, 18 Jan 2001 13:26:47 +0000 (08:26 -0500)]
Fix typos in previous change

From-SVN: r39120

23 years agoparse.y (nomods_initdcl0): Properly set things up for initdcl0_innards.
Jakub Jelinek [Thu, 18 Jan 2001 13:24:27 +0000 (14:24 +0100)]
parse.y (nomods_initdcl0): Properly set things up for initdcl0_innards.

* parse.y (nomods_initdcl0): Properly set things up for
initdcl0_innards.

From-SVN: r39119

23 years agoflow.c (mark_set_1, [...]): Now case; rework to allow entry to be EXPR_LIST.
Richard Kenner [Thu, 18 Jan 2001 13:14:34 +0000 (13:14 +0000)]
flow.c (mark_set_1, [...]): Now case; rework to allow entry to be EXPR_LIST.

* flow.c (mark_set_1, case PARALLEL): Now case; rework to allow
entry to be EXPR_LIST.
* rtlanal.c (reg_overlap_mentioned_p): Allow PARALLEL in SET to
be an EXPR_LIST (but not null, which other code doesn't allow).
(note_stores): Properly handle PARALLEL in SET.
Recursively call for top-level PARALLEL.
* sched-deps.c (sched_analyze_1): Handle EXPR_LIST in PARALLEL in SET.
* sched-rgn.c (check_live_1, update_live_1): Likewise.

From-SVN: r39118

23 years ago* config.gcc (rs6000-ibm-aix*, rs6000-bull-bosx): Add rs6000/aix.h.
Richard Kenner [Thu, 18 Jan 2001 13:03:43 +0000 (13:03 +0000)]
* config.gcc (rs6000-ibm-aix*, rs6000-bull-bosx): Add rs6000/aix.h.

From-SVN: r39117

23 years ago* gcc.dg/cpp/if-2.c: Adjust for signed wchar_t.
Alexandre Oliva [Thu, 18 Jan 2001 12:00:38 +0000 (12:00 +0000)]
* gcc.dg/cpp/if-2.c: Adjust for signed wchar_t.

From-SVN: r39116

23 years agopt.c (UNIFY_ALLOW_OUTER_LEVEL): New unify flag.
Nathan Sidwell [Thu, 18 Jan 2001 09:56:46 +0000 (09:56 +0000)]
pt.c (UNIFY_ALLOW_OUTER_LEVEL): New unify flag.

cp:
* pt.c (UNIFY_ALLOW_OUTER_LEVEL): New unify flag.
(type_unification_real): Set it.
(unify): Use it.
testsuite:
* g++.old-deja/g++.pt/unify8.C: New test.

From-SVN: r39115

23 years agodecl.c (finish_destructor_body): Convert to vbase pointer here.
Nathan Sidwell [Thu, 18 Jan 2001 09:39:13 +0000 (09:39 +0000)]
decl.c (finish_destructor_body): Convert to vbase pointer here.

cp:
* decl.c (finish_destructor_body): Convert to vbase pointer here.
testsuite:
* g++.old-deja/g++.abi/vbase1.C: New test.

From-SVN: r39114

23 years agosemantics.c (begin_class_definition): Check we're not inside a template parm list.
Nathan Sidwell [Thu, 18 Jan 2001 09:35:59 +0000 (09:35 +0000)]
semantics.c (begin_class_definition): Check we're not inside a template parm list.

cp:
* semantics.c (begin_class_definition): Check we're not inside a
template parm list.
testsuite:
* g++.old-deja/g++.pt/crash65.C: New test.

From-SVN: r39113

23 years agotree.c (walk_tree, TREE_LIST): Don't walk the TREE_PURPOSE of BASELINK_P.
Nathan Sidwell [Thu, 18 Jan 2001 09:33:08 +0000 (09:33 +0000)]
tree.c (walk_tree, TREE_LIST): Don't walk the TREE_PURPOSE of BASELINK_P.

cp:
* tree.c (walk_tree, TREE_LIST): Don't walk the TREE_PURPOSE of
BASELINK_P.

From-SVN: r39112

23 years agoDaily bump.
Jeff Law [Thu, 18 Jan 2001 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r39111

23 years agomkcheck.in: Construct file names that match $objdir structure.
Benjamin Kosnik [Thu, 18 Jan 2001 07:24:16 +0000 (07:24 +0000)]
mkcheck.in: Construct file names that match $objdir structure.

2001-01-17  Loren J. Rittle  <ljrittle@acm.org>

        * mkcheck.in: Construct file names that match $objdir structure.
        * testsuite/27_io/filebuf_members-1.txt: New file.
        * testsuite/27_io/ifstream_members-1.txt: New file.
        * testsuite/27_io/ostream_inserter_char-1.txt: New file.

* testsuite/27_io/ios_base_members_static.cc (test02): Add test.
* testsuite/27_io/ios_base_members_static-1.tst: Add expected output.

From-SVN: r39110

23 years ago* gcc.dg/cpp/assembl2.S: New test case.
Neil Booth [Thu, 18 Jan 2001 06:34:18 +0000 (06:34 +0000)]
* gcc.dg/cpp/assembl2.S: New test case.

From-SVN: r39109

23 years agocpplib.c (_cpp_handle_directive): Use buffer->was_skipping, not pfile->skipping ...
Neil Booth [Thu, 18 Jan 2001 06:32:47 +0000 (06:32 +0000)]
cpplib.c (_cpp_handle_directive): Use buffer->was_skipping, not pfile->skipping (== 0).

        * cpplib.c (_cpp_handle_directive): Use buffer->was_skipping,
        not pfile->skipping (== 0).

From-SVN: r39108

23 years agolang-options.h (-Wunsupported-jdk11): Removed.
Alexandre Petit-Bianco [Thu, 18 Jan 2001 03:07:01 +0000 (03:07 +0000)]
lang-options.h (-Wunsupported-jdk11): Removed.

2001-01-17  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * lang-options.h (-Wunsupported-jdk11): Removed.
        * lang.c (flag_not_overriding): Deleted.
        (flag_static_local_jdk1_1): Likewise.
        (lang_W_options): Removed "unsupported-jdk11" entry.
        * parse.y (java_check_methods): Removed dead code.

(http://gcc.gnu.org/ml/gcc-patches/2001-01/msg01479.html)

From-SVN: r39107

23 years agoecos.exp (wkali-2.c): Xfail if only weak aliases are supported.
Jeffrey Oldham [Thu, 18 Jan 2001 02:30:03 +0000 (02:30 +0000)]
ecos.exp (wkali-2.c): Xfail if only weak aliases are supported.

2001-01-17  Jeffrey Oldham  <oldham@codesourcery.com>

* gcc.dg/special/ecos.exp (wkali-2.c): Xfail if only weak aliases
are supported.

From-SVN: r39106

23 years ago* java/bean/Beans.java (instantiate): enable Applet code from Classpath
Mark Wielaard [Thu, 18 Jan 2001 00:43:17 +0000 (00:43 +0000)]
* java/bean/Beans.java (instantiate): enable Applet code from Classpath

From-SVN: r39105

23 years agolibstdc++.tests, lib: New directories.
Gabriel Dos Reis [Thu, 18 Jan 2001 00:30:08 +0000 (00:30 +0000)]
libstdc++.tests, lib: New directories.

2001-01-18  Gabriel Dos Reis  <gdr@codesourcery.com>

        * testsuite/libstdc++.tests, testsuite/lib: New directories.

From-SVN: r39104

23 years agoChanges suggested by Per Bothner:
Tom Tromey [Thu, 18 Jan 2001 00:20:52 +0000 (00:20 +0000)]
Changes suggested by Per Bothner:

* gcj.texi (Input Options): Don't mention input files.
(Code Generation): Updated --main information.
(Invoking jcf-dump): Mention that --javap is incomplete.
From Alexandre Petit-Bianco:
(Warnings): Don't mention -Wunsupported-jdk11.
My stuff:
(Compatibility): Mention JDK 1.2-ness of libraries.
(Resources): Mention resources used when writing gcj.

From-SVN: r39103

23 years agoAdd missing PARAMS around prototype's parameters
Nick Clifton [Wed, 17 Jan 2001 23:31:45 +0000 (23:31 +0000)]
Add missing PARAMS around prototype's parameters

From-SVN: r39102

23 years agogcj.texi: New file.
Tom Tromey [Wed, 17 Jan 2001 23:14:11 +0000 (23:14 +0000)]
gcj.texi: New file.

* gcj.texi: New file.
* Make-lang.in ($(srcdir)/java/gcj.info): New target.
(java.info): Depend on gcj.info.
(java/gcj.dvi): New target.
(java.dvi): Depend on gcj.dvi.
(java.install-info): Wrote.

From-SVN: r39101

23 years agoadd missing prototypes
Nick Clifton [Wed, 17 Jan 2001 22:35:30 +0000 (22:35 +0000)]
add missing prototypes

From-SVN: r39100

23 years agoImprove IA-64 option documentation based on public and private comments.
Jim Wilson [Wed, 17 Jan 2001 20:45:34 +0000 (20:45 +0000)]
Improve IA-64 option documentation based on public and private comments.

* invoke.texi (IA-64 options): Improve.

From-SVN: r39099

23 years agoinvoke.texi (Optimize Options): Use `{}' to around @samp argument.
Tom Tromey [Wed, 17 Jan 2001 20:03:40 +0000 (20:03 +0000)]
invoke.texi (Optimize Options): Use `{}' to around @samp argument.

* invoke.texi (Optimize Options): Use `{}' to around @samp
argument.

From-SVN: r39098

23 years agodocument -fno-guess-branch-probability option
Aldy Hernandez [Wed, 17 Jan 2001 19:44:36 +0000 (19:44 +0000)]
document -fno-guess-branch-probability option

From-SVN: r39097

23 years agodocument -fno-guess-branch-probability option
Aldy Hernandez [Wed, 17 Jan 2001 19:43:13 +0000 (19:43 +0000)]
document -fno-guess-branch-probability option

From-SVN: r39096

23 years agobuiltins1.C: New test.
Kaveh R. Ghazi [Wed, 17 Jan 2001 19:09:35 +0000 (19:09 +0000)]
builtins1.C: New test.

* g++.old-deja/g++.other/builtins1.C: New test.
* g++.old-deja/g++.other/builtins2.C: Likewise.
* g++.old-deja/g++.other/builtins3.C: Likewise.
* g++.old-deja/g++.other/builtins4.C: Likewise.

From-SVN: r39095

23 years agocombine.c (try_combine): Don't set i3_subst_into_i2 for case of making new double...
Richard Kenner [Wed, 17 Jan 2001 18:27:37 +0000 (18:27 +0000)]
combine.c (try_combine): Don't set i3_subst_into_i2 for case of making new double-word constant.

* combine.c (try_combine): Don't set i3_subst_into_i2 for
case of making new double-word constant.
Revert last change: instead just test i3_subst_into_i2.

From-SVN: r39094

23 years agoi386.md (cmpqi_minus_1): Use q constraints instead of r.
Jakub Jelinek [Wed, 17 Jan 2001 12:32:49 +0000 (13:32 +0100)]
i386.md (cmpqi_minus_1): Use q constraints instead of r.

* config/i386/i386.md (cmpqi_minus_1): Use q constraints instead of r.

* gcc.c-torture/compile/20010117-2.c: New test.

From-SVN: r39093

23 years agoi386.md (cmpqi_minus_1): Use {b} for QImode operation.
Jakub Jelinek [Wed, 17 Jan 2001 11:55:10 +0000 (12:55 +0100)]
i386.md (cmpqi_minus_1): Use {b} for QImode operation.

* config/i386/i386.md (cmpqi_minus_1): Use {b} for QImode operation.

* gcc.c-torture/compile/20010117-1.c: New test.

From-SVN: r39092

23 years agoClass.h (isInterface): Move implementation from natClass.cc.
Bryce McKinlay [Wed, 17 Jan 2001 10:22:33 +0000 (10:22 +0000)]
Class.h (isInterface): Move implementation from natClass.cc.

* java/lang/Class.h (isInterface): Move implementation from
natClass.cc. Declare inline.
(Class): Add default constructor.
* java/lang/Object.h: Update comments.
* java/lang/natClass.cc (initializeClass): Use _Jv_InitClass to
initialize superclass, saving a call if super is already initialized.

From-SVN: r39091

23 years agoDaily bump.
Jeff Law [Wed, 17 Jan 2001 08:45:09 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r39090

23 years agoistream_sentry.cc (test02): Fix.
Peter Schmid [Wed, 17 Jan 2001 08:30:25 +0000 (08:30 +0000)]
istream_sentry.cc (test02): Fix.

2001-01-17  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

* testsuite/27_io/istream_sentry.cc (test02): Fix.

From-SVN: r39089

23 years agoprims.cc (init_prim_class): Deleted.
Alexandre Petit-Bianco [Wed, 17 Jan 2001 08:13:06 +0000 (08:13 +0000)]
prims.cc (init_prim_class): Deleted.

2001-01-16  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* prims.cc (init_prim_class): Deleted.
(DECLARE_PRIM_TYPE): Rewritten.
* java/lang/Class.h (stdio.h): Include removed.
(stddef.h): Included.
(java/lang/reflect/Modifier.h): Likewise.
(Class): Contructor now takes arguments, initializes fields.
(initializePrim): Prototype deleted.
* java/lang/natClass.cc (initializePrim): Deleted.

(http://sources.redhat.com/ml/java-patches/2001-q1/msg00081.html)

From-SVN: r39088

23 years agoios_base.h (ios_base::failure): Tighten up throw specs.
Benjamin Kosnik [Wed, 17 Jan 2001 07:44:57 +0000 (07:44 +0000)]
ios_base.h (ios_base::failure): Tighten up throw specs.

2001-01-16  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/1605
* include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
* src/ios.cc (ios_base::failure): Make definitions match.
        * libsupc++/typeinfo (class bad_typeid): Add throw specs.
        (class bad_cast): Same.
        * libsupc++/exception (class exception): Add throw specs.
        * libsupc++/exception_support.cc (set_terminate): Add throw specs.
        (set_unexpected): Same.
        (uncaught_exception): Same.
        (what): Same.

* docs/html/17_intro/C++STYLE (classname): Fix.

From-SVN: r39087

23 years agogen-num-limits.cc (INSTANTIATIONS): New macro.
Mark Mitchell [Wed, 17 Jan 2001 07:13:39 +0000 (07:13 +0000)]
gen-num-limits.cc (INSTANTIATIONS): New macro.

* src/gen-num-limits.cc (INSTANTIATIONS): New macro.
Use it do explicitly instantiate predicate<T> and value<T> for
all the builtin Ts.

From-SVN: r39086

23 years agolibjava.exp (bytecompile_file): Don't unset CLASSPATH.
Richard Henderson [Wed, 17 Jan 2001 06:45:40 +0000 (22:45 -0800)]
libjava.exp (bytecompile_file): Don't unset CLASSPATH.

        * lib/libjava.exp (bytecompile_file): Don't unset CLASSPATH.
        (libjava_arguments): Use .jar extension for libgcj.

From-SVN: r39085

23 years agotypeck.c (build_function_call_real): Call fold on the CALL_EXPR.
Kriang Lerdsuwanakij [Wed, 17 Jan 2001 05:59:51 +0000 (05:59 +0000)]
typeck.c (build_function_call_real): Call fold on the CALL_EXPR.

* typeck.c (build_function_call_real): Call fold on the CALL_EXPR.
* call.c (build_over_call): Add comment.

From-SVN: r39084

23 years agopa.h (PIC_OFFSET_TABLE_REGNUM_SAVED): Remove.
Alan Modra [Wed, 17 Jan 2001 05:23:22 +0000 (05:23 +0000)]
pa.h (PIC_OFFSET_TABLE_REGNUM_SAVED): Remove.

* config/pa/pa.h (PIC_OFFSET_TABLE_REGNUM_SAVED): Remove.
(machine_function): Define.
(PIC_OFFSET_TABLE_SAVE_RTX) : Define.
* config/pa/pa.c (pa_init_machine_status, pa_mark_machine_status,
pa_free_machine_status): New functions.
(override_options): Set {init,mark,free}_machine_status to above.
(hppa_expand_prologue): Use PIC_OFFSET_TABLE_SAVE_RTX instead of
PIC_OFFSET_TABLE_REGNUM_SAVED.
* config/pa/pa.md: Use PIC_OFFSET_TABLE_SAVE_RTX instead of
PIC_OFFSET_TABLE_REGNUM_SAVED throughout.
* config/pa/pa32-regs.h (CONDITIONAL_REGISTER_USAGE): Remove
references to PIC_OFFSET_TABLE_REGNUM_SAVED.
* config/pa/pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.

From-SVN: r39083

23 years ago* java/math/BigInteger.java: Update Copyright year.
Warren Levy [Wed, 17 Jan 2001 04:13:17 +0000 (04:13 +0000)]
* java/math/BigInteger.java: Update Copyright year.

From-SVN: r39082

23 years agoMakefile.in (gcov.1): Protect against texi2pod/pod2man failing.
DJ Delorie [Wed, 17 Jan 2001 01:54:15 +0000 (20:54 -0500)]
Makefile.in (gcov.1): Protect against texi2pod/pod2man failing.

* Makefile.in (gcov.1): Protect against texi2pod/pod2man failing.
(cpp.1): Ditto.
(gcc.1): Ditto.

From-SVN: r39081

23 years agoBigInteger.java (setShiftRight): Only do negative shift if count != 0.
Hans Boehm [Wed, 17 Jan 2001 01:00:53 +0000 (01:00 +0000)]
BigInteger.java (setShiftRight): Only do negative shift if count != 0.

2001-01-16  Hans Boehm  <hans_boehm@hp.com>

* java/math/BigInteger.java (setShiftRight): Only do negative shift
if count != 0.

From-SVN: r39080

23 years agoexpr.c (java_lang_expand_expr): Use TREE_SYMBOL_REFERENCED after having called make_d...
Jeff Sturm [Wed, 17 Jan 2001 00:39:09 +0000 (00:39 +0000)]
expr.c (java_lang_expand_expr): Use TREE_SYMBOL_REFERENCED after having called make_decl_rtl.

2001-01-16  Jeff Sturm  <jeff.sturm@appnet.com>

        * expr.c (java_lang_expand_expr): Use TREE_SYMBOL_REFERENCED after
        having called make_decl_rtl.

(http://gcc.gnu.org/ml/gcc-patches/2001-01/msg01369.html)

From-SVN: r39079

23 years agoflow.c (propagate_on_insn): Make trying to delete a prologue or epilogue insn an...
Richard Kenner [Tue, 16 Jan 2001 23:10:36 +0000 (23:10 +0000)]
flow.c (propagate_on_insn): Make trying to delete a prologue or epilogue insn an ICE, not a warning.

* flow.c (propagate_on_insn): Make trying to delete a prologue
or epilogue insn an ICE, not a warning.  Allow doing this if
the current function returns with stack pointer depressed.

From-SVN: r39078

23 years agocombine.c (try_combine): If i3_subst_into_i2, properly check for I3 having more than...
Richard Kenner [Tue, 16 Jan 2001 22:21:16 +0000 (22:21 +0000)]
combine.c (try_combine): If i3_subst_into_i2, properly check for I3 having more than one SET.

* combine.c (try_combine): If i3_subst_into_i2, properly check for
I3 having more than one SET.

From-SVN: r39077

23 years ago* invoke.texi: Document IA-64 options.
Jim Wilson [Tue, 16 Jan 2001 21:45:34 +0000 (21:45 +0000)]
* invoke.texi: Document IA-64 options.

From-SVN: r39076

23 years agoDelete A step Itanium support.
Jim Wilson [Tue, 16 Jan 2001 21:37:08 +0000 (21:37 +0000)]
Delete A step Itanium support.

* config/ia64/ia64.c (ia64_print_operand_address): Delete 'B' support.
(fixup_errata): Delete TARGET_A_STEP use.
* config/ia64/ia64.h (MASK_A_STEP, TARGET_A_STEP): Delete.
(TARGET_SWITCHES): Delete -ma-step option.
* config/ia64/ia64.md (all FP patterns): Delete %B0.
(movqicc_astep, movqi_internal_astep, movhicc_astep,
movhi_internal_astep, movsicc_astep, movsi_internal_astep, movdi+1,
movdi_internal_astep, movsfcc_astep, movsf_internal_astep,
movdfcc_astep, movdf_internal_astep, movtfcc_astep,
movtf_internal_astep, cmovdi_internal_astep, cmovsi_internal_astep):
Delete.
(movqi_internal, movhi_internal, movsi_internal, movdi_internal,
movsf_internal, movdf_internal, movtf_internal, cmovdi_internal,
cmovsi_internal): Delete ! TARGET_A_STEP check.

From-SVN: r39075

23 years agogcc.texi (Bug Lists): Do not mention newsgroups nor the possibility to report bugs...
Gerald Pfeifer [Tue, 16 Jan 2001 19:33:50 +0000 (20:33 +0100)]
gcc.texi (Bug Lists): Do not mention newsgroups nor the possibility to report bugs via postal mail.

* gcc.texi (Bug Lists): Do not mention newsgroups nor the
possibility to report bugs via postal mail. Change a URL and
merge in a nearly duplicate statement...
(Bug Reporting): ...from here.
(Service): Refer to the Bug Reporting section instead of
duplicating an URL.
(Contributing): Remove trivial explanations concerning snapshots.

From-SVN: r39074

23 years ago* cppmain.c (general_init): Don't use ANSI prototype.
Alan Modra [Tue, 16 Jan 2001 18:40:56 +0000 (18:40 +0000)]
* cppmain.c (general_init): Don't use ANSI prototype.

From-SVN: r39073

23 years ago* gcc.c (cpp_options): Added `*' to specs for -MF, -MQ, and -MT.
Tom Tromey [Tue, 16 Jan 2001 18:02:01 +0000 (18:02 +0000)]
* gcc.c (cpp_options): Added `*' to specs for -MF, -MQ, and -MT.

From-SVN: r39072

23 years agocvt.c (ocp_convert): Handle vector type conversion
Daniel Berlin [Tue, 16 Jan 2001 17:57:34 +0000 (17:57 +0000)]
cvt.c (ocp_convert): Handle vector type conversion

2001-01-16 Daniel Berlin <dberlin@redhat.com>

* cvt.c (ocp_convert): Handle vector type conversion
* typeck2.c (digest_init): Handle vector type initializations

From-SVN: r39071

23 years agoi386.h: Fix comment typo.
Richard Henderson [Tue, 16 Jan 2001 17:32:26 +0000 (09:32 -0800)]
i386.h: Fix comment typo.

        * config/i386/i386.h: Fix comment typo.
        * config/i386/i386.md (shift+compare pattern names): s/cmpno/cmp/
        (ashr+compare patterns): Match CCGOCmode not CCNOmode.

From-SVN: r39070

23 years agog++spec.c: Don't add libraries needlessly if -fsyntax-only was given.
Phil Edwards [Tue, 16 Jan 2001 16:10:47 +0000 (16:10 +0000)]
g++spec.c: Don't add libraries needlessly if -fsyntax-only was given.

2001-01-16  Phil Edwards  <pme@sources.redhat.com>

* g++spec.c:  Don't add libraries needlessly if -fsyntax-only
  was given.

From-SVN: r39069

23 years agogcc.c: Revert previous -fsyntax-only-related change; move to cp/g++spec.c.
Phil Edwards [Tue, 16 Jan 2001 16:09:07 +0000 (16:09 +0000)]
gcc.c: Revert previous -fsyntax-only-related change; move to cp/g++spec.c.

2001-01-16  Phil Edwards  <pme@sources.redhat.com>

* gcc.c:  Revert previous -fsyntax-only-related change; move
  to cp/g++spec.c.

From-SVN: r39068

23 years agoi386.c (fcmov_comparison_operator): Only initialize inmode after checking GET_CODE...
Jakub Jelinek [Tue, 16 Jan 2001 15:57:00 +0000 (16:57 +0100)]
i386.c (fcmov_comparison_operator): Only initialize inmode after checking GET_CODE (op).

* config/i386/i386.c (fcmov_comparison_operator): Only initialize
inmode after checking GET_CODE (op).

From-SVN: r39067

23 years agoMinor whitespace changes
Richard Kenner [Tue, 16 Jan 2001 14:29:08 +0000 (09:29 -0500)]
Minor whitespace changes

From-SVN: r39066

23 years agoflow.c (struct propagate_block_info): Add mem_set_list_len.
Richard Henderson [Tue, 16 Jan 2001 13:57:17 +0000 (05:57 -0800)]
flow.c (struct propagate_block_info): Add mem_set_list_len.

        * flow.c (struct propagate_block_info): Add mem_set_list_len.
        (MAX_MEM_SET_LIST_LEN): New.
        (propagate_one_insn): Update mem_set_list_len.
        (invalidate_mems_from_autoinc): Likewise.
        (invalidate_mems_from_set): Likewise.
        (mark_used_regs): Likewise.
        (init_propagate_block_info): Likewise.  Stop collecting memories
        when we reach MAX_MEM_SET_LIST_LEN.
        (mark_set_1): Likewise.

From-SVN: r39065

23 years agounroll.c (precondition_loop_p): Fail if no iteration variable found.
Richard Henderson [Tue, 16 Jan 2001 11:15:49 +0000 (03:15 -0800)]
unroll.c (precondition_loop_p): Fail if no iteration variable found.

        * unroll.c (precondition_loop_p): Fail if no iteration
        variable found.

From-SVN: r39064

23 years agoexception_support.cc (__cp_pop_exception): Fix uninitialized thinko in last change.
Nathan Sidwell [Tue, 16 Jan 2001 09:45:03 +0000 (09:45 +0000)]
exception_support.cc (__cp_pop_exception): Fix uninitialized thinko in last change.

* libsupc++/exception_support.cc (__cp_pop_exception): Fix
uninitialized thinko in last change.

From-SVN: r39063

23 years agoDaily bump.
Jeff Law [Tue, 16 Jan 2001 08:45:08 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r39062

23 years agoexception_support.cc (__cp_pop_exception): Change prototype.
Mark Mitchell [Tue, 16 Jan 2001 08:30:20 +0000 (08:30 +0000)]
exception_support.cc (__cp_pop_exception): Change prototype.

* libsupc++/exception_support.cc (__cp_pop_exception): Change
prototype.

From-SVN: r39061

23 years agoC++STYLE (classname): Add more existing and stylish patterns.
Benjamin Kosnik [Tue, 16 Jan 2001 07:58:40 +0000 (07:58 +0000)]
C++STYLE (classname): Add more existing and stylish patterns.

2001-01-16  Benjamin Kosnik  <bkoz@redhat.com>

* docs/html/17_intro/C++STYLE (classname): Add more existing
and stylish patterns.

libstdc++/944
* include/bits/istream.tcc (istream::sentry::sentry()): Set
failbit if the state of the stream is not good.
* testsuite/27_io/istream_sentry.cc (test02): Add test.
* testsuite/27_io/istream_manip.cc (test01): Modify.

libstdc++/1019
reported by Paolo Carlini <pcarlini@unitus.it>
* include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
* testsuite/21_strings/inserters_extractors.cc (test08): Add test.

libstdc++/1057
* include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
* include/bits/streambuf.tcc (xsputn): Remove outside if clause.
(xsgetn): Same. Simplify.
* testsuite/27_io/streambuf.cc (test04): Add testcases.

reported by Larry Evans <jcampbell3@prodigy.net>
* include/bits/streambuf.tcc (streambuf::xsputn): Just check for
equality with eof on returned value from overflow.

From-SVN: r39060

23 years agoC++STYLE (classname): Add more existing and stylish patterns.
Benjamin Kosnik [Tue, 16 Jan 2001 07:55:26 +0000 (07:55 +0000)]
C++STYLE (classname): Add more existing and stylish patterns.

2001-01-16  Benjamin Kosnik  <bkoz@redhat.com>

* docs/html/17_intro/C++STYLE (classname): Add more existing
and stylish patterns.

libstdc++/944
* include/bits/istream.tcc (istream::sentry::sentry()): Set
failbit if the state of the stream is not good.
* testsuite/27_io/istream_sentry.cc (test02): Add test.
* testsuite/27_io/istream_manip.cc (test01): Modify.

libstdc++/1019
reported by Paolo Carlini <pcarlini@unitus.it>
* include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
* testsuite/21_strings/inserters_extractors.cc (test08): Add test.

libstdc++/1057
* include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
* include/bits/streambuf.tcc (xsputn): Remove outside if clause.
(xsgetn): Same. Simplify.
* testsuite/27_io/streambuf.cc (test04): Add testcases.

reported by Larry Evans <jcampbell3@prodigy.net>
* include/bits/streambuf.tcc (streambuf::xsputn): Just check for
equality with eof on returned value from overflow.

From-SVN: r39059

23 years agogcc.c: When -fsyntax-only is given, do not complain about unused libraries.
Phil Edwards [Tue, 16 Jan 2001 06:06:29 +0000 (06:06 +0000)]
gcc.c: When -fsyntax-only is given, do not complain about unused libraries.

2001-01-16  Phil Edwards  <pme@sources.redhat.com>

* gcc.c:  When -fsyntax-only is given, do not complain about
  unused libraries.

From-SVN: r39058

23 years agore PR fortran/1636 (Format strings with identical numbers cause assembler error)
Toon Moene [Mon, 15 Jan 2001 23:55:39 +0000 (00:55 +0100)]
re PR fortran/1636 (Format strings with identical numbers cause assembler error)

2001-01-15  Toon Moene  <toon@moene.indiv.nluug.nl>

* g77.f-torture/execute/20010116.[fx]: New test,
XFAIL on i?86-*-*.
* g77.f-torture/compile/20010115.f: Indicate it's
a test for PR fortran/1636.

From-SVN: r39056

23 years agoi386.c (asm_output_function_prefix): Remove.
Richard Henderson [Mon, 15 Jan 2001 23:43:10 +0000 (15:43 -0800)]
i386.c (asm_output_function_prefix): Remove.

        * config/i386/i386.c (asm_output_function_prefix): Remove.
        (ix86_asm_file_end): New.
        (load_pic_register): Generate pic_label_name into a
        staticly allocated buffer.
        * config/i386/i386-protos.h: Update.
        * config/i386/i386.h (ASM_OUTPUT_FUNCTION_PREFIX): Remove.
        (ASM_FILE_END): New.
        * config/i386/i386afe.h: New file.
        * config.gcc (i?86-*-elf) [tm_file]: Use it.
        (i?86-*-{freebsd,linux*,moss*}): Likewise.
        * config/elfos.h (ASM_FILE_END): Undef before redefinition.
        * config/i386/cygwin.h (ASM_FILE_END): Likewise.
        * config/i386/osfrose.h (ASM_FILE_END): Invoke ix86_asm_file_end.
        * config/i386/sco5.h (ASM_FILE_END): Likewise.
        * config/i386/winnt.c (i386_pe_asm_file_end): Likewise.

From-SVN: r39055

23 years agoMakefile.in (install-man): Remove explicit dependency on $(srcdir)/gcc.1.
Joseph Myers [Mon, 15 Jan 2001 23:34:43 +0000 (23:34 +0000)]
Makefile.in (install-man): Remove explicit dependency on $(srcdir)/gcc.1.

* Makefile.in (install-man): Remove explicit dependency on
$(srcdir)/gcc.1.

From-SVN: r39054

23 years agotexi2pod.pl: Fix regular expression for @r to avoid exponential recursion.
Joseph Myers [Mon, 15 Jan 2001 23:32:25 +0000 (23:32 +0000)]
texi2pod.pl: Fix regular expression for @r to avoid exponential recursion.

contrib:
* texi2pod.pl: Fix regular expression for @r to avoid exponential
recursion.  From Russ Allbery <rra@stanford.edu>.  Remove perl
version check.

gcc:
* configure.in, configure: Revert previous patch requiring perl
5.6.0.

From-SVN: r39053

23 years agonew option to disable guessing of branch prediction
Aldy Hernandez [Mon, 15 Jan 2001 22:45:32 +0000 (22:45 +0000)]
new option to disable guessing of branch prediction

From-SVN: r39052

23 years agoFix garbled ChangeLog entry
Phil Blundell [Mon, 15 Jan 2001 22:35:15 +0000 (22:35 +0000)]
Fix garbled ChangeLog entry

From-SVN: r39051

23 years ago* gcc.texi (Makefile): Add documentation for Makefile targets.
DJ Delorie [Mon, 15 Jan 2001 21:12:14 +0000 (16:12 -0500)]
* gcc.texi (Makefile): Add documentation for Makefile targets.

From-SVN: r39050

23 years agoarm.c (arm_finalize_pic): New arg "prologue".
Philip Blundell [Mon, 15 Jan 2001 19:54:42 +0000 (19:54 +0000)]
arm.c (arm_finalize_pic): New arg "prologue".

2001-01-15  Philip Blundell  <philb@gnu.org>

* config/arm/arm.c (arm_finalize_pic): New arg "prologue".
(is_pic): Delete.
* config/arm/arm-protos.h (arm_finalize_pic): Update prototype.
(is_pic): Delete declaration.
* config/arm/arm.h (FINALIZE_PIC): Update call to above.
(OUTPUT_INT_ADDR_CONST): Remove special handling of PIC address.
* config/arm/arm.md (builtin_setjmp_receiver): Likewise.

From-SVN: r39049

23 years ago* MAINTAINERS: Add myself as vax port maintainer.
John David Anglin [Mon, 15 Jan 2001 18:36:00 +0000 (18:36 +0000)]
* MAINTAINERS: Add myself as vax port maintainer.

From-SVN: r39048

23 years ago* gcc.dg/c90-float-1.c, gcc.dg/c99-float-1.c: New tests.
Joseph Myers [Mon, 15 Jan 2001 18:22:31 +0000 (18:22 +0000)]
* gcc.dg/c90-float-1.c, gcc.dg/c99-float-1.c: New tests.

From-SVN: r39047

23 years agoarm.c (use_return_insn): Don't try to determine the function type until after reload...
Richard Earnshaw [Mon, 15 Jan 2001 18:13:26 +0000 (18:13 +0000)]
arm.c (use_return_insn): Don't try to determine the function type until after reload has completed.

* arm.c (use_return_insn): Don't try to determine the function type
until after reload has completed.
(arm_output_epilogue): Don't adjust the sp value recovered from the
stack.
(emit_multi_reg_push): Don't record dwarf information for the pc.
* arm.md (eh_epilogue): The function type may have changed, so it
needs to be recalculated.
* arm/netbsd.h (DWARF2_UNWIND_INFO): Can now use dwarf2 unwind tables
on arm/netbsd.

From-SVN: r39046

23 years agowarn_summary (stageNfilter): Update for recent changes in bootstrap logic.
Kaveh R. Ghazi [Mon, 15 Jan 2001 17:53:57 +0000 (17:53 +0000)]
warn_summary (stageNfilter): Update for recent changes in bootstrap logic.

* warn_summary (stageNfilter): Update for recent changes in
bootstrap logic.

From-SVN: r39045