OSDN Git Service

pf3gnuchains/gcc-fork.git
21 years ago PR c++/1255
mmitchel [Tue, 17 Jun 2003 22:24:58 +0000 (22:24 +0000)]
PR c++/1255
* class.c (handle_using_decl): Robustify.

PR c++/1255
* g++.dg/lookup/using3.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68118 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago(toplev)
neroden [Tue, 17 Jun 2003 21:53:49 +0000 (21:53 +0000)]
(toplev)
* Makefile.tpl: Remove BUILD_CC stuff.
* Makefile.in: Regenerate.
(gcc)
* configure.in: Replace BUILD_CC references with CC_FOR_BUILD.
* configure: Regenerate.
* Makefile.in: Replace BUILD_CC references with CC_FOR_BUILD.
(gcc/f)
* Make-lang.in: Replace BUILD_CC references with CC_FOR_BUILD.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68115 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * install.texi (Testing): Add information on how to run Java
gerald [Tue, 17 Jun 2003 21:28:05 +0000 (21:28 +0000)]
* install.texi (Testing): Add information on how to run Java
runtime tests separately.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68114 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/mips/mips.md (trap): Use break 0 when !TARGET_GAS.
ro [Tue, 17 Jun 2003 20:50:41 +0000 (20:50 +0000)]
* config/mips/mips.md (trap): Use break 0 when !TARGET_GAS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68112 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/mips/iris6-o32.h (MIPS_ISA_DEFAULT): Remove.
ro [Tue, 17 Jun 2003 20:49:22 +0000 (20:49 +0000)]
* config/mips/iris6-o32.h (MIPS_ISA_DEFAULT): Remove.
(MIPS_CPU_STRING_DEFAULT): Redefine to mips2.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68111 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* doc/install.texi: Add msvc rebuild caveat.
cgf [Tue, 17 Jun 2003 20:07:35 +0000 (20:07 +0000)]
* doc/install.texi: Add msvc rebuild caveat.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68109 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/sh/coff.h: Replace Hitachi with Renesas.
kazu [Tue, 17 Jun 2003 19:19:16 +0000 (19:19 +0000)]
* config/sh/coff.h: Replace Hitachi with Renesas.
* config/sh/elf.h: Likewise.
* config/sh/embed-elf.h: Likewise.
* config/sh/lib1funcs.asm: Likewise.
* config/sh/sh-protos.h: Likewise.
* config/sh/sh.c: Likewise.
* config/sh/sh.h: Likewise.
* config/sh/sh.md: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68107 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-06-17 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 17 Jun 2003 19:11:56 +0000 (19:11 +0000)]
2003-06-17  Michael Koch  <konqueror@gmx.de>

* java/net/InetSocketAddress.java
(InetSocketAddress): Use wildcard address if addr is null.
(InetSocketAddress): Dont duplicate implementation.
(InetSocketAddress): Throw exception when hostname is null.
* java/net/Socket.java:
Reworked imports.
(Socket): Throw exception when raddr is null, handle case when laddr
is null.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68106 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-06-17 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 17 Jun 2003 19:09:56 +0000 (19:09 +0000)]
2003-06-17  Michael Koch  <konqueror@gmx.de>

* java/nio/DirectByteBufferImpl.java
(address): Made package private.
(DirectByteBufferImpl): New constructor.
* java/nio/natDirectByteBufferImpl.cc
(allocateImpl): Moved to java.nio namespace, implemented.
(freeImpl): Likewise.
(getImpl): Likewise.
(putImpl): Likewise.
* jni.cc
(_Jv_JNI_NewDirectByteBuffer): Implemented.
(_Jv_JNI_GetDirectBufferAddress): Implemented.
(_Jv_JNI_GetDirectBufferCapacity): Implemented.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68105 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * ChangeLog.3: Fix comment typos.
kazu [Tue, 17 Jun 2003 19:03:12 +0000 (19:03 +0000)]
* ChangeLog.3: Fix comment typos.
* ChangeLog.6: Likewise.
* config/d30v/d30v.c: Likewise.
* config/h8300/h8300.md: Likewise.
* config/m32r/m32r.md: Likewise.
* config/mips/mips.c: Likewise.
* config/mips/mips.md: Likewise.
* config/ns32k/NOTES: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68104 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * doc/sourcebuild.texi (libgcj Tests): Simplify instructions on how
gerald [Tue, 17 Jun 2003 19:00:40 +0000 (19:00 +0000)]
* doc/sourcebuild.texi (libgcj Tests): Simplify instructions on how
to run Java runtime tests separately.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68103 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/h8300-protos.h: Update a comment.
kazu [Tue, 17 Jun 2003 17:15:31 +0000 (17:15 +0000)]
* config/h8300/h8300-protos.h: Update a comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68101 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * sh.h (ROUND_TYPE_ALIGN, LOCAL_ALIGNMENT): Complex modes
amylaar [Tue, 17 Jun 2003 17:12:57 +0000 (17:12 +0000)]
* sh.h (ROUND_TYPE_ALIGN, LOCAL_ALIGNMENT): Complex modes
are aligned like integral modes.
(SH5_WOULD_BE_PARTIAL_NREGS): Also test for CDImode and DCmode.

* sh.h (EXTRA_CONSTRAINT_Csy): Allow PIC_DIRECT_ADDR_P.
(LEGITIMATE_PIC_OPERAND_P): Allow LABEL_REF.
* sh.md (*pt): Remove.

* sh.h (REG_ALLOC_ORDER): Avoid squandering call-saved registers.

