Commit Graph

47210 Commits

Author SHA1 Message Date
Mark Wielaard
827452ae5c Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
* Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
       (nat_source_files): Add natVMObjectStreamClass.cc.
       * Makefile.in: Regenerated.
       * gcj/javaprims.h (namespace java): Regenerated.
       * java/io/ObjectStreamClass.java (getClassUID): Call
       VMObjectStreamClass.hasClassInitializer().
       (hasClassInitializer): Removed.
       * java/io/VMObjectStreamClass.java: New class.
       * java/io/natVMObjectStreamClass.cc: New file.
       * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.

From-SVN: r61501
2003-01-20 06:46:28 +00:00
Kazu Hirata
d99c740f58 h8300.c (notice_update_cc): Don't assume that recog_data.operands[0] is always associated with cc0.
* config/h8300/h8300.c (notice_update_cc): Don't assume that
	recog_data.operands[0] is always associated with cc0.

	* gcc.c-torture/execute/20030120-1.c: New.

From-SVN: r61498
2003-01-20 06:42:58 +00:00
GCC Administrator
3fdd055a2b Daily bump.
From-SVN: r61497
2003-01-20 06:28:28 +00:00
David Edelsohn
da3e014260 * system.h (strsignal): Also declare if no declaration found.
From-SVN: r61490
2003-01-19 22:04:10 -05:00
David Edelsohn
825c540816 collect2.c (ldgetname): Expand declaration to prototype.
* collect2.c (ldgetname): Expand declaration to prototype.
        * read-rtl.c (atoll): Add prototype.

From-SVN: r61489
2003-01-19 21:25:07 -05:00
Nathanael Nerode
77d187bc37 configure.in: Add missing \.
* configure.in: Add missing \.
	* configure: Rebuilt.

