OSDN Git Service

pf3gnuchains/gcc-fork.git
21 years ago * diagnostic.c: Reorder functions for clarity, putting all the
zack [Sun, 11 May 2003 02:06:12 +0000 (02:06 +0000)]
* diagnostic.c: Reorder functions for clarity, putting all the
functions in the "error" family next to each other, and
likewise all the functions in the "error_with_decl" family.
Some other routines were moved too.  Add comments.
(vbuild_message_string): Fold into sole caller.

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

21 years agoDaily bump.
gccadmin [Sun, 11 May 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

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

21 years ago * except.c (EH_RETURN_STACKADJ_RTX): Do not define.
uweigand [Sat, 10 May 2003 22:59:04 +0000 (22:59 +0000)]
* except.c (EH_RETURN_STACKADJ_RTX): Do not define.
(EH_RETURN_HANDLER_RTX): Likewise.
(expand_builtin_eh_return): Do not copy stack adjustment
if EH_RETURN_STACKADJ_RTX is not defined.
(expand_eh_return): Likewise.  Also, do not pass stack
adjustment as argument to the eh_return pattern.
* except.h (MUST_USE_SJLJ_EXCEPTIONS): Do not define just
because EH_RETURN_STACKADJ_RTX is not defined.
* unwind-dw.c (uw_update_context_1): If EH_RETURN_STACKADJ_RTX
is not defined, treat stack pointer like a regular register.
(uw_init_context_1): Set up fake initial stack pointer register.
(uw_install_context_1): Do not compute stack adjustment if
EH_RETURN_STACKADJ_RTX is not defined.

* config/i386/i386.md ("eh_return"): Remove first argument.
* config/mips/mips.md ("eh_return"): Likewise.
* config/rs6000/rs6000.md ("eh_return"): Likewise.
* config/sh/sh.md ("eh_return"): Likewise.

* config/s390/s390.h (EH_RETURN_STACKADJ_RTX): Remove.

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

21 years ago * config/i386/i386.h (MODES_TIEABLE_P): Fix typo.
ebotcazou [Sat, 10 May 2003 19:38:02 +0000 (19:38 +0000)]
* config/i386/i386.h (MODES_TIEABLE_P): Fix typo.

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

21 years ago * defaults.h (GCOV_TYPE_SIZE): Remove.
nathan [Sat, 10 May 2003 19:02:21 +0000 (19:02 +0000)]
* defaults.h (GCOV_TYPE_SIZE): Remove.
* gcov-io.h (gcov_type): Set to specific mode int on target.
(gcov_unsigned_t, gcov_position_t): New.
(GCOV_TYPE_NODE): New.
(GCOV_TAG_SUMMARY_LENGTH): Adjust.
(GCOV_COUNTERS_SUMMABLE): New.
(gcov_ctr_summary, gcov_sumary, gcov_fn_info, gcov_merge_fn,
gcov_ctr_info, gcov_info): Adjust types.
(gcov_var): Adjust types.
(gcov_write_unsigned, gcov_write_tag,
gcov_write_length, gcov_write_tag_length, gcov_write_summary,
gcov_read_unsigned, gcov_read_summary): Adjust gcov types.
(gcov_position, gcov_sync, gcov_seek): Adjust gcov types.
* gcov-io.c (gcov_write_unsigned, gcov_write_tag,
gcov_write_length, gcov_write_tag_length, gcov_write_summary,
gcov_read_unsigned, gcov_read_summary): Adjust gcov types.
* libgcov.c (gcov_crc32, gcov_version_mismatch, gcov_exit,
__gcov_init, __gcov_merge_add): Adjust gcov types.
* coverage.c (ctr_merge_functions): Constify.
(ctr_names): New.
(read_counts_file): Adjust gcov types. Only summarize & merge
summable counters.
(coverage_counter_ref): Use GCOV_TYPE_NODE.
(build_fn_info_type, build_fn_info_value, build_ctr_info_type,
build_ctr_info_value, build_gcov_info): Adjust types.
* profile.c (branch_prob): Adjust gcov types.
* gcov_dump (dump_file): Adjust gcov types.

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

21 years agoProperly remove previous patch.
kenner [Sat, 10 May 2003 17:31:13 +0000 (17:31 +0000)]
Properly remove previous patch.

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

21 years agodefer a mistake until later
korbb [Sat, 10 May 2003 17:01:29 +0000 (17:01 +0000)]
defer a mistake until later

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

21 years ago * pt.c (instantiate_decl): Call push/pop_deferring_access_checks.
lerdsuwa [Sat, 10 May 2003 15:58:45 +0000 (15:58 +0000)]
* pt.c (instantiate_decl): Call push/pop_deferring_access_checks.

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

21 years ago2003-05-10 Paolo Carlini <pcarlini@unitus.it>
paolo [Sat, 10 May 2003 15:05:15 +0000 (15:05 +0000)]
2003-05-10  Paolo Carlini  <pcarlini@unitus.it>

* testsuite/27_io/basic_filebuf/close/char/3.cc: Remove
unnecessary includes and unused string literals.
* testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.

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

21 years ago* arm.md (DOM_CC_X_AND_Y, DOM_CC_NX_OR_Y, DOM_CC_X_OR_Y): New
rearnsha [Sat, 10 May 2003 13:10:47 +0000 (13:10 +0000)]
* arm.md (DOM_CC_X_AND_Y, DOM_CC_NX_OR_Y, DOM_CC_X_OR_Y): New
constants.
(ior_scc_scc, and_scc_scc): New insn_and_split patterns.
* arm.c (arm_select_dominance_cc_mode): Renamed from
select_dominance_cc_mode, no-longer static.  Use DOM_CC... constants.
Callers updated.
* arm-protos.h (arm_select_dominance_cc_mode): Add prototype.

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

21 years agoRevert:
kenner [Sat, 10 May 2003 12:07:04 +0000 (12:07 +0000)]
Revert:

2003-05-09  Olivier Hainque <hainque@act-europe.fr>

* config/arm/vxxscale.h, config/arm/vxxscale-coff.h: New files.
* config/arm/vxxscale-elf.h, config/arm/t-vxxscale-elf: Likewise.
* config.gcc (xscale-coff-vxworks, xscale-wrs-vxworks): New new cases.
* fixinc/fixinc.copy: New file.
* fixinc/mkfixinc.sh (*-vxworks*): New case, using above.

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

21 years ago PR c++/9252
lerdsuwa [Sat, 10 May 2003 11:29:53 +0000 (11:29 +0000)]
PR c++/9252
* cp-tree.h (saved_scope): Remove check_access field.
(tsubst_flags_t): Remove tf_parsing.
* decl.c (maybe_push_to_top_level): Don't initialize
scope_chain->check_access.
(make_typename_type, make_unbound_class_template): Don't use
tf_parsing.
(register_dtor_fn): Use push/pop_deferring_access_checks
instead of scope_chain->check_access.
* method.c (use_thunk): Likewise.
* parser.c (cp_parser_explicit_instantiation
(cp_parser_constructor_declarator_p): Don't call
push/pop_deferring_access_checks here.
(cp_parser_template_argument, cp_parser_class_name): Don't use
tf_parsing.
(yyparse): Check flag_access_control.
* pt.c (instantiate_class_template): Call
push/pop_deferring_access_checks.
* semantics.c (push_deferring_access_checks): Propagate
dk_no_check.
(perform_or_defer_access_check): Make sure basetype_path is
a type before comparison.
* call.c (build_op_delete_call, build_over_call): Use
perform_or_defer_access_check.
* class.c (alter_access): Likewise.
* init.c (build_offset_ref): Likewise.
* lex.c (do_identifier): Likewise.
* method.c (hack_identifier): Likewise.
* search.c (lookup_member): Likewise.
* semantics.c (finish_non_static_data_member): Likewise.
(simplify_aggr_init_exprs_r): Use push/pop_deferring_access_checks
instead of flag_access_control.

* g++.dg/parse/access8.C: New test.
* g++.dg/parse/access9.C: New test.

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

21 years ago PR c++/9554
lerdsuwa [Sat, 10 May 2003 11:06:26 +0000 (11:06 +0000)]
PR c++/9554
* parser.c (cp_parser_class_name): Remove check_access parameter.
All caller adjusted.  Update declaration.
(cp_parser_lookup_name): Likewise.
* semantics.c (push_deferring_access_checks): Change parameter type
to enum deferring_kind.  All caller adjusted.
(resume_deferring_access_checks): Adjust to use new enum.
(stop_deferring_access_checks): Likewise.
(perform_or_defer_access_check): Likewise.
* cp-tree.h (deferring_kind): New enum.
(deferred_access): Adjust field type.
(push_deferring_access_checks): Update declaration.

* g++.dg/parse/access1.C: New test.

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

21 years ago2003-05-10 Michael Koch <konqueror@gmx.de>
mkoch [Sat, 10 May 2003 08:14:36 +0000 (08:14 +0000)]
2003-05-10  Michael Koch  <konqueror@gmx.de>

* javax/swing/plaf/ButtonUI.java,
javax/swing/plaf/ColorUIResource.java,
javax/swing/plaf/ComponentUI.java,
javax/swing/plaf/DimensionUIResource.java,
javax/swing/plaf/FontUIResource.java,
javax/swing/plaf/IconUIResource.java,
javax/swing/plaf/InsetsUIResource.java,
javax/swing/plaf/LabelUI.java,
javax/swing/plaf/ListUI.java,
javax/swing/plaf/OptionPaneUI.java,
javax/swing/plaf/PanelUI.java,
javax/swing/plaf/TabbedPaneUI.java,
javax/swing/plaf/TextUI.java,
javax/swing/plaf/TreeUI.java,
javax/swing/plaf/ViewportUI.java,
javax/swing/plaf/basic/BasicBorders.java,
javax/swing/plaf/basic/BasicButtonUI.java,
javax/swing/plaf/basic/BasicCheckBoxUI.java,
javax/swing/plaf/basic/BasicDefaults.java,
javax/swing/plaf/basic/BasicGraphicsUtils.java,
javax/swing/plaf/basic/BasicIconFactory.java,
javax/swing/plaf/basic/BasicLabelUI.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/BasicTabbedPaneUI.java,
javax/swing/plaf/basic/BasicTextUI.java,
javax/swing/plaf/basic/BasicToggleButtonUI.java,
javax/swing/plaf/basic/BasicTreeUI.java,
javax/swing/plaf/basic/BasicViewportUI.java,
javax/swing/plaf/metal/MetalLookAndFeel.java:
New versions from classpath. This adds copyrights to all files and
some serialVersionUIDs.

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

21 years ago2003-05-10 Michael Koch <konqueror@gmx.de>
mkoch [Sat, 10 May 2003 07:50:00 +0000 (07:50 +0000)]
2003-05-10  Michael Koch  <konqueror@gmx.de>

* java/nio/CharBuffer.java
(offset): Make it package-private.
(backing_buffer): Likewise.
* java/nio/DoubleBuffer.java
(offset): Make it package-private.
(backing_buffer): Likewise.
(put): Reformatted.
* java/nio/FloatBuffer.java
(offset): Make it package-private.
(backing_buffer): Likewise.
* java/nio/IntBuffer.java
(offset): Make it package-private.
(backing_buffer): Likewise.
* java/nio/LongBuffer.java
(offset): Make it package-private.
(backing_buffer): Likewise.
* java/nio/ShortBuffer.java
(offset): Make it package-private.
(backing_buffer): Likewise.

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

21 years ago2003-05-10 Michael Koch <konqueror@gmx.de>
mkoch [Sat, 10 May 2003 07:41:59 +0000 (07:41 +0000)]
2003-05-10  Michael Koch  <konqueror@gmx.de>

* java/nio/CharBuffer.java
(put): Fixed precondtion check.
(toString): Make it work without backing array.
(put): Skip one level of method calling.

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

21 years ago2003-05-10 Michael Koch <konqueror@gmx.de>
mkoch [Sat, 10 May 2003 07:12:48 +0000 (07:12 +0000)]
2003-05-10  Michael Koch  <konqueror@gmx.de>

* java/security/Identity.java,
java/security/IdentityScope.java,
java/security/Key.java,
java/security/KeyPair.java,
java/security/PrivateKey.java,
java/security/Provider.java,
java/security/PublicKey.java,
java/security/SecureRandom.java,
java/security/SecureRandomSpi.java,
java/security/SignedObject.java,
java/security/Signer.java,
java/security/cert/Certificate.java,
java/security/cert/PKIXCertPathBuilderResult.java,
java/security/cert/X509Certificate.java:
New versions from classpath.

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

21 years ago * config/alpha/alpha.c (alpha_start_function): Declare frame_size
sayle [Sat, 10 May 2003 02:05:36 +0000 (02:05 +0000)]
* config/alpha/alpha.c (alpha_start_function): Declare frame_size
as unsigned to avoid signed/unsigned comparison warnings.

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

21 years ago* g++.dg/other/stdarg1.C: Make sure arg "3" is passed as a
dj [Sat, 10 May 2003 01:07:38 +0000 (01:07 +0000)]
* g++.dg/other/stdarg1.C: Make sure arg "3" is passed as a
long, and not an int.

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

21 years agoDaily bump.
gccadmin [Sat, 10 May 2003 00:16:13 +0000 (00:16 +0000)]
Daily bump.

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

21 years ago * config/xtensa/xtensa.c (xtensa_emit_loop_end): Only use "nop.n"
bwilson [Fri, 9 May 2003 23:36:39 +0000 (23:36 +0000)]
    * config/xtensa/xtensa.c (xtensa_emit_loop_end): Only use "nop.n"
        instruction if the Xtensa density option is enabled.

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

21 years agoTreelang fixes including built failures on PPC and others.
timjosling [Fri, 9 May 2003 21:43:54 +0000 (21:43 +0000)]
Treelang fixes including built failures on PPC and others.

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

21 years ago2003-05-09 Matt Kraai <kraai@alumni.cmu.edu>
aldyh [Fri, 9 May 2003 20:14:52 +0000 (20:14 +0000)]
2003-05-09  Matt Kraai <kraai@alumni.cmu.edu>

       * mklibgcc.in: Remove extra quotes.

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

21 years ago * config/rs6000/rs6000.c (spe_init_builtins): Fix typo in creation
mmitchel [Fri, 9 May 2003 19:32:30 +0000 (19:32 +0000)]
* config/rs6000/rs6000.c (spe_init_builtins): Fix typo in creation
of int_ftype_void.

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

21 years ago * Makefile.in: Rebuilt.
tromey [Fri, 9 May 2003 19:16:54 +0000 (19:16 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am (nat_source_files): Removed old files.
* gnu/java/nio/natDoubleBufferImpl.cc: Removed.
* gnu/java/nio/natFloatBufferImpl.cc: Removed.
* gnu/java/nio/natIntBufferImpl.cc: Removed.
* gnu/java/nio/natLongBufferImpl.cc: Removed.
* gnu/java/nio/natShortBufferImpl.cc: Removed.

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

21 years ago * config/arm/vxxscale.h, config/arm/vxxscale-coff.h: New files.
kenner [Fri, 9 May 2003 19:06:56 +0000 (19:06 +0000)]
* config/arm/vxxscale.h, config/arm/vxxscale-coff.h: New files.
* config/arm/vxxscale-elf.h, config/arm/t-vxxscale-elf: Likewise.
* config.gcc (xscale-coff-vxworks, xscale-wrs-vxworks): New new cases.
* fixinc/fixinc.copy: New file.
* fixinc/mkfixinc.sh (*-vxworks*): New case, using above.

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

21 years ago* reload1.c (reload_cse_move2add): Don't turn an implicit
aoliva [Fri, 9 May 2003 17:16:54 +0000 (17:16 +0000)]
* reload1.c (reload_cse_move2add): Don't turn an implicit
truncation into a self-set in the narrow mode.

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

21 years ago* arm.md (clzsi2): The CLZ instruction is predicable.
rearnsha [Fri, 9 May 2003 17:10:30 +0000 (17:10 +0000)]
* arm.md (clzsi2): The CLZ instruction is predicable.

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

21 years ago * config/xtensa/xtensa.c: Formatting.
bwilson [Fri, 9 May 2003 16:05:46 +0000 (16:05 +0000)]
* config/xtensa/xtensa.c: Formatting.

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

21 years ago * tree-dump.c (dequeue_and_dump): Use CONSTRUCTOR_ELTS,
dnovillo [Fri, 9 May 2003 15:37:08 +0000 (15:37 +0000)]
* tree-dump.c (dequeue_and_dump): Use CONSTRUCTOR_ELTS,
instead of TREE_OPERAND to access the operand of a
CONSTRUCTOR node.

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

21 years ago PR c++/10555, c++/10576
lerdsuwa [Fri, 9 May 2003 15:10:28 +0000 (15:10 +0000)]
PR c++/10555, c++/10576
* pt.c (lookup_template_class): Handle class template with
multiple levels of parameters when one of the levels contain
errors.

* g++.dg/template/memclass1.C: New test.

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

21 years ago * update_version (ADD_BRANCHES): Add, set to MAIN and
gerald [Fri, 9 May 2003 15:05:41 +0000 (15:05 +0000)]
* update_version (ADD_BRANCHES): Add, set to MAIN and
tree-ssa-20020619-branch.
(BRANCHES): Always consider branches given by $ADD_BRANCHES.

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

21 years ago * tree-dump.c (dequeue_and_dump): CONSTRUCTOR nodes contain only
dnovillo [Fri, 9 May 2003 13:27:19 +0000 (13:27 +0000)]
* tree-dump.c (dequeue_and_dump): CONSTRUCTOR nodes contain only
one operand.

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

21 years ago * toplev.h (warning_with_file_and_line): Don't declare.
gdr [Fri, 9 May 2003 10:08:19 +0000 (10:08 +0000)]
* toplev.h (warning_with_file_and_line): Don't declare.
(error_with_file_and_line): Likewise.
* diagnostic.c (error_with_file_and_line): Remove.
(warning_with_file_and_line): Likewise.

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

21 years ago * c-parse.in (if_stmt_locus): New object.
gdr [Fri, 9 May 2003 09:25:34 +0000 (09:25 +0000)]
* c-parse.in (if_stmt_locus): New object.
(if_prefix rule): Use it.  Don't use warning_with_file_and_line.
(select_or_iter_stmt rule): Likewise.
(if_stmt_file): Remove.
(if_stmt_line): Likewise.
* jump.c: include "diagnostic.h"
(never_reached_warning): Don't use warning_with_file_and_line.
* Makefile.in (jump.o): Add dependce on diagnostic.h

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

21 years ago2003-05-09 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 9 May 2003 07:55:59 +0000 (07:55 +0000)]
2003-05-09  Michael Koch  <konqueror@gmx.de>

* gnu/java/nio/ByteBufferImpl.java
(nio_cast): Removed.
(ByteBufferImpl): Removed.
(nio_get_Byte): Removed.
(nio_put_Byte): Removed.
(asByteBuffer): Removed.
(asCharBuffer): Removed implementation and throw exception.
(asShortBuffer): Likewise.
(asIntBuffer): Likewise.
(asLongBuffer): Likewise.
(asFloatBuffer): Likewise.
(asDoubleBuffer): Likewise.
* gnu/java/nio/CharBufferImpl.java
(CharBufferImpl): Removed.
(nio_get_Byte): Removed.
(nio_put_Byte): Removed.
(asByteBuffer): Removed.
* gnu/java/nio/DoubleBufferImpl.java
(DoubleBufferImpl): Removed.
(nio_get_Byte): Removed.
(nio_put_Byte): Removed.
(asByteBuffer): Removed.
* gnu/java/nio/FloatBufferImpl.java
(FloatBufferImpl): Removed.
(nio_get_Byte): Removed.
(nio_put_Byte): Removed.
(asByteBuffer): Removed.
* gnu/java/nio/IntBufferImpl.java
(IntBufferImpl): Removed.
(nio_get_Byte): Removed.
(nio_put_Byte): Removed.
(asByteBuffer): Removed.
* gnu/java/nio/LongBufferImpl.java
(LongBufferImpl): Removed.
(nio_get_Byte): Removed.
(nio_put_Byte): Removed.
(asByteBuffer): Removed.
* gnu/java/nio/ShortBufferImpl.java
(ShortBufferImpl): Removed.
(nio_get_Byte): Removed.
(nio_put_Byte): Removed.
(asByteBuffer): Removed.
* gnu/java/nio/natByteBufferImpl.cc
(nio_cast): Removed.
(nio_get_Byte): Removed.
(nio_put_Byte): Removed.
* gnu/java/nio/natCharBufferImpl.cc
(nio_get_Byte): Removed.
(nio_put_Byte): Removed.

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

21 years ago2003-05-09 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 9 May 2003 07:11:11 +0000 (07:11 +0000)]
2003-05-09  Michael Koch  <konqueror@gmx.de>

* java/net/JarURLConnection.java
(getJarEntry): Merged documentation from classpath.
(getJarFile): Likewise.
(getMainAttributes): Likewise.
(getAttributes): Likewise.
(getManifest): Likewise.
(getCertificates): Reformatted.
* java/net/URLConnection.java:
Little classpath merge.

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

21 years ago2003-05-09 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 9 May 2003 07:10:58 +0000 (07:10 +0000)]
2003-05-09  Michael Koch  <konqueror@gmx.de>

* java/io/DataOutputStream.java
(writeShort): Made it synchronized.
(writeChar): Likewise.
(writeInt): Likewise.
(writeLong): Liekwise.
(writeUTF): Made it synchronized, renamed argument to match classpath.
* java/io/InputStreamReader.java
(converter): Added documentation.
(read): Merged documentation from classpath.
* java/io/OutputStreamWriter.java
(OutputStreamWriter): Merged documentation from classpath.
(close): Reformatted.
(getEncoding): Likewise.
(flush): Likewise.
(write): Merged documentation from classpath, reformatted.

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

21 years ago * expr.c (move_block_from_reg): Remove "size" parm. Localize vars.
amodra [Fri, 9 May 2003 06:37:25 +0000 (06:37 +0000)]
* expr.c (move_block_from_reg): Remove "size" parm.  Localize vars.
Move code handling pieces not larger than a word to..
* function.c (assign_parms): ..here, but use change_address instead
of adjust_address and operand_subword, and expand_binop instead of
expand_shift.  Adjust calls to move_block_from_reg.
* expr.h (move_block_from_reg): Update declaration.
(copy_blkmode_from_reg): Formatting.
* Makefile.in (function.o): Add $(OPTABS_H) to deps.
* config/alpha/alpha.c (alpha_setup_incoming_varargs): Adjust
move_block_from_reg calls.
* config/arc/arc.c (arc_setup_incoming_varargs): Likewise.
* config/i960/i960.c (i960_setup_incoming_varargs): Likewise.
* config/m32r/m32r.c (m32r_setup_incoming_varargs): Likewise.
* config/m88k/m88k.c (m88k_builtin_saveregsk): Likewise.
* config/mips/mips.c (mips_setup_incoming_varargs): Likewise.
* config/pa/pa.c (hppa_builtin_saveregs): Likewise.
* config/romp/romp.h (SETUP_INCOMING_VARARGS): Likewise.
* config/rs6000/rs6000.c (setup_incoming_varargs): Likewise.
* config/sh/sh.c (sh_builtin_saveregs): Likewise.

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

21 years agoDaily bump.
gccadmin [Fri, 9 May 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

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

21 years ago* config/stormy16/stormy16.c (xstormy16_expand_builtin_va_arg): Fix
dj [Fri, 9 May 2003 00:00:44 +0000 (00:00 +0000)]
* config/stormy16/stormy16.c (xstormy16_expand_builtin_va_arg): Fix
to handle arguments for which MUST_PASS_IN_STACK is true (e.g.,
variable-sized types).
(xstormy16_function_arg): New.  Pass them that way too.
* config/stormy16/stormy16-protos.h (xstormy16_function_arg): New.
* config/stormy16/stormy16.h (FUNCTION_ARG): Call it.

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

21 years ago* gcc.c-torture/execute/20020404-1.x: New, skip for 16-bit
dj [Thu, 8 May 2003 23:38:04 +0000 (23:38 +0000)]
* gcc.c-torture/execute/20020404-1.x: New, skip for 16-bit
targets.
* gcc.c-torture/execute/20021024-1.x: Likewise.
* gcc.c-torture/execute/shiftdi.x: Likewise.
* g++.old-deja/g++.mike/p700.C: Handle 16-bit targets.
* g++.old-deja/g++.other/exprstmt1.C: Likewise.
* gcc.dg/20021018-1.c: Likewise.

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

21 years agoSolaris 7 .register fix.
green [Thu, 8 May 2003 20:41:24 +0000 (20:41 +0000)]
Solaris 7 .register fix.

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

21 years ago2003-05-07 Aldy Hernandez <aldyh@redhat.com>
aldyh [Thu, 8 May 2003 20:10:57 +0000 (20:10 +0000)]
2003-05-07  Aldy Hernandez  <aldyh@redhat.com>

        * mklibgcc.in: Use mkinstalldirs when installing multilib
        directories.

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

21 years ago * sh.c (gen_block_redirect, split_branches): Use CODE_FOR_jump_compact
amylaar [Thu, 8 May 2003 19:36:55 +0000 (19:36 +0000)]
* sh.c (gen_block_redirect, split_branches): Use CODE_FOR_jump_compact
instead of CODE_FOR_jump

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

21 years ago * configure.host <powerpc64*-*>: Set with_libffi_default and
tromey [Thu, 8 May 2003 18:53:44 +0000 (18:53 +0000)]
* configure.host <powerpc64*-*>: Set with_libffi_default and
libgcj_interpreter to "yes".

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

21 years ago2003-05-08 Scott Gilbertson <scottg@mantatest.com>
tromey [Thu, 8 May 2003 18:51:51 +0000 (18:51 +0000)]
2003-05-08  Scott Gilbertson  <scottg@mantatest.com>

* gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.

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

21 years ago * objc/objc-act.c (error_with_ivar): Don't use
gdr [Thu, 8 May 2003 17:32:30 +0000 (17:32 +0000)]
* objc/objc-act.c (error_with_ivar): Don't use
error_with_file_and_line.
(warn_with_method): Don't use warning_with_file_and_line.

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

21 years ago * stmt.c (emit_locus): New macro.
gdr [Thu, 8 May 2003 17:09:09 +0000 (17:09 +0000)]
* stmt.c (emit_locus): New macro.
(emit_filename): Remove.
(emit_lineno): Likewise.
(struct stmt_status): Replace members x_emit_filename and
x_emit_lineno with x_emit_locus.
(set_file_and_line_for_stmt): Adjust.
(expand_expr_stmt_value): Don't use warning_with_file_and_file.
(warn_if_unused_value): Likewise.
(check_seenlabel): Likewise.

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

21 years agoFix an entry.
obrien [Thu, 8 May 2003 16:27:20 +0000 (16:27 +0000)]
Fix an entry.

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

21 years ago * g++.dg/other/packed1.C: Mark xfail for sparc*- not sparc-.
ghazi [Thu, 8 May 2003 15:10:01 +0000 (15:10 +0000)]
* g++.dg/other/packed1.C: Mark xfail for sparc*- not sparc-.

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

21 years ago * c-decl.c (define_label): Tidy. Don't use any of
gdr [Thu, 8 May 2003 15:04:44 +0000 (15:04 +0000)]
* c-decl.c (define_label): Tidy.  Don't use any of
error_with_file_and_line or warning_with_file_and_file.
(pending_xref_error): Likewise.
(store_parm_decls): Likewise.
(current_function_prototype_locus): New object.  Package from
current_function_prototype_file and current_function_prototype_line.
(start_function): Use it.
(current_function_prototype_file): Remove.
(current_function_prototype_line): Remove;

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

21 years agogcc:
ghazi [Thu, 8 May 2003 13:45:38 +0000 (13:45 +0000)]
gcc:
* builtins.c (readonly_data_expr): New function.
(expand_builtin_memmove): Optimize any rodata source, not just
strings.

testsuite
gcc.c-torture/execute/string-opt-19.c: Add general rodata tests.
(bcopy): Call memmove.

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

21 years ago PR fortran/8485
sayle [Thu, 8 May 2003 13:13:59 +0000 (13:13 +0000)]
PR fortran/8485
* target.h (FFETARGET_REAL_VALUE_FROM_INT_): Cast to
HOST_WIDE_INT instead of long.
(FFETARGET_REAL_VALUE_FROM_LONGLONG_): New macro.
(FFETARGET_LONGLONG_FROM_INTS_): New macro.
(ffetarget_convert_complex1_integer4): Implement.
(ffetarget_convert_complex2_integer4): Implement.
(ffetarget_convert_integer4_complex1): Implement.
(ffetarget_convert_integer4_complex2): Implement.
(ffetarget_convert_integer4_real1): Implement.
(ffetarget_convert_integer4_real2): Implement.
(ffetarget_convert_real1_integer4): Implement.
(ffetarget_convert_real2_integer4): Implement.
* com.c (ffecom_constantunion): Handle INTEGER*8.
(ffecom_constantunion_with_type): Likewise.

* g77.f-torture/compile/8485.f: New test case.

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

21 years ago2003-05-08 Paolo Carlini <pcarlini@unitus.it>
paolo [Thu, 8 May 2003 11:47:45 +0000 (11:47 +0000)]
2003-05-08  Paolo Carlini  <pcarlini@unitus.it>

* include/std/std_streambuf.h (setg, setp): Don't touch _M_mode.

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

21 years ago * init.c (build_new_1): Don't reuse a TARGET_EXPR in an
jason [Thu, 8 May 2003 05:58:44 +0000 (05:58 +0000)]
    * init.c (build_new_1): Don't reuse a TARGET_EXPR in an
        expression.  Undo some of the recent reorg.

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

21 years ago * unwind-libunwind.c (_Unwind_FindEnclosingFunction): New.
rth [Thu, 8 May 2003 01:15:40 +0000 (01:15 +0000)]
    * unwind-libunwind.c (_Unwind_FindEnclosingFunction): New.

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

21 years ago * config/i386/i386.c (ix86_split_long_move): Fix base register
rth [Thu, 8 May 2003 00:51:15 +0000 (00:51 +0000)]
    * config/i386/i386.c (ix86_split_long_move): Fix base register
        mode for XFmode splits for TARGET_64BIT.

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

21 years ago * sched-ebb.c (schedule_ebb): Supply the correct starting
rth [Thu, 8 May 2003 00:18:48 +0000 (00:18 +0000)]
    * sched-ebb.c (schedule_ebb): Supply the correct starting
        block number to save_line_notes.

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

21 years ago * toplev.c (enum dump_file_index): Swap DFI_ce3, DFI_bbro.
rth [Thu, 8 May 2003 00:16:31 +0000 (00:16 +0000)]
    * toplev.c (enum dump_file_index): Swap DFI_ce3, DFI_bbro.
        (dump_file): Likewise.

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

21 years agoDaily bump.
gccadmin [Thu, 8 May 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.

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

21 years ago * config/ia64/crtbegin.asm (__do_jv_register_classes): Don't
rth [Wed, 7 May 2003 22:29:33 +0000 (22:29 +0000)]
    * config/ia64/crtbegin.asm (__do_jv_register_classes): Don't
        forget to preserve gp.
        * config/ia64/crtend.asm (__do_global_ctors_au): Ditto.

        * config/ia64/crtbegin.asm (__do_jv_register_classes): Add missing
        .prologue directive.
        Use .skip instead of data8 for .bss section to make Intel
        Assembler (ias) happy.  Minor whitespace fixups.  Make "nop 0"
        explicit in the .mib bundles and remove the unnecessary stop
        bits.  Replace local labels with normal labels, to make ias
        happy.  Don't register __do_global_ctors_aux here, do it in
        crtend.asm instead.

        * config/ia64/crtend.asm [HAVE_INIT_FINI_ARRAY]: Register
        __do_global_ctors_aux in .init_array section instead of
        declaring it as a hidden global.  Replace local labels with
        ordinary labels to make ias happy.

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

21 years agogcc/
rth [Wed, 7 May 2003 22:11:38 +0000 (22:11 +0000)]
gcc/
        * except.c: Revert 04-01 and 04-02 forced-unwind changes.
        * flags.h, toplev.c, doc/invoke.texi: Likewise.

        * unwind-dw2.c (_Unwind_GetCFA): Fix ptr->int conversion warning.
        * unwind.inc (_Unwind_DeleteException): Check for null
        exception_cleanup.

        * unwind-sjlj.c (_Unwind_SjLj_Resume_or_Rethrow): New.
        * unwind.inc (_Unwind_Resume_or_Rethrow): New.
        * unwind.h: Declare them.
        * libgcc-std.ver (GCC_3.3): Export them.

gcc/cp/
        * cfns.gperf: Comment out POSIX thread cancellation points,
        plus abort and raise.
        * cfns.h: Regenerate.

gcc/testsuite/
        * g++.dg/eh/forced1.C: Expect catch-all handlers to run.
        Verify exception_cleanup not called for rethrows.
        * g++.dg/eh/forced2.C: Test that exception_cleanup is called
        when exiting catch block without rethrowing.
        * g++.dg/eh/forced3.C: New.
        * g++.dg/eh/forced4.C: New.

libstdc++-v3/
        * libsupc++/eh_catch.cc (__cxa_begin_catch): Handle foreign exceptions.
        (__cxa_end_catch): Likewise.
        * libsupc++/eh_throw.cc (__cxa_rethrow): Likewise.  Use
        _Unwind_Resume_or_Rethrow.
        * libsupc++/eh_personality.cc (empty_exception_spec): New.
        (PERSONALITY_FUNCTION): Don't ignore terminate or catch-all
        for _UA_FORCE_UNWIND.  Honor empty filter spec for foreign
        exceptions.  Don't push terminate/unexpected to cxa functions.
        (__cxa_call_unexpected): Remove foreign exception fixmes.

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

21 years agoFix typo in last changelog entry.
rth [Wed, 7 May 2003 22:03:58 +0000 (22:03 +0000)]
Fix typo in last changelog entry.

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

21 years ago * unwind-dw2.c (_Unwind_GetGR): Cast pointer to _Unwind_Ptr,
rth [Wed, 7 May 2003 22:01:37 +0000 (22:01 +0000)]
    * unwind-dw2.c (_Unwind_GetGR): Cast pointer to _Unwind_Ptr,
        not _Unwind_Word.

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

21 years ago2003-05-07 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 7 May 2003 21:27:29 +0000 (21:27 +0000)]
2003-05-07  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/27_io/ios_base/cons: New.
* testsuite/27_io/ios_base/cons/assign_neg.cc: New.
* testsuite/27_io/ios_base/cons/copy_neg.cc: New.

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

21 years ago * stmt.c (force_label_rtx): New function, based on logic
zack [Wed, 7 May 2003 21:14:48 +0000 (21:14 +0000)]
* stmt.c (force_label_rtx): New function, based on logic
formerly found in expand_expr.
* expr.h: Prototype it.
* expr.c (expand_expr <LABEL_DECL>): Use force_label_rtx if
appropriate.
* varasm.c (decode_addr_const <LABEL_DECL>): Use force_label_rtx.

* print-tree.c (debug_tree): Free the table after we're done
with it.  Use putc.

treelang:
* Make-lang.in: Set -Wno-error for treelang/lex.o.

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

21 years agos/burtle/iterative
jason [Wed, 7 May 2003 20:30:32 +0000 (20:30 +0000)]
s/burtle/iterative

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

21 years agofix typo
aldyh [Wed, 7 May 2003 20:05:27 +0000 (20:05 +0000)]
fix typo

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

21 years ago2003-05-07 Aldy Hernandez <aldyh@redhat.com>
aldyh [Wed, 7 May 2003 20:02:34 +0000 (20:02 +0000)]
2003-05-07  Aldy Hernandez  <aldyh@redhat.com>

        * gcc.dg/200305051.c: Fix triplet.

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

21 years ago2003-05-07 Aldy Hernandez <aldyh@redhat.com>
aldyh [Wed, 7 May 2003 18:20:08 +0000 (18:20 +0000)]
2003-05-07  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/spe.h: Reverse arguments for __ev_subfw.
        Unreverse arguments for __ev_subw.

        * config/rs6000/spe.md (evsubfw): Reverse arguments of assembly.

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

21 years ago * splay-tree.c (splay_tree_predecessor): Fix comment.
zlomek [Wed, 7 May 2003 18:19:36 +0000 (18:19 +0000)]
* splay-tree.c (splay_tree_predecessor): Fix comment.
(splay_tree_successor): Fix comment.

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

21 years agolibiberty/
jason [Wed, 7 May 2003 18:07:58 +0000 (18:07 +0000)]
libiberty/
        * hashtab.c (burtle_hash): New fn.
        * configure.in: Add AC_C_BIGENDIAN_CROSS.
        * aclocal.m4: Include accross.m4.
        * configure, config.in: Regenerate.
include/
        * hashtab.h (burtle_hash): Prototype.
        (burtle_hash_object): New macro.

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

21 years agoUpdate to include R_XSTORMY16_FPTR16, R_XSTORMY16_LO16, R_XSTORMY16_HI16 and
nickc [Wed, 7 May 2003 15:12:32 +0000 (15:12 +0000)]
Update to include R_XSTORMY16_FPTR16, R_XSTORMY16_LO16, R_XSTORMY16_HI16 and
R_XSTORMY16_12 relocs.

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

21 years ago * call.c (build_conditional_expr): Don't assume that the folded
jason [Wed, 7 May 2003 15:00:10 +0000 (15:00 +0000)]
    * call.c (build_conditional_expr): Don't assume that the folded
        expression has result_type.

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

21 years ago * function.c (assign_parms): Correct reversed reg_parm_stack_space
amodra [Wed, 7 May 2003 13:37:57 +0000 (13:37 +0000)]
* function.c (assign_parms): Correct reversed reg_parm_stack_space
test.  Add partial in-regs size to stack_args_size.

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

21 years ago2003-05-07 Paolo Carlini <pcarlini@unitus.it>
paolo [Wed, 7 May 2003 12:48:58 +0000 (12:48 +0000)]
2003-05-07  Paolo Carlini  <pcarlini@unitus.it>

* include/std/std_fstream.h (_M_is_indeterminate): Remove.
* src/fstream.cc
(basic_filebuf<char/wchar_t>::_M_underflow): Simplify: either
there is no buffer or __testget == !__testinit.

* src/fstream.cc
(basic_filebuf<char/wchar_t>::_M_underflow): _M_set_determinate()
automatically sets, if appropriate, _M_out_cur == _M_in_cur.

* include/std/std_fstream.h (_M_destroy_pback): Don't set
unnecessarily _M_pback_cur_save and _M_pback_end_save.

* include/std/std_fstream.h (_M_set_determinate): Minor tweak.

* include/std/std_sstream.h (_M_sync): Minor tweak.

* include/bits/fstream.tcc (close): No need to call
_M_destroy_pback, setting _M_pback_init to false suffices
to clean up.

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

21 years ago * doc/invoke.texi (Warning Options): Mark -Wmissing-declarations
gerald [Wed, 7 May 2003 12:28:18 +0000 (12:28 +0000)]
* doc/invoke.texi (Warning Options): Mark -Wmissing-declarations
as a C only option.

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

21 years ago * gcov-io.h (GCOV_LOCKED): New #define.
nathan [Wed, 7 May 2003 10:40:09 +0000 (10:40 +0000)]
* gcov-io.h (GCOV_LOCKED): New #define.
(GCOV_LINKAGE): Make sure it is #defined.
(gcov_write_string, gcov_write_tag, gcov_write_length,
gcov_read_string, gcov_time): Poison in libgcov.
(gcov_seek_end): Remove.
(gcov_write_tag_length, gcov_sync, gcov_rewrite): New.
(GCOV_TAG_FUNCTION_LENGTH, GCOV_TAG_BLOCKS_LENGTH,
GCOV_TAG_ARCS_LENGTH, GCOV_TAG_COUNTER_LENGTH,
GCOV_TAG_SUMMARY_LENGTH): New #defines.
(gcov_write_tag, gcov_write_length): Not in libgcov.
* gcov-io.c (gcov_open): Use GCOV_LOCKED.
(gcov_write_tag, gcov_write_length): Not in libgcov.
(gcov_write_tag_length): New.
(gcov_write_summary): Use gcov_write_tag_length.
* libgcov.c: Always #include gcov-io.h.
(IN_LIBGCOV): -1 for inhibit_libc, +1 otherwise.
(GCOV_LINKAGE): Define to nothing for L_gcov.
(gcov_exit): Replace gcov_write_tag, gcov_write_length with
gcov_write_tag_length. Use gcov_rewrite & gcov_seek.
* gcov.c (read_graph_file): Replace gcov_seek by gcov_sync.
(read_count_file): Likewise.
* gcov-dump.c (dump_file): Likewise.
* coverag.c (read_counts_file): Likewise.

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

21 years ago PR other/10658
mmitchel [Wed, 7 May 2003 06:10:49 +0000 (06:10 +0000)]
PR other/10658
* gcc.c (process_command): Update copyright date.

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

21 years ago2003-05-06 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 7 May 2003 05:01:59 +0000 (05:01 +0000)]
2003-05-06  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/stl_algo.h: Enums as _S_.
* include/bits/stl_tree.h: Same.
* include/bits/stl_bvector.h: Same.
* include/bits/ios_base.h: Same.
* include/bits/stl_alloc.h: Same.
* include/ext/stl_hashtable.h: Same.
* src/ios.cc: And here.

* include/std/std_sstream.h: Replace _M_really_sync to _M_sync.
* include/bits/sstream.tcc: Same.

        * include/bits/basic_ios.h: Correct spacing for '< ctype'.

* include/bits/locale_facets.tcc: Replace __temp to __tmp.

* include/bits/locale_facets.h (__num_base): Remove protected.
Use _S_[io]* names for enumerations.
(_S_format_int): Remove.
* include/bits/locale_facets.tcc: Same.
* src/locale.cc: Same.

* include/std/std_sstream.h (stringbuf::str): Tweak formatting.

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

21 years agoCorrect spurious whitespace differences
korbb [Wed, 7 May 2003 01:29:58 +0000 (01:29 +0000)]
Correct spurious whitespace differences

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

21 years ago * verify.cc: Reverted previous patch.
tromey [Wed, 7 May 2003 01:25:20 +0000 (01:25 +0000)]
* verify.cc: Reverted previous patch.

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

21 years ago * libjava.lang/verify.java: New file.
tromey [Wed, 7 May 2003 01:23:16 +0000 (01:23 +0000)]
* libjava.lang/verify.java: New file.
* libjava.lang/verify.out: New file.

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

21 years agoDaily bump.
gccadmin [Wed, 7 May 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

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

21 years agoFix typo in previous commit (3.3 not 3.3.0).
pme [Tue, 6 May 2003 23:20:14 +0000 (23:20 +0000)]
Fix typo in previous commit (3.3 not 3.3.0).

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

21 years ago2003-05-06 Phil Edwards <pme@gcc.gnu.org>
pme [Tue, 6 May 2003 23:17:59 +0000 (23:17 +0000)]
2003-05-06  Phil Edwards  <pme@gcc.gnu.org>

* doc/install.texi (mips-*-*):  Add note about libstdc++.

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

21 years ago* config/stormy16/stormy16.c (xstormy16_function_profiler): New.
dj [Tue, 6 May 2003 22:47:45 +0000 (22:47 +0000)]
* config/stormy16/stormy16.c (xstormy16_function_profiler): New.
* config/stormy16/stormy16.h (FUNCTION_PROFILER): Call it.
* config/stormy16/stormy16-protos.h (xstormy16_function_profiler): New.

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

21 years ago* gcc.dg/20021014-1.c: XFAIL for xstormy16 also.
dj [Tue, 6 May 2003 22:47:03 +0000 (22:47 +0000)]
* gcc.dg/20021014-1.c: XFAIL for xstormy16 also.
* gcc.dg/nest.c: Likewise.

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

21 years ago2003-05-06 Phil Edwards <pme@gcc.gnu.org>
pme [Tue, 6 May 2003 22:23:25 +0000 (22:23 +0000)]
2003-05-06  Phil Edwards  <pme@gcc.gnu.org>

* docs/html/faq/index.html (3.10):  Add note about mips atomicity.h.
* docs/html/faq/index.txt:  Regenerated.

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

21 years ago2003-05-06 Eric Botcazou <ebotcazou@libertysurf.fr>
bkoz [Tue, 6 May 2003 20:58:44 +0000 (20:58 +0000)]
2003-05-06  Eric Botcazou  <ebotcazou@libertysurf.fr>

* config-ml.in: Propagate INSTALL variables.

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

21 years ago * c-opts.c (COMMAND_LINE_OPTIONS): Reject -Wmissing-prototypes
neil [Tue, 6 May 2003 20:42:32 +0000 (20:42 +0000)]
* c-opts.c (COMMAND_LINE_OPTIONS): Reject -Wmissing-prototypes
and -Wstrict-prototypes if C++.

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

21 years ago2003-05-06 Aldy Hernandez <aldyh@redhat.com>
aldyh [Tue, 6 May 2003 19:49:21 +0000 (19:49 +0000)]
2003-05-06  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/linuxspe.h: New file.

        * config.gcc: Add powerpc-*-linux-gnuspe* target.

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

21 years agoAnd retweak.
ljrittle [Tue, 6 May 2003 19:31:39 +0000 (19:31 +0000)]
And retweak.

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

21 years ago * unwind-dw2.c (uw_update_context_1): Only set cfa as sp if
rth [Tue, 6 May 2003 17:28:37 +0000 (17:28 +0000)]
    * unwind-dw2.c (uw_update_context_1): Only set cfa as sp if
        previous frame didn't save sp.  Clear sp for next frame.
        (uw_install_context_1): Honor saved sp from frame.

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

21 years ago * include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): Tweak.
ljrittle [Tue, 6 May 2003 14:32:52 +0000 (14:32 +0000)]
* include/ext/stl_rope.h (_Rope_RopeRep<>::_M_c_string_lock): Tweak.

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

21 years ago * typeck.c (build_unary_op): Deal with const qualifier in
lerdsuwa [Tue, 6 May 2003 14:02:09 +0000 (14:02 +0000)]
* typeck.c (build_unary_op): Deal with const qualifier in
invalid pointer-to-member earlier.

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

21 years ago * config/mips/mips-protos.h (mips_subword, mips_output_move): Declare.
rsandifo [Tue, 6 May 2003 11:23:42 +0000 (11:23 +0000)]
* config/mips/mips-protos.h (mips_subword, mips_output_move): Declare.
(mips_move_1word, mips_move_2words): Remove declaration.
(mips_split_64bit_move_p, mips_split_64bit_move): Declare.
(mips_restore_gp): Remove insn argument.
* config/mips/mips.h (FP_REG_RTX_P): New macro.
* config/mips/mips.c (volatile_buffer): Remove.
(mips_subword, mips_split_64bit_move_p, mips_split_64bit_move): New.
(mips_move_1word, mips_move_2words): Remove, replacing with...
(mips_output_move): ...this new function.
(mips_restore_gp): Remove insn argument.  Adjust for above changes.
(print_operand): Make '%h' print %hi(op) for HIGH operands.  Remove
handling of floating-point constants.  Handle zero CONST_DOUBLE
arguments.
(mips_annotate_frame_insn): Replace with...
(mips_set_frame_expr): ...this, which just takes one argument.
(mips_frame_set): Change the register argument to an rtx.
(mips_emit_frame_related_store): Use mips_split_64bit_move_p to
check whether moves should be split.  Use mips_split_64bit_move
to split them.  Use mips_subword to generate the high and low
parts of a paired FPR.  Adjust calls to frame_set and
mips_set_frame_expr.
(mips_expand_prologue): Simplify due to above changes.
* config/mips/mips.md: Add splitters for 64-bit moves on 32-bit
targets, replacing xisting register-only versions.
(UNSPEC_STORE_DF_HIGH): New unspec.
(UNSPEC_LOAD_DF_LOW, UNSPEC_LOAD_DF_HIGH): New unspecs.
(mulsi3_r4000, muldi3_internal2): Avoid use of mips_move_1word.
(*paradoxical_extendhidi2): Remove.
(movdi_internal, movdi_internal2): Use mips_output_move.
(*movdi_internal2_mips16, movsi_internal, movcc): Likewise.
(movsf_internal1, movsf_internal2): Likewise.
(movdf_internal1a): Likewise.  Fix length and type of f <- G case.
(movdf_internal1b): Use mips_output_move.  Fix type of f <- G case.
(movdf_internal2): Use mips_output_move.  Fix lengths of FPR moves.
Add m <- G alternative.
(load_df_low, load_df_high, store_df_low): New patterns.
(movhi_internal): Use @ template instead of calling a function.
Remove unnecessary 'z' alternatives.
(movqi_internal): Likewise.
(exception_receiver): Update call to mips_restore_gp.

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

21 years ago2003-05-06 Michael Koch <konqueror@gmx.de>
mkoch [Tue, 6 May 2003 10:07:28 +0000 (10:07 +0000)]
2003-05-06  Michael Koch  <konqueror@gmx.de>

* java/io/DataOutputStream.java
(write): Renamed argument to "value", merged documentation from
classpath.
(writeBoolean): Likewise.
(writeByte): Likewise.
(writeShort): Likewise.
(writeChar): Likewise.
(writeInt): Likewise.
(writeLong): Likewise.
(writeFloat): Likewise.
(writeDouble): Likewise.
(writeBytes): Likewise.
(writeChars): Likewise.
(writeUTF): Likewise.
* java/io/File.java
(performDelete): Added documentation.
(performList): Likewise.
(performMkdir): Likewise.
(performSetReadOnly): Likewise.
(performRenameTo): Likewise.
(performSetLastModified): Likewise.
(delete): Made it sychronized.
(renameTo): Made it sychronized.
(equals): Reformatted.
(isHidden): Likewise.
(listFiles): Likewise.
(setReadOnly): Likewise.
(listRoots): Likewise.
(setLastModified): Likewise.
(checkRead): Likewise.
(checkWrite): Likewise.
* java/io/FileInputStream.java
(skip): Made it sychronized, merged from classpath.
* java/io/FileOutputStream.java
(write): Merged from classpath.
* java/io/InputStreamReader.java:
(InputStreamReader): Merged documentation from classpath.

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

21 years agotreelang:
nathan [Tue, 6 May 2003 09:18:46 +0000 (09:18 +0000)]
treelang:
* Make-lang.in (treelang/tree1.o): Depends on input.h
(treelang/treetree.o, treelang/parse.o, treelang/lex.o): Likewise.
* treelang.h: #include input.h.
(in_fname): Remove.
(struct token_part): Remove lineno, add location.
* lex.l (next_tree_lineno): Remove.
(update_lineno_charno): Adjust.
(dump_lex_value): Adjust.
* parse.y (variable_def, function_prototype, function, statement,
if_statement, return, function_invocation, variable_ref): Adjust.
(print_token, yyerror, ensure_not_void): Adjust.
tree1.c (in_fname): Remove.
(treelang_init): Setup input_location.
(lookup_tree_name): Adjust.
(insert_tree_name): Adjust.
* treetree.c (tree_code_if_start): Replace filename and lineno
parms with loc. Adjust.
(tree_code_if_else, tree_code_if_end,
tree_code_create_function_prototype,
tree_code_create_function_initial,
tree_code_create_function_wrapup, tree_code_create_variable,
tree_code_output_expression_statement): Likewise.
* treetree.h (tree_code_if_start): Replace filename and lineno
parms with loc.
(tree_code_if_else, tree_code_if_end,
tree_code_create_function_prototype,
tree_code_create_function_initial,
tree_code_create_function_wrapup, tree_code_create_variable,
tree_code_output_expression_statement): Likewise.

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