https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62308

            Bug ID: 62308
           Summary: A bug with aarch64 big-endian
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: yml6087582 at 163 dot com

Hi, when I compiled test.c with aarch64-none-elf-gcc -mbig-endian -S ,it
reported the following error:
   test.c:In function 'checkx2823':
   test.c:3:25:internal compiler error:Segmentation fault 
   void checkx2823(struct S2823 args){};

test.c:
   typedef int __attribute__((vector_size(16))) v4si;
   struct S2823 {v4si a;int b[0];};
   void checkx2823 (struct S2823 args){};

With the option of -mlittle-endian ,it would not have this error.And the error
would interrupt cc1 in the rtl-optimization reload,can someone help me find the
reason ?

  Thankyou!
by yimingliang

Reply via email to