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 regression/71231] [7 Regression]: 300% runtime increase for rnflow


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71231

--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This code has the following warning:
!CRAY - The following multiply must be done with 64 bits (not 46 bits)
!       The algoritm depends on the overflow characteristics of
!       a 32 or 64 bit multiply.


So the code is implicitly saying it needs to be done using overflow as wrapping
for signed integer but in Fortran, overflow is undefined.

This is the code from genuni.

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