This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
What am I doint wrong here?!?!
- From: Chris Croswhite <ccroswhite at get2chip dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: 23 Feb 2003 12:57:16 -0800
- Subject: What am I doint wrong here?!?!
gcc 3.2.2 on x86 (686):
What am I doing wrong here:
#include <math.h>
#include <stdio.h>
int main () {
double val, num;
int *exp;
val = 5.0/2.0;
num = frexp(val, exp);
printf("num is %g\n", val);
return 1;
}
gcc -static -O2 foo.c -o foo
foo generates a dump.
TIA,
chris