Commit 0e39213c by Jakub Jelinek Committed by Jakub Jelinek

re PR tree-optimization/57321 (static function call miscompiled at -Os and above)

	PR tree-optimization/57321
	* gcc.c-torture/execute/pr57321.c: New test.

From-SVN: r199133
parent b112d513
2013-05-21 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/57321
* gcc.c-torture/execute/pr57321.c: New test.
2013-05-20 Tobias Burnus <burnus@net-b.de>
PR fortran/48858
......
/* PR tree-optimization/57321 */
int a = 1, *b, **c;
static int
foo (int *p)
{
if (*p == a)
{
int *i[7][5] = { { 0 } };
int **j[1][1];
j[0][0] = &i[0][0];
*b = &p != c;
}
return 0;
}
int
main ()
{
int i = 0;
foo (&i);
return 0;
}
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