Commit Graph

29825 Commits

Author SHA1 Message Date
Jason Merrill
1fc8c51cd4 configure.in (CC_FOR_TARGET, [...]): Add -B$$r/gcc/ here.
* configure.in (CC_FOR_TARGET, CHILL_FOR_TARGET,
        CXX_FOR_TARGET): Add -B$$r/gcc/ here.
        (FLAGS_FOR_TARGET): Not here.
        (CHILL_FOR_TARGET, CXX_FOR_TARGET): Don't check the list of languages.

From-SVN: r35651
2000-08-11 20:48:46 -04:00
Jason Merrill
e69c807271 decl.c (lookup_name_real): Don't forget the TYPENAME_TYPE we're looking inside.
* decl.c (lookup_name_real): Don't forget the TYPENAME_TYPE we're
        looking inside.

From-SVN: r35650
2000-08-11 20:02:49 -04:00
Richard Henderson
058557c4d1 ia64.md (addsi3): Remove expander.
* config/ia64/ia64.md (addsi3): Remove expander.
        (subsi3, mulsi3, negsi2, one_cmplsi2): Likewise.
        (*addsi3_shladd): New.

From-SVN: r35649
2000-08-11 16:48:26 -07:00
Richard Henderson
870f9ec0bc ia64.c (do_spill): Pass cfa offset to move expander.
* config/ia64/ia64.c (do_spill): Pass cfa offset to move expander.
        (do_restore): Likewise.
        (gen_movdi_x, gen_fr_spill_x, gen_fr_restore_x): New.
        (ia64_expand_prologue, ia64_expand_epilogue): Use them.
        (rtx_needs_barrier): Track actual bit manipulation for
        ar.unat moves, gr_spill, and gr_restore.
        (emit_insn_group_barriers): Special case gr_spill/gr_restore.
        (process_set): Don't handle varargs spills.
        * config/ia64/ia64.md (gr_spill): Accept cfa offset.  Emit
        .mem.offset here instead of in process_set.
        (gr_restore): Likewise.

From-SVN: r35648
2000-08-11 16:10:10 -07:00
Jason Merrill
dc329d2938 straits.h (is_del): Boolify with !!.
* std/straits.h (is_del): Boolify with !!.

        * std/bastring.cc (compare to charT*): Add rlen==n check.
        * std/bastring.h (Rep::grab): Add x86 atomic version.

From-SVN: r35647
2000-08-11 18:41:38 -04:00
Richard Henderson
dcf6e6746d * config/ia64/ia64.h (PROMOTE_MODE): Only extend to SImode.
From-SVN: r35646
2000-08-11 15:25:22 -07:00
Geoff Keating
85804ec662 configure.in (CHILL_FOR_TARGET, [...]): Use slightly more portable shell script to convert blanks to commas in $LANGUAGES.
* configure.in (CHILL_FOR_TARGET, CXX_FOR_TARGET): Use slightly more
portable shell script to convert blanks to commas in $LANGUAGES.

From-SVN: r35645
2000-08-11 22:02:04 +00:00
Alexandre Petit-Bianco
34d4df0620 class.c (maybe_layout_super_class): Fixed indentation.
2000-08-10  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * class.c (maybe_layout_super_class): Fixed indentation.
        * java-tree.h (CLASS_METHOD_CHECKED_P): New macro.
        (java_check_methods): New function declaration.
        * jcf-parse.c (get_constant): Let `char_len' go up to 3. Use `str'
        instead of `str_ptr'.
        * jcf-write.c (generate_bytecode_insns): Emit number the of args
        of a `invokeinterface' at the right time.
        * parse.h (WFL_STRIP_BRACKET): New macro.
        (SET_TYPE_FOR_RESOLUTION): Use it.
        * parse.y (build_unresolved_array_type): Reuse `type_or_wfl.'
        (check_class_interface_creation): Don't check for cross package
        innerclass name clashes.
        (method_header): Behave properly if MDECL is `error_mark_node.'
        (method_declarator): Return `error_mark_node' if bogus current
        class.
        (resolve_class): Apply WFL_STRIP_BRACKET on `cl' if necessary.
        (resolve_and_layout): New local `decl_type', set and used. Call
        java_check_methods.
        (java_check_methods): New method.
        (java_layout_classes): Use it.
        (resolve_qualified_expression_name): No EH check necessary in
        access$<n>.
        (java_complete_lhs): Use VAR_DECL's DECL_INITIAL when evaluating
        `case' statement.
        (patch_assignment): Set DECL_INITIAL on integral final local.

