gcc.git
20 years ago2004-05-04 Michael Koch <konqueror@gmx.de>
Michael Koch [Tue, 4 May 2004 21:31:30 +0000 (21:31 +0000)]
2004-05-04  Michael Koch  <konqueror@gmx.de>

* java/nio/ByteBuffer.java,
java/nio/CharBuffer.java,
java/nio/DoubleBuffer.java,
java/nio/FloatBuffer.java,
java/nio/IntBuffer.java,
java/nio/LongBuffer.java,
java/nio/ShortBuffer.java:
(compareTo): Fixed bogus implementation in all buffer classes.

From-SVN: r81489

20 years agoexpr.c (store_constructor_field): Don't call store_constructor if bitsize is not...
Richard Kenner [Tue, 4 May 2004 19:57:35 +0000 (19:57 +0000)]
expr.c (store_constructor_field): Don't call store_constructor if bitsize is not a multiple of a byte.

* expr.c (store_constructor_field): Don't call store_constructor
if bitsize is not a multiple of a byte.

From-SVN: r81487

20 years agoColorModel.java (getRGBdefault): Default ColorModel has 32 bit pixels not 8 bit pixels.
Ingo Proetel [Tue, 4 May 2004 19:27:11 +0000 (19:27 +0000)]
ColorModel.java (getRGBdefault): Default ColorModel has 32 bit pixels not 8 bit pixels.

2004-05-04  Ingo Proetel  <proetel@aicas.com>

* java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
        32 bit pixels not 8 bit pixels.
(isCompatibleRaster): Added javadoc comment.

2004-05-04  Ingo Proetel  <proetel@aicas.com>

* java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
scanline stride.

2004-05-04  Ingo Proetel  <proetel@aicas.com>

* java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
(getColorModel): Return the actual color model.
(getRaster): Implemented.
(ColorRaster): New inner class.
* java/awt/SystemColor.java (createContext): Use ColorModel when creating
a PaintContext.
* java/awt/Color.java (<init>): Make exception more verbose.
(createContext): Use ColorModel when creating a PaintContext.

From-SVN: r81486

20 years agoimage-info.m: Allow additional attributes for __image_info section.
Ziemowit Laski [Tue, 4 May 2004 19:03:38 +0000 (19:03 +0000)]
image-info.m: Allow additional attributes for __image_info section.

2004-05-04  Ziemowit Laski  <zlaski@apple.com>

        * objc.dg/image-info.m: Allow additional attributes
        for __image_info section.

From-SVN: r81483

20 years ago2004-05-04 Michael Koch <konqueror@gmx.de>
Michael Koch [Tue, 4 May 2004 18:48:53 +0000 (18:48 +0000)]
2004-05-04  Michael Koch  <konqueror@gmx.de>

* gnu/java/text/CharacterBreakIterator.java
(previous): Removed unused variable.

From-SVN: r81482

20 years agodemangle.h: Do not use C++ reserved keyword typename as parameter for...
Andreas Jaeger [Tue, 4 May 2004 18:13:54 +0000 (20:13 +0200)]
demangle.h: Do not use C++ reserved keyword typename as parameter for...

* demangle.h: Do not use C++ reserved keyword typename as
parameter for cplus_demangle_fill_builtin_type.

From-SVN: r81481

20 years agoreload1.c (inherit_piecemeal_p): New function.
Richard Sandiford [Tue, 4 May 2004 17:57:39 +0000 (17:57 +0000)]
reload1.c (inherit_piecemeal_p): New function.

* reload1.c (inherit_piecemeal_p): New function.
(emit_reload_insns): When reloading a group of hard registers, use
inherit_piecemeal_p to decide whether the values of individual hard
registers can be inherited.

From-SVN: r81480

20 years agoFormatBuffer.java, [...]: New classes to implement attributed iterators in java.text.
Guilhem Lavaux [Tue, 4 May 2004 16:27:20 +0000 (16:27 +0000)]
FormatBuffer.java, [...]: New classes to implement attributed iterators in java.text.

2004-05-04  Guilhem Lavaux <guilhem@kaffe.org>

* gnu/java/text/FormatBuffer.java,
gnu/java/text/AttributedFormatBuffer.java,
gnu/java/text/StringFormatBuffer.java: New classes to implement
attributed iterators in java.text.
* gnu/java/text/FormatCharacterIterator.java: Moved
from java/text as it is an internal class.
* java/text/FormatCharacterIterator.java: Removed.
* java/text/Format.java:
Import gnu.java.text.FormatCharacterIterator.
* Makefile.am (java_source_files): Added new files.
* Makefile.in: Regenerated.

From-SVN: r81479

20 years agot-ia64 (LIB2ADDEH): Remove gthr-gnat.c.
H.J. Lu [Tue, 4 May 2004 16:09:38 +0000 (16:09 +0000)]
t-ia64 (LIB2ADDEH): Remove gthr-gnat.c.

2004-05-04  H.J. Lu  <hongjiu.lu@intel.com>

* config/ia64/t-ia64 (LIB2ADDEH): Remove gthr-gnat.c.
* config/s390/t-tpf (LIB2ADDEHDEP): Likewise.
* config/t-linux (LIB2ADDEHDEP): Likewise.

From-SVN: r81478

20 years agoMAINTAINERS (Various Maintainers): Add myself.
Vladimir Makarov [Tue, 4 May 2004 14:23:18 +0000 (14:23 +0000)]
MAINTAINERS (Various Maintainers): Add myself.

2004-05-04  Vladimir Makarov  <vmakarov@redhat.com>

        * MAINTAINERS (Various Maintainers): Add myself.

From-SVN: r81477

20 years agocrti.asm: Push an even number of registers.
Paul Brook [Tue, 4 May 2004 11:33:56 +0000 (11:33 +0000)]
crti.asm: Push an even number of registers.

* config/arm/crti.asm: Push an even number of registers.
* config/arm/crtn.asm: And restore them.  Load via sp.

From-SVN: r81473

20 years agoggc-zone.c (ggc_alloc_zone_1): Add MEM_STAT_DECL parameter.
Paolo Bonzini [Tue, 4 May 2004 08:20:31 +0000 (08:20 +0000)]
ggc-zone.c (ggc_alloc_zone_1): Add MEM_STAT_DECL parameter.

2004-05-04  Paolo Bonzini  <bonzini@gnu.org>

* ggc-zone.c (ggc_alloc_zone_1): Add MEM_STAT_DECL parameter.
Collect overhead information.
(ggc_alloc_stat): New name of ggc_alloc.  Add MEM_STAT_DECL
parameter and pass it through.
(ggc_alloc_typed_stat): New name of ggc_alloc_typed.  Add
MEM_STAT_DECL parameter and pass it through.
(ggc_alloc_zone_stat): New name of ggc_alloc_zone.  Add
MEM_STAT_DECL parameter and pass it through.

From-SVN: r81472

20 years agoFileChannelImpl.java (finalize): New method.
Michael Koch [Tue, 4 May 2004 05:37:32 +0000 (05:37 +0000)]
FileChannelImpl.java (finalize): New method.

2004-05-02  Mark Wielaard  <mark@klomp.org>

* gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.

From-SVN: r81470

