C++ PATCH for comparison of pointers to union members

Jason Merrill jason@redhat.com
Mon Jun 11 21:01:00 GMT 2018


At the C++ meeting last week it came up that pointers to different
members of the same union are specified to compare as equal, which we
were getting wrong.

Tested x86_64-pc-linux-gnu, applying to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ptrmem-cmp.diff
Type: text/x-patch
Size: 2128 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20180611/cfd0317d/attachment.bin>


More information about the Gcc-patches mailing list