This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/22576] [4.0/4.1 regression] ICE with simple factorial program compiled with -ffast-math on gcc 4.0.2


------- Additional Comments From uros at kss-loka dot si  2005-07-21 08:01 -------
Patch that fixes attached testcase and reduced testcase from comment #7.

BTW: In the attached testcase, there is a comment that program falls apart if 
long double isn't used. With (patched) gcc-4.1 CVS, it works for me with "only" 
doubles, with SSE or x87 math, -ffast-math or without it.

...
factorial of 99 is 9.33262e+155
factorial of 100 is 9.33262e+157



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2005-
                   |                            |07/msg01391.html
           Keywords|                            |patch


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22576


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]