OSDN Git Service

pf3gnuchains/gcc-fork.git
20 years ago * target-def.h: Remove usage of OBJECT_FORMAT_ROSE.
aj [Sun, 29 Jun 2003 18:34:38 +0000 (18:34 +0000)]
* target-def.h: Remove usage of OBJECT_FORMAT_ROSE.
* system.h: Poison OBJ_FORMAT_ROSE.
* doc/tm.texi (Macros for Initialization): Remove documentatin of
OBJECT_FORMAT_ROSE.
* config/rs6000/lynx.h: Remove undef of OBJECT_FORMAT_ROSE.
* collect2.c: Remove usage of OBJECT_FORMAT_ROSE.

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

20 years ago * pa.c (update_total_code_bytes): New function.
danglin [Sun, 29 Jun 2003 18:21:57 +0000 (18:21 +0000)]
    * pa.c (update_total_code_bytes): New function.
(last_address): Number of bytes output for a function and its
associated thunks.
(compute_frame_size): Use BITS_PER_UNIT.
(pa_output_function_epilogue): Compute last_address.  Use
update_total_code_bytes.
(output_lbranch): Handle long branch on portable runtime.
(attr_length_millicode_call, attr_length_call,
attr_length_indirect_call): Only use total_code_bytes for calls in
the text section.
(output_call): Only use an indirect call sequence when the target is
not local.
(pa_asm_output_mi_thunk): Handle updating of total_code_bytes.  Improve
test to determine when an IA-relative branch can be used.  Add various
long branch sequences.  Avoid using an indirect branch on all ports
except SOM.

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

20 years ago * expr.c (clear_by_pieces): Fix prototype.
uweigand [Sun, 29 Jun 2003 17:47:37 +0000 (17:47 +0000)]
   * expr.c (clear_by_pieces): Fix prototype.

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

20 years ago * config.gcc: Add 970.
dje [Sun, 29 Jun 2003 17:36:44 +0000 (17:36 +0000)]
    * config.gcc: Add 970.

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

20 years ago * except.c: Convert prototypes to ISO C90.
aj [Sun, 29 Jun 2003 16:21:58 +0000 (16:21 +0000)]
* except.c: Convert prototypes to ISO C90.
* except.h: Likewise.
* emit-rtl.c: Likewise.
* et-forest.c: Likewise.
* et-forest.h: Likewise.
* except.c: Likewise.
* explow.c: Likewise.
* expmed.c: Likewise.
* expr.c: Likewise.
* expr.h: Likewise.

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

20 years ago * cse.c: Convert prototypes to ISO C90.
aj [Sun, 29 Jun 2003 15:19:13 +0000 (15:19 +0000)]
* cse.c: Convert prototypes to ISO C90.
* cselib.c: Likewise.
* cselib.h: Likewise.
* dbxout.c: Likewise.
* debug.c: Likewise.
* df.c: Likewise.
* df.h: Likewise.
* dojump.c: Likewise.
* doloop.c: Likewise.
* dominance.c: Likewise.
* dwarf2asm.c: Likewise.
* dwarf2out.c: Likewise.
* dwarf2out.h: Likewise.
* dwarfout.c: Likewise.

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

20 years ago * alloc-pool.c: Fix comment formatting.
kazu [Sun, 29 Jun 2003 13:53:12 +0000 (13:53 +0000)]
* alloc-pool.c: Fix comment formatting.
* bitmap.c: Likewise.
* bitmap.h: Likewise.
* bt-load.c: Likewise.
* builtins.c: Likewise.
* caller-save.c: Likewise.
* cfganal.c: Likewise.
* cfgrtl.c: Likewise.
* collect2.c: Likewise.
* cse.c: Likewise.
* df.c: Likewise.
* diagnostic.c: Likewise.
* dwarf2out.c: Likewise.
* dwarfout.c: Likewise.
* expmed.c: Likewise.
* final.c: Likewise.
* flags.h: Likewise.
* fold-const.c: Likewise.
* gcc.c: Likewise.
* gcov-io.h: Likewise.
* gcov.c: Likewise.
* genattrtab.c: Likewise.
* genautomata.c: Likewise.
* libgcov.c: Likewise.
* mips-tfile.c: Likewise.
* optabs.c: Likewise.
* prefix.c: Likewise.
* rtlanal.c: Likewise.
* stmt.c: Likewise.
* stor-layout.c: Likewise.
* toplev.c: Likewise.
* varasm.c: Likewise.
* vmsdbgout.c: Likewise.

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

20 years ago * expr.c (emit_single_push_insn): If padding is needed
kazu [Sun, 29 Jun 2003 13:40:24 +0000 (13:40 +0000)]
* expr.c (emit_single_push_insn): If padding is needed
downward, adjust the stack pointer first, and then store the
data into the stack location using an offset.

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

20 years ago * collect2.h: Convert prototypes to ISO C90.
aj [Sun, 29 Jun 2003 12:07:06 +0000 (12:07 +0000)]
* collect2.h: Convert prototypes to ISO C90.
* collect2.c: Likewise.
* conflict.c: Likewise.
* coverage.c: Likewise.
* convert.h: Likewise.
* convert.c: Likewise.

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

20 years ago * cp-tree.h (language_to_string): Adjust declaration.
gdr [Sun, 29 Jun 2003 12:02:58 +0000 (12:02 +0000)]
* cp-tree.h (language_to_string): Adjust declaration.
* dump.c (cp_dump_tree): Adjust usage.
* error.c (dump_char): Use output_formatted_scalar. Tidy.
(parm_to_string): Lose unused parameter.  Tidy.
(expr_to_string): Likewise.
(code_to_string): Likewise.
(language_to_string): Likewise.
(op_to_string): Likewise.
(assop_to_string): Likewise.
(digit_buffer): Remove.
(dump_type): Format builtin vector type as __vector__.

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

20 years ago * c-decl.c (c_init_decl_processing): Use a location_t. Set input
nathan [Sun, 29 Jun 2003 11:28:00 +0000 (11:28 +0000)]
* c-decl.c (c_init_decl_processing): Use a location_t. Set input
filename to <internal>.
* tree.c (make_node): Just copy the current location.

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

