[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc-bugs
Subject:    [Bug c++/45462] Bad optimization in -O3 sometimes
From:       "pinskia at gmail dot com" <gcc-bugzilla () gcc ! gnu ! org>
Date:       2010-08-31 19:09:37
Message-ID: 20100831190937.24410.qmail () sourceware ! org
[Download RAW message or body]



------- Comment #5 from pinskia at gmail dot com  2010-08-31 19:09 -------
Subject: Re:  Bad optimization in -O3 sometimes



On Aug 31, 2010, at 8:24 AM, "yotambarnoy at gmail dot com"
<gcc-bugzilla@gcc.gnu.org 
 > wrote:

>
>
> ------- Comment #4 from yotambarnoy at gmail dot com  2010-08-31  
> 15:24 -------
> Good job picking up on that.
>
> There must be a better way of telling the compiler to generate lwr  
> and lwl MIPS
> instructions without breaking strict aliasing rules...?

Have you tried using memcpy?

>
> Thanks a bunch!
>
>
> -- 
>
> yotambarnoy at gmail dot com changed:
>
>           What    |Removed                     |Added
> --- 
> --- 
> ----------------------------------------------------------------------
>             Status|UNCONFIRMED                 |RESOLVED
>         Resolution|                            |FIXED
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45462
>


-- 


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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic