Commit Graph

55779 Commits

Author SHA1 Message Date
Jeff Sturm
b24faf1e3b re PR java/13733 (The result of an assignment operator is the LHS after assignment, not the RHS)
PR java/13733
* libjava.compile/PR13733.java: New file.
* libjava.compile/PR13733.xfail: New file.

From-SVN: r76389
2004-01-23 00:21:05 +00:00
GCC Administrator
8755a8c7bb Daily bump.
From-SVN: r76386
2004-01-23 00:16:13 +00:00
Jeff Sturm
5238574fae re PR java/13733 (The result of an assignment operator is the LHS after assignment, not the RHS)
PR java/13733
* parse.y (patch_assignment): Don't modify lhs_type for
reference assignments.

From-SVN: r76382
2004-01-22 23:45:10 +00:00
Ulrich Weigand
6ed0ecaf30 cls_uint.c (cls_ret_uint_fn): Treat result value as of type ffi_arg, not unsigned int.
* testsuite/libffi.call/cls_uint.c (cls_ret_uint_fn): Treat result
	value as of type ffi_arg, not unsigned int.

From-SVN: r76377
2004-01-22 23:05:13 +00:00
Rainer Orth
d0d969f8e7 config.gcc (mips-sgi-irix6*o32): Removed.
* config.gcc (mips-sgi-irix6*o32): Removed.
	* config/mips/iris6-o32-as.h: Likewise.
	* config/mips/iris6-o32-gas.h: Likewise.
	* config/mips/iris6-o32.h: Likewise.

From-SVN: r76376
2004-01-22 23:02:12 +00:00
Jan Hubicka
7cf240d54c cfgcleanup.c (first_pass): New static variable.
* cfgcleanup.c (first_pass): New static variable.
	(try_forward_edges):  Add work limiting check for threading.
	(try_crossjump_bb):  Add work limiting check for crossjumping.
	(try_optimize_cfg):  Maintain first pass variable.

From-SVN: r76375
2004-01-22 22:33:51 +00:00
Bob Wilson
b16417d615 xtensa.c (function_arg): Generalize logic so that it handles complex and vector modes.
* config/xtensa/xtensa.c (function_arg): Generalize logic so that it
	handles complex and vector modes.

From-SVN: r76373
2004-01-22 21:42:33 +00:00
Arnaud Vandyck
0dce1c0fcb 2004-01-22 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
Michael Koch  <konqueror@gmx.de>

	* javax/swing/table/DefaultTableCellRenderer.java
	(DefaultTableCellRenderer): Added javadoc for the class and for
	the constructor, Border instance, create an EmptyBorder.
	(UIResource): Removed the comment at the end of the class
	(setForeground): New method.
	(setBackground): New method.
	(updateUI): New method.
	(getTableCellRendererComponent): Rewritten with the help of
	dvholten and Stephane Meslin-Weber.
	(validate): New method.
	(repaint): New method.
	(firePropertyChange): New method.
	(setValue): New method.

Co-Authored-By: Michael Koch <konqueror@gmx.de>

From-SVN: r76372
2004-01-22 21:41:53 +00:00
Kazu Hirata
c8796654d2 h8300.h (REG_OK_FOR_INDEX_P_STRICT): Remove.
* config/h8300/h8300.h (REG_OK_FOR_INDEX_P_STRICT): Remove.
	(REG_OK_FOR_BASE_P_STRICT): Likewise.
	(STRICT): Likewise.

From-SVN: r76370
2004-01-22 21:21:13 +00:00
Daniel Jacobowitz
10176e2852 * c-semantics.c (genrtl_while_stmt, genrtl_do_stmt_1)
(genrtl_for_stmt): Remove emit_nop calls.

