Commit Graph

35304 Commits

Author SHA1 Message Date
David Edelsohn
df002c7d8f install.texi: Update AIX information.
* doc/install.texi: Update AIX information.
	* README.RS6000: Remove obsolete file.

From-SVN: r42154
2001-05-16 10:57:06 -04:00
Nathan Sidwell
17b63fd0be Revert XFAIL removal.
From-SVN: r42153
2001-05-16 13:53:43 +00:00
Jakub Jelinek
e65677af0f gcc.c (give_switch): Don't write before start of string.
* gcc.c (give_switch): Don't write before start of string.
	Always append suffix.

Co-Authored-By: Nathan Sidwell <nathan@codesourcery.com>

From-SVN: r42152
2001-05-16 12:23:30 +00:00
Andreas Jaeger
05b7b1c1dc Makefile.in (endfile.o): Add dependency on config.h.
* libI77/Makefile.in (endfile.o): Add dependency on config.h.

	* libI77/endfile.c: Include config.h and sys/types for off_t.

	* libI77/config.h.in: New file.

	* libI77/configure.in: Add test for off_t, create config.h file.
	* libI77/configure: Regenerated.

From-SVN: r42148
2001-05-16 12:26:52 +02:00
Nathan Sidwell
e61fc951a5 cpplex.c (_cpp_lex_token, '/' case): Comments can't appear after stage3.
* cpplex.c (_cpp_lex_token, '/' case): Comments can't appear
	after stage3.

From-SVN: r42144
2001-05-16 09:38:47 +00:00
Nathan Sidwell
cc469ee98e spew.c (read_token): Call yyerror on all unexpected tokens.
cp:
	* spew.c (read_token): Call yyerror on all unexpected tokens.
testsuite:
	* g++.old-deja/g++.other/crash41.C: New test.

From-SVN: r42143
2001-05-16 09:37:21 +00:00
Nathan Sidwell
3f0a9b3563 init.c (member_init_ok_or_else): Take a tree rather than string for name.
cp:
	* init.c (member_init_ok_or_else): Take a tree rather than
	string for name.
	(expand_member_init): Adjust.
testsuite:
	* g++.pt/inherit2.C: Remove XFAIL.
	* g++.pt/crash66.C: New test.

From-SVN: r42142
2001-05-16 09:34:24 +00:00
GCC Administrator
f94557fb73 Daily bump.
From-SVN: r42139
2001-05-16 07:16:10 +00:00
Gerald Pfeifer
f4c5a69aa5 README.ALTOS: Remove obsolete file.
2001-05-16  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>

	* README.ALTOS: Remove obsolete file.

From-SVN: r42137
2001-05-16 06:44:48 +00:00
Neil Booth
bf64659388 c-lex.h (save_and_forget_protocol_qualifiers, [...]): Remove deleted functions' prototypes.
* c-lex.h (save_and_forget_protocol_qualifiers,
	forget_protocol_qualifiers, remember_protocol_qualifiers):
	Remove deleted functions' prototypes.

