Commit Graph

31378 Commits

Author SHA1 Message Date
Mark Mitchell
c39c0db36c c-tree.texi (FUNCTION_TYPE): Clarify TYPE_ARG_TYPES for unprototyped C functions with no parameters.
* c-tree.texi (FUNCTION_TYPE): Clarify TYPE_ARG_TYPES for
	unprototyped C functions with no parameters.

From-SVN: r37321
2000-11-08 19:05:08 +00:00
Jakub Jelinek
6cada0cd7d sparc.h (ASM_OUTPUT_MI_THUNK): Cast DELTA to int before passing to fprintf.
* config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Cast DELTA to int
	before passing to fprintf.

From-SVN: r37320
2000-11-08 18:19:51 +01:00
Nathan Sidwell
36791f1ef1 decl.c (grok_op_properties): Always use coerce_new_type and coerce_delete_type.
cp/ChangeLog
	* decl.c (grok_op_properties): Always use coerce_new_type and
	coerce_delete_type.
	* decl2.c (coerce_new_type): Use c_size_type_node. Preserve
	exception specification. Tidy up.
	(coerce_delete_type): Preserve exception specification. Tidy up.
testsuite/ChangeLog
	* g++.old-deja/g++.other/crash36.C: New test.

From-SVN: r37319
2000-11-08 14:03:32 +00:00
Jakub Jelinek
321565d3fa * g++.old-deja/g++.other/init16.C: New test.
From-SVN: r37318
2000-11-08 14:18:08 +01:00
Jakub Jelinek
768f06694f function.c (expand_function_start): Cast GET_MODE_SIZE to HOST_WIDE_INT before negating it.
* function.c (expand_function_start): Cast GET_MODE_SIZE to
	HOST_WIDE_INT before negating it.

From-SVN: r37317
2000-11-08 14:13:10 +01:00
Jakub Jelinek
df6018fd28 expr.c (expand_expr): Handle when op0 is RETURN_DECL passed in multiple non-contiguous locations.
* expr.c (expand_expr) [ADDR_EXPR]: Handle when op0 is RETURN_DECL
	passed in multiple non-contiguous locations.

From-SVN: r37316
2000-11-08 14:10:00 +01:00
Gerald Pfeifer
14ae1d508d * README.gnat: Remove file.
From-SVN: r37315
2000-11-08 11:01:22 +00:00
Loren J. Rittle
f0cbb7aca8 * g++.old-deja/g++.mike/p6610a.C: Update XFAIL.
From-SVN: r37314
2000-11-08 10:08:28 +00:00
Jeff Law
5344f47fd0 Daily bump.
From-SVN: r37313
2000-11-08 01:45:12 -07:00
Alexandre Oliva
673887d51f mklibgcc.in (EXTRA_MULTILIB_PARTS): Generate multilib parts in-place.
* mklibgcc.in (EXTRA_MULTILIB_PARTS): Generate multilib parts
in-place.

From-SVN: r37312
2000-11-08 03:51:34 +00:00
Gabriel Dos Reis
6e124e38ba * include/bits/std_complex.h (conj): Undo double removal.
From-SVN: r37311
2000-11-08 03:01:39 +00:00
Richard Henderson
6623457026 dwarfout.c (INSN_LABEL_FMT): Remove.
* dwarfout.c (INSN_LABEL_FMT): Remove.
        (output_label_die): Use ASM_GENERATE_INTERNAL_LABEL.
        (dwarfout_label): Remove.
        * dwarfout.h: Remove it's prototype.
        * dwarf2out.c (INSN_LABEL_FMT): Remove.
        (gen_label_die): Use ASM_GENERATE_INTERNAL_LABEL.
        (dwarf2out_label): Remove.
        * dwarf2out.h: Remove it's prototype.
        * final.c (final_scan_insn): Don't call dwarf[2]out_label.

