🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #1334

internal compiler error

#1334
From: chucks
Date: Mon, 09 Nov 1992 12:48
30 lines
1671 bytes
 i finally got it down as simple as I could

extern void test2();
main()
{
void (*test)() ;
         test = test2;
}

Note: its the fpic flag that will cause the failure. remove it and it works.

% gcc -c -v -fpic -g testit.c
Reading specs from /pub/local/gnu/lib/gcc-lib/sparc-sun-sunos412/2.3.1/specs
gcc version 2.3.1
 /pub/local/gnu/lib/gcc-lib/sparc-sun-sunos412/2.3.1/cpp -lang-c -v -undef -D__GNUC__=2 -Dsparc -Dsun -Dunix -D__sparc__ -D__sun__ -D__unix__ -D__sparc -D__sun -D__unix -g testit.c /tmp/cca06907.i
GNU CPP version 2.3.1 (sparc)
 /pub/local/gnu/lib/gcc-lib/sparc-sun-sunos412/2.3.1/cc1 /tmp/cca06907.i -quiet -dumpbase testit.c -g -version -fpic -o /tmp/cca06907.s
GNU C version 2.3.1 (sparc) compiled by GNU C version 2.3.1.
gcc: Internal compiler error: program cc1 got fatal signal 6





*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*
Malcolm C. Strickland                 Martin Marietta Missile Systems
chuck-strickland@orl.mmc.com          mail point 170    
Phone: 407-356-7437                   pobox 555837
Fax:   407-356-5482                   orlando florida 32855-5837
*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*
Technical Details
Message-ID: <9211092248.AA07518@spock.orl.mmc.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!orl.mmc.COM!chucks

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!orl.mmc.COM!chucks
From: chucks@orl.mmc.COM
Subject: internal compiler error
Message-ID: <9211092248.AA07518@spock.orl.mmc.com>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Mon, 9 Nov 1992 12:48:21 GMT
Approved: bug-gcc@prep.ai.mit.edu
Lines: 32