Commit 2ec31ce6 by Hans-Peter Nilsson Committed by Hans-Peter Nilsson

re PR target/25947 (Unrecognizable insn ICE for readline-5.1 in rl_vi_complete)

	PR target/25947
	* gcc.dg/torture/pr25947-1.c: New test.

From-SVN: r110244
parent aaf46ef9
2006-01-26 Hans-Peter Nilsson <hp@axis.com>
PR target/25947
* gcc.dg/torture/pr25947-1.c: New test.
2006-01-25 Jan Hubicka <jh@suse.cz>
Roger Sayle <roger@eyesopen.com>
/* PR target/25947: define_split in cris.md caused unrecognized insn. */
/* { dg-options "-fpic" { target fpic } } */
extern char *rl_line_buffer;
extern int rl_point;
extern int rl_end;
static const char *vi_motion = " hl^$0ftFT;,%wbeWBE|";
void
rl_vi_complete (int ignore, int key)
{
if ((rl_point < rl_end)
&&
(!(((rl_line_buffer[rl_point]) == ' ')
|| ((rl_line_buffer[rl_point]) == '\t'))))
{
if (!
(((rl_line_buffer[rl_point + 1]) == ' ')
|| ((rl_line_buffer[rl_point + 1]) == '\t')))
rl_vi_end_word (1, 'E');
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment