[PATCH] Fix PR c/17407, ice in int_mode_for_mode

Andrew Pinski pinskia@physics.uc.edu
Thu Oct 21 03:19:00 GMT 2004


The problem here is that we were not calling layout_type on some array 
types
even though we need.  This patch makes sure that we call layout_type on 
the
array type in grokdeclarator.

OK? Bootstrapped on powerpc-darwin with no regressions.

Thanks,
Andrew Pinski

ChangeLog:
	* c-decl.c (grokdeclarator): Call layout_type on all arrays.

testsuite/ChangeLog:
	* gcc.c-torture/compile/pr17407.c: New test.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fixICE.diff.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20041021/c39a4e25/attachment.txt>


More information about the Gcc-patches mailing list