This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/5900] [g77 & gfortran] Lapack regressions since g77 2.95.2


------- Additional Comments From Thomas dot Koenig at online dot de  2005-02-10 10:17 -------
It appears the problem is caused by one of the
optimization options that cannot be controlled with
flags.

One suspect is this code snippet from gcc/config/ia64.c :

static bool
ia64_rtx_costs (rtx x, int code, int outer_code, int *total)
{
  switch (code)

...


    case DIV:
    case UDIV:
    case MOD:
    case UMOD:
      /* We make divide expensive, so that divide-by-constant will be
         optimized to a multiply.  */
      *total = COSTS_N_INSNS (60);
      return true;


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5900


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]