Commit ccc37454 by Richard Guenther Committed by Richard Biener

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
parent 9ef3b476
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> 2009-10-06 Samuel Tardieu <sam@rfc1149.net>
PR ada/41383 PR ada/41383
......
/* { 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; }
/* { 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; }
extern void bar (void);
void check3 (void) { bar (); }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment