target/7864: ICE on very simple legal code

mattias@virtutech.se mattias@virtutech.se
Mon Sep 9 06:58:00 GMT 2002


>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:



More information about the Gcc-bugs mailing list