public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c/60136] New: indexing an 8-element array with a long long results in bad results @ 2014-02-10 19:58 daniel.hussey at nist dot gov 2014-02-10 20:14 ` [Bug c/60136] " mpolacek at gcc dot gnu.org 2014-02-19 7:52 ` mpolacek at gcc dot gnu.org 0 siblings, 2 replies; 3+ messages in thread From: daniel.hussey at nist dot gov @ 2014-02-10 19:58 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60136 Bug ID: 60136 Summary: indexing an 8-element array with a long long results in bad results Product: gcc Version: 4.5.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: daniel.hussey at nist dot gov My compile command is: gcc program.c -o test -L. -lcfitsio -lm I was indexing an 8-element double array with a long long integer. When converting the result to a string (sprintf of printf) the result was garbage. When used in computation, the correct value was used. ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c/60136] indexing an 8-element array with a long long results in bad results 2014-02-10 19:58 [Bug c/60136] New: indexing an 8-element array with a long long results in bad results daniel.hussey at nist dot gov @ 2014-02-10 20:14 ` mpolacek at gcc dot gnu.org 2014-02-19 7:52 ` mpolacek at gcc dot gnu.org 1 sibling, 0 replies; 3+ messages in thread From: mpolacek at gcc dot gnu.org @ 2014-02-10 20:14 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60136 Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2014-02-10 CC| |mpolacek at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Please provide a testcase. http://gcc.gnu.org/bugs/ ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c/60136] indexing an 8-element array with a long long results in bad results 2014-02-10 19:58 [Bug c/60136] New: indexing an 8-element array with a long long results in bad results daniel.hussey at nist dot gov 2014-02-10 20:14 ` [Bug c/60136] " mpolacek at gcc dot gnu.org @ 2014-02-19 7:52 ` mpolacek at gcc dot gnu.org 1 sibling, 0 replies; 3+ messages in thread From: mpolacek at gcc dot gnu.org @ 2014-02-19 7:52 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60136 Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |INVALID --- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Feedback not coming. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-02-19 7:52 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2014-02-10 19:58 [Bug c/60136] New: indexing an 8-element array with a long long results in bad results daniel.hussey at nist dot gov 2014-02-10 20:14 ` [Bug c/60136] " mpolacek at gcc dot gnu.org 2014-02-19 7:52 ` mpolacek at gcc dot gnu.org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).