gcc.git
22 years agors6000.c (spe_init_builtins, [...]): Replace ANSI with K&R function def.
Graham Stott [Wed, 31 Jul 2002 22:55:34 +0000 (22:55 +0000)]
rs6000.c (spe_init_builtins, [...]): Replace ANSI with K&R function def.

        * config/rs6000/rs6000.c (spe_init_builtins,
        altivec_init_builtins, rs6000_common_init_builtins):
        Replace ANSI with K&R function def.

From-SVN: r55912

22 years agore PR libstdc++/7442 (cxxabi.h does not match the C++ ABI)
Benjamin Kosnik [Wed, 31 Jul 2002 21:50:33 +0000 (21:50 +0000)]
re PR libstdc++/7442 (cxxabi.h does not match the C++ ABI)

2002-07-31  Benjamin Kosnik  <bkoz@redhat.com>
            Mark Mitchell  <mark@codesourcery.com>

PR libstdc++/7442
* libsupc++/cxxabi.h (class __base_class_type_info::hwm_bit):
Change to __hwm_bit.
(__class_type_info): And here.

Co-Authored-By: Mark Mitchell <mark@codesourcery.com>
From-SVN: r55911

22 years agore PR libstdc++/7442 (cxxabi.h does not match the C++ ABI)
Benjamin Kosnik [Wed, 31 Jul 2002 21:24:18 +0000 (21:24 +0000)]
re PR libstdc++/7442 (cxxabi.h does not match the C++ ABI)

2002-07-31  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/7442
* libsupc++/cxxabi.h
(__base_class_info): Change to __base_class_type_info. 2.9.5p6c
(__base_class_info::__base): Change to __base_type. 2.9.5p6c
(__base_class_info::offset_shift): Change to __offset_shift. 2.9.5p6c
(__vmi_class_type_info::__base_info): Don't make const, of type
__base_class_type_info, as per 2.9.5p6c
(__pbase_type_info::__qualifier_flags): Change to __flags, as per
2.9.5p7.
(__pbase_type_info::__qualifier_masks): Change to __masks, as per
2.9.5p7.
(__pointer_to_member_type_info::__context_class): Change member to
__context, as per 2.9.5p9.
* libsupc++/tinfo2.cc (__pointer_catch): Change __context_class to
__context.
* libsupc++/tinfo2.cc (__do_catch): Change __qualifier_flags to
__flags.
* libsupc++/tinfo.cc (__do_find_public_src): Change __base to
__base_type.
* libsupc++/tinfo.cc (__do_dyncast): Same.
* libsupc++/tinfo.cc (__do_upcast): Same.

From-SVN: r55910

22 years agofstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.
Benjamin Kosnik [Wed, 31 Jul 2002 20:48:38 +0000 (20:48 +0000)]
fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.

2002-07-31  Benjamin Kosnik  <bkoz@redhat.com>

* src/fstream.cc: Add _GLIBCPP_USE_WCHAR_T guards.

From-SVN: r55909

22 years ago[multiple changes]
Benjamin Kosnik [Wed, 31 Jul 2002 19:34:08 +0000 (19:34 +0000)]
[multiple changes]

2002-07-31  Simon Whomsley  <whomsley@avacadcam.com>

* docs/html/22_locale/howto.html: Fix.

2002-07-31  Alex Kompel  <shurik@sequoiap.com>

PR libstdc++/7445
* src/locale.cc (locale::classic): Move locks inside !_S_classic
block.

2002-07-31  Benjamin Kosnik  <bkoz@redhat.com>

* docs/html/abi.txt: Update.

From-SVN: r55908

22 years agochar_traits.h: Remove generic definitions.
Benjamin Kosnik [Wed, 31 Jul 2002 17:28:08 +0000 (17:28 +0000)]
char_traits.h: Remove generic definitions.

2002-07-30  Benjamin Kosnik  <bkoz@redhat.com>
            Gabriel Dos Reis  <gdr@nerim.net>

* include/bits/char_traits.h: Remove generic definitions.
* include/bits/streambuf_iterator.h (istreambuf_iterator): Use
eof, not -2.
* include/bits/istream.tcc (istream::readsome): Don't check
against eof, instead use constants.
(istream::sync): Same.
(istream::sentry::sentry): Use eq_int_type.
(istream::get): Same.
* include/bits/ostream.tcc: Change __pad to
__pad<_CharT, _Traits>::_S_pad.
* include/bits/locale_facets.h: Add __pad_traits generic and
ostreambuf_iterator specialization.
* include/bits/locale_facets.tcc: Change __pad into struct __pad
with a _CharT and _Traits template parameter and _S_pad static
member function.
* src/locale-inst.cc: Update __pad instantiations.

* include/std/std_fstream.h: Declare _M_underflow_common
specializations.
* src/fstream.cc: New. Add _M_underflow_common specializations.
* include/bits/fstream.tcc (filebuf::close): Use traits_type.
(filebuf::_M_underflow_common(bool)): Remove generic version, as
sys_ungetc and custom int_types don't get along.
* include/std/std_streambuf.h: Add _M_pos.
* src/Makefile.am (sources): Add fstream.cc.
* src/Makefile.in: Regenerate.

* testsuite/21_strings/capacity.cc: Add char_traits specializations.
* testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
* testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
* testsuite/22_locale/ctor_copy_dtor.cc: Same.
* testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
* testsuite/27_io/filebuf.cc: ...here.
* testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
specialization for both.
* testsuite/27_io/streambuf.cc: Add instantiation test,
testsuite_hooks include.
* testsuite/27_io/istream.cc: Same.
* testsuite/27_io/ostream.cc: Same.
* testsuite/27_io/fstream.cc: Same.
* testsuite/27_io/stringstream.cc: Same.
* testsuite/27_io/filebuf.cc: Same.
* testsuite/27_io/stringbuf.cc: Same.

From-SVN: r55905

22 years agors6000.c (validate_condition_mode): Test flag_finite_math_only for CCFPmode.
David Edelsohn [Wed, 31 Jul 2002 15:46:21 +0000 (15:46 +0000)]
rs6000.c (validate_condition_mode): Test flag_finite_math_only for CCFPmode.

        * rs6000.c (validate_condition_mode): Test flag_finite_math_only
        for CCFPmode.

From-SVN: r55904

22 years agocrtn.asm: Don't use __mips16 to determine the return-address offset.
Richard Sandiford [Wed, 31 Jul 2002 08:55:57 +0000 (08:55 +0000)]
crtn.asm: Don't use __mips16 to determine the return-address offset.

* config/mips/crtn.asm: Don't use __mips16 to determine the
return-address offset.  Define RA to a suitable temporary
register for the return address.

From-SVN: r55903

22 years agomips.md (eh_set_lr_si, [...]): Change constraints to 'd'.
Richard Sandiford [Wed, 31 Jul 2002 08:53:55 +0000 (08:53 +0000)]
mips.md (eh_set_lr_si, [...]): Change constraints to 'd'.

* config/mips/mips.md (eh_set_lr_si, eh_set_lr_di): Change
constraints to 'd'.

From-SVN: r55902

22 years ago* java/awt/Frame.java (Frame): Remove println calls.
Bryce McKinlay [Wed, 31 Jul 2002 08:19:51 +0000 (08:19 +0000)]
* java/awt/Frame.java (Frame): Remove println calls.