From-SVN: r61487
2003-01-19 23:44:28 +00:00
Alexandre Oliva
d25fc1b572 test_summary (configflags): Only use the first match.
* test_summary (configflags): Only use the first match.  Remove
excess space.  Use sub instead of gsub where possible.  Use `none'
if no configure flags were given.

From-SVN: r61483
2003-01-19 14:34:12 +00:00
Paolo Carlini
a99820e6c8 typename13.C: Remove XFAIL.
2003-01-19  Paolo Carlini  <pcarlini@unitus.it>

	* g++.old-deja/g++.pt/typename13.C: Remove XFAIL.

From-SVN: r61482
2003-01-19 13:28:26 +00:00
Alexandre Oliva
3bd6d4c458 config.gcc (mips64*-*-linux*): Added.
* config.gcc (mips64*-*-linux*): Added.
* config/mips/linux64.h, config/mips/t-linux64: New file.
* config/mips/iris6.h (MIPS_TFMODE_FORMAT): Define.
* config/mips/mips.c (override_options): Use it.
* config/mips/mips.h (TARGET_SWITCHES): Added...
(SUBTARGET_TARGET_SWITCHES): New, empty by default.
* Makefile.in (SPECS): New.
(STAGESTUFF, specs, mostlyclean, install-common): Use it.
* gcc.c (process_command): Move self-spec processing past spec
file loading.
* doc/tm.texi (DRIVER_SELF_SPECS): Document the change.
* doc/fragments.texi (MULTILIB_EXTRA_OPTS): Document need for
CRTSTUFF_T_CFLAGS.
(SPECS): Document.
* doc/invoke.texi (-mabi-fake-default): Document.

From-SVN: r61481
2003-01-19 13:04:24 +00:00
Stephane Carrez
e9f13564bb m68hc11.c (stack_push_word, [...]): Declare static and GTY().
* config/m68hc11/m68hc11.c (stack_push_word, stack_pop_word,
	z_reg, z_reg_qi): Declare static and GTY().
	(da_reg): Remove.
	(create_regs_rtx): Don't create da_reg.
	("gt-m68hc11.h"): Include for GTY roots.
	* config/m68hc11/m68hc11.h (ix_reg, iy_reg, d_reg): Declare extern
	and GTY() here.
	(m68hc11_compare_op0, m68hc11_compare_op1): Likewise.
	(m68hc11_soft_tmp_reg): Likewise.
	* config/m68hc11/m68hc11-protos.h: Remove above declarations.

From-SVN: r61479
2003-01-19 12:09:08 +01:00
Kazu Hirata
32dd366d5e basic-block.h: Fix comment formatting.
* basic-block.h: Fix comment formatting.
	* calls.c: Likewise.
	* combine.c: Likewise.
	* convert.c: Likewise.
	* gcov.c: Likewise.
	* haifa-sched.c: Likewise.
	* libgcc2.c: Likewise.
	* loop.c: Likewise.
	* profile.c: Likewise.
	* system.h: Likewise.

From-SVN: r61478
2003-01-18 22:32:06 +00:00
Kazu Hirata
634661fe5a check-init.c: Fix comment typos.
* check-init.c: Fix comment typos.
	* class.c: Likewise.
	* constants.c: Likewise.
	* decl.c: Likewise.
	* except.c: Likewise.
	* expr.c: Likewise.
	* java-except.h: Likewise.
	* java-tree.h: Likewise.
	* javaop.h: Likewise.
	* jcf-dump.c: Likewise.
	* jcf-io.c: Likewise.
	* jcf-parse.c: Likewise.
	* jcf-write.c: Likewise.
	* lang.c: Likewise.
	* mangle.c: Likewise.
	* typeck.c: Likewise.
	* verify.c: Likewise.

From-SVN: r61477
2003-01-18 22:15:51 +00:00
Kaveh R. Ghazi
a1fb4e912a Make-lang.in (java/jcf-write.o): Depend on $(TM_P_H).
* Make-lang.in (java/jcf-write.o): Depend on $(TM_P_H).
	* jcf-write.c: Include "tm_p.h".

From-SVN: r61476
2003-01-18 19:17:39 +00:00
Roger Sayle
bc3cb712e4 * config/pa/pa.md (muldi3): Avoid invalid sharing of SUBREG RTXs.
From-SVN: r61473
2003-01-18 14:51:10 +00:00
GCC Administrator
e1848179dd Daily bump.
From-SVN: r61472
2003-01-18 08:17:30 +00:00
Kaveh R. Ghazi
25e42e9d5a * ra-build.c (undef_to_size_word): Avoid `switch' warning.
From-SVN: r61464
2003-01-18 03:07:26 +00:00
Dale Johannesen
6f9c81f53f rs6000.md (*floatsidf2_internal): Add earlyclobbers.
2003-01-17  Dale Johannesen  <dalej@apple.com>

        * config/rs6000/rs6000.md (*floatsidf2_internal):  Add earlyclobbers.
          (*floatunssidf2_internal):  Ditto.

From-SVN: r61463
2003-01-18 03:02:19 +00:00
Kazu Hirata
95bd1dd72f alias.c: Fix comment typos.
* alias.c: Fix comment typos.
	* basic-block.h: Likewise.
	* c-common.c: Likewise.
	* c-common.h: Likewise.
	* c-decl.c: Likewise.
	* c-opts.c: Likewise.
	* c-pragma.c: Likewise.
	* c-pretty-print.h: Likewise.
	* cfg.c: Likewise.
	* cfganal.c: Likewise.
	* cfgbuild.c: Likewise.
	* cfgcleanup.c: Likewise.
	* cfglayout.c: Likewise.
	* cfgrtl.c: Likewise.
	* convert.c: Likewise.
	* cpphash.h: Likewise.
	* cpplex.c: Likewise.
	* cpplib.h: Likewise.
	* df.h: Likewise.
	* diagnostic.c: Likewise.
	* diagnostic.h: Likewise.
	* dwarf2.h: Likewise.

