OSDN Git Service

pf3gnuchains/gcc-fork.git
21 years ago * target-def.h (TARGET_MACHINE_DEPENDENT_REORG): Define.
rsandifo [Wed, 14 May 2003 07:29:54 +0000 (07:29 +0000)]
* target-def.h (TARGET_MACHINE_DEPENDENT_REORG): Define.
(TARGET_INITIALIZER): Include it.
* target.h (struct gcc_target): Add machine_dependent_reorg field.
* toplev.c (rest_of_compilation): Use targetm.machine_dependent_reorg.

* config/alpha/alpha-protos.h (alpha_reorg): Remove declaration.
* config/alpha/alpha.h (MACHINE_DEPENDENT_REORG): Remove.
* config/alpha/alpha.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
(alpha_handle_trap_shadows): Remove "first insn" parameter.
(alpha_align_insns): Likewise.
(alpha_reorg): Likewise.  Make static.  Update calls to above
functions.

* config/arm/arm-protos.h (arm_reorg): Remove declaration.
* config/arm/arm.h (MACHINE_DEPENDENT_REORG): Remove.
* config/arm/arm.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
(arm_reorg): Remove parameter.  Make static.

* config/avr/avr-protos.h (machine_dependent_reorg): Remove.
* config/avr/avr.h (MACHINE_DEPENDENT_REORG): Remove.
* config/avr/avr.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
(avr_reorg): Renamed from machine_dependent_reorg.  Make static.
Remove parameter.

* config/c4x/c4x-protos.h (c4x_process_after_reload): Remove.
* config/c4x/c4x.h (MACHINE_DEPENDENT_REORG): Remove.
* config/c4x/c4x.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
(c4x_reorg): Renamed from c4x_process_after_reload.  Make static.
Remove parameter.

* config/d30v/d30v-protos.h (d30v_machine_dependent_reorg): Remove.
* config/d30v/d30v.h (MACHINE_DEPENDENT_REORG): Remove.
* config/d30v/d30v.c (d30v_machine_dependent_reorg): Remove.

* config/frv/frv-protos.h (frv_machine_dependent_reorg): Remove.
* config/frv/frv.c: Remove orphaned comment.

* config/i386/i386-protos.h (x86_machine_dependent_reorg): Remove.
* config/i386/i386.h (MACHINE_DEPENDENT_REORG): Remove.
* config/i386/i386.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
(ix86_reorg): Renamed from x86_machine_dependent_reorg.  Make static.
Remove parameter.

* config/ia64/ia64-protos.h (ia64_reorg): Remove declaration.
* config/ia64/ia64.h (MACHINE_DEPENDENT_REORG): Remove.
* config/ia64/ia64.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
(emit_insn_group_barriers): Remove "first insn" parameter.
(emit_all_insn_group_barriers): Likewise.
(ia64_reorg): Likewise.  Make static.  Update calls to above functions.
(ia64_output_mi_thunk): Update call to emit_all_insn_group_barriers.

* config/ip2k/ip2k-protos.h (machine_dependent_reorg): Remove.
* config/ip2k/ip2k.h (MACHINE_DEPENDENT_REORG): Remove.
* config/ip2k/ip2k.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
(ip2k_reorg): Renamed from machine_dependent_reorg.  Make static.
Remove parameter.

* config/m68hc11/m68hc11-protos.h (m68hc11_reorg): Remove declaration.
* config/m68hc11/m68hc11.h (MACHINE_DEPENDENT_REORG): Remove.
* config/m68hc11/m68hc11.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
(m68hc11_reorg): Make static.  Remove parameter.

* config/mcore/mcore-protos.h (mcore_dependent_reorg): Remove.
* config/mcore/mcore.h (MACHINE_DEPENDENT_REORG): Remove.
* config/mcore/mcore.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
(conditionalize_optimization): Remove parameter.
(mcore_reorg): Renamed from mcore_dependent_reorg.  Remove parameter.
Make static.  Update call to conditionalize_optimization.

* config/mips/mips-protos.h (machine_dependent_reorg): Remove.
* config/mips/mips.h (MACHINE_DEPENDENT_REORG): Remove.
* config/mips/mips.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
(mips_reorg): Renamed from machine_dependent_reorg.  Remove parameter.
Make static.

* config/mmix/mmix-protos.h (mmix_machine_dependent_reorg): Remove.
* config/mmix/mmix.h (MACHINE_DEPENDENT_REORG): Remove.
* config/mmix/mmix.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
(mmix_reorg): Renamed from mmix_machine_dependent_reorg.  Make static.
Remove parameter.

* config/pa/pa-protos.h (pa_reorg): Remove declaration.
* config/pa/pa.h (MACHINE_DEPENDENT_REORG): Remove.
* config/pa/pa.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
(pa_combine_instructions): Remove "first insn" parameter.
(remove_useless_addtr_insns): Likewise.
(pa_reorg): Likewise.  Make static.  Update calls to above functions.

* config/rs6000/rs6000.h (MACHINE_DEPENDENT_REORG): Remove
commented-out definition.

* config/s390/s390-protos.h (s390_machine_dependent_reorg): Remove.
* config/s390/s390.h (MACHINE_DEPENDENT_REORG): Remove.
* config/s390/s390.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
(s390_reorg): Renamed from s390_machine_dependent_reorg.  Make static.
Remove parameter.

* config/sh/sh-protos.h (machine_dependent_reorg): Remove.
* config/sh/sh.h (MACHINE_DEPENDENT_REORG): Remove.
* config/sh/sh.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
(sh_reorg): Renamed from machine_dependent_reorg.  Make static.
Remove parameter.
(sh_output_mi_thunk): Call sh_reorg directly.
* config/sh/sh.md: Update comment.

* config/stormy16/stormy16.h (MACHINE_DEPENDENT_REORG): Remove
commented-out definition.

* config/v850/v850-protos.h (v850_reorg): Remove declaration.
* config/v850/v850.h (MACHINE_DEPENDENT_REORG): Remove.
* config/v850/v850.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
(v850_reorg): Make static.  Remove parameter.

* config/xtensa/xtensa-protos.h (xtensa_reorg): Remove declaration.
* config/xtensa/xtensa.h (MACHINE_DEPENDENT_REORG): Remove.
* config/xtensa/xtensa.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
(xtensa_reorg): Make static.  Remove parameter.

* doc/tm.texi (MACHINE_DEPENDENT_REORG): Remove.
(TARGET_MACHINE_DEPENDENT_REORG): Document.

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

21 years ago2003-05-14 Michael Koch <konqueror@gmx.de>
mkoch [Wed, 14 May 2003 06:37:59 +0000 (06:37 +0000)]
2003-05-14  Michael Koch  <konqueror@gmx.de>

