public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "zsojka at seznam dot cz" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/61921] New: [4.10 Regression] ICE: SIGSEGV in varpool_node::get_constructor(), at varpool.c:275 with -O2 -fipa-pta Date: Sat, 26 Jul 2014 12:02:00 -0000 [thread overview] Message-ID: <bug-61921-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61921 Bug ID: 61921 Summary: [4.10 Regression] ICE: SIGSEGV in varpool_node::get_constructor(), at varpool.c:275 with -O2 -fipa-pta Product: gcc Version: 4.10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: zsojka at seznam dot cz Created attachment 33189 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33189&action=edit reduced testcase Compiler output (under valgrind): $ gcc -O2 -fipa-pta testcase.C ==11993== Invalid read of size 8 ==11993== at 0xFA105D: varpool_node::get_constructor() (varpool.c:275) ==11993== by 0xE9FFAA: create_variable_info_for_1(tree_node*, char const*) (tree-ssa-structalias.c:5674) ==11993== by 0xEA2D92: intra_create_variable_infos(function*) [clone .isra.123] (tree-ssa-structalias.c:5888) ==11993== by 0xEABF2D: (anonymous namespace)::pass_ipa_pta::execute(function*) (tree-ssa-structalias.c:7190) ==11993== by 0xC190AC: execute_one_pass(opt_pass*) (passes.c:2149) ==11993== by 0xC19CBA: execute_ipa_pass_list(opt_pass*) (passes.c:2539) ==11993== by 0x947386: compile() (cgraphunit.c:2219) ==11993== by 0x9480A4: finalize_compilation_unit() (cgraphunit.c:2338) ==11993== by 0x72441C: cp_write_global_declarations() (decl2.c:4684) ==11993== by 0xD1314C: compile_file() (toplev.c:562) ==11993== by 0xD15484: toplev_main(int, char**) (toplev.c:1938) ==11993== by 0x5A46BF4: (below main) (in /lib64/libc-2.17.so) ==11993== Address 0x8 is not stack'd, malloc'd or (recently) free'd ==11993== testcase.C:21:1: internal compiler error: Segmentation fault } ^ Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. Tested revisions: r213075 - ICE r213035 - ICE r212969 - OK 4_9 r212703 - OK
next reply other threads:[~2014-07-26 12:02 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-07-26 12:02 zsojka at seznam dot cz [this message] 2014-07-28 8:15 ` [Bug ipa/61921] " trippels at gcc dot gnu.org 2014-07-28 8:18 ` pinskia at gcc dot gnu.org 2014-07-28 8:20 ` rguenth at gcc dot gnu.org 2014-07-28 8:25 ` rguenth at gcc dot gnu.org 2014-07-28 8:26 ` rguenth 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-61921-4@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).