Someone introduced a libiberty crashing bug in the past week

Andrew Pinski pinskia@physics.uc.edu
Mon Jun 20 16:04:00 GMT 2005


On Jun 20, 2005, at 11:39 AM, Daniel Berlin wrote:

> This is new, i assume.
>
> This is blocking me fixing the structure aliasing regressions.
>
> I've attached pex-unix.i. Compile with -pendantic to see the crash.


Here is a reduced testcase:
typedef union
   {
     union wait *__uptr;
     int *__iptr;
   } HH __attribute__ ((__transparent_union__));
extern void h (HH) __attribute__ ((__nothrow__));
void g (int *status)
{
   h (status);
}

Thanks,
Andrew Pinski



More information about the Gcc-bugs mailing list