* gnu/java/nio/FileLockImpl.java
(released): New member variable.
(FileLockImpl): Initialize released.
(releaseImpl): New native method.
(release): Implemented.
* gnu/java/nio/SelectorImpl.java: Reformatted.
* gnu/java/nio/SelectionKeyImpl.java: Reformatted.
* gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
(accept): Throws IOException.
* gnu/java/nio/SocketChannelImpl.java: Reformatted.
(implConfigureBlocking): Throws IOException.
(connect): Likewise.
(read): Likewise.
(write): Likewise.
* gnu/java/nio/natFileLockImpl.cc: New file.
* java/nio/channels/FileLock.java: Reformatted.
* Makefile.am:
(ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
(nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
* Makefile.in: Regenerated.

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

21 years ago * c-decl.c (duplicate_decls): Re-invoke make_decl_rtl if
rth [Wed, 14 May 2003 05:40:12 +0000 (05:40 +0000)]
    * c-decl.c (duplicate_decls): Re-invoke make_decl_rtl if
        the old decl had instantiated DECL_RTL.

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

21 years ago2003-05-13 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 14 May 2003 04:30:40 +0000 (04:30 +0000)]
2003-05-13  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/27_io/ios_base/cons/copy_neg.cc: Remove
excess errors dg marker, use dg-errors instead.
* testsuite/27_io/ios_base/cons/assign_neg.cc: Same.
* testsuite/20_util/auto_ptr_neg.cc: Same.

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

21 years ago * doc/invoke.texi (Option Summary): Kill off documentation for -$.
mrs [Wed, 14 May 2003 02:22:12 +0000 (02:22 +0000)]
* doc/invoke.texi (Option Summary): Kill off documentation for -$.

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

21 years agoDaily bump.
gccadmin [Wed, 14 May 2003 00:16:09 +0000 (00:16 +0000)]
Daily bump.

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

21 years agoDaily bump.
gccadmin [Wed, 14 May 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

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

21 years ago2003-05-13 Janis Johnson <janis187@us.ibm.com>
janis [Wed, 14 May 2003 00:00:46 +0000 (00:00 +0000)]
2003-05-13  Janis Johnson  <janis187@us.ibm.com>

* config/rs6000/sysv4.h (OUTPUT_ASM_ALIGNED_LOCAL): Expect
HOST_WIDE_INT argument.

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

21 years ago2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 13 May 2003 20:13:15 +0000 (20:13 +0000)]
2003-05-12  Benjamin Kosnik  <bkoz@redhat.com>

* include/std/std_fstream.h (basic_filebuf::_M_codecvt): Add
cached member.
* include/bits/fstream.tcc (basic_filebuf::basic_filebuf):
Initialize _M_codecvt.
(basic_filebuf::imbue): Same.
(basic_filebuf::showmanyc): Use it.
(basic_filebuf::underflow): Use it.
(basic_filebuf::_M_convert_to_external): Use it.
(basic_filebuf::seekoff): Use it.
(basic_filebuf::imbue): Use it, tweaks.
* include/bits/localefwd.h (__check_facet): New.
* include/bits/locale_classes.h: Tweaks.
* include/bits/locale_facets.tcc: Tweaks.
* include/bits/basic_ios.h (basic_ios::_M_check_facet): Remove.
_M_fctype to _M_ctype, _M_fnumput to _M_num_put, _M_fnumget to
_M_num_get. Change _M_check_facet to __check_facet. Tweaks.
* include/bits/basic_ios.tcc: Same.
* include/bits/istream.tcc: Same.
* include/bits/ostream.tcc: Same.
* include/std/std_streambuf.h: Same.
* testsuite/27_io/basic_filebuf/imbue/char/2.cc: New.
* testsuite/27_io/basic_filebuf/imbue/char/3.cc: New.
* testsuite/27_io/basic_filebuf/imbue/wchar_t/1.cc: New.
* testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: New.
* testsuite/27_io/basic_filebuf/imbue/wchar_t/3.cc: New.
* testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: New.

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

21 years ago2003-05-13 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 13 May 2003 20:11:02 +0000 (20:11 +0000)]
2003-05-13  Michael Koch  <konqueror@gmx.de>

* gnu/java/nio/CharViewBufferImpl.java
(CharViewBufferImpl): Fixed super constructor call, initialize offset.
(get): Shift bits to the right direction.
(put): Likewise.
* gnu/java/nio/DoubleViewBufferImpl.java
(DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
(get): Shift bits to the right direction.
(put): Likewise.
* gnu/java/nio/FloatViewBufferImpl.java
(FloatViewBufferImpl): Fixed super constructor call, initialize offset.
(get): Shift bits to the right direction.
(put): Likewise.
* gnu/java/nio/IntViewBufferImpl.java
(IntViewBufferImpl): Fixed super constructor call, initialize offset.
(get): Shift bits to the right direction.
(put): Likewise.
* gnu/java/nio/LongViewBufferImpl.java
(LongViewBufferImpl): Fixed super constructor call, initialize offset.
(get): Shift bits to the right direction.
(put): Likewise.
* gnu/java/nio/ShortViewBufferImpl.java
(ShortViewBufferImpl): Fixed super constructor call, initialize offset.
(get): Shift bits to the right direction.
(put): Likewise.

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

21 years ago * tree.h (STRIP_MAIN_TYPE_NOPS): New macro.
jason [Tue, 13 May 2003 18:58:56 +0000 (18:58 +0000)]
    * tree.h (STRIP_MAIN_TYPE_NOPS): New macro.

        * tree.c (iterative_hash_expr): New fn.

        * c-semantics.c (emit_local_var): Don't mess with temp slots if
        there's no initializer.

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

21 years ago * final.c (final_scan_insn): Apply the effects of frame-related
rsandifo [Tue, 13 May 2003 18:51:57 +0000 (18:51 +0000)]
* final.c (final_scan_insn): Apply the effects of frame-related
delay slot insns before emitting a delayed branch.

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

21 years ago(jump): Use emit_jump_insn.
nickc [Tue, 13 May 2003 18:41:27 +0000 (18:41 +0000)]
(jump): Use emit_jump_insn.

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

21 years ago * config/s390/s390.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Second
uweigand [Tue, 13 May 2003 18:36:45 +0000 (18:36 +0000)]
* config/s390/s390.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Second
parameter of ASM_OUTPUT_SKIP must have type unsigned HOST_WIDE_INT.

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

21 years ago* expr.c (move_by_pieces): Honor the alignment of TO and FROM.
dj [Tue, 13 May 2003 18:15:20 +0000 (18:15 +0000)]
* expr.c (move_by_pieces): Honor the alignment of TO and FROM.
(emit_push_insn): Don't use push when the source alignment is less
than the stack's push rounding.

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

21 years ago * diagnostic.c (output_format): Add support for %m.
zack [Tue, 13 May 2003 18:06:52 +0000 (18:06 +0000)]
* diagnostic.c (output_format): Add support for %m.
(output_printf, output_verbatim, diagnostic_set_info,
verbatim): Set err_no field of the text_info structure being
initialized.
(fatal_io_error): Delete function.
* diagnostic.h (text_info): Add err_no field.
* toplev.h (fatal_io_error): Delete prototype.

* c-opts.c, c-pch.c, dwarfout.c, ggc-common.c, ggc-page.c, graph.c
* toplev.c, config/mips/mips.c, config/rs6000/host-darwin.c
* f/com.c, java/jcf-parse.c, java/jcf-write.c, java/lex.c
* objc/objc-act.c: Replace all calls to fatal_io_error with
calls to fatal_error; add ": %m" to the end of all the affected
error messages.

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

21 years ago * class.c (layout_class_method): Set DECL_EXTERNAL.
rth [Tue, 13 May 2003 17:41:17 +0000 (17:41 +0000)]
    * class.c (layout_class_method): Set DECL_EXTERNAL.
        * decl.c (java_mark_decl_local, java_mark_class_local): New.
        * java-tree.h (java_mark_class_local): Declare.
        * jcf-parse.c (parse_class_file): Use it.
        * parse.y (java_expand_classes): Likewise.

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

21 years ago * typeck.c (build_modify_expr): Don't always stabilize the lhs and
jason [Tue, 13 May 2003 17:05:35 +0000 (17:05 +0000)]
    * typeck.c (build_modify_expr): Don't always stabilize the lhs and
        rhs.  Do stabilize the lhs of a MODIFY_EXPR used on the lhs.

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

21 years agoupdate comments
jason [Tue, 13 May 2003 16:56:00 +0000 (16:56 +0000)]
update comments

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

21 years ago * gcc.dg/const-elim-1.c: Tighten scan-assembler-not regexp.
zack [Tue, 13 May 2003 16:37:13 +0000 (16:37 +0000)]
* gcc.dg/const-elim-1.c: Tighten scan-assembler-not regexp.

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

21 years ago * varasm.c (notice_rtl_inlining_of_deferred_constant): New function.
zack [Tue, 13 May 2003 16:23:02 +0000 (16:23 +0000)]
* varasm.c (notice_rtl_inlining_of_deferred_constant): New function.
* rtl.h: Prototype it.
* integrate.c (copy_rtx_and_substitute <SYMBOL_REF>): Call it
when appropriate.

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

21 years ago * config/s390/s390.md ("*iordi3_oi"): Do not mark commutative.
uweigand [Tue, 13 May 2003 14:33:16 +0000 (14:33 +0000)]
* config/s390/s390.md ("*iordi3_oi"): Do not mark commutative.
("*iorsi3_oi"): Likewise.

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

21 years ago2003-05-13 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 13 May 2003 12:57:32 +0000 (12:57 +0000)]
2003-05-13  Michael Koch  <konqueror@gmx.de>

* gnu/java/nio/natDirectByteBufferImpl.cc
(allocateImpl): jlong -> RawData*.
(freeImpl): Likewise.

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

21 years ago2003-05-13 Andreas Jaeger <aj@suse.de>
aj [Tue, 13 May 2003 12:08:22 +0000 (12:08 +0000)]
2003-05-13  Andreas Jaeger  <aj@suse.de>

