Skip to content
Snippets Groups Projects
  1. Feb 19, 2003
    • Roger Sayle's avatar
      convert.c (convert_to_real): Also optimize (float)log(x) into logf(x) where x is a float, i.e. · 78bd5210
      Roger Sayle authored
      	* convert.c (convert_to_real): Also optimize (float)log(x) into
      	logf(x) where x is a float, i.e. also handle BUILT_IN_LOG{,L}.
      
      From-SVN: r63087
      78bd5210
    • Bruce Korb's avatar
      mark the fixes that fail testing with BSD based sed-s · 34fcb7c8
      Bruce Korb authored
      From-SVN: r63086
      34fcb7c8
    • Bruce Korb's avatar
      reordered fixes · afc41460
      Bruce Korb authored
      From-SVN: r63085
      afc41460
    • Kaz Kojima's avatar
      sh.c (unspec_caller_rtx_p): New. · 9f3a9a08
      Kaz Kojima authored
              * config/sh/sh.c (unspec_caller_rtx_p): New.
      	(sh_cannot_copy_insn_p): New.
              (TARGET_CANNOT_COPY_INSN_P): New.
      
      From-SVN: r63084
      9f3a9a08
    • Richard Henderson's avatar
      c-common.c (handle_used_attribute): Accept static data too. · d7ddbe24
      Richard Henderson authored
              * c-common.c (handle_used_attribute): Accept static data too.
      
              * gcc.dg/attr-invalid.c: Allow __used__ on static data.
              * gcc.dg/attr-used-2.c: New.
      
      From-SVN: r63082
      d7ddbe24
    • Bruce Korb's avatar
      Sort the fixes by fix name · 05e9e0a5
      Bruce Korb authored
      From-SVN: r63081
      05e9e0a5
    • Nick Clifton's avatar
      20030218-1.c: New. · 62e1dfcf
      Nick Clifton authored
      2003-02-18  Nick Clifton  <nickc@redhat.com>
                  Aldy Hernandez  <aldyh@redhat.com>
      
              * testsuite/gcc.dg/20030218-1.c: New.
      
              * doc/tm.texi: Document TARGET_VECTOR_TYPES_COMPATIBLE.
      
              * target-def.h (TARGET_INITIALIZER): Add
              TARGET_VECTOR_TYPES_COMPATIBLE.
              (TARGET_VECTOR_TYPES_COMPATIBLE): New macro.
      
              * target.h (struct gcc_target): Add field vector_types_compatible.
      
              * c-typeck.c (comptypes): Take into account
              TARGET_VECTOR_TYPES_COMPATIBLE.
              (convert_for_assignment): Same.
      
              * config/rs6000/rs6000.c (is_ev64_opaque_type): New.
              (rs6000_spe_vector_types_compatible): New.
              (TARGET_VECTOR_TYPES_COMPATIBLE): Define.
      
      From-SVN: r63080
      62e1dfcf
    • Nick Clifton's avatar
      20030218-1.c: New. · 5e93e88a
      Nick Clifton authored
      2003-02-18  Nick Clifton  <nickc@redhat.com>
                  Aldy Hernandez  <aldyh@redhat.com>
      
              * testsuite/gcc.dg/20030218-1.c: New.
      
              * doc/tm.texi: Document TARGET_VECTOR_TYPES_COMPATIBLE.
      
              * target-def.h (TARGET_INITIALIZER): Add
              TARGET_VECTOR_TYPES_COMPATIBLE.
              (TARGET_VECTOR_TYPES_COMPATIBLE): New macro.
      
              * target.h (struct gcc_target): Add field vector_types_compatible.
      
              * c-typeck.c (comptypes): Take into account
              TARGET_VECTOR_TYPES_COMPATIBLE.
              (convert_for_assignment): Same.
      
              * config/rs6000/rs6000.c (is_ev64_opaque_type): New.
              (rs6000_spe_vector_types_compatible): New.
              (TARGET_VECTOR_TYPES_COMPATIBLE): Define.
      
      From-SVN: r63079
      5e93e88a
    • Nick Clifton's avatar
      003-02-18 Nick Clifton <nickc@redhat.com> · 22d324c1
      Nick Clifton authored
                  Aldy Hernandez  <aldyh@redhat.com>
      
              * testsuite/gcc.dg/20030218-1.c: New.
      
              * doc/tm.texi: Document TARGET_VECTOR_TYPES_COMPATIBLE.
      
              * target-def.h (TARGET_INITIALIZER): Add
              TARGET_VECTOR_TYPES_COMPATIBLE.
              (TARGET_VECTOR_TYPES_COMPATIBLE): New macro.
      
              * target.h (struct gcc_target): Add field vector_types_compatible.
      
              * c-typeck.c (comptypes): Take into account
              TARGET_VECTOR_TYPES_COMPATIBLE.
              (convert_for_assignment): Same.
              (really_start_incremental_init): Disallow initialization of
              ev64_opaque types.
      
              * config/rs6000/rs6000.c (is_ev64_opaque_type): New.
              (rs6000_spe_vector_types_compatible): New.
              (TARGET_VECTOR_TYPES_COMPATIBLE): Define.
      
      From-SVN: r63078
      22d324c1
    • Hans Boehm's avatar
      XToolkit.java (getFontMetrics): initialize if necessary. · 56bba8cf
      Hans Boehm authored
      2003-02-18  Hans Boehm  <Hans.Boehm@hp.com>
      
      	* gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
      	if necessary.
      
      	* gnu/java/awt/peer/gtk/GtkButtonPeer.java,
      	gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
      	gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
      	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
      	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
      	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
      	(setFont, gtkSetFont): add.
      	gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
      	Propagate font to peer.  (setFont): add FIXME comment.
      
      	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
      	(gtkTextGetSize): fix height, width computation.
      
      	* gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
      	Make X font name a bit less bogus.
      
      	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
      	(post_adjustment_event): Pass on GTK_SCROLL_NONE.
      
      	* java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
      	(processAdjustmentEvent): Adjust value.
      
      	* java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
      	logic errors.
      
      	* java/awt/Component.java (setVisible, show, hide): Call show and
      	hide methods in subclasses.
      	(getPreferredSize): don't set prefSize before we have peer.
      
      	* java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
      	Guess (0,0) if we don't have peer.
      
      From-SVN: r63077
      56bba8cf
    • GCC Administrator's avatar
      Daily bump. · 35bd5519
      GCC Administrator authored
      From-SVN: r63076
      35bd5519
  2. Feb 18, 2003
    • Andreas Schwab's avatar
      Makefile.in (toplev.o): Depend on $(LANGHOOKS_DEF_H). · e5378e8d
      Andreas Schwab authored
      	* Makefile.in (toplev.o): Depend on $(LANGHOOKS_DEF_H).
      	* toplev.c: Include langhooks-def.h.
      
      From-SVN: r63067
      e5378e8d
    • Paolo Carlini's avatar
      std_sstream.h (str()): the size of the current string may be different from... · de59bd27
      Paolo Carlini authored
      std_sstream.h (str()): the size of the current string may be different from the initial one whenever...
      
      2003-02-18  Paolo Carlini  <pcarlini@unitus.it>
      
      	* include/std/std_sstream.h (str()): the size of the
      	current string may be different from the initial one
      	whenever _M_out_end > _M_out_beg.
      	* testsuite/27_io/stringbuf_members.cc (test07): Add.
      
      From-SVN: r63066
      de59bd27
    • Chris Demetriou's avatar
      mips.h (enum processor_type): Sort entries alphabetically. · fcc11c35
      Chris Demetriou authored
      2003-02-18  Chris Demetriou  <cgd@broadcom.com>
      
              * config/mips/mips.h (enum processor_type): Sort entries
              alphabetically.
              * config/mips/mips.md (define_attr cpu): Sync with processor_type
              enum values, including adding entries that were missing.
      
      From-SVN: r63065
      fcc11c35
    • J"orn Rennecke's avatar
      sh.c (calc_live_regs): Also check GET_CODE when checking if initial value for... · 29db2a1e
      J"orn Rennecke authored
      sh.c (calc_live_regs): Also check GET_CODE when checking if initial value for PR_REG is still the...
      
      	* sh.c (calc_live_regs): Also check GET_CODE when checking if initial value
      	for PR_REG is still the PR_REG register.
      
      From-SVN: r63064
      29db2a1e
    • Jim Wilson's avatar
      Patch for PR 9617. · 582d11e6
      Jim Wilson authored
      	* config/ia64/ia64.md (floatdidf2, floatdisf2): Add %, before second
      	instruction in output template.
      	(bsp_value): Change output template from string to C code, add %,
      	before actual instruction.
      	(flushrs): Mark as not predicable.
      
      From-SVN: r63062
      582d11e6
    • Krister Walfridsson's avatar
      inclhack.def (netbsd_bogus_semicolon): New fix. · 3edc4b23
      Krister Walfridsson authored
      2003-02-18  Krister Walfridsson  <cato@df.lth.se>
      
      	* inclhack.def (netbsd_bogus_semicolon): New fix.
      	* fixincl.x: Rebuilt.
      	* tests/base/ctype.h: Update.
      
      From-SVN: r63061
      3edc4b23
    • Roger Sayle's avatar
      fold-const.c (negate_expr_p): New function to determine whether an expression... · 080ea642
      Roger Sayle authored
      fold-const.c (negate_expr_p): New function to determine whether an expression can be negated cheaply.
      
      
      	* fold-const.c (negate_expr_p): New function to determine whether
      	an expression can be negated cheaply.
      	(fold) [MINUS_EXPR]: Use it to determine whether to transform
      	-A - B into -B - A for floating point types.
      
      From-SVN: r63059
      080ea642
    • Roger Sayle's avatar
      sbitmap.c (sbitmap_resize): New function. · e360ab39
      Roger Sayle authored
      	* sbitmap.c (sbitmap_resize): New function.
      	* sbitmap.h (sbitmap_resize): Prototype here.
      	* recog.c (split_all_insns): Use sbitmap_resize.
      
      From-SVN: r63058
      e360ab39
    • Kazu Hirata's avatar
      h8300.md (*zero_extendhisi2_h8300): Fix the insn length. · 6b00cbc7
      Kazu Hirata authored
      	* config/h8300/h8300.md (*zero_extendhisi2_h8300): Fix the
      	insn length.
      	(extendqisi2): Likewise.
      	(*extendhisi2_h8300): Likewise.
      
      From-SVN: r63056
      6b00cbc7
    • Mark Mitchell's avatar
      re PR c++/9704 (miscompilation of classes with bit fields) · 6b99d1c0
      Mark Mitchell authored
      	PR c++/9704
      	* class.c (layout_class_type): In the 3.2 ABI, take into account
      	trailing bit fields when computing CLASSTYPE_SIZE_UNIT.
      
      	PR c++/9704
      	* g++.dg/init/copy5.C: New test.
      
      From-SVN: r63055
      6b99d1c0
    • Mark Mitchell's avatar
      re PR c++/9704 (miscompilation of classes with bit fields) · 2e120205
      Mark Mitchell authored
      	PR c++/9704
      	* class.c (layout_class_type): In the 3.2 ABI, take into account
      	trailing bit fields when computing CLASSTYPE_SIZE_UNIT.
      
      	PR c++/9704
      	* g++.dg/init/copy5.C: New test.
      
      [[Split portion of a mixed commit.]]
      
      From-SVN: r63054.2
      2e120205
    • Jason Merrill's avatar
      * Makefile.tpl (check-c++): Allow parallelism. · 30db8e17
      Jason Merrill authored
      From-SVN: r63053
      30db8e17
    • Matt Austern's avatar
      langhooks.h, [...]: introduce new langhook... · 2b59501b
      Matt Austern authored
             * langhooks.h, langhooks-def.h: introduce new langhook,
             final_write_globals, with write_global_declarations as default.
             * toplev.c: Move invocation of wrapup_global_declarations from
             compile_file to new function, write_global_declarations.  Change
             compile_file to use final_write_globals hook.  Change
             wrapup_global_declarations so writing to DECL_DEFER_OUTPUT is
             conditional.
      
             * cp/cp-lang.c: Change lang hooks so that final_write_globals does
             nothing for C++.
             * cp/decl.c (wrapup_globals_for_namespace): Remove special
             handling of global namespace.
      
      From-SVN: r63051
      2b59501b
    • John David Anglin's avatar
      * pa.md: Correct and enhance comment. · 131efcd8
      John David Anglin authored
      From-SVN: r63049
      131efcd8
    • Geoffrey Keating's avatar
      Remove conflict marker · dce53c70
      Geoffrey Keating authored
      From-SVN: r63048
      dce53c70
    • Geoffrey Keating's avatar
      pch.exp: Delete $bname.h before copying into it. · 59d22bc5
      Geoffrey Keating authored
      	* gcc.dg/pch/pch.exp: Delete $bname.h before copying into it.
      	* g++.dg/pch/pch.exp: Likewise.
      
      From-SVN: r63047
      59d22bc5
    • Geoffrey Keating's avatar
      * gcc.c (validate_switches): Don't scan past closing '}'. · e17aafd1
      Geoffrey Keating authored
      From-SVN: r63046
      e17aafd1
    • Jason Merrill's avatar
      re PR c++/9623 (named initializer regression) · 04b03085
      Jason Merrill authored
              PR c++/9623
              * decl.c (reshape_init): Don't mess with initializer labels.
      
      From-SVN: r63045
      04b03085
    • Jason Merrill's avatar
      re PR c++/9623 (named initializer regression) · a6bd211d
      Jason Merrill authored
              PR c++/9623
              * decl.c (reshape_init): Don't mess with initializer labels.
      
      [[Split portion of a mixed commit.]]
      
      From-SVN: r63044.2
      a6bd211d
    • Kazu Hirata's avatar
      20030209-1.c: Enable the test if STACK_SIZE is not defined. · bc102c4b
      Kazu Hirata authored
      	* gcc.c-torture/execute/20030209-1.c: Enable the test if
      	STACK_SIZE is not defined.
      
      From-SVN: r63042
      bc102c4b
    • Ben Elliston's avatar
      re PR other/7350 ('shoud' typos) · bf7c02dd
      Ben Elliston authored
      * Fix for PR other/7350
      
      [cp]
      	* decl.c (duplicate_decls): Fix typo in comment.
      [ada]
      	* 5qtaprop.adb (Sleep): Fix typo in comment.
      
      From-SVN: r63037
      bf7c02dd
    • Paolo Carlini's avatar
      re PR libstdc++/9582 (ODR violation in std::allocator) · 14a65f50
      Paolo Carlini authored
      2003-02-18  Paolo Carlini  <pcarlini@unitus.it>
      
      	PR libstdc++/9582
      	* include/bits/stl_alloc.h (__pool_alloc::allocate):
      	Remove assert.
      
      From-SVN: r63031
      14a65f50
    • Ben Elliston's avatar
      re PR c++/1607 ([3.3 only] Format attributes on methods undocumented) · f57a2e3a
      Ben Elliston authored
      	PR c++/1607
      	* doc/extend.texi (Function Attributes): Document the effect of
      	the C++ "this" parameter on the counting of arguments for the
      	"format" and "format_arg" attributes.
      
      From-SVN: r63030
      f57a2e3a
    • Michael Koch's avatar
      2003-02-18 Michael Koch <konqueror@gmx.de> · 69c107ef
      Michael Koch authored
      	* java/nio/channels/FileChannel.java
      	(toString): New implementation, added documentation.
      	(map): Added exception documentation.
      	(size): Added exception documentation.
      	(write): New methods, documentation work.
      	(read): New methods, documentation work.
      	(implCloseChannel): Rewrote exception documentation.
      	(force): Throws IOException, added documentation.
      	(lock): New methods.
      	(tryLock): New methods.
      	(position): New methods.
      	(transferTo): New method.
      	(transferFrom): New method.
      	(truncate): New method.
      	* java/nio/channels/spi/SelectorProvider.java
      	(provider): Implemented.
      	* Makefile.am
      	(ordinary_java_source_files): Added the following files:
      	gnu/java/nio/DatagramChannelImpl.java
      	gnu/java/nio/FileChannelImpl.java
      	gnu/java/nio/PipeImpl.java
      	gnu/java/nio/SelectionKeyImpl.java
      	gnu/java/nio/SelectorImpl.java
      	gnu/java/nio/SelectorProviderImpl.java
      	gnu/java/nio/ServerSocketChannelImpl.java
      	gnu/java/nio/SocketChannelImpl.java
      	java/nio/channels/FileLock.java
      	(nat_java_source_files): Added the following files:
      	gnu/java/nio/natFileChannelImpl.cc
      	gnu/java/nio/natSelectorImpl.cc
      	gnu/java/nio/natSocketChannelImpl.cc
      	* Makefile.in: Regenerated.
      
      From-SVN: r63028
      69c107ef
    • Mark Mitchell's avatar
      Add PR number · c7adfa01
      Mark Mitchell authored
      From-SVN: r63027
      c7adfa01
    • Michael Elizabeth Chastain's avatar
      class.c (build_base_field): Mark fields for base classes with DECL_IGNORED_P. · 0f3a8219
      Michael Elizabeth Chastain authored
      	* class.c (build_base_field): Mark fields for base classes with
      	DECL_IGNORED_P.
      
      From-SVN: r63026
      0f3a8219
    • Benjamin Kosnik's avatar
      [multiple changes] · 6067bea4
      Benjamin Kosnik authored
      2003-02-17  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/bits/basic_ios.tcc (copyfmt): Copy locale data as well.
      	* testsuite/27_io/ios_members.cc (test03): New.
      
      2003-02-17  Jerry Quinn  <jlquinn@optonline.net>
      
      	* include/bits/basic_ios.h (basic_ios::_M_cache_locale): Declare.
      	(basic_ios::_M_cache_facets): Move into above.
      	* include/bits/basic_ios.tcc (basic_ios::copyfmt): Rebuild locale
      	cache.
      	(basic_ios::imbue): Force locale cache to be built.
      	(basic_ios::_M_init): Create and initialize locale cache.
      	* include/bits/ios_base.h (__locale_cache_base): Declare.
      	(ios_base::_M_locale_cache): New.
      	(ios_base::_M_cache): Define.
      	* include/bits/locale_facets.h:	(__num_base): Fix comment.  Add
      	_S_end.
              (__locale_cache_base,__locale_cache<_CharT>):  New classes.
      	(__locale_cache<char>, __locale_cache<wchar_t>): New specializations.
      	* include/bits/locale_facets.tcc (num_put::_M_convert_int): Use locale
      	cache literal string, grouping flag, thousands separator.
      	(__locale_cache<_CharT>::__locale_cache): New.
      	(__locale_cache<_CharT>::_M_init): New.
      	(__locale_cache<_CharT>::_M_populate): New.
      	* src/ios.cc: Clear _M_locale_cache in constructor.
      	* src/locale-inst.cc (__locale_cache<char>, __locale_cache<_char_t>):
      	New.
      
      From-SVN: r63025
      6067bea4
    • Tom Tromey's avatar
      ColorModel.java: Re-merged with Classpath. · 59ac5a17
      Tom Tromey authored
      	* java/awt/image/ColorModel.java: Re-merged with Classpath.
      	* java/awt/image/ImageFilter.java: Likewise.
      
      From-SVN: r63024
      59ac5a17
    • GCC Administrator's avatar
      Daily bump. · 5b0512df
      GCC Administrator authored
      From-SVN: r63023
      5b0512df
Loading