20 years ago2003-06-29 Paolo Carlini <pcarlini@unitus.it>
paolo [Sun, 29 Jun 2003 11:12:35 +0000 (11:12 +0000)]
2003-06-29  Paolo Carlini  <pcarlini@unitus.it>

* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc:
Improve type correctness-wise.
* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc:
Likewise.
* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc:
Likewise.
* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc:
Likewise.

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

20 years ago * error.c (print_integer): Remove.
gdr [Sun, 29 Jun 2003 10:55:33 +0000 (10:55 +0000)]
* error.c (print_integer): Remove.
(dump_type_suffix): Adjust.
(dump_expr): Likewise.

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

20 years ago2003-06-29 Paolo Carlini <pcarlini@unitus.it>
paolo [Sun, 29 Jun 2003 10:31:06 +0000 (10:31 +0000)]
2003-06-29  Paolo Carlini  <pcarlini@unitus.it>

* include/std/std_streambuf.h (uflow): According to
27.5.2.4.3,p16, don't check gptr() < egptr().

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

20 years ago PR optimization/11210
ebotcazou [Sun, 29 Jun 2003 08:31:52 +0000 (08:31 +0000)]
PR optimization/11210
* fold-const (decode_field_reference): Revert 2003-06-26 patch.

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

20 years ago * toplev.c (flag_dummy): Remove.
neil [Sun, 29 Jun 2003 08:18:17 +0000 (08:18 +0000)]
* toplev.c (flag_dummy): Remove.
(f_options): Restore flag pointers.

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

20 years ago * config/rs6000/rs6000.c (processor_target_table): Add 970.
dje [Sun, 29 Jun 2003 04:42:20 +0000 (04:42 +0000)]
    * config/rs6000/rs6000.c (processor_target_table): Add 970.

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

20 years ago * dwarf2out.c (add_AT_string): Replace ggc_alloc_string (X,
kazu [Sun, 29 Jun 2003 04:24:55 +0000 (04:24 +0000)]
* dwarf2out.c (add_AT_string): Replace ggc_alloc_string (X,
-1) with ggc_strdup.
* stmt.c (expand_asm_operands): Likewise.
* config/rs6000/rs6000.md (builtin_setjmp_receiver): Likewise.

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

20 years ago * config/ip2k/ip2k.c (ip2k_reorg): Use INSN_P instead of its
kazu [Sun, 29 Jun 2003 02:15:51 +0000 (02:15 +0000)]
* config/ip2k/ip2k.c (ip2k_reorg): Use INSN_P instead of its
definition.

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

20 years ago2003-06-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Sun, 29 Jun 2003 01:17:54 +0000 (01:17 +0000)]
2003-06-29  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* opts.c: Include insn-attr.h.
* Makefile.in (opts.o): Depend on INSN_ATTR_H.

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

