platform/upstream/gcc.git
21 years agore PR c++/10682 (chokes on a typedef for an enum inside a class template)
Kriang Lerdsuwanakij [Fri, 23 May 2003 15:01:45 +0000 (15:01 +0000)]
re PR c++/10682 (chokes on a typedef for an enum inside a class template)

PR c++/10682
* pt.c (instantiate_class_template): Use DECL_ARTIFICIAL to
check for implicitly created typedef to an enum.

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

From-SVN: r67118

21 years agors6000.md (save_fpregs_{si,di}): Add branch attribute.
Dorit Naishlos [Fri, 23 May 2003 14:47:34 +0000 (14:47 +0000)]
rs6000.md (save_fpregs_{si,di}): Add branch attribute.

2003-05-23  Dorit Naishlos  <gcchaifa@il.ibm.com>

        * config/rs6000/rs6000.md (save_fpregs_{si,di}): Add branch attribute.

From-SVN: r67117

21 years agoinstall.texi: Remove sparc64-*-*.
Eric Botcazou [Fri, 23 May 2003 05:41:21 +0000 (07:41 +0200)]
install.texi: Remove sparc64-*-*.

* doc/install.texi: Remove sparc64-*-*. Add sparc64-*-solaris2*.
Document sparcv9-*-solaris2* as a synonym for sparc64-*-solaris2*.

From-SVN: r67113

