1. 14 Jan, 2004 16 commits
  2. 13 Jan, 2004 24 commits
    • Partial fix PR c++/12850 · d34cb6a1
      	Partial fix PR c++/12850
      	* cgraphunit.c (cgraph_finalize_function): Always ggc_collect when
      	at zero nest level.
      
      	* decl2.c (mark_used): Do not proactively instantiate templates
      	when compiling in unit-at-a-time or not optimizing.
      	* optimize.c (maybe_clone_body): Do not increase function depth.
      
      From-SVN: r75823
      Jan Hubicka committed
    • locale-misc-inst.cc (__convert_from_v(long), [...]): Remove, unused. · c9513590
      2004-01-13  Paolo Carlini  <pcarlini@suse.de>
      
      	* src/locale-misc-inst.cc (__convert_from_v(long),
      	__convert_from_v(unsigned long), __convert_from_v(long long),
      	__convert_from_v(unsigned long long)): Remove, unused.
      
      From-SVN: r75822
      Paolo Carlini committed
    • lang.c (java_estimate_num_insns_1): Fix bug in MODIFY_EXPR cost estimation. · 4b589eab
      
      	* lang.c (java_estimate_num_insns_1): Fix bug in MODIFY_EXPR cost
      	estimation.
      	* c-common.c (c_estimate_num_insns_1):  Fix bug in MODIFY_EXPR
      	cost estimation.
      	* expr.c (MOVE_RATIO, CLEAR_RATIO): Move to ...
      	* expr.h (MOVE_RATIO, CLEAR_RATIO): ... here.
      
      From-SVN: r75821
      Jan Hubicka committed
    • * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack. … · 25c3f7c8
      * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.        (push): Make sure push is performed at the top of the thread stack.
      
      From-SVN: r75820
      Fernando Nasser committed
    • cp-demangle.c (d_make_comp): DEMANGLE_COMPONENT_CONSTRUCTION_VTABLE takes two parameters. · d4f3ce5c
      	* cp-demangle.c (d_make_comp): DEMANGLE_COMPONENT_CONSTRUCTION_VTABLE
      	takes two parameters.
      	* cp-demint.c (cplus_demangle_fill_component): Likewise.
      
      From-SVN: r75819
      Daniel Jacobowitz committed
    • netbsd-elf.h (REGISTER_NAMES): Add missing "argptr" pseudo-register. · 9ff2cabc
      	* config/m68k/netbsd-elf.h (REGISTER_NAMES): Add missing "argptr"
      	pseudo-register.
      
      From-SVN: r75818
      Bernardo Innocenti committed
    • GtkTextAreaPeer.java, [...] (native create): Add width and height parameters. · 9e2c04c5
      2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
      
      	* gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
      	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
      	(native	create): Add width and height parameters.  Set text
      	view's size request according to new parameters.
      	(create): Calculate text view size based on current font's
      	metrics and number of rows and columns.  Set TextArea's font if
      	not already set.  Call native create.
      	(getMinimumSize): Call minimumSize.
      	(getPreferredSize): Call preferredSize.
      	(getHScrollbarHeight): New method.
      	(getVScrollbarWidth): New method.
      	(minimumSize): Calculate minimum size based on scrollbar
      	visibility, scrollbar sizes, font metrics and number of rows and
      	columns.
      	(preferredSize): Likewise for preferred size.
      	(gtkTextGetSize): Remove method.
      
      From-SVN: r75817
      Thomas Fitzsimmons committed
    • 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com> · db19e39b
      	* gnu/java/awt/peer/gtk/GtkComponentPeer.java
      	(initializeInsets): Remove method.
      	(GtkComponentPeer): Initialize insets field.  Remove call to
      	initializeInsets.
      	* gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
      	Remove method.
      	* gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
      	Remove method.
      	* gnu/java/awt/peer/gtk/GtkWindowPeer.java,
      	jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
      	(latestInsets): Remove field.
      	(native create): Add insets parameter.  Call
      	window_get_frame_extents.  Set the window's default size and
      	size request based on its frame extents.
      	(create): Initialize insets.
      	(postInsetsChangedEvent): New method.
      	(postConfigureEvent): Remove parameters top, left, bottom,
      	right.  Remove insets-related logic.
      	(connectJObject): Handle property-notify-event.
      	(window_get_frame_extents, request_frame_extents,
      	property_notify_predicate, window_property_changed_cb): New
      	static functions.
      	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
      	(pre_event_handler): Remove insets-related logic for configure
      	events.
      	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
      	Update postConfigureEvent signature.
      
      From-SVN: r75816
      Thomas Fitzsimmons committed
    • re PR debug/7078 (stabs are not generated correctly with c++ namespaces are used) · a4d8ec65
              PR debug/7078
              * dbxout.c (dbxout_symbol_name): Emit mangled names for
              NAMESPACE_DECL memebers.
      
      From-SVN: r75815
      Devang Patel committed
    • re PR c++/12709 (ICE with __FUNCTION__ and function-try-block) · bfaba7a9
      2004-01-13  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR c++/12709
              * c-common.c (finish_fname_decls): Use the chain only if the
              tree is an expr_stmt.
      
      2004-01-13  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR c++/12709
              * g++.dg/parse/try-catch-1.C: New test.
      
      From-SVN: r75814
      Andrew Pinski committed
    • TestAWT.java (DialogWindow): Add WindowAdapter to handle Window "Closing" events. · 81c740ba
              * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
              to handle Window "Closing" events.
      
      From-SVN: r75813
      Fernando Nasser committed
    • rtl.def: Add comment about new option in automata_option. · dfa849f3
      2004-01-13  Vladimir Makarov  <vmakarov@redhat.com>
      
              * rtl.def: Add comment about new option in automata_option.
      
      	* genautomata.c (PROGRESS_OPTION): New macro.
      	(progress_flag): New global variable.
      	(gen_automata_option): Process `progress'.
      	(transform_insn_regexps, check_unit_distributions_to_automata,
      	make_automaton, NDFA_to_DFA, build_automaton, create_automata,
      	expand_automata, write_automata): Print about the progress only if
      	progress_flag.  Remove fflush.
      	(initiate_automaton_gen): Process command line flag `-progress'.
      
      	* doc/md.texi: Describe the new option.
      
      From-SVN: r75812
      Vladimir Makarov committed
    • ifstream_extract_float.cc: New. · 60af005f
      
      2004-01-13  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* testsuite/performance/ifstream_extract_float.cc: New.
      	* testsuite/performance/ofstream_insert_float.cc: Float generation
      	matches above.
      
      	* 20_util/auto_ptr.cc, auto_ptr_neg.cc: Break into...
      	* 20_util/auto_ptr/1.cc: ...this.
      	* 20_util/auto_ptr/2.cc: Same.
      	* 20_util/auto_ptr/3.cc: Same.
      	* 20_util/auto_ptr/3946.cc: Same.
      	* 20_util/auto_ptr/4.cc: Same.
      	* 20_util/auto_ptr/5.cc: Same.
      	* 20_util/auto_ptr/6.cc: Same.
      	* 20_util/auto_ptr/7.cc: Same.
      	* 20_util/auto_ptr/assign_neg.cc
      	* 20_util/pairs.cc: Break into...
      	* 20_util/pair/1.cc: ...this.
      	* 20_util/pair/2.cc: Same.
      	* 20_util/pair/3.cc: Same.
      	* 20_util/pair/4.cc: Same.
      
      From-SVN: r75811
      Benjamin Kosnik committed
    • locale_facets.tcc (num_get::do_get(void*&)): Set correctly just basefield, the… · d8ef7dec
      locale_facets.tcc (num_get::do_get(void*&)): Set correctly just basefield, the only group that matters.
      
      2004-01-13  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/bits/locale_facets.tcc (num_get::do_get(void*&)):
      	Set correctly just basefield, the only group that matters.
      
      From-SVN: r75810
      Paolo Carlini committed
    • 2004-01-13�� David Jee�� <djee@redhat.com> · e6cca488
              * gnu/java/awt/peer/gtk/GtkContainerPeer.java
              (setBackground): New method. Children with no explicitly-set
              background will be repainted with the parent container's new
              background color.
      
      From-SVN: r75809
      David Jee committed
    • 2004-01-13�� David Jee�� <djee@redhat.com> · 3c3a78a5
      ����������������* Makefile.am: Add BitwiseXORComposite.java.
      ����������������* Makefile.in: Regenerated.
      ����������������* gcj/Makefile.in: Regenerated.
      ����������������* include/Makefile.in: Regenerated.
      ����������������* testsuite/Makefile.in: Regenerated.
      
      From-SVN: r75808
      David Jee committed
    • * cfg.c (dump_bb): Dump entry edges. · 9405162e
      From-SVN: r75806
      Zdenek Dvorak committed
    • arm.c (thumb_legitimate_address_p): Only allow constant pool references from SImode. · f954388e
      * arm.c (thumb_legitimate_address_p): Only allow constant pool
      references from SImode.
      * arm.md (thumb_movhi_insn): Don't allow minipool references.
      
      From-SVN: r75804
      Richard Earnshaw committed
    • TestAWT.java: Fix test program so that it does not show modal dialogs twice and so that it... · e5baf3bd
              * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
              not show modal dialogs twice and so that it allows showing a modal
              dialog from another modal dialog.
      
      From-SVN: r75803
      Fernando Nasser committed
    • [multiple changes] · 9bc43c53
      2004-01-13  Ed Schonberg  <schonberg@gnat.com>
      
      	* exp_ch3.adb (Build_Assignment): Fix bug in handling of controlled
      	components that are initialized with aggregates.
      
      2004-01-13  Vincent Celier  <celier@gnat.com>
      
      	* gnatlink.adb (Process_Binder_File): To find directory of shared
      	libgcc, if "gcc-lib" is not a subdirectory, look for the last
      	subdirectory "lib" in the path of the shared libgnat or libgnarl.
      
      	* make.adb (Gnatmake): If GCC version is at least 3, link with
      	-shared-libgcc, when there is at least one shared library project.
      
      	* opt.ads (GCC_Version): New integer constant.
      
      	* adaint.c (get_gcc_version): New function.
      
      2004-01-13  Robert Dewar  <dewar@gnat.com>
      
      	* sem_dist.adb, sem_res.adb, sem_util.adb,
      	sprint.adb, 3zsocthi.adb, einfo.adb, cstand.adb,
      	exp_ch4.adb, exp_ch9.adb, exp_dist.adb: Minor reformatting
      
      2004-01-13  Thomas Quinot  <quinot@act-europe.fr>
      
      	* s-interr.adb, s-stache.adb, s-taenca.adb, g-regpat.adb,
      	g-spitbo.adb, 5itaprop.adb: Add missing 'constant' keywords in object
      	declarations.
      
      From-SVN: r75802
      Arnaud Charlet committed
    • Add extra checks. · 0115e470
      From-SVN: r75801
      Arnaud Charlet committed
    • rope (_Rope_rep_alloc_base): Eliminate. · 5640461d
      2004-01-13  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/ext/rope (_Rope_rep_alloc_base): Eliminate.
      	(_Rope_rep_base): Inherit directly from the rope allocator;
      	use rebinding instead of _Alloc_traits; pick up data member
      	from _Rope_rep_alloc_base.
      	(_Rope_alloc_base): Eliminate.
      	(_Rope_base): Inherit directly from the rope allocator; use
      	rebinding instead of _Alloc_traits; pick up data member from
      	_Rope_alloc_base.
      	(rope::_S_new_RopeLeaf, rope::_S_new_RopeConcatenation,
      	rope::_S_new_RopeFunction, rope::_S_new_RopeSubstring): Tweak.
      
      From-SVN: r75800
      Paolo Carlini committed
    • re PR libstdc++/13650 (string::compare should not (always) use traits_type::length()) · 95c9624f
      2004-01-13  Paolo Carlini  <pcarlini@suse.de>
      
      	PR libstdc++/13650
      	* include/bits/basic_string.tcc (compare(size_type, size_type,
      	const _CharT*, size_type)): Implement correctly the resolution
      	of DR 5: basically, s is a char array, -not- a C string.
      	* include/bits/basic_string.h: Tweak some comments.
      	* testsuite/21_strings/basic_string/compare/char/13650.cc: New.
      	* testsuite/21_strings/basic_string/compare/wchar_t/13650.cc: New.
      
      From-SVN: r75798
      Paolo Carlini committed
    • system.h (TEXT_SECTION): Poison. · 0fe7abcc
      	* system.h (TEXT_SECTION): Poison.
      	* varasm.c (text_section): Don't use TEXT_SECTION.
      	* config/sh/sh.c (sh_file_start): Fix a comment typo.
      	* doc/tm.texi (TEXT_SECTION): Remove.
      
      From-SVN: r75797
      Kazu Hirata committed