[Bug c/40404] Comparison involving unsigned int:17 bitfield seems wrong

2009-06-13 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2009-06-13 13:56 --- Thanks. I'll have a look. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/40404] Comparison involving unsigned int:17 bitfield seems wrong

2009-06-12 Thread mikpe at it dot uu dot se
--- Comment #4 from mikpe at it dot uu dot se 2009-06-12 20:41 --- (In reply to comment #3) Can someone identify the patch that fixed that on the trunk? I've identified r139702, the fix for PR37005, as the revision which fixed this test case on gcc-4.4. That change applies easily to

[Bug c/40404] Comparison involving unsigned int:17 bitfield seems wrong

2009-06-10 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-06-10 18:41 --- unsigned int:17 gets promoted to int IIRC. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40404

[Bug c/40404] Comparison involving unsigned int:17 bitfield seems wrong

2009-06-10 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-06-10 20:15 --- This has been fixed in GCC 4.4, likely by removing some shorten-compare stuff in the frontend. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/40404] Comparison involving unsigned int:17 bitfield seems wrong

2009-06-10 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-06-10 20:25 --- Can someone identify the patch that fixed that on the trunk? -- rguenth at gcc dot gnu dot org changed: What|Removed |Added