20 years agoDaily bump.
gccadmin [Sun, 29 Jun 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

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

20 years ago * flow.c (propagate_one_insn): Use proper test for a register
amylaar [Sat, 28 Jun 2003 22:57:58 +0000 (22:57 +0000)]
* flow.c (propagate_one_insn): Use proper test for a register
being part of the return value.

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

20 years ago * gcc.c-torture/execute/multi-ix.c: Fix off-by-one bugs.
uweigand [Sat, 28 Jun 2003 21:30:30 +0000 (21:30 +0000)]
* gcc.c-torture/execute/multi-ix.c: Fix off-by-one bugs.

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

20 years ago * config/avr/avr.c: Fix a comment typo.
kazu [Sat, 28 Jun 2003 20:00:06 +0000 (20:00 +0000)]
* config/avr/avr.c: Fix a comment typo.

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

20 years ago * config/avr/avr-protos.h: Replace avr_simplify_comparision_p
kazu [Sat, 28 Jun 2003 19:55:01 +0000 (19:55 +0000)]
* config/avr/avr-protos.h: Replace avr_simplify_comparision_p
with avr_simplify_comparison_p.
* config/avr/avr.c: Likewise.

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

20 years ago * builtins.c: Follow spelling conventions.
kazu [Sat, 28 Jun 2003 19:53:17 +0000 (19:53 +0000)]
* builtins.c: Follow spelling conventions.
* cgraph.c: Likewise.
* cpplex.c: Likewise.
* config/arm/arm.c: Likewise.
* config/arm/iwmmxt.md: Likewise.
* config/c4x/c4x-modes.def: Likewise.
* config/c4x/c4x.c: Likewise.
* config/c4x/c4x.h: Likewise.
* config/c4x/c4x.md: Likewise.
* config/i386/i386-interix.h: Likewise.
* config/mips/mips.h: Likewise.

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

20 years ago * builtins.c: Follow spelling conventions.
kazu [Sat, 28 Jun 2003 19:43:01 +0000 (19:43 +0000)]
* builtins.c: Follow spelling conventions.
* cgraph.c: Likewise.
* cpplex.c: Likewise.
* config/arm/arm.c: Likewise.
* config/arm/iwmmxt.md: Likewise.
* config/c4x/c4x-modes.def: Likewise.
* config/c4x/c4x.c: Likewise.
* config/c4x/c4x.h: Likewise.
* config/c4x/c4x.md: Likewise.
* config/i386/i386-interix.h: Likewise.
* config/mips/mips.h: Likewise.

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

20 years ago * config/m68k/m68k.h (TARGET_CPU_CPP_BUILTINS): Predicate
neil [Sat, 28 Jun 2003 19:35:37 +0000 (19:35 +0000)]
* config/m68k/m68k.h (TARGET_CPU_CPP_BUILTINS): Predicate
__mc68020__ on TARGET_68020.

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

20 years ago * config/h8300/h8300.c: Fix a comment typo.
kazu [Sat, 28 Jun 2003 19:15:57 +0000 (19:15 +0000)]
* config/h8300/h8300.c: Fix a comment typo.

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

20 years ago * c-parse.in (yylexstring): Use a location_t.
nathan [Sat, 28 Jun 2003 19:05:32 +0000 (19:05 +0000)]
* c-parse.in (yylexstring): Use a location_t.

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

20 years ago * error.c (print_instantiation_partial_context): Take a
nathan [Sat, 28 Jun 2003 19:02:32 +0000 (19:02 +0000)]
* error.c (print_instantiation_partial_context): Take a
location_t.
(print_instantiation_full_context): Adjust.
(print_instantiation_context): Adjust.

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

20 years ago * diagnostic.h (diagnostic_set_info): Replace file and lineno
nathan [Sat, 28 Jun 2003 16:23:29 +0000 (16:23 +0000)]
* diagnostic.h (diagnostic_set_info): Replace file and lineno
parameters with a location_t.
* diagnostic.c (diagnostic_set_info): Replace file and lineno
parameters with a location_t.
(inform, warning, pedwarn, error, sorry, fatal_error,
internal_error, warning_with_decl, pedwarn_with_decl,
error_with_decl): Adjust.
* c-error.c (pedwarn_c99): Adjust.
* c-format.c (status_warning): Adjust.
* rtl-error.c (file_and_line_for_asm): Rename to ...
(location_for_asm): Return a location_t.
(diagnostic_for_asm): Adjust.

* cp/cp-tree.h (cp_line_of, cp_file_of): Remove.
* cp/error.c (cp_line_of, cp_file_of): Merge into ...
(location_of): ... here. Make static, return a location_t.
(cp_error_at, cp_warning_at, cp_pedwarn_at): Adjust.

* testsuite/g++.old-deja/g++.robertl/eb133.C: Set expected line
number.
* testsuite/g++.old-deja/g++.robertl/eb133a.C: Likewise.
* testsuite/g++.old-deja/g++.robertl/eb133b.C: Likewise.

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

20 years ago * cpptrad.c (skip_macro_block_comment): New.
neil [Sat, 28 Jun 2003 15:16:10 +0000 (15:16 +0000)]
* cpptrad.c (skip_macro_block_comment): New.
(copy_comment): Use it if appropriate.

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

20 years ago * gcse.c (compute_ld_motion_mems): Use INSN_P instead of its
kazu [Sat, 28 Jun 2003 14:56:24 +0000 (14:56 +0000)]
* gcse.c (compute_ld_motion_mems): Use INSN_P instead of its
definition.
(store_killed_in_insn): Likewise.
* print-rtl.c (print_rtx): Likewise.
* config/frv/frv.c (frv_final_prescan_insn): Likewise.
* config/m68hc11/m68hc11.c (dead_register_here): Likewise.
(m68hc11_reassign_regs): Likewise.
(m68hc11_reorg): Likewise.

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

20 years ago PR c++/10784
nathan [Sat, 28 Jun 2003 13:48:53 +0000 (13:48 +0000)]
PR c++/10784
* call.c (joust): Move warn_conversion check outwards.

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

20 years ago * diagnostic.c (output_integer_with_precision): New macro.
gdr [Sat, 28 Jun 2003 13:40:31 +0000 (13:40 +0000)]
* diagnostic.c (output_integer_with_precision): New macro.
(output_format): Use it.  Handle more format specifiers.
(output_long_decimal): Remove.
(output_unsigned_decimal): Likewise.
(output_long_unsigned_decimal): Likewise.
(output_octal): Likewise.
(output_long_octal): Likewise.
(output_hexadecimal): Likewise.
(output_long_hexadecimal): Likewise.
(output_long_long_decimal): Likewise.

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

20 years ago * config/ia64/ia64.md: Follow recent emit_note API change.
schwab [Sat, 28 Jun 2003 12:45:37 +0000 (12:45 +0000)]
* config/ia64/ia64.md: Follow recent emit_note API change.

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

20 years ago * c-parse.in (%union): Replace filename & lineno with location.
nathan [Sat, 28 Jun 2003 12:30:05 +0000 (12:30 +0000)]
* c-parse.in (%union): Replace filename & lineno with location.
(save_filename, save_lineno): Remove.
(save_location): New.
(fndef, old_style_parm_decls_1, lineno_datadecl, lineno_decl,
nested_function, notype_nested_function, if_prefix, lineno_stmt,
lineno_label, label): Adjust.

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

20 years agoTypo fix.
jakub [Sat, 28 Jun 2003 12:21:13 +0000 (12:21 +0000)]
Typo fix.

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

20 years ago * builtins.c (c_strlen): Add only_value argument.
jakub [Sat, 28 Jun 2003 12:19:27 +0000 (12:19 +0000)]
* builtins.c (c_strlen): Add only_value argument.
Handle COND_EXPR and COMPOUND_EXPR.
(expand_builtin_strlen): Optimize also strlen (i++ ? "foo" : "bar").
Adjust c_strlen callers.
(expand_builtin_strcpy, expand_builtin_strncpy,
expand_builtin_strcmp, expand_builtin_strncmp,
expand_builtin_fputs, expand_builtin_sprintf,
fold_builtin): Adjust c_strlen callers.

* gcc.c-torture/execute/builtins/string-8.c: New test.
* gcc.c-torture/execute/builtins/string-8-lib.c: New.
* gcc.c-torture/execute/stdio-opt-1.c (main): Add new tests.
* gcc.c-torture/execute/string-opt-7.c (main): Add new test.

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

20 years ago * bb-reorder.c (find_traces_1_round): Do not send basic block
zlomek [Sat, 28 Jun 2003 12:07:04 +0000 (12:07 +0000)]
* bb-reorder.c (find_traces_1_round): Do not send basic block
to next round when we are in the last round.

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

20 years ago2003-06-28 Michael Koch <konqueror@gmx.de>
mkoch [Sat, 28 Jun 2003 08:27:29 +0000 (08:27 +0000)]
2003-06-28  Michael Koch  <konqueror@gmx.de>

* java/io/PrintStream.java
(checkError): Call flush() instead of direct flushing of the Writer
object.
(print): Call print(String) instead of direct print method of the
Writer Object.
(println): Call println(String) instead of direct println method of the
Writer Object.
(write): Simplified.

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

20 years ago2003-06-28 Michael Koch <konqueror@gmx.de>
mkoch [Sat, 28 Jun 2003 08:13:24 +0000 (08:13 +0000)]
2003-06-28  Michael Koch  <konqueror@gmx.de>

* java/net/ServerSocket.java
(setChannel): New method.
* java/net/Socket.java
(setChannel): New method.

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

20 years ago2003-06-28 Paolo Carlini <pcarlini@unitus.it>
paolo [Sat, 28 Jun 2003 07:50:29 +0000 (07:50 +0000)]
2003-06-28  Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/9875
* include/bits/fstream.tcc (seekoff): Fix for encoding() > 0.
(seekpos): Likewise.
* testsuite/27_io/basic_filebuf/seekoff/wchar_t/9875_seekoff.cc:
New test.
* testsuite/27_io/basic_filebuf/seekpos/wchar_t/9875_seekpos.cc:
New test.

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

20 years ago * Makefile.in: Update.
neil [Sat, 28 Jun 2003 06:18:10 +0000 (06:18 +0000)]
* Makefile.in: Update.
* opts.c: Include tm_p.h.
(handle_options): Make static.
(decode_options): Copied from toplev.c.
* opts.h (decode_options): New.
* toplev.c (parse_options_and_default_flags): Move most to opts.c,
some to...
(general_init): ...here.
(toplev_main): Use decode_options instead.
* toplev.h (save_argc, save_argv): New.

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

20 years ago * explow.c (find_next_ref): Remove.
kazu [Sat, 28 Jun 2003 05:39:40 +0000 (05:39 +0000)]
* explow.c (find_next_ref): Remove.
* rtl.h: Remove the prototype for find_next_ref.

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

20 years ago * Make-lang.in: Add missing space to comment.
kraai [Sat, 28 Jun 2003 05:24:12 +0000 (05:24 +0000)]
* Make-lang.in: Add missing space to comment.

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

20 years ago * config/alpha/alpha.md (anonymous define_split): Adjust emit_note
sayle [Sat, 28 Jun 2003 02:21:49 +0000 (02:21 +0000)]
* config/alpha/alpha.md (anonymous define_split): Adjust emit_note
call to match recent API change.

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

20 years agoPR other/10240
wilson [Sat, 28 Jun 2003 01:27:46 +0000 (01:27 +0000)]
PR other/10240
* configure.in: Removed $(XCFLAGS) from BUILD_CFLAGS for build != host.
* configure: Rebuilt.

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

20 years ago * dbxout.c (flag_debug_only_used_symbols): Delete redundant
zack [Sat, 28 Jun 2003 00:42:31 +0000 (00:42 +0000)]
* dbxout.c (flag_debug_only_used_symbols): Delete redundant
declaration.
f:
* com.c (input_file_stack_tick): Delete redundant declaration.
java:
* gjavah.c (flag_jni): Make non-static.
* parse-scan.y (ctxp): Make non-static.

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

20 years agoPR target/11014
wilson [Sat, 28 Jun 2003 00:36:23 +0000 (00:36 +0000)]
PR target/11014
* config/m68k/m68k.c (m68k_output_mi_thunk): Use correct assembly
syntax for MIT / MOTOROLA.

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

20 years ago * c-format.c (check_format_string, get_constant)
zack [Sat, 28 Jun 2003 00:30:31 +0000 (00:30 +0000)]
* c-format.c (check_format_string, get_constant)
* cfgrtl.c (rtl_split_edge):
Mark the definition static, matching the forward declaration.
cp:
* decl.c (build_typename_type)
* mangle.c (write_template_template_arg)
* parser.c (cp_parser_scope_through_which_access_occurs)
* pt.c (push_access_scope_real, push_access_scope, pop_access_scope)
* repo.c (get_base_filename)
* semantics.c (maybe_convert_cond):
Mark the definition static, matching the forward declaration.
java:
* class.c (build_method_symbols_entry)
* expr.c (get_offset_table_index)
* jcf-parse.c (jcf_parse):
Mark the definition static, matching the forward declaration.

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

20 years ago * gcc_release: Command "all" now creates .gz files only for
gerald [Sat, 28 Jun 2003 00:18:50 +0000 (00:18 +0000)]
* gcc_release: Command "all" now creates .gz files only for
releases and pre-releases.

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

20 years agoDaily bump.
gccadmin [Sat, 28 Jun 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

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

20 years agoPatch from Gunther Nikl.
wilson [Sat, 28 Jun 2003 00:02:30 +0000 (00:02 +0000)]
Patch from Gunther Nikl.
* unwind-c.c (PERSONALITY_FUNCTION): Delete duplicate define.

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

20 years ago PR c++/10468
mmitchel [Fri, 27 Jun 2003 22:46:47 +0000 (22:46 +0000)]
PR c++/10468
* pt.c (tsubst): Handle qualified TYPEOF_TYPEs correctly.

PR c++/10468
* g++.dg/ext/typeof5.C: New test.

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

20 years ago2003-06-27 Chris Demetriou <cgd@broadcom.com>
cgd [Fri, 27 Jun 2003 22:43:38 +0000 (22:43 +0000)]
2003-06-27  Chris Demetriou  <cgd@broadcom.com>

        * config/mips/mips.c (mips_build_va_list): Make padding in
        va_list structure explicit to avoid -Wpadded warnings.

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

20 years ago PR c++/10796
mmitchel [Fri, 27 Jun 2003 21:21:08 +0000 (21:21 +0000)]
PR c++/10796
* decl.c (finish_enum): Implement DR377.

* decl.c (cp_finish_decl): Don't make variables with reference
type readonly while they are being initialized.

PR c++/10796
* g++.dg/init/enum1.C: New test.

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

20 years agogcc/ChangeLog:
uweigand [Fri, 27 Jun 2003 21:10:17 +0000 (21:10 +0000)]
gcc/ChangeLog:

* config/s390/s390.h (SECONDARY_OUTPUT_RELOAD_CLASS): Define.
* config/s390/s390.c (s390_secondary_output_reload_class): New function.
* config/s390/s390-protos.h (s390_secondary_output_reload_class):
Declare it.
* config/s390/s390.md ("reload_outti", "reload_outdi",
"reload_outdf"): New expanders.

* config/s390/s390.md ("movti" + splitters): Handle non-offsettable
memory operands as source.
("movdi" + splitters): Likewise.
("movdf" + splitters): Likewise.
* config/s390/s390.c (s390_split_ok_p): New function.
* config/s390/s390-protos.h (s390_split_ok_p): Declare it.

gcc/testsuite/ChangeLog:

* gcc.dg/20030627-1.c: New test.

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

20 years ago2003-06-27 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 27 Jun 2003 21:00:16 +0000 (21:00 +0000)]
2003-06-27  Michael Koch  <konqueror@gmx.de>

* java/beans/beancontext/BeanContextSupport.java:
New version from classpath.

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

20 years ago2003-06-27 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 27 Jun 2003 20:53:01 +0000 (20:53 +0000)]
2003-06-27  Michael Koch  <konqueror@gmx.de>

