C++ PATCH for c++/35548 (dangling reference with ?:)
Jason Merrill
jason@redhat.com
Tue Mar 18 04:04:00 GMT 2008
DR391 requires us to bind references directly to temporaries when
appropriate, but we still need to respect LOOKUP_NO_TEMP_BIND.
Tested x86_64-pc-linux-gnu, applied to trunk and 4.3.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 35548.patch
Type: text/x-patch
Size: 1484 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080318/50e8b0a0/attachment.bin>
More information about the Gcc-patches
mailing list