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]

Re: c++/8623: Internal compiler error in fixup_var_refs_1, at function.c:1966


Synopsis: Internal compiler error in fixup_var_refs_1, at function.c:1966

State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Mon Nov 18 14:39:08 2002
State-Changed-Why:
    Confirmed. A reduced testcase is this:
    ------------------------------------
    void foo (unsigned int *buf0, int dstW) {
      const int yalpha1=0;
      asm volatile("xorl %%eax, %%eax"
                   : :
                   "r" (buf0),
                   "r" (buf0),
                   "r" (buf0),
                   "r" (buf0),
                   "r" (buf0),
                   "m" (dstW),
                   "m" (yalpha1),
                   "m" (dstW)
                   : "%eax");
    }
    -------------------------------------
    I get:
    
    tmp/g> /home/bangerth/bin/gcc-3.3x-pre/bin/c++ -fPIC -c y.cc
    y.cc: In function `void foo(unsigned int*, int)':
    y.cc:14: 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.
    
    and with different flags:
    
    tmp/g> /home/bangerth/bin/gcc-3.3x-pre/bin/c++ -O1 -fPIC -c y.cc
    y.cc: In function `void foo(unsigned int*, int)':
    y.cc:14: internal compiler error: in fixup_var_refs_1, at function.c:1938
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
    
    So there may be two bugs.
    
    W.

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


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