gcc.git
21 years agoconfigure.in: Update testsuite_flags to new location.
Benjamin Kosnik [Wed, 18 Jun 2003 01:55:13 +0000 (01:55 +0000)]
configure.in: Update testsuite_flags to new location.

2003-06-17  Benjamin Kosnik  <bkoz@redhat.com>

* configure.in: Update testsuite_flags to new location.
* configure. Regenerate.

From-SVN: r68133

21 years agoscripts: New.
Benjamin Kosnik [Wed, 18 Jun 2003 01:52:08 +0000 (01:52 +0000)]
scripts: New.

2003-06-17  Benjamin Kosnik  <bkoz@redhat.com>

* scripts: New.
* config/abi/extract_symvers: Move to...
* scripts/extract_symvers: ...here.
* mkcheck.in: Move to..
* scripts/check_survey.in: ...here.
* testsuite_flags.in: Move to..
* scripts/testsuite_flags.in: ...here.
* configure.in: Change check and testsuite_flags locations.
* configure: Regenerate.
* testsuite/Makefile.am (current_symbols.txt): Change location.
* testsuite/Makefile.in: Regenerate.
* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
location of testsuite_flags.
* Makefile.am (check-script): Move..
(check-script-install): Move...
* testsuite/Makefile.am: ... here.
* testsuite/Makefile.in: Regenerate.
* Makefile.in: Regenerate.

From-SVN: r68132

21 years agosystem.h (ANSI_PROTOTYPES, [...]): undef and poison these libiberty macros.
Kaveh R. Ghazi [Wed, 18 Jun 2003 00:45:03 +0000 (00:45 +0000)]
system.h (ANSI_PROTOTYPES, [...]): undef and poison these libiberty macros.

* system.h (ANSI_PROTOTYPES, PTR_CONST, LONG_DOUBLE, VPARAMS,
VA_OPEN, VA_FIXEDARG, VA_CLOSE, VA_START): undef and poison these
libiberty macros.

From-SVN: r68131

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

From-SVN: r68128

21 years ago20020604-1.c: Use dg-xfail-if for h8300.
Kazu Hirata [Wed, 18 Jun 2003 00:05:12 +0000 (00:05 +0000)]
20020604-1.c: Use dg-xfail-if for h8300.

* gcc.c-torture/compile/20020604-1.c: Use dg-xfail-if for h8300.
* gcc.c-torture/compile/961203-1.c: Likewise.
* gcc.c-torture/compile/980506-1.c: Likewise.

From-SVN: r68126

21 years agomangle.c (mangle_conv_op_name_for_type): Correct sprintf format string.
Mark Mitchell [Tue, 17 Jun 2003 23:33:25 +0000 (23:33 +0000)]
mangle.c (mangle_conv_op_name_for_type): Correct sprintf format string.

* mangle.c (mangle_conv_op_name_for_type): Correct sprintf format
string.

From-SVN: r68124

21 years agore PR c++/10929 (-Winline warns about functions for which no definition is visible)
Jason Merrill [Tue, 17 Jun 2003 23:00:16 +0000 (19:00 -0400)]
re PR c++/10929 (-Winline warns about functions for which no definition is visible)

        PR c++/10929
        * tree-inline.c (expand_call_inline): Don't warn about failing to
        inline a function which was made inline by -finline-functions.
        * cp/decl.c (grokfndecl): Don't mark a function inline for
        -finline-functions if it isn't defined.

From-SVN: r68122

21 years agoh8300-protos.h: Update to ISO C.
Kazu Hirata [Tue, 17 Jun 2003 22:45:08 +0000 (22:45 +0000)]
h8300-protos.h: Update to ISO C.

* config/h8300/h8300-protos.h: Update to ISO C.
* config/h8300/h8300.c: Likewise.
* config/h8300/h8300.h: Likewise.
* config/h8300/h8300.md: Likewise.

From-SVN: r68121

21 years agoCorrect PR number.
Mark Mitchell [Tue, 17 Jun 2003 22:27:15 +0000 (22:27 +0000)]
Correct PR number.

