https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78694
--- Comment #9 from Sebastian Huber <sebastian.hu...@embedded-brains.de> --- I did a fresh git clone today on gcc113 of the GCC compile farm. I built an arm-linux-gnueabihf GCC: ./install/bin/arm-linux-gnueabihf-gcc --version --verbose Using built-in specs. COLLECT_GCC=./install/bin/arm-linux-gnueabihf-gcc COLLECT_LTO_WRAPPER=/home/sh/install/libexec/gcc/arm-linux-gnueabihf/7.0.0/lto-wrapper arm-linux-gnueabihf-gcc (GCC) 7.0.0 20161208 (experimental) [trunk revision 5b2a614:e5a02c3:beea0800baadbe98febe5a4e54112d76ea10a9d3] Copyright (C) 2016 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Target: arm-linux-gnueabihf Configured with: ../gcc/configure --prefix=/home/sh/install --target=arm-linux-gnueabihf --disable-multilib --enable-languages=c Thread model: posix gcc version 7.0.0 20161208 (experimental) [trunk revision 5b2a614:e5a02c3:beea0800baadbe98febe5a4e54112d76ea10a9d3] (GCC) COLLECT_GCC_OPTIONS='--version' '-v' '-mtls-dialect=gnu' /home/sh/install/libexec/gcc/arm-linux-gnueabihf/7.0.0/cc1 -quiet -v help-dummy -quiet -dumpbase help-dummy -mtls-dialect=gnu -auxbase help-dummy -version --version -o /tmp/ccDBeQFm.s GNU C11 (GCC) version 7.0.0 20161208 (experimental) [trunk revision 5b2a614:e5a02c3:beea0800baadbe98febe5a4e54112d76ea10a9d3] (arm-linux-gnueabihf) compiled by GNU C version 4.8.4, GMP version 5.1.3, MPFR version 3.1.2-p3, MPC version 1.0.1, isl version none GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 COLLECT_GCC_OPTIONS='--version' '-v' '-mtls-dialect=gnu' as -v -meabi=5 --version -o /tmp/cc6waYtC.o /tmp/ccDBeQFm.s GNU assembler version 2.24 (aarch64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.24 Assembler messages: Error: unrecognized option -meabi=5 I get: ./install/bin/arm-linux-gnueabihf-gcc -S task.i -mthumb -O2 -ftls-model=local-exec /home/EB/sebastian_h/archive/gcc-git/libgomp/task.c: In function ‘gomp_create_target_task’: /home/EB/sebastian_h/archive/gcc-git/libgomp/task.c:778:1: error: invalid rtl sharing found in the insn (insn 1569 1568 1570 (unspec_volatile [ (const:SI (unspec:SI [ (symbol_ref:SI ("gomp_tls_data") [flags 0xea] <var_decl 0x7f7f4ad3f0 gomp_tls_data>) (const_int 4 [0x4]) ] UNSPEC_TLS)) ] VUNSPEC_POOL_4) -1 (nil)) /home/EB/sebastian_h/archive/gcc-git/libgomp/task.c:778:1: error: shared rtx (const:SI (unspec:SI [ (symbol_ref:SI ("gomp_tls_data") [flags 0xea] <var_decl 0x7f7f4ad3f0 gomp_tls_data>) (const_int 4 [0x4]) ] UNSPEC_TLS)) /home/EB/sebastian_h/archive/gcc-git/libgomp/task.c:778:1: internal compiler error: internal consistency failure 0x7beabf verify_rtx_sharing ../../gcc/gcc/emit-rtl.c:2752 0x7bea1b verify_rtx_sharing ../../gcc/gcc/emit-rtl.c:2785 0x7bef07 verify_insn_sharing ../../gcc/gcc/emit-rtl.c:2838 0x7c3cfb verify_rtl_sharing() ../../gcc/gcc/emit-rtl.c:2861 0xa56e2f execute_function_todo ../../gcc/gcc/passes.c:1982 0xa5770f do_per_function ../../gcc/gcc/passes.c:1649 0xa578c7 execute_todo ../../gcc/gcc/passes.c:2015 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions.