[Bug c/39093] inline code optimized wrong with -O3
schwab at suse dot de
gcc-bugzilla@gcc.gnu.org
Wed Feb 4 09:34:00 GMT 2009
------- Comment #1 from schwab at suse dot de 2009-02-04 09:33 -------
> char* pw = (char*) bcAtomCompareExchange((void**) &px, py, pz);
This is violating the C aliasing rules. Declare px as void* to fix that.
*** This bug has been marked as a duplicate of 21920 ***
--
schwab at suse dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
Summary|inline code optimized wrong |inline code optimized wrong
|with -O3 |with -O3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39093
More information about the Gcc-bugs
mailing list