[Bug c/20709] strict aliasing warning with float pointer pointing to int pointer

2005-04-01 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Severity|critical|normal Keywords||diagnostic http://gcc.gnu.org/bugzilla/show_bug.cgi?id

[Bug c/20709] strict aliasing warning with float pointer pointing to int pointer

2005-04-01 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-02 00:09 --- Because we only warn if you take the address and then cast so if you have a tempary variable inbetween, we don't warn. Note really strict aliasing warnings are hard to produce as it is only a bug if you

[Bug c/20709] strict aliasing warning with float pointer pointing to int pointer

2005-04-05 Thread segher at kernel dot crashing dot org
--- Additional Comments From segher at kernel dot crashing dot org 2005-04-05 23:32 --- Subject: Re: strict aliasing warning with float pointer pointing to int pointer > Aka this is valid and defined (even though we warn): > float a(float b) > { > int i; > *(float*)&i = b; > retu

[Bug c/20709] strict aliasing warning with float pointer pointing to int pointer

2005-07-01 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-02 00:57 --- *** This bug has been marked as a duplicate of 20689 *** -- What|Removed |Added