Commit Graph

40797 Commits

Author SHA1 Message Date
Benjamin Kosnik 005326029f stl_algo (__stl_threshold): Declare external.
2002-02-11   Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/stl_algo (__stl_threshold): Declare external.
	(__stl_chunk_size): Same.
	* include/bits/stl_bvector.h (__WORD_BIT): Same.
	* include/bits/stl_tree.h (_S_rb_tree_red): Same.
	(_S_rb_tree_black): Same.
	* src/stl-inst.cc (__stl_threshold): Define.
	(__stl_chunk_size): Same.
	(__WORD_BIT): Same.
	(_S_rb_tree_red): Same.
	(_S_rb_tree_black): Same.

	* config/io/basic_file_libio.h (__basic_file): Add declarations.
	* include/bits/basic_file.h: Remove.
	* config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
	Declare generic types, specialization.
        * config/io/basic_file_stdio.cc: Definitions.
	* config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
	Declare generic types.
	* include/Makefile.am (bits_headers): Remove basic_file.h.
	(extra_target_headers): Change basic_file_model.h to basic_file.h.
	(stamp-target): Same.

	* include/bits/stl_alloc.h: Tweaks.
	* include/bits/localefwd.h: Same.

From-SVN: r49697
2002-02-12 04:35:58 +00:00
Adam Megacz 1febeb40bf win32.cc: Added two #includes to make win32.cc compile.
2002-02-12  Adam Megacz <adam@xwt.org>

        * win32.cc: Added two #includes to make win32.cc compile.

From-SVN: r49696
2002-02-12 04:35:32 +00:00
Bryce McKinlay 88c38cc1b0 boehm.cc (initialized, [...]): Removed unused declarations.
* boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
	declarations.
	(_Jv_InitGC): Don't bother locking, as this is always called from a
	single-thread. Turn off GC_all_interior_pointers. Remove dead code.

From-SVN: r49695
2002-02-12 04:14:52 +00:00
David Billinghurst 036d01d034 c99-flex-array-2.c: Add -std=iso9899:1999
2002-02-12  David Billinghurst <David.Billinghurst@riotinto.com>

        * gcc.dg/c99-flex-array-2.c: Add -std=iso9899:1999

From-SVN: r49694
2002-02-12 04:09:34 +00:00
Adam Megacz b32d2321aa win32.h: Added _Jv_platform_gettimeofday.
2002-02-11  Adam Megacz <adam@xwt.org>

        * include/win32.h: Added _Jv_platform_gettimeofday.
        * win32.cc (_Jv_platform_gettimeofday): Added dummy function.

From-SVN: r49693
2002-02-12 02:25:07 +00:00
Adam Megacz 30529b03fd natFileWin32.cc, [...]: Added #undef STRICT to make windows.h and java/lang/reflect/Modifier.h cooperate.
2002-02-11  Adam Megacz <adam@xwt.org>

    * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
    Added #undef STRICT to make windows.h and
    java/lang/reflect/Modifier.h cooperate.

From-SVN: r49692
2002-02-12 02:17:21 +00:00
Adam Megacz 27fa520dc7 natFileWin32.cc: Created a placeholder class with lots of FIXMEs.
2002-02-11  Adam Megacz <adam@xwt.org>

        * java/io/natFileWin32.cc: Created a placeholder class with lots
        of FIXMEs.

From-SVN: r49691
2002-02-12 01:54:18 +00:00
David Billinghurst 5667c33d01 class.c (build_utf8_ref): Move declaration of decl_size
2002-02-12  David Billinghurst <Davod.Billinghurst@riotinto.com>

	* class.c(build_utf8_ref): Move declaration of decl_size

From-SVN: r49688
2002-02-11 22:53:09 +00:00
Hans-Peter Nilsson a02ac96696 mmix.c (mmix_assemble_integer): Handle non-CONST_INT through default_assemble_integer.
* config/mmix/mmix.c (mmix_assemble_integer) <case 1, 2>: Handle
	non-CONST_INT through default_assemble_integer.
	<case 4>: Likewise, for non-CONST_INT, non-SYMBOL_REF.
	<case 8>: Abort for CONST_DOUBLE.

