Richard Henderson wrote: > On 07/22/2011 07:42 AM, Ulrich Weigand wrote: > > Well, it works for me with just adding -lm to the dg-extra-ld-options. > > This still folds cabs to sqrt in the LTO step, and then satisfies that > > call via the libm routine ... If I understood your intent correctly, > > this should still test the same thing, shouldn't it? > > Not quite, since -lm also provides cabs.
Well, yes (mine does as well). But the -O2 LTO step will still fold cabs to sqrt instead of pulling in the cabs from the library, at least it does for me. Thus the test still verifies this folding doesn't crash, which is what I understood it should do. Am I missing something? Bye, Ulrich -- Dr. Ulrich Weigand GNU Toolchain for Linux on System z and Cell BE ulrich.weig...@de.ibm.com