From: Michael Maltese <mchtly@gmail.com>
To: overseers@gcc.gnu.org
Subject: Bugzilla account? In order to file array-bounds false positive
Date: Sat, 25 Mar 2017 23:36:00 -0000 [thread overview]
Message-ID: <CAJSBJAPmj2RA+TAm-58sgc9gLjFJD2efUMKQPdqJupPWMWNxPA@mail.gmail.com> (raw)
Hi all,
I'd like to file a bug in GCC 6.3 (a weird -Warray-bounds false
positive). Any chance I could get an account created for this email
address?
To prove I'm not a spammer who's full of shit, here's the minimal
repro of the bug:
#include <stdint.h>
enum {
ACM0 = 1,
ACM1
};
uint16_t ac[2];
void foo(uint16_t);
static inline uint16_t read(int reg)
{
switch (reg)
{
case ACM0:
case ACM1:
return ac[reg - ACM0];
default:
return 0;
}
}
void srs(uint8_t reg)
{
if (reg < ACM0)
foo(read(reg));
}
reply other threads:[~2017-03-25 23:36 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=CAJSBJAPmj2RA+TAm-58sgc9gLjFJD2efUMKQPdqJupPWMWNxPA@mail.gmail.com \
--to=mchtly@gmail.com \
--cc=overseers@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: link
Be 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).