OSDN Git Service

pf3gnuchains/gcc-fork.git
22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 years ago * integrate.c (expand_inline_function): Handle CONCAT DECL_RESULT.
rth [Wed, 23 May 2001 22:53:54 +0000 (22:53 +0000)]
    * integrate.c (expand_inline_function): Handle CONCAT DECL_RESULT.

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

22 years ago * cpp.texi: Update for handling of charconsts.
neil [Wed, 23 May 2001 22:50:28 +0000 (22:50 +0000)]
* cpp.texi: Update for handling of charconsts.
* cpplex.c (maybe_read_ucs): Don't accept D800-DFFF.  Update
diagnostics.  Skip to the end if the UCS is too short.
(cpp_interpret_charconst): Long charconsts issue a warning
not an error.

* gcc.dg/cpp/charconst.c: New tests.
* gcc.dg/cpp/escape.c: New tests.
* gcc.dg/cpp/escape-1.c: New tests.
* gcc.dg/cpp/escape-2.c: New tests.
* gcc.dg/cpp/ucs.c: New tests.

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

22 years ago * doc/install.texi (alpha-linux): Require binutils 2.11.
rth [Wed, 23 May 2001 21:33:30 +0000 (21:33 +0000)]
    * doc/install.texi (alpha-linux): Require binutils 2.11.

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

22 years ago * gcc.misc-tests/linkage.exp: Pass appropriate flags to
mmitchel [Wed, 23 May 2001 19:53:00 +0000 (19:53 +0000)]
* gcc.misc-tests/linkage.exp:  Pass appropriate flags to
native compiler for irix6.5.

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

22 years ago * c-lex.c (read_escape, read_ucs): Delete.
neil [Wed, 23 May 2001 19:05:37 +0000 (19:05 +0000)]
* c-lex.c (read_escape, read_ucs): Delete.
(lex_string): Use cpp_parse_escape.
* cpplex.c (read_ucs): Rename maybe_read_ucs.  Do nothing
if not C++ or not C99.  Warn if traditional.
(parse_escape): Rename cpp_parse_escape.  Make the bitmask
unsigned.  Warn for out-of-range escape sequences here.
Update to use maybe_read_ucs.
(cpp_interpret_charconst):  Don't warn here.
* cpplib.h (cpp_parse_escape): New exported function.

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

22 years ago * extend.texi (Attribute Syntax): Clarify application of
jsm28 [Wed, 23 May 2001 18:44:13 +0000 (18:44 +0000)]
* extend.texi (Attribute Syntax): Clarify application of
attributes to parameters declared as functions or arrays.

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

22 years agogcc/java:
jsm28 [Wed, 23 May 2001 18:10:30 +0000 (18:10 +0000)]
gcc/java:
* jv-scan.c (version): Update copyright year.

libjava:
* gij.cc (version): Update copyright year.

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

22 years ago * dbxout.c (dbxout_type_methods): Do still group methods by name.
jason [Wed, 23 May 2001 17:37:50 +0000 (17:37 +0000)]
    * dbxout.c (dbxout_type_methods): Do still group methods by name.

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

22 years agoFix typo applying previous patch.
green [Wed, 23 May 2001 17:24:49 +0000 (17:24 +0000)]
Fix typo applying previous patch.

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

22 years ago * POTFILES.in: Remove config/rs6000/xm-darwin.h and
zack [Wed, 23 May 2001 17:22:19 +0000 (17:22 +0000)]
* POTFILES.in: Remove config/rs6000/xm-darwin.h and
config/pa/pa-gas.h.

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

22 years agoMissed hunk from old GCJ_FOR_TARGET patch.
green [Wed, 23 May 2001 17:19:40 +0000 (17:19 +0000)]
Missed hunk from old GCJ_FOR_TARGET patch.

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

22 years ago2001-05-23 Zack Weinberg <zackw@stanford.edu>
zack [Wed, 23 May 2001 17:15:07 +0000 (17:15 +0000)]
2001-05-23  Zack Weinberg  <zackw@stanford.edu>

