www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/1999/03/01/09:45:59

Resent-Message-Id: <199903011448 DOT PAA15488 AT entity DOT local>
Date: Mon, 1 Mar 1999 04:29:32 +0100
From: =?iso-8859-1?Q?Johnny_Teve=DFen?= <j DOT tevessen AT gmx DOT net>
To: pgcc-list AT desk DOT nl
Subject: pgcc-2.92.21 internal compiler error
Message-ID: <19990301042931.D24507@entity.netcologne.de>
Mime-Version: 1.0
X-Mailer: Mutt 0.95.1i
Resent-From: johnny AT entity DOT netcologne DOT de
Resent-Date: Mon, 1 Mar 1999 15:48:31 +0100
Resent-To: pgcc AT delorie DOT com
Reply-To: pgcc AT delorie DOT com

--0ntfKIWw70PvrIHh
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

Hi!

During compilation of Python-1.5.2b2, the abovementioned pgcc
stopped with this message:

gcc  -march=3Dk6 -O6 -pipe -I./../Include -I.. -DHAVE_CONFIG_H -c ./selectm=
odule.c
=2E/selectmodule.c: In function `list2set':
=2E/selectmodule.c:173: internal error--unrecognizable insn:
(insn 38 428 40 (parallel[
            (set (mem/s:BLK (reg/v:SI 5 %edi) 0)
                (asm_operands/v ("cld ; rep ; stosl") ("=3Dm") 0[
                        (reg:SI 0 %eax)
                        (reg/v:SI 2 %ecx)
                        (reg/v:SI 5 %edi)
                    ]
                    [
                        (asm_input:SI ("a"))
                        (asm_input:SI ("1"))
                        (asm_input:SI ("2"))
                    ]  ("./selectmodule.c") 108))
            (set (reg/v:SI 2 %ecx)
                (asm_operands/v ("cld ; rep ; stosl") ("=3D&c") 1[
                        (reg:SI 0 %eax)
                        (reg/v:SI 2 %ecx)
                        (reg/v:SI 5 %edi)
                    ]
                    [
                        (asm_input:SI ("a"))
                        (asm_input:SI ("1"))
                        (asm_input:SI ("2"))
                    ]  ("./selectmodule.c") 108))
            (set (reg/v:SI 5 %edi)
                (asm_operands/v ("cld ; rep ; stosl") ("=3D&D") 2[
                        (reg:SI 0 %eax)
                        (reg/v:SI 2 %ecx)
                        (reg/v:SI 5 %edi)
                    ]
                    [
                        (asm_input:SI ("a"))
                        (asm_input:SI ("1"))
                        (asm_input:SI ("2"))
                    ]  ("./selectmodule.c") 108))
            (clobber (mem:BLK (scratch) 0))
        ] ) -1 (insn_list 6 (nil))
    (expr_list:REG_DEAD (reg:SI 0 %eax)
        (nil)))
toplev.c:1461: Internal compiler error in function fatal_insn
cpp: output pipe has been closed
make: *** [selectmodule.o] Error 1

The beginning of the function (I'm including line 108) looks
like this:

selectmodule.c:    96   list2set(list, set, fd2obj)
selectmodule.c:    97           PyObject *list;
selectmodule.c:    98           fd_set *set;
selectmodule.c:    99           pylist fd2obj[FD_SETSIZE + 3];
selectmodule.c:   100   {
selectmodule.c:   101           int i;
selectmodule.c:   102           int max =3D -1;
selectmodule.c:   103           int index =3D 0;
selectmodule.c:   104           int len =3D PyList_Size(list);
selectmodule.c:   105           PyObject* o =3D NULL;
selectmodule.c:   106
selectmodule.c:   107           fd2obj[0].obj =3D (PyObject*)0;        /* s=
et list to zero size */
selectmodule.c:   108           FD_ZERO(set);
selectmodule.c:   109
selectmodule.c:   110           for (i =3D 0; i < len; i++)  {

I'm using the Linux-2.2.1 implementation of the FD_ZERO() macro.

The code of list2set() in file Modules/selectmodule.c is rather lengthy
(about three screen pages), so I'm not including it (it is publically
available anyway on the python homepage). The only unordinary thing
that I could see in the file were a few "goto"s to the end of the
function.

Changing the Makefile to use -O0 instead of -O6 made it compile.
-O1 did *not* work.

Please send me copies of replies, since I'm not subscribed. Thanks.

ciao,
johnny
--=20
Trust no-one.

--0ntfKIWw70PvrIHh
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Comment: PGP 2.6.3---You're using envelopes, too, aren't you?

iQCVAwUBNtoJmzeHgStcd7BNAQFoygP9GX6gnvcMwtwQtjdrBaww6AjPS6f4+sCZ
EAz7Npqi+2iwOBfDbZJnmbZ0M/qasLVQT7Zv3oAvl7pPIKdf46hN+AwYx6OBPFsx
Kv+AHKSQFdB+sn0b8wRHJ2SQOJW/2nrs8eaGFRw9sesf1Cc7jJ3rOCXFWojQQ9pR
KsE8rBzrkjc=
=aZit
-----END PGP SIGNATURE-----

--0ntfKIWw70PvrIHh--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019