[Bug target/93615] New: [10 Regression] unwind.h on arm can't be compiled with -std=c11

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 6 15:20:00 GMT 2020


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

            Bug ID: 93615
           Summary: [10 Regression] unwind.h on arm can't be compiled with
                    -std=c11
           Product: gcc
           Version: 9.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jakub at gcc dot gnu.org
  Target Milestone: ---

In file included from
/builddir/build/BUILD/compiler-rt-10.0.0rc1.src/lib/builtins/gcc_personality_v0.c:11:
/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/10/include/unwind.h: In function
'gnu_Unwind_Find_got':
/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/10/include/unwind.h:54:2: error:
'asm' undeclared (first use in this function)
   54 |  asm volatile ("mov %[result], r" XSTR(FDPIC_REGNUM)
      |  ^~~
/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/10/include/unwind.h:54:2: note: each
undeclared identifier is reported only once for each function it appears in
/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/10/include/unwind.h:54:5: error:
expected ';' before 'volatile'
   54 |  asm volatile ("mov %[result], r" XSTR(FDPIC_REGNUM)
      |     ^~~~~~~~~
      |     ;


More information about the Gcc-bugs mailing list