Commit Graph

35636 Commits

Author SHA1 Message Date
Richard Henderson
9336389d37 iris6.h (EH_FRAME_SECTION_ASM_OP): Give the section pointer alignment.
* config/mips/iris6.h (EH_FRAME_SECTION_ASM_OP): Give the
        section pointer alignment.

From-SVN: r42484
2001-05-22 23:54:21 -07:00
Richard Henderson
e427d51a07 * doc/install.texi (alpha-linux): Require binutils >= 2.10.
From-SVN: r42483
2001-05-22 23:41:48 -07:00
Mark Mitchell
39e0656d10 optimize.c (initialize_inlined_parameters): Don't set TREE_READONLY for a VAR_DECL taking the place of an inlined PARM_DECL.
* optimize.c (initialize_inlined_parameters): Don't set
	TREE_READONLY for a VAR_DECL taking the place of an inlined
	PARM_DECL.

From-SVN: r42480
2001-05-23 02:14:51 +00:00
Phil Edwards
8d12b80039 documentation.html: Point to doxygen output.
2001-05-22  Phil Edwards  <pme@sources.redhat.com>

	* docs/html/documentation.html:  Point to doxygen output.

From-SVN: r42477
2001-05-23 02:00:05 +00:00
Richard Henderson
7ac76c8541 unwind-dw2-fde.c (__deregister_frame_info): Stringize use of __USER_LABEL_PREFIX__.
* unwind-dw2-fde.c (__deregister_frame_info): Stringize use
        of __USER_LABEL_PREFIX__.

From-SVN: r42475
2001-05-22 18:26:01 -07:00
Richard Henderson
101fa48cd8 unwind-dw2-fde.c (__deregister_frame_info): Stubbify in favour of...
* unwind-dw2-fde.c (__deregister_frame_info): Stubbify in favour of...
        (__deregister_frame_info_bases): New.
        * unwind-dw2-fde.h: Declare it.
        * libgcc-std.ver: Export it.
        * crtstuff.c (__do_global_dtors_aux): Call it if we would have
        called __register_frame_info_bases.

From-SVN: r42473
2001-05-22 16:01:33 -07:00
Toon Moene
b5e85669dd g77.texi: Update last-changed date.
2001-05-22  Toon Moene  <toon@moene.indiv.nluug.nl>

	* g77.texi: Update last-changed date.
	* news.texi: Update copyright years, last-changed date.
	* bugs.texi: Update copyright years, last-changed date.

From-SVN: r42471
2001-05-22 21:43:33 +00:00
Loren J. Rittle
73daf27e40 freebsd.h (FBSD_CPP_PREDEFINES): Use #endif/#if pair instead of #elif (which is OK for this case but not in general).
* config/freebsd.h (FBSD_CPP_PREDEFINES): Use #endif/#if pair
	instead of #elif (which is OK for this case but not in general).

