Iain Hibbert
2012-08-08 07:35:29 UTC
pcc/cc/ccom: inline.c
Handle the situation where an IP_REF node appears before PROLOG in an
interpass list. Fixes a problem with compiling gcc.
This seems to break something.Handle the situation where an IP_REF node appears before PROLOG in an
interpass list. Fixes a problem with compiling gcc.
I have a script which compiles pcc with gcc, then again with the gcc-built
pcc, then again with the pcc-built pcc and compares the output of the last
two builds, and the final build does not complete..
eg, the pcc-built pcc fails to work with any input:
% cat x.c
int main(int ac, char *av[]) { return 0; }
% pcc -c x.c
x.c:1: error: read error on file x.c
/usr/libexec/pcpp terminated with status 1
regards,
iain