From-SVN: r49687
2002-02-11 22:38:30 +00:00
Adam Megacz 97cf8285dc Makefile.in: Removed libstdc++-v3 dependancy for libjava and boehm-gc
2002-02-11  Adam Megacz <adam@xwt.org>

        * gcc/Makefile.in: Removed libstdc++-v3 dependancy for libjava
        and boehm-gc

From-SVN: r49686
2002-02-11 22:32:11 +00:00
Adam Megacz 1e41e84370 exception.cc (_Jv_Throw, [...]): Changed std::abort() to simply abort().
2002-02-11  Adam Megacz <adam@xwt.org>

    * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
    std::abort() to simply abort(). Also added "fake" std::abort() so
    we can #include unwind-pe.h without having to link against
    libstdc++-v3.

From-SVN: r49685
2002-02-11 22:28:58 +00:00
John David Anglin d6e06ddc10 gcc.c (init_gcc_specs): Add static libgcc to link when "-shared" is specified.
* gcc.c (init_gcc_specs): Add static libgcc to link when "-shared"
	is specified.
	* config/pa/pa-linux.h (LIB_SPEC): Delete.
	* config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Delete.

From-SVN: r49684
2002-02-11 22:14:25 +00:00
Zack Weinberg cabb228b12 * gcc.pot: Regenerate.
From-SVN: r49683
2002-02-11 19:49:47 +00:00
Aaron W. LaFramboise 4e2f8bcf6f locale_facets.tcc (collate::do_hash): Fix.
2002-02-11  Aaron W LaFramboise  <AWLaFramboise@aol.com>

	* include/bits/locale_facets.tcc (collate::do_hash): Fix.
	* testsuite/22_locale/collate_members_char.cc (test03): New test.
	* testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.

From-SVN: r49682
2002-02-11 18:56:24 +00:00
Adam Megacz df61a3d22a configure.in: support for win32, saner cross-compile options
2002-02-11  Adam Megacz <adam@xwt.org>

        * gcc/boehm-gc/configure.in: support for win32, saner
        cross-compile options

From-SVN: r49681
2002-02-11 18:31:10 +00:00
Franz Sirl b150efee39 re PR libobjc/4039 (installation location of libobjc is wrong)
2002-02-11  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	PR libobjc/4039
	* aclocal.m4: Replace with version copied from libstdc++-v3.
	* configure.in: Update for changes to aclocal and Makefile.
	* configure: Regenerate.
	* Makefile.in: Correct install of multilibs and shared libs, use
	INSTALL_DATA for include files.

From-SVN: r49680
2002-02-11 18:10:05 +00:00
Andrew Haley 515342a8f0 stormy16.md (zero_extendqihi2): New.
2002-02-11  Andrew Haley  <aph@cambridge.redhat.com>

        * config/stormy16/stormy16.md (zero_extendqihi2): New.

From-SVN: r49679
2002-02-11 17:04:31 +00:00
Jason Merrill e6b9638bff parse.y (reserved_declspecs): Don't handle attributes.
* parse.y (reserved_declspecs): Don't handle attributes.
        (reserved_typespecquals): Handle them here.
        * Make-lang.in (parse.c): Adjust expected conflicts.

From-SVN: r49678
2002-02-11 10:52:20 -05:00
Jason Merrill d6b2c47474 mention NRVO
From-SVN: r49677
2002-02-11 10:24:37 -05:00
Alexandre Oliva 66df7a985f regrename.c (regrename_optimize): Don't accept a part-clobbered register if the replaced register is not part...
* regrename.c (regrename_optimize): Don't accept a
part-clobbered register if the replaced register is not part
clobbered.

From-SVN: r49676
2002-02-11 13:35:14 +00:00
Alexandre Oliva 841404cd71 calls.c (store_one_arg): In the non-BLKmode non-partial case...
* calls.c (store_one_arg): In the non-BLKmode non-partial case,
take padding into account when computing the argument value.

From-SVN: r49675
2002-02-11 13:33:07 +00:00
Alexandre Oliva 1d1ade42a5 * config/sh/sh.h (FUNCTION_ARG_REGNO_P): Fix parenthesizing error.
From-SVN: r49674
2002-02-11 08:37:07 +00:00
GCC Administrator 4210cb5b17 Daily bump.
From-SVN: r49672
2002-02-11 08:16:16 +00:00
Aldy Hernandez 100c45611f rs6000.c (altivec_init_builtins): Handle __builtin_altivec_abs*.
2002-02-06  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.c (altivec_init_builtins): Handle
        __builtin_altivec_abs*.
        (bdesc_abs): New.

        * config/rs6000/rs6000.h (rs6000_builtins): Add
        ALTIVEC_BUILTIN_ABS*.

        * config/rs6000/altivec.h: Use const char for builtins expecting
        literals.
        (vec_abs): New versions for C and C++.
        (vec_abss): Same.