* sh.md (return_media_rte): New pattern.
(return_media): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68100 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * doc/contrib.texi: Replace Hitachi with Renesas.
kazu [Tue, 17 Jun 2003 17:03:00 +0000 (17:03 +0000)]
* doc/contrib.texi: Replace Hitachi with Renesas.
* doc/install.texi: Likewise.
* doc/invoke.texi: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68096 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR c++/11105
mmitchel [Tue, 17 Jun 2003 16:58:19 +0000 (16:58 +0000)]
PR c++/11105
* cp-tree.h (DECL_CONV_FN_TYPE): New method.
* mangle.c (struct globals): Remove internal_mangling_p.
(write_unqualified_name): Use DECL_CONV_FN_TYPE.
(write_template_parm): Don't write out the level number.
(conv_type_names): New variable.
(hash_type): New function.
(compare_type): Likewise.
(mangle_conv_op_name_for_type): Don't try to mangle conversion
operator names.
* search.c (lookup_conversion_operator): New function.
(lookup_fnfields_1): Use it.

PR c++/11105
* g++.dg/abi/conv1.C: Remove it.
* g++.dg/template/conv7.C: New test.
* g++.dg/template/conv8.C: Likewise.
* g++.old-deja/g++.ext/pretty2.C: Do not test __FUNCTION__ for a
conversion operator.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68095 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Tue, 17 Jun 2003 16:47:06 +0000 (16:47 +0000)]
2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* doc/tm.texi (MD_FALLBACK_FRAME_STATE_FOR): Mention MAKE_THROW_FRAME.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68094 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcc.dg/compat/compat-common.h (DEBUG_INIT): New.
janis [Tue, 17 Jun 2003 16:28:56 +0000 (16:28 +0000)]
* gcc.dg/compat/compat-common.h (DEBUG_INIT): New.
* gcc.dg/compat/scalar-by-value-1_x.c: Use it.
* gcc.dg/compat/scalar-by-value-2_x.c: Ditto.
* gcc.dg/compat/scalar-by-value-3_x.c: Ditto.
* gcc.dg/compat/scalar-by-value-4_x.c: Ditto.
* gcc.dg/compat/scalar-return-1_x.c: Ditto.
* gcc.dg/compat/scalar-return-2_x.c: Ditto.
* gcc.dg/compat/scalar-return-3_x.c: Ditto.
* gcc.dg/compat/scalar-return-4_x.c: Ditto.
* gcc.dg/compat/struct-by-value-10_x.c: Ditto.
* gcc.dg/compat/struct-by-value-11_x.c: Ditto.
* gcc.dg/compat/struct-by-value-12_x.c: Ditto.
* gcc.dg/compat/struct-by-value-13_x.c: Ditto.
* gcc.dg/compat/struct-by-value-14_x.c: Ditto.
* gcc.dg/compat/struct-by-value-15_x.c: Ditto.
* gcc.dg/compat/struct-by-value-16_x.c: Ditto.
* gcc.dg/compat/struct-by-value-17_x.c: Ditto.
* gcc.dg/compat/struct-by-value-18_x.c: Ditto.
* gcc.dg/compat/struct-by-value-2_x.c: Ditto.
* gcc.dg/compat/struct-by-value-3_x.c: Ditto.
* gcc.dg/compat/struct-by-value-4_x.c: Ditto.
* gcc.dg/compat/struct-by-value-5_x.c: Ditto.
* gcc.dg/compat/struct-by-value-6_x.c: Ditto.
* gcc.dg/compat/struct-by-value-7_x.c: Ditto.
* gcc.dg/compat/struct-by-value-8_x.c: Ditto.
* gcc.dg/compat/struct-by-value-9_x.c: Ditto.
* gcc.dg/compat/struct-return-10_x.c: Ditto.
* gcc.dg/compat/struct-return-2_x.c: Ditto.
* gcc.dg/compat/struct-return-3_x.c: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68093 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * sh.h (CONST_OK_FOR_J16): Fix HOST_BITS_PER_WIDE_INT >= 64
amylaar [Tue, 17 Jun 2003 16:28:15 +0000 (16:28 +0000)]
* sh.h (CONST_OK_FOR_J16): Fix HOST_BITS_PER_WIDE_INT >= 64
behaviour.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68092 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Tue, 17 Jun 2003 15:56:09 +0000 (15:56 +0000)]
2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* include/powerpc-signal.h: New File.
* configure.in: Use it.
* configure: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68088 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Tue, 17 Jun 2003 15:53:35 +0000 (15:53 +0000)]
2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* config/rs6000/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Partly revert
2003-01-23 patch. Corrected to handle kernels with changed ucontext.

* config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Error on invalid
-msdata=eabi usages.

* gcc/config/rs6000/sysv4.h (USE_LIBC_1): Delete all uses.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68087 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-06-17 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 17 Jun 2003 14:16:22 +0000 (14:16 +0000)]
2003-06-17  Michael Koch  <konqueror@gmx.de>

* java/util/Locale.java
(getDisplayLanguage): Made it final.
(getDisplayCountry): Likewise.
(getDisplayVariant): Likewise.
(getDisplayName): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68086 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agogcc:
ghazi [Tue, 17 Jun 2003 14:10:01 +0000 (14:10 +0000)]
gcc:
* alloc-pool.c: Don't check HAVE_LONG_DOUBLE.
* fixinc/gnu-regex.c: Don't define `volatile'.
* ggc-page.c: Don't check HAVE_LONG_DOUBLE.
* ggc-simple.c: Likewise.
* system.h: Don't define `volatile'.

* aclocal.m4 (gcc_AC_C_VOLATILE, gcc_AC_C_LONG_DOUBLE): Delete.
* configure.in (gcc_AC_C_VOLATILE, gcc_AC_C_LONG_DOUBLE): Don't
call these macros.
* config.in, configure: Regenerated.

include:
* ansidecl.h: Delete HAVE_LONG_DOUBLE GCC bootstrap support.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68085 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-06-17 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 17 Jun 2003 14:05:17 +0000 (14:05 +0000)]
2003-06-17  Michael Koch  <konqueror@gmx.de>

* java/util/PropertyResourceBundle.java:
Removed unneeded import.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68084 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/ia64/ia64.c (ia64_expand_builtin, case IA64_BUILTIN_BSP):
kenner [Tue, 17 Jun 2003 13:40:37 +0000 (13:40 +0000)]
* config/ia64/ia64.c (ia64_expand_builtin, case IA64_BUILTIN_BSP):
Handle POINTERS_EXTEND_UNSIGNED.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68083 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-06-17 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 17 Jun 2003 13:01:21 +0000 (13:01 +0000)]
2003-06-17  Michael Koch  <konqueror@gmx.de>

