platform/upstream/gcc.git
21 years ago* unwind-dw2-fde-glibc.c (_Unwind_IteratePhdrCallback):Remove usage of
Andreas Jaeger [Wed, 4 Jun 2003 05:41:31 +0000 (07:41 +0200)]
* unwind-dw2-fde-glibc.c (_Unwind_IteratePhdrCallback):Remove usage of
CRT_GET_RFIB_TEXT.

From-SVN: r67425

21 years agot-linux64 (CRTSTUFF_T_CFLAGS_S): Define.
Chris Demetriou [Wed, 4 Jun 2003 05:35:15 +0000 (05:35 +0000)]
t-linux64 (CRTSTUFF_T_CFLAGS_S): Define.

2003-06-03  Chris Demetriou  <cgd@broadcom.com>

        * config/mips/t-linux64 (CRTSTUFF_T_CFLAGS_S): Define.

From-SVN: r67424

21 years agouwin.h: Remove SUBTARGET_PROLOGUE.
Andreas Jaeger [Wed, 4 Jun 2003 05:21:41 +0000 (07:21 +0200)]
uwin.h: Remove SUBTARGET_PROLOGUE.

* config/i386/uwin.h: Remove SUBTARGET_PROLOGUE.

* config/i386/i386.c (ix86_expand_prologue): Do not use
SUBTARGET_PROLOGUE.

* system.h: Poision SUBTARGET_PROLOGUE.

* config/arm/arm-protos.h: Remove unused rdate_section prototype.

* output.h: Remove TDESC_SECTION_ASM_OP and RDATA_SECTION_ASM_OP
dependend code.

* system.h: Poison TDESC_SECTION_ASM_OP and RDATA_SECTION_ASM_OP.

* system.h: Poison INSN_CACHE_DEPTH, INSN_CACHE_SIZE and
INSN_CACHE_LINE_WIDTH.

* libgcc2.c (INSN_CACHE_PLANE_SIZE): Removed.
(__clear_cache): Remove code dependend on INSN_CACHE_DEPTH,
INSN_CACHE_SIZE and INSN_CACHE_LINE_WIDTH.

* doc/tm.texi (Trampolines): Remove INSN_CACHE_DEPTH,
INSN_CACHE_SIZE and INSN_CACHE_LINE_WIDTH.

* dbxout.c (dbxout_type): Remove usage of DBX_OUTPUT_ENUM.
(dbxout_symbol): Remove usage of DBX_OUTPUT_CONSTANT_SYMBOL.
(dbxout_block): Remove usage of DBX_OUTPUT_CATCH.
(dbxout_block): Remove usage of DBX_LBRAC_FIRST.
(dbxout_source_file): Remove usage of DBX_OUTPUT_SOURCE_FILENAME.
(dbxout_init): Remove test for DBX_WORKING_DIRECTORY.

* doc/tm.texi (DBX Options): Do not document DBX_LBRAC_FIRST,
DBX_OUTPUT_SOURCE_FILENAME and DBX_OUTPUT_ENUM and
DBX_WORKING_DIRECTORY.

* system.h: Poison DBX_LBRAC_FIRST, DBX_OUTPUT_ENUM,
DBX_OUTPUT_SOURCE_FILENAME and DBX_WORKING_DIRECTORY.

* config/frv/frv-protos.h: Remove unused const_section
declaration.
* config/vax/vax-protos.h: Likewise.

* output.h: Remove CONST_SECTION_ASM_OP usage.

* system.h: Poison CONST_SECTION_ASM_OP.

* crtstuff.c (__do_global_dtors_aux): Remove usage of CRT_GET_RFIB_TEXT
(frame_dummy): Likewise.
* unwind-dw2-fde-glibc.c (_Unwind_IteratePhdrCallback): Likewise.
* system.h: Poison CRT_GET_RFIB_TEXT.

From-SVN: r67423

21 years ago* collect2.c (is_ctor_dtor): Remove CFRONT_LOSSAGE dependend code.
Andreas Jaeger [Wed, 4 Jun 2003 04:56:26 +0000 (06:56 +0200)]
* collect2.c (is_ctor_dtor): Remove CFRONT_LOSSAGE dependend code.

From-SVN: r67422

21 years agofix-header.c: Remove ADD_MISSING_EXTERN_C dependend variables.
Andreas Jaeger [Wed, 4 Jun 2003 04:50:47 +0000 (06:50 +0200)]
fix-header.c: Remove ADD_MISSING_EXTERN_C dependend variables.

* fix-header.c: Remove ADD_MISSING_EXTERN_C dependend variables.
(write_lbrac): Remove ADD_MISSING_EXTERN_C dependend code.
(recognized_function): Likewise.
(read_scan_file): Likewise.

From-SVN: r67421

21 years agog77spec.c (lang_specific_driver): Remove ALT_LIBM usage.
Andreas Jaeger [Wed, 4 Jun 2003 04:48:16 +0000 (06:48 +0200)]
g77spec.c (lang_specific_driver): Remove ALT_LIBM usage.

* g77spec.c (lang_specific_driver): Remove ALT_LIBM usage.

* g++spec.c (lang_specific_driver): Remove ALT_LIBM usage.

From-SVN: r67419

21 years agooptabs.c (expand_binop): Optimize complex multiplication for the case of squaring...
Roger Sayle [Wed, 4 Jun 2003 04:42:14 +0000 (04:42 +0000)]
optabs.c (expand_binop): Optimize complex multiplication for the case of squaring a complex argument.

* optabs.c (expand_binop): Optimize complex multiplication for
the case of squaring a complex argument.

From-SVN: r67418

21 years agooptabs.c (expand_binop): Attempt to reuse pseudos for duplicate non-volatile operands...
Roger Sayle [Wed, 4 Jun 2003 04:40:26 +0000 (04:40 +0000)]
optabs.c (expand_binop): Attempt to reuse pseudos for duplicate non-volatile operands of binary operations.

* optabs.c (expand_binop): Attempt to reuse pseudos for duplicate
non-volatile operands of binary operations.
(prepare_cmp_insn): Likewise.

From-SVN: r67417

21 years agovarasm.c (force_const_mem): Handle alignment of constants not representable as a...
Roger Sayle [Wed, 4 Jun 2003 04:36:53 +0000 (04:36 +0000)]
varasm.c (force_const_mem): Handle alignment of constants not representable as a type in the front-end language.

* varasm.c (force_const_mem): Handle alignment of constants not
representable as a type in the front-end language.

From-SVN: r67416

21 years agoforgot to commit.
Aldy Hernandez [Wed, 4 Jun 2003 01:12:00 +0000 (01:12 +0000)]
forgot to commit.

From-SVN: r67415

21 years agocp-tree.h (CP_AGGREGATE_TYPE_P): Accept vectors.
Jason Merrill [Wed, 4 Jun 2003 01:06:09 +0000 (21:06 -0400)]
cp-tree.h (CP_AGGREGATE_TYPE_P): Accept vectors.

2003-06-03  Jason Merrill  <jason@redhat.com>

* cp/cp-tree.h (CP_AGGREGATE_TYPE_P): Accept vectors.

* cp/decl.c (reshape_init): Handle vectors.

* testsuite/g++.dg/init/array10.C: New.