From-SVN: r37310
2000-11-07 18:18:00 -08:00
Richard Henderson
cd5c4048b3 fde-glibc.c (find_fde_for_dso): Do a binary search on the unwind region section.
* config/ia64/fde-glibc.c (find_fde_for_dso): Do a binary
        search on the unwind region section.

        * config/ia64/ia64.md (movbi): Add r/r alternative.
        (cmovdi_internal_astep): Describe all combinations of register
        classes for sources & destinations; remove matching constraints.
        (cmovdi_internal): Likewise.

From-SVN: r37309
2000-11-07 17:59:35 -08:00
Richard Henderson
81b75d9629 * gcc.c (default_compilers) [@cpp-output]: Add -fpreprocessed.
From-SVN: r37308
2000-11-07 17:34:44 -08:00
Richard Henderson
6dbaddf97c c-lang.c (start_cdtor, [...]): New functions.
* c-lang.c (start_cdtor, finish_cdtor): New functions.
        (finish_file): Use them in building constructor/destructor functions.

        * config/alpha/alpha.h (HAS_INIT_SECTION, LD_INIT_SWITCH,
        LD_FINI_SWITCH): Move ...
        * config/alpha/osf.h: ... here.
        * config/alpha/alpha-interix.h: Don't undef them.

From-SVN: r37307
2000-11-07 17:31:01 -08:00
Jeffrey Oldham
99b130844d t-iris6 (FPBIT): New.
2000-11-07  Jeffrey Oldham  <oldham@oz.codesourcery.com>

	* config/mips/t-iris6 (FPBIT): New.  Added so that __unorddf2 is
	included in libgcc.a.
	(DPBIT): Likewise.
	(dp-bit.c): Likewise.
	(fp-bit.c): Likewise.

From-SVN: r37306
2000-11-08 00:36:18 +00:00
Jeffrey Oldham
475e22ba44 va-arg-15.x: Changed to mips*-sgi-irix6.*.
2000-11-07  Jeffrey Oldham  <oldham@oz.codesourcery.com>

	* gcc.c-torture/execute/va-arg-15.x: Changed to mips*-sgi-irix6.*.
	* gcc.c-torture/execute/va-arg-16.x: Likewise.
	* gcc.c-torture/execute/va-arg-17.x: Likewise.

From-SVN: r37305
2000-11-07 23:46:09 +00:00
Nick Clifton
d7cac874d7 m88k.h (GLOBAL_ASM_OP): Add missing tab.
* config/m88k/m88k.h (GLOBAL_ASM_OP): Add missing tab.
	(INTERNAL_ASM_OP): Add missing tab.

From-SVN: r37304
2000-11-07 23:32:16 +00:00
Joseph Myers
961192e1dd alias.c [...] (init_alias_analysis, [...]): Use memset () instead of bzero ().
* alias.c (init_alias_analysis), calls.c (expand_call,
	emit_library_call_value_1), combine.c (init_reg_last_arrays),
	cse.c (new_basic_block), dbxout.c (dbxout_type), diagnostic.c
	(init_output_buffer, set_diagnostic_context), dwarf2out.c
	(equate_decl_number_to_die, build_abbrev_table), emit-rtl.c
	(init_emit_once), fold-const.c (mul_double, div_and_round_double),
	function.c (assign_parms), gcse.c (compute_can_copy,
	alloc_gcse_mem, alloc_reg_set_mem, record_one_set,
	compute_hash_table, compute_set_hash_table,
	compute_expr_hash_table), genattrtab.c (optimize_attrs), global.c
	(global_alloc, global_conflicts), haifa-sched.c (compute_trg_info,
	clear_units, schedule_block), integrate.c (initialize_for_inline,
	expand_inline_function), jump.c (thread_jumps), local-alloc.c
	(local_alloc), loop.c (combine_movables, count_loop_regs_set,
	load_mems_and_recount_loop_regs_set), print-tree.c (debug_tree),
	regclass.c (init_reg_sets, init_reg_sets_1, regclass,
	record_reg_classes, allocate_reg_info), reload.c
	(get_secondary_mem, remove_address_replacements, find_reloads),
	reload1.c (reload, set_initial_label_offsets, finish_spills,
	reload_as_needed, choose_reload_regs_init,
	reload_cse_simplify_operands), reorg.c (dbr_schedule), sbitmap.c
	(sbitmap_zero), simplify-rtx.c (simplify_plus_minus), ssa.c
	(rename_registers), stmt.c (expand_end_case), unroll.c
	(unroll_loop), varray.c (varray_grow), objc/objc-act.c: Use memset
	() instead of bzero ().