* java/awt/Window.java,
java/awt/font/GraphicAttribute.java,
java/awt/font/ImageGraphicAttribute.java,
java/awt/image/DataBufferByte.java,
java/awt/image/DataBufferInt.java,
java/awt/image/DataBufferUShort.java,
java/awt/image/DirectColorModel.java,
java/awt/image/PixelGrabber.java:
New versions from classpath.

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

20 years ago * combine.c (force_to_mode): Replace the equality comparison
kazu [Fri, 27 Jun 2003 19:42:24 +0000 (19:42 +0000)]
* combine.c (force_to_mode): Replace the equality comparison
of INTVALs with a pointer equality comparison.
(simplify_comparison): Likewise.

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

20 years ago * jump.c (rtx_renumbered_equal_p): Replace an expression that
kazu [Fri, 27 Jun 2003 19:40:09 +0000 (19:40 +0000)]
* jump.c (rtx_renumbered_equal_p): Replace an expression that
is known to be 0 with 0.

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

20 years ago * gcse.c (expr_equiv_p): Replace expressions that are known to
kazu [Fri, 27 Jun 2003 19:38:27 +0000 (19:38 +0000)]
* gcse.c (expr_equiv_p): Replace expressions that are known to
be 0 with 0.

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

20 years ago * cse.c (fold_rtx): Replace the equality comparison of INTVALs
kazu [Fri, 27 Jun 2003 19:36:38 +0000 (19:36 +0000)]
* cse.c (fold_rtx): Replace the equality comparison of INTVALs
with a pointer equality comparison.

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