From-SVN: r67414

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

From-SVN: r67412

21 years agoflow.c (initialize_uninitialized_subregs): Use emit_move_insn instead of emitting...
Kazu Hirata [Tue, 3 Jun 2003 23:17:27 +0000 (23:17 +0000)]
flow.c (initialize_uninitialized_subregs): Use emit_move_insn instead of emitting a hardcoded move.

* flow.c (initialize_uninitialized_subregs): Use
emit_move_insn instead of emitting a hardcoded move.

From-SVN: r67409

21 years ago* gcc.dg/20020525-1.c: Replace 0x5a5a5a5a with -1.
Glen Nakamura [Tue, 3 Jun 2003 23:08:22 +0000 (23:08 +0000)]
* gcc.dg/20020525-1.c: Replace 0x5a5a5a5a with -1.

From-SVN: r67407

21 years agore PR ada/9953 (Unsatisfied symbols: U_prep_frame_rec_for_unwind (code))
Olivier Hainque [Tue, 3 Jun 2003 22:30:11 +0000 (22:30 +0000)]
re PR ada/9953 (Unsatisfied symbols: U_prep_frame_rec_for_unwind (code))

        PR ada/9953:
        * 5hsystem.ads: Remove pragma Linker_Option for pthreads library,
        and turn ZCX_By_Default back to False since the underlying support
        is not quite there yet.

From-SVN: r67406

21 years agore PR ada/9953 (Unsatisfied symbols: U_prep_frame_rec_for_unwind (code))
Olivier Hainque [Tue, 3 Jun 2003 22:25:02 +0000 (22:25 +0000)]
re PR ada/9953 (Unsatisfied symbols: U_prep_frame_rec_for_unwind (code))

2003-06-04  Olivier Hainque  <hainque@act-europe.fr>

PR ada/9953:
* 5hsystem.ads: Remove pragma Linker_Option for pthreads library,
and turn ZCX_By_Default back to False, since the underlying support
is not quite there yet.

From-SVN: r67405

21 years agooptabs.c (expand_abs_nojump): Split out from ...
Richard Henderson [Tue, 3 Jun 2003 21:29:48 +0000 (14:29 -0700)]
optabs.c (expand_abs_nojump): Split out from ...

        * optabs.c (expand_abs_nojump): Split out from ...
        (expand_abs): ... here.
        * optabs.h (expand_abs_nojump): Declare.
        * ifcvt.c: (noce_try_abs): Use expand_abs_nojump.
        * Makefile.in (ifcvt.o): Depend on optabs.h.

From-SVN: r67404

21 years ago* dwarf2out.c (DEBUG_STR_SECTION_FLAGS): Heed flag_merge_constants.
Alan Modra [Tue, 3 Jun 2003 20:45:01 +0000 (20:45 +0000)]
* dwarf2out.c (DEBUG_STR_SECTION_FLAGS): Heed flag_merge_constants.

From-SVN: r67403

21 years agoMakefile.tpl: Make 'recursive targets' using autogen rather than shell loop.
Nathanael Nerode [Tue, 3 Jun 2003 20:42:13 +0000 (20:42 +0000)]
Makefile.tpl: Make 'recursive targets' using autogen rather than shell loop.

* Makefile.tpl: Make 'recursive targets' using autogen rather
than shell loop.  Remove duplicate 'clean' targets and false
comments.
* Makefile.def: Add systematic dependencies to 'recursive' targets.
Add systematic method of specifying missing targets in subdirs.
Add copyright boilerplate.
* Makefile.in: Regenerate.
* configure.in: Add 'recursive targets' to maybe list.
* configure: Regenerate.

From-SVN: r67402

21 years agoconfig.gcc (default_use_cxa_atexit): New variable, defaults to no.
Jason Thorpe [Tue, 3 Jun 2003 20:39:52 +0000 (20:39 +0000)]
config.gcc (default_use_cxa_atexit): New variable, defaults to no.

* config.gcc (default_use_cxa_atexit): New variable, defaults to no.
(*-*-netbsd[2-9]* | *-*-netbsdelf[2-9]*): Set default_use_cxa_atexit
to yes.
* configure.in: Allow default_use_cxa_atexit to determine the
value of DEFAULT_USE_CXA_ATEXIT if not explicitly enabled or
disabled.
* configure: Regenerate.

From-SVN: r67401

21 years agoMakefile.in (TEXI_GCC_FILES): Remove vms.texi entry.
Douglas Rupp [Tue, 3 Jun 2003 20:28:14 +0000 (20:28 +0000)]
Makefile.in (TEXI_GCC_FILES): Remove vms.texi entry.

* Makefile.in (TEXI_GCC_FILES): Remove vms.texi entry.
* doc/gcc.texi: Remove vms.texi section.
* doc/vms.texi: Remove obsolete file.

From-SVN: r67400

21 years ago*** empty log message ***
Douglas B Rupp [Tue, 3 Jun 2003 20:22:20 +0000 (20:22 +0000)]
*** empty log message ***

From-SVN: r67399

21 years ago* g++.dg/abi/empty6.C (B): Request alignment of 8 bytes.
J"orn Rennecke [Tue, 3 Jun 2003 19:10:09 +0000 (19:10 +0000)]
* g++.dg/abi/empty6.C (B): Request alignment of 8 bytes.

From-SVN: r67398

21 years agobuiltin-noret-1.c (_exit, _Exit): Make weak.
Joern Rennecke [Tue, 3 Jun 2003 19:04:23 +0000 (20:04 +0100)]
builtin-noret-1.c (_exit, _Exit): Make weak.

* gcc.dg/torture/builtin-noret-1.c (_exit, _Exit): Make weak.
* gcc.dg/torture/builtin-noret-2.c (_exit, _Exit): Likewise.

From-SVN: r67397

21 years agoconfigure.in (inhibit_libc): Don't define when configuring with --with-newlib --with...
J"orn Rennecke [Tue, 3 Jun 2003 19:01:22 +0000 (19:01 +0000)]
configure.in (inhibit_libc): Don't define when configuring with --with-newlib --with-headers.

* configure.in (inhibit_libc): Don't define when configuring
with --with-newlib --with-headers.
* configure: Regenerate.

* t-sh: Remove LIB2FUNCS_EXTRA and embed-bb.c rules.

From-SVN: r67396

21 years agoasprintf.c: Change comment to note that -1 is returned upon error.
Nick Clifton [Tue, 3 Jun 2003 18:19:17 +0000 (18:19 +0000)]
asprintf.c: Change comment to note that -1 is returned upon error.

vasprintf.c: Likewise. (vasprintf): Return -1 upon error.
functions.texi: Document changes to asprintf and vasprintf.

From-SVN: r67395

21 years agofstream.tcc (pbackfail): Make a rarely taken 'if' branch less obscure.
Benjamin Kosnik [Tue, 3 Jun 2003 18:06:09 +0000 (18:06 +0000)]
fstream.tcc (pbackfail): Make a rarely taken 'if' branch less obscure.

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

* include/bits/fstream.tcc (pbackfail): Make a rarely taken
'if' branch less obscure.

From-SVN: r67394

