OSDN Git Service

pf3gnuchains/gcc-fork.git
20 years ago * c-decl.c (duplicate_decls): Break apart into...
zack [Sun, 11 Jan 2004 01:18:58 +0000 (01:18 +0000)]
* c-decl.c (duplicate_decls): Break apart into...
(diagnose_arglist_conflict, validate_proto_after_old_defn)
(locate_old_defn, diagnose_mismatched_decls, merge_decls):
... these new functions.  Restructure for comprehensibility.
Remove various archaic special cases.  Always report the
location of the previous declaration when a diagnostic is issued.
(redeclaration_error_message): Fold into diagnose_mismatched_decls.
(match_builtin_function_types): Delete unnecessary forward declaration.
testsuite:
* gcc.dg/Wshadow-1.c, gcc.dg/attr-noinline.c, gcc.dg/decl3.c
* gcc.dg/redecl-1.c, gcc.dg/visibility-7.c, gcc.dg/wtr-static-1.c
* gcc.dg/noncompile/20020220-1.c, objc.dg/method-1.m:
Update dg-error regexps.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75667 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * genautomata.c (make_automaton, NDFA_to_DFA):
zack [Sun, 11 Jan 2004 00:52:18 +0000 (00:52 +0000)]
* genautomata.c (make_automaton, NDFA_to_DFA):
Print progress bars with '.' characters instead of '*'.
(build_automaton): Change notes to match.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75664 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gcc.c-torture/compile/20021123-2.c: Delete; dup of 20021120-1.c.
zack [Sun, 11 Jan 2004 00:47:20 +0000 (00:47 +0000)]
* gcc.c-torture/compile/20021123-2.c: Delete; dup of 20021120-1.c.
* gcc.c-torture/compile/20021123-3.c: Delete; dup of 20021120-2.c.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75663 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
gccadmin [Sun, 11 Jan 2004 00:16:12 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75659 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-11 Michael Koch <konqueror@gmx.de>
mkoch [Sat, 10 Jan 2004 23:11:56 +0000 (23:11 +0000)]
2004-01-11  Michael Koch  <konqueror@gmx.de>

* javax/swing/undo/StateEditable.java
(RCSID): Removed redundant modifiers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75657 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/m32r/m32r.md: Use define_constants for unspec and
kazu [Sat, 10 Jan 2004 22:34:13 +0000 (22:34 +0000)]
* config/m32r/m32r.md: Use define_constants for unspec and
unspec_volatile.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75656 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-10 Michael Koch <konqueror@gmx.de>
mkoch [Sat, 10 Jan 2004 22:16:01 +0000 (22:16 +0000)]
2004-01-10  Michael Koch  <konqueror@gmx.de>

* javax/print/attribute/EnumSyntax.java
(getStringTable): Made protected.
(getEnumValueTable): Likewise.
* javax/print/attribute/standard/JobKOctetsProcessed.java
(JobKOctetsProcessed): Don't implement PrintRequestAttribute.
* javax/print/attribute/standard/JobMediaSheetsCompleted.java
(JobMediaSheetsCompleted): Made class final.
* javax/print/attribute/standard/OutputDeviceAssigned.java
(getName): Fixed typo.
* javax/print/attribute/standard/RequestingUserName.java
(serialVersionUID): Fixed value.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75655 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-10 Michael Koch <konqueror@gmx.de>
mkoch [Sat, 10 Jan 2004 21:59:30 +0000 (21:59 +0000)]
2004-01-10  Michael Koch  <konqueror@gmx.de>

* javax/swing/plaf/basic/BasicButtonUI.java,
javax/swing/plaf/basic/BasicCheckBoxUI.java,
javax/swing/plaf/basic/BasicListUI.java,
javax/swing/plaf/basic/BasicOptionPaneUI.java,
javax/swing/plaf/basic/BasicPanelUI.java,
javax/swing/plaf/basic/BasicRadioButtonUI.java,
javax/swing/plaf/basic/BasicScrollPaneUI.java,
javax/swing/plaf/basic/BasicToggleButtonUI.java,
javax/swing/plaf/basic/BasicViewportUI.java:
Fixed import statements.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75654 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-10 Michael Koch <konqueror@gmx.de>
mkoch [Sat, 10 Jan 2004 21:32:23 +0000 (21:32 +0000)]
2004-01-10  Michael Koch  <konqueror@gmx.de>

* gnu/java/awt/image/ImageDecoder.java
(produce): Made public.
* gnu/java/awt/peer/GLightweightPeer.java,
gnu/java/awt/peer/gtk/GtkToolkit.java:
Reformated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75653 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-10 Michael Koch <konqueror@gmx.de>
mkoch [Sat, 10 Jan 2004 21:07:44 +0000 (21:07 +0000)]
2004-01-10  Michael Koch  <konqueror@gmx.de>

* javax/swing/JRadioButtonMenuItem.java,
javax/swing/JSeparator.java,
javax/swing/JSplitPane.java,
javax/swing/JTextPane.java,
javax/swing/JToolBar.java,
javax/swing/ListCellRenderer.java,
javax/swing/ListModel.java,
javax/swing/MenuElement.java,
javax/swing/OverlayLayout.java,
javax/swing/ProgressMonitor.java,
javax/swing/ProgressMonitorInputStream.java,
javax/swing/Renderer.java,
javax/swing/RootPaneContainer.java,
javax/swing/Scrollable.java,
javax/swing/SingleSelectionModel.java,
javax/swing/ToolTipManager.java,
javax/swing/ViewportLayout.java,
javax/swing/event/DocumentEvent.java,
javax/swing/event/SwingPropertyChangeSupport.java,
javax/swing/event/TreeSelectionEvent.java,
javax/swing/event/UndoableEditEvent.java,
javax/swing/text/AbstractDocument.java,
javax/swing/text/AttributeSet.java,
javax/swing/text/Caret.java,
javax/swing/text/ComponentView.java,
javax/swing/text/DefaultCaret.java,
javax/swing/text/DefaultEditorKit.java,
javax/swing/text/Document.java,
javax/swing/text/EditorKit.java,
javax/swing/text/GapContent.java,
javax/swing/text/Keymap.java,
javax/swing/text/MutableAttributeSet.java,
javax/swing/text/PlainEditorKit.java,
javax/swing/text/Segment.java,
javax/swing/text/Style.java,
javax/swing/text/StyledDocument.java,
javax/swing/text/StyledEditorKit.java,
javax/swing/text/TextAction.java,
javax/swing/text/View.java: Fixed import statements.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75651 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoFix pasto.
hubicka [Sat, 10 Jan 2004 20:54:03 +0000 (20:54 +0000)]
Fix pasto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75650 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * expr.c (expand_expr_real): More curefully expand union casts.
hubicka [Sat, 10 Jan 2004 20:50:53 +0000 (20:50 +0000)]
* expr.c (expand_expr_real):  More curefully expand union casts.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75649 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-10 Paolo Carlini <pcarlini@suse.de>
paolo [Sat, 10 Jan 2004 20:09:26 +0000 (20:09 +0000)]
2004-01-10  Paolo Carlini  <pcarlini@suse.de>

* docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html:
Import Revision 28.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75648 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/m32r/m32r.md (flush_icache): Use 1 for
kazu [Sat, 10 Jan 2004 19:12:54 +0000 (19:12 +0000)]
* config/m32r/m32r.md (flush_icache): Use 1 for
unspec_volatile.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75647 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * MAINTAINERS: Add myself as a MIPS maintainer.
rsandifo [Sat, 10 Jan 2004 18:47:04 +0000 (18:47 +0000)]
* MAINTAINERS: Add myself as a MIPS maintainer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75645 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-10 David Edelsohn <edelsohn@gnu.org>
dje [Sat, 10 Jan 2004 18:34:59 +0000 (18:34 +0000)]
2004-01-10  David Edelsohn  <edelsohn@gnu.org>
            James E Wilson  <wilson@specifixinc.com>

        PR debug/12860
        * dbxout.c (dbxout_symbol): Remove initialization of
        current_sym_code, current_sym_value, and current_sym_addr.
        (dbxout_symbol_location): Same.
        (dbxout_prepare_symbol): Zero current_sym_code,
        current_sym_value, and current_sym_addr.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75644 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * tree.c (get_unwidened): Reorder conditions so that the null pointer
rsandifo [Sat, 10 Jan 2004 12:02:34 +0000 (12:02 +0000)]
* tree.c (get_unwidened): Reorder conditions so that the null pointer
check is done first.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75639 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gcc.dg/pragma-re-1.c: Use right pointer type.
ebotcazou [Sat, 10 Jan 2004 11:25:49 +0000 (11:25 +0000)]
* gcc.dg/pragma-re-1.c: Use right pointer type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75638 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * g++.dg/eh/simd-1.c: Ajust line number for dg-error line.
ebotcazou [Sat, 10 Jan 2004 11:02:53 +0000 (11:02 +0000)]
* g++.dg/eh/simd-1.c: Ajust line number for dg-error line.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75637 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-10 Paolo Carlini <pcarlini@suse.de>
paolo [Sat, 10 Jan 2004 10:15:35 +0000 (10:15 +0000)]
2004-01-10  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/13630
* include/bits/locale_classes.h (class locale): Fix category typedef.
* testsuite/22_locale/locale/13630.cc: Add.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75635 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-09 Eric Christopher <echristo@redhat.com>
echristo [Sat, 10 Jan 2004 06:54:02 +0000 (06:54 +0000)]
2004-01-09  Eric Christopher  <echristo@redhat.com>

* toplev.c (rest_of_handle_cfg): Add reg_scan pass
if we're running mark_constant_function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75634 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-09 Jeff Bailey <jbailey@nisa.net>
pinskia [Sat, 10 Jan 2004 06:40:24 +0000 (06:40 +0000)]
2004-01-09  Jeff Bailey  <jbailey@nisa.net>

        PR target/12561
        * config/t-gnu: Rename SYSTEM_HEADER_DIR to NATIVE_SYSTEM_HEADER_DIR.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75632 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gcc.dg/rs6000-ldouble-1.c: New.
geoffk [Sat, 10 Jan 2004 05:52:56 +0000 (05:52 +0000)]
* gcc.dg/rs6000-ldouble-1.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75631 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-09 Andrew Ruder <aeruder@ksu.edu>
pinskia [Sat, 10 Jan 2004 05:47:42 +0000 (05:47 +0000)]
2004-01-09  Andrew Ruder  <aeruder@ksu.edu>

        PR libobjc/11904
        * sarray.c (sarray_free): Free array->is_copy_of latter.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75630 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/rs6000/darwin-ldouble.c: Add big comment explaining
geoffk [Sat, 10 Jan 2004 05:47:14 +0000 (05:47 +0000)]
* config/rs6000/darwin-ldouble.c: Add big comment explaining
exactly what is expected as a 'long double'.
(_xlqadd): When a value to be returned is representable as a
'double', just return it directly, do not construct it using a union.
Also, correct final fixup.
(_xlqmul): Likewise.
(_xlqdiv): Likewise.
* real.c (encode_ibm_extended): Make consistent with darwin-ldouble.c.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75629 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-09 Andrew Pinski <pinskia@physics.uc.edu>
pinskia [Sat, 10 Jan 2004 05:32:45 +0000 (05:32 +0000)]
2004-01-09  Andrew Pinski <pinskia@physics.uc.edu>

        PR debug/11231
        * dbxout.c (dbxout_type_fields): Return if any item is error_mark_node or the
        type is error_mark_node.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75628 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/rs6000/rs6000.md (fix_trunctfdi2): Delete.
geoffk [Sat, 10 Jan 2004 05:11:19 +0000 (05:11 +0000)]
* config/rs6000/rs6000.md (fix_trunctfdi2): Delete.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75627 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * recog.c (constrain_operands): Validate mem operands.
rth [Sat, 10 Jan 2004 03:14:07 +0000 (03:14 +0000)]
    * recog.c (constrain_operands): Validate mem operands.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75624 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-09 Kelley Cook <kcook@gcc.gnu.org>
kcook [Sat, 10 Jan 2004 02:17:41 +0000 (02:17 +0000)]
2004-01-09  Kelley Cook  <kcook@gcc.gnu.org>

* configure.in:  Rename file to ...
* configure.ac:  ... this.
* Makefile.in: Update a comment for above change.
* README: Likewise.
* config.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75623 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-09 Kelley Cook <kcook@gcc.gnu.org>
kcook [Sat, 10 Jan 2004 02:12:41 +0000 (02:12 +0000)]
2004-01-09  Kelley Cook  <kcook@gcc.gnu.org>

* gcc_update (files_and_dependencies): Update fastjar/configure.in
to fastjar/configure.ac

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75622 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-09 Kelley Cook <kcook@gcc.gnu.org>
kcook [Sat, 10 Jan 2004 02:09:08 +0000 (02:09 +0000)]
2004-01-09  Kelley Cook  <kcook@gcc.gnu.org>

* configure.in: Rename file to ...
* configure.ac: ... this.  Add in AC_PREREQ(2.57)
* config.h.in: Regenerate.
* aclocal.m4: Regenerate.
* Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75621 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR bootstrap/7817
neroden [Sat, 10 Jan 2004 01:30:39 +0000 (01:30 +0000)]
PR bootstrap/7817
* Make-lang.in: Copy gcc.1 to g++.1 rather than using .so.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75620 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago DR 337
giovannibajo [Sat, 10 Jan 2004 01:22:06 +0000 (01:22 +0000)]
DR 337
PR c++/9256
* g++.dg/other/abstract1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75619 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago DR 337
giovannibajo [Sat, 10 Jan 2004 01:18:08 +0000 (01:18 +0000)]
DR 337
PR c++/9256
* pt.c (tsubst): Substitution must fail if we are attempting to
create an array with element type that is an abstract class type.
* decl.c (cp_finish_decl): Strip pointers and array types recursively
before calling abstract_virtuals_error.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75618 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * include/bits/locale_facets.h: Make a name really dependent. This
giovannibajo [Sat, 10 Jan 2004 01:10:23 +0000 (01:10 +0000)]
* include/bits/locale_facets.h: Make a name really dependent. This
will be needed when Core Issue 224 is implemented.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75617 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
gccadmin [Sat, 10 Jan 2004 00:16:08 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75614 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-09 James E Wilson <wilson@specifixinc.com>
zack [Fri, 9 Jan 2004 23:14:29 +0000 (23:14 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75611 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-08 Graydon Hoare <graydon@redhat.com>
graydon [Fri, 9 Jan 2004 22:52:18 +0000 (22:52 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75608 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago* name-lookup.c (qualified_lookup_using_namespace): Consider
aoliva [Fri, 9 Jan 2004 21:30:31 +0000 (21:30 +0000)]
* name-lookup.c (qualified_lookup_using_namespace): Consider
strong using directives even if we've already found a binding.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75599 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago* g++.dg/lookup/strong-using-1.C: New.
aoliva [Fri, 9 Jan 2004 21:29:13 +0000 (21:29 +0000)]
* g++.dg/lookup/strong-using-1.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75598 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * configure.ac: (gcc_cv_ld_hidden) Set to true for ia64*-*-hpux*.
sje [Fri, 9 Jan 2004 21:20:53 +0000 (21:20 +0000)]
* configure.ac: (gcc_cv_ld_hidden) Set to true for ia64*-*-hpux*.
* configure: Regenerate

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75597 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c/11234
jsm28 [Fri, 9 Jan 2004 20:03:58 +0000 (20:03 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75595 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * expr.h (expand_expr): Make it a macro, not a function.
mmitchel [Fri, 9 Jan 2004 19:55:13 +0000 (19:55 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75594 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-09 Andrew Haley <aph@redhat.com>
aph [Fri, 9 Jan 2004 17:27:37 +0000 (17:27 +0000)]
2004-01-09  Andrew Haley  <aph@redhat.com>

* lib/libjava.exp (bytecompile_file): Log compile command.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75593 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-09 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 9 Jan 2004 17:18:29 +0000 (17:18 +0000)]
2004-01-09  Michael Koch  <konqueror@gmx.de>

* gnu/java/lang/ArrayHelper.java
(equalsArray): Removed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75592 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-09 Andrew Haley <aph@redhat.com>
aph [Fri, 9 Jan 2004 17:10:43 +0000 (17:10 +0000)]
2004-01-09  Andrew Haley  <aph@redhat.com>

* java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
a Utf8Const field before looking at its class.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75591 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-09 Andrew Haley <aph@redhat.com>
aph [Fri, 9 Jan 2004 17:08:44 +0000 (17:08 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75590 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago(call26_operand): Allow in PIC mode.
nickc [Fri, 9 Jan 2004 17:04:47 +0000 (17:04 +0000)]
(call26_operand): Allow in PIC mode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75589 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDefine __m32r__
nickc [Fri, 9 Jan 2004 17:03:54 +0000 (17:03 +0000)]
Define __m32r__

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75588 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR target/13380.
kazu [Fri, 9 Jan 2004 15:49:29 +0000 (15:49 +0000)]
PR target/13380.
* gcc.c-torture/compile/20040109-1.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75587 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR target/13380.
kazu [Fri, 9 Jan 2004 15:47:03 +0000 (15:47 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75586 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/m32r/m32r.c (m32r_expand_block_move): Call
kazu [Fri, 9 Jan 2004 15:42:07 +0000 (15:42 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75585 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * final.c (FIRST_INSN_ADDRESS): Remove.
kazu [Fri, 9 Jan 2004 15:33:47 +0000 (15:33 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75584 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * dwarf2out.c (gen_enumeration_type_die): Return the DIE that
brobecke [Fri, 9 Jan 2004 14:08:21 +0000 (14:08 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75582 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-09 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 9 Jan 2004 11:26:42 +0000 (11:26 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75573 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-09 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 9 Jan 2004 10:18:47 +0000 (10:18 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75572 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-09 Paolo Carlini <pcarlini@suse.de>
paolo [Fri, 9 Jan 2004 10:09:31 +0000 (10:09 +0000)]
2004-01-09  Paolo Carlini  <pcarlini@suse.de>

* testsuite/performance/allocator.cc: Demangle typeid(obj).name().
* testsuite/performance/allocator_thread.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75571 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-09 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 9 Jan 2004 08:58:59 +0000 (08:58 +0000)]
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".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75570 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR opt/12441
rth [Fri, 9 Jan 2004 02:31:40 +0000 (02:31 +0000)]
    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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75568 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-08 Kelley Cook <kcook@gcc.gnu.org>
kcook [Fri, 9 Jan 2004 01:18:35 +0000 (01:18 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75567 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-08 Stuart Hastings <stuart@apple.com>
stuart [Fri, 9 Jan 2004 01:01:50 +0000 (01:01 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75566 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gcc.dg/array-quals-1.c: Accept .data.rel.ro.
amodra [Fri, 9 Jan 2004 00:28:29 +0000 (00:28 +0000)]
* gcc.dg/array-quals-1.c: Accept .data.rel.ro.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75565 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
gccadmin [Fri, 9 Jan 2004 00:16:06 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75562 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * cgraphunit.c (cgraph_decide_inlining): Fix typo.
hubicka [Thu, 8 Jan 2004 22:57:49 +0000 (22:57 +0000)]
* cgraphunit.c (cgraph_decide_inlining):  Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75560 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/rs6000/rs6000.md (cmptf_internal1): Correct branch offset.
geoffk [Thu, 8 Jan 2004 22:50:54 +0000 (22:50 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75559 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/rs6000/rs6000.c (legitimate_lo_sum_address_p): lo_sum
geoffk [Thu, 8 Jan 2004 21:51:56 +0000 (21:51 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75558 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
fnasser [Thu, 8 Jan 2004 21:12:25 +0000 (21:12 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75557 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago* obvious changelog typo fix
fche [Thu, 8 Jan 2004 16:42:25 +0000 (16:42 +0000)]
* obvious changelog typo fix

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75553 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago(ASM_OUTPUT_ALIGNED_BSS): Actually emit variables in the appropriate bss section.
nickc [Thu, 8 Jan 2004 16:19:00 +0000 (16:19 +0000)]
(ASM_OUTPUT_ALIGNED_BSS): Actually emit variables in the appropriate bss section.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75552 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * ada/acats/run_acats: Treat 'gnatchop' the same way
ebotcazou [Thu, 8 Jan 2004 15:19:36 +0000 (15:19 +0000)]
* 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'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75551 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Ensure
amodra [Thu, 8 Jan 2004 15:13:23 +0000 (15:13 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75550 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * testsuite/libffi.call/ffitest.h (allocate_mmap): Cast MAP_FAILED
ro [Thu, 8 Jan 2004 12:15:17 +0000 (12:15 +0000)]
* testsuite/libffi.call/ffitest.h (allocate_mmap): Cast MAP_FAILED
to void *.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75548 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c++/12573
giovannibajo [Thu, 8 Jan 2004 11:57:53 +0000 (11:57 +0000)]
PR c++/12573
* g++.dg/template/dependent-expr4.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75547 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c++/12573
giovannibajo [Thu, 8 Jan 2004 11:52:41 +0000 (11:52 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75546 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-08 Michael Koch <konqueror@gmx.de>
mkoch [Thu, 8 Jan 2004 09:46:52 +0000 (09:46 +0000)]
2004-01-08  Michael Koch  <konqueror@gmx.de>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75543 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * simplify-rtx.c (simplify_immed_subreg): Fix construction of
rsandifo [Thu, 8 Jan 2004 08:21:15 +0000 (08:21 +0000)]
* simplify-rtx.c (simplify_immed_subreg): Fix construction of
floating-point constants.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75540 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * dwarf2out.c (subrange_type_die): Add context_die parameter.
brobecke [Thu, 8 Jan 2004 07:54:13 +0000 (07:54 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75537 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * dwarf2.h, unwind-dw2-fde.h, unwind-pe.h, unwind.h:
zack [Thu, 8 Jan 2004 07:50:46 +0000 (07:50 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75536 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gcc.dg/altivec-11.c: New test.
hpenner [Thu, 8 Jan 2004 07:27:09 +0000 (07:27 +0000)]
  * gcc.dg/altivec-11.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75535 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gcc/config/rs6000/rs6000.c (easy_vector_constant): Accept
hpenner [Thu, 8 Jan 2004 07:25:56 +0000 (07:25 +0000)]
  * gcc/config/rs6000/rs6000.c (easy_vector_constant): Accept
      all vector constant loadable by vsplt*.
      (output_vec_const_move): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75534 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR libgcj/13439:
tromey [Thu, 8 Jan 2004 05:27:39 +0000 (05:27 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75533 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * scripts/MakeDefaultMimeTypes.java: Use \n, not
tromey [Thu, 8 Jan 2004 05:20:31 +0000 (05:20 +0000)]
* scripts/MakeDefaultMimeTypes.java: Use \n, not
backslash-newline.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75532 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-07 Graydon Hoare <graydon@redhat.com>
graydon [Thu, 8 Jan 2004 03:52:52 +0000 (03:52 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75531 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * g++.dg/abi/vbase10.C: Use -mstructure-size-boundary=8 on ARM.
mmitchel [Thu, 8 Jan 2004 03:32:11 +0000 (03:32 +0000)]
* g++.dg/abi/vbase10.C: Use -mstructure-size-boundary=8 on ARM.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75529 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-07 Kelley Cook <kcook@gcc.gnu.org>
kcook [Thu, 8 Jan 2004 00:55:02 +0000 (00:55 +0000)]
2004-01-07  Kelley Cook  <kcook@gcc.gnu.org>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75528 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
gccadmin [Thu, 8 Jan 2004 00:16:10 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75525 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c/6024
jsm28 [Wed, 7 Jan 2004 22:24:44 +0000 (22:24 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75521 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-07 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 7 Jan 2004 22:17:01 +0000 (22:17 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75520 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago* approved by rth
fche [Wed, 7 Jan 2004 21:47:35 +0000 (21:47 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75518 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-07 David Jee <djee@redhat.com>
djee [Wed, 7 Jan 2004 21:20:01 +0000 (21:20 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75517 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * link.c [sgi] (shared_libgnat_default): Change to STATIC.
ro [Wed, 7 Jan 2004 20:58:20 +0000 (20:58 +0000)]
* link.c [sgi] (shared_libgnat_default): Change to STATIC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75516 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-07 Gawain Bolton <gp.bolton@computer.org>
bkoz [Wed, 7 Jan 2004 20:55:06 +0000 (20:55 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75515 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago PR c/12165
jsm28 [Wed, 7 Jan 2004 19:40:03 +0000 (19:40 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75514 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-07 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Wed, 7 Jan 2004 18:54:00 +0000 (18:54 +0000)]
2004-01-07  Andreas Tobler  <a.tobler@schweiz.ch>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75513 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-07 Michael Koch <konqueror@gmx.de>
mkoch [Wed, 7 Jan 2004 18:46:18 +0000 (18:46 +0000)]
2004-01-07  Michael Koch  <konqueror@gmx.de>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75512 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-07 Andreas Tobler <a.tobler@schweiz.ch>
andreast [Wed, 7 Jan 2004 18:46:04 +0000 (18:46 +0000)]
2004-01-07  Andreas Tobler  <a.tobler@schweiz.ch>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75511 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-07 Michael Koch <konqueror@gmx.de>
mkoch [Wed, 7 Jan 2004 18:40:08 +0000 (18:40 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75510 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago (re-open) PR libstdc++/12658
ljrittle [Wed, 7 Jan 2004 17:40:45 +0000 (17:40 +0000)]
(re-open) PR libstdc++/12658
* src/locale_init.cc (locale::locale): Remove ill-scoped mutex.
(locale::global): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75509 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-07 Paolo Carlini <pcarlini@suse.de>
paolo [Wed, 7 Jan 2004 17:13:51 +0000 (17:13 +0000)]
2004-01-07  Paolo Carlini  <pcarlini@suse.de>

* testsuite/27_io/basic_istream/extractors_other/char/9318-in.cc:
Remove redundant #include.
* testsuite/27_io/basic_ostream/endl/char/1.cc: Likewise.
* testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise,
re-enable normal testing.
* testsuite/27_io/basic_ostream/ends/char/2.cc: Remove redundant
#include.
* testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_character/char/1.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_character/char/2.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_character/char/3.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_character/char/4.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_character/char/5.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_character/char/6.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_character/char/8.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_character/wchar_t/7.cc:
More properly, #include <locale>.
* testsuite/27_io/basic_ostream/inserters_character/wchar_t/8.cc:
Remove redundant #include.
* testsuite/27_io/basic_ostream/inserters_other/char/2.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_other/char/3.cc: Remove
redundant DejaGnu directive.
* testsuite/27_io/basic_ostream/inserters_other/char/4.cc: Remove
redundant #include.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75508 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2004-01-07 Michael Koch <konqueror@gmx.de>
mkoch [Wed, 7 Jan 2004 16:51:49 +0000 (16:51 +0000)]
2004-01-07  Michael Koch  <konqueror@gmx.de>

* gnu/java/nio/DatagramChannelImpl.java
(blocking): Removed.
(DatagramChannelImpl): Call configureBlocking().
(implConfigureBlocking): Dont initialize blocking.
* gnu/java/nio/ServerSocketChannelImpl.java
(blocking): Removed.
(ServerSocketChannelImpl): Call configureBlocking().
(implConfigureBlocking): Dont initialize blocking.
* gnu/java/nio/SocketChannelImpl.java
(blocking): Removed.
(SocketChannelImpl): Call configureBlocking().
(implConfigureBlocking): Dont initialize blocking.
(connect): Use isBlocking().
* java/nio/channels/spi/AbstractSelectableChannel.java
(configureBlocking): Use blockingLock() instead of LOCK.
Set blocking after successfully called implConfigureBlocking().
(register): Use blockingLock() instead of LOCK.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75507 138bc75d-0d04-0410-961f-82ee72b054a4