OSDN Git Service

pf3gnuchains/gcc-fork.git
19 years ago2005-04-27 Michael Koch <konqueror@gmx.de>
mkoch [Wed, 27 Apr 2005 07:30:36 +0000 (07:30 +0000)]
2005-04-27  Michael Koch  <konqueror@gmx.de>

* java/nio/charset/Charset.java (providers2): Renamed from 'providers'
to work around CNI limitation.

2005-04-27  Sven de Marothy  <sven@physto.se>

* java/nio/charset/Charset.java:
(defaultCharset()): New method.
Status updated to 1.5

2005-04-27  Sven de Marothy  <sven@physto.se>

* java/nio/charset/Charset.java: Cached encoders shouldn't be static.

2005-04-27  Sven de Marothy  <sven@physto.se>

* java/nio/charset/Charset.java: Reset cached de/encoders.

2005-04-27  Robert Schuster <thebohemian@gmx.net>

* java/nio/charset/Charset.java (forName): Throws
IllegalArgumentException when argument is null
and added documentation.

2005-04-27  Ito Kazumitsu  <kaz@maczuka.gcd.org>

* java/nio/charset/Charset.java (providers):
New method to make an array of CharsetProviders defined in
META-INF/services/java.nio.charset.spi.CharsetProvider.
(charsetForName, availableCharsets): Use the
new method providers().

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98816 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-04-27 Matt Thomas <matt@3am-software.com>
matt [Wed, 27 Apr 2005 02:18:43 +0000 (02:18 +0000)]
2005-04-27  Matt Thomas <matt@3am-software.com>

        * config/vax/vax.c (legitimate_constant_address_p): New.  Formerly
                CONSTANT_ADDRESS_P in config/vax/vax.h
        (legitimate_constant_p): Added.  Formerly CONSTANT_P in vax.h.
        (INDEX_REGISTER_P): New.
        (BASE_REGISTER_P): New.
        (indirectable_constant_address_p): New.  Adapted from
                INDIRECTABLE_CONSTANT_ADDRESS_P in vax.h.
                Use SYMBOL_REF_LOCAL_P.
        (indirectable_address_p): New.  Adapted from
                INDIRECTABLE_ADDRESS_P in vax.h.
        (nonindexed_address_p): New.  Adapted from
                GO_IF_NONINDEXED_ADDRESS in vax.h.
        (index_temp_p): New.  Adapted from
                INDEX_TERM_P in vax.h.
        (reg_plus_index_p): New.  Adapted from
                GO_IF_REG_PLUS_INDEX in vax.h.
        (legitimate_address_p): New.  Adapted from
                GO_IF_LEGITIMATE_ADDRESS in vax.h
        (vax_mode_dependent_address_p): New.  Adapted from
                GO_IF_MODE_DEPENDENT_ADDRESS in vax.h
        * config/vax/vax.h (CONSTANT_ADDRESS_P): Use
                legitimate_constant_address_p
        (CONSTANT_P): Use legitimate_constant_p.
        (INDIRECTABLE_CONSTANT_ADDRESS_P): Removed.
        (INDIRECTABLE_ADDRESS_P): Removed.
        (GO_IF_NONINDEXED_ADDRESS): Removed.
        (INDEX_TEMP_P): Removed.
        (GO_IF_REG_PLUS_INDEX): Removed.
        (GO_IF_LEGITIMATE_ADDRESS): Use legitimate_address_p.
                Two definitions, depending on whether REG_OK_STRICT is defined.
        (GO_IF_MODE_DEPENDENT_ADDRESS): Use vax_mode_dependent_address_p.
                Two definitions, depending on whether REG_OK_STRICT is defined.
        * config/vax/vax-protos.h (legitimate_constant_address_p): Prototype
                added.
        (legitimate_constant_p): Prototype added.
        (legitimate_address_p): Prototype added.
        (vax_mode_dependent_address_p): Prototype added.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98814 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * tree.h (phi_arg_d): Expand a comment in phi_arg_d.
kazu [Wed, 27 Apr 2005 01:43:11 +0000 (01:43 +0000)]
* tree.h (phi_arg_d): Expand a comment in phi_arg_d.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98813 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR c/21213
jsm28 [Wed, 27 Apr 2005 00:47:06 +0000 (00:47 +0000)]
PR c/21213
* c-decl.c (finish_struct): Don't dereference NULL TYPE_FIELDS of
transparent union.

