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 fortran/24518] Intrinsic MOD incorrect for large arg1/arg2 and slow.



------- Comment #14 from pault at gcc dot gnu dot org  2006-10-31 15:56 -------
Created an attachment (id=12518)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12518&action=view)
A fix for the PR:

FX and Uros,

I believe that this correctly detects the presence of the built_in.  It also
does MODULO correctly, although I am not sure that I understand why anybody
would use this intrinsic knowingly!

I have not done a full regtest, nor checked the timing yet, but the testsuite
cases with MOD and MODULO in them all survive.

Paul 


-- 


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


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