21 years agoconfigure.in (gcc_cv_as_hidden): Disable .hidden completely on IRIX 6 without GNU ld.
Rainer Orth [Tue, 3 Jun 2003 17:18:00 +0000 (17:18 +0000)]
configure.in (gcc_cv_as_hidden): Disable .hidden completely on IRIX 6 without GNU ld.

* configure.in (gcc_cv_as_hidden): Disable .hidden completely on
IRIX 6 without GNU ld.
* configure: Regenerate.

From-SVN: r67390

21 years agoexpr.c (emit_move_insn_1): Use emit_move_insn to move the parts of a complex number...
Roger Sayle [Tue, 3 Jun 2003 17:13:06 +0000 (17:13 +0000)]
expr.c (emit_move_insn_1): Use emit_move_insn to move the parts of a complex number rather than invoke...

* expr.c (emit_move_insn_1): Use emit_move_insn to move the parts
of a complex number rather than invoke mov_optab directly.

From-SVN: r67389

21 years agocombine.c (simplify_set): Don't move a subreg in SET_SRC to SET_DEST if...
Kazu Hirata [Tue, 3 Jun 2003 17:10:48 +0000 (17:10 +0000)]
combine.c (simplify_set): Don't move a subreg in SET_SRC to SET_DEST if...

* combine.c (simplify_set): Don't move a subreg in SET_SRC to
SET_DEST if WORD_REGISTER_OPERATIONS is not defined.

From-SVN: r67388

21 years agobuiltin-noret-1.c (_exit, _Exit): Make weak.
Joern Rennecke [Tue, 3 Jun 2003 17:00:23 +0000 (18:00 +0100)]
builtin-noret-1.c (_exit, _Exit): Make weak.

* gcc.dg/torture/builtin-noret-1.c (_exit, _Exit): Make weak.
* gcc.dg/torture/builtin-noret-2.c (_exit, _Exit): Likewise.

From-SVN: r67387

21 years ago* MAINTAINERS: "GNATS only" -> "Bug database only".
Nathanael Nerode [Tue, 3 Jun 2003 16:48:03 +0000 (16:48 +0000)]
* MAINTAINERS: "GNATS only" -> "Bug database only".

From-SVN: r67382

21 years agox86-64.h: Remove two target-independent comments; replace "GNU CC" with "GCC".
Nathanael Nerode [Tue, 3 Jun 2003 16:40:42 +0000 (16:40 +0000)]
x86-64.h: Remove two target-independent comments; replace "GNU CC" with "GCC".

* config/i386/x86-64.h: Remove two target-independent comments;
 replace "GNU CC" with "GCC".

From-SVN: r67381

21 years agoMakefile.tpl: Rename [+target+] to [+make_target+].
Nathanael Nerode [Tue, 3 Jun 2003 16:35:42 +0000 (16:35 +0000)]
Makefile.tpl: Rename [+target+] to [+make_target+].

* Makefile.tpl: Rename [+target+] to [+make_target+].
* Makefile.def: Rename 'target' to 'make_target'.

From-SVN: r67380

21 years agox86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on stack volatile to prevent...
Andrew Haley [Tue, 3 Jun 2003 16:13:22 +0000 (16:13 +0000)]
x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on stack volatile to prevent optimization from removing it.

2003-06-03  Andrew Haley  <aph@redhat.com>

        * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
        stack volatile to prevent optimization from removing it.

From-SVN: r67379

21 years agoCommit patch that was approved last october. Oops.
Anthony Green [Tue, 3 Jun 2003 15:19:16 +0000 (15:19 +0000)]
Commit patch that was approved last october. Oops.

From-SVN: r67375

21 years agosimd-5.x: Remove xfail for PPC64.
Aldy Hernandez [Tue, 3 Jun 2003 13:46:28 +0000 (13:46 +0000)]
simd-5.x: Remove xfail for PPC64.

2003-06-03  Aldy Hernandez  <aldyh@redhat.com>

        * testsuite/gcc.c-torture/compile/simd-5.x: Remove xfail for PPC64.

From-SVN: r67374

21 years agore PR c++/10940 (Bad code with explicit specialization)
Kriang Lerdsuwanakij [Tue, 3 Jun 2003 13:01:44 +0000 (13:01 +0000)]
re PR c++/10940 (Bad code with explicit specialization)

PR c++/10940
* pt.c (check_explicit_specialization): Check for 'static'
earlier.

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

From-SVN: r67373

21 years agobuiltins.def (BUILT_IN_CABS, [...]): New builtins representing ISO C99's cabs, cabsf...
Roger Sayle [Tue, 3 Jun 2003 11:27:23 +0000 (11:27 +0000)]
builtins.def (BUILT_IN_CABS, [...]): New builtins representing ISO C99's cabs, cabsf and cabsl.

* builtins.def (BUILT_IN_CABS, BUILT_IN_CABSF, BUILT_IN_CABSL):
New builtins representing ISO C99's cabs, cabsf and cabsl.
* builtins.c (expand_builtin_fabs): New function.
(expand_builtin_cabs): New function.
(expand_builtin): Expand BUILT_IN_FABS{,F,L} and BUILT_IN_CABS{,F,L}
using expand_builtin_fabs and expand_builtin_cabs respectively.

* doc/extend.texi: Document new cabs, cabsf and cabsl builtins.

* gcc.dg/builtins-16.c: New test case.

From-SVN: r67368

21 years agofunction.c (assign_parms): Split complex arguments.
Aldy Hernandez [Tue, 3 Jun 2003 11:14:07 +0000 (11:14 +0000)]
function.c (assign_parms): Split complex arguments.

2003-06-03  Aldy Hernandez  <aldyh@redhat.com>

        * function.c (assign_parms): Split complex arguments.

        * doc/tm.texi (SPLIT_COMPLEX_ARGS): Document.

        * expr.h (SPLIT_COMPLEX_ARGS): Define.
        (split_complex_types): Protoize.
        (split_complex_values): Protoize.

        * calls.c (expand_call): Split complex arguments on architectures
        that require it.
        (split_complex_values): New.
        (split_complex_types): New.

        * config/rs6000/rs6000.c (rs6000_libcall_value): New.
        (rs6000_function_value): Handle complex values on AIX.
        (rs6000_complex_function_value): New.

        * config/rs6000/rs6000-protos.h (rs6000_libcall_value): Protoize.

        * config/rs6000/rs6000.h (LIBCALL_VALUE): Call function.
        (SPLIT_COMPLEX_ARGS): New.

From-SVN: r67367

21 years agoconfigure.in (HAVE_LD_PIE): Check for ld -pie.
Jakub Jelinek [Tue, 3 Jun 2003 09:06:55 +0000 (11:06 +0200)]
configure.in (HAVE_LD_PIE): Check for ld -pie.