* java/util/prefs/AbstractPreferences.java,
java/util/prefs/PreferencesFactory.java:
Reworked imports, removed unused imports.
* java/util/prefs/Preferences.java
(systemNodeForPackage): Method takes a Class not an Object.
(userNodeForPackage): Likewise.
(nodeForPackage): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68081 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-06-17 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 17 Jun 2003 12:57:35 +0000 (12:57 +0000)]
2003-06-17  Michael Koch  <konqueror@gmx.de>

* gnu/java/security/x509/X509Certificate.java:
Explicitely import used classes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68080 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-06-17 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 17 Jun 2003 12:07:56 +0000 (12:07 +0000)]
2003-06-17  Michael Koch  <konqueror@gmx.de>

* java/util/zip/ZipEntry.java,
java/util/zip/ZipFile.java,
java/util/zip/ZipInputStream.java,
java/util/zip/ZipOutputStream.java:
Reworked imports, only import used classes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68079 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-06-17 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 17 Jun 2003 12:01:37 +0000 (12:01 +0000)]
2003-06-17  Michael Koch  <konqueror@gmx.de>

* gnu/java/lang/ArrayHelper.java,
gnu/java/lang/ClassHelper.java:
Reformatted to match classpath's versions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68078 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/mips/mips.c (TARGET_ASM_UNALIGNED_DI_OP) [TARGET_IRIX5 &&
ro [Tue, 17 Jun 2003 11:44:52 +0000 (11:44 +0000)]
* config/mips/mips.c (TARGET_ASM_UNALIGNED_DI_OP) [TARGET_IRIX5 &&
!TARGET_IRIX6]: Define as NULL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68077 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * MAINTAINERS (Write After Approval): Remove Andrew Haley.
kazu [Tue, 17 Jun 2003 10:00:52 +0000 (10:00 +0000)]
* MAINTAINERS (Write After Approval): Remove Andrew Haley.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68075 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcc_release (build_tarfile): Build .bz2 files instead of .gz files.
gerald [Tue, 17 Jun 2003 09:02:45 +0000 (09:02 +0000)]
* gcc_release (build_tarfile): Build .bz2 files instead of .gz files.
(build_bz2): Rename to build_gzip and create .gz files from .bz2
files instead of the other way around.
(build_gzip): New function.
(build_diffs): Build .bz2 files instead of .gz files.
(build_diff): Use .bz2 files instead of .gz files.
Make an error message independent of the compression format.
(MODE_BZIP2): Rename to MODE_GZIP.  Related changes to the
invocation of this script.
(MODE_GZIP): New variable.
(OLD_TARS): Use .bz2 archive of the previous snapshot.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68074 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/sparc/sparc.c (sparc_va_arg): Don't align 16-byte+ structures.
ebotcazou [Tue, 17 Jun 2003 08:12:16 +0000 (08:12 +0000)]
* config/sparc/sparc.c (sparc_va_arg): Don't align 16-byte+ structures.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68073 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * dbxout.c (dbxout_source_line_counter): New global variable.
ebotcazou [Tue, 17 Jun 2003 08:06:58 +0000 (08:06 +0000)]
* dbxout.c (dbxout_source_line_counter): New global variable.
Mark it with GTY(()).
(dbxout_source_line): Increment dbxout_source_line_counter
and pass it to ASM_OUTPUT_SOURCE_LINE.
* sdbout.c (sdbout_source_line_counter): New global variable.
Mark it with GTY(()).
(unnamed_struct_number): Mark it with GTY(()).
(sdbout_source_line): Increment sdbout_source_line_counter
and pass it to ASM_OUTPUT_SOURCE_LINE.
* xcoffout.c (ASM_OUTPUT_SOURCE_LINE): Add third parameter
(xcoffout_source_line): Pass 0 as third argument to
ASM_OUTPUT_SOURCE_LINE.
(xcoffout_begin_prologue): Likewise.
* config/dbxout.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
Use it instead of 'sym_lineno' but without incrementing it.
* config/dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
* config/lynx.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
* config/ptx4.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
* config/alpha/alpha.c (alpha_start_function): Pass 0 as third
argument to ASM_OUTPUT_SOURCE_LINE.
* config/alpha/alpha.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
* config/arm/aout.h: Remove useless comment.
* config/avr/avr.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
* config/i960/i960.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
* config/m32r/m32r.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
Use it instead of 'sym_lineno' but without incrementing it.
* config/m68k/hp320.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
* config/mcore/mcore-pe.h (ASM_OUTPUT_SOURCE_LINE): Add third
parameter. Use it instead of 'sym_lineno' but without incrementing it.
* config/mips/mips.c (mips_output_function_prologue): Pass 0 as third
argument to ASM_OUTPUT_SOURCE_LINE.
* config/mips/mips.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
* config/mmix/mmix.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
* config/pa/som.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
Use it instead of 'sym_lineno' but without incrementing it.
* config/rs6000/linux64.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
* config/sh/elf.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
* config/sparc/aout.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
* config/sparc/pbd.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
* doc/tm.texi (ASM_OUTPUT_SOURCE_LINE): Document third parameter.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68072 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/mips/mips-protos.h (mips_expand_block_move): Declare.
rsandifo [Tue, 17 Jun 2003 06:44:46 +0000 (06:44 +0000)]
* config/mips/mips-protos.h (mips_expand_block_move): Declare.
(expand_block_move, output_block_move): Remove.
* config/mips/mips.h (enum block_move_type): Remove.
* config/mips/mips.c (block_move_call, output_block_move): Remove.
(mips_block_move_straight, mips_adjust_block_mem): New function.
(mips_block_move_loop): Renamed and reworked from block_move_loop.
(mips_expand_block_move): Likewise expand_block_move.  Return false
to fall back on the target-independent code.
* config/mips/mips.md (movstrsi): Use mips_expand_block_move.
(movstrsi_internal*): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68071 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cpplib.h, cpphash.h, cppcharset.c, cpperror.c, cppexp.c
zack [Tue, 17 Jun 2003 06:17:44 +0000 (06:17 +0000)]
* cpplib.h, cpphash.h, cppcharset.c, cpperror.c, cppexp.c
* cppfiles.c, cpphash.c, cppinit.c, cpplex.c, cpplib.c
* cppmacro.c, cpppch.c, cpptrad.c, cppspec.c: Convert to
ISO C: new-style function declarations, no need for PARAMS,
no special punctuation on indirect function calls, use string
constant concatenation where convenient.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68070 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 17 Jun 2003 06:09:55 +0000 (06:09 +0000)]
2003-06-17  Benjamin Kosnik  <bkoz@redhat.com>

