Commit f22cfb2e by Jakub Jelinek Committed by Jakub Jelinek

re PR target/49866 (-mcmodel=large tail call fails to assemble)

	PR target/49866
	* gcc.target/i386/pr49866.c: New test.

From-SVN: r176842
parent 084e45a5
2011-07-27 Jakub Jelinek <jakub@redhat.com>
PR target/49866
* gcc.target/i386/pr49866.c: New test.
2011-07-27 Yukhin Kirill <kirill.yukhin@intel.com>
* gcc.target/i386/i386.exp (check_effective_target_bmi): New.
......
/* PR target/49866 */
/* { dg-do assemble } */
/* { dg-options "-O2 -mcmodel=large" { target lp64 } } */
void fn (void *, int, int);
int fn2 (void);
void baz (int);
static void
foo (void *x, int y)
{
int i;
for (i = 0; i < y; i++)
fn (x, fn2 (), i);
}
void
bar (int u, int v, int w, void *x)
{
baz (u);
foo (x, w);
baz (u);
}
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