Re: problem with zero_extract during gcse

2006-09-06 Thread Eric Botcazou
> Currently I'm testing the patch below, which simply invalidates the > load/store. Now I need some help from someone, who is more familiar with > this code, whether this is the correct approach. I don't see any other solution than invalidating the MEM. > Index: gcc/gcse.c > =

problem with zero_extract during gcse

2006-08-11 Thread Roman Zippel
Hi, I have a problem with 4.1 on m68k-linux, which miscompiles the following test case during the gcse pass: struct b { unsigned a : 1; unsigned b : 1; unsigned c : 1; unsigned d : 1; }; unsigned int x = 1; void f(int y, struct b *p) { switch (y)