testsuite:
* gcc.dg/transparent-union-3.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98808 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoDaily bump.
gccadmin [Wed, 27 Apr 2005 00:16:20 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98805 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR c/20740
jsm28 [Tue, 26 Apr 2005 23:58:04 +0000 (23:58 +0000)]
PR c/20740
* c-format.c (init_dynamic_asm_fprintf_info): Give errors, not
assertion failures, if __gcc_host_wide_int__ is not properly
defined.
(init_dynamic_diag_info): Give errors, not assertion failures, if
location_t, tree or __gcc_host_wide_int__ are not properly
defined.

testsuite:
* gcc.dg/format/asm_fprintf-2.c, gcc.dg/format/asm_fprintf-3.c,
gcc.dg/format/asm_fprintf-4.c, gcc.dg/format/asm_fprintf-5.c,
gcc.dg/format/gcc_diag-2.c, gcc.dg/format/gcc_diag-3.c,
gcc.dg/format/gcc_diag-4.c, gcc.dg/format/gcc_diag-5.c,
gcc.dg/format/gcc_diag-6.c, gcc.dg/format/gcc_diag-7.c ,
gcc.dg/format/gcc_diag-8.c, gcc.dg/format/gcc_diag-9.c: New tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98800 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * tree.h (tree_phi_node): Add a comment about the order of PHI
kazu [Tue, 26 Apr 2005 22:49:27 +0000 (22:49 +0000)]
* tree.h (tree_phi_node): Add a comment about the order of PHI
arguments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98798 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * tree-ssa-loop-ivopts.c (ivopts_data, decl_rtl_to_reset,
kazu [Tue, 26 Apr 2005 22:43:53 +0000 (22:43 +0000)]
* tree-ssa-loop-ivopts.c (ivopts_data, decl_rtl_to_reset,
n_iv_uses, iv_use, n_iv_cands, iv_cand,
tree_ssa_iv_optimize_init, record_use, add_candidate_1,
prepare_decl_rtl, free_loop_data,
tree_ssa_iv_optimize_finalize): Use the VEC API instead of
VARRAY.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98797 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoAdd PR to ChangeLog.
dje [Tue, 26 Apr 2005 22:17:41 +0000 (22:17 +0000)]
Add PR to ChangeLog.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98796 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-04-26 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 26 Apr 2005 22:07:39 +0000 (22:07 +0000)]
2005-04-26  Michael Koch  <konqueror@gmx.de>

* java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
Fixed typos in javadocs.
(isSiteLocalAddress): Fixed handling of byte values.
(isMCLinkLocal): Likewise.
* java/net/Inet4Address.java
(isMulticastAddress): Call super method.
(isLoopbackAddress): Likewise.
(isAnyLocalAddress): Likewise.
(isLinkLocalAddress): Likewise.
(isSiteLocalAddress): Likewise.
(isMCGlobal): Likewise.
(isMCNodeLocal): Likewise.
(isMCLinkLocal): Likewise.
(isMCSiteLocal): Likewise.
(isMCOrgLocal): Likewise.
(getHostAddress): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98795 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-04-26 Sven de Marothy <sven@physto.se>
mkoch [Tue, 26 Apr 2005 21:55:30 +0000 (21:55 +0000)]
2005-04-26  Sven de Marothy  <sven@physto.se>

* java/net/InetAddress.java
(toString): Don't print empty hostnames.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98793 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
tromey [Tue, 26 Apr 2005 21:49:23 +0000 (21:49 +0000)]
2005-04-26  Luca Barbieri  <luca.barbieri@gmail.com>

PR libgcj/21136:
* gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
'false' to native lock().
(lock): Pass 'true' to native lock().

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98792 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-04-26 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 26 Apr 2005 21:44:26 +0000 (21:44 +0000)]
2005-04-26  Michael Koch  <konqueror@gmx.de>

* java/net/InetAddress.java:
Fixed typos in javadocs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98791 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-04-26 Andrew Haley <aph@redhat.com>
tromey [Tue, 26 Apr 2005 20:52:34 +0000 (20:52 +0000)]
2005-04-26  Andrew Haley  <aph@redhat.com>

PR libgcj/21020:
* jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
field's type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98789 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * io/rewind.c (st_rewind): Flush the stream when resetting the mode
dje [Tue, 26 Apr 2005 19:27:11 +0000 (19:27 +0000)]
    * io/rewind.c (st_rewind): Flush the stream when resetting the mode
        from WRITING to READING.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98788 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * javax/swing/text/html/parser/ParserDelegator.java (callBack,
tromey [Tue, 26 Apr 2005 18:57:40 +0000 (18:57 +0000)]
* javax/swing/text/html/parser/ParserDelegator.java (callBack,
gnu): Now package-private.
* javax/swing/text/html/parser/DocumentParser.java (parser,
callBack, gnu): Now package-private.
* javax/swing/text/StringContent.java (content, setOffset,
checkLocation): Now package-private.
* javax/swing/text/JTextComponent.java (doc): Now
package-private.
* javax/swing/plaf/basic/BasicToolBarUI.java (owner,
lastGoodOrientation, origParent, borders, cachedBounds,
cachedOrientation, DragWindow): Now package-private.
* javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
decrButton, viewport, panel, currentScrollLocation, layoutManager,
tabAreaRect, contentRect, createIncreaseButton,
createDecreaseButton, findPointForIndex): Now package-private.
* javax/swing/plaf/basic/BasicSplitPaneDivider.java
(currentDividerLocation, moveDividerTo): Now package-private.
* javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
package-private.
* javax/swing/plaf/basic/BasicScrollBarUI.java
(calculatePreferredSize, valueForYPosition, valueForXPosition):
Now package-private.
* javax/swing/plaf/basic/BasicPopupMenuUI.java
(topWindowListener): Now package-private.
* javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
(messageAreaContainer, buttonContainer, resetSelectedValue): Now
package-private.
* javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
package-private.
* javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
Now package-private.
* javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
package-private.
* javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
borderInsets): Now package-private.
(arrowButtonWidth): Likewise.  Now a constant.
* javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
makeTabs, updatePreviewPanel): Now package-private.
* javax/swing/plaf/basic/BasicArrowButton.java (shadow,
darkShadow, highlight): Now package-private.
* javax/swing/colorchooser/DefaultSwatchChooserPanel.java
(addColorToQueue): Now package-private.
* javax/swing/colorchooser/DefaultRGBChooserPanel.java
(spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
GSpinner, BSpinner): Now package-private.
* javax/swing/colorchooser/DefaultHSBChooserPanel.java
(gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
updateTrack): Now package-private.
* javax/swing/TransferHandler.java (clipboard): Now
package-private.
* javax/swing/ToolTipManager.java (showTip, hideTip): Now
package-private.
* javax/swing/Timer.java (drainEvents, queueEvent): Now
package-private.
* javax/swing/RepaintManager.java (globalManager): Now
package-private.
* javax/swing/JFormattedTextField.java (editValid): Now
package-private.
* javax/swing/JColorChooser.java (makeModal): Now
package-private.
* java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
index, path): Now package-private.
* java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
lineQuadIntersect, lineCubicIntersect, linesIntersect,
pointEquals): Now package-private.
* java/awt/geom/Arc2D.java (type): Now package-private.
* java/awt/Window.java (windowFocusOwner): Now package-private.
* java/awt/TextComponent.java (editable, selectionStart,
selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
package-private.
* java/awt/MenuItem.java (actionCommand, enabled, label): Now
package-private.
* java/awt/MenuComponent.java (focusListener): Now
package-private.
* java/awt/Frame.java (state): Now package-private.
* java/awt/Choice.java (pItems): Now package-private.
* java/awt/Checkbox.java (state): Now package-private.
* java/awt/Button.java (actionCommand, label): Now
package-private.
* gnu/javax/swing/text/html/parser/support/Parser.java
(attributes, _handleEndTag_remaining, _handleStartTag): Now
package-private.
* gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
package-private.
* gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
clip, transform, font, comp): Now package-private.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98786 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
tromey [Tue, 26 Apr 2005 18:28:49 +0000 (18:28 +0000)]
* java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
static way.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98785 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-04-26 Paul Brook <paul@codesourcery.com>
pbrook [Tue, 26 Apr 2005 18:21:27 +0000 (18:21 +0000)]
2005-04-26  Paul Brook  <paul@codesourcery.com>