From-SVN: r76368
2004-01-22 20:23:27 +00:00
Thomas Fitzsimmons
9deab0b79f 2004-01-22 Thomas Fitzsimmons <fitzsim@redhat.com>
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
	(connectJObject): Replace printf calls with g_assert statements.
	Move property-notify-event signal connection to ...
	(connectSignals): Connect property-notify-event signal.  Iterate
	through the vbox's children to find layout.

From-SVN: r76367
2004-01-22 20:17:43 +00:00
DJ Delorie
398b3debc4 Makefile.in: Convert to ./ throughout.
* Makefile.in: Convert to ./ throughout.  Rebuild dependencies
with explicit build rules.
(VPATH): Remove.
(.c.o): Poison.
* configure.ac (pexecute, LIBOBJS): Add ./ .
* maint-tool: Build dependencies with explicit rules.

From-SVN: r76366
2004-01-22 14:10:56 -05:00
John David Anglin
7bff636b07 re PR target/13713 (gnat1 segmentation fault in stage 3 on hppa-linux)
PR target/13713
	PR target/13324
	* pa.md (movstrsi_prereload, movstrsi_postreload, movstrdi_prereload,
	movstrdi_postreload, clrstrsi_prereload, clrstrsi_postreload,
	clrstrdi_prereload, clrstrdi_postreload): Fix constraints.

From-SVN: r76365
2004-01-22 17:51:25 +00:00
Daniel Jacobowitz
980e61bb2e arm.c: Include "debug.h".
* config/arm/arm.c: Include "debug.h".
	(thumb_pushpop): Take two new arguments.  Add some commentary.
	Output frame information when pushing.
	(thumb_exit, thumb_unexpanded_epilogue): Update calls to
	thumb_pushpop.
	(thumb_output_function_prologue): Likewise.  Accumulate a CFA
	offset, and pass it to thumb_pushpop.  Output CFI information.
	(thumb_expand_prologue): Add some frame-related markers and notes.

From-SVN: r76362
2004-01-22 17:00:56 +00:00
Ulrich Weigand
0067d1217b s390.c (s390_frame_info): Allow large frame sizes for TARGET_64BIT.
* config/s390/s390.c (s390_frame_info): Allow large frame sizes
	for TARGET_64BIT.
	(s390_arg_frame_offset): Change return type to HOST_WIDE_INT.
	* config/s390/s390-protos.h (s390_arg_frame_offset): Likewise.

From-SVN: r76360
2004-01-22 16:38:14 +00:00
Paolo Carlini
ba46e66a8b locale_facets.tcc (money_put::do_put(..., long double)): Use the basic_string constructor for char arrays...
2004-01-22  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/locale_facets.tcc
	(money_put::do_put(..., long double)): Use the basic_string
	constructor for char arrays, not that for C-strings, to pass
	__digits to do_put(..., const string_type&): __ws isn't
	null-terminated.

