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

            Bug ID: 79559
           Summary: ICE in ix86_print_operand, at config/i386/i386.c:18189
           Product: gcc
           Version: 7.0.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gerhard.steinmetz.fort...@t-online.de
  Target Milestone: ---

For versions down to 4.9 (on x86_64 GNU/Linux) and
test file ./gcc/testsuite/gcc.target/sh/pr21255-2-ml.c :


$ cat pr21255-2-ml.c
double d;

double
f (void)
{
  double r;
  asm ("mov %S1,%S0; mov %R1,%R0" : "=&r" (r) : "m" (d));
  return r;
}


$ gcc-7-20170212 -c pr21255-2-ml.c
pr21255-2-ml.c: In function 'f':
pr21255-2-ml.c:9:1: internal compiler error: in ix86_print_operand, at
config/i386/i386.c:18189
 }
 ^
0xf754dd ix86_print_operand(_IO_FILE*, rtx_def*, int)
        ../../gcc/config/i386/i386.c:18189
0x8de62c output_operand(rtx_def*, int)
        ../../gcc/final.c:3877
0x8df107 output_asm_insn(char const*, rtx_def**)
        ../../gcc/final.c:3774
0x8e0e7d final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*)
        ../../gcc/final.c:2658
0x8e14d2 final(rtx_insn*, _IO_FILE*, int)
        ../../gcc/final.c:2046
0x8e1c89 rest_of_handle_final
        ../../gcc/final.c:4475
0x8e1c89 execute
        ../../gcc/final.c:4548

Reply via email to