This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Reload patch version 3
- To: Bernd Schmidt <crux at pool dot informatik dot rwth-aachen dot de>
- Subject: Re: Reload patch version 3
- From: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- Date: Fri, 28 Aug 1998 22:52:07 +0200
- Cc: egcs-patches at cygnus dot com, Geoff Keating <geoffk at ozemail dot com dot au>
- References: <199808271616.SAA26204@harry.informatik.rwth-aachen.de>
At 14:42 28.08.98 , Bernd Schmidt wrote:
>> FYI, I just tried to bootstrap the egcs release branch on
>> powerpc-unknown-linux-gnu (2.1.118/glibc-2.0.95) and it failed during
>> stage1 with the following error:
>>
>> ../../../egcs/gcc/caller-save.c:654: Internal compiler error in function
>> insert_save_restore
>
>I fixed a bug that could lead to such a failure this morning. Unfortunately
>I haven't brought a diff today, but here's what you have to do: in global.c,
>find the following piece of code in the function build_insn_chain:
Ok, this fixed the bootstrap fail, but make check showed the following
regressions:
FAIL: gcc.c-torture/execute/950503-1.c execution, -O1
FAIL: gcc.c-torture/execute/950503-1.c execution, -O2
FAIL: gcc.c-torture/execute/950503-1.c execution, -O2 -fomit-frame-pointer
-finline-functions
FAIL: gcc.c-torture/execute/950503-1.c execution, -O2 -g
FAIL: gcc.c-torture/execute/950503-1.c execution, -Os
FAIL: gcc.c-torture/execute/conversion.c execution, -O2
-fomit-frame-pointer -finline-functions
FAIL: gcc.c-torture/execute/ieee/rbug.c execution, -O2
-fomit-frame-pointer -finline-functions
and during compile I got the following unusual warning:
fp-bit.c: In function `__pack_f':
fp-bit.c:542: warning: Subreg here
Additionally your patch seems to fix Geoff's pet bug ;-) asm("" : : :
"cc"), which now compiles just fine (also part of the configure tests of
glibc-2.0.95).
Seems to me you are on the right track.
Thanks for the good work,
Franz.