FAIL: c-c++-common/goacc/acc_on_device-2-off.c  -std=c++98  scan-rtl-dump-times 
expand "\\\\(call [^\\\\n]*\\\\"acc_on_device" 1
FAIL: c-c++-common/goacc/acc_on_device-2-off.c  -std=c++11  scan-rtl-dump-times 
expand "\\\\(call [^\\\\n]*\\\\"acc_on_device" 1
FAIL: c-c++-common/goacc/acc_on_device-2-off.c  -std=c++14  scan-rtl-dump-times 
expand "\\\\(call [^\\\\n]*\\\\"acc_on_device" 1
XPASS: c-c++-common/goacc/acc_on_device-2.c  -std=c++98  scan-rtl-dump-times 
expand "\\\\(call [^\\\\n]*\\\\"acc_on_device" 0
XPASS: c-c++-common/goacc/acc_on_device-2.c  -std=c++11  scan-rtl-dump-times 
expand "\\\\(call [^\\\\n]*\\\\"acc_on_device" 0
XPASS: c-c++-common/goacc/acc_on_device-2.c  -std=c++14  scan-rtl-dump-times 
expand "\\\\(call [^\\\\n]*\\\\"acc_on_device" 0
FAIL: c-c++-common/goacc/acc_on_device-2-off.c scan-rtl-dump-times expand 
"\\\\(call [^\\\\n]*\\\\"acc_on_device" 1
FAIL: gcc.dg/goacc/acc_on_device-1.c scan-rtl-dump-times expand "\\\\(call 
[^\\\\n]*\\\\"acc_on_device" 4

You are making invalid assumptions about the form of a call pattern.

(call_insn 7 6 8 2 (set (reg:SI 0 %d0)
        (call (mem:QI (reg/f:SI 33) [0 acc_on_device S1 A8])
            (const_int 4 [0x4]))) 
/daten/aranym/gcc/gcc-20150116/gcc/testsuite/c-c++-common/goacc/acc_on_device-2-off.c:19
 -1
     (nil)
    (nil))

Andreas.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

Reply via email to