platform/upstream/gcc.git
19 years agofold-const.c (fold_binary): Fold ~(X ^ Y) to ~X ^ Y or X ^ ~Y if ~X or ~Y simplify.
James A. Morrison [Wed, 20 Apr 2005 04:32:41 +0000 (04:32 +0000)]
fold-const.c (fold_binary): Fold ~(X ^ Y) to ~X ^ Y or X ^ ~Y if ~X or ~Y simplify.

2005-04-19  James A. Morrison  <phython@gcc.gnu.org>

* fold-const.c (fold_binary): Fold ~(X ^ Y) to ~X ^ Y or X ^ ~Y if
~X or ~Y simplify.

From-SVN: r98435

19 years agofold-const (fold_binary): Fold ~X ^ ~ Y to X ^ Y.
James A. Morrison [Wed, 20 Apr 2005 02:31:26 +0000 (02:31 +0000)]
fold-const (fold_binary): Fold ~X ^ ~ Y to X ^ Y.

2005-04-19  James A. Morrison  <phython@gcc.gnu.org>

* fold-const (fold_binary):  Fold ~X ^ ~ Y to X ^ Y.

From-SVN: r98434

19 years ago* de.po: Update.
Joseph Myers [Wed, 20 Apr 2005 02:07:28 +0000 (03:07 +0100)]
* de.po: Update.

From-SVN: r98433

19 years agoTestcase to verify that FP regs are properly saved/restored across unwind.
James E Wilson [Wed, 20 Apr 2005 01:44:58 +0000 (18:44 -0700)]
Testcase to verify that FP regs are properly saved/restored across unwind.

PR target/20670
* g++.dg/eh/fp-regs.C: New test.

From-SVN: r98432

19 years agotrans-const.c (gfc_conv_mpz_to_tree): Fix comment.
Steven G. Kargl [Wed, 20 Apr 2005 01:27:31 +0000 (01:27 +0000)]
trans-const.c (gfc_conv_mpz_to_tree): Fix comment.

From-SVN: r98430

19 years agoc.opt (Wint-to-pointer-cast, [...]): New options.
Joseph Myers [Wed, 20 Apr 2005 01:10:00 +0000 (02:10 +0100)]
c.opt (Wint-to-pointer-cast, [...]): New options.

2005-04-20  Michael Pogue  <michael.pogue@sun.com>
            Joseph S. Myers  <joseph@codesourcery.com>

* c.opt (Wint-to-pointer-cast, Wpointer-to-int-cast): New options.
* c-typeck.c (build_c_cast): Check these options.
* doc/invoke.texi: Document these options.

testsuite:
* gcc.dg/Wint-to-pointer-cast-1.c,
gcc.dg/Wint-to-pointer-cast-2.c, gcc.dg/Wint-to-pointer-cast-3.c,
gcc.dg/Wpointer-to-int-cast-1.c, gcc.dg/Wpointer-to-int-cast-2.c,
gcc.dg/Wpointer-to-int-cast-3.c: New tests.

From-SVN: r98429

19 years ago* tree-ssa-phiopt.c: Update a comment about the pass.
Kazu Hirata [Wed, 20 Apr 2005 00:45:43 +0000 (00:45 +0000)]
* tree-ssa-phiopt.c: Update a comment about the pass.

From-SVN: r98428

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

[[Split portion of a mixed commit.]]

From-SVN: r98425.2

19 years agotree-ssa-phiopt.c, [...]: Fix comment typos.
Kazu Hirata [Tue, 19 Apr 2005 22:13:05 +0000 (22:13 +0000)]
tree-ssa-phiopt.c, [...]: Fix comment typos.

* tree-ssa-phiopt.c, config/arm/arm.c, config/fr30/fr30.md,
config/mcore/mcore.c: Fix comment typos.

From-SVN: r98421

19 years agoMakefile.in (libgcc.mk): Pass GCC_FOR_TARGET.
Daniel Jacobowitz [Tue, 19 Apr 2005 19:53:26 +0000 (19:53 +0000)]
Makefile.in (libgcc.mk): Pass GCC_FOR_TARGET.

* Makefile.in (libgcc.mk): Pass GCC_FOR_TARGET.
* mklibgcc.in: Use $GCC_FOR_TARGET instead of ./xgcc.

From-SVN: r98420

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

* java/net/InetAddress.java
(InetAddress): Fixed javadoc comment.
(aton): Likewise.
(lookup): Added javadoc.
(getFamily): Likewise.
* java/net/ServerSocket.java
(getChannel): Improved javadoc comment.

From-SVN: r98419

19 years agoinvoke.texi: Update -Waliasing description.
Arnaud Desitter [Tue, 19 Apr 2005 18:56:13 +0000 (18:56 +0000)]
invoke.texi: Update -Waliasing description.

* invoke.texi:  Update -Waliasing description.

Co-Authored-By: Steven G. Kargl <kargls@comcast.net>
From-SVN: r98418

19 years ago* config/arm/arm.c (arm_init_libfuncs): Clear mod optabs.
Paul Brook [Tue, 19 Apr 2005 18:50:14 +0000 (18:50 +0000)]
* config/arm/arm.c (arm_init_libfuncs): Clear mod optabs.

From-SVN: r98417

19 years agohashtab.h, [...]: Don't use the PTR macro.
Kaveh R. Ghazi [Tue, 19 Apr 2005 18:26:43 +0000 (18:26 +0000)]
hashtab.h, [...]: Don't use the PTR macro.

* hashtab.h, libiberty.h, objalloc.h, splay-tree.h, ternary.h:
Don't use the PTR macro.

* sort.h: Don't use the PARAMS macro.

From-SVN: r98416

19 years agoos_dep.c, gc_locks.h: Import CRIS port by Simon Posnjak from gc6.4.
Hans-Peter Nilsson [Tue, 19 Apr 2005 16:01:38 +0000 (16:01 +0000)]
os_dep.c, gc_locks.h: Import CRIS port by Simon Posnjak from gc6.4.

* os_dep.c, include/private/gc_locks.h: Import CRIS port by
Simon Posnjak from gc6.4.
* include/private/gcconfig.h: Ditto.  Add M32R note from gc6.4.

From-SVN: r98414

19 years ago* except.c: Fix a comment typo.
Kazu Hirata [Tue, 19 Apr 2005 15:45:28 +0000 (15:45 +0000)]
* except.c: Fix a comment typo.

From-SVN: r98413

