platform/upstream/gcc.git
20 years ago2004-01-23 Michael Koch <konqueror@gmx.de>
Michael Koch [Fri, 23 Jan 2004 15:15:31 +0000 (15:15 +0000)]
2004-01-23  Michael Koch  <konqueror@gmx.de>

* java/text/CollationElementIterator.java:
(setText): New method.

From-SVN: r76423

20 years agoFileLockImpl.java: Fixed filename in copyright.
Michael Koch [Fri, 23 Jan 2004 14:37:09 +0000 (14:37 +0000)]
FileLockImpl.java: Fixed filename in copyright.

2004-01-23  Michael Koch  <konqueror@gmx.de>

* gnu/java/nio/FileLockImpl.java:
Fixed filename in copyright.
(released): Removed.
(finalize): New method.
* gnu/java/nio/natFileLockImpl.cc
(releaseImpl): Implemented.
* java/nio/channels/FileChannelImpl.java:
Reworked imports.
(lock): Implemented.
(lockImpl): New method.
(tryLock): Implemented.
(tryLockImpl): New method.
* java/nio/channels/natFileChannelImpl.cc
(lockImpl): New method.
(tryLockImpl): New method.

From-SVN: r76422

20 years ago2004-01-23 Michael Koch <konqueror@gmx.de>
Michael Koch [Fri, 23 Jan 2004 14:07:28 +0000 (14:07 +0000)]
2004-01-23  Michael Koch  <konqueror@gmx.de>

* java/io/FileDescriptor.java
(lock): New method.
(tryLock): New method.
(unlock): New method.
* java/io/natFileDescriptorEcos.cc
(lock): New method.
(tryLock): New method.
(unlock): New method.
* java/io/natFileDescriptorPosix.cc
(lock): New method.
(tryLock): New method.
(unlock): New method.
* java/io/natFileDescriptorWin32.cc
(lock): New method.
(tryLock): New method.
(unlock): New method.

From-SVN: r76421

20 years agobasic_string.h (push_back(_CharT)): Call _M_replace_aux.
Paolo Carlini [Fri, 23 Jan 2004 13:57:19 +0000 (13:57 +0000)]
basic_string.h (push_back(_CharT)): Call _M_replace_aux.

2004-01-23  Paolo Carlini  <pcarlini@suse.de>

* include/bits/basic_string.h (push_back(_CharT)):
Call _M_replace_aux.
(insert(size_type, const basic_string&)): Trivial tweak.
(insert(size_type, size_type, _CharT)): Call _M_replace_aux.
(insert(iterator, _CharT)): Ditto.
(erase(size_type, size_type)): Ditto.
(erase(iterator)): Ditto.
(erase(iterator, iterator)): Ditto.
(replace(size_type, size_type, size_type, _CharT)): Ditto.

From-SVN: r76420

20 years ago2004-01-23 Michael Koch <konqueror@gmx.de>
Michael Koch [Fri, 23 Jan 2004 13:50:10 +0000 (13:50 +0000)]
2004-01-23  Michael Koch  <konqueror@gmx.de>

* java/io/FileDescriptor.java
(sync): Moved around, added javadoc.
(valid): Likewise.
(open): Likewise.
(write): Likewise.
(close): Likewise.
(setLength): Likewise.
(seek): Likewise.
(getLength): Likewise.
(getFilePointer): Likewise.
(read): Likewise.
(available): Likewise.
(finalize): Likewise.

From-SVN: r76419

20 years ago* i386.c (ix86_emit_restore_regs_using_mov): Deal with large offsets.
Jan Hubicka [Fri, 23 Jan 2004 13:24:58 +0000 (14:24 +0100)]
* i386.c (ix86_emit_restore_regs_using_mov):  Deal with large offsets.

From-SVN: r76416

20 years agotm.texi: Insert some weasel words when LOAD_EXTEND_OP may or may not return non-NIL.
J"orn Rennecke [Fri, 23 Jan 2004 13:01:42 +0000 (13:01 +0000)]
tm.texi: Insert some weasel words when LOAD_EXTEND_OP may or may not return non-NIL.

* doc/tm.texi: Insert some weasel words when LOAD_EXTEND_OP
may or may not return non-NIL.
* postreload.c (reload_cse_simplify_operands): In LOAD_EXTEND_OP code,
check CANNOT_CHANGE_MODE_CLASS

From-SVN: r76415

20 years agoAbstractAction.java: Reformated.
Michael Koch [Fri, 23 Jan 2004 12:42:10 +0000 (12:42 +0000)]
AbstractAction.java: Reformated.

2004-01-23  Michael Koch  <konqueror@gmx.de>

* javax/swing/AbstractAction.java: Reformated.
(getPropertyChangeListeners): New method.
* javax/swing/AbstractCellEditor.java: Reformated.
(getCellEditorListeners): New method.
* javax/swing/DefaultListSelectionModel.java
(listenerList): New field.
(listeners): Removed.
(get_listeners): Removed.
(addListSelectionListener): Rewritten.
(removeListSelectionListener): Rewritten.
(getListSelectionListeners): New method.
(getListeners): New method.
* javax/swing/JComboBox.java: Imports reworked.
(addActionListener): Implemented.
(removeActionListener): Implemented.
(addItemListener): Implemented.
(removeItemListener): Implemented.
(addPopupMenuListener): Implemented.
(removePopupMenuListener): Implemented.
(getActionListeners): New method.
(getItemListeners): New method.
(getPopupMenuListeners): New method.

From-SVN: r76413

20 years ago2004-01-23 Michael Koch <konqueror@gmx.de>
Michael Koch [Fri, 23 Jan 2004 12:32:23 +0000 (12:32 +0000)]
2004-01-23  Michael Koch  <konqueror@gmx.de>

* gnu/java/net/protocol/http/Connection.java
(connect): Don't initialize bufferedOutputStream if not needed.
(sendRequest): Set property for content length if content is present.
Write content only if present.
(getOutputStream): Check if already connected, dont connect,
initalize bufferedOutputStream if needed.

From-SVN: r76412

