This is the mail archive of the gcc-prs@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]

target/7864: ICE on very simple legal code


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


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