Commit Graph

30046 Commits

Author SHA1 Message Date
Geoff Keating
be875f8044 * gcc.dg/920413-1.c: Allow for 'traditional C rejects 'U' suffix' warning.
From-SVN: r35619
2000-08-11 03:58:55 +00:00
Chris Demetriou
204772eb9c elf.h (CTOR_SECTION_NAME, [...]): New macros define the name of CTOR and DTOR sections.
* mips/elf.h (CTOR_SECTION_NAME, DTOR_SECTION_NAME): New
	macros define the name of CTOR and DTOR sections.
	(CTOR_LIST_BEGIN, CTOR_LIST_END, DTOR_LIST_BEGIN,
	DTOR_LIST_END): Change to use attributes to specify
	sections.
        * mips/elf64.h (CTOR_SECTION_NAME, DTOR_SECTION_NAME,
	(CTOR_LIST_BEGIN, CTOR_LIST_END, DTOR_LIST_BEGIN,
	DTOR_LIST_END): Same as in mips/elf.h.

From-SVN: r35618
2000-08-10 21:18:05 -06:00
Tom Tromey
366a0fd804 natPlainSocketImpl.cc (bind): Don't go to error case when errno not set.
* java/net/natPlainSocketImpl.cc (bind): Don't go to error case
	when errno not set.
	(connect): Likewise.
	(accept): Likewise.
	(getOption): Likewise.
	* java/net/natPlainDatagramSocketImpl.cc (bind): Don't go to error
	case when errno not set.
	(peek): Likewise.
	(send): Likewise.
	(receive): Likewise.
	(mcastGrp): Likewise.
	(setOption): Likewise.
	(getOption): Likewise.

From-SVN: r35617
2000-08-11 03:07:59 +00:00
Kazu Hirata
edd71f0f6c h8300.c (expand_a_rotate): New.
* h8300.c (expand_a_rotate): New.
        (emit_a_rotate): Likewise.
        (h8300_adjust_insn_length): Add support for the rotate insns.
        * h8300.md (rotlqi3): New.
        (*rotlqi3_1): Likewise.
        (rotlhi3): Likewise.
        (*rotlhi3_1): Likewise.
        (rotlhi3): Likewise.
        (*rotlhi3_1): Likewise.
        * h8300-proto.h: Add prototypes for expand_a_rotate and
        emit_a_rotate.

From-SVN: r35616
2000-08-10 19:43:47 -06:00
Drew Moseley
dff55dbc71 mn10300.h: Added no-crt0 option for explicitly disabling just crt0.o.
* config/mn10300/mn10300.h: Added no-crt0 option for explicitly
disabling just crt0.o.

From-SVN: r35615
2000-08-11 01:31:14 +00:00
Richard Earnshaw
6dcd26ea33 Fix interworking support of functions in lib1funcs.asm.
From-SVN: r35610
2000-08-11 00:30:55 +00:00
Kazu Hirata
64530b8273 h8300.c: Fix comment typos.
* h8300.c: Fix comment typos.
        (dosize): Declare the variable amount as unsigned.
        (get_shift_alg): Fix a comparison between signed and unsigned.
        (emit_a_shift): Likewise.
        (h8300_adjust_insn_length): Simplify the code.

From-SVN: r35609
2000-08-10 17:21:52 -06:00
Kazu Hirata
6645c3fac8 * c-decl.c: Fix formatting.
From-SVN: r35608
2000-08-10 16:01:22 -06:00
Kaveh R. Ghazi
7da92c086f c-lex.c (parse_float, yylex): For -Wtraditional, issue a warning about non-traditional numeric constant suffixes.
* c-lex.c (parse_float, yylex): For -Wtraditional, issue a
	warning about non-traditional numeric constant suffixes.

	* cppexp.c (parse_number): Likewise.

	* invoke.texi: (-Wtraditional): Document new behavior.

From-SVN: r35607
2000-08-10 15:21:18 +00:00
Nathan Sidwell
b498d041fa * g++.old-deja/g++.other/array3.C: New test.
From-SVN: r35606
2000-08-10 12:33:45 +00:00
Nathan Sidwell
aa54df0901 init.c (build_aggr_init): Reject bogus array initializers early.
* init.c (build_aggr_init): Reject bogus array initializers
	early.

From-SVN: r35605
2000-08-10 12:32:40 +00:00
Bryce McKinlay
af65739581 cvs commit ChangeLog
From-SVN: r35604
2000-08-10 10:10:58 +01:00
Bryce McKinlay
b6ac804e3d Connection.java (gotHeaders): Removed.
2000-08-10  Bryce McKinlay  <bryce@albatross.co.nz>
	    John Stracke <francis@ecal.com>

	* gnu/gcj/protocol/http/Connection.java (gotHeaders): Removed.
	(connect): Don't falsely claim HTTP/1.1 compliance. Call
	getHttpHeaders().
	(disconnect): Don't unset connected flag.
	(getHeaderField (String)): Call connect() if not connected.
	(getHeaderField (int)): Ditto.
	(getHeaderFieldKey): Ditto.
	(getHttpHeaders): Don't call connect().
	* java/net/HttpURLConnection.java (instanceFollowRedirects,
	gotResponseVals): New fields.
	(getResponseCode): Call getResponseVals() conditionally.
	(getResponseMessage): Ditto.
	(getResponseVals): Call connect(). Don't throw
	FileNotFoundException.

From-SVN: r35603
2000-08-10 10:10:25 +01:00
Joseph Myers
9052d3bebc c90-array-lval-1.c, [...]: New tests.
* gcc.dg/c90-array-lval-1.c, gcc.dg/c90-scope-1.c,
	gcc.dg/c99-array-lval-1.c, gcc.dg/c99-const-expr-1.c,
	gcc.dg/c99-func-1.c, gcc.dg/c99-func-2.c, gcc.dg/c99-scope-1.c:
	New tests.

From-SVN: r35602
2000-08-10 09:19:44 +01:00
Jeff Law
da40cbf67a Daily bump.
From-SVN: r35601
2000-08-10 01:45:17 -06:00
Ovidiu Predescu
4f245f2161 gthr-posix.h: Include auto-host.h.
Thu Aug 10 00:11:04 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>

	* gthr-posix.h: Include auto-host.h. Conditionally include
	<sched.h>.
	* configure.in: Check for the <sched.h> header file.
	* config.in: Added define for HAVE_SCHED_H.

From-SVN: r35600
2000-08-10 07:11:44 +00:00
Ovidiu Predescu
1a46ef5eec Include auto-host.h. Conditionally include <sched.h>.
From-SVN: r35599
2000-08-10 07:11:02 +00:00
Ovidiu Predescu
c3d80041a3 Check for the <sched.h> header file.
From-SVN: r35598
2000-08-10 07:10:23 +00:00
Ovidiu Predescu
3ef5f28679 Added define for HAVE_SCHED_H.
From-SVN: r35597
2000-08-10 07:07:58 +00:00
Tom Tromey
60798ef254 re GNATS gcj/310 (illegal type "long" accepted for "switch" expression)
From PR gcj/310:
	* libjava.compile/PR310.java: New file.
	* libjava.compile/PR310.xfail: New file.

From-SVN: r35596
2000-08-10 01:09:12 +00:00
Kaveh R. Ghazi
253b6b828a c-typeck.c (process_init_element): For -Wtraditional, warn about initialization of unions.
* c-typeck.c (process_init_element): For -Wtraditional, warn about
	initialization of unions.

	* invoke.texi (-Wtraditional): Document new behavior.

From-SVN: r35595
2000-08-09 19:52:35 +00:00
Zack Weinberg
2bf9a2abfe Remove stray blank line in previous commit
From-SVN: r35594
2000-08-09 19:44:29 +00:00
Zack Weinberg
9ec7291f1f configure.in (--enable-c-cpplib): Uncomment.
* configure.in (--enable-c-cpplib): Uncomment.  Use AC_DEFINE
	instead of extra_c_flags.
	(--enable-c-mbchar): Use AC_DEFINE instead of extra_c_flags.
	* configure: Regenerate.
	* config.in: Regenerate.

	* cpperror.c (cpp_type2name): New function.
	* cpplex.c (lex_line): If we issued an error for an invalid
	preprocessing directive, discard that logical line.
	* cpplib.c (do_line): Call a hook function if the current file
	is renamed by #line.
	(do_ident): Pass the contents of the string, not the entire
	token, to the callback function.
	* cpplib.h (CPP_LAST_PUNCTUATOR): New #define.
	(cb.rename_file): New hook function.
	(cb.ident): Adjust prototype.
	(cpp_type2name): Prototype.
	* cppmacro.c (dump_macro_args): Correct precedence lossage.

	* cppmain.c (cb_ident): Update for changed interface.
	(cb_rename_file): New function.
	(main): Set rename callback.

From-SVN: r35593
2000-08-09 19:41:12 +00:00
Jason Merrill
9cc82a0198 pt.c (tsubst_aggr_type): Bail if creating the argvec fails.
* pt.c (tsubst_aggr_type): Bail if creating the argvec fails.
        (tsubst_template_arg_vector): Likewise.

From-SVN: r35592
2000-08-09 14:55:42 -04:00
Alexandre Oliva
a58df068f4 It's exit(0)', not exit()'!
From-SVN: r35591
2000-08-09 13:14:54 +00:00
Bryce McKinlay
e8244abeda Makefile.am: Move beans and applet classes to awt_java_source_files.
2000-08-09  Bryce McKinlay  <bryce@albatross.co.nz>

	* Makefile.am: Move beans and applet classes to
	awt_java_source_files.
	* Makefile.in: Rebuilt.

From-SVN: r35590
2000-08-09 14:03:26 +01:00
Bryce McKinlay
b996061366 Makefile.am: Move beans and applet classes to awt_java_source_files.
2000-08-09  Bryce McKinlay  <bryce@albatross.co.nz>

	* Makefile.am: Move beans and applet classes to
	awt_java_source_files.
	* Makefile.in: Rebuilt.
	* java/awt/Color.java (getTransparency): New method.
	* java/awt/Component.java: Various updates.
	* java/awt/Container.java (removeNotify): Call super.removeNotify()
	after dealing with children.
	* java/awt/Toolkit.java (changeSupport): Renamed from pcsupport.
	* java/awt/Window.java: Various new methods and updates.
	* java/awt/color/ICC_Profile.java (getNumComponents): Cast profileID
	to int for switch.
	* java/awt/event/KeyEvent.java (paramString): Initialize `r'.
	* java/awt/event/WindowEvent.java (paramString): Ditto.
	* java/awt/geom/Dimension2D.java (clone): Wrap super call with
	try/catch block.
	* java/awt/geom/Point2D.java (clone): Ditto.
	* java/awt/geom/RectangularShape.java (clone): Ditto.
	* java/awt/image/ColorModel.java (bits, cspace, transparency,
	hasAlpha, isAlphaPremultiplied): Make package-private, not private.

From-SVN: r35589
2000-08-09 14:01:44 +01:00
Nathan Sidwell
7e8dad1827 rtti.c (build_dynamic_cast_1): Set "C" linkage for new abi runtime.
* rtti.c (build_dynamic_cast_1): Set "C" linkage for new abi
	runtime.
	* cp/tinfo.cc (__dynamic_cast): Likewise.
	* cp/inc/cxxabi.h (__dynamic_cast): Likewise.

From-SVN: r35588
2000-08-09 09:57:55 +00:00
Nathan Sidwell
68c9819964 ptrflags.C: Adjust rtti member names.
* g++.old-deja/g++.abi/ptrflags.C: Adjust rtti member names.
	* g++.old-deja/g++.abi/vmihint.C: Likewise.

From-SVN: r35587
2000-08-09 09:52:47 +00:00
Nathan Sidwell
0f586b9b02 cvt.c (convert_to_pointer_force): Fix error message when attempting to cast from ambiguous base.
* cvt.c (convert_to_pointer_force): Fix error message when
	attempting to cast from ambiguous base.

From-SVN: r35586
2000-08-09 09:43:00 +00:00
Jeff Law
9371e8a028 Daily bump.
From-SVN: r35585
2000-08-09 01:45:07 -06:00
Benjamin Kosnik
8901ac210e [multiple changes]
2000-08-09  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

	Preliminary wchar_t implementation, with trivial encodings.
	* docs/configopts.html: Add bits about canonical configure option
	checking.

	* testsuite/27_io/iostream_objects.cc: Replace this file (which
	has newly-declared-illegal mixing of wide/narrow stdstreams) with...
	* testsuite/27_io/narrow_stream_objects.cc: New file.
	* testsuite/27_io/wide_stream_objects.cc: New file.

	* bits/fstream.tcc (underflow): Temporarily hack a solution
	together that writes from the external file to the internal
	buffers. This removes codecvt from the loop, and is incorrect.
	(_M_really_overflow): Same here.

	* testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.

2000-08-08  Benjamin Kosnik  <bkoz@cygnus.com>
	    Ulrich Drepper  <drepper@cygnus.com>

	* config/c_io_libio.h: Tweak.
	* config/c_io_libio_codecvt.c: New file.
	* libio/Makefile.am: Add c_codecvt.c.
	* libio/Makefile.in: Regenerate.
	* libio/genops.c (_IO_unbuffer_write): Don't call _IO_SETBUF if the
	stream is not orientated.

	* acinclude.m4: Add config/c_io_libio_codecvt.c dummy file, until
	encoding gets fleshed out.

	* bits/basic_file.h: Add specialization declarations.
	* config/c_io_libio.cc: Add specializations for pbackfail, uflow.

	* config/c_io_libio.h: Add __c_wfile_type.
	* bits/basic_file.h: Add _M_wfile.

	* config/c_io_libio.cc (__basic_file<char>): Initialize the
	streams without setting the orientation of the underlying FILE to
	either wide or narrow.
	(__basic_file<wchar_t>)): Enable tricky wchar_t io bits.

From-SVN: r35584
2000-08-09 07:33:39 +00:00
Benjamin Kosnik
5c61484936 c_io_libio.h: Tweak.
2000-08-08  Benjamin Kosnik  <bkoz@cygnus.com>
	    Ulrich Drepper  <drepper@cygnus.com>

	* config/c_io_libio.h: Tweak.
	* config/c_io_libio_codecvt.c: New file.
	* libio/Makefile.am: Add c_codecvt.c.
	* libio/Makefile.in: Regenerate.
	* libio/genops.c (_IO_unbuffer_write): Don't call _IO_SETBUF if the
	stream is not orientated.

	* acinclude.m4: Add config/c_io_libio_codecvt.c dummy file, until
	encoding gets fleshed out.

	* bits/basic_file.h: Add specialization declarations.
	* config/c_io_libio.cc: Add specializations for pbackfail, uflow.

	* config/c_io_libio.h: Add __c_wfile_type.
	* bits/basic_file.h: Add _M_wfile.

	* config/c_io_libio.cc (__basic_file<char>): Initialize the
	streams without setting the orientation of the underlying FILE to
	either wide or narrow.
	(__basic_file<wchar_t>)): Enable tricky wchar_t io bits.

From-SVN: r35583
2000-08-09 07:31:26 +00:00
Benjamin Kosnik
86b8dde633 Finish preliminary wchar_t implementation, with trivial encodings.
2000-08-09  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

	Finish preliminary wchar_t implementation, with trivial encodings.
	* docs/configopts.html: Add bits about canonical configure option
	checking.

	* testsuite/27_io/iostream_objects.cc: Replace this file (which
	has newly-declared-illegal mixing of wide/narrow stdstreams) with...
	* testsuite/27_io/narrow_stream_objects.cc: New file.
	* testsuite/27_io/wide_stream_objects.cc: New file.

	* bits/fstream.tcc (underflow): Temporarily hack a solution
	together that writes from the external file to the internal
	buffers. This removes codecvt from the loop, and is incorrect.
	(_M_really_overflow): Same here.

	* testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.

From-SVN: r35582
2000-08-09 07:28:54 +00:00
Jason Merrill
08e72a1929 pt.c (tsubst_aggr_type): Bail if creating the argvec fails.
* pt.c (tsubst_aggr_type): Bail if creating the argvec fails.
        (tsubst_template_arg_vector): Likewise.

        * decl2.c (build_anon_union_vars): Choose the largest field; don't
        assume that one will be as large as the union.

From-SVN: r35581
2000-08-09 01:52:17 -04:00
Alexandre Oliva
8e32b501b8 * gcc.c-torture/execute/20000808-1.c: New test.
From-SVN: r35580
2000-08-09 05:21:17 +00:00
Alexandre Oliva
2696f6a43d caller-save.c (mark_referenced_regs): Mark partially-overwritten multi-word registers.
* caller-save.c (mark_referenced_regs): Mark partially-overwritten
multi-word registers.

From-SVN: r35579
2000-08-09 05:17:12 +00:00
Alexandre Oliva
e50d293252 * test_summary: AWK breaks with filenames containing `='.
From-SVN: r35578
2000-08-09 05:12:51 +00:00
Joseph Myers
1fcbbcd34f * gcc.dg/c90-const-expr-1.c: New test.
From-SVN: r35577
2000-08-09 02:05:09 +01:00
Joseph Myers
89abf8d1d7 c-common.c (combine_strings, [...]): Refer to ISO C or ISO C89 instead of ANSI C.
* c-common.c (combine_strings, check_format_info): Refer to ISO C
	or ISO C89 instead of ANSI C.
	* c-decl.c (grokdeclarator, xref_tag, finish_struct,
	build_enumerator, do_case): Likewise.
	* c-lex.c (parse_float, yylex): Likewise.
	* c-parse.in: Likewise.
	* c-typeck.c (common_type, build_array_ref, build_binary_op,
	build_unary_op, pedantic_lvalue_warning, build_conditional_expr,
	build_c_cast, convert_for_assignment, set_init_index,
	set_init_label, c_expand_start_case): Likewise.
	* toplev.c (documented_lang_options, display_help): Likewise.

From-SVN: r35576
2000-08-09 00:19:11 +01:00
Kazu Hirata
1a63219b0d h8300.c: Fix formatting.
* h8300.c: Fix formatting.
        * h8300.h: Likewise.
        * h8300.md: Likewise.
        (movsi_h8300hs): Fix formatting of the resulting assembly code.

From-SVN: r35575
2000-08-08 17:09:52 -06:00
Kazu Hirata
1d7254c5a7 * reload1.c: Fix formatting.
From-SVN: r35574
2000-08-08 17:07:10 -06:00
Rodney Brown
0499c2e4dd alpha.c (alpha_emit_xfloating_libcall): Use GEN_CALL_VALUE define.
* alpha/alpha.c (alpha_emit_xfloating_libcall):
        Use GEN_CALL_VALUE define.
        * alpha/alpha.md (untyped_call): Use GEN_CALL define.
        * clipper/clipper.md (untyped_call): Likewise.
        * dsp16xx/dsp16xx.md (untyped_call): Likewise.
        * fx80/fx80.md (untyped_call): Likewise.
        * mips/mips.md (untyped_call): Likewise.
        * ns32k/ns32k.md (untyped_call): Likewise.
        * pa/pa.md (untyped_call): Likewise.
        * romp/romp.md (untyped_call): Likewise.
        * sparc/sparc.md (untyped_call): Likewise.

From-SVN: r35573
2000-08-08 16:40:49 -06:00
Jason Eckhardt
ebec3cf99d i860.c (singlemove_string): Do not generate assembler pseudo instructions that must be expanded (that is...
2000-08-08  Jason Eckhardt  <jle@cygnus.com>

        * config/i860/i860.c (singlemove_string): Do not generate assembler
        pseudo instructions that must be expanded (that is, with signed
        constants larger than 16 bits).

From-SVN: r35572
2000-08-08 22:22:32 +00:00
Richard Henderson
b2262f4a2c flow.c (life_analysis): Only turn off PROP_LOG_LINKS and PROP_AUTOINC at -O0.
* flow.c (life_analysis): Only turn off PROP_LOG_LINKS and
        PROP_AUTOINC at -O0.  Don't collect alias info at -O0.
        (init_propagate_block_info): Don't kill memory stores at -O0.
        (mark_set_1, mark_used_regs): Likewise.

From-SVN: r35571
2000-08-08 12:46:51 -07:00
David Edelsohn
e2c953b6dd rs6000.c (optimization_options): Decorate 'level' as ATTRIBUTE_UNUSED.
* rs6000.c (optimization_options): Decorate 'level' as
	ATTRIBUTE_UNUSED.
	(mask64_operand): Remove sign-extend thinko.
	(rldic_operand): New function.
	(load_multiple_operation): regno's are unsigned ints.
	(store_multiple_operation): Likewise.
	(lmw_operation): Likewise.
	(stmw_operation): Likewise.
	(includes_lshift_p): shift_mask is unsigned int.
	(includes_lshift64_p): New function.
	(addrs_ok_for_quad_peep): unsigned int reg1.
	(print_operand): Consistently add "else" after
	output_operand_lossage().
	(print_operand, case 'b'): Fold in case 'W'.
	(print_operand, case 'W'): Print rldic MB value.
	(output_epilogue): Update Objective-C language string.
	(output_toc): unsigned HOST_WIDE_INT low, compare unsigned.
	* rs6000.h (PREDICATE_CODES): Add rldic_operand.
	* rs6000.md (ashldi3): Add rldic instruction.
	(iordi3, xordi3): Remove redundant "else if CONST_DOUBLE".
	(cmpsi_internal2, cmpdi_interal2): Use 'b' output template
	modifier.

From-SVN: r35570
2000-08-08 14:50:15 -04:00
Tom Tromey
6dd1b06886 Input_UTF8.java (read): Fixed handling of surrogate characters.
* gnu/gcj/convert/Input_UTF8.java (read): Fixed handling of
	surrogate characters.
	* gnu/gcj/convert/Output_UTF8.java (standardUTF8): Default to
	true.
	(write): Correct handling of surrogate characters.

From-SVN: r35569
2000-08-08 17:35:32 +00:00
Richard Henderson
97e242b0a7 ia64-protos.h: Remove duplicates.
* config/ia64/ia64-protos.h: Remove duplicates.  Update
	for massive code rearrangements.
	* config/ia64/ia64.c (ia64_arpfs_regno): Remove.
	(ia64_rp_regno, ia64_fp_regno, ia64_input_regs): Remove.
	(ia64_local_regs, ia64_need_regstk): Remove.
	(ar_ccv_reg_operand): New.
	(ia64_gp_save_reg): New.
	(struct ia64_frame_info): Combine most of the size elements;
	add new gr save elements.
	(find_gr_spill): New.
	(next_scratch_gr_reg): New.
	(mark_reg_gr_used_mask): New.
	(ia64_compute_frame_size): Rewrite.  Allocate special AR regs
	to GR backing store regs when possible.
	(ia64_initial_elimination_offset): New.
	(ia64_rap_fp_offset): Remove.
	(save_restore_insns): Remove.
	(setup_spill_pointers): New.
	(finish_spill_pointers): New.
	(spill_restore_mem): New.
	(do_spill, do_restore): New.
	(ia64_expand_prologue): Rewrite to use them.
	(ia64_expand_epilogue): Likewise.
	(ia64_direct_return): Update for current_frame_info changes.
	(ia64_function_prologue): Simplify .prologue emission.  Emit
	.spill when needed.
	(ia64_setup_incoming_varargs): Don't ever emit rtl.
	(ia64_dbx_register_number): New.
	(ia64_initialize_trampoline): New.
	(ia64_secondary_reload_class): Request GR_REGS for integer
	arithmetic destined for FR_REGS.
	(ia64_init_machine_status): Don't reset return_address_pointer_rtx.
	(ia64_mark_machine_status): Mark ia64_gp_save.
	(rws_access_regno): Rename from rws_access_reg; don't treat
	predicates specially.
	(rws_access_reg): New.  Update all callers.
	(rtx_needs_barrier): Remove dead unspecs.
	(ia64_epilogue_uses): Mark ar.pfs and ar.unat live on exit.
	(ia64_encode_section_info): Silence signed/unsigned warnings.
	(spill_offset, sp_offset, spill_offset_emitted): Remove.
	(tmp_reg, tmp_saved): Remove.
	(process_set): Rewrite to expect complicated bits via
	REG_FRAME_RELATED_EXPR.
	(ia64_expand_fetch_and_op): Use emit_move_insn; be explicit
	in the use of ar.ccv; never set RTX_UNCHANGING_P.
	(ia64_expand_op_and_fetch): Likewise.
	(ia64_expand_compare_and_swap): Likewise.
	(ia64_expand_builtin): Likewise.
	* config/ia64/ia64.h (AR_UNAT_REGNUM): New.
	(FIRST_PSEUDO_REGISTER): Update.
	(AR_M_REGNO_P): Update.
	(FIXED_REGS): Don't mark three local registers as used.
	(EXTRA_CC_MODES): New.
	(SELECT_CC_MODE): New.
	(HARD_REGNO_NREGS): Allow DImode in p0; handle CCImode.
	(HARD_REGNO_MODE_OK): Disallow CCImode from non-predicates.
	(FRAME_GROWS_DOWNWARD): Unset.
	(STARTING_FRAME_OFFSET): Zero.
	(ELIMINABLE_REGS): Eliminate from the soft to hard frame pointer.
	(INITIAL_ELIMINATION_OFFSET): Defer to out of line function.
	(HARD_FRAME_POINTER_REGNUM): New.
	(CAN_DEBUG_WITHOUT_FP): Define.
	(TRAMPOLINE_TEMPLATE): Remove.
	(TRAMPOLINE_SIZE): Lower to 32.
	(TRAMPOLINE_ALIGNMENT): Lower to 64.
	(INITIALIZE_TRAMPOLINE): Defer to out of line function.
	(PREDICATE_CODES): Update.
	(struct machine_function): Add ia64_gp_save.
	* config/ia64/ia64.md: Purge unused unspecs.
	(movsi patterns): Allow moves to/from AR_M_REGS.
	(movdi patterns): Allow moves to/from p0.
	(call patterns): Move most setjmp hackery to ia64_gp_save_reg.
	(gr_spill, gr_restore): Indicate ar.unat read/written.
	(nonlocal_goto): Don't pass old frame_pointer.
	(nonlocal_goto_receiver): Remove.
	(exception_receiver): New.
	(builtin_setjmp_setup): New.
	(builtin_setjmp_receiver): New.
	* config/ia64/lib1funcs.asm (__ia64_save_stack_nonlocal): Bundle.
	(__ia64_nonlocal_goto): Bundle.  Don't kill r7.
	(__ia64_restore_stack_nonlocal): Likewise.
	(__ia64_trampoline): New.
	* config/ia64/sysv4.h (DBX_REGISTER_NUMBER): Defer to out of line
	function.
	* config/ia64/t-ia64 (LIB1ASMFUNCS): Add __trampoline.

From-SVN: r35568
2000-08-08 03:01:20 -07:00
Richard Henderson
ee7152458a * gcc.dg/noncompile/920923-1.c: Declare calloc.
From-SVN: r35567
2000-08-08 02:24:53 -07:00
Richard Henderson
0548a9df61 * regclass.c (choose_hard_reg_mode): Iterate over all CC modes.
From-SVN: r35566
2000-08-08 02:18:47 -07:00