* config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.3.0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68069 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago03-06-16 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 17 Jun 2003 05:46:01 +0000 (05:46 +0000)]
03-06-16  Benjamin Kosnik  <bkoz@redhat.com>

* Makefile.am (check-abi): Move...
(new-abi-baseline): Move...
* testsuite/Makefile.am: ...here.
(new-abi-baseline): Conditionalize.
(check-abi): Conditionalize.
(check-abi-verbose): New.
* Makefile.in: Regenerate.
* testsuite/Makefile.in: Regenerate.
* configure.in: Consolidate testsuite configure bits.
* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Same.
* configure: Regenerate.
* aclocal.m4: Regenerate.
* testsuite/abi_check.cc: Add --check-verbose.
Only output detailed information if --check-verbose.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68067 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * rtl.h: Remove declarations from coverage.h.
aj [Tue, 17 Jun 2003 05:09:13 +0000 (05:09 +0000)]
* rtl.h: Remove declarations from coverage.h.
* toplev.c: Include coverage.h.
* Makefile.in (toplev.o): Depend on coverage.h.

* toplev.h: Remove extra declaration of print_time.

* gengtype.c (close_output_files): Remove duplicated declaration.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68066 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * except.c: Remove duplicate declaration of push_eh_cleanup.
aj [Tue, 17 Jun 2003 05:08:00 +0000 (05:08 +0000)]
* except.c: Remove duplicate declaration of push_eh_cleanup.

* call.c: Remove extra declaration of inhibit_warnings.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68065 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * bindgen.adb (Gen_Main_Ada, Gen_Main_C): Do not test
kraai [Tue, 17 Jun 2003 02:55:27 +0000 (02:55 +0000)]
* bindgen.adb (Gen_Main_Ada, Gen_Main_C): Do not test
Bind_Main_Program.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68061 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/sparc/sysv4.h: Remove target-independent comment;
neroden [Tue, 17 Jun 2003 01:31:39 +0000 (01:31 +0000)]
* config/sparc/sysv4.h: Remove target-independent comment;
replace "GNU CC" with "GCC".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68058 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/vxworks.h: Replace "GNU compiler" with "GCC".
neroden [Tue, 17 Jun 2003 01:07:04 +0000 (01:07 +0000)]
* config/vxworks.h: Replace "GNU compiler" with "GCC".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68057 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/sparc/aout.h, config/sparc/biarch64.h, config/sparc/elf.h,
neroden [Tue, 17 Jun 2003 01:00:44 +0000 (01:00 +0000)]
* config/sparc/aout.h, config/sparc/biarch64.h, config/sparc/elf.h,
config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
config/sparc/lite.h, config/sparc/litecoff.h, config/sparc/liteelf.h,
config/sparc/netbsd-elf.h, config/sparc/openbsd.h,
config/sparc/rtemself.h, config/sparc/sol2-64.h,
config/sparc/sol2-bi.h, config/sparc/sol2-gas-bi.h,
config/sparc/sol2-gld-bi.h, config/sparc/sol2-gld.h,
config/sparc/sol2.h, config/sparc/sp64-aout.h,
config/sparc/sp64-elf.h, config/sparc/sp86x-elf.h,
config/sparc/sparc-protos.h, config/sparc/sysv4-only.h: Replace
"GNU compiler", "GNU CC" with "GCC".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68056 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/sparc/cypress.md, config/sparc/hypersparc.md,
neroden [Tue, 17 Jun 2003 00:39:21 +0000 (00:39 +0000)]
* config/sparc/cypress.md, config/sparc/hypersparc.md,
config/sparc/sparc-modes.def, config/sparc/sparc.c,
config/sparc/sparc.md, config/sparc/sparclet.md,
config/sparc/supersparc.md, config/sparc/ultra1_2.md,
config/sparc/ultra3.md: Replace "GNU CC", "GNU Compiler", and
"GNU C Compiler" with "GCC".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68055 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/ip2k/ip2k.h: Replace "GNU CC" and "GNU compiler" with "GCC".
neroden [Tue, 17 Jun 2003 00:16:40 +0000 (00:16 +0000)]
* config/ip2k/ip2k.h: Replace "GNU CC" and "GNU compiler" with "GCC".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68054 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Tue, 17 Jun 2003 00:16:09 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68052 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago 2003-06-16 Jens-Michael Hoffmann <jensmh@gmx.de>
neroden [Tue, 17 Jun 2003 00:06:38 +0000 (00:06 +0000)]
2003-06-16  Jens-Michael Hoffmann  <jensmh@gmx.de>
* mangle.c: Convert to ISO C.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68050 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-06-16 Aldy Hernandez <aldyh@redhat.com>
aldyh [Tue, 17 Jun 2003 00:05:09 +0000 (00:05 +0000)]
2003-06-16  Aldy Hernandez  <aldyh@redhat.com>

* simplify-rtx.c (simplify_subreg): Do not over-extend vector
constants.