* config/arm/arm.md (thumb_mulsi3): Use two-operand assembly form.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98783 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/mips/mips.c (mips_legitimize_tls_address): Use
nathan [Tue, 26 Apr 2005 17:55:32 +0000 (17:55 +0000)]
* config/mips/mips.c (mips_legitimize_tls_address): Use
gcc_unreachable.

* config/mmix/mmix.c (mmix_assemble_integer): Use gcc_assert.
* config/mmix/crti.asm (_init): Reword comment to avoid 'abort'.
* config/mmix/mmix.md (nonlocal_goto_receiver): Likewise.

* config/sparc/sparc.h (enum reg_class): Reword comment to avoid
'abort'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98782 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * tree-flow-inline.h (op_iter_next_must_and_may_def): New.
law [Tue, 26 Apr 2005 17:37:33 +0000 (17:37 +0000)]
* tree-flow-inline.h (op_iter_next_must_and_may_def): New.
(op_iter_init_must_and_may_def): Likewise.
(unmodifiable_var_p): Move to a later point in the file.
* tree-ssa-operands.h (FOR_EACH_SSA_MUST_AND_MAY_DEF_OPERAND): New.
* tree-ssa-dse.c (need_imm_uses_for): Remove, no longer needed.
(dse_record_phis): Directly check for virtual operands rather than
using need_imm_uses_for.
(dse_optimize_stmt): Handle V_MUST_DEF operands.  Handle case where
store has multiple V_{MAY,MUST}_DEF operands.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98780 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * gcc.dg/tree-ssa/ssa-dse-1.c: New test.
law [Tue, 26 Apr 2005 17:15:46 +0000 (17:15 +0000)]
* gcc.dg/tree-ssa/ssa-dse-1.c: New test.
* gcc.dg/tree-ssa/ssa-dse-2.c: New test.
* gcc.dg/tree-ssa/ssa-dse-3.c: New test.
* gcc.dg/tree-ssa/ssa-dse-4.c: New test.
* gcc.dg/tree-ssa/ssa-dse-5.c: New test.
* gcc.dg/tree-ssa/ssa-dse-6.c: New test.
* gcc.dg/tree-ssa/ssa-dse-7.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98779 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-04-26 Andrew MacLeod <amacleod@redhat.com>
amacleod [Tue, 26 Apr 2005 17:11:25 +0000 (17:11 +0000)]
2005-04-26  Andrew MacLeod  <amacleod@redhat.com>

* tree-cfg.c (bsi_replace): Delink immediate uses for the original stmt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98778 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * tree-cfg.c (lv_adjust_loop_header_phi): Speed up moving a
kazu [Tue, 26 Apr 2005 16:53:53 +0000 (16:53 +0000)]
* tree-cfg.c (lv_adjust_loop_header_phi): Speed up moving a
call to find_edge outside a loop to go through a PHI chain.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98776 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2004-04-26 Richard Guenther <rguenth@gcc.gnu.org>
rguenth [Tue, 26 Apr 2005 16:35:31 +0000 (16:35 +0000)]
2004-04-26  Richard Guenther  <rguenth@gcc.gnu.org>

PR tree-optimization/17598
* fold-const.c (fold_binary): Fold comparisons of addresses
of COMPONENT_REFs which reference the same field to
comparisons of the addresses of the base objects.

* gcc.dg/tree-ssa/pr17598.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98775 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/arm/arm.c (arm_return_in_msb): New function.
jules [Tue, 26 Apr 2005 16:30:37 +0000 (16:30 +0000)]
* config/arm/arm.c (arm_return_in_msb): New function.
(arm_must_pass_in_stack): New function.
(TARGET_RETURN_IN_MSB): Define target hook.
(TARGET_MUST_PASS_IN_STACK): Define target hook.
(arm_function_value): Pad small aggregate return.
(arm_pad_arg_upward): New function.
(arm_pad_reg_upward): New function.
* config/arm/arm.h (PROMOTE_FUNCTION_MODE): Include complex values.
(FUNCTION_ARG_PADDING): Define macro.
(BLOCK_REG_PADDING): Define macro.
(PAD_VARARGS_DOWN): Correct padding for AAPCS.
* config/arm/arm-protos.h (arm_pad_arg_upward): Declare function.
(arm_pad_reg_upward): Declare function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98774 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-04-26 Jones Desougi <jones@ingate.com>
paolo [Tue, 26 Apr 2005 15:49:38 +0000 (15:49 +0000)]
2005-04-26  Jones Desougi  <jones@ingate.com>

