This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
target/5378: ICE: unrecognizable insn prefetch
- From: ritzert at t-online dot de
- To: gcc-gnats at gcc dot gnu dot org
- Date: 14 Jan 2002 18:36:40 -0000
- Subject: target/5378: ICE: unrecognizable insn prefetch
- Reply-to: ritzert at t-online dot de
>Number: 5378
>Category: target
>Synopsis: ICE: unrecognizable insn prefetch
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jan 14 10:46:02 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: ritzert@t-online.de
>Release: gcc version 3.1 20020114 (experimental)
>Organization:
>Environment:
Linux 2.4.16, Athlon
>Description:
# gcc -c a.c -fprefetch-loop-arrays -march=athlon -O2
a.c: In function `KDE_IceOpenConnection':
a.c:15: unrecognizable insn:
(insn 154 81 31 (prefetch (plus:SI (reg/f:SI 72)
(const_int 384 [0x180]))
(const_int 1 [0x1])
(const_int 3 [0x3])) -1 (nil)
(nil))
a.c:15: Internal compiler error in extract_insn, at recog.c:2129
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>How-To-Repeat:
Compile the attached file with
gcc -c a.c -fprefetch-loop-arrays -march=athlon -O2
>Fix:
Do not use optimization or -fprefetch-loop-arrays.
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/x-csrc; name="a.c"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="a.c"
dm9pZApLREVfSWNlT3BlbkNvbm5lY3Rpb24gKCkKewogICAgaW50IF9LREVfSWNlQXV0aENvdW50
OwogICAgaW50IGksIGo7CiAgICBpbnQgYXV0aFVzYWJsZUNvdW50OwogICAgaW50IGF1dGhVc2Fi
bGVGbGFnc1szMl07CgogICAgZm9yIChpID0gMDsgaSA8IF9LREVfSWNlQXV0aENvdW50OyBpKysp
CiAgICB7CiAgICAgICAgYXV0aFVzYWJsZUZsYWdzW2ldID0gMDsKICAgICAgICBmb3IgKGogPSAw
OyBqIDwgYXV0aFVzYWJsZUNvdW50OyBqKyspCiAgICAgICAgICAgIGF1dGhVc2FibGVGbGFnc1tp
XSA9IDA7CiAgICB9Cn0KCg==