ch:
	* actions.c (check_missing_cases), typeck.c (build_chill_slice,
	build_chill_cast): Use memset () instead of bzero ().

cp:
	* class.c (duplicate_tag_error, build_vtbl_initializer), decl.c
	(push_binding_level), error.c (cp_tree_printer), pt.c
	(process_partial_specialization, tsubst_template_arg_vector),
	search.c (lookup_member): Use memset () instead of bzero ().

java:
	* expr.c (note_instructions), jcf-io.c (find_class), jcf-parse.c
	(init_outgoing_cpool), lex.c (java_init_lex): Use memset ()
	instead of bzero ().

From-SVN: r37303
2000-11-07 22:50:06 +00:00
DJ Delorie
0b13d6c243 oops, wrong ChangeLog
From-SVN: r37302
2000-11-07 17:27:26 -05:00
Kaveh R. Ghazi
a7c683a887 * gcc.c-torture/execute/string-opt-1.c: New test.
From-SVN: r37301
2000-11-07 22:13:58 +00:00
Jeffrey Oldham
8735550f7f va-arg-15.x: New file.
2000-11-07  Jeffrey Oldham  <oldham@oz.codesourcery.com>

	* gcc.c-torture/execute/va-arg-15.x: New file.  Fails on
	mips-sgi-irix6.* because the MIPS ABI passes floating-point
	parameters in registers, and there is no way for a varargs
	function to know in which order the integer and floating-point
	parameters should be interleaved when they are placed on the
	stack.
	* gcc.c-torture/execute/va-arg-16.x: Likewise.
	* gcc.c-torture/execute/va-arg-17.x: Likewise.

From-SVN: r37300
2000-11-07 22:07:55 +00:00
Neil Booth
e3cc358167 * cp/lang-specs.h: Fix -save-temps specs under USE_CPPLIB.
From-SVN: r37299
2000-11-07 21:35:20 +00:00
Tom Tromey
c7e05afb62 sjis_comment3.java: Removed.
* libjava.compile/sjis_comment3.java: Removed.
	* libjava.compile/sjis_comment2.java: Removed.
	* libjava.compile/sjis_comment1.java: Removed.
	* libjava.compile/euc_comment3.java: Removed.
	* libjava.compile/euc_comment2.java: Removed.
	* libjava.compile/euc_comment1.java: Removed.

From-SVN: r37298
2000-11-07 20:48:55 +00:00
Kaveh R. Ghazi
f8136648fb * c-common.c (combine_strings): Only warn about long strings for C.
From-SVN: r37297
2000-11-07 20:15:19 +00:00
J"orn Rennecke
71fd5a5123 * combine.c (distribute_notes): Fix typo in last change.
From-SVN: r37296
2000-11-07 19:46:58 +00:00
Geoffrey Keating
bdaa01817b rs6000.md (movdi_internal32+1): Use operand_subreg_force rather than gen_rtx_SUBREG.
* config/rs6000/rs6000.md (movdi_internal32+1): Use
	operand_subreg_force rather than gen_rtx_SUBREG.
	(movdi_internal32+2): Likewise.

From-SVN: r37295
2000-11-07 18:51:05 +00:00
Philip Blundell
bc56a125dc Delete arm-linux-aout target
From-SVN: r37294
2000-11-07 18:16:15 +00:00
Philipp Thomas
a71d3613b9 ABOUT-GCC-NLS: Remove the patch for gettext as it has been accepted my the gettext maintainer.
2000-11-07  Philipp Thomas  <pthomas@suse.de>

	* ABOUT-GCC-NLS: Remove the patch for gettext as it has been
	accepted my the gettext maintainer.

