https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89731
Bug ID: 89731 Summary: GCC crashing when mixing AVX inline asm with macros and C. Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: inline-asm Assignee: unassigned at gcc dot gnu.org Reporter: hgreving at google dot com Target Milestone: --- gcc --version gcc (Debian 7.3.0-5) 7.3.0 Reproducer, see attachment: gcc -o test -m64 -mavx -c -O3 x86_code.i /usr/local/google/home/hgreving/dynamorio/src/core/arch/x86_code.c: In function ‘write_ymm_aux’: /usr/local/google/home/hgreving/dynamorio/src/core/arch/x86_code.c:569:355: internal compiler error: in expand_expr_addr_expr_1, at expr.c:7855 CASE_MOVE_TO_YMM_VEX(buffer, 0) ^ Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.