https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95651
Bug ID: 95651 Summary: GCC compilation error on AArch64: error: expected expression: AARCH64_INIT_MEMTAG_BUILTINS_DECL Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: noan at email dot com Target Milestone: --- I have built GCC (10.1.0) many times from source on x86. I tried the same on AArch64 and it failed with the following error: ../.././gcc/config/aarch64/aarch64-builtins.c:1225:3: error: expected expression AARCH64_INIT_MEMTAG_BUILTINS_DECL (IRG, irg, irg, fntype); ... I build on Ubuntu 20.04 with the stock GCC 9.3.0 compiler: $ lsb_release -d Description: Ubuntu 20.04 LTS $ gcc --version gcc (Ubuntu 9.3.0-10ubuntu2) 9.3.0 $ uname -a Linux pi64 5.4.0-1008-raspi #8-Ubuntu SMP Wed Apr 8 11:13:06 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux Build commands: $ tar xzf gcc-10.1.0.tar.gz $ cd gcc-10.1.0 $ contrib/download_prerequisites $ ./configure --prefix=/usr/local/gcc-10.1.0 --enable-languages=c,c++,fortran --disable-multilib $ make -j 4