gcc.git
22 years agogcconfig.h: Use LINUX_STACKBOTTOM for SPARC Linux.
Hans Boehm [Wed, 17 Apr 2002 19:54:59 +0000 (19:54 +0000)]
gcconfig.h: Use LINUX_STACKBOTTOM for SPARC Linux.

* include/private/gcconfig.h: Use LINUX_STACKBOTTOM for
SPARC Linux.

From-SVN: r52440

22 years agofilebuf_virtuals.cc: Add _S_pback_size instantiation.
Benjamin Kosnik [Wed, 17 Apr 2002 17:35:00 +0000 (17:35 +0000)]
filebuf_virtuals.cc: Add _S_pback_size instantiation.

2002-04-17  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.

From-SVN: r52436

22 years agoelf.h: Undefine ASM_OUTPUT_CASE_LABEL.
NIIBE Yutaka [Wed, 17 Apr 2002 17:21:49 +0000 (17:21 +0000)]
elf.h: Undefine ASM_OUTPUT_CASE_LABEL.

2002-04-17  NIIBE Yutaka  <gniibe@m17n.org>

* config/sh/elf.h: Undefine ASM_OUTPUT_CASE_LABEL.

From-SVN: r52435

22 years agore PR c++/6316 (trap when compiling file)
Jakub Jelinek [Wed, 17 Apr 2002 17:17:55 +0000 (19:17 +0200)]
re PR c++/6316 (trap when compiling file)

PR c++/6316
* decl2.c (finish_file): Clear DECL_EXTERNAL in a separate loop
before expanding.

* g++.dg/opt/inline1.C: New test.

From-SVN: r52434

22 years agonegzero.java: New.
Mark Wielaard [Wed, 17 Apr 2002 16:39:47 +0000 (16:39 +0000)]
negzero.java: New.

* libjava.lang/negzero.java: New.
* libjava.lang/negzero.out: New.

From-SVN: r52429

22 years agojcf-write.c (generate_bytecode_insns): Only write const_0 if not negative zero.
Mark Wielaard [Wed, 17 Apr 2002 16:36:47 +0000 (16:36 +0000)]
jcf-write.c (generate_bytecode_insns): Only write const_0 if not negative zero.

* jcf-write.c (generate_bytecode_insns): Only write const_0 if not
negative zero.

From-SVN: r52427

22 years agogcc.c (read_specs): Detect and fail if an attempt is made to rename a spec string...
Nick Clifton [Wed, 17 Apr 2002 16:26:28 +0000 (16:26 +0000)]
gcc.c (read_specs): Detect and fail if an attempt is made to rename a spec string to an already...

2002-04-17  Nick Clifton  <nickc@cambridge.redhat.com>

    * gcc.c (read_specs): Detect and fail if an attempt is made to
    rename a spec string to an already existing string.

From-SVN: r52426

22 years agos390.c (legitimize_pic_address): Do not generate illegal address constant without...
Ulrich Weigand [Wed, 17 Apr 2002 16:02:16 +0000 (16:02 +0000)]
s390.c (legitimize_pic_address): Do not generate illegal address constant without CONST.

* config/s390/s390.c (legitimize_pic_address): Do not generate
illegal address constant without CONST.

From-SVN: r52425

22 years agolinux64.h (CC1_SPEC): Error for -m32 and -m64.
Kaveh R. Ghazi [Wed, 17 Apr 2002 14:22:17 +0000 (14:22 +0000)]
linux64.h (CC1_SPEC): Error for -m32 and -m64.

* sparc/linux64.h (CC1_SPEC): Error for -m32 and -m64.
* sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise.

From-SVN: r52421

22 years agore PR rtl-optimization/6305 (c++ gets ICE in reload_cse_simplify_operands)
Ulrich Weigand [Wed, 17 Apr 2002 12:25:31 +0000 (12:25 +0000)]
re PR rtl-optimization/6305 (c++ gets ICE in reload_cse_simplify_operands)

PR optimization/6305
* config/s390/s390.c (s390_expand_plus_operand): Use find_replacement
to make sure previous reloads are taken into account.  Generate
better code if one operand is an in-range immediate constant.

From-SVN: r52417

22 years agoinstall.texi (Building): libgcj requires GNU make.
Andrew Haley [Wed, 17 Apr 2002 09:38:09 +0000 (09:38 +0000)]
install.texi (Building): libgcj requires GNU make.

2002-04-16  Andrew Haley  <aph@cambridge.redhat.com>

* doc/install.texi (Building): libgcj requires GNU make.

From-SVN: r52414

22 years agore PR bootstrap/6315 (sparc64 gcc -mhard-quad-float cannot compile libstdc++-v3)
Jakub Jelinek [Wed, 17 Apr 2002 08:24:03 +0000 (10:24 +0200)]
re PR bootstrap/6315 (sparc64 gcc -mhard-quad-float cannot compile libstdc++-v3)

PR bootstrap/6315
* config/sparc/sparc.md (movtf reg<-reg split): Allow spliting
even if hard quad and register is not floating.
(movtf reg<-mem split): Disallow splitting if hard quad and
register is floating.
(movtf mem<-reg split): Likewise.
* config/sparc/sparc.c (fp_register_operand): New predicate.
* config/sparc/sparc.h (PREDICATE_CODES): Add fp_register_operand.

* gcc.dg/20020416-1.c: New test.

From-SVN: r52412

22 years agore PR java/6294 (private inner interface is flagged illegal)
Bryce McKinlay [Wed, 17 Apr 2002 08:23:00 +0000 (08:23 +0000)]
re PR java/6294 (private inner interface is flagged illegal)

Fix for PR java/6294:
* parse.h (INNER_INTERFACE_MODIFIERS): Allow ACC_PRIVATE for inner
interfaces.

From-SVN: r52411