20 years ago * rtlanal.c (reg_mentioned_p): Return 0 earlier if REG and IN
kazu [Fri, 27 Jun 2003 19:35:41 +0000 (19:35 +0000)]
* rtlanal.c (reg_mentioned_p): Return 0 earlier if REG and IN
are known to be not equivalent.

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

20 years ago * gcc_release (build_sources): Do not include gnats.html any longer.
gerald [Fri, 27 Jun 2003 19:29:01 +0000 (19:29 +0000)]
* gcc_release (build_sources): Do not include gnats.html any longer.
Make an error message more descriptive.

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

20 years ago2003-06-27 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 27 Jun 2003 18:13:12 +0000 (18:13 +0000)]
2003-06-27  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/testsuite_performance.h (__gnu_cxx_test): Change
output name to libstdc++-v3-performance.sum.
* testsuite/Makefile.am (CLEANFILES): Remove .performance.
* testsuite/Makefile.in: Regenerate.

2003-06-27  Matthias Klose  <doko@debian.org>

* testsuite/Makefile.am (check-abi, check-abi-verbose): Save
output of abi-check in libstdc++-v3-abi.sum.
* testsuite/Makefile.in: Regenerate.

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

20 years ago * config/alpha/alpha.c (function_arg): Don't pass small aggregates
rth [Fri, 27 Jun 2003 17:52:03 +0000 (17:52 +0000)]
    * config/alpha/alpha.c (function_arg): Don't pass small aggregates
        in floating point registers.  Validate that we don't receive complex
        values here.  Use #elif.
        (return_in_memory, function_value): New.
        (alpha_va_arg): Handle complex values as two arguments.
        * config/alpha/alpha.h (RETURN_IN_MEMORY): Use return_in_memory.
        (FUNCTION_VALUE, LIBCALL_VALUE): Use function_value.
        (SPLIT_COMPLEX_ARGS): New.
        * config/alpha/alpha-protos.h: Update.

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

20 years ago * ggc-page.c (inverse_table): Change type of mult to size_t.
uweigand [Fri, 27 Jun 2003 17:36:21 +0000 (17:36 +0000)]
    * ggc-page.c (inverse_table): Change type of mult to size_t.
        (compute_inverse): Compute inverse using size_t, not unsigned int.
        Compute inverse also for sizes larger than half a machine page.

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

20 years ago * configure.in: Clean up config-lang.in handling. Delete
neroden [Fri, 27 Jun 2003 17:33:51 +0000 (17:33 +0000)]
* configure.in: Clean up config-lang.in handling.  Delete
useless assignment to "subdirs".
* configure: Regenerate.

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

20 years agoRemove extra bits from my previous commit.
dpatel [Fri, 27 Jun 2003 17:26:25 +0000 (17:26 +0000)]
Remove extra bits from my previous commit.
I am sorry for the way I handled this -gused commit.

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

20 years ago2003-06-27 Krister Walfridsson <cato@df.lth.se>
bkoz [Fri, 27 Jun 2003 16:59:04 +0000 (16:59 +0000)]
2003-06-27  Krister Walfridsson  <cato@df.lth.se>

* config/os/bsd/netbsd/ctype_noninline.h
(_C_ctype_): Declare.
(ctype<char>::classic_table): Return _C_ctype_ + 1.
(ctype<char>::ctype): Use classic_table.

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

