This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/19788] Inconsistent handling of -1.
- From: "kazu at cs dot umass dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Mar 2005 14:53:36 -0000
- Subject: [Bug tree-optimization/19788] Inconsistent handling of -1.
- References: <20050206131749.19788.kazu@cs.umass.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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