[Bug inline-asm/89731] New: GCC crashing when mixing AVX inline asm with macros and C.

2019-03-15 Thread hgreving at google dot com
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  for instructions.

[Bug inline-asm/89731] GCC crashing when mixing AVX inline asm with macros and C.

2019-03-15 Thread hgreving at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89731

--- Comment #2 from Hendrik Greving  ---
Created attachment 45978
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45978&action=edit
Pre-processed test case.