Richard Guenther wrote:
> On Mon, 8 Aug 2011, Ulrich Weigand wrote:
> > OK, so what about the following version? This keeps not linking against
> > libm so it will fail if cabs is not folded. On the other hand, it will
> > provide a dummy implementation of sqrt to avoid failure simply because
> >
On Mon, 8 Aug 2011, Ulrich Weigand wrote:
> Richard Guenther wrote:
>
> > Of course testing for the fold makes sure we also test for the crash ...
> > so yes, the idea was to also test for the fold. As the LTO testing
> > harness does not support scanning dumps (sigh...) link tests are
> > the o
Richard Guenther wrote:
> Of course testing for the fold makes sure we also test for the crash ...
> so yes, the idea was to also test for the fold. As the LTO testing
> harness does not support scanning dumps (sigh...) link tests are
> the only possibility right now.
OK, so what about the follo
On Fri, Jul 22, 2011 at 7:28 PM, Richard Henderson wrote:
> On 07/22/2011 10:19 AM, Ulrich Weigand wrote:
>> 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
On 07/22/2011 10:19 AM, Ulrich Weigand wrote:
> 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 routi
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,
>
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 t
Richard Guenther wrote:
> On Fri, 22 Jul 2011, Ulrich Weigand wrote:
> > Now that we have the linker plugin, this fails on spu-elf with:
> >
> > /tmp/cce6KuRb.ltrans0.ltrans.o: In function `foo':
> > cce6KuRb.ltrans0.o:(.text+0x28): undefined reference to `sqrt'
> >
> > because nothing links agai
On Fri, 22 Jul 2011, Ulrich Weigand wrote:
> Richard Guenther wrote:
>
> > + /* { dg-lto-do run } */
> > + /* { dg-lto-options { { -O0 -flto } } } */
> > + /* { dg-extra-ld-options "-O2 -ffast-math -fuse-linker-plugin" } */
> > + /* { dg-require-linker-plugin "" } */
> > +
> > + /* We require a
Richard Guenther wrote:
> + /* { dg-lto-do run } */
> + /* { dg-lto-options { { -O0 -flto } } } */
> + /* { dg-extra-ld-options "-O2 -ffast-math -fuse-linker-plugin" } */
> + /* { dg-require-linker-plugin "" } */
> +
> + /* We require a linker plugin because otherwise we'd need to link
> +aga
10 matches
Mail list logo