Commit Graph

55528 Commits

Author SHA1 Message Date
Kazuhiro Inaoka
900a35c82b (call26_operand): Allow in PIC mode.
From-SVN: r75589
2004-01-09 17:04:47 +00:00
Kazuhiro Inaoka
df68f43bb2 Define __m32r__
From-SVN: r75588
2004-01-09 17:03:54 +00:00
Kazu Hirata
a9f99e78e4 re PR target/13380 (An unrecognized insn.)
PR target/13380.
	* gcc.c-torture/compile/20040109-1.c: New.

From-SVN: r75587
2004-01-09 15:49:29 +00:00
Kazu Hirata
58ebda9c2a re PR target/13380 (An unrecognized insn.)
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
2004-01-09 15:47:03 +00:00
Kazu Hirata
81ad38a60d m32r.c (m32r_expand_block_move): Call gen_movestrsi_internal with two more arguments.
* 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
2004-01-09 15:42:07 +00:00
Kazu Hirata
b816f339f4 final.c (FIRST_INSN_ADDRESS): Remove.
* 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
2004-01-09 15:33:47 +00:00
J. Brobecker
de99511b75 dwarf2out.c (gen_enumeration_type_die): Return the DIE that we just created.
* 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
2004-01-09 14:08:21 +00:00
Michael Koch
41b19a2d9a DocumentName.java, [...]: New files.
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
2004-01-09 11:26:42 +00:00
Michael Koch
af0088587f AbstractAction.java, [...]: Reworked imports.
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
2004-01-09 10:18:47 +00:00
Paolo Carlini
64cb2c4aed allocator.cc: Demangle typeid(obj).name().
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
2004-01-09 10:09:31 +00:00
Michael Koch
bbe4ef8921 2004-01-09 Michael Koch <konqueror@gmx.de>
* 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
2004-01-09 08:58:59 +00:00
Richard Henderson
90e4e4c58d re PR rtl-optimization/12441 (Can't spill register bug)
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
2004-01-08 18:31:40 -08:00
Kelley Cook
a6a5e4c91b Makefile.in: Rename configure.in to configure.ac
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
2004-01-09 01:18:35 +00:00
Stuart Hastings
588f75d040 i386.md: Typos in MMX/SSE immediate shifts.
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
2004-01-09 01:01:50 +00:00
Alan Modra
3b458e6fa9 * gcc.dg/array-quals-1.c: Accept .data.rel.ro.
From-SVN: r75565
2004-01-09 10:58:29 +10:30
GCC Administrator
dd0dddc663 Daily bump.
From-SVN: r75562
2004-01-09 00:16:06 +00:00
Jan Hubicka
6242fcd8e4 * cgraphunit.c (cgraph_decide_inlining): Fix typo.
From-SVN: r75560
2004-01-08 22:57:49 +00:00
Geoffrey Keating
ecb62ae79b rs6000.md (cmptf_internal1): Correct branch offset.
* 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
2004-01-08 22:50:54 +00:00
Geoffrey Keating
a29077daa7 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
2004-01-08 21:51:56 +00:00
Fernando Nasser
06fe3d7df2 GtkFileDialogPeer.java (nativeSetFile): New name for the former setFile native method.
* 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
2004-01-08 21:12:25 +00:00
Frank Ch. Eigler
d779bc04df * obvious changelog typo fix
From-SVN: r75553
2004-01-08 16:42:25 +00:00
Kazuhiro Inaoka
cb1f9d03d5 (ASM_OUTPUT_ALIGNED_BSS): Actually emit variables in the appropriate bss section.
From-SVN: r75552
2004-01-08 16:19:00 +00:00
Eric Botcazou
53b8fe3ef6 run_acats: Treat 'gnatchop' the same way as 'gnatmake'.
* ada/acats/run_acats: Treat 'gnatchop' the same way
	as 'gnatmake'.  Export GCC_DRIVER.
	* ada/acats/run_all.sh: Add target_gnatchop.  Use
	'host_gnatchop' and 'target_gnatchop' instead of 'gnatshop'.

From-SVN: r75551
2004-01-08 15:19:36 +00:00
Alan Modra
7ddb6568e3 linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Ensure target_flags has MASK_POWERPC64 when -m64.
* config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Ensure
	target_flags has MASK_POWERPC64 when -m64.
	* config/rs6000/rs6000.c (processor_target_table): Add MASK_POWERPC64
	to 620, 630, power3, power4 and rs64a entries.
	* config/rs6000/rs6000.h (MASK_64BIT): Expand comment.

From-SVN: r75550
2004-01-09 01:43:23 +10:30
Rainer Orth
2e89756b55 ffitest.h (allocate_mmap): Cast MAP_FAILED to void *.
* testsuite/libffi.call/ffitest.h (allocate_mmap): Cast MAP_FAILED
	to void *.

From-SVN: r75548
2004-01-08 12:15:17 +00:00
Giovanni Bajo
663cea5dc0 re PR c++/12573 (ICE (segfault) with Boost.Python)
PR c++/12573
	* g++.dg/template/dependent-expr4.C: New test.

From-SVN: r75547
2004-01-08 11:57:53 +00:00
Giovanni Bajo
3d5ddced56 re PR c++/12573 (ICE (segfault) with Boost.Python)
PR c++/12573
	* pt.c (value_dependent_expression_p): Handle COMPONENT_REFs by
	looking into them recursively. They can be there because of the
	new __offsetof__ extension.

From-SVN: r75546
2004-01-08 11:52:41 +00:00
Michael Koch
bafa7fed79 JLayeredPane.java: Revert changes to standard boilerplate, reworked imports.
2004-01-08  Michael Koch  <konqueror@gmx.de>

	* javax/swing/JLayeredPane.java: Revert changes to standard
	boilerplate, reworked imports.

From-SVN: r75543
2004-01-08 09:46:52 +00:00
Richard Sandiford
effdb4934f simplify-rtx.c (simplify_immed_subreg): Fix construction of floating-point constants.
* simplify-rtx.c (simplify_immed_subreg): Fix construction of
	floating-point constants.

From-SVN: r75540
2004-01-08 08:21:15 +00:00
Joel Brobecker
fbfd77b814 dwarf2out.c (subrange_type_die): Add context_die parameter.
* dwarf2out.c (subrange_type_die): Add context_die parameter.
        Create the subrange_type DIE using the given context DIE.
        (modified_type_die): Update call to subrange_type_die.

From-SVN: r75537
2004-01-08 07:54:13 +00:00
Zack Weinberg
7ce2710348 dwarf2.h, [...]: Add multiple-include guard.
* dwarf2.h, unwind-dw2-fde.h, unwind-pe.h, unwind.h:
	Add multiple-include guard.
cp:
	* parser.c (cp_parser_save_member_function_body): Mark the
	definition static.
treelang:
	* parse.y (yyerror): Mark the definition static.

From-SVN: r75536
2004-01-08 07:50:46 +00:00
Hartmut Penner
417b11de06 * gcc.dg/altivec-11.c: New test.
From-SVN: r75535
2004-01-08 07:27:09 +00:00
Hartmut Penner
ce1f50b212 rs6000.c (easy_vector_constant): Accept all vector constant loadable by vsplt*.
* gcc/config/rs6000/rs6000.c (easy_vector_constant): Accept
      all vector constant loadable by vsplt*.
      (output_vec_const_move): Likewise.

From-SVN: r75534
2004-01-08 07:25:56 +00:00
Tom Tromey
11e584edfe re PR libgcj/13439 (gij VerifyError; works with JDK 1.4)
PR libgcj/13439:
	* verify.cc (state::merge): Copy changed locals out of subroutine
	in NO_STACK case.
	(state::FLAG_CHANGED): New const.
	(state::FLAG_UNUSED): Likewise.
	(state::local_changed): Removed.  Updated all users.
	(state::flags): New field.
	(state::merge): Added jsr_semantics argument, more logic.
	(push_jump_merge): Added jsr_semantics argument.
	(handle_jsr_insn): Set jsr_semantics on push_jump_merge when
	merging through the jsr instruction.

From-SVN: r75533
2004-01-08 05:27:39 +00:00
Tom Tromey
ce972ee8f6 MakeDefaultMimeTypes.java: Use \n, not backslash-newline.
* scripts/MakeDefaultMimeTypes.java: Use \n, not
	backslash-newline.

From-SVN: r75532
2004-01-08 05:20:31 +00:00
Graydon Hoare
fbea267fef Container.java (LightweightDispatcher): Implement.
2004-01-07  Graydon Hoare  <graydon@redhat.com>

	* java/awt/Container.java (LightweightDispatcher): Implement.
	(visitChild): Reuse graphics object.
	(dispatchEventImpl): Optionally dispatch to lightweight.
	(addNotifyContainerChildren): Build LightweightDispatcher.

From-SVN: r75531
2004-01-08 03:52:52 +00:00
Mark Mitchell
72827ed7fc * g++.dg/abi/vbase10.C: Use -mstructure-size-boundary=8 on ARM.
From-SVN: r75529
2004-01-08 03:32:11 +00:00
Kelley Cook
102d317626 gcc_update (files_and_dependencies): Remove non-existant files.
2004-01-07  Kelley Cook  <kcook@gcc.gnu.org>

	* gcc_update (files_and_dependencies): Remove non-existant files.

From-SVN: r75528
2004-01-08 00:55:02 +00:00
GCC Administrator
146cfc5d2a Daily bump.
From-SVN: r75525
2004-01-08 00:16:10 +00:00
Joseph Myers
bca6332881 re PR c/6024 (GCC fails to diagnose mismatch of enum types in prototype/function)
PR c/6024
	* c-typeck.c (comptypes): Only treat enumerated types in the same
	translation unit as compatible with each other when they are the
	same type.
	* doc/extend.texi: Update.

f:
	* com.h (ffecom_gfrt_basictype): Correct return type.

testsuite:
	* gcc.dg/enum-compat-1.c: New test.
	* gcc.c-torture/execute/builtin-types-compatible-p.c: Update.

From-SVN: r75521
2004-01-07 22:24:44 +00:00
Benjamin Kosnik
158960ba7e crossconfig.m4: Add LFS, io bits to linux cross config.
2004-01-07  Benjamin Kosnik  <bkoz@redhat.com>

	* crossconfig.m4: Add LFS, io bits to linux cross config.
	* acconfig.h: Remove obsolete bits, reorder.
	* config.h.in: Regenerate.
	* aclocal.m4: Same.
	* configure: Same.

From-SVN: r75520
2004-01-07 22:17:01 +00:00
Dave Jones
5d2082d147 * approved by rth
2004-01-07  Dave Jones <davej@redhat.com>

	* malloc.c (GC_generic_malloc): Correct initialization typo.
	* mallocx.c (GC_generic_malloca_ignore_off_page): Ditto.

From-SVN: r75518
2004-01-07 21:47:35 +00:00
David Jee
627e4e5fc2 2004-01-07 David Jee <djee@redhat.com>
* java/awt/Container.java
    (update): Clear only the clipped region, instead of clearing the
    entire Container.
    (visitChildren): Visit children in descending order.

From-SVN: r75517
2004-01-07 21:20:01 +00:00
Rainer Orth
4752762407 * link.c [sgi] (shared_libgnat_default): Change to STATIC.
From-SVN: r75516
2004-01-07 20:58:20 +00:00
Benjamin Kosnik
e135a038d3 [multiple changes]
2004-01-07  Gawain Bolton  <gp.bolton@computer.org>

	* include/bits/stl_list.h:
	* include/bits/list.tc:
	* src/list.cc:
        Performance enhancements for destructor, push_front(),
        push_back(), pop_front(), pop_back(), sort()
        Eliminated static_casts where possible.
        Moved code out of header files into new src/list.cc
        implementation file for library where possible.
        Remove inheritance from iterator class and create separate
        classes for non-constant and constant iterators.
	* include/bits/stl_tree.h (_Rb_tree class):
	* src/tree.cc:
        Only erase contents in destructor.
        Eliminate unnecessary initialization in assignment operator.
        Optimize for the nominal case by not checking whether
        container is empty in clear().
        Re-order test in _M_insert() to improve performance.
        Move initialization of new node's left & right pointers to
        src/tree.cc to where new node's colour is initialized
        and to reduce the amount of inline code.
        Use  _M_leftmost() and _M_end() to improve readability where
        appropriate.
        Create separate classes for non-constant and constant
        iterators to clarify code, avoid extra template parameters and
        casting away constness.

2004-01-07  Benjamin Kosnik  <bkoz@redhat.com>

	* src/Makefile.am (sources): Add list.cc, tree.cc.
	* src/stl_tree.cc: Move to...
	* src/tree.cc: ...here.
	* src/list.cc: Add.
	* config/linker-map.gnu: Tweaks.
	* testsuite/23_containers/map/operators/1_neg.cc: Add excess errors.
	* testsuite/23_containers/set/operators/1_neg.cc: Add excess errors.

	* bits/stl_vector.h: Column wrap comments.

From-SVN: r75515
2004-01-07 20:55:06 +00:00
Joseph Myers
85b58ca564 re PR c/12165 (Typedef'ed variables ignore typedef's const qualifier)
PR c/12165
	* c-decl.c (grokdeclarator): Take type qualifiers of typedefed
	array type from the array element type.

testsuite:
	* gcc.dg/array-quals-1.c, gcc.dg/c90-idem-qual-3.c,
	gcc.dg/c99-idem-qual-3.c: New tests.

From-SVN: r75514
2004-01-07 19:40:03 +00:00
Andreas Tobler
51dc0a0aad re PR libgcj/13011 (gij -jar simple.jar generates: Exception during runtime initialization)
2004-01-07  Andreas Tobler  <a.tobler@schweiz.ch>

	PR libgcj/13011:
	* libjava.jar/simple.jar: Add a working MANIFEST.MF.

From-SVN: r75513
2004-01-07 19:54:00 +01:00
Michael Koch
40f8ee2d8d Array.java: Merged documentation with classpath.
2004-01-07  Michael Koch  <konqueror@gmx.de>

	* java/lang/reflect/Array.java: Merged documentation with classpath.

From-SVN: r75512
2004-01-07 18:46:18 +00:00
Andreas Tobler
6838645e85 jartool.c (make_manifest): Fix off-by-one bug when creating an empty MANIFEST.MF.
2004-01-07  Andreas Tobler  <a.tobler@schweiz.ch>

        * jartool.c (make_manifest): Fix off-by-one bug when creating
        an empty MANIFEST.MF.

From-SVN: r75511
2004-01-07 19:46:04 +01:00
Michael Koch
9b773289f8 2004-01-07 Michael Koch <konqueror@gmx.de>
* java/text/CollationElementIterator.java
	(textIndex): Renamed from index.
	* java/text/CollationKey.java
	(collator): New member.
	(CollationKey): New argument for parent collator.
	(equals): Check for same collator, source string and key array.
	* java/text/RuleBasedCollator.java:
	Reformated.
	(RuleBasedCollator): Don't re-initialize frenchAccents with default
	value.
	(getCollationElementIterator): Rewritten.
	(getCollationKey): Added new argument to CollationKey constructor.

From-SVN: r75510
2004-01-07 18:40:08 +00:00