[PR c++/82424] Dont convert dependent types

Nathan Sidwell nathan@acm.org
Fri Oct 6 15:55:00 GMT 2017


This fixes crash with -Wshadow=compatible-local, where we ended up 
trying to convert to or from a dependent type.  Rather than skip that 
out right, I see if the types are the same (dependent or not) before 
also trying convert in the non-dependent case.  I suppose I could try 
matching unqualified variants, but that's probably a slippery slope.

Applying to trunk.

nathan

-- 
Nathan Sidwell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr82424.diff
Type: text/x-patch
Size: 1597 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20171006/53c5eece/attachment.bin>


More information about the Gcc-patches mailing list