* configure.in (HAVE_LD_PIE): Check for ld -pie.
* config.in: Rebuilt.
* configure: Rebuilt.
* toplev.c (flag_pie, flag_shlib): New variables.
(f_options): Add -fpie and -fPIE.
(parse_options_and_default_flags): Set flag_pic if -fpie/-fPIE.
Set flag_shlib if flag_pic and not -fpie/-fPIE.
* flags.h (flag_pic, flag_shlib): Add.
* varasm.c (default_binds_local_p): Use flag_shlib instead of
flag_pic.
* gcc.c (LINK_PIE_SPEC): Define.
(LINK_COMMAND_SPEC): Use LINK_PIE_SPEC.
(option_map): Add --pie -> -pie mapping.
* config/sol2.h (ASM_SPEC): Handle -fpie the same way as -fpic
and -fPIE the same way as -fPIC.
* config/openbsd.h (ASM_SPEC): Likewise.
* config/frv/frv.h (ASM_SPEC): Likewise.
* config/arm/linux-gas.h (SUBTARGET_CPP_SPEC): Likewise.
* config/arm/semi.h (ASM_SPEC): Likewise.
* config/arm/netbsd-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Likewise.
* config/freebsd-spec.h (FBSD_CPP_SPEC): Likewise.
* config/i386/beos-elf.h (CC1_SPEC): Likewise.
* config/i386/freebsd-aout.h (ASM_SPEC): Likewise.
* config/m68k/linux.h (CPP_SPEC): Likewise.
* config/m68k/netbsd.h (ASM_SPEC): Likewise.
* config/m68k/openbsd.h (ASM_SPEC): Likewise.
* config/m68k/netbsd-elf.h (ASM_SPEC): Likewise.
* config/mips/linux.h (SUBTARGET_CPP_SPEC): Likewise.
* config/mips/openbsd.h (SUBTARGET_ASM_SPEC): Likewise.
* config/pa/pa-linux.h (CPP_SPEC): Likewise.
* config/netbsd-aout.h (ASM_SPEC): Likewise.
* config/rs6000/sysv4.h (ASM_SPEC, CPP_SYSV_SPEC): Likewise.
* config/rs6000/vxworks.h (CPP_SPEC): Likewise.
* config/sparc/linux.h (CPP_SUBTARGET_SPEC, ASM_SPEC): Likewise.
* config/sparc/linux64.h (CPP_SUBTARGET_SPEC, ASM_SPEC): Likewise.
* config/sparc/sparc.h (ASM_SPEC): Likewise.
* config/sparc/sp64-elf.h (ASM_SPEC): Likewise.
* config/sparc/sysv4.h (ASM_SPEC): Likewise.
* config/sparc/netbsd-elf.h (ASM_SPEC): Likewise.
* config/sparc/openbsd64.h (ASM_SPEC): Likewise.
* config/cris/linux.h (CRIS_ASM_SUBTARGET_SPEC): Likewise.
* config/linux.h (STARTFILE_SPEC, ENDFILE_SPEC): Handle -pie.
Simplify.
* config/alpha/elf.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
* config/i386/linux64.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
* config/ia64/linux.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
* config/rs6000/sysv4.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
* config/rs6000/linux64.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
* config/sparc/linux.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
* config/sparc/linux64.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
* doc/invoke.texi: Document -pie, -fpie and -fPIE options.

From-SVN: r67359

21 years agobuiltins.c (expand_builtin_memcpy): Remove endp argument and endp != 0 handling.
Jakub Jelinek [Tue, 3 Jun 2003 08:57:55 +0000 (10:57 +0200)]
builtins.c (expand_builtin_memcpy): Remove endp argument and endp != 0 handling.

* builtins.c (expand_builtin_memcpy): Remove endp argument and endp
!= 0 handling.  Pass 0 to store_by_pieces.
(expand_builtin_mempcpy): Add endp argument.  Don't call
expand_builtin_memcpy, call store_by_pieces resp. move_by_pieces
directly.  If ignoring result, only do expand_call.
(expand_builtin_stpcpy): Likewise.  Call expand_builtin_mempcpy
otherwise.
(expand_builtin_strncpy, expand_builtin_memset): Adjust
store_by_pices callers.
(expand_builtin): Adjust expand_builtin_memcpy and
expand_builtin_mempcpy callers.
* expr.c (can_move_by_pieces): New function.
(move_by_pieces): Add endp argument, return to resp. memory at end
or one byte earlier depending on endp.
(store_by_pieces): Likewise.
(emit_block_move): Adjust call to move_by_pieces.
(emit_push_insn): Adjust move_by_pieces caller.
* expr.h (can_move_by_pieces): New prototype.
(store_by_pieces): Adjust prototypes.
* rtl.h (move_by_pieces): Adjust prototype.
* config/mips/mips.c (expand_block_move): Adjust move_by_pieces
caller.

* gcc.c-torture/execute/builtins/string-4.c (main_test): Remove
mempcpy test with post-increments.
* gcc.c-torture/execute/string-opt-3.c: New test.
* gcc.dg/string-opt-1.c: New test.

From-SVN: r67358

21 years ago* doc/md.texi (Processor pipeline description): Improve wording.
Ben Elliston [Tue, 3 Jun 2003 06:56:42 +0000 (16:56 +1000)]
* doc/md.texi (Processor pipeline description): Improve wording.

From-SVN: r67355

21 years agoc-opts.c (c_common_handle_option): New, pulled out of c_common_decode_option.
Neil Booth [Tue, 3 Jun 2003 05:42:25 +0000 (05:42 +0000)]
c-opts.c (c_common_handle_option): New, pulled out of c_common_decode_option.

* c-opts.c (c_common_handle_option): New, pulled out of
c_common_decode_option.  Substitute uses of argv.
(c_common_decode_option): Broken into two.

From-SVN: r67354

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

From-SVN: r67351

21 years agore PR fortran/10965 (g77 compiles illegal code in testsuite)
David Billinghurst [Tue, 3 Jun 2003 00:10:35 +0000 (00:10 +0000)]
re PR fortran/10965 (g77 compiles illegal code in testsuite)

2003-06-03  David Billinghurst (David.Billinghurst@riotinto.com)

PR fortran/10965
* g77.f-torture/compile/20000601-2.f: Fix non-standard code.

From-SVN: r67349

21 years agoscanasm.exp (dg-scan): New function, factored out of ...
Mark Mitchell [Mon, 2 Jun 2003 19:21:15 +0000 (19:21 +0000)]
scanasm.exp (dg-scan): New function, factored out of ...

* lib/scanasm.exp (dg-scan): New function, factored out of ...
(scan-assembler): ... here.  Use dg-scan.
(scan-assembler-not): Likewise.
(scan-file): New function.
(scan-file-not): Likewise.
* gcc.dg/cpp/19990228-1.c: Use scan-file and/or scan-file-not.
* gcc.dg/cpp/_Pragma4.c: Likewise.
* gcc.dg/cpp/_Pragma5.c: Likewise.
* gcc.dg/cpp/avoidpaste1.c: Likewise.
* gcc.dg/cpp/avoidpaste2.c: Likewise.
* gcc.dg/cpp/cmdlne-C2.c: Likewise.
* gcc.dg/cpp/cmdlne-P.c: Likewise.
* gcc.dg/cpp/cmdlne-dD-M.c: Likewise.
* gcc.dg/cpp/cmdlne-dD-dM.c: Likewise.
* gcc.dg/cpp/cmdlne-dI-M.c: Likewise.
* gcc.dg/cpp/cmdlne-dM-M.c: Likewise.
* gcc.dg/cpp/cmdlne-dM-dD.c: Likewise.
* gcc.dg/cpp/cmdlne-dN-M.c: Likewise.
* gcc.dg/cpp/cxxcom1.c: Likewise.
* gcc.dg/cpp/line1.c: Likewise.
* gcc.dg/cpp/maccom1.c: Likewise.
* gcc.dg/cpp/maccom2.c: Likewise.
* gcc.dg/cpp/maccom3.c: Likewise.
* gcc.dg/cpp/maccom4.c: Likewise.
* gcc.dg/cpp/maccom5.c: Likewise.
* gcc.dg/cpp/maccom6.c: Likewise.
* gcc.dg/cpp/multiline.c: Likewise.
* gcc.dg/cpp/spacing1.c: Likewise.
* gcc.dg/cpp/spacing2.c: Likewise.
* gcc.dg/cpp/trad/cmdlne-C2.c: Likewise.
* gcc.dg/cpp/trad/maccom1.c: Likewise.
* gcc.dg/cpp/trad/maccom2.c: Likewise.
* gcc.dg/cpp/trad/maccom3.c: Likewise.
* gcc.dg/cpp/trad/maccom4.c: Likewise.
* gcc.dg/cpp/trad/maccom6.c: Likewise.
* gcc.dg/cpp/cxxcom2.c: Likewise.
* gcc.dg/cpp/cxxcom2.h: New file.

