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]

Re: Someone introduced a libiberty crashing bug in the past week



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


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