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
This commit is contained in:
parent
62bfce90da
commit
0108ae51e9
@ -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>
|
2003-07-01 Andreas Jaeger <aj@suse.de>
|
||||||
|
|
||||||
* fold-const.c: Convert prototypes to ISO C90.
|
* fold-const.c: Convert prototypes to ISO C90.
|
||||||
|
@ -697,7 +697,7 @@ genrtl_case_label (tree case_label)
|
|||||||
if (cleanup)
|
if (cleanup)
|
||||||
{
|
{
|
||||||
static int explained = 0;
|
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");
|
warning ("where case label appears here");
|
||||||
if (!explained)
|
if (!explained)
|
||||||
{
|
{
|
||||||
|
@ -1833,7 +1833,7 @@ rtl_verify_flow_info_1 (void)
|
|||||||
{
|
{
|
||||||
if (INTVAL (XEXP (note, 0)) != BRANCH_EDGE (bb)->probability)
|
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);
|
INTVAL (XEXP (note, 0)), BRANCH_EDGE (bb)->probability);
|
||||||
err = 1;
|
err = 1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user