public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: sante@genome.wi.mit.edu To: gcc-gnats@gcc.gnu.org Cc: sante@genome.wi.mit.edu, jaffe@genome.wi.mit.edu, jbutler@genome.wi.mit.edu, evan@genome.wi.mit.edu Subject: c++/2905: Wrong warning cast when using vector class Date: Tue, 22 May 2001 14:16:00 -0000 [thread overview] Message-ID: <20010522210740.29346.qmail@sourceware.cygnus.com> (raw) >Number: 2905 >Category: c++ >Synopsis: Wrong warning cast when using vector class >Confidential: no >Severity: non-critical >Priority: low >Responsible: unassigned >State: open >Class: mistaken >Submitter-Id: net >Arrival-Date: Tue May 22 14:16:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: sante@genome.wi.mit.edu >Release: gcc version 2.95.2 >Organization: >Environment: OSF1 V4.0 1229 alpha alpha >Description: Compiling the attached file with optimization and Wall makes the compiler cast a wrong warning. >How-To-Repeat: gcc -c -O3 -Wall EvilCompiler.cc >Fix: >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: application/octet-stream; name="EvilCompiler.cc" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="EvilCompiler.cc" Ly8gZ2NjIC1jIC1PMyAtV2FsbCBFdmlsQ29tcGlsZXIuY2MKCiNpbmNsdWRlIDx2ZWN0b3I+Cgpj bGFzcyBibG9iIHsKCnB1YmxpYzoKICBibG9iKCkgeyB4PTA7IH0KICB+YmxvYigpIHt9CiAgdW5z aWduZWQgaW50IHg7Cgp9OwoKaW50IEJsb2JiZXIoICkKewogIHZlY3RvcjxibG9iPiB0OwogIAog IGlmICggMCA+IDEgKQogICAgcmV0dXJuIDE7CiAgZWxzZQogICAgcmV0dXJuIDA7Cn0K
reply other threads:[~2001-05-22 14:16 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20010522210740.29346.qmail@sourceware.cygnus.com \ --to=sante@genome.wi.mit.edu \ --cc=evan@genome.wi.mit.edu \ --cc=gcc-gnats@gcc.gnu.org \ --cc=jaffe@genome.wi.mit.edu \ --cc=jbutler@genome.wi.mit.edu \ /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).