19 years agore PR debug/21022 ([4.0 only] ICE while compiling GdkFontMetrics.class with stabs...
Andrew Haley [Tue, 19 Apr 2005 15:42:13 +0000 (15:42 +0000)]
re PR debug/21022 ([4.0 only] ICE while compiling GdkFontMetrics.class with stabs debugging)

2005-04-19  Andrew Haley  <aph@redhat.com>

        PR java/21022
        * dbxout.c (dbxout_type_fields): Check DECL_IGNORED_P before
        looking at a field's bitpos.

From-SVN: r98412

19 years agodecl.c (finish_method): Revert patch from 2005-04-13 for breaking indirect dispatch...
Julian Brown [Tue, 19 Apr 2005 12:55:24 +0000 (12:55 +0000)]
decl.c (finish_method): Revert patch from 2005-04-13 for breaking indirect dispatch with PIC.

* java/decl.c (finish_method): Revert patch from 2005-04-13 for breaking
indirect dispatch with PIC.

From-SVN: r98408

19 years agosystem.h (fopen, [...]): Define these to the unlocked libiberty functions.
Kaveh R. Ghazi [Tue, 19 Apr 2005 12:37:08 +0000 (12:37 +0000)]
system.h (fopen, [...]): Define these to the unlocked libiberty functions.

fixincludes:
* system.h (fopen, fdopen, freopen): Define these to the unlocked
libiberty functions.

gcc:
* system.h (fopen, fdopen, freopen): Define these to the unlocked
libiberty functions.

libcpp:
* system.h (fopen, fdopen, freopen): Define these to the unlocked
libiberty functions.

From-SVN: r98407

19 years ago[multiple changes]
Michael Koch [Tue, 19 Apr 2005 12:19:44 +0000 (12:19 +0000)]
[multiple changes]

2005-04-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>

* gnu/xml/dom/html2/DomHTMLParser.java:
Changed 'enum' references to become 'enumeration'.

2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>

* gnu/xml/dom/html2/DomHTMLParser.java: New file.

2005-04-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>

* gnu/javax/swing/text/html/parser/htmlAttributeSet.java:
(getAttributeNames()): Replaced 'enum' with 'enumeration'.
* gnu/javax/swing/text/html/parser/htmlValidator.java:
(validateParameters(TagElement,htmlAttributeSet)):
Replaced 'enum' with 'enumeration'.
(validateAttribute(TagElement,htmlAttributeSet,Enumeration,Enumeration)):
Likewise.

2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>

* javax/swing/text/html/parser/Entity.java (getType): New method.
* javax/swing/text/html/parser/DocumentParser.java:
Inherit from javax.swing.text.html.parser.Parser.

2005-04-19  Chris Burdess  <dog@gnu.org>

* gnu/xml/dom/html2/DomHTMLDocument.java: Fixed element creation and
check for HTML/XHTML namespace.

2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>

* javax/swing/text/html/parser/Parser.java,
javax/swing/text/html/parser/Entity.java:
Inheriting from DTDConstants.
* javax/swing/text/html/parser/AttributeList.java
(getValues): Changed return type.
* javax/swing/text/html/parser/DocumentParser
(parse): Adding the callback parameter that receives
the parsing events.

2005-04-19  Chris Burdess  <dog@gnu.org>

* gnu/xml/dom/DomImpl.java,
gnu/xml/dom/html2/DomHTMLAnchorElement.java,
gnu/xml/dom/html2/DomHTMLDocument.java,
gnu/xml/dom/html2/DomHTMLElement.java,
gnu/xml/dom/html2/DomHTMLFormElement.java,
gnu/xml/dom/html2/DomHTMLFrameElement.java,
gnu/xml/dom/html2/DomHTMLIFrameElement.java,
gnu/xml/dom/html2/DomHTMLImpl.java,
gnu/xml/dom/html2/DomHTMLInputElement.java,
gnu/xml/dom/html2/DomHTMLObjectElement.java,
gnu/xml/dom/html2/DomHTMLOptionElement.java,
gnu/xml/dom/html2/DomHTMLSelectElement.java,
gnu/xml/dom/html2/DomHTMLTableCellElement.java,
gnu/xml/dom/html2/DomHTMLTableElement.java,
gnu/xml/dom/html2/DomHTMLTableRowElement.java,
gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
gnu/xml/dom/html2/DomHTMLTextAreaElement.java: JAXP integration,
UI events, and tree utility functions.

2005-04-19  Michael Koch  <konqueror@gmx.de>

* gnu/javax/swing/text/html/parser/HTML_401F.java,
gnu/javax/swing/text/html/parser/gnuDTD.java,
gnu/javax/swing/text/html/parser/models/node.java:
Reworked import statements.

2005-04-19  Audrius Meskauskas, Lithuania  <AudriusA@Bioinformatics.org>

* javax/swing/text/html/HTMLDocument.java: New file.

2005-04-19  Michael Koch  <konqueror@gmx.de>

* javax/swing/text/html/HTMLFrameHyperlinkEvent.java:
Reformatted.
* javax/swing/text/html/parser/AttributeList.java:
Fixed order of modifiers.
(AttributeList): Made final.
* javax/swing/text/html/parser/ContentModel.java:
Fixed html characters in javadocs.
* javax/swing/text/html/parser/DTD.java
(DTD): Don't implement java.io.Serializable directly.
(getElement): Simplified.
* javax/swing/text/html/parser/DTDConstants.java:
Reformatted file.
* javax/swing/text/html/parser/Element.java:
Fixed order of modifiers.
* javax/swing/text/html/parser/Parser.java:
Reformatted. Don't use fully-qualified class names.
* javax/swing/text/html/parser/ParserDelegator.java:
Fixed order of modifiers.
* javax/swing/text/rtf/RTFParser.java:
Re-ordered import statements.
* javax/swing/text/rtf/RTFScanner.java:
Removed unused import statement.

2005-04-19  Chris Burdess  <dog@gnu.org>

* gnu/xml/dom/html2/DomHTMLButtonElement.java,
gnu/xml/dom/html2/DomHTMLCollection.java,
gnu/xml/dom/html2/DomHTMLDocument.java,
gnu/xml/dom/html2/DomHTMLElement.java: Extensions for new element
types.
* gnu/xml/dom/html2/DomHTMLDListElement.java,
gnu/xml/dom/html2/DomHTMLDirectoryElement.java,
gnu/xml/dom/html2/DomHTMLDivElement.java,
gnu/xml/dom/html2/DomHTMLFieldSetElement.java,
gnu/xml/dom/html2/DomHTMLFontElement.java,
gnu/xml/dom/html2/DomHTMLFormElement.java,
gnu/xml/dom/html2/DomHTMLFrameElement.java,
gnu/xml/dom/html2/DomHTMLFrameSetElement.java,
gnu/xml/dom/html2/DomHTMLHRElement.java,
gnu/xml/dom/html2/DomHTMLHeadElement.java,
gnu/xml/dom/html2/DomHTMLHeadingElement.java,
gnu/xml/dom/html2/DomHTMLHtmlElement.java,
gnu/xml/dom/html2/DomHTMLIFrameElement.java,
gnu/xml/dom/html2/DomHTMLImageElement.java,
gnu/xml/dom/html2/DomHTMLInputElement.java,
gnu/xml/dom/html2/DomHTMLIsIndexElement.java,
gnu/xml/dom/html2/DomHTMLLIElement.java,
gnu/xml/dom/html2/DomHTMLLabelElement.java,
gnu/xml/dom/html2/DomHTMLLegendElement.java,
gnu/xml/dom/html2/DomHTMLLinkElement.java,
gnu/xml/dom/html2/DomHTMLMapElement.java,
gnu/xml/dom/html2/DomHTMLMenuElement.java,
gnu/xml/dom/html2/DomHTMLMetaElement.java,
gnu/xml/dom/html2/DomHTMLModElement.java,
gnu/xml/dom/html2/DomHTMLOListElement.java,
gnu/xml/dom/html2/DomHTMLObjectElement.java,
gnu/xml/dom/html2/DomHTMLOptGroupElement.java,
gnu/xml/dom/html2/DomHTMLOptionElement.java,
gnu/xml/dom/html2/DomHTMLParagraphElement.java,
gnu/xml/dom/html2/DomHTMLParamElement.java,
gnu/xml/dom/html2/DomHTMLPreElement.java,
gnu/xml/dom/html2/DomHTMLQuoteElement.java,
gnu/xml/dom/html2/DomHTMLScriptElement.java,
gnu/xml/dom/html2/DomHTMLSelectElement.java,
gnu/xml/dom/html2/DomHTMLStyleElement.java,
gnu/xml/dom/html2/DomHTMLTableCaptionElement.java,
gnu/xml/dom/html2/DomHTMLTableCellElement.java,
gnu/xml/dom/html2/DomHTMLTableColElement.java,
gnu/xml/dom/html2/DomHTMLTableElement.java,
gnu/xml/dom/html2/DomHTMLTableRowElement.java,
gnu/xml/dom/html2/DomHTMLTableSectionElement.java,
gnu/xml/dom/html2/DomHTMLTextAreaElement.java,
gnu/xml/dom/html2/DomHTMLTitleElement.java,
gnu/xml/dom/html2/DomHTMLUListElement.java: New files.

2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>

* javax/swing/text/ChangedCharSetException.java,
javax/swing/text/html/HTMLEditorKit.java,
javax/swing/text/html/HTMLFrameHyperlinkEvent.java,
javax/swing/text/html/parser/AttributeList.java,
javax/swing/text/html/parser/ContentModel.java,
javax/swing/text/html/parser/DocumentParser.java,
javax/swing/text/html/parser/DTD.java,
javax/swing/text/html/parser/DTDConstants.java,
javax/swing/text/html/parser/Element.java,
javax/swing/text/html/parser/Entity.java,
javax/swing/text/html/parser/Parser.java,
javax/swing/text/html/parser/TagElement.java,
gnu/javax/swing/text/html/package.html,
gnu/javax/swing/text/html/parser/gnuDTD.java,
gnu/javax/swing/text/html/parser/HTML_401F.java,
gnu/javax/swing/text/html/parser/htmlAttributeSet.java,
gnu/javax/swing/text/html/parser/htmlValidator.java,
gnu/javax/swing/text/html/parser/package.html,
gnu/javax/swing/text/html/parser/models/list.java,
gnu/javax/swing/text/html/parser/models/node.java,
gnu/javax/swing/text/html/parser/models/noTagModel.java,
gnu/javax/swing/text/html/parser/models/package.html,
gnu/javax/swing/text/html/parser/models/PCDATAonly_model.java,
gnu/javax/swing/text/html/parser/models/TableRowContentModel.java,
gnu/javax/swing/text/html/parser/models/transformer.java,
gnu/javax/swing/text/html/parser/support/gnuStringIntMapper.java,
gnu/javax/swing/text/html/parser/support/package.html,
gnu/javax/swing/text/html/parser/support/parameterDefaulter.java,
gnu/javax/swing/text/html/parser/support/Parser.java,
gnu/javax/swing/text/html/parser/support/textPreProcessor.java,
gnu/javax/swing/text/html/parser/support/low/Buffer.java,
gnu/javax/swing/text/html/parser/support/low/Constants.java,
gnu/javax/swing/text/html/parser/support/low/Location.java,
gnu/javax/swing/text/html/parser/support/low/node.java,
gnu/javax/swing/text/html/parser/support/low/package.html,
gnu/javax/swing/text/html/parser/support/low/ParseException.java,
gnu/javax/swing/text/html/parser/support/low/pattern.java,
gnu/javax/swing/text/html/parser/support/low/Queue.java,
gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java:
New files.
* javax/swing/text/html/HTML.java,
javax/swing/text/html/parser/ParserDelegator.java:
New files (replacing).
* javax/swing/text/html/package.html,
javax/swing/text/html/parser/package.html: Documenting the
packages.

2005-04-19  Chris Burdess  <dog@gnu.org>

* gnu/xml/dom/html2/DomHTMLAnchorElement.java,
gnu/xml/dom/html2/DomHTMLAppletElement.java,
gnu/xml/dom/html2/DomHTMLAreaElement.java,
gnu/xml/dom/html2/DomHTMLBaseElement.java,
gnu/xml/dom/html2/DomHTMLBaseFontElement.java,
gnu/xml/dom/html2/DomHTMLBodyElement.java,
gnu/xml/dom/html2/DomHTMLBRElement.java,
gnu/xml/dom/html2/DomHTMLButtonElement.java,
gnu/xml/dom/html2/DomHTMLCollection.java,
gnu/xml/dom/html2/DomHTMLDocument.java,
gnu/xml/dom/html2/DomHTMLElement.java: New files.

2005-04-19  Michael Koch  <konqueror@gmx.de>

* Makefile.am: Added new files.
* Makefile.in: Regenerated.

From-SVN: r98406

19 years agore PR tree-optimization/21096 (copy-prop leaks memory)
Kazu Hirata [Tue, 19 Apr 2005 11:43:24 +0000 (11:43 +0000)]
re PR tree-optimization/21096 (copy-prop leaks memory)

PR tree-optimization/21096
* tree-ssa-copy.c (fini_copy_prop): Free cached_last_copy_of.

From-SVN: r98405

19 years ago2005-04-19 Roman Kennke <roman@kennke.org>
Roman Kennke [Tue, 19 Apr 2005 10:55:12 +0000 (10:55 +0000)]
2005-04-19  Roman Kennke  <roman@kennke.org>

* javax/swing/text/JTextComponent.java
(JTextComponent): Added repaintListener which issues repaint
requests when the underlying document changes.
(setDocument): Adds repaintListener to document when the
document is changed.
* javax/swing/text/DefaultEditorKit.java:
Removed repaint calls on JTextComponent. This is now handled
through a DocumentListener in JTextComponent that repaints
the component when needed.

From-SVN: r98403

19 years agore PR libgcj/21064 ([4.0 only] StyleContext.addStyle causes NullPointerException)
Roman Kennke [Tue, 19 Apr 2005 10:52:03 +0000 (10:52 +0000)]
re PR libgcj/21064 ([4.0 only] StyleContext.addStyle causes NullPointerException)

2005-04-19  Roman Kennke  <roman@kennke.org>

PR libgcj/21064
* javax/swing/text/StyleContext.java
(NamedStyle.setResolveParent): Added null
pointer check.

From-SVN: r98402

19 years agoRemoteObject.java: Removed unused import statement.
Michael Koch [Tue, 19 Apr 2005 10:34:38 +0000 (10:34 +0000)]
RemoteObject.java: Removed unused import statement.

2005-04-19  Michael Koch  <konqueror@gmx.de>

* java/rmi/server/RemoteObject.java:
Removed unused import statement.

From-SVN: r98400

19 years agoURL.java: Formatting cleanups.
Michael Koch [Tue, 19 Apr 2005 10:31:51 +0000 (10:31 +0000)]
URL.java: Formatting cleanups.

2005-04-19  Michael Koch  <konqueror@gmx.de>

* java/net/URL.java: Formatting cleanups.

From-SVN: r98399

19 years agoFontMetrics.java: Reformatted.
Michael Koch [Tue, 19 Apr 2005 10:24:40 +0000 (10:24 +0000)]
FontMetrics.java: Reformatted.

2005-04-19  Michael Koch  <konqueror@gmx.de>

* java/awt/FontMetrics.java: Reformatted.
(getFontRenderContext): Handle case when java.awt.Graphics context is
given.

2005-04-19  Michael Koch  <konqueror@gmx.de>

* java/awt/FontMetrics.java
(getStringBounds): New methods.

From-SVN: r98398

19 years ago2005-04-19 Michael Koch <konqueror@gmx.de>
Michael Koch [Tue, 19 Apr 2005 10:18:45 +0000 (10:18 +0000)]
2005-04-19  Michael Koch  <konqueror@gmx.de>

* gnu/java/security/x509/X509Certificate.java
(parse): Handle val == null case.

From-SVN: r98397

19 years ago[multiple changes]
Michael Koch [Tue, 19 Apr 2005 09:59:53 +0000 (09:59 +0000)]
[multiple changes]

2005-04-19  Roman Kennke  <roman@kennke.org>

* javax/swing/plaf/metal/MetalLookAndFeel.java
(initComponentDefaults): Added defaults for Menu, MenuBar
MenuEntry fonts.

2005-04-19  Roman Kennke  <roman@kennke.org>

* javax/swing/plaf/metal/MetalLookAndFeel.java
(initComponentDefaults): Added Label.font.
(initSystemColorDefaults): Added this method and adjusted the
general control color.

2005-04-19  Roman Kennke  <roman@kennke.org>

* javax/swing/plaf/metal/MetalBorders.java:
Added.
* javax/swing/plaf/metal/MetalButtonUI.java:
(installDefaults): Install button font.
* javax/swing/plaf/metal/MetalLookAndFeel.java:
(initComponentDefaults): Added button border, font and margin.
Changed components background color to the Metal current themes
standard color.

2005-04-19  Roman Kennke  <roman@kennke.org>

* javax/swing/plaf/metal/MetalLookAndFeel.java
(initComponentDefaults): Added to set Metal specific component
defaults.

2005-04-19  Mark Wielaard  <mark@klomp.org>

* javax/swing/plaf/metal/MetalLookAndFeel.java
(initClassDefaults): Call super.initClassDefaults().

2005-04-19  Roman Kennke  <roman@kennke.org>

* javax/swing/plaf/metal/MetalLookAndFeel.java
(initClassDefaults): Added to include the *UI classes.

2005-04-19  Roman Kennke  <roman@kennke.org>

* javax/swing/plaf/metal/MetalComboBoxUI.java:
Added.
* javax/swing/plaf/metal/MetalDesktopIconUI.java:
Added.
* javax/swing/plaf/metal/MetalInternalFrameUI.java:
Added.
* javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java:
Added.
* javax/swing/plaf/metal/MetalProgressBarUI.java:
Added.
* javax/swing/plaf/metal/MetalRootPaneUI.java:
Added.
* javax/swing/plaf/metal/MetalScrollBarUI.java:
Added.
* javax/swing/plaf/metal/MetalSeparatorUI.java:
Added.
* javax/swing/plaf/metal/MetalSliderUI.java:
Added.
* javax/swing/plaf/metal/MetalSplitPaneUI.java:
Added.
* javax/swing/plaf/metal/MetalTextFieldUI.java:
Added.
* javax/swing/plaf/metal/MetalToggleButtonUI.java:

2005-04-19  Roman Kennke  <roman@kennke.org>

* javax/swing/plaf/metal/MetalButtonUI.java:
Added skeleton class.
* javax/swing/plaf/metal/MetalCheckBoxUI.java:
Added skeleton class.
* javax/swing/plaf/metal/MetalLabelUI.java:
Added skeleton class.
* javax/swing/plaf/metal/MetalRadioButtonUI.java:
Added skeleton class.
* javax/swing/plaf/metal/MetalScrollPaneUI.java:
Added skeleton class.
* javax/swing/plaf/metal/MetalTabbedPaneUI.java:
Added skeleton class.

2005-04-19  Roman Kennke  <roman@kennke.org>

* javax/swing/UIDefaults.java:
Added API documentation for all methods.

2005-04-19  Roman Kennke  <roman@kennke.org>

* javax/swing/UIDefaults.java
(put): Now uses new checkAndPut method instead of checking
directly.
(putDefaults): Fixed so that it accepts null-values and
treats them like remove(key).
(checkAndPut): Added. This checks for null-values and calls
put or remove.

2005-04-19  Michael Koch  <konqueror@gmx.de>

* Makefile.am: Added new files.
* Makefile.in: Regenerated.

From-SVN: r98396

19 years agojava-except.h (struct eh_range.handler): Remove unused field.
Andrew Haley [Tue, 19 Apr 2005 09:52:21 +0000 (09:52 +0000)]
java-except.h (struct eh_range.handler): Remove unused field.

2005-04-18  Andrew Haley  <aph@redhat.com>

        * java-except.h (struct eh_range.handler): Remove unused field.
        (handle_nested_ranges): Remove function declaration.
        (sanity_check_exception_range): Add function declaration.
        * verify.c (verify_jvm_instructions): Remove call to
        handle_nested_ranges.
        * verify-glue.c (verify_jvm_instructions_new): Call
        sanity_check_exception_range.
        * except.c (link_handler, eh_range_freelist, link_handler,
        handle_nested_ranges): Remove.
        (add_handler): Rewrite.
        (sanity_check_exception_range): New function.
        (print_ranges): New function.

From-SVN: r98395

19 years agonatRuntime.cc (insertSystemProperties): Set java.class.path to CLASSPATH only when...
Mark Wielaard [Tue, 19 Apr 2005 09:29:16 +0000 (09:29 +0000)]
natRuntime.cc (insertSystemProperties): Set java.class.path to CLASSPATH only when not empty.

       * java/lang/natRuntime.cc (insertSystemProperties): Set
       java.class.path to CLASSPATH only when not empty. Fall back to
       default path "." when java.class.path is empty.

From-SVN: r98394

19 years agoControlWordToken.java, [...]: New files.
Michael Koch [Tue, 19 Apr 2005 09:24:15 +0000 (09:24 +0000)]
ControlWordToken.java, [...]: New files.

2005-04-19  Michael Koch  <konqueror@gmx.de>

* javax/swing/text/rtf/ControlWordToken.java,
javax/swing/text/rtf/RTFEditorKit.java,
javax/swing/text/rtf/RTFParseException.java,
javax/swing/text/rtf/RTFParser.java,
javax/swing/text/rtf/RTFScanner.java,
javax/swing/text/rtf/TextToken.java,
javax/swing/text/rtf/Token.java: New files.
* Makefile.am: Added new files.
* Makefile.in: Regenerated.

From-SVN: r98393

19 years agoQuadCurve2D.java: Fixed Brian Gough's name for real.
Michael Koch [Tue, 19 Apr 2005 09:17:41 +0000 (09:17 +0000)]
QuadCurve2D.java: Fixed Brian Gough's name for real.

2005-04-19  Michael Koch  <konqueror@gmx.de>

* java/awt/geom/QuadCurve2D.java:
Fixed Brian Gough's name for real.

From-SVN: r98392

19 years agore PR fortran/16861 ([4.0 only] segfault with doubly used module)
Francois-Xavier Coudert [Tue, 19 Apr 2005 07:10:05 +0000 (09:10 +0200)]
re PR fortran/16861 ([4.0 only] segfault with doubly used module)

PR fortran/16861
* resolve.c (resolve_variable): If e->symtree is not set, this
ought to be a FAILURE, and not a segfault.
* gfortran.dg/pr16861.f90: New test.

From-SVN: r98391

19 years agore PR target/21098 (.note.GNU-stack emitted)
Alan Modra [Tue, 19 Apr 2005 07:07:11 +0000 (07:07 +0000)]
re PR target/21098 (.note.GNU-stack emitted)

PR target/21098
* config/rs6000/rs6000.c (rs6000_elf_end_indicate_exec_stack): New.
* config/rs6000/linux64.h (TARGET_ASM_FILE_END): Use the above.

From-SVN: r98390

19 years agoUIManager.java: Make the UIManager respect the swing.defaultlaf system property.
Roman Kennke [Tue, 19 Apr 2005 06:36:27 +0000 (06:36 +0000)]
UIManager.java: Make the UIManager respect the swing.defaultlaf system property.

2005-04-19  Roman Kennke  <roman@kennke.org>

* javax/swing/UIManager.java:
Make the UIManager respect the swing.defaultlaf system
property.

From-SVN: r98389

19 years agonatVMClassLoader.cc (loadClass): Call resolveClass, not _Jv_InitClass.
Tom Tromey [Tue, 19 Apr 2005 06:36:10 +0000 (06:36 +0000)]
natVMClassLoader.cc (loadClass): Call resolveClass, not _Jv_InitClass.

* java/lang/natVMClassLoader.cc (loadClass): Call resolveClass,
not _Jv_InitClass.

From-SVN: r98388

19 years agoBasicMenuBarUI.java: Fixed tabs to spaces.
Roman Kennke [Tue, 19 Apr 2005 06:29:30 +0000 (06:29 +0000)]
BasicMenuBarUI.java: Fixed tabs to spaces.

2005-04-19  Roman Kennke  <roman@kennke.org>

* javax/swing/plaf/basic/BasicMenuBarUI.java:
Fixed tabs to spaces.

From-SVN: r98387

19 years ago2005-04-19 Roman Kennke <roman@kennke.org>
Roman Kennke [Tue, 19 Apr 2005 06:23:00 +0000 (06:23 +0000)]
2005-04-19  Roman Kennke  <roman@kennke.org>

* javax/swing/plaf/basic/BasicMenuUI.java
(getMaximumSize): Now returns preferredSize because JMenu should
never be bigger than that.
* javax/swing/JRootPane
(RootLayout.layoutContainer): Make JMenuBars take the whole width.

2005-04-19  Roman Kennke  <roman@kennke.org>

* javax/swing/JRootPane.java:
Fixed various tabs to be spaces.
(RootLayout.layoutContainer): Made menubar left aligned.

From-SVN: r98386

19 years ago2005-04-19 Roman Kennke <roman@ontographics.com>
Roman Kennke [Tue, 19 Apr 2005 06:16:17 +0000 (06:16 +0000)]
2005-04-19  Roman Kennke  <roman@ontographics.com>

* javax/swing/JList.java
(getPreferredScrollableViewportSize):
The previous implementation was merely guessing the size,
now it respects layoutOrientation, visibleRowCount
and preferredSize.
(getScrollableTracksViewportHeight):
Reimplemented so that layoutOrientation, visibleRowCount
and preferred size are respected.
(getScrollableTracksViewportWidth):
Reimplemented so that layoutOrientation, visibleRowCount
and preferred size are respected.
* javax/swing/plaf/basic/BasicListUI.java
(getPreferredSize):
Improved calculation of preferredSize when JList is
set to HORIZONTAL_WRAP or VERTICAL_WRAP.
(getCellBounds):
The previous implementation assumed a layoutOrientation of
JList.VERTICAL, now also ok with JList.HORIZONTAL_WRAP and
JList.VERTICAL_WRAP.

2005-04-19  Roman Kennke  <roman@ontographics.com>

* javax/swing/plaf/basic/BasicListUI.java
(paintCell): use CellRendererPane for painting the cells.

2005-04-19  Roman Kennke  <roman@ontographics.com>

* javax/swing/plaf/basic/BasicListUI:
fixed modifiers of several fields, methods and inner
classes to match the 'spec'.
(getMaximumSize): removed. It's not in the spec and the
implementations was superfluous.

2005-04-19  Roman Kennke  <roman@ontographics.com>

* javax/swing/plaf/basic/BasicListUI:
make BasicListUI capable of wrapping lists
(layoutOrientation property of javax.swing.JList)

2005-04-19  Roman Kennke  <roman@ontographics.com>

* javax/swing/plaf/basic/BasicListUI
(updateLayoutState,paint): make BasicListUI aware of the
width of the rendered JList.

From-SVN: r98385

19 years ago2005-04-19 Roman Kennke <roman@kennke.org>
Roman Kennke [Tue, 19 Apr 2005 05:59:46 +0000 (05:59 +0000)]
2005-04-19  Roman Kennke  <roman@kennke.org>

* javax/swing/ImageIcon.java
Added API documentation.

2005-04-19  Roman Kennke  <roman@kennke.org>

* javax/swing/text/ImageIcon.java
(ImageIcon): Use setImage instead of direct assignment.
(setImage): Call loadImage to make sure that the image is loaded.
(loadImage): Waits for the image to complete loading.
(getImageLoadStatus): Added. Returns the load status of the
image.

From-SVN: r98384

19 years agoJTextArea.java (replaceRange): Fixing doc.remove(start, length) misinterpretation.
Audrius Meskauskas [Tue, 19 Apr 2005 05:51:38 +0000 (07:51 +0200)]
JTextArea.java (replaceRange): Fixing doc.remove(start, length) misinterpretation.

2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>

* javax/swing/JTextArea.java (replaceRange):
Fixing doc.remove(start, length) misinterpretation.

From-SVN: r98381

19 years agoCellRendererPane.java: implemented all methods of this class.
Roman Kennke [Tue, 19 Apr 2005 05:39:27 +0000 (05:39 +0000)]
CellRendererPane.java: implemented all methods of this class.

2005-04-19  Roman Kennke  <roman@ontographics.com>

* javax/swing/CellRendererPane.java:
implemented all methods of this class.
reformatted all wrong formatted code.

From-SVN: r98379

19 years ago[multiple changes]
Michael Koch [Tue, 19 Apr 2005 05:35:37 +0000 (05:35 +0000)]
[multiple changes]

2005-04-19  Roman Kennke  <roman@kennke.org>

* javax/swing/BoxLayout.java:
(layoutContainer): Made this layout manager respect the
minimum, maximum and preferred size more correctly.

2005-04-19  Roman Kennke  <roman@ontographics.com>

* javax/swing/BoxLayout.java:
(preferredLayoutSize,minimumLayoutSize,maximumLayoutSize,
layoutContainer): Make these methods and thereby the
BoxLayout respect the insets (like borders) of the
component that is laid out.

From-SVN: r98378

19 years agoJComponent.java: Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
Roman Kennke [Tue, 19 Apr 2005 05:28:38 +0000 (05:28 +0000)]
JComponent.java: Modified alignmentX and alignmentY to be 0.5 instead of 0.0.

2005-04-19  Roman Kennke  <roman@kennke.org>

* javax/swing/JComponent.java:
Modified alignmentX and alignmentY to be 0.5 instead of 0.0.
Untabified the file.

From-SVN: r98377

19 years agoJComboBox.java (constructors): selecting the first item if the box was constructed...
Audrius Meskauskas [Tue, 19 Apr 2005 05:23:13 +0000 (07:23 +0200)]
JComboBox.java (constructors): selecting the first item if the box was constructed from the provided non -...

2005-04-19  Audrius Meskauskas  <audriusa@bluewin.ch>

* javax/swing/JComboBox.java (constructors): selecting the
first item if the box was constructed from the provided
non - empty array or vector.

From-SVN: r98376

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

* gnu/java/awt/peer/gtk/GdkGraphics.java
(getClipBounds): Handle clip being null.
(setClip): Likewise.
* java/beans/beancontext/BeanContextSupport.java
(add): Implemented.
(addAll): Likewise.
(clear): Likewise.
(removeAll): Likewise.
(retainAll): Likewise.

2005-04-19  Michael Koch  <konqueror@gmx.de>

* java/beans/beancontext/BeanContextServicesSupport.java
(BeanContextServicesSupport): Reimplemented.
(addBeanContextServicesListener): Implemented.
(initialize): Likewise.
(removeBeanContextServicesListener): Likewise.
* java/beans/beancontext/BeanContextSupport.java
(add): Likewise.
(addBeanContextMembershipListener): Likewise.
(getLocale): Likewise.
(initialize): Likewise.
(iterator): Likewise.
(remove): Likewise.
(toArray): Likewise.

From-SVN: r98375

19 years agoMediaTracker.java: Reindented tabs to spaces.
Roman Kennke [Tue, 19 Apr 2005 05:13:47 +0000 (05:13 +0000)]
MediaTracker.java: Reindented tabs to spaces.

2005-04-19  Roman Kennke  <roman@kennke.org>

* java/awt/MediaTracker.java:
Reindented tabs to spaces.

2005-04-19  Roman Kennke  <roman@kennke.org>

* java/awt/MediaTracker.java
(MediaEntry.imageUpdate): Removed check for SOMEBITS, this
confused the media tracker and lead to lockups. The LOADING
bit is handled on other places.
(addImage): Removed the 'start image tracking' stuff. This
is not necessary and could confuse the media tracker.
(checkAll): Improved the check for image status so that
images that already complete images are detected. Also now
are really all images checked and if necessary loaded. Before
the method bailed out after the first incomplete image.
(statusAll): Detect images that are complete after the
call to Component.prepareImage(..).
(checkID): The same as in checkAll.
(statusID): The same as in statusAll.

2005-04-19  Roman Kennke  <roman@kennke.org>

* java/awt/MediaTracker.java
(addImage): Synchronized list access.
(waitForAll): Fixed comparison of time (changed < to >).
(waitForID): Fixed comparison of time (changed < to >).
(removeImage): Synchronized list access.

2005-04-19  Roman Kennke  <roman@kennke.org>

* java/awt/MediaTracker.java
Added API documentation.

2005-04-19  Roman Kennke  <roman@kennke.org>

* java/awt/MediaTracker.java
(MediaEntry.imageUpdate): Fixed flags. The different flags
must not be ORed together.
(checkAll): Modified to handle different meaning of the flags.
(waitForAll): Fixed so that it waits maximum the
specified amount of milliseconds.
(statusAll): Modified to handle different meaning of the flags.
(waitForID): Fixed so that it waits maximum the
specified amount of milliseconds.

From-SVN: r98374

19 years agoFont.java (decode): Handle null argument and allow space as delimiter.
David Gilbert [Tue, 19 Apr 2005 05:05:32 +0000 (05:05 +0000)]
Font.java (decode): Handle null argument and allow space as delimiter.

2005-04-19  vid Gilbert <david.gilbert@object-refinery.com>

* java/awt/Font.java (decode): Handle null argument and allow
space as delimiter.

From-SVN: r98373

19 years agoEventHandler.java: Reworked documentation.
Robert Schuster [Tue, 19 Apr 2005 04:50:06 +0000 (04:50 +0000)]
EventHandler.java: Reworked documentation.

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

* java/beans/EventHandler.java: Reworked documentation.
(invoke): Fixed behavior to match spec.

From-SVN: r98372

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

* java/awt/print/PrinterJob.java
(pageDialog): New method.
(printDialog): Implemented.

From-SVN: r98371

19 years agoConvolveOp.java: Removed comment added by eclipse.
Michael Koch [Tue, 19 Apr 2005 04:40:10 +0000 (04:40 +0000)]
ConvolveOp.java: Removed comment added by eclipse.

2005-04-19  Michael Koch  <konqueror@gmx.de>

* java/awt/image/ConvolveOp.java:
Removed comment added by eclipse.

From-SVN: r98370

19 years ago2005-04-19 Guilhem Lavaux <guilhem@kaffe.org>
Guilhem Lavaux [Tue, 19 Apr 2005 04:36:54 +0000 (04:36 +0000)]
2005-04-19  Guilhem Lavaux  <guilhem@kaffe.org>

* java/awt/image/IndexColorModel.java
(getRGB): Check if pixel is negative.

From-SVN: r98369

19 years agoRasterOp.java: Fixed wrong formatting.
Michael Koch [Tue, 19 Apr 2005 04:34:40 +0000 (04:34 +0000)]
RasterOp.java: Fixed wrong formatting.

2005-04-19  Michael Koch  <konqueror@gmx.de>

* java/awt/image/RasterOp.java:
Fixed wrong formatting.

From-SVN: r98368

19 years agotree-cfg.c (dump_function_to_file): Use cfun info only if it refers to the function...
Alexandre Oliva [Tue, 19 Apr 2005 04:34:10 +0000 (04:34 +0000)]
tree-cfg.c (dump_function_to_file): Use cfun info only if it refers to the function being dumped.

* tree-cfg.c (dump_function_to_file): Use cfun info only if it
refers to the function being dumped.

From-SVN: r98367

19 years ago* varasm.c (assemble_start_function): Remove reset of in_section.
Daniel Jacobowitz [Tue, 19 Apr 2005 03:49:17 +0000 (03:49 +0000)]
* varasm.c (assemble_start_function): Remove reset of in_section.

From-SVN: r98366

19 years agore PR middle-end/21085 (Virtual memory exhausted with g++)
James A. Morrison [Tue, 19 Apr 2005 02:36:04 +0000 (02:36 +0000)]
re PR middle-end/21085 (Virtual memory exhausted with g++)

2005-04-18  James A. Morrison  <phython@gcc.gnu.org>

        PR tree-optimization/21085
        * fold-const (fold_binary): Don't change X % -C to X % C if C has
        overflowed.

From-SVN: r98365

19 years agoDaily bump.
GCC Administrator [Tue, 19 Apr 2005 00:16:21 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r98362.2

19 years agoconfigure.in: New local variable libgcj_ex_libffi.
Hans-Peter Nilsson [Mon, 18 Apr 2005 23:00:17 +0000 (23:00 +0000)]
configure.in: New local variable libgcj_ex_libffi.

* configure.in <crisv32-*-*, cris-*-*>: New local variable
libgcj_ex_libffi.  Have specific match for *-*-linux*.  Separate
matches for "*-*-aout" and "*-*-elf".  Don't disable libffi for
"*-*-elf" and "*-*-linux*".
* configure: Regenerate.

From-SVN: r98357

19 years agoinvoke.texi (Optimize Options): Refer to the correct optimisation flag -ftree-dominat...
Ben Elliston [Mon, 18 Apr 2005 22:25:20 +0000 (22:25 +0000)]
invoke.texi (Optimize Options): Refer to the correct optimisation flag -ftree-dominator-opts, not -ftree-dom.

* doc/invoke.texi (Optimize Options): Refer to the correct
optimisation flag -ftree-dominator-opts, not -ftree-dom.

From-SVN: r98355

19 years agocorrect memory leaks in namelist code for derived types
Paul Thomas [Mon, 18 Apr 2005 22:19:27 +0000 (22:19 +0000)]
correct memory leaks in namelist code for derived types

From-SVN: r98352

19 years agoRewrap ChangeLog. I'm listing the affected PRs so that they receive anot about this...
Tobias Schlüter [Mon, 18 Apr 2005 21:44:22 +0000 (23:44 +0200)]
Rewrap ChangeLog.  I'm listing the affected PRs so that they receive anot about this, even though the commit message for the original patch was empty.

PR fortran/17472
PR fortran/18209
PR fortran/18396
PR fortran/19467
PR fortran/19657

From-SVN: r98350

19 years ago2005-04-18 Roman Kennke <roman@kennke.org>
Roman Kennke [Mon, 18 Apr 2005 20:52:24 +0000 (20:52 +0000)]
2005-04-18  Roman Kennke  <roman@kennke.org>

* java/awt/Compmonent.java
(setComponentOrientation): Made this property firing a
PropertyChangeEvent.

From-SVN: r98349

19 years agors6000.c (machopic_output_stub): Increase alloca argument to be big enough.
Christopher Jaillet [Mon, 18 Apr 2005 20:51:18 +0000 (22:51 +0200)]
rs6000.c (machopic_output_stub): Increase alloca argument to be big enough.

2005-04-18  Christopher Jaillet <christophe.jaillet@wanadoo.fr>

        * config/rs6000/rs6000.c (machopic_output_stub):  Increase
        alloca argument to be big enough.

From-SVN: r98348

19 years ago2005-04-18 Roman Kennke <roman@kennke.org>
Roman Kennke [Mon, 18 Apr 2005 20:47:01 +0000 (20:47 +0000)]
2005-04-18  Roman Kennke  <roman@kennke.org>

* java/awt/BorderLayout.java
(calcSize): Check for overflow when component sizes are added.

From-SVN: r98347

19 years agoAWTEvent.java (toString): Added case for source not being an AWT component.
Robert Schuster [Mon, 18 Apr 2005 20:40:34 +0000 (20:40 +0000)]
AWTEvent.java (toString): Added case for source not being an AWT component.

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

* java/awt/AWTEvent.java (toString): Added case
for source not being an AWT component.

From-SVN: r98346

19 years agomips.exp: Minor formatting.
Richard Sandiford [Mon, 18 Apr 2005 20:34:36 +0000 (20:34 +0000)]
mips.exp: Minor formatting.

* gcc.target/mips/mips.exp: Minor formatting.  Call setup_mips_tests.
(setup_mips_tests, dg-mips-options): New procedures.
* gcc.target/mips/asm-1.c, gcc.target/mips/fix-vr4130-1.c,
* gcc.target/mips/fix-vr4130-2.c, gcc.target/mips/fix-vr4130-3.c
* gcc.target/mips/fix-vr4130-4.c, gcc.target/mips/mips-3d-1.c,
* gcc.target/mips/mips-3d-2.c, gcc.target/mips/mips-3d-3.c,
* gcc.target/mips/mips-3d-4.c, gcc.target/mips/mips-3d-5.c,
* gcc.target/mips/mips-3d-6.c, gcc.target/mips/mips-3d-7.c,
* gcc.target/mips/mips-3d-8.c, gcc.target/mips/mips-3d-9.c,
* gcc.target/mips/mips-3d-2.c, gcc.target/mips/mips-3d-3.c,
* gcc.target/mips/mips-ps-1.c, gcc.target/mips/mips-ps-2.c,
* gcc.target/mips/mips-ps-3.c, gcc.target/mips/mips-ps-4.c,
* gcc.target/mips/mips-ps-type.c, gcc.target/mips/sb1-1.c: Use
dg-mips-options instead of dg-options.  Remove now-redundant
preprocessor guards.
* gcc.dg/mips-args-1.c, gcc.dg/mips-args-2.c, gcc.dg/mips-args-3.c,
* gcc.dg/mips-movcc-1.c, gcc.dg/mips-movcc-2.c, gcc.dg/mips-movcc-3.c,
* gcc.dg/mips-nmadd-1.c, gcc.dg/mips-nmadd-2.c, gcc.dg/mips-rsqrt-1.c,
* gcc.dg/mips-rsqrt-2.c, gcc.dg/mips-rsqrt-3.c, gcc.dg/vr-mult-1.c,
* gcc.dg/vr-mult-2.c: Delete.
* gcc.target/mips/args-1.c, gcc.target/mips/args-2.c,
* gcc.target/mips/args-3.c, gcc.target/mips/movcc-1.c,
* gcc.target/mips/movcc-2.c, gcc.target/mips/movcc-3.c,
* gcc.target/mips/nmadd-1.c, gcc.target/mips/nmadd-2.c,
* gcc.target/mips/rsqrt-1.c, gcc.target/mips/rsqrt-2.c,
* gcc.target/mips/rsqrt-3.c, gcc.target/mips/vr-mult-1.c,
* gcc.target/mips/vr-mult-2.c: New tests, based on the old gcc.dg ones.

From-SVN: r98345

19 years agoBASE64.java: Truncate encoded byte array.
Chris Burdess [Mon, 18 Apr 2005 19:32:02 +0000 (19:32 +0000)]
BASE64.java: Truncate encoded byte array.

2005-04-18  Chris Burdess  <dog@gnu.org>

* gnu/java/net/BASE64.java: Truncate encoded byte array.

From-SVN: r98343

19 years ago2005-04-18 Michael Koch <konqueror@gmx.de>
Michael Koch [Mon, 18 Apr 2005 19:17:31 +0000 (19:17 +0000)]
2005-04-18  Michael Koch  <konqueror@gmx.de>

gnu/java/awt/EmbeddedWindowSupport.java,
gnu/java/net/HeaderFieldHelper.java,
gnu/java/net/URLParseError.java,
gnu/java/net/protocol/file/Handler.java,
gnu/java/net/protocol/jar/Handler.java:
Fixed usage of @author tag.

From-SVN: r98342

19 years agoXmlParser.java: Reverted my typo fix.
Michael Koch [Mon, 18 Apr 2005 19:14:14 +0000 (19:14 +0000)]
XmlParser.java: Reverted my typo fix.

2005-04-18  Michael Koch  <konqueror@gmx.de>

* gnu/xml/aelfred2/XmlParser.java:
Reverted my typo fix.

From-SVN: r98341

19 years agoCubicCurve2D.java, [...]: Fixed mentioning of Brian Gouph.
Michael Koch [Mon, 18 Apr 2005 19:11:36 +0000 (19:11 +0000)]
CubicCurve2D.java, [...]: Fixed mentioning of Brian Gouph.

2005-04-18  Michael Koch  <konqueror@gmx.de>

* java/awt/geom/CubicCurve2D.java,
java/awt/geom/QuadCurve2D.java:
Fixed mentioning of Brian Gouph.

From-SVN: r98340

19 years agoBuffers.java, [...]: Reorganized import statements.
Michael Koch [Mon, 18 Apr 2005 18:40:27 +0000 (18:40 +0000)]
Buffers.java, [...]: Reorganized import statements.

2005-04-18  Michael Koch  <konqueror@gmx.de>

* gnu/java/awt/Buffers.java,
gnu/java/awt/image/ImageDecoder.java,
gnu/java/awt/image/XBMDecoder.java,
gnu/java/awt/peer/ClasspathFontPeer.java,
gnu/java/net/CRLFInputStream.java,
gnu/java/net/EmptyX509TrustManager.java,
gnu/java/net/LineInputStream.java,
gnu/java/net/protocol/ftp/ActiveModeDTP.java,
gnu/java/net/protocol/ftp/BlockInputStream.java,
gnu/java/net/protocol/ftp/CompressedInputStream.java,
gnu/java/net/protocol/ftp/DTP.java,
gnu/java/net/protocol/ftp/DTPInputStream.java,
gnu/java/net/protocol/ftp/FTPConnection.java,
gnu/java/net/protocol/ftp/FTPURLConnection.java,
gnu/java/net/protocol/ftp/PassiveModeDTP.java,
gnu/java/net/protocol/ftp/StreamInputStream.java,
gnu/java/net/protocol/http/ChunkedInputStream.java,
gnu/java/net/protocol/http/HTTPConnection.java,
gnu/java/net/protocol/http/HTTPURLConnection.java,
gnu/java/net/protocol/http/Headers.java,
gnu/java/net/protocol/http/Request.java,
gnu/java/nio/ChannelInputStream.java,
gnu/java/nio/ChannelOutputStream.java,
gnu/java/nio/InputStreamChannel.java,
gnu/java/nio/OutputStreamChannel.java,
gnu/java/nio/SelectorProviderImpl.java,
gnu/java/rmi/RMIMarshalledObjectInputStream.java,
gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
gnu/java/rmi/dgc/DGCImpl.java,
gnu/java/rmi/registry/RegistryImpl.java,
gnu/java/rmi/server/ProtocolConstants.java,
gnu/java/rmi/server/RMIDefaultSocketFactory.java,
gnu/java/rmi/server/RMIIncomingThread.java,
gnu/java/rmi/server/RMIObjectInputStream.java,
gnu/java/rmi/server/RMIObjectOutputStream.java,
gnu/java/rmi/server/RMIVoidValue.java,
gnu/java/rmi/server/UnicastConnectionManager.java,
gnu/java/rmi/server/UnicastRef.java,
gnu/java/rmi/server/UnicastRemoteCall.java,
gnu/java/rmi/server/UnicastRemoteStub.java,
gnu/java/rmi/server/UnicastServerRef.java,
gnu/java/security/OID.java,
gnu/java/security/der/DERReader.java,
gnu/java/security/provider/CollectionCertStoreImpl.java,
gnu/java/security/provider/DSAParameterGenerator.java,
gnu/java/security/provider/DefaultPolicy.java,
gnu/java/security/provider/EncodedKeyFactory.java,
gnu/java/security/provider/GnuDHPublicKey.java,
gnu/java/security/provider/GnuDSAPrivateKey.java,
gnu/java/security/provider/GnuDSAPublicKey.java,
gnu/java/security/provider/GnuRSAPrivateKey.java,
gnu/java/security/provider/GnuRSAPublicKey.java,
gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
gnu/java/security/provider/RSA.java,
gnu/java/security/provider/SHA1PRNG.java,
gnu/java/security/provider/SHA1withRSA.java,
gnu/java/security/provider/X509CertificateFactory.java,
gnu/java/security/x509/GnuPKIExtension.java,
gnu/java/security/x509/X500DistinguishedName.java,
gnu/java/security/x509/X509CRL.java,
gnu/java/security/x509/X509CRLEntry.java,
gnu/java/security/x509/X509CertPath.java,
gnu/java/security/x509/X509CertSelectorImpl.java,
gnu/java/security/x509/X509Certificate.java,
gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
gnu/java/security/x509/ext/BasicConstraints.java,
gnu/java/security/x509/ext/CRLNumber.java,
gnu/java/security/x509/ext/CertificatePolicies.java,
gnu/java/security/x509/ext/ExtendedKeyUsage.java,
gnu/java/security/x509/ext/Extension.java,
gnu/java/security/x509/ext/GeneralNames.java,
gnu/java/security/x509/ext/IssuerAlternativeNames.java,
gnu/java/security/x509/ext/KeyUsage.java,
gnu/java/security/x509/ext/PolicyConstraint.java,
gnu/java/security/x509/ext/PolicyMappings.java,
gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
gnu/java/security/x509/ext/ReasonCode.java,
gnu/java/security/x509/ext/SubjectAlternativeNames.java,
gnu/java/security/x509/ext/SubjectKeyIdentifier.java:
Reorganized import statements.

From-SVN: r98339

19 years agoCieXyzConverter.java, [...]: Standardized file headers.
Michael Koch [Mon, 18 Apr 2005 18:28:18 +0000 (18:28 +0000)]
CieXyzConverter.java, [...]: Standardized file headers.

2005-04-18  Michael Koch  <konqueror@gmx.de>

* gnu/java/awt/color/CieXyzConverter.java,
gnu/java/awt/color/ClutProfileConverter.java,
gnu/java/awt/color/ColorLookUpTable.java,
gnu/java/awt/color/ColorSpaceConverter.java,
gnu/java/awt/color/GrayProfileConverter.java,
gnu/java/awt/color/GrayScaleConverter.java,
gnu/java/awt/color/LinearRGBConverter.java,
gnu/java/awt/color/ProfileHeader.java,
gnu/java/awt/color/PyccConverter.java,
gnu/java/awt/color/RgbProfileConverter.java,
gnu/java/awt/color/SrgbConverter.java,
gnu/java/awt/color/TagEntry.java,
gnu/java/awt/color/ToneReproductionCurve.java:
Standardized file headers.

From-SVN: r98338

19 years agorun_all.sh: Use sync when executable not present.
Laurent GUERBY [Mon, 18 Apr 2005 17:32:56 +0000 (17:32 +0000)]
run_all.sh: Use sync when executable not present.

2005-04-18  Laurent GUERBY  <laurent@guerby.net>

* ada/acats/run_all.sh: Use sync when executable not present.

From-SVN: r98335

19 years agoAdd PR markers to:
Andrew Pinski [Mon, 18 Apr 2005 17:19:55 +0000 (10:19 -0700)]
Add PR markers to:

2005-04-18  Alexandre Oliva  <aoliva@redhat.com>

        PR middle-end/21049
        * tree-cfg.c (dump_function_to_file): Do not crash if cfun or
        cfun->cfg are NULL.

From-SVN: r98334

19 years agoAdd include/Makefile.in to last entry
Hans-Peter Nilsson [Mon, 18 Apr 2005 17:13:32 +0000 (17:13 +0000)]
Add include/Makefile.in to last entry

From-SVN: r98333

19 years agoMakefile.am: Add CRIS support.
Simon Posnjak [Mon, 18 Apr 2005 17:08:58 +0000 (17:08 +0000)]
Makefile.am: Add CRIS support.

* Makefile.am: Add CRIS support.
* configure.ac: Likewise.
* Makefile.in, configure, testsuite/Makefile.in: Regenerate.
* src/cris: New directory.
* src/cris/ffi.c, src/cris/sysv.S, src/cris/ffitarget.h: New files.
* src/prep_cif.c (ffi_prep_cif): Wrap in #ifndef __CRIS__.

Co-Authored-By: Hans-Peter Nilsson <hp@axis.com>
From-SVN: r98332

19 years agotree-cfg.c (dump_function_to_file): Do not crash if cfun or cfun->cfg are NULL.
Alexandre Oliva [Mon, 18 Apr 2005 17:04:06 +0000 (17:04 +0000)]
tree-cfg.c (dump_function_to_file): Do not crash if cfun or cfun->cfg are NULL.

* tree-cfg.c (dump_function_to_file): Do not crash if cfun or
cfun->cfg are NULL.

From-SVN: r98331

19 years agocgraphunit.c (cgraph_finalize_compilation_unit): Fix a comment typo.
Tom Tromey [Mon, 18 Apr 2005 16:51:16 +0000 (16:51 +0000)]
cgraphunit.c (cgraph_finalize_compilation_unit): Fix a comment typo.

* cgraphunit.c (cgraph_finalize_compilation_unit): Fix a comment
typo.

From-SVN: r98330

19 years agolibffi-dg.exp (libffi-dg-test-1): Replace \n with \r?\n in output tests.
Hans-Peter Nilsson [Mon, 18 Apr 2005 16:31:10 +0000 (16:31 +0000)]
libffi-dg.exp (libffi-dg-test-1): Replace \n with \r?\n in output tests.

* testsuite/lib/libffi-dg.exp (libffi-dg-test-1): Replace \n with
\r?\n in output tests.

From-SVN: r98329

19 years agoalpha.c (alpha_split_atomic_op): New.
Richard Henderson [Mon, 18 Apr 2005 16:13:00 +0000 (09:13 -0700)]
alpha.c (alpha_split_atomic_op): New.

        * config/alpha/alpha.c (alpha_split_atomic_op): New.
        (alphaev5_insn_pipe): Add LD_L, ST_C, MB types.
        (alphaev4_insn_pipe): Likewise.  Correct IST and LDSYM pipes.
        * config/alpha/alpha-protos.h: Update.
        * config/alpha/alpha.md (UNSPECV_MB, UNSPECV_LL, UNSPECV_SC): New.
        (UNSPECV_ATOMIC, UNSPECV_CMPXCHG, UNSPECV_XCHG): New.
        (attr type): Add ld_l, st_c, mb.
        (andsi_internal, andnotsi3, iorsi_internal, one_cmplsi_internal,
        iornotsi3, xorsi_internal, xornotsi3): New.
        * config/alpha/ev4.md (ev4_ld): Add ld_l.
        (ev4_ist_c, ev4_mb): New.
        * config/alpha/ev5.md (ev5_st): Add st_c, mb.
        (ev5_ld_l): New.
        * config/alpha/ev6.md (ev6_ild): Add ld_l.
        (ev6_ist): Add st_c.
        (ev6_mb): New.
        * config/alpha/sync.md: New file.

From-SVN: r98328

19 years ago* optabs.c (expand_sync_operation): Fix typo expanding nand to and.
Richard Henderson [Mon, 18 Apr 2005 16:05:12 +0000 (09:05 -0700)]
* optabs.c (expand_sync_operation): Fix typo expanding nand to and.

From-SVN: r98327

19 years ago* include/bits/stl_algo.h (rotate_copy): Add missing std qualification.
Jonathan Wakely [Mon, 18 Apr 2005 16:04:04 +0000 (17:04 +0100)]
* include/bits/stl_algo.h (rotate_copy): Add missing std qualification.

From-SVN: r98326

19 years agobuiltins.c (expand_builtin_sync_operation): Fold nand to and for constants.
Richard Henderson [Mon, 18 Apr 2005 16:02:14 +0000 (09:02 -0700)]
builtins.c (expand_builtin_sync_operation): Fold nand to and for constants.

        * builtins.c (expand_builtin_sync_operation): Fold nand to and
        for constants.

From-SVN: r98324

19 years agoatlivec.md (mulv4si3): New pattern.
Devang Patel [Mon, 18 Apr 2005 15:50:53 +0000 (08:50 -0700)]
atlivec.md (mulv4si3): New pattern.

        * config/rs6000/atlivec.md (mulv4si3): New pattern.

        * gcc.dg/vect/vect-11.c: Require effective target vect_int_mult.
        * gcc.dg/vect/vect-11a.c: New.
        * gcc.dg/vect/vect-none.c: Update.
        * lib/target-supports.exp (check_effective_target_vect_int_mult): New.

From-SVN: r98323

19 years agore PR tree-optimization/20922 (missed always false conditional)
James A. Morrison [Mon, 18 Apr 2005 15:18:21 +0000 (15:18 +0000)]
re PR tree-optimization/20922 (missed always false conditional)

2005-04-18  James A. Morrison  <phython@gcc.gnu.org>

        PR tree-optimization/20922
        * fold-const.c (fold_binary): Fold X - c > X and X + c < X to false.
        Fold X + c >= X and fold X - c <= X to true.

From-SVN: r98321

19 years agounwind-ia64.c (emergency_reg_state_free): Make an unsigned int.
James A. Morrison [Mon, 18 Apr 2005 15:11:36 +0000 (15:11 +0000)]
unwind-ia64.c (emergency_reg_state_free): Make an unsigned int.

2005-04-18  James A. Morrison  <phython@gcc.gnu.org>

       * config/ia64/unwind-ia64.c (emergency_reg_state_free): Make an
       unsigned int.
       (emergency_labeled_state_free): Likewise.

From-SVN: r98320

19 years ago* cp-tree.h (VPTR_NAME, VPTR_NAME_P): Remove.
Kazu Hirata [Mon, 18 Apr 2005 15:02:51 +0000 (15:02 +0000)]
* cp-tree.h (VPTR_NAME, VPTR_NAME_P): Remove.

From-SVN: r98319

19 years agodecl.c (expand_static_init): Call build2 and build3 instead of build.
Kazu Hirata [Mon, 18 Apr 2005 13:39:38 +0000 (13:39 +0000)]
decl.c (expand_static_init): Call build2 and build3 instead of build.

* decl.c (expand_static_init): Call build2 and build3 instead
of build.

From-SVN: r98318

19 years ago(jump): Remove prescan parameter from calls to final_scan_insn.
Nick Clifton [Mon, 18 Apr 2005 11:31:50 +0000 (11:31 +0000)]
(jump): Remove prescan parameter from calls to final_scan_insn.

From-SVN: r98316

19 years ago(arc_output_function_epilogue): Remove prescan parameter from calls to
Nick Clifton [Mon, 18 Apr 2005 11:27:16 +0000 (11:27 +0000)]
(arc_output_function_epilogue): Remove prescan parameter from calls to
final_scan_insn.

From-SVN: r98315

19 years agoconfig.gcc (m68hc12): Use the m68hc11.opt file for target specific options.
Nick Clifton [Mon, 18 Apr 2005 10:59:35 +0000 (10:59 +0000)]
config.gcc (m68hc12): Use the m68hc11.opt file for target specific options.

* config.gcc (m68hc12): Use the m68hc11.opt file for target specific options.
  (v850e, v850e1): Use the v850.opt file for target specific options.

From-SVN: r98313

19 years agore PR libfortran/20950 ([4.0 only] segfault in INQUIRE asking for SEQUENTIAL status)
Francois-Xavier Coudert [Mon, 18 Apr 2005 07:34:32 +0000 (09:34 +0200)]
re PR libfortran/20950 ([4.0 only] segfault in INQUIRE asking for SEQUENTIAL status)

PR libfortran/20950
* io/inquire.c (inquire_via_unit): Check for the gfc_unit being
NULL when setting ioparm.sequential.
* gfortran.dg/pr20950.f: New test.

From-SVN: r98312

19 years agopr19216.f: Last commit forgot to 'cvs add' the added test.
François-Xavier Coudert [Mon, 18 Apr 2005 07:07:03 +0000 (07:07 +0000)]
pr19216.f: Last commit forgot to 'cvs add' the added test.

* gfortran.dg/pr19216.f: Last commit forgot to 'cvs add' the
added test. Here it is.

From-SVN: r98311

19 years agore PR libfortran/19216 (list directed read with leading slash (NIST FM923))
François-Xavier Coudert [Mon, 18 Apr 2005 07:05:26 +0000 (07:05 +0000)]
re PR libfortran/19216 (list directed read with leading slash (NIST FM923))

PR libfortran/19216
* gfortran.dg/pr19216.f: New test.

From-SVN: r98310

19 years agore PR tree-optimization/21001 (VRP is weak when the tested variable in a COND_EXPR...
Kazu Hirata [Mon, 18 Apr 2005 06:10:45 +0000 (06:10 +0000)]
re PR tree-optimization/21001 (VRP is weak when the tested variable in a COND_EXPR is used only in the COND_EXPR.)

gcc/
PR tree-optimization/21001
* tree-optimize.c (init_tree_optimization_passes): Move the
first pass_forwprop immediately before pass_vrp.

testsuite/
PR tree-optimization/21001
* gcc.dg/tree-ssa/pr21001.c: New.

From-SVN: r98309

19 years agoDaily bump.
GCC Administrator [Mon, 18 Apr 2005 00:16:26 +0000 (00:16 +0000)]
Daily bump.

[[Split portion of a mixed commit.]]

From-SVN: r98307.2

19 years agogcconfig.h (sparc-linux): Use LINUX_STACKBOTTOM.
David S. Miller [Sun, 17 Apr 2005 22:01:21 +0000 (22:01 +0000)]
gcconfig.h (sparc-linux): Use LINUX_STACKBOTTOM.

2005-04-17  David S. Miller  <davem@davemloft.net>

* include/private/gcconfig.h (sparc-linux): Use LINUX_STACKBOTTOM.
* os_dep.c (GC_linux_stack_base): Check for bug present in some
Sparc glibc variants where __libc_stack_end is erroneously set
to "1".  Fallback to procfs code in that case.

From-SVN: r98303

19 years agoc-common.def (SIZEOF_EXPR, [...]): Remove.
Ian Lance Taylor [Sun, 17 Apr 2005 21:27:47 +0000 (21:27 +0000)]
c-common.def (SIZEOF_EXPR, [...]): Remove.

./ * c-common.def (SIZEOF_EXPR, ARROW_EXPR, ALIGNOF_EXPR): Remove.
* c-common.c (c_sizeof_or_alignof_type): Change second parameter
from enum tree_code op to bool is_sizeof.
* c-common.h (c_sizeof_or_alignof_type): Update declaration.
(c_sizeof, c_alignof): Update calls to c_sizeof_or_alignof_type.
* c-pretty-print.c (pp_c_postfix_expression): Remove ARROW_EXPR
case.
(pp_c_unary_expression): Remove SIZEOF_EXPR and ALIGNOF_EXPR
cases.
(pp_c_expression): Remove ARROW_EXPR, SIZEOF_EXPR, and
ALIGNOF_EXPR cases.
cp/
* cp-tree.def: Add SIZEOF_EXPR, ARROW_EXPR and ALIGNOF_EXPR.
* cxx-pretty-print.c (pp_cxx_postfix_expression): Handle
ARROW_EXPR.
(pp_cxx_unary_expression): Handle SIZEOF_EXPR and ALIGNOF_EXPR.
(pp_cxx_expression): Handle ARROW_EXPR, SIZEOF_EXPR, and
ALIGNOF_EXPR.
* typeck.c (cxx_sizeof_or_alignof_type): Update call to
c_sizeof_or_alignof_type for change in parameter type.

From-SVN: r98297

19 years ago* system.h: Poison DONT_ACCESS_GBLS_AFTER_EPILOGUE.
Ian Lance Taylor [Sun, 17 Apr 2005 21:26:00 +0000 (21:26 +0000)]
* system.h: Poison DONT_ACCESS_GBLS_AFTER_EPILOGUE.

From-SVN: r98295

19 years ago005-04-17 Thomas Koenig <Thomas.Koenig@online.de>
Thomas Koenig [Sun, 17 Apr 2005 20:26:57 +0000 (20:26 +0000)]
005-04-17  Thomas Koenig  <Thomas.Koenig@online.de>

        PR libfortran/21075
        * m4/reshape.m4 (reshape_`'rtype_kind):  Change dimension
        of auxiliary arrays from GFC_MAX_DIMENSIONS - 1 to
        GFC_MAX_DIMENSIONS.
        * intrinsics/reshape_generic.c (reshape_generic):  Likewise.
        * generated/reshape_i4.c:  Regenerated.
        * generated/reshape_i8.c:  Regenerated.

2005-04-17  Thomas Koenig  <Thomas.Koenig@online.de>

        PR libfortran/21075
        * gfortran.dg/reshape_rank7.f90: New test.

From-SVN: r98288