1. 12 Apr, 2003 23 commits
  2. 11 Apr, 2003 17 commits
    • * emit-rtl.c (gen_rtx): Zero '0' fields. · a73071bc
      From-SVN: r65488
      Richard Henderson committed
    • re PR c++/10202 ([IA64] ICE in int_mode_for_mode, at stor-layout.c) · ca06cfe6
              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
    • bugreport.texi: Fix paragraph breaking between sections in preparation for TeXinfo's paragraph... · d2d42a91
      	* 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
    • re PR fortran/9263 (ICE caused by invalid PARAMETER in implied DO loop) · 62520b20
      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
    • i386.c (tls_model_chars): Remove. · 2ae5ae57
              * 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. · 52859c77
              * 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, [...]): New. · 68d28100
              * 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
    • 3.cc: Split. · 8d3f856e
      
      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
    • c-tree.texi (Functions): Remove DECL_REAL_CONTEXT documentation; add DECL_FRIEND_CONTEXT. · 11fe27a5
      	* doc/c-tree.texi (Functions): Remove DECL_REAL_CONTEXT
      	documentation; add DECL_FRIEND_CONTEXT.
      
      From-SVN: r65472
      Mark Mitchell committed
    • install.texi (hppa): Update links for HP-UX patches. · f401d0f5
      	* 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
    • darwin-c.c (darwin_pragma_unused): Use lookup_name, not IDENTIFIER_LOCAL_VALUE. · 43451169
              * config/darwin-c.c (darwin_pragma_unused): Use lookup_name,
              not IDENTIFIER_LOCAL_VALUE.
      
      From-SVN: r65470
      Zack Weinberg committed
    • 3.cc (test03): Use the classic locale to construct this hybrid locale, not the global locale. · 6df0c1b4
      
      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
    • 3983-fstream.cc: Add instantiation for AIX. · d67b7799
      
      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
    • re PR c/10201 ([IA64] ICE in int_mode_for_mode, at stor-layout.c) · a46666a9
              PR c/10201
              * expr.c (expand_expr): Move DECL_RTL frobbing ...
              * stor-layout.c (layout_decl): ... here.
      
      From-SVN: r65467
      Richard Henderson committed
    • invoke.texi: Eliminate extra white-space caused by @gccoptlist{ on its own line. · 6d2f9dd3
      	* 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. · 94de45d9
      	* 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. · 7a615b25
      * 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