Hi, CC'd Thomas.
FYI the newly added file libgcc/strub.c of this patch (aka commit r14-6201-gf0a90c7d7333fc ) causes that nvptx does not bootstrap, failing with: ./gcc/as -v -o strub.o strub.s Verifying sm_30 code with sm_50 code generation. ptxas -c -o /dev/null strub.o --gpu-name sm_50 -O0 ptxas strub.o, line 22; error : Arguments mismatch for instruction 'st' ptxas strub.o, line 22; error : Unknown symbol '%frame' ptxas strub.o, line 37; error : Arguments mismatch for instruction 'setp' ptxas strub.o, line 40; error : Arguments mismatch for instruction 'st' ptxas strub.o, line 37; error : Unknown symbol '%frame' ptxas strub.o, line 40; error : Unknown symbol '%frame' ptxas strub.o, line 59; error : Arguments mismatch for instruction 'mov' ptxas strub.o, line 67; error : Arguments mismatch for instruction 'setp' ptxas strub.o, line 59; error : Unknown symbol '%stack' ptxas strub.o, line 67; error : Unknown symbol '%stack' ptxas fatal : Ptx assembly aborted due to errors nvptx-as: ptxas returned 255 exit status That's .visible .func __strub_enter (.param.u64 %in_ar0) { .reg.u64 %ar0; ld.param.u64 %ar0, [%in_ar0]; .reg.u64 %r23; mov.u64 %r23, %ar0; st.u64 [%r23], %frame; ... setp.le.u64 %r26, %r25, %frame; ... Tobias ----------------- Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955