* testsuite/gcc.c-torture/execute/simd-4.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68049 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-06-16 Aldy Hernandez <aldyh@redhat.com>
aldyh [Tue, 17 Jun 2003 00:03:24 +0000 (00:03 +0000)]
2003-06-16  Aldy Hernandez  <aldyh@redhat.com>

* simplify-rtx.c (simplify_subreg): Do not over-extend vector
constants.

* testsuite/gcc.c-torture/execute/simd-4.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68047 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/ip2k/ip2k.h: Remove target-independent comments.
neroden [Tue, 17 Jun 2003 00:03:11 +0000 (00:03 +0000)]
* config/ip2k/ip2k.h: Remove target-independent comments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68046 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config.gcc: Explicitly mention elfos.h in ip2k entry.
neroden [Mon, 16 Jun 2003 22:38:25 +0000 (22:38 +0000)]
* config.gcc: Explicitly mention elfos.h in ip2k entry.
* config/ip2k/ip2k.h: Don't #include it here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68045 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-06-16 Andreas Jaeger <aj@suse.de>
bkoz [Mon, 16 Jun 2003 22:09:03 +0000 (22:09 +0000)]
2003-06-16  Andreas Jaeger  <aj@suse.de>

        * testsuite/abi_check.cc: Create summary report.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68044 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agocp:
ghazi [Mon, 16 Jun 2003 21:41:10 +0000 (21:41 +0000)]
cp:
* cp/decl.c, cp/pt.c, cp/search.c, cp/tree.c: Don't use the PTR
macro.

gcc:
* bitmap.c, builtins.c, c-incpath.c, cgraph.c, config/frv/frv.c,
config/mips/mips.c, cppfiles.c, cpphash.c, cppinit.c, cpplib.c,
dwarf2out.c, dwarfout.c, except.c, expr.c, expr.h, fold-const.c,
function.c, gcc.c, genoutput.c, gensupport.c, global.c,
haifa-sched.c, hashtable.c, ifcvt.c, integrate.c, local-alloc.c,
loop.c, mips-tdump.c, mips-tfile.c, mkdeps.c, protoize.c,
read-rtl.c, recog.h, reload1.c, sbitmap.c, ssa-dce.c,
stringpool.c, tlink.c, tree.c, varasm.c, varray.c: Don't use
the PTR macro.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68043 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gengtype.c: Don't use UNION_INIT_ZERO.
ghazi [Mon, 16 Jun 2003 21:29:20 +0000 (21:29 +0000)]
* gengtype.c: Don't use UNION_INIT_ZERO.
* system.h (UNION_INIT_ZERO): Delete.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68042 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-06-16 Paolo Carlini <pcarlini@unitus.it>
paolo [Mon, 16 Jun 2003 21:24:40 +0000 (21:24 +0000)]
2003-06-16  Paolo Carlini  <pcarlini@unitus.it>

* testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Fix
for systems with BUFSIZ != 8192.
* testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
* testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc:
Minor tweaks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68041 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * tree.c: Convert to ISO C.
neroden [Mon, 16 Jun 2003 21:04:12 +0000 (21:04 +0000)]
* tree.c: Convert to ISO C.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68040 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-06-16 Richard Henderson <rth@redhat.com>
aldyh [Mon, 16 Jun 2003 20:56:20 +0000 (20:56 +0000)]
2003-06-16  Richard Henderson  <rth@redhat.com>

* simplify-rtx.c (simplify_subreg): Use GET_MODE_SIZE instead of
GET_MODE_UNIT_SIZE when simplifying constant vectors.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68038 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * timevar.c (get_run_time): Remove function provided also by
aj [Mon, 16 Jun 2003 20:40:47 +0000 (20:40 +0000)]
* timevar.c (get_run_time): Remove function provided also by
libiberty.
* timevar.h: Remove get_run_time declaration.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68037 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/m68hc11/m68hc11.c (m68hc11_rtx_costs): Remove
kazu [Mon, 16 Jun 2003 20:14:44 +0000 (20:14 +0000)]
* config/m68hc11/m68hc11.c (m68hc11_rtx_costs): Remove
unreachable code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68036 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * builtin-attrs.def, builtin-attrs.def, builtins.c, cpplex.c,
ghazi [Mon, 16 Jun 2003 19:14:22 +0000 (19:14 +0000)]
* builtin-attrs.def, builtin-attrs.def, builtins.c, cpplex.c,
cpplib.c, gencheck.c, gengenrtl.c, machmode.def, protoize.c: Don't
use macros from "symcat.h", instead rely on ISO C.

* system.h: Don't include "symcat.h".
* configure.in (AC_C_STRINGIZE): Delete.
* config.in, configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68035 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * lib/gcc-dg.exp (dg-xfail-if): Fix thinko.
mmitchel [Mon, 16 Jun 2003 19:12:15 +0000 (19:12 +0000)]
* lib/gcc-dg.exp (dg-xfail-if): Fix thinko.
* gcc.c-torture/compile/simd-5.c: Remove spurious PowerPC-64 XFAIL
indications.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68034 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcc.c-torture/compile/simd-5.c: Correct SPARC XFAIL indications.
mmitchel [Mon, 16 Jun 2003 19:04:36 +0000 (19:04 +0000)]
* gcc.c-torture/compile/simd-5.c: Correct SPARC XFAIL indications.
Remove spurious PowerPC-64 XFAIL indications.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68033 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * Makefile.in (install-mkheaders): Use INSTALL_SCRIPT for scripts.
kenner [Mon, 16 Jun 2003 19:00:37 +0000 (19:00 +0000)]
* Makefile.in (install-mkheaders): Use INSTALL_SCRIPT for scripts.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68032 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoWhitespace change.
kenner [Mon, 16 Jun 2003 18:56:09 +0000 (18:56 +0000)]
Whitespace change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68031 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-06-16 Andreas Jaeger <aj@suse.de>
bkoz [Mon, 16 Jun 2003 18:44:50 +0000 (18:44 +0000)]
2003-06-16  Andreas Jaeger  <aj@suse.de>

* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Make
check-abi multilib aware.
* aclocal.m4: Regenerate.
* configure: Regenerate.

