bug with __builtin_apply on gcc > 2.7.2.3

Mike Heffner spock@techfour.net
Fri Oct 1 20:13:00 GMT 1999


sorry, i forgot to include some information. this was on a freebsd i386
machine. i tested it under -stable and -current.

On 02-Oct-99 Mike Heffner wrote:
> Hi,
> 
> I'm using a program that uses nested __builtin_apply calls (a function called
> with __builtin_apply calls another function with __builtin_apply). the
> program
> builds and runs fine with gcc 2.7.2.3, but when i use gcc 2.8.1, it will
> compile fine, but will SIGFPE(floating point exception)  during runtime when
> it
> returns from
> the second function called with __builtin_apply(). i've tried to look at the
> gcc code, but couldn't find anything relevant to the problem. 
> 
> does anyone know how to fix this? has anyone else experienced this bug and
> know
> a workaround(other than not using __builtin_apply)?
> 
> attached is a short program that demonstrates the problem.
> 
> thanks,
> 
> ---------------------------------
> Mike Heffner <spock@techfour.net>
> Fredericksburg, VA
> ICQ# 882073
> Date: 01-Oct-99   Time: 22:49:43
> ---------------------------------

---------------------------------
Mike Heffner <spock@techfour.net>
Fredericksburg, VA
ICQ# 882073
Date: 01-Oct-99   Time: 23:12:05
---------------------------------


More information about the Gcc-help mailing list