------- Comment #4 from d at domob dot eu 2008-06-13 17:53 ------- Created an attachment (id=15770) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15770&action=view) Probably obvious fix.
Attached a simple fix by disabling this error if we are inside an array-constructor with typespec; the two tests above are included in the patch and work now. Regression-testing is just running, but I don't expect any errors there. If it succeeds, I'll submit the patch to gcc-patches. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36517