public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: Alan Modra <amodra@bigpond.net.au> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, Subject: Re: optimization/10252: __builtin_constant_p() returns TRUE for non-constant expression Date: Fri, 28 Mar 2003 08:46:00 -0000 [thread overview] Message-ID: <20030328083601.25503.qmail@sources.redhat.com> (raw) The following reply was made to PR optimization/10252; it has been noted by GNATS. From: Alan Modra <amodra@bigpond.net.au> To: davidm@hpl.hp.com Cc: gcc-gnats@gcc.gnu.org, rth@redhat.com Subject: Re: optimization/10252: __builtin_constant_p() returns TRUE for non-constant expression Date: Fri, 28 Mar 2003 19:02:05 +1030 Same thing happens on powerpc64-linux. __bad_stuff will never be executed, so looks like dead code elimination isn't working properly. 14: 38 00 00 00 li r0,0 18: 2f 80 00 00 cmpwi cr7,r0,0 1c: 40 9e 00 14 bne- cr7,30 <.foo+0x30> [snip] 30: 48 00 00 01 bl 30 <.foo+0x30> 30: R_PPC64_REL24 .__bad_stuff -- Alan Modra IBM OzLabs - Linux Technology Centre
next reply other threads:[~2003-03-28 8:36 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-03-28 8:46 Alan Modra [this message] -- strict thread matches above, loose matches on Subject: below -- 2003-03-31 1:16 rth 2003-03-28 7:36 davidm
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=20030328083601.25503.qmail@sources.redhat.com \ --to=amodra@bigpond.net.au \ --cc=gcc-prs@gcc.gnu.org \ --cc=nobody@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).