20 years ago2004-01-23 Michael Koch <konqueror@gmx.de>
Michael Koch [Fri, 23 Jan 2004 12:29:05 +0000 (12:29 +0000)]
2004-01-23  Michael Koch  <konqueror@gmx.de>

* java/io/FileDescriptor.java
(in, out, err): Added javadoc.
(static): Merged loading code.
(fd, position): Moved around.

From-SVN: r76411

20 years agoBitwiseXORComposite-1.png: New file.
Michael Koch [Fri, 23 Jan 2004 12:01:23 +0000 (12:01 +0000)]
BitwiseXORComposite-1.png: New file.

2004-01-23  Michael Koch  <konqueror@gmx.de>

* gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
New file.

From-SVN: r76410

20 years agoClass.java, [...]: Merged copyright with classpath.
Michael Koch [Fri, 23 Jan 2004 11:56:48 +0000 (11:56 +0000)]
Class.java, [...]: Merged copyright with classpath.

2004-01-23  Michael Koch  <konqueror@gmx.de>

* java/lang/Class.java,
java/lang/Object.java,
java/lang/Thread.java: Merged copyright with classpath.

From-SVN: r76409

20 years agoFileDescriptor.java: Merged copyright with classpath to start merging this class.
Michael Koch [Fri, 23 Jan 2004 11:45:54 +0000 (11:45 +0000)]
FileDescriptor.java: Merged copyright with classpath to start merging this class.

2004-01-23  Michael Koch  <konqueror@gmx.de>

* java/io/FileDescriptor.java: Merged copyright with classpath to
start merging this class.

From-SVN: r76408

20 years agobasic-block.h (PROP_POSTRELOAD): New macro.
Jan Hubicka [Fri, 23 Jan 2004 11:02:09 +0000 (12:02 +0100)]
basic-block.h (PROP_POSTRELOAD): New macro.

* basic-block.h (PROP_POSTRELOAD): New macro.
(CLEANUP_LOG_LINKS): New.
* cfgcleanup.c (cleanup_cfg): Only PROP_LOG_LINKS when asked to.
* toplev.c (rest_of_handle_life):  Preserve LOG_LINKS trought cleanup_cfg.

* cselib.c (value_pool): New.
(new_cselib_val): Use pool.
(cselib_init): Initialize value_pool
(cselib_finish): Free pool.

From-SVN: r76405

20 years ago1aexcept.adb, [...]: Removed, unused.
Arnaud Charlet [Fri, 23 Jan 2004 10:35:42 +0000 (11:35 +0100)]
1aexcept.adb, [...]: Removed, unused.

* 1aexcept.adb, 1aexcept.ads, 1ic.ads, 1ssecsta.adb,
1ssecsta.ads: Removed, unused.

From-SVN: r76404

20 years ago[multiple changes]
Arnaud Charlet [Fri, 23 Jan 2004 10:30:04 +0000 (11:30 +0100)]
[multiple changes]

2004-01-23  Robert Dewar  <dewar@gnat.com>

* exp_aggr.adb: Minor reformatting

* exp_ch9.adb: Minor code clean up
Minor reformatting
Fix bad character in comment

* targparm.adb (Get_Target_Parameters): Give clean abort error on
unexpected end of file, along with more detailed message.

2004-01-23  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

* exp_pakd.adb (Install_PAT): Clear Freeze_Node for PAT and Etype of
PAT.

* decl.c (copy_alias_set): New function.
(gnat_to_gnu_entity, make_aligning_type, make_packable_type): Use it.

2004-01-23  Doug Rupp  <rupp@gnat.com>

* Makefile.in (install-gnatlib): Change occurrences of lib$$file to
lib$${file} in case subsequent character is not a separator.

2004-01-23  Vincent Celier  <celier@gnat.com>

* 5vml-tgt.adb (Build_Dynamic_Library): Invoke gcc with -shared-libgcc
when the GCC version is at least 3.

* make.adb: (Scan_Make_Arg): Pass -B to Scan_Make_Switches
Remove all "Opt.", to prepare for opt split

* prj-part.adb (Parse_Single_Project): New Boolean out parameter
Extends_All. Set to True when the project parsed is an extending all
project. Fails for importing an extending all project only when the
imported project is an extending all project.
(Post_Parse_Context_Clause): Set Is_Extending_All to the with clause,
depending on the value of Extends_All returned.

* prj-proc.adb (Process): Check that no project shares its object
directory with a project that extends it, directly or indirectly,
including a virtual project.
Check that no project extended by another project shares its object
directory with another also extended project.

* prj-tree.adb (Is_Extending_All, Set_Is_Extending_All): Allow for
Kind = N_With_Clause

* prj-tree.ads: Minor reformatting
Indicate that Flag2 also applies to N_With_Clause (Is_Extending_All).

2004-01-23  Ed Schonberg  <schonberg@gnat.com>

* sem_ch13.adb (Analyze_Attribute_Definition_Clause): If the attribute
applies to a type with an incomplete view, use full view in Name of
clause, for consistency with uses of Get_Attribute_Definition_Clause.

2004-01-23  Arnaud Charlet  <charlet@act-europe.fr>

* 5itaprop.adb (Set_Priority): Reset the priority to 0 when using
SCHED_RR, since other values are not supported by this policy.
(Initialize): Move initialization of mutex attribute to package
elaboration, to prevent early access to this variable.

* Makefile.in: Remove mention of Makefile.adalib, unused.

* Makefile.adalib: Removed, unused.

From-SVN: r76403

