[gccgo] Avoid recursive type definitions

Ian Lance Taylor iant@google.com
Tue Dec 15 20:48:00 GMT 2009


If somebody writes

type T T

gccgo would spin endlessly looking for the real type definition.  I
committed this patch to catch recursive type definitions.

Ian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 651 bytes
Desc: recursive
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20091215/a7ef4a8c/attachment.bin>


More information about the Gcc-patches mailing list