Commit Graph

34915 Commits

Author SHA1 Message Date
Kazu Hirata
51f26c450b sparc.c (sparc_flat_eligible_for_epilogue_delay): Fix a comment typo.
2001-04-21  Kazu Hirata  <kazu@hxi.com>

	* config/sparc/sparc.c (sparc_flat_eligible_for_epilogue_delay):
	Fix a comment typo.
	* config/i960/i960.c (signed_arith_operand): Likewise.

From-SVN: r41484
2001-04-21 16:14:45 +00:00
Toon Moene
5bf77f31dc news.texi: Update release information for 0.5.27.
2001-04-21  Toon Moene  <toon@moene.indiv.nluug.nl>

	* news.texi: Update release information for 0.5.27.

From-SVN: r41483
2001-04-21 16:11:14 +00:00
Kazu Hirata
68560db3c4 h8300.c (general_operand_src): Fix a comment typo.
2001-04-21  Kazu Hirata  <kazu@hxi.com>

	* config/h8300/h8300.c (general_operand_src): Fix a comment typo.

From-SVN: r41481
2001-04-21 16:00:13 +00:00
GCC Administrator
42df833713 Daily bump.
From-SVN: r41477
2001-04-21 07:16:40 +00:00
Tom Tromey
f825e235a8 List.java: Wrote.
* java/awt/List.java: Wrote.
	* java/awt/Dialog.java: Wrote.

From-SVN: r41476
2001-04-21 02:48:35 +00:00
Mark Mitchell
968b956afb cp-tree.h (finish_enum): Change prototype.
* cp-tree.h (finish_enum): Change prototype.
	* decl.c (finish_enum): Reorganize.
	* parse.y (structsp): Adjust calls to finish_enum.

From-SVN: r41474
2001-04-21 00:04:09 +00:00
Mark Mitchell
7230e19e96 cp-tree.h (finish_enum): Change prototype.
* cp-tree.h (finish_enum): Change prototype.
	* decl.c (finish_enum): Reorganize.
	* parse.y (structsp): Adjust calls to finish_enum.

[[Split portion of a mixed commit.]]

From-SVN: r41473.2
2001-04-21 00:04:08 +00:00
Per Bothner
3c0ce750cb Fixes to compile multiple .class files at once.
From-SVN: r41472
2001-04-20 17:01:12 -07:00
Zack Weinberg
c1800ec88e configure.in: Probe for times, clock, struct tms, and clock_t.
* configure.in: Probe for times, clock, struct tms, and clock_t.
	* configure, config.in: Regenerate.
	* timevar.c: Replace ifdef forest in get_time with (relatively)
	straightforward series of checks based on autoconf's probes.

From-SVN: r41471
2001-04-20 23:06:55 +00:00
Benjamin Kosnik
6c3a9f72bf acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99 support is enabled correctly before long long is activated.
2001-04-20  Benjamin Kosnik  <bkoz@redhat.com>

	* acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
	support is enabled correctly before long long is activated.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.

	* include/backward/backward_warning.h: Format correctly.

	* testsuite/26_numerics/c99_classification_macros_c.cc: Add.
	* testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
	* testsuite/26_numerics/c99_macros.cc: Remove.

From-SVN: r41470
2001-04-20 22:26:55 +00:00
Benjamin Kosnik
4b3db7c50c acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99 support is enabled correctly before long long is activated.
2001-04-20  Benjamin Kosnik  <bkoz@redhat.com>

	* acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
	support is enabled correctly before long long is activated.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.

	* include/backward/backward_warning.h: Format correctly.

	* testsuite/26_numerics/c99_classification_macros_c.cc: Add.
	* testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
	* testsuite/26_numerics/c99_macros.cc: Remove.

From-SVN: r41469
2001-04-20 22:19:57 +00:00
Phil Edwards
e906926f5f stl_bvector.h: Replace __ITERATOR_CATEGORY with __iterator_category.
2001-04-20  Phil Edwards  <pme@sources.redhat.com>

	* include/bits/stl_bvector.h:  Replace __ITERATOR_CATEGORY with
	__iterator_category.

