+2011-08-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
+
+ * gcc.dg/lto/20110201-1_0.c: Provide dummy sqrt.
+
2011-08-09 Uros Bizjak <ubizjak@gmail.com>
* gcc.target/i386/sse-22a.c: New test.
x = 0;
return cabs(x);
}
+
+/* We provide a dummy sqrt to avoid link failures on targets that do not
+ expand sqrt inline. Note that we do not link against libm in order
+ to ensure cabs is not satisfied by the library, but must be folded. */
+double __attribute__((used))
+sqrt (double x)
+{
+ return x;
+}
+
int main() { return 0; }