On Fri, May 17, 2019 at 09:38:31AM -0600, Jeff Law wrote:
> > 2019-05-15 Martin Liska <[email protected]>
> >
> > PR middle-end/90263
> > * gcc.c-torture/compile/pr90263.c: New test.
> > * lib/target-supports.exp: Add check_effective_target_glibc.
The test is:
+UNRESOLVED: gcc.c-torture/compile/pr90263.c -O0 scan-assembler mempcpy
+UNRESOLVED: gcc.c-torture/compile/pr90263.c -O1 scan-assembler mempcpy
+UNRESOLVED: gcc.c-torture/compile/pr90263.c -O2 scan-assembler mempcpy
+UNRESOLVED: gcc.c-torture/compile/pr90263.c -O2 -flto scan-assembler
mempcpy
+UNRESOLVED: gcc.c-torture/compile/pr90263.c -O2 -flto -flto-partition=none
scan-assembler mempcpy
+UNRESOLVED: gcc.c-torture/compile/pr90263.c -O3 -g scan-assembler mempcpy
+UNRESOLVED: gcc.c-torture/compile/pr90263.c -Os scan-assembler mempcpy
compile.exp defaults to dg-do assemble, so it doesn't emit assembly, but
object file and so you can't scan-assembler it (unless -save-temps).
Why have you put it into gcc.c-torture/compile/ rather than gcc.dg/
or gcc.dg/torture/ and made dg-do compile there?
Jakub