[Bug c/78230] New: Compile pr66178.c fail for mips64el-elf with N64 abi

npickito at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Nov 7 06:54:00 GMT 2016


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;
                     ^


More information about the Gcc-bugs mailing list