- 31 Mar, 2003 29 commits
-
-
* 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 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 -
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 -
From-SVN: r65102
Richard Sandiford committed -
* 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 -
From-SVN: r65098
Kazu Hirata committed -
From-SVN: r65094
Michael Matz committed -
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 -
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". * testsuite/gcc.dg/cpp/c99-hexfloat-3.c: New file. From-SVN: r65091
Michael Matz committed -
* 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 -
* 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. (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 -
* 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 -
* 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 -
From-SVN: r65085
Michael Koch committed -
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 -
* java/rmi/dgc/VMID.java (isUnique): Deprecated. From-SVN: r65083
Michael Koch committed -
From-SVN: r65082
Kazu Hirata committed -
* 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 -
* java/awt/font/TextAttribute.java (readResolve): Throws java.io.InvalidObjectException. From-SVN: r65080
Michael Koch committed -
* 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 -
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 -
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. From-SVN: r65076
Richard Sandiford committed -
* 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 -
From-SVN: r65074
Matt Kraai committed -
* 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 -
From-SVN: r65069
GCC Administrator committed
-
- 30 Mar, 2003 11 commits
-
-
From-SVN: r65062
Richard Henderson committed -
* toplev.c (rest_of_compilation): Run purge_builtin_constant_p before post-gcse cse pass. From-SVN: r65061
Richard Henderson committed -
From-SVN: r65060
Roger Sayle committed -
PR c++/7647 * decl.c (grokdeclarator): Tidy, slightly. * search.c (lookup_field_1): Add want_type parameter. (lookup_field_r): Adjust call to lookup_field_1. PR c++/7647 * g++.dg/lookup-class-member-2.C: New test. From-SVN: r65057
Mark Mitchell committed -
* profile.c (instrument_edges): Make sure any newly created jump insns have correct jump label info. From-SVN: r65056
DJ Delorie committed -
* java/lang/String.java: Miscellaneous minor formatting changes to match Classpath more closely. From-SVN: r65055
Tom Tromey committed -
* cfgbuild.c (make_edges): Use tablejump_p. * cfgcleanup.c (label_is_jump_target_p): Likewise. * cfglayout.c (cfg_layout_can_duplicate_bb_p): Likewise. * cfgrtl.c (flow_delete_block_noexpunge): Likewise. (try_redirect_by_replacing_jump): Likewise. (redirect_edge_and_branch): Likewise. * cse.c (fold_rtx): Likewise. * jump.c (delete_related_insns): Likewise. * rtlanal.c (get_jump_table_offset): Likewise. * ssa-ccp.c (ssa_ccp_df_delete_unreachable_insns): Likewise. From-SVN: r65054
Richard Henderson committed -
From-SVN: r65053
Glen Nakamura committed -
* Makefile.in (STRICT_WARN): Don't warn for ISO C constructs. (STRICT2_WARN): Likewise. From-SVN: r65052
Gabriel Dos Reis committed -
From-SVN: r65051
Gabriel Dos Reis committed -
PR other/6955 * collect2.c (collect_wait): Use WCOREDUMP and fix output message. * system.h (WCOREDUMP, WCOREFLG): Define if necessary. From-SVN: r65048
Kaveh R. Ghazi committed
-