From-SVN: r68119

21 years agore PR c++/10712 (ICE in constructor_name_full, at cp/decl2.c:1255)
Mark Mitchell [Tue, 17 Jun 2003 22:24:58 +0000 (22:24 +0000)]
re PR c++/10712 (ICE in constructor_name_full, at cp/decl2.c:1255)

PR c++/1255
* class.c (handle_using_decl): Robustify.

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

From-SVN: r68118

21 years agoMakefile.tpl: Remove BUILD_CC stuff.
Nathanael Nerode [Tue, 17 Jun 2003 21:53:49 +0000 (21:53 +0000)]
Makefile.tpl: Remove BUILD_CC stuff.

(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.

From-SVN: r68115

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

* install.texi (Testing): Add information on how to run Java
runtime tests separately.

From-SVN: r68114

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

From-SVN: r68112

21 years agoiris6-o32.h (MIPS_ISA_DEFAULT): Remove.
Rainer Orth [Tue, 17 Jun 2003 20:49:22 +0000 (20:49 +0000)]
iris6-o32.h (MIPS_ISA_DEFAULT): Remove.

* config/mips/iris6-o32.h (MIPS_ISA_DEFAULT): Remove.
(MIPS_CPU_STRING_DEFAULT): Redefine to mips2.

From-SVN: r68111

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

From-SVN: r68109

21 years agocoff.h: Replace Hitachi with Renesas.
Kazu Hirata [Tue, 17 Jun 2003 19:19:16 +0000 (19:19 +0000)]
coff.h: Replace Hitachi with Renesas.

* 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.

From-SVN: r68107

21 years ago2003-06-17 Michael Koch <konqueror@gmx.de>
Michael Koch [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.

From-SVN: r68106

21 years ago2003-06-17 Michael Koch <konqueror@gmx.de>
Michael Koch [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.

From-SVN: r68105

21 years agoChangeLog.3: Fix comment typos.
Kazu Hirata [Tue, 17 Jun 2003 19:03:12 +0000 (19:03 +0000)]
ChangeLog.3: Fix comment typos.

* 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.

From-SVN: r68104

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

* doc/sourcebuild.texi (libgcj Tests): Simplify instructions on how
to run Java runtime tests separately.

Co-Authored-By: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
From-SVN: r68103

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

From-SVN: r68101

21 years agosh.h (ROUND_TYPE_ALIGN, [...]): Complex modes are aligned like integral modes.
J"orn Rennecke [Tue, 17 Jun 2003 17:12:57 +0000 (17:12 +0000)]
sh.h (ROUND_TYPE_ALIGN, [...]): Complex modes are aligned like integral modes.

* 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.

From-SVN: r68100

21 years agocontrib.texi: Replace Hitachi with Renesas.
Kazu Hirata [Tue, 17 Jun 2003 17:03:00 +0000 (17:03 +0000)]
contrib.texi: Replace Hitachi with Renesas.

* doc/contrib.texi: Replace Hitachi with Renesas.
* doc/install.texi: Likewise.
* doc/invoke.texi: Likewise.

From-SVN: r68096

21 years agore PR c++/11105 ([3.3/3.4 regression of sorts] ICE in mangle_conv_op_name_for_type)
Mark Mitchell [Tue, 17 Jun 2003 16:58:19 +0000 (16:58 +0000)]
re PR c++/11105 ([3.3/3.4 regression of sorts] ICE in mangle_conv_op_name_for_type)

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.

From-SVN: r68095

21 years agotm.texi (MD_FALLBACK_FRAME_STATE_FOR): Mention MAKE_THROW_FRAME.
Franz Sirl [Tue, 17 Jun 2003 16:47:06 +0000 (16:47 +0000)]
tm.texi (MD_FALLBACK_FRAME_STATE_FOR): Mention MAKE_THROW_FRAME.

2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

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

From-SVN: r68094

21 years agocompat-common.h (DEBUG_INIT): New.
Janis Johnson [Tue, 17 Jun 2003 16:28:56 +0000 (16:28 +0000)]
compat-common.h (DEBUG_INIT): New.

* 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.

From-SVN: r68093

21 years agosh.h (CONST_OK_FOR_J16): Fix HOST_BITS_PER_WIDE_INT >= 64 behaviour.
J"orn Rennecke [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.

* sh.h (CONST_OK_FOR_J16): Fix HOST_BITS_PER_WIDE_INT >= 64
behaviour.

From-SVN: r68092

21 years agopowerpc-signal.h: New File.
Franz Sirl [Tue, 17 Jun 2003 15:56:09 +0000 (15:56 +0000)]
powerpc-signal.h: New File.

2003-06-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

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

From-SVN: r68088

21 years agolinux.h (MD_FALLBACK_FRAME_STATE_FOR): Partly revert 2003-01-23 patch.
Franz Sirl [Tue, 17 Jun 2003 15:53:35 +0000 (15:53 +0000)]
linux.h (MD_FALLBACK_FRAME_STATE_FOR): Partly revert 2003-01-23 patch.

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.

From-SVN: r68087

21 years ago2003-06-17 Michael Koch <konqueror@gmx.de>
Michael Koch [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.

From-SVN: r68086

21 years agoalloc-pool.c: Don't check HAVE_LONG_DOUBLE.
Kaveh R. Ghazi [Tue, 17 Jun 2003 14:10:01 +0000 (14:10 +0000)]
alloc-pool.c: Don't check HAVE_LONG_DOUBLE.

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.

From-SVN: r68085

21 years agoPropertyResourceBundle.java: Removed unneeded import.
Michael Koch [Tue, 17 Jun 2003 14:05:17 +0000 (14:05 +0000)]
PropertyResourceBundle.java: Removed unneeded import.

2003-06-17  Michael Koch  <konqueror@gmx.de>

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

From-SVN: r68084

21 years agoia64.c (ia64_expand_builtin, [...]): Handle POINTERS_EXTEND_UNSIGNED.
Richard Kenner [Tue, 17 Jun 2003 13:40:37 +0000 (13:40 +0000)]
ia64.c (ia64_expand_builtin, [...]): Handle POINTERS_EXTEND_UNSIGNED.

* config/ia64/ia64.c (ia64_expand_builtin, case IA64_BUILTIN_BSP):
Handle POINTERS_EXTEND_UNSIGNED.

From-SVN: r68083

21 years agoAbstractPreferences.java, [...]: Reworked imports, removed unused imports.
Michael Koch [Tue, 17 Jun 2003 13:01:21 +0000 (13:01 +0000)]
AbstractPreferences.java, [...]: Reworked imports, removed unused imports.

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.

From-SVN: r68081

21 years agoX509Certificate.java: Explicitely import used classes.
Michael Koch [Tue, 17 Jun 2003 12:57:35 +0000 (12:57 +0000)]
X509Certificate.java: Explicitely import used classes.

2003-06-17  Michael Koch  <konqueror@gmx.de>

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

From-SVN: r68080

21 years agoZipEntry.java, [...]: Reworked imports, only import used classes.
Michael Koch [Tue, 17 Jun 2003 12:07:56 +0000 (12:07 +0000)]
ZipEntry.java, [...]: Reworked imports, only import used classes.

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.

From-SVN: r68079

21 years agoArrayHelper.java, [...]: Reformatted to match classpath's versions.
Michael Koch [Tue, 17 Jun 2003 12:01:37 +0000 (12:01 +0000)]
ArrayHelper.java, [...]: Reformatted to match classpath's versions.

2003-06-17  Michael Koch  <konqueror@gmx.de>

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

From-SVN: r68078

21 years agomips.c (TARGET_ASM_UNALIGNED_DI_OP): Define as NULL.
Rainer Orth [Tue, 17 Jun 2003 11:44:52 +0000 (11:44 +0000)]
mips.c (TARGET_ASM_UNALIGNED_DI_OP): Define as NULL.

* config/mips/mips.c (TARGET_ASM_UNALIGNED_DI_OP) [TARGET_IRIX5 &&
!TARGET_IRIX6]: Define as NULL.

From-SVN: r68077

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

From-SVN: r68075

21 years agogcc_release (build_tarfile): Build .bz2 files instead of .gz files.
Gerald Pfeifer [Tue, 17 Jun 2003 09:02:45 +0000 (11:02 +0200)]
gcc_release (build_tarfile): Build .bz2 files instead of .gz files.

* 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.

From-SVN: r68074

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

From-SVN: r68073

21 years agodbxout.c (dbxout_source_line_counter): New global variable.
Eric Botcazou [Tue, 17 Jun 2003 08:06:58 +0000 (10:06 +0200)]
dbxout.c (dbxout_source_line_counter): New global variable.

* 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.

From-SVN: r68072

21 years agomips-protos.h (mips_expand_block_move): Declare.
Richard Sandiford [Tue, 17 Jun 2003 06:44:46 +0000 (06:44 +0000)]
mips-protos.h (mips_expand_block_move): Declare.

* 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.

From-SVN: r68071

21 years ago* cpplib.h, cpphash.h, cppcharset.c, cpperror.c, cppexp.c
Zack Weinberg [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.

From-SVN: r68070

21 years agobaseline_symbols.txt: Update to 3.3.0.
Benjamin Kosnik [Tue, 17 Jun 2003 06:09:55 +0000 (06:09 +0000)]
baseline_symbols.txt: Update to 3.3.0.

2003-06-17  Benjamin Kosnik  <bkoz@redhat.com>

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

From-SVN: r68069

21 years ago03-06-16 Benjamin Kosnik <bkoz@redhat.com>
Benjamin Kosnik [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.

From-SVN: r68067

21 years agortl.h: Remove declarations from coverage.h.
Andreas Jaeger [Tue, 17 Jun 2003 05:09:13 +0000 (07:09 +0200)]
rtl.h: Remove declarations from coverage.h.

* 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.

From-SVN: r68066

21 years agoexcept.c: Remove duplicate declaration of push_eh_cleanup.
Andreas Jaeger [Tue, 17 Jun 2003 05:08:00 +0000 (07:08 +0200)]
except.c: Remove duplicate declaration of push_eh_cleanup.

* except.c: Remove duplicate declaration of push_eh_cleanup.

* call.c: Remove extra declaration of inhibit_warnings.

From-SVN: r68065

21 years agobindgen.adb (Gen_Main_Ada, Gen_Main_C): Do not test Bind_Main_Program.
Matt 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.

* bindgen.adb (Gen_Main_Ada, Gen_Main_C): Do not test
Bind_Main_Program.

From-SVN: r68061

21 years agosysv4.h: Remove target-independent comment; replace "GNU CC" with "GCC".
Nathanael Nerode [Tue, 17 Jun 2003 01:31:39 +0000 (01:31 +0000)]
sysv4.h: Remove target-independent comment; replace "GNU CC" with "GCC".

* config/sparc/sysv4.h: Remove target-independent comment;
replace "GNU CC" with "GCC".

From-SVN: r68058

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

From-SVN: r68057

21 years agoaout.h, [...]: Replace "GNU compiler", "GNU CC" with "GCC".
Nathanael Nerode [Tue, 17 Jun 2003 01:00:44 +0000 (01:00 +0000)]
aout.h, [...]: Replace "GNU compiler", "GNU CC" with "GCC".

* 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".

From-SVN: r68056

21 years agocypress.md, [...]: Replace "GNU CC", "GNU Compiler", and "GNU C Compiler" with "GCC".
Nathanael Nerode [Tue, 17 Jun 2003 00:39:21 +0000 (00:39 +0000)]
cypress.md, [...]: Replace "GNU CC", "GNU Compiler", and "GNU C Compiler" with "GCC".

* 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".

From-SVN: r68055

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

From-SVN: r68054

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

From-SVN: r68052

21 years agomangle.c: Convert to ISO C.
Nathanael Nerode [Tue, 17 Jun 2003 00:06:38 +0000 (00:06 +0000)]
mangle.c: Convert to ISO C.

2003-06-16  Jens-Michael Hoffmann  <jensmh@gmx.de>
* mangle.c: Convert to ISO C.

From-SVN: r68050

21 years agosimplify-rtx.c (simplify_subreg): Do not over-extend vector constants.
Aldy Hernandez [Tue, 17 Jun 2003 00:05:09 +0000 (00:05 +0000)]
simplify-rtx.c (simplify_subreg): Do not over-extend vector constants.

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.

[[Split portion of a mixed commit.]]

From-SVN: r68049.2

21 years agosimplify-rtx.c (simplify_subreg): Do not over-extend vector constants.
Aldy Hernandez [Tue, 17 Jun 2003 00:03:24 +0000 (00:03 +0000)]
simplify-rtx.c (simplify_subreg): Do not over-extend vector constants.

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.

[[Split portion of a mixed commit.]]

From-SVN: r68047.2

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

From-SVN: r68046

21 years agoconfig.gcc: Explicitly mention elfos.h in ip2k entry.
Nathanael Nerode [Mon, 16 Jun 2003 22:38:25 +0000 (22:38 +0000)]
config.gcc: Explicitly mention elfos.h in ip2k entry.

* config.gcc: Explicitly mention elfos.h in ip2k entry.
* config/ip2k/ip2k.h: Don't #include it here.

From-SVN: r68045

21 years agoabi_check.cc: Create summary report.
Andreas Jaeger [Mon, 16 Jun 2003 22:09:03 +0000 (00:09 +0200)]
abi_check.cc: Create summary report.

2003-06-16  Andreas Jaeger  <aj@suse.de>

        * testsuite/abi_check.cc: Create summary report.

From-SVN: r68044

21 years agodecl.c, [...]: Don't use the PTR macro.
Kaveh R. Ghazi [Mon, 16 Jun 2003 21:41:10 +0000 (21:41 +0000)]
decl.c, [...]: Don't use the PTR macro.

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.

From-SVN: r68043

21 years agogengtype.c: Don't use UNION_INIT_ZERO.
Kaveh R. Ghazi [Mon, 16 Jun 2003 21:29:20 +0000 (21:29 +0000)]
gengtype.c: Don't use UNION_INIT_ZERO.

* gengtype.c: Don't use UNION_INIT_ZERO.
* system.h (UNION_INIT_ZERO): Delete.

From-SVN: r68042

21 years ago1-in.cc: Fix for systems with BUFSIZ != 8192.
Paolo Carlini [Mon, 16 Jun 2003 21:24:40 +0000 (23:24 +0200)]
1-in.cc: Fix for systems with BUFSIZ != 8192.

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.

From-SVN: r68041

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

From-SVN: r68040

21 years agosimplify-rtx.c (simplify_subreg): Use GET_MODE_SIZE instead of GET_MODE_UNIT_SIZE...
Richard Henderson [Mon, 16 Jun 2003 20:56:20 +0000 (13:56 -0700)]
simplify-rtx.c (simplify_subreg): Use GET_MODE_SIZE instead of GET_MODE_UNIT_SIZE when simplifying constant vectors.

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.

From-SVN: r68038

21 years agotimevar.c (get_run_time): Remove function provided also by libiberty.
Andreas Jaeger [Mon, 16 Jun 2003 20:40:47 +0000 (22:40 +0200)]
timevar.c (get_run_time): Remove function provided also by libiberty.

* timevar.c (get_run_time): Remove function provided also by
libiberty.
* timevar.h: Remove get_run_time declaration.

From-SVN: r68037

21 years agom68hc11.c (m68hc11_rtx_costs): Remove unreachable code.
Kazu Hirata [Mon, 16 Jun 2003 20:14:44 +0000 (20:14 +0000)]
m68hc11.c (m68hc11_rtx_costs): Remove unreachable code.

* config/m68hc11/m68hc11.c (m68hc11_rtx_costs): Remove
unreachable code.

From-SVN: r68036

21 years agobuiltin-attrs.def, [...]: Don't use macros from "symcat.h", instead rely on ISO C.
Kaveh R. Ghazi [Mon, 16 Jun 2003 19:14:22 +0000 (19:14 +0000)]
builtin-attrs.def, [...]: Don't use macros from "symcat.h", instead rely on ISO C.

* 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.

From-SVN: r68035

21 years agogcc-dg.exp (dg-xfail-if): Fix thinko.
Mark Mitchell [Mon, 16 Jun 2003 19:12:15 +0000 (19:12 +0000)]
gcc-dg.exp (dg-xfail-if): Fix thinko.

* lib/gcc-dg.exp (dg-xfail-if): Fix thinko.
* gcc.c-torture/compile/simd-5.c: Remove spurious PowerPC-64 XFAIL
indications.

From-SVN: r68034

21 years agosimd-5.c: Correct SPARC XFAIL indications.
Mark Mitchell [Mon, 16 Jun 2003 19:04:36 +0000 (19:04 +0000)]
simd-5.c: Correct SPARC XFAIL indications.

* gcc.c-torture/compile/simd-5.c: Correct SPARC XFAIL indications.
Remove spurious PowerPC-64 XFAIL indications.

From-SVN: r68033

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

From-SVN: r68032

21 years agoWhitespace change.
Richard Kenner [Mon, 16 Jun 2003 18:56:09 +0000 (14:56 -0400)]
Whitespace change.

From-SVN: r68031

21 years ago[multiple changes]
Benjamin Kosnik [Mon, 16 Jun 2003 18:44:50 +0000 (18:44 +0000)]
[multiple changes]

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.

From-SVN: r68029

21 years agotree.h (STMT_CHECK): New macro.
Richard Kenner [Mon, 16 Jun 2003 18:27:15 +0000 (18:27 +0000)]
tree.h (STMT_CHECK): New macro.

* 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.

From-SVN: r68028

21 years agoscan.h: Convert to ISO C.
Kaveh R. Ghazi [Mon, 16 Jun 2003 18:24:08 +0000 (18:24 +0000)]
scan.h: Convert to ISO C.

* scan.h: Convert to ISO C.
* system.h: Likewise.

From-SVN: r68027

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

From-SVN: r68026

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

From-SVN: r68024

21 years agoc-format.c (dynamic_format_types): New pointer for dynamic data.
Kaveh R. Ghazi [Mon, 16 Jun 2003 16:34:04 +0000 (16:34 +0000)]
c-format.c (dynamic_format_types): New pointer for dynamic data.

* 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.

From-SVN: r68023

21 years agosh.h (REG_CLASS_FROM_LETTER): Change to: (REG_CLASS_FROM_CONSTRAINT).
J"orn Rennecke [Mon, 16 Jun 2003 16:23:30 +0000 (16:23 +0000)]
sh.h (REG_CLASS_FROM_LETTER): Change to: (REG_CLASS_FROM_CONSTRAINT).

* 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.

From-SVN: r68022

21 years ago1.cc: Split and fix for missing seeks between gets and puts into...
Paolo Carlini [Mon, 16 Jun 2003 16:20:28 +0000 (18:20 +0200)]
1.cc: Split and fix for missing seeks between gets and puts into...

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.

From-SVN: r68021

21 years agoi386.c (ix86_memory_move_cost): Fix typo.
Vladimir Makarov [Mon, 16 Jun 2003 15:26:44 +0000 (15:26 +0000)]
i386.c (ix86_memory_move_cost): Fix typo.

2003-06-16  Vladimir Makarov  <vmakarov@redhat.com>

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

From-SVN: r68020

21 years agobasic-block.h: Remove duplicate prototype of note_prediction_to_br_prob.
Andreas Jaeger [Mon, 16 Jun 2003 15:21:37 +0000 (17:21 +0200)]
basic-block.h: Remove duplicate prototype of note_prediction_to_br_prob.

* basic-block.h: Remove duplicate prototype of
note_prediction_to_br_prob.

From-SVN: r68019

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

From-SVN: r68018

21 years agosh.c (prepare_move_operand): Check if operand 0 is an invalid memory reference.
J"orn Rennecke [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.

* 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) .

From-SVN: r68017

21 years agoc4x.c: Don't include "c-tree.h".
Kaveh R. Ghazi [Mon, 16 Jun 2003 13:41:28 +0000 (13:41 +0000)]
c4x.c: Don't include "c-tree.h".

* config/c4x/c4x.c: Don't include "c-tree.h".
* config/pa/pa.c: Likewise.
* langhooks.c: Likewise.
* tree.h (poplevel): Declare.

From-SVN: r68016

21 years agocp-tree.h: Follow spelling conventions.
Kazu Hirata [Mon, 16 Jun 2003 13:15:37 +0000 (13:15 +0000)]
cp-tree.h: Follow spelling conventions.

* cp-tree.h: Follow spelling conventions.
* mangle.c: Likewise.
* method.c: Likewise.
* parser.c: Likewise.

From-SVN: r68015

21 years agoh8300.c (const_costs): Move this to ...
Kazu Hirata [Mon, 16 Jun 2003 13:03:42 +0000 (13:03 +0000)]
h8300.c (const_costs): Move this to ...

* config/h8300/h8300.c (const_costs): Move this to ...
(h8300_rtx_costs): ... here.

From-SVN: r68014

21 years agooptabs.h (enum optab_index): Add new OTI_tan and OTI_atan.
Roger Sayle [Mon, 16 Jun 2003 12:53:16 +0000 (12:53 +0000)]
optabs.h (enum optab_index): Add new OTI_tan and OTI_atan.

* 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.

From-SVN: r68013

21 years agoexpr.c (expand_expr <PLUS_EXPR>): If operand_equal_p considers both operands of the...
Roger 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...

* 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.

From-SVN: r68012

21 years agofold-const.c (operand_equal_p): Consider two calls to "const" functions with identica...
Roger 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...

* 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.

Co-Authored-By: Jeff Law <law@redhat.com>
From-SVN: r68011

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

From-SVN: r68010

21 years agosysv4le.h: Remove target-independent comment.
Nathanael Nerode [Mon, 16 Jun 2003 12:14:35 +0000 (12:14 +0000)]
sysv4le.h: Remove target-independent comment.

* config/rs6000/sysv4le.h: Remove target-independent comment.
Replace "GNU compiler" with "GCC" in comment.

From-SVN: r68009

21 years agotracer.c: Remove duplication declaration.
Andreas Jaeger [Mon, 16 Jun 2003 11:42:26 +0000 (13:42 +0200)]
tracer.c: Remove duplication declaration.

* 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.

From-SVN: r68006

21 years agortems.h, [...]: GNU CC -> GCC.
Nathanael Nerode [Mon, 16 Jun 2003 11:34:38 +0000 (11:34 +0000)]
rtems.h, [...]: GNU CC -> GCC.

* config/rtems.h, config/sol2.h, config/svr4.h, config/usegas.h,
config/vxworks.h: GNU CC -> GCC.

From-SVN: r68005

21 years agoconvert.c, [...]: Replace overly specific references to "GNU C" and "GNU C Compiler...
Nathanael Nerode [Mon, 16 Jun 2003 11:30:25 +0000 (11:30 +0000)]
convert.c, [...]: Replace overly specific references to "GNU C" and "GNU C Compiler" with...

* 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".

From-SVN: r68004

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

From-SVN: r68003

21 years agofunction.h (struct emit_status): Remove x_last_linenum, x_last_filename.
Nathan Sidwell [Mon, 16 Jun 2003 08:27:05 +0000 (08:27 +0000)]
function.h (struct emit_status): Remove x_last_linenum, x_last_filename.

* 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.

From-SVN: r68002

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

From-SVN: r68001

21 years agoalpha-protos.h, [...]: Update to ISO C.
Richard Henderson [Mon, 16 Jun 2003 06:18:41 +0000 (23:18 -0700)]
alpha-protos.h, [...]: Update to ISO C.

        * 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.

From-SVN: r68000