platform/upstream/gcc.git
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

21 years agoc-opts.c (c_common_handle_option): s/on/value/.
Neil Booth [Mon, 16 Jun 2003 05:47:07 +0000 (05:47 +0000)]
c-opts.c (c_common_handle_option): s/on/value/.

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

From-SVN: r67999

21 years agosysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Remove unnecessary extern declaration.
Neil Booth [Mon, 16 Jun 2003 05:36:34 +0000 (05:36 +0000)]
sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Remove unnecessary extern declaration.

* config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Remove
unnecessary extern declaration.

From-SVN: r67998

21 years agogofast.h, [...]: GNU CC -> GCC.
Nathanael Nerode [Mon, 16 Jun 2003 02:41:51 +0000 (02:41 +0000)]
gofast.h, [...]: GNU CC -> GCC.

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

From-SVN: r67997

21 years agocrt0.S, [...]: GNU CC -> GCC.
Nathanael Nerode [Mon, 16 Jun 2003 02:18:35 +0000 (02:18 +0000)]
crt0.S, [...]: GNU CC -> GCC.

* config/ip2k/crt0.S, config/ip2k/ip2k-protos.h,
config/ip2k/ip2k.c, config/ip2k/ip2k.md, config/ip2k/libgcc.S:
GNU CC -> GCC.

From-SVN: r67996

21 years agosvr3.h: Remove #if 0 code, misleading comments.
Nathanael Nerode [Mon, 16 Jun 2003 02:14:20 +0000 (02:14 +0000)]
svr3.h: Remove #if 0 code, misleading comments.

* config/svr3.h: Remove #if 0 code, misleading comments.
GNU CC -> GCC.

From-SVN: r67995

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

From-SVN: r67993

