3 /* { dg-require-profiling "" } */
4 /* { dg-options "-O2 -pg" } */
5 /* { dg-options "-O2 -pg -static" { target hppa*-*-hpux* } } */
6 /* { dg-error "profiler" "No profiler support" { target xstormy16-*-* } 0 } */
7 /* Support for -pg on irix relies on gcrt1.o which doesn't exist yet.
8 See: http://gcc.gnu.org/ml/gcc/2002-10/msg00169.html */
9 /* { dg-error "gcrt1.o" "Profiler support missing" { target mips*-*-irix* } 0 } */
10 /* { dg-error "-pg not supported" "Profiler support missing" { target *-*-sco3.2v5* } 0 } */
15 long bar (long z
) { return z
* 2; }
17 for (i
= 0; i
< x
; i
++)