http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49627
Summary: NINT(x,16) doesn't work (at all, ever, I don't think) Product: gcc Version: 4.6.1 Status: UNCONFIRMED Severity: blocker Priority: P3 Component: fortran AssignedTo: unassig...@gcc.gnu.org ReportedBy: marcus.appl...@gmail.com Created attachment 24672 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24672 very short (5 line) program illlustrating problem I don't think there is much to say beyond the summary. I think that when you wrote the code for this function you never actually checked that it will produce kind 16 integers. I have attached a test program which produces a compiler error.