OSDN Git Service

PR target/25947
authorhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Jan 2006 02:53:15 +0000 (02:53 +0000)
committerhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Jan 2006 02:53:15 +0000 (02:53 +0000)
* gcc.dg/torture/pr25947-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110244 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr25947-1.c [new file with mode: 0644]

index 075def5..be7e9a1 100644 (file)
@@ -1,3 +1,8 @@
+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>
 
diff --git a/gcc/testsuite/gcc.dg/torture/pr25947-1.c b/gcc/testsuite/gcc.dg/torture/pr25947-1.c
new file mode 100644 (file)
index 0000000..d52ef8c
--- /dev/null
@@ -0,0 +1,21 @@
+/* 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');
+    }
+}