[Bug rtl-optimization/51014] [4.7 Regression] ICE: in apply_opt_in_copies, at loop-unroll.c:2283 with -O2 -g -funroll-loops

wouter.vermaelen at scarlet dot be gcc-bugzilla@gcc.gnu.org
Tue Nov 8 13:33:00 GMT 2011


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

Wouter Vermaelen <wouter.vermaelen at scarlet dot be> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wouter.vermaelen at scarlet
                   |                            |dot be

--- Comment #1 from Wouter Vermaelen <wouter.vermaelen at scarlet dot be> 2011-11-08 13:23:32 UTC ---
I hit the same ICE, with the same required compiler flags. Here's my reduced
testcase:

struct S {
    ~S() { delete p; }
    int* p;
};
void f(S* b, S* e) {
    for (/**/; b != e; ++b) {
        b->~S();
    }
}



More information about the Gcc-bugs mailing list