From-SVN: r61462
2003-01-18 02:26:43 +00:00
Stan Shebs
d5840e09de * config/darwin-protos.h: Forward-declare struct cpp_reader.
From-SVN: r61460
2003-01-18 00:09:02 +00:00
Jason Merrill
753225c183 PR c++/9167, c++/9358
PR c++/9167, c++/9358
        * decl.c (require_complete_types_for_parms): Also update DECL_ARG_TYPE.

From-SVN: r61459
2003-01-17 18:59:22 -05:00
Jason Merrill
77b996cc58 re PR c++/9342 (another ICE in cp_expr_size at cp/cp-lang.c: 304)
PR c++/9342
        * call.c (build_conditional_expr): Always do lvalue-rvalue
        conversion.

From-SVN: r61457
2003-01-17 17:51:24 -05:00
Mark Mitchell
5dae1114bb re PR c++/9294 ([new parser] parser enters infinite loop)
PR c++/9294
	* cp-tree.def (BASELINK): Make it class 'x', not class 'e'.
	* cp-tree.h (BASELINK_BINFO): Adjust.
	(BASELINK_FUNCTIONS): Likewise.
	(BASELINK_ACCESS_BINFO): Likewise.
	(tree_baselink): New structure.
	(cp_tree_node_structure_enum): Add TS_CP_BASELINK.
	(lang_tree_node): Add baselink.
	* decl.c (cp_tree_node_structure): Add BASELINK case.
	* search.c (build_baselink): Adjust.
	* tree.c (cp_walk_subtrees): Add BASELINK case.  Remove BASELINK_P
	test from TREE_LIST case.

	PR c++/9272
	* parser.c (cp_parser_constructor_declarator_p): Do not assume
	that a constructor cannot be declared outside of its own class.

	* parser.c (cp_parser_resolve_typename_type): If the scope cannot
	be resolved, neither can the qualified name.

	* rtti.c (get_pseudo_ti_desc): Fix thinko.

	PR c++/9272
	* g++.dg/parse/ctor1.C: New test.

	PR c++/9294:
	* g++.dg/parse/qualified1.C: New test.

	* g++.dg/parse/typename3.C: New test.

From-SVN: r61456
2003-01-17 20:14:44 +00:00
Douglas B Rupp
e607534b43 alpha.c (alpha_need_linkage): Fix obvious mistake in last checkin.
* config/alpha/alpha.c (alpha_need_linkage): Fix obvious
	mistake in last checkin.

From-SVN: r61455
2003-01-17 19:56:54 +00:00
Kaveh R. Ghazi
1faad0fc2c * jcf-io.c (caching_stat): Cast the 3rd arg of scandir to void*.
From-SVN: r61444
2003-01-17 14:27:29 +00:00
Kazu Hirata
fbe5a4a607 et-forest.c: Fix comment typos.
* et-forest.c: Fix comment typos.
	* et-forest.h: Likewise.
	* except.c: Likewise.
	* expr.c: Likewise.
	* flags.h: Likewise.
	* flow.c: Likewise.
	* gcc.c: Likewise.
	* gcse.c: Likewise.
	* genattrtab.c: Likewise.
	* genautomata.c: Likewise.
	* gengtype.c: Likewise.
	* genrecog.c: Likewise.
	* global.c: Likewise.
	* gthr-rtems.h: Likewise.

From-SVN: r61443
2003-01-17 14:24:24 +00:00
Kaveh R. Ghazi
095f90933f * i386.c (x86_function_profiler): Fix format specifier.
From-SVN: r61442
2003-01-17 13:44:44 +00:00
Richard Henderson
084087e1f5 * gengtype.c (walk_type): Allow paramN_is.
From-SVN: r61441
2003-01-17 03:36:24 -08:00
Nick Clifton
4a13592ed5 Add missing newline escape.
From-SVN: r61440
2003-01-17 09:43:48 +00:00
GCC Administrator
a1d4422910 Daily bump.
From-SVN: r61438
2003-01-17 08:17:36 +00:00
Jakub Jelinek
a94a2d4cfb configure.in (baseargs): Avoid using \| in sed regular expressions.
* configure.in (baseargs): Avoid using \| in sed regular
	expressions.
	* configure: Rebuilt.

