https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112728
--- Comment #4 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> --- > --- Comment #3 from Jorn Wolfgang Rennecke <amylaar at gcc dot gnu.org> --- > (In reply to Rainer Orth from comment #0) >> The gcc.dg/scantest-lto.c FAILs on quite a number of targets: > ... >> * On Darwin, the __TEXT,__eh_frame contains .ascii because the assembler >> lacks support for cfi directives. > > I suppose we could handle the darwin case by: > > - Not doing the common scan-assembler* tests for darwin I guess it would be better to use the recently introduce cfi effective-target keyword to catch targets that would show ascii in there. > - doing a scan-assembler-times test that expects exactly how many .ascii are > emitted for cfi. While that's an option, I suspect that's going too far actually.