From-SVN: r42135
2001-05-16 06:42:06 +00:00
Jeff Sturm
8fc6a63c64 expr.c (build_class_init): Move MODIFY_EXPR outside of COND_EXPR.
2000-05-02  Jeff Sturm  <jsturm@one-point.com>

	* expr.c (build_class_init): Move MODIFY_EXPR
	outside of COND_EXPR.  Remove variable `call'.

From-SVN: r42134
2001-05-15 23:41:10 -07:00
Neil Booth
0b1cdaf229 c-parse.in (methodtype): New production.
* c-parse.in (methodtype): New production.
	(methoddef, methodproto): Collapse separate '-' and '+'
	handlers into 1.

From-SVN: r42133
2001-05-16 06:34:34 +00:00
Neil Booth
4c521bad98 c-common.h (RID_FIRST_PQ): New.
* c-common.h (RID_FIRST_PQ): New.
	* c-parse.in (objc_pq_context): New.
	(objc parser): Set objc_pq_context rather than calling
	remember_protocol_qualifiers and forget_protocol_qualifiers.
	Don't call save_and_forget_protocol_qualifiers.
	(yylexname): Handle objc protocol qualifiers here.
	* stringpool.c (struct str_header): Replace with sp_hashnode.
	(SP_EMPTY, SP_LEN, SP_TREE, SP_STR, SP_VALID): New.
	(alloc_string): Rename alloc_ident.  Use the SP_ accessors.
	Allocate an IDENTIFIER_NODE for each identifier.
	(FORALL_STRINGS, set_identifier): Delete.
	(FORALL_IDS, expand_string_table, stringpool_statistics): Update.
	(ggc_alloc_string): Use an obstack.
	(get_identifier, maybe_get_identifier, mark_string_hash): Update.
	* tree.h: Update comments.
	(set_identifier): Delete.
	* objc/objc-act.c (N_PQ, saved_pq, saved_not_pq,
	save_and_forget_protocol_qualifiers, forget_protocol_qualifiers,
	remember_protocol_qualifiers): Delete.

From-SVN: r42132
2001-05-16 06:22:15 +00:00
Jeffrey A Law
fca790eb60 flow.c (life_analysis): After life analysis is complete...
* flow.c (life_analysis): After life analysis is complete, do
        an optional scan over insns looking for REG_LABEL notes that
        reference a deleted label.
        (propagate_block_delete_insn): Verify INOTE is a CODE_LABEL
        before peeking at LABEL_NUSES.

From-SVN: r42131
2001-05-15 22:12:33 -06:00
Richard Henderson
48941cb809 unwind-sjlj.c (_Unwind_GetDataRelBase): New.
* unwind-sjlj.c (_Unwind_GetDataRelBase): New.
        (_Unwind_GetTextRelBase): New.

From-SVN: r42129
2001-05-15 20:08:28 -07:00
Benjamin Kosnik
be079e1c08 001-05-15 Benjamin Kosnik <bkoz@redhat.com>
* testsuite_flags.in (query): Add backwards, ext directories.

From-SVN: r42127
2001-05-16 02:03:30 +00:00
Benjamin Kosnik
5846d7f734 eb27.C: Convert.
2001-05-15  Benjamin Kosnik  <bkoz@redhat.com>

	* g++.old-deja/g++.robertl/eb27.C: Convert.

From-SVN: r42126
2001-05-16 01:59:01 +00:00
Mark Mitchell
99d8dccc07 sol2.h (CPLUSPLUS_CPP_SPEC): Define.
* config/sparc/sol2.h (CPLUSPLUS_CPP_SPEC): Define.

	* porting.texi: Correct documentation about handling
	_LARRGEFILE_SOURCE and its ilk.
	* config/os/solaris/solaris2.5/bits/os_defines.h: Remove
	definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
	__EXTENSIONS__.
	* config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
	* config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.

From-SVN: r42125
2001-05-16 01:11:20 +00:00
Tom Tromey
6f4226f843 GregorianCalendar.java (computeTime): Only call getTimeZone() once.
* java/util/GregorianCalendar.java (computeTime): Only call
	getTimeZone() once.

From-SVN: r42121
2001-05-15 21:44:24 +00:00
Loren J. Rittle
d2c4367503 endfile.c (t_runc): Add cast to help case where ftruncate() prototype is somehow missing even...
* libI77/endfile.c (t_runc): Add cast to help case where
	ftruncate() prototype is somehow missing even though autoconf
	test found it properly.

From-SVN: r42120
2001-05-15 21:24:41 +00:00
Zack Weinberg
7edc73b46a inserters_extractors.cc, [...]: Replace multi-line string constants with C89-style concatenated string constants.
2001-05-15  Zack Weinberg  <zackw@stanford.edu>

        * testsuite/21_strings/inserters_extractors.cc,
        testsuite/27_io/istream_unformatted.cc,
        testsuite/27_io/stringstream.cc:
        Replace multi-line string constants with C89-style
        concatenated string constants.

From-SVN: r42116
2001-05-15 20:46:50 +00:00
Geoffrey Keating
c53c4afc0a objc-act.c (handle_class_ref): Use rest_of_decl_compilation so that CHOOSE_SECTION gets used.
* objc/objc-act.c (handle_class_ref): Use rest_of_decl_compilation
	so that CHOOSE_SECTION gets used.

From-SVN: r42114
2001-05-15 19:54:53 +00:00
Geoffrey Keating
50c30603fa sysv4.h (ASM_PREFERRED_EH_DATA_FORMAT): Treat TARGET_RELOCATABLE like flag_pic for now.
* config/rs6000/sysv4.h (ASM_PREFERRED_EH_DATA_FORMAT): Treat
	TARGET_RELOCATABLE like flag_pic for now.

From-SVN: r42113
2001-05-15 19:50:49 +00:00
David Edelsohn
a51ccef3e8 fix typo
From-SVN: r42112
2001-05-15 15:29:44 -04:00
David Edelsohn
78e1b90d92 rs6000.md (movdi splitter): Sign extend more efficiently.
* rs6000.md (movdi splitter): Sign extend more efficiently.
	* rs6000.c (reg_or_arith_cint_operand): Redefine 64-bit constant
	to "long long" valid on 32-bit and 64-bit hosts.
	(logical_operand): Cast trunc_int_for_mode rturn value.
	(rs6000_emit_move): Shift macro to encapsulate variable.
	(rs6000_va_start): Use HOST_WIDE_INT_PRINT_DEC.
	(rs6000_emit_{prologue,epilogue}): EH regno is unsigned but
	plus_constant requires signed argument.

From-SVN: r42111
2001-05-15 15:27:13 -04:00
Tom Tromey
48187504f8 class.c (build_utf8_ref): Don't generate identifier based on utf8const contents.
* class.c (build_utf8_ref): Don't generate identifier based on
	utf8const contents.

From-SVN: r42110
2001-05-15 18:20:57 +00:00
Loren J. Rittle
6f9b26b05c * gthr-posix.h: Make additional pthread-* functions weak.
From-SVN: r42107
2001-05-15 16:29:06 +00:00
Jan Hubicka
66aa2d308b * recog.c (apply_change_group): Avoid unneeded validating.
From-SVN: r42106
2001-05-15 11:55:42 +00:00
Nick Clifton
5be598f65e Add new test - do not warn about (non-)redundant friend declaration.
From-SVN: r42105
2001-05-15 07:55:53 +00:00
Nick Clifton
8d0cb60df4 Move ChangeLog entry to correct file
From-SVN: r42104
2001-05-15 07:39:52 +00:00
GCC Administrator
04466dc874 Daily bump.
From-SVN: r42103
2001-05-15 07:16:42 +00:00
Loren J. Rittle
af22667e53 * gcc_update (touch_files): Enhance make portability.
From-SVN: r42100
2001-05-15 04:58:07 +00:00
David Edelsohn
0d30d43586 rs6000.c (num_insns_constant_wide): Constants are sign-extended.
* rs6000.c (num_insns_constant_wide): Constants are sign-extended.
        (num_insns_constant): CONST_INT can be 64-bits.

From-SVN: r42099
2001-05-15 00:26:33 -04:00
Mark Mitchell (admin)
0239bfdd63 * gcc.dg/ultrasp2.c: Don't run it with -m64 on sparc-*-*.
From-SVN: r42098
2001-05-15 02:45:32 +00:00
Stan Shebs
5fa5a27cce darwin.h (LIB_SPEC): Just use -lSystem.
* config/darwin.h (LIB_SPEC): Just use -lSystem.
        (LIBGCC_SPEC): Don't define.

From-SVN: r42094
2001-05-15 02:17:14 +00:00
Richard Henderson
c64688ae79 configure.in (gcc_cv_as_eh_frame): New test.
* configure.in (gcc_cv_as_eh_frame): New test.
        * config.in, configure: Rebuild.
        * gcc.c (init_spec): Honor USE_AS_TRADITIONAL_FORMAT.

From-SVN: r42092
2001-05-14 18:45:10 -07:00
Alexandre Oliva
e8b073c1bd * gcc_update (touch_files): Use a Makefile to touch files.
From-SVN: r42088
2001-05-14 19:57:52 +00:00
Andrew MacLeod
f327ea3ebe lib1funcs.asm (__divtf3): Fix incorrect bits in extended precision divide.
2001-05-14  Andrew MacLeod  <amacleod@redhat.com>

	* config/ia64/lib1funcs.asm (__divtf3): Fix incorrect bits in
	extended precision divide.

From-SVN: r42079
2001-05-14 17:47:07 +00:00
Andrew MacLeod
339cb12e41 ia64.c (rtx_needs_barrier): Call rtx_needs_barrier for RETURNS as well.
2001-05-14  Andrew MacLeod  <amacleod@redhat.com>

	* config/ia64/ia64.c (rtx_needs_barrier): Call rtx_needs_barrier
	for RETURNS as well.

From-SVN: r42077
2001-05-14 17:44:56 +00:00
Tom Tromey
127699902e SimpleDateFormat.java (parse): Clear DST_OFFSET and ZONE_OFFSET just before computing the time.
* java/text/SimpleDateFormat.java (parse): Clear DST_OFFSET and
	ZONE_OFFSET just before computing the time.

From-SVN: r42076
2001-05-14 17:40:29 +00:00
Richard Henderson
402d7dfed5 * mknumeric_limits: Build with -fno-exceptions.
From-SVN: r42075
2001-05-14 10:16:58 -07:00
Nick Clifton
3581fae0bb Suppress warning about duplicate decls if the first decl is a friend.
From-SVN: r42073
2001-05-14 17:09:34 +00:00
Jan Hubicka
0c2dc519c9 i386.h (TARGET_64BIT): Define to constant if !TARGET_BI_ARCH
* i386.h (TARGET_64BIT): Define to constant if !TARGET_BI_ARCH
	(CPP_CPU??_SIZE_TYPE): New.
	(CPP_CPU??_SPEC, CPP_CPUCOMMON_SPEC): Break out from...
	(CPP_CPU_SPEC): ... here; support choosing of CPU.
	(EXTRA_SPECS): Add cpp_cpu??, cpp_cpu??sizet, cpp_cpucommon.
	(MAX_LONG_TYPE_SIZE, MAX_BITS_PER_WORD): Define to 32 for 32bit-only
	compiler.
	* i386.c (override_options): Add sorry about not suported modes.

From-SVN: r42070
2001-05-14 15:36:17 +00:00
Jeffrey A Law
4779212949 som.h (NM_FLAGS): Remove.
* config/pa/som.h (NM_FLAGS): Remove.
        (ASM_OUTPUT_FUNCTION_PREFIX): No longer truncate subspace names.
        (ASM_OUTPUT_SECTION_NAME): Remove.
        (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Likewise.

From-SVN: r42068
2001-05-14 08:54:53 -06:00
Mark Mitchell
b2a8b02619 regrename.c (regrename_optimize): Do not rename registers to leaf registers.
* regrename.c (regrename_optimize): Do not rename registers to
	leaf registers.

From-SVN: r42066
2001-05-14 07:56:57 +00:00
Mark Mitchell
ce29729adf * lib/objc.exp: Add -lposix4 on Solaris 2.6 and Solaris 2.7.
From-SVN: r42065
2001-05-14 07:49:11 +00:00
GCC Administrator
7f09a9dcbc Daily bump.
From-SVN: r42063
2001-05-14 07:16:39 +00:00
Alexandre Oliva
c78df6e155 rtl.texi (CALL_INSN_FUNCTION_USAGE): Note that (and when) it may contain MEMs.
* rtl.texi (CALL_INSN_FUNCTION_USAGE): Note that (and when) it may
contain MEMs.  Remove useless distinction about clobbering
registers.

From-SVN: r42060
2001-05-14 05:11:38 +00:00
Geoffrey Keating
e44713f730 rs6000.h (EXCEPTION_SECTION): Move to...
* config/rs6000/rs6000.h (EXCEPTION_SECTION): Move to...
	* config/rs6000/aix.h (EXCEPTION_SECTION): ... here.
	* config/rs6000/sysv4.h (CONST_SECTION_ASM_OP): Delete.
	(ASM_PREFERRED_EH_DATA_FORMAT): Define.
	(EXCEPTION_SECTION): Define.

From-SVN: r42058
2001-05-14 03:40:04 +00:00
Zack Weinberg
3fe68d0af3 libgcc2.c, libgcc2.h: Restore __eprintf.
* libgcc2.c, libgcc2.h: Restore __eprintf.  Label as used for
	binary backward compat only.
	* Makefile.in (LIB2FUNCS_ST): New.  Put _eprintf here, not
	in LIB2FUNCS.  Pass it to mklibgcc.
	* mklibgcc.in: Handle LIB2FUNCS_ST.

	* Makefile.in (installdirs): Don't create $(gcc_tooldir).

From-SVN: r42057
2001-05-14 02:46:22 +00:00