From-SVN: r61431
2003-01-17 09:02:23 +01:00
Richard Henderson
011936178c * config/alpha/linux-elf.h (LIB_SPEC): Adjust inter-option spacing.
From-SVN: r61430
2003-01-16 23:37:13 -08:00
Richard Henderson
c292e3750e * g++.dg/tls/init-2.C: Fix error matches for real this time.
From-SVN: r61429
2003-01-16 23:10:22 -08:00
Richard Henderson
aab37812b1 pch.exp: Copy test header to the working directory before using it either for...
* g++.dg/pch/pch.exp: Copy test header to the working directory
        before using it either for precompilation or direct use.
        * g++.dg/pch/*.Hs: Rename from gcc.dg/pch/*.H.
        * g++.dg/pch/*.C: Include foo.H, not foo.Hp.

From-SVN: r61428
2003-01-16 23:05:54 -08:00
Richard Henderson
bb38bbdfa7 New.
From-SVN: r61427
2003-01-16 23:04:42 -08:00
Richard Henderson
f030826a53 alpha.c (alpha_sr_alias_set): Mark GTY.
* config/alpha/alpha.c (alpha_sr_alias_set): Mark GTY.
        (alpha_next_sequence_number): Likewise.
        (alpha_this_literal_sequence_number): Likewise.
        (alpha_this_gpdisp_sequence_number): Likewise.
        (struct alpha_funcs, alpha_funcs_num): Likewise.
        (struct alpha_links): Fix branch merge error.
        (alpha_need_linkage, alpha_use_linkage): Use GC for alpha_funcs.

From-SVN: r61426
2003-01-16 22:45:44 -08:00
Alexandre Oliva
e1551d4745 mips.h: Don't use #elif.
* config/mips/mips.h: Don't use #elif.  Reported by Kaveh
R. Ghazi.

From-SVN: r61425
2003-01-17 05:00:23 +00:00
Jason Merrill
a48cccead8 re PR c++/8564 (ICE in find_function_data, at function.c:329)
PR c++/8564
        * init.c (build_vec_init): Re-add maxindex parm.
        (perform_member_init, build_aggr_init): Pass it.
        (build_new_1): Pass it. Use an incomplete array type for full_type.
        * typeck.c (build_modify_expr): Pass it.
        * cp-tree.h: Adjust.

From-SVN: r61422
2003-01-16 22:43:52 -05:00
Kazu Hirata
3d042e770b ifcvt.c: Fix comment typos.
* ifcvt.c: Fix comment typos.
	* lcm.c: Likewise.
	* libgcc2.c: Likewise.
	* local-alloc.c: Likewise.
	* loop.c: Likewise.
	* predict.c: Likewise.
	* ra-build.c: Likewise.
	* ra.c: Likewise.
	* ra-colorize.c: Likewise.
	* ra.h: Likewise.
	* ra-rewrite.c: Likewise.
	* regmove.c: Likewise.
	* reload.h: Likewise.
	* rtlanal.c: Likewise.
	* toplev.c: Likewise.
	* tree.h: Likewise.
	* unwind-dw2-fde-glibc.c: Likewise.
	* vmsdbgout.c: Likewise.

From-SVN: r61421
2003-01-17 03:28:11 +00:00
Bruce Korb
fd2190ca49 fixincl.sh has been editable for several years now...
From-SVN: r61420
2003-01-17 02:59:18 +00:00
Richard Henderson
50c620d648 pch.exp: Copy test header to the working directory before using it either for...
* gcc.dg/pch/pch.exp: Copy test header to the working directory
        before using it either for precompilation or direct use.
        * gcc.dg/pch/*.hs: Rename from gcc.dg/pch/*.h.
        * gcc.dg/pch/*.c: Include foo.h, not foo.hp.

From-SVN: r61419
2003-01-16 18:48:09 -08:00
Richard Henderson
c4274b22b9 dwarf2out.c (struct file_table): Remove.
* dwarf2out.c (struct file_table): Remove.
        (FILE_TABLE_INCREMENT): Remove.
        (file_table): Make a varray; mark for GC.  Update all users.
        (file_table_last_lookup_index): Extract from struct file_table.
        (output_file_names): Fix unsigned compare warnings.
        (add_name_attribute): Remove inline marker.
        (add_comp_dir_attribute): Split out from gen_compile_unit_die.
        (lookup_filename): Don't manage size of file_table.
        (init_file_table): Allocate file_table with GC.
        (dwarf2out_init): Don't record main_input_filename here.
        (dwarf2out_finish): Do it here instead.

From-SVN: r61418
2003-01-16 18:34:04 -08:00
Bruce Korb
19162d0e2b QNX needs a bypass for limits_ifndefs
From-SVN: r61417
2003-01-17 02:08:05 +00:00
Jeffrey D. Oldham
ca2ceadd31 * config/locale/generic/messages_members.h
(messages_byname<_CharT>::messages_byname): Use this-> to refer to
	unqualified members of base clasess.

From-SVN: r61416
2003-01-17 01:20:08 +00:00
Kaveh R. Ghazi
f981519d5e builtins.c (java_build_function_call_expr): Renamed from build_function_call_expr.
* builtins.c (java_build_function_call_expr): Renamed from
	build_function_call_expr.  All callers changed.

From-SVN: r61415
2003-01-17 00:58:08 +00:00
Kaz Kojima
f1e2239f79 sh.c (sh_initialize_trampoline): Emit rotrdi3_mextr instead of rotldi3_mextr.
* config/sh/sh.c (sh_initialize_trampoline): Emit rotrdi3_mextr
        instead of rotldi3_mextr.

From-SVN: r61413
2003-01-17 00:26:53 +00:00
Vladimir Makarov
cda1f76561 haifa-sched.c (move_insn): Restore moving all schedule group.
2003-01-16  Vladimir Makarov  <vmakarov@redhat.com>

	* haifa-sched.c (move_insn): Restore moving all schedule group.
	(set_priorities): Restore taking SCHED_GROUP_P into account.

	* sched-deps.c (add_dependence): Restore processing the last group
	insn.
	(remove_dependence, group_leader): Restore the functions.
	(set_sched_group_p): Restore adding dependencies from previous insn
	in the group.
	(compute_forward_dependences): Restore usage of group_leader.

	* sched-ebb.c (init_ready_list): Restore taking SCHED_GROUP_P into
	account.

	* sched-rgn.c (init_ready_list): Restore taking SCHED_GROUP_P into
	account.
	(can_schedule_ready_p): Ditto.
	(add_branch_dependences): Restore skipping over the group insns.

From-SVN: r61412
2003-01-17 00:00:18 +00:00
Stephane Carrez
200097cc9a m68hc11.c (m68hc11_check_z_replacement): Fix handling 68HC12 pre/post inc/dec side effects.
* config/m68hc11/m68hc11.c (m68hc11_check_z_replacement): Fix handling
	68HC12 pre/post inc/dec side effects.

From-SVN: r61410
2003-01-16 23:12:39 +01:00
Jeffrey D. Oldham
cc23546e32 cp-tree.h (tsubst_copy_and_build): New declaration.
2003-01-16  Jeffrey D. Oldham  <oldham@codesourcery.com>

	* cp-tree.h (tsubst_copy_and_build): New declaration.
	* pt.c (tsubst_copy): Remove 'build_expr_from_tree' from comment.
	(tsubst_expr): Use 'tsubst_copy_and_build'.  Update initial comment.
	(tsubst_copy_and_build): New function.

From-SVN: r61409
2003-01-16 22:06:04 +00:00
Stephane Carrez
f411c7397a * config/m68hc11/m68hc11.h (MASK_M6812): Define.
From-SVN: r61407
2003-01-16 22:50:20 +01:00
J"orn Rennecke
08c43ea722 * sh.md (mshflo_w_x): Fix description of operation.
From-SVN: r61406
2003-01-16 21:43:43 +00:00