From-SVN: r42469
2001-05-22 21:33:36 +00:00
Toon Moene
9a5b6eff3a g77.texi: Update maintenance information for GNU Fortran.
2001-05-22  Toon Moene  <toon@moene.indiv.nluug.nl>

	* g77.texi: Update maintenance information for
	GNU Fortran.  Remove all mention of -fdebug-kludge.
	* news.texi: Make more news in 0.5.26 `user visible
	changes'. Acknowledge work by important contributors.
	* bugs.texi: Remove all mention of -fdebug-kludge.

From-SVN: r42468
2001-05-22 20:32:16 +00:00
Andrew MacLeod
8206fc899c builtins.c (expand_builtin_longjmp): A longjmp can be a call too.
2001-05-22  Andrew MacLeod  <amacleod@redhat.com>

	* builtins.c (expand_builtin_longjmp): A longjmp can be a call too.
	* config/ia64/ia64.md (nonlocal_goto): Reverse label and frame pointer
	parameters to __ia64_nonlocal_goto. Flag as NO_RETURN.
	* config/ia64/ia64.c (ia64_expand_epilogue): Make sure we are issuing
	"r2" to the assembly file. Only issue allocs with non-zero parameters.

From-SVN: r42467
2001-05-22 20:04:58 +00:00
Jason Merrill
0401d4997a class.c, [...]: Remove com_interface attribute support.
* class.c, cp-tree.h, rtti.c: Remove com_interface attribute support.
        * tree.c (cp_valid_lang_attribute): Warn about use of com_interface
        attribute.

From-SVN: r42465
2001-05-22 15:42:30 -04:00
Loren J. Rittle
766a4175b1 freebsd.h (LIB_SPEC): Key the exact setting to configure-time options and target version of FreeBSD.
* config/freebsd.h (LIB_SPEC): Key the exact setting to
	configure-time options and target version of FreeBSD.  Set-up
	to match architectural change in threading support.  Correctly
	report when -pthread option is not supported by configure-time
	options.
	(FBSD_CPP_PREDEFINES): Move from architecture-specific files
	and extend to encode target version number in run-time setting
	of __FreeBSD__ macro to match the system compiler.
	(CPP_PREDEFINES): Likewise.
	(PREFERRED_DEBUGGING_TYPE): Change to DWARF2_DEBUG.

	* config/alpha/freebsd.h (CPP_PREDEFINES): Moved to common freebsd.h.
	* config/i386/freebsd.h (CPP_PREDEFINES): Likewise.

Co-Authored-By: David O'Brien <obrien@freebsd.org>

From-SVN: r42464
2001-05-22 19:28:15 +00:00
Loren J. Rittle
9e405fe52e config.gcc (the unlabeled system switch statement): Add generic configuration section to handle *-*-freebsd*.
* config.gcc (the unlabeled system switch statement): Add
	generic configuration section to handle *-*-freebsd*.  Also,
	to match the system compiler, default to threading support (it
	may be disabled with the standard --disable-threads
	configuration-time switch).
	(i[34567]86-*-freebsd* in machine-specific section): Use it.
	(alpha*-*-freebsd* in machine-specific section): Likewise.

	* config/freebsd3.h: New file to expose FBSD_MAJOR macro (3).
	* config/freebsd4.h: New file to expose FBSD_MAJOR macro (4).
	* config/freebsd5.h: New file to expose FBSD_MAJOR macro (5).
	* config/freebsd6.h: New file to expose FBSD_MAJOR macro (6).
	* config/freebsd-nthr.h: New file to expose FBSD_NO_THREADS macro.

Co-Authored-By: David O'Brien <obrien@freebsd.org>

From-SVN: r42463
2001-05-22 19:23:33 +00:00
Loren J. Rittle
28b6b31799 t-freebsd (TARGET_LIBGCC2_CFLAGS): Add -fPIC.
* config/t-freebsd (TARGET_LIBGCC2_CFLAGS): Add -fPIC.
	* config/t-freebsd-thread (TARGET_LIBGCC2_CFLAGS): Add
	-pthread instead setting macro.

Co-Authored-By: David O'Brien <obrien@freebsd.org>

From-SVN: r42461
2001-05-22 19:10:18 +00:00
Benjamin Kosnik
990101f973 mkcheck.in (static_fail): Remove S_FLAG decoration on output.
2001-05-21  Benjamin Kosnik  <bkoz@redhat.com>

	* mkcheck.in (static_fail): Remove S_FLAG decoration on output.

	* include/bits/std_sstream.h (stringbuf::setbuf): Require both
	arguments to be non-null.
	* include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
	try allocations if allocated size is greater than zero.
	(filebuf::_M_filebuf_init): Change to
	(filebuf::_M_allocate_file): Which is what it does now.
	(filebuf::_M_allocate_bufers): Change to
	(filebuf::_M_allocate_internal_buffer): This, and create
	(filebuf::_M_allocate_pback_buffer): New.
	(filebuf::_M_destroy_internal_buffer): New.
	(filebuf::_M_buf_allocated): New data member.
	(filebuf::setbuf): Use new logic, allow use of external buffer.
	* testsuite/27_io/stringbuf_virtuals.cc: New file.
	* testsuite/27_io/filebuf_virtuals.cc: New file.

From-SVN: r42458
2001-05-22 18:48:19 +00:00
Joseph Myers
14fc34261e parse.y: Refer to compound literals as such, not as constructor-expressions.
* parse.y: Refer to compound literals as such, not as
	constructor-expressions.

From-SVN: r42455
2001-05-22 18:58:43 +01:00
Richard Henderson
1066e2b58d crtstuff.c (__register_frame_info_bases): Declare.
* crtstuff.c (__register_frame_info_bases): Declare.
        (frame_dummy): Use it, if CRT_GET_RFIB_TEXT or CRT_GET_RFIB_DATA.
        (__do_global_dtors_aux, __do_global_dtors): Streamline.

        * config/i386/linux.h (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): New.
        (CRT_GET_RFIB_DATA): New.
        * config/i386/sysv4.h: Likewise.
        * config/i386/sco5.h: Likewise.
        (ASM_PREFERRED_EH_DATA_FORMAT): New.

From-SVN: r42453
2001-05-22 09:57:40 -07:00
Richard Henderson
eac8c4b041 rtl.c (read_string): Break out from ...
* rtl.c (read_string): Break out from ...
        (read_rtx): ... here.

From-SVN: r42452
2001-05-22 09:42:41 -07:00
Gerald Pfeifer
9a3db5436d install.texi (Specific): Remove a bogus and duplicate part copied from the end of the document.
* doc/install.texi (Specific): Remove a bogus and duplicate part
	copied from the end of the document.

From-SVN: r42450
2001-05-22 14:54:01 +00:00
Bernd Schmidt
1032f705dc Fix ia64 build problems
From-SVN: r42448
2001-05-22 14:16:58 +00:00
Gerald Pfeifer
e954b3d735 install.texi: Remove obsolete information on SunOS as well as i386-sun-sunos4...
* install.texi: Remove obsolete information on SunOS as well as
	i386-sun-sunos4, i860-intel-osf1, and powerpcle-*-solaris2*.
	(Installing GNU CC on the Sun): Remove section.

From-SVN: r42447
2001-05-22 13:14:11 +00:00
Alexandre Oliva
8d75ad04d0 cppfiles.c (remove_component_p): Don't assume lstat/stat will keep errno unchanged on success.
* cppfiles.c (remove_component_p): Don't assume lstat/stat will
keep errno unchanged on success.

From-SVN: r42445
2001-05-22 11:57:21 +00:00
Loren J. Rittle
75f153f3d4 Makefile.in (stamp-h): Create in $(objdir) instead of $(srcdir).
* libI77/Makefile.in (stamp-h): Create in $(objdir) instead
	of $(srcdir).

From-SVN: r42442
2001-05-22 11:16:51 +00:00
Joseph Myers
c215b29f5a c-lex.c (lex_number): If pedantic and not C99...
* c-lex.c (lex_number): If pedantic and not C99, pedwarn exactly
	once for hexadecimal floats, whether or not they contain a decimal
	point.  Don't let the setting of pedantic otherwise affect the
	parsing of hexadecimal floats.

testsuite:
	* gcc.dg/c90-hexfloat-1.c: Add more tests.

From-SVN: r42440
2001-05-22 12:02:17 +01:00
Alexandre Oliva
a7bc0fbbfe ltcf-cxx.sh (allow_undefined_flag, [...]): Prepend blank.
* ltcf-cxx.sh (allow_undefined_flag, no_undefined_flag)
[aix4*|aix5*]: Prepend blank.

From-SVN: r42438
2001-05-22 10:40:41 +00:00
Gerald Pfeifer
252ba2d485 * README.ACORN: Remove obsolete file.
From-SVN: r42436
2001-05-22 10:07:31 +00:00
Jan Hubicka
8c9864f32d combine.c (gen_binary): Use swap_commutative_operands_p
* combine.c (gen_binary): Use swap_commutative_operands_p
        (simplify_comparison): Likewise.
        * expmed.c (emit_store_flag): Likewise.
        * expr.c (compare_from_rtx): Likewise.
        (do_compare_rtx_and_jump): Likewise.
        * optabs.c (emit_cmp_and_jump_insn): Revert last patch; abort
        if not emitting a branch and operands want swapping.

From-SVN: r42433
2001-05-22 00:40:26 -07:00
Neil Booth
083e9f9217 c-lex.c (c_lex): Just cast cpp's hashnode to gcc's one.
* c-lex.c (c_lex): Just cast cpp's hashnode to gcc's one.
	* stringpool.c:	(IS_FE_IDENT, make_identifier): Delete.
	(maybe_get_identifier): Update.
	* tree.h (make_identifier): Delete.

From-SVN: r42432
2001-05-22 07:23:37 +00:00
GCC Administrator
bada7cdabb Daily bump.
From-SVN: r42430
2001-05-22 07:16:13 +00:00
Richard Henderson
0a33d11eab combine.c (subst): Do not substitute for a register as a destination...
* combine.c (subst): Do not substitute for a register as
        a destination subreg/strict_low_part/zero_extract.

From-SVN: r42429
2001-05-21 23:58:17 -07:00
Per Bothner
c93d7fae7b Implement invocation interface; don't create new thread for main.
From-SVN: r42428
2001-05-21 23:47:48 -07:00
Richard Henderson
b4fbaca7cb combine.c (simplify_comparison): Update op1 after constant extension.
* combine.c (simplify_comparison): Update op1 after constant
        extension.
        * recog.c (const_int_operand): Accept only constants valid
        for the given mode.
        * genrecog.c: Update comments wrt const_int_operand.

From-SVN: r42427
2001-05-21 23:46:20 -07:00
Mark Mitchell
47816305fe * gcc_build: Use -d when invoking gcc_update.
From-SVN: r42426
2001-05-22 06:45:44 +00:00
Per Bothner
57d02dd3e6 Makefile.am (libgcj_la_DEPENDENCIES): Add $(nat_files).
* Makefile.am (libgcj_la_DEPENDENCIES):  Add $(nat_files).
	(libgcj_la_LIBADD):  Likewise.
	(libgcjx_la_DEPENDENCIES, libgcjx_la_LIBADD):  Add $(x_nat_files).

From-SVN: r42424
2001-05-21 23:40:06 -07:00
Richard Henderson
d425c5b05f emit-rtl.c (init_emit_once): Zero unused memory in a CONST_DOUBLE.
* emit-rtl.c (init_emit_once): Zero unused memory in a
        CONST_DOUBLE.

From-SVN: r42423
2001-05-21 23:29:39 -07:00
Benjamin Kosnik
9ea659ac82 std_cstring.h (memchr): Define "C" functions to __glibcpp_memchr.
2001-05-21  Stephen M. Webb  <stephen@bregmasoft.com>

	* include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
	__glibcpp_memchr.
	(strchr): Same, but to __glibcpp_strchr.
	(strpbrk): Same.
	(strrchr): Same.
	(strstr): Same.
	* include/c_std/bits/std_cwchar.h (wcschr): Same.
	(wcsbrk): Same.
	(wcsrchr): Same.
	(wcsstr): Same.
	(wmemchr): Same.

From-SVN: r42421
2001-05-22 04:58:45 +00:00
Benjamin Kosnik
d4fae8b1f0 c_strings.cc (main): Fix.
2001-05-21  Benjamin Kosnik  <bkoz@kredhat.com>

	* testsuite/21_strings/c_strings.cc (main): Fix.

From-SVN: r42420
2001-05-22 04:58:14 +00:00
Per Bothner
ef0a7b49a9 javaprims.h (_Jv_FormatInt): New declaration.
* gcj/javaprims.h (_Jv_FormatInt):  New declaration.
	* java/lang/natString.cc (_JvFormatInt):  New primitive, with logic
	taken from old Integer.toString code.
	(Integer::valueOf):  Use _Jv_FormatInt.
	* java/lang/Integer.java (toString):  Just use call String.valueOf.
	* java/lang/Long.java (toString):  Fix typo in comment.
	* java/lang/String.java (valueOf(int)):  Make native.
	* java/lang/StringBuffer.java (append(int)):  Make native.
	* java/lang/natStringBuffer.cc:  New file, for append(jint).
	* Makefile.am (ant_source_files):  Add java/lang/natStringBuffer.cc.

From-SVN: r42419
2001-05-21 21:38:37 -07:00
Mark Mitchell
f5d6a24c2e tree.h (type_num_arguments): Declare it.
* tree.h (type_num_arguments): Declare it.
	* tree.c (type_num_arguments): New function.

From-SVN: r42418
2001-05-22 03:03:26 +00:00
Jason Merrill
ca29c7970a * mt-linux (CXXFLAGS_FOR_TARGET): Lose -fvtable-thunks.
From-SVN: r42415
2001-05-21 21:17:23 -04:00
Jason Merrill
e17f04743d lose START_CATCH_STMT
From-SVN: r42414
2001-05-21 20:52:58 -04:00
Mark Mitchell
3f41ffd8c3 call.c (build_op_delete_call): Ignore exception-specifications when looking for matching delete operators.
* call.c (build_op_delete_call): Ignore exception-specifications
	when looking for matching delete operators.
	* init.c (build_new_1): Compute whether or not the allocation
	function used is a placement allocation function or not, and
	communicate this information to build_op_delete_call.

From-SVN: r42413
2001-05-22 00:31:36 +00:00
Richard Henderson
b1e6ab035e dwarf2out.c (current_funcdef_number): Move outside dwarf2 conditional ifdef.
* dwarf2out.c (current_funcdef_number): Move outside dwarf2
        conditional ifdef.

From-SVN: r42411
2001-05-21 16:30:51 -07:00
Per Bothner
075516bcc6 jcf-parse.c (read_class): If class is from .class or .zip file and it's already been read...
* jcf-parse.c (read_class):  If class is from .class or .zip file
	and it's already been read, don't push/pop parser context.

From-SVN: r42407
2001-05-21 14:37:36 -07:00
Geoffrey Keating
4694cec254 920520-1.x: Merge previous contents into this file.
* gcc.c-torture/compile/920520-1.x: Merge previous contents into
	this file.

From-SVN: r42406
2001-05-21 20:38:05 +00:00
Tom Tromey
8ffd89ad1b * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Now public.
From-SVN: r42405
2001-05-21 19:27:10 +00:00
Geoffrey Keating
50a0b056d2 rs6000.md (maxsf3): Use rs6000_emit_minmax.
* config/rs6000/rs6000.md (maxsf3): Use rs6000_emit_minmax.
	(maxsf3+1): Delete.
	(minsf3): Use rs6000_emit_minmax.
	(minsf3+1): Generalize to handle both SMIN and SMAX.  Use
	rs6000_emit_minmax.
	(movsfcc): Use rs6000_emit_cmove.
	(fselsfsf4): Don't compare a CONST_INT with a floating-point value.
	Don't generate emit_fselsfsf4.
	(fseldfsf4): Likewise.
	(maxdf3): Use rs6000_emit_minmax.
	(maxdf3+1): Delete.
	(mindf3): Use rs6000_emit_minmax.
	(mindf3+1): Generalize to handle both SMIN and SMAX.  Use
	rs6000_emit_minmax.
	(movdfcc): Use rs6000_emit_cmove.
	(fseldfdf4): Don't compare a CONST_INT with a floating-point value.
	Don't generate emit_fselsfsf4.
	(fselsfdf4): Likewise.
	* config/rs6000/rs6000.c (zero_fp_constant): New predicate.
	(min_max_operator): New predicate.
	(rs6000_emit_cmove): New function.
	(rs6000_emit_minmax): New function.
	* config/rs6000/rs6000-protos.h: Prototype new functions.
	* config/rs6000/rs6000.h (PREDICATE_CODES): Add zero_fp_constant
	and min_max_operator.

	* config/rs6000/rs6000.c (output_cbranch): Handle all
	conditional types in the switch statement.

From-SVN: r42404
2001-05-21 18:38:25 +00:00
Mark Mitchell
0adc3c1971 c-decl.c (finish_decl): Don't set DECL_C_HARD_REGISTER for non-register variables.
* c-decl.c (finish_decl): Don't set DECL_C_HARD_REGISTER for
	non-register variables.
	* extend.texi: Document that asm-specifications do not make sense
	for non-static local variables.

From-SVN: r42403
2001-05-21 18:36:57 +00:00
Andrew Haley
01936f3a7d dwarf2-signal.h: New file.
2001-05-18  Andrew Haley  <aph@cambridge.redhat.com>

        * include/dwarf2-signal.h: New file.
        * configure.in (SYSDEP_SOURCES): Add dwarf2-signal.h for PPC.
        * configure.host (EXCEPTIONSPEC): Don't use sjlj on PPC.
        * configure: Rebuilt.

From-SVN: r42400
2001-05-21 16:59:42 +00:00
Jason Merrill
68981e3a32 fix comment
From-SVN: r42396
2001-05-21 12:06:37 -04:00