* diagnostic.c (vnotice): Kill.
(fnotice): Call vfprintf directly.
(diagnostic_for_decl, output_do_verbatim, output_verbatim,
verbatim, set_diagnostic_context): Rename string argument to
indicate that it is run through gettext.
(vbuild_message_string, build_message_string, output_do_printf):
Rename string argument to indicate that it is NOT run through
gettext.
(output_printf, diagnostic_for_decl, fatal_io_error, sorry,
output_do_verbatim, set_diagnostic_context, fnotice, _fatal_insn):
Run msgid argument through gettext.
(default_print_error_function): Run constant strings through
gettext when nothing else will.
(fatal_error, internal_error, error_recursion): Use fnotice.
Present complete sentences to gettext.

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

22 years agoFix cross builds.
green [Wed, 23 May 2001 17:13:27 +0000 (17:13 +0000)]
Fix cross builds.

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

22 years agoWed May 23 2001 Jeffrey D. Oldham <oldham@codesourcery.com>
oldham [Wed, 23 May 2001 16:15:03 +0000 (16:15 +0000)]
Wed May 23 2001  Jeffrey D. Oldham  <oldham@codesourcery.com>

* lib/g++.exp (g++_include_flags): Use args to compute
  get_multilibs.
(g++_link_flags): Likewise.
(g++_init): Pass TOOL_OPTIONS as arguments to two above functions.

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

22 years ago * gcc_update (UPDATE_OPTIONS): Add -d to the default settings.
gerald [Wed, 23 May 2001 12:15:03 +0000 (12:15 +0000)]
* gcc_update (UPDATE_OPTIONS): Add -d to the default settings.

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

22 years ago * jump.c (mark_jump_label): Fix thinko in 2001-05-19 change.
mmitchel [Wed, 23 May 2001 07:56:45 +0000 (07:56 +0000)]
* jump.c (mark_jump_label): Fix thinko in 2001-05-19 change.

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

22 years agoDaily bump.
gccadmin [Wed, 23 May 2001 07:17:19 +0000 (07:17 +0000)]
Daily bump.

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

22 years ago2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 23 May 2001 07:05:14 +0000 (07:05 +0000)]
2001-05-22  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/2841
* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
ld_library_path.
(libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
(libstdc++-v3-finish): Remove.
(libstdc++-v3_exit): Remove.

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

22 years ago * function.c (expand_function_start): Always use a pseudo
rth [Wed, 23 May 2001 07:01:43 +0000 (07:01 +0000)]
    * function.c (expand_function_start): Always use a pseudo
        for the function result value.

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

22 years ago * config/mips/iris6.h (EH_FRAME_SECTION_ASM_OP): Give the
rth [Wed, 23 May 2001 06:54:21 +0000 (06:54 +0000)]
    * config/mips/iris6.h (EH_FRAME_SECTION_ASM_OP): Give the
        section pointer alignment.

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

22 years ago * doc/install.texi (alpha-linux): Require binutils >= 2.10.
rth [Wed, 23 May 2001 06:41:48 +0000 (06:41 +0000)]
    * doc/install.texi (alpha-linux): Require binutils >= 2.10.

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

22 years ago * optimize.c (initialize_inlined_parameters): Don't set
mmitchel [Wed, 23 May 2001 02:14:51 +0000 (02:14 +0000)]
* optimize.c (initialize_inlined_parameters): Don't set
TREE_READONLY for a VAR_DECL taking the place of an inlined
PARM_DECL.

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

22 years ago2001-05-22 Phil Edwards <pme@sources.redhat.com>
pme [Wed, 23 May 2001 02:00:05 +0000 (02:00 +0000)]
2001-05-22  Phil Edwards  <pme@sources.redhat.com>

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

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

22 years ago * unwind-dw2-fde.c (__deregister_frame_info): Stringize use
rth [Wed, 23 May 2001 01:26:01 +0000 (01:26 +0000)]
    * unwind-dw2-fde.c (__deregister_frame_info): Stringize use
        of __USER_LABEL_PREFIX__.

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

22 years ago * unwind-dw2-fde.c (__deregister_frame_info): Stubbify in favour of...
rth [Tue, 22 May 2001 23:01:33 +0000 (23:01 +0000)]
    * 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.

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

22 years ago2001-05-22 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Tue, 22 May 2001 21:43:33 +0000 (21:43 +0000)]
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.

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

