C++ PATCH to correct DR 799 fix

Jason Merrill jason@redhat.com
Mon Nov 10 04:52:00 GMT 2014


Someone was noticing that whether the result of reinterpret_cast<int> 
was an lvalue or rvalue depended on constant folding.  It should always 
be an rvalue.

Tested x86_64-pc-linux-gnu, applying to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dr799.patch
Type: text/x-patch
Size: 1201 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20141110/328a94c4/attachment.bin>


More information about the Gcc-patches mailing list