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/20496] New: "-1" is inconsistently printed in tree dumps


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


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