From-SVN: r41468
2001-04-20 20:16:37 +00:00
Jeffrey A Law
2c2ef4b9ac * config/pa/som.h (NM_FLAGS): Define.
From-SVN: r41467
2001-04-20 12:22:53 -06:00
Nathan Sidwell
aa1826e2c4 tree.c (cp_tree_equal): Adjust final switch formatting.
cp:
	* tree.c (cp_tree_equal): Adjust final switch formatting. Add
	't' case.
testsuite:
	* g++.old-deja/g++.pt/typename28.C: New test.

From-SVN: r41462
2001-04-20 16:06:06 +00:00
Nathan Sidwell
06d9f09f53 class.c (dfs_unshared_virtual_bases): Add ATTRIBUTE_UNUSED.
cp:
	* class.c (dfs_unshared_virtual_bases): Add ATTRIBUTE_UNUSED.
	(layout_empty_base): Return at end flag.
	(build_base_field): Likewise.
	(build_base_fields): Likewise.
	(layout_virtual_bases): Don't add 1 to eoc value.
	(end_of_class): Use full size for empty bases.
	(layout_class_type): Clear CLASSNEARLY_EMPTY_P if we appended
	empty bases. Don't add 1 to eoc value. Only add trailing padding
	if we're an empty class with no empty bases.
	(dump_class_hierarchy): Dump size and alignment.
testsuite:
	* g++.old-deja/g++.abi/empty2.C: New test.
	* g++.old-deja/g++.abi/empty3.C: New test.

From-SVN: r41460
2001-04-20 15:29:09 +00:00
Bernd Schmidt
a0a7b566f7 Better scheduling of shifts
From-SVN: r41458
2001-04-20 12:19:47 +00:00
Warren Levy
a6f5b6f958 natSystem.cc (getSystemTimeZone): Adjust for DST.
* java/lang/natSystem.cc (getSystemTimeZone): Adjust for DST.
	* java/text/SimpleDateFormat.java
	(indexInArray): Removed private method.
	(processYear): Removed private method.
	(parseLenient): Removed private method.
	(parseLeadingZeros): Removed private method.
	(parseStrict): Removed private method.
	(expect): Added new private method.
	(parse): Reverted to pre-Classpath merge version with minor fixes.
	* java/util/natGregorianCalendar.cc (computeTime): Handle strict
	calendars.

From-SVN: r41456
2001-04-20 09:43:52 +00:00
Alexandre Oliva
7471a1f03c i386.c (ix86_expand_int_movcc, [...]): Sign-extend CONST_INTs.
* config/i386/i386.c (ix86_expand_int_movcc,
ix86_expand_strlensi_unroll_1): Sign-extend CONST_INTs.

From-SVN: r41454
2001-04-20 09:36:34 +00:00
Alexandre Oliva
99ffe40fe7 ltconfig, [...]: Upgraded to libtool 1.4a 1.641.2.228.
* ltconfig, ltmain.sh, ltcf-cxx.sh: Upgraded to libtool 1.4a
1.641.2.228.

From-SVN: r41452
2001-04-20 09:26:56 +00:00
Benjamin Kosnik
7cda84dc70 acconfig.h (_GLIBCPP_USE_C99): Add.
2001-04-19  Benjamin Kosnik  <bkoz@redhat.com>

	* acconfig.h (_GLIBCPP_USE_C99): Add.
	* config.h.in: Regenerate.
	* acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
	9899: 1999 support.
	* aclocal.m4: Regenerate.
	* configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
	* configure: Regenerate.
	* configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
	* configure: Regenerate.
	* include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
	into c99.
	* include/c_std/bits/std_cmath.h: Bring C99 functions into c99
	namespace.
	* include/c_std/bits/std_cstdlib.h: Same.
	* docs/html/configopts.html: Update.
	* testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
	math.h
	(test_c99_classify): Add.
	* config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
	(_ISOC99_SOURCE): Remove.

	* include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
	* include/bits/c++config (__STL_ASSERTIONS): Simplify.
	* acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.

