OSDN Git Service

pf3gnuchains/gcc-fork.git
18 years agosync mainline to 3.1
korbb [Thu, 2 May 2002 05:18:08 +0000 (05:18 +0000)]
sync mainline to 3.1

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53034 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * g++.dg/init/dtor1.C: New test.
mmitchel [Thu, 2 May 2002 05:14:31 +0000 (05:14 +0000)]
* g++.dg/init/dtor1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53033 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2002-05-02 Aldy Hernandez <aldyh@redhat.com>
aldyh [Thu, 2 May 2002 02:03:14 +0000 (02:03 +0000)]
2002-05-02  Aldy Hernandez  <aldyh@redhat.com>

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

        * config/rs6000/rs6000.c (rs6000_legitimate_address): Disallow
        PRE_INC and PRE_DEC for altivec modes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53031 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2002-05-01 Jeff Law <law@redhat.com>
danglin [Wed, 1 May 2002 23:17:57 +0000 (23:17 +0000)]
2002-05-01  Jeff Law  <law@redhat.com>

* pa.h (EXTRA_CONSTRAINT): Don't accept PIC addresses for the
'T' constraint.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53027 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2002-05-01 Phil Edwards <pme@gcc.gnu.org>
pme [Wed, 1 May 2002 22:57:59 +0000 (22:57 +0000)]
2002-05-01  Phil Edwards  <pme@gcc.gnu.org>

* include/std/std_bitset.h:  Fix doxygen comments.
* docs/html/documentation.html:  Minor tweaks for 3.1.
* docs/html/27_io/howto.html:  Likewise.
* docs/html/ext/howto.html:  Likewise, mention stdio_filebuf.
* docs/html/faq/index.html:  Likewise.
* docs/html/faq/index.txt:  Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53025 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2002-05-01 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 1 May 2002 22:40:27 +0000 (22:40 +0000)]
2002-05-01  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/6533
* include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
(istreambuf_iterator::equal): Use it.
(istreambuf_iterator::operator*): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53024 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * dbxout.c (dbxout_type): Emit size information for range types,
kenner [Wed, 1 May 2002 22:31:08 +0000 (22:31 +0000)]
* dbxout.c (dbxout_type): Emit size information for range types,
as well, but only when using GDB extensions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53023 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago* configure.in (noconfigdirs): Replace [ ] with test.
dj [Wed, 1 May 2002 22:28:36 +0000 (22:28 +0000)]
* configure.in (noconfigdirs): Replace [ ] with test.

* configure.in (noconfigdirs): Do not add target-newlib if
target == i[3456]86-*-linux*, and host == target.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53021 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * configure.in (HAVE_GAS_HIDDEN): Replace SPARC feature test with
rth [Wed, 1 May 2002 20:37:41 +0000 (20:37 +0000)]
    * configure.in (HAVE_GAS_HIDDEN): Replace SPARC feature test with
        target-independent gnu binutils date test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53017 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * cfgcleanup.c (merge_blocks_move_successor_nojumps): Emit dump
rth [Wed, 1 May 2002 20:20:19 +0000 (20:20 +0000)]
    * cfgcleanup.c (merge_blocks_move_successor_nojumps): Emit dump
        info before expunging the block.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53014 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * cppinit.c (cpp_handle_option) [-dM]: Don't set no_output here...
jakub [Wed, 1 May 2002 20:07:36 +0000 (20:07 +0000)]
* cppinit.c (cpp_handle_option) [-dM]: Don't set no_output here...
(cpp_post_options): ...but here.  Disable -dD, -dN and -dI when
-M -or -MM is in effect.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53013 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config.gcc: Correct test of --enable-obsolete. Obsolete all
zack [Wed, 1 May 2002 18:42:55 +0000 (18:42 +0000)]
* config.gcc: Correct test of --enable-obsolete.  Obsolete all
A29k configurations.
* doc/install.texi: Update to match.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53009 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago 2002-05-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Wed, 1 May 2002 17:56:56 +0000 (17:56 +0000)]
2002-05-01  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

PR bootstrap/6514
* varasm.c (globalize_decl): Compare DECL_ASSEMBLER_NAME to check
for duplicates. Always loop over whole list.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53006 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * reload.c (find_reloads, case 'p'): Set BADOP to 0.
kenner [Wed, 1 May 2002 17:33:55 +0000 (17:33 +0000)]
* reload.c (find_reloads, case 'p'): Set BADOP to 0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53005 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2002-05-01 Joel Sherrill <joel@OARcorp.com>
joel [Wed, 1 May 2002 17:17:54 +0000 (17:17 +0000)]
2002-05-01 Joel Sherrill <joel@OARcorp.com>

