c++/7916: [3.2/3.3 regression] ICE in instantiate_virtual_register_1

bangerth@dealii.org bangerth@dealii.org
Fri Nov 22 11:18:00 GMT 2002


Old Synopsis: internal compiler error in instatiate_virtual_register_1
New Synopsis: [3.2/3.3 regression] ICE in instantiate_virtual_register_1

State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Fri Nov 22 11:05:25 2002
State-Changed-Why:
    Confirmed, also on linux x86. Reduced testcase is
    -------------------------
    void foo(char *dst, char xchg, char cmp)
    {
      __asm__("lock" "\tcmpxchgb %1, (%2)\t\n"
              :"=al"(cmp)
              :"dl"(xchg), "r"(dst), "al"(cmp));
    }
    --------------------------
    Messages are
    tmp/g> /home/bangerth/bin/gcc-3.3y-pre/bin/g++ -c y.cc
    y.cc: In function `void foo(char*, char, char)':
    y.cc:8: internal compiler error: in instantiate_virtual_regs_1, at function.c:
       3936
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
    
    
    This happens with both 3.2.1 as well as 3.3, but not with
    2.95, so is a regression.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7916



More information about the Gcc-bugs mailing list