This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
powerpc-ibm-aix43.2.0 2.96 19991213 longlong/reload problem
- To: gcc-bugs at gcc dot gnu dot org
- Subject: powerpc-ibm-aix43.2.0 2.96 19991213 longlong/reload problem
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Tue, 14 Dec 1999 17:08:23 -0500
- Cc: Bernd Schmidt <bernds at balti dot cygnus dot co dot uk>, Jakub Jelinek <jakub at redhat dot com>
After my most recent CVS update, I am having problems building on
AIX -- particularly rebuilding libgcc2 in the default common mode. First,
I am getting a mostly useless error message from reload which is caused by
libgcc2.c/longlong.h using POWER architecture inlined assembly. When I
direct the newly-built compiler at libgcc2.c and longlong.h from
gcc-2.95.2, it works fine. When I use the current version of those files,
I get the following error:
/u/dje/src/GNU/egcs/gcc/libgcc2.c: In function `__muldi3':
/u/dje/src/GNU/egcs/gcc/libgcc2.c:318: `asm' needs too many reloads
When I direct gcc-2.95.2 at the current version of those files, I
receive the more informative error:
/u/dje/src/GNU/egcs/gcc/libgcc2.c: In function `__muldi3':
/u/dje/src/GNU/egcs/gcc/libgcc2.c:318: Invalid `asm' statement:
/u/dje/src/GNU/egcs/gcc/libgcc2.c:318: fixed or forbidden register 64 (mq) was spilled for class MQ_REGS.
I have tried using the gcc-2.95.2 version of longlong.h with the
current sources and that does not have any effect, so I presume the
problem is in libgcc2.c.
Has anyone else encountered this problem on AIX? Also, I think
that the error message from revised reload code needs to be more
informative.
Thanks, David
===============================================================================
David Edelsohn T.J. Watson Research Center
dje@watson.ibm.com P.O. Box 218
+1 914 945 4364 (TL 862) Yorktown Heights, NY 10598