* config.guess: Update to 2003-05-09 version.
* config.sub: Update to 2003-05-09 version.

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

21 years agoRegenerate configure correctly.
aj [Tue, 13 May 2003 11:54:59 +0000 (11:54 +0000)]
Regenerate configure correctly.

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

21 years ago* arm.md (compare_scc): Use shorter sequence for EQ case.
rearnsha [Tue, 13 May 2003 10:32:04 +0000 (10:32 +0000)]
* arm.md (compare_scc): Use shorter sequence for EQ case.
(ior_scc_scc_cmp, and_scc_scc_cmp): New insn-and-split patterns.
(and_scc_scc): Ensure split only applies when there is a dominance
of the comparisons.
(and_scc_scc_nodom): New insn-and-split pattern.

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

21 years ago2003-05-13 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 13 May 2003 10:25:00 +0000 (10:25 +0000)]
2003-05-13  Michael Koch  <konqueror@gmx.de>

* java/nio/channels/FileChannel.java
(MapMode.m): Made it package-private to match JDK 1.4.
* java/nio/charset/Charset.java
(decode): Made it final to match JDK 1.4.

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

21 years ago2003-05-13 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 13 May 2003 09:13:31 +0000 (09:13 +0000)]
2003-05-13  Michael Koch  <konqueror@gmx.de>

       * java/io/FileDescriptor.java
       (SYNC): New constant.
       (DSYNC): Likewise.
       (getLength): Renamed from lenght() to match classpath's
       FileDescriptor.java.
       * java/io/RandomAccessFile.java
       (RandomAccessFile): Removed unneeded mode check, implemented mode
       "rws" and "rwd", merged documentation from classpath.
       (setLength): Reformatted.
       (length): Use new getLength() of FileDescriptor.
       * java/io/natFileDescriptorEcos.cc
       (getLength): Renamed from length().
       * java/io/natFileDescriptorPosix.cc
       (open): Implemented support for SYNC and DSYNC.
       (seek): Use getLength() instead of length().
       (getLength): Renamed from length().
       * java/io/natFileDescriptorWin32.cc
       (getLength): Renamed from length().
       (seek): Use getLength() instead of length().
       (available): Likewise.
       * gnu/java/nio/natFileChannelImpl.cc
       (size): Use getLength() instead of length().

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

21 years ago2003-05-12 Corinna Vinschen <corinna@vinschen.de>
aj [Tue, 13 May 2003 08:58:24 +0000 (08:58 +0000)]
2003-05-12  Corinna Vinschen  <corinna@vinschen.de>

* configure.in (FLAGS_FOR_TARGET): Remove $$s/newlib/libc/sys/cygwin
and $$s/newlib/libc/sys/cygwin32 include paths.
* configure: Ditto.

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

21 years ago * unwind-dw2.c (uw_init_context_1): Don't pass &outer_cfa directly
rsandifo [Tue, 13 May 2003 06:49:46 +0000 (06:49 +0000)]
* unwind-dw2.c (uw_init_context_1): Don't pass &outer_cfa directly
to _Unwind_SetGRPtr().

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

21 years ago2003-05-13 Michael Eager <eager@mvista.com>
aj [Tue, 13 May 2003 06:37:00 +0000 (06:37 +0000)]
2003-05-13  Michael Eager <eager@mvista.com>

* Makefile.in: Initialize program_transform_cross_name from
@program_transform_name@ instead of target_alias.

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

21 years agoFix date in last entry.
aj [Tue, 13 May 2003 06:33:28 +0000 (06:33 +0000)]
Fix date in last entry.

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

21 years ago2003-05-12 Michael Eager <eager@mvista.com>
aj [Tue, 13 May 2003 06:31:02 +0000 (06:31 +0000)]
2003-05-12  Michael Eager <eager@mvista.com>

* configure.in: Correct sed script so that options in quotes are not
deleted.
* configure: Rebuild.

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

21 years ago2003-05-13 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 13 May 2003 06:04:19 +0000 (06:04 +0000)]
2003-05-13  Michael Koch  <konqueror@gmx.de>

* gnu/java/nio/ByteBufferImpl.java
(ByteBufferImpl): All constructors revised.
(slice): Reimplemented.
(duplicate): Reimplemented.
(asReadOnlyBuffer): Reimplemented.
* java/nio/ByteBuffer.java:
Reformatted.
(array_offset): Renamed from "offset" to match all other buffer
classes.
(ByteBuffer): All constructors revised.
(allocateDirect): Implemented.
(allocate): New implementation, documentation reworked.
(wrap): Likewise.
(get): Documentation reworked.
(put): New implementation, documentation reworked.
(hasArray): Documentation reworked.
(arrayOffset): Likewise.
(hashCode): Likewise.
(equals): Likewise.
(compareTo): Likewise.
(order): Likewise.
(compact): Likewise.
(isDirect): Likewise.
(slice): Likewise.
(duplicate): Likewise.
(asReadOnlyBuffer): Likewise.
* Makefile.am
(ordinary_java_source_files):
Added gnu/java/nio/DirectByteBufferImpl.java.
(nat_source_files):
Added gnu/java/nio/natDirectByteBufferImpl.cc.
* Makefile.in: Regenerated.

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

