[Bug c/60934] Strtoll Function Always Appears to Return 0 on Solaris

2014-04-23 Thread william.speak at sophos dot com
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 c/60934] New: Strtoll Function Always Appears to Return 0 on Solaris

2014-04-23 Thread william.speak at sophos dot com
Component: c Assignee: unassigned at gcc dot gnu.org Reporter: william.speak at sophos dot com This bug seems to happen when two variables of `long long` and `double` are declared in a function with the same name. A minimalistic example: // bug.c #include #include