From-SVN: r67347

21 years agoRevert accidental change to mips_output_move.
Richard Sandiford [Mon, 2 Jun 2003 19:13:41 +0000 (19:13 +0000)]
Revert accidental change to mips_output_move.

From-SVN: r67346

21 years agore PR libstdc++/9815 (atomicity.h - fails to compile with -O3 -masm=intel)
Andrew Pinski [Mon, 2 Jun 2003 18:38:32 +0000 (18:38 +0000)]
re PR libstdc++/9815 (atomicity.h - fails to compile with -O3 -masm=intel)

2003-06-02  Andrew Pinski  <pinskia@physics.uc.edu>

PR libstdc++/9815
* config/cpu/i386/atomicity.h (__exchange_and_add): add intel
asm case to asm.
* config/cpu/i486/atomicity.h (__exchange_and_add): Likewise.
(__atomic_add): likewise.

From-SVN: r67343

21 years agosstream.tcc (pbackfail): Minor clean up and reformatting, consistent with basic_fileb...
Paolo Carlini [Mon, 2 Jun 2003 18:24:30 +0000 (20:24 +0200)]
sstream.tcc (pbackfail): Minor clean up and reformatting, consistent with basic_filebuf::pbackfail.

2003-06-02  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/sstream.tcc (pbackfail): Minor clean up and
reformatting, consistent with basic_filebuf::pbackfail.

From-SVN: r67342

21 years agore PR libstdc++/11062 (Please avoid __attribute__ ((unused)))
Richard Kreckel [Mon, 2 Jun 2003 18:03:23 +0000 (18:03 +0000)]
re PR libstdc++/11062 (Please avoid __attribute__ ((unused)))

2003-06-02  Richard Kreckel  <Richard.Kreckel@GiNaC.DE>

PR libstdc++/11062
* config/cpu/mips/atomicity.h:  Change __attribute__ ((unused)) to
__attribute__ ((__unused__)).
* config/os/aix/atomicity.h:  Likewise.

From-SVN: r67340

21 years agore PR libstdc++/9761 (filebuf::pbackfail discards previously put back characters)
Paolo Carlini [Mon, 2 Jun 2003 16:46:28 +0000 (18:46 +0200)]
re PR libstdc++/9761 (filebuf::pbackfail discards previously put back characters)

2003-06-02  Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/9761
* include/bits/fstream.tcc (pbackfail): If the pback buffer
is already active don't try to store in it a second char.
* testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc: New.

* include/bits/fstream.tcc (pbackfail): Add unbuffered bits.

From-SVN: r67337

21 years ago3.cc: Tweak line spacing.
Paolo Carlini [Mon, 2 Jun 2003 15:53:14 +0000 (17:53 +0200)]
3.cc: Tweak line spacing.

2003-06-02  Paolo Carlini  <pcarlini@unitus.it>

* testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: Tweak
line spacing.

From-SVN: r67336

21 years agoremove addition to ARM configure accidentally added with m32r commit
Nick Clifton [Mon, 2 Jun 2003 15:40:43 +0000 (15:40 +0000)]
remove addition to ARM configure accidentally added with m32r commit

From-SVN: r67335

21 years agostd_fstream.h (_M_destroy_pback): Use _M_in_beg instead of unnecessarily taking the...
Paolo Carlini [Mon, 2 Jun 2003 15:36:24 +0000 (17:36 +0200)]
std_fstream.h (_M_destroy_pback): Use _M_in_beg instead of unnecessarily taking the address of _M_pback.

2003-06-02  Paolo Carlini  <pcarlini@unitus.it>

* include/std/std_fstream.h (_M_destroy_pback): Use _M_in_beg
instead of unnecessarily taking the address of _M_pback.
(xsgetn): Simplify slightly for a single char pback buffer.

2003-06-02  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/sstream.tcc (seekoff): Remove four unnecessary
variables and two 'if', clean up.

2003-06-02  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/sstream.tcc (seekpos): Test against _M_out_lim
not _M_out_end, since the former actually points to the string
end (vs buffer end).
* testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: New.

From-SVN: r67334

21 years agotruefalse.cpp: Move it to ...
Mark Mitchell [Mon, 2 Jun 2003 15:25:50 +0000 (15:25 +0000)]
truefalse.cpp: Move it to ...

* gcc.dg/cpp/truefalse.cpp: Move it to ...
* g++.dg/cpp/truefalse.C: Here.
* gcc.dg/cpp/cpp.exp: Remove scanning of ".cpp" files.

From-SVN: r67333

21 years agoemit-rtl.c (gen_complex_constant_part): Remove unnecessary test of TREE_CONSTANT_POOL...
Roger Sayle [Mon, 2 Jun 2003 14:19:24 +0000 (14:19 +0000)]
emit-rtl.c (gen_complex_constant_part): Remove unnecessary test of TREE_CONSTANT_POOL_ADDRESS_P.

* emit-rtl.c (gen_complex_constant_part):  Remove unnecessary
test of TREE_CONSTANT_POOL_ADDRESS_P.

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

21 years agomips.c: Don't include output.h twice.
Kaveh R. Ghazi [Mon, 2 Jun 2003 14:15:15 +0000 (14:15 +0000)]
mips.c: Don't include output.h twice.

* mips.c: Don't include output.h twice.
* stormy16.c: Likewise.
* xtensa.c: Likewise.
* output.h: Protect against multiple inclusion.

From-SVN: r67330

21 years agosh.h (OLD_ARG_MODE): New macro.
J"orn Rennecke [Mon, 2 Jun 2003 14:04:56 +0000 (14:04 +0000)]
sh.h (OLD_ARG_MODE): New macro.

* sh.h (OLD_ARG_MODE): New macro.
(FUNCTION_ARG_ADVANCE, FUNCTION_ARG_PASS_BY_REFERENCE): Use it.
(FUNCTION_ARG_1): Break out of:
(FUNCTION_ARG).  Use OLD_ARG_MODE.

From-SVN: r67329

21 years agoAdd support multilib parts for m32rx processor.
Nick Clifton [Mon, 2 Jun 2003 12:11:49 +0000 (12:11 +0000)]
Add support multilib parts for m32rx processor.

