[12750] in Athena Bugs
gcc internal error
daemon@ATHENA.MIT.EDU (Albert Dvornik)
Sun Oct 16 19:05:17 1994
To: bugs@MIT.EDU
Cc: bug-gcc@prep.ai.mit.edu
Date: Sun, 16 Oct 1994 19:05:05 EDT
From: Albert Dvornik <bert@MIT.EDU>
System name: infocalypse
Type and version: SPARC/Classic 7.7I (2 update(s) to same version)
Display type: cgthree
What were you trying to do?
return a "__complex__ long double" argument from a function.
(On this architecture, a "__complex__ long double" is 32 bytes.)
What's wrong:
gcc says "Internal compiler error: program cc1 got fatal
signal 6" after cc1 dumps core.
What should have happened:
It should have returned the 32-byte value currectly.
If it couldn't deal with return types that big, it should have
given me a useful error message.
Please describe any relevant documentation references:
The problem affects the following versions of gcc:
(1) gcc version cygnus-2.5.90-940429 [/mit/cygnus/sun4bin/gcc]
a Cygnus-supported version of GCC.
(2) gcc version 2.5.8 [/mit/gnu/sun4bin/gcc]
a stock GNU version.
(3) gcc version 2.6.0 [/afs/sipb/project/gnu/bin/gcc]
a stock GNU version.
Note that the problem occurs on Sparcs, which have 32-byte
__complex__ long double's, and does not happen on DECstations
and POWERstations, which have 16-byte __complex__ long double's.