21 years agoDaily bump.
gccadmin [Tue, 13 May 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.

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

21 years ago2003-05-12 Janis Johnson <janis187@us.ibm.com>
janis [Mon, 12 May 2003 22:30:31 +0000 (22:30 +0000)]
2003-05-12  Janis Johnson  <janis187@us.ibm.com>
    Alan Modra  <amodra@bigpond.net.au>
    Jakub Jelinek  <jakub@redhat.com>

* configure.in (HAVE_AS_TLS): Add powerpc and powerpc64 tests.
* configure: Rebuild.
* config/rs6000/rs6000-protos.h: Update.
* config/rs6000/rs6000.c (rs6000_tls_size): New.
(rs6000_tls_size_string): New.
(rs6000_parse_tls_size_option): New.
(rs6000_legitimize_tls_address): New.
(rs6000_tls_get_addr): New.
(rs6000_got_sym): New.
(rs6000_tls_symbol_ref): New.
(rs6000_tls_symbol_ref_1): New.
(rs6000_get_some_local_dynamic_name): New.
(rs6000_get_some_local_dynamic_name_1): New.
(TARGET_HAVE_TLS): New.
(TARGET_CANNOT_FORCE_CONST_MEM): New.
(rs6000_override_options): Handle -mtls-size option.
(constant_pool_expr_1): Handle TLS symbols.
(rs6000_legitimize_address): Handle TLS symbols.
(rs6000_tls_referenced_p): New.
(rs6000_legitimate_address): Handle TLS symbols.
(rs6000_emit_move): Handle TLS symbols.
(print_operand): Handle TLS symbols.
(uses_TOC): Handle TLS symbols.
(rs6000_emit_prologue): Use symbol for unspec constant.
* config/rs6000/rs6000.h (HAVE_AS_TLS): New.
(some_ld_name): New.
(LEGITIMATE_CONSTANT_P): Handle TLS symbols.
(PRINT_OPERAND_PUNCT_VALID_P): Handle TLS symbols.
(PREDICATE_CODES): Add rs6000_tls_symbol_ref.
* config/rs6000/rs6000.md (load_toc_v4_PIC_1, load_toc_v4_PIC_1b):
Support TLS.
(tls_gd_32, tls_gd_64, tls_ld_32, tls_ld_64, tls_dtprel_32,
tls_dtprel_64, tls_dtprel_ha_32, tls_dtprel_ha_64, tls_dtprel_lo_32,
tls_dtprel_lo_64, tls_got_dtprel_32, tls_got_dtprel_64, tls_tprel_32,
tls_tprel_64, tls_tprel_ha_32, tls_tprel_ha_64, tls_tprel_lo_32,
tls_tprel_lo_64, tls_got_tprel_32, tls_got_tprel_64, tls_tls_32,
tls_tls_64): New.
* config/rs6000/sysv4.h (SUBTARGET_OPTIONS): Add tls_size.

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

21 years ago * Makefile.in (stage2_build, stage3_build, stage4_build)
neil [Mon, 12 May 2003 21:35:47 +0000 (21:35 +0000)]
* Makefile.in (stage2_build, stage3_build, stage4_build)
: Set BUILD_CC to the same as CC.

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

21 years ago * alloc-pool.c (last_id): Put in ENABLE_CHECKING guards.
neil [Mon, 12 May 2003 21:26:11 +0000 (21:26 +0000)]
* alloc-pool.c (last_id): Put in ENABLE_CHECKING guards.

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

21 years ago * config/ia64/ia64.c (ia64_function_ok_for_sibcall): Mark 'exp'
schwab [Mon, 12 May 2003 21:17:12 +0000 (21:17 +0000)]
* config/ia64/ia64.c (ia64_function_ok_for_sibcall): Mark 'exp'
as unused.
(bundling): Initialize 'pos'.
(ia64_expand_builtin): Initialize 'rmode'.

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

21 years ago * debug/debug.exp: Skip debug-[12].c at -O3 on non-Dwarf targets.
dje [Mon, 12 May 2003 21:16:55 +0000 (21:16 +0000)]
    * debug/debug.exp: Skip debug-[12].c at -O3 on non-Dwarf targets.

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

21 years ago * config/rs6000/xcoff.h (ASM_OUTPUT_SKIP): Accept HOST_WIDE_INT.
dje [Mon, 12 May 2003 21:06:36 +0000 (21:06 +0000)]
    * config/rs6000/xcoff.h (ASM_OUTPUT_SKIP): Accept HOST_WIDE_INT.
        (ASM_OUTPUT_ALIGNED_COMMON): Same.
        (ASM_OUTPUT_LOCAL): Same.

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

21 years ago2003-05-12 Paolo Carlini <pcarlini@unitus.it>
paolo [Mon, 12 May 2003 21:01:39 +0000 (21:01 +0000)]
2003-05-12  Paolo Carlini  <pcarlini@unitus.it>

* testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Remove
unnecessary includes and unused string literals.
* testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
* testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
* testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
* testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.

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

21 years ago * gcc_release (usage): Print more detailed description of all
gerald [Mon, 12 May 2003 21:01:03 +0000 (21:01 +0000)]
* gcc_release (usage): Print more detailed description of all
command-line options.

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

21 years ago2003-05-12 Michael Koch <konqueror@gmx.de>
mkoch [Mon, 12 May 2003 20:45:20 +0000 (20:45 +0000)]
2003-05-12  Michael Koch  <konqueror@gmx.de>

* gnu/java/nio/ByteBufferImpl.java: Reformatted.
(nio_get_*): Removed.
(nio_put_*): Removed.
(as*Buffer): Implemented.
(compact): Implemented.
(get): Documentation added.
(put): Documentation added.
(get*): Newly implemented.
(put*): Newly implemented.
* gnu/java/nio/CharBufferImpl.java: Reformatted.
(CharBufferImpl): Revised.
(slice): New implementation.
(duplicate): New implementation.
(compact): New implementation.
(asReadOnlyBuffer): New implementation.
(get): Documentation revised.
(order): Return native byte order.
* gnu/java/nio/DirectByteBufferImpl.java
(allocateDirect): objects can be null not 0.
* gnu/java/nio/DoubleBufferImpl.java: Reformatted.
(DoubleBufferImpl): Revised.
(slice): New implementation.
(duplicate): New implementation.
(compact): New implementation.
(asReadOnlyBuffer): New implementation.
(get): Documentation revised.
(order): Return native byte order.
* gnu/java/nio/FloatBufferImpl.java: Reformatted.
(FloatBufferImpl): Revised.
(slice): New implementation.
(duplicate): New implementation.
(compact): New implementation.
(asReadOnlyBuffer): New implementation.
(get): Documentation revised.
(order): Return native byte order.
* gnu/java/nio/IntBufferImpl.java: Reformatted.
(IntBufferImpl): Revised.
(slice): New implementation.
(duplicate): New implementation.
(compact): New implementation.
(asReadOnlyBuffer): New implementation.
(get): Documentation revised.
(order): Return native byte order.
* gnu/java/nio/LongBufferImpl.java: Reformatted.
(LongBufferImpl): Revised.
(slice): New implementation.
(duplicate): New implementation.
(compact): New implementation.
(asReadOnlyBuffer): New implementation.
(get): Documentation revised.
(order): Return native byte order.
* gnu/java/nio/ShortBufferImpl.java: Reformatted.
(ShortBufferImpl): Revised.
(slice): New implementation.
(duplicate): New implementation.
(compact): New implementation.
(asReadOnlyBuffer): New implementation.
(get): Documentation revised.
(order): Return native byte order.
* java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
(CharBuffer): Revised.
(order): Removed.
* java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
(DoubleBuffer): Revised.
(allocateDirect): Removed.
(order): Removed.
* java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
(FloatBuffer): Revised.
(allocateDirect): Removed.
(order): Removed.
* java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
(IntBuffer): Revised.
(allocateDirect): Removed.
(order): Removed.
* java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
(LongBuffer): Revised.
(allocateDirect): Removed.
(order): Removed.
* java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
(ShortBuffer): Revised.
(allocateDirect): Removed.
(order): Removed.
* gnu/java/nio/natByteBufferImpl.cc: Removed.
* gnu/java/nio/natCharBufferImpl.cc: Removed.
* Makefile.am
(ordinary_java_source_files): Added the following files:
gnu/java/nio/CharViewBufferImpl.java,
gnu/java/nio/DoubleViewBufferImpl.java,
gnu/java/nio/FloatViewBufferImpl.java,
gnu/java/nio/IntViewBufferImpl.java,
gnu/java/nio/LongViewBufferImpl.java,
gnu/java/nio/ShortViewBufferImpl.java
(nat_source_files): Removed the following files:
gnu/java/nio/natByteBufferImpl.cc,
gnu/java/nio/natCharBufferImpl.cc
* Makefile.in: Regenerated.

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

21 years ago * varasm.c (output_constant): Fix underflow.
hubicka [Mon, 12 May 2003 19:54:26 +0000 (19:54 +0000)]
* varasm.c (output_constant):  Fix underflow.

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

21 years ago PR other/10745
mmitchel [Mon, 12 May 2003 18:51:34 +0000 (18:51 +0000)]
PR other/10745
* configure.in: Correct detection of GNU ld version number.
* configure: Regenerated.

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

21 years ago * diagnostic.c (diagnostic_for_decl): Take a
zack [Mon, 12 May 2003 18:32:18 +0000 (18:32 +0000)]
* diagnostic.c (diagnostic_for_decl): Take a
diagnostic_context argument.  Restructure to be consistent
with diagnostic_report_diagnostic.
(diagnostic_count_diagnostic): Now static.  Take a
diagnostic_info argument, not just a diagnostic_t.  Some code
moved here from internal_error.  Move a case label for
clarity.
(diagnostic_action_after_output): New function.  Code moved
here from internal_error and fatal_error.
(bug_report_request): New #define so that this text appears in
only one place.
(diagnostic_report_diagnostic): Update to match changes to
diagnostic_count_diagnostic.  Call diagnostic_action_after_output.
(diagnostic_set_info): Call gettext here.

(pedwarn): Update comment.  Don't call gettext here.
(sorry): Use report_diagnostic.  Don't call gettext here.
(fatal_error): Remove final fnotice and exit, but call
real_abort to prevent warnings about noreturn function returning.
(internal_error): Likewise.  Don't do ICE suppression here nor
call context->internal_error.
(warning_with_decl): Suppress for decls in system headers.
Adjust call to diagnostic_for_decl.
(pedwarn_with_decl): Likewise.
(error_with_decl): Adjust call to diagnostic_for_decl.
(error_recursion): Use bug_report_request.

* diagnostic.h: Remove prototype of diagnostic_count_diagnostic.
* objc/objc-act.c (error_with_ivar, warn_with_method): Don't call
diagnostic_count_diagnostic.
f:
* bad.c: Don't call diagnostic_count_diagnostic.

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

21 years ago2003-05-12 Michael Koch <konqueror@gmx.de>
mkoch [Mon, 12 May 2003 18:32:17 +0000 (18:32 +0000)]
2003-05-12  Michael Koch  <konqueror@gmx.de>

* gnu/java/nio/CharViewBufferImpl.java,
gnu/java/nio/DirectByteBufferImpl.java,
gnu/java/nio/DoubleViewBufferImpl.java,
gnu/java/nio/FloatViewBufferImpl.java,
gnu/java/nio/IntViewBufferImpl.java,
gnu/java/nio/LongViewBufferImpl.java,
gnu/java/nio/ShortViewBufferImpl.java,
gnu/java/nio/natDirectByteBufferImpl.cc:
New files, not yet to be compiled.

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

21 years agogit-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66726 138bc75d-0d04-0410-961f-82ee72b...
bkoz [Mon, 12 May 2003 18:12:27 +0000 (18:12 +0000)]
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66726 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * pa64-hpux.h (ASM_OUTPUT_ALIGNED_COMMON): Correct last patch.
danglin [Mon, 12 May 2003 17:40:07 +0000 (17:40 +0000)]
* pa64-hpux.h (ASM_OUTPUT_ALIGNED_COMMON): Correct last patch.

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

21 years ago2003-05-12 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 12 May 2003 16:10:55 +0000 (16:10 +0000)]
2003-05-12  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/27_io/basic_filebuf/underflow/10096.cc: Add weak bits.

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

