[Bug c/43637] [4.4/4.5 regression] miscompilation in strict-aliasing optimization

2010-05-26 Thread jengelh at medozas dot de
--- Comment #3 from jengelh at medozas dot de 2010-05-26 21:44 --- >You are accessing {lh,clh}.{next,prev} through a pointer to type struct item. Thank you for your time. I do have a few questions. I wonder where exactly I am doing that access. In the first part of the for clause,

[Bug c/43637] [4.4/4.5 regression] miscompilation in strict-aliasing optimization

2010-04-03 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-04-03 15:39 --- You are accessing {lh,clh}.{next,prev} through a pointer to type struct item. Testcase can be fixed with givin clh and lh type struct item. -- rguenth at gcc dot gnu dot org changed: What|Removed

[Bug c/43637] [4.4/4.5 regression] miscompilation in strict-aliasing optimization

2010-04-03 Thread jengelh at medozas dot de
--- Comment #1 from jengelh at medozas dot de 2010-04-03 15:13 --- Created an attachment (id=20302) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20302&action=view) testcase Hopefully short enough to be a testcase. Left unprocessed to not prematurely clutter it. -- http://gcc