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

            Bug ID: 78230
           Summary: Compile pr66178.c fail for mips64el-elf with N64 abi
           Product: gcc
           Version: 6.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: npickito at gmail dot com
  Target Milestone: ---

Configure:
--with-abi=64 --target=mips64el-elf

$ mips64el-elf-gcc  pr66178.c 
pr66178.c: In function ‘test’:
pr66178.c:3:21: error: initializer element is not computable at load time
     static int a =  ((char *)&&l1-(char *)&&l2)-1;
                     ^

Reply via email to