diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4691c8c924e..89ae7451030 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-07-01 Kaveh R. Ghazi + + * c-semantics.c (genrtl_case_label): Fix format specifier bug. + * cfgrtl.c (rtl_verify_flow_info_1): Likewise. + 2003-07-01 Andreas Jaeger * fold-const.c: Convert prototypes to ISO C90. diff --git a/gcc/c-semantics.c b/gcc/c-semantics.c index e75caa70101..e292d9f8579 100644 --- a/gcc/c-semantics.c +++ b/gcc/c-semantics.c @@ -697,7 +697,7 @@ genrtl_case_label (tree case_label) if (cleanup) { static int explained = 0; - warning ("destructor needed for `%#D'", (TREE_PURPOSE (cleanup))); + warning ("destructor needed for `%D'", (TREE_PURPOSE (cleanup))); warning ("where case label appears here"); if (!explained) { diff --git a/gcc/cfgrtl.c b/gcc/cfgrtl.c index 1205b4cfa37..7340b9f79b0 100644 --- a/gcc/cfgrtl.c +++ b/gcc/cfgrtl.c @@ -1833,7 +1833,7 @@ rtl_verify_flow_info_1 (void) { if (INTVAL (XEXP (note, 0)) != BRANCH_EDGE (bb)->probability) { - error ("verify_flow_info: REG_BR_PROB does not match cfg %i %i", + error ("verify_flow_info: REG_BR_PROB does not match cfg %wi %i", INTVAL (XEXP (note, 0)), BRANCH_EDGE (bb)->probability); err = 1; }