C++ PATCH for c++/42567 (auto variable initialized from indirection)

Jason Merrill jason@redhat.com
Mon Jan 4 17:53:00 GMT 2010


I originally wrote describable_type to elide decltype where appropriate 
in mangling, but that turned out to be incompatible with the ODR; now 
it's only used for auto type deduction, so we don't need to handle the 
quirks of decltype semantics that the INDIRECT_REF case was failing to 
deal with properly.

Tested x86_64-pc-linux-gnu, applied to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 42567.patch
Type: text/x-patch
Size: 1554 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100104/31976028/attachment.bin>


More information about the Gcc-patches mailing list