OSDN Git Service

pf3gnuchains/gcc-fork.git
19 years ago* ltconfig, ltmain.sh: Upgrade to libtool 1.4a 1.641.2.256.
aoliva [Mon, 28 May 2001 20:49:42 +0000 (20:49 +0000)]
* ltconfig, ltmain.sh: Upgrade to libtool 1.4a 1.641.2.256.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42677 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoFix the comment, it is propagate_one_insn, not propagate_on_insn.
hjl [Mon, 28 May 2001 16:27:03 +0000 (16:27 +0000)]
Fix the comment, it is propagate_one_insn, not propagate_on_insn.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42675 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * contrib/test_summary (files): Sort before evaluating.
neil [Mon, 28 May 2001 15:50:29 +0000 (15:50 +0000)]
* contrib/test_summary (files): Sort before evaluating.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42673 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * doc/install.texi (Specific): http://reality.sgi.com/ariel/freeware/
gerald [Mon, 28 May 2001 07:55:13 +0000 (07:55 +0000)]
* doc/install.texi (Specific): reality.sgi.com/ariel/freeware/
became http://freeware.sgi.com/.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42671 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoDaily bump.
gccadmin [Mon, 28 May 2001 07:17:51 +0000 (07:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42669 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * local-alloc.c (update_equiv_regs): Don't eliminate constant
geoffk [Mon, 28 May 2001 02:21:28 +0000 (02:21 +0000)]
* local-alloc.c (update_equiv_regs): Don't eliminate constant
expressions at -O0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42667 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * objc/objc-act.c: Add/fix various comments.
shebs [Mon, 28 May 2001 01:01:10 +0000 (01:01 +0000)]
* objc/objc-act.c: Add/fix various comments.
(init_selector): Remove, no longer used.
(build_msg_pool_reference): Ditto.
(objc_debug): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42666 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * c-decl.c (init_decl_processing):
neil [Sun, 27 May 2001 21:04:28 +0000 (21:04 +0000)]
* c-decl.c (init_decl_processing):
 Don't call start_identifier_warnings.
* flags.h (warn_id_clash, id_clash_len): Remove.
* stringpool.c: Don't include flags.h.
(scan_for_clashes, do_identifier_warnings,
start_identifier_warnings): Remove.
* toplev.c (warn_id_clash, id_clash_len): Remove.
(display_help): Don't document -Wid-clash.
(decode_W_option): Print warning on -Wid-clash.
* tree.h (start_identifier_warnings): Remove.
* invoke.texi: Remove documentation of -Wid-clash.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42665 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoreorganize inclhacks and apply fix to fixtests.c
korbb [Sun, 27 May 2001 18:21:04 +0000 (18:21 +0000)]
reorganize inclhacks and apply fix to fixtests.c

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42663 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * cpplib.c (run_directive): Set pfile->directive.
neil [Sun, 27 May 2001 18:06:00 +0000 (18:06 +0000)]
* cpplib.c (run_directive): Set pfile->directive.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42661 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago* c-tree.texi: Reformat the manual as a single chapter now
dj [Sun, 27 May 2001 17:09:47 +0000 (17:09 +0000)]
* c-tree.texi: Reformat the manual as a single chapter now
included by gcc.texi.
* gcc.texi: Include c-tree.texi. Merge all indexes.
* Makefile.in (dvi): Add generation for the cppinternals
documentation. Added dependencies on fdl.texi and c-tree.texi
where appropriate.  Use TEXI2DVI instead of custom tex calls.
(info): Added dependencies on fdl.texi and c-tree.texi where
appropriate.  Remove the target c-tree.info.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42660 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago* Make-lang.in ($(srcdir)/f/g77.info): Added dependencies on
dj [Sun, 27 May 2001 17:08:11 +0000 (17:08 +0000)]
* Make-lang.in ($(srcdir)/f/g77.info): Added dependencies on
fdl.texi.
(f/g77.dvi): Use TEXI2DVI instead of custom tex calls.  Create the
dvi file in the f directory.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42659 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago* Make-lang.in ($(srcdir)/java/gcj.info): Added dependencies on
dj [Sun, 27 May 2001 17:07:48 +0000 (17:07 +0000)]
* Make-lang.in ($(srcdir)/java/gcj.info): Added dependencies on
fdl.texi.
(java/gcj.dvi): Use TEXI2DVI instead of custom tex calls.  Create
the dvi file in the java directory.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42658 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago* Make-lang.in (dvi): Use ch/chill.dvi not chill.dvi.
dj [Sun, 27 May 2001 17:07:17 +0000 (17:07 +0000)]
* Make-lang.in (dvi): Use ch/chill.dvi not chill.dvi.
(ch/chill.dvi): Use TEXI2DVI instead of custom tex calls.  Create
the dvi file in the ch directory.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42657 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * combine.c (try_combine): Fix typo in comment.
gerald [Sun, 27 May 2001 10:35:09 +0000 (10:35 +0000)]
* combine.c (try_combine): Fix typo in comment.
* expr.c (expand_expr): Likewise.
* config/i370/i370.md (untyped_call): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42655 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoDaily bump.
gccadmin [Sun, 27 May 2001 07:16:09 +0000 (07:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42652 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agocp:
nathan [Sat, 26 May 2001 19:20:06 +0000 (19:20 +0000)]
cp:
PR g++/2823
* semantics.c (expand_body): Don't optimize thunks.
testsuite:
* g++.old-deja/g++.other/optimize2.C: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42650 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * configure: Remove obsolete file.
zack [Sat, 26 May 2001 18:36:28 +0000 (18:36 +0000)]
* configure: Remove obsolete file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42644 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoregenerate
korbb [Sat, 26 May 2001 18:27:00 +0000 (18:27 +0000)]
regenerate

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42643 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * fixinc/fixtests.c(stdc_0_in_system_headers_test): Must return "FIX"
korbb [Sat, 26 May 2001 18:26:29 +0000 (18:26 +0000)]
* fixinc/fixtests.c(stdc_0_in_system_headers_test): Must return "FIX"
when fixincl is operating in test mode
* fixinc/inclhack.def(AAB_dgux_int_varargs) : aesthetics
(AAB_ultrix_limits): remove redundant text
(AAB_ultrix_memory): ditto
(AAB_ultrix_string): ditto
(djgpp_wchar_h): fix the test text
(irix_stdio_va_list): add test text
(irix_limits_const): add a testing output file (limits.h is overwritten)
(strict_ansi_not_ctd): put limits.h second in list for same reason
(solaris27_mutex_init): test text needed selection text, too

* fixinc/fixtests.c(stdc_0_in_system_headers_test): in testing mode,
always apply the fix

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42642 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agotest result moved to "testing.h" file
korbb [Sat, 26 May 2001 18:12:26 +0000 (18:12 +0000)]
test result moved to "testing.h" file

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42641 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoadd fix test results for freebsd_gcc3_breakage
korbb [Sat, 26 May 2001 18:04:43 +0000 (18:04 +0000)]
add fix test results for freebsd_gcc3_breakage

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42640 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoadd fix test results for irix_limits_const hack
korbb [Sat, 26 May 2001 18:00:59 +0000 (18:00 +0000)]
add fix test results for irix_limits_const hack

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42639 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoAdd fix test result for strict_ansi_not_ctd
korbb [Sat, 26 May 2001 17:58:57 +0000 (17:58 +0000)]
Add fix test result for strict_ansi_not_ctd

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42638 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoAdd another caveat
korbb [Sat, 26 May 2001 17:40:44 +0000 (17:40 +0000)]
Add another caveat

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42637 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoAdd fix check test for alpha___assert
korbb [Sat, 26 May 2001 17:38:05 +0000 (17:38 +0000)]
Add fix check test for alpha___assert

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42636 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agostdc_0_in_system_headers_test must return "FIX"
korbb [Sat, 26 May 2001 17:36:06 +0000 (17:36 +0000)]
stdc_0_in_system_headers_test must return "FIX"
when fixincl is operating in test mode

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42635 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoWe must apply the fix in test mode
korbb [Sat, 26 May 2001 17:27:10 +0000 (17:27 +0000)]
We must apply the fix in test mode

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42634 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoUpgrade to current collection of tests
korbb [Sat, 26 May 2001 16:39:15 +0000 (16:39 +0000)]
Upgrade to current collection of tests

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42633 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoThis check template is now upgraded for AutoGen5
korbb [Sat, 26 May 2001 16:17:46 +0000 (16:17 +0000)]
This check template is now upgraded for AutoGen5

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42632 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agowchar_t typedefs are now wrapped in "ifndef __cplusplus"
korbb [Sat, 26 May 2001 16:16:34 +0000 (16:16 +0000)]
wchar_t typedefs are now wrapped in "ifndef __cplusplus"

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42631 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agowchar_t now gets wrapped inside "ifndef __cplusplus",
korbb [Sat, 26 May 2001 15:54:35 +0000 (15:54 +0000)]
wchar_t now gets wrapped inside "ifndef __cplusplus",
so we have to adjust the gnu_types fix test for that.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42630 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoAdd fix test from solaris27_mutex_init
korbb [Sat, 26 May 2001 15:47:11 +0000 (15:47 +0000)]
Add fix test from solaris27_mutex_init

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42629 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoAdd fix test from irix_stdio_dummy_va_list
korbb [Sat, 26 May 2001 15:46:38 +0000 (15:46 +0000)]
Add fix test from irix_stdio_dummy_va_list

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42628 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoCorrect test results for avoid-bool-define fix
korbb [Sat, 26 May 2001 15:37:20 +0000 (15:37 +0000)]
Correct test results for avoid-bool-define fix

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42627 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-05-26 Philip Blundell <philb@gnu.org>
pb [Sat, 26 May 2001 15:07:50 +0000 (15:07 +0000)]
2001-05-26  Philip Blundell  <philb@gnu.org>

* config/c4x/c4x-protos.h: Use GCC_C_PRAGMA_H in place of _C_PRAGMA_H.
* config/i960/i960-protos.h: Likewise.
* config/i370/i370-protos.h: Likewise.
* config/h8300/h8300-protos.h: Likewise,
* config/sh/sh-protos.h: Likewise.
* config/v850/v850-protos.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42626 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-05-26 Philip Blundell <philb@gnu.org>
pb [Sat, 26 May 2001 14:11:12 +0000 (14:11 +0000)]
2001-05-26  Philip Blundell  <philb@gnu.org>

* config/arm/arm-protos.h: Use GCC_C_PRAGMA_H in place of _C_PRAGMA_H.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42625 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoDaily bump.
gccadmin [Sat, 26 May 2001 07:16:38 +0000 (07:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42624 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * include/c_std/bits/std_cmath.h (sqrt): #undef.
gdr [Sat, 26 May 2001 07:03:23 +0000 (07:03 +0000)]
  * include/c_std/bits/std_cmath.h (sqrt): #undef.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42622 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * toplev.c (debug_args, f_options, W_options): Mark
zack [Sat, 26 May 2001 05:28:26 +0000 (05:28 +0000)]
* toplev.c (debug_args, f_options, W_options): Mark
descriptions for translation.
(display_help): Translate descriptions on output.

* cp/lang-options.h, f/lang-options.h, java/lang-options.h,
objc/lang-options.h: Mark descriptions for translation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42618 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * aclocal.m4: Quote final argument of patsubst. Use
zack [Sat, 26 May 2001 04:54:42 +0000 (04:54 +0000)]
* aclocal.m4: Quote final argument of patsubst.  Use
3-argument form of AC_DEFINE.  Restore quotes to [] while
using AC_FD_CC.
* configure.in: Remove unnecessary changequote calls.
* configure, config.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42617 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoStandardize header guards.
rth [Sat, 26 May 2001 01:31:47 +0000 (01:31 +0000)]
Standardize header guards.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42615 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/arc/initfini.c (.init): Fix typo.
rth [Sat, 26 May 2001 01:14:19 +0000 (01:14 +0000)]
    * config/arc/initfini.c (.init): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42614 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * dbxout.c (dbxout_symbol): Invert previous patch, which was
geoffk [Sat, 26 May 2001 01:08:13 +0000 (01:08 +0000)]
* dbxout.c (dbxout_symbol): Invert previous patch, which was
outputting a tag only for variable-size records.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42612 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * po2tbl.sed.in: Fixed typo.
rth [Sat, 26 May 2001 00:47:18 +0000 (00:47 +0000)]
* po2tbl.sed.in: Fixed typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42610 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * i386/i386.h (CC1_CPU_SPEC): Clarify -m486 etc deprecation messages.
rth [Sat, 26 May 2001 00:46:02 +0000 (00:46 +0000)]
    * i386/i386.h (CC1_CPU_SPEC): Clarify -m486 etc deprecation messages.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42609 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * libgcc-std.ver: Export XFmode and TFmode versions of symbols.
rth [Sat, 26 May 2001 00:08:59 +0000 (00:08 +0000)]
    * libgcc-std.ver: Export XFmode and TFmode versions of symbols.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42605 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config.gcc (all gnu and linux): Use t-slibgcc-elf-ver with t-linux.
rth [Fri, 25 May 2001 23:08:57 +0000 (23:08 +0000)]
    * config.gcc (all gnu and linux): Use t-slibgcc-elf-ver with t-linux.
        (i386-*-solaris2): Use t-slibgcc-elf-ver or t-slibgcc-sld.
        (sparc*-*-solaris2): Likewise.
        * config/t-linux: Remove shared libgcc macros.
        * config/t-slibgcc-elf-ver: Move from sparc/t-slibgcc.
        * config/t-slibgcc-sld: Move from sparc/t-slibgcc-sld.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42602 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
gdr [Fri, 25 May 2001 22:19:25 +0000 (22:19 +0000)]
2001-05-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

        * mknumeric_limits: Stop if gen-num-limits dies.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42601 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config.gcc (*-*-freebsd*): Report bad configuration.
ljrittle [Fri, 25 May 2001 22:11:21 +0000 (22:11 +0000)]
* config.gcc (*-*-freebsd*): Report bad configuration.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42599 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * xcoffout.h (DBX_OUTPUT_GCC_MARKER): Do not emit any marker.
dje [Fri, 25 May 2001 22:08:30 +0000 (22:08 +0000)]
* xcoffout.h (DBX_OUTPUT_GCC_MARKER): Do not emit any marker.

* config/rs6000/aix.h (USER_LABEL_PREFIX): AIX symbols do not have
any prefix.
(ASM_OUTPUT_LABELREF): Delete.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42598 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 25 May 2001 21:53:51 +0000 (21:53 +0000)]
2001-05-25  Benjamin Kosnik  <bkoz@redhat.com>

other/2931
* acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
* aclocal.m4: Regenerate.
* configure: Same.

2001-05-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
            Phil Edwards  <pme@sources.redhat.com>
    Alexandre Oliva  <aoliva@redhat.com>

        * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
        in an amd-safe manner. Revert glibcpp_prefixdir.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42596 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
gdr [Fri, 25 May 2001 21:43:42 +0000 (21:43 +0000)]
  * include/c_std/bits/std_cmath.h: Tweak.  #define away abs, cos,
      fabs, sin, sqrt.  They are now implemented in terms of __builtin_
      variants.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42595 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * fixinc/inclhack.def (strict_ansi_not, strict_ansi_not_ctd,
rth [Fri, 25 May 2001 21:36:08 +0000 (21:36 +0000)]
    * fixinc/inclhack.def (strict_ansi_not, strict_ansi_not_ctd,
        strict_ansi_only): Don't run if stdc_0_in_system_headers.
        * fixinc/fixincl.x: Regenerate.
        * fixinc/fixtests.c (stdc_0_in_system_headers_test): New function.
        (FIX_TEST_TABLE): Declare it.
        * fixinc/fixlib.h: Include config.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42593 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * fixinc/inclhack.def (alpha___assert): Change char * args to
rth [Fri, 25 May 2001 21:08:53 +0000 (21:08 +0000)]
    * fixinc/inclhack.def (alpha___assert): Change char * args to
        const char * on Tru64 UNIX to avoid excessive warnings from
        assert.h.
        * fixinc/fixincl.x: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42589 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * dbxout.c (dbxout_symbol): Invert previous patch, which was
geoffk [Fri, 25 May 2001 20:55:52 +0000 (20:55 +0000)]
* dbxout.c (dbxout_symbol): Invert previous patch, which was
outputting a tag only for variable-size records.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42588 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoFix typo
mmitchel [Fri, 25 May 2001 20:15:22 +0000 (20:15 +0000)]
Fix typo

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42587 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/alpha/alpha.md (movtf_internal): Use reg_overlap_mentioned_p
rth [Fri, 25 May 2001 20:07:18 +0000 (20:07 +0000)]
    * config/alpha/alpha.md (movtf_internal): Use reg_overlap_mentioned_p
        instead of rtx_equal_p for early clobber test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42585 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * builtins.def: Encode additional information, such as names and
mmitchel [Fri, 25 May 2001 20:00:59 +0000 (20:00 +0000)]
* builtins.def: Encode additional information, such as names and
types, here.
* builtin-types.def: New file.
* builtins.c (built_in_names): Adjust use of DEF_BUILTIN.
(built_in_decls): Likewise.  Don't explicitly initialize global
data to NULL.
(expand_builtin_mathfn): Handle float and long double variants of
math builtins.
(expand_builtin): Likewise.
* c-common.c (c_common_nodes_and_builtins): Make it table-driven.
(expand_tree_builtin): Handle long, long long, float, and long
double variants of math functions.
* c-common.h (c_tree_index): Remove some unused nodes.
(void_ftype): Remove.
(void_type_ptr): Likewise.
(int_ftype_int): Likewise.
(ptr_ftype_sizetype): Likewise.
* c-decl.c (init_decl_processing): Remove creation of DWARF
builtins.
* defaults.h (MD_INIT_BUILTINS): Provide default definition.
* tree.h (built_in_function): Adjust definition of DEF_BUILTIN.
* Makefile.in (c-common.o): Depend on builtin-types.def.

* decl.c (init_decl_processing): Tweak.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42583 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-05-25 Dale Johannesen <dalej@apple.com>
shebs [Fri, 25 May 2001 19:50:50 +0000 (19:50 +0000)]
2001-05-25  Dale Johannesen  <dalej@apple.com>

        * config/rs6000/t-darwin: Fix dependencies for darwin.o.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42582 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * c-parse.in (notype_initdcl): Remove redundant line.
neil [Fri, 25 May 2001 19:44:20 +0000 (19:44 +0000)]
* c-parse.in (notype_initdcl): Remove redundant line.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42581 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-05-25 Diego Novillo <dnovillo@redhat.com>
dnovillo [Fri, 25 May 2001 19:38:52 +0000 (19:38 +0000)]
2001-05-25  Diego Novillo  <dnovillo@redhat.com>

* gcc.c-torture/compile/20010518-2.c: New file.
* gcc.c-torture/execute/20010518-1.c: New file.
* gcc.c-torture/execute/20010518-2.c: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42580 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * aclocal.m4: Fixed typo.
rth [Fri, 25 May 2001 19:30:11 +0000 (19:30 +0000)]
    * aclocal.m4: Fixed typo.
        (gcc_AC_HEADER_STDBOOL): Define.
        (gcc_AC_C__BOOL): Define.
        * configure.in: Use them.
        (AC_CHECK_HEADERS): Remove stdbool.h
        * configure, config.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42578 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * function.c (expand_function_start): Don't abort on PARALLEL
rth [Fri, 25 May 2001 19:05:24 +0000 (19:05 +0000)]
    * function.c (expand_function_start): Don't abort on PARALLEL
        returns from hard_function_value.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42577 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/i386/i386.md: Revert previous change. Do not apply
rth [Fri, 25 May 2001 18:17:40 +0000 (18:17 +0000)]
    * config/i386/i386.md: Revert previous change.  Do not apply
        the peephole if the components do not die after the sequence.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42576 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * c-parse.in (array_declarator): New. Handle C99 constructs.
jsm28 [Fri, 25 May 2001 11:12:47 +0000 (11:12 +0000)]
* c-parse.in (array_declarator): New.  Handle C99 constructs.
Don't restrict [*] declarators to C only.
(after_type_declarator, parm_declarator_starttypename,
parm_declarator_nostarttypename, notype_declarator,
direct_absdcl1): Use it.
* c-decl.c (build_array_declarator, set_array_declarator_type):
New functions.  Warn that [*] isn't properly implemented; pedwarn
for [*] outside C99 mode if pedantic rather than giving a hard
error.
(grokdeclarator): Handle static and type qualifiers in parameter
array declarators.
* c-tree.h (build_array_declarator, set_array_declarator_type):
Declare.
* extend.texi (Attribute Syntax): Document attributes in parameter
array declarators.

testsuite:
* gcc.dg/c90-arraydecl-1.c, gcc.dg/c99-arraydecl-1.c: New tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42574 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoNew test
mmitchel [Fri, 25 May 2001 09:16:08 +0000 (09:16 +0000)]
New test

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42570 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/i386/i386.md: Make sure cmpstr peepholes do not
mmitchel [Fri, 25 May 2001 09:09:17 +0000 (09:09 +0000)]
* config/i386/i386.md: Make sure cmpstr peepholes do not
affect liveness information.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42568 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoDaily bump.
gccadmin [Fri, 25 May 2001 07:16:41 +0000 (07:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42566 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-05-25 Ovidiu Predescu <ovidiu@cup.hp.com>
ovidiu [Fri, 25 May 2001 07:14:10 +0000 (07:14 +0000)]
2001-05-25  Ovidiu Predescu  <ovidiu@cup.hp.com>

* init.c (__objc_send_message_in_list): When setting a new entry
in __objc_load_methods use the method name as key, not the method
IMP (reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42562 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago(__objc_send_message_in_list): When setting a new entry in
ovidiu [Fri, 25 May 2001 07:12:17 +0000 (07:12 +0000)]
(__objc_send_message_in_list): When setting a new entry in
__objc_load_methods use the method name as key, not the method IMP
(reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42561 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * c-typeck.c (digest_init): Issue error messages about
mmitchel [Fri, 25 May 2001 06:34:16 +0000 (06:34 +0000)]
* c-typeck.c (digest_init): Issue error messages about
invalid constants, not warnings.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42560 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 25 May 2001 04:24:12 +0000 (04:24 +0000)]
2001-05-24  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/2830
* testsuite/21_strings/inserters_extractors.cc (test09): New test.
* include/bits/ostream.tcc: Format to match istream.tcc.
(operator<<(basic_ostream __out, const basic_string __s)): Fix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42557 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-05-24 Phil Edwards <pme@sources.redhat.com>
pme [Fri, 25 May 2001 02:10:55 +0000 (02:10 +0000)]
2001-05-24  Phil Edwards  <pme@sources.redhat.com>

* libsupc++/eh_alloc.cc (__cxa_allocate_exception):  Qualify
malloc with std:: .
(__cxa_free_exception):  Likewise with free.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42556 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * include/c_std/bin/std_cstring.h: #define away all global
mmitchel [Fri, 25 May 2001 01:33:21 +0000 (01:33 +0000)]
* include/c_std/bin/std_cstring.h: #define away all global
functions we will redeclare in namespace `std'.
* libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
std::memset, instead of memset.
* testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
not plain `strcmp'.
* testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
plain `strcpy'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42555 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago G++ no longer defines builtins that do not begin with __builtin.
mmitchel [Fri, 25 May 2001 01:30:57 +0000 (01:30 +0000)]
G++ no longer defines builtins that do not begin with __builtin.
* g++.old-deja/g++.abi/bitfields.C: Update accordingly.
* g++.old-deja/g++.brendand/misc13.C: Likewise.
* g++.old-deja/g++.law/builtin1.C: Likewise.
* g++.old-deja/g++.law/cvt2.C: Likewise.
* g++.old-deja/g++.mike/net5.C: Likewise.
* g++.old-deja/g++.other/builtins1.C: Likewise.
* g++.old-deja/g++.other/builtins2.C: Likewise.
* g++.old-deja/g++.other/builtins3.C: Likewise.
* g++.old-deja/g++.other/builtins4.C: Likewise.
* g++.old-deja/g++.other/inline8.C: Likewise.
* g++.old-deja/g++.robertl/eb39.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42554 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * invoke.texi (-fno-builtin): Document that this is always on
mmitchel [Fri, 25 May 2001 01:27:08 +0000 (01:27 +0000)]
* invoke.texi (-fno-builtin): Document that this is always on
in C++.

* decl.c (duplicate_decls): Tidy.
(init_decl_processing): Always set flag_no_builtin.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42553 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 24 May 2001 23:09:53 +0000 (23:09 +0000)]
2001-05-24  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/2832
* include/bits/basic_ios.tcc: Small tweak.
* include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
ctors and dtors, and rdbuf settings.
(ofstream): Same.
(fstream): Same.
* include/bits/std_sstream.h: Same, but for stringstream classes.
* testsuite/27_io/ostringstream_members.cc: New.
* testsuite/27_io/stringstream_members.cc: New.
* testsuite/27_io/fstream_members.cc: New.
* testsuite/27_io/ifstream_members.cc: Add test.
* testsuite/27_io/istringstream_members.cc: Add test.
* testsuite/27_io/ofstream_members.cc: Add test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42547 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-05-24 Philip Blundell <philb@gnu.org>
pb [Thu, 24 May 2001 21:16:41 +0000 (21:16 +0000)]
2001-05-24  Philip Blundell  <philb@gnu.org>

* doc/install.texi (arm*-*-linux-gnu): Say that binutils 2.10 is
required.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42546 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-05-24 Philip Blundell <philb@gnu.org>
pb [Thu, 24 May 2001 21:16:36 +0000 (21:16 +0000)]
2001-05-24  Philip Blundell  <philb@gnu.org>

* doc/install.texi (arm*-*-linux-gnu): Say that binutils 2.10 is
required.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42545 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-05-24 Philip Blundell <philb@gnu.org>
pb [Thu, 24 May 2001 21:09:05 +0000 (21:09 +0000)]
2001-05-24  Philip Blundell  <philb@gnu.org>

* config/arm/arm.c (output_return_instruction): Correctly handle
interworking and interrupt functions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42543 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-05-24 Philip Blundell <philb@gnu.org>
pb [Thu, 24 May 2001 21:06:36 +0000 (21:06 +0000)]
2001-05-24  Philip Blundell  <philb@gnu.org>

* config/arm/arm.h (TARGET_SWITCHES): Correct misleading help for
-m{no-}sched-prolog.  Fix typos and improve formatting.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42542 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-05-24 Philip Blundell <philb@gnu.org>
pb [Thu, 24 May 2001 21:06:35 +0000 (21:06 +0000)]
2001-05-24  Philip Blundell  <philb@gnu.org>

* config/arm/arm.h (TARGET_SWITCHES): Correct misleading help for
-m{no-}sched-prolog.  Fix typos and improve formatting.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42541 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-05-24 Philip Blundell <philb@gnu.org>
pb [Thu, 24 May 2001 20:54:59 +0000 (20:54 +0000)]
2001-05-24  Philip Blundell  <philb@gnu.org>

* invoke.texi (ARM Options): Improve wording slightly.  Add
documentation for more options, including those for Thumb mode.
Don't mention options that don't exist or are unimplemented.
(Thumb Options): Delete; merged into above section.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42539 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * include/bits/c++config(__NO_MATH_INLINES): Move to...
gdr [Thu, 24 May 2001 20:51:33 +0000 (20:51 +0000)]
  * include/bits/c++config(__NO_MATH_INLINES): Move to...
      * config/os/gnu-linux/bits/os_defines.h: ...here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42538 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/rs6000/linux.h (SIGNAL_FRAMESIZE): Define.
geoffk [Thu, 24 May 2001 20:15:13 +0000 (20:15 +0000)]
* config/rs6000/linux.h (SIGNAL_FRAMESIZE): Define.
(MD_FALLBACK_FRAME_STATE_FOR): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42534 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * include/bits/c++config (__NO_MATH_INLINES): New macro.
gdr [Thu, 24 May 2001 18:38:20 +0000 (18:38 +0000)]
  * include/bits/c++config (__NO_MATH_INLINES): New macro.
      * testsuite/26_numerics/fabs_inline.cc (main): New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42533 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * java/lang/natString.cc (init): Throw
tromey [Thu, 24 May 2001 18:06:03 +0000 (18:06 +0000)]
* java/lang/natString.cc (init): Throw
ArrayIndexOutOfBoundsException.
(getChars): Likewise.
(getBytes): Likewise.
(valueOf): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42531 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * configure.in: Only allow hash synchronization when POSIX threads
tromey [Thu, 24 May 2001 18:03:47 +0000 (18:03 +0000)]
* configure.in: Only allow hash synchronization when POSIX threads
are enabled.
* java/lang/natObject.cc (alloc_heavy): Properly find `init' field
of sync info object.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42530 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * simplify-rtx.c (simplify_subreg): Fix CONCAT simplification;
hubicka [Thu, 24 May 2001 17:48:42 +0000 (17:48 +0000)]
* simplify-rtx.c (simplify_subreg): Fix CONCAT simplification;
fix hard register simplification.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42529 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * sparc/sol2.h (CPLUSPLUS_CPP_SPEC): Add all of CPP_SPEC instead
mmitchel [Thu, 24 May 2001 15:59:43 +0000 (15:59 +0000)]
* sparc/sol2.h (CPLUSPLUS_CPP_SPEC): Add all of CPP_SPEC instead
of just copying CPP_CPU_SPEC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42528 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * i386.c (incdec_operand): Accept only 1 and -1.
hubicka [Thu, 24 May 2001 13:59:09 +0000 (13:59 +0000)]
* i386.c (incdec_operand): Accept only 1 and -1.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42527 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agocp:
nathan [Thu, 24 May 2001 12:00:52 +0000 (12:00 +0000)]
cp:
PR c++/2184
* decl2.c (do_local_using_decl): Push the decls, even in a
template.
testsuite:
* g++.old-deja/g++.pt/using1.C: Adjust.
* g++.old-deja/g++.pt/using2.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42526 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * Makefile.am: Override gctest_OBJECTS so tests/test.c can be built.
bryce [Thu, 24 May 2001 07:28:39 +0000 (07:28 +0000)]
* Makefile.am: Override gctest_OBJECTS so tests/test.c can be built.
(libgcjgc_la_SOURCES): Remove typo.
* tests/test.c: Fix struct names and includes for GC_GCJ_SUPPORT case.
* Makefile.in: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42524 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoDaily bump.
gccadmin [Thu, 24 May 2001 07:16:48 +0000 (07:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42523 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * Makefile.in: Rebuilt.
tromey [Thu, 24 May 2001 05:43:46 +0000 (05:43 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am (AM_CXXFLAGS): Remove -fvtable-thunks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42521 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago Revert patch of 2001-05-21:
tromey [Thu, 24 May 2001 05:41:53 +0000 (05:41 +0000)]
Revert patch of 2001-05-21:
* Makefile.am (libgcj_la_DEPENDENCIES): Removed nat_files.
(libgcj_la_LIBADD): Likewise.
(libgcjx_la_DEPENDENCIES): Removed x_nat_files.
(libgcjx_la_LIBADD): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42520 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-05-23 Tom Tromey <tromey@redhat.com>
tromey [Thu, 24 May 2001 05:40:37 +0000 (05:40 +0000)]
2001-05-23  Tom Tromey  <tromey@redhat.com>

* posix-threads.cc (_Jv_self_cache): Renamed from self_cache.
* gcj/Makefile.in: Rebuilt.
* gcj/Makefile.am (gcj_HEADERS): Added libgcj-config.h.
* gcj/javaprims.h: Include gcj/libgcj-config.h.
* gcj/libgcj-config.h.in: New file.
* libgcj.spec.in (*jc1): Added @HASH_SYNC_SPEC@.
* configure: Rebuilt.
* configure.in: Enable hash synchronization by default on some
platforms.
(HASH_SYNC_SPEC): New subst.
(AC_CONFIG_HEADER): Added gcj/libgcj-config.h.
Correctly use `test -z' instead of `test -n' in a couple places.
(JV_HASH_SYNCHRONIZATION): Use AC_DEFINE; don't add to
LIBGCJ_CXXFLAGS.
* configure.host (enable_java_net_default): Initialize.
(enable_hash_synchronization_default): New variable.

2001-05-23  Hans Boehm <Hans_Boehm@hp.com>

* boehm.cc (_Jv_MarkObj): Don't mark sync_info when hash
synchronization in use.
(_Jv_MarkArray): Likewise.
(_Jv_AllocBytes): Don't check return result.
(handle_out_of_memory): New function.
(_Jv_InitGC): Set GC_oom_fn.
(trace_one_vtable): New global.
(_Jv_AllocTraceOne): New function.
* configure.in: Added --enable-hash-synchronization.
* defineclass.cc, prims.cc, resolve.cc, java/lang/natString.cc,
java/net/natInetAddress.cc: Remove _Jv_AllocBytesChecked.
* nogc.cc (_Jv_AllocObj): Throw out-of-memory.
(_Jv_AllocArray): Likewise.
(_Jv_AllocBytes): Likewise.
(_Jv_AllocPtrFreeObject): New function.
(_Jv_AllocTraceOne): Likewise.
* posix-threads.cc (_Jv_ThreadRegister): Handle slow
pthread_self().
(self_cache): New global.
(_Jv_ThreadSelf_out_of_line): New function.
* prims.cc (_Jv_AllocBytesChecked): Removed.
(_Jv_ThrowNoMemory): New function.
(_Jv_AllocObject): Don't check for null return from allocator.
(_Jv_NewObjectArray): Likewise.
(_Jv_AllocPtrFreeObject): New function.
(_Jv_NewPrimArray): Allocate pointer-free object if possible.
* include/javaprims.h (_Jv_AllocPtrFreeObject): Declare.
(_Jv_MonitorEnter, _Jv_MonitorExit): Don't return value.
* include/boehm-gc.h (_Jv_AllocObj): Define.
(_Jv_AllocPtrFreeObj): Define.
* include/jvm.h (_Jv_AllocPtrFreeObj): Declare.
(_Jv_ThrowNoMemory): Declare.
(_Jv_AllocTraceOne): Declare.
(_Jv_AllocBytesChecked): Removed.
* include/posix-threads.h (_Jv_MutexInit, _Jv_MutexLock,
_Jv_MutexUnlock): Handle LOCK_DEBUG.
(_Jv_ThreadSelf): Handle case where system pthread_self() is
slow.
* java/lang/Class.h (Class): Declare _Jv_AllocPtrFreeObj as
friend.
* java/lang/Object.h (sync_info): Conditional upon presence of
hash synchronization.
* java/lang/natObject.cc: Much new code to handle thin locks and
hash synchronization.
* java/lang/natString.cc (_Jv_AllocString): Allocate pointer-free
object if possible.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42519 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoThis is still broken. Do not use it yet
korbb [Thu, 24 May 2001 04:37:54 +0000 (04:37 +0000)]
This is still broken.  Do not use it yet

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42518 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago* Makefile.in: Move many of the *_H definitions eariler in the
dj [Wed, 23 May 2001 22:58:41 +0000 (22:58 +0000)]
* Makefile.in: Move many of the *_H definitions eariler in the
file, so that rules in t-* files that use them for
dependencies will work in a parallel build.
* config/i386/t-cygwin (winnt.o): Depend on $(CONFIG_H).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42516 138bc75d-0d04-0410-961f-82ee72b054a4