[Bug c++/58308] New: Segmentation fault: internal compiler error: in make_decl_rtl, at varasm.c:1147

dmitriy-hshg at mail dot ru gcc-bugzilla@gcc.gnu.org
Tue Sep 3 17:38:00 GMT 2013


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

            Bug ID: 58308
           Summary: Segmentation fault: internal compiler error: in
                    make_decl_rtl, at varasm.c:1147
           Product: gcc
           Version: 4.7.3
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dmitriy-hshg at mail dot ru

Next code causes GCC 4.7.3 to fail, it should report problem.

int main()
{
    int x = 666;

    struct A {
        int *p = &x;
    } a;
}

Thank you.



More information about the Gcc-bugs mailing list