[Bug middle-end/19689] [4.0 Regression] ICE in store_bit_field, at expmed.c

2005-01-29 Thread belyshev at depni dot sinp dot msu dot ru
--- 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

[Bug middle-end/19689] [4.0 Regression] ICE in store_bit_field, at expmed.c

2005-01-29 Thread belyshev at depni dot sinp dot msu dot ru
--- 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.

[Bug middle-end/19689] [4.0 Regression] ICE in store_bit_field, at expmed.c

2005-01-29 Thread steven at gcc dot gnu dot org
--- 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));

[Bug middle-end/19689] [4.0 Regression] ICE in store_bit_field, at expmed.c

2005-01-29 Thread steven at gcc dot gnu dot org
--- 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

[Bug middle-end/19689] [4.0 Regression] ICE in store_bit_field, at expmed.c

2005-01-29 Thread steven at gcc dot gnu dot org
--- 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 ---

[Bug middle-end/19689] [4.0 Regression] ICE in store_bit_field, at expmed.c

2005-01-29 Thread rth at gcc dot gnu dot org
-- What|Removed |Added AssignedTo|unassigned at gcc dot gnu |rth at gcc dot gnu dot org |dot org | Status|NEW

[Bug middle-end/19689] [4.0 Regression] ICE in store_bit_field, at expmed.c

2005-01-29 Thread cvs-commit at gcc dot gnu dot org
--- 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:

[Bug middle-end/19689] [4.0 Regression] ICE in store_bit_field, at expmed.c

2005-01-29 Thread rth at gcc dot gnu dot org
--- Additional Comments From rth at gcc dot gnu dot org 2005-01-30 02:35 --- Fixed. -- What|Removed |Added Status|ASSIGNED|RESOLVED