This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
target/7864: ICE on very simple legal code
- From: mattias at virtutech dot se
- To: gcc-gnats at gcc dot gnu dot org
- Cc: jojo at virtutech dot se, gustav at virtutech dot se
- Date: 9 Sep 2002 13:46:09 -0000
- Subject: target/7864: ICE on very simple legal code
- Reply-to: mattias at virtutech dot se
>Number: 7864
>Category: target
>Synopsis: ICE on very simple legal code
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Mon Sep 09 06:56:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: mattias@virtutech.se
>Release: gcc 3.0.4
>Organization:
>Environment:
redhat gnu/linux 6.2 (x86)
>Description:
gcc 3.0.4 ICEs with "Unrecognizable insn" on the following code, when compiled with -O2 (x86 host and target):
void f(void (*p)(char *), int x)
{
char a[2];
a[0] = !x;
p(a);
}
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: