Commit Graph

33158 Commits

Author SHA1 Message Date
Neil Booth 111e0469ce * cppinternals.texi: Update.
From-SVN: r39144
2001-01-19 22:25:53 +00:00
Richard Earnshaw 55cf7bb972 * arm.c (arm_init_builtins): Re-enable builtins.
From-SVN: r39143
2001-01-19 21:42:52 +00:00
Jason Merrill 2a2a9e5a20 * decl2.c (flag_vtable_thunks): Also depend on ENABLE_NEW_GXX_ABI.
From-SVN: r39142
2001-01-19 16:07:21 -05:00
Richard Kenner 7193d1dc3d 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
2001-01-19 13:28:58 -05:00
Richard Kenner 79b9ec0ddb 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
2001-01-19 13:09:17 -05:00
Richard Kenner 831ecbd460 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
2001-01-19 13:04:23 -05:00
Jakub Jelinek fa7aa1feb6 * gcc.c-torture/execute/20010119-1.c: New test.
From-SVN: r39138
2001-01-19 19:03:44 +01:00
Jason Merrill cb9e9d8dd1 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
2001-01-19 12:11:15 -05:00
Alexandre Oliva 20342a6bc1 Improve ChangeLog entry of previous patch
From-SVN: r39136
2001-01-19 16:34:15 +00:00
Alexandre Oliva 61f5625b76 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
2001-01-19 16:32:27 +00:00
Jason Merrill 5bea1ccf19 tweak comments
From-SVN: r39134
2001-01-19 10:23:34 -05:00
Jason Merrill 60696c53ec 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
2001-01-19 10:12:33 -05:00
Nathan Sidwell 1e00f18c42 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
2001-01-19 13:32:53 +00:00
Jakub Jelinek 9f1b75fccd * gcc.c-torture/execute/20010118-1.c: New test.
From-SVN: r39131
2001-01-19 11:35:13 +01:00
Nathan Sidwell e13bced249 class.c (duplicate_tag_error): Robustify flag clearing.
cp:
	* class.c (duplicate_tag_error): Robustify flag clearing.

From-SVN: r39130
2001-01-19 09:27:34 +00:00
Nathan Sidwell f9c244b8a4 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
2001-01-19 09:24:20 +00:00
J"orn Rennecke 61f0131c68 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
2001-01-19 09:20:14 +00:00
Nathan Sidwell 08c2df0f4f 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
2001-01-19 09:19:33 +00:00
Jeff Law 7c6a32d25b Daily bump.
From-SVN: r39126
2001-01-19 01:45:14 -07:00
David Billinghurst 02d0272552 * g77.f-torture/compile/20000601-2.f: New test.
From-SVN: r39125
2001-01-19 07:59:23 +00:00
Gabriel Dos Reis db4a7a8acf 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
2001-01-19 02:52:27 +00:00
Per Bothner ee08d4ccc8 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
2001-01-18 22:36:23 +00:00
Nathan Sidwell 90deb75dfb Remove extraneous conflict indicator
From-SVN: r39122
2001-01-18 14:27:06 +00:00
Nathan Sidwell f5ceeec84f 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
2001-01-18 14:25:03 +00:00
Richard Kenner 2d6dc19dfa Fix typos in previous change
From-SVN: r39120
2001-01-18 08:26:47 -05:00
Jakub Jelinek a1cfa434de 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
2001-01-18 14:24:27 +01:00
Richard Kenner 90d036a050 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
2001-01-18 08:14:34 -05:00
Richard Kenner 8eeb855e2b * config.gcc (rs6000-ibm-aix*, rs6000-bull-bosx): Add rs6000/aix.h.
From-SVN: r39117
2001-01-18 08:03:43 -05:00
Alexandre Oliva 34508ae824 * gcc.dg/cpp/if-2.c: Adjust for signed wchar_t.
From-SVN: r39116
2001-01-18 12:00:38 +00:00
Nathan Sidwell 028d1f20f7 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
2001-01-18 09:56:46 +00:00
Nathan Sidwell 9f724b6ae4 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
2001-01-18 09:39:13 +00:00
Nathan Sidwell 522d6614c5 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
2001-01-18 09:35:59 +00:00
Nathan Sidwell 7f805b8ffc 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
2001-01-18 09:33:08 +00:00
Jeff Law 543ef80ba8 Daily bump.
From-SVN: r39111
2001-01-18 01:45:07 -07:00
Benjamin Kosnik 824a91091e 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
2001-01-18 07:24:16 +00:00
Neil Booth e096bdde90 * gcc.dg/cpp/assembl2.S: New test case.
From-SVN: r39109
2001-01-18 06:34:18 +00:00
Neil Booth 6fe349a91d 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
2001-01-18 06:32:47 +00:00
Alexandre Petit-Bianco b1117741f1 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
2001-01-17 19:07:01 -08:00
Jeffrey Oldham acf8f04b16 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
2001-01-18 02:30:03 +00:00
Mark Wielaard d150822e55 * java/bean/Beans.java (instantiate): enable Applet code from Classpath
From-SVN: r39105
2001-01-18 00:43:17 +00:00
Gabriel Dos Reis 9ca4a2fd9f libstdc++.tests, lib: New directories.
2001-01-18  Gabriel Dos Reis  <gdr@codesourcery.com>

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

From-SVN: r39104
2001-01-18 00:30:08 +00:00
Tom Tromey 2dc7316849 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
2001-01-18 00:20:52 +00:00
Nick Clifton 6fee9e99fa Add missing PARAMS around prototype's parameters
From-SVN: r39102
2001-01-17 23:31:45 +00:00
Tom Tromey bc65b5ecf6 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
2001-01-17 23:14:11 +00:00
Nick Clifton 988144ce99 add missing prototypes
From-SVN: r39100
2001-01-17 22:35:30 +00:00
Jim Wilson 15d3a111d0 Improve IA-64 option documentation based on public and private comments.
* invoke.texi (IA-64 options): Improve.

From-SVN: r39099
2001-01-17 12:45:34 -08:00
Tom Tromey 2bab2366a9 invoke.texi (Optimize Options): Use `{}' to around @samp argument.
* invoke.texi (Optimize Options): Use `{}' to around @samp
	argument.

From-SVN: r39098
2001-01-17 20:03:40 +00:00
Aldy Hernandez 2f6dc9e0cb document -fno-guess-branch-probability option
From-SVN: r39097
2001-01-17 19:44:36 +00:00
Aldy Hernandez 454d0cc7dd document -fno-guess-branch-probability option
From-SVN: r39096
2001-01-17 19:43:13 +00:00
Kaveh R. Ghazi 5f3aebeadf 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
2001-01-17 19:09:35 +00:00