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 bootstrap/39674] Error building with SUN cc (forte 6.2) compiler



------- Comment #8 from pinskia at gcc dot gnu dot org  2009-04-28 23:11 -------
  /* This was a conditional expression but it triggered a bug in
     Sun C 5.5.  */
  if (subtract_p)
    temp = double_int_neg (b->data);
  else
    temp = b->data;

  /* This was a conditional expression but it triggered a bug in
     Sun C 5.5.  */
  if (ivs->bad_uses) 
    return infinite_cost;
  else
    return ivs->cost;


Fixed by:
2008-12-08  Andrew Haley  <aph@redhat.com>
            Kamaraju Kusumanchi  <raju.mailinglists@gmail.com>

        * gimple.h (gimple_build_try): Fix declaration.

        * builtins.c (fold_builtin_sqrt): Don't use a conditional operator.
        * fixed-value.c (do_fixed_add): Likewise.
        * tree-ssa-loop-ivopts.c (iv_ca_cost): Likewise. 


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.4.0


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


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