Nathan Sidwell
990f4800f2
Makefile.in (LIBGCC_DEPS): Use $(srcdir) on gcov files
...
* Makefile.in (LIBGCC_DEPS): Use $(srcdir) on gcov files
(libgcov.a): Depend on libgcc.a.
(gcov.o, gcov-dump.o): Add gcov-io.c.
* mklibgcc.in (libgcov_c_dep): Use $(srcdir).
From-SVN: r66804
2003-05-14 15:29:10 +00:00
Nathan Sidwell
3ec6c6ee22
* loop.c (check_dbra_loop): Factor common test.
...
From-SVN: r66803
2003-05-14 15:06:41 +00:00
Ben Elliston
c62347f080
md.texi (Automaton pipeline description): Grammar fixes.
...
2003-05-14 Ben Elliston <bje@wasabisystems.com>
* doc/md.texi (Automaton pipeline description): Grammar fixes.
From-SVN: r66802
2003-05-14 22:40:57 +10:00
Richard Sandiford
2f9bb7c5cf
* system.h: Poison MACHINE_DEPENDENT_REORG.
...
From-SVN: r66801
2003-05-14 09:18:28 +00:00
Richard Sandiford
18dbd95060
target-def.h (TARGET_MACHINE_DEPENDENT_REORG): Define.
...
* 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.
From-SVN: r66800
2003-05-14 07:29:54 +00:00
Michael Koch
cc1b3d6b64
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.
From-SVN: r66799
2003-05-14 06:37:59 +00:00
Richard Henderson
2306d91c5c
c-decl.c (duplicate_decls): Re-invoke make_decl_rtl if the old decl had instantiated DECL_RTL.
...
* c-decl.c (duplicate_decls): Re-invoke make_decl_rtl if
the old decl had instantiated DECL_RTL.
From-SVN: r66798
2003-05-13 22:40:12 -07:00
Benjamin Kosnik
979c310f5e
copy_neg.cc: Remove excess errors dg marker, use dg-errors instead.
...
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.
From-SVN: r66797
2003-05-14 04:30:40 +00:00
Mike Stump
c2d635bc7b
* doc/invoke.texi (Option Summary): Kill off documentation for -$.
...
From-SVN: r66796
2003-05-14 02:22:12 +00:00
GCC Administrator
6092cf6a29
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r66794.2
2003-05-14 00:16:09 +00:00
GCC Administrator
171b9a562e
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r66793.2
2003-05-14 00:16:06 +00:00
Janis Johnson
7aabff1848
sysv4.h (OUTPUT_ASM_ALIGNED_LOCAL): Expect HOST_WIDE_INT argument.
...
2003-05-13 Janis Johnson <janis187@us.ibm.com>
* config/rs6000/sysv4.h (OUTPUT_ASM_ALIGNED_LOCAL): Expect
HOST_WIDE_INT argument.
From-SVN: r66790
2003-05-14 00:00:46 +00:00
Benjamin Kosnik
0cd1de6fc9
std_fstream.h (basic_filebuf::_M_codecvt): Add cached member.
...
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.
From-SVN: r66781
2003-05-13 20:13:15 +00:00
Michael Koch
d24273abda
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.
From-SVN: r66780
2003-05-13 20:11:02 +00:00
Jason Merrill
03307888f7
tree.h (STRIP_MAIN_TYPE_NOPS): New macro.
...
* 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.
From-SVN: r66775
2003-05-13 14:58:56 -04:00
Richard Sandiford
d660cefe65
final.c (final_scan_insn): Apply the effects of frame-related delay slot insns before emitting a delayed...
...
* final.c (final_scan_insn): Apply the effects of frame-related
delay slot insns before emitting a delayed branch.
From-SVN: r66774
2003-05-13 18:51:57 +00:00
Nick Clifton
c1f1978f30
(jump): Use emit_jump_insn.
...
From-SVN: r66772
2003-05-13 18:41:27 +00:00
Ulrich Weigand
7641be90af
s390.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Second parameter of ASM_OUTPUT_SKIP must have type unsigned HOST_WIDE_INT.
...
* config/s390/s390.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Second
parameter of ASM_OUTPUT_SKIP must have type unsigned HOST_WIDE_INT.
From-SVN: r66771
2003-05-13 18:36:45 +00:00
DJ Delorie
f26aca6db2
expr.c (move_by_pieces): Honor the alignment of TO and FROM.
...
* 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.
From-SVN: r66770
2003-05-13 14:15:20 -04:00
Zack Weinberg
fa6ef81367
diagnostic.c (output_format): Add support for %m.
...
* 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.
From-SVN: r66769
2003-05-13 18:06:52 +00:00
Richard Henderson
3bec3c0c9c
class.c (layout_class_method): Set DECL_EXTERNAL.
...
* 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.
From-SVN: r66768
2003-05-13 10:41:17 -07:00
Jason Merrill
a65cddcf39
typeck.c (build_modify_expr): Don't always stabilize the lhs and rhs.
...
* 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.
From-SVN: r66766
2003-05-13 13:05:35 -04:00
Jason Merrill
ec86c71f91
update comments
...
From-SVN: r66764
2003-05-13 12:56:00 -04:00
Zack Weinberg
3a0d67cf82
* gcc.dg/const-elim-1.c: Tighten scan-assembler-not regexp.
...
From-SVN: r66763
2003-05-13 16:37:13 +00:00
Zack Weinberg
a2a6a79b5b
varasm.c (notice_rtl_inlining_of_deferred_constant): New function.
...
* 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.
From-SVN: r66762
2003-05-13 16:23:02 +00:00
Ulrich Weigand
c707d0b01a
s390.md ("*iordi3_oi"): Do not mark commutative.
...
* config/s390/s390.md ("*iordi3_oi"): Do not mark commutative.
("*iorsi3_oi"): Likewise.
From-SVN: r66761
2003-05-13 14:33:16 +00:00
Michael Koch
c484a5fbd3
2003-05-13 Michael Koch <konqueror@gmx.de>
...
* gnu/java/nio/natDirectByteBufferImpl.cc
(allocateImpl): jlong -> RawData*.
(freeImpl): Likewise.
From-SVN: r66760
2003-05-13 12:57:32 +00:00
Andreas Jaeger
f7c5003268
config.guess: Update to 2003-05-09 version.
...
2003-05-13 Andreas Jaeger <aj@suse.de>
* config.guess: Update to 2003-05-09 version.
* config.sub: Update to 2003-05-09 version.
From-SVN: r66759
2003-05-13 14:08:22 +02:00
Andreas Jaeger
a3d056ba9b
Regenerate configure correctly.
...
From-SVN: r66758
2003-05-13 13:54:59 +02:00
Richard Earnshaw
9af66e5830
arm.md (compare_scc): Use shorter sequence for EQ case.
...
* 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.
From-SVN: r66757
2003-05-13 10:32:04 +00:00
Michael Koch
c6f824e248
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.
From-SVN: r66756
2003-05-13 10:25:00 +00:00
Michael Koch
e48d8b8886
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().
From-SVN: r66755
2003-05-13 09:13:31 +00:00
Corinna Vinschen
aa8f1f5793
configure.in (FLAGS_FOR_TARGET): Remove $$s/newlib/libc/sys/cygwin and $$s/newlib/libc/sys/cygwin32 include paths.
...
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.
From-SVN: r66754
2003-05-13 10:58:24 +02:00
Richard Sandiford
7f68692fb2
unwind-dw2.c (uw_init_context_1): Don't pass &outer_cfa directly to _Unwind_SetGRPtr().
...
* unwind-dw2.c (uw_init_context_1): Don't pass &outer_cfa directly
to _Unwind_SetGRPtr().
From-SVN: r66753
2003-05-13 06:49:46 +00:00
Michael Eager
88e80294dd
Makefile.in: Initialize program_transform_cross_name from @program_transform_name@ instead...
...
2003-05-13 Michael Eager <eager@mvista.com>
* Makefile.in: Initialize program_transform_cross_name from
@program_transform_name@ instead of target_alias.
From-SVN: r66752
2003-05-13 08:37:00 +02:00
Andreas Jaeger
f2181beda7
Fix date in last entry.
...
From-SVN: r66751
2003-05-13 08:33:28 +02:00
Michael Eager
243aa302a6
configure.in: Correct sed script so that options in quotes are not deleted.
...
2003-05-12 Michael Eager <eager@mvista.com>
* configure.in: Correct sed script so that options in quotes are not
deleted.
* configure: Rebuild.
From-SVN: r66750
2003-05-13 08:31:02 +02:00
Michael Koch
3b6b673dab
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.
From-SVN: r66749
2003-05-13 06:04:19 +00:00
GCC Administrator
250ab7c308
Daily bump.
...
From-SVN: r66744
2003-05-13 00:16:08 +00:00
Janis Johnson
c4501e6230
configure.in (HAVE_AS_TLS): Add powerpc and powerpc64 tests.
...
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.
Co-Authored-By: Alan Modra <amodra@bigpond.net.au>
Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
From-SVN: r66742
2003-05-12 22:30:31 +00:00
Neil Booth
6cfae22a6b
Makefile.in (stage2_build, [...]): Set BUILD_CC to the same as CC.
...
* Makefile.in (stage2_build, stage3_build, stage4_build)
: Set BUILD_CC to the same as CC.
From-SVN: r66740
2003-05-12 21:35:47 +00:00
Neil Booth
517958ba22
* alloc-pool.c (last_id): Put in ENABLE_CHECKING guards.
...
From-SVN: r66739
2003-05-12 21:26:11 +00:00
Andreas Schwab
746015842f
ia64.c (ia64_function_ok_for_sibcall): Mark 'exp' as unused.
...
* config/ia64/ia64.c (ia64_function_ok_for_sibcall): Mark 'exp'
as unused.
(bundling): Initialize 'pos'.
(ia64_expand_builtin): Initialize 'rmode'.
From-SVN: r66738
2003-05-12 21:17:12 +00:00
David Edelsohn
8c0a526482
* debug/debug.exp: Skip debug-[12].c at -O3 on non-Dwarf targets.
...
From-SVN: r66737
2003-05-12 17:16:55 -04:00
David Edelsohn
f08b4d8867
xcoff.h (ASM_OUTPUT_SKIP): Accept HOST_WIDE_INT.
...
* config/rs6000/xcoff.h (ASM_OUTPUT_SKIP): Accept HOST_WIDE_INT.
(ASM_OUTPUT_ALIGNED_COMMON): Same.
(ASM_OUTPUT_LOCAL): Same.
From-SVN: r66736
2003-05-12 17:06:36 -04:00
Paolo Carlini
1f61755cdb
1.cc: Remove unnecessary includes and unused string literals.
...
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.
From-SVN: r66735
2003-05-12 21:01:39 +00:00
Gerald Pfeifer
c627639b47
gcc_release (usage): Print more detailed description of all command-line options.
...
* gcc_release (usage): Print more detailed description of all
command-line options.
From-SVN: r66734
2003-05-12 21:01:03 +00:00
Michael Koch
36d4669b73
ByteBufferImpl.java: Reformatted.
...
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.
From-SVN: r66733
2003-05-12 20:45:20 +00:00
Jan Hubicka
d3e0dffb76
* varasm.c (output_constant): Fix underflow.
...
From-SVN: r66732
2003-05-12 19:54:26 +00:00
Mark Mitchell
96ef4bdc08
re PR other/10745 (Bug in gcc-3.3/gcc/configure)
...
PR other/10745
* configure.in: Correct detection of GNU ld version number.
* configure: Regenerated.
From-SVN: r66730
2003-05-12 18:51:34 +00:00