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/9357: [3.2/3.3/3.4 regression] SegFault with -fssa -funroll-loops -fprofile-arcs


Old Synopsis: gcc-3.2.1 optimization-crash
New Synopsis: [3.2/3.3/3.4 regression] SegFault with -fssa  -funroll-loops -fprofile-arcs

State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Fri Jan 17 12:42:37 2003
State-Changed-Why:
    Confirmed. Here's a smaller testcase:
    ---------------------
    void foo() {
        typedef void (*fun_ptr)();
        fun_ptr *array;
        int i;
        bar(array);
        for (i=0; i<=0x100; i++)
            array[i] = &foo;
    }
    ----------------------------
    This crashes every compiler since 3.2:
    
    g/a> /home/bangerth/bin/gcc-3.4-pre/bin/gcc -O -c c64mem.c -fssa  -funroll-loops -fprofile-arcs
    c64mem.c: In function `foo':
    c64mem.c:8: internal compiler error: Speicherzugriffsfehler
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
    
    
    
    It used to work with 3.0.4, so it's a regression.
    
    W.

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


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