Commit Graph

29916 Commits

Author SHA1 Message Date
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
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