This is the mail archive of the
mailing list for the GCC project.
Re: PING: gimplifier ICE fix
- From: Steven Bosscher <stevenb at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Ziemowit Laski <zlaski at apple dot com>, Richard Henderson <rth at redhat dot com>, Lars Sonchocky-Helldorf <lars dot sonchocky-helldorf at hamburg dot de>, discuss-gnustep at gnu dot org
- Date: Tue, 25 Jan 2005 01:34:37 +0100
- Subject: Re: PING: gimplifier ICE fix
- Organization: SUSE Labs
- References: <20041212224836.GB12335@redhat.com> <20050124233915.GB29765@redhat.com> <4F162E7E-6E64-11D9-8814-000D9330C50E@apple.com>
On Tuesday 25 January 2005 01:01, Ziemowit Laski wrote:
> On 24 Jan 2005,@15.39, Richard Henderson wrote:
> > On Mon, Jan 24, 2005@03:29:06PM -0800, Ziemowit Laski wrote:
> >> Please show me how you enumerate that set.
> > You don't.
> Thanks for the constructive response (as always) ...
You're not always being very constructive yourself, you know...
Anyway, here's something you could do.
- get preprocessed sources of a full gcc build tree. You can do
that by bootstrapping with -save-temps, and then collect all
the .i and .ii files in one place.
- do "for $f in *.i; \
do $build/gcc/cc1 -quiet -fdump-tree-optimized -O2 $f; \
done". Do the same for all .ii files. Do this for a patched
and an unpatched compiler, and compare all the .optimized files.
If they are identical, you've taken the first hurdle.
- hack the test suite scripts to dump the .optimized tree dump in
some directory (but *not* the $build/gcc/testsuite/ directory)
Do this again for the patched and unpatched compilers, and again
This won't prove anything for Java, Ada, and Fortran, but at least
it's a start.