20 years ago * toplev.c (rest_of_decl_compilation): Only varpoolize argument
hubicka [Fri, 27 Jun 2003 16:37:41 +0000 (16:37 +0000)]
* toplev.c (rest_of_decl_compilation):  Only varpoolize argument
when called before cgraph_optimize.

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

20 years ago PR c++/11332
mmitchel [Fri, 27 Jun 2003 16:24:49 +0000 (16:24 +0000)]
PR c++/11332
* typeck.c (build_static_cast): Avoid returning expressions with
reference type.

PR c++/11332
* g++.dg/expr/static_cast2.C: New test.

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

20 years ago2003-06-27 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 27 Jun 2003 16:11:27 +0000 (16:11 +0000)]
2003-06-27  Michael Koch  <konqueror@gmx.de>

* java/security/Certificate.java
(getGuarantor): Removed wrong @deprecated tag.
(getPrincipal): Likewise.
(getPublicKey): Likewise.
(encode): Likewise.
(decode): Likewise.
(getFormat): Likewise.
(toString): Likewise.
* java/security/cert/PolicyQualifierInfo.java
(PolicyQualifierInfo): Made final.
* javax/security/auth/x500/X500Principal.java
(serialVersionUID): New member variable.

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

20 years ago * config/darwin.h, config/elfos.h, config/i960/i960-coff.h
zack [Fri, 27 Jun 2003 16:08:43 +0000 (16:08 +0000)]
* config/darwin.h, config/elfos.h, config/i960/i960-coff.h
* config/m68k/coff.h: ASM_FILE_START_FILE_DIRECTIVE should
be TARGET_ASM_FILE_START_FILE_DIRECTIVE.

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

20 years ago2003-06-27 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 27 Jun 2003 15:58:42 +0000 (15:58 +0000)]
2003-06-27  Michael Koch  <konqueror@gmx.de>

* java/rmi/server/SkeletonNotFoundException.java
(SkeletonNotFoundException): Removed wrong @deprecated tag.
* java/rmi/server/UnicastRemoteObject.java
(exportObject): Made package-private.

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

20 years ago2003-06-27 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 27 Jun 2003 15:49:36 +0000 (15:49 +0000)]
2003-06-27  Michael Koch  <konqueror@gmx.de>

* java/text/Format.java
(serialVersionUID): Fixed value.

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

20 years ago2003-06-27 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 27 Jun 2003 15:48:15 +0000 (15:48 +0000)]
2003-06-27  Michael Koch  <konqueror@gmx.de>

* java/net/Inet4Address.java
(Inet4Address): Made package-private.
* java/net/Inet6Address.java
(Inet4Address): Made package-private.

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

20 years ago2003-06-27 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 27 Jun 2003 15:46:59 +0000 (15:46 +0000)]
2003-06-27  Michael Koch  <konqueror@gmx.de>

* java/io/RandomAccessFile.java
(readLine): Removed wrong @deprecated tag.
(getChannel): Made final.

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

20 years ago * cgraph.c (cgraph_node, cgraph_varpool_node): Avoid re-initializing
hubicka [Fri, 27 Jun 2003 15:42:48 +0000 (15:42 +0000)]
* cgraph.c (cgraph_node, cgraph_varpool_node): Avoid re-initializing
of known_decls.

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

20 years ago2003-06-27 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 27 Jun 2003 13:41:25 +0000 (13:41 +0000)]
2003-06-27  Michael Koch  <konqueror@gmx.de>

* gnu/java/nio/FileChannelImpl.java
(write): Removed.

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

20 years ago2003-06-27 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 27 Jun 2003 13:34:12 +0000 (13:34 +0000)]
2003-06-27  Michael Koch  <konqueror@gmx.de>

* java/nio/ByteBufferImpl.java
(ByteBufferImpl): Made it a package-private class
* java/nio/CharBufferImpl.java
(CharBufferImpl): Made it a package-private class
* java/nio/DirectByteBufferImpl.java
(DirectByteBufferImpl): Made it a package-private class
* java/nio/DoubleBufferImpl.java
(DoubleBufferImpl): Made it a package-private class
* java/nio/FloatBufferImpl.java
(FloatBufferImpl): Made it a package-private class
* java/nio/IntBufferImpl.java
(IntBufferImpl): Made it a package-private class
* java/nio/LongBufferImpl.java
(LongBufferImpl): Made it a package-private class
* java/nio/ShortBufferImpl.java
(ShortBufferImpl): Made it a package-private class
* java/nio/channels/FileChannel.java
(write): Made final.
* java/nio/channels/ServerSocketChannel.java
(ServerSocketChanne): Made protected.

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

20 years ago2003-06-27 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 27 Jun 2003 13:06:50 +0000 (13:06 +0000)]
2003-06-27  Michael Koch  <konqueror@gmx.de>

* javax/naming/CompositeName.java
(serialVersionUID): New member variable.
* javax/naming/CompoundName.java
(serialVersionUID): New member variable.
* javax/naming/InitialContext.java
(InitialContext): Throws NamingException.
(init): Likewise.
* javax/naming/LinkRef.java
(serialVersionUID): New member variable.
(gteLinkName): Throws NamingException.
* javax/naming/NamingException.java
(serialVersionUID): New member variable.
* javax/naming/NamingSecurityException.java
(NamingSecurityException): Made abstract.
(serialVersionUID): New member variable.
* javax/naming/ReferralException.java
(serialVersionUID): New member variable.
* javax/naming/StringRefAddr.java
(serialVersionUID): New member variable.
* javax/naming/directory/BasicAttribute.java:
Reworked imports.
(serialVersionUID): New member variable.
(get): Throws NamingException.
(getAll): Throws NamingException.
* javax/naming/directory/BasicAttributes.java:
Reworked imports.
(serialVersionUID): New member variable.
* javax/naming/ldap/UnsolicitedNotificationEvent.java
(serialVersionUID): New member variable.

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

20 years ago2003-06-27 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 27 Jun 2003 12:48:39 +0000 (12:48 +0000)]
2003-06-27  Michael Koch  <konqueror@gmx.de>

* Makefile.am
(awt_java_source_files): Added new files:
javax/swing/Popup.java,
javax/swing/PopupFactory.java
* Makefile.in: Regenerated.

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

