This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: -freduce-all-givs and fortran
Andreas Jaeger <aj@suse.de> writes:
> Richard Henderson <rth@redhat.com> writes:
>
>> On Thu, Sep 06, 2001 at 10:28:08PM +0200, Toon Moene wrote:
>> > Somehow, the giv-combine code doesn't examine the base addresses of
>>> these arrays [quoting swim.f.11.loop]:
>> [...]
>> > Giv 80: insn 40 src reg 69 benefit 4 lifetime 8 replaceable
>>> mult (4)
>>> add (const (plus (symbol_ref ("com_")) (-4)))
>>> Giv 88: insn 51 src reg 69 benefit 4 lifetime 3 replaceable
>>> mult (4)
>>> add (const (plus (symbol_ref ("com_")) (396)))
>>
>> Whee.
>
> Are you sure that your patch is correct? I just added it (from the
> mail) and now I see cc1 eating all my memory + swap (2 GB in total).
> Richard, can you please double check this?
Here's the formal bug report ;-)
Richard, I get repeatly an OOM situation (the kernel kills cc1) with
your patch applied on i686-linux:
stage1/xgcc -Bstage1/ -B/opt/gcc-3.1-devel-rth/i686-pc-linux-gnu/bin/ -c -DIN_GCC
-g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditi
onal -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I/private/gcc-rth/gcc -I/
private/gcc-rth/gcc/. -I/private/gcc-rth/gcc/config -I/private/gcc-rth/gcc/../includ
e /private/gcc-rth/gcc/dwarfout.c -o dwarfout.o
xgcc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
I run configure as:
/private/gcc-rth/configure --host=i686-pc-linux-gnu
--prefix=/opt/gcc-3.1-devel-rth --enable-threads=posix --disable-nls
--enable-languages=c,c++,f77
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj