public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/103230] ipa-modref-tree.h:550:33: runtime error: load of value 255, which is not a valid value for type 'bool' Date: Fri, 19 Nov 2021 11:33:39 +0000 [thread overview] Message-ID: <bug-103230-4-BjmMddnbHf@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-103230-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103230 --- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Martin Liska <marxin@gcc.gnu.org>: https://gcc.gnu.org/g:74a4ece02df1b1b6f396fd0e24dbbf8b0897858a commit r12-5399-g74a4ece02df1b1b6f396fd0e24dbbf8b0897858a Author: Martin Liska <mliska@suse.cz> Date: Thu Nov 18 13:14:25 2021 +0100 Fix IPA modref ubsan. modref_tree<tree_node*>::merge(modref_tree<tree_node*>*, vec<modref_parm_map, va_heap, vl_ptr>*, modref_parm_map*, bool) is called with modref_parm_map chain_map; The variable has uninitialized m.parm_offset_known and it is accessed here: gcc/ipa-modref-tree.h:572 a.parm_offset_known &= m.parm_offset_known; PR ipa/103230 gcc/ChangeLog: * ipa-modref-tree.h (struct modref_parm_map): Add default constructor. * ipa-modref.c (ipa_merge_modref_summary_after_inlining): Use it.
next prev parent reply other threads:[~2021-11-19 11:33 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-11-14 8:55 [Bug ipa/103230] New: " marxin at gcc dot gnu.org 2021-11-14 8:56 ` [Bug ipa/103230] " marxin at gcc dot gnu.org 2021-11-14 9:21 ` [Bug ipa/103230] New: " Jan Hubicka 2021-11-14 9:21 ` [Bug ipa/103230] " hubicka at kam dot mff.cuni.cz 2021-11-14 9:26 ` marxin at gcc dot gnu.org 2021-11-14 9:47 ` Jan Hubicka 2021-11-14 9:47 ` hubicka at kam dot mff.cuni.cz 2021-11-14 10:01 ` marxin at gcc dot gnu.org 2021-11-14 10:04 ` marxin at gcc dot gnu.org 2021-11-16 8:46 ` marxin at gcc dot gnu.org 2021-11-18 9:30 ` pinskia at gcc dot gnu.org 2021-11-18 12:12 ` marxin at gcc dot gnu.org 2021-11-19 11:33 ` cvs-commit at gcc dot gnu.org [this message] 2021-11-19 11:34 ` marxin 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-103230-4-BjmMddnbHf@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: 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).