22 years ago * config/freebsd.h (FBSD_CPP_PREDEFINES): Use #endif/#if pair
ljrittle [Tue, 22 May 2001 21:33:36 +0000 (21:33 +0000)]
* config/freebsd.h (FBSD_CPP_PREDEFINES): Use #endif/#if pair
instead of #elif (which is OK for this case but not in general).

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

22 years ago2001-05-22 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Tue, 22 May 2001 20:32:16 +0000 (20:32 +0000)]
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.

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

22 years ago2001-05-22 Andrew MacLeod <amacleod@redhat.com>
amacleod [Tue, 22 May 2001 20:04:58 +0000 (20:04 +0000)]
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.

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

22 years ago * class.c, cp-tree.h, rtti.c: Remove com_interface attribute support.
jason [Tue, 22 May 2001 19:42:30 +0000 (19:42 +0000)]
    * 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.

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

22 years ago * config/freebsd.h (LIB_SPEC): Key the exact setting to
ljrittle [Tue, 22 May 2001 19:28:15 +0000 (19:28 +0000)]
* 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.

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

22 years ago * config.gcc (the unlabeled system switch statement): Add
ljrittle [Tue, 22 May 2001 19:23:33 +0000 (19:23 +0000)]
* 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.

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

22 years ago * config/t-freebsd (TARGET_LIBGCC2_CFLAGS): Add -fPIC.
ljrittle [Tue, 22 May 2001 19:10:18 +0000 (19:10 +0000)]
* config/t-freebsd (TARGET_LIBGCC2_CFLAGS): Add -fPIC.
* config/t-freebsd-thread (TARGET_LIBGCC2_CFLAGS): Add
-pthread instead setting macro.

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

22 years ago2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 22 May 2001 18:48:19 +0000 (18:48 +0000)]
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.

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

22 years ago * parse.y: Refer to compound literals as such, not as
jsm28 [Tue, 22 May 2001 17:58:43 +0000 (17:58 +0000)]
* parse.y: Refer to compound literals as such, not as
constructor-expressions.

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

22 years ago * crtstuff.c (__register_frame_info_bases): Declare.
rth [Tue, 22 May 2001 16:57:40 +0000 (16:57 +0000)]
    * 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.

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

22 years ago * rtl.c (read_string): Break out from ...
rth [Tue, 22 May 2001 16:42:41 +0000 (16:42 +0000)]
    * rtl.c (read_string): Break out from ...
        (read_rtx): ... here.

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

22 years ago * doc/install.texi (Specific): Remove a bogus and duplicate part
gerald [Tue, 22 May 2001 14:54:01 +0000 (14:54 +0000)]
* doc/install.texi (Specific): Remove a bogus and duplicate part
copied from the end of the document.

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

22 years agoFix ia64 build problems
bernds [Tue, 22 May 2001 14:16:58 +0000 (14:16 +0000)]
Fix ia64 build problems

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

22 years ago * install.texi: Remove obsolete information on SunOS as well as
gerald [Tue, 22 May 2001 13:14:11 +0000 (13:14 +0000)]
* 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.

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

22 years ago* cppfiles.c (remove_component_p): Don't assume lstat/stat will
aoliva [Tue, 22 May 2001 11:57:21 +0000 (11:57 +0000)]
* cppfiles.c (remove_component_p): Don't assume lstat/stat will
keep errno unchanged on success.

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

22 years ago * libI77/Makefile.in (stamp-h): Create in $(objdir) instead
ljrittle [Tue, 22 May 2001 11:16:51 +0000 (11:16 +0000)]
* libI77/Makefile.in (stamp-h): Create in $(objdir) instead
of $(srcdir).

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