20 years ago2004-05-04 Mark Wielaard <mark@klomp.org>
Mark Wielaard [Tue, 4 May 2004 05:32:46 +0000 (05:32 +0000)]
2004-05-04  Mark Wielaard  <mark@klomp.org>

* gnu/java/nio/channels/FileChannelImpl.java
(finalize): New method.

From-SVN: r81469

20 years agors6000-protos.h: Protoize rs6000_hard_regno_nregs.
Aldy Hernandez [Tue, 4 May 2004 02:24:51 +0000 (02:24 +0000)]
rs6000-protos.h: Protoize rs6000_hard_regno_nregs.

* config/rs6000/rs6000-protos.h: Protoize rs6000_hard_regno_nregs.

* config/rs6000/rs6000.c (rs6000_hard_regno_nregs): New.

* config/rs6000/rs6000.h (HARD_REGNO_NREGS): Call
rs6000_hard_regno_nregs.

From-SVN: r81467

20 years agos390.c (s390_emit_prologue): Call unspec tpf prologue insn instead of setting up...
Eric Christopher [Tue, 4 May 2004 01:20:40 +0000 (01:20 +0000)]
s390.c (s390_emit_prologue): Call unspec tpf prologue insn instead of setting up call.

2004-05-03  Eric Christopher  <echristo@redhat.com>

        * config/s390/s390.c (s390_emit_prologue): Call unspec tpf
        prologue insn instead of setting up call.
        (s390_emit_epilogue): Ditto.
        * config/s390/s390.md (prologue_tpf, epilogue_tpf): New patterns.
        (define_constants): Add numbers for above patterns.

From-SVN: r81466

20 years agos390.h (CONDITIONAL_REGISTER_USAGE): Move body...
Eric Christopher [Tue, 4 May 2004 01:16:47 +0000 (01:16 +0000)]
s390.h (CONDITIONAL_REGISTER_USAGE): Move body...

2004-05-03  Eric Christopher  <echristo@redhat.com>

* config/s390/s390.h (CONDITIONAL_REGISTER_USAGE): Move body...
* config/s390/s390.c (s390_conditional_register_usage): ...here.
* config/s390/s390-protos.h: Prototype.

From-SVN: r81465