2003-06-16  Benjamin Kosnik  <bkoz@redhat.com>
            Andreas Jaeger  <aj@suse.de>

* configure.host: Set x86_64 abi_baseline pair correctly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68029 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * tree.h (STMT_CHECK): New macro.
kenner [Mon, 16 Jun 2003 18:27:15 +0000 (18:27 +0000)]
* tree.h (STMT_CHECK): New macro.
Also upper-case argument names on all checking macros and
fix some whitespace problems; assume CODE argument does not
have side-effects.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68028 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * scan.h: Convert to ISO C.
ghazi [Mon, 16 Jun 2003 18:24:08 +0000 (18:24 +0000)]
* scan.h: Convert to ISO C.
* system.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68027 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* MAINTAINERS (Write After Approval): Add myself.
gp [Mon, 16 Jun 2003 18:04:10 +0000 (18:04 +0000)]
* MAINTAINERS (Write After Approval): Add myself.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68026 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agofix typo in last patch
amylaar [Mon, 16 Jun 2003 17:12:12 +0000 (17:12 +0000)]
fix typo in last patch

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68024 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * c-format.c (dynamic_format_types): New pointer for dynamic data.
ghazi [Mon, 16 Jun 2003 16:34:04 +0000 (16:34 +0000)]
* c-format.c (dynamic_format_types): New pointer for dynamic data.
(find_length_info_modifier_index, init_dynamic_asm_fprintf_info):
New functions split out of...
(handle_format_attribute): ...here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68023 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * sh.h (REG_CLASS_FROM_LETTER): Change to:
amylaar [Mon, 16 Jun 2003 16:23:30 +0000 (16:23 +0000)]
* sh.h (REG_CLASS_FROM_LETTER): Change to:
(REG_CLASS_FROM_CONSTRAINT).
(CONST_OK_FOR_I): Rename to:
(CONST_OK_FOR_I08).  Changed all users.
(CONST_OK_FOR_J): Rename to:
(CONST_OK_FOR_I16).  Changed all users.
(CONST_OK_FOR_K): Rename to:
(CONST_OK_FOR_P27).  Changed all users.
(CONST_OK_FOR_L): Rename to:
(CONST_OK_FOR_K08).  Changed all users.
(CONST_OK_FOR_O): Rename to:
(CONST_OK_FOR_I06).  Changed all users.
(CONST_OK_FOR_P): Rename to:
(CONST_OK_FOR_I10).  Changed all users.
(CONSTRAINT_LEN, CONST_OK_FOR_I, CONST_OK_FOR_J16): Define.
(CONST_OK_FOR_J, CONST_OK_FOR_K, CONST_OK_FOR_P): Likewise.
(EXTRA_CONSTRAINT_A, EXTRA_CONSTRAINT_Bsc): Likewise.
(EXTRA_CONSTRAINT_B, PIC_OFFSET_P, PIC_DIRECT_ADDR_P): Likewise.
(EXTRA_CONSTRAINT_Cpg, EXTRA_CONSTRAINT_C): Likewise.
(EXTRA_MEMORY_CONSTRAINT,(EXTRA_CONSTRAINT_Sr0): Likewise.
(CONST_OK_FOR_LETTER_P): Replace with
(CONST_OK_FOR_CONSTRAINT_P).
(EXTRA_CONSTRAINT_S): Rename to:
(EXTRA_CONSTRAINT_C16).  Changed all users.
(MOVI_SHORI_BASE_OPERAND_P): Don't allow direct addresses.
(EXTRA_CONSTRAINT_T): Rename to:
(EXTRA_CONSTRAINT_Csy).  Changed all users.
(EXTRA_CONSTRAINT_Z): Remove.
(EXTRA_CONSTRAINT): Replace with:
(EXTRA_CONSTRAINT_STR).
(EXTRA_CONSTRAINT_U): Rename to:
 (EXTRA_CONSTRAINT_Z).  Changed all users.
* sh.c (and_operand): Use CONST_OK_FOR_J16.
* sh.md (cmpeqsi_t-1, cmpeqsi_t, adddi3_media): Use new constraints.
(addsi3_media, addsi3_compact, andsi3_compact, anddi3): Likewise.
(iorsi3, iordi3, xorsi3, xordi3, ashlsi3_std, ashlhi3_k): Likewise.
(lshrsi3_k, movsi_i, movsi_ie, movsi_i_lowpart, movsi_media): Likewise.
(movsi_media_nofpu, movqi_media, movhi_i, movhi_media): Likewise.
(*movdi_i, movdi_media, movdi_media_nofpu, shori_media): Likewise.
(movdf_media, movdf_media_nofpu, movv2sf_i, movv4sf_i): Likewise.
(movsf_media, movsf_media_nofpu, movsi_y, beq_media): Likewise.
(beq_media_i, bne_media, pt, ptb, movv8qi_i, movv2hi_i): Likewise.
(movv4hi_i, movv2si_i, negcmpeqv8qi, negcmpeqv2si): Likewise.
(negcmpeqv4hi, negcmpgtuv8qi, negcmpgtv2si, negcmpgtv4hi): Likewise.
(mcmv, mcnvs_lw, mcnvs_wb, mcnvs_wub, mextr_rl, mextr_lr): Likewise.
(mextr1, mextr2, mextr3, mextr4, mextr5, mextr6, mextr7): Likewise.
(mperm_w, mperm_w_little, mperm_w_big, msad_ubq_i): Likewise.
(mshards_q, mshfhi_b, mshflo_b, mshf4_b, mshf0_b, mshfhi_l): Likewise.
(mshflo_l, mshf4_l, mshf0_l, mshfhi_w, mshflo_w, mshf4_w): Likewise.
(mshf0_w, mshflo_w_x, mshfhi_l_di, mshfhi_l_di_rev): Likewise.
(mshflo_l_di_rev, mshflo_l_di_x, concat_v2sf): Likewise.
(mshflo_l_di_x_rev, subv2si3, subv4hi3, sssubv2si3): Likewise.
(sssubv4hi3): Likewise.
(movsf_i): Change I[08]/r to G/r.
(movsf_ie): Change f/{G,H}/c/X to f/{G,H}/c/Bsc.

* sh.c (sh_output_mi_thunk): Use CONST_OK_FOR_ADD.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68022 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-06-16 Paolo Carlini <pcarlini@unitus.it>
paolo [Mon, 16 Jun 2003 16:20:28 +0000 (16:20 +0000)]
2003-06-16  Paolo Carlini  <pcarlini@unitus.it>

        * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Split and
        fix for missing seeks between gets and puts into...
* testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: New.
        * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: New.
        * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: New.
        * testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: New.
* testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: New.
* testsuite/27_io/basic_filebuf/sungetc/char/2-out.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68021 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2003-06-16 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Mon, 16 Jun 2003 15:26:44 +0000 (15:26 +0000)]
2003-06-16  Vladimir Makarov  <vmakarov@redhat.com>

