[Bug c/32397] wrong instruction order generated

2007-06-19 Thread rask at sygehus dot dk
--- Comment #3 from rask at sygehus dot dk 2007-06-19 11:27 --- You can use memcpy (&int, &float, min (sizeof (int), sizeof (float))) and vice versa. I suppose you can also memcpy() into or out of a char array of the right size. If you were to use the GCC extension of using a union, it w

[Bug c/32397] wrong instruction order generated

2007-06-19 Thread rosenfeld at grumpf dot hope-2000 dot org
--- Comment #2 from rosenfeld at grumpf dot hope-2000 dot org 2007-06-19 10:52 --- Subject: Re: wrong instruction order generated On Tue, Jun 19, 2007 at 07:56:01AM -, pinskia at gcc dot gnu dot org wrote: > --- Comment #1 from pinskia at gcc dot gnu dot org 2007-06-19 07:56

[Bug c/32397] wrong instruction order generated

2007-06-19 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-06-19 07:56 --- ((Cyg_libm_ieee_double_shape_type *)&x)->part is ovbiously an aliasing violation. *** This bug has been marked as a duplicate of 21920 *** -- pinskia at gcc dot gnu dot org changed: What|Removed