20 years ago2003-06-27 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 27 Jun 2003 12:41:52 +0000 (12:41 +0000)]
2003-06-27  Michael Koch  <konqueror@gmx.de>

* javax/swing/JWindow.java,
javax/swing/event/AncestorEvent.java,
javax/swing/event/HyperlinkEvent.java,
javax/swing/event/InternalFrameEvent.java,
javax/swing/event/ListDataEvent.java,
javax/swing/event/TableModelEvent.java,
javax/swing/plaf/PopupMenuUI.java,
javax/swing/plaf/SplitPaneUI.java,
javax/swing/plaf/TabbedPaneUI.java,
javax/swing/plaf/TextUI.java,
javax/swing/plaf/TreeUI.java,
javax/swing/plaf/basic/BasicTextUI.java,
javax/swing/plaf/basic/BasicTreeUI.java:
New versions from classpath.
* javax/swing/Popup.java,
javax/swing/PopupFactory.jav:
New source files from classpath.
* javax/swing/plaf/doc-files/TreeUI-1.png:
New binary files from classpath.

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

20 years ago * defaults.h (REGISTER_MOVE_COST): Define default here.
hp [Fri, 27 Jun 2003 12:40:13 +0000 (12:40 +0000)]
* defaults.h (REGISTER_MOVE_COST): Define default here.
* regclass.c: Don't define default REGISTER_MOVE_COST here.
* reload.c, reload1.c: Ditto.

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

20 years ago2003-06-27 Paolo Carlini <pcarlini@unitus.it>
paolo [Fri, 27 Jun 2003 12:33:49 +0000 (12:33 +0000)]
2003-06-27  Paolo Carlini  <pcarlini@unitus.it>
    Nathan C. Myers  <ncm-nospam@cantrip.org>

PR libstdc++/9178
* include/bits/fstream.tcc (_M_underflow): Properly estimate
the worst-case number of external bytes for a given get area.
* testsuite/27_io/basic_filebuf/underflow/wchar_t/9178.cc: New.

2003-06-27  Paolo Carlini  <pcarlini@unitus.it>
    Petur Runolfsson  <peturr02@ru.is>

PR libstdc++/11305
* include/bits/fstream.tcc (overflow): Properly estimate the
worst-case number of external bytes for a given put area
(by using codecvt::max_length()).
* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1: New.
* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2: New.
* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3: New.
* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4: New.

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

20 years ago * config/linker-map.gnu: Remove ; after __numpunct_cache.
nathan [Fri, 27 Jun 2003 11:01:27 +0000 (11:01 +0000)]
* config/linker-map.gnu: Remove ; after __numpunct_cache.

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

20 years ago* flags.h: Really install previous change.
rearnsha [Fri, 27 Jun 2003 09:51:22 +0000 (09:51 +0000)]
* flags.h: Really install previous change.

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

20 years ago * rtl.h (emit_note): Remove FILE parameter.
nathan [Fri, 27 Jun 2003 09:49:44 +0000 (09:49 +0000)]
* rtl.h (emit_note): Remove FILE parameter.
* emit-rtl.c (emit_line_note): Adjust emit_note call.
(emit_note): Remove FILE parameter. Adjust.
* builtins.c (expand_builtin_expect): Adjust emit_note call.
* c-semantics.c (genrtl_scope_stmt): Likewise.
(expand_stmt): Likewise.
* cfglayout.c (reemit_insn_block_notes): Likewise.
(duplicate_insn_chain): Likewise.
* except.c (expand_eh_region_start, expand_eh_region_end,
sjlj_emit_function_enter): Likewise.
* explow.c (probe_stack_range): Likewise.
* expr.c (emit_block_move_via_loop): Likewise.
* function.c (init_function_start, expand_function_start,
expand_function_end, thread_prologue_and_epilogue_insns): Likewise.
* integrate.c (expand_inline_function, copy_insn_list): Likewise.
* reg-stack.c (compensate_edge): Likewise.
* reload1.c (reload): Likewise.
* rtlanal.c (hoist_insn_to_edge): Likewise.
* stmt.c (expand_fixup, expand_start_loop, expand_start_null_loop,
expand_loop_continue_here, expand_end_loop, expand_continue_loop,
expand_exit_loop_top_cond, expand_value_return,
expand_start_bindings_and_block, expand_end_bindings,
expand_decl_cleanup, expand_start_case): Likewise.
* unroll.c (copy_loop_body
* config/alpha/alpha.c (alpha_output_mi_thunk_osf): Likewise.
* config/ia64/ia64.c (ia64_output_mi_thunk): Likewise.
* config/rs6000/rs6000.c (rs6000_emit_eh_toc_restore,
rs6000_emit_allocate_stack, rs6000_output_function_prologue,
rs6000_output_function_epilogue, rs6000_output_mi_thunk): Likewise.
* config/sh/sh.c (sh_output_mi_thunk): Likewise.
* config/sparc/sparc.c (sparc_output_mi_thunk): Likewise.

* ada/misc.c (record_code_position): Likewise.

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

20 years ago * c-tree.h (grokfield): Remove unused filename and line parameters.
nathan [Fri, 27 Jun 2003 09:05:45 +0000 (09:05 +0000)]
* c-tree.h (grokfield): Remove unused filename and line parameters.
* c-decl.c (grokfield): Remove unused filename and line parameters.
* c-parse.in (component_decl): Adjust field grokking rules, adjust
grokfield calls.
(component_declarator): Likewise.
(component_notype_declarator): Likewise.
* objc/objc-act.c (build_module_descriptor): Adjust grokfield
calls.
(build_protocol_template, build_method_prototype_list_template,
build_method_prototype_template, build_category_template,
build_selector_template, build_class_template,
build_super_template, build_ivar_template,
build_ivar_list_template, build_method_list_template,
build_method_template, add_instance_variable): Likewise.

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

20 years ago2003-06-26 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 27 Jun 2003 07:25:38 +0000 (07:25 +0000)]
2003-06-26  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/ios_base.h (ios_base::_M_getloc): Return reference
to the imbued locale.
* include/bits/locale_facets.tcc (num_put::_M_convert_int): Use
_M_getloc.
(num_put::_M_convert_float): Use.

