[Bug c/17665] wrong code with -O2

giovannibajo at libero dot it gcc-bugzilla@gcc.gnu.org
Sat Sep 25 10:55:00 GMT 2004


------- Additional Comments From giovannibajo at libero dot it  2004-09-25 10:55 -------
The solution is dereferencing the void**, and only then casting back to char*. 
Or at least I believe so, I haven't investigated your code that much.

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


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



More information about the Gcc-bugs mailing list