aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/20030704-1.c6
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index cbd7cae..4b578e6 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2003-07-08 Kazu Hirata <kazu@cs.umass.edu>
+
+ * gcc.c-torture/compile/20030704-1.c: Add a comment.
+
2003-07-08 Roger Sayle <roger@eyesopen.com>
PR c/11370
diff --git a/gcc/testsuite/gcc.c-torture/compile/20030704-1.c b/gcc/testsuite/gcc.c-torture/compile/20030704-1.c
index b757f6d..101355c 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20030704-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20030704-1.c
@@ -1,5 +1,11 @@
/* PR c/11428. */
+/* fold_single_bit_test() failed to return a tree of the type that the
+ outer expression was looking for. Specifically, it returned a tree
+ whose type corresponded to QImode for !p->m, but the desired result
+ type was int, which corresponded to SImode. emit_move_insn() later
+ tried to copy a reg:QI to reg:SI, causing an ICE. */
+
struct s {
int m : 1;
};