20 years agoDaily bump.
GCC Administrator [Tue, 4 May 2004 00:16:12 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r81461

20 years agoPatch from Joe Buck to workaround HP C bug.
Joe Buck [Mon, 3 May 2004 22:59:50 +0000 (22:59 +0000)]
Patch from Joe Buck to workaround HP C bug.

* cppfiles.c (pchf_adder): Eliminate use of |= in d->have_once_only
assignment.

From-SVN: r81458

20 years agomips.md: Fix branch length attribute definition.
Eric Christopher [Mon, 3 May 2004 22:28:55 +0000 (22:28 +0000)]
mips.md: Fix branch length attribute definition.

2004-05-03  Eric Christopher  <echristo@redhat.com>

* config/mips/mips.md: Fix branch length attribute definition.

From-SVN: r81457

20 years agoconfig.gcc: Remove --enable-altivec support.
Aldy Hernandez [Mon, 3 May 2004 21:29:15 +0000 (21:29 +0000)]
config.gcc: Remove --enable-altivec support.

* config.gcc: Remove --enable-altivec support.

* config/rs6000/altivec-defs.h: Remove.

From-SVN: r81456

20 years agoMakefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
Andreas Tobler [Mon, 3 May 2004 20:53:05 +0000 (22:53 +0200)]
Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.

2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>

* Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
* Makefile.in: Rebuilt.

From-SVN: r81455

20 years agoacinclude.m4: Replace -W with more speaking -Wextra.
Andreas Tobler [Mon, 3 May 2004 20:48:13 +0000 (22:48 +0200)]
acinclude.m4: Replace -W with more speaking -Wextra.

2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>

* acinclude.m4: Replace -W with more speaking -Wextra.
* aclocal.m4: Regenerate.
* configure: Regenerate.

From-SVN: r81454

20 years agoDERReader.java: Call static methods staticly.
Mark Wielaard [Mon, 3 May 2004 20:23:28 +0000 (20:23 +0000)]
DERReader.java: Call static methods staticly.

2004-05-03  Mark Wielaard  <mark@klomp.org>

* gnu/java/security/der/DERReader.java: Call static methods staticly.
* java/awt/TextComponent.java (select): Use selectionEnd parameter.
* java/net/URL.java
(set(String, String, int, String, String, String, String, String)):
Assign this.file to path or path + "?" + query.
* java/util/Arrays.java: Call static methods staticly.
* java/util/zip/ZipEntry.java: Likewise.
* javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
dir to this.direction.
* javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
Assign static field only once.
(DefaultTableCellRenderer): Don't reassign noFocusBorder each time.

From-SVN: r81453

20 years agoGtkTextAreaPeer.java (minimumSize): Removed unused variables hScrollbarHeight and...
Mark Wielaard [Mon, 3 May 2004 20:06:09 +0000 (20:06 +0000)]
GtkTextAreaPeer.java (minimumSize): Removed unused variables hScrollbarHeight and vScrollbarWidth.

2004-05-03  Mark Wielaard  <mark@klomp.org>

* gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
unused variables hScrollbarHeight and vScrollbarWidth.
(preferredSize): Likewise.
* gnu/java/security/provider/DSAParameters.java (engineToString):
Removed unused call to System.getProperty("line.seperator");
* java/security/Security.java (loadProviders): Return result.

From-SVN: r81451

20 years agoURLStreamHandler.java (toExternalForm): Removed unused variables.
Tom Tromey [Mon, 3 May 2004 19:52:29 +0000 (19:52 +0000)]
URLStreamHandler.java (toExternalForm): Removed unused variables.

2004-05-03  Tom Tromey  <tromey@redhat.com>

* java/net/URLStreamHandler.java (toExternalForm): Removed
unused variables.
unused constructor.
* java/math/BigDecimal.java (divide): Removed unused variable.
* java/lang/Throwable.java: Cleaned up imports.
* java/lang/ClassLoader.java: Cleaned up imports.
* java/io/FilePermission.java (implies): Removed unused
variable.
* java/awt/TextComponent.java: Removed unused import.
* gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
* gnu/java/util/DoubleEnumeration.java: Removed unused import.
* gnu/java/text/WordBreakIterator.java: Removed unused import.
* gnu/java/text/SentenceBreakIterator.java: Removed unused
import.
* gnu/java/text/LineBreakIterator.java: Removed unused import.
* gnu/java/text/CharacterBreakIterator.java: Removed
unused import.
* gnu/java/security/provider/DSAKeyPairGenerator.java:
Cleaned up imports.
* gnu/java/security/der/DERWriter.java: Cleaned up imports.
* gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
unused method.
* gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
* gnu/java/nio/FileLockImpl.java: Cleaned up imports.
* gnu/java/io/Base64InputStream.java: Cleaned up imports.
* gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
* gnu/classpath/ServiceFactory.java: Cleaned up imports.
(lookupProviders): Removed unused variable.
(loadNextServiceProvider): Likewise.
* gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.

From-SVN: r81450

20 years agoacinclude.m4: Replace -W with more speaking -Wextra.
Andreas Tobler [Mon, 3 May 2004 19:07:49 +0000 (21:07 +0200)]
acinclude.m4: Replace -W with more speaking -Wextra.

2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>

* acinclude.m4: Replace -W with more speaking -Wextra.
* configure: Rebuilt.

From-SVN: r81444

20 years agoAdd missing entry for my 2004-04-30 change.
Brian Ford [Mon, 3 May 2004 16:56:04 +0000 (16:56 +0000)]
Add missing entry for my 2004-04-30 change.

From-SVN: r81440

20 years agoinclhack.def (svr4_profil): Don't apply on IRIX 5/6.
Rainer Orth [Mon, 3 May 2004 15:19:16 +0000 (15:19 +0000)]
inclhack.def (svr4_profil): Don't apply on IRIX 5/6.

* fixinc/inclhack.def (svr4_profil): Don't apply on IRIX 5/6.
* fixinc/fixincl.x: Regenerate.

From-SVN: r81437

20 years ago* 50system.ads, 59system.ads, s-thread.ads: Removed, no longer used.
Arnaud Charlet [Mon, 3 May 2004 15:17:19 +0000 (17:17 +0200)]
* 50system.ads, 59system.ads, s-thread.ads: Removed, no longer used.

From-SVN: r81436

20 years agore PR libgcj/14695 ([3.3/3.4 only] java.net.NetworkInterface.getByName() throws excep...
Michael Koch [Mon, 3 May 2004 14:40:59 +0000 (14:40 +0000)]
re PR libgcj/14695 ([3.3/3.4 only] java.net.NetworkInterface.getByName() throws exception instead of returning null)

2004-05-03  Michael Koch  <konqueror@gmx.de>

Fixes PR libgcj/14695:
* java/net/NetworkInterface.java
(getByName): Return null when no interface was found.

From-SVN: r81434

20 years agoi386.md (*fyl2x_sfxf3, [...]): Remove insn definition.
Uros Bizjak [Mon, 3 May 2004 13:20:57 +0000 (15:20 +0200)]
i386.md (*fyl2x_sfxf3, [...]): Remove insn definition.

        * config/i386/i386.md (*fyl2x_sfxf3, *fyl2x_dfxf3): Remove insn
        definition.
        (log?f2, log10?f2, log2?f2): Reimplement expanders with
        float_truncate insn.
        (*fxtractsf3, *fxtractdf3): Remove insn definition.
        (logb?f2): Reimplement expanders with float_truncate insn.

From-SVN: r81432

20 years agore PR debug/14718 (ICE in force_decl_die (dwarf2out.c))
Graham Stott [Mon, 3 May 2004 13:13:15 +0000 (13:13 +0000)]
re PR debug/14718 (ICE in force_decl_die (dwarf2out.c))

PR 14718
* dwarf2out.c (dwarf2out_imported_module_or_decl): Use
force_type_die for CONST_DECL.

From-SVN: r81431

20 years agoOptimize locale::_M_impl->_M_names for the most common cases...
Paolo Carlini [Mon, 3 May 2004 12:14:07 +0000 (12:14 +0000)]
Optimize locale::_M_impl->_M_names for the most common cases...

2004-05-03  Paolo Carlini  <pcarlini@suse.de>

Optimize locale::_M_impl->_M_names for the most common cases:
!_M_names[0] means unnamed; !_M_names[1] means all the categories
the same name (_M_names[0] && _M_names[1] means that the full set
of _M_names must be processed, the general case).
* include/bits/locale_classes.h (locale::_Impl::_M_check_same_name):
Tweak, saving work when !_M_names[1].
(locale::locale(const locale&, _Facet*): Simplify: now just setting
_M_names[0] = 0 means unnamed.
* src/locale.cc (locale::operator==): Deal first with the common,
easy cases, otherwise fall back to locale::name().
(locale::name()): Tweak, if !_M_names[0] just return "*".
(locale::_Impl::_Impl(const _Impl&, size_t): Tweak, early stop
copying __imp._M_names if !__imp._M_names[0] or !__imp._M_names[1].
* src/locale_init.cc (locale::_Impl::_Impl(size_t)): Tweak.
* src/localename.cc (locale::_Impl::_Impl(const char*, size_t):
Simplify when !std::strchr, just updating _M_names[0]; clean up.
(locale::_Impl::_M_replace_categories): When !_M_names[1] prepare
for the general case (full set of names), then do the usual work;
clean up.

* src/locale.cc (locale::name()): Reserve space in __ret.
* src/locale_init.cc (locale::global(const locale&)): Save
the name in a temporary.
* src/localename.cc (locale::locale(const char*)): Reserve space
in __str.

From-SVN: r81430

20 years ago[multiple changes]
Arnaud Charlet [Mon, 3 May 2004 11:58:34 +0000 (13:58 +0200)]
[multiple changes]

2004-05-03  Olivier Hainque  <hainque@act-europe.fr>

PR ada/15152

* exp_ch2.adb (Expand_Current_Value): Leave Machine_Code Asm arguments
alone. Replacing object references by literals is inappropriate in a
so low level context.

2004-05-03  Arnaud Charlet  <charlet@act-europe.fr>

* a-exexpr.adb: Add comments

2004-05-03  Joel Brobecker  <brobecker@gnat.com>

* a-tags.adb (Tag_Table): Add Index_Check pragma Suppress. Allows us to
declare the Ancestor_Tags array in Type_Specific_Data with a small size
without risking a bounds check error when accessing one of its
components.
(Type_Specific_Data): Define Ancestor_Tags as a small array.
This prevents us from hitting a limitation during the debug info
generation when using stabs.

* a-tags.adb (Dispatch_Table): Define the Prims_Ptr component as a
small array.
This prevents us from hitting a limitation during the debug info
generation when using stabs.

2004-05-03  Eric Botcazou  <ebotcazou@act-europe.fr>

lang-specs.h: Remove -gnatz* from specs.

2004-05-03  Vincent Celier  <celier@gnat.com>

* gprmake.adb, makegpr.ads, makegpr.adb: New files.

* Make-lang.in, Makefile.in: Add gprmake

2004-05-03  Thomas Quinot  <quinot@act-europe.fr>

* sem_aggr.adb: Fix typo in comment.

2004-05-03  Robert Dewar  <dewar@gnat.com>

* make.adb: Minor reformatting

* rtsfind.ads, rtsfind.adb: (RTU_Loaded): New function

* sem_attr.adb (Eval_Attribute, case Type_Class): Fix check for address
so that it works when address is not a private type.

* sem_ch13.adb (Check_Expr_Constants, case N_Integer_Literal): Deal
properly with rewritten unchecked conversions. This prevents
order-of-elaboration issues that can otherwise arise.
(Minimum_Size): Don't check size of access types under VMS

* sem_ch4.adb (Remove_Address_Interpretation): New circuit to remove
interpretations of integer literals as type System.Address.

* sem_util.ads, sem_util.adb (Is_Descendent_Of_Address): New function
(Is_Descendent_Of): New function

2004-05-03  Jose Ruiz  <ruiz@act-europe.fr>

* sem_prag.adb: Boolean_Entry_Barriers is a synonym of Simple_Barriers.
Max_Entry_Queue_Depth is a synonym of Max_Entry_Queue_Length.
No_Dynamic_Interrupts is a synonym of No_Dynamic_Attachment.

* sem_res.adb: Use the new restriction Max_Entry_Queue_Length instead
of the old Max_Entry_Queue_Depth.

* snames.adb: Boolean_Entry_Barriers is a synonym of Simple_Barriers.
Max_Entry_Queue_Depth is a synonym of Max_Entry_Queue_Length
No_Dynamic_Interrupts is a synonym of No_Dynamic_Attachment

* snames.ads: New entry for proper handling of Boolean_Entry_Barriers.
New entry for proper handling of Max_Entry_Queue_Depth.
New entry for proper handling of No_Dynamic_Interrupts.

* s-rident.ads: Adding restriction Simple_Barriers (AI-00249) that
supersedes the GNAT specific restriction Boolean_Entry_Barriers.
Adding restriction Max_Entry_Queue_Length (AI-00249) that supersedes
the GNAT specific restriction Max_Entry_Queue_Depth.
Adding restriction No_Dynamic_Attachment (AI-00249) that supersedes
the GNAT specific restriction No_Dynamic_Interrupts.

* restrict.ads, restrict.adb: Use the new restriction Simple_Barriers
instead of the old Boolean_Entry_Barriers.
Use the new restriction No_Dynamic_Attachment instead of the old
No_Dynamic_Interrupts.

* exp_ch9.adb: Check restriction Simple_Barriers (AI-00249) that
supersedes the GNAT specific restriction Boolean_Entry_Barriers.

* gnatbind.adb: Use the new restriction Max_Entry_Queue_Length instead
of the old Max_Entry_Queue_Depth.

2004-05-03  GNAT Script  <nobody@gnat.com>

* Make-lang.in: Makefile automatically updated

From-SVN: r81429

20 years agoconfig.gcc (sparc64-*-solaris2*, [...]): Add tm-dwarf2.h to tm_file.
Eric Botcazou [Mon, 3 May 2004 10:24:02 +0000 (10:24 +0000)]
config.gcc (sparc64-*-solaris2*, [...]): Add tm-dwarf2.h to tm_file.

* config.gcc (sparc64-*-solaris2*, sparcv9-*-solaris2*): Add
tm-dwarf2.h to tm_file.
(sparc-*-solaris2*): Add tm-dwarf2.h to tm_file for Solaris 7+.
* config/sparc/sol2-bi.h (PREFERRED_DEBUGGING_TYPE): Delete.
(ASM_DEBUG_SPEC): Delete.

Co-Authored-By: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
From-SVN: r81428

20 years agoChangeLog missed in my previous commit
Giovanni Bajo [Mon, 3 May 2004 10:13:26 +0000 (10:13 +0000)]
ChangeLog missed in my previous commit

From-SVN: r81427

20 years agore PR c++/14389 (Out-of-line of overloaded template rejected)
Giovanni Bajo [Mon, 3 May 2004 10:11:19 +0000 (10:11 +0000)]
re PR c++/14389 (Out-of-line of overloaded template rejected)

PR c++/14389
* decl2.c (check_classfn): For member templates, compare also the
template parameters to match the declaration.
* cp-tree.h: Adjust declaration of check_classfn.
* decl.c (start_decl, grokfndecl): Adjust callers of check_classfn.
* friend.c (do_friend): Likewise.
* pt.c (tsubst_friend_function): Likewise.

PR c++/14389
* g++.dg/template/member5.C: New test.

From-SVN: r81426

20 years agooptabs.h (enum optab_index): Add new OTI_expm1.
Uros Bizjak [Mon, 3 May 2004 05:31:45 +0000 (07:31 +0200)]
optabs.h (enum optab_index): Add new OTI_expm1.

2004-05-03  Uros Bizjak  <uros@kss-loka.si>

* optabs.h (enum optab_index): Add new OTI_expm1.
(expm1_optab): Define corresponding macro.
* optabs.c (init_optabs): Initialize expm1_optab.
* genopinit.c (optabs): Implement expm1_optab using expm1?f2
patterns.
* builtins.c (expand_builtin_mathfn): Handle BUILT_IN_EXPM1{,F,L}
using expm1_optab.
(expand_builtin): Expand BUILT_IN_EXPM1{,F,L} using
expand_builtin_mathfn if flag_unsafe_math_optimizations is set.

* config/i386/i386.md (expm1df2, expm1sf2, expm1xf2): New expanders
to implement expm1, expm1f and expm1l built-ins as inline x87
intrinsics.

testsuite:

        * gcc.dg/builtins-34.c: Also check expm1*.

From-SVN: r81425

20 years agofrv.md (*return_true, [...]): New patterns.
Alexandre Oliva [Mon, 3 May 2004 02:16:16 +0000 (02:16 +0000)]
frv.md (*return_true, [...]): New patterns.

2003-11-19  Richard Sandiford  <rsandifo@redhat.com>
* config/frv/frv.md (*return_true, *return_false): New patterns.

From-SVN: r81424

20 years ago* rtl.h (PHI_NODE_P): Remove.
Kazu Hirata [Mon, 3 May 2004 01:27:55 +0000 (01:27 +0000)]
* rtl.h (PHI_NODE_P): Remove.

From-SVN: r81423

20 years agoDaily bump.
GCC Administrator [Mon, 3 May 2004 00:16:11 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r81420

20 years agoRevert my previous store_constructor* change
Richard Kenner [Sun, 2 May 2004 22:54:03 +0000 (18:54 -0400)]
Revert my previous store_constructor* change

From-SVN: r81417

20 years agocrontab: Move GCC 3.4 snapshots from Wednesday afternoon to Friday night...
Gerald Pfeifer [Sun, 2 May 2004 17:38:33 +0000 (17:38 +0000)]
crontab: Move GCC 3.4 snapshots from Wednesday afternoon to Friday night...

* crontab: Move GCC 3.4 snapshots from Wednesday afternoon to
Friday night, where gcc.gnu.org has less load.

From-SVN: r81413

20 years agore PR middle-end/14988 (Analysis of ACATS cxg2006 failures at -O1)
Eric Botcazou [Sun, 2 May 2004 13:46:23 +0000 (15:46 +0200)]
re PR middle-end/14988 (Analysis of ACATS cxg2006 failures at -O1)

PR middle-end/14988
* function.c (assign_stack_local_1): Use BITS_PER_UNIT alignment
when passed -2 as 'align'.
(put_var_into_stack): Use 'bool' as the type for the three local
predicates.  Adjust calls to put_reg_into_stack.
When passed a CONCAT, instruct put_reg_into_stack to use
a consecutive stack slot for the second part.
(put_reg_into_stack): Remove 'promoted_mode' parameter, add
'consecutive_p' parameter.  Turn the three predicates into 'bool'
parameters.  Retrieve the register mode from 'reg'.
When consecutive_p is true, instruct assign_stack_local_1 to use
BITS_PER_UNIT alignment.
(put_addressof_into_stack): Use 'bool' as the type for the two
local predicates. Adjust call to put_reg_into_stack.

From-SVN: r81411

20 years agofold-const.c (fold_convert_const, fold): Add missing FIX_ROUND_EXPR case.
Kaveh R. Ghazi [Sun, 2 May 2004 13:41:20 +0000 (13:41 +0000)]
fold-const.c (fold_convert_const, fold): Add missing FIX_ROUND_EXPR case.

* fold-const.c (fold_convert_const, fold): Add missing
FIX_ROUND_EXPR case.

From-SVN: r81410

20 years agocrontab: Adjust temporary directory used for snapshot generation.
Gerald Pfeifer [Sun, 2 May 2004 12:44:11 +0000 (12:44 +0000)]
crontab: Adjust temporary directory used for snapshot generation.

* crontab: Adjust temporary directory used for snapshot generation.
Move GCC 3.3 snapshots to Wednesday 22:32, where gcc.gnu.org has
less load.

From-SVN: r81409

20 years agoconfigure.ac (FLEX, BISON): Only use tools from the build tree if build equals host.
Alexandre Oliva [Sun, 2 May 2004 07:48:53 +0000 (07:48 +0000)]
configure.ac (FLEX, BISON): Only use tools from the build tree if build equals host.

* configure.ac (FLEX, BISON): Only use tools from the build tree
if build equals host.
* configure: Rebuilt.

From-SVN: r81406

20 years agofrv-protos.h (frv_expand_epilogue, [...]): Add bool argument.
Alexandre Oliva [Sun, 2 May 2004 04:57:47 +0000 (04:57 +0000)]
frv-protos.h (frv_expand_epilogue, [...]): Add bool argument.

* config/frv/frv-protos.h (frv_expand_epilogue,
frv_expand_fdpic_call): Add bool argument.
* config/frv/frv.c (frv_function_ok_for_sibcall): New.
(TARGET_FUNCTION_OK_FOR_SIBCALL): Define to it.
(frv_expand_epilogue): Use new argument to decide whether to emit
return instruction or copy the return address to LR.
(frv_expand_fdpic_call): Inline PLT entry when emitting direct
sibcalls.
(sibcall_operand): New.
* config/frv/frv.h (PREDICATE_CODES): call_operand doesn't match
PLUS nor LABEL_REF.  Add sibcall_operand.
* config/frv/frv.md (call, call_value): Pass false to
frv_expand_fdpic_call.
(call_fdpicdi, call_value_fdpicdi): Insert %i0 in calll.
(sibcall, sibcall_internal, sibcall_fdpicdi, sibcall_value,
sibcall_value_internal, sibcall_value_fdpicdi): New.
(return_unsigned_true, return_unsigned_false): New.
(epilogue): Adjust call to frv_expand_epilogue.
(sibcall_epilogue): New.

From-SVN: r81405

20 years agofrv.h (ASM_SPEC): Pass -mno-fdpic as -mnopic.
Alexandre Oliva [Sun, 2 May 2004 04:50:04 +0000 (04:50 +0000)]
frv.h (ASM_SPEC): Pass -mno-fdpic as -mnopic.

* config/frv/frv.h (ASM_SPEC): Pass -mno-fdpic as -mnopic.
(CPP_SPEC, CPP_SIMPLE_SPEC): Undefine __FRV_ACC__ and __FRV_FPR__
before redefining them.

From-SVN: r81404

20 years agobuiltins.c (fold_fixed_mathfn): New function.
Kaveh R. Ghazi [Sun, 2 May 2004 02:53:05 +0000 (02:53 +0000)]
builtins.c (fold_fixed_mathfn): New function.

* builtins.c (fold_fixed_mathfn): New function.
(fold_builtin_lround, fold_builtin): Use it.

testsuite:
* gcc.dg/torture/builtin-integral-1.c: Reorg and add more cases.
* gcc.dg/torture/builtin-convert-3.c: New test.

From-SVN: r81403

20 years agoDaily bump.
GCC Administrator [Sun, 2 May 2004 00:16:10 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r81400

20 years agolinux64.h (TARGET_DEFAULT): Make 64-bit by default also for TARGET_CPU_DEFAULT =...
Jakub Jelinek [Sat, 1 May 2004 21:12:55 +0000 (23:12 +0200)]
linux64.h (TARGET_DEFAULT): Make 64-bit by default also for TARGET_CPU_DEFAULT == TARGET_CPU_ultrasparc3.

* config/sparc/linux64.h (TARGET_DEFAULT): Make 64-bit by default
also for TARGET_CPU_DEFAULT == TARGET_CPU_ultrasparc3.

From-SVN: r81396

20 years agodecl.c (reshape_init): Do not apply TYPE_DOMAIN to a VECTOR_TYPE.
Zack Weinberg [Sat, 1 May 2004 19:12:46 +0000 (19:12 +0000)]
decl.c (reshape_init): Do not apply TYPE_DOMAIN to a VECTOR_TYPE.

* decl.c (reshape_init): Do not apply TYPE_DOMAIN to a VECTOR_TYPE.
Instead, dig into the representation type to find the array bound.

From-SVN: r81393

20 years ago* config/cris/cris.h: Revert my "fix comment typos" patch.
Kazu Hirata [Sat, 1 May 2004 16:27:45 +0000 (16:27 +0000)]
* config/cris/cris.h: Revert my "fix comment typos" patch.

From-SVN: r81392

20 years agoTARGET->TUNE in last entry.
Richard Sandiford [Sat, 1 May 2004 12:57:13 +0000 (12:57 +0000)]
TARGET->TUNE in last entry.

From-SVN: r81391

20 years ago* config/mips/mips.h (TARGET_MACC_CHAINS): Fix comment.
Richard Sandiford [Sat, 1 May 2004 12:55:23 +0000 (12:55 +0000)]
* config/mips/mips.h (TARGET_MACC_CHAINS): Fix comment.

From-SVN: r81390

20 years agoalpha.md (builtin_insbl, [...]): Disallow 0 as first input operand.
Falk Hueffner [Sat, 1 May 2004 12:26:28 +0000 (14:26 +0200)]
alpha.md (builtin_insbl, [...]): Disallow 0 as first input operand.

* config/alpha/alpha.md (builtin_insbl, builtin_inswl,
builtin_insll): Disallow 0 as first input operand.

From-SVN: r81387

20 years ago* config/alpha/alpha.c (alpha_rtx_costs): Fix shiftadd costs.
Falk Hueffner [Sat, 1 May 2004 12:21:51 +0000 (14:21 +0200)]
* config/alpha/alpha.c (alpha_rtx_costs): Fix shiftadd costs.

From-SVN: r81386

20 years agore PR middle-end/15054 (Bad code due to overlapping stack temporaries)
Ulrich Weigand [Sat, 1 May 2004 11:37:39 +0000 (11:37 +0000)]
re PR middle-end/15054 (Bad code due to overlapping stack temporaries)

PR middle-end/15054
* expr.c (expand_expr_real): Do not call preserve_temp_slots
on a TARGET_EXPR temp.
* function.c (assign_stack_temp_for_type): Set 'keep' flag for
TARGET_EXPR temp slots.

PR middle-end/15054
* g++.dg/opt/pr15054.C: New test.

From-SVN: r81384

20 years agosimplify-rtx.c (simplify_ternary_operation): When converting an IF_THEN_ELSE to a...
Paolo Bonzini [Sat, 1 May 2004 09:36:55 +0000 (09:36 +0000)]
simplify-rtx.c (simplify_ternary_operation): When converting an IF_THEN_ELSE to a relational op, return correct mode.

2004-05-01  Paolo Bonzini  <bonzini@gnu.org>

        * simplify-rtx.c (simplify_ternary_operation): When
        converting an IF_THEN_ELSE to a relational op, return
        correct mode.

From-SVN: r81383

20 years agobuiltins.c (fold_builtin_round): Fix comment typo.
Kaveh R. Ghazi [Sat, 1 May 2004 01:51:33 +0000 (01:51 +0000)]
builtins.c (fold_builtin_round): Fix comment typo.

* builtins.c (fold_builtin_round): Fix comment typo.
(fold_builtin_lround): New function.
(fold_builtin): Use it.

testsuite:
* gcc.dg/torture/builtin-rounding-1.c: New test.
* gcc.dg/builtins-25.c: Delete.
* gcc.dg/builtins-29.c: Delete.

From-SVN: r81380

20 years agore PR target/11608 (testcase gcc.dg/debug/20020327-1.c fails with -gstabs1 etc.)
Andrew Pinski [Sat, 1 May 2004 00:48:33 +0000 (00:48 +0000)]
re PR target/11608 (testcase gcc.dg/debug/20020327-1.c fails with -gstabs1 etc.)

2004-04-20  Andrew Pinski  <pinskia@physics.uc.edu>

        PR target/11608
        * config/sh/elf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Update and make it
        more like the one in config/dbxelf.h.

From-SVN: r81379

20 years agoDaily bump.
GCC Administrator [Sat, 1 May 2004 00:16:12 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r81376

20 years agotree.h (SET_ARRAY_OR_VECTOR_CHECK): Rename to SET_OR_ARRAY_CHECK and adjust definitio...
Zack Weinberg [Sat, 1 May 2004 00:08:17 +0000 (00:08 +0000)]
tree.h (SET_ARRAY_OR_VECTOR_CHECK): Rename to SET_OR_ARRAY_CHECK and adjust definition accordingly.

* tree.h (SET_ARRAY_OR_VECTOR_CHECK): Rename to SET_OR_ARRAY_CHECK
and adjust definition accordingly.
(TYPE_DOMAIN): Allow only SET_TYPE and ARRAY_TYPE.
(TYPE_DEBUG_REPRESENTATION_TYPE): Allow only VECTOR_TYPE.
* expr.c (store_constructor): Do not access TYPE_DOMAIN of a
VECTOR_TYPE.

From-SVN: r81373

20 years agore PR c++/14587 (Multiple inheriance/DLL testcase (g++.dg/ext/dllexport-MI1.C) failures)
Jason Merrill [Fri, 30 Apr 2004 22:26:48 +0000 (18:26 -0400)]
re PR c++/14587 (Multiple inheriance/DLL testcase (g++.dg/ext/dllexport-MI1.C) failures)

        PR c++/14587
        * config/i386/winnt.c (associated_type): Look for attributes on
        the TYPE_MAIN_VARIANT of *this.
        * attribs.c (decl_attributes): If ATTR_FLAG_TYPE_IN_PLACE, also
        apply the attributes to the variants.

From-SVN: r81369

20 years agoTrivial comment typo in previous change.
Paul Brook [Fri, 30 Apr 2004 20:35:15 +0000 (20:35 +0000)]
Trivial comment typo in previous change.

From-SVN: r81367

20 years agoconfig.gcc: Simplify arm --with-{cpu,tune} test.
Paul Brook [Fri, 30 Apr 2004 20:29:23 +0000 (20:29 +0000)]
config.gcc: Simplify arm --with-{cpu,tune} test.

* config.gcc: Simplify arm --with-{cpu,tune} test.
* config/arm/arm-cores.def: Document whitespace restrictions.

From-SVN: r81365

20 years agore PR other/1963 (collect2 interprets "-oldstyle_liblookup" as "-o ldstyle_liblookup")
Rainer Orth [Fri, 30 Apr 2004 20:09:51 +0000 (20:09 +0000)]
re PR other/1963 (collect2 interprets "-oldstyle_liblookup" as "-o ldstyle_liblookup")

PR other/1963
* config/alpha/osf.h (SWITCHES_NEED_SPACES): Define.

From-SVN: r81363

20 years ago* config/i386/cygming.h [HAVE_GAS_PE_SECREL32_RELOC]
Brian Ford [Fri, 30 Apr 2004 18:50:28 +0000 (18:50 +0000)]
* config/i386/cygming.h [HAVE_GAS_PE_SECREL32_RELOC]
(DWARF2_DEBUGGING_INFO): Define to enable.
(DBX_REGISTER_NUMBER): Define to use the svr4 register map for
DWARF2.
* configure.ac (Target-specific assembler checks)
<i[34567]86-*-[cygwin*|pe|mingw32*]>: New test for .secrel32
relocs.
* configure: Regenerate.
* config.in: Likewise.

* config/i386/cygming.h [HAVE_GAS_PE_SECREL32_RELOC]
(ASM_OUPUT_DWARF_OFFSET): Define.

From-SVN: r81359

20 years agore PR java/15133 (gcjh generates wrong method signatures)
Ranjit Mathew [Fri, 30 Apr 2004 18:19:37 +0000 (18:19 +0000)]
re PR java/15133 (gcjh generates wrong method signatures)

* testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
additional option "-Wmissing-prototypes" for compiling C sources.
Print actual filename for pass/fail rather than $name.c.
* testsuite/libjava.jni/PR15133.java: New testcase file.
* testsuite/libjava.jni/PR15133.c: Likewise.
* testsuite/libjava.jni/PR15133.out: Likewise.

Co-Authored-By: Tom Tromey <tromey@redhat.com>
From-SVN: r81358

20 years agore PR java/15133 (gcjh generates wrong method signatures)
Ranjit Mathew [Fri, 30 Apr 2004 18:14:07 +0000 (18:14 +0000)]
re PR java/15133 (gcjh generates wrong method signatures)

Fixes PR java/15133
* gjavah.c (struct method_name): Add member is_native.
(overloaded_jni_method_exists_p): Match candidate method only if
it is native.
(print_method_info): Initialise is_native flag from the method's
access flags.

From-SVN: r81357

20 years ago* MAINTAINERS (Write After Approval): Add myself.
Brian Ford [Fri, 30 Apr 2004 18:11:53 +0000 (18:11 +0000)]
* MAINTAINERS (Write After Approval): Add myself.

From-SVN: r81356

20 years agoRefer to base members using COMPONENT_REFs where possible.
Jason Merrill [Fri, 30 Apr 2004 17:25:42 +0000 (13:25 -0400)]
Refer to base members using COMPONENT_REFs where possible.

        * class.c (build_simple_base_path): New fn.
        (build_base_path): Use it for non-virtual base references.
        (layout_class_type): Change base fields to their real type
        after layout is done.
        * cp-tree.h (IS_FAKE_BASE_TYPE): New macro.
        * cp-lang.c (cxx_get_alias_set): Use it.

From-SVN: r81349

20 years agos390-protos.h (s390_emit_epilogue): Parameter added.
Andreas Krebbel [Fri, 30 Apr 2004 16:40:22 +0000 (16:40 +0000)]
s390-protos.h (s390_emit_epilogue): Parameter added.

2004-04-29  Andreas Krebbel  <krebbel1@de.ibm.com>

ChangeLog:

* config/s390/s390-protos.h (s390_emit_epilogue): Parameter added.
(s390_emit_call): New function prototype added.
(s390_tls_get_offset): Function removed.
* config/s390/s390.c (s390_function_ok_for_sibcall,
s390_call_saved_register_used_p): New functions.
(TARGET_FUNCTION_OK_FOR_SIBCALL): Definition of target macro added.
(s390_tls_get_offset): Function merged into s390_emit_tls_call_insn.
(s390_emit_tls_call_insn): New function.
(legitimize_tls_address): Call s390_emit_tls_call_insn instead of
emit_call_insn.
(s390_emit_prologue): Use s390_emit_call instead of emit_call_insn.
(s390_emit_epilogue): Like s390_emit_prologue. Parameter for sibcalls
added.
* config/s390/s390.h (SIBCALL_REGNUM): New macro representing the
register number used to hold the target address for sibcalls.
* config/s390/s390.md ("sibcall", "sibcall_value", "sibcall_epilogue"):
New expanders.
("*sibcall_br", "*sibcall_brc", "*sibcall_brcl", "*sibcall_value_br",
"*sibcall_value_brc", "*sibcall_value_brcl"): New insns.
("call_exp", "call_value_exp", "call_value_tls", "call_value_tls_exp"):
Expanders removed.
("call", "call_value"): Call s390_emit_call to emit the call patterns.
("*bras", "*brasl", "*bras_r", "*brasl_r", "*bras_tls", "*brasl_tls",
"*basr", "*basr_r", "*basr_tls"): Added constraint: !SIBLING_CALL_P.
("epilogue"): Changed the call to s390_emit_epilogue to use the
new parameter.

testsuite/ChangeLog:

* gcc.dg/sibcall-3.c: Delete s390 from expected fail list.
* gcc.dg/sibcall-4.c: Likewise.
* gcc.dg/sibcall-6.c: Enable s390 as test platform.

From-SVN: r81347

20 years agobb-reorder.c, [...]: Fix comment typos.
Kazu Hirata [Fri, 30 Apr 2004 16:27:30 +0000 (16:27 +0000)]
bb-reorder.c, [...]: Fix comment typos.

* bb-reorder.c, c-opts.c, cfglayout.c, cgraph.c, cgraphunit.c,
cppfiles.c, fold-const.c, ggc-zone.c, loop-doloop.c, optabs.c,
reg-stack.c, varasm.c, config/alpha/ev4.md,
config/alpha/ev5.md, config/alpha/ev6.md, config/arm/arm.c,
config/c4x/c4x.c, config/c4x/c4x.md, config/cris/cris.c,
config/cris/cris.h, config/fr30/fr30.h, config/frv/frv.c,
config/frv/frv.h, config/frv/frv.md, config/h8300/h8300.c,
config/i386/i386.c, config/i386/i386.md, config/i386/winnt.c,
config/ia64/itanium2.md, config/ip2k/ip2k.c,
config/mips/mips.c, config/mips/mips.h, config/mips/sr71k.md,
config/pa/pa.c, config/s390/s390.c, config/sh/sh.c: Fix
comment typos.

From-SVN: r81345

20 years agoclass.c, [...]: Fix comment typos.
Kazu Hirata [Fri, 30 Apr 2004 15:51:53 +0000 (15:51 +0000)]
class.c, [...]: Fix comment typos.

* class.c, cp-tree.h, decl.c, decl2.c, pt.c, rtti.c: Fix
comment typos.

From-SVN: r81344

20 years ago20040331-1.c: Don't use too wide a bit-field on 16-bit targets.
Kazu Hirata [Fri, 30 Apr 2004 15:30:55 +0000 (15:30 +0000)]
20040331-1.c: Don't use too wide a bit-field on 16-bit targets.

* gcc.c-torture/execute/20040331-1.c: Don't use too wide a
bit-field on 16-bit targets.

From-SVN: r81343

20 years ago20040409-2.c: Fix constants used on 16-bit targets.
Kazu Hirata [Fri, 30 Apr 2004 14:19:05 +0000 (14:19 +0000)]
20040409-2.c: Fix constants used on 16-bit targets.

* gcc.c-torture/execute/20040409-2.c: Fix constants used on
16-bit targets.

From-SVN: r81342

20 years agobuiltins.c (java_builtins): Add acos, asin, ceil and floor.
Roger Sayle [Fri, 30 Apr 2004 14:15:08 +0000 (14:15 +0000)]
builtins.c (java_builtins): Add acos, asin, ceil and floor.

* builtins.c (java_builtins): Add acos, asin, ceil and floor.
(initialize_builtins): Likewise, define acos, asin, ceil and floor.

* testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
ceil and floor.

From-SVN: r81341

20 years agoFit typo in previous patch
Paul Brook [Fri, 30 Apr 2004 13:14:02 +0000 (13:14 +0000)]
Fit typo in previous patch

Fit typo in previous patch
* config.gcc: Default ep9312 to hard-float.

From-SVN: r81338

20 years agors6000-power2-1.c: Change to compile only.
Andrew Pinski [Fri, 30 Apr 2004 12:19:32 +0000 (12:19 +0000)]
rs6000-power2-1.c: Change to compile only.

2004-04-30  Andrew Pinski  <pinskia@physics.uc.edu>

        * rs6000-power2-1.c: Change to compile only.
        * rs6000-power2-2.c: Likewise.

From-SVN: r81337

20 years agoconfigure.gcc: Default ep9312 to hard-float.
Paul Brook [Fri, 30 Apr 2004 12:13:49 +0000 (12:13 +0000)]
configure.gcc: Default ep9312 to hard-float.

* configure.gcc: Default ep9312 to hard-float.
* config/arm/arm-cores.def: Add ARCH field.
* config/arm/arm.c (FL_FOR_ARCH*): Define.
(arm_arch_cirrus): New variable.
(all_cores): Set and use arch.
(all_architectures): Ditto.
(arm_arch_name): New variable.
(arm_override_options): Set it. Use [SUB]TARGET_CPU_DEFAULT.
Set and use arm_arch_cirrus.
* config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Set arch defines.
(enum processor_type): Update ARM_CORE define.
(enum target_cpus): Add.  Replaces TARGET_CPU_* defines.
(CPP_SPEC): Remove %(cpp_cpu_arch).
(CPP_ARCH_DEFAULT_SPEC): Remove.
(CPP_CPU_ARCH_SPEC): Remove.
(EXTRA_SPECS): Don't use CPP_*ARCH*_SPEC.
(FPUTYPE_DEFAULT): Don't define here.

From-SVN: r81336

20 years agoexpr.c (store_constructor): SIZE operand is now in bits...
Richard Kenner [Fri, 30 Apr 2004 12:09:28 +0000 (12:09 +0000)]
expr.c (store_constructor): SIZE operand is now in bits...

* expr.c (store_constructor): SIZE operand is now in bits; CLEARED
less than zero now means emitted CLOBBER already.
(store_constructor_field, expand_expr_real): Reflect above changes.

From-SVN: r81335

20 years agoflow.c (propagate_one_insn): Call mark_set_regs for stack pointer updates too.
J"orn Rennecke [Fri, 30 Apr 2004 11:28:57 +0000 (11:28 +0000)]
flow.c (propagate_one_insn): Call mark_set_regs for stack pointer updates too.

* flow.c (propagate_one_insn): Call mark_set_regs for stack pointer
updates too.

From-SVN: r81334

20 years ago* arm.c (arm_needs_doubleword_align): Use mode alignment.
Paul Brook [Fri, 30 Apr 2004 10:54:37 +0000 (10:54 +0000)]
* arm.c (arm_needs_doubleword_align): Use mode alignment.

From-SVN: r81332

20 years agoaltivec.h [...] (vec_subsubs): Rename to vec_sububs.
Paolo Bonzini [Fri, 30 Apr 2004 09:59:01 +0000 (09:59 +0000)]
altivec.h [...] (vec_subsubs): Rename to vec_sububs.

2004-04-30  Paolo Bonzini  <bonzini@gnu.org>

        * config/altivec/altivec.h [__cplusplus] (vec_subsubs): Rename to
        vec_sububs.
        [__cplusplus] (vec_subsuhs): Rename to vec_subuhs, without
        duplicates.

From-SVN: r81331

20 years agoi386.md (atansf2, [...]): Move near atan2?f3 expanders.
Uros Bizjak [Fri, 30 Apr 2004 06:04:57 +0000 (08:04 +0200)]
i386.md (atansf2, [...]): Move near atan2?f3 expanders.

2004-04-30  Uros Bizjak  <uros@kss-loka.si>

        * config/i386/i386.md (atansf2, atandf2, atanxf2): Move near
        atan2?f3 expanders.

From-SVN: r81326

20 years agoPatch from Nick Clifton.
Nick Clifton [Fri, 30 Apr 2004 05:59:06 +0000 (05:59 +0000)]
Patch from Nick Clifton.

Bug 14093
* config/sh/sh-protos.h (sh_promote_prototypes): Declare.
* config/sh/sh.c (sh_promote_prototypes): Remove declaration.
Delete static from definition.
* config/sh/sh.h (FUNCTION_VALUE): Add sh_promote_prototypes call.

From-SVN: r81325

20 years agoreg-stack.c (subst_stack_regs_pat): <UNSPEC_SIN, UNSPEC_COS, UNSPEC_FRNDINT, UNSPEC_F...
Uros Bizjak [Fri, 30 Apr 2004 05:31:48 +0000 (07:31 +0200)]
reg-stack.c (subst_stack_regs_pat): <UNSPEC_SIN, UNSPEC_COS, UNSPEC_FRNDINT, UNSPEC_F2XM1>: abort() if src1 dies.

2004-04-30  Uros Bizjak  <uros@kss-loka.si>

        * reg-stack.c (subst_stack_regs_pat): <UNSPEC_SIN, UNSPEC_COS,
        UNSPEC_FRNDINT, UNSPEC_F2XM1>: abort() if src1 dies.
        <UNSPEC_SINCOS_COS, UNSPEC_TAN_ONE, UNSPEC_XTRACT_FRACT>: Same.
        <UNSPEC_SINCOS_SIN, UNSPEC_TAN_TAN, UNSPEC_XTRACT_EXP>: Same.

From-SVN: r81324

20 years agoPatch from Richard Guenther.
Richard Guenther [Fri, 30 Apr 2004 05:29:23 +0000 (05:29 +0000)]
Patch from Richard Guenther.

* commom.opt (Wfatal-errors): Add it.
* diagnostic.c (flag_fatal_errors): Define it.
(diagnostic_action_after_output): Check for flag_fatal_errors.
* flags.h (flag_fatal_errors): Declare it.
* opts.c (common_handle_option): Add OPT_Wfatal_errors.
* doc/invoke.texi (Warning Options): Document -Wfatal-errors.

From-SVN: r81323

20 years agogcse.c (remove_reachable_equiv_notes): Delete notes also in blocks which have kill...
Josef Zlomek [Fri, 30 Apr 2004 05:26:54 +0000 (07:26 +0200)]
gcse.c (remove_reachable_equiv_notes): Delete notes also in blocks which have kill flag set.

* gcse.c (remove_reachable_equiv_notes): Delete notes also in
blocks which have kill flag set.

From-SVN: r81322

20 years agoconfigure.ac (--with-as): Abort if user-supplied assembler cannot be executed.
Ben Elliston [Fri, 30 Apr 2004 00:33:18 +0000 (00:33 +0000)]
configure.ac (--with-as): Abort if user-supplied assembler cannot be executed.

* configure.ac (--with-as): Abort if user-supplied assembler
cannot be executed.
(--with-ld): Likewise for the linker.
* configure: Regenerate.

From-SVN: r81316

20 years agoDaily bump.
GCC Administrator [Fri, 30 Apr 2004 00:16:14 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r81313

20 years agolocale.cc (locale::operator==): Always avoid constructing locale::name(), directly...
Paolo Carlini [Thu, 29 Apr 2004 22:07:13 +0000 (22:07 +0000)]
locale.cc (locale::operator==): Always avoid constructing locale::name(), directly compare pairs of _M_names.

2004-04-29  Paolo Carlini  <pcarlini@suse.de>

* src/locale.cc (locale::operator==): Always avoid constructing
locale::name(), directly compare pairs of _M_names.

From-SVN: r81309

20 years agoconvert.c (convert_to_integer): Ensure `long_integer_type_node' isn't NULL before...
Kaveh R. Ghazi [Thu, 29 Apr 2004 21:10:59 +0000 (21:10 +0000)]
convert.c (convert_to_integer): Ensure `long_integer_type_node' isn't NULL before using it.

       * convert.c (convert_to_integer): Ensure `long_integer_type_node'
       isn't NULL before using it.

From-SVN: r81305

20 years agors6000-power2-1.c: Change the options to be more correct.
Andrew Pinski [Thu, 29 Apr 2004 20:23:36 +0000 (20:23 +0000)]
rs6000-power2-1.c: Change the options to be more correct.

2004-04-29  Andrew Pinski  <pinskia@physics.uc.edu>

        * gcc.dg/rs6000-power2-1.c: Change the options to be more correct.
        * gcc.dg/rs6000-power2-2.c: Change the options to be more correct.
        Change the asm registers to be in form of frN instead of fN.

From-SVN: r81303

20 years agore PR target/15189 (wrong filling of delay slot with -march=mips1 -G0 -mno-split...
Richard Sandiford [Thu, 29 Apr 2004 19:54:17 +0000 (19:54 +0000)]
re PR target/15189 (wrong filling of delay slot with -march=mips1 -G0 -mno-split-addresses -mno-explicit-relocs)

PR target/15189
* config/mips/mips.md (load_df_low): Use default length.
(load_df_high, store_df_high): Likewise.

From-SVN: r81301

20 years agomips.md, [...]: Fix comment typos.
Kazu Hirata [Thu, 29 Apr 2004 18:37:27 +0000 (18:37 +0000)]
mips.md, [...]: Fix comment typos.

* config/mips/mips.md, config/mips/sb1.md,
config/rs6000/rs6000.c: Fix comment typos.

From-SVN: r81296

20 years agobuiltins.c, [...]: Fix comment typos.
Kazu Hirata [Thu, 29 Apr 2004 15:39:12 +0000 (15:39 +0000)]
builtins.c, [...]: Fix comment typos.

* builtins.c, cgraph.c, cgraphunit.c, final.c, fold-const.c:
Fix comment typos.

From-SVN: r81291