[Bug target/40051] [4.3, 4.4, 4.5] regression member variable of a C++ class is read to a register for future use before it is written

jack2 at cantab dot net gcc-bugzilla@gcc.gnu.org
Wed May 6 22:31:00 GMT 2009



------- Comment #5 from jack2 at cantab dot net  2009-05-06 22:31 -------
> No, from the sound of it there is an alias violation in the code.

You're right, I had thought of that but had read that Mozilla code was compiled
with -fno-strict-aliasing because of this. Looking more closely the code in
this extension isn't and so fails.

Now that I've added -fno-strict-aliasing it works.

Sorry for the noise.


-- 

jack2 at cantab dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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



More information about the Gcc-bugs mailing list