From-SVN: r67328

21 years agoAdd support multilib parts for m32rx processor.
Kazuhiro Inaoka [Mon, 2 Jun 2003 11:48:21 +0000 (11:48 +0000)]
Add support multilib parts for m32rx processor.

From-SVN: r67327

21 years agoMakefile.in (c-options.c): Pass in $(AWK) to opts.sh.
Kaveh R. Ghazi [Mon, 2 Jun 2003 11:41:51 +0000 (11:41 +0000)]
Makefile.in (c-options.c): Pass in $(AWK) to opts.sh.

* Makefile.in (c-options.c): Pass in $(AWK) to opts.sh.
(mostlyclean): Delete c-options.c and c-options.h.

From-SVN: r67326

21 years agoc-opts.c (CL_REJECT_NEGATIVE): New.
Neil Booth [Mon, 2 Jun 2003 05:48:30 +0000 (05:48 +0000)]
c-opts.c (CL_REJECT_NEGATIVE): New.

* c-opts.c (CL_REJECT_NEGATIVE): New.
(c_common_decode_option): Update to use it.
* c.opt: Update documentation; use RejectNegative.
* opts.sh: Handle RejectNegative.

From-SVN: r67325

21 years ago* Shorten a line in my 2003-06-02 entry that was too long.
Ben Elliston [Mon, 2 Jun 2003 05:15:17 +0000 (15:15 +1000)]
* Shorten a line in my 2003-06-02 entry that was too long.

From-SVN: r67324

21 years agoggc-page.c (init_ggc): Give better diagnostics on failure to open /dev/zero.
Zack Weinberg [Mon, 2 Jun 2003 05:05:49 +0000 (05:05 +0000)]
ggc-page.c (init_ggc): Give better diagnostics on failure to open /dev/zero.

* ggc-page.c (init_ggc): Give better diagnostics on failure to
open /dev/zero.
* toplev.c (crash_signal): Reset handling for received signal
to SIG_DFL.

From-SVN: r67323

21 years agoarm.c (arm_use_dfa_pipeline_interface): Declare.
Ben Elliston [Mon, 2 Jun 2003 03:53:54 +0000 (03:53 +0000)]
arm.c (arm_use_dfa_pipeline_interface): Declare.

2003-06-02  Ben Elliston  <bje@wasabisystems.com>

* config/arm/arm.c (arm_use_dfa_pipeline_interface): Declare.
(TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): Define if not already defined.
(arm_use_dfa_pipeline_interface): Implement.
* config/arm/arm.md (arm): New automaton.
(write_buf): Remove function units; new cpu unit.
(write_blockage): Remove function units; new cpu unit.
(core): Remove function units; new cpu unit.
(r_mem_f_wbuf): New instruction reservation.
(store1_wbuf, store2_wbuf, store3_wbuf, store4_wbuf): Likewise.
(store1_ldsched, store2, store3, store4): Likewise.
(load_ldsched, load_ldsched_xscale, load_or_store): Likewise.
(mult, mult_ldsched, mult_ldsched_strongarm): Likewise.
(multi_cycle, single_cycle): Likewise.
* config/arm/fpa.md (armfp): New automaton.
(fpa): Remove function units; new cpu unit.
(fpa_mem): Remove function unit; new cpu unit.
(fdivx, fdivd, fdivs, fmul, ffmul, farith, ffarith): New reservations.
(r_2_f, f_2_r, f_load, f_store, r_mem_f, f_mem_r): Likewise.

From-SVN: r67322

21 years agobuiltin-attrs.def (ATTR_ASM_FPRINTF): New.
Kaveh R. Ghazi [Mon, 2 Jun 2003 01:41:05 +0000 (01:41 +0000)]
builtin-attrs.def (ATTR_ASM_FPRINTF): New.

* builtin-attrs.def (ATTR_ASM_FPRINTF): New.
* c-format.c (enum format_type): Add asm_fprintf_format_type.
(NOARGUMENTS, asm_fprintf_length_specs, asm_fprintf_flag_specs,
asm_fprintf_flag_pairs, asm_fprintf_char_table): New.
(format_types_orig): Renamed from format_types.  Add new data.
(format_types): Declare as pointer.
(handle_format_attribute): Move later in file so we have all
necessary declarations.  Add section to capture HOST_WIDE_INT.
* output.h (ATTRIBUTE_ASM_FPRINTF, __gcc_host_wide_int__): New.
(asm_fprintf): Mark with ATTRIBUTE_ASM_FPRINTF.

From-SVN: r67319

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

From-SVN: r67317

21 years agoForgot with last commit.
Andreas Jaeger [Sun, 1 Jun 2003 20:11:27 +0000 (22:11 +0200)]
Forgot with last commit.

From-SVN: r67314

21 years agotm.texi (Storage Layout): Remove ROUND_TYPE_SIZE and ROUND_TYPE_SIZE_UNIT.
Andreas Jaeger [Sun, 1 Jun 2003 19:44:22 +0000 (21:44 +0200)]
tm.texi (Storage Layout): Remove ROUND_TYPE_SIZE and ROUND_TYPE_SIZE_UNIT.

* doc/tm.texi (Storage Layout): Remove ROUND_TYPE_SIZE and
ROUND_TYPE_SIZE_UNIT.

* stor-layout.c (finalize_record_size): Remove usages of
ROUND_TYPE_SIZE and ROUND_TYPE_SIZE_UNIT.
(finalize_type_size): Likewise.
(layout_type): Likewise.

* system.h: Poison ROUND_TYPE_SIZE and ROUND_TYPE_SIZE_UNIT.

ada:
* utils.c (finish_record_type): Remove usages of
ROUND_TYPE_SIZE and ROUND_TYPE_SIZE_UNIT.

From-SVN: r67313

21 years ago* loop.c (check_insn_for_givs): Remove DONT_REDUCE_ADDR macro.
Andreas Jaeger [Sun, 1 Jun 2003 19:38:28 +0000 (21:38 +0200)]
* loop.c (check_insn_for_givs): Remove DONT_REDUCE_ADDR macro.

From-SVN: r67312

21 years ago* config/d30v/d30v.h: Remove text copied from the manual.
Andreas Jaeger [Sun, 1 Jun 2003 19:32:15 +0000 (21:32 +0200)]
* config/d30v/d30v.h: Remove text copied from the manual.

From-SVN: r67311

21 years agoemit-rtl.c (gen_lowpart_common): Handle interpreting integer constants as condition...
Roger Sayle [Sun, 1 Jun 2003 18:59:17 +0000 (18:59 +0000)]
emit-rtl.c (gen_lowpart_common): Handle interpreting integer constants as condition code values.

* emit-rtl.c (gen_lowpart_common): Handle interpreting integer
constants as condition code values.

Co-Authored-By: Geoffrey Keating <geoffk@apple.com>
Co-Authored-By: John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
From-SVN: r67309

21 years agoOops, wrong date
DJ Delorie [Sun, 1 Jun 2003 18:55:52 +0000 (14:55 -0400)]
Oops, wrong date

From-SVN: r67308