21 years ago * g++.old-deja/g++.brendan/ns1.C: Remove private member warning.
lerdsuwa [Mon, 12 May 2003 16:07:51 +0000 (16:07 +0000)]
* g++.old-deja/g++.brendan/ns1.C: Remove private member warning.
* g++.old-deja/g++.robertl/eb71.C: Likewise.
* g++.old-deja/g++.brendan/warnings1.C: Add -Wctor-dtor-privacy.
* g++.old-deja/g++.other/warn3.C: Likewise.

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

21 years agoupdate email addresses
meissner [Mon, 12 May 2003 15:38:17 +0000 (15:38 +0000)]
update email addresses

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

21 years ago * lib/g++.exp: Tweak handling of additional source files.
mmitchel [Mon, 12 May 2003 15:24:31 +0000 (15:24 +0000)]
* lib/g++.exp: Tweak handling of additional source files.
* g++.dg/special/conpr-2.C: Use dg-gpp-additional-sources.
* g++.dg/special/conpr-2a.C: Rename to ...
* g++.dg/special/conpr-2a.cc: ... this.
* g++.dg/special/conpr-3.C: Use dg-gpp-additional-sources.
* g++.dg/special/conpr-3a.C: Rename to ...
* g++.dg/special/conpr-3a.cc: This.
* g++.dg/special/conpr-3b.C: Rename to ...
* g++.dg/special/conpr-3b.cc: This.
* g++.dg/special/conpr-4.C: New test.
* g++.dg/special/ecos.exp: Rewrite to use ordinary dg driver.

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

21 years ago * rs6000/darwin.h (ASM_OUTPUT_COMMON): Accept HOST_WIDE_INT
hubicka [Mon, 12 May 2003 14:40:19 +0000 (14:40 +0000)]
* rs6000/darwin.h (ASM_OUTPUT_COMMON): Accept HOST_WIDE_INT
* mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Fix warning.
* mips/mips.h (ASM_OUTPUT_SKIP):  Fix typo in the previous patch.

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

21 years ago * mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Fix warning.
hubicka [Mon, 12 May 2003 13:59:14 +0000 (13:59 +0000)]
* mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Fix warning.
* mips/mips.h (ASM_OUTPUT_SKIP):  Fix typo in the previous patch.

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

21 years ago * doc/rtl.texi: Document zero_extract as a valid destination
sayle [Mon, 12 May 2003 13:26:02 +0000 (13:26 +0000)]
* doc/rtl.texi: Document zero_extract as a valid destination
of a set insn.

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

21 years ago* arm/lib1funcs.asm (LSYM): Define -- on ELF prefix a local symbol with
rearnsha [Mon, 12 May 2003 13:14:32 +0000 (13:14 +0000)]
* arm/lib1funcs.asm (LSYM): Define -- on ELF prefix a local symbol with
'.'.  Change all local symbol definitions and references to use LSYM.

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

21 years ago * com.c (ffecom_init_0): Define built-in functions for atan2,
sayle [Mon, 12 May 2003 12:45:25 +0000 (12:45 +0000)]
* com.c (ffecom_init_0): Define built-in functions for atan2,
exp, floor, fmod, log and pow.
(duplicate_decls): Preserve assembler name when redeclaring a
built-in.
* com-rt.def: Implement using the built-in forms of the above
functions rather than calling the standard C library directly.
Correct some of the run-time prototype "codes".

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

21 years agoMon May 12 11:32:53 CEST 2003 Jan Hubicka <jh@suse.cz>
hubicka [Mon, 12 May 2003 09:51:36 +0000 (09:51 +0000)]
Mon May 12 11:32:53 CEST 2003  Jan Hubicka  <jh@suse.cz>

* expr.h (assemble_static_space): Update prototype.
* output.h (assemble_zeros, output_constant): Likewise.
* elfos.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON): Make it 64bit clean
* alpha.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON, ASK_OUTPUT_LOCAL): Make
it 64bit clean.
* elf.h (ASM_OTUPUT_SKIP): Likewise.
* unicosmk.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMM): Likewise.
* arm.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP):
Expect HOST_WIDE_INT operand.
* aout.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP):
Expect HOST_WIDE_INT operand.
* unknown-elf.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP):
Expect HOST_WIDE_INT operand.
* avr.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_SKIP): Expect
HOST_WIDE_INT operand.
* c4x.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP,
ASM_OUTPUT_BSS): Expect HOST_WIDE_INT operand.
* aout.h (ASM_OTUPUT_SKIP): Likewise.
* cris.h (ASM_OTUPUT_SKIP, ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Likewise.
* darwin.h (ASM_OTUPUT_SKIP, ASM_OUTPUT_COMMON): Likewise.
* dsp16xx.h (ASM_OTUPUT_SKIP): Likewise.
* frv.h (ASM_OTUPUT_SKIP): Likewise.
* h8300.h (ASM_OTUPUT_SKIP, ASM_OUTPUT_LOCAL): Likewise.
* 370.h (ASM_OTUPUT_SKIP, ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL):
Make it 64bit
clean.
* att.h (ASM_OUTPUT_SKIP): Expect HOST_WIDE_INT operand.
* bsd.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL):
Make it 64bit clean.
* darwin.h (ASM_OUTPUT_SKIP): Make it 64bit clean..
* sco5.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Expect
HOST_WIDE_INT operand
* svr3gas.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL):
Expect HOST_WIDE_INT operand
* sysv3.h (ASM_OUTPUT_SKIP): Expect HOST_WIDE_INT operand
* i960.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON,
ASM_OUTPUT_ALIGNED_LOCAL): Expect HOST_WIDE_INT operand
* ip2k.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP):
Likewise.
* m32r.h (ASM_OUTPUT_COMMON): Likewise.
* 3b1.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP):
Likewise.
* amix.h (ASM_OUTPUT_ALIGNED_LOCAL): Likewise.
* crds.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_ALIGNED_LOCAL): Likewise.
* hp320.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL,
ASM_OUTPUT_SKIP): Likewise.
* m68k.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP):
Likewise.
* m68kelf.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL,
ASM_OUTPUT_SKIP): Likewise.
* m68kv4.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL,
ASM_OUTPUT_SKIP): Likewise.
* mot3300.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP): Likewise.
* netbsd-elf.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_COMMON,
ASM_OUTPUT_SKIP): Likewise.
* sgs.h (ASM_OUTPUT_SKIP): Likewise.
* tower-as.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_COMMON,
ASM_OUTPUT_SKIP): Likewise.
* m88k.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_COMMON, ASM_OUTPUT_SKIP):
Likewise.
* mcore.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_BSS, ASM_OUTPUT_SKIP): Likewise.
* iris.h (ASM_OUTPUT_LOCAL): Likewise.
* mips.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP): Likewise.
* ns32k.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL,
ASM_OUTPUT_SKIP): Make it 64bit clean.
* pa-pro-end.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_ALIGNED_LOCAL):
Make it 64bit clean.
* pa.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_ALIGNED_LOCAL,
ASM_OUTPUT_SKIP): Make it 64bit clean.
* hpux.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_ALIGNED_LOCAL): Make it
64bit clean.
* romp.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_LOCAL, ASM_OUTPUT_COMMON): Expect
HOST_WIDE_INT argument
* s390.h (ASM_OUTPUT_SKIP): Expect HOST_WIDE_INT argument.
* sh.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_LOCAL, ASM_OUTPUT_COMMON): Expect
HOST_WIDE_INT argument
* sol2.h (ASM_OUTPUT_SKIP): HOST_WIDE_INT argument
* sparc.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON): HOST_WIDE_INT argument
* svr3.h (ASM_OUTPUT_SKIP): HOST_WIDE_INT argument
* vax.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL):
HOST_WIDE_INT argument
* vaxv.h (ASM_OUTPUT_LOCAL): HOST_WIDE_INT argument
* xtensa.h (ASM_OUTPUT_LOCAL): HOST_WIDE_INT argument
* varasm.c (asm_output_bss, asm_output_aligned_bss,
asm_emit_uninitialized, assemble_zeros, assemble_static_space):
HOST_WIDE_INT argument

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