PR libstdc++/21131
* linkage.m4: Fix comments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98771 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR tree-optimization/21047
kazu [Tue, 26 Apr 2005 15:16:51 +0000 (15:16 +0000)]
PR tree-optimization/21047
* fold-const.c (fold_binary): Abort on ASSERT_EXPR.
(fold): Don't handle ASSERT_EXPR.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98770 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * basic-block.h (ei_cond): New.
kazu [Tue, 26 Apr 2005 14:27:35 +0000 (14:27 +0000)]
* basic-block.h (ei_cond): New.
(FOR_EACH_EDGE): Call ei_cond.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98769 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-04-26 Paolo Carlini <pcarlini@suse.de>
paolo [Tue, 26 Apr 2005 09:31:07 +0000 (09:31 +0000)]
2005-04-26  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/21209
* include/bits/locale_facets.tcc (_M_extract_int): Avoid signed
integer overflow, always use a suited unsigned type in the main
parsing loop.
(struct __to_unsigned_type): New.
* testsuite/22_locale/num_get/get/char/16.cc: New.
* testsuite/22_locale/num_get/get/wchar_t/16.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98768 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-04-26 Mark Wielaard <mark@klomp.org>
mkoch [Tue, 26 Apr 2005 07:49:16 +0000 (07:49 +0000)]
2005-04-26  Mark Wielaard  <mark@klomp.org>

* java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
to MalformedURLException.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98767 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-04-26 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 26 Apr 2005 07:16:48 +0000 (07:16 +0000)]
2005-04-26  Michael Koch  <konqueror@gmx.de>

* java/security/AccessControlContext.java:
Reformated.
(protectedDomains): Renamed from 'protectionDomain'.
* java/security/AccessController.java:
Reformatted.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98766 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-04-26 Jeroen Frijters <jeroen@frijters.net>
mkoch [Tue, 26 Apr 2005 07:11:10 +0000 (07:11 +0000)]
2005-04-26  Jeroen Frijters  <jeroen@frijters.net>

* gnu/java/security/action/GetSecurityPropertyAction.java
(GetSecurityPropertyAction): Implement PrivilegedAction instead
of extending GetPropertyAction.
(name): New field.
(value): Likewise.
(setParamters): New methods.
(GetSecurityPropertyAction): Use new setParameters methods.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98765 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-04-26 Jeroen Frijters <jeroen@frijters.net>
mkoch [Tue, 26 Apr 2005 05:22:12 +0000 (05:22 +0000)]
2005-04-26  Jeroen Frijters  <jeroen@frijters.net>

* java/security/Security.java,
java/security/cert/X509CRLSelector.java,
java/security/cert/X509CertSelector.java:
Modified to use SystemProperties.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98764 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-04-26 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 26 Apr 2005 05:09:35 +0000 (05:09 +0000)]
2005-04-26  Michael Koch  <konqueror@gmx.de>

* java/lang/System.java
(setSecurityManager): Fixed comment.
(getSecurityManager): Removed obsolete comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98763 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * sched-deps.c (sched_analyze_1): On STACK_REGS targets, x87, treat
sayle [Tue, 26 Apr 2005 04:11:56 +0000 (04:11 +0000)]
* sched-deps.c (sched_analyze_1): On STACK_REGS targets, x87, treat
all writes to any stack register as a read/write dependency on
FIRST_STACK_REG.
(sched_analyze_2): Likewise, for reads from any stack register.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98762 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * final.c (output_addr_const): Revert 2005-04-09 change.
rth [Tue, 26 Apr 2005 01:01:19 +0000 (01:01 +0000)]
    * final.c (output_addr_const): Revert 2005-04-09 change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98756 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/darwin.c (darwin_encode_section_info): Always set
mrs [Tue, 26 Apr 2005 00:50:31 +0000 (00:50 +0000)]
    * config/darwin.c (darwin_encode_section_info): Always set
        MACHO_SYMBOL_STATIC for all ! TREE_PUBLIC symbols.

        * objc.dg/fix-and-continue-1.m: Add.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98755 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * collect2.c, gcc.c, gcov-dump.c, gcov.c, gen-protos.c,
ghazi [Tue, 26 Apr 2005 00:24:02 +0000 (00:24 +0000)]
* collect2.c, gcc.c, gcov-dump.c, gcov.c, gen-protos.c,
gensupport.c, protoize.c, toplev.c: Replace calls to
`unlock_stream' with `unlock_std_streams'.

