<< Back to previous view

[PCC-56] compiler error: bfcode (Mac OS X, very large source file) Created: 25/May/09  Updated: 08/Aug/09

Status: Closed
Project: pcc
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Dr Richard A. O'Keefe Assignee: Gregory McGarry
Resolution: Fixed Votes: 0
Environment: Operating system MacOS 10.5.5, pcc built with gcc i686-apple-darwin9-gcc-4.0.1, built with ./configure --prefix=$HOME/local then make then make install; today's version pcc 0.9.9 for i386-apple-darwin9.5.0, ok@oucs1041.otago.ac.nz Mon May 25 14:46:57 NZST 2009

File Attachments: File code.diff     Zip Archive nzok-bfcode.zip    

 Description   
I have a very large automatically generated source file which is to the best of my knowledge standard C89. It compiles with the Sun C compiler (on SPARC) and the gcc and Intel icc compilers on MacOS and the gcc compiler on Linux. It is 132,887 lines long, which of course is why I'd like a fast compiler.
After making a $HOME/local/include/libkern/_OSByteOrder.h that #includes <stdint.h>,
pcc -c foobar.c
got a long way and then reported
foobar.c, line 128781: compiler error: bfcode
This file requires support.h, which requires header.h; everything else is POSIX.

 Comments   
Comment by Dr Richard A. O'Keefe [ 26/May/09 12:21 AM ]
This seems to fix the bug

Comment by Anders Magnusson [ 08/Aug/09 10:33 AM ]
Reported fixed by the issuer.
Generated at Fri Aug 22 21:39:38 CEST 2014 using JIRA Enterprise Edition, Version: 3.13.1-#333.