21 years ago2003-05-10 Steven Bosscher <steven@gcc.gnu.org>
steven [Mon, 12 May 2003 09:46:25 +0000 (09:46 +0000)]
2003-05-10  Steven Bosscher  <steven@gcc.gnu.org>

* cgraphunit.c (cgraph_create_edges): Drop walk_tree in
favor of walk_tree_without_duplicates.  Add comments.

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

21 years ago * alloc-pool.h (ALLOC_POOL_ID_TYPE): New type.
zlomek [Mon, 12 May 2003 05:16:55 +0000 (05:16 +0000)]
* alloc-pool.h (ALLOC_POOL_ID_TYPE): New type.
(struct alloc_pool_def): New element 'id'.
* alloc-pool.c (fancy_abort): Extern function prototype.
(abort): Macro which uses fancy_abort.
(struct allocation_object_def): New structure.
(ALLOCATION_OBJECT_PTR_FROM_USER_PTR): New macro.
(USER_PTR_FROM_ALLOCATION_OBJECT_PTR): New macro.
(last_id): New variable.
(create_alloc_pool): Add the offset of u.data to size of element,
increase and use last_id.
(free_alloc_pool): Do the checking only when ENABLE_CHECKING.
(pool_alloc): Likewise. Set ID for elements.
(pool_free): Check whether the PTR was allocated from POOL.

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

21 years ago PR c/10675
rth [Mon, 12 May 2003 03:25:38 +0000 (03:25 +0000)]
    PR c/10675
        * c-decl.c: Include hashtab.h.
        (detect_field_duplicates): New.
        (finish_struct): Use it.
        * Makefile.in (c-decl.o): Update.
        * c-parse.in (structsp_attr): Nreverse component_decl_list results.
        (component_decl_list, component_decl_list2,
        components, components_notype): Build list in reverse order.
        (enumlist): Clarify docs.  Use TREE_CHAIN not chainon.
        * tree.c (chainon): Special case op2 null as well.
        Reorg for clarity.

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

21 years ago * config/i386/i386.md (logsf2, logdf2, logxf2, logdf2): New patterns
sayle [Mon, 12 May 2003 02:51:40 +0000 (02:51 +0000)]
* config/i386/i386.md (logsf2, logdf2, logxf2, logdf2): New patterns
to implement log, logf and logl built-ins as inline x87 intrinsics.
(UNSPEC_FYL2X): New unspec to represent x87's "fyl2x" instruction.
(*fyl2x_sfxf3, *fyl2x_dfxf3, *fyl2x_xf3, *fyl2x_tfxf3): New insn
patterns for x87's "fyl2x" instruction, used by log?f2 patterns.

* reg-stack.c (subst_stack_regs_pat): Handle UNSPEC_FYL2X like
UNSPEC_FPATAN, i.e. replaces two stack operands with single result.

* gcc.dg/i386-387-1.c: Update to also test log.
* gcc.dg/i386-387-2.c: Likewise.

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

21 years ago * Makefile.in (out_object_file): Don't set -Wno-error for ${cpu}.o.
ghazi [Mon, 12 May 2003 02:29:38 +0000 (02:29 +0000)]
* Makefile.in (out_object_file): Don't set -Wno-error for ${cpu}.o.

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

21 years ago * sparc.c (print_operand): Fix uninitialized warning.
ghazi [Mon, 12 May 2003 02:05:52 +0000 (02:05 +0000)]
* sparc.c (print_operand): Fix uninitialized warning.

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

21 years ago2003-05-11 Phil Edwards <pme@gcc.gnu.org>
pme [Mon, 12 May 2003 00:41:35 +0000 (00:41 +0000)]
2003-05-11  Phil Edwards  <pme@gcc.gnu.org>

* testsuite/Makefile.am:  Properly quote /both/ LD_RUN_PATHs.
* testsuite/Makefile.in:  Regenerate.

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

21 years agoDaily bump.
gccadmin [Mon, 12 May 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

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

21 years ago2003-05-11 Phil Edwards <pme@gcc.gnu.org>
pme [Mon, 12 May 2003 00:00:05 +0000 (00:00 +0000)]
2003-05-11  Phil Edwards  <pme@gcc.gnu.org>

* testsuite/Makefile.am:  Properly quote LD_RUN_PATH.
* testsuite/Makefile.in:  Regenerate.

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

21 years ago * cfgloopanal.c (num_loop_insns, average_num_loop_insns): Count only
rakdver [Sun, 11 May 2003 22:54:33 +0000 (22:54 +0000)]
* cfgloopanal.c (num_loop_insns, average_num_loop_insns): Count only
real insns.
* loop-unroll.c (unroll_loop_runtime_iterations): Remove superfluous
condition.

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

21 years ago * doc/cpp.texi: Fix typos.
neil [Sun, 11 May 2003 20:16:39 +0000 (20:16 +0000)]
* doc/cpp.texi: Fix typos.

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

21 years ago * config/s390/s390.c (s390_function_arg_float): New function.
uweigand [Sun, 11 May 2003 20:01:01 +0000 (20:01 +0000)]
* config/s390/s390.c (s390_function_arg_float): New function.
(s390_function_arg_pass_by_reference): Use it.
(s390_function_arg_advance): Likewise.
(s390_function_arg): Likewise.
(s390_va_arg): Likewise

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

21 years ago * coverage.h (coverage_counter_alloc): New function.
nathan [Sun, 11 May 2003 19:21:32 +0000 (19:21 +0000)]
* coverage.h (coverage_counter_alloc): New function.
* function.h (struct function): Remove arc_profile flag.
* coverage.c (fn_ident): Remove.
(fn_b_ctrs, no_coverage): New.
(get_coverage_counts): Use current_function_funcdef_no.
(coverage_counter_alloc): New.
(coverage_counter_ref): Adjust.
(coverage_begin_output): Check no_coverage. Use
current_function_funcdef_no.
(coverage_end_function): Likewise.
(create_coverage): Set no_coverage. Set DECL_UNINLINEABLE rather
than clearing flag_inline_functions. Do not clear arc_profile
flag.
* function.c (prepare_function_start): Do not set arc_profile
flag.
* profile.c (instrument_edges): Return number of instrumented
edges. Use a for loop.
(branch_prob): Call coverage_counter_alloc. Make BB_TO_GCOV_INDEX
local to here and simplify. Use profile_arc_flag not arc_profile
flag.
(find_spanning_tree): Reformat.
* toplev.c (rest_of_compilation): Use profile_arc_flags and
flag_test_coverage rather than arc_profile flag.

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

21 years ago * method.c (synthesize_method): Call push/pop_deferring_access_checks.
lerdsuwa [Sun, 11 May 2003 16:16:47 +0000 (16:16 +0000)]
* method.c (synthesize_method): Call push/pop_deferring_access_checks.

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

21 years ago * doc/invoke.texi (Wctor-dtor-privacy): Update documentation.
gdr [Sun, 11 May 2003 16:06:21 +0000 (16:06 +0000)]
* doc/invoke.texi (Wctor-dtor-privacy): Update documentation.

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

21 years ago * varasm.c (copy_constant, case VIEW_CONVERT_EXPR): New case.
kenner [Sun, 11 May 2003 15:47:54 +0000 (15:47 +0000)]
* varasm.c (copy_constant, case VIEW_CONVERT_EXPR): New case.

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

21 years ago * cppinit.c (cpp_init_builtins): Use _cpp_define_builtin
neil [Sun, 11 May 2003 15:15:35 +0000 (15:15 +0000)]
* cppinit.c (cpp_init_builtins): Use _cpp_define_builtin

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

21 years agoMissed from previous commit.
rsandifo [Sun, 11 May 2003 14:52:29 +0000 (14:52 +0000)]
Missed from previous commit.

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

21 years ago * cppinit.c (cpp_init_builtins): Use _cpp_define_builtin
neil [Sun, 11 May 2003 13:58:10 +0000 (13:58 +0000)]
* cppinit.c (cpp_init_builtins): Use _cpp_define_builtin

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

21 years ago * c-cppbuiltin.c (c_cpp_builtins): Move __STDC_HOSTED__ into
neil [Sun, 11 May 2003 13:43:36 +0000 (13:43 +0000)]
* c-cppbuiltin.c (c_cpp_builtins): Move __STDC_HOSTED__ into
cpplib as it's a Standard Predefined Macro.
* c-opts.c (finish_options): Pass flag_hosted to cpp_init_builtins.
* cppinit.c (_cpp_init_builtins): Take HOSTED.  Define
__STDC_HOSTED__ appropriately.
* cpplib.h (_cpp_init_builtins): Update.
* fix-header.c (read_scan_file): Update.
* doc/cpp.texi, doc/cppopts.texi: Update documentation.
* cppfiles.c (find_or_create_entry): Preserve errno.

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

21 years agoFix expected error message.
lerdsuwa [Sun, 11 May 2003 13:26:55 +0000 (13:26 +0000)]
Fix expected error message.

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

21 years ago2003-05-11 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Sun, 11 May 2003 13:03:58 +0000 (13:03 +0000)]
2003-05-11  Toon Moene  <toon@moene.indiv.nluug.nl>

