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 tree-optimization/19788] Inconsistent handling of -1.


------- Additional Comments From kazu at cs dot umass dot edu  2005-03-16 14:53 -------
Here is what I get from the current mainline.

;; Function foo (foo)

foo ()
{
  int D.1132;

<bb 0>:
  return -1;

}



;; Function bar (bar)

bar ()
{
  unsigned int a;
  int D.1137;

<bb 0>:
  return -000000001;

}



;; Function baz (baz)

baz ()
{
  unsigned int b;
  int a;
  int b.0;
  int D.1143;

<bb 0>:
  return 1;

}

So the problem seems to be fixed.
It would still be nice to see -1 instead of -000000001 though.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |FIXED


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


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