1. 03 Dec, 2000 6 commits
    • Makefile.in: Rebuilt. · 8538fd01
      	* Makefile.in: Rebuilt.
      	* Makefile.am (awt_java_source_files): Added new file.
      	* java/awt/GridLayout.java: New file.
      
      From-SVN: r37967
      Tom Tromey committed
    • - fix line which did not get committed properly · cf466d69
      From-SVN: r37966
      David Edelsohn committed
    • Makefile.in: Rebuilt. · 673953d6
      	* Makefile.in: Rebuilt.
      	* Makefile.am (awt_java_source_files): Added new files.
      	* java/awt/CardLayout.java: New file.
      	* java/awt/AWTPermission.java: New file.
      
      From-SVN: r37965
      Tom Tromey committed
    • builtins.c (expand_builtin_strcat, [...]): New functions. · d118937d
      	* builtins.c (expand_builtin_strcat, expand_builtin_strncat,
      	expand_builtin_strspn, expand_builtin_strcspn): New functions.
      	(expand_builtin): Handle BUILT_IN_STRCAT, BUILT_IN_STRNCAT,
      	BUILT_IN_STRSPN and BUILT_IN_STRCSPN.
      
      	* builtins.def (BUILT_IN_STRCAT, BUILT_IN_STRNCAT,
      	BUILT_IN_STRSPN, BUILT_IN_STRCSPN): New entries.
      
      	* c-common.c (c_common_nodes_and_builtins): Declare builtin
      	strcat, strncat, strspn and strcspn.
      	(string_ftype_string_cstring): Renamed from `string_ftype_ptr_ptr'.
      
      	* extend.texi (strcat, strcspn, strncat, strspn): Document new
      	builtins.
      
      testsuite:
      	* gcc.c-torture/execute/string-opt-9.c: New test.
      	* gcc.c-torture/execute/string-opt-10.c: Likewise.
      	* gcc.c-torture/execute/string-opt-11.c: Likewise.
      	* gcc.c-torture/execute/string-opt-12.c: Likewise.
      
      From-SVN: r37964
      Kaveh R. Ghazi committed
    • builtins.c (expand_builtin_strcmp): Use const*_rtx when expanding strcmp at compile-time. · ca8034a0
      	* builtins.c (expand_builtin_strcmp): Use const*_rtx when
      	expanding strcmp at compile-time.  Add another transformation.
      	(expand_builtin_strncmp): Add more transformations.  Call
      	expand_builtin_memcmp, not expand_builtin_strcmp, under
      	appropriate conditions if HAVE_cmpstrsi.
      
      testsuite:
      	gcc.c-torture/execute/string-opt-3.c: Add more strcmp checks.
      	gcc.c-torture/execute/string-opt-8.c: Add more strncmp checks.
      
      From-SVN: r37963
      Kaveh R. Ghazi committed
    • rs6000.md (anddi3_internal[23]): Prefer rldic? · 6c873122
              * rs6000.md (anddi3_internal[23]): Prefer rldic? over andis
              instruction.
              (cr logic): Really make operands sequential.
      
      From-SVN: r37962
      David Edelsohn committed
  2. 02 Dec, 2000 26 commits
  3. 01 Dec, 2000 8 commits
    • final.c (output_addr_const): Don't assume at least one operand is a CONST_INT. · 08106825
      * final.c (output_addr_const) <PLUS>: Don't assume at least one
      operand is a CONST_INT.
      
      From-SVN: r37935
      Alexandre Oliva committed
    • sh.c (reg_class_from_letter): Assign `k' to SIBCALL_REGS. · cb51ecd2
      * config/sh/sh.c (reg_class_from_letter): Assign `k' to SIBCALL_REGS.
      (machine_dependent_reorg): Split all insns.
      * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Compute
      reg_class_contents[SIBCALL_REGS].
      (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add SIBCALL_REGS.
      * config/sh/sh.md (calli_pcrel, call_pcrel, call_valuei_pcrel,
      call_value_pcrel, call, call_value, sibcall): Match even when
      not optimizing.
      (sibcalli_pcrel, sibcall_pcrel): Likewise.  Use constraint `k'
      for call address.
      (sibcalli): Likewise.
      
      From-SVN: r37934
      Alexandre Oliva committed
    • c-common.c (warn_format, [...]): Define. · 4d808927
      	* c-common.c (warn_format, warn_format_y2k,
      	warn_format_extra_args, warn_format_nonliteral): Define.
      	(check_format_info): Check warn_format_nonliteral and
      	warn_format_extra_args.
      	(check_format_info_main): Check warn_format_y2k.
      	(set_Wformat): New function.
      	* c-common.h (warn_format_y2k, warn_format_extra_args,
      	warn_format_nonliteral, set_Wformat): Declare.
      	* c-decl.c (warn_format): Remove definition.
      	(c_decode_option): Handle -Wformat-nonliteral,
      	-Wno-format-extra-args and -Wno-format-y2k, and negated versions.
      	Use set_Wformat.
      	* invoke.texi: Document these new options and -Wformat=2.
      	* toplev.c (documented_lang_options): Add these new options.
      
      cp:
      	* decl2.c (warn_format): Remove definition.
      	(lang_decode_option): Handle -Wformat-nonliteral,
      	-Wno-format-extra-args and -Wno-format-y2k.  Use set_Wformat.
      
      testsuite:
      	* gcc.dg/format-no-exargs-1.c, gcc.dg/format-no-y2k-1.c,
      	gcc.dg/format-nonlit-1.c, gcc.dg/format-nonlit-2.c: New tests.
      
      From-SVN: r37933
      Joseph Myers committed
    • builtins.def (BUILT_IN_IMAXABS): Add. · e78f4a97
      	* builtins.def (BUILT_IN_IMAXABS): Add.
      	* builtins.c (expand_builtin): Also abort on BUILT_IN_IMAXABS.
      	* c-common.c (c_common_nodes_and_builtins): Create builtin
      	functions __builtin_imaxabs, and plain imaxabs unless
      	flag_no_nonansi_builtin outside C99 mode.
      	(expand_tree_builtin): Handle BUILT_IN_IMAXABS.
      	* extend.texi: Document builtin imaxabs.
      
      From-SVN: r37932
      Joseph Myers committed
    • c-common.c: Include "defaults.h". · 5fd8e536
      	* c-common.c: Include "defaults.h".
      	(WINT_TYPE, INTMAX_TYPE, UINTMAX_TYPE): Define.
      	(c_common_nodes_and_builtins): Create string_type_node,
      	const_string_type_node, wint_type_node, intmax_type_node,
      	uintmax_type_node, default_function_type, ptrdiff_type_node and
      	unsigned_ptrdiff_type_node.
      	* c-common.h (identifier_global_value): Declare.
      	* c-decl.c (WINT_TYPE, INTMAX_TYPE, UINTMAX_TYPE): Don't define.
      	(init_decl_processing): Don't create string_type_node,
      	const_string_type_node, wint_type_node, intmax_type_node,
      	uintmax_type_node, default_function_type, ptrdiff_type_node and
      	unsigned_ptrdiff_type_node.
      	(identifier_global_value): New function.
      
      cp:
      	* decl.c (WINT_TYPE, INTMAX_TYPE, UINTMAX_TYPE): Don't define.
      	(init_decl_processing): Don't create string_type_node,
      	const_string_type_node, wint_type_node, intmax_type_node,
      	uintmax_type_node, default_function_type, ptrdiff_type_node and
      	unsigned_ptrdiff_type_node.  Adjust position of call to
      	c_common_nodes_and_builtins.
      	(identifier_global_value): New function.
      
      From-SVN: r37931
      Joseph Myers committed
    • Really reverted erroneous checkin · 239b8e58
      From-SVN: r37930
      Tom Tromey committed
    • Reverted erroneous checkin · 25c7e487
      From-SVN: r37929
      Tom Tromey committed
    • 20000720-1.S: Remove duplicate testcase. · 92e092fe
              * gcc.dg/cpp/20000720-1.S: Remove duplicate testcase.
              * gcc.dg/cpp/poison.c: Update.
              * gcc.dg/cpp/spacing1.c: New testcase for all spacing issues.
      
      From-SVN: r37928
      Neil Booth committed