🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Tommy Thorn Fri, 21 Aug 1992 21:04
gcc dumps in asm
#976
Author: Tommy Thorn
Date: Fri, 21 Aug 1992 21:04
15 lines
873 bytes
gcc 2.2.2 on a sun4 (sparc) running SunOS 4.1.1 dump
core trying to compile this:

main()
{
    int comp ; 
    __asm__("mov %0, %i0;ret;restore %0, 0, %%i1"::"r" (comp));
}

I know there's a bug (can't use %0 twice), but is it really
necessary to dump core?
-- 
/Tommy Thorn, another LPF member. Terminate software patents.
Join The League for Programming Freedom, mail league@prep.ai.mit.edu.
XT350 '88 - You either make dust, or you eat it.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads