This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Someone introduced a libiberty crashing bug in the past week
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: Daniel Berlin <dberlin at dberlin dot org>
- Cc: gcc-bugs at gcc dot gnu dot org, Gcc Mailing List <gcc at gcc dot gnu dot org>
- Date: Mon, 20 Jun 2005 12:02:25 -0400
- Subject: Re: Someone introduced a libiberty crashing bug in the past week
- References: <1119281986.7527.5.camel@linux-009002219139.watson.ibm.com>
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