22 years agoDaily bump.
GCC Administrator [Wed, 17 Apr 2002 07:17:56 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r52409

22 years agoconcept-inst.cc (vector<locale::facet*>): Remove instantiations.
Benjamin Kosnik [Wed, 17 Apr 2002 06:20:20 +0000 (06:20 +0000)]
concept-inst.cc (vector<locale::facet*>): Remove instantiations.

2002-04-16  Benjamin Kosnik  <bkoz@redhat.com>

* src/concept-inst.cc (vector<locale::facet*>): Remove instantiations.
* src/stl-inst.cc (vector::_M_insert_aux): Remove instantiation.
(__malloc_alloc_template): Conditionalize.

* include/bits/istream.tcc: Remove sputbackc calls.

* testsuite/19_diagnostics/stdexceptions.cc: Fix comment.

From-SVN: r52405

22 years agoMakefile.in (PROTO_OBJS): Add cppdefault.o.
Zack Weinberg [Wed, 17 Apr 2002 03:23:45 +0000 (03:23 +0000)]
Makefile.in (PROTO_OBJS): Add cppdefault.o.

2002-04-17  Zack Weinberg  <zack@codesourcery.com>
* Makefile.in (PROTO_OBJS): Add cppdefault.o.
(protoize.o): Take $(PREPROCESSOR_DEFINES) off command line.
(unprotoize.o): Ditto.  Build from protoize.c.  Define
UNPROTOIZE on command line.
* protoize.c: Include cppdefault.h.  Delete include_defaults.
(in_system_include_dir): Use cpp_include_defaults (defined in
cppdefault.o).
* unprotoize.c: Delete file.

Approved by:  rth
              Message-ID: <20020415171022.A20025@redhat.com>

From-SVN: r52404

22 years agoMakefile.in (PROTO_OBJS): Add cppdefault.o.
Zack Weinberg [Wed, 17 Apr 2002 03:15:21 +0000 (03:15 +0000)]
Makefile.in (PROTO_OBJS): Add cppdefault.o.

2002-04-17  Zack Weinberg  <zack@codesourcery.com>
* Makefile.in (PROTO_OBJS): Add cppdefault.o.
(protoize.o): Take $(PREPROCESSOR_DEFINES) off command line.
(unprotoize.o): Ditto.  Build from protoize.c.  Define
UNPROTOIZE on command line.
* protoize.c: Include cppdefault.h.  Delete include_defaults.
(in_system_include_dir): Use cpp_include_defaults (defined in
cppdefault.o).
* unprotoize.c: Delete file.

Approved by:  rth
              Message-ID: <20020415171022.A20025@redhat.com>

From-SVN: r52402

22 years agoaltivec.h (vec_ld): Add array variants.
Aldy Hernandez [Wed, 17 Apr 2002 02:31:30 +0000 (02:31 +0000)]
altivec.h (vec_ld): Add array variants.

2002-04-17  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/altivec.h (vec_ld): Add array variants.
        (vec_lde): Same.
        (vec_ldl): Same.

From-SVN: r52400

22 years agoaltivec.h: Define __ALTIVEC__.
Alan Matsuoka [Wed, 17 Apr 2002 02:03:43 +0000 (02:03 +0000)]
altivec.h: Define __ALTIVEC__.

2002-04-17  Alan Matsuoka  <alanm@redhat.com>
            Aldy Hernandez <aldyh@redhat.com>

        * config/rs6000/altivec.h: Define __ALTIVEC__.
        (bool): New.
        (__pixel): New.
        (pixel): New.
        (vec_cfux): New.
        (vec_vmaddfp): New.
        (vec_vsldoi): New.
        Add parentheses to all macro arguments.

Co-Authored-By: Aldy Hernandez <aldyh@redhat.com>
From-SVN: r52398

22 years agore PR c++/6320 (3.1 regression wrt 3.0: ICE in remove_eh_handler, at except.c:2696)
Richard Henderson [Wed, 17 Apr 2002 01:52:38 +0000 (18:52 -0700)]
re PR c++/6320 (3.1 regression wrt 3.0: ICE in  remove_eh_handler, at except.c:2696)

        PR c++/6320
        * except.c (remove_eh_handler): Insert inner regions at beginning
        of sibling chain.  Refactor expressions.

* g++.dg/eh/dead1.C: New.

From-SVN: r52397

22 years agoc-common.h (STMT_EXPR_NO_SCOPE): New macro.
Mark Mitchell [Wed, 17 Apr 2002 01:47:36 +0000 (01:47 +0000)]
c-common.h (STMT_EXPR_NO_SCOPE): New macro.

* c-common.h (STMT_EXPR_NO_SCOPE): New macro.
* c-common.c (c_expand_expr): Respect STMT_EXPR_NO_SCOPE.
* tree.h (expand_start_stmt_expr): Update prototype.
* stmt.c (expand_start_stmt_expr): Add has_scope parameter.
* tree-inline.c (expand_call_inline): Set STMT_EXPR_NO_SCOPE
on the STMT_EXPR created for the inline function.

* trans.c (tree_transform): Add has_scope argument to
expand_start_stmt_expr.

* com.c (ffecom_expr_power_integer): Add has_scope argument to
call to expand_start_stmt_expr.

* init.c (begin_init_stmts): Remove commented out code.
(finish_init_stmts): Set STMT_EXPR_NO_SCOPE.
* semantics.c (begin_gobal_stmt_expr): Adjust call to
expand_start_stmt_expr.

From-SVN: r52395

22 years agosol2-bi.h (AS_SPARC64_FLAG): New.
Richard Henderson [Wed, 17 Apr 2002 01:37:42 +0000 (18:37 -0700)]
sol2-bi.h (AS_SPARC64_FLAG): New.

        * config/sparc/sol2-bi.h (AS_SPARC64_FLAG): New.
        * config/sparc/sol2-gas-bi.h: New file.
        * config.gcc (sparc*-solaris): Add it as needed.
        * configure.in (AS_SPARC64_FLAG): Remove check.
        * config.in, configure: Regenerate.

From-SVN: r52393

22 years ago* config/sparc/sol2-bi.h (CC1_SPEC): Error for -m32 and -m64.
Richard Henderson [Wed, 17 Apr 2002 01:34:22 +0000 (18:34 -0700)]
* config/sparc/sol2-bi.h (CC1_SPEC): Error for -m32 and -m64.

From-SVN: r52391

22 years agomips.c (override_options): Don't override N32 for a 64-bit ISA.
Richard Henderson [Wed, 17 Apr 2002 00:43:04 +0000 (17:43 -0700)]
mips.c (override_options): Don't override N32 for a 64-bit ISA.

        * config/mips/mips.c (override_options): Don't override N32 for
        a 64-bit ISA.

From-SVN: r52389

22 years agomips.md (can_delay): Split out of existing define_delays.
Richard Henderson [Wed, 17 Apr 2002 00:34:44 +0000 (17:34 -0700)]
mips.md (can_delay): Split out of existing define_delays.

        * config/mips/mips.md (can_delay): Split out of existing define_delays.
        (HILO_delay): Set can_delay false.

From-SVN: r52387

22 years agoRemove, again.
Richard Henderson [Wed, 17 Apr 2002 00:32:33 +0000 (17:32 -0700)]
Remove, again.

From-SVN: r52386

22 years ago* gcc_update: Remove libchill.
Richard Henderson [Wed, 17 Apr 2002 00:30:17 +0000 (17:30 -0700)]
* gcc_update: Remove libchill.

From-SVN: r52385

22 years agoxregex2.h (__restrict_arr): Define to __restrict on GCC 3.1 and later.
David S. Miller [Wed, 17 Apr 2002 00:12:54 +0000 (17:12 -0700)]
xregex2.h (__restrict_arr): Define to __restrict on GCC 3.1 and later.

2002-04-16  David S. Miller  <davem@redhat.com>

* xregex2.h (__restrict_arr): Define to __restrict on GCC
3.1 and later.  Do not redefine.

From-SVN: r52383

22 years agoRemove libchill
Mark Mitchell [Tue, 16 Apr 2002 22:01:55 +0000 (22:01 +0000)]
Remove libchill

From-SVN: r52379

22 years agors6000.c (rs6000_output_function_prologue): Compute instruction addresses.
Dale Johannesen [Tue, 16 Apr 2002 21:56:09 +0000 (21:56 +0000)]
rs6000.c (rs6000_output_function_prologue): Compute instruction addresses.

2002-04-16  Dale Johannesen <dalej@apple.com>

        * config/rs6000/rs6000.c (rs6000_output_function_prologue): Compute
        instruction addresses.
        (rs6000_output_function_epilogue): Likewise.

From-SVN: r52378

22 years agoc-parse.in (poplevel, [...]): Add ending ';', in accordance with POSIX.
Paolo Carlini [Tue, 16 Apr 2002 18:35:13 +0000 (20:35 +0200)]
c-parse.in (poplevel, [...]): Add ending ';', in accordance with POSIX.

2002-04-16  Paolo Carlini  <pcarlini@unitus.it>

* c-parse.in (poplevel, compstmt_start,
compstmt_primary_start): Add ending ';', in accordance
with POSIX.

From-SVN: r52376

22 years agoconfig.gcc (sparcv9-solaris): Configure for 64-bit default.
Richard Henderson [Tue, 16 Apr 2002 18:05:20 +0000 (11:05 -0700)]
config.gcc (sparcv9-solaris): Configure for 64-bit default.

        * config.gcc (sparcv9-solaris): Configure for 64-bit default.
        Adjust tm_file order to get TARGET_DEFAULT set properly.
        (sparc-solaris): Configure 2.[78] for 64-bit multilibs.
        * doc/install.texi (sparc-solaris): Update.

From-SVN: r52373

22 years agore PR libgcj/6081 (libjava make install fails: Arg list too long)
Tom Tromey [Tue, 16 Apr 2002 15:52:26 +0000 (15:52 +0000)]
re PR libgcj/6081 (libjava make install fails: Arg list too long)

Fix for PR libgcj/6081:
* Makefile.in: Rebuilt.
* Makefile.am (install-data-local): Use GNU make trick to avoid
shell limit.

From-SVN: r52370

22 years agonatFileWin32.cc (performList): Return the correct array type.
Adam King [Tue, 16 Apr 2002 15:37:39 +0000 (15:37 +0000)]
natFileWin32.cc (performList): Return the correct array type.

2002-04-16  Adam King <aking@dreammechanics.com>
    Tom Tromey  <tromey@redhat.com>

* java/io/natFileWin32.cc (performList): Return the correct array
type.  Don't duplicate the creation of a File since it's already
done earlier in the method and the existing code would cause a
ArrayStoreException.  Don't use fixed-size array.
(_access, _stat, attr, getCanonicalPath, performMkdir,
performRenameTo): Don't use fixed-size array.
(getCanonicalPath): Use throw, not _Jv_Throw.

Co-Authored-By: Tom Tromey <tromey@redhat.com>
From-SVN: r52369

22 years agors6000.c (rs6000_emit_cmove): Fail if modes of comparison operands do not match each...
Dale Johannesen [Tue, 16 Apr 2002 15:25:30 +0000 (15:25 +0000)]
rs6000.c (rs6000_emit_cmove): Fail if modes of comparison operands do not match each other or if...

2002-04-16  Dale Johannesen <dalej@apple.com>

        * config/rs6000/rs6000.c (rs6000_emit_cmove): Fail if modes of
        comparison operands do not match each other or if modes of
        conditions do not match result.

From-SVN: r52367

22 years agos390.md (mulsidi3): Set both subregs of the multiword register.
Hartmut Penner [Tue, 16 Apr 2002 12:43:26 +0000 (12:43 +0000)]
s390.md (mulsidi3): Set both subregs of the multiword register.

 target/6305
        * config/s390/s390.md (mulsidi3): Set both subregs of the
        multiword register.

From-SVN: r52366

22 years agoDaily bump.
GCC Administrator [Tue, 16 Apr 2002 07:18:05 +0000 (07:18 +0000)]
Daily bump.

From-SVN: r52364

22 years agoaltivec.h (vec_addc): Type check.
Aldy Hernandez [Tue, 16 Apr 2002 06:40:40 +0000 (06:40 +0000)]
altivec.h (vec_addc): Type check.

2002-04-16  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/altivec.h (vec_addc): Type check.

From-SVN: r52360

22 years agore PR target/6303 (output_operand: invalid expression as operand)
Jakub Jelinek [Tue, 16 Apr 2002 06:18:47 +0000 (08:18 +0200)]
re PR target/6303 (output_operand: invalid expression as operand)

PR target/6303
* dwarf2out.c (rtl_for_decl_location): Call ASM_SIMPLIFY_DWARF_ADDR
before returning.
* config/i386/i386.c (i386_simplify_dwarf_addr): Simplify @GOT only
when inside of MEM by eliminating the indirection too.
* config/s390/s390.h (ASM_SIMPLIFY_DWARF_ADDR): Define.
* config/s390/s390.c (s390_simplify_dwarf_addr): New.
* config/s390/s390-protos.h (s390_simplify_dwarf_addr): Add
prototype.

* gcc.dg/20020415-1.c: New test.

From-SVN: r52358

22 years agore PR middle-end/6279 (gcc-3.1 miscompiles qmake on IA-64)
Jakub Jelinek [Tue, 16 Apr 2002 06:09:39 +0000 (08:09 +0200)]
re PR middle-end/6279 (gcc-3.1 miscompiles qmake on IA-64)

PR middle-end/6279
* expr.c (store_expr): Don't copy if DECL_RTL (exp) == target.

* expr.c (safe_from_p): Cleanup: use DECL_RTL_IF_SET.

From-SVN: r52356

22 years agodecl.c (register_dtor_fn): Pass the address of dso_handle, not dso_handle itself...
Mark Mitchell [Tue, 16 Apr 2002 03:17:57 +0000 (03:17 +0000)]
decl.c (register_dtor_fn): Pass the address of dso_handle, not dso_handle itself, to __cxa_atexit.

* decl.c (register_dtor_fn): Pass the address of dso_handle, not
dso_handle itself, to __cxa_atexit.

From-SVN: r52354

22 years agoabi64.h (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Set call_really_used_regs too.
Richard Henderson [Tue, 16 Apr 2002 03:01:17 +0000 (20:01 -0700)]
abi64.h (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Set call_really_used_regs too.

        * config/mips/abi64.h (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Set
        call_really_used_regs too.

From-SVN: r52352

22 years ago[multiple changes]
Gabriel Dos Reis [Tue, 16 Apr 2002 02:29:22 +0000 (02:29 +0000)]
[multiple changes]

2002-04-16  Paolo Carlini <pcarlini@unitus.it>
        * testsuite/24_iterators/rel_ops.cc: New test.

2002-04-16  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>

        * include/bits/type_traits.h (__normal_iterator): Declare in
        __gnu_cxx.  Adjust use at global namespace.
        * include/bits/stl_iterator.h (__normal_iterator): Move
        definition
        into __gnu_cxx::. Add more operator overloads.  Tidy existing
        ones.
        * include/bits/basic_string.h (basic_string): Adjust use of
        __normal_iterator.
        * include/bits/stl_vector.h (_Alloc>): Likewise.
        * src/concept-inst.cc (__gnu_cxx): __normal_iterator<> is now
        here.
        * src/string-inst.cc (operator==): Instantiate in __gnu_cxx.

From-SVN: r52348

22 years agoconfigure.in: Allow building in $srcdir.
DJ Delorie [Tue, 16 Apr 2002 02:03:03 +0000 (22:03 -0400)]
configure.in: Allow building in $srcdir.

* configure.in: Allow building in $srcdir.
* configure: Regenerated.

From-SVN: r52347

22 years ago* config/alpha/gnu.h (CPP_PREDEFINES): Underscores for gnu_hurd.
Richard Henderson [Tue, 16 Apr 2002 01:16:35 +0000 (18:16 -0700)]
* config/alpha/gnu.h (CPP_PREDEFINES): Underscores for gnu_hurd.

From-SVN: r52346

22 years agore PR libstdc++/4164 (33 Memory Leak when using iostream)
Benjamin Kosnik [Tue, 16 Apr 2002 00:45:36 +0000 (00:45 +0000)]
re PR libstdc++/4164 (33 Memory Leak when using iostream)

2002-04-15  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/4164
Valgrind fixes.
* config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
Call close.
(__basic_file::close): Call fflush. Correct return if fclose ok.
(__basic_file::is_open): Make const.
Change __c_file_type to __c_file.
* config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
(__basic_file::is_open): Make const.
* config/io/c_io_stdio.h: Change __c_file_type to __c_file.
* include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
(filebuf::_M_unbuf): Add.
(filebuf::_M_file): Change to non-pointer.
(filebuf::_M_allocate_pback_buffer): Remove.
* include/bits/fstream.tcc (filebuf::_M_allocate_file): Remove.
(filebuf::_M_allocate_internal_buffer): Use _M_unbuf.
Change initialization list for _M_file change.
(filebuf::_M_allocate_pback_buffer): Remove.
Change _M_file usage to reflect non-pointer data member.

* config/locale/generic/c_locale.cc
(locale::facet::_S_create_c_locale): Add parameter.
* config/locale/generic/collate_members.cc: Change
_M_compare_helper to _M_compare.
Change _M_transform_helper to _M_transform.
* config/locale/generic/monetary_members.cc: Changeup data types.
Add dtors.
* config/locale/generic/numeric_members.cc: Add dtors.
* config/locale/generic/time_members.cc: Add dtors.
* config/locale/gnu/c_locale.cc: Add parameter.
* config/locale/gnu/collate_members.cc:Change
_M_compare_helper to _M_compare.
Change _M_transform_helper to _M_transform.
* config/locale/gnu/ctype_members.cc: Better error checking.
* config/os/gnu-linux/bits/ctype_noninline.h: Better error checking.
* config/locale/gnu/messages_members.cc: Tweak comment.
* config/locale/gnu/monetary_members.cc: Change data types.
Add dtors.
* config/locale/gnu/numeric_members.cc: Add dtors, better error
checking.
* config/locale/gnu/time_members.cc: Same.
* config/locale/ieee_1003.1-2001/c_locale.cc
(locale::facet::_S_create_c_locale): Add parameter.
* config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
* config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
bogus ctor.

* include/bits/locale_facets.h (moneypunct): Use string literals.
Don't define dtor.
(numpunct): Same.
(__timepunct): Same.
(locale::_Impl::_M_facets): Change from vector to array.
(locale::_Impl::_M_names): Change from array of strings to array
of string literals.
(locale::facet::_S_create_c_locale): Add parameter.
(locale::locale::_S_num_facets): Move to...
(locale::_Impl::_M_facets_size): Here.
* include/bits/locale_facets.tcc: Fixups for _M_facets, _M_name
changes.
* include/bits/localefwd.h: (locale::id::_M_id): Add member function.
(locale::_Impl::_Impl(facet**, size_t, bool)): Add.
(locale::_Impl::_Impl(string, size_t)): Change to
(locale::_Impl::_Impl(const char*, size_t)): This.

* include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
* include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
(streambuf::_S_pback_size): This.

* src/globals.cc: Add pre-allocations for "C" facets.
* src/locale-inst.cc: Remove vector instantiations.
* src/locale.cc: Remove vector include. Fixups for _M_names,
_M_facets changes.
* src/localename.cc: Same.

* include/bits/stl_vector.h: Fix odd formatting.

* include/bits/basic_string.tcc: Tweak comment.

* libsupc++/new: Make sure parameters are uglified.
* libsupc++/typeinfo: Same.

* testsuite/22_locale/num_get_members_char.cc: Fixup.
* testsuite/22_locale/num_get_members_wchar_t.cc: Same.
* testsuite/27_io/filebuf_members.cc: Same.

From-SVN: r52345

22 years agortlanal.c (note_stores): Don't present PARALLEL SET_DESTs as being CLOBBERed.
David S. Miller [Mon, 15 Apr 2002 23:12:58 +0000 (16:12 -0700)]
rtlanal.c (note_stores): Don't present PARALLEL SET_DESTs as being CLOBBERed.

2002-04-15  David S. Miller  <davem@redhat.com>

* rtlanal.c (note_stores): Don't present PARALLEL SET_DESTs
as being CLOBBERed.

From-SVN: r52343

22 years agore PR c/6290 (ICE compiling altivec code with 3.1)
Jakub Jelinek [Mon, 15 Apr 2002 22:39:10 +0000 (00:39 +0200)]
re PR c/6290 (ICE compiling altivec code with 3.1)

PR c/6290
* config/rs6000/rs6000.c (easy_vector_constant): Return 1 if the
CONST_VECTOR is { 0, ... 0 }.

* gcc.dg/altivec-5.c: New test.

From-SVN: r52340

22 years agoacinclude.m4 (CYG_AC_PATH_TCLCONFIG): Search the win/ directory, too.
Keith Seitz [Mon, 15 Apr 2002 21:59:09 +0000 (21:59 +0000)]
acinclude.m4 (CYG_AC_PATH_TCLCONFIG): Search the win/ directory, too.

* acinclude.m4 (CYG_AC_PATH_TCLCONFIG): Search the win/ directory,
too.
(CYG_AC_PATH_TKCONFIG): Likewise.

From-SVN: r52338

22 years agoinstall.texi (Installing GCC: Configuration): Clarify the only supported ways to...
Loren J. Rittle [Mon, 15 Apr 2002 21:28:46 +0000 (21:28 +0000)]
install.texi (Installing GCC: Configuration): Clarify the only supported ways to configure gcc.

        * doc/install.texi (Installing GCC: Configuration): Clarify
        the only supported ways to configure gcc.

From-SVN: r52335

22 years agoconfig.gcc (alpha*-*-gnu*): New target configuration.
Roland McGrath [Mon, 15 Apr 2002 20:44:35 +0000 (20:44 +0000)]
config.gcc (alpha*-*-gnu*): New target configuration.

        * config.gcc (alpha*-*-gnu*): New target configuration.
        * config/alpha/gnu.h: New file for it.
        * config/gnu.h (TARGET_MEM_FUNCTIONS): #undef before #define.

From-SVN: r52332

22 years agoaclocal.m4 (gcc_version_trigger): Use robust path construction.
Loren J. Rittle [Mon, 15 Apr 2002 20:42:28 +0000 (20:42 +0000)]
aclocal.m4 (gcc_version_trigger): Use robust path construction.

* aclocal.m4 (gcc_version_trigger): Use robust path construction.
* configure: Rebuilt.

From-SVN: r52331

22 years agolinux.h, [...] (CPP_PREDEFINES): Define __gnu_linux__, not gnu_linux.
Richard Henderson [Mon, 15 Apr 2002 20:35:31 +0000 (13:35 -0700)]
linux.h, [...] (CPP_PREDEFINES): Define __gnu_linux__, not gnu_linux.

        * config/alpha/linux.h, config/arm/linux-elf.h, config/i370/linux.h,
        config/i386/linux-aout.h, config/i386/linux-oldld.h,
        config/i386/linux.h, config/i386/linux64.h, config/ia64/linux.h,
        config/m68k/linux-aout.h, config/m68k/linux.h, config/mips/linux.h,
        config/pa/pa-linux.h, config/pj/linux.h, config/s390/linux.h,
        config/sh/linux.h, config/sparc/linux-aout.h, config/sparc/linux.h,
        config/sparc/linux64.h, config/xtensa/linux.h (CPP_PREDEFINES):
        Define __gnu_linux__, not gnu_linux.
        * config/rs6000/sysv4.h (CPP_OS_GNU_SPEC): Likewise for gnu_hurd.

From-SVN: r52329

22 years agoMAINTAINERS: Remove chill maintainers.
Mark Mitchell [Mon, 15 Apr 2002 20:19:23 +0000 (20:19 +0000)]
MAINTAINERS: Remove chill maintainers.

* MAINTAINERS: Remove chill maintainers.
* Makefile.in (CHILLFLAGS): Remove.
(CHILL_LIB): Remove.
(TARGET_CONFIGDIRS): Remove libchill.
(CHILL_FOR_TARGET): Remove.
(BASE_FLAGS_TO_PASS): Don't pass CHILLFLAGS, CHILL_FOR_TARGET, or
CHILL_LIB.
(CONFIGURE_TARGET_MODULES): Remove configure-target-libchill.
(CHECK_TARGET_MODULES): Likewise.
(INSTALL_TARGET_MODULES): Likewise.
(CLEAN_TARGET_MODULES): Likewise.
(configure-target-libchill): Remove.
(all-target-libchill): Remove.
* configure.in (target_libs): Remove target-libchill.
Do not compute CHILL_FOR_TARGET.
* libchill: Remove directory.

Remove Chill front end.
* gcc.c (default_compilers): Remove Chill entries.
* ch: Remove directory.
* doc/frontends.texi: Remove information about Chill.
* doc/sourcebuild.texi: Likewise.
* doc/standards.texi: Likewise.

* testsuite/lib/chill.exp: Remove.

* g77.texi: Remove Chill reference.

* gcc_release (build_tarfiles): Do not build Chill tarfiles.
(CHILL_DIRS): Remove.

From-SVN: r52327

22 years agovms.h (INCLUDE_DEFAULTS): Add /gnu/lib/gcc-lib/include.
Douglas B Rupp [Mon, 15 Apr 2002 10:53:36 +0000 (06:53 -0400)]
vms.h (INCLUDE_DEFAULTS): Add /gnu/lib/gcc-lib/include.

* config/alpha/vms.h (INCLUDE_DEFAULTS): Add /gnu/lib/gcc-lib/include.
(LONGLONG_STANDALONE): Define.

From-SVN: r52323

22 years agosparc.c (sparc_emit_float_lib_cmp): Call emit_library_call with LCT_NORMAL.
David S. Miller [Mon, 15 Apr 2002 10:11:16 +0000 (03:11 -0700)]
sparc.c (sparc_emit_float_lib_cmp): Call emit_library_call with LCT_NORMAL.

2002-04-15  David S. Miller  <davem@redhat.com>

* config/sparc/sparc.c (sparc_emit_float_lib_cmp):
Call emit_library_call with LCT_NORMAL.
(sparc_initialize_trampoline): Use LCT_foo instead of
magic constant in emit_library_call invocations.
(sparc64_initialize_trampoline): Likewise.
(sparc_profile_hook): Likewise.
* config/sparc/sparc.md: Likewise.

* config/sparc/sparc.c (sparc_extra_constraint_check):
Fix type of argument 'c'.
* config/sparc/sparc-protos.h (sparc_extra_constraint_check):
Likewise.

From-SVN: r52321

22 years agore PR java/6085 (gcj SEGVs on complicated inner class structures)
Bryce McKinlay [Mon, 15 Apr 2002 09:25:29 +0000 (10:25 +0100)]
re PR java/6085 (gcj SEGVs on complicated inner class structures)

        Fix for PR java/6085:
        * parse.y (patch_method_invocation): Always use build_access_to_thisn
        to get enclosing "this" argument for inner-class constructor
        invocation. Pass correct arguments to build_access_to_thisn.

From-SVN: r52318

22 years agoDaily bump.
GCC Administrator [Mon, 15 Apr 2002 07:16:53 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r52317

22 years agonatPlainDatagramSocketImpl.cc (close): Set timeout to 0.
Mark Wielaard [Mon, 15 Apr 2002 03:21:00 +0000 (03:21 +0000)]
natPlainDatagramSocketImpl.cc (close): Set timeout to 0.

        * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
        * java/net/natSocketImpl.cc (close): Likewise.

From-SVN: r52312

22 years agoConnection.java (usingProxy): return false.
Mark Wielaard [Mon, 15 Apr 2002 03:15:23 +0000 (03:15 +0000)]
Connection.java (usingProxy): return false.

2002-04-14  Mark Wielaard <mark@klomp.org>

        * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.

From-SVN: r52310

22 years agonatDouble.cc (parseDouble): Allow a number to end with the f/F/d/D modifiers.
Adam King [Mon, 15 Apr 2002 03:11:12 +0000 (03:11 +0000)]
natDouble.cc (parseDouble): Allow a number to end with the f/F/d/D modifiers.

2002-04-13  Adam King <aking@dreammechanics.com>

        * java/lang/natDouble.cc (parseDouble): Allow a number to end with
        the f/F/d/D modifiers.

From-SVN: r52308

22 years agodiagnostic.h (output_buffer_state): Redefine.
Gabriel Dos Reis [Sun, 14 Apr 2002 23:35:36 +0000 (23:35 +0000)]
diagnostic.h (output_buffer_state): Redefine.

* diagnostic.h (output_buffer_state): Redefine.
(output_format_decoder): New macro.
(output_prefixing_rule): Likewise.
(output_line_cutoff): Likewise.
(diagnostic_format_decoder): Adjust.
(diagnostic_prefixing_rule): Likewise.
(diagnostic_line_cutoff): Likewise.
(diagnostic_state): Likewise.
(diagnostic_kind_count): Likewise.
(diagnostic_buffer): Now a macro.

* diagnostic.c (diagnostic_buffer): Remove definition.
(output_is_line_wrapping): Adjust.
(set_real_maximum_length): Likewise.
(output_set_maximum_length): Likewise.
(init_output_buffer): Likewise.
(lhd_print_error_function): Likewise.
(output_do_verbatim): Likewise.

cp/
* error.c (cxx_print_error_function): Adjust call to macros.

From-SVN: r52307

22 years agore PR libgcj/6302 (http URLConnection does not support HTTP/1.1 (and chunked transfer...
Mark Wielaard [Sun, 14 Apr 2002 22:37:56 +0000 (22:37 +0000)]
re PR libgcj/6302 (http URLConnection does not support HTTP/1.1 (and chunked transfer encoding))

        * libjava.mauve/xfails: Expect failures for PR libgcj/6302 and
        libgcj/6298.

From-SVN: r52305

22 years agoclass.c (layout_virtual_bases): Do all dsize computation on trees.
Jakub Jelinek [Sun, 14 Apr 2002 20:55:48 +0000 (22:55 +0200)]
class.c (layout_virtual_bases): Do all dsize computation on trees.

* class.c (layout_virtual_bases): Do all dsize computation on trees.

* g++.dg/other/big-struct.C: New test.

From-SVN: r52304

22 years agocpperror.c (print_location): Don't print include chain if line == 0.
Neil Booth [Sun, 14 Apr 2002 18:42:47 +0000 (18:42 +0000)]
cpperror.c (print_location): Don't print include chain if line == 0.

* cpperror.c (print_location): Don't print include chain
if line == 0.
(cpp_begin_message): Update to use DL_ macros.
(cpp_ice, cpp_fatal, cpp_error_from_errno, cpp_warning,
cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line,
cpp_notice, cpp_notice_from_errno): Remove.
(cpp_error, cpp_error_with_line): Update to take a diagnostic
level.
(cpp_errno): New.
* cppexp.c (CPP_ICE): Remove.
(SYNTAX_ERROR, SYNTAX_ERROR2, parse_number, parse_defined,
lex, integer_overflow, _cpp_parse_expr): Update.
* cppfiles.c (read_include_file, find_include_file,
handle_missing_header, _cpp_read_file, remap_filename): Update.
* cpphash.h (enum error_type): Remove.
(_cpp_begin_message): Update.
* cppinit.c (append_include_chain, remove_dup_dirs, output_deps,
cpp_handle_option, cpp_post_options): Update.
* cpplex.c (trigraph_p, skip_escaped_newlines, skip_block_comment,
skip_whitespace, parse_identifier, parse_slow, parse_string,
_cpp_lex_direct, cpp_spell_token, maybe_read_ucs, cpp_parse_escape,
cpp_interpret_charconst): Update.
* cpplib.c (check_eol, directive_diagnostics, _cpp_handle_directive,
lex_macro_node, do_undef, glue_header_name, parse_include,
do_include_common, read_flag, do_line, do_linemarker, do_ident,
cpp_register_pragma, do_pragma_once, do_pragma_system_header,
do_pragma_poison, do_pragma_dependency, _cpp_do__Pragma, do_else,
do_elif, do_endif, parse_answer, parse_assertion, do_assert,
_cpp_pop_buffer, do_diagnostic): Update.
* cpplib.h (DL_WARNING, DL_WARNING_SYSHDR, DL_PEDWARN, DL_ERROR,
DL_FATAL, DL_ICE, DL_EXTRACT, DL_WARNING_P): New.
(cpp_ice, cpp_fatal, cpp_error_from_errno, cpp_warning,
cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line,
cpp_notice, cpp_notice_from_errno): Remove.
(cpp_error, cpp_error_with_line): Update to take a diagnostic
level.
(cpp_errno): New.
* cppmacro.c (builtin_macro, stringify_arg, paste_all_tokens,
collect_args, enter_macro_context, save_parameter, parse_params,
_cpp_create_definition, check_trad_stringification,
cpp_macro_definition): Update.
* cppmain.c (cpp_preprocess_file): Update.
* fix-header.c (read_scan_file): Update.

From-SVN: r52302

22 years ago* config/ia64/linux.h (CPP_PREDEFINES): Fix missing backslash.
Andreas Schwab [Sun, 14 Apr 2002 16:00:18 +0000 (16:00 +0000)]
* config/ia64/linux.h (CPP_PREDEFINES): Fix missing backslash.

From-SVN: r52299

22 years agore PR libgcj/6293 (PipedInputStream.close() does not notify writer (Mauve test))
Mark Wielaard [Sun, 14 Apr 2002 15:03:31 +0000 (15:03 +0000)]
re PR libgcj/6293 (PipedInputStream.close() does not notify writer (Mauve test))

* libjava.mauve/xfails: Expect failures for PR libgcj/6293,
libgcj/6295, libgcj/6296 and libgcj/6297.

From-SVN: r52297

22 years ago* config/arm/linux-elf.h (CPLUSPLUS_CPP_SPEC): Define.
Jeroen Dobbelaere [Sun, 14 Apr 2002 14:27:33 +0000 (14:27 +0000)]
* config/arm/linux-elf.h (CPLUSPLUS_CPP_SPEC): Define.

From-SVN: r52296

22 years agof77-edit-i-in.f: Use internal buffer in place of scratch file.
David Billinghurst [Sun, 14 Apr 2002 13:46:24 +0000 (13:46 +0000)]
f77-edit-i-in.f: Use internal buffer in place of scratch file.

2002-04-12  David Billinghurst <David.Billinghurst@riotinto.com>

* g77.dg/f77-edit-i-in.f: Use internal buffer in place
of scratch file.

From-SVN: r52294

22 years agotypeck.c (get_member_function_from_ptrfunc): Don't do gratuitious division and multip...
Jason Merrill [Sun, 14 Apr 2002 13:14:52 +0000 (09:14 -0400)]
typeck.c (get_member_function_from_ptrfunc): Don't do gratuitious division and multiplication on ptrmemfunc_vbit_in_delta...

        * typeck.c (get_member_function_from_ptrfunc): Don't do
        gratuitious division and multiplication on
        ptrmemfunc_vbit_in_delta targets.

From-SVN: r52293

22 years agore PR c/6277 (Failure of test gcc.dg/i386-387-1.c on cygwin)
David Billinghurst [Sun, 14 Apr 2002 11:52:25 +0000 (11:52 +0000)]
re PR c/6277 (Failure of test gcc.dg/i386-387-1.c on cygwin)

2002-04-14  David Billinghurst <David.Billinghurst@riotinto.com>

PR c/6277
* gcc.dg/i386-387-1.c:  Allow optional leading underscore
in scan-assembler function name

From-SVN: r52292

22 years agoDaily bump.
GCC Administrator [Sun, 14 Apr 2002 07:17:01 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r52290

22 years agognu.h (CPP_PREDEFINES): Define __gnu_hurd__, not gnu_hurd.
Mark Mitchell [Sat, 13 Apr 2002 22:10:56 +0000 (22:10 +0000)]
gnu.h (CPP_PREDEFINES): Define __gnu_hurd__, not gnu_hurd.

* config/i386/gnu.h (CPP_PREDEFINES): Define __gnu_hurd__,
not gnu_hurd.

From-SVN: r52286

22 years ago* config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC): Fix typo.
Hans-Peter Nilsson [Sat, 13 Apr 2002 20:16:13 +0000 (20:16 +0000)]
* config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC): Fix typo.

From-SVN: r52283

22 years agot-elf: Enable v8 multilibs.
Joel Sherrill [Sat, 13 Apr 2002 19:47:57 +0000 (19:47 +0000)]
t-elf: Enable v8 multilibs.

2002-04-13 Joel Sherrill <joel@OARcorp.com>

* config/sparc/t-elf: Enable v8 multilibs.  Impacts
sparc-elf and sparc-rtems targets.

From-SVN: r52281

22 years agonews.texi: Deprecate frontend version number; update list of fixed bugs.
Toon Moene [Sat, 13 Apr 2002 19:41:29 +0000 (21:41 +0200)]
news.texi: Deprecate frontend version number; update list of fixed bugs.

2002-04-13  Toon Moene  <toon@moene.indiv.nluug.nl>

* news.texi: Deprecate frontend version number;
update list of fixed bugs.

From-SVN: r52280

22 years agolinux.h: Define __gnu_linux__ wherever __linux__ is defined...
Mark Mitchell [Sat, 13 Apr 2002 19:21:08 +0000 (19:21 +0000)]
linux.h: Define __gnu_linux__ wherever __linux__ is defined...

* alpha/linux.h: Define __gnu_linux__ wherever __linux__ is
defined, and __gnu_hurd__ wherever __GNU__ is defined.
* arm/linux-elf.h: Likewise.
* cris/aout.h: Likewise.
* cris/linux.h: Likewise.
* i370/linux.h: Likewise.
* i386/gnu.h: Likewise.
* i386/linux-aout.h: Likewise.
* i386/linux-oldld.h: Likewise.
* i386/linux.h: Likewise.
* i386/linux64.h: Likewise.
* ia64/linux.h: Likewise.
* m68k/linux-aout.h: Likewise.
* m68k/linux.h: Likewise.
* mips/linux.h: Likewise.
* pa/pa-linux.h: Likewise.
* pj/linux.h: Likewise.
* rs6000/sysv4.h: Likewise.
* s390/linux.h: Likewise.
* sh/linux.h: Likewise.
* sparc/linux-aout.h: Likewise.
* sparc/linux.h: Likewise.
* sparc/linux64.h: Likewise.
* xtensa/linux.h: Likewise.

From-SVN: r52279

22 years ago980628-4.x, [...]: xfail powerpc-*-* hosted on i[34567]86-*-*.
Hans-Peter Nilsson [Sat, 13 Apr 2002 12:05:53 +0000 (12:05 +0000)]
980628-4.x, [...]: xfail powerpc-*-* hosted on i[34567]86-*-*.

* g77.f-torture/execute/980628-4.x,
g77.f-torture/execute/980628-5.x,
g77.f-torture/execute/980628-6.x, g77.f-torture/execute/alpha2.x,
g77.f-torture/execute/auto0.x, g77.f-torture/execute/auto1.x,
g77.f-torture/compile/alpha1.x: xfail powerpc-*-* hosted on
i[34567]86-*-*.

From-SVN: r52273

22 years ago20020413-1.c: New test.
David S. Miller [Sat, 13 Apr 2002 10:32:46 +0000 (03:32 -0700)]
20020413-1.c: New test.

2002-04-13  David S. Miller  <davem@redhat.com>

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

From-SVN: r52272

22 years ago* gcc.dg/asm-6.c,
Richard Sandiford [Sat, 13 Apr 2002 09:33:01 +0000 (09:33 +0000)]
* gcc.dg/asm-6.c,

* g++.dg/ext/asm1.C: New tests.

From-SVN: r52270

22 years agostmt.c (check_unique_operand_names): Expect operand names to be strings rather than...
Richard Sandiford [Sat, 13 Apr 2002 09:29:03 +0000 (09:29 +0000)]
stmt.c (check_unique_operand_names): Expect operand names to be strings rather than identifiers.

* stmt.c (check_unique_operand_names): Expect operand names to
be strings rather than identifiers.  Use simple_cst_equal to
compare them.
(resolve_operand_name_1): Make same identifier to string change here.
* c-parse.in (asm_operand): Convert a named operand into a string.
* cp/parse.y (asm_operand): Likewise.

From-SVN: r52269

22 years agoDaily bump.
GCC Administrator [Sat, 13 Apr 2002 07:16:56 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r52268

22 years agore PR c++/5373 (Statement expressions broken in C++)
Mark Mitchell [Sat, 13 Apr 2002 07:10:12 +0000 (07:10 +0000)]
re PR c++/5373 (Statement expressions broken in C++)

PR c++ 5373.
* g++.dg/parse/stmtexpr1.C: New test.

PR c++/5373.
* semantics.c (finish_expr_stmt): Remember the type of the
expression before any conversions are performed.

From-SVN: r52264

22 years ago* config/ia64/ia64.h (CPP_SPEC): Include %(cpp_cpu).
Andreas Schwab [Sat, 13 Apr 2002 01:59:10 +0000 (01:59 +0000)]
* config/ia64/ia64.h (CPP_SPEC): Include %(cpp_cpu).

From-SVN: r52262

22 years agore PR c++/5189 (g++ -c bug.cpp crashed on simple stupid file)
Mark Mitchell [Sat, 13 Apr 2002 01:33:23 +0000 (01:33 +0000)]
re PR c++/5189 (g++ -c bug.cpp crashed on simple stupid file)

PR c++/5189.
* call.c (add_template_candidate_real): Do not treat member
templates as copy constructors.

PR c++/5189.
* g++.dg/template/copy1.C: New test.

From-SVN: r52260

22 years agoRevert these changes:
Mark Mitchell [Sat, 13 Apr 2002 01:25:27 +0000 (01:25 +0000)]
Revert these changes:

2002-04-06  Mark Mitchell  <mark@codesourcery.com>

PR c++/5571
* stor-layout.c (layout_decl): Reset the RTL for the decl.

* decl.c (duplicate_decls): Do not copy the RTL for a variable
declaration if the old variable had an incomplete type and the new
variable does not.
(complete_vars): Do not call layout_decl for completed variables.

From-SVN: r52258

22 years ago* gcc.c-torture/execute/20020406-1.c (DUPFFnew): Use calloc.
Richard Henderson [Fri, 12 Apr 2002 23:55:05 +0000 (16:55 -0700)]
* gcc.c-torture/execute/20020406-1.c (DUPFFnew): Use calloc.

From-SVN: r52255

22 years agoMissed this entry in last commit
DJ Delorie [Fri, 12 Apr 2002 23:17:54 +0000 (19:17 -0400)]
Missed this entry in last commit

From-SVN: r52253

22 years agoconfig.gcc (sparcv9-*-solaris2): Default to 32-bit code.
Richard Henderson [Fri, 12 Apr 2002 23:02:45 +0000 (16:02 -0700)]
config.gcc (sparcv9-*-solaris2): Default to 32-bit code.

        * config.gcc (sparcv9-*-solaris2): Default to 32-bit code.
        (sparc*-*-solaris): Clean up header files.
        * configure.in (AS_SPARC64_FLAG): Error out if can't find it
        and plan on generating 64-bit code.
        * toplev.c (decode_g_option): Remove LINKER_DOES_NOT_WORK_WITH_DWARF2.
        * config/sparc/sol2-64.h: Delete and reuse for default 64-bit code.
        * config/sparc/sol2-sld-64.h: Rename ...
        * config/sparc/sol2-bi.h: ... here.  Remove the bits that checked
        for AS_SPARC64_FLAG not defined.
        * config/sparc/sol2-gld-bi.h: New.
        * config/sparc/sol2-sld.h: Remove.
        * config/sparc/sol26-sld.h: New.
        * config/sparc/sol2.h: Tidy comments.
        * doc/install.texi: Document sparc-solaris configury changes.

From-SVN: r52251

22 years agorecog.c (offsettable_address_p): Match the logic in adjust_address.
Richard Henderson [Fri, 12 Apr 2002 22:47:34 +0000 (15:47 -0700)]
recog.c (offsettable_address_p): Match the logic in adjust_address.

        * recog.c (offsettable_address_p): Match the logic in adjust_address.

        * config/sparc/sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Handle TFmode
        in 64-bit mode only.  Use only for 32-bit or MEDLOW.

From-SVN: r52250

22 years ago* gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
Steve Ellcey [Fri, 12 Apr 2002 22:31:27 +0000 (22:31 +0000)]
* gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
(strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
does not define strtoll or strtoull, but does define strtol
and strtoul which are the same since in 64 bit mode
sizeof(long) == sizeof(long long).

From-SVN: r52247

22 years ago* config/alpha/osf.h (LINK_SPEC): Pass -S to silence ld warnings.
Rainer Orth [Fri, 12 Apr 2002 22:25:08 +0000 (22:25 +0000)]
* config/alpha/osf.h (LINK_SPEC): Pass -S to silence ld warnings.

From-SVN: r52246

22 years agoFix typo in ChangeLog entry.
Jeff Law [Fri, 12 Apr 2002 21:52:46 +0000 (15:52 -0600)]
Fix typo in ChangeLog entry.

From-SVN: r52244

22 years agopa.c (pa_can_combine_p): Call insn_extract before calling constrain_operands.
Jeff Law [Fri, 12 Apr 2002 21:43:17 +0000 (15:43 -0600)]
pa.c (pa_can_combine_p): Call insn_extract before calling constrain_operands.

* pa.c (pa_can_combine_p): Call insn_extract before calling
constrain_operands.

From-SVN: r52242

22 years ago20020412-1.c: New file, renamed from gcc.c-torture/execute/20020307-2.c.
Geoffrey Keating [Fri, 12 Apr 2002 20:41:58 +0000 (20:41 +0000)]
20020412-1.c: New file, renamed from gcc.c-torture/execute/20020307-2.c.

* gcc.c-torture/execute/20020412-1.c: New file, renamed from
gcc.c-torture/execute/20020307-2.c.

From-SVN: r52241

22 years ago* config/i386/i386-interix.h (CPP_PREDEFINES): Handle __declspec.
Douglas B Rupp [Fri, 12 Apr 2002 19:56:00 +0000 (15:56 -0400)]
* config/i386/i386-interix.h (CPP_PREDEFINES): Handle __declspec.

From-SVN: r52239

22 years agoi386-interix.h (EH_FRAME_IN_DATA_SECTION): Define.
Douglas B Rupp [Fri, 12 Apr 2002 19:47:45 +0000 (15:47 -0400)]
i386-interix.h (EH_FRAME_IN_DATA_SECTION): Define.

* config/i386/i386-interix.h (EH_FRAME_IN_DATA_SECTION): Define.
(TARGET_ASM_NAMED_SECTION, RETURN_IN_MEMORY) Define.
(DEFAULT_PCC_STRUCT_RETURN): Define as 0.
* config/i386/t-interix (USER_H): Remove.

From-SVN: r52237

22 years agostd_bitset.h: Doxygenate std::bitset<>.
Phil Edwards [Fri, 12 Apr 2002 19:15:59 +0000 (19:15 +0000)]
std_bitset.h: Doxygenate std::bitset<>.

2002-04-12  Phil Edwards  <pme@gcc.gnu.org>

* include/std/std_bitset.h:  Doxygenate std::bitset<>.  Clean up
trailing spaces, indentation, and macro names.  Make exception
messages more informative.

From-SVN: r52233

22 years agointegrate.c (compare_blocks): Make comparisons safe for when sizeof(int) < sizeof...
DJ Delorie [Fri, 12 Apr 2002 18:37:56 +0000 (14:37 -0400)]
integrate.c (compare_blocks): Make comparisons safe for when sizeof(int) < sizeof(char *).

* integrate.c (compare_blocks): Make comparisons safe for when
sizeof(int) < sizeof(char *).
(find_block): Likewise.

From-SVN: r52232

22 years agors6000.c (call_operand): Allow LINK and COUNT registers.
Jan Hubicka [Fri, 12 Apr 2002 16:57:47 +0000 (18:57 +0200)]
rs6000.c (call_operand): Allow LINK and COUNT registers.

2002-04-12  Jan Hubicka  <jh@suse.cz>
            David Edelsohn  <edelsohn@gnu.org>

        * config/rs6000/rs6000.c (call_operand): Allow LINK and COUNT
        registers.
        (symbol_ref_operand): New.
        * config/rs6000/rs6000.h (PREDICATE_CODES): Add symbol_ref_operand.
        * config/rs6000/rs6000.md (call_nonlocal_aix): Use symbol_ref_operand.

Co-Authored-By: David Edelsohn <edelsohn@gnu.org>
From-SVN: r52231