From-SVN: r76355
2004-01-22 14:25:37 +00:00
Paolo Carlini
7bb9b33b3b basic_string.h (_M_replace_safe): Change signatures to take size_types and const _CharT*.
2004-01-22  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/basic_string.h (_M_replace_safe): Change
	signatures to take size_types and const _CharT*.
	(_M_replace_aux): Likewise, takes size_types instead of
	iterators.
	(append(size_type, _CharT)): Update call.
	(assign(size_type, _CharT)): Ditto.
	(replace(iterator, iterator, size_type, _CharT)): Ditto.
	(_M_replace_dispatch(iterator, iterator, _Integer,
	_Integer, __true_type)): Ditto.
	* include/bits/basic_string.tcc (assign(const _CharT*,
	size_type)): Ditto.
	(insert(size_type, const _CharT*, size_type)): Ditto.
	(replace(size_type, size_type, const _CharT*,
	size_type)): Ditto.
	(_M_replace(iterator, iterator, _InputIterator,
	_InputIterator)): Ditto.
	(append(const basic_string&)): Ditto.
	(append(const basic_string&, size_type, size_type): Ditto.
	(append(const _CharT*, size_type): Ditto.
	(_M_replace_safe, _M_replace_safe): Change definitions
	accordingly, simplify.
	* string-inst.cc (_M_replace_safe): Don't instantiate.

From-SVN: r76353
2004-01-22 12:46:28 +00:00
Roger Sayle
bb51e27026 rtlanal.c (subreg_lsb_1): New function split out from subreg_lsb.
* rtlanal.c (subreg_lsb_1): New function split out from subreg_lsb.
	(subreg_lsb): Change to call new subreg_lsb_1 helper function.
	* rtl.h (subreg_lsb_1): Prototype here.
	* simplify-rtx.c (simplify_subreg): Optimize subregs of zero and
	sign extensions.

Co-Authored-By: Paolo Bonzini <bonzini@gnu.org>

From-SVN: r76352
2004-01-22 12:44:54 +00:00
Kazu Hirata
9c49953c15 tm.texi (CASE_VECTOR_PC_RELATIVE): Mention that the macro need not be defined if...
* doc/tm.texi (CASE_VECTOR_PC_RELATIVE): Mention that the
	macro need not be defined if jump-tables should contain
	relative addresses only when -fPIC or -fPIC is in effect.

From-SVN: r76350
2004-01-22 11:50:01 +00:00
Jan Hubicka
c582d54a47 alias.c (reg_base_value): Turn into varray.
* alias.c (reg_base_value): Turn into varray.
	(reg_base_value_size): Kill.
	(old_reg_base_value): New deletable varray.
	(alias_invariant_size): New variable.
	(REG_BASE_VALUE): Update to use varray.
	(find_base_value): Likewise.
	(record_set): Likewise.
	(record_base_value): Likewise.
	(memrefs_conflict_p): Likewise.
	(record_set): Likewise
	(record_base_value): Likewise.
	(memrefs_conflict_p): Use alias_invariant_size.
	(init_alias_analysis): Use varray; set alias_invariant_size;
	rescale other arrays to be sized by maxreg.
	(end_alias_analysis): Save reg_base_value; clear alias_invariant_size.

From-SVN: r76349
2004-01-22 11:35:58 +00:00
Eric Botcazou
8a98812c68 sparc.c (function_arg_slotno): Use FLOAT_TYPE_P to detect FP fields in structures.
* config/sparc/sparc.c (function_arg_slotno): Use
	FLOAT_TYPE_P to detect FP fields in structures.
	(function_arg_record_value_1): Likewise.
	(function_arg_record_value_2): Likewise.

From-SVN: r76346
2004-01-22 11:15:37 +00:00
Jan Hubicka
0de456a50f function.c (allocate_struct_function): Do not initialize expr, emit and varasm.
* function.c (allocate_struct_function): Do not initialize expr, emit
	and varasm.
	(prepare_function_start): Do it here.
	* c-parse.in (maybe_type_qual): Do not produce line number notes.

From-SVN: r76345
2004-01-22 10:52:20 +00:00
Graydon Hoare
ca3bb0c283 2004-01-22 Graydon Hoare <graydon@redhat.com>
* gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:
	* gnu/java/awt/peer/gtk/GdkGlyphVector.java:
	Predicate static initialization on GtkToolkit.useGraphics2D().
	* java/awt/Component.java (processPaintEvent): Consume event.
	* javax/swing/AbstractButton.java: Reimplement, document.
	* javax/swing/DefaultButtonModel.java: Reimplement, document.
	* javax/swing/JComponent.java (paint): Use double buffer.
	(listenerList): Enable member.
	* javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
	* javax/swing/JToggleButton.java
	(JToggleButton): Modify model constructor.
	* javax/swing/SwingUtilities.java
	(layoutCompoundLabel): Adjust arithmetic.
	* javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
	* javax/swing/plaf/basic/BasicGraphicsUtils.java
	(getPreferredButtonSize): Include margins in calculation.
	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
	(Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
	Receive up events from subordinate layout component.

From-SVN: r76344
2004-01-22 09:54:19 +00:00
Eric Botcazou
1fd0507398 re PR target/13559 (deviation from the psABI for small structures)
PR target/13559
	* config/sparc/sparc.c (function_arg_record_value_3): Revert
	to 'word_mode' once the first slot has been filled.

From-SVN: r76342
2004-01-22 09:33:24 +00:00
Eric Botcazou
b2f24c85c8 sparc.c (function_arg_record_value_1): Fix computation of the number of integer registers required.
* config/sparc/sparc.c (function_arg_record_value_1): Fix
	computation of the number of integer registers required.

From-SVN: r76339
2004-01-22 09:15:50 +00:00
Kazu Hirata
b4e0dd8eb7 i386.md: Simplify certain comparisons of const_int.
* config/i386/i386.md: Simplify certain comparisons of
	const_int.

From-SVN: r76335
2004-01-22 03:32:20 +00:00
Andrew Pinski
5cc5eddc7c re PR target/13785 (powerpc64 long long ICE)
2004-01-21  Andrew Pinski  <apinski@apple.com>

        PR target/13785
        * gcc.dg/20030121-1.c: New test.

2004-01-21  Andrew Pinski  <apinski@apple.com>

        PR target/13785
        * config/rs6000/rs6000.md (call_value): Force operand
        1 not operand 0 into a register.

From-SVN: r76332
2004-01-21 18:44:37 -08:00
Thomas Fitzsimmons
75ef0594a3 Component.java (show): Set visible to true before showing the peer.
2004-01-21  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* java/awt/Component.java (show): Set visible to true before
	showing the peer.

From-SVN: r76325
2004-01-22 00:22:27 +00:00
GCC Administrator
ed78a9fd7c Daily bump.
From-SVN: r76322
2004-01-22 00:16:52 +00:00
Kazu Hirata
711d8c9123 cpperror.c, [...]: Update copyright.
* cpperror.c, cpptrad.c, longlong.h, params.def, rtl.def,
	unwind-dw2-fde.h: Update copyright.

From-SVN: r76319
2004-01-22 00:15:25 +00:00
Ulrich Weigand
f59dcd4bcc 20030123-1.c: Add -fno-omit-frame-pointer option.
* gcc.dg/20030123-1.c: Add -fno-omit-frame-pointer option.  Do not
	clobber frame pointer register in asm statement.

From-SVN: r76317
2004-01-22 00:05:36 +00:00
Kazu Hirata
3c2426b97b * optimize.c, typeck2.c: Update copyright.
From-SVN: r76316
2004-01-22 00:03:52 +00:00
R. Kelley Cook
b68c3d41f5 gcc_release (build_sources): Delete call to make f77.rebuilt.
2004-01-20  Kelley Cook  <kcook@gcc.gnu.org>

	* gcc_release (build_sources): Delete call to make f77.rebuilt.

From-SVN: r76314
2004-01-21 22:25:02 +00:00
John David Anglin
d1885651db pa-protos.h: Update copyright.
* pa-protos.h: Update copyright.
	* pa.h: Likewise.
	* pa.md: Likewise.

From-SVN: r76308
2004-01-21 21:52:35 +00:00
Kazu Hirata
03b82c007a re PR bootstrap/13735 (avr-elf ICE while building libgcc)
PR bootstrap/13735
	* config/avr/avr.h (BASE_REG_CLASS): Don't permit to use X
	register as pointer after reload.

From-SVN: r76306
2004-01-21 21:00:41 +00:00
Andrew Pinski
6ed854f109 re PR target/12308 ('387 mode switching clobbers flags)
2004-01-21  Caroline Tice <ctice@apple.com>

        PR target/12308
        * config/i386/i386.md (fix_truncxfdi2): Add clause to clobber
        flags register.
        (fix_truncdfdi2): Likewise.
        (fix_truncsfdi2): Likewise.
        (*fix_truncdi_1): Likewise.
        (fix_truncxfsi2): Likewise.
        (fix_truncdfsi2): Likewise.
        (fix_truncsfsi2): Likewise.
        (*fix_truncsi_1): Likewise.
        (fix_truncxfhi2): Likewise.
        (fix_truncdfhi2): Likewise.
        (fix_truncsfhi2): Likewise.
        (*fix_trunchi_1): Likewise.

From-SVN: r76305
2004-01-21 12:53:43 -08:00
Kazu Hirata
521cc5083b Make-lang.in, [...]: Update copyright.
* Make-lang.in, call.c, class.c, decl2.c, except.c, expr.c,
	init.c, mangle.c, typeck.c: Update copyright.

From-SVN: r76304
2004-01-21 20:52:28 +00:00
Caroline Tice
ec13ba83ba i386.md (fix_truncxfdi2): Add clause to clobber flags register.
2004-01-21  Caroline Tice <ctice@apple.com>

	* config/i386/i386.md (fix_truncxfdi2): Add clause to clobber
        flags register.
	(fix_truncdfdi2): Likewise.
	(fix_truncsfdi2): Likewise.
	(*fix_truncdi_1): Likewise.
	(fix_truncxfsi2): Likewise.
        (fix_truncdfsi2): Likewise.
	(fix_truncsfsi2): Likewise.
	(*fix_truncsi_1): Likewise.
	(fix_truncxfhi2): Likewise.
	(fix_truncdfhi2): Likewise.
	(fix_truncsfhi2): Likewise.
	(*fix_trunchi_1): Likewise.

From-SVN: r76303
2004-01-21 12:45:25 -08:00
Kazu Hirata
d9221e016b alias.c, [...]: Update copyright.
* alias.c, basic-block.h, c-common.c, c-common.h,
	c-cppbuiltin.c, c-opts.c, c-pragma.c, c-pretty-print.c,
	calls.c, cfg.c, cfgcleanup.c, cfgrtl.c, cgraph.h, collect2.c,
	combine.c, cppcharset.c, cpphash.h, cppinit.c, cpplib.c,
	cpplib.h, cppmacro.c, crtstuff.c, cselib.c, cselib.h,
	defaults.h, df.c, dominance.c, et-forest.c, expmed.c, expr.c,
	expr.h, fix-header.c, function.h, gcc.c, gcse.c, genattrtab.c,
	genautomata.c, genconditions.c, genemit.c, genflags.c,
	gengtype.c, gengtype.h, genopinit.c, genrecog.c, gensupport.c,
	ggc-zone.c, graph.c, haifa-sched.c, input.h, integrate.c,
	langhooks-def.h, langhooks.c, langhooks.h, line-map.c,
	line-map.h, local-alloc.c, optabs.c, optabs.h, postreload.c,
	ra.h, recog.c, reg-stack.c, regmove.c, reload.c, reorg.c,
	rtl.c, sched-deps.c, sched-ebb.c, sdbout.c, system.h,
	target.h, targhooks.c, toplev.h, tree-inline.c, unwind-pe.h,
	unwind.h, varray.c, varray.h: Update copyright.

From-SVN: r76302
2004-01-21 20:40:04 +00:00
Caroline Tice
9feb20aa5d Add self to MAINTAINERS.
From-SVN: r76301
2004-01-21 12:23:51 -08:00
Kazu Hirata
6d6b0a12b9 coff.h: Update copyright.
* config/h8300/coff.h: Update copyright.
	* config/h8300/elf.h: Likewise.
	* config/h8300/h8300-protos.h: Likewise.
	* config/h8300/h8300.c: Likewise.
	* config/h8300/h8300.h: Likewise.
	* config/h8300/h8300.md: Likewise.

From-SVN: r76300
2004-01-21 20:19:23 +00:00
Kim Ho
2bd408db4b GtkFramePeer.java (postConfigureEvent): Fix comments.
2004-01-21  Kim Ho  <kho@redhat.com>

        * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
        Fix comments.
        (removeMenuBarPeer): Make package private.
        (setMenuBarPeer): Make package private.
        * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
        (menubar_resize_cb): Mark attributes unused.
        (getMenuBarHeight): ditto.

From-SVN: r76299
2004-01-21 20:11:08 +00:00
John David Anglin
4b60eb3b4a inclhack.def (hpux10_stdio_declarations, [...]): New hacks.
* fixinc/inclhack.def (hpux10_stdio_declarations, ultrix_const3,
	ultrix_locale, ultrix_stdlib, ultrix_strings, ultrix_sys_time,
	ultrix_unistd): New hacks.
	* fixinc/tests/base/stdio.h (HPUX10_STDIO_DECLARATIONS_CHECK,
	ULTRIX_CONST2_CHECK): Add checks.
	* fixinc/tests/base/stdlib.h (ULTRIX_STDLIB_CHECK): Likewise.
	* fixinc/tests/base/strings.h (ULTRIX_STRINGS2_CHECK): Likewise.
	* fixinc/tests/base/unistd.h (ULTRIX_UNISTD_CHECK): Likewise.
	* fixinc/tests/base/sys/time.h (ULTRIX_SYS_TIME_CHECK): Likewise.
	* fixinc/tests/base/locale.h: New file.
	* fixinc/fixincl.x: Rebuilt.

From-SVN: r76298
2004-01-21 20:08:22 +00:00
Gerald Pfeifer
dd69a0e038 * crontab: Make 3.4 snapshots from the new 3.4 release branch.
From-SVN: r76295
2004-01-21 19:05:30 +00:00
Andreas Jaeger
bbf5a54d98 extend.texi (Extended Asm): Clarify memory clobber.
2004-01-21  Andreas Jaeger  <aj@suse.de>
	    Michael Matz  <matz@suse.de>

	* doc/extend.texi (Extended Asm): Clarify memory clobber.

Co-Authored-By: Michael Matz <matz@suse.de>

From-SVN: r76288
2004-01-21 18:26:08 +01:00
Jakub Jelinek
bfccaa6f70 crtstuff.c (frame_dummy, [...]): Call _Jv_RegisterClasses through a function pointer.
* crtstuff.c (frame_dummy, __do_global_ctors_1): Call
	_Jv_RegisterClasses through a function pointer.

From-SVN: r76287
2004-01-21 17:01:26 +01:00
Falk Hueffner
c3cda381c7 re PR target/12898 (Tru64 UNIX bootstrap failure: ICE in gen_reg_rtx, at emit-rtl.c:819)
PR target/12898
        * config/alpha/alpha.c (alpha_emit_set_const_1): If
        no_new_pseudos, use gen_rtx_SET directly for SImode constants
        which need multiple instructions to emit.

        * testsuite/gcc.c-torture/compile/20040121-1.c: New test.

From-SVN: r76283
2004-01-21 16:52:47 +01:00
Paolo Carlini
3e7782b2f8 basic_string.tcc (append(const basic_string&)): Revert previous change.
2004-01-21  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/basic_string.tcc (append(const basic_string&)):
	Revert previous change.
	(append(const basic_string&, size_type, size_type)): Revert
	previous change, use _M_check and _M_limit.

From-SVN: r76282
2004-01-21 15:43:45 +00:00
David Jee
3f07b28898 2004-01-21 David Jee <djee@redhat.com>
* java/awt/Container.java
        (LightweightDispatcher.handleEvent): Add an extra check to avoid
        dispatching MOUSE_ENTERED event twice. Translate the point for
        the mouse event target before dispatching the event.

From-SVN: r76278
2004-01-21 14:39:15 +00:00
Inaoka Kazuhiro
2a2001bed5 * config/m32r/m32r.h (CPP_SPEC): Define.
From-SVN: r76275
2004-01-21 12:16:07 +00:00