http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60934
--- Comment #3 from william.speak at sophos dot com --- (In reply to Andrew Pinski from comment #2) > I give you a hint the format for printing long long is %lld and not just %ld. Yep. That was from when I was seeing what could trigger the bug. Replacing the format specifier does solve the problem of printing the value in this case. The real issue though appeared to be that `strtoll` is not defined in `c99` and so is assumed to be returning an integer if -std=gnu99 is used or if no standard is specified I can't reproduce the 'bug'.