https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120673
--- Comment #2 from Gaius Mulley <gaius at gcc dot gnu.org> --- Created attachment 61654 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61654&action=edit Proposed fix which detects cyclic type dependencies This patch fixes an ICE which will occur if cyclic dependent types are used when declaring a variable. This patch detects the cyclic dependency and issues an error message for each outstanding component.