From-SVN: r37293
2000-11-07 17:45:31 +00:00
DJ Delorie
6cc99eaf45 * testsuite/gcc.dg/20000614-1.c: Add return so that test can pass.
From-SVN: r37292
2000-11-07 12:12:59 -05:00
Kaveh R. Ghazi
26a87cabc6 builtins.c (expand_builtin_strpbrk): New function.
* builtins.c (expand_builtin_strpbrk): New function.
	(expand_builtin): Handle BUILT_IN_STRPBRK.

	* builtins.def (BUILT_IN_STRPBRK): New entry.

	* c-common.c (c_common_nodes_and_builtins): Declare builtin
	strpbrk.

testsuite:
	* gcc.c-torture/execute/string-opt-2.c: New test.

From-SVN: r37291
2000-11-07 16:08:57 +00:00
Phil Edwards
4fa5bf370e Add self upon request as libstdc++-v3 maintainer.
From-SVN: r37290
2000-11-07 16:05:41 +00:00
Nathan Sidwell
d48ebde10d decl.c (build_ptrmemfunc_type): Allow error_mark_node.
cp:
	* decl.c (build_ptrmemfunc_type): Allow error_mark_node.
testsuite:
	* g++.old-deja/g++.pt/crash60.C: New test.

From-SVN: r37289
2000-11-07 13:58:21 +00:00
Jeff Law
665d66d647 Daily bump.
From-SVN: r37288
2000-11-07 01:45:08 -07:00
David O'Brien
ace54f91ac freebsd.h: New file -- FreeBSD/alpha architecture file.
2000-11-07  David O'Brien  <obrien@dragon.nuxi.com>
* config/alpha/freebsd.h: New file -- FreeBSD/alpha architecture file.
* POTFILES.in: Add config/alpha/freebsd.h
* configure.in: Add alpha*-freebsd support.
* configure: Regenerate.

Approved by:  Richard Henderson <rth@cygnus.com>
              Message-ID: <20001106211421.E14418@cygnus.com>

From-SVN: r37287
2000-11-07 08:44:40 +00:00
Joseph Myers
0dec5df959 tree.c (build_common_tree_nodes_2): Make va_list_type_node be a copy of ptr_type_node rather than ptr_type_node itself.
* tree.c (build_common_tree_nodes_2): Make va_list_type_node be a
	copy of ptr_type_node rather than ptr_type_node itself.

From-SVN: r37286
2000-11-07 07:40:37 +00:00
J"orn Rennecke
bf103ec201 combine.c (recog_for_combine): Allocate uninitialized vector with rtvec_alloc.
* combine.c (recog_for_combine): Allocate uninitialized vector with
	rtvec_alloc.
	* recog.c (apply_change_group): Likewise.

From-SVN: r37285
2000-11-07 06:36:12 +00:00
J"orn Rennecke
c762163eba flow.c (verify_local_live_at_start): Back out last change.
* flow.c (verify_local_live_at_start): Back out last change.
	* combine.c (distribute_notes): When parts of a hard reg are
	neither set nor referenced in PLACE, search backwards for a
	place to put a REG_UNUSED note; if none found, ask for flow
	info refresh.

From-SVN: r37284
2000-11-07 06:28:34 +00:00
Alexandre Oliva
aa17a5f382 acinclude.m4 (LIB_AC_PROG_CXX): Remove CXX from the list of alternatives for CXX_libstdcxx, now that it is useless.
* acinclude.m4 (LIB_AC_PROG_CXX): Remove CXX from the list of
alternatives for CXX_libstdcxx, now that it is useless.
* aclocal.m4, configure: Rebuilt.

From-SVN: r37283
2000-11-07 02:00:22 +00:00
J"orn Rennecke
f34c06e547 reload1.c (eliminate_regs_in_insn): Allow a set to be a PARALLEL with (clobber (match_scratch...)).
* reload1.c (eliminate_regs_in_insn): Allow a set to be a PARALLEL
	with (clobber (match_scratch...)).

