]>
git.ipfire.org Git - thirdparty/gcc.git/log
GCC Administrator [Fri, 26 Jul 2002 07:16:37 +0000 (07:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r55772.2
Mark Mitchell [Thu, 25 Jul 2002 23:40:41 +0000 (23:40 +0000)]
Update version
From-SVN: r55765
Mark Mitchell [Thu, 25 Jul 2002 23:40:29 +0000 (23:40 +0000)]
Mark ChangeLog
From-SVN: r55764
Gerald Pfeifer [Thu, 25 Jul 2002 14:36:02 +0000 (16:36 +0200)]
gennews (files): Add proper files for the GCC 3.1 release series.
* gennews (files): Add proper files for the GCC 3.1 release series.
Simplify and reformat introductory wording.
From-SVN: r55751
GCC Administrator [Thu, 25 Jul 2002 07:16:28 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r55739
GCC Administrator [Wed, 24 Jul 2002 07:16:29 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r55697
GCC Administrator [Tue, 23 Jul 2002 07:16:23 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r55670
GCC Administrator [Mon, 22 Jul 2002 07:16:23 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r55639
Nick Clifton [Sun, 21 Jul 2002 12:09:03 +0000 (12:09 +0000)]
Import following patch from mainline:
2002-03-18 Bernd Schmidt <bernds@redhat.com>
* config/arm/arm.c (arm_gen_movstrqi): Use gen_lowpart
instead of gen_rtx_SUBREG.
(arm_reload_out_hi): Use gen_lowpart instead of
gen_rtx_SUBREG to access QImode components.
* config/arm/arm.md: Disable zero_extend split for QImode
subregs in BIG_ENDIAN mode.
(storehi_bigend): Match use of least significant byte.
(storeinthi): Remove extraneous SUBREG.
Add missing construction of operands[2].
(movhi): Use gen_lowpart in place of gen_rtx_SUBREG.
(movqi): Use gen_lowpart in place of gen_rtx_SUBREG.
Replace gen_rtx (SUBREG) with gen_rtx_SUBREG.
From-SVN: r55623
GCC Administrator [Sun, 21 Jul 2002 07:16:23 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r55619
GCC Administrator [Sat, 20 Jul 2002 07:16:25 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r55605
Phil Edwards [Sat, 20 Jul 2002 06:34:51 +0000 (06:34 +0000)]
Bulk documentation merge (copy) from trunk.
2002-07-20 Phil Edwards <pme@gcc.gnu.org>
Bulk documentation merge (copy) from trunk.
* docs/doxygen/TODO, docs/doxygen/run_doxygen, docs/doxygen/tables.html,
docs/doxygen/user.cfg.in, docs/html/Makefile,
docs/html/documentation.html, docs/html/17_intro/porting.html,
docs/html/17_intro/porting.texi, docs/html/23_containers/howto.html,
docs/html/ext/howto.html, docs/html/ext/lwg-active.html,
docs/html/ext/lwg-defects.html, docs/html/faq/index.html,
docs/html/faq/index.txt: Merge from trunk.
From-SVN: r55603
GCC Administrator [Fri, 19 Jul 2002 07:16:28 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r55580
Richard Henderson [Thu, 18 Jul 2002 17:45:54 +0000 (10:45 -0700)]
ifcvt.c (noce_get_condition): Make certain that the condition is valid at JUMP.
* ifcvt.c (noce_get_condition): Make certain that the condition
is valid at JUMP.
From-SVN: r55559
GCC Administrator [Thu, 18 Jul 2002 07:17:25 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r55549
GCC Administrator [Wed, 17 Jul 2002 07:16:25 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r55510
Hans-Peter Nilsson [Wed, 17 Jul 2002 01:43:12 +0000 (01:43 +0000)]
linux.h (CRIS_LINK_SUBTARGET_SPEC): Don't --gc-sections if -r.
* config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC): Don't
--gc-sections if -r.
From-SVN: r55506
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
GCC Administrator [Tue, 16 Jul 2002 07:16:23 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r55476
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
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
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
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
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
GCC Administrator [Mon, 15 Jul 2002 07:16:24 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r55453
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
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
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
GCC Administrator [Sun, 14 Jul 2002 07:16:23 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r55439
GCC Administrator [Sat, 13 Jul 2002 07:16:22 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r55432
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
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
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
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
GCC Administrator [Fri, 12 Jul 2002 07:16:25 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r55414
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
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
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
GCC Administrator [Thu, 11 Jul 2002 07:16:23 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r55391
GCC Administrator [Wed, 10 Jul 2002 07:16:58 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r55360
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
GCC Administrator [Tue, 9 Jul 2002 07:16:23 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r55337
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
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
GCC Administrator [Mon, 8 Jul 2002 07:16:31 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r55315
GCC Administrator [Sun, 7 Jul 2002 07:17:23 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r55297
GCC Administrator [Sat, 6 Jul 2002 07:16:41 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r55282
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
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
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
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
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
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
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
GCC Administrator [Fri, 5 Jul 2002 07:16:34 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r55253
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
GCC Administrator [Thu, 4 Jul 2002 07:16:46 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r55237
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
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
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
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
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
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
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
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
GCC Administrator [Wed, 3 Jul 2002 07:16:37 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r55205
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
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
GCC Administrator [Tue, 2 Jul 2002 07:18:58 +0000 (07:18 +0000)]
Daily bump.
From-SVN: r55176
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
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
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
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
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
GCC Administrator [Mon, 1 Jul 2002 07:16:31 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r55129
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
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
GCC Administrator [Sun, 30 Jun 2002 07:17:34 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r55114
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
GCC Administrator [Sat, 29 Jun 2002 07:16:49 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r55097
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
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
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
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
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
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
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
Bernd Schmidt [Fri, 28 Jun 2002 12:36:04 +0000 (12:36 +0000)]
Prevent making paradoxical FLOAT_MODE subregs.
From-SVN: r55063
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
GCC Administrator [Fri, 28 Jun 2002 07:17:03 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r55058
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
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
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
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
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
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
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
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
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
GCC Administrator [Thu, 27 Jun 2002 07:16:39 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r55024