Commit 4d858799 by Richard Biener Committed by Richard Biener

re PR debug/59323 (Int. comp. error: in add_AT_specification, at dwarf2out.c:4026)

2013-11-28  Richard Biener  <rguenther@suse.de>

	PR lto/59323
	* gcc.dg/lto/pr59323-2_0.c: New testcase.

From-SVN: r205487
parent c54e2022
2013-11-28 Richard Biener <rguenther@suse.de>
PR lto/59323
* gcc.dg/lto/pr59323-2_0.c: New testcase.
2013-11-28 Richard Biener <rguenther@suse.de>
PR tree-optimization/59330
* gcc.dg/torture/pr59330.c: New testcase.
......
/* { dg-lto-do link } */
/* { dg-lto-options { { -O2 -g -flto } } } */
/* { dg-extra-ld-options { -r -nostdlib } } */
extern void bar(void);
int main(int argc, char **argv)
{
int i;
if (argc == 1) {
extern void bar ();
bar();
{
extern void bar ();
asm goto ("" : : : : lab);
lab:
;
}
}
{
extern void bar ();
int foo(void)
{
return argv[0][0];
}
i = foo();
}
return i;
}
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