[PATCH c++/86881] -Wshadow-local-compatible ICE

Nathan Sidwell nathan@acm.org
Tue Sep 18 13:50:00 GMT 2018


This ICE happens when we try and figure if an unresolved auto type is 
compatible with a previous binding.  With the addition of auto, we're 
now checking too early, but that's a harder problem.   This fixes the 
ICE, but the downside is we don't warn at all, if the auto resolves to a 
compatible type.  But that's not a new problem.

Applying to trunk and gcc-8

nathan
-- 
Nathan Sidwell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr86881.diff
Type: text/x-patch
Size: 1572 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20180918/bd1ff5a3/attachment.bin>


More information about the Gcc-patches mailing list