From: Kazu Hirata Date: Wed, 9 Jul 2003 03:02:17 +0000 (+0000) Subject: * gcc.c-torture/compile/20030704-1.c: Add a comment. X-Git-Tag: releases/gcc-3.4.0~5021 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=55c9de2de6e48d44bad1d26fc34ffb23b19442ff;p=thirdparty%2Fgcc.git * gcc.c-torture/compile/20030704-1.c: Add a comment. From-SVN: r69122 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index cbd7cae9c1f8..4b578e68bc41 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2003-07-08 Kazu Hirata + + * gcc.c-torture/compile/20030704-1.c: Add a comment. + 2003-07-08 Roger Sayle 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 b757f6db10b8..101355c8bd15 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; };