gcc.git
22 years agortems-elf.h, rtems.h: Removed redundant -Acpu() and -Amachine() to eliminate warnings.
Joel Sherrill [Thu, 14 Feb 2002 18:52:22 +0000 (18:52 +0000)]
rtems-elf.h, rtems.h: Removed redundant -Acpu() and -Amachine() to eliminate warnings.

2001-02-14 Joel Sherrill <joel@OARcorp.com>

* config/arm/rtems-elf.h, config/h8300/rtems.h: Removed redundant
-Acpu() and -Amachine() to eliminate warnings.

From-SVN: r49771

22 years agoacinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
Phil Edwards [Thu, 14 Feb 2002 18:24:13 +0000 (18:24 +0000)]
acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.

2002-02-14  Phil Edwards  <pme@gcc.gnu.org>

* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS):  New macro, initial revision.
* configure.in:  Call it.
* config/linker-map.gnu:  New file, initial incomplete revision.
* src/Makefile.am:  Optionally pass version script to the linker.
* aclocal.m4:  Regenerate.
* configure:  Regenerate.
* src/Makefile.in:  Regenerate.

From-SVN: r49770

22 years agore PR libgcj/5670 (verify.cc not properly merging states)
Todd Stock [Thu, 14 Feb 2002 17:48:36 +0000 (17:48 +0000)]
re PR libgcj/5670 (verify.cc not properly merging states)

2002-02-13  Todd Stock  <toddastock@yahoo.com>

Fix for PR libgcj/5670:
* verify.cc (is_assignable_from_slow): If `source' is interface,
recursively look for merge with `target'.

From-SVN: r49769

22 years ago* config/s390/linux.h (ASM_OUTPUT_ALIGNED_BSS): New.
Ulrich Weigand [Thu, 14 Feb 2002 16:39:23 +0000 (16:39 +0000)]
* config/s390/linux.h (ASM_OUTPUT_ALIGNED_BSS): New.

From-SVN: r49768

22 years agojni.h: Fix typo.
Martin Kahlert [Thu, 14 Feb 2002 15:42:37 +0000 (15:42 +0000)]
jni.h: Fix typo.

2002-02-14  Martin Kahlert  <martin.kahlert@infineon.com>

* include/jni.h: Fix typo.

From-SVN: r49767

22 years agodg.exp: Exclude debug subdir, it has its own .exp.
Jakub Jelinek [Thu, 14 Feb 2002 14:17:42 +0000 (15:17 +0100)]
dg.exp: Exclude debug subdir, it has its own .exp.

* g++.dg/dg.exp: Exclude debug subdir, it has its own .exp.
* g++.dg/debug/debug.exp: New.
* g++.dg/debug/trivial.C: New.
* g++.dg/debug/debug1.C: Moved...
* g++.dg/other/debug1.C: ...from here.
* g++.dg/debug/debug2.C: Moved...
* g++.dg/other/debug2.C: ...from here.
* g++.dg/debug/debug3.C: Moved...
* g++.dg/other/debug3.C: ...from here.

From-SVN: r49766

22 years agoh8300-protos.h: Update the prototype for const_costs.
Kazu Hirata [Thu, 14 Feb 2002 13:25:30 +0000 (13:25 +0000)]
h8300-protos.h: Update the prototype for const_costs.

* config/h8300/h8300-protos.h: Update the prototype for
const_costs.
* config/h8300/h8300.c (const_costs): Treat SET as a little
more expensive operation.
* config/h8300/h8300.h (DEFAULT_RTX_COSTS): Update the
reference to const_costs.

From-SVN: r49765

22 years ago* config.gcc (c4x-*-rtems*): Fix typo in tm_file setting.
Hans-Peter Nilsson [Thu, 14 Feb 2002 11:08:57 +0000 (11:08 +0000)]
* config.gcc (c4x-*-rtems*): Fix typo in tm_file setting.

From-SVN: r49764

22 years agore PR c/5503 (GCC ignores prototype)
Jakub Jelinek [Thu, 14 Feb 2002 10:22:53 +0000 (11:22 +0100)]
re PR c/5503 (GCC ignores prototype)

PR c/5503:
* c-decl.c (duplicate_decls): If builtin type has TYPE_ARG_TYPES NULL,
use arguments from newtype.

* gcc.dg/noncompile/20020213-1.c: New test.

From-SVN: r49763