From-SVN: r55901

22 years agoDaily bump.
GCC Administrator [Wed, 31 Jul 2002 07:17:08 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r55900

22 years agoelf.h (STARTFILE_SPEC): Define differently if default ABI is MEABI.
Chris Demetriou [Wed, 31 Jul 2002 06:00:53 +0000 (06:00 +0000)]
elf.h (STARTFILE_SPEC): Define differently if default ABI is MEABI.

2002-07-30  Chris Demetriou  <cgd@broadcom.com>

        * config/mips/elf.h (STARTFILE_SPEC): Define differently if
        default ABI is MEABI.  (Undoes incorrect change in Eric Christopher's
        patch on 2002-07-29.)
        * config/mips/elf64.h (STARTFILE_SPEC): Likewise.

From-SVN: r55894

22 years agochar_traits.h: Remove generic definitions.
Benjamin Kosnik [Wed, 31 Jul 2002 02:47:36 +0000 (02:47 +0000)]
char_traits.h: Remove generic definitions.

2002-07-30  Benjamin Kosnik  <bkoz@redhat.com>
            Gabriel Dos Reis  <gdr@nerim.net>

* include/bits/char_traits.h: Remove generic definitions.
* include/bits/streambuf_iterator.h (istreambuf_iterator): Use
eof, not -2.
* include/bits/istream.tcc (istream::readsome): Don't check
against eof, instead use constants.
(istream::sync): Same.
(istream::sentry::sentry): Use eq_int_type.
(istream::get): Same.
* include/bits/ostream.tcc: Change __pad to
__pad<_CharT, _Traits>::_S_pad.
* include/bits/locale_facets.h: Add __pad_traits generic and
ostreambuf_iterator specialization.
* include/bits/locale_facets.tcc: Change __pad into struct __pad
with a _CharT and _Traits template parameter and _S_pad static
member function.
* src/locale-inst.cc: Update __pad instantiations.

* include/std/std_fstream.h: Declare _M_underflow_common
specializations.
* src/fstream.cc: New. Add _M_underflow_common specializations.
* include/bits/fstream.tcc (filebuf::close): Use traits_type.
(filebuf::_M_underflow_common(bool)): Remove generic version, as
sys_ungetc and custom int_types don't get along.
* include/std/std_streambuf.h: Add _M_pos.
* src/Makefile.am (sources): Add fstream.cc.
* src/Makefile.in: Regenerate.

* testsuite/21_strings/capacity.cc: Add char_traits specializations.
* testsuite/22_locale/codecvt_members_unicode_char.cc: Same.
* testsuite/22_locale/codecvt_members_unicode_wchar_t.cc: Same.
* testsuite/22_locale/ctor_copy_dtor.cc: Same.
* testsuite/27_io/filebuf_virtuals.cc (test07): Move to...
* testsuite/27_io/filebuf.cc: ...here.
* testsuite/testsuite_hooks.h: Add gnu_char, gnu_int, char_traits
specialization for both.
* testsuite/27_io/streambuf.cc: Add instantiation test,
testsuite_hooks include.
* testsuite/27_io/istream.cc: Same.
* testsuite/27_io/ostream.cc: Same.
* testsuite/27_io/fstream.cc: Same.
* testsuite/27_io/stringstream.cc: Same.
* testsuite/27_io/filebuf.cc: Same.
* testsuite/27_io/stringbuf.cc: Same.

Co-Authored-By: Gabriel Dos Reis <gdr@nerim.net>
From-SVN: r55893

22 years ago* alpha.h, arc.h, arm/aout.h, avr.h, cris.h, d30v.h, dsp16xx.h,
Kaveh R. Ghazi [Wed, 31 Jul 2002 02:13:35 +0000 (02:13 +0000)]
* alpha.h, arc.h, arm/aout.h, avr.h, cris.h, d30v.h, dsp16xx.h,

fr30.h, h8300.h, i370.h, i386/sco5.h, i386/unix.h, i960.h, ia64.h,
ip2k.h, m32r.h, mcore.h, mips.h, mn10200.h, mn10300.h, ns32k.h,
openbsd.h, pa/pa-linux.h, pdp11.h, romp.h, rs6000/sysv4.h,
s390/linux.h, sh.h, sparc.h, stormy16.h, v850.h, vax.h, xtensa.h:
(ASM_GLOBALIZE_LABEL): Delete.
(GLOBAL_ASM_OP): Define.

From-SVN: r55892

22 years agom68hc11.h, [...] (ASM_GLOBALIZE_LABEL): Delete.
Kaveh R. Ghazi [Wed, 31 Jul 2002 02:10:06 +0000 (02:10 +0000)]
m68hc11.h, [...] (ASM_GLOBALIZE_LABEL): Delete.

* m68hc11.h, m68k.h, m88k.h (ASM_GLOBALIZE_LABEL): Delete.

* defaults.h (ASM_GLOBALIZE_LABEL): Provide a default.
* doc/tm.texi (ASM_GLOBALIZE_LABEL): Update docs.

From-SVN: r55891

22 years agoextend.texi (Hints implementation): Document that GCC mostly ignores `register'.
Geoffrey Keating [Wed, 31 Jul 2002 00:11:31 +0000 (00:11 +0000)]
extend.texi (Hints implementation): Document that GCC mostly ignores `register'.

* doc/extend.texi (Hints implementation): Document that GCC
mostly ignores `register'.

From-SVN: r55890

22 years agoNew target macro DECLARE_LIBRARY_RENAMES
Bernd Schmidt [Tue, 30 Jul 2002 23:55:09 +0000 (23:55 +0000)]
New target macro DECLARE_LIBRARY_RENAMES

From-SVN: r55889

22 years agoconfigure.in: Move generic linux case to end.
Alan Modra [Tue, 30 Jul 2002 23:12:35 +0000 (23:12 +0000)]
configure.in: Move generic linux case to end.

* configure.in: Move generic linux case to end.  Copy generic
linux noconfigdirs to mips*-*-linux* entry and new
powerpc64*-*-linux* entry.  Add target-libffi for the latter.

From-SVN: r55888

22 years agoflags.h: Declare flag_finite_math_only.
Toon Moene [Tue, 30 Jul 2002 22:23:26 +0000 (00:23 +0200)]
flags.h: Declare flag_finite_math_only.

2002-07-30  Toon Moene  <toon@moene.indiv.nluug.nl>

* flags.h: Declare flag_finite_math_only.
Use it in definition of HONOR_NANS and
HONOR_INFINITIES.
* c-common.c (cb_register_builtins): Emit
__FINITE_MATH_ONLY__ when flag_finite_math_only
is set.
* combine.c (simplify_if_then_else): If
flag_finite_math_only is set, a == b has a
definite value.
* toplev.c: Initialize flag_finite_math_only.
(set_flags_fast_math): Set it on -ffast-math.
(flag_fast_math_set_p): Test it.
doc:
* invoke.texi: Document -ffinite-math-only.
f:
* com.c (ffe_init_options): Set
flag_finite_math_only.
* invoke.texi: Document -fno-finite-math-only.

From-SVN: r55887

22 years agoifcvt.c (noce_get_alt_condition): Use reg_overlap_mentioned_p.
Richard Henderson [Tue, 30 Jul 2002 22:13:50 +0000 (15:13 -0700)]
ifcvt.c (noce_get_alt_condition): Use reg_overlap_mentioned_p.

        * ifcvt.c (noce_get_alt_condition): Use reg_overlap_mentioned_p.
        (noce_process_if_block): Likewise.

From-SVN: r55886

22 years agoRecognize return insns even if the return appears in a parallel.
Bernd Schmidt [Tue, 30 Jul 2002 21:57:56 +0000 (21:57 +0000)]
Recognize return insns even if the return appears in a parallel.

From-SVN: r55885

22 years agoFix null pointer crash and a merge error
Bernd Schmidt [Tue, 30 Jul 2002 21:48:13 +0000 (21:48 +0000)]
Fix null pointer crash and a merge error

From-SVN: r55884

22 years agors6000.c (rs6000_expand_unop_builtin): Check icode not CODE_FOR_nothing.
David Edelsohn [Tue, 30 Jul 2002 21:23:46 +0000 (21:23 +0000)]
rs6000.c (rs6000_expand_unop_builtin): Check icode not CODE_FOR_nothing.

2002-07-30  David Edelsohn  <edelsohn@gnu.org>
            Zack Weinberg  <zack@codesourcery.com>

        * rs6000.c (rs6000_expand_unop_builtin): Check icode not
        CODE_FOR_nothing.  Change switch to if.
        (rs6000_expand_binop_builtin): Same.
        (rs6000_expand_builtin): Expand builtin if target support enabled.
        (rs6000_init_builtins): Init builtin if target support enabled.
        (rs6000_common_init_builtins): Check icode not CODE_FOR_nothing.

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

22 years agogcc.c (cpp_unique_options): Define __GXX_ABI_VERSION, bump it to 101.
Franz Sirl [Tue, 30 Jul 2002 20:40:20 +0000 (20:40 +0000)]
gcc.c (cpp_unique_options): Define __GXX_ABI_VERSION, bump it to 101.

gcc/

* gcc.c (cpp_unique_options): Define __GXX_ABI_VERSION, bump it to 101.

gcc/cp/

* lang-specs.h: Remove __GXX_ABI_VERSION, moved to gcc.c.

From-SVN: r55880

22 years ago* config/mips/mips.h (SUBTARGET_ASM_DEBUGGING_SPEC): Fix typo.
Richard Sandiford [Tue, 30 Jul 2002 19:08:23 +0000 (19:08 +0000)]
* config/mips/mips.h (SUBTARGET_ASM_DEBUGGING_SPEC): Fix typo.

From-SVN: r55879

22 years agosh.md (cond_delay_slot): New attribute.
J"orn Rennecke [Tue, 30 Jul 2002 17:39:27 +0000 (17:39 +0000)]
sh.md (cond_delay_slot): New attribute.

* sh.md (cond_delay_slot): New attribute.
(cbranch delay): Use it for anulled-true case.
(stuff_delay_slot): New pattern.
* sh.c (print_operand, case '.'): Don't print .s / /s fore zero-length
delay slot insn.
(gen_far_branch): Emit stuff_delay_slot pattern.

From-SVN: r55878

22 years ago* unroll.c (copy_loop_body): Don't copy NOTE_INSN_LOOP_CONT.
J"orn Rennecke [Tue, 30 Jul 2002 17:37:58 +0000 (17:37 +0000)]
* unroll.c (copy_loop_body): Don't copy NOTE_INSN_LOOP_CONT.

From-SVN: r55877

22 years agofold-const.c: Fix comment typos.
Kazu Hirata [Tue, 30 Jul 2002 16:42:05 +0000 (16:42 +0000)]
fold-const.c: Fix comment typos.

* fold-const.c: Fix comment typos.
* gcse.c: Likewise.
* reload1.c: Likewise.

From-SVN: r55876

22 years agors6000.md: Disallow CCEQ compare with crnor/crnot for TARGET_SPE.
Aldy Hernandez [Tue, 30 Jul 2002 16:36:02 +0000 (16:36 +0000)]
rs6000.md: Disallow CCEQ compare with crnor/crnot for TARGET_SPE.

2002-07-29  Aldy Hernandez  <aldyh@redhat.com>

* config/rs6000/rs6000.md: Disallow CCEQ compare with crnor/crnot
for TARGET_SPE.

From-SVN: r55875

22 years agoc-pretty-print.h (pp_c_statement): Declare.
Gabriel Dos Reis [Tue, 30 Jul 2002 13:48:06 +0000 (13:48 +0000)]
c-pretty-print.h (pp_c_statement): Declare.

* c-pretty-print.h (pp_c_statement): Declare.
* c-pretty-print.c (pp_c_postfix_expression): #if 0 support for SRCLOC.
(pp_c_statement): Define.

From-SVN: r55874

22 years agoconfigure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
Jeff Sturm [Tue, 30 Jul 2002 12:36:00 +0000 (12:36 +0000)]
configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.

* configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
* configure: Rebuilt.

From-SVN: r55873

22 years agoalpha.h, [...] (ASM_OUTPUT_LABEL): Delete definition.
Kaveh R. Ghazi [Tue, 30 Jul 2002 12:34:31 +0000 (12:34 +0000)]
alpha.h, [...] (ASM_OUTPUT_LABEL): Delete definition.

* alpha.h, arc.h, arm/aout.h, avr.h, c4x.h, cris.h, d30v.h,
darwin.h, dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i960.h,
ip2k.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mips.h,
mn10200.h, mn10300.h, ns32k.h, pa/pa-linux.h, pdp11.h, romp.h,
rs6000/sysv4.h, s390/linux.h, sh.h, sparc.h, stormy16.h,
v850.h, vax.h, xtensa.h (ASM_OUTPUT_LABEL): Delete definition.

* defaults.h (ASM_OUTPUT_LABEL): Provide a default.
* doc/tm.texi (ASM_OUTPUT_LABEL): Update docs.

From-SVN: r55872

22 years ago* cp-tree.h (VF_DERIVED_VALUE): Restore from previous deletion.
Gabriel Dos Reis [Tue, 30 Jul 2002 07:49:40 +0000 (07:49 +0000)]
* cp-tree.h (VF_DERIVED_VALUE): Restore from previous deletion.

From-SVN: r55871

22 years agoDaily bump.
GCC Administrator [Tue, 30 Jul 2002 07:17:09 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r55870

22 years agoc-pretty-print.c (pp_c_primary_expression): Handle STMT_EXPR.
Gabriel Dos Reis [Tue, 30 Jul 2002 06:34:57 +0000 (06:34 +0000)]
c-pretty-print.c (pp_c_primary_expression): Handle STMT_EXPR.

* c-pretty-print.c (pp_c_primary_expression): Handle STMT_EXPR.
(pp_c_postfix_expression): Handle ARROW_EXPR, FFS_EXPR,
COMPOUND_LITERAL_EXPR, VA_ARG_EXPR.
(pp_c_expression): Update.

From-SVN: r55864

22 years agocp-tree.h (CLASSTYPE_VFIELDS, VF_*, BV_*): Add more documentation.
Nathan Sidwell [Tue, 30 Jul 2002 05:03:42 +0000 (05:03 +0000)]
cp-tree.h (CLASSTYPE_VFIELDS, VF_*, BV_*): Add more documentation.

* cp-tree.h (CLASSTYPE_VFIELDS, VF_*, BV_*): Add more
documentation.

From-SVN: r55863

22 years agoadadecode.c (ada_demangle): Use xstrdup in lieu of xmalloc/strcpy.
Kaveh R. Ghazi [Tue, 30 Jul 2002 02:24:17 +0000 (02:24 +0000)]
adadecode.c (ada_demangle): Use xstrdup in lieu of xmalloc/strcpy.

ada:
* adadecode.c (ada_demangle): Use xstrdup in lieu of
xmalloc/strcpy.
* misc.c (gnat_decode_option): Likewise.

gcc:

* alpha/vms-cc.c (preprocess_args, main): Use xstrdup and/or
concat in lieu of xmalloc/strcpy/memcpy/sprintf.
* alpha/vms-ld.c (main): Likewise.
* dsp16xx.c (double_reg_to_memory): Likewise.
* mcore.c (mcore_expand_prolog): Likewise.
* cppfiles.c (read_name_map): Likewise.
* gensupport.c (process_rtx, identify_predicable_attribute,
alter_test_for_insn): Likewise.
* vmsdbgout.c (write_rtnbeg, vmsdbgout_init): Likewise.

f:
* com.c (read_name_map): Use concat in lieu of xmalloc/strcpy.

From-SVN: r55861

22 years agobuiltins.c (expand_builtin): Change the default behavior to only issue an error if...
Roger Sayle [Tue, 30 Jul 2002 02:19:43 +0000 (02:19 +0000)]
builtins.c (expand_builtin): Change the default behavior to only issue an error if...

* builtins.c (expand_builtin):  Change the default behavior to
only issue an error if the builtin function doesn't have a
fallback library call.  Remove several cases handled by the
new default.

From-SVN: r55860

22 years agoreal.c (ieee_24, [...]): Define only if the floating point format of the target is...
John David Anglin [Tue, 30 Jul 2002 01:42:19 +0000 (01:42 +0000)]
real.c (ieee_24, [...]): Define only if the floating point format of the target is IEEE.

* real.c (ieee_24, ieee_53, ieee_64, ieee_113): Define only if the
floating point format of the target is IEEE.
* (dec_f, dec_d, dec_g, dec_h): Define only if the floating point
format of the target is DEC.

From-SVN: r55859

22 years agounroll.c (verify_addresses): Remove.
Richard Henderson [Mon, 29 Jul 2002 23:57:52 +0000 (16:57 -0700)]
unroll.c (verify_addresses): Remove.

        * unroll.c (verify_addresses): Remove.
        (find_splittable_givs): Never split DEST_ADDR givs.

From-SVN: r55858

22 years agogty.texi (GGC Roots): Clarify that the list of syntaxes is exhaustive.
Geoffrey Keating [Mon, 29 Jul 2002 23:53:47 +0000 (23:53 +0000)]
gty.texi (GGC Roots): Clarify that the list of syntaxes is exhaustive.

* doc/gty.texi (GGC Roots): Clarify that the list of syntaxes
is exhaustive.
(Files): Improve documentation on generated source files.

* doc/extend.texi (Translation implementation): Document what
diagnostics look like.
(Identifiers implementation): Document that there's normally no
limit on identifier names.
(Integers implementation): Document two's complement.
(Hints implementation): Document that GCC honours 'inline', mostly.
(Preprocessing directives implementation): Document that GCC
requires the current time.

From-SVN: r55857

22 years agoc-pretty-print.h (struct c_pretty_print_info): Add new member.
Gabriel Dos Reis [Mon, 29 Jul 2002 23:42:26 +0000 (23:42 +0000)]
c-pretty-print.h (struct c_pretty_print_info): Add new member.

2002-07-30  Gabriel Dos Reis  <gdr@nerim.net>

* c-pretty-print.h (struct c_pretty_print_info): Add new member.
(pp_initializer): New macro.
(pp_c_initializer): Declare.
* c-pretty-print.c (pp_c_primary_expression): HAndle TARGET_EXPR.
(pp_c_initializer): Define.
(pp_c_initializer_list): New function.
(pp_c_postfix_expression): Handle ABS_EXPR, COMPLEX_CST,
VECTOR_CST, CONSTRUCTOR.
(pp_c_unary_expression): Handle CONJ_EXPR, REALPART_EXPR,
IMAGPART_EXPR.
(pp_c_cast_expression): Handle FLOAT_EXPR.
(pp_c_assignment_expression): Handle INIT_EXPR.
(pp_c_expression): Update.

From-SVN: r55856

22 years agolocks.h: Formatting.
Alan Modra [Mon, 29 Jul 2002 23:26:27 +0000 (23:26 +0000)]
locks.h: Formatting.

* sysdep/powerpc/locks.h: Formatting.
(_LARX): Define.
(_STCX): Define.
(compare_and_swap): Use _LARX and _STCX.
(compare_and_swap_release): Likewise.

From-SVN: r55855

22 years agocpu_limits.h (__glibcpp_long_bits): Define.
Alan Modra [Mon, 29 Jul 2002 23:26:00 +0000 (23:26 +0000)]
cpu_limits.h (__glibcpp_long_bits): Define.

* config/cpu/powerpc/cpu_limits.h (__glibcpp_long_bits): Define.
* configure.target (cpu_include_dir): Use cpu/powerpc for powerpc64.
* config/cpu/powerpc/atomicity.h (__always_swap): Remove.
(__test_and_set): Remove.
(_STWCX): Define and use.

From-SVN: r55854

22 years agoobjc-act.c (objc_init): Return immediately if filename is NULL.
Neil Booth [Mon, 29 Jul 2002 22:46:34 +0000 (22:46 +0000)]
objc-act.c (objc_init): Return immediately if filename is NULL.

* objc/objc-act.c (objc_init): Return immediately if filename
is NULL.

From-SVN: r55853

22 years agoelf.h: Remove ecoff.h and gofast includes.
Eric Christopher [Mon, 29 Jul 2002 22:21:41 +0000 (22:21 +0000)]
elf.h: Remove ecoff.h and gofast includes.

2002-07-29  Eric Christopher  <echristo@redhat.com>

        * config/mips/elf.h: Remove ecoff.h and gofast includes.
        (DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO): Define unconditionally.
        (SDB_DEBUGGING_INFO): Undefine.
        (PREFERRED_DEBUGGING_TYPE): Set to DWARF2_DEBUG.
(PUT_SDB_SIZE): Remove.
(SUBTARGET_ASM_DEBUGGING_SPEC): Redefine.
        (STARTFILE_SPEC): Add isa3264 define.
        * config/mips/elf64.h: Ditto.  Move TARGET_MEM_FUNCTIONS from here...
        * config/mips/ecoff.h: Remove. and here...
        * config/mips/iris3.h: and here...
        * config/mips/sni-svr4.h: and here...
        * config/mips/mips.h: To here. Remove OBJECT_FORMAT_ROSE ifdefs.
Add assembler -mmdebug options for non-dwarf debugging.
* config/mips/r3900.h: Remove debug info defines.
        * config/mips/isa32-linux.h: Remove, move functionality to config.gcc.
        * config/mips/isa3264.h: Ditto.
        * config/mips/t-isa3264: Fix up for file removal and gofast configure
        change.
        * config/mips/t-elf: Ditto.
        * config/mips/t-ecoff: Ditto.
        * config/mips/t-r3900: Ditto.
        * config/mips/t-iris5-6: Ditto.
        * config/mips/t-isa3264: Ditto.
        * config/mips/t-linux: Remove.
        * config/mips/t-netbsd: Remove.
        * config/mips/t-mips: New file.
        * config/mips/t-gofast: Ditto.
        * config/mips/netbsd.h: Remove unnecessary undefines.
        * config/mips/linux.h: Remove #include of mips.h.
        * config.gcc: Add mips.h include for elf targets. Remove tm_file
        for ecoff. Add gofast configure option for mips.

From-SVN: r55852

22 years agoconfigure.in (mips*-*-*): Add a test to see if MIPS libgloss linker scripts use START...
Chris Demetriou [Mon, 29 Jul 2002 22:07:27 +0000 (22:07 +0000)]
configure.in (mips*-*-*): Add a test to see if MIPS libgloss linker scripts use STARTUP directives...

2002-07-29  Chris Demetriou  <cgd@broadcom.com>

        * configure.in (mips*-*-*): Add a test to see if MIPS libgloss
        linker scripts use STARTUP directives consistently.
        * configure: Regenerate.
        * config.in: Regenerate.
        * config/mips/elf.h (STARTFILE_SPEC): Define conditionally, based
        on whether HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES is defined.
        * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
        * config/mips/isa3264.h (STARTFILE_SPEC): Do not redefine if
        HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES is set; the result
        will be the same.

From-SVN: r55851

22 years ago* config/rs6000/rs6000.md ("cpu"): Add ppc8540 to attribute.
Aldy Hernandez [Mon, 29 Jul 2002 21:37:23 +0000 (21:37 +0000)]
* config/rs6000/rs6000.md ("cpu"): Add ppc8540 to attribute.

From-SVN: r55850

22 years agors6000.h (RTX_COSTS): Add MULT case for 8540.
Aldy Hernandez [Mon, 29 Jul 2002 21:19:20 +0000 (21:19 +0000)]
rs6000.h (RTX_COSTS): Add MULT case for 8540.

2002-07-29  Aldy Hernandez  <aldyh@redhat.com>

* config/rs6000/rs6000.h (RTX_COSTS): Add MULT case for 8540.

From-SVN: r55849

22 years agors6000.md: Move altivec patterns from here...
Aldy Hernandez [Mon, 29 Jul 2002 21:05:23 +0000 (21:05 +0000)]
rs6000.md: Move altivec patterns from here...

2002-07-29  Aldy Hernandez  <aldy@quesejoda.com>

* config/rs6000/rs6000.md: Move altivec patterns from here...

* config/rs6000/altivec.md: ...to here.

From-SVN: r55848

22 years agospe.md ("spe_evmra"): Change to unspec.
Aldy Hernandez [Mon, 29 Jul 2002 20:15:43 +0000 (20:15 +0000)]
spe.md ("spe_evmra"): Change to unspec.

2002-07-29  Aldy Hernandez  <aldyh@redhat.com>

* config/rs6000/spe.md ("spe_evmra"): Change to unspec.

From-SVN: r55847

22 years agoemit-rtl.c (set_mem_attributes_minus_bitpos): Rename from set_mem_attributes and...
Richard Henderson [Mon, 29 Jul 2002 19:53:34 +0000 (12:53 -0700)]
emit-rtl.c (set_mem_attributes_minus_bitpos): Rename from set_mem_attributes and add BITPOS argument.

        * emit-rtl.c (set_mem_attributes_minus_bitpos): Rename from
        set_mem_attributes and add BITPOS argument.  Subtract it from
        OFFSET when same is adjusted.
        (set_mem_attributes): New wrapper function.
        * expr.c (expand_assignment): Use set_mem_attributes_minus_bitpos;
        remove offset adjustment hack.
        * expr.h (set_mem_attributes_minus_bitpos): Declare.

From-SVN: r55846

22 years agoMakefile.in (C_OBJS): Include c-pretty-print.o
Gabriel Dos Reis [Mon, 29 Jul 2002 19:31:24 +0000 (19:31 +0000)]
Makefile.in (C_OBJS): Include c-pretty-print.o

2002-07-29  Gabriel Dos Reis  <gdr@nerim.net>

* Makefile.in (C_OBJS): Include c-pretty-print.o
(c-pretty-print.o): Add depency rule.
* pretty-print.h: Add more macros.
* c-pretty-print.c: New file.
* c-pretty-print.h: Likewise.

cp/

2002-07-29  Gabriel Dos Reis  <gdr@nerim.net>

* Make-lang.in (CXX_C_OBJS): Include.

From-SVN: r55845

22 years agospe.h (__internal_ev_mwhgumian): Cast vector constants to __ev64_s32__.
Aldy Hernandez [Mon, 29 Jul 2002 19:07:10 +0000 (19:07 +0000)]
spe.h (__internal_ev_mwhgumian): Cast vector constants to __ev64_s32__.

2002-07-29  Aldy Hernandez  <aldyh@redhat.com>

* config/rs6000/spe.h (__internal_ev_mwhgumian): Cast vector
constants to __ev64_s32__.
(__internal_ev_mwhgsmian): Same.
(__internal_ev_mwhgsmfan): Same.
(__internal_ev_mwhgssfan): Same.
(__internal_ev_mwhgumiaa): Same.
(__internal_ev_mwhgsmiaa): Same.
(__internal_ev_mwhgsmfaa): Same.
(__internal_ev_mwhgssfaa): Same.

From-SVN: r55844

22 years agovarasm.c (assemble_variable): Narrow test for uninitialized without BSS target support.
David Edelsohn [Mon, 29 Jul 2002 19:01:55 +0000 (19:01 +0000)]
varasm.c (assemble_variable): Narrow test for uninitialized without BSS target support.

        * varasm.c (assemble_variable): Narrow test for uninitialized
        without BSS target support.

From-SVN: r55843

22 years agoprofile.c: Add file comment describing the overall algorithm and structures.
Nathan Sidwell [Mon, 29 Jul 2002 18:40:45 +0000 (18:40 +0000)]
profile.c: Add file comment describing the overall algorithm and structures.

* profile.c: Add file comment describing the overall algorithm and
structures.
(struct edge_info): Add comments.
(struct bb_info): Add comments.
* basic-block.h (EDGE_*): Add comments.
* doc/gcov.texi (Gcov Data Files): Document bit flags.

From-SVN: r55842

22 years ago* config/xtensa/elf.h, config/xtensa/linux.h
Bob Wilson [Mon, 29 Jul 2002 18:07:09 +0000 (18:07 +0000)]
* config/xtensa/elf.h, config/xtensa/linux.h
        (TARGET_OS_CPP_BUILTINS): Define.
        (CPP_PREDEFINES): Remove.
        * config/xtensa/xtensa.h (TARGET_CPU_CPP_BUILTINS): Define.
        (CPP_SPEC): Remove.

From-SVN: r55840

22 years agogensupport.c: Include hashtab.h.
Zack Weinberg [Mon, 29 Jul 2002 18:02:47 +0000 (18:02 +0000)]
gensupport.c: Include hashtab.h.

* gensupport.c: Include hashtab.h.
(insn_elision, condition_table, hash_c_test, cmp_c_test,
maybe_eval_c_test): New routines and data structures to
support insn elision.
(init_md_reader): Read and initialize the condition_table.
(read_md_rtx): Discard insn patterns whose C test is provably
always false.
* gensupport.h: Declare new functions and data structures.

* genconditions.c, dummy-conditions.c: New files.
* Makefile.in: Build genconditions; run it to construct
insn-conditions.c; build that and link it into most gen*
programs.
(HOST_SUPPORT, HOST_EARLY_SUPPORT): New variables.
(GEN): Delete, unused.
(STAGESTUFF): Update.

* gencodes.c: (gen_insn): #define CODE_FOR_xxx equal to
CODE_FOR_nothing for all elided patterns.
(main): Tweaked to support this.
* genflags.c (gen_proto): Emit a static inline generator
function here for all elided patterns, which simply returns
NULL_RTX.
(gen_insn): Do not define HAVE_xxx for elided patterns.
(main): Tweaked to support this.  No need to forward-declare
struct rtx_def.
* genrecog.c: Do not bother emitting the C test if it's known
to be true at compile time.

From-SVN: r55839

22 years agoconfig.gcc (target_gtfiles): Initialize...
Mike Stump [Mon, 29 Jul 2002 17:25:30 +0000 (17:25 +0000)]
config.gcc (target_gtfiles): Initialize...

* config.gcc (target_gtfiles): Initialize, as otherwise cross compilers hosted on
powerpc-apple-darwin6.0 won't even build.

From-SVN: r55838

22 years ago* cplus-dem.c (PREPEND_BLANK): Remove.
Neil Booth [Mon, 29 Jul 2002 17:11:10 +0000 (17:11 +0000)]
* cplus-dem.c (PREPEND_BLANK): Remove.

From-SVN: r55837

22 years agoarm.md (sibcall, [...]): Add RETURN as part of the pattern, remove clobber of LR.
Richard Earnshaw [Mon, 29 Jul 2002 12:41:46 +0000 (12:41 +0000)]
arm.md (sibcall, [...]): Add RETURN as part of the pattern, remove clobber of LR.

* arm.md (sibcall, sibcall_value): Add RETURN as part of the pattern,
remove clobber of LR.
(sibcall_insn, sibcall_value_insn): Update accordingly.
(sibcall_epilogue): Remove debugging comment from assembler stream.

From-SVN: r55836

22 years ago* cp-tree.h: Comment typo fix.
Alan Modra [Mon, 29 Jul 2002 11:45:33 +0000 (11:45 +0000)]
* cp-tree.h: Comment typo fix.

From-SVN: r55835

22 years agospew.c (space_for_token): Allocate zeroed memory for a new token chunk.
Richard Earnshaw [Mon, 29 Jul 2002 10:37:25 +0000 (10:37 +0000)]
spew.c (space_for_token): Allocate zeroed memory for a new token chunk.

* spew.c (space_for_token): Allocate zeroed memory for a new token
chunk.

From-SVN: r55834

22 years agopretty-print.h: Define more macros.
Gabriel Dos Reis [Mon, 29 Jul 2002 08:26:45 +0000 (08:26 +0000)]
pretty-print.h: Define more macros.

* pretty-print.h: Define more macros.
* diagnostic.h (output_formatted_integer): Moved from...
* diagnostic.c: ... here.

From-SVN: r55833

22 years agoDaily bump.
GCC Administrator [Mon, 29 Jul 2002 07:17:07 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r55832

22 years agoDaily bump.
GCC Administrator [Mon, 29 Jul 2002 07:17:06 +0000 (07:17 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r55831.3

22 years agogcc_release: Update comment.
Andreas Jaeger [Mon, 29 Jul 2002 05:31:34 +0000 (07:31 +0200)]
gcc_release: Update comment.

* gcc_release: Update comment.

* snapshot-README: Snapshots are taken from GCC 3.2 branch.

From-SVN: r55825

22 years ago* gcc_release: Use the 3.2 branch for snapshots.
Mark Mitchell [Mon, 29 Jul 2002 04:46:45 +0000 (04:46 +0000)]
* gcc_release: Use the 3.2 branch for snapshots.

From-SVN: r55824

22 years ago* stormy16.h (ASM_OUTPUT_SYMBOL_REF): Use ASM_OUTPUT_LABEL_REF.
Kaveh R. Ghazi [Sun, 28 Jul 2002 22:35:21 +0000 (22:35 +0000)]
* stormy16.h (ASM_OUTPUT_SYMBOL_REF): Use ASM_OUTPUT_LABEL_REF.

From-SVN: r55822

22 years agodefaults.h (ASM_OUTPUT_MEASURED_SIZE): Take only two arguments.
Zack Weinberg [Sun, 28 Jul 2002 18:44:34 +0000 (18:44 +0000)]
defaults.h (ASM_OUTPUT_MEASURED_SIZE): Take only two arguments.

* defaults.h (ASM_OUTPUT_MEASURED_SIZE): Take only two
arguments.  Always use ".-symbol" as expression argument.
* doc/tm.texi: Update to match.  Document requirement for
".size symbol, .-symbol" to be acceptable to assembler.

* config/elfos.h, config/netbsd-aout.h, config/openbsd.h,
config/arm/elf.h, config/avr/avr.h, config/cris/aout.h,
config/i386/freebsd-aout.h, config/i386/sco5.h,
config/ip2k/ip2k.h, config/m88k/m88k.h, config/xtensa/elf.h,
config/xtensa/linux.h:  Update uses of ASM_OUTPUT_MEASURED_SIZE.

From-SVN: r55820

22 years agoUpdate version number
Mark Mitchell [Sun, 28 Jul 2002 16:45:44 +0000 (16:45 +0000)]
Update version number

From-SVN: r55818

22 years ago* Makefile.in (gengtype-lex.c): Fix error in last change.
Kaveh R. Ghazi [Sun, 28 Jul 2002 13:36:05 +0000 (13:36 +0000)]
* Makefile.in (gengtype-lex.c): Fix error in last change.

From-SVN: r55817

22 years agofreebsd.h (TARGET_OS_CPP_BUILTINS): Add missing backslash.
Kaveh R. Ghazi [Sun, 28 Jul 2002 13:00:22 +0000 (13:00 +0000)]
freebsd.h (TARGET_OS_CPP_BUILTINS): Add missing backslash.

* alpha/freebsd.h (TARGET_OS_CPP_BUILTINS): Add missing
backslash.

From-SVN: r55816

22 years agoMakefile.in (vmsdbgout.o): Depend on function.h.
Kaveh R. Ghazi [Sun, 28 Jul 2002 12:55:13 +0000 (12:55 +0000)]
Makefile.in (vmsdbgout.o): Depend on function.h.

* Makefile.in (vmsdbgout.o): Depend on function.h.

* vmsdbgout.c: Include function.h.

From-SVN: r55815

22 years agoprefix.c (update_path): Don't strip single `.' path components unless stripping a...
Alan Modra [Sun, 28 Jul 2002 09:01:09 +0000 (09:01 +0000)]
prefix.c (update_path): Don't strip single `.' path components unless stripping a later `..' component.

* prefix.c (update_path): Don't strip single `.' path components
unless stripping a later `..' component.  Exit loop as soon as
a valid path is found.

From-SVN: r55814

22 years agoDaily bump.
GCC Administrator [Sun, 28 Jul 2002 07:17:06 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r55813

22 years agobuiltins.def [...]: Require an explicit ATTRS argument.
Roger Sayle [Sun, 28 Jul 2002 05:34:04 +0000 (05:34 +0000)]
builtins.def [...]: Require an explicit ATTRS argument.

* builtins.def [DEF_GCC_BUILTIN]: Require an explicit ATTRS
argument.  Mark BUILT_IN_RETURN, BUILT_IN_EH_RETURN,
BUILT_IN_LONGJMP and BUILT_IN_TRAP as noreturn, the ISO C99
floating point unordered comparisons (e.g. __builtin_isgreater)
as const, and leave the remaining GCC_BUILTINs unchanged.

* c-decl.c (builtin_function): No need to explicitly mark
BUILT_IN_RETURN and BUILT_IN_EH_RETURN as noreturn.

* cp/decl.c (builtin_function_1): No need to explicitly mark
BUILT_IN_RETURN and BUILT_IN_EH_RETURN as noreturn.

From-SVN: r55805

22 years agoMakefile.in: rtlanal.o now depends upon real.h.
Roger Sayle [Sun, 28 Jul 2002 02:11:05 +0000 (02:11 +0000)]
Makefile.in: rtlanal.o now depends upon real.h.

* Makefile.in: rtlanal.o now depends upon real.h.

* flags.h [flag_signaling_nans]: New flag.
[HONOR_SNANS]: New macro.

* toplev.c [flag_signaling_nans]: Initialize to false.
        (f_options): Add processing for "-fsignaling-nans".
(set_fast_math_flags): Clear flag_signaling_nans with -ffast-math.
(process_options): flag_signaling_nans implies flag_trapping_math.

* c-common.c (cb_register_builtins): Define __SUPPORT_SNAN__
when -fsignaling-nans.  First step to implementing WG14's N965.

* fold-const.c (fold) [MULT_EXPR]: Conditionalize transforming
1.0 * x into x, and -1.0 * x into -x on !HONOR_SNANS.
[RDIV_EXPR]: Conditionalize x/1.0 into x on !HONOR_SNANS.

* simplify-rtx.c (simplify_relational_operation): Conditionalize
transforming abs(x) < 0.0 into false on !HONOR_SNANS.

* rtlanal.c: #include real.c for TARGET_FLOAT_FORMAT definitions
required by HONOR_SNANS.  (may_trap_p): Floating point DIV, MOD,
UDIV, UMOD, GE, GT, LE, LT and COMPARE may always trap with
-fsignaling_nans.  EQ and NE only trap for flag_signaling_nans
not flag_trapping_math (i.e. HONOR_SNANS but not HONOR_NANS).

* doc/invoke.texi: Document new -fsignaling-nans compiler option.

From-SVN: r55804

22 years agoMakefile.in (gengtype-lex.c): Work around a bug in flex.
Kaveh R. Ghazi [Sat, 27 Jul 2002 23:35:11 +0000 (23:35 +0000)]
Makefile.in (gengtype-lex.c): Work around a bug in flex.

* Makefile.in (gengtype-lex.c): Work around a bug in flex.
* gengtype-lex.l (YY_USE_PROTOS): Undef.
(YY_DECL): Define.

From-SVN: r55803

22 years agodecl2.c (cxx_decode_option): Support -fno-builtin-foo.
Roger Sayle [Sat, 27 Jul 2002 21:15:39 +0000 (21:15 +0000)]
decl2.c (cxx_decode_option): Support -fno-builtin-foo.

* cp/decl2.c (cxx_decode_option): Support -fno-builtin-foo.

* doc/invoke.texi: Document that both -fno-builtin-foo and
-fno-builtin are supported by the g++ front-end.

From-SVN: r55802

22 years agoconfigure.in: Rename config_gtfiles to target_gtfiles.
Stan Shebs [Sat, 27 Jul 2002 20:54:52 +0000 (20:54 +0000)]
configure.in: Rename config_gtfiles to target_gtfiles.

        * configure.in: Rename config_gtfiles to target_gtfiles.
        * configure: Regenerate.
        * doc/gty.texi: Update reference.
        * config.gcc (powerpc-*-darwin*): Set target_gtfiles
        instead of appending to it.

From-SVN: r55801

22 years agoDaily bump.
GCC Administrator [Sat, 27 Jul 2002 07:16:57 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r55796

22 years agors6000.c (function_arg_advance): SPE vararg vectors are split into two registers.
Aldy Hernandez [Sat, 27 Jul 2002 04:12:48 +0000 (04:12 +0000)]
rs6000.c (function_arg_advance): SPE vararg vectors are split into two registers.

2002-07-25  Aldy Hernandez  <aldyh@redhat.com>

* config/rs6000/rs6000.c (function_arg_advance): SPE vararg
vectors are split into two registers.
(function_arg): Same.

From-SVN: r55791

22 years ago* pa.md (extv): Check predicates before emitting extv_32.
J"orn Rennecke [Sat, 27 Jul 2002 02:31:07 +0000 (02:31 +0000)]
* pa.md (extv): Check predicates before emitting extv_32.

From-SVN: r55790

22 years agoAuthenticator.java: New version from Classpath.
Tom Tromey [Sat, 27 Jul 2002 00:53:42 +0000 (00:53 +0000)]
Authenticator.java: New version from Classpath.

* java/net/Authenticator.java: New version from Classpath.
* java/net/DatagramSocketImpl.java: New version from Classpath.

From-SVN: r55789

22 years ago* configure.host: Add powerpc64*-* entry.
Alan Modra [Fri, 26 Jul 2002 23:54:28 +0000 (23:54 +0000)]
* configure.host: Add powerpc64*-* entry.

From-SVN: r55788

22 years agors6000.c (rs6000_traceback_name): New var.
Alan Modra [Fri, 26 Jul 2002 23:46:47 +0000 (23:46 +0000)]
rs6000.c (rs6000_traceback_name): New var.

* config/rs6000/rs6000.c (rs6000_traceback_name): New var.
(rs6000_traceback): New var.
(rs6000_override_options): Set rs6000_traceback.
(rs6000_output_function_epilogue): Implement traceback options.
* config/rs6000/rs6000.h (TARGET_OPTIONS): Add "traceback=".
(rs6000_traceback_name): Declare.

* config/rs6000/rs6000.c (output_profile_hook): Don't generate profile
label reference when NO_PROFILE_COUNTERS.

From-SVN: r55787

22 years agonew (placement delete): Remove unused paramater names.
Phil Edwards [Fri, 26 Jul 2002 20:12:00 +0000 (20:12 +0000)]
new (placement delete): Remove unused paramater names.

2002-07-26  Phil Edwards  <pme@gcc.gnu.org>

* libsupc++/new (placement delete):  Remove unused paramater names.

From-SVN: r55782

22 years agofunction.c (assign_parms): Handle frontend-directed pass by invisible reference.
Jason Merrill [Fri, 26 Jul 2002 20:10:43 +0000 (16:10 -0400)]
function.c (assign_parms): Handle frontend-directed pass by invisible reference.

        * function.c (assign_parms): Handle frontend-directed pass by
        invisible reference.
cp/
        * call.c (build_over_call): Likewise.
        (cp_convert_parm_for_inlining): New fn.
        (convert_for_arg_passing): New fn.
        (convert_default_arg, build_over_call): Use it.
        (type_passed_as): New fn.
        * pt.c (tsubst_decl): Use it.
        * decl2.c (cp_build_parm_decl): New fn.
        (build_artificial_parm): Use it.
        (start_static_storage_duration_function): Likewise.
        * decl.c (start_cleanup_fn, grokdeclarater): Likewise.
        (grokparms): Don't mess with DECL_ARG_TYPE.
        * typeck.c (convert_arguments): Use convert_for_arg_passing.
        * cp-lang.c (LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING):
        Define.
        * cp-tree.h: Declare new fns.

From-SVN: r55781

22 years agonatFileDescriptorPosix.cc: Don't include sys/socket.h or fcntl.h.
Tom Tromey [Fri, 26 Jul 2002 18:33:44 +0000 (18:33 +0000)]
natFileDescriptorPosix.cc: Don't include sys/socket.h or fcntl.h.

* java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
fcntl.h.

From-SVN: r55780

22 years agocppopts.texi: Update.
Neil Booth [Fri, 26 Jul 2002 16:34:09 +0000 (16:34 +0000)]
cppopts.texi: Update.

* doc/cppopts.texi: Update.
testsuite:
* gcc.dg/cpp/trad/Wunused.c, gcc.dg/cpp/Wunused.c: Add test
for documented behaviour.

From-SVN: r55779

22 years agocppmacro.c (_cpp_create_definition): Don't attempt redefinition warnings on assertions.
Neil Booth [Fri, 26 Jul 2002 16:29:31 +0000 (16:29 +0000)]
cppmacro.c (_cpp_create_definition): Don't attempt redefinition warnings on assertions.

* cppmacro.c (_cpp_create_definition): Don't attempt redefinition
warnings on assertions.

From-SVN: r55778

22 years agoc-common.h (RID_AND, [...]): Remove.
Neil Booth [Fri, 26 Jul 2002 16:23:07 +0000 (16:23 +0000)]
c-common.h (RID_AND, [...]): Remove.

* c-common.h (RID_AND, RID_AND_EQ, RID_NOT, RID_NOT_EQ,
RID_OR, RID_OR_EQ, RID_XOR, RID_XOR_EQ, RID_BITAND, RID_BITOR,
RID_COMPL): Remove.
* c-parse.in (rid_to_yy): Similarly.
cp:
* cp-tree.h (flag_operator_names): Remove.
* decl2.c (flag_operator_names): Remove.
(lang_f_options): Remove operator-names.
* lex.c (D_OPNAME): Remove.
(reswords): Remove operator names.
(rid_to_yy): Remove operator names.
(init_reswords): No need to handle D_OPNAME.
* spew.c (read_process_identifier): There are no operator
names.

From-SVN: r55777

22 years agoc-dump.c: Resurrect.
Jason Merrill [Fri, 26 Jul 2002 13:45:38 +0000 (09:45 -0400)]
c-dump.c: Resurrect.

        * c-dump.c: Resurrect.
        * tree-dump.c: Move C-specific stuff to c-dump.c.
        * c-common.h: Declare c_dump_tree.
        * c-lang.c (LANG_HOOKS_TREE_DUMP_DUMP_TREE_FN): Define.
        * Makefile.in (C_AND_OBJC_OBJS): Add c-dump.o.
        (c-dump.o): New rule.
cp/
        * dump.c (cp_dump_tree): Call c_dump_tree.
        * Make-lang.in (CXX_C_OBJS): Add c-dump.o.

From-SVN: r55776

22 years agoDaily bump.
GCC Administrator [Fri, 26 Jul 2002 07:16:59 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r55775

22 years agors6000.md: Enable patterns using rlwinm for PowerPC64.
Alan Modra [Fri, 26 Jul 2002 02:47:35 +0000 (02:47 +0000)]
rs6000.md: Enable patterns using rlwinm for PowerPC64.

* config/rs6000/rs6000.md: Enable patterns using rlwinm for
PowerPC64.  Replace "T" and "S" constraints with "n" when the
predicate will do.  Formatting fixes.
(extzvsi_internal2): Use "andi.", "andis." and attr type of "compare"
as for extzvsi_internal1.

From-SVN: r55770

22 years ago20020720-1.x: Skip this test on several targets known to fail.
Roger Sayle [Fri, 26 Jul 2002 02:38:42 +0000 (02:38 +0000)]
20020720-1.x: Skip this test on several targets known to fail.

* gcc.c-torture/execute/20020720-1.x: Skip this test on
several targets known to fail.

From-SVN: r55769

22 years agore PR libstdc++/7216 (basic_iostream::traits_type is ambiguous issue)
Benjamin Kosnik [Fri, 26 Jul 2002 01:49:36 +0000 (01:49 +0000)]
re PR libstdc++/7216 (basic_iostream::traits_type is ambiguous issue)

2002-07-25  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/7216
* include/std/std_istream.h (basic_iostream): Add typedefs for
char_type, int_type, pos_type, off_type, and traits_type.
* testsuite/27_io/iostream.cc (test01): Add typedef tests.
* testsuite/27_io/istream.cc: Same.
* testsuite/27_io/ostream.cc: Same.
* testsuite/27_io/filebuf.cc: Same.
* testsuite/27_io/stringbuf.cc: Replace content, move to...
* testsuite/27_io/stringbuf_members.cc: ...here.
* testsuite/27_io/streambuf.cc: Replace content, move to...
* testsuite/27_io/streambuf_members.cc: ...here.
* testsuite/27_io/stringstream.cc: Replace content, move to...
* testsuite/27_io/stringstream_members.cc: ...here.
* testsuite/27_io/ios.cc: New file.
* testsuite/27_io/fstream.cc: New file.
* testsuite/27_io/ifstream.cc: New file.
* testsuite/27_io/ofstream.cc: New file.
* testsuite/27_io/istringstream.cc: New file.
* testsuite/27_io/ostringstream.cc: New file.

From-SVN: r55767

22 years agore PR libstdc++/7220 (g++ 3.1: basic_istream::ignore(0,delimiter) issue.)
Benjamin Kosnik [Thu, 25 Jul 2002 23:20:49 +0000 (23:20 +0000)]
re PR libstdc++/7220 (g++ 3.1: basic_istream::ignore(0,delimiter) issue.)

2002-07-25  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/7220
* include/bits/istream.tcc (istream::ignore): Don't extract on
zero.
* testsuite/27_io/istream_unformatted.cc (test10): Add.

From-SVN: r55763

22 years agodwarfout.c (VERSION_ASM_OP, [...]): Remove.
Neil Booth [Thu, 25 Jul 2002 21:21:37 +0000 (21:21 +0000)]
dwarfout.c (VERSION_ASM_OP, [...]): Remove.

* dwarfout.c (VERSION_ASM_OP, DERIV_BEGIN_LABEL_FMT,
DERIV_END_LABEL_FMT): Remove.
(SL_BEGIN_LABEL_FMT, SL_END_LABEL_FMT): Move.

From-SVN: r55762