* config/i386/i386.c (ix86_memory_move_cost): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68020 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * basic-block.h: Remove duplicate prototype of
aj [Mon, 16 Jun 2003 15:21:37 +0000 (15:21 +0000)]
* basic-block.h: Remove duplicate prototype of
note_prediction_to_br_prob.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68019 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * tree.h: Remove duplicate prototype of strip_float_extensions.
aj [Mon, 16 Jun 2003 14:58:03 +0000 (14:58 +0000)]
* tree.h: Remove duplicate prototype of strip_float_extensions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68018 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * sh.c (prepare_move_operand): Check if operand 0 is an invalid
amylaar [Mon, 16 Jun 2003 14:56:38 +0000 (14:56 +0000)]
* sh.c (prepare_move_operand): Check if operand 0 is an invalid
memory reference.  Fix test that checks if operand 1 is using r0.
* sh.md (movhi_i): Don't allow st.w r0,@(rX,rY) .

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68017 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/c4x/c4x.c: Don't include "c-tree.h".
ghazi [Mon, 16 Jun 2003 13:41:28 +0000 (13:41 +0000)]
* config/c4x/c4x.c: Don't include "c-tree.h".
* config/pa/pa.c: Likewise.
* langhooks.c: Likewise.
* tree.h (poplevel): Declare.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68016 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cp-tree.h: Follow spelling conventions.
kazu [Mon, 16 Jun 2003 13:15:37 +0000 (13:15 +0000)]
* cp-tree.h: Follow spelling conventions.
* mangle.c: Likewise.
* method.c: Likewise.
* parser.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68015 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/h8300/h8300.c (const_costs): Move this to ...
kazu [Mon, 16 Jun 2003 13:03:42 +0000 (13:03 +0000)]
* config/h8300/h8300.c (const_costs): Move this to ...
(h8300_rtx_costs): ... here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68014 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * optabs.h (enum optab_index): Add new OTI_tan and OTI_atan.
sayle [Mon, 16 Jun 2003 12:53:16 +0000 (12:53 +0000)]
* optabs.h (enum optab_index): Add new OTI_tan and OTI_atan.
(tan_optab, atan_optab): Define corresponding macros.
* optabs.c (init_optabs): Initialize tan_optab and atan_optab.
* genopinit.c (optabs): Implement tan_optab and atan_optab
using tan?f2 and atan?f2 patterns.
* builtins.c (expand_builtin_mathfn): Handle BUILT_IN_TAN{,F,L}
using tan_optab, and BUILT_IN_ATAN{,F,L} using atan_optab.
Change the default value of errno_set to false.
(expand_builtin): Expand BUILT_IN_TAN{,F,L} and BUILT_IN_ATAN{,F,L}
using expand_builtin_mathfn.

* config/i386/i386.md (atansf2, atandf2, atanxf2, atantf2): New
expander patterns implemented using existing atan2?f3 patterns.

* gcc.dg/i386-387-5.c: New test case.
* gcc.dg/i386-387-6.c: New test case.
* gcc.dg/builtins-23.c: New test case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68013 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * expr.c (expand_expr <PLUS_EXPR>): If operand_equal_p considers
sayle [Mon, 16 Jun 2003 12:45:13 +0000 (12:45 +0000)]
* expr.c (expand_expr <PLUS_EXPR>): If operand_equal_p considers
both operands of the addition equal, reuse the expanded RTL.
(expand_expr <MULT_EXPR>): Likewise for multiplication.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68012 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * fold-const.c (operand_equal_p): Consider two calls to "const"
sayle [Mon, 16 Jun 2003 12:42:48 +0000 (12:42 +0000)]
* fold-const.c (operand_equal_p): Consider two calls to "const"
functions with identical non-volatile arguments to be equal.
Consider the FUNCTION_DECL for the "__builtin_foo" form of a
built-in function to be equal to the "foo" form.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68011 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoFix typo.
neroden [Mon, 16 Jun 2003 12:16:07 +0000 (12:16 +0000)]
Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68010 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/rs6000/sysv4le.h: Remove target-independent comment.
neroden [Mon, 16 Jun 2003 12:14:35 +0000 (12:14 +0000)]
* config/rs6000/sysv4le.h: Remove target-independent comment.
Replace "GNU compiler" with "GCC" in comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68009 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * tracer.c: Remove duplication declaration.
aj [Mon, 16 Jun 2003 11:42:26 +0000 (11:42 +0000)]
* tracer.c: Remove duplication declaration.

* toplev.c: Remove extra declaration of decode_d_option.

* ssa.c: Remove duplicate declaration.

* sreal.c: Remove extra declaration of dump_sreal.

* reload1.c: Remove duplicate declarations.

* integrate.c: Remove extra declaration of
set_decl_abstract_flags.

* flow.c: Remove extra declaration of dump_flow_info.

