1. 02 Dec, 2000 26 commits
  2. 01 Dec, 2000 14 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
    • cppinit.c (initialize): Forgotten prototype. · 8d9e9a08
              * cppinit.c (initialize): Forgotten prototype.
              * cpplex.c (_cpp_lex_token): Loop until not skipping.
              Always clear PREV_WHITE upon meeting a new line.
              * cpplib.c (end_directive): Set pfile->skipping after
              skip_rest_of_line.
              * cpplib.h (cpp_reader): Remove macro_pos.
              * cppmacro.c (cpp_get_line): Don't do anything special inside
              macros.
              (parse_arg): Add PREV_WHITE if a token appears after new lines.
              (funlike_invocation_p): Save and restore the output position
              over a successful check for a '('.
              (enter_macro_context): Delete uses of macro_pos.
              (cpp_get_token): Don't use pfile->skipping.
      
      From-SVN: r37927
      Neil Booth committed
    • more work · a717799c
      From-SVN: r37926
      Tom Tromey committed
    • 20001201.f: New test. · 042db57e
      2000-12-01  Toon Moene  <toon@moene.indiv.nluug.nl>
      
      	* g77.f-torture/execute/20001201.f: New test.
      
      From-SVN: r37925
      Toon Moene committed
    • [multiple changes] · c1428b53
      2000-12-01  Phil Edwards  <pme@sources.redhat.com>
      
      	* mkcheck.in:  Count static and shared results separately.
      
      2000-12-01  Loren J. Rittle  <ljrittle@acm.org>
      
      	* mkcheck.in:  Correct typo.
      
      From-SVN: r37924
      Phil Edwards committed
    • diagnostic.c: Fix typos in comments. · c4765d18
      2000-12-01  Phil Edwards  <pme@sources.redhat.com>
      
      	* diagnostic.c:  Fix typos in comments.
      	* diagnostic.h:  Likewise.
      
      From-SVN: r37923
      Phil Edwards committed
    • rtl.texi (Machine Modes): Document BImode and OImode. · 815d683e
      2000-11-30  Phil Edwards  <pme@sources.redhat.com>
      
      	* rtl.texi (Machine Modes):  Document BImode and OImode.
      
      From-SVN: r37922
      Phil Edwards committed