1. 01 Apr, 2003 1 commit
  2. 31 Mar, 2003 35 commits
    • combine.c (can_combine_p): Allow ZERO_EXTRACT and STRICT_LOW_PART. · 73a39fc4
      2003-03-31  Eric Christopher  <echristo@redhat.com>
      
      	* combine.c (can_combine_p): Allow ZERO_EXTRACT and STRICT_LOW_PART.
      	(combinable_i3pat): Remove call to expand_field_assignment and
      	#if 0'd code.
      
      From-SVN: r65118
      Eric Christopher committed
    • re PR c++/10278 (ICE in parser) · 6b665219
      	PR c++/10278
      	* c-common.c (finish_label_address_expr): Handle the
      	error_mark_node.
      
      	PR c++/10278
      	* g++.dg/parse/crash2.C: New test.
      
      From-SVN: r65116
      Mark Mitchell committed
    • re PR ada/10020 (Can't bootstrap gcc on AIX with Ada enabled) · b174e2d4
      	PR ada/10020
      	* link.c : Fix misspelled "const" keyword
      
      From-SVN: r65115
      Geert Bosch committed
    • real.c (real_identical): Reorg so as to not compare signalling for normals. · 6c06208f
              * real.c (real_identical): Reorg so as to not compare
              signalling for normals.
      
      From-SVN: r65111
      Richard Henderson committed
    • m68hc11.c (m68hc11_gen_movhi): Don't rely on REG_WAS_0 notes as they are boggus. · c25292ce
      	* config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Don't rely on REG_WAS_0
      	notes as they are boggus.
      	(m68hc11_gen_movqi): Likewise.
      
      From-SVN: r65107
      Stephane Carrez committed
    • 20030331-1.c: New test, moved from... · 44f19ccb
      	* gcc.c-torture/compile/20030331-1.c: New test, moved from...
      	* gcc.c-torture/execute/20030331-1.c: ...here.
      
      From-SVN: r65106
      Richard Sandiford committed
    • m68hc11.c (expand_prologue): For an interrupt handler save the soft registers… · 07faf2d6
      m68hc11.c (expand_prologue): For an interrupt handler save the soft registers after the frame pointer so...
      
      	* config/m68hc11/m68hc11.c (expand_prologue): For an interrupt handler
      	save the soft registers after the frame pointer so that gdb can unwind
      	the frame more easily.
      	(expand_epilogue): Likewise in opposite order; allow to use X register
      	as scratch if the return value is by reference.
      
      From-SVN: r65104
      Stephane Carrez committed
    • re PR java/10145 (java and c++ disagree about class layout) · adff28c3
              PR java/10145
              * stor-layout.c (update_alignment_for_field): Respect
              DECL_USER_ALIGN for zero-length bitfields, too.
              * c-decl.c (finish_struct): Don't set DECL_ALIGN for normal
              fields.
              * cp/class.c (check_field_decl): Don't set DECL_ALIGN.
      
      From-SVN: r65103
      Jason Merrill committed
    • * gcc.c-torture/execute/20030331-1.c: New test. · e66833ac
      From-SVN: r65102
      Richard Sandiford committed
    • cpppch.c (struct cpp_savedstate): Add defs and n_defs members. · c419b113
      	* cpppch.c (struct cpp_savedstate): Add defs and n_defs members.
      	(count_defs): Keep track of number of defs as well as total size.
      	(write_defs): Put every definition in cpp_savedstate's defs array.
      	(comp_hashnode): Define.  Comparison function for qsort.
      	(cpp_write_pch_deps): Sort definitions before writing them.
      	(struct ht_node_list): Define. Like cpp_savedstate but simpler.
      	(collect_ht_nodes): Define.
      	(cpp_valid_state): When verifying that undefined identifiers in
      	the pch file are still undefined, read a sorted list of undefined
      	identifiers, collect all defined identifiers into a sorted list,
      	and walk through both lists to make sure there's no match.
      
      From-SVN: r65101
      Matt Austern committed
    • * config/h8300/h8300.md (a peephole2): New. · ef3a7d56
      From-SVN: r65098
      Kazu Hirata committed
    • std_streambuf.h (_M_out_buf_size()): Remove. · eb98bd16
      2003-03-31  Paolo Carlini  <pcarlini@unitus.it>
      
      	* include/std/std_streambuf.h (_M_out_buf_size()): Remove.
      	* include/bits/fstream.tcc (_M_allocate_internal_buffer):
      	Don't set _M_out_end.
      	(basic_filebuf::overflow): Replace _M_out_buf_size() with
      	this->_M_out_cur && this->_M_out_cur < this->_M_out_end.
      	* include/bits/sstream.tcc (basic_stringbuf::overflow):
      	Replace _M_out_buf_size() with this->_M_out_cur < this->_M_out_end;
      	* include/bits/streambuf.tcc (basic_streambuf::sputc):
      	Replace _M_out_buf_size() with _M_out_cur && _M_out_cur < _M_out_end.
      	(basic_streambuf::xsputn): Replace _M_out_buf_size() with
      	_M_out_end - _M_out_cur.
      	(__copy_streambufs): Likewise.
      	* include/std/std_fstream.h (_M_set_determinate): Set
      	_M_out_end here.
      
      From-SVN: r65093
      Paolo Carlini committed
    • re PR target/10177 (VRsave mask wrong) · c8ae788f
      2002-03-31  Segher Boessenkool  <segher@koffie.nl>
      
              PR target/10177
              * config/rs6000/rs6000.h (HARD_REGNO_RENAME_OK): New.
              * config/rs6000/rs6000.c (compute_vrsave_mask):
              Don't mark all call-clobbered registers as used.
      
      From-SVN: r65092
      Segher Boessenkool committed
    • cppexp.c (cpp_classify_number): Accept '.' after "0x". · 7f1fc38e
      	* cppexp.c (cpp_classify_number): Accept '.' after "0x".
      	* testsuite/gcc.dg/cpp/c99-hexfloat-3.c: New file.
      
      From-SVN: r65091
      Michael Matz committed
    • gcov.c: Add -a & -u options. · 27283c73
      	* gcov.c: Add -a & -u options.
      	(struct arc_info): Add local_span, is_call_non_return,
      	is_nonlocal_return, is_unconditional flags, remove is_call flag.
      	(struct block_info): Add flags, is_call_site, is_nonlocal_return
      	members. Make encodings a union with span member.
      	(struct function_info): Add blocks_executed, line, src, line_next
      	members.
      	(struct coverage_info): Make branches a union with blocks member.
      	(struct source_info): Add functions member.
      	(object_summary, program_count): New global variables.
      	(flag_all_blocks, flag_unconditional): New flags.
      	(find_source, output_branch_count): New functions.
      	(print_usage): Adjust.
      	(options): Adjust.
      	(process_args): Adjust.
      	(read_graph_file) <GCOV_TAG_FUNCTION>: Adjust.
      	<GCOV_TAG_BLOCKS>: Read flags.
      	<GCOV_TAG_LINES>: Adjust.
      	(read_count_file): Process SUMMARY tags.
      	(solve_flow_graph): Set is_unconditional and clear is_call_site
      	appropriately.
      	(add_branch_counts): Adjust. Don't count unconditional branches.
      	(add_line_counts): Deal with all-blocks mode, accumulate block
      	coverage.
      	(accumulate_line_counts): Adjust, generate local spanning tree for
      	all-blocks mode.
      	(output_lines): Adjust.
      	* profile.c (branch_prob): Alter GCOV_FUNCTION_TAG record.
      	* doc/gcov.texi: Document.
      testsuite:
      	* lib/gcov.exp: Adjust call return testing strings.
      	* g77.dg/gcov/gcov-1.f: Don't expect unconditional branches.
      
      From-SVN: r65090
      Nathan Sidwell committed
    • h8300.md: Organize peephole2's that trasform (compare (reg:HI) (const_int)). · 212d9313
      	* config/h8300/h8300.md: Organize peephole2's that trasform
      	(compare (reg:HI) (const_int)).
      
      From-SVN: r65089
      Kazu Hirata committed
    • emit-rtl.c (dconstm2, dconsthalf): New real constants. · 03f2ea93
      
      	* emit-rtl.c (dconstm2, dconsthalf): New real constants.
      	(init_emit_once): Initialize dconstm2 and dconsthalf here.
      	* real.h (dconstm2, dconsthalf): Add prototypes here.
      	* real.c (real_sqrt): Use dconsthalf rather than local copy.
      	* builtins.c (fold_builtin): When optimizing sqrt(exp(x)) as
      	exp(x/2.0) remember to fold the division if possible.
      	Fold sin(0.0) as 0.0, cos(0.0) as 1.0, pow(x,1.0) as x,
      	pow(x,-1.0) as 1.0/x, pow(x,2.0) as x*x, pow(x,-2.0) as
      	1.0/(x*x) and pow(x,0.5) as sqrt(x).
      
      	* gcc.dg/builtins-3.c: Add new tests for sin and cos.
      	* gcc.dg/builtins-7.c: New test case.
      	* gcc.dg/builtins-8.c: New test case.
      
      From-SVN: r65088
      Roger Sayle committed
    • 2003-03-31 Michael Koch <konqueror@gmx.de> · 8c1e9e34
      	* javax/swing/AbstractAction.java
      	(AbstractAction): Reformatted.
      	(serialVersionUID): New private member variable.
      	* javax/swing/plaf/BorderUIResource.java
      	(serialVersionUID): New private member variable.
      	* javax/swing/plaf/basic/BasicLookAndFeel.java
      	(serialVersionUID): New private member variable.
      
      From-SVN: r65087
      Michael Koch committed
    • 2003-03-31 Michael Koch <konqueror@gmx.de> · 75160ca7
      	* java/sql/Date.java
      	(valueOf): Deprecated, reformatted.
      	(toString): Deprecated, reformatted.
      	* java/sql/Time.java
      	(valueOf): Deprecated, reformatted.
      	(toString): Deprecated, reformatted.
      
      From-SVN: r65086
      Michael Koch committed
    • Removed wrong changelog entry · 7ff7feaa
      From-SVN: r65085
      Michael Koch committed
    • VMID.java, [...]: New version from libgcj. · 0b116356
      2003-03-31  Michael Koch  <konqueror@gmx.de>
      
      	* java/rmi/dgc/VMID.java,
      	java/rmi/registry/RegistryHandler.java,
      	java/rmi/server/LoaderHandler.java,
      	java/rmi/server/LogStream.java,
      	java/rmi/server/Operation.java,
      	java/rmi/server/RemoteCall.java,
      	java/rmi/server/RemoteRef.java,
      	java/rmi/server/RemoteStub.java,
      	java/rmi/server/Skeleton.java:
      	New version from libgcj.
      
      From-SVN: r65084
      Michael Koch committed
    • 2003-03-31 Michael Koch <konqueror@gmx.de> · aa7f7531
      	* java/rmi/dgc/VMID.java
      	(isUnique): Deprecated.
      
      From-SVN: r65083
      Michael Koch committed
    • * config/h8300/h8300.md (a new peephole2): New. · 155de338
      From-SVN: r65082
      Kazu Hirata committed
    • 2003-03-31 Michael Koch <konqueror@gmx.de> · da557ab8
      	* java/io/File.java
      	(separator): Merged documentation from classpath.
      	(separatorChar): Merged documentation from classpath.
      	(pathSeparator): Merged documentation from classpath.
      	(pathSeparatorChar): Merged documentation from classpath.
      	(path): Merged documentation from classpath.
      	(canRead): Merged documentation from classpath.
      	(canWrite): Merged documentation from classpath.
      	(createNewFile): Merged documentation from classpath.
      	(delete): Merged documentation from classpath.
      	(equals): Merged documentation from classpath.
      	(exists): Merged documentation from classpath.
      	(File): Renamed p to name to match classpath, merged documentation
      	from classpath.
      	(getAbsolutePath): Merged documentation from classpath.
      	(getCanonicalPath): Merged documentation from classpath.
      	(getCanonicalFile): Merged documentation from classpath.
      	(getName): Merged documentation from classpath.
      	(getParent): Merged documentation from classpath.
      	(getParentFile): Merged documentation from classpath.
      	(getPath): Merged documentation from classpath.
      	(hashCode): Merged documentation from classpath.
      	(isAbsolute): Merged documentation from classpath.
      	(isDirectory): Merged documentation from classpath.
      	(isFile): Merged documentation from classpath.
      	(isHidden): Merged documentation from classpath.
      	(lastModified): Merged documentation from classpath.
      	(length): Merged documentation from classpath.
      	(list): Merged documentation from classpath.
      	(listFiles): Merged documentation from classpath.
      	(toString): Merged documentation from classpath.
      	(toURL): Merged documentation from classpath.
      	(mkdir): Merged documentation from classpath.
      	(mkdirs): Merged documentation from classpath.
      	(createTempFile): Merged documentation from classpath.
      	(setReadOnly): Merged documentation from classpath.
      	(listRoots): Merged documentation from classpath.
      	(compareTo): Merged documentation from classpath.
      	(renameTo): Merged documentation from classpath.
      	(setLastModified): Merged documentation from classpath.
      	* java/io/PrintStream.java
      	(auto_flush): Merged documentation from classpath.
      	(PrintStream): Merged documentation from classpath.
      	(checkError): Merged documentation from classpath.
      	(setError): Merged documentation from classpath.
      	(close): Merged documentation from classpath.
      	(flush): Merged documentation from classpath.
      	(print): Merged documentation from classpath.
      	(println):  Merged documentation from classpath.
      	(write): Renamed count to len to match classpath,
      	merged documentation from classpath.
      	* java/io/RandomAccessFile.java
      	(readShort): Merged documentation from classpath.
      	(readUnsignedByte): Merged documentation from classpath.
      	(readUnsignedShort): Merged documentation from classpath.
      	(readUTF): Merged documentation from classpath.
      	(seek): Reformatted, merged documentation from classpath.
      	(skipBytes): Renamed some variables to match classpath, reformatted,
      	merged documentation from classpath.
      	(write): Merged documentation from classpath.
      	(writeBoolean): Merged documentation from classpath.
      	(writeByte): Merged documentation from classpath.
      	(writeShort): Merged documentation from classpath.
      	(writeChar): Merged documentation from classpath.
      	(writeInt): Merged documentation from classpath.
      	(writeLong): Merged documentation from classpath.
      	(writeFloat): Merged documentation from classpath.
      	(writeDouble): Merged documentation from classpath.
      	(writeBytes): Merged documentation from classpath.
      	(writeChars): Merged documentation from classpath.
      	(writeUTF): Reformatted.
      	(getChannel): Reformatted.
      
      From-SVN: r65081
      Michael Koch committed
    • 2003-03-31 Michael Koch <konqueror@gmx.de> · c32130d9
      	* java/awt/font/TextAttribute.java
      	(readResolve): Throws java.io.InvalidObjectException.
      
      From-SVN: r65080
      Michael Koch committed
    • 2003-03-31 Michael Koch <konqueror@gmx.de> · a1bda993
      	* java/rmi/server/LoaderHandler.java
      	(loadClass): Deprecated.
      	(getSecurityContext): Deprecated.
      	* java/rmi/server/LogStream.java
      	(getDefaultStream): Deprecated.
      	(setDefaultStream): Deprecated.
      	(getOutputStream): Deprecated.
      	(setOutputStream): Deprecated.
      	(write): Deprecated.
      	(toString): Deprecated.
      	(parseLevel): Deprecated.
      	* java/rmi/server/Operation.java
      	(Operation): Deprecated.
      	(getOperation): Deprecated.
      	(toString): Deprecated.
      	* java/rmi/server/RemoteCall.java
      	(getOutputStream): Deprecated.
      	(releaseOutputStream): Deprecated.
      	(getInputStream): Deprecated.
      	(releaseInputStream): Deprecated.
      	(getResultStream): Deprecated.
      	(executeCall): Deprecated.
      	(done): Deprecated.
      	* java/rmi/server/RemoteRef.java
      	(invoke): Deprecated.
      	(newCall): Deprecated.
      	(done): Deprecated.
      	* java/rmi/server/RemoteStub.java
      	(setRef): Deprecated.
      	* java/rmi/server/Skeleton.java:
      	No need to import java.lang.Exception explicitly.
      	(dispatch): Deprecated.
      	(getOperations): Deprecated.
      
      From-SVN: r65079
      Michael Koch committed
    • VMID.java, [...]: Reformatted. · 60c98fd6
      2003-03-31  Michael Koch  <konqueror@gmx.de>
      
      	* java/rmi/dgc/VMID.java,
      	java/rmi/registry/RegistryHandler.java,
      	java/rmi/server/LogStream.java,
      	java/rmi/server/Operation.java,
      	java/rmi/server/RemoteCall.java,
      	java/rmi/server/RemoteRef.java,
      	java/rmi/server/RemoteStub.java:
      	Reformatted.
      
      From-SVN: r65078
      Michael Koch committed
    • AbstractCellEditor.java, [...]: Merges from classpath. · 2ce0d0b0
      2003-03-31  Michael Koch  <konqueror@gmx.de>
      
      	* javax/swing/AbstractCellEditor.java,
      	javax/swing/AbstractListModel.java,
      	javax/swing/ActionMap.java,
      	javax/swing/BorderFactory.java,
      	javax/swing/ButtonGroup.java,
      	javax/swing/DefaultBoundedRangeModel.java,
      	javax/swing/DefaultButtonModel.java,
      	javax/swing/DefaultCellEditor.java,
      	javax/swing/DefaultComboBoxModel.java,
      	javax/swing/DefaultDesktopManager.java,
      	javax/swing/DefaultListCellRenderer.java,
      	javax/swing/DefaultSingleSelectionModel.java,
      	javax/swing/InputMap.java,
      	javax/swing/JComponent.java,
      	javax/swing/JMenu.java,
      	javax/swing/JSlider.java,
      	javax/swing/KeyStroke.java,
      	javax/swing/OverlayLayout.java,
      	javax/swing/ScrollPaneLayout.java,
      	javax/swing/SizeRequirements.java,
      	javax/swing/UIManager.java,
      	javax/swing/ViewportLayout.java,
      	javax/swing/border/AbstractBorder.java,
      	javax/swing/colorchooser/DefaultColorSelectionModel.java,
      	javax/swing/event/EventListenerList.java,
      	javax/swing/table/AbstractTableModel.java,
      	javax/swing/table/DefaultTableCellRenderer.java,
      	javax/swing/table/DefaultTableColumnModel.java,
      	javax/swing/table/DefaultTableModel.java,
      	javax/swing/table/TableColumn.java,
      	javax/swing/text/StyledEditorKit.java,
      	javax/swing/tree/DefaultMutableTreeNode.java,
      	javax/swing/tree/DefaultTreeModel.java,
      	javax/swing/tree/DefaultTreeSelectionModel.java,
      	javax/swing/tree/TreePath.java,
      	javax/swing/undo/AbstractUndoableEdit.java,
      	javax/swing/undo/StateEdit.java,
      	javax/swing/undo/StateEditable.java,
      	javax/swing/undo/UndoableEditSupport.java:
      	Merges from classpath.
      
      From-SVN: r65077
      Michael Koch committed
    • gcse.c (simple_mem): Return false for floating-point accesses if flag_float_store is true. · 98d3d336
      	* gcse.c (simple_mem): Return false for floating-point accesses
      	if flag_float_store is true.
      
      From-SVN: r65076
      Richard Sandiford committed
    • gcse.c (gcse_constant_p): New function to identify constants suitable for constant propagation... · 6b2d1c9e
      
      	* gcse.c (gcse_constant_p): New function to identify constants
      	suitable for constant propagation, including COMPARE with two
      	integer constant arguments.
      	(hash_scan_set): Use gcse_constant_p.
      	(find_avail_set): Likewise.
      	(cprop_insn): Likewise.
      	(do_local_cprop): Likewise.
      	(find_implicit_sets): Likewise.
      	(find_bypass_set): Likewise.
      
      From-SVN: r65075
      Roger Sayle committed
    • * except.h: Remove definition of varray_type. · af829441
      From-SVN: r65074
      Matt Kraai committed
    • String.java (data, [...]): Documented. · 6a76da08
      	* java/lang/String.java (data, boffset, count): Documented.
      	(String(byte[],String)): Reformatted.
      	(String(byte[])): Likewise.
      	(lastIndexOf(int)): Likewise.
      	(lastIndexOf(String)): Likewise.
      	(substring(int)): Renamed argument to match Classpath.
      	(String(StringBuffer)): Don't share buffer if it is nearly empty.
      
      From-SVN: r65070
      Tom Tromey committed
    • Daily bump. · bd3f840c
      From-SVN: r65069
      GCC Administrator committed
  3. 30 Mar, 2003 4 commits