Richard Kenner [Sun, 27 Jan 2002 18:29:33 +0000 (18:29 +0000)]
emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode if not STRICT_ALIGNMENT.
* emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode
if not STRICT_ALIGNMENT.
* rtl.h (MEM_ALIGN): Likewise.
From-SVN: r49268
Craig Rodrigues [Sun, 27 Jan 2002 17:44:54 +0000 (17:44 +0000)]
invoke.texi (-fdump-translation-unit): Revert this patch: 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org>
2002-01-27 Craig Rodrigues <rodrigc@gcc.gnu.org>
* doc/invoke.texi (-fdump-translation-unit): Revert this
patch: 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org>
From-SVN: r49267
GCC Administrator [Sun, 27 Jan 2002 08:16:20 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r49265
Kazu Hirata [Sun, 27 Jan 2002 06:44:53 +0000 (06:44 +0000)]
h8300.md (define_constants): New.
* config/h8300/h8300.md (define_constants): New.
(anonymous patterns) Use defined constants appropriately.
From-SVN: r49264
Kazu Hirata [Sun, 27 Jan 2002 06:33:17 +0000 (06:33 +0000)]
* config/h8300/h8300.c (function_arg): Remove redundant code.
From-SVN: r49263
Richard Henderson [Sun, 27 Jan 2002 04:46:53 +0000 (20:46 -0800)]
sched-deps.c (reg_pending_uses_head): New.
* sched-deps.c (reg_pending_uses_head): New.
(reg_pending_barrier): Rename from reg_pending_sets_all.
(find_insn_list): Don't mark inline.
(find_insn_mem_list): Remove.
(add_dependence_list, add_dependence_list_and_free): New.
(flush_pending_lists): Replace only_write param with separate
for_read and for_write parameters. Update all callers. Use
add_dependence_list_and_free.
(sched_analyze_1): Do not add reg dependencies here; just set
the pending bits. Use add_dependence_list.
(sched_analyze_2): Likewise.
(sched_analyze_insn): Replace schedule_barrier_found with
reg_pending_barrier. Add all dependencies for pending reg
uses, sets, and clobbers.
(sched_analyze): Don't add reg dependencies for calls, just
set pending bits. Use regs_invalidated_by_call. Treat
sched_before_next_call as a normal list, not a fake insn.
(init_deps): No funny init for sched_before_next_call.
(free_deps): Free pending mems lists. Don't zero reg_last.
(init_deps_global): Init reg_pending_uses.
(finish_deps_global): Free it.
* sched-int.h (deps): Make in_post_call_group_p boolean. Update docs.
(find_insn_mem_list): Remove.
* sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New.
(propagate_deps): Use them. Zero temp mem lists.
From-SVN: r49262
Richard Henderson [Sun, 27 Jan 2002 04:18:12 +0000 (20:18 -0800)]
Makefile.in (CRTSTUFF_CFLAGS): New.
* Makefile.in (CRTSTUFF_CFLAGS): New.
(crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
* config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
crtstuff.c instead of alpha assembly version.
* crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN
not FORCE_{INIT,FINI}_SECTION_ALIGN.
(__do_global_dtors_aux): Mark used.
(frame_dummy, __do_global_ctors_aux): Mark used.
(fini_dummy, init_dummy): Remove.
* config/alpha/crtbegin.asm: Remove file.
* config/alpha/crtend.asm: Remove file.
* config/alpha/t-crtbe: Remove file.
* config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
(LINK_EH_SPEC): New.
* config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before
calling constructors.
* config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
* config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
* config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
CRT_END_INIT_DUMMY hack.
* config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
FORCE_{INIT,FINI}_SECTION_ALIGN.
* config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
FORCE_{INIT,FINI}_SECTION_ALIGN.
* config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
invocation sequence.
* config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
* doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
(FORCE_CODE_SECTION_ALIGN): New.
From-SVN: r49261
Richard Henderson [Sun, 27 Jan 2002 03:44:58 +0000 (19:44 -0800)]
Update copyright.
From-SVN: r49260
Richard Henderson [Sun, 27 Jan 2002 03:42:07 +0000 (19:42 -0800)]
* config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
From-SVN: r49259
Jason Thorpe [Sun, 27 Jan 2002 02:41:37 +0000 (02:41 +0000)]
configure.in (*-*-netbsd*): New.
* configure.in (*-*-netbsd*): New. Skip target-newlib,
target-libiberty, and target-libgloss. Skip Java-related
libraries if not supported for NetBSD on target CPU.
From-SVN: r49258
David Billinghurst [Sun, 27 Jan 2002 01:39:36 +0000 (01:39 +0000)]
f77-edit-i-in.f: New test
2002-01-26 David Billinghurst <David.Billinghurst@riotinto.com>
* g77.dg/f77-edit-i-in.f: New test
* g77.dg/f77-edit-i-out.f: New test
From-SVN: r49257
Richard Henderson [Sun, 27 Jan 2002 00:38:07 +0000 (16:38 -0800)]
alpha.c (alpha_sa_mask): Mark RA for unicos here too.
* config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
(alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.
From-SVN: r49256
Kazu Hirata [Sat, 26 Jan 2002 21:31:04 +0000 (21:31 +0000)]
h8300.md: Remove bit extraction patterns that cannot be triggered.
* config/h8300/h8300.md: Remove bit extraction patterns that
cannot be triggered.
Restrict each bit extraction pattern to a variant on which the
pattern is tested.
From-SVN: r49253
Joseph Myers [Sat, 26 Jan 2002 19:21:02 +0000 (19:21 +0000)]
* doc/include/texinfo.tex: Update to version 2002-01-04.07.
From-SVN: r49249
Toon Moene [Sat, 26 Jan 2002 16:14:39 +0000 (17:14 +0100)]
intrin.c (ffeintrin_cmp_name_): Correct comparison for intrinsics in intrinsic table (intrin.def).
2002-01-26 Toon Moene <toon@moene.indiv.nluug.nl>
* intrin.c (ffeintrin_cmp_name_): Correct comparison
for intrinsics in intrinsic table (intrin.def).
From-SVN: r49248
Kazu Hirata [Sat, 26 Jan 2002 15:29:52 +0000 (15:29 +0000)]
h8300.md: Remove bit test patterns that cannot be triggered.
* config/h8300/h8300.md: Remove bit test patterns that cannot
be triggered.
Restrict each bit test pattern to a variant on which the
pattern is tested.
From-SVN: r49247
Kaveh R. Ghazi [Sat, 26 Jan 2002 14:47:12 +0000 (14:47 +0000)]
builtins.c (expand_builtin_strncat): Remove redundant check for INTEGER_CST.
* builtins.c (expand_builtin_strncat): Remove redundant check for
INTEGER_CST.
From-SVN: r49246
Bryce McKinlay [Sat, 26 Jan 2002 08:35:34 +0000 (08:35 +0000)]
MemoryImageSource.java (newPixels(byte[], ColorModel, int, int): Remove empty "if" statement to work around compiler bug.
* java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
int, int): Remove empty "if" statement to work around compiler bug.
(newPixels(int[], ColorModel, int, int): Likewise.
From-SVN: r49245
GCC Administrator [Sat, 26 Jan 2002 08:16:14 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r49243
David O'Brien [Sat, 26 Jan 2002 07:24:57 +0000 (07:24 +0000)]
x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide default setting.
2002-01-25 David O'Brien <obrien@FreeBSD.org>
* config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
default setting.
* config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
existing setting.
Approved by: Richard Henderson <rth@redhat.com>
Message-ID: <
20020125174510.C18589@redhat.com>
From-SVN: r49242
Per Bothner [Sat, 26 Jan 2002 06:33:31 +0000 (22:33 -0800)]
ChangeLog entry for verify.cc.
From-SVN: r49241
Per Bothner [Sat, 26 Jan 2002 06:32:55 +0000 (22:32 -0800)]
verify.cc (verify_fail): Change from being a top-level function to e method of _Jv_BytecodeVerifier.
* verify.cc (verify_fail): Change from being a top-level function
to e method of _Jv_BytecodeVerifier. Emit current method name.
Pass the current verifier to type: and state: methods as needed,
for better error messages, and for resolve.
(resolve): Pass current class's loader for Class.forName and
_Jv_FindClassFromSignature, rather than using the default loader.
(various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
(get_type_val_for_signature): Make non-static.
(various methods): Pass start_PC implicitly, not explicitly.
From-SVN: r49240
Loren J. Rittle [Sat, 26 Jan 2002 03:26:14 +0000 (03:26 +0000)]
pthread1.cc: Use one condition variable per predicate instead of tricky use of one condition...
* testsuite/thread/pthread1.cc: Use one condition variable
per predicate instead of tricky use of one condition variable.
From-SVN: r49239
Geoffrey Keating [Sat, 26 Jan 2002 02:38:57 +0000 (02:38 +0000)]
Index: gcc/ChangeLog
* dbxout.c (dbxout_init): Use assemble_name rather than just
stripping off the first character.
(dbxout_source_file): Likewise.
Index: gcc/testsuite/ChangeLog
* gcc.dg/debug/debug.exp: New file.
* gcc.dg/debug/trivial.c: New file.
* gcc.dg/debug/
20000503-1.c: Moved from gcc.dg/.
* gcc.dg/debug/
20010207-1.c: Moved from gcc.dg/.
* gcc.dg/debug/
20011223-1.c: Moved from gcc.dg/.
* gcc.dg/debug/
20020104-2.c: Moved from gcc.dg/.
* gcc.dg/debug/debug-1.c: Moved from gcc.dg/.
* gcc.dg/debug/debug-2.c: Moved from gcc.dg/.
* gcc.dg/debug/debug-3.c: Moved from gcc.dg/.
* gcc.dg/debug/debug-4.c: Moved from gcc.dg/.
* gcc.dg/debug/debug-5.c: Moved from gcc.dg/.
* gcc.dg/debug/debug-6.c: Moved from gcc.dg/.
* gcc.dg/debug/dwarf2-1.c: Moved from gcc.dg/.
* gcc.dg/debug/dwarf2-2.c: Moved from gcc.dg/.
* gcc.dg/
20000503-1.c: Removed.
* gcc.dg/
20010207-1.c: Removed.
* gcc.dg/
20011223-1.c: Removed.
* gcc.dg/
20020104-2.c: Removed.
* gcc.dg/debug-1.c: Removed.
* gcc.dg/debug-2.c: Removed.
* gcc.dg/debug-3.c: Removed.
* gcc.dg/debug-4.c: Removed.
* gcc.dg/debug-5.c: Removed.
* gcc.dg/debug-6.c: Removed.
* gcc.dg/dwarf2-1.c: Removed.
* gcc.dg/dwarf2-2.c: Removed.
From-SVN: r49238
DJ Delorie [Sat, 26 Jan 2002 02:09:02 +0000 (21:09 -0500)]
sparc.c (sparc_emit_set_symbolic_const64): Compare using rtx_equal_p, not by comparing pointers.
* config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
using rtx_equal_p, not by comparing pointers.
From-SVN: r49237
Benjamin Kosnik [Sat, 26 Jan 2002 01:55:09 +0000 (01:55 +0000)]
fstream.tcc (filebuf::close()): Fix close for input streams.
2002-01-25 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/fstream.tcc (filebuf::close()): Fix close for input
streams.
(filebuf::_M_really_overflow): Match indeterminate and sync calls.
* testsuite/27_io/filebuf.cc: Compile only.
* testsuite/27_io/filebuf_members.cc: Move tests to here.
* testsuite/27_io/filebuf_virtuals.cc: And here.
Revert sungetc, sync changes for expected values.
* testsuite/27_io/filebuf-*: Move to...
* testsuite/27_io/filebuf_virtuals-*: ...here.
* testsuite/27_io/istream.cc: Compile only, activate.
* testsuite/27_io/ostream.cc: Same.
* testsuite/27_io/iostream.cc: New.
* testsuite/27_io/iostream_members.cc: New.
From-SVN: r49236
Steve Ellcey [Sat, 26 Jan 2002 01:29:55 +0000 (01:29 +0000)]
emit-rtl.c (gen_rtx_REG): Always return the same rtx for PIC_OFFSET_TABLE_REGNUM.
* emit-rtl.c (gen_rtx_REG): Always return the same rtx
for PIC_OFFSET_TABLE_REGNUM.
(init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.
From-SVN: r49234
David O'Brien [Sat, 26 Jan 2002 01:23:27 +0000 (01:23 +0000)]
config.gcc (x86_64-*-freebsd*): New target.
2002-01-25 David O'Brien <obrien@FreeBSD.org>
* config.gcc (x86_64-*-freebsd*): New target.
(x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
value.
(i[34567]86-*-freebsd*): Don't include svr4.h.
* config/i386/freebsd64.h: New file.
Approved by: Richard Henderson <rth@redhat.com>
Message-ID: <
20020125160119.B17943@redhat.com>
From-SVN: r49233
Douglas B Rupp [Fri, 25 Jan 2002 23:49:58 +0000 (18:49 -0500)]
x-vms (version): Make static.
* config/alpha/x-vms (version): Make static.
* config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
in previous checkin.
From-SVN: r49230
Douglas B Rupp [Fri, 25 Jan 2002 23:46:14 +0000 (18:46 -0500)]
Makefile.in (install-headers-cp): New target.
* Makefile.in (install-headers-cp): New target.
* config.gcc (alpha-dec-*vms*): Install headers with
install-headers-cp
From-SVN: r49229
Douglas B Rupp [Fri, 25 Jan 2002 23:42:28 +0000 (18:42 -0500)]
* install-sh: Use _inst.$$_ for temp file name.
From-SVN: r49228
Gerald Pfeifer [Fri, 25 Jan 2002 23:27:45 +0000 (00:27 +0100)]
gennews (files): Replace gcc-2.95/gcc-2.95.html...
* gennews (files): Replace gcc-2.95/gcc-2.95.html,
gcc-2.95/gcc-2.95.1.html, gcc-2.95/gcc-2.95.2.html,
and gcc-2.95/gcc-2.95.3.html by gcc-2.95/index.html.
From-SVN: r49226
Jan Hubicka [Fri, 25 Jan 2002 21:46:07 +0000 (22:46 +0100)]
unroll.c (unroll_loop): Lower final_value to nonmemory operand; avoid it's copies.
* unroll.c (unroll_loop): Lower final_value to nonmemory operand;
avoid it's copies.
From-SVN: r49224
Richard Kenner [Fri, 25 Jan 2002 20:45:48 +0000 (15:45 -0500)]
builtins.c (expand_builtin_strncpy): Use integer_zerop instead of compare_tree_int.
* builtins.c (expand_builtin_strncpy): Use integer_zerop instead
of compare_tree_int.
(expand_builtin_strncat): Likewise.
* c-decl.c (finish_struct): Use tree_low_cst.
* tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
* tree.c (compare_tree_int): Likewise.
From-SVN: r49222
Ulrich Weigand [Fri, 25 Jan 2002 20:22:31 +0000 (20:22 +0000)]
reload1.c (eliminate_regs_in_insn): Recognize frame pointer adjustments even if...
* reload1.c (eliminate_regs_in_insn): Recognize frame pointer
adjustments even if they are implemented by more than two insns.
From-SVN: r49221
Jan Hubicka [Fri, 25 Jan 2002 19:46:43 +0000 (20:46 +0100)]
df.c (df_ref_create, [...]): Kill BB argument.
* df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB argument.
* df.h (struct ref): Kill B.
(DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
* basic-block.h (PROP_EQUAL_NOTES): New flag.
* flow.c (propagate_one_insn): Use it.
(mark_used_regs): Handle NIL.
From-SVN: r49220
Geoffrey Keating [Fri, 25 Jan 2002 18:20:27 +0000 (18:20 +0000)]
stormy16.md (tablejump_pcrel): Use a MEM to help folding.
* config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
to help folding.
From-SVN: r49219
David Edelsohn [Fri, 25 Jan 2002 18:06:24 +0000 (18:06 +0000)]
gc.h (GC_INIT): Add DATASTART and DATAEND roots on AIX.
* include/gc.h (GC_INIT): Add DATASTART and DATAEND roots on AIX.
* include/private/gcconfig.h (RS6000): Add 64-bit AIX support.
Define USE_GENERIC_PUSH_REGS. Use AIX _data and _end symbols for
DATASTART and DATAEND roots.
* rs6000_mach_dep.s: Add function descriptor and traceback table.
From-SVN: r49218
David Edelsohn [Fri, 25 Jan 2002 17:52:43 +0000 (17:52 +0000)]
rs6000.md (prefetch): Make address V4SI mode so that the address is restricted to legitimate form for...
* rs6000.md (prefetch): Make address V4SI mode so that the address
is restricted to legitimate form for instruction.
From-SVN: r49217
Tom Tromey [Fri, 25 Jan 2002 17:25:26 +0000 (17:25 +0000)]
FlowLayout.java (layoutContainer): Correctly compute loop termination condition.
* java/awt/FlowLayout.java (layoutContainer): Correctly compute
loop termination condition.
* java/awt/GridLayout.java (getSize): Use `real_cols' to compute
width.
From-SVN: r49216
Bob Wilson [Fri, 25 Jan 2002 17:10:46 +0000 (17:10 +0000)]
install.texi (xtensa-*-elf): New target.
* doc/install.texi (xtensa-*-elf): New target.
(xtensa-*-linux*): New target.
* doc/contrib.texi: Add myself.
From-SVN: r49215
David Billinghurst [Fri, 25 Jan 2002 16:05:48 +0000 (16:05 +0000)]
pthread1.cc: Enable on cygwin.
* testsuite/thread/pthread1.cc: Enable on cygwin.
* testsuite/thread/pthread2.cc: Likewise.
* testsuite/thread/pthread3.cc: Likewise.
* testsuite/thread/pthread4.cc: Likewise.
* testsuite/thread/pthread5.cc: Likewise.
* testsuite/thread/pthread6.cc: Likewise.
From-SVN: r49214
Nick Clifton [Fri, 25 Jan 2002 11:44:12 +0000 (11:44 +0000)]
Allow any general purpose register to hold an SImode (or smaller) value.
From-SVN: r49213
Jakub Jelinek [Fri, 25 Jan 2002 11:22:52 +0000 (12:22 +0100)]
unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame* registry only.
* unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
registry only.
* crtstuff.c: Likewise.
From-SVN: r49212
Jakub Jelinek [Fri, 25 Jan 2002 11:20:29 +0000 (12:20 +0100)]
eh5.C: New test.
* g++.old-deja/g++.other/eh5.C: New test.
* g++.old-deja/g++.other/sibcall2.C: New test.
* g++.old-deja/g++.other/array9.C: New test.
* g++.old-deja/g++.other/typename2.C: New test.
* g++.old-deja/g++.other/crash60.C: New test.
* g++.old-deja/g++.other/conv9.C: New test.
* g++.old-deja/g++.other/mangle10.C: New test.
* g++.old-deja/g++.other/unchanging1.C: New test.
* g++.old-deja/g++.other/exprstmt1.C: New test.
* g++.old-deja/g++.other/inline23.C: New test.
* g++.old-deja/g++.eh/ia64-1.C: New test.
* g++.old-deja/g++.other/dwarf2-1.C: New test.
* g++.old-deja/g++.other/mangle11.C: New test.
* g++.old-deja/g++.other/reload1.C: New test.
* g++.old-deja/g++.other/static20.C: New test.
* g++.old-deja/g++.other/local-alloc1.C: New test.
* g++.old-deja/g++.other/conv8.C: New test.
* g++.old-deja/g++.other/stmtexpr2.C: New test.
* g++.old-deja/g++.other/storeexpr1.C: New test.
* g++.old-deja/g++.other/storeexpr2.C: New test.
* g++.dg/eh/template2.C: New test.
* g++.dg/warn/weak1.C: New test.
From-SVN: r49211
GCC Administrator [Fri, 25 Jan 2002 08:16:44 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r49210
Tom Tromey [Fri, 25 Jan 2002 07:06:06 +0000 (07:06 +0000)]
Shape.java: Merged with Classpath.
* java/awt/Shape.java: Merged with Classpath.
* java/awt/Scrollbar.java: Merged with Classpath.
From-SVN: r49208
Tom Tromey [Fri, 25 Jan 2002 07:05:38 +0000 (07:05 +0000)]
Updated copyright date
From-SVN: r49207
Tom Tromey [Fri, 25 Jan 2002 07:04:06 +0000 (07:04 +0000)]
Container.java (addNotify): Unconditionally call addNotifyContainerChildren and superclass addNotify.
* java/awt/Container.java (addNotify): Unconditionally call
addNotifyContainerChildren and superclass addNotify.
From-SVN: r49206
Benjamin Kosnik [Fri, 25 Jan 2002 06:36:32 +0000 (06:36 +0000)]
ostream_inserter_char.cc (test07): New.
2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/27_io/ostream_inserter_char.cc (test07): New.
2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/basic_ios.h (basic_ios::_M_check_facet): Make
const, tweak.
(basic_ios::fill(char_type)): Use fill().
* include/bits/basic_ios.tcc (basic_ios::widen): Use _M_check_facet.
(basic_ios::narrow): Same.
(basic_ios::_M_cache_facets): Explicitly set cached facets to zero
if they are invalid.
(basic_ios::init): Comment.
* testsuite/27_io/ios_init.cc (test02): New.
From-SVN: r49205
Kazu Hirata [Fri, 25 Jan 2002 06:12:28 +0000 (06:12 +0000)]
h8300.md (negation patterns): Tighten predicates to register_operand.
* config/h8300/h8300.md (negation patterns): Tighten
predicates to register_operand.
From-SVN: r49204
Tom Tromey [Fri, 25 Jan 2002 05:44:03 +0000 (05:44 +0000)]
ColorModel.java (getAlpha(Object)): Call getAlpha, not getBlue.
* java/awt/image/ColorModel.java (getAlpha(Object)): Call
getAlpha, not getBlue.
From-SVN: r49203
Bryce McKinlay [Fri, 25 Jan 2002 04:42:12 +0000 (04:42 +0000)]
Fix up last entry.
From-SVN: r49202
Bryce McKinlay [Fri, 25 Jan 2002 04:39:04 +0000 (04:39 +0000)]
PixelGrabber.java (grabPixels()): Call grabPixels(0).
* java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
* java/awt/image/PixelGrabber.java (grabPixels(long)): Wait to be
notified that the ImageProducer has completed.
From-SVN: r49201
Aldy Hernandez [Fri, 25 Jan 2002 04:32:46 +0000 (04:32 +0000)]
loop.c (emit_prefetch_instructions): Use the prefetch insn's mode, not Pmode.
2002-01-24 Aldy Hernandez <aldyh@redhat.com>
* loop.c (emit_prefetch_instructions): Use the prefetch insn's
mode, not Pmode.
* builtins.c (expand_builtin_prefetch): Same.
From-SVN: r49200
Phil Edwards [Fri, 25 Jan 2002 04:14:40 +0000 (04:14 +0000)]
stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
2002-01-24 Phil Edwards <pme@gcc.gnu.org>
* include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
* include/bits/stl_algo.h: Include stl_tempbuf.h.
* include/ext/memory: Do not include stl_tempbuf.h.
(temporary_buffer): Add doxygen hook.
(__get_temporary_buffer, get_temporary_buffer,
return_temporary_buffer): Move back to std:: header...
* include/std/std_memory.h: ...here. Do not include stl_tempbuf.h.
* include/ext/rope: Do not include stl_tempbuf.h.
* include/ext/stl_hashtable.h: Likewise.
* include/std/std_algorithm.h: Likewise.
* testsuite/20_util/temporary_buffer.cc: New file.
From-SVN: r49199
Bryce McKinlay [Fri, 25 Jan 2002 02:53:37 +0000 (02:53 +0000)]
natObject.cc (X86 compare_and_swap): Use +m constraint.
2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
From-SVN: r49198
Hans-Peter Nilsson [Fri, 25 Jan 2002 02:53:15 +0000 (02:53 +0000)]
scanasm.exp (scan-assembler-dem, [...]): Remove first, non-varying, argument.
* lib/scanasm.exp (scan-assembler-dem, scan-assembler-dem-not):
Remove first, non-varying, argument.
From-SVN: r49197
Jason Thorpe [Thu, 24 Jan 2002 22:25:17 +0000 (22:25 +0000)]
MAINTAINERS (Write After Approval): Move my contact info from here...
* MAINTAINERS (Write After Approval): Move my contact info
from here...
(OS Port Maintainers): ...to here (netbsd).
From-SVN: r49196
Andrew Pollard [Thu, 24 Jan 2002 21:14:41 +0000 (21:14 +0000)]
ios_base.h: Use _Atomic_word for reference counts.
libstdc++/5432
* include/bits/ios_base.h: Use _Atomic_word for reference counts.
* include/bits/localefwd.h: Likewise.
Also use for std::locale::id::_S_highwater.
* src/ios.cc (ios_base::xalloc): Use _Atomic_word.
* src/locale.cc: Support new usage of _Atomic_word.
(std::locale::classic): Guard entire function against reentry.
* src/localename.cc: Support new usage of _Atomic_word.
From-SVN: r49195
Alexandre Oliva [Thu, 24 Jan 2002 20:52:10 +0000 (20:52 +0000)]
sh.md (sym_label2reg): Make sure all CONSTs have modes.
* config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
modes.
From-SVN: r49192
Benjamin Kosnik [Thu, 24 Jan 2002 20:46:34 +0000 (20:46 +0000)]
num_put_members_wchar_t.cc (test03): Use _GLIBCPP_HAVE_SETENV.
2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
_GLIBCPP_HAVE_SETENV.
* testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
* testsuite/22_locale/collate_members_char.cc (test02): Same.
* testsuite/22_locale/ctype_members_char.cc (test03): Same.
* testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
* testsuite/22_locale/messages_members_char.cc (test02): Same.
* testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
* testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
* testsuite/22_locale/money_put_members_char.cc (test04): Same.
* testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
* testsuite/22_locale/num_get_members_char.cc (test03): Same.
* testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
* testsuite/22_locale/numpunct_members_char.cc (test02): Same.
* testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
* testsuite/22_locale/time_get_members_char.cc (test07): Same.
* testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
* testsuite/22_locale/time_put_members_char.cc (test03): Same.
* testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
* testsuite/22_locale/num_put_members_char.cc (test03): Same.
* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* config.h.in: Regenerate.
From-SVN: r49191
Per Bothner [Thu, 24 Jan 2002 20:10:17 +0000 (12:10 -0800)]
Improved ChangeLog entry for verify.cc (is_assignable_from_slow).
From-SVN: r49190
Per Bothner [Thu, 24 Jan 2002 20:02:21 +0000 (12:02 -0800)]
verify.cc (is_assignable_from_slow): If source is an interface, we must also check the superclass.
* verify.cc (is_assignable_from_slow): If source is an interface,
we must also check the superclass.
From-SVN: r49189
Kazu Hirata [Thu, 24 Jan 2002 19:48:53 +0000 (19:48 +0000)]
h8300.c (print_operand): Remove support for operand character 'A'.
* config/h8300/h8300.c (print_operand): Remove support for
operand character 'A'.
* config/h8300/h8300.md (three anonymous patterns): Replace
operand character 'A' with either 'T' or 'S'.
From-SVN: r49188
Kazu Hirata [Thu, 24 Jan 2002 19:42:39 +0000 (19:42 +0000)]
h8300.c (print_operand): Remove support for operand character 'U'.
* config/h8300/h8300.c (print_operand): Remove support for
operand character 'U'.
From-SVN: r49187
Andris Pavenis [Thu, 24 Jan 2002 18:05:40 +0000 (20:05 +0200)]
* config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
From-SVN: r49186
Tom Tromey [Thu, 24 Jan 2002 16:44:37 +0000 (16:44 +0000)]
* gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
From-SVN: r49184
Nick Clifton [Thu, 24 Jan 2002 16:27:51 +0000 (16:27 +0000)]
Allow SImode values to be assigned to the stack pointer.
From-SVN: r49183
Hartmut Penner [Thu, 24 Jan 2002 12:30:37 +0000 (12:30 +0000)]
emit_rtl.c (gen_lowpart_common): Conversion from const_int to const_double needs to be done right for big-endian...
* emit_rtl.c (gen_lowpart_common): Conversion from const_int
to const_double needs to be done right for big-endian systems.
From-SVN: r49180
Jason Merrill [Thu, 24 Jan 2002 10:42:55 +0000 (05:42 -0500)]
sparc.md (call-jump peepholes): Pass the right insn to can_throw_internal.
* config/sparc/sparc.md (call-jump peepholes): Pass the right insn
to can_throw_internal.
From-SVN: r49177
GCC Administrator [Thu, 24 Jan 2002 08:16:43 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r49175
Richard Henderson [Thu, 24 Jan 2002 07:36:18 +0000 (23:36 -0800)]
fold-const.c (fold): Change UINT_MAX test to check vs precision rather than TYPE_MAX_VALUE.
* fold-const.c (fold): Change UINT_MAX test to check vs precision
rather than TYPE_MAX_VALUE. Fix indentation and a bogus negation.
From-SVN: r49174
Loren J. Rittle [Thu, 24 Jan 2002 07:35:11 +0000 (07:35 +0000)]
pthread1.cc: New test.
* testsuite/thread/pthread1.cc: New test.
* testsuite/thread/pthread2.cc: New test adapted from libstdc++/5347.
* testsuite/thread/pthread3.cc: Likewise.
* testsuite/thread/pthread4.cc: New test adapted from
http://gcc.gnu.org/ml/gcc-bugs/2002-01/msg00679.html
* testsuite/thread/pthread5.cc: New test adapted from libstdc++/5464.
* testsuite/thread/pthread6.cc: New test adapted from libstdc++/5444.
From-SVN: r49173
Tom Tromey [Thu, 24 Jan 2002 06:39:29 +0000 (06:39 +0000)]
BorderLayout.java (addLayoutComponent): Added missing `else'.
* java/awt/BorderLayout.java (addLayoutComponent): Added missing
`else'.
From-SVN: r49172
Tom Tromey [Thu, 24 Jan 2002 06:31:02 +0000 (06:31 +0000)]
Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
* Makefile.am (awt_java_source_files): Added new files.
* java/awt/Toolkit.java: Merged with Classpath.
* java/awt/PrintGraphics.java: New file from Classpath.
* java/awt/PrintJob.java: New file from Classpath.
* java/awt/datatransfer/Clipboard.java: New file from Classpath.
* java/awt/datatransfer/ClipboardOwner.java: New file from
Classpath.
* java/awt/datatransfer/DataFlavor.java: New file from Classpath.
* java/awt/datatransfer/FlavorMap.java: New file from Classpath.
* java/awt/datatransfer/MimeTypeParseException.java: New file from
Classpath.
* java/awt/datatransfer/StringSelection.java: New file from
Classpath.
* java/awt/datatransfer/SystemFlavorMap.java: New file from
Classpath.
* java/awt/datatransfer/Transferable.java: New file from
Classpath.
* java/awt/datatransfer/UnsupportedFlavorException.java: New file
from Classpath.
From-SVN: r49171
Alexandre Oliva [Thu, 24 Jan 2002 06:16:58 +0000 (06:16 +0000)]
sh.md (symGOT_load, [...]): New expands.
* config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
(symGOT2reg): Use them, then set as GOT value as unchanging.
(symGOTOFF2reg): Set REG_EQUAL note. Use a different pseudo
as a temporary, if possible.
(symPLT_label2reg): Enclose (pc) in UNSPEC_PIC. Emit
sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
From-SVN: r49170
Tom Tromey [Thu, 24 Jan 2002 05:51:34 +0000 (05:51 +0000)]
Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
* Makefile.am (awt_java_source_files): Added new files.
* java/awt/image/AreaAveragingScaleFilter.java: New file from
Classpath.
* java/awt/image/CropImageFilter.java: New file from Classpath.
* java/awt/image/FilteredImageSource.java: New file from
Classpath.
* java/awt/image/ImageFilter.java: New file from Classpath.
* java/awt/image/MemoryImageSource.java: New file from Classpath.
* java/awt/image/PixelGrabber.java: New file from Classpath.
* java/awt/image/RGBImageFilter.java: New file from Classpath.
* java/awt/image/ReplicateScaleFilter.java: New file from
Classpath.
* java/awt/image/ImageProducer.java: Replaced with Classpath
version.
* java/awt/image/ImageObserver.java: Replaced with Classpath
version.
* java/awt/image/ImageConsumer.java: Replaced with Classpath
version.
* java/awt/GridBagConstraints.java (clone): Catch
CloneNotSupportedException.
From-SVN: r49169
Kazu Hirata [Thu, 24 Jan 2002 05:02:35 +0000 (05:02 +0000)]
h8300.md: Fix xorqi and xorqi so that they will accept to accept 0x80 as operands[2].
* config/h8300/h8300.md: Fix xorqi and xorqi so that they will
accept to accept 0x80 as operands[2].
From-SVN: r49168
Alexandre Oliva [Thu, 24 Jan 2002 04:42:12 +0000 (04:42 +0000)]
* config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
From-SVN: r49167
Richard Henderson [Thu, 24 Jan 2002 04:01:11 +0000 (20:01 -0800)]
alpha.md (call_value_osf_1_er peepholes): Fix typo.
* config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
* gcc.dg/inline-2.c: New.
* lib/scanasm.exp (scan-assembler): Remove optional vmessage arg.
Add optional target arg. Check number of arguments.
(scan-assembler-not, scan-assembler-dem): Likewise.
(scan-assembler-dem-not): Likewise.
From-SVN: r49166
Richard Henderson [Thu, 24 Jan 2002 03:34:14 +0000 (19:34 -0800)]
* gcc.dg/
20020122-4.c: Use multiple outputs on the asm.
From-SVN: r49165
Zack Weinberg [Thu, 24 Jan 2002 03:31:34 +0000 (03:31 +0000)]
crash8.C: Don't expect an error on line 12.
* g++.old-deja/g++.brendan/crash8.C: Don't expect an error on
line 12.
* g++.old-deja/g++.brendan/parse3.C,
g++.old-deja/g++.other/crash26.C,
g++.old-deja/g++.other/crash28.C,
g++.old-deja/g++.other/crash29.C,
g++.old-deja/g++.other/crash30.C,
g++.old-deja/g++.other/crash35.C: Remove XFAILs where appropriate.
From-SVN: r49164
Zack Weinberg [Thu, 24 Jan 2002 03:27:30 +0000 (03:27 +0000)]
Make-lang.in (parse.c): Adjust expected number of shift-reduce conflicts.
* Make-lang.in (parse.c): Adjust expected number of
shift-reduce conflicts.
(decl.o): Depend on diagnostic.h.
* decl.c: Include diagnostic.h.
(grokdeclarator): Check for null pointer.
(finish_function): Don't abort when
current_binding_level->parm_flag != 1, if errors have
occurred; throw away the statement tree and extra binding
levels, and continue.
* lex.c (note_list_got_semicolon): Check for null pointer.
* method.c (hack_identifier): Just return error_mark_node if
value is error_mark_node.
* parse.y (primary: TYPEID(type_id)): No need to use
TYPE_MAIN_VARIANT here.
(handler_seq): Accept an empty list of catch clauses and
generate a fake handler block to avoid later crashes.
(ansi_raise_identifier): Accept the error token too.
* semantics.c (begin_class_definition,
finish_class_definition): Check for error_mark_node.
From-SVN: r49163
Aldy Hernandez [Thu, 24 Jan 2002 01:32:12 +0000 (01:32 +0000)]
c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
2002-01-16 Aldy Hernandez <aldyh@redhat.com>
* c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
(parmlist_or_identifiers_1): Verify that only a parmlist follows
an attribute.
* gcc.dg/
20020115-1.c: New.
From-SVN: r49161
Richard Henderson [Thu, 24 Jan 2002 01:31:13 +0000 (17:31 -0800)]
re PR libstdc++/5198 (3.0.3 linux x m68k build fail: invalid opcodes in c++locale.cc)
PR libstdc++/5198
* config/cpu/m68k/bits/atomicity.h (__exchange_and_add): Only use
CAS on the cpu variants that support it. Add versions that use
TAS and that disable interrupts.
(__atomic_add): Use __exchange_and_add to guarantee atomicity.
From-SVN: r49160
Richard Henderson [Thu, 24 Jan 2002 01:21:48 +0000 (17:21 -0800)]
t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
* config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
(MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
(MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
* config/m68k/t-m68kelf: Likewise.
From-SVN: r49159
Richard Henderson [Thu, 24 Jan 2002 01:16:23 +0000 (17:16 -0800)]
* expr.c (move_by_pieces_1): Extend size before negation.
From-SVN: r49158
Tom Tromey [Thu, 24 Jan 2002 01:05:12 +0000 (01:05 +0000)]
Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
* Makefile.am (awt_java_source_files): Added new files.
* java/awt/image/AreaAveragingScaleFilter.java: New file from
Classpath.
* java/awt/image/CropImageFilter.java: New file from Classpath.
* java/awt/image/FilteredImageSource.java: New file from
Classpath.
* java/awt/image/ImageFilter.java: New file from Classpath.
* java/awt/image/MemoryImageSource.java: New file from Classpath.
* java/awt/image/PixelGrabber.java: New file from Classpath.
* java/awt/image/RGBImageFilter.java: New file from Classpath.
* java/awt/image/ReplicateScaleFilter.java: New file from
Classpath.
* java/awt/image/ImageProducer.java: Replaced with Classpath
version.
* java/awt/image/ImageObserver.java: Replaced with Classpath
version.
* java/awt/image/ImageConsumer.java: Replaced with Classpath
version.
* java/awt/GridBagConstraints.java (clone): Catch
CloneNotSupportedException.
From-SVN: r49157
Benjamin Kosnik [Wed, 23 Jan 2002 23:35:18 +0000 (23:35 +0000)]
[multiple changes]
2002-01-23 Matt Kraai <kraai@alumni.cmu.edu>
* include/bits/locale_facets.tcc: Remove old comments.
2002-01-23 Andreas Tobler <toa@pop.agri.ch>
* include/bits/locale_facets.tcc (__convert_to_v): Change template
parameter to _Tv.
(__convert_from_v): Same.
From-SVN: r49156
Bob Wilson [Wed, 23 Jan 2002 21:03:53 +0000 (21:03 +0000)]
elf.h: New file.
* config/xtensa/elf.h: New file.
* config/xtensa/lib1funcs.asm: New file.
* config/xtensa/lib2funcs.S: New file.
* config/xtensa/linux.h: New file.
* config/xtensa/t-xtensa: New file.
* config/xtensa/xtensa-config.h: New file.
* config/xtensa/xtensa-protos.h: New file.
* config/xtensa/xtensa.c: New file.
* config/xtensa/xtensa.h: New file.
* config/xtensa/xtensa.md: New file.
* config.gcc (xtensa-*-elf*): New target.
(xtensa-*-linux*): New target.
* cse.c (canon_hash): Compare rtx pointers instead of register
numbers. This is required for the Xtensa port.
* integrate.c (copy_insn_list): Handle case where the static
chain is in memory and the memory address has to be copied to
a register.
* doc/invoke.texi (Option Summary): Add Xtensa options.
(Xtensa Options): New node.
* doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
* gcc.c-torture/compile/
20001226-1.x: xfail for Xtensa.
From-SVN: r49155
Benjamin Kosnik [Wed, 23 Jan 2002 20:38:59 +0000 (20:38 +0000)]
locale_facets.h (num_get::_M_extract_int): Change prototype.
2002-01-23 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.h (num_get::_M_extract_int): Change
prototype.
* include/bits/locale_facets.tcc (num_get::_M_extract_int): Remove
__max_digits checks, adjust arguments.
(num_get::do_get(*)): Changeup.
From-SVN: r49154
Per Bothner [Wed, 23 Jan 2002 19:42:18 +0000 (11:42 -0800)]
natField.cc (setAddr): New function.
* java/lang/reflect/natField.cc (setAddr): New function.
Calls getAddr and then checks that the field isn't final.
(setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
(set): Call setAddr before check that new value has right type,
to better match specified semantics.
From-SVN: r49153
Zack Weinberg [Wed, 23 Jan 2002 19:41:15 +0000 (19:41 +0000)]
typeck2.c (friendly_abort): Delete definition.
* typeck2.c (friendly_abort): Delete definition.
* cp-tree.h (friendly_abort): Don't prototype.
(my_friendly_assert): Use fancy_abort.
From-SVN: r49152
Zack Weinberg [Wed, 23 Jan 2002 19:34:08 +0000 (19:34 +0000)]
diagnostic.c (internal_error): Do ICE suppression only when ENABLE_CHECKING is not defined.
* diagnostic.c (internal_error): Do ICE suppression only
when ENABLE_CHECKING is not defined.
From-SVN: r49151
Zack Weinberg [Wed, 23 Jan 2002 19:30:49 +0000 (19:30 +0000)]
c-typeck.c (require_complete_type): Return error_mark_node if type is error_mark_node.
* c-typeck.c (require_complete_type): Return error_mark_node
if type is error_mark_node.
From-SVN: r49150
Craig Rodrigues [Wed, 23 Jan 2002 19:07:26 +0000 (19:07 +0000)]
cp-tree.h (my_friendly_abort): Remove.
2002-01-23 Craig Rodrigues <rodrigc@gcc.gnu.org>
* cp-tree.h (my_friendly_abort): Remove.
From-SVN: r49149
Janis Johnson [Wed, 23 Jan 2002 18:54:27 +0000 (18:54 +0000)]
* gcc.dg/
20020122-3.c: New test.
From-SVN: r49148
Jakub Jelinek [Wed, 23 Jan 2002 18:52:08 +0000 (19:52 +0100)]
spew.c (pending_inlines, [...]): Make static.
* spew.c (pending_inlines, pending_inlines_tail,
processing_these_inlines): Make static.
(mark_pending_inlines): Remove static.
(begin_parsing_inclass_inline): If in function, save pi
for GC to cp_function_chain->unparsed_inlines instead.
(process_next_inline): Likewise.
* cp-tree.h (struct cp_language_function): Add unparsed_inlines.
(mark_pending_inlines): Add prototype.
* decl.c (spew_debug): Remove unused extern.
(mark_lang_function): Call mark_pending_inlines.
* g++.dg/other/gc1.C: New test.
From-SVN: r49147
Janis Johnson [Wed, 23 Jan 2002 18:48:13 +0000 (18:48 +0000)]
toplev.c (process_options): Disable -fprefetch-loop-arrays with -Os and issue a warning.
* toplev.c (process_options): Disable -fprefetch-loop-arrays with
-Os and issue a warning.
From-SVN: r49146