This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/29030] gcc.dg/array-9.c produces internal compiler error on Darwin at -m64



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]