This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] compile/20030704-1.c: Add a comment.
- From: Kazu Hirata <kazu at cs dot umass dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Cc: neil at daikokuya dot co dot uk
- Date: Tue, 08 Jul 2003 23:03:09 -0400 (EDT)
- Subject: [patch] compile/20030704-1.c: Add a comment.
Hi,
Recently Neil Booth pointed out that my testcase in some other patch
lacked a comment. Attached is a patch to add a comment to a testcase
that I committed recently.
Committed as obvious.
Kazu Hirata
2003-07-08 Kazu Hirata <kazu@cs.umass.edu>
* gcc.c-torture/compile/20030704-1.c: Add a comment.
Index: 20030704-1.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/20030704-1.c,v
retrieving revision 1.1
diff -u -r1.1 20030704-1.c
--- 20030704-1.c 4 Jul 2003 22:55:07 -0000 1.1
+++ 20030704-1.c 9 Jul 2003 02:58:15 -0000
@@ -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;
};