From-SVN: r49671
2002-02-11 06:15:37 +00:00
Alexandre Oliva cddd8b72ad combine.c (try_combine): Apply substitutions in CALL_INSN_FUNCTION_USAGE too.
* combine.c (try_combine): Apply substitutions in
CALL_INSN_FUNCTION_USAGE too.

From-SVN: r49670
2002-02-11 06:07:03 +00:00
Aldy Hernandez 5c665b884d rs6000.c (altivec_init_builtins): Handle __builtin_altivec_abs*.
2002-02-06  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.c (altivec_init_builtins): Handle
        __builtin_altivec_abs*.
        (bdesc_abs): New.

        * config/rs6000/rs6000.h (rs6000_builtins): Add
        ALTIVEC_BUILTIN_ABS*.

        * config/rs6000/altivec.h: Use const char for builtins expecting
        literals.
        (vec_abs): New versions for C and C++.
        (vec_abss): Same.

From-SVN: r49669
2002-02-11 06:05:05 +00:00
Kazu Hirata 3494f1b40f h8300.h (INITIALIZE_TRAMPOLINE): Simplify by using Pmode.
* config/h8300/h8300.h (INITIALIZE_TRAMPOLINE): Simplify by
	using Pmode.

From-SVN: r49668
2002-02-11 04:35:57 +00:00
Kazu Hirata 72431aef26 h8300.h (STACK_POINTER_REGNUM): Use the constant definition from h8300.md.
* config/h8300/h8300.h (STACK_POINTER_REGNUM): Use the
	constant definition from h8300.md.
	(FRAME_POINTER_REGNUM): Likewise.
	* config/h8300/h8300.md (define_constants): Add FP_REG.

From-SVN: r49667
2002-02-11 04:31:33 +00:00
Kazu Hirata 87e4ee9193 * config/h8300/h8300.c (print_operand): Remove redundant code.
From-SVN: r49666
2002-02-11 04:26:58 +00:00
Kazu Hirata 9c188705dc h8300-protos.h: Remove the prototype for byte_reg.
* config/h8300/h8300-protos.h: Remove the prototype for byte_reg.
	* config/h8300/h8300.c (byte_reg): Make it static.

From-SVN: r49665
2002-02-11 04:21:53 +00:00
Richard Henderson 2613bd56ac New.
From-SVN: r49664
2002-02-10 18:37:37 -08:00
Richard Henderson fba78abb53 re PR c/5623 (GCC 3.0.3 crashes when assigning pointer to an array of undefined size which is member of a struct)
PR c/5623
        * c-typeck.c (incomplete_type_error): Handle flexible array members.

From-SVN: r49663
2002-02-10 18:28:00 -08:00
Richard Henderson 65739e62e4 re PR c++/5624 (Strange bug with preprocessed file containing structs)
PR c++/5624
        * tree.c (append_random_chars): Don't abort if main_input_filename
        does not exist.

From-SVN: r49662
2002-02-10 18:12:41 -08:00
Hans-Peter Nilsson 247cb9df4b * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): Disable.
From-SVN: r49661
2002-02-11 00:33:08 +00:00
Tom Tromey 62deb2118b For PR java/5641:
* libjava.compile/PR5641.xfail: New file.
	* libjava.compile/PR5641.java: New file.

From-SVN: r49660
2002-02-11 00:18:52 +00:00
Rainer Orth 96b9910446 libjava.exp (libjava_find_lib): Remove duplicate .la files.
2002-02-10  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

	* lib/libjava.exp (libjava_find_lib): Remove duplicate .la files.

From-SVN: r49659
2002-02-11 00:01:11 +00:00
Kazu Hirata 0b8c0d4e30 961203-1.x: Disable on h8300 port.
* gcc.c-torture/compile/961203-1.x: Disable on h8300 port.
	* gcc.c-torture/compile/980506-1.x: Likewise.