java:
* gjavah.c, jcf-dump.c, jv-scan.c, jvgenmain.c: Replace calls
to `unlock_stream' with `unlock_std_streams'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98753 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * java/awt/AWTKeyStroke.java (vktable): Now package-private.
tromey [Tue, 26 Apr 2005 00:22:19 +0000 (00:22 +0000)]
* java/awt/AWTKeyStroke.java (vktable): Now package-private.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98752 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoDaily bump.
gccadmin [Tue, 26 Apr 2005 00:16:33 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98749 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoinclude:
ghazi [Tue, 26 Apr 2005 00:14:35 +0000 (00:14 +0000)]
include:
* libiberty.h (unlock_std_streams): New.

libiberty:
* fopen_unlocked.c (unlock_std_streams): New.

* functions.texi: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98746 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR c++/20995
sayle [Mon, 25 Apr 2005 23:32:56 +0000 (23:32 +0000)]
PR c++/20995
* g++.dg/opt/pr20995-1.C: New test case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98745 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
fitzsim [Mon, 25 Apr 2005 23:16:53 +0000 (23:16 +0000)]
2005-04-25  Thomas Fitzsimmons  <fitzsim@redhat.com>

* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
(connectSignals): Realize the window widget after connecting
signals.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98744 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-04-25 Jeroen Frijters <jeroen@frijters.net>
mkoch [Mon, 25 Apr 2005 20:58:13 +0000 (20:58 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98740 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-04-25 Michael Koch <konqueror@gmx.de>
mkoch [Mon, 25 Apr 2005 20:35:17 +0000 (20:35 +0000)]
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).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98738 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * dbxout.c (dbxout_type): Emit attribute vector.
dpatel [Mon, 25 Apr 2005 20:26:00 +0000 (20:26 +0000)]
    * dbxout.c (dbxout_type): Emit attribute vector.
        * gcc.dg/stabs-attrib-vect-darwin.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98737 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-04-25 David Gilbert <david.gilbert@object-refinery.com>
mkoch [Mon, 25 Apr 2005 19:51:00 +0000 (19:51 +0000)]
2005-04-25  David Gilbert  <david.gilbert@object-refinery.com>

* java/awt/Transparency.java
(getTransparency): fixed API docs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98735 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-04-25 Archie Cobbs <archie@dellroad.org>
mkoch [Mon, 25 Apr 2005 19:48:35 +0000 (19:48 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98734 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-04-25 Roman Kennke <roman@kennke.org>
mkoch [Mon, 25 Apr 2005 19:36:43 +0000 (19:36 +0000)]
2005-04-25  Roman Kennke  <roman@kennke.org>

* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98733 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * target-def.h (TARGET_CXX_USE_AEABI_ATEXIT): Define.
jules [Mon, 25 Apr 2005 19:35:18 +0000 (19:35 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98732 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago./
ian [Mon, 25 Apr 2005 19:03:41 +0000 (19:03 +0000)]
./
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98731 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * include/jni.h (_Jv_va_list): Removed.
tromey [Mon, 25 Apr 2005 18:44:10 +0000 (18:44 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98730 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-04-25 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Mon, 25 Apr 2005 18:28:55 +0000 (18:28 +0000)]
2005-04-25  Andrew Pinski  <pinskia@physics.uc.edu>

        PR testsuite/21062
        * g++.dg/opt/alias2.C (printf): Correct the prototype.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98728 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-04-25 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Mon, 25 Apr 2005 18:08:35 +0000 (18:08 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98726 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * tree-cfg.c (tree_duplicate_bb): Duplicate EH region too.
hubicka [Mon, 25 Apr 2005 17:24:28 +0000 (17:24 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98724 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * tree-ssa-alias.c (fieldoff_t): Remove.
nathan [Mon, 25 Apr 2005 17:12:49 +0000 (17:12 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98723 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * doc/invoke.texi (Blackfin Options): Avoid empty @opindex line.
jsm28 [Mon, 25 Apr 2005 14:42:29 +0000 (14:42 +0000)]
* doc/invoke.texi (Blackfin Options): Avoid empty @opindex line.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98717 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR bootstrap/21215
jsm28 [Mon, 25 Apr 2005 14:30:21 +0000 (14:30 +0000)]
PR bootstrap/21215
* doc/install.texi: Document correct assembler and linker to use
on i?86-*-solaris2.10.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98715 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoTestcase for pr 21173
dberlin [Mon, 25 Apr 2005 14:18:30 +0000 (14:18 +0000)]
Testcase for pr 21173

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98714 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-04-25 Steven Bosscher <stevenb@suse.de>
dberlin [Mon, 25 Apr 2005 13:59:36 +0000 (13:59 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98712 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-04-25 J"orn Rennecke <joern.rennecke@st.com>
amylaar [Mon, 25 Apr 2005 12:46:12 +0000 (12:46 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98711 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-04-25 Paolo Carlini <pcarlini@suse.de>
paolo [Mon, 25 Apr 2005 10:59:21 +0000 (10:59 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98708 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-04-25 Ralf Corsepius <ralf.corsepius@rtems.org>
corsepiu [Mon, 25 Apr 2005 04:40:02 +0000 (04:40 +0000)]
2005-04-25  Ralf Corsepius  <ralf.corsepius@rtems.org>

* config.gcc (avr-*-*): Remove redundant "case".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98699 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * tree-vect-analyze.c (vect_mark_relevant): Take
kazu [Mon, 25 Apr 2005 02:33:12 +0000 (02:33 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98695 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/rs6000/darwin.h (ASM_OUTPUT_MAX_SKIP_ALIGN): New.
dpatel [Mon, 25 Apr 2005 02:10:41 +0000 (02:10 +0000)]
   *  config/rs6000/darwin.h (ASM_OUTPUT_MAX_SKIP_ALIGN): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98694 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * c-semantics.c (build_stmt): Remove test of specific tree codes
ian [Mon, 25 Apr 2005 01:18:23 +0000 (01:18 +0000)]
* c-semantics.c (build_stmt): Remove test of specific tree codes
for TREE_SIDE_EFFECTS handling.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98693 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoDaily bump.
gccadmin [Mon, 25 Apr 2005 00:16:36 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98691 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-04-25 Paul Brook <paul@codesourcery.com>
pbrook [Mon, 25 Apr 2005 00:09:11 +0000 (00:09 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98686 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * c-opts.c (finish_options): Make the line-number of the <built-in>
bothner [Sun, 24 Apr 2005 23:27:37 +0000 (23:27 +0000)]
* c-opts.c (finish_options):  Make the line-number of the <built-in>
location 0, as assumed elsewhere, rather than 1.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98685 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * tree-ssa-uncprop.c (equiv_stack): Change the type o
kazu [Sun, 24 Apr 2005 23:23:33 +0000 (23:23 +0000)]
* tree-ssa-uncprop.c (equiv_stack): Change the type o
VEC(tree,heap).
(tree_ssa_uncprop, uncprop_finalize_block,
uncprop_initialize_block): Update uses of equiv_stack.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98684 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-04-24 Paolo Carlini <pcarlini@suse.de>
paolo [Sun, 24 Apr 2005 22:37:07 +0000 (22:37 +0000)]
2005-04-24  Paolo Carlini  <pcarlini@suse.de>

* docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 35.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98681 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * Make-lang.in (java/decl.o, java/resource.o): Depend on $(EXPR_H)
jakub [Sun, 24 Apr 2005 22:16:49 +0000 (22:16 +0000)]
* Make-lang.in (java/decl.o, java/resource.o): Depend on $(EXPR_H)
instead of just expr.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98679 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR rtl-opt/21163
rth [Sun, 24 Apr 2005 22:16:48 +0000 (22:16 +0000)]
    PR rtl-opt/21163
        * simplify-rtx.c (simplify_binary_operation) <IOR>: Check
        for SCALAR_INT_MODE_P instead of not MODE_CC before returning
        constm1_rtx.
        <AND, LSHIFTRT, UMIN>: Use CONST0_RTX.
        <UDIV, UMOD>: Use CONST0_RTX and CONST1_RTX.
        <DIV, MOD>: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98678 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * collect2.c (main): Unlock the stdio streams.
ghazi [Sun, 24 Apr 2005 22:11:55 +0000 (22:11 +0000)]
* collect2.c (main): Unlock the stdio streams.
* gcc.c (main): Likewise.
* gcov-dump.c (main): Likewise.
* gcov.c (main): Likewise.
* gen-protos.c (main): Likewise.
* gensupport.c (init_md_reader_args_cb): Likewise.
* protoize.c (main): Likewise.
* toplev.c (general_init): Likewise.

java:
* gjavah.c (main): Unlock the stdio streams.
* jcf-dump.c (main): Likewise.
* jv-scan.c (main): Likewise.
* jvgenmain.c (main): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98676 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR middle-end/20991
jakub [Sun, 24 Apr 2005 22:06:37 +0000 (22:06 +0000)]
PR middle-end/20991
* cgraph.h (cgraph_local_info): Add vtable_method field.
* varasm.c (mark_decl_referenced): If cgraph_global_info_ready
and node is vtable_method, finalized and not reachable, don't do
anything.

* class.c: Include cgraph.h.
(cp_fold_obj_type_ref): Set node->local.vtable_method.
* Make-lang.in (cgraph.o): Depend on $(CGRAPH_H).

* g++.dg/opt/pr20991.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98674 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * gcc.dg/compat/struct-layout-1_generate.c: In arrays avoid types
jakub [Sun, 24 Apr 2005 22:01:53 +0000 (22:01 +0000)]
* gcc.dg/compat/struct-layout-1_generate.c: In arrays avoid types
where sizeof (type) < __alignof__ (type).
* gcc.dg/compat/struct-layout-1.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98673 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR preprocessor/20907
bothner [Sun, 24 Apr 2005 20:05:25 +0000 (20:05 +0000)]
PR preprocessor/20907
* gcc.dg/cpp/very-long-comment.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98669 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * tree-ssa-live.c (build_tree_conflict_graph): Change the type
kazu [Sun, 24 Apr 2005 19:51:35 +0000 (19:51 +0000)]
* tree-ssa-live.c (build_tree_conflict_graph): Change the type
of tpa_to_clear to VEC(int,heap).  Update uses of
tpa_to_clear.  Free tpa_to_clear at the end.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98668 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * mangle.c (write_builtin_type): Handle integer types which are
mmitchel [Sun, 24 Apr 2005 17:35:34 +0000 (17:35 +0000)]
* mangle.c (write_builtin_type): Handle integer types which are
not one of the shared integer type nodes and emit a "vendor
extended builtin type" with an encoding in the form of "u5int96".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98665 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * tree-ssa-copy.c (copy_prop_visit_cond_stmt): Use
kazu [Sun, 24 Apr 2005 14:15:13 +0000 (14:15 +0000)]
* tree-ssa-copy.c (copy_prop_visit_cond_stmt): Use
COMPARISON_CLASS_P.
* tree-ssa-pre.c (create_value_expr_from): Use
CONSTANT_CLASS_P and REFERENCE_CLASS_P.
* tree-ssa-propagate.c (stmt_makes_single_load,
stmt_makes_single_store): Use REFERENCE_CLASS_P.
* tree-vect-transform.c (vect_is_simple_cond): Use
COMPARISON_CLASS_P.
* tree-vrp.c (extract_range_from_assert,
build_assert_expr_for, fp_predicate, has_assert_expr): Use
COMPARISON_CLASS_P.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98664 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-04-24 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Sun, 24 Apr 2005 14:05:06 +0000 (14:05 +0000)]
2005-04-24  Andrew Pinski  <pinskia@physics.uc.edu>

        * tree.h (TREE_THIS_VOLATILE): Document the effect on a
        function decl.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98663 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agofortran/
tobi [Sun, 24 Apr 2005 13:51:39 +0000 (13:51 +0000)]
fortran/
PR fortran/20059
* trans-common.c (translate_common): Cast offset and
common_segment->offset to type int for warning message.
testsuite/
PR fortran/20059
* gfortran.dg/common_5.f: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98660 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * cp-tree.def (USING_STMT): Change class to tcc_statement.
ian [Sun, 24 Apr 2005 13:38:19 +0000 (13:38 +0000)]
* cp-tree.def (USING_STMT): Change class to tcc_statement.
(TRY_BLOCK, EH_SPEC_BLOCK, HANDLER, CLEANUP_STMT): Likewise.
(IF_STMT, FOR_STMT, WHILE_STMT, DO_STMT): Likewise.
(BREAK_STMT, CONTINUE_STMT, SWITCH_STMT): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98659 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/rs6000/rs6000.c (rs6000_override_options): Use gcc_assert
nathan [Sun, 24 Apr 2005 12:53:36 +0000 (12:53 +0000)]
* config/rs6000/rs6000.c (rs6000_override_options): Use gcc_assert
and gcc_unreachable as appropriate.
(num_insns_constant, output_vec_const_move,
build_mask64_2_operands, rs6000_output_dwarf_dtprel,
rs6000_emit_set_const, rs6000_emit_move,
spe_build_register_parallel, function_arg,
rs6000_move_block_from_reg, altivec_expand_predicate_builtin,
spe_expand_predicate_builtin, spe_expand_evsel_builtin,
rs6000_expand_builtin, spe_init_builtins, altivec_init_builtins,
rs6000_common_init_builtins, expand_block_clear,
expand_block_move, validate_condition_mode, ccr_bit, extract_MB,
extract_ME, rs6000_get_some_local_dynamic_name,
rs6000_output_function_entry, print_operand,
print_operand_address, rs6000_generate_compare, rs6000_emit_sCOND,
output_cbranch, output_e500_flip_gt_bit,
rs6000_emit_vector_compare, rs6000_emit_vector_compare,
rs6000_emit_cmove, rs6000_emit_minmax, rs6000_split_multireg_move,
compute_save_world_info, rs6000_stack_info,
rs6000_emit_load_toc_table, rs6000_frame_related,
spe_synthesize_frame_save, rs6000_emit_epilogue,
rs6000_output_function_epilogue, rs6000_hash_constant, output_toc,
output_function_profiler, rs6000_trampoline_size,
rs6000_initialize_trampoline, find_addr_reg,
rs6000_machopic_legitimize_pic_address,
rs6000_initial_elimination_offset,
rs6000_dbx_register_number): Likewise.
* config/rs6000/rs6000.md (*fix_truncdfsi2_internal,
*movdf_hardfloat32, *movdf_softfloat32, *fix_trunctfsi2_internal,
*movti_power, *movti_string, call, call_value, sibcall,
sibcall_value): Likewise.
* config/rs6000/spe.md (*movdf_e500_double,
*movv2si_internal): Likewise.
* config/rs6000/rs6000.h (PREFERRED_RELOAD_CLASS): Remove 'abort'
from comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98658 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * de.po: Update.
jsm28 [Sun, 24 Apr 2005 10:35:30 +0000 (10:35 +0000)]
* de.po: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98654 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR target/21101
rth [Sun, 24 Apr 2005 07:59:22 +0000 (07:59 +0000)]
    PR target/21101
        * config/i386/i386.h (CANNOT_CHANGE_MODE_CLASS): Move guts to ...
        * config/i386/i386.c (ix86_cannot_change_mode_class): ... here.
        Deny modes smaller than 4 bytes.
        * config/i386/i386-protos.h: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98650 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoFix typo in previous changelog entry.
corsepiu [Sun, 24 Apr 2005 07:39:32 +0000 (07:39 +0000)]
Fix typo in previous changelog entry.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98649 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-04-24 Ralf Corsepius <ralf.corsepius@rtems.org>
corsepiu [Sun, 24 Apr 2005 06:41:51 +0000 (06:41 +0000)]
2005-04-24  Ralf Corsepius  <ralf.corsepius@rtems.org>

* config.gcc (h8300-*-rtems*): Add h8300-rtemscoff.
Switch h8300-*-rtems* to ELF.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98644 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * vec.h (VEC_safe_grow): Replace grow with safe_grow.
kazu [Sun, 24 Apr 2005 01:40:53 +0000 (01:40 +0000)]
* vec.h (VEC_safe_grow): Replace grow with safe_grow.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98643 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoDaily bump.
gccadmin [Sun, 24 Apr 2005 00:16:23 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98640 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * ipa-inline.c, tree-ssa-operands.h: Fix comment typos.
kazu [Sat, 23 Apr 2005 23:01:11 +0000 (23:01 +0000)]
* ipa-inline.c, tree-ssa-operands.h: Fix comment typos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98637 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2005-04-23 Richard Guenther <rguenth@gcc.gnu.org>
rguenth [Sat, 23 Apr 2005 21:34:40 +0000 (21:34 +0000)]
2005-04-23  Richard Guenther  <rguenth@gcc.gnu.org>

PR middle-end/21082
* fold-const.c: Fold &a[i]-&a[j] to i-j.

* g++.dg/tree-ssa/pr21082.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98636 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * tree-ssa-loop-niter.c (tree_simplify_using_condition): Expand simple
rakdver [Sat, 23 Apr 2005 21:33:15 +0000 (21:33 +0000)]
* tree-ssa-loop-niter.c (tree_simplify_using_condition): Expand simple
definitions of ssa names in condition.  Split recusive part to ...
(tree_simplify_using_condition_1): New function.
(expand_simple_operations): New function.

* gcc.dg/vect/vect-99.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98635 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * tree-ssa-loop-ivopts.c (struct cost_pair): Add value field.
rakdver [Sat, 23 Apr 2005 21:31:16 +0000 (21:31 +0000)]
* tree-ssa-loop-ivopts.c (struct cost_pair): Add value field.
(find_interesting_uses_cond): Do not use integer_zerop and
integer_nonzerop to check for integer constants.
(set_use_iv_cost): Record the value field.
(determine_use_iv_cost_generic, determine_use_iv_cost_address,
determine_use_iv_cost_outer): Set the value field of the cost pair.
(may_eliminate_iv): Do not return the comparison code.
(iv_elimination_compare): New function.
(determine_use_iv_cost_condition): Set the value field.  Record
noneliminable invariants correctly.
(rewrite_use_compare, rewrite_use_outer): Use the value field.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98634 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago* diagnostic.c (warning): Accept parameter to classify warning option.
dj [Sat, 23 Apr 2005 21:29:07 +0000 (21:29 +0000)]
* diagnostic.c (warning): Accept parameter to classify warning option.
(warning0): New, for when a pointer to an error() like function is needed.
* errors.c (warning): Likewise.
* errors.h (warning, warning0): Adjust prototypes.
* toplev.h (warning, warning0): Likewise.

* attribs.c, builtins.c, c-common.c, c-decl.c, c-format.c,
c-gimplify.c, c-lex.c, c-objc-common.c, c-opts.c, c-parser.c,
c-pragma.c, c-typeck.c, calls.c, cgraph.c, coverage.c, emit-rtl.c,
fold-const.c, fortran/trans-decl.c, function.c, gcse.c,
genautomata.c, haifa-sched.c, opts.c, passes.c, regclass.c,
reload1.c, stmt.c, stor-layout.c, toplev.c, tree-cfg.c,
tree-dump.c, tree-inline.c, tree-mudflap.c, tree-optimize.c,
tree-ssa.c, tree.c, varasm.c: Adjust warning() callers.

* config/alpha/alpha.c, config/arc/arc.c, config/arm/arm.c,
config/avr/avr.c, config/bfin/bfin.c, config/c4x/c4x-c.c,
config/c4x/c4x.c, config/cris/cris.c, config/darwin-c.c,
config/darwin.c, config/darwin.h, config/h8300/h8300.c,
config/i386/cygming.h, config/i386/djgpp.h, config/i386/i386.c,
config/i386/winnt.c, config/ia64/ia64-c.c, config/ia64/ia64.c,
config/ip2k/ip2k.c, config/m32r/m32r.c, config/m68hc11/m68hc11.c,
config/m68k/m68k.c, config/mcore/mcore.c, config/mips/mips.c,
config/mmix/mmix.c, config/ns32k/ns32k.c, config/pa/pa-hpux11.h,
config/pa/pa.c, config/rs6000/aix43.h, config/rs6000/aix51.h,
config/rs6000/aix52.h, config/rs6000/darwin.h,
config/rs6000/rs6000-c.c, config/rs6000/rs6000.c,
config/s390/s390.c, config/sh/sh.c, config/sh/sh.h,
config/sh/symbian.c, config/sol2-c.c, config/sol2.c,
config/stormy16/stormy16.c, config/v850/v850-c.c,
config/v850/v850.c, config/xtensa/xtensa.c: Adjust warning()
callers.

* ada/misc.c: Adjust warning() callers.

* cp/call.c, cp/class.c, cp/cvt.c, cp/decl.c, cp/decl2.c,
cp/except.c, cp/friend.c, cp/init.c, cp/lex.c, cp/mangle.c,
cp/method.c, cp/name-lookup.c, cp/parser.c, cp/repo.c, cp/rtti.c,
cp/tree.c, cp/typeck.c, cp/typeck2.c: Adjust warning() callers.

* fortran/trans-decl.c: Adjust warning() callers.

* java/class.c, java/decl.c, java/expr.c, java/jcf-io.c,
java/jcf-parse.c, java/jv-scan.c, java/parse.y: Adjust warning()
callers.

* objc/objc-act.c: Adjust warning() callers.

* treelang/parse.y: Adjust warning() callers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98633 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoRevert accidental commit.
rth [Sat, 23 Apr 2005 21:26:26 +0000 (21:26 +0000)]
Revert accidental commit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98632 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR rtl-opt/21102
rth [Sat, 23 Apr 2005 19:16:54 +0000 (19:16 +0000)]
    PR rtl-opt/21102
        * simplify-rtx.c (simplify_binary_operation): Fix mode check before
        performing some integral scalar simplifications.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98631 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR target/21099
rth [Sat, 23 Apr 2005 17:14:27 +0000 (17:14 +0000)]
    PR target/21099
        * config/i386/i386.c (ix86_split_to_parts): Use proper mode when
        simplifying CONST_VECTOR.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98624 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoUpdate of gfortran.info to describe extensions to the standard for namelist io.
pault [Sat, 23 Apr 2005 17:03:07 +0000 (17:03 +0000)]
Update of gfortran.info to describe extensions to the standard for namelist io.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98622 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoRemoved Zdenek's name as requested by him.
dnovillo [Sat, 23 Apr 2005 16:51:56 +0000 (16:51 +0000)]
Removed Zdenek's name as requested by him.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98621 138bc75d-0d04-0410-961f-82ee72b054a4