[C++ PATCH] Fix 18729 ICE

Nathan Sidwell nathan@codesourcery.com
Wed Dec 1 16:40:00 GMT 2004


This fixes 18729, a newly introduced ice-on-invalid.  We create typedefs
with an error_mark_node type, and because we don't have distinct
error_type, error_decl, error_expr nodes, we have to explicitly check
for it.

booted & tested on i686-pc-linux-gnu

nathan
-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 18729.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20041201/89fb1f8a/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 18729.C
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20041201/89fb1f8a/attachment-0001.ksh>


More information about the Gcc-patches mailing list