* g77.f-torture/execute/int8421.f: New test.

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

21 years ago2003-05-11 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Sun, 11 May 2003 12:57:35 +0000 (12:57 +0000)]
2003-05-11  Toon Moene  <toon@moene.indiv.nluug.nl>

PR fortran/10726
* intdoc.in: Fix documentation of IDATE.
* intdoc.texi: Regenerate.
* g77.texi: Document completion of INTEGER*n support.
* news.texi: Update due to the above.

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

21 years ago PR C++/689
gdr [Sun, 11 May 2003 12:47:42 +0000 (12:47 +0000)]
PR C++/689
PR C++/9257
* c-opts.c (c_common_decode_option): Don't set
warn_ctor_dtor_privacy wen -Wall.
* c-common.c (warn_ctor_dtor_privacy): Don't turn on by default.

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

21 years ago PR c++/10230, c++/10481
lerdsuwa [Sun, 11 May 2003 10:06:39 +0000 (10:06 +0000)]
PR c++/10230, c++/10481
* semantics.c (finish_non_static_data_member): Handle when the
non-static member is not from a base of the current class type.

* g++.dg/lookup/scoped5.C: New test.

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

21 years ago PR c++/10552
lerdsuwa [Sun, 11 May 2003 09:45:30 +0000 (09:45 +0000)]
PR c++/10552
* pt.c (tsubst_copy): Handle TEMPLATE_DECL that is a member class
template and has dependent context.

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

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

21 years ago PR libstdc++/3181
gdr [Sun, 11 May 2003 09:07:17 +0000 (09:07 +0000)]
PR libstdc++/3181
* include/c_std/std_cmath.h: #include <bits/cpp_type_traits.h>
(acos): Handle integer argument.
(asin): Likewise.
(atan): Likewise.
(atan2): Likewise.
(ceil): Likewise.
(cos): Likewise.
(cosh): Likewise.
(exp): Likewise.
(fabs): Likewise.
(floor): Likewise.
(frexp): Likewise.
(ldexp): Likewise.
(log): Likewise.
(log10): Likewise.
(sin): Likewise.
(sinh): Likewise.
(sqrt): Likewise.
(tan): Likewise.
(tanh): Likewise.
* include/bits/cpp_type_traits.h (__are_same<>): New traits.
(__enable_if): Likewise.
* testsuite/26_numerics/cmath/overloads.C: New test.

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

21 years ago * gcc.c-torture/execute/builtins: New directory.
rsandifo [Sun, 11 May 2003 08:20:34 +0000 (08:20 +0000)]
* gcc.c-torture/execute/builtins: New directory.
* gcc.c-torture/execute/string-opt-{3,4,16,17,18,19}.c: Move into
gcc.c-torture/execute/builtins.
* gcc.c-torture/execute/string-opt-asm-{1,2}.c: Likewise.
* gcc.c-torture/execute/builtin-noret-{1,2}.c: Move to...
* gcc.dg/torture: ...this new directory.  Turn into link-only tests.
* gcc.dg/no-builtin-1.c: Move into gcc.c-torture/execute/builtins.

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

21 years ago2003-05-10 Petur Runolfsson <peturr02@ru.is>
bkoz [Sun, 11 May 2003 04:20:57 +0000 (04:20 +0000)]
2003-05-10  Petur Runolfsson  <peturr02@ru.is>

PR libstdc++/9027
PR libstdc++/9520
PR libstdc++/10096
* include/bits/fstream.tcc (basic_file::_M_underflow):  Add generic
implementation, based on old wchar_t specialization, add support
for codecvt::in() return value of codecvt_base::noconv, remove
_M_file.sys_ungetc() call.
* include/std/std_fstream.h (basic_file::underflow,
basic_file::uflow, basic_file::_M_underflow):  Remove
specialization declarations, call _M_underflow from generic versions
of underflow and uflow.
* src/fstream.cc (basic_file::underflow, basic_file::uflow,
basic_file::_M_underflow):  Remove specializations.
* src/Makefile.am (sources):  Remove fstream.cc.
* src/Makefile.in:  Regenerated.
* testsuite/27_io/basic_filebuf/underflow/10096.cc:  New test.
* testsuite/27_io/basic_filebuf/underflow/char/1.cc:  New test.
* testsuite/27_io/basic_filebuf/underflow/char/9027.cc:  New test.
* testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc:  New test.

2003-05-10  Benjamin Kosnik  <bkoz@redhat.com>

* include/ext/stdio_filebuf.h (__stdio_filebuf): Remove stack
buffer.
* config/io/basic_file_stdio.h (__basic_file::xsgetn): Remove
unbuffered bits.
(__basic_file::xsputn): Same.
(__basic_file::seekoff): Same.
(__basic_file::seekpos): Same.
(__basic_file::showmanyc): Same.
* config/io/basic_file_stdio.cc: Same.
* include/std/std_fstream.h: Same.
* include/bits/fstream.tcc: Same.
* src/fstream.cc: Same.
* testsuite/27_io/basic_filebuf/sgetn/char/1.cc (test05): Tidy.

2003-05-10  Petur Runolfsson  <peturr02@ru.is>

