This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Need help creating a small test case for g++ 4.0.0 bug
- From: "Paul C. Leopardi" <leopardi at bigpond dot net dot au>
- To: gcc at gcc dot gnu dot org
- Date: Sun, 28 Aug 2005 13:41:40 +1000
- Subject: Re: Need help creating a small test case for g++ 4.0.0 bug
- References: <42F0EB4C.2040702@kegel.com>
- Reply-to: paul dot leopardi at unsw dot edu dot au
Hi Dan,
Reply below.
Best regards
On Thu, 4 Aug 2005 02:05, Dan Kegel wrote:
> "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/
I used Daniel S. Wilkerson's delta from http://www.cs.berkeley.edu/~dsw/ and
succeeded in reducing my test case enough to file bug 23599.
[4.0 Regression] Flag -fstrict-aliasing corrupts iterators
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23599
Thanks!