21 years agocppmacro.c (warn_of_redefinition): Handle cases where the two definitions have differ...
DJ Delorie [Sun, 1 Jun 2003 18:55:15 +0000 (14:55 -0400)]
cppmacro.c (warn_of_redefinition): Handle cases where the two definitions have different numbers of tokens.

* cppmacro.c (warn_of_redefinition): Handle cases where the two
definitions have different numbers of tokens.

* gcc.dg/cpp/redef3.c: New file.

From-SVN: r67307

21 years agogen-protos.c (main): Readd unused attribute for argc.
Andreas Jaeger [Sun, 1 Jun 2003 18:48:38 +0000 (20:48 +0200)]
gen-protos.c (main): Readd unused attribute for argc.

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

* gen-protos.c (main): Readd unused attribute for argc.

From-SVN: r67306

21 years agoMakefile.in (c-options.c, [...]): Parallel make safe.
Neil Booth [Sun, 1 Jun 2003 18:24:08 +0000 (18:24 +0000)]
Makefile.in (c-options.c, [...]): Parallel make safe.

* Makefile.in (c-options.c, c-options.h): Parallel make safe.
* c.opt: End in blank line.
* opts.sh: Take AWK from environment if available; use C locale.

From-SVN: r67305

21 years ago* config/m68k/linux.h: Remove code protected by USE_GNULIBC_1.
Andreas Schwab [Sun, 1 Jun 2003 17:43:20 +0000 (17:43 +0000)]
* config/m68k/linux.h: Remove code protected by USE_GNULIBC_1.

From-SVN: r67304

21 years ago* gen-protos.c (main): Revert patch to check for argument.
Andreas Jaeger [Sun, 1 Jun 2003 16:48:05 +0000 (18:48 +0200)]
* gen-protos.c (main): Revert patch to check for argument.

From-SVN: r67303

21 years agore PR target/11044 ([x86] out of range loop instructions for FP code on K6)
Eric Botcazou [Sun, 1 Jun 2003 16:10:09 +0000 (18:10 +0200)]
re PR target/11044 ([x86] out of range loop instructions for FP code on K6)

PR target/11044
* config/i386/i386.md (length attribute): Set length to 4
for instructions of type "fcmp".

From-SVN: r67300

21 years agotoplev.c: Use ISO C90 prototypes.
Andreas Jaeger [Sun, 1 Jun 2003 16:04:55 +0000 (18:04 +0200)]
toplev.c: Use ISO C90 prototypes.

        * toplev.c: Use ISO C90 prototypes.

        * toplev.h: Use ISO C90 prototypes.

From-SVN: r67299

21 years agogenattrtab.c (copy_rtx_unchanging): Remove #if 0'ed code.
Andreas Jaeger [Sun, 1 Jun 2003 16:02:11 +0000 (18:02 +0200)]
genattrtab.c (copy_rtx_unchanging): Remove #if 0'ed code.

        * genattrtab.c (copy_rtx_unchanging): Remove #if 0'ed code.
        Remove #if 0'ed function simplify_by_alternatives.
        (optimize_attrs): Remove #if 0'ed code.
        Remove ^L.
        Use ISO C90 prototypes.
        (make_canonical): Remove #if 0'ed code.
        (convert_const_symbol_ref): Remove #if 0'ed function.

From-SVN: r67298

21 years agogenrecog.c: Use ISO C90 prototypes.
Andreas Jaeger [Sun, 1 Jun 2003 15:59:10 +0000 (17:59 +0200)]
genrecog.c: Use ISO C90 prototypes.

* genrecog.c: Use ISO C90 prototypes.
(nodes_identical): Correct declaration to match prototype.
(maybe_both_true): Likewise.
(merge_trees): Likewise.

* genpeep.c (gen_peephole): Remove #if 0 code.
Use ISO C90 prototypes.

* genattrtab.c (copy_rtx_unchanging): Remove #if 0'ed code.
Remove #if 0'ed function simplify_by_alternatives.
(optimize_attrs): Remove #if 0'ed code.
Remove ^L.
Use ISO C90 prototypes.
(make_canonical): Remove #if 0'ed code.
(convert_const_symbol_ref): Remove #if 0'ed function.

* gen-protos.c (main): Check for argument.

* rtl.h: Use ISO C90 prototypes for functions from lists.c.

* params.h: Use ISO C90 prototypes.
* params.c: Likewise.
* intl.c: Likewise.
* intl.h: Likewise.
* lists.c: Likewise.
* errors.c: Likewise.
* errors.h: Likewise.
* gencodes.c: Likewise.
* genpreds.c: Likewise.
* genattr.c: Likewise.
* gen-protos.c: Likewise.
* genflags.c: Likewise
* genconditions.c: Likewise.
* genautomata.c: Likewise.
* gencheck.c: Likewise.
* genconfig.c: Likewise.
* genconstants.c: Likewise.
* genemit.c: Likewise.
* genextract.c: Likewise.
* gengenrtl.c: Likewise.
* gengtype.c: Likewise.
* gengtype.h: Likewise.
* genopinit.c: Likewise.
* genoutput.c: Likewise.
* gensupport.c: Likewise.
* gensupport.h: Likewise.

From-SVN: r67296

21 years agoste.c (ffeste_R838): Handle ERROR_MARK.
Bud Davis [Sun, 1 Jun 2003 15:45:05 +0000 (15:45 +0000)]
ste.c (ffeste_R838): Handle ERROR_MARK.

2003-06-01  Bud Davis  <bdavis9659@comcast.net>

* ste.c (ffeste_R838): Handle ERROR_MARK.
(ffeste_R839): Ditto.

From-SVN: r67295

21 years agosdbout.h: Use ISO C90 prototypes.
Andreas Jaeger [Sun, 1 Jun 2003 15:43:59 +0000 (17:43 +0200)]
sdbout.h: Use ISO C90 prototypes.

* sdbout.h: Use ISO C90 prototypes.

* sdbout.c (CONTIN): Removed empty macro.
(sdbout_one_type): Remove CONTIN usages.
Remove ^Ls.
(tag_of_ru_type): Remove #if 0'ed function.
(sdbout_symbol): Remove #if 0'ed code.
(sdbout_one_type): Remove a #if 1.
(sdbout_one_type): Remove #if 0'ed code.
(sdbout_init): Remove RMS_QUICK_HACK_1 code.
Remove PARAMS, use ISO C90 prototypes for all functions.

From-SVN: r67294

21 years ago* rtl.def (CONST_DOUBLE): Update comment.
Josef Zlomek [Sun, 1 Jun 2003 14:42:42 +0000 (16:42 +0200)]
* rtl.def (CONST_DOUBLE): Update comment.

From-SVN: r67293

21 years ago* opts.sh: Remove path from sort.
Neil Booth [Sun, 1 Jun 2003 13:19:50 +0000 (13:19 +0000)]
* opts.sh: Remove path from sort.

From-SVN: r67291

21 years agoadd PR#
Aldy Hernandez [Sun, 1 Jun 2003 11:36:25 +0000 (11:36 +0000)]
add PR#

From-SVN: r67290

21 years agors6000.h (CANNOT_CHANGE_MODE_CLASS): Require TARGET_SPE for SPE_VECTOR_MODE.
Aldy Hernandez [Sun, 1 Jun 2003 11:35:45 +0000 (11:35 +0000)]
rs6000.h (CANNOT_CHANGE_MODE_CLASS): Require TARGET_SPE for SPE_VECTOR_MODE.