* config/sparc/t-elf (sparc-rtems, sparc-elf): Build assembly
support routines.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53003 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2002-05-01 Joel Sherrill <joel@OARcorp.com>
joel [Wed, 1 May 2002 16:34:06 +0000 (16:34 +0000)]
2002-05-01 Joel Sherrill <joel@OARcorp.com>

* config/arm/rtems-elf.h: Add #undef TARGET_VERSION to prevent warning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53001 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * rs6000.md (abssi2_nopower): Convert to define_insn_and_split.
dje [Wed, 1 May 2002 15:33:23 +0000 (15:33 +0000)]
    * rs6000.md (abssi2_nopower): Convert to define_insn_and_split.
        (nabs_nopower): Same.
        (floatdisf2): New pattern.
        (absdi2): Convert to define_insn_and_split.
        (nabsdi2): Same.
        (trunctfsf2): Same.
        (floatditf2): Same.
        (floatsitf2): Same.
        (fix_trunctfdi2): Same.
        (fix_trunctfsi2): Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52999 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * doc/install.texi: Update Texinfo version requirement
jsm28 [Wed, 1 May 2002 13:02:39 +0000 (13:02 +0000)]
* doc/install.texi: Update Texinfo version requirement
documentation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52997 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR target/6512, PR target/5628
jakub [Wed, 1 May 2002 08:27:55 +0000 (08:27 +0000)]
PR target/6512, PR target/5628
* config/sparc/sparc.md (movdf_insn_v9only_novis): Don't allow >= %f32
when memory is not aligned.
(movdf_insn_v9only_vis): Likewise.
* config/sparc/sparc.h (SECONDARY_INPUT_RELOAD_CLASS): Request a FP_REGS
temporary for EXTRA_FP_REGS DFmode load from unaligned memory.
(SECONDARY_OUTPUT_RELOAD_CLASS): Similarly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52995 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoFix bad regexp
nathan [Wed, 1 May 2002 07:35:19 +0000 (07:35 +0000)]
Fix bad regexp

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52994 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoDaily bump.
gccadmin [Wed, 1 May 2002 07:17:15 +0000 (07:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52992 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2002-05-01 Aldy Hernandez <aldyh@redhat.com>
aldyh [Wed, 1 May 2002 06:52:30 +0000 (06:52 +0000)]
2002-05-01  Aldy Hernandez  <aldyh@redhat.com>

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

        * config/rs6000/altivec.h: Cleanup.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52988 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2002-05-01 Paolo Carlini <pcarlini@unitus.it>
paolo [Wed, 1 May 2002 02:17:35 +0000 (02:17 +0000)]
2002-05-01  Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/6513
* include/bits/stl_uninitialized.h
(uninitialized_copy(_InputIter, _InputIter, _ForwardIter)):
Fix typo in 2001-07-17 commit: typedef _ValueType to
iterator_traits<_ForwardIter> not <_InputIter>.
* testsuite/23_containers/vector_ctor.cc: Add test04.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52985 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoldy Hernandez <aldyh@redhat.com>
aldyh [Wed, 1 May 2002 01:50:24 +0000 (01:50 +0000)]
ldy Hernandez  <aldyh@redhat.com>

        * doc/invoke.texi (Option Summary): Add -mvrsave=.
        (RS/6000 and PowerPC Options): Document -mvrsave=.

        * config/rs6000/rs6000.c (rs6000_altivec_vrsave): New global.
        (rs6000_altivec_vrsave_string): Same.
        (rs6000_override_options): Call rs6000_parse_vrsave_option.
        (rs6000_parse_vrsave_option): New.
        (rs6000_stack_info): Only generate vrsave instructions when
        TARGET_ALTIVEC_VRSAVE.

        * config/rs6000/rs6000.h (TARGET_OPTIONS): Add -mvrsave= option.
        (rs6000_altivec_vrsave_string): Define extern.
        (rs6000_altivec_vrsave): Same.
        (TARGET_ALTIVEC_VRSAVE): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52984 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * java/io/BufferedReader.java (fill): Handle case where markPos
tromey [Tue, 30 Apr 2002 23:55:57 +0000 (23:55 +0000)]
* java/io/BufferedReader.java (fill): Handle case where markPos
point to ignored \n.  Fixes PR libgcj/6301.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52982 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * toplev.c (rest_of_compilation): Don't run cross-jump before
rth [Tue, 30 Apr 2002 23:13:36 +0000 (23:13 +0000)]
    * toplev.c (rest_of_compilation): Don't run cross-jump before
        bb-reorder.
* gcc.dg/20020430-1.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52981 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
bkoz [Tue, 30 Apr 2002 22:52:39 +0000 (22:52 +0000)]
2002-04-30  John David Anglin  <dave@hiauly1.hia.nrc.ca>

PR libstdc++/6501
* include/c_std/std_cctype.h: Include bits/c++config.h.
* config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52979 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoAdd ABI change note to previous change.
davem [Tue, 30 Apr 2002 22:27:01 +0000 (22:27 +0000)]
Add ABI change note to previous change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52977 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2002-04-30 Mark Mitchell <mark@codesourcery.com>
davem [Tue, 30 Apr 2002 21:53:53 +0000 (21:53 +0000)]
2002-04-30  Mark Mitchell  <mark@codesourcery.com>

* class.c (finish_struct_bits): Only mark TREE_ADDRESSABLE if
TYPE_HAS_TRIVIAL_INIT_REF is false or
TYPE_HAS_NONTRIVIAL_DESTRUCTOR is true.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52976 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoAdd sanity check to regrename.c.
trix [Tue, 30 Apr 2002 21:39:46 +0000 (21:39 +0000)]
Add sanity check to regrename.c.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52974 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * cpplex.c: Fix comment formatting.
kazu [Tue, 30 Apr 2002 20:48:55 +0000 (20:48 +0000)]
* cpplex.c: Fix comment formatting.
* function.c: Likewise.
* integrate.c: Likewise.
* regrename.c: Likewise.
* sibcall.c: Likewise.
* simplify-rtx.c: Likewise.
* tree-inline.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52972 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR libstdc++/6501
danglin [Tue, 30 Apr 2002 19:50:29 +0000 (19:50 +0000)]
PR libstdc++/6501
* include/c_std/std_cctype.h: Include bits/c++config.h.
* config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52970 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config.gcc (hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-rtems*,
danglin [Tue, 30 Apr 2002 19:47:38 +0000 (19:47 +0000)]
* config.gcc (hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-rtems*,
hppa1.0-*-osf*, hppa1.1-*-bsd*, hppa1.1-*-hpux10*, hppa2*-*-hpux10*,
hppa1.0-*-hpux10*, hppa*64*-*-hpux11*, hppa1.1-*-hpux11*,
hppa2*-*-hpux11*, hppa1.0-*-hpux11*, hppa*-*-lites*): Define xmake_file.
* pa/t-linux, pa/t-pa, pa/t-pa64, t-pro (T_ADAFLAGS): Delete.
* pa/x-ada: New file.  Define ADA_CFLAGS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52969 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/mmix/mmix.h (MMIX_LAST_STACK_REGISTER_REGNUM): Renamed
hp [Tue, 30 Apr 2002 19:18:49 +0000 (19:18 +0000)]
* config/mmix/mmix.h (MMIX_LAST_STACK_REGISTER_REGNUM): Renamed
from MMIX_LAST_REGISTER_FILE_REGNUM.
(NO_IMPLICIT_EXTERN_C): Remove cryptic obsolete comment.
(struct machine_function): New member highest_saved_stack_register
previously static variable in mmix.c.
(MACHINE_DEPENDENT_REORG): Define.
* config/mmix/mmix.c (highest_saved_stack_register): Deleted.
(MMIX_OUTPUT_REGNO): New.
(mmix_target_asm_function_prologue): Move calculation of last used
saved-stack-register into...
(mmix_machine_dependent_reorg): New function.  Update to also handle
!TARGET_ABI_GNU.
(mmix_print_operand): Apply MMIX_OUTPUT_REGNO when emitting
register names, simplify somewhat by new variable regno.
<case 'p'>: Remove fixed FIXME.  Always emit highest used saved
register.
(mmix_print_operand_address): Apply MMIX_OUTPUT_REGNO when
emitting register names.
(mmix_asm_output_reg_push, mmix_asm_output_reg_pop): Ditto.
(mmix_dbx_register_number): Apply MMIX_OUTPUT_REGNO here too.
Remove fixed FIXME.
* config/mmix/mmix-protos.h (mmix_machine_dependent_reorg):
Declare.

* config/mmix/mmix.md ("divmoddi4"): Update head comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52966 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * config/sparc/sparc.c (emit_soft_tfmode_libcall,
rth [Tue, 30 Apr 2002 19:17:07 +0000 (19:17 +0000)]
    * config/sparc/sparc.c (emit_soft_tfmode_libcall,
        emit_soft_tfmode_binop, emit_soft_tfmode_unop, emit_soft_tfmode_cvt,
        emit_hard_tfmode_operation, emit_tfmode_binop, emit_tfmode_unop,
        emit_tfmode_cvt): New.
        * config/sparc/sparc.md (extendsftf2, extenddftf2, trunctfsf2,
        trunctfdf2, floatsitf2, floatunssitf2, floatditf2, floatunsditf2,
        fix_trunctfsi2, fixuns_trunctfsi2, fix_trunctfdi2, fixuns_trunctfdi2,
        addtf3, subtf3, multf3, divtf3, sqrttf2): Use them.
        * config/sparc/sparc-protos.h: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52965 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 30 Apr 2002 19:04:43 +0000 (19:04 +0000)]
2002-04-30  Benjamin Kosnik  <bkoz@redhat.com>

* include/ext/stdio_filebuf.h: New file.
* include/ext/enc_filebuf.h: New file.
* config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
* config/io/basic_file_stdio.cc: Same.
* include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
Remove _M_unbuf hacks.
(filebuf::_M_destroy_internal_buffer): Same.
(filebuf::filebuf(cfile, openmode, int_type): Remove definition.
(filebuf::fd): Remove.
* include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
(filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
(filebuf::fd): Remove.
* src/ios.cc (ios_base::_S_ios_create): Change to use specialized
filebufs.
(ios_base::_S_ios_destroy): Same.
* src/misc-inst.cc (file_filebuf<char>): Add instantiation.
* include/Makefile.am (ext_headers): Add ext_filebuf.h,
stdio_filebuf.h.  * include/Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52961 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * install.texi (Final install): Add to the list of info to include
janis [Tue, 30 Apr 2002 18:04:42 +0000 (18:04 +0000)]
* install.texi (Final install): Add to the list of info to include
in a report of a successful bootstrap, and add link to 3.1 list.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52956 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * decl.c (grokdeclarator): Don't override TYPE_NAME of an
jason [Tue, 30 Apr 2002 17:50:12 +0000 (17:50 +0000)]
    * decl.c (grokdeclarator): Don't override TYPE_NAME of an
        anonymous class with a typedef if there are attributes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52955 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * decl.c (grokdeclarator): Don't override TYPE_NAME of an
jason [Tue, 30 Apr 2002 17:49:10 +0000 (17:49 +0000)]
    * decl.c (grokdeclarator): Don't override TYPE_NAME of an
        anonymous class with a typedef if there are attributes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52954 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * i386.md (type): Add new SSE/MMX subtypes, remove usused fop1.
hubicka [Tue, 30 Apr 2002 17:20:44 +0000 (17:20 +0000)]
* i386.md (type): Add new SSE/MMX subtypes, remove usused fop1.
(mode): Add vector modes
(i387): Kill attribute.
(unit): New attribute.
(length_immediate): Grok new types.
(prefix_data16, prefix_rep, prefix_0f): Fix for SSE/MMX.
(modrm): Use "unit".
(memory): Handle MMX/SSE properly.
(scheduling descriptions): Kill uses of fop1.
(sse, mmx, fp patterns): Set type and mode properly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52953 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR c++/6492
mmitchel [Tue, 30 Apr 2002 17:00:59 +0000 (17:00 +0000)]
PR c++/6492
* pt.c (tsubst_friend_class): If the friend has an explicit scope,
enter that scope before name lookup.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52951 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * pa.c (override_options): Default to PA8000 scheduling.
law [Tue, 30 Apr 2002 16:47:43 +0000 (16:47 +0000)]
    * pa.c (override_options): Default to PA8000 scheduling.
        * doc/invoke.texi (HP-PA options): Mention newly added 7300
        scheduling parameter.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52950 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * parse.y (nomods_initdcl0): Replace $<ttype>3 with $<ttype>$.
jason [Tue, 30 Apr 2002 16:11:44 +0000 (16:11 +0000)]
    * parse.y (nomods_initdcl0): Replace $<ttype>3 with $<ttype>$.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52948 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * pa.md (7100lc, 7200, 7300 scheduling): Slightly refine
law [Tue, 30 Apr 2002 15:32:10 +0000 (15:32 +0000)]
    * pa.md (7100lc, 7200, 7300 scheduling): Slightly refine
        handling of double precision multiplies.

        * pa.md (7100lc, 7200, 7300 scheduling): Refine handling of
        fpdiv and fpsqrt instructions.
        (7200 & 7300 scheduling): Fix typo in handling of
        store-load and store-store penalties.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52946 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoFix typo in a Changelog entry title.
vmakarov [Tue, 30 Apr 2002 14:31:31 +0000 (14:31 +0000)]
Fix typo in a Changelog entry title.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52945 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * doc/contrib.texi (Contributors): Use MIPS instead of Mips and
gerald [Tue, 30 Apr 2002 13:32:03 +0000 (13:32 +0000)]
* doc/contrib.texi (Contributors): Use MIPS instead of Mips and
mips.  Add two missing commas.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52944 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2002-04-30 Paolo Carlini <pcarlini@unitus.it>
paolo [Tue, 30 Apr 2002 10:53:33 +0000 (10:53 +0000)]
2002-04-30  Paolo Carlini  <pcarlini@unitus.it>

* doc/contrib.texi (Contributors): Update Paolo Carlini's
and Benjamin Kosnik's entries.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52941 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * parse.y (nomods_initdcl0): Do not move stack entries
nathan [Tue, 30 Apr 2002 09:34:49 +0000 (09:34 +0000)]
* parse.y (nomods_initdcl0): Do not move stack entries
when setting things up as initdcl0_innards expects.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52939 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 30 Apr 2002 09:15:48 +0000 (09:15 +0000)]
2002-04-30  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/6511
* config/os/solaris/solaris2.7/bits/ctype_noninline.h: Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52937 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agocorrect PR number
bkoz [Tue, 30 Apr 2002 07:28:20 +0000 (07:28 +0000)]
correct PR number

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52934 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2002-04-29 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 30 Apr 2002 07:22:11 +0000 (07:22 +0000)]
2002-04-29  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/5280
* include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
Check for eof.
* include/bits/streambuf_iterator.h: Match stream_iterator.h.
(istreambuf_iterator::operator++): Invalidate on eof.
(istreambuf_iterator::operator++(int)): Same.
(istreambuf_iterator::operator*): Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52933 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoDaily bump.
gccadmin [Tue, 30 Apr 2002 07:17:34 +0000 (07:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52932 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2002-04-29 David S. Miller <davem@redhat.com>
davem [Tue, 30 Apr 2002 04:49:45 +0000 (04:49 +0000)]
2002-04-29  David S. Miller  <davem@redhat.com>

* config/sparc/sparc.h (BRANCH_COST, PREFETCH_BLOCK,
SIMULTANEOUS_PREFETCHES): Tune for UltraSPARC-III.
* config/sparc/sparc.md (call + jmp 32-bit peepholes): Likewise.
* config/sparc/sparc.c (sparc_initialize_trampoline): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52928 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago* config/mh-cxux: remove dead code
dj [Tue, 30 Apr 2002 03:30:22 +0000 (03:30 +0000)]
* config/mh-cxux: remove dead code
* config/mh-dgux386: remove dead code
* config/mh-hp300: remove dead code
* config/mh-hpux: remove dead code
* config/mh-hpux8: remove dead code
* config/mh-irix5: remove dead code
* config/mh-irix6: remove dead code
* config/mh-ncr3000: remove dead code
* config/mh-ncrsvr43: remove dead code
* config/mh-necv4: remove dead code
* config/mh-sco: remove dead code
* config/mh-solaris: remove dead code
* config/mh-sysv: remove dead code
* config/mh-sysv4: remove dead code
* config/mh-sysv5: remove dead code
* config/mh-irix4: remove, contains only dead code
* configure.in: delete reference to absent file

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52926 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago* configure.in: replace '[' with 'test'
dj [Tue, 30 Apr 2002 03:16:53 +0000 (03:16 +0000)]
* configure.in: replace '[' with 'test'

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52925 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago* configure.in: Eliminate references to gash.
dj [Tue, 30 Apr 2002 02:42:51 +0000 (02:42 +0000)]
* configure.in: Eliminate references to gash.
* Makefile.in: Eliminate references to gash.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52924 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago* configure.in: Remove useless references to 'pic' makefile fragments.
dj [Tue, 30 Apr 2002 02:35:12 +0000 (02:35 +0000)]
* configure.in: Remove useless references to 'pic' makefile fragments.
* config/mt-armpic: Delete.
* config/mt-elfalphapic: Delete.
* config/mt-i370pic: Delete.
* config/mt-ia64pic: Delete.
* config/mt-m68kpic: Delete.
* config/mt-papic: Delete.
* config/mt-ppcpic: Delete.
* config/mt-s390pic: Delete.
* config/mt-sparcpic: Delete.
* config/mt-x86pic: Delete.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52923 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago* configure.in: Remove useless references to 'pic' makefile fragments.
dj [Tue, 30 Apr 2002 02:28:23 +0000 (02:28 +0000)]
* configure.in: Remove useless references to 'pic' makefile fragments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52922 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago* configure.in: (*-*-windows*) Finish removing.
dj [Tue, 30 Apr 2002 02:19:45 +0000 (02:19 +0000)]
* configure.in: (*-*-windows*) Finish removing.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52921 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago* configure.in: Eliminate redundant test for libgui.
dj [Tue, 30 Apr 2002 02:14:35 +0000 (02:14 +0000)]
* configure.in: Eliminate redundant test for libgui.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52920 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
ro [Tue, 30 Apr 2002 01:45:34 +0000 (01:45 +0000)]
* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
LD_LIBRARY64_PATH.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52919 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago 2002-04-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Tue, 30 Apr 2002 00:38:23 +0000 (00:38 +0000)]
2002-04-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* combine.c (find_split_point): Use gen_int_mode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52916 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2002-04-29 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Mon, 29 Apr 2002 22:34:36 +0000 (22:34 +0000)]
2002-04-29  Vladimir Makarov  <vmakarov@redhat.com>

Merging code from dfa-branch:

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52915 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * reload1.c (eliminate_regs, case SUBREG): Fix typo in
kenner [Mon, 29 Apr 2002 21:23:57 +0000 (21:23 +0000)]
* reload1.c (eliminate_regs, case SUBREG): Fix typo in
adjust_address_nv call.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52914 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * doc/install.texi (Testing): Provide additional information, and
janis [Mon, 29 Apr 2002 20:27:28 +0000 (20:27 +0000)]
* doc/install.texi (Testing): Provide additional information, and
a stronger encouragement, for running the testsuites.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52910 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * MAINTAINERS: Add self and realphabetize. Update entries
sayle [Mon, 29 Apr 2002 20:16:10 +0000 (20:16 +0000)]
* MAINTAINERS: Add self and realphabetize.  Update entries
for Dan Berlin, Chris Demetriou and Michael Matz.  Remove
entry for a29k port maintainer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52908 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago* config/mips/mips.c (mips_parse_cpu): Warn if the CPU name is
dj [Mon, 29 Apr 2002 19:57:21 +0000 (19:57 +0000)]
* config/mips/mips.c (mips_parse_cpu): Warn if the CPU name is
given in upper case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52907 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * fixinc/inclhack.def (solaris_widec): Include <wchar.h> in
ro [Mon, 29 Apr 2002 19:42:41 +0000 (19:42 +0000)]
* fixinc/inclhack.def (solaris_widec): Include <wchar.h> in
Solaris 2 <widec.h> if missing.
* fixinc/fixincl.x: Regenerate.
* fixinc/tests/base/widec.h: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52906 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * toplev.c (f_options): Add "profile" switch so that
nickc [Mon, 29 Apr 2002 19:07:13 +0000 (19:07 +0000)]
* toplev.c (f_options): Add "profile" switch so that
    -fno-profile can be used to disable -p.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52904 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoInitial P4 SSE2 builtin support
bernds [Mon, 29 Apr 2002 18:40:47 +0000 (18:40 +0000)]
Initial P4 SSE2 builtin support

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52903 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR c++/6477
jakub [Mon, 29 Apr 2002 15:11:36 +0000 (15:11 +0000)]
PR c++/6477
* decl.c (follow_tag_typedef): Check if TYPE_NAME (original) is
non-NULL first.

* g++.dg/parse/typedef1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52900 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * i386.md (sse_mov?fcc*): Revert patch of Mar 14th.
hubicka [Mon, 29 Apr 2002 15:09:58 +0000 (15:09 +0000)]
* i386.md (sse_mov?fcc*): Revert patch of Mar 14th.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52899 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR c++/6492
mmitchel [Mon, 29 Apr 2002 14:56:24 +0000 (14:56 +0000)]
PR c++/6492
* pt.c (tsubst_friend_class): If the friend has an explicit scope,
enter that scope before name lookup.

PR c++/6486
* method.c (do_build_copy_constructor): Avoid building
cv-qualified reference types.

PR c++/6486
* g++.dg/template/friend6.C: New test.

PR c++/6492
* g++.dg/init/copy1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52895 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * doc/contrib.texi (Contributors): Add Paolo Carlini and
gerald [Mon, 29 Apr 2002 13:13:08 +0000 (13:13 +0000)]
* doc/contrib.texi (Contributors): Add Paolo Carlini and
Janis Johnson.
Update Richard Henderson, Jakub Jelinek, and Mark Mitchell.
Refer to Objective-C instead of ObjC, SPARC instead of sparc,
and CPU instead of cpu.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52893 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * toplev.c (flag_if_conversion, flag_if_conversion2): New static
hubicka [Mon, 29 Apr 2002 11:39:31 +0000 (11:39 +0000)]
* toplev.c (flag_if_conversion, flag_if_conversion2): New static
variables.
(lang_independent_options): Add -fif-conversion, -fif-conversion2
(rest_of_compilation): Do if conversion only when asked for.
(parse_options_and_default_flags): Set new variables to 1 for -O1
* invoke.texi (-fif-conversion, -fif-conversion2): Document.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52891 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * i386.c (dbx64_register_map): Fix typo.
hubicka [Mon, 29 Apr 2002 11:04:18 +0000 (11:04 +0000)]
* i386.c (dbx64_register_map): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52890 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * predict.c (real_zero, real_one, real_almost_one, real_br_prob_base,
hubicka [Mon, 29 Apr 2002 10:19:56 +0000 (10:19 +0000)]
* predict.c (real_zero, real_one, real_almost_one, real_br_prob_base,
real_one_half, real_bb_freq_max): New static variables.
(debug_profile_bbauxs): Kill.
(process_note_predictions): Kill unused variable.
(block_info_def, edge_info_def): Use REAL_VALUE_TYPE instead of
volatile double.
(propagate_freq): Use REAL_ARITHMETICS.
(estimate_bb_frequencies): Likevise; init new static variables.
* Makefile.in (predict.o): Add dependency on real.h

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52889 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agocp:
nathan [Mon, 29 Apr 2002 08:47:31 +0000 (08:47 +0000)]
cp:
PR c++/5719
* decl.c (grok_op_properties): Assignment ops don't have to return
by value. operator% should.
testsuite:
* g++.dg/warn/effc1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52888 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * invoke.texi: Use @gol at ends of lines inside @gccoptlist.
jsm28 [Mon, 29 Apr 2002 07:57:20 +0000 (07:57 +0000)]
* invoke.texi: Use @gol at ends of lines inside @gccoptlist.
* g77.texi: Update last update date.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52885 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoDaily bump.
gccadmin [Mon, 29 Apr 2002 07:17:01 +0000 (07:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52883 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2002-04-28 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 29 Apr 2002 07:00:50 +0000 (07:00 +0000)]
2002-04-28  Benjamin Kosnik  <bkoz@redhat.com>

        PR libstdc++/5280
        * config/io/basic_file_stdio.h (__basic_file::sys_getc): Return int.
        (__basic_file::sys_ungetc): Take int.
        * config/io/basic_file_stdio.cc (__basic_file::sys_ungetc): Same.
        * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
        Use sys_getc for unbuffered input.
        * testsuite/27_io/narrow_stream_objects.cc (test06): New.

        * src/ios.cc (_M_grow_words): Adjust error checking.
        * testsuite/27_io/ios_base_storage.cc: Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52879 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2002-04-28 David S. Miller <davem@redhat.com>
davem [Mon, 29 Apr 2002 05:48:05 +0000 (05:48 +0000)]
2002-04-28  David S. Miller  <davem@redhat.com>

* configure.in, configure: Fix SPARC test in previous change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52878 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2002-04-28 David S. Miller <davem@redhat.com>
davem [Mon, 29 Apr 2002 05:33:00 +0000 (05:33 +0000)]
2002-04-28  David S. Miller  <davem@redhat.com>

PR target/6500
* config/sparc/sparc.md (prefetch): Emit properly for 32-bit vs.
64-bit TARGET_V9.  Do not use prefetch page, use prefetch for
several {reads,writes} instead.
* config/sparc/sparc.h (PREFETCH_BLOCK, SIMULTANEOUS_PREFETCHES):
Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52876 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
bryce [Mon, 29 Apr 2002 04:15:57 +0000 (04:15 +0000)]
2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>

* java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52874 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
bryce [Mon, 29 Apr 2002 04:14:44 +0000 (04:14 +0000)]
2002-04-29  Gerhard Tonn  <GerhardTonn@swol.de>

* Makefile.am: Add Linux for S/390 support.
* Makefile.in: Regenerate.
* configure.in: Add Linux for S/390 support.
* configure: Regenerate.
* include/ffi.h.in: Add Linux for S/390 support.
* src/s390/ffi.c: New file from libffi CVS tree.
* src/s390/sysv.S: New file from libffi CVS tree.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52873 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2002-04-27 David S. Miller <davem@redhat.com>
davem [Mon, 29 Apr 2002 04:12:02 +0000 (04:12 +0000)]
2002-04-27  David S. Miller  <davem@redhat.com>

PR target/6494
* config/sparc/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Be mindful
of the stack bias.

* config/sparc/linux.h, config/sparc/linux64.h: Don't bother
including signal.h and sys/ucontext.h, not needed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52872 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * varasm.c (output_constant_def): Correct test for not calling
hp [Mon, 29 Apr 2002 03:57:30 +0000 (03:57 +0000)]
* varasm.c (output_constant_def): Correct test for not calling
ENCODE_SECTION_INFO for INTEGER_CST.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52870 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2002-04-29 Adam King <aking@dreammechanics.com>
bryce [Mon, 29 Apr 2002 03:54:50 +0000 (03:54 +0000)]
2002-04-29  Adam King <aking@dreammechanics.com>

* java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
of file in APPEND mode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52869 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * cppexp.c (lex): Move some code to _cpp_parse_expr, but
neil [Sun, 28 Apr 2002 23:14:56 +0000 (23:14 +0000)]
* cppexp.c (lex): Move some code to _cpp_parse_expr, but
keep most cases as function eval_token.
(eval_token): New function.
(_cpp_parse_expr): Read token here for improved diagnostics.
Don't use op_as_text.  Detect bad ':' here.
(reduce): Don't detect bad ':' here.
(op_as_text): Remove.
* cpphash.h (_cpp_test_assertion): Change prototype.
* cpplib.c (_cpp_test_assertion): Change prototype.
testsuite:
* gcc.dg/cpp/if-cexp.c: Add a test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52866 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * ggc-common.c (ggc_mark_rtx_children_1): Rename from...
rth [Sun, 28 Apr 2002 20:40:39 +0000 (20:40 +0000)]
    * ggc-common.c (ggc_mark_rtx_children_1): Rename from...
        (ggc_mark_rtx_children): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52864 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR target/6496
jakub [Sun, 28 Apr 2002 20:37:05 +0000 (20:37 +0000)]
PR target/6496
* config/sparc/sparc.md (call + jump 32-bit peepholes): Disable jump
after call peepholes for UltraSPARC.
(call + jump 64-bit peepholes): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52863 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago 2002-04-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Sun, 28 Apr 2002 20:26:57 +0000 (20:26 +0000)]
2002-04-28  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

PR c/6497
* config/rs6000/rs6000.md (sCC patterns): Remove clobber and use
result as temporary value.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52860 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * configure.in (HAVE_AS_SPARC_UA_PCREL): Check for working
jakub [Sun, 28 Apr 2002 19:57:42 +0000 (19:57 +0000)]
* configure.in (HAVE_AS_SPARC_UA_PCREL): Check for working
%r_disp32().
* src/sparc/v8.S: Use it.
* src/sparc/v9.S: Likewise.
* fficonfig.h.in: Rebuilt.
* configure: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52858 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR c++/6396
jakub [Sun, 28 Apr 2002 19:52:33 +0000 (19:52 +0000)]
PR c++/6396
* toplev.c (rest_of_compilation): Only run regrename and copy
propagation if optimizing.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52857 138bc75d-0d04-0410-961f-82ee72b054a4

18 years agoArgh, lost closing brace.
jakub [Sun, 28 Apr 2002 19:48:10 +0000 (19:48 +0000)]
Argh, lost closing brace.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52856 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago PR optimization/6475
jakub [Sun, 28 Apr 2002 19:47:12 +0000 (19:47 +0000)]
PR optimization/6475
* reload1.c (alter_reg): Only call set_mem_expr if I is home pseudo
register of REGNO_DECL (i).
* Makefile.in (reload1.o): Add $(TREE_H).

* gcc.dg/20020426-2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52855 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * cppexp.c (lex): Update to use state.skip_eval.
neil [Sun, 28 Apr 2002 19:42:54 +0000 (19:42 +0000)]
* cppexp.c (lex): Update to use state.skip_eval.
(struct op): Remove prio and flags members.
(FLAG_BITS, FLAG_MASK, PRIO_SHIFT, EXTRACT_PRIO, EXTRACT_FLAGS,
SHORT_CIRCUIT, RIGHT_ASSOC, ..._PRIO, op_to_prio): Remove.
(LEFT_ASSOC): New macro.
(optab): New table of operator priorities and flags.
(SHIFT): Update.
(_cpp_parse_expr): Clean up logic.  Return bool.  Use a
malloc-ed parser stack.
(reduce): New; reduce the operator stack.
(_cpp_expand_op_stack): Expand the operator stack as necessary.
* cpphash.h (struct op): Predeclare.
(struct cpp_reader): New members op_stack, op_limit.
(struct lexer_state): New member skip_eval.
(_cpp_parse_expr): Update.
(_cpp_expand_op_stack): New.
* cpplib.c (do_if): Update.
* cppinit.c (cpp_create_reader): Create op stack.
(cpp_destroy): And destroy it.
* cpplib.h (CPP_LAST_CPP_OP): Correct.
(TTYPE_TABLE): Correct.
testsuite:
* gcc.dg/cpp/if-mop.c: Update.
* gcc.dg/cpp/if-mpar.c: Add test.
* gcc.dg/cpp/if-oppr.c: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52853 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago * .cvsignore: Remove files that are present in CVS.
mmitchel [Sun, 28 Apr 2002 18:41:51 +0000 (18:41 +0000)]
* .cvsignore: Remove files that are present in CVS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52845 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago 2002-04-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Sun, 28 Apr 2002 18:31:34 +0000 (18:31 +0000)]
2002-04-28  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

PR c/6343
* c-decl.c (duplicate_decls): Call merge_weak.
* c-pragma.c (apply_pragma_weak): Warn about misuse.
* output.h (merge_weak): Prototype merge_weak.
* varasm.c (merge_weak): New function.
(declare_weak): Make sure we don't give an error on VAR_DECLs.
Mark RTL with SYMBOL_REF_WEAK.

cp:
* decl.c (duplicate_decls): Call merge_weak.

testsuite:
* gcc.dg/weak-[2-7].c: New tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52844 138bc75d-0d04-0410-961f-82ee72b054a4

18 years ago2002-04-28 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
paolo [Sun, 28 Apr 2002 16:21:32 +0000 (16:21 +0000)]
2002-04-28  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

* include/ext/stl_hashtable.h: Import __iterator_category

2002-04-28  Paolo Carlini  <pcarlini@unitus.it>
            Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

* testsuite/ext/hash_set.cc: New testfile.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52843 138bc75d-0d04-0410-961f-82ee72b054a4