]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
23 years agonew (set_new_handler): Declare to not throw any exceptions.
Andreas Schwab [Tue, 16 Jul 2002 20:26:29 +0000 (20:26 +0000)] 
new (set_new_handler): Declare to not throw any exceptions.

* libsupc++/new (set_new_handler): Declare to not throw any
exceptions.
* libsupc++/new_handler.cc (set_new_handler): Likewise.

From-SVN: r55494

23 years agoDaily bump.
GCC Administrator [Tue, 16 Jul 2002 07:16:23 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r55476

23 years agore PR middle-end/7153 (bad operands for 'movsbl' error)
Eric Botcazou [Tue, 16 Jul 2002 05:43:37 +0000 (05:43 +0000)] 
re PR middle-end/7153 (bad operands for 'movsbl' error)

        PR optimization/7153
        * regmove.c (optimize_reg_copy_3): Don't optimize if the register
        dies in more than one insn.

From-SVN: r55473

23 years ago* config/sparc/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Remove.
Jason Thorpe [Tue, 16 Jul 2002 00:36:52 +0000 (00:36 +0000)] 
* config/sparc/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Remove.

From-SVN: r55471

23 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Mon, 15 Jul 2002 23:59:02 +0000 (23:59 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r55469

23 years agoctype_base.h (ctype_base): Fix print to match vendor <ctype.h>.
Rainer Orth [Mon, 15 Jul 2002 20:25:40 +0000 (20:25 +0000)] 
ctype_base.h (ctype_base): Fix print to match vendor <ctype.h>.

* config/os/solaris/solaris2.5/bits/ctype_base.h (ctype_base): Fix
print to match vendor <ctype.h>.

From-SVN: r55464

23 years agobb-reorder.c (make_reorder_chain_1): Search harder for the vax casesi fallthru edge.
John David Anglin [Mon, 15 Jul 2002 16:19:39 +0000 (16:19 +0000)] 
bb-reorder.c (make_reorder_chain_1): Search harder for the vax casesi fallthru edge.

* bb-reorder.c (make_reorder_chain_1): Search harder for the vax
casesi fallthru edge.
* cfgrtl.c (force_nonfallthru_and_redirect): Place redirection
block after ADDR_VEC.
* vax.md (casesi): Use emit_jump_insn.  Remove unused constraints.

From-SVN: r55460

23 years agoDaily bump.
GCC Administrator [Mon, 15 Jul 2002 07:16:24 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r55453

23 years agore PR middle-end/7245 (ICE in find_reloads)
Jakub Jelinek [Mon, 15 Jul 2002 06:54:37 +0000 (08:54 +0200)] 
re PR middle-end/7245 (ICE in find_reloads)

PR middle-end/7245
* config/i386/i386.c (const_int_1_31_operand): New.
* config/i386/i386.h (PREDICATE_CODES): Add it.
* config/i386/i386.md (ashlsi3_cmp, ashlsi3_cmp_zext, ashlhi3_cmp,
ashlqi3_cmp, ashrsi3_cmp, ashrsi3_cmp_zext, ashrhi3_cmp, ashrqi3_cmp,
lshrsi3_cmp, lshrsi3_cmp_zext, lshrhi3_cmp, lshrqi3_cmp): Use it.

* gcc.c-torture/compile/20020710-1.c: New test.

From-SVN: r55450

23 years agom68k.h (PREDICATE_CODES): Define.
Andreas Schwab [Mon, 15 Jul 2002 06:33:38 +0000 (06:33 +0000)] 
m68k.h (PREDICATE_CODES): Define.

2002-06-11  Andreas Schwab  <schwab@suse.de>

* config/m68k/m68k.h (PREDICATE_CODES): Define.

From-SVN: r55449

23 years agore PR target/7282 (unrecognizable insn)
Alan Modra [Mon, 15 Jul 2002 05:29:43 +0000 (05:29 +0000)] 
re PR target/7282 (unrecognizable insn)

PR target/7282
* config/rs6000/rs6000.md (floatsidf2): Enable for POWERPC64.
(floatunssidf2): Likewise.
(floatsidf_ppc64): New insn_and_split.
(floatunssidf_ppc64): Likewise.

From-SVN: r55448

23 years agoDaily bump.
GCC Administrator [Sun, 14 Jul 2002 07:16:23 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r55439

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

From-SVN: r55432

23 years agoFor PR libgcj/7292:
Jesse Rosenstock [Fri, 12 Jul 2002 21:13:22 +0000 (21:13 +0000)] 
For PR libgcj/7292:

2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>

For PR libgcj/7292:
* java/lang/Character.java (toString(char)): Now static.

From-SVN: r55428

23 years agom68hc11.md ("zero_extendsidi2"): Use D_REG only for the scratch register.
Stephane Carrez [Fri, 12 Jul 2002 20:43:54 +0000 (22:43 +0200)] 
m68hc11.md ("zero_extendsidi2"): Use D_REG only for the scratch register.

* config/m68hc11/m68hc11.md ("zero_extendsidi2"): Use D_REG only for
the scratch register.
("*movhi2_push"): Accept Z_REG because a split pattern can make use
of it, forbid reload to use it.

From-SVN: r55426

23 years agoavr.c (test_hard_reg_class): Fix TEST_HARD_REG_BIT usage on 64-bit hosts, return...
Marek Michalkiewicz [Fri, 12 Jul 2002 11:27:55 +0000 (13:27 +0200)] 
avr.c (test_hard_reg_class): Fix TEST_HARD_REG_BIT usage on 64-bit hosts, return value was truncated to 32 bits.

* config/avr/avr.c (test_hard_reg_class): Fix TEST_HARD_REG_BIT
usage on 64-bit hosts, return value was truncated to 32 bits.

From-SVN: r55422

23 years ago* class.c (add_method): Correct handling of conversion operators.
Mark Mitchell [Fri, 12 Jul 2002 07:56:49 +0000 (07:56 +0000)] 
* class.c (add_method): Correct handling of conversion operators.

From-SVN: r55420

23 years agoDaily bump.
GCC Administrator [Fri, 12 Jul 2002 07:16:25 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r55414

23 years agore PR c++/7224 (g++ 3.x does not tecognize unused ambiguous inline member functions)
Mark Mitchell [Thu, 11 Jul 2002 22:07:47 +0000 (22:07 +0000)] 
re PR c++/7224 (g++ 3.x does not tecognize unused ambiguous inline member functions)

PR c++/7224
* class.c (add_method): Simplify.

PR c++/7224
* g++.dg/overload/error1.C: New test.

From-SVN: r55408

23 years agore PR c++/7279 (NRV related miscompilation)
Jason Merrill [Thu, 11 Jul 2002 21:13:08 +0000 (17:13 -0400)] 
re PR c++/7279 (NRV related miscompilation)

        PR c++/7279
        * tree.c (cp_copy_res_decl_for_inlining): Also copy
        TREE_ADDRESSABLE.

From-SVN: r55406

23 years agopa.md (adddi3): Change predicate of operand 2 to adddi3_operand.
John David Anglin [Thu, 11 Jul 2002 18:22:02 +0000 (18:22 +0000)] 
pa.md (adddi3): Change predicate of operand 2 to adddi3_operand.

* pa.md (adddi3): Change predicate of operand 2 to adddi3_operand.
Remove comment.  Change predicate of 32-bit adddi3 insn pattern to
arith11_operand.
* pa-protos.h (adddi3_operand): Add prototype.
* pa.c (cint_ok_for_move): Fix comment.
(adddi3_operand): New function.
(emit_move_sequence):  Don't directly split DImode constants on
32-bit targets.

From-SVN: r55399

23 years agoDaily bump.
GCC Administrator [Thu, 11 Jul 2002 07:16:23 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r55391

23 years agoDaily bump.
GCC Administrator [Wed, 10 Jul 2002 07:16:58 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r55360

23 years agore PR c++/6255 (ICE with templatess)
Jason Merrill [Tue, 9 Jul 2002 23:46:07 +0000 (19:46 -0400)] 
re PR c++/6255 (ICE with templatess)

        PR c++/6255
        * decl.c (lookup_name_real): Build a new TYPENAME_TYPE rather than
        modifying the old one.

From-SVN: r55353

23 years agoDaily bump.
GCC Administrator [Tue, 9 Jul 2002 07:16:23 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r55337

23 years agopt.c (can_complete_type_without_circularity): Add static to function definition.
Kriang Lerdsuwanakij [Mon, 8 Jul 2002 15:09:44 +0000 (15:09 +0000)] 
pt.c (can_complete_type_without_circularity): Add static to function definition.

* pt.c (can_complete_type_without_circularity): Add static to
function definition.

From-SVN: r55327

23 years agoconfigure.in (gxx_include_dir): Change to match versioned C++ headers if --enable...
Phil Edwards [Mon, 8 Jul 2002 10:00:57 +0000 (10:00 +0000)] 
configure.in (gxx_include_dir): Change to match versioned C++ headers if --enable-version-specific-runtime-libs...

2002-07-08  Phil Edwards  <pme@gcc.gnu.org>

* configure.in (gxx_include_dir):  Change to match versioned
C++ headers if --enable-version-specific-runtime-libs is used.

From-SVN: r55324

23 years agoDaily bump.
GCC Administrator [Mon, 8 Jul 2002 07:16:31 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r55315

23 years agoDaily bump.
GCC Administrator [Sun, 7 Jul 2002 07:17:23 +0000 (07:17 +0000)] 
Daily bump.

From-SVN: r55297

23 years agoDaily bump.
GCC Administrator [Sat, 6 Jul 2002 07:16:41 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r55282

23 years agom68hc11.md ("*movqi_68hc12"): Avoid allocating QI mode registers in soft registers.
Stephane Carrez [Fri, 5 Jul 2002 22:18:48 +0000 (00:18 +0200)] 
m68hc11.md ("*movqi_68hc12"): Avoid allocating QI mode registers in soft registers.

* config/m68hc11/m68hc11.md ("*movqi_68hc12"): Avoid allocating
QI mode registers in soft registers.
("zero_extendqihi2"): Do not take into account soft registers
for register allocation (use '*' constraint).

From-SVN: r55275

23 years agocvt.c (cp_convert_to_pointer): Call force_fit_type for null pointers.
Jason Merrill [Fri, 5 Jul 2002 22:11:38 +0000 (18:11 -0400)] 
cvt.c (cp_convert_to_pointer): Call force_fit_type for null pointers.

        * cvt.c (cp_convert_to_pointer): Call force_fit_type for null
        pointers.

From-SVN: r55273

23 years agom68hc11.md ("*ashlsi3"): Avoid saving y if we know it is dead.
Stephane Carrez [Fri, 5 Jul 2002 22:01:18 +0000 (00:01 +0200)] 
m68hc11.md ("*ashlsi3"): Avoid saving y if we know it is dead.

* config/m68hc11/m68hc11.md ("*ashlsi3"): Avoid saving y if we know
it is dead.
("*ashrsi3"): Likewise.
("*lshrsi3"): Likewise.

From-SVN: r55271

23 years agom68hc11.md (peephole2): New peephole2 to optimize address computation and memory...
Stephane Carrez [Fri, 5 Jul 2002 21:32:54 +0000 (23:32 +0200)] 
m68hc11.md (peephole2): New peephole2 to optimize address computation and memory moves.

* config/m68hc11/m68hc11.md (peephole2): New peephole2 to optimize
address computation and memory moves.

From-SVN: r55268

23 years agoFix problem reported in http://gcc.gnu.org/ml/gcc-patches/2002-07/msg00238.html
Jim Wilson [Fri, 5 Jul 2002 19:39:12 +0000 (19:39 +0000)] 
Fix problem reported in http://gcc.gnu.org/ml/gcc-patches/2002-07/msg00238.html

Fix problem reported in http://gcc.gnu.org/ml/gcc-patches/2002-07/msg00238.html
* decl.c (mark_named_label_lists): Add missing & in call to
mark_binding_level.

From-SVN: r55265

23 years agore PR c++/6706 (ICE with variable-sized arrays and DWARF-1 output)
Mark Mitchell [Fri, 5 Jul 2002 16:37:44 +0000 (16:37 +0000)] 
re PR c++/6706 (ICE with variable-sized arrays and DWARF-1 output)

PR c++/6706
* dwarfout.c (output_reg_number): Fix warning message.
(output_bound_representation): Check SAVE_EXPR_RTL is not NULL
before using it.

PR c++/6706
* g++.dg/debug/debug6.C: New test.
* g++.dg/debug/debug7.C: New test.

From-SVN: r55263

23 years agore PR rtl-optimization/7145 (g++ -O with structure initializer & return value optimiz...
Jason Merrill [Fri, 5 Jul 2002 15:16:56 +0000 (11:16 -0400)] 
re PR rtl-optimization/7145 (g++ -O with structure initializer & return value optimization generates bad code)

        PR optimization/7145
        * tree.c (cp_copy_res_decl_for_inlining): Also copy DECL_INITIAL.

[[Split portion of a mixed commit.]]

From-SVN: r55262.1

23 years agoDaily bump.
GCC Administrator [Fri, 5 Jul 2002 07:16:34 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r55253

23 years agore PR c++/6611 (Non-weak emission of `std::__default_alloc_template[...]' on platform...
Jason Merrill [Thu, 4 Jul 2002 10:57:18 +0000 (06:57 -0400)] 
re PR c++/6611 (Non-weak emission of `std::__default_alloc_template[...]' on platform(s) where it should be weak)

        PR c++/6611
        * decl2.c (import_export_decl): If we clear
        DECL_NOT_REALLY_EXTERN, make sure DECL_EXTERNAL is set.

From-SVN: r55243

23 years agoDaily bump.
GCC Administrator [Thu, 4 Jul 2002 07:16:46 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r55237

23 years agore PR libstdc++/7057 (Operator== on hashtables doesn't appear to work correctly ...
Benjamin Kosnik [Thu, 4 Jul 2002 00:48:50 +0000 (00:48 +0000)] 
re PR libstdc++/7057 (Operator== on hashtables doesn't appear to work correctly (patch included))

2002-07-03  Steev Wilcox  <steev@paradigmds.com>

PR libstdc++/7057
* include/ext/stl_hashtable.h: Fix.
* testsuite/ext/hash_map.cc: New.

From-SVN: r55232

23 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Thu, 4 Jul 2002 00:48:50 +0000 (00:48 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r55231

23 years agore PR libstdc++/7097 (_GLIBCPP_HAVE_MBSTATE_T breaks non-GLIB systems)
Benjamin Kosnik [Thu, 4 Jul 2002 00:29:27 +0000 (00:29 +0000)] 
re PR libstdc++/7097 (_GLIBCPP_HAVE_MBSTATE_T breaks non-GLIB systems)

2002-07-03  Benjamin Kosnik  <bkoz@redhat.com>

        PR libstdc++/7097
        * include/c/std_cwchar.h: Fix.

From-SVN: r55230

23 years agoi386.md (prologue_get_pc): Issue pop here ...
Richard Henderson [Wed, 3 Jul 2002 22:52:13 +0000 (15:52 -0700)] 
i386.md (prologue_get_pc): Issue pop here ...

        * config/i386/i386.md (prologue_get_pc): Issue pop here ...
        * config/i386/i386.c (load_pic_register): ... not here.

From-SVN: r55227

23 years agore PR libstdc++/3946 (auto_ptr_ref constructor allows dangerous conversion)
Jack Reeves [Wed, 3 Jul 2002 22:49:56 +0000 (22:49 +0000)] 
re PR libstdc++/3946 (auto_ptr_ref constructor allows dangerous conversion)

2002-07-03  Jack Reeves  <jackw_reeves@hotmail.com>
            Kenny Simpson  <theonetruekenny@yahoo.com>
            Phil Edwards  <pme@gcc.gnu.org>

PR libstdc++/3946
* testsuite/20_util/auto_ptr.cc (test08):  New test.
* include/std/std_memory.h (auto_ref_ptr):  Make constructor explicit.
(auto_ptr::operator auto_ptr_ref):  Fix typo.
General reformatting and doxygenating of the whole file.

Co-Authored-By: Kenny Simpson <theonetruekenny@yahoo.com>
Co-Authored-By: Phil Edwards <pme@gcc.gnu.org>
From-SVN: r55225

23 years agore PR libstdc++/7173 (_GLIBCPP_VERSION ="" on the 3.1 branch)
Phil Edwards [Wed, 3 Jul 2002 22:48:30 +0000 (22:48 +0000)] 
re PR libstdc++/7173 (_GLIBCPP_VERSION ="" on the 3.1 branch)

2002-07-03  Phil Edwards  <pme@gcc.gnu.org>

PR libstdc++/7173
* acinclude.m4:  Simplify determination of gcc_version, and move
up to GLIBCPP_CONFIGURE.
* configure.in (release_VERSION):  Really remove.
(AM_INIT_AUTOMAKE, AM_CONFIG_HEADER):  Move after GLIBCPP_CONFIGURE.
* aclocal.m4, configure:  Regenerate.

From-SVN: r55224

23 years agors6000.md (fix_truncdfsi2_internal): Ignore DImode in FPR as preference.
David Edelsohn [Wed, 3 Jul 2002 18:41:58 +0000 (18:41 +0000)] 
rs6000.md (fix_truncdfsi2_internal): Ignore DImode in FPR as preference.

        * config/rs6000/rs6000.md (fix_truncdfsi2_internal): Ignore DImode
        in FPR as preference.
        (fctiwz): Same.
        (floatdidf2, fix_truncdfdi2): Same.
        (floatdisf2, floatditf2, fix_trunctfdi2): Same.
        (floatditf2): Same.
        (floatsitf2, fix_trunctfsi2): SImode in GPR.
        (ctrdi): Remove FPR alternative and splitter.

From-SVN: r55220

23 years agore PR c++/6944 (missing feature on default copy-constructor for class with multi...
Kriang Lerdsuwanakij [Wed, 3 Jul 2002 15:02:15 +0000 (15:02 +0000)] 
re PR c++/6944 (missing feature on default copy-constructor for class with multi-dim arrays)

PR c++/6944
* init.c (build_aggr_init): Remove qualifiers of init before calling
build_vec_init.
(build_vec_init): Flatten multi-dimensional array during cleanup.
(build_vec_delete_1): Abort if the type of each element is array.

* g++.dg/init/array4.C: New test.
* g++.dg/init/array5.C: New test.

From-SVN: r55213

23 years agoDaily bump.
GCC Administrator [Wed, 3 Jul 2002 07:16:37 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r55205

23 years agore PR c++/6716 (loop and fill ram during compiling)
Kriang Lerdsuwanakij [Tue, 2 Jul 2002 15:50:42 +0000 (15:50 +0000)] 
re PR c++/6716 (loop and fill ram during compiling)

PR c++/6716
* pt.c (can_complete_type_without_circularity): New function.
(instantiate_class_template): Use it.
* typeck2.c (incomplete_type_error): Improve error message
due to incomplete fields.

* g++.dg/template/instantiate1.C: New test.

From-SVN: r55181

23 years agore PR target/7177 (cris-axis-elf: ICE at -O2, unrecognized insn, sign-extend mem)
Hans-Peter Nilsson [Tue, 2 Jul 2002 14:08:00 +0000 (14:08 +0000)] 
re PR target/7177 (cris-axis-elf: ICE at -O2, unrecognized insn, sign-extend mem)

PR target/7177
* config/cris/cris.h (LEGITIMIZE_RELOAD_ADDRESS): Correct number
of indirections for register inside sign-extended mem part.

From-SVN: r55180

23 years agoDaily bump.
GCC Administrator [Tue, 2 Jul 2002 07:18:58 +0000 (07:18 +0000)] 
Daily bump.

From-SVN: r55176

23 years agoconfigopts.html, [...]: Tweaks.
Phil Edwards [Tue, 2 Jul 2002 06:22:39 +0000 (06:22 +0000)] 
configopts.html, [...]: Tweaks.

2002-07-02  Phil Edwards  <pme@gcc.gnu.org>

* docs/html/configopts.html, docs/html/install.html:  Tweaks.
* include/ext/algorithm, include/ext/hash_map, include/ext/hash_set,
include/ext/iterator, include/ext/numeric, include/ext/rb_tree,
include/ext/slist, include/ext/stl_rope.h:  Add doxygen hooks.

From-SVN: r55173

23 years agore PR c++/7112 (Regression: ICE on C++ code involving templates and sizeof)
Mark Mitchell [Tue, 2 Jul 2002 03:14:24 +0000 (03:14 +0000)] 
re PR c++/7112 (Regression: ICE on C++ code involving templates and sizeof)

PR c++/7112
* g++.dg/template/sizeof1.C: New test.

PR c++/7112
* mangle.c (write_expression): Add mangling for sizeof when
applied to a type.
* operators.def: Remove stale comment.

* cp-demangle.c (demangle_operator_name): Add type_arg parameter.
Set it for the "st" operator.
(demangle_expression): Handle expressions with types as arguments.

From-SVN: r55168

23 years ago* emit-rtl.c (init_emit_once): Add missing cast to HOST_WIDE_INT.
John David Anglin [Mon, 1 Jul 2002 21:50:14 +0000 (21:50 +0000)] 
* emit-rtl.c (init_emit_once): Add missing cast to HOST_WIDE_INT.

From-SVN: r55157

23 years agore PR target/7177 (cris-axis-elf: ICE at -O2, unrecognized insn, sign-extend mem)
Hans-Peter Nilsson [Mon, 1 Jul 2002 19:40:54 +0000 (19:40 +0000)] 
re PR target/7177 (cris-axis-elf: ICE at -O2, unrecognized insn, sign-extend mem)

PR target/7177
* gcc.c-torture/compile/20020701-1.c: New test.

From-SVN: r55145

23 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Mon, 1 Jul 2002 19:40:54 +0000 (19:40 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r55144

23 years agoDaily bump.
GCC Administrator [Mon, 1 Jul 2002 07:16:31 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r55129

23 years agors6000.md (ctrdi): Allocate pseudo for FPR constraint in define_expand, not splitter.
David Edelsohn [Sun, 30 Jun 2002 20:08:32 +0000 (20:08 +0000)] 
rs6000.md (ctrdi): Allocate pseudo for FPR constraint in define_expand, not splitter.

        * config/rs6000/rs6000.md (ctrdi): Allocate pseudo for FPR
        constraint in define_expand, not splitter.

From-SVN: r55123

23 years agonews.texi: Mention 2 Gbyte limit on 32-bit targets for arrays explicitly in news...
Toon Moene [Sun, 30 Jun 2002 11:00:17 +0000 (13:00 +0200)] 
news.texi: Mention 2 Gbyte limit on 32-bit targets for arrays explicitly in news on g77-3.1.

2002-06-30  Toon Moene  <toon@moene.indiv.nluug.nl>

* news.texi: Mention 2 Gbyte limit on 32-bit targets
for arrays explicitly in news on g77-3.1.

From-SVN: r55118

23 years agoDaily bump.
GCC Administrator [Sun, 30 Jun 2002 07:17:34 +0000 (07:17 +0000)] 
Daily bump.

From-SVN: r55114

23 years ago* win32_threads.c (GC_push_all_stacks): Tolerate bad sp.
Hans Boehm [Sat, 29 Jun 2002 17:29:51 +0000 (17:29 +0000)] 
* win32_threads.c (GC_push_all_stacks): Tolerate bad sp.

From-SVN: r55103

23 years agoDaily bump.
GCC Administrator [Sat, 29 Jun 2002 07:16:49 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r55097

23 years agoconfigure.in (gcc_gxx_include_dir): Change to match versioned C++ headers if --enable...
Phil Edwards [Sat, 29 Jun 2002 00:20:11 +0000 (00:20 +0000)] 
configure.in (gcc_gxx_include_dir): Change to match versioned C++ headers if --enable-version-specific-runtime-libs...

2002-06-28  Phil Edwards  <pme@gcc.gnu.org>

* configure.in (gcc_gxx_include_dir):  Change to match versioned
C++ headers if --enable-version-specific-runtime-libs is used.
* configure:  Regenerate.

From-SVN: r55089

23 years agom68hc11.md ("*addsi3"): Use 'o' constraint to avoid the auto increment addressing...
Stephane Carrez [Fri, 28 Jun 2002 21:20:44 +0000 (23:20 +0200)] 
m68hc11.md ("*addsi3"): Use 'o' constraint to avoid the auto increment addressing modes.

* config/m68hc11/m68hc11.md ("*addsi3"): Use 'o' constraint to
avoid the auto increment addressing modes.
("*subsi3"): Likewise.
(split for add/sub on address): For 68HC12 push the value on
the stack and do the operation with a pop.

From-SVN: r55084

23 years agom68hc11.h (OPTIMIZATION_OPTIONS): Define.
Stephane Carrez [Fri, 28 Jun 2002 20:55:10 +0000 (22:55 +0200)] 
m68hc11.h (OPTIMIZATION_OPTIONS): Define.

* config/m68hc11/m68hc11.h (OPTIMIZATION_OPTIONS): Define.
* config/m68hc11/m68hc11-protos.h (m68hc11_optimization_options):
Declare.
* config/m68hc11/m68hc11.c (m68hc11_optimization_options): New,
do not reorder basic blocks at the end when optimizing for size.

From-SVN: r55080

23 years agom68hc11.c (autoinc_mode): New function.
Stephane Carrez [Fri, 28 Jun 2002 20:31:45 +0000 (22:31 +0200)] 
m68hc11.c (autoinc_mode): New function.

* config/m68hc11/m68hc11.c (autoinc_mode): New function.
(m68hc11_make_autoinc_notes): New function.
(m68hc11_split_move): Be very cautious when spliting a move with
auto increment/decrement modes because this may result in incompatible
directions; add REG_INC notes to the resulting insn for CSE reg.

From-SVN: r55078

23 years agom68hc11.c (register_indirect_p): For 68HC12 a constant can be a valid address.
Stephane Carrez [Fri, 28 Jun 2002 19:58:32 +0000 (21:58 +0200)] 
m68hc11.c (register_indirect_p): For 68HC12 a constant can be a valid address.

* config/m68hc11/m68hc11.c (register_indirect_p): For 68HC12 a constant
can be a valid address.

From-SVN: r55074

23 years agoxtensa-protos.h (xtensa_return_addr): Declare.
Bob Wilson [Fri, 28 Jun 2002 19:40:32 +0000 (19:40 +0000)] 
xtensa-protos.h (xtensa_return_addr): Declare.

        * config/xtensa/xtensa-protos.h (xtensa_return_addr): Declare.
        config/xtensa/xtensa.c (xtensa_return_addr): New function.
        config/xtensa/xtensa.h (RETURN_ADDR_RTX): Use xtensa_return_addr.
        config/xtensa/xtensa.md (fix_return_addr): New pattern.

From-SVN: r55072

23 years agoxtensa.h (FUNCTION_PROFILER): Respect flag_pic when generating the call to _mcount.
Bob Wilson [Fri, 28 Jun 2002 16:57:42 +0000 (16:57 +0000)] 
xtensa.h (FUNCTION_PROFILER): Respect flag_pic when generating the call to _mcount.

        * config/xtensa/xtensa.h (FUNCTION_PROFILER): Respect flag_pic
        when generating the call to _mcount.
        (NO_PROFILE_COUNTERS): Define.

From-SVN: r55065

23 years agoPrevent making paradoxical FLOAT_MODE subregs.
Bernd Schmidt [Fri, 28 Jun 2002 12:36:04 +0000 (12:36 +0000)] 
Prevent making paradoxical FLOAT_MODE subregs.

From-SVN: r55063

23 years ago[multiple changes]
Benjamin Kosnik [Fri, 28 Jun 2002 08:22:45 +0000 (08:22 +0000)] 
[multiple changes]

2002-06-28  Benjamin Kosnik  <bkoz@redhat.com>

* include/c_compatibility: New.
* include/c_compatibility/assert.h: New.
* include/c_compatibility/ctype.h: New.
* include/c_compatibility/errno.h: New.
* include/c_compatibility/float.h: New.
* include/c_compatibility/iso646.h: New.
* include/c_compatibility/limits.h: New.
* include/c_compatibility/locale.h: New.
* include/c_compatibility/math.h: New.
* include/c_compatibility/setjmp.h: New.
* include/c_compatibility/signal.h: New.
* include/c_compatibility/stdarg.h: New.
* include/c_compatibility/stddef.h: New.
* include/c_compatibility/stdio.h: New.
* include/c_compatibility/stdlib.h: New.
* include/c_compatibility/string.h: New.
* include/c_compatibility/time.h: New.
* include/c_compatibility/wchar.h: New.
* include/c_compatibility/wctype.h: New.

* include/c/std_cerrno.h: Get out of the way... define errno.
* include/c/std_cmath.h: Add abs, modf overloads.
Undefine C99 isms. Still not sure how to deal with this sanely.
* include/c/std_csetjmp.h: Tweak.
* include/c/std_cwchar.h: Include cstddef for size_t.

* include/c_std/std_cmath.h: Remove extra function.

Pendantic std usage in testsuites.
* testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
with std.
* testsuite/17_intro/header_cwchar.cc: Tweak.
* testsuite/22_locale/codecvt_members_char_char.cc (test03): Use
std::setlocale.
* testsuite/22_locale/ctype_to_wchar_t.cc (test05): Same.
* testsuite/22_locale/ctype_to_char.cc (test05): Same.
* testsuite/22_locale/ctype_is_wchar_t.cc (test05): Same.
* testsuite/22_locale/ctype_is_char.cc (test05): Same.
* testsuite/22_locale/codecvt_members_wchar_t_char.cc (test03): Same.
* testsuite/22_locale/time_get_members_wchar_t.cc (test08): Same.
* testsuite/22_locale/time_get_members_char.cc (test08): Same.
* testsuite/22_locale/time_put_members_wchar_t.cc (test04): Same.
* testsuite/22_locale/time_put_members_char.cc (test04): Same.
* testsuite/22_locale/num_put_members_wchar_t.cc (test04): Same.
* testsuite/22_locale/num_put_members_char.cc (test04): Same.
* testsuite/22_locale/numpunct_members_wchar_t.cc (test03): Same.
* testsuite/22_locale/numpunct_members_char.cc (test03): Same.
* testsuite/22_locale/num_get_members_wchar_t.cc: Same.
* testsuite/22_locale/num_get_members_char.cc: Same.
* testsuite/22_locale/money_put_members_wchar_t.cc (test07): Same.
* testsuite/22_locale/money_put_members_char.cc (test07): Same.
* testsuite/22_locale/moneypunct_members_wchar_t.cc (test03): Same.
* testsuite/22_locale/moneypunct_members_char.cc (test03): Same.
* testsuite/22_locale/money_get_members_wchar_t.cc (test08): Same.
* testsuite/22_locale/money_get_members_char.cc (test08): Same.
* testsuite/22_locale/messages_members_char.cc (test03): Same.
* testsuite/22_locale/collate_members_wchar_t.cc (test04): Same.
* testsuite/22_locale/collate_members_char.cc (test04): Same.
* testsuite/26_numerics/fabs_inline.cc: Use std::printf.
* testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
* testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.

2002-06-28  Benjamin Kosnik  <bkoz@redhat.com>

* libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add
c_sources.

2002-06-28  Benjamin Kosnik  <bkoz@redhat.com>

* src/ext-inst.cc (__gnu_cxx): Use instead of std:: for extensions.
Use size_type instead of unsigned long.

2002-06-28  Steve Ellcey  <sje@cup.hp.com>

* src/ext-inst.cc (_S_fetch): Add explicit templates for char and
wchar types.
(_S_min_len): Ditto.

2002-06-28  Benjamin Kosnik  <bkoz@redhat.com>

* include/Makefile.am: Add rules.
* include/Makefile.in: Regenerate.

* acinclude.m4: Define GLIBCPP_C_HEADERS_COMPATIBILITY.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* configure.target (c_model, c_compatibility): Add.

* libsupc++/Makefile.am (c_sources): New.
(libsupc___la_SOURCES): Add c_sources.
(LTCOMPILE): Remove INCLUDES.
(GCC_INCLUDES): New.
(C_COMPILE): New, like COMPILE but without INCLUDES.
(cxa_demangle.o): Use C_COMPILE.
(dyn-string.o): Use C_COMPILE.

* include/c/std_cstdarg.h: Define __need___va_list.
* include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
need_NULL, need_offsetof.

2002-06-28  Benjamin Kosnik  <bkoz@redhat.com>

* include/c/std_cwchar.h: Guard. Add mbstate_t bits.
* include/c/std_cwctype.h: Guard.

* libsupc++/eh_alloc.cc: Tweak include order.
* libsupc++/pure.cc: Use cstdio.
* libsupc++/new_op.cc: Remove malloc forward declaration, as
cstdlib brings it in. Use std::malloc.

* src/Makefile.am (sources): Remove cmath.cc.
* src/Makefile.in: Regenerate.
* src/cmath.cc: Remove.

From-SVN: r55062

23 years agoDaily bump.
GCC Administrator [Fri, 28 Jun 2002 07:17:03 +0000 (07:17 +0000)] 
Daily bump.

From-SVN: r55058

23 years agoconfigure.in (INTERFACE): Remove.
Benjamin Kosnik [Fri, 28 Jun 2002 02:02:11 +0000 (02:02 +0000)] 
configure.in (INTERFACE): Remove.

2002-06-27  Benjamin Kosnik  <bkoz@redhat.com>

* configure.in (INTERFACE): Remove.
(release_VERSION): Remove.
* acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Change include placement.
(libstdcxx_interface): Change. Use gcc methods to determine version.
* configure: Regenerate.
* aclocal.m4: Regenerate.

From-SVN: r55052

23 years agoconfig.if (libstdcxx_incdir): Version C++ headers.
Benjamin Kosnik [Fri, 28 Jun 2002 01:53:37 +0000 (01:53 +0000)] 
config.if (libstdcxx_incdir): Version C++ headers.

2002-06-27  Benjamin Kosnik  <bkoz@redhat.com>

* config.if (libstdcxx_incdir): Version C++ headers.
(cxx_incdir): Remove.

From-SVN: r55051

23 years agoxtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Pass flag_function_sections as new 3rd arg to...
Bob Wilson [Thu, 27 Jun 2002 23:35:13 +0000 (23:35 +0000)] 
xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Pass flag_function_sections as new 3rd arg to resolve_unique_section.

        * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Pass
        flag_function_sections as new 3rd arg to resolve_unique_section.

From-SVN: r55047

23 years agore PR preprocessor/7070 (internal error with -Wunknown-pragmas && empty #pragma)
Neil Booth [Thu, 27 Jun 2002 22:27:13 +0000 (22:27 +0000)] 
re PR preprocessor/7070 (internal error with -Wunknown-pragmas && empty #pragma)

PR preprocessor/7070
* c-lex.c (cb_def_pragma): Don't try to spell CPP_EOF.
testsuite:
* gcc.dg/Wunknownprag.c: New tests.

From-SVN: r55045

23 years agore PR c++/6695 (Regression: template friend declaration doesn't work)
Mark Mitchell [Thu, 27 Jun 2002 21:48:01 +0000 (21:48 +0000)] 
re PR c++/6695 (Regression: template friend declaration doesn't work)

PR c++/6695
* pt.c (tsubst_friend_class): Substitute into the context of the
friend before using it.

PR c++/6695
* g++.dg/template/friend7.C: New file.

From-SVN: r55043

23 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Thu, 27 Jun 2002 21:48:01 +0000 (21:48 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r55042

23 years agoacinclude.m4: Fix last checkin.
Benjamin Kosnik [Thu, 27 Jun 2002 20:24:39 +0000 (20:24 +0000)] 
acinclude.m4: Fix last checkin.

2002-06-27  Benjamin Kosnik  <bkoz@redhat.com>

* acinclude.m4: Fix last checkin.
* aclocal.m4: Regenerate.
* configure: Regenerate.

From-SVN: r55040

23 years agoinstall.texi (Binaries): Add Sinix/Reliant Unix.
Gerald Pfeifer [Thu, 27 Jun 2002 19:11:31 +0000 (21:11 +0200)] 
install.texi (Binaries): Add Sinix/Reliant Unix.

* doc/install.texi (Binaries): Add Sinix/Reliant Unix.  Move
Hitachi entry.  Make punctuation more consistent.

From-SVN: r55038

23 years agoinstall.texi: Change ` bit' to `-bit'.
Matt Kraai [Thu, 27 Jun 2002 17:48:20 +0000 (17:48 +0000)] 
install.texi: Change ` bit' to `-bit'.

* doc/install.texi: Change ` bit' to `-bit'.
* doc/md.texi: Change `-bits' to `-bit'.
* doc/tm.texi: Change `-bits' to ` bits'.

From-SVN: r55034

23 years agoDaily bump.
GCC Administrator [Thu, 27 Jun 2002 07:16:39 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r55024

23 years agoDaily bump.
GCC Administrator [Wed, 26 Jun 2002 07:16:47 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r55005

23 years agoacinclude.m4 (GLIBCPP_CONFIGURE): Split out GLIBCPP_TOPREL_CONFIGURE.
DJ Delorie [Wed, 26 Jun 2002 04:15:31 +0000 (00:15 -0400)] 
acinclude.m4 (GLIBCPP_CONFIGURE): Split out GLIBCPP_TOPREL_CONFIGURE.

* acinclude.m4 (GLIBCPP_CONFIGURE): Split out
GLIBCPP_TOPREL_CONFIGURE.
* aclocal.m4: Likewise.
* configure.in: Call it before AC_CANONICAL_SYSTEM.
* configure: Regenerate.

From-SVN: r55003

23 years ago* expr.c (JSR): Avoid undefined operation on PC.
Andreas Schwab [Tue, 25 Jun 2002 13:26:04 +0000 (13:26 +0000)] 
* expr.c (JSR): Avoid undefined operation on PC.

From-SVN: r54986

23 years agoDaily bump.
GCC Administrator [Tue, 25 Jun 2002 07:16:49 +0000 (07:16 +0000)] 
Daily bump.

From-SVN: r54980

23 years agosparc.h (INIT_TARGET_OPTABS): If ARCH64, set the 32-bit ABI libfuncs to NULL.
David S. Miller [Mon, 24 Jun 2002 16:50:44 +0000 (09:50 -0700)] 
sparc.h (INIT_TARGET_OPTABS): If ARCH64, set the 32-bit ABI libfuncs to NULL.

2002-06-24  David S. Miller  <davem@redhat.com>

* config/sparc/sparc.h (INIT_TARGET_OPTABS): If ARCH64, set the
32-bit ABI libfuncs to NULL.

* expmed.c (expand_divmod): Do not set optab1/optab2 to the shift
optabs if op1 is const0_rtx.

From-SVN: r54958

23 years agoconfigure: Revert in-srcdir redirect upon request.
Phil Edwards [Mon, 24 Jun 2002 16:14:28 +0000 (16:14 +0000)] 
configure: Revert in-srcdir redirect upon request.

2002-06-24  Phil Edwards  <pme@gcc.gnu.org>

* configure:  Revert in-srcdir redirect upon request.
* .cvsignore:  Add Makefile.
* Makefile:  Removed.

From-SVN: r54954

23 years agoDaily bump.
GCC Administrator [Mon, 24 Jun 2002 07:19:05 +0000 (07:19 +0000)] 
Daily bump.

From-SVN: r54945

23 years agoMakefile.in: Rebuilt.
Tom Tromey [Mon, 24 Jun 2002 00:15:47 +0000 (00:15 +0000)] 
Makefile.in: Rebuilt.

* Makefile.in: Rebuilt.
* Makefile.am ($(srcdir)/java/lang/Object.h,
$(srcdir)/java/lang/Class.h): Added dummy targets.

From-SVN: r54935

23 years agodecl.c (finish_function): Change "#ifdef VMS_TARGET" to "#if VMS_TARGET".
Matt Thomas [Sun, 23 Jun 2002 21:12:33 +0000 (21:12 +0000)] 
decl.c (finish_function): Change "#ifdef VMS_TARGET" to "#if VMS_TARGET".

* decl.c (finish_function): Change "#ifdef VMS_TARGET" to
"#if VMS_TARGET".

From-SVN: r54933

23 years agoDaily bump.
GCC Administrator [Sun, 23 Jun 2002 07:21:22 +0000 (07:21 +0000)] 
Daily bump.

From-SVN: r54920

23 years agoreg-stack.c (convert_regs_exit): Push the registers to stack in proper order.
Andreas Jaeger [Sun, 23 Jun 2002 05:34:46 +0000 (07:34 +0200)] 
reg-stack.c (convert_regs_exit): Push the registers to stack in proper order.

        * reg-stack.c (convert_regs_exit): Push the registers to stack in
        proper order.

        * gcc.c-torture/execute/complex-6.c: New.

From-SVN: r54918

23 years agoThis commit was manufactured by cvs2svn to create branch
No Author [Sun, 23 Jun 2002 05:34:46 +0000 (05:34 +0000)] 
This commit was manufactured by cvs2svn to create branch
'gcc-3_1-branch'.

From-SVN: r54917

23 years agore PR middle-end/6963 (Linux kernel miscompile due to clobbered MEM_SIZE)
Ulrich Weigand [Sat, 22 Jun 2002 14:29:26 +0000 (14:29 +0000)] 
re PR middle-end/6963 (Linux kernel miscompile due to clobbered MEM_SIZE)

PR middle-end/6963
* function.c (assign_stack_temp_for_type): Do not return
the same MEM rtx for multiple uses of a stack slot.

From-SVN: r54913

23 years agoPR target/6841 target/6770 target/6719
David S. Miller [Sat, 22 Jun 2002 12:02:57 +0000 (05:02 -0700)] 
PR target/6841 target/6770 target/6719

2002-06-22  David S. Miller  <davem@redhat.com>

PR target/6841 target/6770 target/6719
* config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Return
NO_REGS for constant X when CLASS is GENERAL_OR_FP_REGS or
GENERAL_OR_EXTRA_FP_REGS.

From-SVN: r54909

23 years agoDaily bump.
GCC Administrator [Sat, 22 Jun 2002 07:17:05 +0000 (07:17 +0000)] 
Daily bump.

From-SVN: r54902

23 years agore PR other/6836 (crtfastmath.o is not built as 64-bit with sparc-sun-solaris2.8...
Rainer Orth [Fri, 21 Jun 2002 11:25:58 +0000 (11:25 +0000)] 
re PR other/6836 (crtfastmath.o is not built as 64-bit with sparc-sun-solaris2.8 32-bit and 64-bit multilib)

* config/sparc/t-crtfm (crtfastmath.o): Prefix with $(T) for
multilibs.
* config/sparc/t-sol2-64 (EXTRA_MULTILIB_PARTS): Add crtfastmath.o.
* config/sparc/t-linux64 (EXTRA_MULTILIB_PARTS): Likewise.
Fixes PR other/6836.

From-SVN: r54880

23 years agoDaily bump.
GCC Administrator [Fri, 21 Jun 2002 07:38:55 +0000 (07:38 +0000)] 
Daily bump.

From-SVN: r54874