22 years agoDaily bump.
GCC Administrator [Thu, 14 Feb 2002 08:16:54 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r49762

22 years agonews.texi: List Problem Reports fixed in 3.1.
Toon Moene [Thu, 14 Feb 2002 06:16:56 +0000 (07:16 +0100)]
news.texi: List Problem Reports fixed in 3.1.

2002-02-13  Toon Moene  <toon@moene.indiv.nluug.nl>

* news.texi: List Problem Reports fixed in 3.1.

From-SVN: r49760

22 years agomips.c (override_options): Add check for march/mipsX on the same command line.
Eric Christopher [Thu, 14 Feb 2002 05:11:44 +0000 (05:11 +0000)]
mips.c (override_options): Add check for march/mipsX on the same command line.

2002-02-13  Eric Christopher  <echristo@redhat.com>

* config/mips/mips.c (override_options): Add check for march/mipsX
on the same command line. Fix error message in cpu processing.
Remove architecture and ISA checks.

From-SVN: r49759

22 years agodarwin.h (ROUND_TYPE_ALIGN): Adjust for vectors.
Aldy Hernandez [Thu, 14 Feb 2002 03:43:03 +0000 (03:43 +0000)]
darwin.h (ROUND_TYPE_ALIGN): Adjust for vectors.

2002-02-13  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Adjust for vectors.

        * config/rs6000/sysv4.h (ROUND_TYPE_ALIGN): Add MAX.

From-SVN: r49758

22 years agors6000.md ("*movv4si_internal"): Add m<-r and r<-r alternatives.
Aldy Hernandez [Thu, 14 Feb 2002 03:37:37 +0000 (03:37 +0000)]
rs6000.md ("*movv4si_internal"): Add m<-r and r<-r alternatives.

2002-02-14  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.md ("*movv4si_internal"): Add m<-r and r<-r
        alternatives.
        ("*movv8hi_internal1"): Same.
        ("*movv16qi_internal1"): Same.
        ("*movv4sf_internal1"): Same.

        * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do
        not push_reload for altivec modes.

From-SVN: r49757

22 years agoRemoved .s files.
Bryce McKinlay [Thu, 14 Feb 2002 00:09:23 +0000 (00:09 +0000)]
Removed .s files.

From-SVN: r49752

22 years agoconfig.gcc (a29k-*-rtems): General cleanup across all RTEMS targets...
Joel Sherrill [Wed, 13 Feb 2002 22:49:03 +0000 (22:49 +0000)]
config.gcc (a29k-*-rtems): General cleanup across all RTEMS targets...

2002-02-13 Joel Sherrill <joel@OARcorp.com>

* config.gcc (a29k-*-rtems), config/a29k/rtems.h: General cleanup across
all RTEMS targets including removal of #includes from config/*/rtems*.h
file and adding them to tm_file setting. Added xm_defines=POSIX to
many targets.
* config.gcc (c4x-*-rtems), config/c4x/rtems.h: Ditto.
* config.gcc (h8300-*-rtems), config/h8300/rtems.h: Ditto.
* config.gcc (hppa1.1-*-rtems), config/pa/rtems.h: Ditto.
* config.gcc (i960-*-rtems), config/i960/rtems.h: Ditto.
* config.gcc (m68k-*-rtems*), config/m68k/rtems.h,
config/m68k/rtemself.h: Ditto.
* config.gcc (mips*-*-rtems*), config/mips/rtems.h,
config/mips/rtems64.h: Ditto.
* config.gcc (powerpc-*-rtems*), config/rs6000/rtems.h: Ditto.
* config.gcc (sh-*-rtems*), config/sh/rtems.h, config/sh/rtemself.h:
Ditto.
* config.gcc (sparc-*-rtems*), config/sparc/rtems.h,
config/sparc/rtemself.h: Ditto.
* config.gcc (v850-*-rtems*), config/v850/rtems.h: Ditto.
* config.gcc (arm-rtems), config/arm/rtems-elf.h: Ditto plus moved
arm-rtems stanza closer to other arm-elf targets and made arm-rtems
more like arm-elf.
* config.gcc (i[34567]86-*-rtems*), config/i386/djgpp-rtems.h,
config/i386/rtems.h, config/i386/rtemself.h: Ditto plus i386-rtemself
target made more similar to i386-elf.
* config/i386/t-rtems-i386: Added soft float support and multilibs.
* config/m68k/t-m68kbare: Add 68040 and 68060 as multilib alternatives to
be similar to config/m68k/t-m68kelf.
* gthr-rtems.h: Encapsulate with extern "C" for C++.

From-SVN: r49749

22 years ago* regmove.c (kill_value): Handle subregs.
Jan Hubicka [Wed, 13 Feb 2002 22:44:12 +0000 (23:44 +0100)]
* regmove.c (kill_value): Handle subregs.

From-SVN: r49748

22 years agoi386.md (mul patterns): Allow memory operand to be first; add expanders where needed...
Jan Hubicka [Wed, 13 Feb 2002 22:35:54 +0000 (23:35 +0100)]
i386.md (mul patterns): Allow memory operand to be first; add expanders where needed; fix constraints.

* i386.md (mul patterns): Allow memory operand to be first;
add expanders where needed; fix constraints.
(min?f_nonieee, max?f_nonieee, SSE TImode patterns):
Allow memory operand to be the first.

* i386.c (ix86_prepare_fp_compare_args): Fix condition for swapping
operands.

From-SVN: r49747

22 years agore PR c/5681 (gcc 3.0.3 produces wrong assembler code)
Jakub Jelinek [Wed, 13 Feb 2002 21:49:32 +0000 (22:49 +0100)]
re PR c/5681 (gcc 3.0.3 produces wrong assembler code)

PR c/5681:
* expr.c (safe_from_p): Pass VOIDmode to true_dependence instead of
GET_MODE (x).

* gcc.c-torture/execute/20020213-1.c: New test.

From-SVN: r49746

22 years agore PR rtl-optimization/5547 (g++ 3.1 crash in output_operand)
Jakub Jelinek [Wed, 13 Feb 2002 21:46:22 +0000 (22:46 +0100)]
re PR rtl-optimization/5547 (g++ 3.1 crash in output_operand)

PR optimization/5547:
* config/i386/i386.c (i386_simplify_dwarf_addr): Simplify
all valid IA-32 address modes involving non-scaled %ebx and
GOT/GOTOFF as displacement.

* g++.dg/other/debug3.C: New test.

From-SVN: r49745

22 years ago* g++.old-deja/g++.other/thunk1.C: New test.
Richard Smith [Wed, 13 Feb 2002 20:59:37 +0000 (20:59 +0000)]
* g++.old-deja/g++.other/thunk1.C: New test.

From-SVN: r49743

22 years agolocalename.cc: Remove stdexcept include.
Benjamin Kosnik [Wed, 13 Feb 2002 18:29:12 +0000 (18:29 +0000)]
localename.cc: Remove stdexcept include.

2002-02-13  Benjamin Kosnik  <bkoz@redhat.com>

* src/localename.cc: Remove stdexcept include.
* src/locale-inst.cc: Same.
* src/locale.cc: Same.
* src/functexcept.cc: Remove string includes.
* include/std/std_bitset.h: Remove stdexcept include.
* testsuite/23_containers/bitset_members.cc: Add stdexcept.

From-SVN: r49740

22 years agos390.c (s390_final_chunkify): Re-run shorten_branches after emitting ltorg insns.
Ulrich Weigand [Wed, 13 Feb 2002 17:55:02 +0000 (17:55 +0000)]
s390.c (s390_final_chunkify): Re-run shorten_branches after emitting ltorg insns.

* config/s390/s390.c (s390_final_chunkify): Re-run shorten_branches
after emitting ltorg insns.

* config/s390/s390.md (*cmpdf_ccs_0, *cmpdf_ccs, *cmpsf_ccs_0,
*cmpsf_ccs, truncdfsf2_ieee, *adddf3, *addsf3, *subdf3, *subsf3,
*muldf3, *mulsf3, *divdf3, *divsf3, *negdf2, *negsf2, *absdf2,
*abssf2): Fix "op_type" attribute.

From-SVN: r49739

22 years agodecl.c (builtin_function): Set TREE_THIS_VOLATILE on return fns.
Jason Merrill [Wed, 13 Feb 2002 17:36:20 +0000 (12:36 -0500)]
decl.c (builtin_function): Set TREE_THIS_VOLATILE on return fns.

        * decl.c (builtin_function): Set TREE_THIS_VOLATILE on return fns.
        (finish_function): Don't warn if current_function_returns_null.

From-SVN: r49738

22 years agojni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned correctly.
Martin Kahlert [Wed, 13 Feb 2002 17:34:52 +0000 (17:34 +0000)]
jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned correctly.

2002-02-13  Martin Kahlert  <martin.kahlert@infineon.com>

* jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
correctly.

From-SVN: r49737

22 years ago* typeck2.c (digest_init): Do handle values of vector type.
Jason Merrill [Wed, 13 Feb 2002 17:32:24 +0000 (12:32 -0500)]
* typeck2.c (digest_init): Do handle values of vector type.

From-SVN: r49736

22 years agore PR libgcj/5671 (verify.cc problem merging local variables)
Todd Stock [Wed, 13 Feb 2002 17:12:27 +0000 (17:12 +0000)]
re PR libgcj/5671 (verify.cc problem merging local variables)

2002-02-13  Todd Stock  <toddastock@yahoo.com>

Fix for PR libgcj/5671:
* verify.cc (state::merge): Handle case where we're merging
against an interface.

From-SVN: r49735

22 years agomkconfig.sh: Avoid using a subshell redirect.
Douglas B Rupp [Wed, 13 Feb 2002 15:37:41 +0000 (10:37 -0500)]
mkconfig.sh: Avoid using a subshell redirect.

* mkconfig.sh: Avoid using a subshell redirect.
($output.T): Change to $(output)T.
(ENABLE_NLS): Remove unneeded undef.

From-SVN: r49734

22 years agovms.h (MD_EXEC_PREFIX, [...]): Define.
Douglas B Rupp [Wed, 13 Feb 2002 15:32:02 +0000 (10:32 -0500)]
vms.h (MD_EXEC_PREFIX, [...]): Define.

* config/alpha/vms.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define.
* config/alpha/x-vms (libsubdir): Define.

From-SVN: r49733

22 years agovms.h (MD_FALLBACK_FRAME_STATE_FOR): Handle register frame procedures.
Douglas B Rupp [Wed, 13 Feb 2002 15:19:27 +0000 (10:19 -0500)]
vms.h (MD_FALLBACK_FRAME_STATE_FOR): Handle register frame procedures.

* config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Handle
register frame procedures. Optimize retrieving context.

From-SVN: r49732

22 years agot-vms (MULTILIB_OPTIONS): Define.
Douglas B Rupp [Wed, 13 Feb 2002 15:14:49 +0000 (10:14 -0500)]
t-vms (MULTILIB_OPTIONS): Define.

* config/alpha/t-vms (MULTILIB_OPTIONS): Define.
(MULTILIB_DIRNAME, LIBGCC, INSTALL_LIBGCC): Likewise.
* config/alpha/vms.h (ASM_FILE_START): Write .arch directive.

From-SVN: r49731

22 years agoalias.c (find_base_term, [...]): Make same change as for find_base_value.
Richard Kenner [Wed, 13 Feb 2002 14:50:53 +0000 (14:50 +0000)]
alias.c (find_base_term, [...]): Make same change as for find_base_value.

* alias.c (find_base_term, case ZERO_EXTEND, case SIGN_EXTEND):
Make same change as for find_base_value.

From-SVN: r49730

22 years agoh8300.h (MODES_TIEABLE_P): Accept a combination of QImode and SImode.
Kazu Hirata [Wed, 13 Feb 2002 13:07:48 +0000 (13:07 +0000)]
h8300.h (MODES_TIEABLE_P): Accept a combination of QImode and SImode.

* config/h8300/h8300.h (MODES_TIEABLE_P): Accept a combination
of QImode and SImode.

From-SVN: r49729

22 years agoh8300.c (h8300_adjust_insn_length): Correct the length computation of movsi.
Kazu Hirata [Wed, 13 Feb 2002 12:51:53 +0000 (12:51 +0000)]
h8300.c (h8300_adjust_insn_length): Correct the length computation of movsi.

* config/h8300/h8300.c (h8300_adjust_insn_length): Correct the
length computation of movsi.
* config/h8300/h8300.md (movsi_h8300hs): Correct the length.

From-SVN: r49728

22 years agoh8300.md (subqi3): Tighten the predicate for operands[2] to register_operand.
Kazu Hirata [Wed, 13 Feb 2002 12:42:33 +0000 (12:42 +0000)]
h8300.md (subqi3): Tighten the predicate for operands[2] to register_operand.

* config/h8300/h8300.md (subqi3): Tighten the predicate for
operands[2] to register_operand.

From-SVN: r49727

22 years agotypeck2.c (digest_init, [...]): Treat vectors like arrays.
Jason Merrill [Wed, 13 Feb 2002 12:05:01 +0000 (07:05 -0500)]
typeck2.c (digest_init, [...]): Treat vectors like arrays.

        * typeck2.c (digest_init, process_init_constructor): Treat vectors
        like arrays.

From-SVN: r49726

22 years ago* i386.md (fop_*_comm_*): allow nonimmediate in the first operand.
Jan Hubicka [Wed, 13 Feb 2002 10:09:16 +0000 (11:09 +0100)]
* i386.md (fop_*_comm_*): allow nonimmediate in the first operand.

From-SVN: r49725

22 years agoDaily bump.
GCC Administrator [Wed, 13 Feb 2002 08:16:17 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r49722

22 years agodata.c (ffedata_eval_offset_): Only convert index...
Toon Moene [Wed, 13 Feb 2002 07:39:56 +0000 (08:39 +0100)]
data.c (ffedata_eval_offset_): Only convert index...

2002-02-13  Toon Moene  <toon@moene.indiv.nluug.nl>

* data.c (ffedata_eval_offset_): Only convert index,
low and high bound in data statements to default integer
if they are constants.  Use a copy of the data structure.

From-SVN: r49721

22 years agodbg_mlc.c (GC_debug_generic_malloc): Removed.
Bryce McKinlay [Wed, 13 Feb 2002 05:38:39 +0000 (05:38 +0000)]
dbg_mlc.c (GC_debug_generic_malloc): Removed.

* dbg_mlc.c (GC_debug_generic_malloc): Removed.

* sparc_mach_dep.S: Rename from sparc_mach_dep.s as it is a
preprocessor file.
* mips_sgi_mach_dep.S: Likewise.
* Makefile.am: Update for above changes.
* Makefile.in: Rebuilt.

From-SVN: r49720

22 years agors6000.md: Use predicate altivec_register_operand for altivec_lvx* and altivec_stvx*.
Aldy Hernandez [Wed, 13 Feb 2002 04:00:27 +0000 (04:00 +0000)]
rs6000.md: Use predicate altivec_register_operand for altivec_lvx* and altivec_stvx*.

2002-02-12  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.md: Use predicate altivec_register_operand
        for altivec_lvx* and altivec_stvx*.
        ("*movv4si_internal"): Add constraint for loading from GPRs.
        ("*movv8hi_internal1"): Same.
        ("*movv16qi_internal1"): Same.
        ("*movv4sf_internal1"): Same.

        * config/rs6000/rs6000.c (altivec_register_operand): New.

        * config/rs6000/rs6000.h (PREDICATE_CODES): Add
        altivec_register_operand.

From-SVN: r49719

22 years agommix.c (mmix_assemble_integer): Don't handle SYMBOL_REF.
Hans-Peter Nilsson [Wed, 13 Feb 2002 02:11:51 +0000 (02:11 +0000)]
mmix.c (mmix_assemble_integer): Don't handle SYMBOL_REF.

* config/mmix/mmix.c (mmix_assemble_integer) <case 4>: Don't
handle SYMBOL_REF.

From-SVN: r49718

22 years ago* exception.cc (std::abort): Mark as noreturn.
Tom Tromey [Wed, 13 Feb 2002 00:29:42 +0000 (00:29 +0000)]
* exception.cc (std::abort): Mark as noreturn.

From-SVN: r49717

22 years agoweak1.C: weak attributes not supported on cygwin
David Billinghurst [Tue, 12 Feb 2002 22:46:25 +0000 (22:46 +0000)]
weak1.C: weak attributes not supported on cygwin

2002-02-12  David Billinghurst <David.Billinghurst@riotinto.com>

* g++.dg/warn/weak1.C: weak attributes not supported on cygwin

From-SVN: r49716

22 years agoc-typeck.c (digest_init): Handle vectors.
Stan Shebs [Tue, 12 Feb 2002 22:26:12 +0000 (22:26 +0000)]
c-typeck.c (digest_init): Handle vectors.

        * c-typeck.c (digest_init): Handle vectors.
        (really_start_incremental_init): Same.
        (pop_init_level): Same.
        (process_init_element): Same.

        * varasm.c (output_constant): Same.

        * expr.c (clear_storage): Same.
        (store_constructor): Same.

        * gcc.dg/altivec-3.c: New.

From-SVN: r49715

22 years agoexplow.c (hard_function_value): Add comment explaining signed/unsigned comparison.
Eric Christopher [Tue, 12 Feb 2002 21:55:29 +0000 (21:55 +0000)]
explow.c (hard_function_value): Add comment explaining signed/unsigned comparison.

2002-02-12  Eric Christopher  <echristo@redhat.com>

* explow.c (hard_function_value): Add comment explaining
signed/unsigned comparison.

From-SVN: r49714

22 years agojump.c (never_reached_warning): Add finish argument.
Jakub Jelinek [Tue, 12 Feb 2002 21:39:42 +0000 (22:39 +0100)]
jump.c (never_reached_warning): Add finish argument.

* jump.c (never_reached_warning): Add finish argument.
If finish is NULL, stop on CODE_LABEL, otherwise stop before first
real insn after end.
* rtl.h (never_reached_warning): Adjust prototype.
* cse.c (cse_insn): Pass NULL as finish to never_reached_warning.
* cfgrtl.c (flow_delete_block): Pass b->end as finish to
never_reached_warning.

* gcc.dg/Wunreachable-1.c: New test.
* gcc.dg/Wunreachable-2.c: New test.

From-SVN: r49713

22 years ago* gcc.dg/c90-const-expr-3.c, gcc.dg/c99-const-expr-3.c: New tests.
Joseph Myers [Tue, 12 Feb 2002 21:33:12 +0000 (21:33 +0000)]
* gcc.dg/c90-const-expr-3.c, gcc.dg/c99-const-expr-3.c: New tests.

From-SVN: r49712

22 years ago* config/pa/pa.h (GO_IF_LEGITIMATE_ADDRESS): Fix typos.
Graham Stott [Tue, 12 Feb 2002 20:59:07 +0000 (20:59 +0000)]
* config/pa/pa.h (GO_IF_LEGITIMATE_ADDRESS): Fix typos.

From-SVN: r49711

22 years agoconfigure.in: Re-apply 2001-06-26 configure change.
Richard Henderson [Tue, 12 Feb 2002 18:40:38 +0000 (10:40 -0800)]
configure.in: Re-apply 2001-06-26 configure change.

        * configure.in: Re-apply 2001-06-26 configure change.
        * configure: Rebuild.

From-SVN: r49709

22 years agoh8300.c (shift_alg_hi): Improve the 15-bit logical shifts on H8/300.
Kazu Hirata [Tue, 12 Feb 2002 15:31:54 +0000 (15:31 +0000)]
h8300.c (shift_alg_hi): Improve the 15-bit logical shifts on H8/300.

* config/h8300/h8300.c (shift_alg_hi): Improve the 15-bit
logical shifts on H8/300.
(shift_alg_si): Improve several shifts on H8/300.
(get_shift_alg): Likewise.

From-SVN: r49708

22 years ago* config/pa/pa.c (compute_movstrsi_length): Fix typos.
Graham Stott [Tue, 12 Feb 2002 15:21:04 +0000 (15:21 +0000)]
* config/pa/pa.c (compute_movstrsi_length): Fix typos.

From-SVN: r49707

22 years agoalias.c (find_base_value, [...]): Handle #ifdef POINTERS_EXTEND_UNSIGNED.
Richard Kenner [Tue, 12 Feb 2002 15:18:42 +0000 (15:18 +0000)]
alias.c (find_base_value, [...]): Handle #ifdef POINTERS_EXTEND_UNSIGNED.

* alias.c (find_base_value, case ZERO_EXTEND, case SIGN_EXTEND):
Handle #ifdef POINTERS_EXTEND_UNSIGNED.

From-SVN: r49706

22 years agodecl-1.c: Add do-compile tag.
Benjamin Kosnik [Tue, 12 Feb 2002 09:02:04 +0000 (09:02 +0000)]
decl-1.c: Add do-compile tag.

2002-02-12  Benjamin Kosnik  <bkoz@redhat.com>
    Neil Booth  <neil.booth@bnpparibas.com>

* gcc.dg/decl-1.c: Add do-compile tag.

From-SVN: r49705

22 years agoDaily bump.
GCC Administrator [Tue, 12 Feb 2002 08:17:01 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r49704

22 years ago* gcc.dg/decl-1.c: New test.
Neil Booth [Tue, 12 Feb 2002 07:36:38 +0000 (07:36 +0000)]
* gcc.dg/decl-1.c: New test.

From-SVN: r49702

22 years agoWin32Process.java: Filled in a placeholder implementation so Win32 will build.
Adam Megacz [Tue, 12 Feb 2002 06:10:45 +0000 (06:10 +0000)]
Win32Process.java: Filled in a placeholder implementation so Win32 will build.

2002-02-12  Adam Megacz <adam@xwt.org>

        * java/lang/Win32Process.java: Filled in a placeholder
        implementation so Win32 will build.

From-SVN: r49701

22 years agonatFilePosix.cc: Copied this from natFile.cc.
Adam Megacz [Tue, 12 Feb 2002 05:52:33 +0000 (05:52 +0000)]
natFilePosix.cc: Copied this from natFile.cc.

2002-02-12  Adam Megacz <adam@xwt.org>

    * java/io/natFilePosix.cc: Copied this from natFile.cc.
    * java/io/natFile.cc: Removed from repository.
    * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.

From-SVN: r49700

22 years ago* sparc_mach_dep.S: Delete incorrectly named file.
Bryce McKinlay [Tue, 12 Feb 2002 04:43:53 +0000 (04:43 +0000)]
* sparc_mach_dep.S: Delete incorrectly named file.

From-SVN: r49699

22 years agoImported GC 6.1 Alpha 3. Finally.
Bryce McKinlay [Tue, 12 Feb 2002 04:37:57 +0000 (04:37 +0000)]
Imported GC 6.1 Alpha 3. Finally.

From-SVN: r49698

22 years agostl_algo (__stl_threshold): Declare external.
Benjamin Kosnik [Tue, 12 Feb 2002 04:35:58 +0000 (04:35 +0000)]
stl_algo (__stl_threshold): Declare external.

2002-02-11   Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/stl_algo (__stl_threshold): Declare external.
(__stl_chunk_size): Same.
* include/bits/stl_bvector.h (__WORD_BIT): Same.
* include/bits/stl_tree.h (_S_rb_tree_red): Same.
(_S_rb_tree_black): Same.
* src/stl-inst.cc (__stl_threshold): Define.
(__stl_chunk_size): Same.
(__WORD_BIT): Same.
(_S_rb_tree_red): Same.
(_S_rb_tree_black): Same.

* config/io/basic_file_libio.h (__basic_file): Add declarations.
* include/bits/basic_file.h: Remove.
* config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
Declare generic types, specialization.
        * config/io/basic_file_stdio.cc: Definitions.
* config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
Declare generic types.
* include/Makefile.am (bits_headers): Remove basic_file.h.
(extra_target_headers): Change basic_file_model.h to basic_file.h.
(stamp-target): Same.

* include/bits/stl_alloc.h: Tweaks.
* include/bits/localefwd.h: Same.

From-SVN: r49697

22 years agowin32.cc: Added two #includes to make win32.cc compile.
Adam Megacz [Tue, 12 Feb 2002 04:35:32 +0000 (04:35 +0000)]
win32.cc: Added two #includes to make win32.cc compile.

2002-02-12  Adam Megacz <adam@xwt.org>

        * win32.cc: Added two #includes to make win32.cc compile.

From-SVN: r49696

22 years agoboehm.cc (initialized, [...]): Removed unused declarations.
Bryce McKinlay [Tue, 12 Feb 2002 04:14:52 +0000 (04:14 +0000)]
boehm.cc (initialized, [...]): Removed unused declarations.

* boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
declarations.
(_Jv_InitGC): Don't bother locking, as this is always called from a
single-thread. Turn off GC_all_interior_pointers. Remove dead code.

From-SVN: r49695

22 years agoc99-flex-array-2.c: Add -std=iso9899:1999
David Billinghurst [Tue, 12 Feb 2002 04:09:34 +0000 (04:09 +0000)]
c99-flex-array-2.c: Add -std=iso9899:1999

2002-02-12  David Billinghurst <David.Billinghurst@riotinto.com>

        * gcc.dg/c99-flex-array-2.c: Add -std=iso9899:1999

From-SVN: r49694

22 years agowin32.h: Added _Jv_platform_gettimeofday.
Adam Megacz [Tue, 12 Feb 2002 02:25:07 +0000 (02:25 +0000)]
win32.h: Added _Jv_platform_gettimeofday.

2002-02-11  Adam Megacz <adam@xwt.org>

        * include/win32.h: Added _Jv_platform_gettimeofday.
        * win32.cc (_Jv_platform_gettimeofday): Added dummy function.

From-SVN: r49693

22 years agonatFileWin32.cc, [...]: Added #undef STRICT to make windows.h and java/lang/reflect...
Adam Megacz [Tue, 12 Feb 2002 02:17:21 +0000 (02:17 +0000)]
natFileWin32.cc, [...]: Added #undef STRICT to make windows.h and java/lang/reflect/Modifier.h cooperate.

2002-02-11  Adam Megacz <adam@xwt.org>

    * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
    Added #undef STRICT to make windows.h and
    java/lang/reflect/Modifier.h cooperate.

From-SVN: r49692

22 years agonatFileWin32.cc: Created a placeholder class with lots of FIXMEs.
Adam Megacz [Tue, 12 Feb 2002 01:54:18 +0000 (01:54 +0000)]
natFileWin32.cc: Created a placeholder class with lots of FIXMEs.

2002-02-11  Adam Megacz <adam@xwt.org>

        * java/io/natFileWin32.cc: Created a placeholder class with lots
        of FIXMEs.

From-SVN: r49691

22 years agoclass.c (build_utf8_ref): Move declaration of decl_size
David Billinghurst [Mon, 11 Feb 2002 22:53:09 +0000 (22:53 +0000)]
class.c (build_utf8_ref): Move declaration of decl_size

2002-02-12  David Billinghurst <Davod.Billinghurst@riotinto.com>

* class.c(build_utf8_ref): Move declaration of decl_size

From-SVN: r49688

22 years agommix.c (mmix_assemble_integer): Handle non-CONST_INT through default_assemble_integer.
Hans-Peter Nilsson [Mon, 11 Feb 2002 22:38:30 +0000 (22:38 +0000)]
mmix.c (mmix_assemble_integer): Handle non-CONST_INT through default_assemble_integer.

* config/mmix/mmix.c (mmix_assemble_integer) <case 1, 2>: Handle
non-CONST_INT through default_assemble_integer.
<case 4>: Likewise, for non-CONST_INT, non-SYMBOL_REF.
<case 8>: Abort for CONST_DOUBLE.

From-SVN: r49687

22 years agoMakefile.in: Removed libstdc++-v3 dependancy for libjava and boehm-gc
Adam Megacz [Mon, 11 Feb 2002 22:32:11 +0000 (22:32 +0000)]
Makefile.in: Removed libstdc++-v3 dependancy for libjava and boehm-gc

2002-02-11  Adam Megacz <adam@xwt.org>

        * gcc/Makefile.in: Removed libstdc++-v3 dependancy for libjava
        and boehm-gc

From-SVN: r49686

22 years agoexception.cc (_Jv_Throw, [...]): Changed std::abort() to simply abort().
Adam Megacz [Mon, 11 Feb 2002 22:28:58 +0000 (22:28 +0000)]
exception.cc (_Jv_Throw, [...]): Changed std::abort() to simply abort().

2002-02-11  Adam Megacz <adam@xwt.org>

    * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
    std::abort() to simply abort(). Also added "fake" std::abort() so
    we can #include unwind-pe.h without having to link against
    libstdc++-v3.

From-SVN: r49685

22 years agogcc.c (init_gcc_specs): Add static libgcc to link when "-shared" is specified.
John David Anglin [Mon, 11 Feb 2002 22:14:25 +0000 (22:14 +0000)]
gcc.c (init_gcc_specs): Add static libgcc to link when "-shared" is specified.

* gcc.c (init_gcc_specs): Add static libgcc to link when "-shared"
is specified.
* config/pa/pa-linux.h (LIB_SPEC): Delete.
* config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Delete.

From-SVN: r49684

22 years ago* gcc.pot: Regenerate.
Zack Weinberg [Mon, 11 Feb 2002 19:49:47 +0000 (19:49 +0000)]
* gcc.pot: Regenerate.

From-SVN: r49683

22 years agolocale_facets.tcc (collate::do_hash): Fix.
Aaron W. LaFramboise [Mon, 11 Feb 2002 18:56:24 +0000 (18:56 +0000)]
locale_facets.tcc (collate::do_hash): Fix.

2002-02-11  Aaron W LaFramboise  <AWLaFramboise@aol.com>

* include/bits/locale_facets.tcc (collate::do_hash): Fix.
* testsuite/22_locale/collate_members_char.cc (test03): New test.
* testsuite/22_locale/collate_members_wchar_t.cc (test03): Same.

From-SVN: r49682

22 years agoconfigure.in: support for win32, saner cross-compile options
Adam Megacz [Mon, 11 Feb 2002 18:31:10 +0000 (18:31 +0000)]
configure.in: support for win32, saner cross-compile options

2002-02-11  Adam Megacz <adam@xwt.org>

        * gcc/boehm-gc/configure.in: support for win32, saner
        cross-compile options

From-SVN: r49681

22 years agore PR libobjc/4039 (installation location of libobjc is wrong)
Franz Sirl [Mon, 11 Feb 2002 18:10:05 +0000 (18:10 +0000)]
re PR libobjc/4039 (installation location of libobjc is wrong)

2002-02-11  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

PR libobjc/4039
* aclocal.m4: Replace with version copied from libstdc++-v3.
* configure.in: Update for changes to aclocal and Makefile.
* configure: Regenerate.
* Makefile.in: Correct install of multilibs and shared libs, use
INSTALL_DATA for include files.

From-SVN: r49680

22 years agostormy16.md (zero_extendqihi2): New.
Andrew Haley [Mon, 11 Feb 2002 17:04:31 +0000 (17:04 +0000)]
stormy16.md (zero_extendqihi2): New.

2002-02-11  Andrew Haley  <aph@cambridge.redhat.com>

        * config/stormy16/stormy16.md (zero_extendqihi2): New.

From-SVN: r49679

22 years agoparse.y (reserved_declspecs): Don't handle attributes.
Jason Merrill [Mon, 11 Feb 2002 15:52:20 +0000 (10:52 -0500)]
parse.y (reserved_declspecs): Don't handle attributes.

        * parse.y (reserved_declspecs): Don't handle attributes.
        (reserved_typespecquals): Handle them here.
        * Make-lang.in (parse.c): Adjust expected conflicts.

From-SVN: r49678

22 years agomention NRVO
Jason Merrill [Mon, 11 Feb 2002 15:24:37 +0000 (10:24 -0500)]
mention NRVO

From-SVN: r49677

22 years agoregrename.c (regrename_optimize): Don't accept a part-clobbered register if the repla...
Alexandre Oliva [Mon, 11 Feb 2002 13:35:14 +0000 (13:35 +0000)]
regrename.c (regrename_optimize): Don't accept a part-clobbered register if the replaced register is not part...

* regrename.c (regrename_optimize): Don't accept a
part-clobbered register if the replaced register is not part
clobbered.

From-SVN: r49676

22 years agocalls.c (store_one_arg): In the non-BLKmode non-partial case...
Alexandre Oliva [Mon, 11 Feb 2002 13:33:07 +0000 (13:33 +0000)]
calls.c (store_one_arg): In the non-BLKmode non-partial case...

* calls.c (store_one_arg): In the non-BLKmode non-partial case,
take padding into account when computing the argument value.

From-SVN: r49675

22 years ago* config/sh/sh.h (FUNCTION_ARG_REGNO_P): Fix parenthesizing error.
Alexandre Oliva [Mon, 11 Feb 2002 08:37:07 +0000 (08:37 +0000)]
* config/sh/sh.h (FUNCTION_ARG_REGNO_P): Fix parenthesizing error.

From-SVN: r49674

22 years agoDaily bump.
GCC Administrator [Mon, 11 Feb 2002 08:16:16 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r49672

22 years agors6000.c (altivec_init_builtins): Handle __builtin_altivec_abs*.
Aldy Hernandez [Mon, 11 Feb 2002 06:15:37 +0000 (06:15 +0000)]
rs6000.c (altivec_init_builtins): Handle __builtin_altivec_abs*.

2002-02-06  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.c (altivec_init_builtins): Handle
        __builtin_altivec_abs*.
        (bdesc_abs): New.

        * config/rs6000/rs6000.h (rs6000_builtins): Add
        ALTIVEC_BUILTIN_ABS*.

        * config/rs6000/altivec.h: Use const char for builtins expecting
        literals.
        (vec_abs): New versions for C and C++.
        (vec_abss): Same.

From-SVN: r49671

22 years agocombine.c (try_combine): Apply substitutions in CALL_INSN_FUNCTION_USAGE too.
Alexandre Oliva [Mon, 11 Feb 2002 06:07:03 +0000 (06:07 +0000)]
combine.c (try_combine): Apply substitutions in CALL_INSN_FUNCTION_USAGE too.

* combine.c (try_combine): Apply substitutions in
CALL_INSN_FUNCTION_USAGE too.

From-SVN: r49670

22 years agors6000.c (altivec_init_builtins): Handle __builtin_altivec_abs*.
Aldy Hernandez [Mon, 11 Feb 2002 06:05:05 +0000 (06:05 +0000)]
rs6000.c (altivec_init_builtins): Handle __builtin_altivec_abs*.

2002-02-06  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.c (altivec_init_builtins): Handle
        __builtin_altivec_abs*.
        (bdesc_abs): New.

        * config/rs6000/rs6000.h (rs6000_builtins): Add
        ALTIVEC_BUILTIN_ABS*.

        * config/rs6000/altivec.h: Use const char for builtins expecting
        literals.
        (vec_abs): New versions for C and C++.
        (vec_abss): Same.

From-SVN: r49669

22 years agoh8300.h (INITIALIZE_TRAMPOLINE): Simplify by using Pmode.
Kazu Hirata [Mon, 11 Feb 2002 04:35:57 +0000 (04:35 +0000)]
h8300.h (INITIALIZE_TRAMPOLINE): Simplify by using Pmode.

* config/h8300/h8300.h (INITIALIZE_TRAMPOLINE): Simplify by
using Pmode.

From-SVN: r49668

22 years agoh8300.h (STACK_POINTER_REGNUM): Use the constant definition from h8300.md.
Kazu Hirata [Mon, 11 Feb 2002 04:31:33 +0000 (04:31 +0000)]
h8300.h (STACK_POINTER_REGNUM): Use the constant definition from h8300.md.

* config/h8300/h8300.h (STACK_POINTER_REGNUM): Use the
constant definition from h8300.md.
(FRAME_POINTER_REGNUM): Likewise.
* config/h8300/h8300.md (define_constants): Add FP_REG.

From-SVN: r49667

22 years ago* config/h8300/h8300.c (print_operand): Remove redundant code.
Kazu Hirata [Mon, 11 Feb 2002 04:26:58 +0000 (04:26 +0000)]
* config/h8300/h8300.c (print_operand): Remove redundant code.

From-SVN: r49666

22 years agoh8300-protos.h: Remove the prototype for byte_reg.
Kazu Hirata [Mon, 11 Feb 2002 04:21:53 +0000 (04:21 +0000)]
h8300-protos.h: Remove the prototype for byte_reg.

* config/h8300/h8300-protos.h: Remove the prototype for byte_reg.
* config/h8300/h8300.c (byte_reg): Make it static.

From-SVN: r49665

22 years agoNew.
Richard Henderson [Mon, 11 Feb 2002 02:37:37 +0000 (18:37 -0800)]
New.

From-SVN: r49664

22 years agore PR c/5623 (GCC 3.0.3 crashes when assigning pointer to an array of undefined size...
Richard Henderson [Mon, 11 Feb 2002 02:28:00 +0000 (18:28 -0800)]
re PR c/5623 (GCC 3.0.3 crashes when assigning pointer to an array of undefined size which is member of a struct)

        PR c/5623
        * c-typeck.c (incomplete_type_error): Handle flexible array members.

From-SVN: r49663

22 years agore PR c++/5624 (Strange bug with preprocessed file containing structs)
Richard Henderson [Mon, 11 Feb 2002 02:12:41 +0000 (18:12 -0800)]
re PR c++/5624 (Strange bug with preprocessed file containing structs)

        PR c++/5624
        * tree.c (append_random_chars): Don't abort if main_input_filename
        does not exist.

From-SVN: r49662

22 years ago* config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): Disable.
Hans-Peter Nilsson [Mon, 11 Feb 2002 00:33:08 +0000 (00:33 +0000)]
* config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): Disable.

From-SVN: r49661

22 years agoFor PR java/5641:
Tom Tromey [Mon, 11 Feb 2002 00:18:52 +0000 (00:18 +0000)]
For PR java/5641:

* libjava.compile/PR5641.xfail: New file.
* libjava.compile/PR5641.java: New file.

From-SVN: r49660

22 years agolibjava.exp (libjava_find_lib): Remove duplicate .la files.
Rainer Orth [Mon, 11 Feb 2002 00:01:11 +0000 (00:01 +0000)]
libjava.exp (libjava_find_lib): Remove duplicate .la files.

2002-02-10  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

* lib/libjava.exp (libjava_find_lib): Remove duplicate .la files.

From-SVN: r49659

22 years ago961203-1.x: Disable on h8300 port.
Kazu Hirata [Sun, 10 Feb 2002 20:37:22 +0000 (20:37 +0000)]
961203-1.x: Disable on h8300 port.

* gcc.c-torture/compile/961203-1.x: Disable on h8300 port.
* gcc.c-torture/compile/980506-1.x: Likewise.

From-SVN: r49658

22 years ago* gcc.dg/20020210-1.c: New.
Kazu Hirata [Sun, 10 Feb 2002 20:30:10 +0000 (20:30 +0000)]
* gcc.dg/20020210-1.c: New.

From-SVN: r49657

22 years agoh8300.md (pushhi1_h8300): Correct the mode used.
Kazu Hirata [Sun, 10 Feb 2002 20:24:16 +0000 (20:24 +0000)]
h8300.md (pushhi1_h8300): Correct the mode used.

* config/h8300/h8300.md (pushhi1_h8300): Correct the mode
used.
(pushhi1): Likewise.

From-SVN: r49656

22 years agointerpret.cc (continue1): Use PUSHL, not PUSHI.
Andreas Tobler [Sun, 10 Feb 2002 18:32:48 +0000 (19:32 +0100)]
interpret.cc (continue1): Use PUSHL, not PUSHI.

2002-02-10  Andreas Tobler  <toa@pop.agri.ch>

* interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.

From-SVN: r49655