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]

[Bug middle-end/31127] New: [4.3 regression] ICE in cse_find_path, at cse.c:5930


I have destilled the following small testcase from Wine, specifically
dlls/advapi32/security.c.

Compiling this with -O2 results in an ICE in cse_find_path at cse.c:5930.

void ParseStringSidToSid(char *s, int* p) {
    int i = 0;

    while (*s) {
        while (*s && *s != '-')
            s++;
        if (*s== '-')
            s++;

        p[i++] = *s;
    }
}


-- 
           Summary: [4.3 regression] ICE in cse_find_path, at cse.c:5930
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gerald at pfeifer dot com
  GCC host triplet: i586-suse-linux, i386-unknown-freebsd5.4


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31127


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