On Thu, Aug 7, 2014 at 4:58 PM, Kyrill Tkachov <kyrylo.tkac...@arm.com> wrote:
> Hi all,
>
> This test in the torture suite fails on -flto because it scans for a
> sentinel string inside an asm block that it wants to make sure is not
> optimised away. However, with -flto gcc uses slim LTO objects which contain
> a binary representation of the structure of the program rather than
> outputting the assembly.
>
> What we need is to add -ffat-lto-objects to make sure that both the binary
> representation and the assembly is output so that the scan-assembly can
> work.
>
> Ok to commit?

Please instead skip the test for LTO or see if you can move the
LTO-scan-assembler harness code somebody added for ARM (IIRC).

Thanks,
Richard.

> 2014-08-07  Kyrylo Tkachov  <kyrylo.tkac...@arm.com>
>
>         * gcc.dg/torture/pr61772.c: Add -ffat-lto-objects option.
>
>

Reply via email to