diff options
| author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-07-24 00:55:45 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 21:02:21 -0700 |
| commit | 5dfa9880efa543d3aa5f32f8d57d2bc35c5b042c (patch) | |
| tree | cc2a6d26b2cdbdd925654be3020bc4d8c2d08ed0 /linearize.c | |
| parent | 64afe0527c6564517bffe86add82ae3c9ed49e7e (diff) | |
| download | sparse-dev-5dfa9880efa543d3aa5f32f8d57d2bc35c5b042c.tar.gz | |
Better error message about _which_ label has already
been bound.
It's "continue" and "break". It appears that we don't copy
them properly somewhere when inlining functions with loops.
Diffstat (limited to 'linearize.c')
| -rw-r--r-- | linearize.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linearize.c b/linearize.c index b35d5f94..7d6dbe95 100644 --- a/linearize.c +++ b/linearize.c @@ -244,7 +244,7 @@ void show_entry(struct entrypoint *ep) static void bind_label(struct symbol *label, struct basic_block *bb, struct position pos) { if (label->bb_target) - warn(pos, "label already bound"); + warn(pos, "label '%s' already bound", show_ident(label->ident)); label->bb_target = bb; } |
