1. 10 Jan, 2004 9 commits
  2. 09 Jan, 2004 27 commits
    • gcc.c (init_spec): Remove -lunwind from shared case. · 9813058e
      2004-01-09   James E Wilson  <wilson@specifixinc.com>
      
      	* gcc.c (init_spec): Remove -lunwind from shared case.
      	* conifg/ia64/t-hpux (SHLIB_LINK): Add -lunwind.
      
      From-SVN: r75611
      James E Wilson committed
    • JLayeredPane.java: Rewrite to accomodate djee@redhat.com's recent inverse ordering of Container... · 27c99ffe
      2004-01-08  Graydon Hoare  <graydon@redhat.com>
      
      	* javax/swing/JLayeredPane.java: Rewrite to accomodate
      	djee@redhat.com's recent inverse ordering of Container elements.
      
      From-SVN: r75608
      Graydon Hoare committed
    • name-lookup.c (qualified_lookup_using_namespace): Consider strong using… · c404ab02
      name-lookup.c (qualified_lookup_using_namespace): Consider strong using directives even if we've already found a binding.
      
      * name-lookup.c (qualified_lookup_using_namespace): Consider
      strong using directives even if we've already found a binding.
      
      From-SVN: r75599
      Alexandre Oliva committed
    • * g++.dg/lookup/strong-using-1.C: New. · bafb62a2
      From-SVN: r75598
      Alexandre Oliva committed
    • configure.ac: (gcc_cv_ld_hidden) Set to true for ia64*-*-hpux*. · b0fd7d27
      	* configure.ac: (gcc_cv_ld_hidden) Set to true for ia64*-*-hpux*.
      	* configure: Regenerate
      
      From-SVN: r75597
      Steve Ellcey committed
    • re PR c/11234 (-pedantic accepts function pointer <-> void*) · 3897f229
      	PR c/11234
      	* c-typeck.c (build_c_cast): If pedantic, warn for conversions
      	between function and object pointers.
      	(digest_init): When comparing a pointer to function type to the
      	target type, only apply TREE_TYPE once to the pointer to function
      	type.
      	* except.c (for_each_eh_label_1): Treat data as a pointer to a
      	function pointer rather than casting it to a function pointer.
      	(for_each_eh_label): Update caller.
      	* recog.h (struct insn_data): Use a struct or union for output.
      	* genoutput.c (output_insn_data): Update.
      	* final.c (get_insn_template): Update.
      
      testsuite:
      	* gcc.dg/func-ptr-conv-1.c: New test.
      	* gcc.dg/weak/weak-6.c, gcc.dg/weak/weak-7.c: Update.
      
      From-SVN: r75595
      Joseph Myers committed
    • expr.h (expand_expr): Make it a macro, not a function. · 0fab64a3
      	* expr.h (expand_expr): Make it a macro, not a function.
      	(expand_expr_real): New function.
      	* expr.c (store_expr): Adjust logic for deciding whether or not to
      	copy the value returned by expand_expr.
      	(expand_expr): Rename to ...
      	(expand_expr_real): ... this.  Add alt_rtl parameter.  Adjust
      	calls to language hooks.
      	* c-common.h (c_expand_expr): Adjust prototype.
      	* c-common.c (c_expand_expr): Add alt_rtl parameter.
      	* langhooks-def.h (lhd_expand_expr): Change prototype.
      	* langhooks.c (lhd_expand_expr): Add all_rtl parameter.
      	* langhooks.h (lang_hooks): Change type of expand_expr.
      	* stmt.c (stmt_status): Add x_last_expr_alt_rtl.
      	(last_expr_alt_rtl): Likewise.
      	(expand_expr_stmt_value): Set last_expr_alt_rtl.
      	(clear_last_expr): Clear it.
      	(expand_end_stmt_expr): Set RTL_EXPR_ATL_RTL.
      	(expand_end_bindings): Save and restor last_expr_alt_rtl.
      	* tree.def (RTL_EXPR): Give it an additional operand.
      	* tree.h (RTL_EXPR_ALT_RTL): New macro.
      
      	* misc.c (gnat_expand_expr): Add alt_rtl parameter.
      
      	* cp-tree.h (cxx_expand_expr): Change prototype.
      	* expr.c (cxx_expand_expr): Add alt_rtl parameter.
      
      	* java-tree.h (java_expand_expr): Change prototype.
      	* expr.c (java_expand_expr): Add alt_rtl parameter.
      
      From-SVN: r75594
      Mark Mitchell committed
    • libjava.exp (bytecompile_file): Log compile command. · 2fca049f
      2004-01-09  Andrew Haley  <aph@redhat.com>
      
      	* lib/libjava.exp (bytecompile_file): Log compile command.
      
      From-SVN: r75593
      Andrew Haley committed
    • 2004-01-09 Michael Koch <konqueror@gmx.de> · e6f82998
      	* gnu/java/lang/ArrayHelper.java
      	(equalsArray): Removed.
      
      From-SVN: r75592
      Michael Koch committed
    • natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve a Utf8Const field before… · d55d97f1
      natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve a Utf8Const field before looking at its class.
      
      2004-01-09  Andrew Haley  <aph@redhat.com>
      
      	* java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
      	a Utf8Const field before looking at its class.
      
      From-SVN: r75591
      Andrew Haley committed
    • re PR java/12755 (Binary Compatibility: Resolving static methods and classes is not thread safe) · 85194ee9
      2004-01-09  Andrew Haley  <aph@redhat.com>
      
      	PR java/12755:
      	* parse.y (java_fix_constructors):  Set output_class.
      	(java_reorder_fields): Likewise.
      	(java_layout_classes): Likewise.
      	(java_expand_classes): Generate indirect dispatch tables.
      	(java_expand_classes): Set output_class.
      	(java_finish_classes): Likewise.
      	* lang.c (java_init): Turn on always_initialize_class_p if we're
      	using indirect dis[atch.
      	(java_decl_ok_for_sibcall): Use output_class, not current_class.
      	(java_get_callee_fndecl): Use class local atable.
      	* jcf-parse.c
      	(always_initialize_class_p): Decl moved to java-tree.h.
      	(HANDLE_CLASS_INFO): Set output_class.
      	(read_class): Likewise.
      	(parse_class_file): Call gen_indirect_dispatch_tables.
      	(parse_zip_file_entries): Set output_class.
      	(java_parse_file): Set output_class.  Don't emit symbol tables.
      	* java-tree.h (output_class): New.
      	Remove global declarations for otable, atable, and ctable.
      	(always_initialize_class_p): moved here from decl.c.
      	(DECL_OWNER): New.
      	(TYPE_ATABLE_METHODS, TYPE_ATABLE_SYMS_DECL, TYPE_ATABLE_DECL,
      	TYPE_OTABLE_METHODS, TYPE_OTABLE_SYMS_DECL, TYPE_OTABLE_DECL,
      	TYPE_CTABLE_DECL, TYPE_CATCH_CLASSES): New.
      	(struct lang_type): Add otable_methods, otable_decl,
      	otable_syms_decl, atable_methods, atable_decl, atable_syms_decl,
      	ctable_decl, catch_classes, type_to_runtime_map.
      	* expr.c (build_field_ref): Make otable, atable, and ctable class
      	local rather than global.
      	(build_known_method_ref): Likewise.
      	(build_invokeinterface): Likewise.
      	(java_expand_expr): Pass runtime type (rather than actual type) to
      	expand_start_catch.
      	* except.c (prepare_eh_table_type): Create TYPE_TO_RUNTIME_MAP for
      	this class.  Look up each class in that map to delete duplicates.
      	(expand_end_java_handler): Pass runtime type (rather than actual
      	type) to expand_start_catch.
      	* decl.c: (always_initialize_class_p): Decl moved to java-tree.h.
      	(do_nothing): New.
      	(java_init_decl_processing): Rearrange things.  Remove global
      	declarations of otable, atable, and ctable.
      	(java_init_decl_processing): Make lang_eh_runtime_type do_nothing.
      	(java_expand_body): Set output_class.
      	* constants.c (build_constant_data_ref): Use output_class, not
      	current_class.
      	(alloc_name_constant): Likewise.
      	* class.c (gen_indirect_dispatch_tables): New.
      	(build_class_ref): Generate hard reference to superclass, even if
      	using indirect dispatch.
      	(build_static_field_ref): Use class local atable.
      	(make_class_data): Generate hard reference to superclass, even if
      	using indirect dispatch.
      	Generate symbolic references to interfaces when using indirect
      	dispatch.
      	(make_class_data): Emit otable, atable, and ctable.
      	Make otable, atable, and ctable class local rather than global.
      	(emit_catch_table): Make otable, atable, and ctable class local
      	rather than global.
      
      From-SVN: r75590
      Andrew Haley committed
    • (call26_operand): Allow in PIC mode. · 900a35c8
      From-SVN: r75589
      Kazuhiro Inaoka committed
    • Define __m32r__ · df68f43b
      From-SVN: r75588
      Kazuhiro Inaoka committed
    • re PR target/13380 (An unrecognized insn.) · a9f99e78
      	PR target/13380.
      	* gcc.c-torture/compile/20040109-1.c: New.
      
      From-SVN: r75587
      Kazu Hirata committed
    • re PR target/13380 (An unrecognized insn.) · 58ebda9c
      	PR target/13380.
      	* config/m32r/m32r.md: Replace (reg:SI 17) with (reg:CC 17)
      	or (ne:SI (reg:CC 17) (const_int 0)).
      	Be specific about modes wherever possible.
      
      From-SVN: r75586
      Kazu Hirata committed
    • m32r.c (m32r_expand_block_move): Call gen_movestrsi_internal with two more arguments. · 81ad38a6
      	* config/m32r/m32r.c (m32r_expand_block_move): Call
      	gen_movestrsi_internal with two more arguments.
      	(m32r_output_block_move): Adjust operand numbers.
      	Properly update the source and destination pointers.
      	* config/m32r/m32r.md (movstrsi_internal): Use 'r' instead of
      	'r+'.  Change the set detinations to match_operand.
      
      From-SVN: r75585
      Kazu Hirata committed
    • final.c (FIRST_INSN_ADDRESS): Remove. · b816f339
      	* final.c (FIRST_INSN_ADDRESS): Remove.
      	(shorten_branches): Don't use FIRST_INSN_ADDRESS.
      	* system.h (FIRST_INSN_ADDRESS): Poison.
      	* config/avr/avr.h: Remove a comment about FIRST_INSN_ADDRESS.
      	* config/m32r/m32r-protos.h: Remove the prototype for
      	m32r_first_insn_address.
      	* config/m32r/m32r.c (m32r_first_insn_address): Remove.
      	* config/m32r/m32r.h (FIRST_INSN_ADDRESS): Likewise.
      	* doc/md.texi (FIRST_INSN_ADDRESS): Likewise.
      
      From-SVN: r75584
      Kazu Hirata committed
    • dwarf2out.c (gen_enumeration_type_die): Return the DIE that we just created. · de99511b
              * dwarf2out.c (gen_enumeration_type_die): Return the DIE that
              we just created.
              (is_ada_subrange_type): DIEs for enumeration subtypes should be
              emitted as subrange types too.
              (subrange_type_die): Add handling of enumeration subtypes.
      
      From-SVN: r75582
      J. Brobecker committed
    • DocumentName.java, [...]: New files. · 41b19a2d
      2004-01-09  Michael Koch  <konqueror@gmx.de>
      
      	* javax/print/attribute/standard/DocumentName.java,
      	javax/print/attribute/standard/JobHoldUntil.java,
      	javax/print/attribute/standard/JobMessageFromOperator.java,
      	javax/print/attribute/standard/JobName.java,
      	javax/print/attribute/standard/JobOriginatingUserName.java,
      	javax/print/attribute/standard/OutputDeviceAssigned.java,
      	javax/print/attribute/standard/PrinterInfo.java,
      	javax/print/attribute/standard/PrinterLocation.java,
      	javax/print/attribute/standard/PrinterMakeAndModel.java,
      	javax/print/attribute/standard/PrinterMessageFromOperator.java,
      	javax/print/attribute/standard/PrinterName.java,
      	javax/print/attribute/standard/RequestingUserName.java: New files.
      	* Makefile.am (javax_source_files): Added new files.
      	* Makefile.in: Regenerated.
      
      From-SVN: r75573
      Michael Koch committed
    • AbstractAction.java, [...]: Reworked imports. · af008858
      2004-01-09  Michael Koch  <konqueror@gmx.de>
      
      	* javax/swing/AbstractAction.java,
      	javax/swing/AbstractSet.java,
      	javax/swing/Action.java,
      	javax/swing/ActionMap.java,
      	javax/swing/BoundedRangeModel.java,
      	javax/swing/ButtonModel.java,
      	javax/swing/CellEditor.java,
      	javax/swing/CellRendererPane.java,
      	javax/swing/ComboBoxEditor.java,
      	javax/swing/DebugGraphics.java,
      	javax/swing/DefaultCellEditor.java,
      	javax/swing/DefaultCellRenderer.java,
      	javax/swing/DefaultComboBoxModel.java,
      	javax/swing/DefaultDesktopManager.java,
      	javax/swing/DefaultFocusManager.java,
      	javax/swing/DefaultListCellRenderer.java,
      	javax/swing/Icon.java,
      	javax/swing/JButton.java,
      	javax/swing/JCheckBoxMenuItem.java,
      	javax/swing/JDesktopPane.java,
      	javax/swing/JEditorPane.java,
      	javax/swing/JMenu.java,
      	javax/swing/JPanel.java,
      	javax/swing/JPasswordField.java,
      	javax/swing/JPopupMenu.java,
      	javax/swing/JProgressBar.java: Reworked imports.
      
      From-SVN: r75572
      Michael Koch committed
    • allocator.cc: Demangle typeid(obj).name(). · 64cb2c4a
      2004-01-09  Paolo Carlini  <pcarlini@suse.de>
      
      	* testsuite/performance/allocator.cc: Demangle typeid(obj).name().
      	* testsuite/performance/allocator_thread.cc: Likewise.
      
      From-SVN: r75571
      Paolo Carlini committed
    • 2004-01-09 Michael Koch <konqueror@gmx.de> · bbe4ef89
      	* java/awt/geom/PathIterator.java
      	(WIND_EVEN_ODD): Removed redundant modifiers.
      	(WIND_NON_ZERO): Likewise.
      	(SEG_MOVETO): Likewise.
      	(SEG_LINETO): Likewise.
      	(SEG_QUADTO): Likewise.
      	(SEG_CUBICTO): Likewise.
      	(SEG_CLOSE): Likewise.
      	* java/awt/image/SinglePixelPackedSampleModel.java:
      	Removed redundant semicolon.
      	* java/io/ObjectInputStream.java
      	(inputGetObjectStreamClasses): Removed unused variable "ret_val".
      	* java/util/logging/Filter.java
      	(isLoggable): Removed redundant modifier.
      	* java/util/logging/LogManager.java:
      	Removed redundant semicolon.
      	* java/util/logging/XMLFormatter.java
      	(format): Removed unused variable "key".
      
      From-SVN: r75570
      Michael Koch committed
    • re PR rtl-optimization/12441 (Can't spill register bug) · 90e4e4c5
              PR opt/12441
              Revert: Sat Mar 30 14:08:55 CET 2002  Jan Hubicka  <jh@suse.cz>
              * i386.c (aligned_operand): Be prepared for SUBREGed registers.
              (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG.
              (ix86_address_cost): Be prepared for SUBREGed registers.
              (legitimate_address_p): Accept SUBREGed registers.
      
      From-SVN: r75568
      Richard Henderson committed
    • Makefile.in: Rename configure.in to configure.ac · a6a5e4c9
      2004-01-08  Kelley Cook  <kcook@gcc.gnu.org>
      
      	* Makefile.in: Rename configure.in to configure.ac
      	* doc/sourcebuild.texi: Likewise.
      	* configure: Regenerate.
      	* config.in: Regenerate.
      
      From-SVN: r75567
      Kelley Cook committed
    • i386.md: Typos in MMX/SSE immediate shifts. · 588f75d0
      2004-01-08  Stuart Hastings  <stuart@apple.com>
      
      	* config/i386/i386.md: Typos in MMX/SSE immediate shifts.
      	* testsuite/gcc.dg/20020523-2.c (bail_if_no_sse): Moved cpu-ID code...
      	testsuite/gcc.dg/i386-cpuid.h (i386_cpuid): ...to here, to share with...
      	* testsuite/gcc.dg/i386-sse-6.c: ...this new testcase.
      
      From-SVN: r75566
      Stuart Hastings committed
    • * gcc.dg/array-quals-1.c: Accept .data.rel.ro. · 3b458e6f
      From-SVN: r75565
      Alan Modra committed
    • Daily bump. · dd0dddc6
      From-SVN: r75562
      GCC Administrator committed
  3. 08 Jan, 2004 4 commits
    • * cgraphunit.c (cgraph_decide_inlining): Fix typo. · 6242fcd8
      From-SVN: r75560
      Jan Hubicka committed
    • rs6000.md (cmptf_internal1): Correct branch offset. · ecb62ae7
      	* config/rs6000/rs6000.md (cmptf_internal1): Correct branch offset.
      	(UNSPEC_FIX_TRUNC_TF): New constant.
      	(movtf_internal): Make splitter active only when insn is active.
      	(extenddftf2): Rewrite to properly load zero into low part.
      	(extenddftf2_internal): New.
      	(extendsftf2): Rewrite.
      	(truncdftf2): Correct length.
      	(floatditf2): Delete.
      	(fix_trunc_helper): New.
      	(fix_trunctfdi2): Use fix_trunc_helper.
      	(fix_trunctfsi2): Likewise.fix_trunc
      	(fix_trunctfsi2_internal): New.
      
      From-SVN: r75559
      Geoffrey Keating committed
    • rs6000.c (legitimate_lo_sum_address_p): lo_sum addresses are legitimate on… · a29077da
      rs6000.c (legitimate_lo_sum_address_p): lo_sum addresses are legitimate on Darwin even when flag_pic.
      
      	* config/rs6000/rs6000.c (legitimate_lo_sum_address_p): lo_sum
      	addresses are legitimate on Darwin even when flag_pic.
      	(rs6000_legitimize_reload_address) [TARGET_MACHO]: Don't create
      	non-offsettable addresses for loads of TFmode constants.
      
      From-SVN: r75558
      Geoffrey Keating committed
    • GtkFileDialogPeer.java (nativeSetFile): New name for the former setFile native method. · 06fe3d7d
              * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
              New name for the former setFile native method.
              (setFile): New method.
              (setDirectory): Implemented.
              (connectSignals): New native method.
              (setFilenameFilter): Improve comment.
              (getGraphics): Comment.
              (gtkHideFileDialog): New method.
              (gtkDisposeFileDialog): New method.
              (gtkSetFilename): New method.
              * java/awt/Dialog.java (show): Block on modal dialogs, but only
              for FileDialog for now.
              (hide): New method.
              (dispose): New method.
              * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
              (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
              deprecated creation functions.  Make dialog modal.  Add it to the
              window group.
              (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
              function.
              (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
              Rename to...
              (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
              name.
              (window_closed): New function.
              (ok_clicked): New function.
              (cancel_clicked): New function.
      
      From-SVN: r75557
      Fernando Nasser committed