Re: bug in gcc (GCC) 4.0.1 20050727 (Red Hat 4.0.1-5)

2005-08-02 Thread Mark Frazer
Mark Frazer <[EMAIL PROTECTED]> [05/08/02 09:32]: > Richard Guenther <[EMAIL PROTECTED]> [05/08/02 09:29]: > > Try -fno-strict-aliasing. This may be related to PR23192. > > -fno-strict-aliasing does indeed make the problem go away. changing the de-serialization

Re: bug in gcc (GCC) 4.0.1 20050727 (Red Hat 4.0.1-5)

2005-08-02 Thread Mark Frazer
Mark Frazer <[EMAIL PROTECTED]> [05/08/02 09:18]: > Hello. I'm not on the list, so please CC me with any replies. > > I have come across a bug found during some code which serializes > doubles. The bug is only encountered when the optimization level is set > to -O2 or

Re: bug in gcc (GCC) 4.0.1 20050727 (Red Hat 4.0.1-5)

2005-08-02 Thread Mark Frazer
Richard Guenther <[EMAIL PROTECTED]> [05/08/02 09:29]: > Try -fno-strict-aliasing. This may be related to PR23192. -fno-strict-aliasing does indeed make the problem go away. thanks! -mark -- Forget your stupid theme park! I'm gonna make my own! With hookers! And blackjack! In fact, forget the

bug in gcc (GCC) 4.0.1 20050727 (Red Hat 4.0.1-5)

2005-08-02 Thread Mark Frazer
Hello. I'm not on the list, so please CC me with any replies. I have come across a bug found during some code which serializes doubles. The bug is only encountered when the optimization level is set to -O2 or greater. The bug is not encountered when compiled under gcc (GCC) 3.3.3 200404