This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/29030] gcc.dg/array-9.c produces internal compiler error on Darwin at -m64
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Sep 2006 16:22:52 -0000
- Subject: [Bug target/29030] gcc.dg/array-9.c produces internal compiler error on Darwin at -m64
- References: <bug-29030-11113@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from pinskia at gcc dot gnu dot org 2006-09-13 16:22 -------
(In reply to comment #5)
> Andrew,
> The proposed patch doesn't work. It converts the internal
> compiler error into a compiler time error of...
Yes the patch does work as this is invalid code to begin with :).
Look at the testcase:
struct A
{
int i;
void x[1]; /* { dg-error "array of voids" } */
};
void foo(struct A a) {}
See how there is a dg-error there, that error is expected.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29030