21 years agoreal.c (real_maxval): New function to return the largest finite value representable...
Roger Sayle [Fri, 23 May 2003 03:46:53 +0000 (03:46 +0000)]
real.c (real_maxval): New function to return the largest finite value representable in a given mode (i.e.

* real.c (real_maxval): New function to return the largest finite
value representable in a given mode (i.e. FLT_MAX and DBL_MAX).
* real.h (real_maxval): Prototype here.
* fold-const.c (fold_inf_compare): Transform comparisons against
+-Infinity into comparisons against DBL_MAX (or equivalent).

* gcc.c-torture/execute/ieee/inf-2.c: New test case.

From-SVN: r67112

21 years agore PR libgcj/10838 (GCC 3.3 [libjava]: java.io.ObjectInputStream syntax error)
Jeff Sturm [Fri, 23 May 2003 03:15:36 +0000 (03:15 +0000)]
re PR libgcj/10838 (GCC 3.3 [libjava]: java.io.ObjectInputStream syntax error)

PR libgcj/10838:
* java/io/ObjectInputStream (enableResolveObject):
Fixed spelling of permission name.

From-SVN: r67111

21 years agore PR libstdc++/3066 (configure.in generates bad arguments for cross compiling libraries)
Benjamin Kosnik [Fri, 23 May 2003 02:31:07 +0000 (02:31 +0000)]
re PR libstdc++/3066 (configure.in generates bad arguments for cross compiling libraries)

2003-05-22  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/3066.
* configure.in: Switch target to host, don't assume newlib.
(target_alias): Remove.
* configure: Regenerate.
* acinclude.m4: Same.
* aclocal.m4: Regenerate.
* configure.target: Same. Rename to...
* configure.host: This.

From-SVN: r67110

21 years agoFix a loose end of a sentence in the way rth suggested.
Wolfgang Bangerth [Fri, 23 May 2003 01:24:00 +0000 (19:24 -0600)]
Fix a loose end of a sentence in the way rth suggested.

From-SVN: r67108

21 years agoFinish correcting inadvertent checkin.
Richard Kenner [Fri, 23 May 2003 00:38:32 +0000 (20:38 -0400)]
Finish correcting inadvertent checkin.

From-SVN: r67107

21 years agoDaily bump.
GCC Administrator [Fri, 23 May 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r67105

21 years agoRemove hunk commited in error.
Richard Kenner [Fri, 23 May 2003 00:13:04 +0000 (20:13 -0400)]
Remove hunk commited in error.

From-SVN: r67103

21 years agostd_fstream.h (_S_pback_size): Remove definition.
Paolo Carlini [Thu, 22 May 2003 22:16:41 +0000 (00:16 +0200)]
std_fstream.h (_S_pback_size): Remove definition.

2003-05-22  Paolo Carlini  <pcarlini@unitus.it>

* include/std/std_fstream.h (_S_pback_size): Remove definition.
(_M_create_pback(), _M_destroy_pback()): Simplify for a single-char
pback buffer.
* include/bits/fstream.tcc (_S_pback_size): Remove declaration.
* testsuite/27_io/basic_filebuf/3.cc: Remove explicit instantiation
of _S_pback_size for systems with no COMDAT or weak support.
* testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise.
* testsuite/27_io/basic_filebuf/underflow/10096.cc: Likewise.
* testsuite/27_io/basic_fstream/3.cc: Likewise.
* testsuite/27_io/basic_ifstream/3.cc: Likewise.
* testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Likewise.
* testsuite/27_io/basic_ofstream/3.cc: Likewise.
* testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Likewise.
* testsuite/27_io/basic_streambuf/3.cc: Likewise.

From-SVN: r67102

21 years agoconfig.gcc (*-*-darwin*): Remove use_collect2=no, as it is the default.
Mike Stump [Thu, 22 May 2003 22:08:43 +0000 (22:08 +0000)]
config.gcc (*-*-darwin*): Remove use_collect2=no, as it is the default.

* config.gcc (*-*-darwin*): Remove use_collect2=no, as it is the
default.

From-SVN: r67101

21 years agocalls.c (expand_call): If the arg block is going to grow downward...
DJ Delorie [Thu, 22 May 2003 20:54:43 +0000 (16:54 -0400)]
calls.c (expand_call): If the arg block is going to grow downward...

* calls.c (expand_call): If the arg block is going to grow
downward, we need argblock to point to the top of the block,
not the bottom.

From-SVN: r67099

21 years agoexpr.c (expand_expr, [...]): Put into memory if constant and EXPAND_CONST_ADDRESS...
Richard Kenner [Thu, 22 May 2003 20:31:46 +0000 (20:31 +0000)]
expr.c (expand_expr, [...]): Put into memory if constant and EXPAND_CONST_ADDRESS, not just EXPAND_INITIALIZER.

* expr.c (expand_expr, case CONSTRUCTOR): Put into memory if
constant and EXPAND_CONST_ADDRESS, not just EXPAND_INITIALIZER.

From-SVN: r67098

21 years agocom.c (ffecom_sym_transform_): Error out on unallocatable storage after type is set.
Bud Davis [Thu, 22 May 2003 19:49:01 +0000 (19:49 +0000)]
com.c (ffecom_sym_transform_): Error out on unallocatable storage after type is set.

2003-05-22  Bud Davis  <bdavis9659@comcast.net>

* com.c (ffecom_sym_transform_): Error out on unallocatable
storage after type is set.

From-SVN: r67097

21 years ago* c-decl.c (duplicate_decls): Test DECL for ERROR_MARK.
Richard Kenner [Thu, 22 May 2003 19:39:13 +0000 (19:39 +0000)]
* c-decl.c (duplicate_decls): Test DECL for ERROR_MARK.

From-SVN: r67096

21 years agofstream.tcc (_M_underflow): simplify...
Paolo Carlini [Thu, 22 May 2003 18:44:02 +0000 (20:44 +0200)]
fstream.tcc (_M_underflow): simplify...

2003-05-22  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/fstream.tcc (_M_underflow): simplify:
!__testout implies _M_filepos == _M_in_end, therefore
the first _M_file.seekoff call is never issued.

From-SVN: r67094

21 years agom68hc11.c: Don't use the `0' flag for asm_fprintf specifiers.
Kaveh R. Ghazi [Thu, 22 May 2003 17:54:20 +0000 (17:54 +0000)]
m68hc11.c: Don't use the `0' flag for asm_fprintf specifiers.

* m68hc11.c: Don't use the `0' flag for asm_fprintf specifiers.
* m68k.c: Likewise.
* m68k.h: Likewise.

From-SVN: r67093

21 years ago[multiple changes]
Benjamin Kosnik [Thu, 22 May 2003 17:04:13 +0000 (17:04 +0000)]
[multiple changes]

2003-05-22  Benjamin Kosnik  <bkoz@redhat.com>

* configure.in: Sort cross table.
* configure: Regenerate.

2003-05-22  Brad Spencer  <spencer@infointeractive.com>

* configure.in: Add Solaris cross bits.

From-SVN: r67091

21 years agore PR other/2873 ([3.3 only][fixinclude] Bogus fixinclude of stdio.h from glibc 2...
Zack Weinberg [Thu, 22 May 2003 17:03:57 +0000 (17:03 +0000)]
re PR other/2873 ([3.3 only][fixinclude] Bogus fixinclude of stdio.h from glibc 2.2.3)

PR other/2873
* fixinc/inclhack.def (avoid_wchar_t_type): Add bypass
expressions to prevent triggering on recent curses.h,
linux/nls.h, or X11/Xlib.h.
(stdio_va_list): Add _G_va_list to bypass pattern.
(strict_ansi_not): Add bypass pattern for __SCO_VERSION__.
* fixinc/fixincl.x: Regenerate.

From-SVN: r67090

21 years ago* gnat_rm.texi : Remove reference to Ada Core Technologies.
Geert Bosch [Thu, 22 May 2003 16:25:58 +0000 (18:25 +0200)]
* gnat_rm.texi : Remove reference to Ada Core Technologies.

From-SVN: r67089

21 years agosh.h (TARGET_SWITCHES): Display all the target switches when --target-help option...
Rekha Bhintade [Thu, 22 May 2003 12:20:53 +0000 (12:20 +0000)]
sh.h (TARGET_SWITCHES): Display all the target switches when --target-help option is specified.

2003-05-22 Rekha Bhintade <rekhad@kpitcummins.com>

* gcc/config/sh/sh.h (TARGET_SWITCHES): Display all the target
switches when --target-help option is specified.

From-SVN: r67087

21 years agore PR bootstrap/10805 ([sun-solaris2.7] relocation error when creating sparcv9/libgcc...
Eric Botcazou [Thu, 22 May 2003 07:53:43 +0000 (09:53 +0200)]
re PR bootstrap/10805 ([sun-solaris2.7] relocation error when creating sparcv9/libgcc_s.so.1)

PR bootstrap/10805
* doc/install.texi (sparc-sun-solaris2.7): Document bootstrap
failure with Sun assembler 5.0 Alpha 03/27/98.

From-SVN: r67085

21 years agoTweak last commit, adjust ChangeLog to reflect complete delta.
Loren J. Rittle [Thu, 22 May 2003 06:30:50 +0000 (06:30 +0000)]
Tweak last commit, adjust ChangeLog to reflect complete delta.

From-SVN: r67083

21 years agoI'm sure Loren James Little meant 2003-05-21, not 2003-03-21. :-)
Ben Elliston [Thu, 22 May 2003 06:24:37 +0000 (16:24 +1000)]
I'm sure Loren James Little meant 2003-05-21, not 2003-03-21.  :-)

From-SVN: r67082

21 years agofreebsd.h (CPP_CPU64_DEFAULT_SPEC): Add -D__sparcv9 -D__sparc__ to match system compi...
Loren J. Rittle [Thu, 22 May 2003 03:59:19 +0000 (03:59 +0000)]
freebsd.h (CPP_CPU64_DEFAULT_SPEC): Add -D__sparcv9 -D__sparc__ to match system compiler convention.

* config/sparc/freebsd.h (CPP_CPU64_DEFAULT_SPEC): Add -D__sparcv9
-D__sparc__ to match system compiler convention.

From-SVN: r67080

21 years agoconfigure.in: Use curly braces in the definition of tooldir.
Maciej W. Rozycki [Thu, 22 May 2003 02:49:07 +0000 (04:49 +0200)]
configure.in: Use curly braces in the definition of tooldir.

* configure.in: Use curly braces in the definition of tooldir.
* configure: Regenerate.

From-SVN: r67078

21 years agoMakefile.tpl (configure-target-libiberty): Depend only on gcc, not newlib or libgloss.
DJ Delorie [Thu, 22 May 2003 02:36:20 +0000 (22:36 -0400)]
Makefile.tpl (configure-target-libiberty): Depend only on gcc, not newlib or libgloss.

* Makefile.tpl (configure-target-libiberty): Depend only on gcc, not
newlib or libgloss.
* Makefile.in: Regenerate.

From-SVN: r67077

21 years agoDaily bump.
GCC Administrator [Thu, 22 May 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r67075

21 years agoinit.c (build_vec_delete): Copy the address into a temporary variable before calling...
Jason Merrill [Wed, 21 May 2003 23:27:50 +0000 (19:27 -0400)]
init.c (build_vec_delete): Copy the address into a temporary variable before calling build_vec_delete_1.

        * init.c (build_vec_delete): Copy the address into a temporary
        variable before calling build_vec_delete_1.
        * decl2.c (delete_sanity): Don't call stabilize_reference.

From-SVN: r67072

21 years agoscalar-return-1_main.c: New file.
Janis Johnson [Wed, 21 May 2003 23:14:22 +0000 (23:14 +0000)]
scalar-return-1_main.c: New file.

2003-05-21  Janis Johnson <janis187@us.ibm.com>

* gcc.dg/compat/scalar-return-1_main.c: New file.
* gcc.dg/compat/scalar-return-1_x.c: New file.
* gcc.dg/compat/scalar-return-1_y.c: New file.
* gcc.dg/compat/scalar-return-2_main.c: New file.
* gcc.dg/compat/scalar-return-2_x.c: New file.
* gcc.dg/compat/scalar-return-2_y.c: New file.
* gcc.dg/compat/struct-return-3_main.c: New file.
* gcc.dg/compat/struct-return-3_y.c: New file.
* gcc.dg/compat/struct-return-3_x.c: New file.
* gcc.dg/compat/struct-return-2_main.c: New file.
* gcc.dg/compat/struct-return-2_x.c: New file.
* gcc.dg/compat/struct-return-2_y.c: New file.

(I thought I had committed these yesterday)

From-SVN: r67070

21 years agogthr-win32.h (__GTHREAD_HIDE_WIN32API): Test for non-zero value, not just if defined.
Danny Smith [Wed, 21 May 2003 22:16:08 +0000 (22:16 +0000)]
gthr-win32.h (__GTHREAD_HIDE_WIN32API): Test for non-zero value, not just if defined.

* gthr-win32.h (__GTHREAD_HIDE_WIN32API): Test for non-zero
value, not just if defined.

* libstdc++-v3/config/os/mingw32/os_defines.h (__GTHREAD_HIDE_WIN32API):
Define to 1 by defualt.
(NOMINMAX): Define.

From-SVN: r67069

21 years agore PR target/6428 ([hppa*-hp-hpux] gmon.out is not generated when application to...
John David Anglin [Wed, 21 May 2003 22:00:58 +0000 (22:00 +0000)]
re PR target/6428 ([hppa*-hp-hpux] gmon.out is not generated when application to be profiled is linked with shared libgcc)

PR target/6428
* pa-hpux10.h (LINK_SPEC, LIB_SPEC): Move -L options for profiling
directories from LIB_SPEC to LINK_SPEC.  Emit warning if `-p' or `-pg'
option is used without `-static'.
* pa-hpux11.h (LINK_SPEC, LIB_SPEC): Likewise.
* pa64-hpux.h (LINK_SPEC, LIB_SPEC): Likewise.
* g++.old-deja/g++.law/profile1.C (dg-options): Add -static to options
for hppa*-hp-hpux*.
* gcc.dg/20021014-1.c (dg-options): Likewise.
* gcc.dg/nest.c (dg-options): Likewise.

From-SVN: r67068

21 years agoxtensa.h (MASK_SERIALIZE_VOLATILE, [...]): Delete.
Bob Wilson [Wed, 21 May 2003 21:23:03 +0000 (21:23 +0000)]
xtensa.h (MASK_SERIALIZE_VOLATILE, [...]): Delete.

        * config/xtensa/xtensa.h (MASK_SERIALIZE_VOLATILE,
        TARGET_SERIALIZE_VOLATILE): Delete.
        (MASK_CONST16, MASK_ABS, MASK_ADDX): Renumber flag bits.
        (TARGET_DEFAULT): Remove MASK_SERIALIZE_VOLATILE.
        (TARGET_SWITCHES): Remove "-mserialize-volatile" and
        "-mno-serialize-volatile".
        * config/xtensa/xtensa.c (print_operand): Remove checks of
        TARGET_SERIALIZE_VOLATILE.
        * config/xtensa/xtensa.md (*lsiu, *ssiu): Likewise.
        * doc/invoke.texi (Option Summary, Xtensa Options): Remove
        "-mserialize-volatile" and "-mno-serialize-volatile" options.

From-SVN: r67067

21 years agoMakefile.tpl: Add missing empty maybe-check-gcc target.
DJ Delorie [Wed, 21 May 2003 21:10:32 +0000 (17:10 -0400)]
Makefile.tpl: Add missing empty maybe-check-gcc target.

* Makefile.tpl: Add missing empty maybe-check-gcc target.
* Makefile.in: Regenerate.

From-SVN: r67066

21 years agostd_fstream.h (_M_set_buffer): Fix indentation.
Paolo Carlini [Wed, 21 May 2003 20:22:25 +0000 (22:22 +0200)]
std_fstream.h (_M_set_buffer): Fix indentation.

2003-05-21  Paolo Carlini  <pcarlini@unitus.it>

* include/std/std_fstream.h (_M_set_buffer): Fix indentation.

From-SVN: r67065

21 years agoc-parse.in (fndef): Set DECL_SOURCE_LINE and FILE earlier.
Nathan Sidwell [Wed, 21 May 2003 14:27:46 +0000 (14:27 +0000)]
c-parse.in (fndef): Set DECL_SOURCE_LINE and FILE earlier.

* c-parse.in (fndef): Set DECL_SOURCE_LINE and FILE earlier.
(nested_function): Likewise.
(notype_nested_function): Likewise.
cp:
* pt.c (register_specialization): Update the decl's location,
if necessary.
(check_explicit_specialization): Likewise.

From-SVN: r67063

21 years agoUpdate overflow type for R_XSTORMY16_16 reloc.
Nick Clifton [Wed, 21 May 2003 13:53:04 +0000 (13:53 +0000)]
Update overflow type for R_XSTORMY16_16 reloc.

From-SVN: r67062

21 years agoindex.html: Fix typo.
Jonathan Wakely [Wed, 21 May 2003 12:18:45 +0000 (13:18 +0100)]
index.html: Fix typo.

2003-05-21  Jonathan Wakely  <redi@gcc.gnu.org>

* docs/html/faq/index.html: Fix typo.
* docs/html/faq/index.txt: Regenerate.

From-SVN: r67061

21 years agotest.html: Fix markup.
Jonathan Wakely [Wed, 21 May 2003 12:15:18 +0000 (13:15 +0100)]
test.html: Fix markup.

2003-05-21  Jonathan Wakely  <redi@gcc.gnu.org>

* docs/html/test.html: Fix markup.

From-SVN: r67060

21 years agoremove conflict marker
Nathan Sidwell [Wed, 21 May 2003 11:14:22 +0000 (11:14 +0000)]
remove conflict marker

From-SVN: r67059

21 years agoc-common.h (enum rid): Remove RID_BOUNDED, RID_UNBOUNDED.
Nathan Sidwell [Wed, 21 May 2003 11:13:21 +0000 (11:13 +0000)]
c-common.h (enum rid): Remove RID_BOUNDED, RID_UNBOUNDED.

* c-common.h (enum rid): Remove RID_BOUNDED, RID_UNBOUNDED.
* c-parse.in (reswords): Remove __bounded__ and __unbounded__.
(rid_to_yy): Remove RID_BOUNDED, RID_UNBOUNDED slots.
* print-tree.c (print_node): Remove ambient-boundedness.
* tree.h (tree_common): Remove bounded_flag.
(BOUNDED_INDIRECT_YPE_P, BOUNDED_POINTER_TYPE_P,
BOUNDED_REFERENCE_TYPE_P, MAYBE_BOUNDED_INDIRECT_TYPE_P,
MAYBE_BOUNDED_POINTER_TYPE_P, MAYBE_BOUNDED_REFERENCE_TYPE_P,
TREE_BOUNDED, TYPE_MAIN_VARIANTS_PHYSICALLY_EQUAL_P,
TYPE_MAIN_PHYSICAL_VARIANT, TYPE_BOUNDED, TYPE_QUAL_BOUNDED):
Remove.
(TYPE_QUALS): Remove BOUNDED.
(TREE_EXPR_QUALS, TREE_FUNC_QUALS): Remove.
(TYPE_BOUNDED_VALUE, TYPE_BOUNDED_BASE, TYPE_BOUNDED_EXTENT,
TYPE_BOUNDED_SUBTYPE, TYPE_UNBOUNDED_VARIANT, TYPE_POINTER_DEPTH,
TYPE_AMBIENT_BOUNDEDNESS, MAX_POINTER_DEPT,
VA_LIST_POINTER_DEPTH): Remove.
(struct tree_type): Remove pointer_depth.
treelang:
* treetree.c (reswords): Remove __bounded__, __unbounded__.

From-SVN: r67058

21 years agoinvoke.texi (Option Summary, [...]): Document new options.
Kevin B. Hendricks [Wed, 21 May 2003 03:59:21 +0000 (03:59 +0000)]
invoke.texi (Option Summary, [...]): Document new options.

        * doc/invoke.texi (Option Summary, PowerPC Options): Document
        new options.

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

21 years agoc-pretty-print.c (pp_c_integer_literal): Use HOST_WIDE_INT_PRINT_DOUBLE_HEX.
Kaveh R. Ghazi [Wed, 21 May 2003 01:39:38 +0000 (01:39 +0000)]
c-pretty-print.c (pp_c_integer_literal): Use HOST_WIDE_INT_PRINT_DOUBLE_HEX.

gcc:
* c-pretty-print.c (pp_c_integer_literal): Use
HOST_WIDE_INT_PRINT_DOUBLE_HEX.

cp:
* error.c (dump_expr): Use HOST_WIDE_INT_PRINT_DOUBLE_HEX.

From-SVN: r67055

21 years agogcse.c (cprop_jump): Make use of REG_EQUAL notes on both setcc and jump, if they...
Roger Sayle [Wed, 21 May 2003 01:16:33 +0000 (01:16 +0000)]
gcse.c (cprop_jump): Make use of REG_EQUAL notes on both setcc and jump, if they exist.

* gcse.c (cprop_jump):  Make use of REG_EQUAL notes on both
setcc and jump, if they exist.  If substituted instruction
fails to validate, store current effort in a REG_EQUAL note.
(cprop_insn): Don't attempt further substitutions if the
current instruction has been deleted.
(local_cprop_pass): Likewise.

* jump.c (redirect_jump):  Also update REG_EQUAL note, if
one is attached to the jump instruction.
(invert_jump): Delete REG_EQUAL note on jump, if one exists.

Co-Authored-By: Joern Rennecke <joern.rennecke@superh.com>
Co-Authored-By: Kazu Hirata <kazu@cs.umass.edu>
From-SVN: r67054

21 years ago* MAINTAINERS: Update my e-mail address.
Ian Lance Taylor [Wed, 21 May 2003 01:15:30 +0000 (01:15 +0000)]
* MAINTAINERS: Update my e-mail address.

From-SVN: r67053

21 years agostubs.c (hypot, [...]): Don't divide by zero.
Danny Smith [Wed, 21 May 2003 00:51:24 +0000 (00:51 +0000)]
stubs.c (hypot, [...]): Don't divide by zero.

* libmath/stubs.c (hypot, hypotf, hypotl): Don't divide by
zero.
Update copyright year.

From-SVN: r67051

21 years agoConcatenate one of the fprintf calls in the previous change.
Kaveh Ghazi [Wed, 21 May 2003 00:47:44 +0000 (00:47 +0000)]
Concatenate one of the fprintf calls in the previous change.

From-SVN: r67050

21 years agore PR c++/9738 ([mingw] Internal compiler error in rest_of_compilation, at toplev...
Danny Smith [Wed, 21 May 2003 00:33:27 +0000 (00:33 +0000)]
re PR c++/9738 ([mingw] Internal compiler error in rest_of_compilation, at toplev.c: 3491)

PR c++/9738

* config/i386/winnt.c (i386_pe_encode_section_info): Enable
even if not first.

* cp/decl.c (duplicate_decls): Re-invoke make_decl_rtl
if the old decl had instantiated DECL_RTL.
(Base on Richard Henderson 2003-05-13 patch to c-decl.c).

* testsuite/g++.dg/ext/dllimport2.C: New file.
* testsuite/g++.dg/ext/dllimport3.C: New file.

From-SVN: r67049

21 years agoDaily bump.
GCC Administrator [Wed, 21 May 2003 00:16:37 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r67047

21 years agogenautomata.c (output_description, [...]): Add missing specifiers.
Kaveh R. Ghazi [Wed, 21 May 2003 00:01:24 +0000 (00:01 +0000)]
genautomata.c (output_description, [...]): Add missing specifiers.

* genautomata.c (output_description, output_automaton_units,
output_state_arcs): Add missing specifiers.

From-SVN: r67045

21 years agolib1funcs.asm: Avoid use of .Lfe* in .size directives.
Bob Wilson [Tue, 20 May 2003 23:39:09 +0000 (23:39 +0000)]
lib1funcs.asm: Avoid use of .Lfe* in .size directives.

* config/xtensa/lib1funcs.asm: Avoid use of .Lfe* in .size directives.
(do_abs, do_addx2, do_addx4, do_addx8): New assembler macros.
(__mulsi3): Use do_addx* instead of ADDX* instructions.  Formatting.
(nsau): Rename to do_nsau.  Provide alternate version for use when
the NSAU instruction is available.
(__udivsi3, __divsi3, __umodsi3, __modsi3): Use do_nsau macro.
(__divsi3, __modsi3): Use do_abs macro instead of ABS instruction.
* config/xtensa/xtensa-config.h: Update comments to match binutils.
(XCHAL_HAVE_ABS, XCHAL_HAVE_ADDX): Define.
* config/xtensa/xtensa.h (MASK_ABS, MASK_ADDX): Define.
(TARGET_ABS, TARGET_ADDX): Define.
(TARGET_DEFAULT): Conditionally add MASK_ABS and MASK_ADDX.
(TARGET_SWITCHES): Add "abs", "no-abs", "addx", and "no-addx".
* config/xtensa/xtensa.md (*addx2, *addx4, *addx8, *subx2, *subx4,
*subx8): Set predicate condition to TARGET_ADDX.
(abssi2): Set predicate condition to TARGET_ABS.
* doc/invoke.texi (Option Summary): Document new "-mabs", "-mno-abs",
"-maddx", and "-mno-addx" options.
(Xtensa Options): Likewise.  Also tag some opcode names with @code.

From-SVN: r67044

21 years ago4.cc: Fix typo.
Paolo Carlini [Tue, 20 May 2003 23:03:28 +0000 (23:03 +0000)]
4.cc: Fix typo.

2003-05-20  Paolo Carlini  <pcarlini@unitus.it>

* testsuite/27_io/basic_filebuf/close/char/4.cc: Fix typo.

From-SVN: r67043

21 years ago5.cc: New file, further testing that upon filebuf::close() 27.8.1.1,3 is enforced.
Paolo Carlini [Tue, 20 May 2003 22:43:30 +0000 (00:43 +0200)]
5.cc: New file, further testing that upon filebuf::close() 27.8.1.1,3 is enforced.

2003-05-20  Paolo Carlini  <pcarlini@unitus.it>

* testsuite/27_io/basic_filebuf/close/char/5.cc: New file,
further testing that upon filebuf::close() 27.8.1.1,3 is enforced.

From-SVN: r67042

21 years agostl_alloc.h (__default_alloc_template::_S_chunk_alloc): Cast via void* to avoid ...
Gerald Pfeifer [Tue, 20 May 2003 22:29:54 +0000 (00:29 +0200)]
stl_alloc.h (__default_alloc_template::_S_chunk_alloc): Cast via void* to avoid -Wcast-align warnings.

* include/bits/stl_alloc.h (__default_alloc_template::_S_chunk_alloc):
Cast via void* to avoid -Wcast-align warnings.
(__default_alloc_template::_S_refill): Likewise.

From-SVN: r67041

21 years agoREADME: Move to...
Benjamin Kosnik [Tue, 20 May 2003 22:25:09 +0000 (22:25 +0000)]
README: Move to...

2003-05-20  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/README: Move to...
* docs/html/test.html: ...here. Add documentation.
* docs/html/install.html: Move testing bits out..
* docs/html/documentation.html: Add separate testing link.
        * testsuite/performance: Add.
        * testsuite/performance/allocator.cc: New.
        * testsuite/performance/complex_norm.cc: New.
        * testsuite/performance/cout_insert_int.cc: New.
        * testsuite/performance/fstream_seek_write.cc: New.
        * testsuite/performance/ifstream_getline.cc: New.
        * testsuite/performance/map_create_fill.cc: New.
        * testsuite/performance/ofstream_insert_float.cc: New.
        * testsuite/performance/ofstream_insert_int.cc: New.
        * testsuite/performance/string_append.cc: New.
* testsuite/lib/libstdc++-v3-dg.exp (v3-compute-tests): Filter
performance tests.

From-SVN: r67040

21 years agostruct-by-value-3_x.c: Move common pieces to headers.
Janis Johnson [Tue, 20 May 2003 22:15:45 +0000 (22:15 +0000)]
struct-by-value-3_x.c: Move common pieces to headers.

2003-05-20  Janis Johnson  <janis187@us.ibm.com>

* gcc.dg/compat/struct-by-value-3_x.c: Move common pieces to headers.
* gcc.dg/compat/struct-by-value-3_y.c: Ditto.
* gcc.dg/compat/struct-by-value-5_x.c: Ditto.
* gcc.dg/compat/struct-by-value-5_y.c: Ditto.
* gcc.dg/compat/struct-by-value-6_x.c: Ditto.
* gcc.dg/compat/struct-by-value-6_y.c: Ditto.
* gcc.dg/compat/struct-by-value-7_x.c Ditto.
* gcc.dg/compat/struct-by-value-7_y.c Ditto.
* gcc.dg/compat/small-struct-defs.h: New file.
* gcc.dg/compat/small-struct-init.h: New file.
* gcc.dg/compat/small-struct-check.h: New file.
* gcc.dg/compat/fp-struct-defs.h: New file.
* gcc.dg/compat/fp-struct-check.h: New file.
* gcc.dg/compat/fp-struct-init.h: New file.
* gcc.dg/compat/fp-struct-test-by-value-y.h: New file.
* gcc.dg/compat/fp-struct-test-by-value-x.h: New file.

* gcc.dg/compat/scalar-return-1_main.c: New file.
* gcc.dg/compat/scalar-return-1_x.c: New file.
* gcc.dg/compat/scalar-return-1_y.c: New file.
* gcc.dg/compat/scalar-return-2_main.c: New file.
* gcc.dg/compat/scalar-return-2_x.c: New file.
* gcc.dg/compat/scalar-return-2_y.c: New file.
* gcc.dg/compat/struct-return-3_main.c: New file.
* gcc.dg/compat/struct-return-3_y.c: New file.
* gcc.dg/compat/struct-return-3_x.c: New file.
* gcc.dg/compat/struct-return-2_main.c: New file.
* gcc.dg/compat/struct-return-2_x.c: New file.
* gcc.dg/compat/struct-return-2_y.c: New file.

From-SVN: r67038

21 years agodoc/extend.texi: Put warning into documentation of attribute regparm.
Kevin Ryde [Tue, 20 May 2003 22:13:34 +0000 (22:13 +0000)]
doc/extend.texi: Put warning into documentation of attribute regparm.

Co-Authored-By: Wolfgang Bangerth <bangerth@dealii.org>
From-SVN: r67037

21 years agofix whitespace
Jason Merrill [Tue, 20 May 2003 20:52:33 +0000 (16:52 -0400)]
fix whitespace

From-SVN: r67036

21 years agotree.c (expr_last): New fn.
Jason Merrill [Tue, 20 May 2003 20:24:08 +0000 (16:24 -0400)]
tree.c (expr_last): New fn.

        * tree.c (expr_last): New fn.
        * tree.h: Declare it.
        * objc/objc-act (expr_last): Rename to objc_expr_last.

From-SVN: r67035

21 years agosh.c (sh_register_move_cost): Add clase for moving between FP registers and MAC regis...
J"orn Rennecke [Tue, 20 May 2003 15:48:03 +0000 (15:48 +0000)]
sh.c (sh_register_move_cost): Add clase for moving between FP registers and MAC registers.

* sh.c (sh_register_move_cost): Add clase for moving between
FP registers and MAC registers.

From-SVN: r67028

21 years ago2003-05-20 Michael Koch <konqueror@gmx.de>
Michael Koch [Tue, 20 May 2003 11:53:11 +0000 (11:53 +0000)]
2003-05-20  Michael Koch  <konqueror@gmx.de>

* java/io/DataInputStream.java
(convertFromUTF): Merged comment from classpath.
* java/io/PrintStream.java
(error_occured): Renamed from error, merged comment from classpath.
(PrintStream): No need to initialized error.
(checkError): Replace error with error_occurred.
(setError): Likewise.

From-SVN: r66997

21 years agogcc_release (upload_files): Put diff files into a "diffs" subdirectory
Gerald Pfeifer [Tue, 20 May 2003 11:47:50 +0000 (13:47 +0200)]
gcc_release (upload_files): Put diff files into a "diffs" subdirectory

* gcc_release (upload_files): Put diff files into a "diffs"
subdirectory

From-SVN: r66996

21 years agoDataInputStream.java: Reformatted, Replaced < and & with html entitites in documentation.
Michael Koch [Tue, 20 May 2003 09:13:19 +0000 (09:13 +0000)]
DataInputStream.java: Reformatted, Replaced < and & with html entitites in documentation.

2003-05-20  Michael Koch  <konqueror@gmx.de>

* java/io/DataInputStream.java:
Reformatted, Replaced < and & with html entitites in documentation.
* java/io/File.java:
Reformatted.
* java/io/PrintWriter.java:
Moved class documentation.

From-SVN: r66992

21 years agoAccidently comitted this during last commit, revert this little change:
Michael Koch [Tue, 20 May 2003 09:04:38 +0000 (09:04 +0000)]
Accidently comitted this during last commit, revert this little change:

-TAR = tar
+TAR = gtar

From-SVN: r66991

21 years agoByteBufferImpl.java, [...]: Moved files to java/nio.
Michael Koch [Tue, 20 May 2003 08:58:31 +0000 (08:58 +0000)]
ByteBufferImpl.java, [...]: Moved files to java/nio.

2003-05-20  Michael Koch  <konqueror@gmx.de>

* gnu/java/nio/ByteBufferImpl.java,
gnu/java/nio/CharBufferImpl.java,
gnu/java/nio/CharViewBufferImpl.java,
gnu/java/nio/DirectByteBufferImpl.java,
gnu/java/nio/DoubleBufferImpl.java,
gnu/java/nio/DoubleViewBufferImpl.java,
gnu/java/nio/FloatBufferImpl.java,
gnu/java/nio/FloatViewBufferImpl.java,
gnu/java/nio/IntBufferImpl.java,
gnu/java/nio/IntViewBufferImpl.java,
gnu/java/nio/LongBufferImpl.java,
gnu/java/nio/LongViewBufferImpl.java,
gnu/java/nio/natDirectByteBufferImpl.cc,
gnu/java/nio/ShortBufferImpl.java,
gnu/java/nio/ShortViewBufferImpl.java:
Moved files to java/nio.
* gnu/java/nio/SocketChannelImpl.java

* java/nio/ByteBuffer.java,
java/nio/CharBuffer.java,
java/nio/DoubleBuffer.java,
java/nio/FloatBuffer.java,
java/nio/IntBuffer.java,
java/nio/LongBuffer.java,
java/nio/ShortBuffer.java:
Dont import anything.
* java/nio/ByteBufferImpl.java,
java/nio/CharBufferImpl.java,
java/nio/CharViewBufferImpl.java,
java/nio/DirectByteBufferImpl.java,
java/nio/DoubleBufferImpl.java,
java/nio/DoubleViewBufferImpl.java,
java/nio/FloatBufferImpl.java,
java/nio/FloatViewBufferImpl.java,
java/nio/IntBufferImpl.java,
java/nio/IntViewBufferImpl.java,
java/nio/LongBufferImpl.java,
java/nio/LongViewBufferImpl.java,
java/nio/natDirectByteBufferImpl.cc,
java/nio/ShortBufferImpl.java,
java/nio/ShortViewBufferImpl.java:
Moved from gnu/java/nio.
* Makefile.am
(ordinary_java_source_files): Moved files from gnu/java/nio to
java/nio.
(nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
to java/nio.
* Makefile.in: Regenerated.

From-SVN: r66990

21 years agore PR libstdc++/10689 (pow(std::complex(0),1/3) returns (nan, nan) instead of 0.)
Gabriel Dos Reis [Tue, 20 May 2003 06:52:11 +0000 (06:52 +0000)]
re PR libstdc++/10689 (pow(std::complex(0),1/3) returns (nan, nan) instead of 0.)

PR libstdc++/10689
* include/std/std_complex.h (pow): Tidy

From-SVN: r66989

21 years ago* config.table: Accept i[345867]86 variant.
Kelley Cook [Tue, 20 May 2003 02:49:26 +0000 (02:49 +0000)]
* config.table: Accept i[345867]86 variant.

From-SVN: r66986

21 years ago* pa/milli64.S ($$mulI): Fix typo.
John David Anglin [Tue, 20 May 2003 02:08:01 +0000 (02:08 +0000)]
* pa/milli64.S ($$mulI): Fix typo.

From-SVN: r66985

21 years ago* alias.c (nonlocal_mentioned_p, nonlocal_referenced_p)
Matt Kraai [Tue, 20 May 2003 01:49:12 +0000 (01:49 +0000)]
* alias.c (nonlocal_mentioned_p, nonlocal_referenced_p)
(nonlocal_set_p): Remove initial blank line.
* dwarf2out.c (simple_type_size_in_bits): Likewise.
* et-forest.c (et_forest_create): Likewise.
* explow.c (stabilize): Likewise.
* fix-header.c (write_lbrac): Likewise.
* graph.c (start_fct, node_data): Likewise.
* jump.c (only_sets_cc0_p, sets_cc0_p): Likewise.
* rtlanal.c (global_reg_mentioned_p): Likewise.
* tree.c (bit_position): Likewise.

From-SVN: r66984

21 years agoconfigure.in: Switch more things to use maybe dependencies.
Nathanael Nerode [Tue, 20 May 2003 01:04:20 +0000 (01:04 +0000)]
configure.in: Switch more things to use maybe dependencies.

2003-05-19  Nathanael Nerode  <neroden@gcc.gnu.org>

* configure.in: Switch more things to use maybe dependencies.
* Makefile.tpl: Switch more things to use maybe dependencies.
Factor out common code from autogen IF statements.
* configure: Regenerate.
* Makefile.in: Regenerate.

From-SVN: r66982

21 years agolinux64.h (LIB_SPEC): Add missing -lc and correct -lthread to -lpthread.
Alexandre Oliva [Tue, 20 May 2003 00:48:43 +0000 (00:48 +0000)]
linux64.h (LIB_SPEC): Add missing -lc and correct -lthread to -lpthread.

* config/mips/linux64.h (LIB_SPEC): Add missing -lc and correct
-lthread to -lpthread.

From-SVN: r66981

21 years agoDaily bump.
GCC Administrator [Tue, 20 May 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r66979

21 years agoc-opts.c (c_common_decode_option): Don't accept dollars as identifier characters...
Neil Booth [Mon, 19 May 2003 22:15:57 +0000 (22:15 +0000)]
c-opts.c (c_common_decode_option): Don't accept dollars as identifier characters in assembly.

* c-opts.c (c_common_decode_option): Don't accept dollars
as identifier characters in assembly.
* doc/cpp.texi: Document this.

From-SVN: r66976

21 years agors6000.c (rs6000_stack_info): Do not add vrsave_size twice.
Seth Arnold [Mon, 19 May 2003 21:33:57 +0000 (21:33 +0000)]
rs6000.c (rs6000_stack_info): Do not add vrsave_size twice.

2003-05-19  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.c (rs6000_stack_info): Do not add
        vrsave_size twice.

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

21 years agotm.texi (function_arg): Fix typo.
Aldy Hernandez [Mon, 19 May 2003 20:03:42 +0000 (20:03 +0000)]
tm.texi (function_arg): Fix typo.

2003-05-19  Aldy Hernandez  <aldyh@redhat.com>

        * doc/tm.texi (function_arg): Fix typo.

From-SVN: r66973

21 years agoAdd a new flag...
Matt Austern [Mon, 19 May 2003 19:19:46 +0000 (19:19 +0000)]
Add a new flag...

Add a new flag, -W(no-)invalid-offsetof, to control whether or
not the compiler warns about incorrect use of the offsetof macro
in C++.  By default the warning is on.

From-SVN: r66972

21 years ago4.cc: New file, testing that upon filebuf::close() 27.8.1.1,3 is enforced.
Paolo Carlini [Mon, 19 May 2003 18:12:34 +0000 (20:12 +0200)]
4.cc: New file, testing that upon filebuf::close() 27.8.1.1,3 is enforced.

2003-05-19  Paolo Carlini  <pcarlini@unitus.it>

* testsuite/27_io/basic_filebuf/close/char/4.cc: New file, testing
that upon filebuf::close() 27.8.1.1,3 is enforced.

From-SVN: r66970

21 years agoconfigure.in: Accept i[3456789]86 for machine type.
Kelley Cook [Mon, 19 May 2003 18:10:21 +0000 (18:10 +0000)]
configure.in: Accept i[3456789]86 for machine type.

* configure.in: Accept i[3456789]86 for machine type.
* configure: Regenerate.

From-SVN: r66969

21 years ago* acinclude.m4: Accept i[3456789]86 for machine type.
Kelley Cook [Mon, 19 May 2003 18:09:59 +0000 (18:09 +0000)]
* acinclude.m4: Accept i[3456789]86 for machine type.

From-SVN: r66968

21 years agors6000.c (rs6000_alignment_string, [...]): New variables.
Kevin B. Hendricks [Mon, 19 May 2003 17:39:51 +0000 (17:39 +0000)]
rs6000.c (rs6000_alignment_string, [...]): New variables.

2003-05-18  Kevin B. Hendricks  <kevin.hendricks@sympatico.ca>
            David Edelsohn  <edelsohn@gnu.org>

        * config/rs6000/rs6000.c (rs6000_alignment_string,
        rs6000_alignment_flags): New variables.
        (rs6000_parse_alignment_option): New function.
        (rs6000_override_options): Call it.
        * config/rs6000/rs6000.h (TARGET_OPTIONS): Add -malign-XXX option.
        (MASK_ALIGN_POWER, MASK_ALIGN_NATURAL, TARGET_ALIGN_NATURAL): New
        macros.
        * config/rs6000/aix.h (ADJUST_FIELD_ALIGN): Always use COMPUTED
        natural alignment if TARGET_NATURAL_ALIGNMENT
        (ROUND_TYPE_ALIGN): Always use default record alignment if
        TAGET_NATURAL_ALIGNMENT.
        * config/rs6000/darwin.h (ADJUST_FIELD_ALIGN): Same
        (ROUND_TYPE_ALIGN): Same.
        * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Same
        (ROUND_TYPE_ALIGN): Same.

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

21 years agoc-decl.c (finish_decl): When setting the DECL_ASSEMBLER_NAME of a function using...
J"orn Rennecke [Mon, 19 May 2003 16:41:47 +0000 (16:41 +0000)]
c-decl.c (finish_decl): When setting the DECL_ASSEMBLER_NAME of a function using ASMSPEC, prepend a star.

* c-decl.c (finish_decl): When setting the DECL_ASSEMBLER_NAME
of a function using ASMSPEC, prepend a star.

From-SVN: r66965

21 years agotree-inline.c (copy_body_r): Avoid generating &* during inline substitution.
Jason Merrill [Mon, 19 May 2003 16:17:32 +0000 (12:17 -0400)]
tree-inline.c (copy_body_r): Avoid generating &* during inline substitution.

        * tree-inline.c (copy_body_r): Avoid generating &* during inline
        substitution.

From-SVN: r66964

21 years ago* gcc.dg/20030225-2.c: New test.
Jakub Jelinek [Mon, 19 May 2003 12:15:33 +0000 (14:15 +0200)]
* gcc.dg/20030225-2.c: New test.

From-SVN: r66962

21 years agoFix comment-style.
Gabriel Dos Reis [Mon, 19 May 2003 11:04:18 +0000 (11:04 +0000)]
Fix comment-style.

From-SVN: r66957

21 years ago2003-05-19 Michael Koch <konqueror@gmx.de>
Michael Koch [Mon, 19 May 2003 09:14:57 +0000 (09:14 +0000)]
2003-05-19  Michael Koch  <konqueror@gmx.de>

* java/util/Calendar.java
(get): Not final anymore since JDK 1.4
(set): Likewise.

From-SVN: r66956

21 years agoCollationKey.java: Merged copyright and dat from classpath.
Michael Koch [Mon, 19 May 2003 09:09:23 +0000 (09:09 +0000)]
CollationKey.java: Merged copyright and dat from classpath.

2003-05-19  Michael Koch  <konqueror@gmx.de>

* java/text/CollationKey.java:
Merged copyright and dat from classpath.
* java/text/RuleBasedCollator.java:
Merged class documentation from classpath.

From-SVN: r66955

21 years ago(xstormy16_expand_prologue): Do not mark assignments to the hard frame pointer as...
Andrew MacLeod [Mon, 19 May 2003 08:48:20 +0000 (08:48 +0000)]
(xstormy16_expand_prologue): Do not mark assignments to the hard frame pointer as being stack frame related.

(xstormy16_expand_prologue): Do not mark assignments to the hard frame pointer
as being stack frame related.
(xstormy16_expand_epilogue): Mark adjustments to the stack pointer as being
stack frame related.

From-SVN: r66954

21 years ago2003-05-19 Michael Koch <konqueror@gmx.de>
Michael Koch [Mon, 19 May 2003 07:48:35 +0000 (07:48 +0000)]
2003-05-19  Michael Koch  <konqueror@gmx.de>

* java/nio/CharBuffer.java
(toString): Compile fix.

From-SVN: r66953

21 years agomips.h (ISA_HAS_LOAD_DELAY, [...]): New macros.
Richard Sandiford [Mon, 19 May 2003 07:36:28 +0000 (07:36 +0000)]
mips.h (ISA_HAS_LOAD_DELAY, [...]): New macros.

* config/mips/mips.h (ISA_HAS_LOAD_DELAY, ISA_HAS_XFER_DELAY,
ISA_HAS_FCMP_DELAY, ISA_HAS_HILO_INTERLOCKS): New macros.
(PREDICATE_CODES): Add hilo_operand.
* config/mips/mips.c (hilo_operand): New predicate.
(mips_adjust_insn_length): Account for the number nops that might
be needed to avoid hardware hazards.
* config/mips/mips.md (dslot): Remove attribute.
(hazard): New attribute.
(can_delay): Use it.  Check for calls, branches & jumps.
(muldi3): Use the standard dmult pattern for mips16 code.
(muldi3_internal, muldi3_internal2): Adjust conditions accordingly.

From-SVN: r66952

21 years agomips-protos.h (final_prescan_insn, [...]): Remove.
Richard Sandiford [Mon, 19 May 2003 07:33:33 +0000 (07:33 +0000)]
mips-protos.h (final_prescan_insn, [...]): Remove.

* config/mips/mips-protos.h (final_prescan_insn,
mips_count_memory_refs, mips_fill_delay_slot): Remove.
* config/mips/mips.h (delay_type, dslots_load_total,
dslots_load_filled, dslots_jump_total, dslots_jump_filled,
dslots_number_nops, num_refs, mips_load_reg, mips_load_reg2,
mips_load_reg3, mips_load_reg4): Remove.
(MASK_STATS): Remove.
(MASK_EXPLICIT_RELOCS): Reuse its value.
(TARGET_STATS): Remove.
(TARGET_SWITCHES): Turn -mstats and -mno-stats into no-ops.
Warn that -mstats is now ignored.
(FINAL_PRESCAN_INSN): Undefine.
(DBR_OUTPUT_SEQEND): Remove handling of dslot statistics.
(ASM_OUTPUT_REG_POP): Likewise.
* config/mips/mips.c (dslots_load_total, dslots_load_filled,
dslots_jump_total, dslots_jump_filled, dslots_number_nops, num_refs,
mips_load_reg, mips_load_reg2, mips_load_reg3, mips_load_reg4,
mips_fill_delay_slot, mips_count_memory_refs,
final_prescan_insn): Remove.
(output_block_move): Remove calls to mips_count_memory_refs.
(print_operand): Remove printing of #nop for TARGET_STATS.
(mips_output_function_epilogue): Remove TARGET_STATS code.
Reorganize setting of fnnmae.
* config/mips/mips.md: Remove handling of dslot statistics
throughout file.  Change all fcmp patterns into normal asm
templates, removing calls to mips_fill_delay_slot.
* doc/invoke.texi: Remove documentation of -mstats.

From-SVN: r66951

21 years agomips.c (mips_class_max_nregs): Return the number of words in the mode.
Richard Sandiford [Mon, 19 May 2003 07:30:12 +0000 (07:30 +0000)]
mips.c (mips_class_max_nregs): Return the number of words in the mode.

* config/mips/mips.c (mips_class_max_nregs): Return the number of
words in the mode.

From-SVN: r66950

21 years agomips.c (override_options): Disable explicit relocs for old ABIs unless using gas.
Richard Sandiford [Mon, 19 May 2003 07:27:45 +0000 (07:27 +0000)]
mips.c (override_options): Disable explicit relocs for old ABIs unless using gas.

* config/mips/mips.c (override_options): Disable explicit
relocs for old ABIs unless using gas.

From-SVN: r66949

21 years agoname-lookup.c (free_binding_entry): fix where the GTY markers are.
Andrew Pinski [Mon, 19 May 2003 07:02:12 +0000 (07:02 +0000)]
name-lookup.c (free_binding_entry): fix where the GTY markers are.

* name-lookup.c (free_binding_entry): fix where the GTY markers are.
(binding_entry_make): Make entry->chain NULL after getting an entry.
fix the spelling of chain in a comment.
(binding_table_free): speed up by having temporary variable.
(binding_table_new): set table->chain to be NULL after allocating
a table.
(cxx_binding_make): use gcc_alloc instead of ggc_alloc_cleared and set
binding->previous to NULL after getting an binding for speed.

From-SVN: r66948

21 years agomips.h: Remove definition of g_switch_value.
Eric Christopher [Mon, 19 May 2003 07:00:34 +0000 (07:00 +0000)]
mips.h: Remove definition of g_switch_value.

2003-05-18  Eric Christopher  <echristo@redhat.com>

* config/mips/mips.h: Remove definition of g_switch_value.

From-SVN: r66947

21 years ago2003-05-19 Michael Koch <konqueror@gmx.de>
Michael Koch [Mon, 19 May 2003 06:59:23 +0000 (06:59 +0000)]
2003-05-19  Michael Koch  <konqueror@gmx.de>

* gnu/java/nio/ByteBufferImpl.java
(putLong): Fixed conversion to bytes.
(putDouble): Fixed conversion to bytes.
* gnu/java/nio/DirectByteBufferImpl.java
(putLong): Fixed conversion to bytes.
(putDouble): Fixed conversion to bytes.
* gnu/java/nio/FileLockImpl.java
(isValid): Reformatted.
* java/nio/Buffer.java
(Buffer): Fixed off-by-one bug in handling mark.
* java/nio/ByteBuffer.java:
Added newline.
* java/nio/CharBuffer.java
(toString): Don't use relative get to get string data.

From-SVN: r66946

21 years agoflags.h (g_switch_value): Change to an unsigned HOST_WIDE_INT.
Matt Kraai [Mon, 19 May 2003 00:31:10 +0000 (00:31 +0000)]
flags.h (g_switch_value): Change to an unsigned HOST_WIDE_INT.

* flags.h (g_switch_value): Change to an unsigned
HOST_WIDE_INT.
* toplev.c (g_switch_value): Likewise.

* config/alpha/alpha.c (small_symbolic_operand): Remove
g_switch_value cast.
(alpha_in_small_data_p): Cast size to an unsigned
HOST_WIDE_INT.

* config/frv/frv.c (frv_in_small_data_p): Cast size to an
unsigned HOST_WIDE_INT.
* config/frv/frv.h (g_switch_value, g_switch_set): Remove.
(ASM_OUTPUT_ALIGNED_DECL_LOCAL): Declare g_switch_set.

* config/m32r/m32r.c (m32r_in_small_data_p): Cast size to an
unsigned HOST_WIDE_INT.
(m32r_asm_file_start): Use HOST_WIDE_INT_PRINT_UNSIGNED.
* config/m32r/m32r.h (g_switch_value, g_switch_set): Remove.
(ASM_OUTPUT_ALIGNED_COMMON): Declare g_switch_value.

* config/rs6000/rs6000.c (rs6000_file_start): Use
HOST_WIDE_INT_PRINT_UNSIGNED.
(small_data_operand): Cast summand to unsigned HOST_WIDE_INT.
(rs6000_elf_in_small_data_p): Cast size to unsigned
HOST_WIDE_INT.
* config/rs6000/sysv4.h (g_switch_value, g_switch_set):
Remove.
(SUBTARGET_OVERRIDE_OPTIONS): Declare g_switch_value and
g_switch_set.
(ASM_OUTPUT_ALIGNED_LOCAL): Declare g_switch_value and remove
g_switch_value cast.

From-SVN: r66945

21 years agoDaily bump.
GCC Administrator [Mon, 19 May 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r66943

21 years agore PR middle-end/10472 (ICE in instantiate_virtual_regs_lossage)
Roger Sayle [Sun, 18 May 2003 22:50:29 +0000 (22:50 +0000)]
re PR middle-end/10472 (ICE in instantiate_virtual_regs_lossage)

PR middle-end/10472
* builtins.c (expand_builtin_memcpy):  Call force_operand on
expressions and use simplify_gen_binary to create the addition.

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

Co-Authored-By: Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
Co-Authored-By: Zack Weinberg <zack@codesourcery.com>
From-SVN: r66941

21 years ago* config/m68k/m68k.md: Use define_constants for unspec numbers.
Andreas Schwab [Sun, 18 May 2003 21:51:14 +0000 (21:51 +0000)]
* config/m68k/m68k.md: Use define_constants for unspec numbers.

From-SVN: r66939