diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2003-07-01 18:28:27 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2003-07-01 18:28:27 +0000 |
commit | 0108ae51e9fc5d570337a3a1f7a4a93b82441307 (patch) | |
tree | 3062a5ccedd5aa732aa1809638631a88952acdf5 /gcc | |
parent | 62bfce90da38001c15c416e3a605b1ed2ad7049f (diff) | |
download | gcc-0108ae51e9fc5d570337a3a1f7a4a93b82441307.zip gcc-0108ae51e9fc5d570337a3a1f7a4a93b82441307.tar.gz gcc-0108ae51e9fc5d570337a3a1f7a4a93b82441307.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/c-semantics.c | 2 | ||||
-rw-r--r-- | gcc/cfgrtl.c | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4691c8c..89ae745 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-07-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * c-semantics.c (genrtl_case_label): Fix format specifier bug. + * cfgrtl.c (rtl_verify_flow_info_1): Likewise. + 2003-07-01 Andreas Jaeger <aj@suse.de> * fold-const.c: Convert prototypes to ISO C90. diff --git a/gcc/c-semantics.c b/gcc/c-semantics.c index e75caa7..e292d9f 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 1205b4c..7340b9f 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; } |