20 years agore PR ada/13471 (Bug Box: Storage_Error stack overflow(?), presence of incorrect...
Arnaud Charlet [Fri, 23 Jan 2004 09:53:05 +0000 (10:53 +0100)]
re PR ada/13471 (Bug Box: Storage_Error stack overflow(?), presence of incorrect system.ads causes loop)

PR ada/13471
* targparm.adb (Get_Target_Parameters): Give clean abort error on
unexpected end of file, along with more detailed message.

From-SVN: r76402

20 years agosparc.c (scan_record_type): New function.
Eric Botcazou [Fri, 23 Jan 2004 09:16:56 +0000 (10:16 +0100)]
sparc.c (scan_record_type): New function.

* config/sparc/sparc.c (scan_record_type): New function.
(function_arg_slotno): Use it to determine which kinds of
registers the record can be passed in.

From-SVN: r76400

20 years agoallocator_map_thread.cc: New test.
Loren J. Rittle [Fri, 23 Jan 2004 06:54:06 +0000 (06:54 +0000)]
allocator_map_thread.cc: New test.

libstdc++/13823
* testsuite/performance/allocator_map_thread.cc: New test.

From-SVN: r76398

20 years agocompat.exp: Add LD_LIBRARY_PATH_32/64 for Solaris.
Andreas Tobler [Fri, 23 Jan 2004 04:42:39 +0000 (05:42 +0100)]
compat.exp: Add LD_LIBRARY_PATH_32/64 for Solaris.

2004-01-23  Andreas Tobler  <a.tobler@schweiz.ch>

* g++.dg/compat/compat.exp: Add LD_LIBRARY_PATH_32/64 for Solaris.
* lib/g77.exp: Likewise.
* lib/objc.exp: Likewise.
* lib/g++.exp: Likewise.

From-SVN: r76397

20 years agofptr.c: Fix old-style definition.
James A. Morrison [Fri, 23 Jan 2004 04:31:49 +0000 (04:31 +0000)]
fptr.c: Fix old-style definition.

2004-01-22  James A. Mmorrison  <ja2morri@uwaterloo.ca>

* config/pa/fptr.c: Fix old-style definition.

From-SVN: r76396

20 years agore PR libgcj/13107 (Wrong verification error in gij: recursive subroutine call)
Tom Tromey [Fri, 23 Jan 2004 02:49:57 +0000 (02:49 +0000)]
re PR libgcj/13107 (Wrong verification error in gij: recursive subroutine call)

PR libgcj/13107:
* testsuite/libjava.lang/pr13107_2.xfail: New file.
* testsuite/libjava.lang/pr13107_3.xfail: New file.
* testsuite/libjava.lang/pr13107_3.java: New file.
* testsuite/libjava.lang/pr13107_3.out: New file.
* testsuite/libjava.lang/pr13107_2.java: New file.
* testsuite/libjava.lang/pr13107_2.out: New file.
* testsuite/libjava.lang/pr13107.java: New file.
* testsuite/libjava.lang/pr13107.out: New file.
* verify.cc (jsr_ptrs): Removed.
(entry_points): Likewise.
(struct subr_info): Likewise.
(struct subr_entry_info): Likewise.
(type_val::unused_by_subroutine_type): Likewise.
(type::merge): Don't handle unused_by_subroutine_type.
(type::print): Likewise.
(state::flags): Removed.
(state::subroutine): Likewise.
(state::seen_subrs): Likewise.
(state::NO_STACK): Likewise.
(state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
(state): Updated all methods.
(state::clean_subrs): Removed.
(state::state): Removed `ret_semantics' flag.
(state::copy): Likewise.
(state::add_subr): Removed.
(state::enter_subroutine): Likewise.
(type::set_return_address): New method.
(handle_jsr_insn): Set return address on the type.  Always
invalidate PC after call.
(check_nonrecursive_call): Removed.
(~_Jv_BytecodeVerifier): Updated.
(branch_prepass): Removed special handling of jsr.
(note_branch_target): Likewise.
(get_subroutine): Removed.
(state::merge): Don't merge subroutines and don't handle
NO_STACK.  Removed ret_semantics and jsr_semantics arguments.
(state::note_variable): Removed.
(state::is_unmerged_ret_state): Likewise.
(state::print): Updated.
(set_variable): Likewise.
(merge_into): Renamed from push_jump_merge.  Removed ret_semantics
and jsr_semantics arguments.  Updated for new reverification
list.
(pop_jump): Rewrote.
(construct_primitive_array_type): Updated.
(state::next): Removed.
(INVALID_STATE): New define.
(state::INVALID): Removed.
(state::NO_NEXT): New value.
(state::pc, state::next): New fields.
(state::get_pc): New method.
(next_verify_pc): Removed.
(next_verify_state): New field.
(verify_instructions_0): Always check for falling off end.
(linked): New type.
(linked_utf8): Removed.
(states): Changed type.
(type::state_mergeable_p): New method.
(state::state_mergeable_p): Likewise.
(handle_ret_insn): Removed most code.
(state::reverify): New method.
(add_new_state): Likewise.
(state::set_pc): Likewise.

From-SVN: r76395

20 years agore PR rtl-optimization/13724 (Bad code generated for unsigned int -> long long multip...
Paolo Bonzini [Fri, 23 Jan 2004 02:03:25 +0000 (02:03 +0000)]
re PR rtl-optimization/13724 (Bad code generated for unsigned int -> long long multiplication)

2004-01-22  Paolo Bonzini  <bonzini@gnu.org>

PR optimization/13724
* cse.c (fold_rtx) <SUBREG>:  Fold a SUBREG to zero if it
represents the zero bits produced by a ZERO_EXTEND operation.

From-SVN: r76394

20 years agore PR rtl-optimization/13821 (IRIX 6.5 bootstrap failure: ICE in simplify_gen_subreg)
Roger Sayle [Fri, 23 Jan 2004 01:47:15 +0000 (01:47 +0000)]
re PR rtl-optimization/13821 (IRIX 6.5 bootstrap failure: ICE in simplify_gen_subreg)

PR optimization/13821
* simplify-rtx.c (simplify_subreg): Use subreg_lowpart_offset to
correctly calculate the lowpart offset of the contracted subreg.

From-SVN: r76393

20 years agoRemoved testsuite/ChangeLog again; put entry into top-level ChangeLog
Jeff Sturm [Fri, 23 Jan 2004 01:43:36 +0000 (01:43 +0000)]
Removed testsuite/ChangeLog again; put entry into top-level ChangeLog

From-SVN: r76392

20 years agoinvoke.texi (Optimize Options): Note that --param arguments are subject to change...
Ian Lance Taylor [Fri, 23 Jan 2004 01:30:24 +0000 (01:30 +0000)]
invoke.texi (Optimize Options): Note that --param arguments are subject to change without notice.

* doc/invoke.texi (Optimize Options): Note that --param arguments
are subject to change without notice.

From-SVN: r76391

20 years agore PR java/13733 (The result of an assignment operator is the LHS after assignment...
Jeff Sturm [Fri, 23 Jan 2004 00:21:05 +0000 (00:21 +0000)]
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

20 years agoDaily bump.
GCC Administrator [Fri, 23 Jan 2004 00:16:13 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r76386

20 years agore PR java/13733 (The result of an assignment operator is the LHS after assignment...
Jeff Sturm [Thu, 22 Jan 2004 23:45:10 +0000 (23:45 +0000)]
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

20 years agocls_uint.c (cls_ret_uint_fn): Treat result value as of type ffi_arg, not unsigned...
Ulrich Weigand [Thu, 22 Jan 2004 23:05:13 +0000 (23:05 +0000)]
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

20 years agoconfig.gcc (mips-sgi-irix6*o32): Removed.
Rainer Orth [Thu, 22 Jan 2004 23:02:12 +0000 (23:02 +0000)]
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

20 years agocfgcleanup.c (first_pass): New static variable.
Jan Hubicka [Thu, 22 Jan 2004 22:33:51 +0000 (23:33 +0100)]
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

20 years agoxtensa.c (function_arg): Generalize logic so that it handles complex and vector modes.
Bob Wilson [Thu, 22 Jan 2004 21:42:33 +0000 (21:42 +0000)]
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

20 years ago2004-01-22 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
Arnaud Vandyck [Thu, 22 Jan 2004 21:41:53 +0000 (22:41 +0100)]
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

20 years agoh8300.h (REG_OK_FOR_INDEX_P_STRICT): Remove.
Kazu Hirata [Thu, 22 Jan 2004 21:21:13 +0000 (21:21 +0000)]
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

20 years ago* c-semantics.c (genrtl_while_stmt, genrtl_do_stmt_1)
Daniel Jacobowitz [Thu, 22 Jan 2004 20:23:27 +0000 (20:23 +0000)]
* c-semantics.c (genrtl_while_stmt, genrtl_do_stmt_1)
(genrtl_for_stmt): Remove emit_nop calls.

From-SVN: r76368

20 years ago2004-01-22 Thomas Fitzsimmons <fitzsim@redhat.com>
Thomas Fitzsimmons [Thu, 22 Jan 2004 20:17:43 +0000 (20:17 +0000)]
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

20 years agoMakefile.in: Convert to ./ throughout.
DJ Delorie [Thu, 22 Jan 2004 19:10:56 +0000 (14:10 -0500)]
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

20 years agore PR target/13713 (gnat1 segmentation fault in stage 3 on hppa-linux)
John David Anglin [Thu, 22 Jan 2004 17:51:25 +0000 (17:51 +0000)]
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

20 years agoarm.c: Include "debug.h".
Daniel Jacobowitz [Thu, 22 Jan 2004 17:00:56 +0000 (17:00 +0000)]
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

20 years agos390.c (s390_frame_info): Allow large frame sizes for TARGET_64BIT.
Ulrich Weigand [Thu, 22 Jan 2004 16:38:14 +0000 (16:38 +0000)]
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

20 years agolocale_facets.tcc (money_put::do_put(..., long double)): Use the basic_string constru...
Paolo Carlini [Thu, 22 Jan 2004 14:25:37 +0000 (14:25 +0000)]
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

20 years agobasic_string.h (_M_replace_safe): Change signatures to take size_types and const...
Paolo Carlini [Thu, 22 Jan 2004 12:46:28 +0000 (12:46 +0000)]
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

20 years agortlanal.c (subreg_lsb_1): New function split out from subreg_lsb.
Roger Sayle [Thu, 22 Jan 2004 12:44:54 +0000 (12:44 +0000)]
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

20 years agotm.texi (CASE_VECTOR_PC_RELATIVE): Mention that the macro need not be defined if...
Kazu Hirata [Thu, 22 Jan 2004 11:50:01 +0000 (11:50 +0000)]
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

20 years agoalias.c (reg_base_value): Turn into varray.
Jan Hubicka [Thu, 22 Jan 2004 11:35:58 +0000 (12:35 +0100)]
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

20 years agosparc.c (function_arg_slotno): Use FLOAT_TYPE_P to detect FP fields in structures.
Eric Botcazou [Thu, 22 Jan 2004 11:15:37 +0000 (12:15 +0100)]
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

20 years agofunction.c (allocate_struct_function): Do not initialize expr, emit and varasm.
Jan Hubicka [Thu, 22 Jan 2004 10:52:20 +0000 (11:52 +0100)]
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

20 years ago2004-01-22 Graydon Hoare <graydon@redhat.com>
Graydon Hoare [Thu, 22 Jan 2004 09:54:19 +0000 (09:54 +0000)]
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

20 years agore PR target/13559 (deviation from the psABI for small structures)
Eric Botcazou [Thu, 22 Jan 2004 09:33:24 +0000 (10:33 +0100)]
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

20 years agosparc.c (function_arg_record_value_1): Fix computation of the number of integer regis...
Eric Botcazou [Thu, 22 Jan 2004 09:15:50 +0000 (09:15 +0000)]
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

20 years agoi386.md: Simplify certain comparisons of const_int.
Kazu Hirata [Thu, 22 Jan 2004 03:32:20 +0000 (03:32 +0000)]
i386.md: Simplify certain comparisons of const_int.

* config/i386/i386.md: Simplify certain comparisons of
const_int.

From-SVN: r76335

20 years agore PR target/13785 (powerpc64 long long ICE)
Andrew Pinski [Thu, 22 Jan 2004 02:44:37 +0000 (02:44 +0000)]
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

20 years agoComponent.java (show): Set visible to true before showing the peer.
Thomas Fitzsimmons [Thu, 22 Jan 2004 00:22:27 +0000 (00:22 +0000)]
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

20 years agoDaily bump.
GCC Administrator [Thu, 22 Jan 2004 00:16:52 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r76322

20 years agocpperror.c, [...]: Update copyright.
Kazu Hirata [Thu, 22 Jan 2004 00:15:25 +0000 (00:15 +0000)]
cpperror.c, [...]: Update copyright.

* cpperror.c, cpptrad.c, longlong.h, params.def, rtl.def,
unwind-dw2-fde.h: Update copyright.

From-SVN: r76319

20 years ago20030123-1.c: Add -fno-omit-frame-pointer option.
Ulrich Weigand [Thu, 22 Jan 2004 00:05:36 +0000 (00:05 +0000)]
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

20 years ago* optimize.c, typeck2.c: Update copyright.
Kazu Hirata [Thu, 22 Jan 2004 00:03:52 +0000 (00:03 +0000)]
* optimize.c, typeck2.c: Update copyright.

From-SVN: r76316

20 years agogcc_release (build_sources): Delete call to make f77.rebuilt.
R. Kelley Cook [Wed, 21 Jan 2004 22:25:02 +0000 (22:25 +0000)]
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

20 years agopa-protos.h: Update copyright.
John David Anglin [Wed, 21 Jan 2004 21:52:35 +0000 (21:52 +0000)]
pa-protos.h: Update copyright.

* pa-protos.h: Update copyright.
* pa.h: Likewise.
* pa.md: Likewise.

From-SVN: r76308

20 years agore PR bootstrap/13735 (avr-elf ICE while building libgcc)
Kazu Hirata [Wed, 21 Jan 2004 21:00:41 +0000 (21:00 +0000)]
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

20 years agore PR target/12308 ('387 mode switching clobbers flags)
Andrew Pinski [Wed, 21 Jan 2004 20:53:43 +0000 (12:53 -0800)]
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

20 years agoMake-lang.in, [...]: Update copyright.
Kazu Hirata [Wed, 21 Jan 2004 20:52:28 +0000 (20:52 +0000)]
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

20 years agoi386.md (fix_truncxfdi2): Add clause to clobber flags register.
Caroline Tice [Wed, 21 Jan 2004 20:45:25 +0000 (20:45 +0000)]
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

20 years agoalias.c, [...]: Update copyright.
Kazu Hirata [Wed, 21 Jan 2004 20:40:04 +0000 (20:40 +0000)]
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

20 years agoAdd self to MAINTAINERS.
Caroline Tice [Wed, 21 Jan 2004 20:23:51 +0000 (20:23 +0000)]
Add self to MAINTAINERS.

From-SVN: r76301

20 years agocoff.h: Update copyright.
Kazu Hirata [Wed, 21 Jan 2004 20:19:23 +0000 (20:19 +0000)]
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

20 years agoGtkFramePeer.java (postConfigureEvent): Fix comments.
Kim Ho [Wed, 21 Jan 2004 20:11:08 +0000 (20:11 +0000)]
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

20 years agoinclhack.def (hpux10_stdio_declarations, [...]): New hacks.
John David Anglin [Wed, 21 Jan 2004 20:08:22 +0000 (20:08 +0000)]
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

20 years ago* crontab: Make 3.4 snapshots from the new 3.4 release branch.
Gerald Pfeifer [Wed, 21 Jan 2004 19:05:30 +0000 (19:05 +0000)]
* crontab: Make 3.4 snapshots from the new 3.4 release branch.

From-SVN: r76295

20 years agoextend.texi (Extended Asm): Clarify memory clobber.
Andreas Jaeger [Wed, 21 Jan 2004 17:26:08 +0000 (18:26 +0100)]
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

20 years agocrtstuff.c (frame_dummy, [...]): Call _Jv_RegisterClasses through a function pointer.
Jakub Jelinek [Wed, 21 Jan 2004 16:01:26 +0000 (17:01 +0100)]
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

20 years agore PR target/12898 (Tru64 UNIX bootstrap failure: ICE in gen_reg_rtx, at emit-rtl...
Falk Hueffner [Wed, 21 Jan 2004 15:52:47 +0000 (16:52 +0100)]
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

20 years agobasic_string.tcc (append(const basic_string&)): Revert previous change.
Paolo Carlini [Wed, 21 Jan 2004 15:43:45 +0000 (15:43 +0000)]
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

20 years ago2004-01-21 David Jee <djee@redhat.com>
David Jee [Wed, 21 Jan 2004 14:39:15 +0000 (14:39 +0000)]
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

20 years ago* config/m32r/m32r.h (CPP_SPEC): Define.
Inaoka Kazuhiro [Wed, 21 Jan 2004 12:16:07 +0000 (12:16 +0000)]
* config/m32r/m32r.h (CPP_SPEC): Define.

From-SVN: r76275

20 years agobasic_string.h (_M_check): Change to return a checked __pos and take an additional...
Paolo Carlini [Wed, 21 Jan 2004 11:29:51 +0000 (11:29 +0000)]
basic_string.h (_M_check): Change to return a checked __pos and take an additional const char* argument.

2004-01-21  Paolo Carlini  <pcarlini@suse.de>

* include/bits/basic_string.h (_M_check): Change to return
a checked __pos and take an additional const char* argument.
(_M_fold): Rename to _M_limit, change to return a size_type,
corresponding to the __off limited to the actual length.
(insert(size_type, size_type, _CharT)): Update call, call
replace.
(insert(iterator, _CharT)): Call replace(iterator, iterator,
size_type, _CharT) instead.
(erase(size_type, size_type)): Update calls.
(replace(size_type, size_type, size_type, _CharT)): Ditto.
(substr(size_type, size_type)): Use _M_check.
* include/bits/basic_string.tcc (basic_string(const basic_string&,
size_type, size_type)): Update calls.
(basic_string(const basic_string&, size_type, size_type,
const _Alloc&)): Ditto.
(assign(const basic_string&, size_type, size_type)): Use the
new _M_check and _M_limit.
(insert(size_type, const basic_string&, size_type, size_type):
Ditto.
(insert(size_type, const _CharT*, size_type)): Ditto.
(replace(size_type, size_type, const _CharT*, size_type): Ditto.
(replace(size_type, size_type, const basic_string&,
size_type, size_type)): Ditto.
(append(const basic_string&)): Ditto.
(append(const basic_string&, size_type, size_type)): Ditto.
(copy(_CharT*, size_type, size_type)): Ditto.
(compare(size_type, size_type, const basic_string&)): Ditto.
(compare(size_type, size_type, const basic_string&,size_type,
size_type)): Ditto.
(compare(size_type, size_type, const _CharT*)): Ditto.
(compare(size_type, size_type, const _CharT*, size_type)): Ditto.

From-SVN: r76274

20 years ago[multiple changes]
Arnaud Charlet [Wed, 21 Jan 2004 10:35:18 +0000 (11:35 +0100)]
[multiple changes]

2004-01-21  Javier Miranda  <miranda@gnat.com>

* exp_aggr.adb (Build_Record_Aggr_Code): Do not build the master
entity if already built in the current scope.

* exp_ch9.adb (Build_Master_Entity): Do not set the has_master_entity
reminder in internal scopes. Required for nested limited aggregates.

2004-01-21  Doug Rupp  <rupp@gnat.com>

* Makefile.in (hyphen): New variable, default value '-'. Set to '_' on
VMS. Replace all occurences of libgnat- and libgnarl- with
libgnat$(hyphen) and libgnarl$(hyphen).
Fixed shared library build problem on VMS.

2004-01-21  Robert Dewar  <dewar@gnat.com>

* mlib-prj.adb: Minor reformatting

2004-01-21  Thomas Quinot  <quinot@act-europe.fr>

* prj-tree.adb, 7staprop.adb, vms_conv.adb, xr_tabls.adb: Add missing
'constant' keywords for declaration of pointers that are not modified.

* exp_pakd.adb: Fix English in comment.

2004-01-21  Ed Schonberg  <schonberg@gnat.com>

PR ada/10889
* sem_ch3.adb (Analyze_Subtype_Declaration): For an array subtype,
copy all attributes of the parent, including the foreign language
convention.

2004-01-21  Sergey Rybin  <rybin@act-europe.fr>

PR ada/10565
* sem_ch9.adb (Analyze_Delay_Alternative): Add expression type check
for 'delay until' statement.

From-SVN: r76271

20 years agoc-decl.c (merge_decls): Kill different_binding_level and different_tu arguments;...
Zack Weinberg [Wed, 21 Jan 2004 10:32:10 +0000 (10:32 +0000)]
c-decl.c (merge_decls): Kill different_binding_level and different_tu arguments; simplify throughout.

* c-decl.c (merge_decls): Kill different_binding_level and
different_tu arguments; simplify throughout.
(duplicate_decls): Likewise.
(pushdecl, merge_translation_unit_decls): Update calls to
duplicate_decls.
testsuite:
* gcc.dg/noncompile/20020213-1.c: Add another dg-warning line.

From-SVN: r76269

20 years ago* parser.c (cp_parser_class_specifier): Prevent garbage collection.
Zdenek Dvorak [Wed, 21 Jan 2004 07:41:49 +0000 (08:41 +0100)]
* parser.c (cp_parser_class_specifier): Prevent garbage collection.

From-SVN: r76264

20 years agoffi64.c (ffi_prep_args): Cast the RHS of an assignment instead of the LHS.
Michael Ritzert [Wed, 21 Jan 2004 06:11:09 +0000 (07:11 +0100)]
ffi64.c (ffi_prep_args): Cast the RHS of an assignment instead of the LHS.

2004-01-21  Michael Ritzert  <ritzert@t-online.de>

* ffi64.c (ffi_prep_args): Cast the RHS of an assignment instead
of the LHS.

From-SVN: r76261

20 years agoMakefile.in (pretty-print.o): Depend on $(CONFIG_H) and $(SYSTEM_H).
Kaveh R. Ghazi [Wed, 21 Jan 2004 02:53:20 +0000 (02:53 +0000)]
Makefile.in (pretty-print.o): Depend on $(CONFIG_H) and $(SYSTEM_H).

* Makefile.in (pretty-print.o): Depend on $(CONFIG_H) and
$(SYSTEM_H).
(print-rtl1.o): Depend on $(SYSTEM_H).

From-SVN: r76253

20 years agore PR other/12730 (manual page install broken with old Pod::man)
Kelley Cook [Wed, 21 Jan 2004 02:01:55 +0000 (02:01 +0000)]
re PR other/12730 (manual page install broken with old Pod::man)

gcc/
2004-01-20  Kelley Cook  <kcook@gcc.gnu.org>

PR bootstrap/12730
* configure.ac: Delete definition and subsitution of docdir.
Add info, man, srcman and srcinfo to target hooks. Create doc/
directory.
* configure: Regenerate.
* Makefile.in: Don't substitute docdir and delete all references
throughout.
(MAKEINFOFLAGS): Define.
(stmp-docobjdir): Delete.
(INFOFILES, MANFILES): Define.
(info): Call lang.info, srcinfo and lang.srcinfo.
(generated-manpages): Call lang.man, srcman and lang.srcman.
(srcinfo, srcman): New rules to copy back files to source directory.
(doc/%.info, doc/%.dvi, doc/%.1, doc/%.7): New implict rule.
(install-man): Revamp rule.
(clean): Update dvi directory.
(distclean): Delete TAGS from front end directorys.
(maintainer-clean): Delete all document files in source directory.

objc/Make-lang.in (objc.man, objc.info): Dummy entries.
(objc.srcman, objc.srcinfo): Likewise.

gcc/ada/
2004-01-20  Kelley Cook  <kcook@gcc.gnu.org>

* Make-lang.in: Replace $(docdir) with doc.
(doc/gnat_ug_unx.info, doc/gnat_ug_vwx.info, doc/gnat_ug_vms.info
doc/gnat_ug_wnt.info, doc/gnat_rm.info, doc/gnat-style.info): Update
to use consistent MAKEINFO rule.
(ada.man, ada.srcman): Dummy entry.
(ADA_INFOFILES): Define.
(ada.info, ada.srcinfo): New rules.

gcc/cp/
2004-01-20  Kelley Cook  <kcook@gcc.gnu.org>

* Make-lang.in: Replace $(docdir) with doc.
(c++.info, c++.srcinfo): Dummy entry.
(c++.man, c++.srcman): New rules.
(c++.install-man): Revamp rule.

gcc/f/
2004-01-20  Kelley Cook  <kcook@gcc.gnu.org>

* Make-lang.in: Replace $(docdir) with doc.
(TEXI_G77_FILES): Define.
(f77.rebuilt): Delete.
(f77.srcextra): Add dependencies on f/BUGS and f/NEWS.
(f77.srcman, f77.srcinfo, f77.man, f77.info): New rules.
(doc/g77.info, doc/g77.dvi): Depend on TEXI_G77_FILES.  Always build in
doc directory.  Use $(MAKEINFOFLAGS).
(info, dvi, generated_manpages): Update to look in doc directory.
(f/BUGS, f/NEWS): Generate in build directory.
(f77.mostlyclean): Delete BUGS and NEWS from build directory.
(f77.maintainer-clean): Adjust to delete from source directory.
(f77.install-man): Revamp rule.

gcc/java/
2004-01-20  Kelley Cook  <kcook@gcc.gnu.org>

* Make-lang.in: Replace $(docdir) with doc.
(java.info, java.srcinfo, java.man, java.srcman): New rules.
(java.install-man): Revamp rule.

gcc/treelang/
2004-01-20  Kelley Cook  <kcook@gcc.gnu.org>

* Make-lang.in: Replace $(docdir) with doc.
(treelang.info, treelang.srcinfo): New rules.
(treelang.man, treelang.man): Dummy entries.

maintainer-scripts/
2004-01-20  Kelley Cook  <kcook@gcc.gnu.org>

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

From-SVN: r76249

20 years agoreorder struct exception hacks and only bypass glibc for proper C++ handling
Bruce Korb [Wed, 21 Jan 2004 00:23:04 +0000 (00:23 +0000)]
reorder struct exception hacks and only bypass glibc for proper C++ handling

From-SVN: r76246

20 years agoDaily bump.
GCC Administrator [Wed, 21 Jan 2004 00:16:14 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r76243

20 years agoreorder struct exception hacks and only bypass glibc for proper C++ handling
Bruce Korb [Tue, 20 Jan 2004 23:49:34 +0000 (23:49 +0000)]
reorder struct exception hacks and only bypass glibc for proper C++ handling

From-SVN: r76240

20 years agofold-const.c (fold_convert): Rename to fold_convert_const.
Roger Sayle [Tue, 20 Jan 2004 22:59:59 +0000 (22:59 +0000)]
fold-const.c (fold_convert): Rename to fold_convert_const.

* fold-const.c (fold_convert): Rename to fold_convert_const.
(fold_convert_const): Change arguments to take a tree_code,
a type and the operand/expression to be converted.  Return
NULL_TREE if no simplification is possible.  Add support for
FIX_CEIL_EXPR and FIX_FLOOR_EXPR in addition to FIX_TRUNC_EXPR.
(fold): Handle FIX_CEIL_EXPR and FIX_FLOOR_EXPR.
Adjust call to fold_convert to match new fold_convert_const.
Avoid modifying the tree passed to fold in-place.

From-SVN: r76237

20 years agosysv4.h (DWARF2_FRAME_REG_OUT): Define.
Alan Modra [Tue, 20 Jan 2004 22:29:24 +0000 (22:29 +0000)]
sysv4.h (DWARF2_FRAME_REG_OUT): Define.

* config/rs6000/sysv4.h (DWARF2_FRAME_REG_OUT): Define.
* dwarf2out.c (output_cfi): Map regs using DWARF2_FRAME_REG_OUT.
* doc/tm.texi (DWARF_FRAME_REGNUM, DWARF2_FRAME_REG_OUT): Document.

From-SVN: r76235

20 years agopa-protos.h (compute_frame_size): Use HOST_WIDE_INT for frame sizes.
John David Anglin [Tue, 20 Jan 2004 22:20:07 +0000 (22:20 +0000)]
pa-protos.h (compute_frame_size): Use HOST_WIDE_INT for frame sizes.

* pa-protos.h (compute_frame_size): Use HOST_WIDE_INT for frame sizes.
* pa.c (store_reg, store_reg_modify, load_reg, set_reg_plus_d):
Likewise.  Handle frames larger than 0x7fffffff on 64-bit ports.
(emit_move_sequence): Check scratch_reg first in various if statements.
Extend source simplification to handle all 64-bit CONST_INTs.
(pa_output_function_prologue): Use HOST_WIDE_INT_PRINT_DEC for printing
frame size.
(hppa_expand_prologue, hppa_expand_epilogue): Use HOST_WIDE_INT for
frame offset calculations.
* pa.h (NEW_HP_ASSEMBLER): Add comment.
(MAX_LEGIT_64BIT_CONST_INT, MIN_LEGIT_64BIT_CONST_INT,
LEGITIMATE_64BIT_CONST_INT_P): Define.
(LEGITIMATE_CONSTANT_P): Use LEGITIMATE_64BIT_CONST_INT_P.  Treat
any CONST_INT as legitimate during and after reload.
(VAL_32_BITS_P, INT_32_BITS): Define.
(LEGITIMIZE_RELOAD_ADDRESS): Handle large frame offsets.

From-SVN: r76234

20 years agoemit-rtl.c (verify_rtx_sharing, [...]): Clobbers containing hard regs are shared.
Jan Hubicka [Tue, 20 Jan 2004 22:16:59 +0000 (23:16 +0100)]
emit-rtl.c (verify_rtx_sharing, [...]): Clobbers containing hard regs are shared.

* emit-rtl.c (verify_rtx_sharing, copy_insn_1,
emit_copy_of_insn_after, emit_copy_of_insn_after): Clobbers
containing hard regs are shared.
(gen_hard_reg_clobber): New function.
(hard_reg_clobbers): New array.
* genemit.c (gen_exp): Use gen_hard_reg_clobber.
(copy_rtx): Do not copy clobbers containing hard regs.
* rtl.h (gen_hard_reg_clobber): Declare.

From-SVN: r76233

20 years agovarray.c: Include hashtab.h
Jan Hubicka [Tue, 20 Jan 2004 22:08:17 +0000 (23:08 +0100)]
varray.c: Include hashtab.h

* varray.c:  Include hashtab.h
(varray_descriptor): New structure.
(hash_descriptor, eq_descriptor, varray_descriptor,
print_statistics): New static functions
(varray_init, varray_grow): Update statistics
(dump_varray_statistics): New function.
* varray.h (dump_varray_statistics): Declare.
* toplev.c (finalize): Call it.
* Makefile.in (varray.o): Add dependency.

From-SVN: r76232

20 years agoMakefile.am (lib_org_w3c_dom_la_LIBADD, [...]): New.
Jakub Jelinek [Tue, 20 Jan 2004 21:25:27 +0000 (22:25 +0100)]
Makefile.am (lib_org_w3c_dom_la_LIBADD, [...]): New.

* Makefile.am (lib_org_w3c_dom_la_LIBADD,
lib_org_w3c_dom_la_LDFLAGS): New.
(lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
* Makefile.in: Rebuilt.

From-SVN: r76231

20 years agoGtkComponentPeer.java (setBounds): Calculate proper offsets for heavyweight component...
Thomas Fitzsimmons [Tue, 20 Jan 2004 21:24:09 +0000 (21:24 +0000)]
GtkComponentPeer.java (setBounds): Calculate proper offsets for heavyweight components packed in lightweight...

2004-01-20  Thomas Fitzsimmons  <fitzsim@redhat.com>

* gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
Calculate proper offsets for heavyweight components packed in
lightweight containers.

From-SVN: r76230

20 years agoGtkTextFieldPeer.java, [...] (native create): Add width parameter.
Thomas Fitzsimmons [Tue, 20 Jan 2004 21:05:39 +0000 (21:05 +0000)]
GtkTextFieldPeer.java, [...] (native create): Add width parameter.

2004-01-20  Thomas Fitzsimmons  <fitzsim@redhat.com>

* gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
(native create): Add width parameter.
(create): Calculate text entry width based on current font's
metrics and number of columns.  Set TextField's font if not
already set.  Call native create.
(gtkEntryGetBorderWidth): New native method.
(gtkEntryGetSize): Remove method.
(getMinimumSize): Call minimumSize.
(getPreferredSize): Call preferredSize.
(minimumSize): Calculate minimum size based on backing
GtkEntry's borders, font metrics and number of columns.
(preferredSize): Likewise for preferred size.
(get_border_width): New static function.

From-SVN: r76228

20 years agoGtkFramePeer.java (setResizable): Override GtkWindowPeer's setResizable method to...
Thomas Fitzsimmons [Tue, 20 Jan 2004 20:56:53 +0000 (20:56 +0000)]
GtkFramePeer.java (setResizable): Override GtkWindowPeer's setResizable method to account for menu bar height when...

2004-01-20  Thomas Fitzsimmons  <fitzsim@redhat.com>

* gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
Override GtkWindowPeer's setResizable method to account for menu
bar height when setting the frame's size.

From-SVN: r76227

20 years agocselib.c: Include alloc-pool.h
Jan Hubicka [Tue, 20 Jan 2004 20:36:18 +0000 (21:36 +0100)]
cselib.c: Include alloc-pool.h

* cselib.c: Include alloc-pool.h
(empty_vals, empty_elt_lists, empty_elt_loc_lists): Kill.
(elt_loc_list_pool, elt_list_pool, cselib_val_pool): Declare.
(new_elt_list, new_elt_loc_list, unchain_one_elt_list,
unchain_one_elt_loc_list_pool, unchain_one_value,
new_cselib_val): Simplify using allocpool.
(cselib_init): Initialize allocpools.
(cselib_finish): Finish allocpools.
* Makefile.in (cselib.o): Depend on alloc-pool.h

From-SVN: r76226

20 years agomips.c (mips_load_call_address): Make the call insn use $gp if it could be calling...
Richard Sandiford [Tue, 20 Jan 2004 19:58:59 +0000 (19:58 +0000)]
mips.c (mips_load_call_address): Make the call insn use $gp if it could be calling a lazy binding stub.

* config/mips/mips.c (mips_load_call_address): Make the call insn
use $gp if it could be calling a lazy binding stub.

From-SVN: r76224

20 years agos390.c (TARGET_PROMOTE_FUNCTION_ARGS): Define.
Kazu Hirata [Tue, 20 Jan 2004 18:29:24 +0000 (18:29 +0000)]
s390.c (TARGET_PROMOTE_FUNCTION_ARGS): Define.

* config/s390/s390.c (TARGET_PROMOTE_FUNCTION_ARGS): Define.
(TARGET_PROMOTE_FUNCTION_RETURN): Likewise.
(TARGET_STRUCT_VALUE_RTX): Likewise.
* config/s390/s390.h (PROMOTE_FUNCTION_ARGS): Remove.
(PROMOTE_FUNCTION_RETURN): Remove.
(STRUCT_VALUE): Remove.

From-SVN: r76220

20 years agoavr.h (BASE_REG_CLASS): Don't permit to use X register as pointer after reload.
Denis Chertykov [Tue, 20 Jan 2004 17:38:44 +0000 (17:38 +0000)]
avr.h (BASE_REG_CLASS): Don't permit to use X register as pointer after reload.

* config/avr/avr.h (BASE_REG_CLASS): Don't permit to use X
register as pointer after reload.

From-SVN: r76216

20 years agofix comment
Jason Merrill [Tue, 20 Jan 2004 17:01:28 +0000 (12:01 -0500)]
fix comment

From-SVN: r76215