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: optimization/7154: [3.3 regression] ICE in verify_initial_elim_offsets at reload1.c:3337


Old Synopsis: verify_initial_elim_offsets at reload1.c:3337
New Synopsis: [3.3 regression] ICE in verify_initial_elim_offsets at reload1.c:3337

State-Changed-From-To: feedback->analyzed
State-Changed-By: reichelt
State-Changed-When: Fri Dec  6 14:41:07 2002
State-Changed-Why:
    Confirmed.
    
    The testcase can be reduced to the following code snippet
    
    ---------------------------snip here------------------------
    const int x[1]={ 1 };
    
    void foo(int i, int *p)
    {
        asm volatile("" : "+a" (i) : "m" (x[0]), "r" (p));
    }
    ---------------------------snip here------------------------
    
    Compiling this with "gcc -O -fPIC -c" using recent mainline (20021118)
    I get the following error message:
    
    PR7154.c: In function `foo':
    PR7154.c:6: internal compiler error: in verify_initial_elim_offsets, at reload1.c:3345
    
    Since the code compiles fine with the 3.2-branch, 3.0.x and 2.95.x,
    this is a regression.
    
    Wolfgang, I think gcc 3.2-20020623 is a snopshot of mainline
    before it got renamed to 3.3, so this never applied to the
    3.1/3.2-branch.

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


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