1. 14 Apr, 2004 5 commits
    • builtins.c (fold_builtin_cabs, [...]): Use `mathfn_built_in' to determine the new builtin. · a69934e0
      	* builtins.c (fold_builtin_cabs, fold_builtin): Use
      	`mathfn_built_in' to determine the new builtin.
      	* fold-const.c (fold): Likewise.
      
      From-SVN: r80680
      Kaveh R. Ghazi committed
    • invoke.texi: Rename MIPS's -mfix-vr4122-bugs to -mfix-vr4120. · 74b9f2d5
      	* doc/invoke.texi: Rename MIPS's -mfix-vr4122-bugs to -mfix-vr4120.
      	* config/mips/mips.h (MASK_FIX_VR4120): Renamed from MASK_FIX_VR4122.
      	(TARGET_FIX_VR4120): Likewise TARGET_FIX_VR4122.
      	(TARGET_SWITCHES): Replace -mfix-vr4122-bugs with -mfix-vr4120.
      	(ASM_SPEC): Update accordingly.
      	* config/mips/mips.c: Update after above renaming.
      	* config/mips/mips.md, config/mips/t-vr, config/mips/vr.h: Likewise.
      	* config/mips/vr4120-div.S: Renamed from vr4122-div.S.
      
      From-SVN: r80679
      Richard Sandiford committed
    • Fix problem reported by Dan Berlin on gcc list. · 540554f4
      * c-opt.c (c_common_post_options): If this_input_filename is NULL,
      increment errorcount and return false instead of true.
      
      From-SVN: r80678
      James E Wilson committed
    • optabs.c (expand_twoval_unop): Reorder function arguments. · a072d43b
      2004-04-13  Uros Bizjak  <uros@kss-loka.si>:
      
      	* optabs.c (expand_twoval_unop): Reorder function arguments.
      	* builtins.c (expand_builtin_mathfn_3): Update calls to
      	expand_twoval_unop.
      
      	* reg-stack.c (subst_stack_regs_pat): Handle UNSPEC_TAN_ONE
      	and UNSPEC_TAN_TAN. Add missing comment.
      
      	* config/i386/i386.md (*tandf3_1, *tansf3_1, *tanxf3_1): New
      	patterns to implement fptan x87 instruction.
      	(tandf2, tansf2, tanxf2): New expanders to implement tan, tanf
      	and tanl built-ins as inline x87 intrinsics. Define corresponding
      	peephole2 optimizers for 'fptan; fstp %st(0); fld1' sequence.
      	(UNSPEC_TAN_ONE, UNSPEC_TAN_TAN): New unspecs to represent
      	x87's fptan insn.
      
      
      	* gcc.dg/i386-387-1.c: Add new test for __builtin_tan.
      	* gcc.dg/i386-387-2.c: Likewise.
      
      	* gcc.dg/i386-387-7.c: New test.
      	* gcc.dg/i386-387-8.c: New test.
      
      	* gcc.dg/builtins-37.c: New test.
      
      From-SVN: r80677
      Uros Bizjak committed
    • Daily bump. · 6ef79dcb
      From-SVN: r80673
      GCC Administrator committed
  2. 13 Apr, 2004 12 commits
  3. 12 Apr, 2004 11 commits
  4. 11 Apr, 2004 5 commits
    • fold-const.c (fold_binary_op_with_conditional_arg): Tweak calling convention to… · b3e65ebb
      fold-const.c (fold_binary_op_with_conditional_arg): Tweak calling convention to allow a NULL_TREE to be returned.
      
      
      	* fold-const.c (fold_binary_op_with_conditional_arg):  Tweak
      	calling convention to allow a NULL_TREE to be returned.  Factor
      	sanity checks from callers, return NULL_TREE when appropriate.
      	(fold): Handle COMPOUND_EXPR operands of binary expressions
      	before COND_EXPR operands.  Use reorder_operands_p(a,b) to check
      	whether a op (b,c) can be rewritten as (b, a op c).  Simplify
      	calls to fold_binary_op_with_conditional_arg.
      
      From-SVN: r80609
      Roger Sayle committed
    • iris5.h (current_section_flags): Add in_unlikely_executed_text and default case. · 19d33948
      	* config/mips/iris5.h (current_section_flags):  Add
      	in_unlikely_executed_text and default case.
      
      From-SVN: r80604
      Kaveh R. Ghazi committed
    • bb-reorder.c (fix_crossing_conditional_branches): Fix bootstrap failure on solaris. · cf22ce3c
      2004-04-11  Andreas Tobler  <a.tobler@schweiz.ch>
      
      	* bb-reorder.c (fix_crossing_conditional_branches): Fix bootstrap
      	failure on solaris. Place ifdef HAVE_return around gen_ret call.
      	* cfgrtl.c (force_nonfallthru_and_redirect): Remove ifdef
      	HAVE_return and place it around the place where it is needed.
      
      From-SVN: r80594
      Andreas Tobler committed
    • varasm.c (text_section): Use TEXT_SECTION_ASM_OP and ASM_OUTPUT_ALIGN instead of… · 34982294
      varasm.c (text_section): Use TEXT_SECTION_ASM_OP and ASM_OUTPUT_ALIGN instead of SECTION_FORMAT_STRING...
      
      2004-04-11  Andrew Pinski  <pinskia@physics.uc.edu>
      
              * varasm.c (text_section): Use TEXT_SECTION_ASM_OP and
              ASM_OUTPUT_ALIGN instead of SECTION_FORMAT_STRING
              and NORMAL_TEXT_SECTION_NAME.
              (unlikely_text_section): Check targetm.have_named_sections
              instead of TARGET_ASM_NAMED_SECTION and use TEXT_SECTION_ASM_OP
              instead of SECTION_FORMAT_STRING.
              * config/mips/iris5.h (current_section_name): Add
              in_unlikely_executed_text case and move the abort into the switch.
              * config/rs6000/sysv4.h (HOT_TEXT_SECTION_NAME): Remove.
              (NORMAL_TEXT_SECTION_NAME): Remove.
              (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Remove.
              (SECTION_FORMAT_STRING): Remove.
              * defaults.h (SECTION_FORMAT_STRING): Remove.
              * tm.texi (NORMAL_TEXT_SECTION_NAME): Remove.
              (SECTION_FORMAT_STRING): Remove.
      
      From-SVN: r80593
      Andrew Pinski committed
    • Daily bump. · 0333e091
      From-SVN: r80590
      GCC Administrator committed
  5. 10 Apr, 2004 5 commits
  6. 09 Apr, 2004 2 commits