bd52d17906
too large to list, but see: http://gcc.gnu.org/gcc-3.4/changes.html http://gcc.gnu.org/gcc-4.0/changes.html http://gcc.gnu.org/gcc-4.1/changes.html for the details.
38 lines
410 B
C
38 lines
410 B
C
/* Bug 16325. */
|
|
/* { dg-options "-O -fprofile-generate" } */
|
|
|
|
extern void abort (void);
|
|
|
|
int *p1;
|
|
int *p2;
|
|
int *p3;
|
|
|
|
int ga = 100;
|
|
|
|
int
|
|
sub (int i, int j)
|
|
{
|
|
int k;
|
|
int l;
|
|
int m;
|
|
int n;
|
|
p1 = &k;
|
|
p2 = &l;
|
|
p3 = &m;
|
|
k = 20;
|
|
l = 30;
|
|
m = 40;
|
|
n = i / j;
|
|
return n + ga;
|
|
}
|
|
|
|
int
|
|
main(void)
|
|
{
|
|
if (sub (99, 33) != 103)
|
|
abort ();
|
|
return 0;
|
|
}
|
|
|
|
/* { dg-final { cleanup-coverage-files } } */
|