On 10/9/20 11:03 AM, Thomas Schwinge wrote:
> Hi Tom!
> 
> On 2020-09-23T22:46:34+0200, Tom de Vries <tdevr...@suse.de> wrote:
>> With test-case gcc.c-torture/compile/pr92231.c, we run into:
> 
> "Interesting" testcase...  ;-)
> 
>> ...
>> nvptx-as: ptxas terminated with signal 11 [Segmentation fault], core dumped^M
> 
> Confirmed with:
> 
>     $ ptxas --version
>     ptxas: NVIDIA (R) Ptx optimizing assembler
>     Copyright (c) 2005-2014 NVIDIA Corporation
>     Built on Thu_Jul_17_21:41:15_CDT_2014
>     Cuda compilation tools, release 6.5, V6.5.12
> 
> ..., and:
> 
>     $ ptxas --version
>     ptxas: NVIDIA (R) Ptx optimizing assembler
>     Copyright (c) 2005-2017 NVIDIA Corporation
>     Built on Fri_Dec__1_00:57:38_CST_2017
>     Cuda compilation tools, release 9.1, V9.1.108
> 
> Have you reported this to Nvidia?
> 

No, it's on my list to report, but I'm locked out from my nvidia account
for a while now, and nvidia remains unresponsive.

>> compiler exited with status 1
>> FAIL: gcc.c-torture/compile/pr92231.c   -O0  (test for excess errors)
>> ...
>> due to using a function reference plus constant as operand:
>> ...
>>   mov.u64 %r24,bar+4096';
>> ...
>>
>> Fix this by splitting such an insn into:
>> ...
>>   mov.u64 %r24,bar';
>>   add.u64 %r24,%r24,4096';
>> ...
> 
> (Spurious single-quote characters in PTX code?)
> 

Yeah, I think that was a copy-paste thing, the compiler DDRT.

Thanks,
- Tom

Reply via email to