From-SVN: r41451
2001-04-20 08:59:25 +00:00
Geoffrey Keating
856a688433 rs6000.md (ctrsi_internal1, [...]): In the short-branch case, this insn is only 4 instructions long.
* config/rs6000/rs6000.md (ctrsi_internal1, ctrsi_internal2,
	ctrsi_internal3, ctrsi_internal4, ctrsi_internal5,
	ctrsi_internal6, ctrdi_internal1, ctrdi_internal2,
	ctrdi_internal3, ctrdi_internal4, ctrdi_internal5,
	ctrdi_internal6): In the short-branch case, this insn is only 4
	instructions long.  Reported by Reza Yazdani <reza@apple.com>.

From-SVN: r41450
2001-04-20 08:33:35 +00:00
Jakub Jelinek
24f808827a comdat2.C: New test.
* g++.old-deja/g++.other/comdat2.C: New test.
	* g++.old-deja/g++.other/comdat2-aux.cc: Auxiliary source for it.

From-SVN: r41449
2001-04-20 10:24:25 +02:00
Jakub Jelinek
351a0f00dc call.c (maybe_handle_ref_bind): Copy ICS_USER_FLAG and ICS_BAD_FLAG.
* call.c (maybe_handle_ref_bind): Copy ICS_USER_FLAG and
	ICS_BAD_FLAG.

	* g++.old-deja/g++.other/overload14.C: New test.

From-SVN: r41448
2001-04-20 10:17:19 +02:00
Jakub Jelinek
881cae050a search.c (lookup_field_r): If looking for type and non-TYPE_DECL is found...
* search.c (lookup_field_r): If looking for type and non-TYPE_DECL
	is found, look first if name does not match the structure name.

	* g++.old-deja/g++.other/lookup23.C: New test.

From-SVN: r41447
2001-04-20 10:13:59 +02:00
Jakub Jelinek
d40cd80a97 reg-stack.c (check_asm_stack_operands): Issue error if "=t" resp.
* reg-stack.c (check_asm_stack_operands): Issue error if "=t" resp.
	"=u" is used together with "st" resp. "st(1)" clobber.

From-SVN: r41446
2001-04-20 10:06:03 +02:00
Jakub Jelinek
c0230f3744 Duh, broken perms.
From-SVN: r41445
2001-04-20 10:04:29 +02:00
Jakub Jelinek
43e720723f gcse.c (gcse_main): Fix comment typo.
* gcse.c (gcse_main): Fix comment typo.
	(delete_null_pointer_check): Likewise.
	(hash_scan_set): Don't consider sets with REG_EQUIV MEM notes.
	* cse.c (cse_insn): Likewise.
	* function.c (fixup_var_refs_insns_with_hash): The sequence is
	toplevel.

	* gcc.c-torture/execute/20010403-1.c: New test.

From-SVN: r41444
2001-04-20 09:56:50 +02:00
David Billinghurst
5c8378a7a2 old-dejagnu.exp: Don't delete output of executable.
* lib/old-dejagnu.exp: Don't delete output of executable.
	Add .exe suffix to executables.

Co-Authored-By: Mark Mitchell <mark@codesourcery.com>

From-SVN: r41443
2001-04-20 07:25:43 +00:00
GCC Administrator
a811ab00f3 Daily bump.
From-SVN: r41441
2001-04-20 07:16:09 +00:00
Zack Weinberg
4000fada38 toplev.c: Excise all code for the undocumented -dm option.
* toplev.c: Excise all code for the undocumented -dm option.
	(float_signal): Call signal just once, unconditionally.

From-SVN: r41438
2001-04-20 03:45:51 +00:00
Geoffrey Keating
dea8be3e9f fold-const.c (fold): Use first_rtl_op rather than TREE_CODE_LENGTH when...
* fold-const.c (fold): Use first_rtl_op rather than
	TREE_CODE_LENGTH when looping over parameters of a tree.
	Correct strange grouping in test for evaluated SAVE_EXPR.

From-SVN: r41437
2001-04-20 01:34:01 +00:00
Jeffrey A Law
fe6adb3e8d pa-linux.h (CPLUSPLUS_CPP_SPEC): Undefine.
* config/pa/pa-linux.h (CPLUSPLUS_CPP_SPEC): Undefine.
        * config/pa/pa.h (CPLUSPLuS_CPP_SPEC): Define.

        * config/pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Truncate subspace
        name at 32 total characters.
        (ASM_OUTPUT_SECTION_NAME): Similarly.  Also, only support placing
        functions in named sections -- data items can still go into unique
        sections, but they have normal names (ie $LIT$ and $DATA$).

        * config/pa/som.h (SUPPORTS_INIT_PRIORITY): SOM does not support
        INIT_PRIORITY.