From-SVN: r37281
2000-11-06 20:09:04 +00:00
Christopher Faylor
f559f30b4b * config.sub: Add support for Sun Chorus
From-SVN: r37280
2000-11-06 19:20:24 +00:00
Neil Booth
2b892489e1 c-lex.c (init_c_lex): If cpp_start_read fails, exit with error status.
* c-lex.c (init_c_lex): If cpp_start_read fails, exit with
	error status.

From-SVN: r37279
2000-11-06 19:10:05 +00:00
Neil Booth
ea33bfc554 tradcpp.c (special_symbol): Assign an null string rather than writing to an unallocated buffer.
* tradcpp.c (special_symbol): Assign an null string rather
        than writing to an unallocated buffer.

From-SVN: r37278
2000-11-06 18:58:28 +00:00
Neil Booth
56051c0abd cpplex.c (_cpp_equiv_tokens): Check arg_no in the CPP_MACRO_ARG case.
* cpplex.c (_cpp_equiv_tokens): Check arg_no in the
	CPP_MACRO_ARG case.

From-SVN: r37277
2000-11-06 18:47:21 +00:00
Neil Booth
6c53ebffc5 c-lex.c (c_lex): Replace tok.val.aux with tok.val.c or tok.val.arg_no as appropriate.
* c-lex.c (c_lex): Replace tok.val.aux with tok.val.c or
	tok.val.arg_no as appropriate.
	* cppexp.c (lex): Similarly.
	* cpplex.c (_cpp_lex_token, cpp_spell_token, cpp_output_token,
	cpp_equiv_tokens, cpp_can_paste, cpp_avoid_paste): Similarly.
	* cppmacro.c (stringify_arg, replace_args, lex_expansion_token,
	cpp_macro_definition): Similarly.
	* cpplib.h (struct cpp_token): Replace aux with c and arg_no.

From-SVN: r37276
2000-11-06 18:43:32 +00:00
Jakub Jelinek
d1877a9b13 crash24.C: New test.
* g++.old-deja/g++.other/crash24.C: New test.
	* g++.old-deja/g++.other/crash25.C: New test.
	* g++.old-deja/g++.other/crash26.C: New test.
	* g++.old-deja/g++.other/crash27.C: New test.
	* g++.old-deja/g++.other/crash28.C: New test.
	* g++.old-deja/g++.other/crash29.C: New test.
	* g++.old-deja/g++.other/crash30.C: New test.
	* g++.old-deja/g++.other/crash31.C: New test.
	* g++.old-deja/g++.other/crash32.C: New test.
	* g++.old-deja/g++.other/crash33.C: New test.
	* g++.old-deja/g++.other/crash34.C: New test.
	* g++.old-deja/g++.other/crash35.C: New test.

From-SVN: r37275
2000-11-06 13:29:02 +01:00
Jakub Jelinek
8b1c5fd025 sparc.md (adddi3): If operands[2] is 4096 and operands[1] is constant...
* config/sparc/sparc.md (adddi3): If operands[2] is 4096 and
	operands[1] is constant, calculate the sum and generate movdi.
	(addsi3): Similarly.  Use SImode in call to arith_4096_operand.
	(subsi3): Use SImode in call to arith_4096_operand.

	* gcc.c-torture/execute/20001031-1.c: New test.

From-SVN: r37274
2000-11-06 11:42:20 +01:00
Jakub Jelinek
a0115140d0 sparc.h (ASM_OUTPUT_MI_THUNK): On sparc64 we need to adjust %o1, not %o0 if the return type is large structure.
* config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): On sparc64 we need to
	adjust %o1, not %o0 if the return type is large structure.

From-SVN: r37273
2000-11-06 11:36:33 +01:00
Jakub Jelinek
9ea2bda9ab sparc.md (smulsi3_highpart_v8plus, [...]): Fix output formatting.
* config/sparc/sparc.md (smulsi3_highpart_v8plus, ashldi3_v8plus+1,
	update_return, flush, flushdi, ffssi2, ffsdi2): Fix output formatting.

From-SVN: r37272
2000-11-06 11:34:49 +01:00
Jeff Law
a5a1588c12 Daily bump.
From-SVN: r37271
2000-11-06 01:45:07 -07:00