re PR lto/43221 ([LTO] ICE in get_alias_set, at alias.c:717)
2010-07-20 Richard Guenther <rguenther@suse.de> PR lto/43221 * gcc.dg/lto/20100720-2_0.c: New testcase. * gcc.dg/lto/20100720-2_1.c: Likewise. From-SVN: r162339
This commit is contained in:
parent
eeee47af73
commit
cf259b8462
|
@ -1,3 +1,9 @@
|
|||
2010-07-20 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR lto/43221
|
||||
* gcc.dg/lto/20100720-2_0.c: New testcase.
|
||||
* gcc.dg/lto/20100720-2_1.c: Likewise.
|
||||
|
||||
2010-07-20 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR lto/43208
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
/* { dg-lto-do run } */
|
||||
|
||||
struct X {
|
||||
int a;
|
||||
};
|
||||
|
||||
typedef struct list_node *list;
|
||||
|
||||
struct list_node {
|
||||
list next;
|
||||
list *ptr;
|
||||
struct X *value;
|
||||
};
|
||||
|
||||
list f(list lst)
|
||||
{
|
||||
return lst->next;
|
||||
}
|
||||
|
||||
int main(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
struct X {
|
||||
int b;
|
||||
};
|
||||
|
||||
typedef struct list_node *list;
|
||||
|
||||
struct list_node {
|
||||
list next;
|
||||
list *ptr;
|
||||
struct X *value;
|
||||
};
|
||||
|
||||
list *g(list *ptr)
|
||||
{
|
||||
return ptr;
|
||||
}
|
Loading…
Reference in New Issue