re PR middle-end/41502 (ICE in expand_call_inline)
2009-10-06 Richard Guenther <rguenther@suse.de> PR lto/41502 * gcc.dg/lto/20091006-1_0.c: New testcase. * gcc.dg/lto/20091006-1_1.c: Likewise. * gcc.dg/lto/20091005-2_0.c: Likewise. From-SVN: r152489
This commit is contained in:
parent
9ef3b47672
commit
ccc37454b0
@ -1,3 +1,10 @@
|
||||
2009-10-06 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR lto/41502
|
||||
* gcc.dg/lto/20091006-1_0.c: New testcase.
|
||||
* gcc.dg/lto/20091006-1_1.c: Likewise.
|
||||
* gcc.dg/lto/20091005-2_0.c: Likewise.
|
||||
|
||||
2009-10-06 Samuel Tardieu <sam@rfc1149.net>
|
||||
|
||||
PR ada/41383
|
||||
|
11
gcc/testsuite/gcc.dg/lto/20091005-2_0.c
Normal file
11
gcc/testsuite/gcc.dg/lto/20091005-2_0.c
Normal file
@ -0,0 +1,11 @@
|
||||
/* { dg-lto-do link } */
|
||||
/* { dg-lto-options {{-fstrict-aliasing -flto}} } */
|
||||
|
||||
typedef struct { } t_commrec;
|
||||
typedef struct { } t_fft_c;
|
||||
void
|
||||
solve_pme(t_commrec *cr)
|
||||
{
|
||||
t_fft_c *ptr;
|
||||
}
|
||||
int main () { return 0; }
|
14
gcc/testsuite/gcc.dg/lto/20091006-1_0.c
Normal file
14
gcc/testsuite/gcc.dg/lto/20091006-1_0.c
Normal file
@ -0,0 +1,14 @@
|
||||
/* { dg-lto-do link } */
|
||||
|
||||
typedef void (*fnt) (void);
|
||||
void __attribute__((noinline)) bar (void) {}
|
||||
extern inline void check3 (void)
|
||||
{
|
||||
bar ();
|
||||
}
|
||||
void test (void)
|
||||
{
|
||||
const fnt pcheck3 = check3;
|
||||
pcheck3 ();
|
||||
}
|
||||
int main() { return 0; }
|
2
gcc/testsuite/gcc.dg/lto/20091006-1_1.c
Normal file
2
gcc/testsuite/gcc.dg/lto/20091006-1_1.c
Normal file
@ -0,0 +1,2 @@
|
||||
extern void bar (void);
|
||||
void check3 (void) { bar (); }
|
Loading…
Reference in New Issue
Block a user