Steve Kargl
2011-08-05 00:22:42 UTC
troutmask:sgk[210] ~/work/bin/pcc -c zxc.c
major internal compiler error: zxc.c, line 13
troutmask:sgk[211] cat zxc.c
#include <stdlib.h>
#include <math.h>
void
parcomp(int start)
{
double *cost;
int i;
cost = malloc(start * sizeof *cost);
for (i = 0; i < start; i++)
cost[i] = HUGE_VAL;
}
A heavily edited pre-processed version of the above is
troutmask:sgk[212] ~/work/bin/pcc -c z.c
major internal compiler error: z.c, line 17
troutmask:sgk[213] cat z.c
typedef unsigned long __uint64_t;
typedef __uint64_t __size_t;
typedef __size_t size_t;
void *malloc(size_t) __attribute__((__malloc__));
void
parcomp(int start)
{
double *cost;
int i;
cost = malloc(start * sizeof *cost);
for (i = 0; i < start; i++)
cost[i] = __builtin_huge_val();
}
major internal compiler error: zxc.c, line 13
troutmask:sgk[211] cat zxc.c
#include <stdlib.h>
#include <math.h>
void
parcomp(int start)
{
double *cost;
int i;
cost = malloc(start * sizeof *cost);
for (i = 0; i < start; i++)
cost[i] = HUGE_VAL;
}
A heavily edited pre-processed version of the above is
troutmask:sgk[212] ~/work/bin/pcc -c z.c
major internal compiler error: z.c, line 17
troutmask:sgk[213] cat z.c
typedef unsigned long __uint64_t;
typedef __uint64_t __size_t;
typedef __size_t size_t;
void *malloc(size_t) __attribute__((__malloc__));
void
parcomp(int start)
{
double *cost;
int i;
cost = malloc(start * sizeof *cost);
for (i = 0; i < start; i++)
cost[i] = __builtin_huge_val();
}
--
Steve
Steve