This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

c/8555: Internal compiler error in gen_split_1231


>Number:         8555
>Category:       c
>Synopsis:       Internal compiler error in gen_split_1231
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 12 12:36:03 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Kris Demuynck
>Release:        gcc version 3.2
>Organization:
>Environment:
Linux, RedHat 7.1, 2.4.9-31smp kernel
Dell WS410, dual P3 450Mhz, 512MB SDRAM
>Description:
zz.c: In function `find_max':
zz.c:19: Internal compiler error in gen_split_1231, at insn-emit.c:16727
>How-To-Repeat:
gcc -march=pentium3 -O2 -fomit-frame-pointer -ffast-math -funroll-loops -c zz.c
>Fix:
1. Turning off any of the following optimization flags:
    -march=pentium3 -O2 -fomit-frame-pointer -ffast-math -funroll-loops
2. Some simple recoding; See the problem file 'zz.c' for an example
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="zz.c"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="zz.c"

LyotLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0qLwpmbG9hdCAqZmluZF9tYXgoZmxvYXQgKmRzdCxmbG9hdCAq
c3JjLGludCBzaXplLGludCBOKQp7aW50IG5keDsKIGlmKE4gPT0gMSkJCQkJLyogc2VhcmNoIG1h
eGltdW0gb2YgYW4gYXJyYXkgKi8KICB7ZmxvYXQgbXggPSBzcmNbbmR4PXNpemUtMV07CiNpZiAx
CQkJCQkvKiB0aGlzIG5vdCBzbyBlZmZpY2llbnQgaW1wbGVtZW50YXRpb24gZ2l2ZXMgcHJvYmxl
bXMgKi8KICAgZm9yKG5keD1zaXplOy0tbmR4Pj0wOyApCiNlbHNlCiAgIHdoaWxlKC0tbmR4ID49
IDApCQkJLyogdGhpcyBtb3JlIG9wdGltYWwgaW1wbGVtZW50YXRpb24gc29sdmVzIHRoZSBwcm9i
bGVtICovCiNlbmRpZgogICAge2Zsb2F0IHRtcDsKICAgICBpZigodG1wPXNyY1tuZHhdKSA+IG14
KQogICAgICAgbXggPSB0bXA7CiAgICB9CiAgIGRzdFswXSA9IG14OwogIH0KLyogZWxzZSA6IGNv
ZGUgZm9yIGZpbmRpbmcgdGhlIDxOPiBsYXJnZXN0IHZhbHVlcyBpbiBhbiBhcnJheSAqLwogcmV0
dXJuKGRzdCk7Cn0K


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]