This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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;
 };


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]