OSDN Git Service

pf3gnuchains/gcc-fork.git
21 years agoFix formatting in last commit.
ghazi [Mon, 14 Apr 2003 02:23:45 +0000 (02:23 +0000)]
Fix formatting in last commit.

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

21 years agoDaily bump.
gccadmin [Mon, 14 Apr 2003 00:17:06 +0000 (00:17 +0000)]
Daily bump.

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

21 years agogcc:
ghazi [Sun, 13 Apr 2003 23:46:11 +0000 (23:46 +0000)]
gcc:
* builtins.c (expand_builtin_memcpy): Add `endp' argument, use it.
(expand_builtin_stpcpy): New.
(expand_builtin): Add BUILT_IN_MEMPCPY & BUILT_IN_STPCPY.
* builtins.def: Add mempcpy & stpcpy support.
* doc/extend.texi (mempcpy, stpcpy): Document new builtins.

testsuite:
* gcc.c-torture/execute/string-opt-18.c: New test.

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

21 years ago PR c++/10300
mmitchel [Sun, 13 Apr 2003 17:54:03 +0000 (17:54 +0000)]
PR c++/10300
* init.c (build_new_1): Reorganize.

PR c++/10300
* g++.dg/init/new5.C: New test.

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

21 years agoReplace "GNU CC" with "GCC"
nickc [Sun, 13 Apr 2003 17:51:08 +0000 (17:51 +0000)]
Replace "GNU CC" with "GCC"

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

21 years agooops - forgot to delete file whne comitting previous delta
nickc [Sun, 13 Apr 2003 17:19:44 +0000 (17:19 +0000)]
oops - forgot to delete file whne comitting previous delta

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

21 years agoconfig-ml.in: Remove support for --disable-aix removing call-aix multilibs.
nickc [Sun, 13 Apr 2003 16:59:45 +0000 (16:59 +0000)]
config-ml.in: Remove support for --disable-aix removing call-aix multilibs.
config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Delete support for
 -mcall-aix switch.
config/rs6000/eabiaix.h: Delete.
config/rs6000/rs6000.h (rs6000_abi): Remove ABI_AIX_NODESC.
 (RS6000_REG_SAVE, RS6000_SAVE_AREA, FP_ARGS_MAX_REG, RETURN_ADDRESS_OFFSET):
 Remove use of ABI_AIX_NODESC.
config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Likewise.
config/rs6000/rs6000.c (print_operand, rs6000_stack_info, debug_stack_info,
 output_function_profiler, rs6000_trampoline_size,
 rs6000_initialise_trampoline): Likewise.
config/rs6000/rs6000.md (call, call_value, call_nonlocal_sysv,
 call_indirect_nonlocal_sysv, call_value_indirect_nonlocal_sysv,
 call_value_nonlocal_sysv, sibcall_value_nonlocal_sysv, sibcall_nonlocal_sysv,
 sibcall_value_local64): Likewise.
config/rs6000/t-ppcgas (MULTILIB_OPTIONS): Remove mcall-aix multilibs.
 (MULTILIB_DIRNAMES): Remove mcall-aix directories.
 (MULTILIB_EXCEPTIONS): Delete.
 (MULTILIB_MATCHES): Remove mcall-aix matches.
doc/fragments.texi: Replace -mcall-aix example with an ARM one.
doc/install.texi: Delete powerpc-*-eabiaix target.
doc/invoke.texi: Remove documentation of mcall-aix switch.
doc/tm.texi: Remove mcall-aix from example CPP_SPEC.
config.gcc: Delete powerpc-*-eabiaix target.

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

21 years ago * doc/invoke.texi: Fix typos.
kazu [Sun, 13 Apr 2003 11:18:36 +0000 (11:18 +0000)]
* doc/invoke.texi: Fix typos.
* doc/tm.texi: Likewise.

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

21 years ago * os/hpux/ctype_inline.h: Replace with gnu-linux version.
danglin [Sun, 13 Apr 2003 03:56:20 +0000 (03:56 +0000)]
* os/hpux/ctype_inline.h: Replace with gnu-linux version.

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

21 years ago * c-typeck.c (digest_init, push_init_level): Use CONSTRUCTOR_ELTS.
zack [Sun, 13 Apr 2003 03:31:09 +0000 (03:31 +0000)]
* c-typeck.c (digest_init, push_init_level): Use CONSTRUCTOR_ELTS.

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

21 years ago * tree.c (build_constructor): New function.
zack [Sun, 13 Apr 2003 01:45:35 +0000 (01:45 +0000)]
* tree.c (build_constructor): New function.
* tree.h: Prototype it.

* c-typeck.c (build_c_cast, pop_init_level)
* profile.c (build_function_info_value, build_gcov_info_value)
(create_profiler):
Use build_constructor.

* builtins.c (expand_builtin_args_info): Remove #if 0 blocks.

* objc/objc-act.c (build_constructor):
Rename objc_build_constructor. Use build_constructor.
(build_objc_string_object, objc_add_static_instance)
(init_def_list, init_objc_symtab, init_module_descriptor)
(generate_static_references, build_selector_translation_table)
(build_descriptor_table_initializer, generate_descriptor_table)
(build_protocol_initializer, build_ivar_list_initializer)
(generate_ivars_list, build_dispatch_table_initializer)
(generate_dispatch_table, generate_protocol_list)
(build_category_initializer, build_shared_structure_initializer):
Update to match.

ada:
* gigi.h, utils2.c (build_constructor):
Rename gnat_build_constructor. Use build_constructor.
* decl.c (gnat_to_gnu_entity)
* trans.c (tree_transform, pos_to_constructor, extract_values)
* ada/utils.c (build_template, convert_to_fat_pointer, convert)
(unchecked_convert)
* ada/utils2.c (build_binary_op, build_call_raise, build_allocator)
(fill_vms_descriptor):
Update to match.

cp:
* class.c (initialize_array)
* decl.c (reshape_init)
* decl2.c (build_expr_from_tree)
* init.c (build_zero_init)
* pt.c (tsubst_copy, tsubst_copy_and_build)
* rtti.c (tinfo_base_init, generic_initializer, ptr_initializer)
(ptm_initializer, class_initializer, get_pseudo_ti_init)
* semantics.c (finish_compound_literal)
* typeck.c (build_ptrmemfunc1)
* typeck2.c (store_init_value, process_init_constructor)
(build_functional_cast): Use build_constructor.

f:
* com.c (ffecom_build_complex_constant_, ffecom_expr_)
(ffecom_init_zero_, ffecom_transform_namelist_, ffecom_vardesc_)
(ffecom_vardesc_array_, ffecom_vardesc_dims_, ffecom_2)
* ste.c (ffeste_io_ialist_, ffeste_io_cilist_, ffeste_io_cllist_)
(ffeste_io_icilist_, ffeste_io_inlist_, ffeste_io_olist_):
Use build_constructor.

java:
* class.c (make_field_value, make_method_value, get_dispatch_table)
(make_class_data, emit_offset_symbol_table)
* constants.c (build_constants_constructor)
* java-tree.h (START_RECORD_CONSTRUCTOR)
* parse.y (maybe_build_array_element_wfl):
Use build_constructor.

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

21 years agoDaily bump.
gccadmin [Sun, 13 Apr 2003 00:17:05 +0000 (00:17 +0000)]
Daily bump.

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

21 years ago * intl.h: #define gcc_gettext_width to strlen when !ENABLE_NLS.
zack [Sat, 12 Apr 2003 23:07:34 +0000 (23:07 +0000)]
    * intl.h: #define gcc_gettext_width to strlen when !ENABLE_NLS.

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

21 years ago * config/m68hc11/m68hc11-protos.h
ciceron [Sat, 12 Apr 2003 21:52:33 +0000 (21:52 +0000)]
* config/m68hc11/m68hc11-protos.h
(m68hc11_eq_compare_operator): Declare
* config/m68hc11/m68hc11.h (PREDICATE_CODES): Register new predicate.
* config/m68hc11/m68hc11.c (m68hc11_eq_compare_operator): New predicate
(d_register_operand): Check the operand mode.
(hard_addr_reg_operand): Likewise.

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

21 years ago * config/m68hc11/m68hc11.md ("decrement_and_branch_until_zero"): New
ciceron [Sat, 12 Apr 2003 21:22:49 +0000 (21:22 +0000)]
* config/m68hc11/m68hc11.md ("decrement_and_branch_until_zero"): New
pattern for dbcc/ibcc generation for 68HC12.
("doloop_end"): New pattern.
("m68hc12_dbcc_dec_hi"): New pattern for dbeq/dbne.
("m68hc12_dbcc_inc_hi"): New pattern for ibeq/ibne.
("m68hc12_dbcc_dec_qi"): New pattern.
("m68hc12_dbcc_inc_qi"): New pattern.
(split): Add split for the above when we can't use dbcc/ibcc due to
reloading.
(peephole2): Add peephole2 to generate the above when possible.

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

21 years ago * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
dje [Sat, 12 Apr 2003 21:13:12 +0000 (21:13 +0000)]
    * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc:
        Change basic_streambuf instantiation to "unsigned char".
        * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.

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

21 years ago * config/m68hc11/m68hc11.md ("bitcmpqi" split): No need to test the
ciceron [Sat, 12 Apr 2003 20:35:28 +0000 (20:35 +0000)]
* config/m68hc11/m68hc11.md ("bitcmpqi" split): No need to test the
mode of operand 0.
(peephole2 optimize const load): Likewise for operand 2.
("*rotlhi3_with_carry"): Change pattern to a const 1 rotate which
clobbers CC_REGNUM.
("*rotrhi3_with_carry"): Likewise.
(ashift:DI 1 split): Update pattern to create the above rotate.
(lshiftrt:DI 1 split): Likewise.

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

21 years ago * config/m68hc11/m68hc11.md (SOFT_Z_REGNUM): New constant.
ciceron [Sat, 12 Apr 2003 20:05:55 +0000 (20:05 +0000)]
* config/m68hc11/m68hc11.md (SOFT_Z_REGNUM): New constant.
("tstqi_z_used" split): Use it.
("cmphi_z_used"): Likewise.
("bitcmpqi_z_used"): Likewise; also use SP_REGNUM constant.
("cmpqi_z_used"): Likewise.

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

21 years ago PR c++/7910
mmitchel [Sat, 12 Apr 2003 20:01:29 +0000 (20:01 +0000)]
PR c++/7910
* config/i386/winnt.c (i386_pe_mark_dllimport): Fix thinko.

PR c++/7910
* g++.dg/ext/dllimport1.C: New test.

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

21 years ago2003-04-12 Paolo Carlini <pcarlini@unitus.it>
paolo [Sat, 12 Apr 2003 19:21:35 +0000 (19:21 +0000)]
2003-04-12  Paolo Carlini  <pcarlini@unitus.it>

Remove _M_buf_size_opt, use directly _M_buf_size instead.
* include/bits/fstream.tcc
(basic_filebuf::_M_allocate_internal_buffer, setbuf): Remove
references to _M_buf_size_opt.
* include/bits/sstream.tcc (basic_stringbuf::overflow): Likewise.
* include/bits/streambuf.tcc (__copy_streambufs): Likewise, rename
__bufsize to __in_avail and __size_opt to __buf_size.
* include/ext/stdio_filebuf.h (stdio_filebuf::stdio_filebuf): Likewise.
* include/std/std_sstream.h (_M_stringbuf_init, setbuf): Likewise.
* include/std/std_streambuf.h (~basic_streambuf(),
basic_streambuf()): Likewise, remove _M_buf_size_opt member.
* testsuite/27_io/basic_filebuf/close/char/3.cc: Set _M_buf_size.
* testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
* testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Likewise.
* testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Likewise.
* testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Likewise.
* testsuite/27_io/basic_filebuf/snextc/char/1.cc: Likewise.
* testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
* testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
* testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
* testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.

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

21 years ago * configure.in: Check for wchar.h, mbstowcs, and wcswidth.
zack [Sat, 12 Apr 2003 18:07:06 +0000 (18:07 +0000)]
    * configure.in: Check for wchar.h, mbstowcs, and wcswidth.
        * configure, config.in: Regenerate.
        * intl.c (gcc_gettext_width): New function.
        * intl.h: Prototype it.
cp:
        * call.c (print_z_candidates): Use gcc_gettext_width, not
        strlen, to determine how much padding to use.

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

21 years ago * gcc.dg/ultrasp8.c: Fix for 32-bit Sparc.
ebotcazou [Sat, 12 Apr 2003 17:45:01 +0000 (17:45 +0000)]
* gcc.dg/ultrasp8.c: Fix for 32-bit Sparc.

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

21 years ago2003-04-12 Paolo Carlini <pcarlini at unitus dot it>
paolo [Sat, 12 Apr 2003 16:07:51 +0000 (16:07 +0000)]
2003-04-12  Paolo Carlini  <pcarlini at unitus dot it>

* include/ext/stdio_filebuf.h
(stdio_filebuf::stdio_filebuf(int, openmode, bool, size_t),
stdio_filebuf::stdio_filebuf(__c_file*, openmode, size_t):
_M_buf_size_opt == 0 means only "not to use an allocated buffer"
since a stack-based buffer is used for small values of the size_t
parameter.
* include/bits/fstream.tcc (basic_filebuf::_M_really_overflow).
If _M_buf_size != 0 flush out the buffer (any kind, stack-based too).
* testsuite/ext/stdio_filebuf_2.cc: New testfile.

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

21 years ago * config/m68hc11/m68hc11.h (TARGET_SWITCHES): Fix -mnominmax option;
ciceron [Sat, 12 Apr 2003 15:14:26 +0000 (15:14 +0000)]
* config/m68hc11/m68hc11.h (TARGET_SWITCHES): Fix -mnominmax option;
recognize -mnorelax.
(reg_class): Add Z_OR_S_REGS to represent soft registers with Z
(REG_CLASS_NAMES): Add its name.
(REG_CLASS_CONTENTS): Define its content.

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

21 years ago * config/m68hc11/larith.asm (memcpy): Use ARG macro to access stack
ciceron [Sat, 12 Apr 2003 14:52:17 +0000 (14:52 +0000)]
* config/m68hc11/larith.asm (memcpy): Use ARG macro to access stack
parameters so that offsets are valid for far definition.
(__mulsi3): Likewise and use ret to return.
(___adddi3, ___subdi3, ___notdi2, ): Don't use it to save the result.

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

21 years ago * config/rs6000/rs6000.c (rs6000_hash_constant): Skip '0' fields.
dje [Sat, 12 Apr 2003 14:50:21 +0000 (14:50 +0000)]
    * config/rs6000/rs6000.c (rs6000_hash_constant): Skip '0' fields.

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

21 years ago2003-04-12 Paolo Carlini <pcarlini@unitus.it>
paolo [Sat, 12 Apr 2003 13:56:37 +0000 (13:56 +0000)]
2003-04-12  Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/9533
* testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: New.
* testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Ditto.

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

21 years ago* mklibgcc.in (libgcc-stage-start): For every multilib directory
aoliva [Sat, 12 Apr 2003 09:06:46 +0000 (09:06 +0000)]
* mklibgcc.in (libgcc-stage-start): For every multilib  directory
containing a libgcc.a, move lib* to the corresponding stage dir.

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

21 years ago* Makefile.in (stage1-start, stage2-start, stage3-start,
aoliva [Sat, 12 Apr 2003 09:00:27 +0000 (09:00 +0000)]
* Makefile.in (stage1-start, stage2-start, stage3-start,
stage4-start): Move $(SPECS) to specs in stage dir.
(unstage1 unstage2 unstage3 unstage4): Move specs in stage dir
back as $(SPECS).

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

21 years ago* mklibgcc.in (libgcc-stage-start): Move into the stage directory
aoliva [Sat, 12 Apr 2003 06:22:52 +0000 (06:22 +0000)]
* mklibgcc.in (libgcc-stage-start): Move into the stage directory
object files from the non-libgcc/ multilib directories as well.

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

21 years ago * profile.c (read_counts_file): Initialise 'checksum'.
geoffk [Sat, 12 Apr 2003 03:51:23 +0000 (03:51 +0000)]
* profile.c (read_counts_file): Initialise 'checksum'.

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

21 years ago * emit-rtl.c (gen_rtx): Really correct typo.
geoffk [Sat, 12 Apr 2003 02:54:22 +0000 (02:54 +0000)]
* emit-rtl.c (gen_rtx): Really correct typo.

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

21 years ago PR c++/9393
geoffk [Sat, 12 Apr 2003 02:16:46 +0000 (02:16 +0000)]
PR c++/9393
* doc/invoke.texi (Debugging Options): Document -frandom-seed.
* configure.in: Check for gettimeofday.
* tree.c (flag_random_seed): Define.
(default_flag_random_seed): New.
(append_random_chars): Use flag_random_seed rather than trying
to acquire randomness here.
* tree.h (default_flag_random_seed): Declare.
* toplev.c (display_help): Add -frandom-seed and -fstack-limit-*
descriptions.
(decode_f_option): Handle -frandom-seed.
(print_switch_values): Call default_flag_random_seed.
* flags.h (flag_random_seed): Declare.
* configure: Regenerate.
* config.in: Regenerate.
* config/alpha/t-crtfm: Use -frandom-seed.

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

21 years ago * c-pch.c: Include flags.h. Add comments to routines.
geoffk [Sat, 12 Apr 2003 01:58:33 +0000 (01:58 +0000)]
* c-pch.c: Include flags.h.  Add comments to routines.
(struct c_pch_validity): New.
(get_ident): Update PCH file version number.
(pch_init): Output current debugging type.
(c_common_valid_pch): Check debugging type.
* Makefile.in (c-pch.o): Update dependencies.
* flags.h (debug_type_names): Declare.
* toplev.c (debug_type_names): Move out of decode_g_option.

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

21 years ago * doc/extend.texi (Empty Structures): New.
geoffk [Sat, 12 Apr 2003 01:43:11 +0000 (01:43 +0000)]
* doc/extend.texi (Empty Structures): New.

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

21 years ago2003-04-11 Eric Christopher <echristo@redhat.com>
echristo [Sat, 12 Apr 2003 01:27:20 +0000 (01:27 +0000)]
2003-04-11  Eric Christopher  <echristo@redhat.com>

* emit-rtl.c (gen_rtx): Fix typos.

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

21 years agoDaily bump.
gccadmin [Sat, 12 Apr 2003 00:17:08 +0000 (00:17 +0000)]
Daily bump.

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

21 years ago * emit-rtl.c (gen_rtx): Zero '0' fields.
rth [Fri, 11 Apr 2003 23:27:59 +0000 (23:27 +0000)]
    * emit-rtl.c (gen_rtx): Zero '0' fields.

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

21 years ago PR c++/10202
rth [Fri, 11 Apr 2003 22:44:23 +0000 (22:44 +0000)]
    PR c++/10202
        * expr.c (expand_expr): Use COMPLETE_OR_UNBOUND_ARRAY_TYPE_P
        not COMPLETE_TYPE_P for re-invoking layout_decl.
* g++.dg/expr/incomplete1.C: New.

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

21 years ago * doc/bugreport.texi: Fix paragraph breaking between sections
gerald [Fri, 11 Apr 2003 21:35:01 +0000 (21:35 +0000)]
* doc/bugreport.texi: Fix paragraph breaking between sections
in preparation for TeXinfo's paragraph indentation fixes.
* doc/extend.texi: Ditto.
* doc/invoke.texi: Ditto.
* doc/objc.texi: Ditto.
* doc/gcov.texi: Wrap 'gcov' in @command{}.
* doc/invoke.texi (Darwin Options): Add a preamble.

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

21 years ago2003-04-11 Bud Davis <bdavis9659@comcast.net>
toon [Fri, 11 Apr 2003 21:33:48 +0000 (21:33 +0000)]
2003-04-11  Bud Davis <bdavis9659@comcast.net>

PR Fortran/9263
* gcc/f/data.c (ffedata_advance_): Check initial, final and
increment values for INTEGER typeness.
PR Fortran/1832
* libf2c/libI77/iio.c (z_putc): Check for overflowing length
of output string.
* gcc/f/news.texi: Document these fixes.
PR Fortran/9263
* g77.f-torture/noncompile/9263.f: New test
PR Fortran/1832
* g77.f-torture/execute/1832.f: New test

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

21 years ago * config/i386/i386.c (tls_model_chars): Remove.
rth [Fri, 11 Apr 2003 21:27:14 +0000 (21:27 +0000)]
    * config/i386/i386.c (tls_model_chars): Remove.
        (ix86_encode_section_info, ix86_strip_name_encoding): Remove.
        (local_symbolic_operand): Use SYMBOL_REF_LOCAL_P.
        (tls_symbolic_operand): Use SYMBOL_REF_TLS_MODEL.
        (tls_symbolic_operand_1): Likewise.
        (legitimate_pic_address_disp_p): Use SYMBOL_REF_LOCAL_P.
        * config/i386/i386.h (TARGET_ENCODE_SECTION_INFO): Remove.
        (TARGET_STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Remove.
        * config/i386/winnt.c (i386_pe_encode_section_info): Replace
        bits "copied from i386.h" with default_encode_section_info.

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

21 years ago * rtl.def (SYMBOL_REF): Add two 0 fields.
rth [Fri, 11 Apr 2003 21:15:36 +0000 (21:15 +0000)]
    * rtl.def (SYMBOL_REF): Add two 0 fields.
        * gengtype.c (adjust_field_rtx_def): Handle them.
        * print-rtl.c (print_rtx): Print them.
        * rtl.h (SYMBOL_REF_DECL, SYMBOL_REF_FLAGS): New.
        (SYMBOL_FLAG_FUNCTION, SYMBOL_REF_FUNCTION_P): New.
        (SYMBOL_FLAG_LOCAL, SYMBOL_REF_LOCAL_P): New.
        (SYMBOL_FLAG_SMALL, SYMBOL_REF_SMALL_P): New.
        (SYMBOL_FLAG_TLS_SHIFT, SYMBOL_REF_TLS_MODEL): New.
        (SYMBOL_FLAG_EXTERNAL, SYMBOL_REF_EXTERNAL_P): New.
        (SYMBOL_FLAG_MACH_DEP): New.
        * optabs.c (init_one_libfunc): Zap fake SYMBOL_REF_DECL.
        * varasm.c (make_decl_rtl): Set SYMBOL_REF_DECL.
        (assemble_static_space): Set SYMBOL_REF_FLAGS.
        (assemble_trampoline_template): Likewise.
        (output_constant_def, force_const_mem): Likewise.
        (default_encode_section_info): New.
        * output.h: Declare it.
        * target-def.h (TARGET_ENCODE_SECTION_INFO): Use it.

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

21 years ago * libfuncs.h (LTI_setbits, LTI_gcov_flush, LTI_gcov_init): New.
rth [Fri, 11 Apr 2003 19:45:32 +0000 (19:45 +0000)]
    * libfuncs.h (LTI_setbits, LTI_gcov_flush, LTI_gcov_init): New.
        (setbits_libfunc, gcov_flush_libfunc, gcov_init_libfunc): New.
        * optabs.c (init_optabs): Initialize them.
        (init_libfuncs): Use init_one_libfunc.
        * calls.c (expand_call): Use gcov_flush_libfunc.
        * expr.c (store_constructor): Use setbits_libfunc.
        * function.c (expand_main_function): Use init_one_libfunc.
        * profile.c (create_profiler): Use gcov_init_libfunc and DECL_RTL.

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

21 years ago2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 11 Apr 2003 19:01:29 +0000 (19:01 +0000)]
2003-04-11  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/22_locale/locale/cons/3.cc: Split.
* testsuite/22_locale/locale/cons/7222-c.cc: New.
* testsuite/22_locale/locale/cons/7222-env.cc: New.
Check before trying to create a locale from the environment.
* testsuite/27_io/ios_base/state/1.cc (test02): Use "C" locale.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
Adjust includes.

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

21 years ago * doc/c-tree.texi (Functions): Remove DECL_REAL_CONTEXT
mmitchel [Fri, 11 Apr 2003 18:36:25 +0000 (18:36 +0000)]
* doc/c-tree.texi (Functions): Remove DECL_REAL_CONTEXT
documentation; add DECL_FRIEND_CONTEXT.

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

21 years ago * doc/install.texi (hppa): Update links for HP-UX patches. Revise
danglin [Fri, 11 Apr 2003 18:30:52 +0000 (18:30 +0000)]
* doc/install.texi (hppa): Update links for HP-UX patches.  Revise
notes on linker selection and configuration for 64-bit HP-UX port.
* doc/invoke.texi (hppa): Remove hppa text from description for
-ffunction-sections and -fdata-sections.  Document -static, -nolibdld
and -threads options.
* pa-hpux10.h (LIB_SPEC): Add link options to resolve dependency of
libc.a on libdld.sl when -static is specified and -nolibdld is not
specified.
* pa64-hpux.h (LIB_SPEC): Likewise.
* pa-hpux11.h (LIB_SPEC): Likewise.
(LINK_SPEC): Add __gcc_plt_call as an undefined symbol when -shared
is not specified.

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

21 years ago * config/darwin-c.c (darwin_pragma_unused): Use lookup_name,
zack [Fri, 11 Apr 2003 18:06:38 +0000 (18:06 +0000)]
    * config/darwin-c.c (darwin_pragma_unused): Use lookup_name,
        not IDENTIFIER_LOCAL_VALUE.

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

21 years ago2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 11 Apr 2003 17:48:51 +0000 (17:48 +0000)]
2003-04-11  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/22_locale/ctype/is/char/3.cc (test03): Use the classic
locale to construct this hybrid locale, not the global locale.

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

21 years ago2003-04-11 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 11 Apr 2003 17:25:20 +0000 (17:25 +0000)]
2003-04-11  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Add
instantiation for AIX.
* testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
* testsuite/25_algorithms/min_max.cc: Same.

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

21 years ago PR c/10201
rth [Fri, 11 Apr 2003 16:22:29 +0000 (16:22 +0000)]
    PR c/10201
        * expr.c (expand_expr): Move DECL_RTL frobbing ...
        * stor-layout.c (layout_decl): ... here.

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

21 years ago * doc/invoke.texi: Eliminate extra white-space caused by
gerald [Fri, 11 Apr 2003 14:59:05 +0000 (14:59 +0000)]
* doc/invoke.texi: Eliminate extra white-space caused by
@gccoptlist{ on its own line.
* doc/invoke.texi: Ensured there are two spaces between each option.
* doc/invoke.texi: Re-wrapped option lines that were too wide.
Added @gol to options that didn't have them.

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

21 years ago * Makefile.in (loop-init.o): Do not depend on gcov-io.h,
nathan [Fri, 11 Apr 2003 10:38:57 +0000 (10:38 +0000)]
* Makefile.in (loop-init.o): Do not depend on gcov-io.h,
gcov-iov.h.

Simplify interface to gcov reading and writing.
* gcov-io.h (gcov_file, gcov_position, gcov_length, gcov_buffer,
gcov_alloc, gcov_modified, gcov_errored): Move into ...
(struct gcov_var gcov_var): ... this static structure.
(gcov_write_unsigned, gcov_write_counter, gcov_write_string):
Return void.
(gcov_read_unsigned, gcov_read_couter, gcov_read_string): Return
read object.
(gcov_read_bytes, gcov_write_bytes): Set error flag on error.
(gcov_reserve_length): Remove.
(gcov_write_tag): New.
(gcov_write_length): Adjust.
(gcov_read_summary, gcov_write_summary): Adjust.
(gcov_eof, gcov_ok): Rename to ...
(gcov_is_eof, gcov_is_error): ... here. Return error code.
(gcov_save_position, gcov_resync): Rename to ...
(gcov_position, gcov_seek): ... here.
(gcov_skip, gcov_skip_string): Remove.
(gcov_error): Remove.
(gcov_open, gcov_close): Adjust.
* gcov.c (find_source): Take const char *, copy it on allocation.
(read_graph_file): Adjust.
(read_count_file): Adjust.
* libgcov.c (gcov_exit): Adjust.
* gcov-dump.c (tag_function, tag_blocks, tag_arcs, tag_lines,
tag_arc_counts, tag_summary): Return void. Adjust.
(struct tag_format): Adjust proc member.
(dump_file): Adjust gcov calls.

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

21 years ago* Makefile.in (fixinc.sh): Pass BUILD_LIBERTY as LIBERTY to
aoliva [Fri, 11 Apr 2003 04:40:57 +0000 (04:40 +0000)]
* Makefile.in (fixinc.sh): Pass BUILD_LIBERTY as LIBERTY to
mkfixinc.sh.
* fixinc/mkfixinc.sh (defs): Add LIBERTY.
* configure.in (STMP_FIXINC, STMP_FIXPROTO): Don't disable on
build != host sysrooted builds.
* configure.in (SYSTEM_HEADER_DIR): Make sure it contains
TARGET_SYSTEM_ROOT even on sysrooted natives.
* configure: Rebuilt.

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

21 years ago libobjc/8562
ljrittle [Fri, 11 Apr 2003 04:30:33 +0000 (04:30 +0000)]
libobjc/8562
(in libobjc:)
* objc/hash.h (hash_string): Constify correctly.
(compare_ptrs): Use direct compare.
* objc/objc-list.h (list_nth): Rename index to indx to avoid shadow.
* objc/sarray.h: Global rename index to indx to avoid shadow.

(in gcc/testsuite:)
* objc.dg/headers.m: New test.

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

21 years ago2003-04-10 Zack Weinberg <zack@codesourcery.com>
zack [Fri, 11 Apr 2003 04:26:55 +0000 (04:26 +0000)]
2003-04-10  Zack Weinberg  <zack@codesourcery.com>

* c-decl.c (struct binding_level): Add shadowed_tags and
function_body; remove this_block, tag_transparent, and
subblocks_tag_transparent; update comments.
(clear_binding_level, lookup_tag_reverse): Kill.
(make_binding_level): Use ggc_alloc_cleared or memset.
(lookup_tag): Remove struct binding_level* parameter.  All
callers changed. Just look at IDENTIFIER_TAG_VALUE, and
current_binding_level->tags if asked for thislevel_only or if
we might have to diagnose "struct foo; union foo;"
(pushlevel): Ignore argument.  Do not push another binding
level on the transition from the parameters to the top level
of the function body; just tweak the flags and proceed.
(poplevel): Overhaul.  Clear IDENTIFIER_TAG_VALUEs; on exiting
a function body, separate the parameter list from the
top-level local variables.
(set_block): Do nothing.
(pushtag): Set IDENTIFIER_TAG_VALUE and add an entry to
shadowed_tags if necessary.
(warn_if_shadowing): Nuke the special case for local shadowing
parameter.
(pushdecl): Do not create a shadow entry if we are replacing
an older decl in the same binding level.
(pushdecl_function_level): Tweak for new way of indicating
function scope.
(shadow_tag_warned): Use TYPE_NAME, not lookup_tag_reverse.
(start_function): Don't set subblocks_tag_transparent.
(finish_function): Fix up the binding_level stack for totally
empty functions.  Otherwise, don't call poplevel.

* c-common.c (shadow_warning): MANDATORY argument is no longer
necessary.  Always use plain warning.
* c-common.h: Update to match.

* cfglayout.c (scope_to_insns_initialize): Clear block when we
hit the FUNCTION_DECL.
* function.c: Do not create cyclic tree structure.

2003-04-10  Zack Weinberg  <zack@codesourcery.com>

* c-tree.h (struct lang_identifier): Replace global_value,
local_value members with symbol_value, tag_value.  Kill
implicit_decl and limbo_value.
(IDENTIFIER_GLOBAL_VALUE, IDENTIFIER_LOCAL_VALUE,
IDENTIFIER_LIMBO_VALUE, IDENTIFIER_IMPLICIT_DECL,
C_MISSING_PROTOTYPE_WARNED): Kill.
(IDENTIFIER_SYMBOL_VALUE, IDENTIFIER_TAG_VALUE,
C_DECL_IMPLICIT, C_DECL_ISNT_PROTOTYPE): New.
(C_DECL_ANTICIPATED): Rename to C_DECL_INVISIBLE.
(implicit_decl_warning, lookup_name_current_level,
record_function_scope_shadow): Don't prototype.
(pushdecl_function_level): Prototype.

* c-decl.c (truly_local_externals): New variable.
(struct binding_level): Adjust commentary.
(get_function_binding_level, clear_limbo_values,
record_function_scope_shadow): Kill.
(lookup_name_current_level, implicit_decl_warning): Are now static.
(any_external_decl, record_external_decl): New static functions.
(clone_underlying type): Split out of pushdecl.
(c_print_identifier): Update to match changes to struct
lang_identifier.
(poplevel): Delete #if 0 block.  Make externals invisible
instead of clearing their IDENTIFIER_SYMBOL_VALUEs.  Don't
call clear_limbo_values.  Refer to IDENTIFIER_SYMBOL_VALUE not
IDENTIFIER_GLOBAL_VALUE or IDENTIFIER_LOCAL_VALUE.
(duplicate-decls): For real parm decl after a forward decl,
set TREE_ASM_WRITTEN here.  Allow void foo(...) followed by
foo(...) { } with only a warning.  Say whether a previous
declaration was implicit.
(warn_if_shadowing): Now handles all shadowing, not just
local-over-local.  Clarify comments.
(pushdecl): Rewritten.  There is no longer a distinction
between global and local symbol values; they're all
IDENTIFIER_SYMBOL_VALUE.  Call record_external_decl on all
DECL_EXTERNAL decls, and use any_external_decl to check
against previous externals.  Kill #if 0 blocks.  Don't
tolerate error_mark_node being NULL.
(pushdecl_top_level): Handle only those cases which
Objective C (the only user) needs.
(pushdecl_function_level): New function.
(implicitly_declare): Create ordinary decls with
C_DECL_IMPLICIT set.  Recycle old decls, however they got
created.
(lookup_name): It's always IDENTIFIER_SYMBOL_VALUE. Return 0
for C_DECL_INVISIBLE symbols.
(lookup_name_current_level): Likewise.  Use chain_member.
(c_make_fname_decl): Don't muck with DECL_CONTEXT.
Use pushdecl_function_level.
(builtin_function): Use C_DECL_INVISIBLE.
(start_function): Don't muck with IDENTIFIER_IMPLICIT_DECL.
Use C_DECL_ISNT_PROTOTYPE and C_DECL_IMPLICIT.
(store_parm_decls): It's IDENTIFIER_SYMBOL_VALUE now.
(identifier_global_value): Same.  Must scan
global_binding_level in extremis.

* c-typeck.c (undeclared_variable): New static function, split
from build_external_ref.
(build_external_ref): Use DECL_CONTEXT, not
IDENTIFIER_LOCAL_VALUE, to decide whether a local hides
an instance variable.  Restructure for clarity.
* objc/objc-act.c: Use identifier_global_value, not
IDENTIFIER_GLOBAL_VALUE.

cp:
* decl.c: Update all calls to shadow_warning.

testsuite:
* gcc.c-torture/execute/builtin-noret-2.c: New.
* gcc.c-torture/execute/builtin-noret-2.x: New.
XFAIL builtin-noret-2.c at -O1 and above.
* gcc.dg/redecl.c: New.
* gcc.dg/Wshadow-1.c: Update error regexps.

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

21 years ago* libtool.m4 (lt_cv_deplibs_check_method): Use pass_all on mips*.
aoliva [Fri, 11 Apr 2003 04:20:21 +0000 (04:20 +0000)]
* libtool.m4 (lt_cv_deplibs_check_method): Use pass_all on mips*.
* */configure: Rebuilt.

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

21 years ago * basic_file_stdio.cc (__basic_file<char>::close): Don't flush stream
danglin [Fri, 11 Apr 2003 02:57:44 +0000 (02:57 +0000)]
* basic_file_stdio.cc (__basic_file<char>::close): Don't flush stream
twice.  Always set _M_cfile to 0 when stream was open.

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

21 years ago2003-04-08 Jonathan Wakely <redi@gcc.gnu.org>
redi [Fri, 11 Apr 2003 02:25:13 +0000 (02:25 +0000)]
2003-04-08  Jonathan Wakely  <redi@gcc.gnu.org>

* doc/extend.texi (Template Instantiation): Refer to ISO standard,
not Working Paper.
* doc/invoke.texi (C++ Dialect Options): Same.

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

21 years ago * verify.cc (pop64): Removed.
tromey [Fri, 11 Apr 2003 01:57:05 +0000 (01:57 +0000)]
* verify.cc (pop64): Removed.
(verify_instructions_0) <op_pop2>: Inline code.  Don't throw
exception if top-of-stack is narrow.
(initialize_stack): Check to ensure that <init> is not static and
<clinit> is.

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

21 years ago * tree.c (tree_operand_check_failed): New function.
zack [Fri, 11 Apr 2003 00:24:58 +0000 (00:24 +0000)]
* tree.c (tree_operand_check_failed): New function.
* tree.h (TREE_OPERAND_CHECK, TREE_OPERAND_CHECK_CODE,
TREE_RTL_OPERAND_CHECK): New checking macros.
(TREE_OPERAND, SAVE_EXPR_CONTEXT, SAVE_EXPR_RTL,
RTL_EXPR_SEQUENCE, RTL_EXPR_RTL, WITH_CLEANUP_EXPR_RTL,
CONSTRUCTOR_ELTS, LABELED_BLOCK_LABEL, LABELED_BLOCK_BODY,
EXIT_BLOCK_RETURN, LOOP_EXPR_BODY, EXPR_WFL_NODE,
EXPR_WFL_FILENAME_NODE, EXPR_WFL_FILENAME, TARGET_EXPR_SLOT,
TARGET_EXPR_INITIAL, TARGET_EXPR_CLEANUP): Use the new
checking macros.

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

21 years agoDaily bump.
gccadmin [Fri, 11 Apr 2003 00:17:06 +0000 (00:17 +0000)]
Daily bump.

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

21 years ago2003-04-10 Eric Blake <ebb9@email.byu.edu>
ericb [Thu, 10 Apr 2003 23:41:32 +0000 (23:41 +0000)]
2003-04-10  Eric Blake  <ebb9@email.byu.edu>

PR java/10253:
* parse.y (string_convert_int_cst): Always use at least one digit
in string conversion. Remove ASCII dependence.
(merge_string_cste): Fix merging of 3-byte UTF-8 characters.

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

21 years agoNew test.
rth [Thu, 10 Apr 2003 22:16:06 +0000 (22:16 +0000)]
New test.

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

21 years ago PR inline-asm/8803
hubicka [Thu, 10 Apr 2003 21:54:33 +0000 (21:54 +0000)]
PR inline-asm/8803
* function.c (instantate_virtual_regs):  Verify that all ASM statements
match after the virutal regs instantiation.

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

21 years ago * ia64-protos.h (addp4_optimize_ok): New.
sje [Thu, 10 Apr 2003 19:53:54 +0000 (19:53 +0000)]
* ia64-protos.h (addp4_optimize_ok): New.
* ia64.c (addp4_optimize_ok): New.
* ia64.md (*ptr_extend_plus_1): Use addp4_optimize_ok.
(*ptr_extend_plus_2): Ditto.

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

21 years ago * expr.c (expand_assignment): Extend offset_rtx with convert_to_mode
sje [Thu, 10 Apr 2003 19:39:07 +0000 (19:39 +0000)]
* expr.c (expand_assignment): Extend offset_rtx with convert_to_mode
not with convert_memory_address.
(store_constructor): Ditto, and same for copy_size_rtx.
(expand_expr): Ditto.

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

21 years ago * class.c (layout_class_type): Correct handling for overlong
mmitchel [Thu, 10 Apr 2003 19:28:46 +0000 (19:28 +0000)]
* class.c (layout_class_type): Correct handling for overlong
bit-fields whose width is the same as an integer type.

* g++.dg/abi/bitfield10.C: New test.

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

21 years ago * config/i386/i386.c (ix86_ms_bitfield_layout_p): Fix formatting.
rupp [Thu, 10 Apr 2003 18:55:33 +0000 (18:55 +0000)]
* config/i386/i386.c (ix86_ms_bitfield_layout_p): Fix formatting.

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

21 years ago2003-03-16 Mohan Embar <gnustuff@thisiscool.com>
aph [Thu, 10 Apr 2003 18:24:42 +0000 (18:24 +0000)]
2003-03-16  Mohan Embar  <gnustuff@thisiscool.com>

        * Make-lang.in: added win32-host.c
        * jcf.h: defined macro JCF_OPEN_EXACT_CASE which
        resolves to open() on non-Win32 platforms and
        Win32-specific jcf_open_exact_case() on Win32
        * jcf-io.c (find_class): use JCF_OPEN_EXACT_CASE
        when trying .java and .class files
        * win32-host.c: added to repository. Defines
        Win32-specific jcf_open_exact_case()

2003-04-10  Andrew Haley  <aph@redhat.com>

        * jcf-write.c (struct jcf_partial): num_jsrs: new field.
        (maybe_free_localvar): Renamed from localvar_free.
        Add new arg, really.
        (generate_bytecode_insns): Set new variable, jsrs.
        Only free local vars if no jsr insns have been emittted.
        Call maybe_free_localvar, not localvar_free.

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

21 years ago * config/xtensa/lib2funcs.S (__xtensa_sync_caches): Flush data cache
bwilson [Thu, 10 Apr 2003 16:57:58 +0000 (16:57 +0000)]
* config/xtensa/lib2funcs.S (__xtensa_sync_caches): Flush data cache
even if it is configured to be write-through.

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

21 years ago * config/s390/s390.c (larl_operand): Do not allow symbols
uweigand [Thu, 10 Apr 2003 16:40:03 +0000 (16:40 +0000)]
* config/s390/s390.c (larl_operand): Do not allow symbols
marked with '@'.
(s390_encode_section_info): Mark symbols with forced 1-byte
alignment with '@'.
(s390_strip_name_encoding): Strip '@'.
(legitimize_pic_address): Handle symbols that are not valid
LARL operands in 64-bit mode.

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

21 years ago2003-04-10 Andrew Haley <aph@redhat.com>
aph [Thu, 10 Apr 2003 15:00:03 +0000 (15:00 +0000)]
2003-04-10  Andrew Haley  <aph@redhat.com>

        * tree-inline.c (inlinable_function_p): Disable inlining for
        synchronized methods.

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

21 years ago2003-04-09 Steven Bosscher <steven@gcc.gnu.org>
steven [Thu, 10 Apr 2003 08:07:13 +0000 (08:07 +0000)]
2003-04-09  Steven Bosscher  <steven@gcc.gnu.org>

* c-common.h (lang_statement_code_p): Remove declaration.
(statement_code_p): Ditto.
(c_common_stmt_codes): Define; list of c-common statement codes.
(statement_code_p): New extern declaration.
(STATEMENT_CODE_P): Define.
(INIT_STATEMENT_CODES): Define.
* c-common.c (statement_code_p): Kill the function, declare
as an array of bools instead.
(lang_statement_code_p): Remove.
(walk_stmt_tree): Use STATEMENT_CODE_P not statement_code_p.
(c_safe_from_p): Ditto.
* c-objc-common.c (c_objc_common_init): Use INIT_STATEMENT_CODES
to initialize the statement_code_p array.
* tree-inline.c (walk_tree): Use STATEMENT_CODE_P instead of
statement_code_p.
(copy_tree_r): Ditto.
* cp/cp-tree.h (cp_stmt_codes): Define; list of C++ specific
statement tree codes.
* cp/lex.c (cxx_init): Add missing print line break.  Use
INIT_STATEMENT_CODES to initialize the statement_code_p array.
* cp/parser.c (cp_parser_statement): Use STATEMENT_CODE_P
instead of statement_code_p.
* cp/pt.c (tsubst_expr): Ditto.
* cp/tree.c (verify_stmt_tree_r): Ditto.
(cp_statement_code_p): Remove.
(init_tree): Don't set lang_statement_code_p, it's gone.

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

21 years ago2003-04-09 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 10 Apr 2003 07:15:40 +0000 (07:15 +0000)]
2003-04-09  Benjamin Kosnik  <bkoz@redhat.com>

Reshuffle 27_io testsuite.  * testsuite/27_io/filebuf.cc,
filebuf_members-1.tst, filebuf_members-1.txt, filebuf_members.cc,
filebuf_virtuals-1.tst, filebuf_virtuals-1.txt,
filebuf_virtuals-2.tst, filebuf_virtuals-3.tst,
filebuf_virtuals.cc, fpos.cc, fstream.cc, fstream_members.cc,
ifstream.cc, ifstream_members-1.tst, ifstream_members-1.txt,
ifstream_members.cc, instantiations.cc, ios.cc,
ios_base_callbacks.cc, ios_base_members_static-1.tst,
ios_base_members_static.cc, ios_base_storage.cc,
ios_base_types.cc, ios_ctor.cc, ios_init.cc,
ios_manip_basefield.cc, ios_manip_fmtflags.cc, ios_members.cc,
iostream.cc, iostream_members.cc, istream.cc,
istream_exception.cc, istream_extractor_char.cc,
istream_extractor_other-1.tst, istream_extractor_other-1.txt,
istream_extractor_other-2.tst, istream_extractor_other.cc,
istream_manip.cc, istream_seeks-1.tst, istream_seeks-1.txt,
istream_seeks-2.tst, istream_seeks-3.tst, istream_seeks.cc,
istream_sentry.cc, istream_unformatted-1.tst,
istream_unformatted-1.txt, istream_unformatted.cc,
istringstream.cc, istringstream_members.cc,
narrow_stream_objects.cc, ofstream.cc, ofstream_members-1.tst,
ofstream_members.cc, ostream.cc, ostream_exception.cc,
ostream_fail.cc, ostream_inserter_arith.cc,
ostream_inserter_char-1.tst, ostream_inserter_char-1.txt,
ostream_inserter_char.cc, ostream_inserter_other-1.tst,
ostream_inserter_other-2.tst, ostream_inserter_other.cc,
ostream_manip.cc, ostream_seeks-1.tst, ostream_seeks.cc,
ostream_sentry.cc, ostream_unformatted.cc, ostringstream.cc,
ostringstream_members.cc, standard_manipulators.cc, streambuf.cc,
streambuf_members.cc, stringbuf.cc, stringbuf_members.cc,
stringbuf_virtuals.cc, stringstream.cc, stringstream_members.cc,
wide_stream_objects.cc, istream_extractor_arith/01.cc,
istream_extractor_arith/02.cc, istream_extractor_arith/03.cc,
istream_extractor_arith/06.cc, istream_extractor_arith/07.cc,
istream_extractor_arith/08.cc, istream_extractor_arith/09.cc,
istream_extractor_arith/10.cc, istream_extractor_arith/11.cc,
istream_extractor_arith/12.cc, istream_extractor_arith/13.cc:
Split into...
* 27_io/basic_filebuf/1.cc: New.
* 27_io/basic_filebuf/2.cc: New.
* 27_io/basic_filebuf/3.cc: New.
* 27_io/basic_filebuf/4.cc: New.
* 27_io/basic_filebuf/close/char/1.cc: New.
* 27_io/basic_filebuf/close/char/2.cc: New.
* 27_io/basic_filebuf/close/char/3.cc: New.
* 27_io/basic_filebuf/close/char/4879.cc: New.
* 27_io/basic_filebuf/close/char/9964.cc: New.
* 27_io/basic_filebuf/imbue/char/1.cc: New.
* 27_io/basic_filebuf/imbue/char/9322.cc: New.
* 27_io/basic_filebuf/in_avail/char/1.cc: New.
* 27_io/basic_filebuf/is_open/char/1.cc: New.
* 27_io/basic_filebuf/open/char/1.cc: New.
* 27_io/basic_filebuf/open/char/2.cc: New.
* 27_io/basic_filebuf/open/char/3.cc: New.
* 27_io/basic_filebuf/open/char/9507.cc: New.
* 27_io/basic_filebuf/overflow/char/1.cc: New.
* 27_io/basic_filebuf/overflow/char/3599.cc: New.
* 27_io/basic_filebuf/overflow/char/9169.cc: New.
* 27_io/basic_filebuf/overflow/char/9182-2.cc: New.
* 27_io/basic_filebuf/overflow/char/9988.cc: New.
* 27_io/basic_filebuf/sbumpc/char/1.cc: New.
* 27_io/basic_filebuf/sbumpc/char/9825.cc: New.
* 27_io/basic_filebuf/seekoff/char/1.cc: New.
* 27_io/basic_filebuf/seekoff/char/2.cc: New.
* 27_io/basic_filebuf/seekpos/char/1.cc: New.
* 27_io/basic_filebuf/seekpos/char/2.cc: New.
* 27_io/basic_filebuf/setbuf/char/1.cc: New.
* 27_io/basic_filebuf/setbuf/char/2.cc: New.
* 27_io/basic_filebuf/setbuf/char/3.cc: New.
* 27_io/basic_filebuf/sgetc/char/1.cc: New.
* 27_io/basic_filebuf/sgetn/char/1.cc: New.
* 27_io/basic_filebuf/sgetn/char/2.cc: New.
* 27_io/basic_filebuf/snextc/char/1.cc: New.
* 27_io/basic_filebuf/sputbackc/char/1.cc: New.
* 27_io/basic_filebuf/sputbackc/char/9425.cc: New.
* 27_io/basic_filebuf/sputc/char/1.cc: New.
* 27_io/basic_filebuf/sputc/char/1057.cc: New.
* 27_io/basic_filebuf/sputc/char/9701-2.cc: New.
* 27_io/basic_filebuf/sputn/char/1.cc: New.
* 27_io/basic_filebuf/sputn/char/1057.cc: New.
* 27_io/basic_filebuf/sputn/char/9701-1.cc: New.
* 27_io/basic_filebuf/sungetc/char/1.cc: New.
* 27_io/basic_filebuf/sync/char/1057.cc: New.
* 27_io/basic_filebuf/sync/char/9182-1.cc: New.
* 27_io/basic_filebuf/underflow/char/10097.cc: New.
* 27_io/basic_fstream/1.cc: New.
* 27_io/basic_fstream/2.cc: New.
* 27_io/basic_fstream/3.cc: New.
* 27_io/basic_fstream/4.cc: New.
* 27_io/basic_fstream/rdbuf/char/2832.cc: New.
* 27_io/basic_ifstream/1.cc: New.
* 27_io/basic_ifstream/2.cc: New.
* 27_io/basic_ifstream/3.cc: New.
* 27_io/basic_ifstream/4.cc: New.
* 27_io/basic_ifstream/cons/char/1.cc: New.
* 27_io/basic_ifstream/open/char/1.cc: New.
* 27_io/basic_ifstream/rdbuf/char/2832.cc: New.
* 27_io/basic_ios/1.cc: New.
* 27_io/basic_ios/2.cc: New.
* 27_io/basic_ios/3.cc: New.
* 27_io/basic_ios/4.cc: New.
* 27_io/basic_ios/clear/char/1.cc: New.
* 27_io/basic_ios/cons/char/1.cc: New.
* 27_io/basic_ios/cons/char/2.cc: New.
* 27_io/basic_ios/cons/char/3.cc: New.
* 27_io/basic_ios/copyfmt/char/1.cc: New.
* 27_io/basic_ios/copyfmt/char/2.cc: New.
* 27_io/basic_ios/exceptions/char/1.cc: New.
* 27_io/basic_ios/locales/char/1.cc: New.
* 27_io/basic_iostream/1.cc: New.
* 27_io/basic_iostream/2.cc: New.
* 27_io/basic_iostream/3.cc: New.
* 27_io/basic_iostream/4.cc: New.
* 27_io/basic_istream/1.cc: New.
* 27_io/basic_istream/2.cc: New.
* 27_io/basic_istream/3.cc: New.
* 27_io/basic_istream/4.cc: New.
* 27_io/basic_istream/exceptions/char/9561.cc: New.
* 27_io/basic_istream/extractors_arithmetic/char/01.cc: New.
* 27_io/basic_istream/extractors_arithmetic/char/02.cc: New.
* 27_io/basic_istream/extractors_arithmetic/char/03.cc: New.
* 27_io/basic_istream/extractors_arithmetic/char/06.cc: New.
* 27_io/basic_istream/extractors_arithmetic/char/07.cc: New.
* 27_io/basic_istream/extractors_arithmetic/char/08.cc: New.
* 27_io/basic_istream/extractors_arithmetic/char/09.cc: New.
* 27_io/basic_istream/extractors_arithmetic/char/10.cc: New.
* 27_io/basic_istream/extractors_arithmetic/char/11.cc: New.
* 27_io/basic_istream/extractors_arithmetic/char/12.cc: New.
* 27_io/basic_istream/extractors_arithmetic/char/13.cc: New.
* 27_io/basic_istream/extractors_character/char/1.cc: New.
* 27_io/basic_istream/extractors_character/char/2.cc: New.
* 27_io/basic_istream/extractors_character/char/3.cc: New.
* 27_io/basic_istream/extractors_character/char/9826.cc: New.
* 27_io/basic_istream/extractors_other/char/1.cc: New.
* 27_io/basic_istream/extractors_other/char/2.cc: New.
* 27_io/basic_istream/extractors_other/char/3.cc: New.
* 27_io/basic_istream/extractors_other/char/9318-in.cc: New.
* 27_io/basic_istream/extractors_other/char/9424-in.cc: New.
* 27_io/basic_istream/get/char/1.cc: New.
* 27_io/basic_istream/get/char/2.cc: New.
* 27_io/basic_istream/getline/char/1.cc: New.
* 27_io/basic_istream/getline/char/2.cc: New.
* 27_io/basic_istream/getline/char/3.cc: New.
* 27_io/basic_istream/ignore/char/1.cc: New.
* 27_io/basic_istream/ignore/char/6360.cc: New.
* 27_io/basic_istream/ignore/char/7220.cc: New.
* 27_io/basic_istream/peek/char/1.cc: New.
* 27_io/basic_istream/peek/char/6414.cc: New.
* 27_io/basic_istream/putback/char/1.cc: New.
* 27_io/basic_istream/read/char/1.cc: New.
* 27_io/basic_istream/read/char/2.cc: New.
* 27_io/basic_istream/read/char/3.cc: New.
* 27_io/basic_istream/readsome/char/6746-1.cc: New.
* 27_io/basic_istream/readsome/char/6746-2.cc: New.
* 27_io/basic_istream/readsome/char/8258.cc: New.
* 27_io/basic_istream/seekg/char/2346-fstream.cc: New.
* 27_io/basic_istream/seekg/char/2346-sstream.cc: New.
* 27_io/basic_istream/seekg/char/8348-1.cc: New.
* 27_io/basic_istream/seekg/char/8348-2.cc: New.
* 27_io/basic_istream/seekg/char/fstream.cc: New.
* 27_io/basic_istream/seekg/char/sstream.cc: New.
* 27_io/basic_istream/sentry/char/1.cc: New.
* 27_io/basic_istream/sentry/char/2.cc: New.
* 27_io/basic_istream/sentry/char/3.cc: New.
* 27_io/basic_istream/sentry/char/3983-fstream.cc: New.
* 27_io/basic_istream/sentry/char/3983-sstream.cc: New.
* 27_io/basic_istream/tellg/char/1.cc: New.
* 27_io/basic_istream/tellg/char/8348.cc: New.
* 27_io/basic_istream/tellg/char/fstream.cc: New.
* 27_io/basic_istream/tellg/char/sstream.cc: New.
* 27_io/basic_istream/ws/char/1.cc: New.
* 27_io/basic_istringstream/1.cc: New.
* 27_io/basic_istringstream/2.cc: New.
* 27_io/basic_istringstream/3.cc: New.
* 27_io/basic_istringstream/4.cc: New.
* 27_io/basic_istringstream/rdbuf/char/2832.cc: New.
* 27_io/basic_istringstream/str/char/1.cc: New.
* 27_io/basic_ofstream/1.cc: New.
* 27_io/basic_ofstream/2.cc: New.
* 27_io/basic_ofstream/3.cc: New.
* 27_io/basic_ofstream/4.cc: New.
* 27_io/basic_ofstream/cons/char/2.cc: New.
* 27_io/basic_ofstream/open/char/1.cc: New.
* 27_io/basic_ofstream/rdbuf/char/2832.cc: New.
* 27_io/basic_ostream/1.cc: New.
* 27_io/basic_ostream/2.cc: New.
* 27_io/basic_ostream/3.cc: New.
* 27_io/basic_ostream/4.cc: New.
* 27_io/basic_ostream/cons/char/9827.cc: New.
* 27_io/basic_ostream/endl/char/1.cc: New.
* 27_io/basic_ostream/ends/char/1.cc: New.
* 27_io/basic_ostream/ends/char/2.cc: New.
* 27_io/basic_ostream/exceptions/char/9561.cc: New.
* 27_io/basic_ostream/flush/char/1.cc: New.
* 27_io/basic_ostream/inserters_arithmetic/char/1.cc: New.
* 27_io/basic_ostream/inserters_arithmetic/char/2.cc: New.
* 27_io/basic_ostream/inserters_arithmetic/char/3.cc: New.
* 27_io/basic_ostream/inserters_arithmetic/char/4.cc: New.
* 27_io/basic_ostream/inserters_arithmetic/char/4402.cc: New.
* 27_io/basic_ostream/inserters_arithmetic/char/5.cc: New.
* 27_io/basic_ostream/inserters_arithmetic/char/6.cc: New.
* 27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc: New.
* 27_io/basic_ostream/inserters_character/char/1.cc: New.
* 27_io/basic_ostream/inserters_character/char/2.cc: New.
* 27_io/basic_ostream/inserters_character/char/3.cc: New.
* 27_io/basic_ostream/inserters_character/char/4.cc: New.
* 27_io/basic_ostream/inserters_character/char/5.cc: New.
* 27_io/basic_ostream/inserters_character/char/6.cc: New.
* 27_io/basic_ostream/inserters_character/char/8.cc: New.
* 27_io/basic_ostream/inserters_character/wchar_t/7.cc: New.
* 27_io/basic_ostream/inserters_character/wchar_t/8.cc: New.
* 27_io/basic_ostream/inserters_other/char/1.cc: New.
* 27_io/basic_ostream/inserters_other/char/2.cc: New.
* 27_io/basic_ostream/inserters_other/char/3.cc: New.
* 27_io/basic_ostream/inserters_other/char/4.cc: New.
* 27_io/basic_ostream/inserters_other/char/9318-out.cc: New.
* 27_io/basic_ostream/inserters_other/char/9424-out.cc: New.
* 27_io/basic_ostream/sentry/char/1.cc: New.
* 27_io/basic_ostream/sentry/char/2.cc: New.
* 27_io/basic_ostream/sentry/char/3983-fstream.cc: New.
* 27_io/basic_ostream/sentry/char/3983-sstream.cc: New.
* 27_io/basic_ostream/tellp/char/1.cc: New.
* 27_io/basic_ostream/tellp/char/2.cc: New.
* 27_io/basic_ostringstream/1.cc: New.
* 27_io/basic_ostringstream/2.cc: New.
* 27_io/basic_ostringstream/3.cc: New.
* 27_io/basic_ostringstream/4.cc: New.
* 27_io/basic_ostringstream/cons/char/3.cc: New.
* 27_io/basic_ostringstream/rdbuf/char/2832.cc: New.
* 27_io/basic_ostringstream/str/char/1.cc: New.
* 27_io/basic_ostringstream/str/char/2.cc: New.
* 27_io/basic_streambuf/1.cc: New.
* 27_io/basic_streambuf/2.cc: New.
* 27_io/basic_streambuf/3.cc: New.
* 27_io/basic_streambuf/cons/char/1.cc: New.
* 27_io/basic_streambuf/imbue/char/1.cc: New.
* 27_io/basic_streambuf/imbue/char/9322.cc: New.
* 27_io/basic_streambuf/overflow/char/1.cc: New.
* 27_io/basic_streambuf/overflow/char/2.cc: New.
* 27_io/basic_streambuf/overflow/char/3599.cc: New.
* 27_io/basic_streambuf/sgetc/char/1.cc: New.
* 27_io/basic_streambuf/sgetn/char/1.cc: New.
* 27_io/basic_streambuf/sputbackc/char/9538.cc: New.
* 27_io/basic_streambuf/sputc/char/1057.cc: New.
* 27_io/basic_streambuf/sputn/char/1.cc: New.
* 27_io/basic_streambuf/sputn/char/1057.cc: New.
* 27_io/basic_streambuf/sync/char/1057.cc: New.
* 27_io/basic_stringbuf/1.cc: New.
* 27_io/basic_stringbuf/2.cc: New.
* 27_io/basic_stringbuf/3.cc: New.
* 27_io/basic_stringbuf/4.cc: New.
* 27_io/basic_stringbuf/5.cc: New.
* 27_io/basic_stringbuf/imbue/char/1.cc: New.
* 27_io/basic_stringbuf/imbue/char/9322.cc: New.
* 27_io/basic_stringbuf/in_avail/char/1.cc: New.
* 27_io/basic_stringbuf/overflow/char/2.cc: New.
* 27_io/basic_stringbuf/overflow/char/3599.cc: New.
* 27_io/basic_stringbuf/overflow/char/9988.cc: New.
* 27_io/basic_stringbuf/sbumpc/char/1.cc: New.
* 27_io/basic_stringbuf/sbumpc/char/9825.cc: New.
* 27_io/basic_stringbuf/seekoff/char/1.cc: New.
* 27_io/basic_stringbuf/seekoff/char/2.cc: New.
* 27_io/basic_stringbuf/seekpos/char/1.cc: New.
* 27_io/basic_stringbuf/seekpos/char/2.cc: New.
* 27_io/basic_stringbuf/setbuf/char/1.cc: New.
* 27_io/basic_stringbuf/setbuf/char/2.cc: New.
* 27_io/basic_stringbuf/setbuf/char/3.cc: New.
* 27_io/basic_stringbuf/sgetc/char/1.cc: New.
* 27_io/basic_stringbuf/sgetn/char/1.cc: New.
* 27_io/basic_stringbuf/snextc/char/1.cc: New.
* 27_io/basic_stringbuf/sputbackc/char/1.cc: New.
* 27_io/basic_stringbuf/sputbackc/char/9425.cc: New.
* 27_io/basic_stringbuf/sputc/char/1.cc: New.
* 27_io/basic_stringbuf/sputc/char/1057.cc: New.
* 27_io/basic_stringbuf/sputc/char/9404-1.cc: New.
* 27_io/basic_stringbuf/sputn/char/1.cc: New.
* 27_io/basic_stringbuf/sputn/char/1057.cc: New.
* 27_io/basic_stringbuf/sputn/char/9404-2.cc: New.
* 27_io/basic_stringbuf/str/char/1.cc: New.
* 27_io/basic_stringbuf/str/char/2.cc: New.
* 27_io/basic_stringbuf/str/char/3.cc: New.
* 27_io/basic_stringbuf/str/char/3955.cc: New.
* 27_io/basic_stringbuf/sungetc/char/1.cc: New.
* 27_io/basic_stringbuf/sync/char/1057.cc: New.
* 27_io/basic_stringstream/1.cc: New.
* 27_io/basic_stringstream/2.cc: New.
* 27_io/basic_stringstream/3.cc: New.
* 27_io/basic_stringstream/4.cc: New.
* 27_io/basic_stringstream/rdbuf/char/2832.cc: New.
* 27_io/basic_stringstream/str/char/1.cc: New.
* 27_io/basic_stringstream/str/char/2.cc: New.
* 27_io/basic_stringstream/str/char/3.cc: New.
* 27_io/basic_stringstream/str/char/4.cc: New.
* 27_io/fpos/1.cc: New.
* 27_io/fpos/2.cc: New.
* 27_io/fpos/3.cc: New.
* 27_io/ios_base/callbacks/1.cc: New.
* 27_io/ios_base/state/1.cc: New.
* 27_io/ios_base/storage/1.cc: New.
* 27_io/ios_base/storage/2.cc: New.
* 27_io/ios_base/storage/3.cc: New.
* 27_io/ios_base/sync_with_stdio/1.cc: New.
* 27_io/ios_base/sync_with_stdio/2.cc: New.
* 27_io/manipulators/adjustfield/char/1.cc: New.
* 27_io/manipulators/adjustfield/char/2.cc: New.
* 27_io/manipulators/basefield/char/1.cc: New.
* 27_io/manipulators/standard/char/1.cc: New.
* 27_io/manipulators/standard/char/2.cc: New.
* 27_io/objects/char/1.cc: New.
* 27_io/objects/char/2.cc: New.
* 27_io/objects/char/2523-1_xin.cc: New.
* 27_io/objects/char/2523-1_xin.in: New.
* 27_io/objects/char/2523-2_xin.cc: New.
* 27_io/objects/char/2523-2_xin.in: New.
* 27_io/objects/char/3045.cc: New.
* 27_io/objects/char/3647.cc: New.
* 27_io/objects/char/3_xin.cc: New.
* 27_io/objects/char/3_xin.in: New.
* 27_io/objects/char/4_xin.cc: New.
* 27_io/objects/char/4_xin.in: New.
* 27_io/objects/char/5268.cc: New.
* 27_io/objects/char/5280_xin.cc: New.
* 27_io/objects/char/5280_xin.in: New.
* 27_io/objects/char/6548_xin.cc: New.
* 27_io/objects/char/6548_xin.in: New.
* 27_io/objects/char/6648-1_xin.cc: New.
* 27_io/objects/char/6648-1_xin.in: New.
* 27_io/objects/char/6648-2_xin.cc: New.
* 27_io/objects/char/6648-2_xin.in: New.
* 27_io/objects/char/7744_xin.cc: New.
* 27_io/objects/char/7744_xin.in: New.
* 27_io/objects/wchar_t/1.cc: New.
* 27_io/types/1.cc: New.
* 27_io/types/2.cc: New.
* data/filebuf_members-1.tst: New.
* data/filebuf_members-1.txt: New.
* data/filebuf_virtuals-1.tst: New.
* data/filebuf_virtuals-1.txt: New.
* data/filebuf_virtuals-2.tst: New.
* data/filebuf_virtuals-3.tst: New.
* data/ifstream_members-1.tst: New.
* data/ifstream_members-1.txt: New.
* data/ios_base_members_static-1.tst: New.
* data/istream_extractor_other-1.tst: New.
* data/istream_extractor_other-1.txt: New.
* data/istream_extractor_other-2.tst: New.
* data/istream_seeks-1.tst: New.
* data/istream_seeks-1.txt: New.
* data/istream_seeks-2.tst: New.
* data/istream_seeks-3.tst: New.
* data/istream_unformatted-1.tst: New.
* data/istream_unformatted-1.txt: New.
* data/ofstream_members-1.tst: New.
* data/ostream_inserter_char-1.tst: New.
* data/ostream_inserter_char-1.txt: New.
* data/ostream_inserter_other-1.tst: New.
* data/ostream_inserter_other-2.tst: New.
* data/ostream_seeks-1.tst: New.

2003-04-09  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/sstream.tcc (basic_stringbuf::seekpos): Remove
requirement that __mode must be strict input or output.

* include/std/std_streambuf.h (basic_streambuf::setp): Set
_M_out_lim.

* include/std/std_sstream.h (basic_strinbuf::str): Zero length
output string shouldn't core.
(basic_stringbuf::_M_really_sync): Add base argument. Remove rturn
type.
* include/bits/sstream.tcc: Adjust _M_really_sync bits here.

* include/bits/istream.tcc (basic_istream::putback): Set gcount to
zero.

2003-04-09  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/data: New directory.
* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
to copy files from the testsuite data directory.
(libstdc++-v3-list-sourcefiles): Add another test list filter, for
testfiles containing _xin, which now means this is an interactive
test and should be run with the interactive dejagnu hooks.
* testsuite/Makefile.am: Remove testsuite_* files.
* testsuite/Makefile.in: Regenerate.

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

21 years ago * docs/html/install.html: Document complete list of locales
zack [Thu, 10 Apr 2003 05:31:39 +0000 (05:31 +0000)]
* docs/html/install.html: Document complete list of locales
required by test suite.  Document procedure for installing
said locales under Debian.  Solicit instructions for other
operating systems.

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

21 years ago2003-04-09 Dan Nicolaescu <dann@ics.uci.edu>
zack [Thu, 10 Apr 2003 05:24:26 +0000 (05:24 +0000)]
2003-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
    Zack Weinberg  <zack@codesourcery.com>

* regrename.c (struct du_chain): Use a bitfield for reg_class.
* cse.c (struct qty_table_elem, struct table_elt, struct set):
Use bitfields for fields holding enum rtx_code or
enum machine_mode values.  Add comments explaining size choices.

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

21 years agoDaily bump.
gccadmin [Thu, 10 Apr 2003 00:17:08 +0000 (00:17 +0000)]
Daily bump.

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

21 years ago * include/private/gcconfig.h (LINUX_STACKBOTTOM): Define for
tromey [Thu, 10 Apr 2003 00:08:10 +0000 (00:08 +0000)]
* include/private/gcconfig.h (LINUX_STACKBOTTOM): Define for
POWERPC.
(STACK_GRAN, HEURISTIC1): Don't define for POWERPC.

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

21 years ago * g++.dg/pch/pch.exp: Make testcase names longer.
mrs [Wed, 9 Apr 2003 23:33:06 +0000 (23:33 +0000)]
* g++.dg/pch/pch.exp: Make testcase names longer.

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

21 years ago * gcc.dg/pch/pch.exp: Make testcase names longer.
mrs [Wed, 9 Apr 2003 23:22:02 +0000 (23:22 +0000)]
* gcc.dg/pch/pch.exp: Make testcase names longer.

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

21 years ago * gcc.dg/pch/pch.exp: Make testcase names longer.
mrs [Wed, 9 Apr 2003 22:47:36 +0000 (22:47 +0000)]
* gcc.dg/pch/pch.exp: Make testcase names longer.

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

21 years ago* config/fp-bit.c (unpack_d): Handle pair of doubles with
aoliva [Wed, 9 Apr 2003 19:30:29 +0000 (19:30 +0000)]
* config/fp-bit.c (unpack_d): Handle pair of doubles with
different signs correctly.

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

21 years ago2003-04-09 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Wed, 9 Apr 2003 18:51:54 +0000 (18:51 +0000)]
2003-04-09  Vladimir Makarov  <vmakarov@redhat.com>

* sched-deps.c (reg_pending_barrier_mode): New enumeration.
(reg_pending_barrier): Make it of the enumeration type.
(sched_analyze_2): Define the barrier as MOVE_BARRIER or
TRUE_BARRIER.
(sched_analyze): Ditto.
(sched_analyze_insn): Ditto.  Use anti-dependencies for
MOVE_BARRIER and true-dependencies as TRUE_BARRIER.
(init_deps_global): Initialize the barrier as NO_BARRIER.

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

21 years ago2003-04-09 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Wed, 9 Apr 2003 18:50:03 +0000 (18:50 +0000)]
2003-04-09  Vladimir Makarov  <vmakarov@redhat.com>

* config/ia64/ia64.c (issue_nops_and_insn): Add new parameter.
Check that asm insn starts on a new cycle.  Add nops after asm
insn to end bundle.
(bundling): Move insn type evaluation from the loop.  Call
issue_nops_and_insn with the new parameter.  Ignore changing
position for nops after asm insn.

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

21 years ago* optabs.c: Comment that gen_add2_insn and others may actually
aoliva [Wed, 9 Apr 2003 17:50:08 +0000 (17:50 +0000)]
* optabs.c: Comment that gen_add2_insn and others may actually
return emitted insns, if the gen functions turn out to return
emitted insns.
* reload1.c (reload_cse_move2add): Cope with emitted insns from
gen_add2_insn.

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

21 years ago * config/ia64/ia64.c (move_operand): Allow symbolic_operand,
rth [Wed, 9 Apr 2003 17:13:31 +0000 (17:13 +0000)]
    * config/ia64/ia64.c (move_operand): Allow symbolic_operand,
        but not tls_symbolic_operand.
        (ia64_expand_load_address): Remove scratch operand.
        (ia64_expand_tls_address): Split out from ia64_expand_move.
        (ia64_expand_move): Split symbolics only after reload.
        (ia64_emit_cond_move): New.
        * config/ia64/ia64-protos.h: Update.
        * config/ia64/ia64.md (movsi_symbolic, movdi_symbolic): Remove.
        (symbolic splitter): Accept SImode operands too.
        (cmove splitter): Use ia64_emit_cond_move.

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

21 years ago* doc/install.texi: Note that ARM toolchains need binutils 2.13 or newer.
nickc [Wed, 9 Apr 2003 15:14:23 +0000 (15:14 +0000)]
* doc/install.texi: Note that ARM toolchains need binutils 2.13 or newer.
* config/arm/elf.h (SUBTARGET_ASM_FLOAT_SPEC): Pass -mfpu=softfpa instead of -mno-fpu.
* config/arm/semi.h (ASM_SPEC): Likewise.
* config/arm/xscale-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Likewise,
  but only if -msoft-float is specified pass.  Otherwise pass -mfpu=softvfp.

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

21 years ago2003-04-08 Joel Sherrill <joel@oarcorp.com>
joel [Wed, 9 Apr 2003 12:51:09 +0000 (12:51 +0000)]
2003-04-08  Joel Sherrill  <joel@oarcorp.com>

* MAINTAINERS: Add my email address.

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

21 years ago * function.c (purge_addressof): Use free_INSN_LIST_node instead of
rakdver [Wed, 9 Apr 2003 06:32:21 +0000 (06:32 +0000)]
* function.c (purge_addressof): Use free_INSN_LIST_node instead of
free_EXPR_LIST_node.

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

21 years agoDaily bump.
gccadmin [Wed, 9 Apr 2003 00:17:13 +0000 (00:17 +0000)]
Daily bump.

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

21 years ago * fold-const.c (fold): Use "fold" following build in more places.
sayle [Tue, 8 Apr 2003 23:28:28 +0000 (23:28 +0000)]
* fold-const.c (fold):  Use "fold" following build in more places.
Optimize sqrt(x)*sqrt(x) as x, pow(x,y)*pow(z,y) as pow(x*z,y),
pow(x,y)*pow(x,z) as pow(x,y+z) and x/pow(y,z) as x*pow(y,-z).

* gcc.dg/builtins-11.c: New test case.

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

21 years ago * builtins.c (fold_builtin): Constant fold expressions as x*0.5
sayle [Tue, 8 Apr 2003 23:24:38 +0000 (23:24 +0000)]
* builtins.c (fold_builtin):  Constant fold expressions as x*0.5
instead of x/2.0.  Optimize sqrt(pow(x,y)) as pow(x,y*0.5),
log(pow(x,y)) as y*log(x), pow(exp(x),y) as exp(x*y),
pow(sqrt(x),y) as pow(x,y*0.5) and pow(pow(x,y),z) as pow(x,y*z).
Delete function scope "fcode" variable to avoid shadowing.

* gcc.dg/builtins-9.c: New test case.
* gcc.dg/builtins-10.c: New test case.

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

21 years ago * dwarf2out.c (DWARF_ARANGES_HEADER_SIZE, DWARF_ARANGES_PAD_SIZE):
kevinb [Tue, 8 Apr 2003 22:54:13 +0000 (22:54 +0000)]
* dwarf2out.c (DWARF_ARANGES_HEADER_SIZE, DWARF_ARANGES_PAD_SIZE):
Take into account DWARF_INITIAL_LENGTH_SIZE.

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

21 years ago2003-04-08 Joel Sherrill <joel@oarcorp.com>
joel [Tue, 8 Apr 2003 22:30:26 +0000 (22:30 +0000)]
2003-04-08  Joel Sherrill  <joel@oarcorp.com>

* MAINTAINERS: Add my email address.

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

21 years ago * reorg.c (fill_slots_from_thread): When considering changing the
hp [Tue, 8 Apr 2003 20:16:54 +0000 (20:16 +0000)]
* reorg.c (fill_slots_from_thread): When considering changing the
insn following a reg-to-reg copy insn to use the source reg of the
copy, bail out if there's overlap between the registers.

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

21 years ago * function.c (postponed_insns): New.
rakdver [Tue, 8 Apr 2003 19:53:34 +0000 (19:53 +0000)]
* function.c (postponed_insns): New.
(purge_addressof_1): Postpone processing of insns if addressofs
are not put into stack.
(purge_addressof): Process postponed insns.

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

21 years ago * sh.h (NORMAL_MODE): If interrupt handler and TARGET_FMOVD,
amylaar [Tue, 8 Apr 2003 17:31:24 +0000 (17:31 +0000)]
* sh.h (NORMAL_MODE): If interrupt handler and TARGET_FMOVD,
this is FP_MODE_DOUBLE .
* sh.c (ra.h): #include.
(push_regs): Add second parameter.  Changed all callers.
If necessary, set fpscr before saving floating point registers.
(calc_live_regs): If interrupt handler and TARGET_FMOVD, always
do saves / restores with SZ == 1.
(sh_expand_prologue): If interrupt handler, don't use gen_toggle_sz.
(sh_expand_epilogue): Likewise.  For TARGET_FMOVD, if floating point
registers are being restored, restore FPSCR only after restoring them.

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

21 years agoNew test.
rth [Tue, 8 Apr 2003 17:10:32 +0000 (17:10 +0000)]
New test.

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

21 years ago2003-04-08 Aldy Hernandez <aldyh@redhat.com>
aldyh [Tue, 8 Apr 2003 14:01:58 +0000 (14:01 +0000)]
2003-04-08  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.c (rs6000_init_builtins): Set opaque types
        regardless of architecture.
        (spe_init_builtins): Change V2SI and V2SF types to opaque types.

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