c/1613: gcc version 2.97 20010110 (experimental) does not build sh-linux-gnu-gcc

soka@line.co.jp soka@line.co.jp
Sun Apr 1 00:00:00 GMT 2001


>Number:         1613
>Category:       c
>Synopsis:       gcc version 2.97 20010110 (experimental) does not build sh-linux-gnu-gcc
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 11 01:16:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Sachio Okamoto
>Release:        gcc version 2.97 20010110 (experimental)
>Organization:
>Environment:
Debian GNU/Linux 2.2r1 on x86
>Description:
I did configure of gcc-20010110.

../egcs/configure --target=sh-linux-gnu --prefix=/usr/local/experimental --enable-languages=c

Then I executed make. Make was successful to making xgcc.
Make uses xgcc sequentially and is going to make sh-linux-gnu-gcc.
However, ICE occurred during the compilation.

I attached the source file which simplified the file which generated ICE.

I show error message in the following.

foo.c: In function `__muldf3':
foo.c:43: Internal compiler error in gen_reg_rtx, at emit-rtl.c:542
Please submit a full bug report.
 See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="foo.c"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="foo.c"

dHlwZWRlZiB1bnNpZ25lZCBpbnQgZnJhY3R5cGUgX19hdHRyaWJ1dGVfXygobW9kZSAoREkpKSk7
Cgp0eXBlZGVmIHN0cnVjdCB7CiAgICBpbnQgbm9ybWFsX2V4cDsKICAgIHN0cnVjdCB7CglpbnQg
bFsyXTsKICAgIH0gZnJhY3Rpb247Cn0gZnBfbnVtYmVyX3R5cGU7Cgp0eXBlZGVmIHN0cnVjdCB7
Cn0gRkxPX3VuaW9uX3R5cGU7CgoKc3RhdGljIF9faW5saW5lX18gdm9pZApfZnBtdWxfcGFydHMg
KGZwX251bWJlcl90eXBlICogdG1wKQp7CiAgICBmcmFjdHlwZSBsb3cgPSAwOwogICAgZnJhY3R5
cGUgaGlnaCA9IDA7CgogICAgd2hpbGUgKGhpZ2ggPCAoMUxMIDw8IDYwKSkgewoJdG1wLT5ub3Jt
YWxfZXhwLS07CgoJaWYgKGxvdyAmIDB4MTAwMDAwMDAwMDBMKQoJICAgIGhpZ2ggPSAwOwoJbG93
ID0gMDsKICAgIH0KICAgIGlmIChoaWdoID09IDEpCgloaWdoID0gMDsKfQoKdm9pZCB1bnBhY2tf
ZCAoRkxPX3VuaW9uX3R5cGUgKiwgZnBfbnVtYmVyX3R5cGUgKik7Cgp2b2lkCl9fbXVsZGYzKCkK
ewogICAgZnBfbnVtYmVyX3R5cGUgYTsKICAgIEZMT191bmlvbl90eXBlIGF1OwoKICAgIHVucGFj
a19kICgmYXUsICZhKTsKICAgIHVucGFja19kICgmYXUsICZhKTsKCiAgICBfZnBtdWxfcGFydHMg
KCZhKTsKfQo=


More information about the Gcc-prs mailing list