[Bug c/12362] Compiler generates incorrect code at -O2

sean at mcneil dot com gcc-bugzilla@gcc.gnu.org
Mon Sep 22 14:47:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12362



------- Additional Comments From sean at mcneil dot com  2003-09-22 14:32 -------
Subject: Re:  Compiler generates incorrect code at -O2

I disagree until an explanation is provided as how this casting is
causing an aliasing at all.  It is a cast to it's own type.

On Mon, 2003-09-22 at 00:24, pinskia at gcc dot gnu dot org wrote:
> PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
> 
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12362
> 
> 
> pinskia at gcc dot gnu dot org changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|WAITING                     |RESOLVED
>          Resolution|                            |INVALID
> 
> 
> ------- Additional Comments From pinskia at gcc dot gnu dot org  2003-09-22 07:24 -------
> I see the type aliasing problem now, I looked at it first and tried to see the problem but this code 
> not does follow the ISO C aliasing rules, closing as invalid.
> 
> 
> 
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.



More information about the Gcc-bugs mailing list