public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: hristo@dir.bg To: gcc-gnats@gcc.gnu.org Subject: optimization/8583: gcc version 2.95.3 passing parameters bug Date: Wed, 20 Nov 2002 18:08:00 -0000 [thread overview] Message-ID: <20021114174448.21552.qmail@sources.redhat.com> (raw) >Number: 8583 >Category: optimization >Synopsis: gcc version 2.95.3 passing parameters bug >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: wrong-code >Submitter-Id: net >Arrival-Date: Thu Nov 14 09:46:02 PST 2002 >Closed-Date: >Last-Modified: >Originator: Hristo Hristov >Release: gcc version 2.95.3 20010315 (release) >Organization: >Environment: Slackware Linux, Pentium III >Description: third parameter passed to a function is one, after the function call, inside the fuction, it's printed and it is 0. the parameter is passed incorectly. see the source, it's very very simple >How-To-Repeat: >Fix: when something is changed, the bug disappears >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: application/octet-stream; name="zoom.c" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="zoom.c" I2luY2x1ZGUgPHN0ZGlvLmg+Cgp2b2lkCmZ1bmMgKHVuc2lnbmVkIGZpcnN0LCB1bnNpZ25lZCBz ZWNvbmQsIHVuc2lnbmVkIHRoaXJkKQp7CiAgdW5zaWduZWQgaSwgaiwgbWF4aSwgbWF4ajsKCiAg cHJpbnRmICgidGhpcmQgPSAldVxuIiwgdGhpcmQpOwoKICBtYXhpID0gZmlyc3QgKiAxLjA7CiAg bWF4aiA9IHNlY29uZCAqIDEuMDsKCiAgZm9yIChpID0gMDsgaSA8IG1heGk7IGkrKykKICAgIGZv ciAoaiA9IDA7IGogPCBtYXhqOyBqKyspCiAgICAgIC8qIGVtcHR5ICovOwp9CgppbnQKbWFpbiAo dm9pZCkKewogIGZ1bmMgKDEsIDEsIDEpOwoKICByZXR1cm4gMDsKfQo=
next reply other threads:[~2002-11-14 17:46 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-11-20 18:08 hristo [this message] 2002-11-20 18:15 bangerth 2003-02-23 21:19 neroden
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20021114174448.21552.qmail@sources.redhat.com \ --to=hristo@dir.bg \ --cc=gcc-gnats@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).