Need help creating a small test case for g++ 4.0.0 bug

Dan Kegel dank@kegel.com
Wed Aug 3 16:16:00 GMT 2005


"Paul C. Leopardi" <leopardi@bigpond.net.au> wrote:
 > So I seem to be left with a large ( >2.5MB ) preprocessed source file. Should
 > I try to report the bug using this large file as a test case?

Sure.  But you might want to try using an automated tool
to reduce the test case first.  There's one called delta
(or maybe there are several by that name, I'm not sure)
that can do it.  I haven't tried them myself yet, but see:

Original implementation:
http://www.st.cs.uni-sb.de/dd/
   http://programming.newsforge.com/article.pl?sid=05/06/30/1549248&from=rss
   http://www.stanford.edu/class/cs295/asgns/asgn1/asgn.pdf
2nd implementation?:
http://www.cs.berkeley.edu/~dsw/

-- 
Trying to get a job as a c++ developer?  See http://kegel.com/academy/getting-hired.html



More information about the Gcc mailing list