home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!noc.near.net!hri.com!spool.mu.edu!uwm.edu!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!csn!news.den.mmc.com!iplmail!chucks
- From: chucks@iplmail.orl.mmc.com (faa demo account)
- Newsgroups: gnu.gcc.bugs,gnu.gcc.help
- Subject: gcc 2.3.1 internal compiler error
- Keywords: error
- Message-ID: <1992Nov9.222523.29147@iplmail.orl.mmc.com>
- Date: 9 Nov 92 22:25:23 GMT
- Sender: faademo@iplmail (faa demo account)
- Organization: Martin Marietta
- Lines: 31
-
-
- the following code gets an internal compiler error.
- 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__G
- NUC__=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
-
- sun4c running 4.1.2 gcc 2.3.1
-
- --
- *_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*
- Malcolm C. Strickland Martin Marietta Missle Systems
- chuck-strickland@orl.mmc.com mail point 170
- Phone: 407-356-7437 pobox 555837
- Fax: 407-356-5482 orlando florida 32855-5837
- *_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*
-