(http://gcc.gnu.org/ml/gcc-patches/2000-08/msg00516.html)

From-SVN: r35644
2000-08-11 15:01:37 -07:00
Manfred Hollstein
82fbe83592 * objc-features.texi: Move @node Top before @menu.
From-SVN: r35643
2000-08-11 15:25:29 -06:00
Mark Elbrecht
d9673c7951 gcc.texi (The Configuration File): Document COLLECT2_HOST_INITIALIZATION...
* gcc.texi (The Configuration File): Document
        COLLECT2_HOST_INITIALIZATION, GCC_DRIVER_HOST_INITIALIZATION, and
        UPDATE_PATH_HOST_CANONICALIZATION.

From-SVN: r35642
2000-08-11 15:23:00 -06:00
Kaveh R. Ghazi
402d11e13f c-parse.in (cast_expr): Avoid -Wstrict-prototype warnings for unprototyped function pointer casts on...
* c-parse.in (cast_expr): Avoid -Wstrict-prototype warnings for
	unprototyped function pointer casts on integer constants.

From-SVN: r35638
2000-08-11 16:25:02 +00:00
G. Helffrich
a8e2bb7666 com.c (ffecom_transform_equiv_): Make EQUIVALENCEs addressable so that debug info can be attached to their storage.
2000-08-11  G. Helffrich  <george@gly.bris.ac.uk>
            Toon Moene  <toon@moene.indiv.nluug.nl>

	* com.c (ffecom_transform_equiv_): Make EQUIVALENCEs addressable
	so that debug info can be attached to their storage.
	Unconditionally list the storage set aside for them.

Co-Authored-By: Toon Moene <toon@moene.indiv.nluug.nl>

From-SVN: r35637
2000-08-11 16:11:08 +00:00
Laurynas Biveinis
87cf27fece * fixproto: Recognize DOS paths with drive letters as absolute paths.
From-SVN: r35636
2000-08-11 09:20:10 -06:00
Alexandre Oliva
2569888781 * config-ml.in (CC, CXX): Don't introduce a leading space.
From-SVN: r35635
2000-08-11 14:55:08 +00:00
Nathan Sidwell
5c1e54768f cp-tree.h (resolve_scope_to_name): Remove unused prototype.
* cp-tree.h (resolve_scope_to_name): Remove unused prototype.
	(lookup_nested_tag): Likewise.

	* decl2.c (grokfield): Fix comment to reflect many types of _DECLs
	can be produced.

From-SVN: r35634
2000-08-11 14:09:15 +00:00
Nathan Sidwell
5426aa7faf parse.y (named_complex_class_head_sans_basetype): Remove always true if.
* parse.y (named_complex_class_head_sans_basetype): Remove
	always true if.

From-SVN: r35633
2000-08-11 13:53:39 +00:00
Nathan Sidwell
8117da65db * extend.texi (Volatiles): Fix typos.
From-SVN: r35632
2000-08-11 13:42:32 +00:00
Kazu Hirata
c9bacfdb84 * flow.c: Fix formatting.
From-SVN: r35631
2000-08-11 06:45:05 -06:00
Nathan Sidwell
b333f246e4 * g++.old-deja/g++.pt/explicit81.C: New test.
From-SVN: r35630
2000-08-11 09:28:08 +00:00
Nathan Sidwell
fd037e0d44 decl2.c (build_expr_from_tree, [...]): Build explicit TEMPLATE_ID_EXPR args.
* decl2.c (build_expr_from_tree, case METHOD_CALL_EXPR): Build
	explicit TEMPLATE_ID_EXPR args.
	(build_expr_from_tree, case CALL_EXPR): Likewise.

From-SVN: r35629
2000-08-11 09:28:01 +00:00
Nathan Sidwell
9104081d78 * g++.old-deja/g++.pt/typename26.C: New test.
From-SVN: r35628
2000-08-11 09:12:43 +00:00
Nathan Sidwell
73ae5c34ab decl.c (check_tag_decl): Diagnose typename's which don't declare anything.
* decl.c (check_tag_decl): Diagnose typename's which don't
	declare anything.

From-SVN: r35627
2000-08-11 09:12:31 +00:00
Richard Henderson
9eba0801b6 reload.c (push_secondary_reload): When invoking a reload_{in,out} pattern...
* reload.c (push_secondary_reload): When invoking a reload_{in,out}
        pattern, always allocate a tertiary scratch register.

        * config/alpha/alpha.md (reload_inqi): Use a DImode scratch.
        (reload_inhi): Likewise.

From-SVN: r35626
2000-08-11 01:52:58 -07:00
Richard Henderson
8b4944fbce function.c (put_reg_into_stack): Allow type to be NULL.
* function.c (put_reg_into_stack): Allow type to be NULL.
        (schedule_fixup_var_refs): Likewise.
        (gen_mem_addressof): Allow decl to be NULL.
        (put_addressof_into_stack): Likewise.

From-SVN: r35625
2000-08-11 00:49:07 -07:00
Jeff Law
6481aabdb4 Daily bump.
From-SVN: r35624
2000-08-11 01:45:09 -06:00
Richard Henderson
8416f80a8a flow.c (merge_blocks_nomove): Be more careful about locating the beginning of block A.
* flow.c (merge_blocks_nomove): Be more careful about
        locating the beginning of block A.

From-SVN: r35623
2000-08-11 00:39:55 -07:00
Richard Henderson
f94d0f60d3 * combine.c (simplify_shift_const): Obey SHIFT_COUNT_TRUNCATED.
From-SVN: r35622
2000-08-11 00:38:23 -07:00
Benjamin Kosnik
9c683c2adc locale_facets.tcc: Formatting tweaks.
2000-08-10  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

        * bits/locale_facets.tcc: Formatting tweaks.
        * bits/locale_facets.h (__enc_traits): Start integrating this
        into codecvt, ctype. Formatting tweaks.

From-SVN: r35621
2000-08-11 07:32:37 +00:00
Ovidiu Predescu
4b48731a0d Reverted the check for <sched.h>.
From-SVN: r35620
2000-08-11 05:51:12 +00:00
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