From-SVN: r41436
2001-04-19 19:13:37 -06:00
Mark Mitchell
4188d924a3 Fix typo
From-SVN: r41434
2001-04-20 00:53:55 +00:00
Phil Edwards
7145b85567 Makefile.am (doxygen): Assume script is missing execute perms.
2001-04-19  Phil Edwards  <pme@sources.redhat.com>

	* Makefile.am (doxygen):  Assume script is missing execute perms.
	* Makefile.in:  Regenerated.
	* docs/doxygen/user.cfg.in:  Add class diagrams and source browsing.

From-SVN: r41432
2001-04-19 23:07:18 +00:00
Phil Edwards
01611b9f3a Makefile.am (doxygen): Assume script is missing execute perms.
2001-04-19  Phil Edwards  <pme@sources.redhat.com>

	* Makefile.am (doxygen):  Assume script is missing execute perms.
	* Makefile.in:  Regenerated.
	* docs/doxygen/user.cfg.in:  Add class diagrams and source browsing.

From-SVN: r41431
2001-04-19 23:01:40 +00:00
Mark Mitchell
5d2ed28c27 cp-tree.h (DECL_LANGUAGE): Don't assume DECL_LANG_SPECIFIC is set.
* cp-tree.h (DECL_LANGUAGE): Don't assume DECL_LANG_SPECIFIC is
	set.
	(SET_DECL_LANGUAGE): New macro.
	* decl.c (duplicate_decls): Use SET_DECL_LANGUAGE.
	(pushdecl): Likewise.
	(build_library_fn_1): Likewise.
	(build_cp_library_fn): Likewise.
	(grokfndecl): Likewise.
	(grokvardecl): Mark `extern "C"' variables as having C linkage.
	* decl2.c (grokclassfn): Use SET_DECL_LANGUAGE.
	* lex.c (retrofit_lang_decl): Likewise.
	* mangle.c (mangle_decl_string): Don't mangle the names of
	variables declared with C language linkage.
	* semantics.c (finish_member_declaration): Use SET_DECL_LANGUAGE.

From-SVN: r41430
2001-04-19 22:49:48 +00:00
DJ Delorie
45936a85bc vms.h: Change OBJECT_SUFFIX and EXECUTABLE_SUFFIX to TARGET_OBJECT_SUFFIX and...
* config/alpha/vms.h: Change OBJECT_SUFFIX and EXECUTABLE_SUFFIX
to TARGET_OBJECT_SUFFIX and TARGET_EXECUTABLE_SUFFIX.
* config/i386/cygwin.h: Likewise.
* config/i386/mingw32.h: Likewise.
* config/vax/vms.h: Likewise.
* config/i386/djgpp.h: Remove NO_AUTO_EXE_SUFFIX.

* config/alpha/xm-vms.h: Change OBJECT_SUFFIX and EXECUTABLE_SUFFIX
to HOST_OBJECT_SUFFIX and HOST_EXECUTABLE_SUFFIX.
* config/i386/xm-cygwin.h: Likewise.
* config/i386/xm-djgpp.h: Likewise.
* config/i386/xm-mingw32.h: Likewise.
* config/vax/xm-vms.h: Likewise.

* mkdeps.c (deps_add_default_target): Use TARGET_OBJECT_SUFFIX
instead of OBJECT_SUFFIX.
* collect2.c (find_a_file): Look for files matching the extension
HOST_EXECUTABLE_SUFFIX instead of EXECUTABLE_SUFFIX.
* gcc.c (DEFAULT_SWITCH_CURTAILS_COMPILATION): Depend on
TARGET_EXECUTABLE_SUFFIX.
(find_a_file): Use HOST_EXECUTABLE_SUFFIX.
(make_relative_prefix): Likewise.
(convert_filename): Use TARGET_ suffixes throughout.  Remove
NO_AUTO_EXE_SUFFIX.
(process_command): Likewise.
(do_spec_1): Likewise.
* java/lang.c (init_parse): Likewise.

* gcc.texi : Document four new options matching the pattern
(HOST|TARGET)_(OBJECT|EXECUTABLE)_SUFFIX.  Remove documentation
for deleted macros OBJECT_SUFFIX and EXECUTABLE_SUFFIX.  Remove
documentation for NO_AUTO_EXE_SUFFIX.

From-SVN: r41428
2001-04-19 16:28:05 -04:00
Mark Mitchell
57883c536c toplev.h (struct lang_hooks): Allow decode_option to indicate that language-independent processing should not...
* toplev.h (struct lang_hooks): Allow decode_option to indicate
	that language-independent processing should not be done.
	* toplev.c (main): Adjust accordingly.

	* top.c (ffe_decode_option): Do not permit language-independent
	processing for -ffixed-line-length.

From-SVN: r41427
2001-04-19 19:52:17 +00:00
Mark Mitchell
13c502cdd5 rtl.texi (jump_insn): Expand on JUMP_LABEL documentation.
* rtl.texi (jump_insn): Expand on JUMP_LABEL documentation.
	* loop.c (load_mems): Handle a NULL JUMP_LABEL for a JUMP_INSN.

From-SVN: r41424
2001-04-19 19:44:43 +00:00
Mark Mitchell
3dcaf6e0d1 mips.md (reload_outputdi): Require that operand0 be a general_operand.
* mips.md (reload_outputdi): Require that operand0 be a
	general_operand.

From-SVN: r41423
2001-04-19 17:35:46 +00:00
David Billinghurst
d773df5ab7 * invoke.texi (-Wshadow): Clarify.
From-SVN: r41420
2001-04-19 15:17:30 +02:00
GCC Administrator
bf7a6aafcc Daily bump.
From-SVN: r41419
2001-04-19 07:17:11 +00:00
Mark Mitchell
17e2b3cb04 loop.c (load_mems): Examine all the instructions in the loop before concluding that all jumps...
* loop.c (load_mems): Examine all the instructions in the loop
	before concluding that all jumps branch to the first instruction
	after the loop.

From-SVN: r41417
2001-04-19 02:15:46 +00:00
Christopher Faylor
9e24b9506a * config/i386/xm-cygwin.h (CPP_SPEC): Fix typo.
From-SVN: r41414
2001-04-19 00:35:06 +00:00
Jim Wilson
df5da1c419 Eliminate assembler warnings found by ia64-linux bootstrap.
* src/ia64/unix.S: Delete unnecessary increment and decrement of loc2
	to eliminate RAW DV.

From-SVN: r41411
2001-04-18 13:30:48 -07:00
Jakub Jelinek
0d692355b9 cpp.texi (-Wwhite-space): Remove.
* cpp.texi (-Wwhite-space): Remove.
	(-Wall): -Wall does not imply -Wwhite-space.

From-SVN: r41409
2001-04-18 14:40:56 +02:00
John David Anglin
41251458b5 semantics.c (simplify_aggr_init_exprs_r): Don't restore flag_access_control from uninitialized storage.
* semantics.c (simplify_aggr_init_exprs_r): Don't restore
	flag_access_control from uninitialized storage.

From-SVN: r41408
2001-04-18 07:55:09 +00:00
GCC Administrator
52f1c84d2d Daily bump.
From-SVN: r41405
2001-04-18 07:16:09 +00:00
Zack Weinberg
ad087b92db dbxout.c (dbxout_init): If DBX_OUTPUT_GCC_MARKER is defined, use it instead of blindly generating a .stabs.
* dbxout.c (dbxout_init): If DBX_OUTPUT_GCC_MARKER is defined,
	use it instead of blindly generating a .stabs.
	* xcoffout.h: Define DBX_OUTPUT_GCC_MARKER so we put the type
	in the right place.
	* xcoffout.c: Don't bother defining default for N_CATCH.
	(UNKNOWN_STAB): Use internal_error.
	(stab_to_sclass): Remove now-unnecessary aborts.
	Remove #if 0'ed case N_BROWS.  Add #ifdef N_OPT block.

From-SVN: r41404
2001-04-18 06:15:38 +00:00
Loren J. Rittle
599d54fd8e * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
From-SVN: r41402
2001-04-18 05:13:33 +00:00