* doc/invoke.texi (core-avx2): Document.
[official-gcc.git] / gcc / testsuite / gcc.misc-tests / gcov-13.c
blobe443f48532ed8564229dcaa8626c6e2450e30a18
1 /* Test gcov weak ellision. */
3 /* { dg-options "-fprofile-arcs -ftest-coverage" } */
4 /* { dg-require-weak "" } */
5 /* { dg-do run { target native } } */
6 /* { dg-additional-sources "gcovpart-13b.c" } */
7 /* { dg-skip-if "weak ellision not supported" { { hppa*-*-hpux* } && { ! lp64 } } { "*" } { "" } } */
9 int __attribute__ ((weak)) weak ()
11 return 1; /* count(-) { xfail *-*-* } */
14 int main ()
16 return weak (); /* count(1) */
19 /* { dg-final { run-gcov { -a gcov-13.c } { xfail *-*-* } } } */
20 /* { dg-final { run-gcov { -a gcovpart-13b.c } } } */