Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / opt / pr14888.C
blobe5c56aaabf2bb4e0746b434680340d8440d73368
1 // PR target/14888
2 // This used to ICE because the truncdfsf2 isn't completely eliminated
4 // { dg-do compile }
5 // { dg-options "-O2 -ffast-math" }
7 class xcomplex
9 public:
10   float re, im;
12   xcomplex &operator*= (const float &fact)
13   { re*=fact; im*=fact; return *this; }
16 void foo (xcomplex &almT, xcomplex &almG)
18   double gb;
19   almT*=gb;
20   almG*=gb*42;