re PR testsuite/82828 (i386/pr70263-2.c fail)
PR testsuite/82828 PR rtl-optimization/70263 * gcc.target/i386/pr70263-2.c: Fix invalid testcase. From-SVN: r254385
This commit is contained in:
parent
33a2e348a5
commit
ece615ecc6
|
@ -1,3 +1,9 @@
|
||||||
|
2017-11-03 Uros Bizjak <ubizjak@gmail.com>
|
||||||
|
|
||||||
|
PR testsuite/82828
|
||||||
|
PR rtl-optimization/70263
|
||||||
|
* gcc.target/i386/pr70263-2.c: Fix invalid testcase.
|
||||||
|
|
||||||
2017-11-03 Marc Glisse <marc.glisse@inria.fr>
|
2017-11-03 Marc Glisse <marc.glisse@inria.fr>
|
||||||
|
|
||||||
* gcc.dg/tree-ssa/negneg-1.c: New file.
|
* gcc.dg/tree-ssa/negneg-1.c: New file.
|
||||||
|
|
|
@ -4,20 +4,13 @@
|
||||||
/* { dg-final { scan-rtl-dump "Adding REG_EQUIV to insn \[0-9\]+ for source of insn \[0-9\]+" "ira" } } */
|
/* { dg-final { scan-rtl-dump "Adding REG_EQUIV to insn \[0-9\]+ for source of insn \[0-9\]+" "ira" } } */
|
||||||
|
|
||||||
typedef float XFtype __attribute__ ((mode (XF)));
|
typedef float XFtype __attribute__ ((mode (XF)));
|
||||||
typedef _Complex float XCtype __attribute__ ((mode (XC)));
|
|
||||||
XCtype
|
void bar (XFtype);
|
||||||
__mulxc3 (XFtype a, XFtype b, XFtype c, XFtype d)
|
|
||||||
|
void
|
||||||
|
foo (XFtype a, XFtype c)
|
||||||
{
|
{
|
||||||
XFtype ac, bd, ad, bc, x, y;
|
XFtype ac = a * c;
|
||||||
ac = a * c;
|
|
||||||
__asm__ ("": "=m" (ac):"m" (ac));
|
bar (ac);
|
||||||
if (x != x)
|
|
||||||
{
|
|
||||||
_Bool recalc = 0;
|
|
||||||
if (((!(!(((ac) - (ac)) != ((ac) - (ac)))))))
|
|
||||||
recalc = 1;
|
|
||||||
if (recalc)
|
|
||||||
x = __builtin_huge_vall () * (a * c - b * d);
|
|
||||||
}
|
|
||||||
return x;
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue