public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: Franz.Sirl-kernel@lauterbach.com To: gcc-gnats@gcc.gnu.org Subject: c/8467: Bug in sibling call optimization Date: Tue, 05 Nov 2002 12:26:00 -0000 [thread overview] Message-ID: <20021105202542.28636.qmail@sources.redhat.com> (raw) >Number: 8467 >Category: c >Synopsis: Bug in sibling call optimization >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Tue Nov 05 12:26:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Franz.Sirl-kernel@lauterbach.com >Release: gcc-3.2.1pre, gcc-3.3exp >Organization: >Environment: powerpc-linux-gnu >Description: The appended testcase aborts if compiled with -O2, adding -fno-optimize-sibling-calls makes it pass. This is a regression from gcc-2.95.4. >How-To-Repeat: extern void abort (void); extern void exit (int); int aim_callhandler(int sess, int conn, unsigned short family, unsigned short type) { static int i = 0; if (!conn) return 0; if (type == 0xffff) { return 0; } if (i >= 1) abort (); i++; return aim_callhandler(sess, conn, family, 0xffff); } int main (void) { aim_callhandler (0, 1, 0, 0); exit (0); } >Fix: >Release-Note: >Audit-Trail: >Unformatted:
next reply other threads:[~2002-11-05 20:26 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-11-05 12:26 Franz.Sirl-kernel [this message] 2002-11-05 15:26 Franz Sirl 2002-11-07 13:16 Franz Sirl 2002-11-09 2:26 Franz Sirl 2002-11-10 18:36 Mark Mitchell 2002-11-19 12:16 Franz Sirl 2002-11-19 12:19 sirl
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=20021105202542.28636.qmail@sources.redhat.com \ --to=franz.sirl-kernel@lauterbach.com \ --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).