[Bug c++/26337] aliasing causes stale data to be used

2006-02-20 Thread ebotcazou at gcc dot gnu dot org
--- Comment #5 from ebotcazou at gcc dot gnu dot org 2006-02-20 10:51 --- *** Bug 26378 has been marked as a duplicate of this bug. *** -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c++/26337] aliasing causes stale data to be used

2006-02-17 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-02-17 12:48 --- Reopening to ... -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug c++/26337] aliasing causes stale data to be used

2006-02-17 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-02-17 12:49 --- Mark as a dup of bug 21920. *** This bug has been marked as a duplicate of 21920 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/26337] aliasing causes stale data to be used

2006-02-17 Thread ebotcazou at gcc dot gnu dot org
--- Comment #2 from ebotcazou at gcc dot gnu dot org 2006-02-17 12:04 --- The code is invalid ISO C because "*((uint32_t *) &sy" breaks aliasing rules. > Our workarounds include (i) not using the optimiser, -fno-strict-aliasing should be sufficient. > or (ii) using a >