This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/20496] New: "-1" is inconsistently printed in tree dumps
- 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:58:27 -0000
- Subject: [Bug tree-optimization/20496] New: "-1" is inconsistently printed in tree dumps
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Consider:
int
foo (void)
{
return -1;
}
int
bar (void)
{
unsigned int a = 0xffffffff;
return a;
}
Here is what I get:
;; 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;
}
It would be nice to see -1 printed in a consistent way.
--
Summary: "-1" is inconsistently printed in tree dumps
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: kazu at cs dot umass dot edu
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20496