From 0108ae51e9fc5d570337a3a1f7a4a93b82441307 Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Tue, 1 Jul 2003 18:28:27 +0000 Subject: [PATCH] c-semantics.c (genrtl_case_label): Fix format specifier bug. * c-semantics.c (genrtl_case_label): Fix format specifier bug. * cfgrtl.c (rtl_verify_flow_info_1): Likewise. From-SVN: r68784 --- gcc/ChangeLog | 5 +++++ gcc/c-semantics.c | 2 +- gcc/cfgrtl.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) 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; }