2003-06-26  Benjamin Kosnik  <bkoz@redhat.com>
    Jerry Quinn  <jlquinn@optonline.net>

* config/linker-map.gnu: Add __numpunct_cache.
* config/locale/gnu/numeric_members.cc
(numpunct::_M_initialize_numpunct): Account for _M_data, fill in
all elements for "C" locale.
(numpunct::~numpunct): Delete _M_data.
* config/locale/generic/numeric_members.cc: Same.
* include/bits/basic_ios.tcc
(basic_ios::init): Remove __locale_cache bits.
(basic_ios::_M_cache_locale): Same.
* include/bits/ios_base.h: Same. Tweaks.
* include/bits/locale_classes.h: Tweaks. Reorder classes.
(__use_cache): Make friends with _Impl, locale.
(_Impl::_M_caches): Add.
(_Impl::_M_install_cache): Add.
* include/bits/locale_facets.h (__numpunct_cache): New.
(numpunct): Encapsulate data members in __numpunct_cache member,
_M_data. Adjust virtuals.
(numpunct::numpunct): New ctor for the same.
(__locale_cache_base): Remove.
(__locale_cache): Remove.
* include/bits/locale_facets.tcc (__use_cache): New function,
specializations.
(num_put::_M_convert_int, _M_convert_float, do_put): Use it.
* src/globals.cc: Add cache_vec, numpunct_cache_c, numpunct_cache_w.
* src/ios.cc (ios_base::ios_base): Remove __locale_cache.
* src/locale-inst.cc: Same. Add __numpunct_cache.
* src/locale.cc: Tweak inlines.
(__use_cache): Define specializations.
* src/localename.cc: Use global bits.
(_Impl::~Impl): Deal with __numpunct_cache destruction.
(_Impl::_Impl): Same. Pre-cache standard numpunct facets.
(_Impl::_M_init_facet): Take into account __numpunct_cache.
* testsuite/27_io/ios_base/cons/assign_neg.cc: Update line numbers.
* testsuite/27_io/ios_base/cons/copy_neg.cc: Same.

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

20 years ago * stmt.c (do_jump_if_equal): Return 0 earlier if OP1 and
kazu [Fri, 27 Jun 2003 06:02:49 +0000 (06:02 +0000)]
* stmt.c (do_jump_if_equal): Return 0 earlier if OP1 and
OP2 are known to be not equivalent.

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

20 years ago * final.c (debug_flush_symbol_queue): New function.
dpatel [Fri, 27 Jun 2003 03:04:40 +0000 (03:04 +0000)]
    * final.c (debug_flush_symbol_queue): New function.
        (debug_queue_symbol): New function.
        (debug_free_queue): New function.
        (debug_nesting): New variable.
        (symbol_queue): New variable.
        (symbol_queue_index): Same.
        (symbol_queue_size): Same.
        * debug.h (debug_flush_symbol_queue): New.
        (debug_queue_symbol): New.
        (debug_free_queue): New.
        (debug_nesting): New.
        (symbol_queue_index): New.
        * dbxout.c (DBXOUT_DECR_NESTING): New macro.
        (DBXOUT_DECR_NESTING_AND_RETURN): New macro.
        (dbxout_init): Delay symbol output.
        (dbxout_global_decl): Save, set and reset TREE_USED bit around dbxout_symbol()
        call.
        (dbxout_begin_function): Same.
        (dbxout_finish): Free symbol queue.
        (dbxout_type): Put appropriate symbols in queue.
        (dbxout_symbol): Put info for symbol's type in queue. Decrement/Increment
        nesting counts flush symbol queue appropriately.
        (dbxout_parms): Increment dbxout nesting.
        (dbxout_reg_parms): Same.
        * flags.h (flag_debug_only_used_symbols): New.
        * toplev.c (flag_debug_only_used_symbols): New variable.
        (lang_independent_options): Add entries for new option -feliminate-unused-debug-symbols.
        * common.opt: Add entry for -feliminate-unused-debug-symbols.
        * opts.c (common_handle_options): Same.
        * config/rs6000/darwin.h (CC1_SPEC): Interpret -gused as -feliminate-unused-debug-symbols.
        * doc/invoke.texi (Debugging Options): Document -feliminate-unused-debug-symbols.

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

20 years ago * builtins.c (expand_builtin_sprintf): Use c_getstr and strlen to
sayle [Fri, 27 Jun 2003 02:50:19 +0000 (02:50 +0000)]
* builtins.c (expand_builtin_sprintf): Use c_getstr and strlen to
obtain the format string instead of using TREE_STRING_POINTER and
TREE_STRING_LENGTH.  Only optimize sprintf(dst,"%s",src) when the
return value is unused or the length of src is a known constant.

* gcc.c-torture/execute/string-opt-16.c: Remove test for disabled
sprintf(dst,"%s",src) optimization.
* gcc.c-torture/execute/20030626-1.c: New test case.
* gcc.c-torture/execute/20030626-2.c: New test case.

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

20 years agoDaily bump.
gccadmin [Fri, 27 Jun 2003 00:16:08 +0000 (00:16 +0000)]
Daily bump.

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

20 years ago * config/ia64/ia64.c (ia64_expand_call): Don't add ar.pfs for sibcalls.
rth [Thu, 26 Jun 2003 20:51:54 +0000 (20:51 +0000)]
    * config/ia64/ia64.c (ia64_expand_call): Don't add ar.pfs for sibcalls.
        (ia64_split_call): Only load descriptor for GP register inputs.
        (ia64_expand_epilogue): Check current_frame_info.mask not
        current_function_is_leaf to restore ar.pfs.

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

20 years ago * config/ia64/ia64.h (REGISTER_NAMES): R0 is really AP.
rth [Thu, 26 Jun 2003 20:50:04 +0000 (20:50 +0000)]
    * config/ia64/ia64.h (REGISTER_NAMES): R0 is really AP.

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