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