2003-06-01  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.h (CANNOT_CHANGE_MODE_CLASS): Require
        TARGET_SPE for SPE_VECTOR_MODE.

From-SVN: r67289

21 years agolex.c (ffelex_file_fixed): Remove usage of REDUCE_CARD_SIZE_AFTER_BIGGY.
Andreas Jaeger [Sun, 1 Jun 2003 07:21:02 +0000 (09:21 +0200)]
lex.c (ffelex_file_fixed): Remove usage of REDUCE_CARD_SIZE_AFTER_BIGGY.

* lex.c (ffelex_file_fixed): Remove usage of
REDUCE_CARD_SIZE_AFTER_BIGGY.

* expr.c (ffeexpr_exprstack_push_operand_): Remove code depenend
on WEIRD_NONFORTRAN_RULES.

* com.c (ffecom_arg_ptr_to_expr): Remove
PASS_HOLLERITH_BY_DESCRIPTOR dependend code.
(ffecom_const_expr): Remove usage of NEWCOMMON.
(ffecom_expand_let_stmt): Remove MOVE_EXPR.

From-SVN: r67287

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

From-SVN: r67283

21 years agotoplev.c (botch): Remove.
Aldy Hernandez [Sat, 31 May 2003 23:46:41 +0000 (23:46 +0000)]
toplev.c (botch): Remove.

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

* toplev.c (botch): Remove.
(do_abort): Remove.
(set_Wunused): Comment.
(set_Wextra): Comment.
Remove ^L's.
(rest_of_compilation): Factor out common code into functions.
(rest_of_handle_inlining): New.
(rest_of_handle_ssa): New.
(rest_of_handle_cse): New.
(rest_of_handle_gcse): New.
(rest_of_handle_loop_optimize): New.
(rest_of_handle_jump_bypass): New.
(rest_of_handle_sibling_calls): New.
(rest_of_handle_null_pointer): New.
(rest_of_handle_addresof): New.
(rest_of_handle_flow): New.
(rest_of_handle_branch_prob): New.
(rest_of_handle_if_conversion): New.
(rest_of_handle_tracer): New.
(rest_of_handle_loop2): New.
(rest_of_handle_cse2): New.
(rest_of_handle_life): New.
(rest_of_handle_combine): New.
(rest_of_handle_if_after_combine): New.
(rest_of_handle_regmove): New.
(rest_of_handle_sched): New.
(rest_of_handle_old_regalloc): New.
(rest_of_handle_new_regalloc): New.
(rest_of_handle_regrename): New.
(rest_of_handle_reorder_blocks): New.
(rest_of_handle_sched2): New.
(rest_of_handle_new_regalloc): New.
(rest_of_handle_old_regalloc): New.
(rest_of_handle_regrename): New.
(rest_of_handle_reorder_blocks): New.
(rest_of_handle_stack_regs): New.
(rest_of_handle_machine_reorg): New.
(rest_of_handle_delay_slots): New.
(rest_of_handle_final): New.

* toplev.h (botch): Remove prototype.
(do_abort): Same.

From-SVN: r67281

21 years agoRemove some references to GNATS. Reference to gnats.html still to be purged.
Wolfgang Bangerth [Sat, 31 May 2003 23:09:11 +0000 (17:09 -0600)]
Remove some references to GNATS. Reference to gnats.html still to be purged.

From-SVN: r67280

21 years agoclass.c (dump_array): Call CONSTRUCTOR_ELTS to access the operand of a CONSTRUCTOR...
Diego Novillo [Sat, 31 May 2003 22:32:42 +0000 (22:32 +0000)]
class.c (dump_array): Call CONSTRUCTOR_ELTS to access the operand of a CONSTRUCTOR node.

* class.c (dump_array): Call CONSTRUCTOR_ELTS to access
the operand of a CONSTRUCTOR node.

From-SVN: r67279

21 years agoMakefile.in (c-opts.o, [...]): Update dependencies.
Neil Booth [Sat, 31 May 2003 21:18:21 +0000 (21:18 +0000)]
Makefile.in (c-opts.o, [...]): Update dependencies.

* Makefile.in (c-opts.o, c-options.h): Update dependencies.
* c-opts.c: Include c-options.h and c-options.c.
(CL_C_ONLY, CL_OBJC_ONLY, CL_CXX_ONLY, CL_OBJCXX_ONLY):
Rename CL_C, CL_OBJC, CL_CXX, CL_OBJCXX.
(CL_ARG, CL_ALL, COMMAND_LINE_OPTIONS, struct cl_option,
OPT, opt_comp): Remove.
(missing_arg, c_common_init_options, c_common_decode_option,
write_langs): Update for macro redefinitions and enumeration
name changes.
* c.opt, opts.sh: New files.
* doc/passes.texi: Update.

From-SVN: r67278

21 years agoffree-form-2.f: XFAIL removed, because fixed.
Toon Moene [Sat, 31 May 2003 19:49:59 +0000 (21:49 +0200)]
ffree-form-2.f: XFAIL removed, because fixed.

2003-05-31  Toon Moene  <toon@moene.indiv.nluug.nl>

* g77.dg/ffree-form-2.f: XFAIL removed, because fixed.

From-SVN: r67277

21 years agore PR fortran/10843 (g77 -ffree-form rejects "GO TO".)
Bud Davis [Sat, 31 May 2003 19:45:41 +0000 (19:45 +0000)]
re PR fortran/10843 (g77 -ffree-form rejects "GO TO".)

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

PR fortran/10843
* sta.c (ffesta_second_): Parse GO TO correctly,
even in free source format.

From-SVN: r67276

21 years agoAdd missed chunk in last commit.
Andreas Jaeger [Sat, 31 May 2003 18:59:10 +0000 (20:59 +0200)]
Add missed chunk in last commit.

From-SVN: r67275

21 years agofunction.c (trampoline_address): Remove ALLOCATE_TRAMPOLINE usage.
Andreas Jaeger [Sat, 31 May 2003 18:45:31 +0000 (20:45 +0200)]
function.c (trampoline_address): Remove ALLOCATE_TRAMPOLINE usage.

        * function.c (trampoline_address): Remove ALLOCATE_TRAMPOLINE
        usage.

        * doc/tm.texi (Trampolines): Remove ALLOCATE_TRAMPOLINE.

        * config/d30v/d30v.h: Remove traces of ALLOCATE_TRAMPOLINE.

        * system.h: Poison ALLOCATE_TRAMPOLINE.

        * doc/tm.texi (Misc): Remove HANDLE_PRAGMA.
        * system.h: Poison HANDLE_PRAGMA.

In f/
        * lex.c (ffelex_hash_): Remove HANDLE_PRAGMA and
        HANDLE_GENERIC_PRAGMA dependend code, remove #if 0 code.
        (pragma_getc): Removed.
        (pragma_ungetc): Removed.

From-SVN: r67274

21 years ago* MAINTAINERS: Add self as option-handling maintainer.
Neil Booth [Sat, 31 May 2003 15:03:02 +0000 (15:03 +0000)]
* MAINTAINERS: Add self as option-handling maintainer.

From-SVN: r67273