1. 26 Apr, 2005 1 commit
  2. 25 Apr, 2005 27 commits
    • re PR c++/20995 (ICE in const_binop, at fold-const.c:1391) · c2cab3e9
      
      	PR c++/20995
      	* g++.dg/opt/pr20995-1.C: New test case.
      
      From-SVN: r98745
      Roger Sayle committed
    • 2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com> · 817b4ef4
      	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
      	(connectSignals): Realize the window widget after connecting
      	signals.
      
      From-SVN: r98744
      Thomas Fitzsimmons committed
    • [multiple changes] · 84e0bcb8
      2005-04-25  Jeroen Frijters  <jeroen@frijters.net>
      
      	* java/awt/GraphicsEnvironment.java
      	(localGraphicsEnvironment): New field.
      	(getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
      	property.
      	(isHeadless): Added support for java.awt.headless property.
      	(isHeadlessInstance): Call headless().
      
      2005-04-25  Roman Kennke  <roman@kennke.org>
      
      	* gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
      	(getDisplayMode): Added. Returns the current display mode.
      	(isFullScreenSupported): Added.
      	* java/awt/GraphicsDevice.java
      	(setFullScreenWindow): Implemented a primitive fullscreen mode.
      	This resizes and relocates the fullscreen window so that it uses
      	the whole screen. This is not a fully accelerated fullscreen
      	exclusive mode.
      
      From-SVN: r98740
      Michael Koch committed
    • Runtime.java, [...]: Replaced java.lang.Runtime.securityManager by… · 4b30c6bd
      Runtime.java, [...]: Replaced java.lang.Runtime.securityManager by java.lang.SecurityManager.current...
      
      2005-04-25  Michael Koch  <konqueror@gmx.de>
      
      	* java/lang/Runtime.java,
      	java/lang/SecurityManager.java,
      	java/lang/System.java,
      	java/lang/ThreadGroup.java:
      	Replaced java.lang.Runtime.securityManager by
      	java.lang.SecurityManager.current (as used in GNU classpath).
      
      From-SVN: r98738
      Michael Koch committed
    • dbxout.c (dbxout_type): Emit attribute vector. · 1f4ea3f2
              * dbxout.c (dbxout_type): Emit attribute vector.
              * gcc.dg/stabs-attrib-vect-darwin.c: New test.
      
      From-SVN: r98737
      Devang Patel committed
    • 2005-04-25 David Gilbert <david.gilbert@object-refinery.com> · 23a58ffe
      	* java/awt/Transparency.java
      	(getTransparency): fixed API docs.
      
      From-SVN: r98735
      David Gilbert committed
    • [multiple changes] · ee141b88
      2005-04-25  Archie Cobbs  <archie@dellroad.org>
      
      	* java/lang/Throwable.java: simplify initializing cause in constructor
      
      2005-04-25  Michael Koch  <konqueror@gmx.de>
      
      	* gnu/classpath/SystemProperties.java: New file.
      	* gnu/classpath/natSystemProperties.cc: New file.
      	* java/lang/Runtime.java
      	(defaultProperties): Removed.
      	(static): Likewise.
      	(): Made thrown exceptions more verbose.
      	(insertSystemProperties): Removed.
      	* java/lang/System.java
      	(static): Likewise.
      	(properties): Likewise.
      	(setSecurityManager): Reordered modifiers.
      	(getenv): Improved javadoc.
      	(): Likewise.
      	(isWordsBigEndian): Removed.
      	* java/lang/natRuntime.cc
      	(_Jv_SetDLLSearchPath): Likewise.
      	(file_encoding): Likewise.
      	(default_file_encoding): Likewise.
      	(getpwuid_adaptor): Likewise.
      	(insertSystemProperties): Likewise.
      	* java/lang/natSystem.cc
      	(isWordsBigEndian): Likewise.
      	* Makefile.am
      	(ordinary_java_source_files):
      	Added gnu/classpath/SystemProperties.java.
      	(nat_source_files): Added gnu/classpath/natSystemProperties.cc.
      	* Makefile.in: Regenerated.
      
      From-SVN: r98734
      Michael Koch committed
    • 2005-04-25 Roman Kennke <roman@kennke.org> · 8efae6bb
      	* javax/swing/plaf/basic/BasicScrollBarUI.java
      	(initDefaults): Initialize thumb*Color fields correctly.
      
      2005-04-25  Roman Kennke  <roman@kennke.org>
      
      	* javax/swing/text/GapContent.java:
      	Added API comments.
      
      2005-04-25  Roman Kennke  <roman@kennke.org>
      
      	* javax/swing/plaf/metal/MetalBorders.java:
      	Added inner class ScrollPaneBorder.
      	* javax/swing/plaf/metal/MetalLookAndFeel.java
      	(initComponentDefaults): Added default for "ScrollPane.border"
      	to use the new ScrollPaneBorder.
      
      2005-04-25  Roman Kennke  <roman@kennke.org>
      
      	* javax/swing/text/AbstractDocument.java:
      	Added FIXME comments. This class still has to be
      	implemented thread-safe.
      
      2005-04-25  Roman Kennke  <roman@kennke.org>
      
      	* javax/swing/tree/DefaultTreeSelectionModel.java
      	(DefaultTreeSelectionModel): Initialize listenerList here.
      
      2005-04-25  Roman Kennke  <roman@kennke.org>
      
      	* javax/swing/plaf/metal/MetalTextFieldUI.java
      	(createUI): Return one instance per Component instead of a
      	shared instance.
      
      2005-04-25  Roman Kennke  <roman@kennke.org>
      
      	* javax/swing/text/Document.java:
      	Added API documentation comments.
      
      2005-04-25  Roman Kennke  <roman@kennke.org>
      
      	* javax/swing/text/AbstractDocument.java
      	(getDocumentProperties): Implemented.
      	(setDocumentProperties): Implemented.
      	(getProperty): Implemented.
      	(putProperty): Implemented.
      
      2005-04-25  Roman Kennke  <roman@kennke.org>
      
      	* javax/swing/BoxLayout
      	(preferredLayoutSize): Fixed computation so that it correctly
      	adds the top and bottom insets of the container.
      
      2005-04-25  Roman Kennke  <roman@kennke.org>
      
      	* javax/swing/plaf/basic/BasicMenuItemUI.java
      	(paintText): Make use of the 'selectionForeground' UI default
      	for text painting.
      
      2005-04-25  Roman Kennke  <roman@kennke.org>
      
      	* javax/swing/plaf/basic/BasicLookAndFeel.java
      	(initSystemColorDefaults): Modified colors to match the
      	BasicLookAndFeel in the reference implementation.
      	(initComponentDefaults): Likewise.
      
      From-SVN: r98733
      Roman Kennke committed
    • target-def.h (TARGET_CXX_USE_AEABI_ATEXIT): Define. · 9f62c3e3
      	* target-def.h (TARGET_CXX_USE_AEABI_ATEXIT): Define.
      	* target.h (struct gcc_target): Add cxx.use_aeabi_atexit.
      	* config/arm/arm.c (arm_cxx_atexit_name): New function.
      	(TARGET_CXX_USE_AEABI_ATEXIT): New macro.
      	* cp/decl.c (get_atexit_node): Reorder arguments for __aeabi_atexit.
      	(register_dtor_fn): Likewise.
      	* doc/tm.texi: Document TARGET_CXX_USE_AEABI_ATEXIT.
      
      From-SVN: r98732
      Paul Brook committed
    • c-common.def (EXPR_STMT): Remove, moved to C++ frontend. · 934790cc
      ./	* c-common.def (EXPR_STMT): Remove, moved to C++ frontend.
      	* c-common.h (EXPR_STMT_EXPR): Don't define.
      	(c_common_stmt_codes): Don't define.
      	* c-dump.c (c_dump_tree): Remove EXPR_STMT case.
      	* c-gimplify.c (gimplify_expr_stmt): Remove.
      	(c_gimplify_expr): Remove EXPR_STMT case.
      	* c-objc-common.c (c_objc_common_init): Remove stmt_codes and call
      	to INIT_STATEMENT_CODES.
      	* c-pretty-print.c (pp_c_statement): Just call dump_generic_node.
      cp/
      	* cp-tree.def: Add EXPR_STMT.
      	* cp-tree.h (cp_stmt_codes): Add EXPR_STMT.
      	(EXPR_STMT_EXPR): Define.
      	* cp-gimplify.c: Include "flags.h".
      	(gimplify_expr_stmt): New static function.
      	(cp_gimplify_expr): Handle EXPR_STMT.
      	* cxx-pretty-print.c (pp_cxx_statement): Use pp_cxx_expression
      	rather than pp_expression.
      	(pp_cxx_statement): Handle EXPR_STMT.
      	* dump.c (cp_dump_tree): Handle EXPR_STMT.
      	* lex.c (cxx_init): Don't use c_common_stmt_codes in stmt_codes
      	initializer.
      
      From-SVN: r98731
      Ian Lance Taylor committed
    • jni.h (_Jv_va_list): Removed. · eca5a6a9
      	* include/jni.h (_Jv_va_list): Removed.
      	Moved configuration code...
      	* include/jni_md.h: ... here.  New file.
      	* include/Makefile.in: Rebuilt.
      	* include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
      
      From-SVN: r98730
      Tom Tromey committed
    • re PR testsuite/21062 (Incorrect declaration of printf() in alias2.C) · 3321369f
      2005-04-25  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR testsuite/21062
              * g++.dg/opt/alias2.C (printf): Correct the prototype.
      
      From-SVN: r98728
      Andrew Pinski committed
    • re PR c++/21188 (CbcModel.cpp:3571: internal compiler error: in compare_values, at tree-vrp.c:292) · 0453e74d
      2005-04-25  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR C++/21188
              * g++.dg/opt/rtti2.C: New test.
      2005-04-25  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR C++/21188
              * rtti.c (ifnonnull): Cast the zero comparison operand
              to the correct type.
      
      From-SVN: r98726
      Andrew Pinski committed
    • tree-cfg.c (tree_duplicate_bb): Duplicate EH region too. · cc7220fd
      
      
      	* tree-cfg.c (tree_duplicate_bb): Duplicate EH region too.
      
      	* except.c: Include diagnostic.h
      	(dump_eh_tree, verify_eh_tree): New functions.
      	* except.h (verify_eh_tree, dump_eh_tree, verify_eh_edges): Declare.
      	* tree-cfg.c (tree_verify_flow_info): verify eh edges.
      	(dump_function_to_file): dump eh tree.
      	* tree-eh.c (mark_eh_edge): New function.
      	(mark_eh_edge_found_error): New static variable.
      	(verify_eh_edges): New function.
      
      From-SVN: r98724
      Jan Hubicka committed
    • tree-ssa-alias.c (fieldoff_t): Remove. · 2845f02a
      	* tree-ssa-alias.c (fieldoff_t): Remove.
      	(fieldoff_s): typedef the structure itself.  Create a vector of
      	objects.
      	(push_fields_onto_fieldstack): Return count of fields pushed.
      	Remove peeling of first field.  Adjust.
      	(fieldoff_compare): Adjust.
      	(create_overlap_variables_for): Adjust.
      
      From-SVN: r98723
      Nathan Sidwell committed
    • re PR bootstrap/21215 (gcc build fails on Solaris 10, opteron) · 8f47c084
      	PR bootstrap/21215
      	* doc/install.texi: Document correct assembler and linker to use
      	on i?86-*-solaris2.10.
      
      From-SVN: r98715
      Joseph Myers committed
    • Testcase for pr 21173 · 1d6a90c1
      From-SVN: r98714
      Daniel Berlin committed
    • re PR tree-optimization/21173 (miscompiled pointer subtraction broke Linux kernel) · 81c4f554
      
      2005-04-25  Steven Bosscher  <stevenb@suse.de>
      
      	Fix PR tree-optimization/21173
      
      	* tree-ssa-pre.c (create_expression_by_pieces): Simplify code.
      	Unshare expression we pass to force_gimple_operand.
      
      From-SVN: r98712
      Steven Bosscher committed
    • re PR rtl-optimization/20413 (VOIDmode LABEL_REFs are generated) · 4c33cb26
      2005-04-25  J"orn Rennecke <joern.rennecke@st.com>
      	    Stephen Clarke <stevec@superh.com>
      	    Roger Sayle <roger@eyesopen.com>
      
      	PR rtl-optimization/20413
      	* cfgrtl.c (redirect_edge_and_branch): Use Pmode instead of
      	VOIDmode for LABEL_REF.
      	* final.c (shorten_branches): Likewise.
      	* jump.c (mark_all_labels, redirect_exp_1): Likewise.
      	* loop.c (reg_dead_after_loop): Likewise.
      	* varasm.c (decode_addr_const): Likewise.
      	* doc/rtl.texi: Document mode requirement for LABEL_REF.
      
      Co-Authored-By: Roger Sayle <roger@eyesopen.com>
      Co-Authored-By: Stephen Clarke <stevec@superh.com>
      
      From-SVN: r98711
      J"orn Rennecke committed
    • re PR libstdc++/21035 (Documentation for std::basic_string::compare() incorrect) · a26b6b94
      2005-04-25  Paolo Carlini  <pcarlini@suse.de>
      
      	PR libstdc++/21035
      	* include/bits/basic_string.h (compare): Adjust the documentation
      	to match the implementation and the standard.
      
      From-SVN: r98708
      Paolo Carlini committed
    • config.gcc (avr-*-*): Remove redundant "case". · 9469878c
      2005-04-25  Ralf Corsepius  <ralf.corsepius@rtems.org>
      
      	* config.gcc (avr-*-*): Remove redundant "case".
      
      From-SVN: r98699
      Ralf Corsepius committed
    • tree-vect-analyze.c (vect_mark_relevant): Take VEC(tree,heap) instead of… · 51d00891
      tree-vect-analyze.c (vect_mark_relevant): Take VEC(tree,heap) instead of varray_type as an argument.
      
      	* tree-vect-analyze.c (vect_mark_relevant): Take
      	VEC(tree,heap) instead of varray_type as an argument.
      	(vect_mark_stmts_to_be_vectorized): Change the type of
      	worklist to VEC(tree,heap).  Adjust uses of worklist.
      
      From-SVN: r98695
      Kazu Hirata committed
    • * config/rs6000/darwin.h (ASM_OUTPUT_MAX_SKIP_ALIGN): New. · eb1093d3
      From-SVN: r98694
      Devang Patel committed
    • c-semantics.c (build_stmt): Remove test of specific tree codes for TREE_SIDE_EFFECTS handling. · bbcfd969
      	* c-semantics.c (build_stmt): Remove test of specific tree codes
      	for TREE_SIDE_EFFECTS handling.
      
      From-SVN: r98693
      Ian Lance Taylor committed
    • Daily bump. · 95457597
      [[Split portion of a mixed commit.]]
      
      From-SVN: r98691.2
      GCC Administrator committed
    • re PR fortran/20879 (argument to ICHAR must have length one) · 860c8f3b
      2005-04-25  Paul Brook  <paul@codesourcery.com>
      	Steven G. Kargl  <kargls@comcast.net>
      
      	PR fortran/20879
      	* check.c (gfc_check_ichar_iachar): New function.
      	* instinsic.h (gfc_check_ichar_iachar): Add prototype.
      	* intrinsic.c (add_functions): Use it.
      	* primary.c (match_varspec, gfc_match_rvalue): Clear incorrect
      	character expression lengths.
      
      testsuite/
      	* gfortran.dg/ichar_1.f90: New file.
      
      Co-Authored-By: Steven G. Kargl <kargls@comcast.net>
      
      From-SVN: r98686
      Paul Brook committed
  3. 24 Apr, 2005 12 commits