--- Additional Comments From belyshev at depni dot sinp dot msu dot ru
2005-01-29 09:28 ---
// reduced testcase, compile with '-O1':
struct
{
int b : 29;
} f;
void foo (short j)
{
f.b = j;
}
--
What|Removed |Added
--- Additional Comments From belyshev at depni dot sinp dot msu dot ru
2005-01-29 12:03 ---
Caused by this patch:
2005-01-26 Richard Henderson [EMAIL PROTECTED]
PR middle-end/18008
* c-decl.c (finish_struct): Set DECL_MODE after resetting a
field's type.
--- Additional Comments From steven at gcc dot gnu dot org 2005-01-29
12:34 ---
#1 0x00645c3a in store_bit_field (str_rtx=0x2a9598d7e0, bitsize=29,
bitnum=0,
fieldmode=VOIDmode, value=0x2a9598d6c0) at expmed.c:731
731 gcc_assert (CONSTANT_P (value));
--- Additional Comments From steven at gcc dot gnu dot org 2005-01-29
12:49 ---
rth's comment on the patch:
5220 /* If EXP is a NOP_EXPR of precision less than its mode, then
that
5221 implies a mask operation. If the precision is the same size
as
5222
--- Additional Comments From steven at gcc dot gnu dot org 2005-01-29
12:54 ---
Something like this??
Index: expr.c
===
RCS file: /cvs/gcc/gcc/gcc/expr.c,v
retrieving revision 1.776
diff -u -3 -p -r1.776 expr.c
---
--
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |rth at gcc dot gnu dot org
|dot org |
Status|NEW
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-01-30
02:34 ---
Subject: Bug 19689
CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED] 2005-01-30 02:33:28
Modified files:
gcc: ChangeLog expr.c
Added files:
--- Additional Comments From rth at gcc dot gnu dot org 2005-01-30 02:35
---
Fixed.
--
What|Removed |Added
Status|ASSIGNED|RESOLVED