Bug ID: 84682
           Summary: internal compiler error: Segmentation fault
           Product: gcc
           Version: 8.0.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: inline-asm
          Assignee: unassigned at gcc dot
          Reporter: vegard.nossum at gmail dot com
  Target Milestone: ---


void b(char a) {
        asm("" : : "pIr" (a));


$ xgcc -x c++ -S -Wall -
during RTL pass: reload
<stdin>: In function 'void b(char)':
<stdin>:3:1: internal compiler error: Segmentation fault
0x3155789 crash_signal
0x28a3e20 process_address_1
0x28a7ba3 process_address
0x28a7ba3 curr_insn_transform
0x28bbf56 lra_constraints(bool)
0x282c524 lra(_IO_FILE*)
0x260b334 do_reload
0x260b334 execute

$ xgcc --version
xgcc (GCC) 8.0.1 20180301 (experimental)

Built from git c435a9e730c6e8f10da09d58b4fc9aaeb401b0d5 (r258097).

Seems to have been introduced between 4.8.5 and 4.9.0.

Test case was minimised by C-Reduce.

Reply via email to