* alias.c: Remove extra declaration of get_addr.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68006 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/rtems.h, config/sol2.h, config/svr4.h, config/usegas.h,
neroden [Mon, 16 Jun 2003 11:34:38 +0000 (11:34 +0000)]
* config/rtems.h, config/sol2.h, config/svr4.h, config/usegas.h,
config/vxworks.h: GNU CC -> GCC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68005 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * convert.c, dwarf2out.c, dwarfout.c, emit-rtl.c, function.c,
neroden [Mon, 16 Jun 2003 11:30:25 +0000 (11:30 +0000)]
* convert.c, dwarf2out.c, dwarfout.c, emit-rtl.c, function.c,
lists.c, print-rtl.c, print-tree.c, read-rtl.c, rtl-error.c,
stmt.c, toplev.c, integrate.h, loop.h, machmode.h, rtl.h,
ssa.h, tree.def: Replace overly specific references to "GNU C"
and "GNU C Compiler" with references to "GCC".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68004 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * (REG_CLASS_FROM_CONSTRAINT): Only define if not already defined.
amylaar [Mon, 16 Jun 2003 10:53:22 +0000 (10:53 +0000)]
* (REG_CLASS_FROM_CONSTRAINT): Only define if not already defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68003 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * function.h (struct emit_status): Remove x_last_linenum,
nathan [Mon, 16 Jun 2003 08:27:05 +0000 (08:27 +0000)]
* function.h (struct emit_status): Remove x_last_linenum,
x_last_filename. Add x_last_location.
* rtl.h: #include "input.h".
(NOTE_DATA): New.
* cfglayout.c (duplicate_insn_chain): Use emit_line_note for line
number notes.
* emit-rtl.c (last_linenum, last_filename): Remove.
(last_location): New.
(emit_line_note_after): LINE must always be >= 0.
(emit_line_note): Likewise. Check not duplicate here...
(emit_note): ... rather than here.
(emit_line_note_force, force_next_line_note, init_emit): Adjust.
* integrate.c (expand_inline_function): Use emit_line_note for
line number notes.
(copy_insn_list): Likewise.
* unroll.c (copy_loop_body): Likewise.
* Makefile.in (RTL_H): Add input.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68002 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * optabs.c (emit_libcall_block): Don't hoist insns past a label.
rsandifo [Mon, 16 Jun 2003 06:26:03 +0000 (06:26 +0000)]
* optabs.c (emit_libcall_block): Don't hoist insns past a label.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68001 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/alpha/alpha-protos.h, config/alpha/elf.h,
rth [Mon, 16 Jun 2003 06:18:41 +0000 (06:18 +0000)]
    * config/alpha/alpha-protos.h, config/alpha/elf.h,
        config/alpha/osf.h, config/alpha/unicosmk.h, config/alpha/vms.h,
        config/alpha/vms-cc.c, config/alpha/vms-ld.c: Update to ISO C.
        * config/alpha/alpha.c: Likewise.  Move targetm init to end of file.
        Remove unneeded static function decls.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68000 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * c-opts.c (c_common_handle_option): s/on/value/.
neil [Mon, 16 Jun 2003 05:47:07 +0000 (05:47 +0000)]
* c-opts.c (c_common_handle_option): s/on/value/.
(OPT_fabi_version_, OPT_ftabstop_, OPT_ftemplate_depth_): Use value
directly rather than converting the argument.
* c.opt: Update docs.  Use UInteger where appropriate.
* common.opt: Use UInteger where appropriate.
* opts.c (integral_argument): New.
(handle_argument): Handle integral arguments, and optional
joined arguments.
(common_handle_option): Update.
* opts.h (CL_MISSING_OK, CL_UINTEGER): New.
* opts.sh: Handle JoinedOrMissing and UInteger flags.
java:
* lang.c (java_handle_option): Special-casing of optional
joined arguments no longer needed.
* lang.opt: Update switches that take optional argument.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67999 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Remove
neil [Mon, 16 Jun 2003 05:36:34 +0000 (05:36 +0000)]
* config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Remove
unnecessary extern declaration.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67998 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/gofast.h, config/interix.h, config/interix3.h,
neroden [Mon, 16 Jun 2003 02:41:51 +0000 (02:41 +0000)]
* config/gofast.h, config/interix.h, config/interix3.h,
config/libgloss.h, config/linux-aout.h, config/linux.h,
config/lynx-ng.h, config/lynx.h: GNU CC -> GCC.
* config/kaos.h: "GNU compiler" -> GCC.
* config/linux-aout.h, config/lynx.h: Clarify comment describing file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67997 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/ip2k/crt0.S, config/ip2k/ip2k-protos.h,
neroden [Mon, 16 Jun 2003 02:18:35 +0000 (02:18 +0000)]
* config/ip2k/crt0.S, config/ip2k/ip2k-protos.h,
config/ip2k/ip2k.c, config/ip2k/ip2k.md, config/ip2k/libgcc.S:
GNU CC -> GCC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67996 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/svr3.h: Remove #if 0 code, misleading comments.
neroden [Mon, 16 Jun 2003 02:14:20 +0000 (02:14 +0000)]
* config/svr3.h: Remove #if 0 code, misleading comments.
GNU CC -> GCC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67995 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Mon, 16 Jun 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67993 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * vmsdbgout.c (vmsdbgout_finish): Rename parameter to
zack [Sun, 15 Jun 2003 23:36:37 +0000 (23:36 +0000)]
* vmsdbgout.c (vmsdbgout_finish): Rename parameter to
main_input_filename to avoid conflict with input_filename macro.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67990 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/linker-map.gnu: Export virtual function thunks for
rth [Sun, 15 Jun 2003 23:24:00 +0000 (23:24 +0000)]
    * config/linker-map.gnu: Export virtual function thunks for
        64-bit systems too.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67989 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/mips/mips.h (asm_file_name, g_switch_set,
neil [Sun, 15 Jun 2003 22:10:35 +0000 (22:10 +0000)]
* config/mips/mips.h (asm_file_name, g_switch_set,
g_switch_value): Remove.
* config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Remove
unnecessary extern declarations.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67988 138bc75d-0d04-0410-961f-82ee72b054a4