From-SVN: r49658
2002-02-10 20:37:22 +00:00
Kazu Hirata b516907f33 * gcc.dg/20020210-1.c: New.
From-SVN: r49657
2002-02-10 20:30:10 +00:00
Kazu Hirata 232bd029ee h8300.md (pushhi1_h8300): Correct the mode used.
* config/h8300/h8300.md (pushhi1_h8300): Correct the mode
	used.
	(pushhi1): Likewise.

From-SVN: r49656
2002-02-10 20:24:16 +00:00
Andreas Tobler 1347adff0d interpret.cc (continue1): Use PUSHL, not PUSHI.
2002-02-10  Andreas Tobler  <toa@pop.agri.ch>

	* interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.

From-SVN: r49655
2002-02-10 18:32:48 +00:00
John David Anglin 276ef573ed pa.c (reg_before_reload_operand): Don't accept a SUBREG operand.
* pa.c (reg_before_reload_operand): Don't accept a SUBREG operand.
	* pa.h (PREDICATE_CODES): Adjust codes for reg_before_reload_operand.

From-SVN: r49654
2002-02-10 17:27:55 +00:00
Phil Edwards 02669b681e stl_algo.h (transform (both signatures), generate_n): Use __typeof__ in concept checks.
2002-02-10  Phil Edwards  <pme@gcc.gnu.org>

	* include/bits/stl_algo.h (transform (both signatures), generate_n):
	Use __typeof__ in concept checks.

From-SVN: r49653
2002-02-10 09:05:46 +00:00
Jonathan Wakely c0d8816157 stl_algo.h (__median, [...]): Doxygenate.
2002-02-10  Jonathan Wakely  <cow@compsoc.man.ac.uk>

	* include/bits/stl_algo.h (__median, for_each, find, find_if,
	adjacent_find, count, count_if, search, search_n, swap_ranges,
	transform, replace, replace_if, replace_copy, replace_copy_if,
	generate, generate_n, remove_copy, remove_copy_if, remove, remove_if,
	unique, unique_copy, reverse, reverse_copy):  Doxygenate.

From-SVN: r49652
2002-02-10 09:00:41 +00:00
GCC Administrator 3439e039a2 Daily bump.
From-SVN: r49650
2002-02-10 08:16:27 +00:00
David O'Brien 617e9ee588 freebsd.h (TARGET_DEFAULT): Add MASK_EPILOGUE setting and remove MASK_VIS.
2002-02-09  David O'Brien  <obrien@FreeBSD.org>
	* config/sparc/freebsd.h(TARGET_DEFAULT): Add MASK_EPILOGUE setting and
	remove MASK_VIS.
	(ASM_CPU_DEFAULT_SPEC): Remove.  Default setting is fine.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20020208111342.A4426@redhat.com>

From-SVN: r49649
2002-02-09 21:51:56 +00:00
Kazu Hirata 6dfa4005a2 h8300.c (output_logical_op): Use sub.w to clear a half of an SImode register on H8/300.
* config/h8300/h8300.c (output_logical_op): Use sub.w to clear
	a half of an SImode register on H8/300.

From-SVN: r49648
2002-02-09 21:49:23 +00:00
Toon Moene 3611ccb484 re PR fortran/947 (Data statement initialization of an array element whose index is)
2002-02-09  Toon Moene  <toon@moene.indiv.nluug.nl>

	* g77.f-torture/execute/947.f: New regression test
	for PR fortran/947.

From-SVN: r49647
2002-02-09 21:43:29 +00:00
Toon Moene 23b293843e data.c (ffedata_eval_offset_): Convert non-default integer constants to default integer kind if necessary.
2002-02-09  Toon Moene  <toon@moene.indiv.nluug.nl>

	* data.c (ffedata_eval_offset_): Convert non-default integer
	constants to default integer kind if necessary.

From-SVN: r49646
2002-02-09 21:39:08 +00:00
Jan Hubicka 749e7b80f6 * i386.md (movdi_2): Add missing '!'.
From-SVN: r49640
2002-02-09 17:53:58 +00:00
Kazu Hirata ca77d87c47 h8300.h: Fix formatting.
* config/h8300/h8300.h: Fix formatting.  Remove commented-out
	definitions.

From-SVN: r49639
2002-02-09 17:31:50 +00:00