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