public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "chefmax at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug sanitizer/66908] Uninitialized variable when compiled with UBsan
Date: Wed, 22 Jul 2015 15:03:00 -0000 [thread overview]
Message-ID: <bug-66908-4-YDYg0T1snC@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-66908-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66908
--- Comment #10 from Maxim Ostapenko <chefmax at gcc dot gnu.org> ---
(In reply to Marek Polacek from comment #9)
> Oh silly me! This should work; Maxim, could you possibly try this patch?
Sorry, Marek, nothing changed for C++ testcase:
D.6137 = get.__delta;
D.6138 = D.6137 & 1;
if (D.6138 == 0) goto <D.6139>; else goto <D.6140>;
<D.6139>:
iftmp.1 = get.__pfn;
goto <D.6141>;
<D.6140>:
A.2 = A;
D.6143 = get.__delta;
D.6144 = D.6143 >> 1;
D.6145 = (sizetype) D.6144;
D.6146 = A.2 + D.6145;
D.6147 = MEM[(int (*__vtbl_ptr_type) () * *)D.6146];
D.6148 = get.__pfn;
D.6149 = (sizetype) D.6148;
D.6150 = D.6147 + D.6149;
iftmp.1 = *D.6150;
<D.6141>:
A.3 = A;
D.6152 = D.6143 >> 1;
D.6153 = (sizetype) D.6152;
D.6154 = A.3 + D.6153;
result = iftmp.1 (D.6154);
next prev parent reply other threads:[~2015-07-22 15:03 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-17 10:48 [Bug sanitizer/66908] New: " m.guseva at samsung dot com
2015-07-20 18:20 ` [Bug sanitizer/66908] " y.gribov at samsung dot com
2015-07-21 12:34 ` mpolacek at gcc dot gnu.org
2015-07-21 13:48 ` mpolacek at gcc dot gnu.org
2015-07-21 14:40 ` mpolacek at gcc dot gnu.org
2015-07-22 7:38 ` chefmax at gcc dot gnu.org
2015-07-22 8:21 ` mpolacek at gcc dot gnu.org
2015-07-22 12:07 ` mpolacek at gcc dot gnu.org
2015-07-22 12:40 ` mpolacek at gcc dot gnu.org
2015-07-22 14:36 ` mpolacek at gcc dot gnu.org
2015-07-22 15:03 ` chefmax at gcc dot gnu.org [this message]
2015-07-22 15:26 ` mpolacek at gcc dot gnu.org
2015-07-22 17:47 ` chefmax at gcc dot gnu.org
2015-07-23 13:56 ` mpolacek at gcc dot gnu.org
2015-07-23 13:58 ` chefmax at gcc dot gnu.org
2015-08-11 15:47 ` mpolacek at gcc dot gnu.org
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=bug-66908-4-YDYg0T1snC@http.gcc.gnu.org/bugzilla/ \
--to=gcc-bugzilla@gcc.gnu.org \
--cc=gcc-bugs@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).