re PR lto/43208 (lto1: error: invalid conversion in return statement)
2010-07-20 Richard Guenther <rguenther@suse.de> PR lto/43208 * gcc.dg/lto/20100720-1_0.c: New testcase. * gcc.dg/lto/20100720-1_1.c: Likewise. From-SVN: r162338
This commit is contained in:
parent
d2d571522c
commit
eeee47af73
|
@ -1,3 +1,9 @@
|
|||
2010-07-20 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR lto/43208
|
||||
* gcc.dg/lto/20100720-1_0.c: New testcase.
|
||||
* gcc.dg/lto/20100720-1_1.c: Likewise.
|
||||
|
||||
2010-07-20 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR debug/45003
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
/* { dg-lto-do run } */
|
||||
|
||||
struct X {
|
||||
int a;
|
||||
};
|
||||
|
||||
typedef struct list_node *list;
|
||||
|
||||
struct list_node {
|
||||
list next;
|
||||
struct X *value;
|
||||
};
|
||||
|
||||
list f(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int main(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
struct X {
|
||||
int b;
|
||||
};
|
||||
|
||||
typedef struct list_node *list;
|
||||
|
||||
struct list_node {
|
||||
list next;
|
||||
struct X *value;
|
||||
};
|
||||
|
||||
list g(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue