[Bug objc/24180] [4.1 Regression] rejects union cast

2005-10-03 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2005-10-03 21:30 --- The code is invalid, the related C testcase: union a { void *g; }; void f(union a); void g(int *b) { f((union a)b); } Which is rejected everywhere. -- pinskia at gcc dot gnu dot org changed: What

[Bug objc/24180] [4.1 Regression] rejects union cast

2005-10-03 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-10-03 21:14 --- Forgot to say this shows up while compiling GNUStep. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24180