PR libstdc++/9520
PR libstdc++/9661
PR libstdc++/9662
* include/ext/stdio_sync_filebuf.h:  New file.
(basic_stdiobuf):  New.
* include/Makefile.am (ext_headers): Add ext/stdio_sync_filebuf.h
* include/Makefile.in: Regenerate.
* include/bits/ios_base.h (Init::_S_create_buffers,
Init::_S_destroy_buffers):  Remove declarations.
* src/globals.cc (buf_cout_sync, buf_cin_sync, buf_cerr_sync,
buf_wcout_sync, buf_wcin_sync, buf_wcerr_sync):  Define.
* src/ios.cc (Init::_S_create_buffers,
Init::_S_destroy_buffers):  Remove.
(Init::Init):  Create and use syncronized buffers.
(ios_base::sync_with_stdio):  Destroy syncronized buffers,
create and install unsyncronized buffers.
* testsuite/27_io/objects/char/10.cc:  New test.
* testsuite/27_io/objects/char/9.cc:  New test.
* testsuite/27_io/objects/char/9661-1.cc:  New test.
* testsuite/27_io/objects/char/9661-2_xin.cc:  New test.
* testsuite/27_io/objects/char/9661-2_xin.in:  New.
* testsuite/27_io/objects/wchar_t/1.cc:  New test.
* testsuite/27_io/objects/wchar_t/10.cc:  New test.
* testsuite/27_io/objects/wchar_t/2.cc:  New test.
* testsuite/27_io/objects/wchar_t/2523-1_xin.cc:  New test.
* testsuite/27_io/objects/wchar_t/2523-1_xin.in:  New.
* testsuite/27_io/objects/wchar_t/2523-2_xin.cc:  New test.
* testsuite/27_io/objects/wchar_t/2523-2_xin.in:  New.
* testsuite/27_io/objects/wchar_t/3045.cc:  New test.
* testsuite/27_io/objects/wchar_t/3647.cc:  New test.
* testsuite/27_io/objects/wchar_t/3_xin.cc:  New test.
* testsuite/27_io/objects/wchar_t/3_xin.in:  New.
* testsuite/27_io/objects/wchar_t/4_xin.cc:  New test.
* testsuite/27_io/objects/wchar_t/4_xin.in:  New.
* testsuite/27_io/objects/wchar_t/5.cc:  New test.
* testsuite/27_io/objects/wchar_t/5268.cc:  New test.
* testsuite/27_io/objects/wchar_t/5280_xin.cc:  New test.
* testsuite/27_io/objects/wchar_t/5280_xin.in:  New.
* testsuite/27_io/objects/wchar_t/6.cc:  New test.
* testsuite/27_io/objects/wchar_t/6548_xin.cc:  New test.
* testsuite/27_io/objects/wchar_t/6548_xin.in:  New.
* testsuite/27_io/objects/wchar_t/6648-1_xin.cc:  New test.
* testsuite/27_io/objects/wchar_t/6648-1_xin.in:  New.
* testsuite/27_io/objects/wchar_t/6648-2_xin.cc:  New test.
* testsuite/27_io/objects/wchar_t/6648-2_xin.in:  New.
* testsuite/27_io/objects/wchar_t/7.cc:  New test.
* testsuite/27_io/objects/wchar_t/7744_xin.cc:  New test.
* testsuite/27_io/objects/wchar_t/7744_xin.in:  New.
* testsuite/27_io/objects/wchar_t/8.cc:  New test.
* testsuite/27_io/objects/wchar_t/9_xin.cc:  New test.
* testsuite/27_io/objects/wchar_t/9_xin.in:  New.
* testsuite/27_io/objects/wchar_t/9520.cc:  New test.
* testsuite/27_io/objects/wchar_t/9661-1.cc:  New test.
* testsuite/27_io/objects/wchar_t/9661-2_xin.cc:  New test.
* testsuite/27_io/objects/wchar_t/9661-2_xin.in:  New.
* testsuite/27_io/objects/wchar_t/9662.cc:  New test.
* testsuite/ext/stdiobuf_char.cc:  New test.
* testsuite/ext/stdiobuf_wchar_t.cc:  New test.

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

21 years ago* reload1.c (reload_cse_move2add): Revert part of my 2003-05-09's
aoliva [Sun, 11 May 2003 02:15:24 +0000 (02:15 +0000)]
* reload1.c (reload_cse_move2add): Revert part of my 2003-05-09's
patch.

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

21 years ago * diagnostic.c: Reorder functions for clarity, putting all the
zack [Sun, 11 May 2003 02:06:12 +0000 (02:06 +0000)]
* diagnostic.c: Reorder functions for clarity, putting all the
functions in the "error" family next to each other, and
likewise all the functions in the "error_with_decl" family.
Some other routines were moved too.  Add comments.
(vbuild_message_string): Fold into sole caller.

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

21 years agoDaily bump.
gccadmin [Sun, 11 May 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

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

21 years ago * except.c (EH_RETURN_STACKADJ_RTX): Do not define.
uweigand [Sat, 10 May 2003 22:59:04 +0000 (22:59 +0000)]
* except.c (EH_RETURN_STACKADJ_RTX): Do not define.
(EH_RETURN_HANDLER_RTX): Likewise.
(expand_builtin_eh_return): Do not copy stack adjustment
if EH_RETURN_STACKADJ_RTX is not defined.
(expand_eh_return): Likewise.  Also, do not pass stack
adjustment as argument to the eh_return pattern.
* except.h (MUST_USE_SJLJ_EXCEPTIONS): Do not define just
because EH_RETURN_STACKADJ_RTX is not defined.
* unwind-dw.c (uw_update_context_1): If EH_RETURN_STACKADJ_RTX
is not defined, treat stack pointer like a regular register.
(uw_init_context_1): Set up fake initial stack pointer register.
(uw_install_context_1): Do not compute stack adjustment if
EH_RETURN_STACKADJ_RTX is not defined.

* config/i386/i386.md ("eh_return"): Remove first argument.
* config/mips/mips.md ("eh_return"): Likewise.
* config/rs6000/rs6000.md ("eh_return"): Likewise.
* config/sh/sh.md ("eh_return"): Likewise.

* config/s390/s390.h (EH_RETURN_STACKADJ_RTX): Remove.

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

21 years ago * config/i386/i386.h (MODES_TIEABLE_P): Fix typo.
ebotcazou [Sat, 10 May 2003 19:38:02 +0000 (19:38 +0000)]
* config/i386/i386.h (MODES_TIEABLE_P): Fix typo.

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

21 years ago * defaults.h (GCOV_TYPE_SIZE): Remove.
nathan [Sat, 10 May 2003 19:02:21 +0000 (19:02 +0000)]
* defaults.h (GCOV_TYPE_SIZE): Remove.
* gcov-io.h (gcov_type): Set to specific mode int on target.
(gcov_unsigned_t, gcov_position_t): New.
(GCOV_TYPE_NODE): New.
(GCOV_TAG_SUMMARY_LENGTH): Adjust.
(GCOV_COUNTERS_SUMMABLE): New.
(gcov_ctr_summary, gcov_sumary, gcov_fn_info, gcov_merge_fn,
gcov_ctr_info, gcov_info): Adjust types.
(gcov_var): Adjust types.
(gcov_write_unsigned, gcov_write_tag,
gcov_write_length, gcov_write_tag_length, gcov_write_summary,
gcov_read_unsigned, gcov_read_summary): Adjust gcov types.
(gcov_position, gcov_sync, gcov_seek): Adjust gcov types.
* gcov-io.c (gcov_write_unsigned, gcov_write_tag,
gcov_write_length, gcov_write_tag_length, gcov_write_summary,
gcov_read_unsigned, gcov_read_summary): Adjust gcov types.
* libgcov.c (gcov_crc32, gcov_version_mismatch, gcov_exit,
__gcov_init, __gcov_merge_add): Adjust gcov types.
* coverage.c (ctr_merge_functions): Constify.
(ctr_names): New.
(read_counts_file): Adjust gcov types. Only summarize & merge
summable counters.
(coverage_counter_ref): Use GCOV_TYPE_NODE.
(build_fn_info_type, build_fn_info_value, build_ctr_info_type,
build_ctr_info_value, build_gcov_info): Adjust types.
* profile.c (branch_prob): Adjust gcov types.
* gcov_dump (dump_file): Adjust gcov types.

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

21 years agoProperly remove previous patch.
kenner [Sat, 10 May 2003 17:31:13 +0000 (17:31 +0000)]
Properly remove previous patch.

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

21 years agodefer a mistake until later
korbb [Sat, 10 May 2003 17:01:29 +0000 (17:01 +0000)]
defer a mistake until later

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

21 years ago * pt.c (instantiate_decl): Call push/pop_deferring_access_checks.
lerdsuwa [Sat, 10 May 2003 15:58:45 +0000 (15:58 +0000)]
* pt.c (instantiate_decl): Call push/pop_deferring_access_checks.

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

21 years ago2003-05-10 Paolo Carlini <pcarlini@unitus.it>
paolo [Sat, 10 May 2003 15:05:15 +0000 (15:05 +0000)]
2003-05-10  Paolo Carlini  <pcarlini@unitus.it>

* testsuite/27_io/basic_filebuf/close/char/3.cc: Remove
unnecessary includes and unused string literals.
* testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.

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

21 years ago* arm.md (DOM_CC_X_AND_Y, DOM_CC_NX_OR_Y, DOM_CC_X_OR_Y): New
rearnsha [Sat, 10 May 2003 13:10:47 +0000 (13:10 +0000)]
* arm.md (DOM_CC_X_AND_Y, DOM_CC_NX_OR_Y, DOM_CC_X_OR_Y): New
constants.
(ior_scc_scc, and_scc_scc): New insn_and_split patterns.
* arm.c (arm_select_dominance_cc_mode): Renamed from
select_dominance_cc_mode, no-longer static.  Use DOM_CC... constants.
Callers updated.
* arm-protos.h (arm_select_dominance_cc_mode): Add prototype.

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