re PR rtl-optimization/61215 (ICE in gen_add2_insn, at optabs.c:4718 when building wine-1.7.19)

2014-05-23  Vladimir Makarov  <vmakarov@redhat.com>

	PR rtl-optimization/61215
	* gcc.target/i386/pr61215.c: New.

From-SVN: r210863
This commit is contained in:
Vladimir Makarov 2014-05-23 15:34:03 +00:00 committed by Vladimir Makarov
parent 85a16bf8b5
commit 63b0b10636
2 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2014-05-23 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/61215
* gcc.target/i386/pr61215.c: New.
2014-05-23 Marek Polacek <polacek@redhat.com>
Jakub Jelinek <jakub@redhat.com>

View File

@ -0,0 +1,10 @@
/* { dg-do compile } */
/* { dg-require-effective-target ia32 } */
/* { dg-options "-O2 -march=i686" } */
void fn1 (int *, ...);
int fn2 (int p1)
{
fn1 (0, (short)(int)&p1);
return 0;
}