21 years agovmsdbgout.c (vmsdbgout_finish): Rename parameter to main_input_filename to avoid...
Zack Weinberg [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.

* vmsdbgout.c (vmsdbgout_finish): Rename parameter to
main_input_filename to avoid conflict with input_filename macro.

From-SVN: r67990

21 years agolinker-map.gnu: Export virtual function thunks for 64-bit systems too.
Richard Henderson [Sun, 15 Jun 2003 23:24:00 +0000 (16:24 -0700)]
linker-map.gnu: Export virtual function thunks for 64-bit systems too.

        * config/linker-map.gnu: Export virtual function thunks for
        64-bit systems too.

From-SVN: r67989

21 years agomips.h (asm_file_name, [...]): Remove.
Neil Booth [Sun, 15 Jun 2003 22:10:35 +0000 (22:10 +0000)]
mips.h (asm_file_name, [...]): Remove.

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

From-SVN: r67988

21 years agofrv.h: Remove declaration of g_switch_value.
Neil Booth [Sun, 15 Jun 2003 21:25:46 +0000 (21:25 +0000)]
frv.h: Remove declaration of g_switch_value.

* config/frv/frv.h: Remove declaration of g_switch_value.
* config/m32r/m32r.h: Remove declaration of g_switch_value.
* config/m68hc11/m68hc11.c: Remove declaration of asm_file_name.

From-SVN: r67987

21 years agore PR fastjar/9532 (jar -C flag is incompatible with Sun's (fastjar uses nonportable...
Nathanael Nerode [Sun, 15 Jun 2003 20:25:44 +0000 (20:25 +0000)]
re PR fastjar/9532 (jar -C flag is incompatible with Sun's (fastjar uses nonportable feature of getcwd))

PR java/9532
* jartool.c (main) Give proper error messages with -C, and
check for missing arguments properly.  Send error messages
to stderr.
* jartool.c (add_to_jar): Make getcwd() call portable,
and check for error return.

From-SVN: r67985

21 years ago* opts.sh: Quote '+' in regex.
Neil Booth [Sun, 15 Jun 2003 19:34:27 +0000 (19:34 +0000)]
* opts.sh: Quote '+' in regex.

From-SVN: r67984

21 years ago* opts.sh: Quote '+' in regex.
Neil Booth [Sun, 15 Jun 2003 19:21:48 +0000 (19:21 +0000)]
* opts.sh: Quote '+' in regex.

From-SVN: r67983

21 years agot-rs6000: Add dependence of cfglayout.h to rs6000.o.
Andrew Pinski [Sun, 15 Jun 2003 18:01:57 +0000 (18:01 +0000)]
t-rs6000: Add dependence of cfglayout.h to rs6000.o.

        * config/rs6000/t-rs6000: Add dependence of cfglayout.h to rs6000.o.
        * config/rs6000/rs6000.c: Include cfglayout.h.
        * config/alpha/alpha.c: Likewise.
        * config/ia64/ia64.c: Likewise.
        * config/sparc/sparc.c: Likewise.
        * config/sh/sh.c: Likewise.

From-SVN: r67982

21 years ago* opts.sh: Quote '+' in regex.
Neil Booth [Sun, 15 Jun 2003 15:28:24 +0000 (15:28 +0000)]
* opts.sh: Quote '+' in regex.

From-SVN: r67978

21 years agodocument why POSIXLY_CORRECT must be unset
Nathan Sidwell [Sun, 15 Jun 2003 15:08:10 +0000 (15:08 +0000)]
document why POSIXLY_CORRECT must be unset

From-SVN: r67977

21 years agoc-opts.c (lang_flags): Update for new spelling of flags.
Neil Booth [Sun, 15 Jun 2003 14:56:32 +0000 (14:56 +0000)]
c-opts.c (lang_flags): Update for new spelling of flags.

* c-opts.c (lang_flags): Update for new spelling of flags.
(write_langs): Similarly.
* c.opt: Specify languages.
* opts.h: Remove languages.
* opts.sh: Recognise front-end defined languages.
ada:
* lang.opt: Declare Ada.
* misc.c (gnat_init_options): Update.
doc:
* sourcebuild.texi: Update.
f:
* lang.opt: Declare F77.
java:
* lang.opt: Declare Java.
* lang.c (java_init_options): Update.
treelang:
* lang.opt: Declare Treelang.  Update.
* tree1.c (treelang_init_options): Update.

From-SVN: r67976

21 years agoalloc-pool.c: Convert to ISO C90 prototypes.
Andreas Jaeger [Sun, 15 Jun 2003 13:43:32 +0000 (15:43 +0200)]
alloc-pool.c: Convert to ISO C90 prototypes.

* alloc-pool.c: Convert to ISO C90 prototypes.
* alloc-pool.h: Likewise.
* alias.c: Likewise.
* attribs.c: Likewise.
* bb-reorder.c: Likewise.
* bitmap.h: Likewise.
* bitmap.c: Likewise.
* builtins.c: Likewise.

* tree.h: Convert prototypes of attribs.c to ISO C90.
* basic-block.h: Convert prototypes of bb-reorder.c to ISO C90.
* rtl.h: Convert prototypes of alias.c and builtins.c to ISO C90.
* expr.h: Convert prototypes of builtins.c to ISO C90.

From-SVN: r67975

21 years ago* gencheck.c (main): Avoid generating duplicate macros.
Richard Kenner [Sun, 15 Jun 2003 13:36:07 +0000 (13:36 +0000)]
* gencheck.c (main): Avoid generating duplicate macros.

From-SVN: r67974

21 years agoi386.md (expsf2, [...]): New patterns to implement exp, expf and expl built-ins as...
Roger Sayle [Sun, 15 Jun 2003 13:32:31 +0000 (13:32 +0000)]
i386.md (expsf2, [...]): New patterns to implement exp, expf and expl built-ins as inline x87 intrinsics.

* config/i386/i386.md (expsf2, expdf2, expxf2): New patterns to
implement exp, expf and expl built-ins as inline x87 intrinsics.
(UNSPEC_FSCALE, UNSPEC_FRNDINT, UNSPEC_F2XM1): New unspecs to
represent x87's fscale, frndint and f2xm1 insns respectively.
(*fscale_sfxf3, *fscale_dfxf3, *fscale_xf3): New insn patterns
to encode x87's "fscale" instruction followed by a pop.
(*frndintxf2): New insn pattern for "frndint".
(*f2xm1xf2): New insn pattern for "f2xm1".

* reg-stack.c (subst_stack_regs_pat): Handle UNSPEC_FRNDINT and
UNSPEC_F2XM1 like UNSPEC_{SIN,COS} and handle UNSPEC_FSCALE like
UNSPEC_FPATAN.

* gcc.dg/builtins-22.c: New test case.
* gcc.dg/i386-387-1.c: Update to test exp.
* gcc.dg/i386-387-2.c: Likewise.

From-SVN: r67973

21 years agoMakefile.in (stagefeedback-start): Use $(SUBDIRS) instead of knowing names of languag...
Richard Kenner [Sun, 15 Jun 2003 13:12:58 +0000 (13:12 +0000)]
Makefile.in (stagefeedback-start): Use $(SUBDIRS) instead of knowing names of language subdirectories.

* Makefile.in (stagefeedback-start): Use $(SUBDIRS) instead of
knowing names of language subdirectories.

From-SVN: r67972

21 years agoc-pch.c (asm_file_name): Remove.
Neil Booth [Sun, 15 Jun 2003 08:30:02 +0000 (08:30 +0000)]
c-pch.c (asm_file_name): Remove.

* c-pch.c (asm_file_name): Remove.
* common.opt: Add more switches.
* flags.h (g_switch_set): Boolify.
* opts.c (g_switch_value, g_switch_set, exit_after_options,
version_flag): Move from toplev.c.
(common_handle_option): Handle more switches from toplev.c.
* toplev.c (display_help, display_target_options, decode_d_option,
print_version): Make non-static, remove prototypes.
(aux_base_name, asm_file_name, aux_info_file_name): Constify.
(version_flag, g_switch_value, g_switch_set, exit_after_options):
Remove.
(independent_decode_option): Move some handlers to opts.c.
* toplev.h (aux_info_file_name, aux_base_name, asm_file_name,
exit_after_options, version_flag, display_help, display_target_options,
print_version, decode_d_option): New.
java:
* lang.c (version_flag): Rename to v_flag to avoid clash w/ toplev.h.

From-SVN: r67971

21 years agoalpha.md: Follow spelling conventions.
Kazu Hirata [Sun, 15 Jun 2003 07:51:35 +0000 (07:51 +0000)]
alpha.md: Follow spelling conventions.

* config/alpha/alpha.md: Follow spelling conventions.
* config/arm/arm.c: Likewise.
* config/arm/arm.h: Likewise.
* config/arm/arm.md: Likewise.
* config/arm/crtn.asm: Likewise.
* config/m32r/m32r.c: Likewise.
* config/m32r/m32r.md: Likewise.
* config/rs6000/rs6000.c: Likewise.

From-SVN: r67970

21 years agoalpha.c (alpha_output_mi_thunk_osf): Call insn_locators_initialize.
Richard Henderson [Sun, 15 Jun 2003 07:36:43 +0000 (00:36 -0700)]
alpha.c (alpha_output_mi_thunk_osf): Call insn_locators_initialize.

        * config/alpha/alpha.c (alpha_output_mi_thunk_osf): Call
        insn_locators_initialize.
        * config/ia64/ia64.c (ia64_output_mi_thunk): Likewise.
        * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Likewise.
        * config/sparc/sparc.c (sparc_output_mi_thunk): Likewise.
        * config/sh/sh.c (sh_output_mi_thunk): Do it later.

From-SVN: r67969

21 years agobuiltins.c (expand_builtin_expect_jump): Remove redundant tests that are also in...
Kazu Hirata [Sun, 15 Jun 2003 06:55:55 +0000 (06:55 +0000)]
builtins.c (expand_builtin_expect_jump): Remove redundant tests that are also in any_condjump_p().

* builtins.c (expand_builtin_expect_jump): Remove redundant
tests that are also in any_condjump_p().

From-SVN: r67966

21 years agolibgcc2.c: Delete sysV68 L_trampoline section.
Kaveh R. Ghazi [Sun, 15 Jun 2003 05:47:39 +0000 (05:47 +0000)]
libgcc2.c: Delete sysV68 L_trampoline section.

* libgcc2.c: Delete sysV68 L_trampoline section.
* config/m68k/mot3300-crt0.S: Delete file.
* config/m68k/mot3300Mcrt0.S: Likewise.

From-SVN: r67965

21 years agoaoutos.h: Remove.
Nathanael Nerode [Sun, 15 Jun 2003 04:47:43 +0000 (04:47 +0000)]
aoutos.h: Remove.

* config/aoutos.h: Remove.
* config.gcc: Remove reference to aoutos.h.
* config/m68k/m68k-aout.h: Remove reference to aoutos.h.

From-SVN: r67964

21 years agobes.c, dbes.c: Remove.
Nathanael Nerode [Sun, 15 Jun 2003 04:43:18 +0000 (04:43 +0000)]
bes.c, dbes.c: Remove.

* libU77/bes.c, libU77/dbes.c: Remove.
* libU77/Makefile.in: Remove references to bes.c, dbes.c

From-SVN: r67963

21 years agoinstall.texi: Follow spelling conventions.
Kazu Hirata [Sun, 15 Jun 2003 04:00:48 +0000 (04:00 +0000)]
install.texi: Follow spelling conventions.

* doc/install.texi: Follow spelling conventions.
* doc/tm.texi: Likewise.
* config/fp-bit.c: Likewise.
* config/arm/arm.c: Likewise.
* config/frv/frv.c: Likewise.
* config/ns32k/NOTES: Likewise.
* config/ns32k/STATUS: Likewise.

From-SVN: r67962

21 years agoDaily bump.
GCC Administrator [Sun, 15 Jun 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r67960

21 years agolang-specs.h: Rewrite -MD and -MMD to append an underscore.
Neil Booth [Sat, 14 Jun 2003 22:25:50 +0000 (22:25 +0000)]
lang-specs.h: Rewrite -MD and -MMD to append an underscore.

* lang-specs.h: Rewrite -MD and -MMD to append an underscore.
* lang.c (java_handle_option): -MD and -MMD have an underscore.
* lang.opt: -MD and -MMD have an underscore.

From-SVN: r67958

21 years agortl.h (STORE_FLAG_VALUE): Remove default definition from here.
Roger Sayle [Sat, 14 Jun 2003 21:47:45 +0000 (21:47 +0000)]
rtl.h (STORE_FLAG_VALUE): Remove default definition from here.

* rtl.h (STORE_FLAG_VALUE): Remove default definition from here.
* defaults.h (STORE_FLAG_VALUE): Move default definition to here.
* doc/tm.texi (STORE_FLAG_VALUE): Document the default value.

* config/alpha/alpha.h (STORE_FLAG_VALUE): Remove definition.
* config/arc/arc.h (STORE_FLAG_VALUE): Likewise.
* config/arm/arm.h (STORE_FLAG_VALUE): Likewise.
* config/cris/cris.h (STORE_FLAG_VALUE): Likewise.
* config/i370/i370.h (STORE_FLAG_VALUE): Likewise.
* config/i386/i386.h (STORE_FLAG_VALUE): Likewise.
* config/i960/i960.h (STORE_FLAG_VALUE): Likewise.
* config/ia64/ia64.h (STORE_FLAG_VALUE): Likewise.
* config/ip2k/ip2k.h (STORE_FLAG_VALUE): Likewise.
* config/m32r/m32r.h (STORE_FLAG_VALUE): Likewise.
* config/mcore/mcore.h (STORE_FLAG_VALUE): Likewise.
* config/mips/mips.h (STORE_FLAG_VALUE): Likewise.
* config/mmix/mmix.h (STORE_FLAG_VALUE): Likewise.
* config/ns32k/ns32k.h (STORE_FLAG_VALUE): Likewise.
* config/pa/pa.h (STORE_FLAG_VALUE): Likewise.
* config/pdp11/pdp11.h (STORE_FLAG_VALUE): Likewise.
* config/sh/sh.h (STORE_FLAG_VALUE): Likewise.
* config/sparc/sparc.h (STORE_FLAG_VALUE): Likewise.
* config/v850/v850.h (STORE_FLAG_VALUE): Likewise.
* config/xtensa/xtensa.h (STORE_FLAG_VALUE): Likewise.

Co-Authored-By: Zack Weinberg <zack@codesourcery.com>
From-SVN: r67957

21 years ago* opts.sh (POSIXLY_CORRECT): Unset it.
Nathan Sidwell [Sat, 14 Jun 2003 17:40:07 +0000 (17:40 +0000)]
* opts.sh (POSIXLY_CORRECT): Unset it.

From-SVN: r67954

21 years agotree.h (init_function_start): Remove filename and line paramters.
Nathan Sidwell [Sat, 14 Jun 2003 17:33:32 +0000 (17:33 +0000)]
tree.h (init_function_start): Remove filename and line paramters.

* tree.h (init_function_start): Remove filename and line paramters.
* function.c (init_function_start): Remove filename and line
parameters. Use DECL_SOURCE_LOCATION.
* c-decl.c (store_parm_decls): Adjust init_function_start call.
(c_expand_body_1): Likewise.
* coverage.c (create_coverage): Likewise.

* ada/utils.c (begin_subprog_body): Adjust init_function_start
call.

* cp/decl.c (start_function): Adjust init_function_start call.
* cp/method.c (use_thunk): Likewise.
* cp/semantics.c (genrtl_start_function): Likewise.

* f/com.c (stor_parm_decls): Adjust init_function_start call.

* java/class.c (emit_register_classes): Adjust init_function_start
call.
* java/decl.c (complete_start_java_method): Likewise.
* java/resource.c (write_resource_constructor): Likewise.

* objc/objc-act.c (build_tmp_function_decl): Set line number to
zero.
(hack_method_prototype): Adjust init_function_start call.

* treelang/treetree.c (tree_code_create_function_initial): Adjust
init_function_start call.

From-SVN: r67953

21 years agore PR target/3724 ([ARM]Illegal instruction when profiling optimized code on arm...
Richard Earnshaw [Sat, 14 Jun 2003 17:11:57 +0000 (17:11 +0000)]
re PR target/3724 ([ARM]Illegal instruction when profiling optimized code on arm-linux)

PR target/3724
* arm/linux-elf.h (PROFILE_HOOK): Define.

From-SVN: r67950