1. 17 Apr, 2003 16 commits
    • ip2k.c (is_regfile_address): Use SYMBOL_REF_FUNCTION_P. · ec94fc00
              * config/ip2k/ip2k.c (is_regfile_address): Use SYMBOL_REF_FUNCTION_P.
              (encode_section_info): Remove.
              * config/ip2k/ip2k-protos.h: Update.
      
      From-SVN: r65730
      Richard Henderson committed
    • varasm.c (default_encode_section_info): Don't set SYMBOL_FLAG_EXTERNAL if not TREE_PUBLIC. · 1b8135a4
              * varasm.c (default_encode_section_info): Don't set
              SYMBOL_FLAG_EXTERNAL if not TREE_PUBLIC.
              * config/i370/i370.c (i370_encode_section_info): Remove.
              * config/i370/i370.h (CONSTANT_ADDRESS_P): Use SYMBOL_REF_EXTERNAL_P.
              (PRINT_OPERAND, PRINT_OPERAND_ADDRESS): Likewise.
              * config/i370/i370.md (movsi): Likewise.
      
              * config/i370/t-i370: Add missing backslash.
      
      From-SVN: r65728
      Richard Henderson committed
    • * doc/invoke.texi (inline-limit): Fix pasto. · 6d7fe8b3
      From-SVN: r65727
      Eric Botcazou committed
    • h8300.c (SYMBOL_FLAG_FUNCVEC_FUNCTION): New. · dc66a1c4
              * config/h8300/h8300.c (SYMBOL_FLAG_FUNCVEC_FUNCTION): New.
              (small_call_insn_operand): Use it.
              (SYMBOL_FLAG_EIGHTBIT_DATA): New.
              (h8300_eightbit_constant_address_p): Use it.
              (SYMBOL_FLAG_TINY_DATA): New.
              (h8300_tiny_constant_address_p): Use it.
              (h8300_encode_label, h8300_strip_name_encoding): Remove.
              (h8300_encode_section_info): Set SYMBOL_REF_FLAGS.
              * config/h8300/h8300.h (TINY_DATA_NAME_P): Remove.
              (ASM_OUTPUT_LABELREF): Remove.
      
      From-SVN: r65726
      Richard Henderson committed
    • frv.c (symbol_ref_small_data_p): Remove. · 0f6e5d45
              * config/frv/frv.c (symbol_ref_small_data_p): Remove.  Replace
              all users with SYMBOL_REF_SMALL_P.
              (const_small_data_p): Use SYMBOL_REF_SMALL_P.
              (frv_encode_section_info): Remove.
              (frv_strip_name_encoding): Remove.
              (frv_in_small_data_p): Merge tests from encode_section_info.
              (frv_print_operand): Use '@' not SDATA_FLAG_CHAR.
              * config/frv/frv.h (SDATA_FLAG_CHAR): Remove.
              (SDATA_NAME_P): Remove.
              (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Use SIZE not SDATA_NAME_P.
              (ASM_OUTPUT_LABELREF): Remove.
              (PRINT_OPERAND_PUNCT_VALID_P): Use '@' not SDATA_FLAG_CHAR.
      
      From-SVN: r65725
      Richard Henderson committed
    • frv.c (frv_asm_out_constructor): New. · 90a63880
              * config/frv/frv.c (frv_asm_out_constructor): New.
              (frv_asm_out_destructor): New.
              * config/frv/frv.h (CTORS_SECTION_ASM_OP): New.
              (DTORS_SECTION_ASM_OP): New.
              (ASM_OUTPUT_CONSTRUCTOR): Remove.
              (ASM_OUTPUT_DESTRUCTOR): Remove.
      
      From-SVN: r65724
      Richard Henderson committed
    • cris.c (cris_gotless_symbol, [...]): Use SYMBOL_REF_LOCAL_P; abort if not pic. · 5c93e01b
              * config/cris/cris.c (cris_gotless_symbol, cris_got_symbol): Use
              SYMBOL_REF_LOCAL_P; abort if not pic.
              (cris_encode_section_info): Remove.
      
      From-SVN: r65721
      Richard Henderson committed
    • c4x.c (c4x_encode_section_info): Remove. · 11467df2
              * config/c4x/c4x.c (c4x_encode_section_info): Remove.
              (c4x_T_constraint): Use SYMBOL_REF_FUNCTION_P.
      
      From-SVN: r65720
      Richard Henderson committed
    • c4x.h (TARGET_CPU_CPP_BUILTINS): Declare flag_inline_trees. · c4a3da4e
              * config/c4x/c4x.h (TARGET_CPU_CPP_BUILTINS): Declare
              flag_inline_trees.
      
      From-SVN: r65719
      Richard Henderson committed
    • avr.c (avr_encode_section_info): Remove. · 74b66b3c
              * config/avr/avr.c (avr_encode_section_info): Remove.
              (avr_insert_attributes): New.
              (print_operand_address): Use SYMBOL_REF_FUNCTION_P.
              (avr_assemble_integer): Likewise.
      
      From-SVN: r65718
      Richard Henderson committed
    • acinclude.m4 (GLIBCPP_CHECK_PCH): New. · 9e57d5ca
      2003-04-16  Benjamin Kosnik  <bkoz@redhat.com>
      
              * acinclude.m4 (GLIBCPP_CHECK_PCH): New.
              * aclocal.m4: Regenerated.
              * configure.in: Remove old demangler bits.
              Call pch checks.
              * configure: Regenerate.
              * config.h.in: Regenerate.
              * include/Makefile.am (allstamps): Now allstamped.
              (allcreated): Define this.
              (all-local): Use 'em.
              Conditionally define pch_build, pch_install based on
              GLIBCPP_BUILD_PCH.
              (${pch_output}): New rule.
              (install-pch): New rule.
              (install-headers): New rule.
              (install-data-local): Install headers and conditionally pch.
              * include/Makefile.in: Regenerate.
              * testsuite_flags.in (--build-cxx): Use pch file.
      
      From-SVN: r65717
      Benjamin Kosnik committed
    • arc.c (arc_encode_section_info): Remove. · 8cbd5ce0
              * arc.c (arc_encode_section_info): Remove.
              (arc_assemble_integer): Use SYMBOL_REF_FUNCTION_P.
              (arc_print_operand, arc_print_operand_address): Likewise.
              * arc.h (EXTRA_CONSTRAINT): Likewise.
      
      From-SVN: r65716
      Richard Henderson committed
    • re PR c/10175 (-Wunreachable-code doesn't work for single lines) · 96c6931d
      2003-04-16  Roger Sayle  <roger@eyesopen.com>
      
      	* c-semantics.c (find_reachable_label): New function to find a
      	potentially reachable label in an expression.
      	(expand_unreachable_if_stmt): Similar to expand_if_stmt but
      	assumes the start of the IF_STMT is unreachable (dead) code.
      	(expand_unreachable_stmt): Similar to expand_stmt but assumes
      	the start of the statement list is unreachable (dead) code.
      	(genrtl_if_stmt):  If the controlling expression of the IF
      	is constant, use expand_unreachable_stmt for the THEN or ELSE
      	clause as appropriate.
      	(genrtl_switch_stmt):  Use expand_unreachable_stmt to expand
      	the body of a SWITCH statement.
      	(expand_stmt): The code immediately following a "return",
      	"break", "continue" or "goto" is unreachable.
      	* Makefile.in (c-semantics.o): Depend upon tree-inline.h.
      
      	* gcc.dg/Wunreachable-5.c: New test case for PR c/10175.
      	* gcc.c-torture/execute/medce-1.c: New test case.
      	* gcc.c-torture/execute/medce-2.c: New test case.
      
      From-SVN: r65715
      Roger Sayle committed
    • rtl.h (MEM_ALIAS_SET): Update documentation. · 3568b0ef
              * rtl.h (MEM_ALIAS_SET): Update documentation.
              * doc/rtl.texi (Special Accessors): New node.
              (SYMBOL_REF_FLAG): Note relationship with SYMBOL_REF_FLAGS.
      
      From-SVN: r65714
      Richard Henderson committed
    • reload1.c (reload_cse_noop_set_p): Return false if mode of SET_DEST is not the… · 60fa6660
      reload1.c (reload_cse_noop_set_p): Return false if mode of SET_DEST is not the same as that returned by...
      
      * reload1.c (reload_cse_noop_set_p): Return false if mode of
      SET_DEST is not the same as that returned by...
      * cselib.h (cselib_reg_set_mode): ... new function.
      * cselib.c (cselib_reg_set_mode): Define it.
      (REG_VALUES): Document semantics of first element as set mode.
      (cselib_subst_to_values): Skip first element if ELT is NULL.
      (cselib_lookup): Likewise.  Insert past the first element.
      (cselib_invalidate_regno): NULLify first element.
      (cselib_record_set): Set first element.
      
      From-SVN: r65713
      Alexandre Oliva committed
    • Daily bump. · e34d367d
      From-SVN: r65712
      GCC Administrator committed
  2. 16 Apr, 2003 19 commits
  3. 15 Apr, 2003 5 commits
    • re PR libstdc++/9423 (filebuf::pubsetbuf(0, 0) doesn't turn off buffering if called after open) · bafa3c3c
      2003-04-15  Benjamin Kosnik  <bkoz@redhat.com>
      	    Paolo Carlini  <pcarlini@unitus.it>
      
      	PR libstdc++/9423
      	* docs/html/27_io/howto.html
      	('The buffering is screwing up my program!'): Explain that
      	opening counts as an I/O operation.
      
      Co-Authored-By: Paolo Carlini <pcarlini@unitus.it>
      
      From-SVN: r65665
      Benjamin Kosnik committed
    • varasm.c (output_constant_def): Do not consult CONSTANT_AFTER_FUNCTION_P. · 0b78a9b6
      	* varasm.c (output_constant_def): Do not consult
      	CONSTANT_AFTER_FUNCTION_P.  Remove all code predicated on it.
      	(after_function_constants, output_after_function_constants): Delete.
      	* doc/tm.texi: Delete documentation of CONSTANT_AFTER_FUNCTION_P.
      	* config/mips/mips-protos.h, config/mips/mips.c
      	(mips16_constant_after_function_p): Delete.
      	* config/mips/mips.h: Delete #if-0-ed definition of
      	CONSTANT_AFTER_FUNCTION_P.
      	* config/d30v/d30v.h, config/stormy16/stormy16.h: Remove
      	mention of CONSTANT_AFTER_FUNCTION_P in comment.
      
      From-SVN: r65663
      Zack Weinberg committed
    • tree.c (next_decl_uid): Mark with GTY. · 03907fbd
      	* tree.c (next_decl_uid): Mark with GTY.
      	(next_type_uid): Likewise.
      
      From-SVN: r65662
      Geoffrey Keating committed
    • argv.c: Fix comments. · c9ac9147
      	* argv.c: Fix comments.
      	* calloc.c: Don't unnecessarily include "libiberty.h".
      	(bzero): Add prototype.
      	* floatformat.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
      	* getcwd.c (getcwd): Use standard definition to avoid conflicts
      	with system headers.
      	* hashtab.c (htab_traverse): Delete unused variables.
      	* rename.c: Include "ansidecl.h".
      	(rename): Use standard definition to avoid conflicts with system
      	headers.
      	* strsignal.c: Rely on ANSI_PROTOTYPES.
      	* strstr.c: Check GNUC >= 2, not GNUC == 2.
      	* vfprintf.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
      	* vprintf.c: Include "ansidecl.h" earlier, rely on
      	ANSI_PROTOTYPES.
      	* vsprintf.c: Include "ansidecl.h" earlier, rely on
      	ANSI_PROTOTYPES and possibly include <stdarg.h>.
      
      	* Makefile.in: Regenerate dependencies.
      
      From-SVN: r65659
      Kaveh R. Ghazi committed
    • pthread1.cc: Enable for darwin test. · 8a4680db
      2003-04-15  Andreas Tobler  <a.tobler@schweiz.ch>
              * testsuite/thread/pthread1.cc: Enable for darwin test.
              * testsuite/thread/pthread2.cc: Same.
              * testsuite/thread/pthread3.cc: Same.
              * testsuite/thread/pthread4.cc: Same.
              * testsuite/thread/pthread5.cc: Same.
              * testsuite/thread/pthread6.cc: Same.
      
      From-SVN: r65658
      Andreas Tobler committed