This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]