[Bug optimization/8035] [ppc] optimizing access to a const member causes illegal code to be generated

robt at flyingpig dot com gcc-bugzilla@gcc.gnu.org
Mon Aug 11 15:39: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=8035


robt at flyingpig dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org


------- Additional Comments From robt at flyingpig dot com  2003-08-11 15:39 -------
so powner is null because 'const_cast<const Owner *&>(powner) = towner;' has
undefined action, as powner is a const member?



More information about the Gcc-bugs mailing list