- 12 Apr, 2003 23 commits
-
-
* 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. From-SVN: r65527
Stephane Carrez committed -
* 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. From-SVN: r65526
David Edelsohn committed -
* 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. From-SVN: r65524
Stephane Carrez committed -
* 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. From-SVN: r65522
Stephane Carrez committed -
PR c++/7910 * config/i386/winnt.c (i386_pe_mark_dllimport): Fix thinko. PR c++/7910 * g++.dg/ext/dllimport1.C: New test. From-SVN: r65519
Mark Mitchell committed -
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. From-SVN: r65518
Paolo Carlini committed -
* 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. From-SVN: r65517
Zack Weinberg committed -
From-SVN: r65514
Eric Botcazou committed -
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. From-SVN: r65513
Paolo Carlini committed -
* 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. From-SVN: r65511
Stephane Carrez committed -
* 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. From-SVN: r65509
Stephane Carrez committed -
From-SVN: r65508
David Edelsohn committed -
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. From-SVN: r65507
Paolo Carlini committed -
* mklibgcc.in (libgcc-stage-start): For every multilib directory containing a libgcc.a, move lib* to the corresponding stage dir. From-SVN: r65505
Alexandre Oliva committed -
* 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). From-SVN: r65504
Alexandre Oliva committed -
mklibgcc.in (libgcc-stage-start): Move into the stage directory object files from the non-libgcc/ multilib... * mklibgcc.in (libgcc-stage-start): Move into the stage directory object files from the non-libgcc/ multilib directories as well. From-SVN: r65503
Alexandre Oliva committed -
From-SVN: r65502
Geoffrey Keating committed -
From-SVN: r65501
Geoffrey Keating committed -
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. From-SVN: r65500
Geoffrey Keating committed -
* 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. From-SVN: r65499
Geoffrey Keating committed -
From-SVN: r65497
Geoffrey Keating committed -
2003-04-11 Eric Christopher <echristo@redhat.com> * emit-rtl.c (gen_rtx): Fix typos. From-SVN: r65496
Eric Christopher committed -
From-SVN: r65495
GCC Administrator committed
-
- 11 Apr, 2003 17 commits
-
-
From-SVN: r65488
Richard Henderson committed -
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. From-SVN: r65484
Richard Henderson committed -
* 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. From-SVN: r65482
Simon Law committed -
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 From-SVN: r65481
Bud Davis committed -
* 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. From-SVN: r65480
Richard Henderson committed -
* 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. From-SVN: r65479
Richard Henderson committed -
* 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. From-SVN: r65478
Richard Henderson committed -
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. From-SVN: r65475
Benjamin Kosnik committed -
* doc/c-tree.texi (Functions): Remove DECL_REAL_CONTEXT documentation; add DECL_FRIEND_CONTEXT. From-SVN: r65472
Mark Mitchell committed -
* 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. From-SVN: r65471
John David Anglin committed -
* config/darwin-c.c (darwin_pragma_unused): Use lookup_name, not IDENTIFIER_LOCAL_VALUE. From-SVN: r65470
Zack Weinberg committed -
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. From-SVN: r65469
Benjamin Kosnik committed -
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. From-SVN: r65468
Benjamin Kosnik committed -
PR c/10201 * expr.c (expand_expr): Move DECL_RTL frobbing ... * stor-layout.c (layout_decl): ... here. From-SVN: r65467
Richard Henderson committed -
* 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. From-SVN: r65466
James A. Morrison committed -
* 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. From-SVN: r65464
Nathan Sidwell committed -
* 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. From-SVN: r65462
Alexandre Oliva committed
-