public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/98393] [11 Regression] valgrind error for ./gcc.target/m68k/pr52573.c since r11-5928-gfc7b4248172561a9 Date: Mon, 21 Dec 2020 09:04:09 +0000 [thread overview] Message-ID: <bug-98393-4-0zaEAvSLYf@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-98393-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98393 Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Component|c |tree-optimization Last reconfirmed| |2020-12-21 Status|UNCONFIRMED |NEW Known to fail| |11.0 Summary|new valgrind error for |[11 Regression] valgrind |./gcc.target/m68k/pr52573.c |error for | |./gcc.target/m68k/pr52573.c | |since | |r11-5928-gfc7b4248172561a9 Known to work| |10.2.0 CC| |marxin at gcc dot gnu.org Target Milestone|--- |11.0 Version|unknown |11.0 --- Comment #7 from Martin Liška <marxin at gcc dot gnu.org> --- Reduced test-case: $ cat m68.i struct { int : 12, : 11, k : 9; long l; } sH; int sH_3___trans_tmp_1, sH_3_i, sH_3_v; unsigned sH_3_s; void sH_3() { char *p = (char *)&sH; sH_3_i = 0; for (; sH_3_i < sizeof(sH); ++sH_3_i) { sH_3_s *= 515245; sH_3___trans_tmp_1 = sH_3_s % 2048; *p++ = sH_3___trans_tmp_1; } sH.k = sH_3_v; } $ ./xgcc -B. m68.i -c -O3 /home/marxin/Programming/gcc2/gcc/tree-vect-slp.c:2486:16: runtime error: load of value 80, which is not a valid value for type 'bool' #0 0x2e89cbf in vect_build_slp_instance /home/marxin/Programming/gcc2/gcc/tree-vect-slp.c:2486 #1 0x2e8b237 in vect_analyze_slp_instance /home/marxin/Programming/gcc2/gcc/tree-vect-slp.c:2655 #2 0x2e8a0a2 in vect_build_slp_instance /home/marxin/Programming/gcc2/gcc/tree-vect-slp.c:2524 #3 0x2e8b237 in vect_analyze_slp_instance /home/marxin/Programming/gcc2/gcc/tree-vect-slp.c:2655 #4 0x2e8b4e5 in vect_analyze_slp(vec_info*, unsigned int) /home/marxin/Programming/gcc2/gcc/tree-vect-slp.c:2687 #5 0x2e9ac0c in vect_slp_analyze_bb_1 /home/marxin/Programming/gcc2/gcc/tree-vect-slp.c:4507 #6 0x2e9b968 in vect_slp_region /home/marxin/Programming/gcc2/gcc/tree-vect-slp.c:4619 #7 0x2e9d7d1 in vect_slp_bbs /home/marxin/Programming/gcc2/gcc/tree-vect-slp.c:4767 #8 0x2e9e167 in vect_slp_function(function*) /home/marxin/Programming/gcc2/gcc/tree-vect-slp.c:4853 #9 0x2ee0503 in execute /home/marxin/Programming/gcc2/gcc/tree-vectorizer.c:1449 #10 0x200b8a1 in execute_one_pass(opt_pass*) /home/marxin/Programming/gcc2/gcc/passes.c:2567 #11 0x200c229 in execute_pass_list_1 /home/marxin/Programming/gcc2/gcc/passes.c:2656 #12 0x200c2de in execute_pass_list_1 /home/marxin/Programming/gcc2/gcc/passes.c:2657 #13 0x200c2de in execute_pass_list_1 /home/marxin/Programming/gcc2/gcc/passes.c:2657 #14 0x200c37c in execute_pass_list(function*, opt_pass*) /home/marxin/Programming/gcc2/gcc/passes.c:2667 #15 0x10e5be7 in cgraph_node::expand() /home/marxin/Programming/gcc2/gcc/cgraphunit.c:1829 #16 0x10e753f in expand_all_functions /home/marxin/Programming/gcc2/gcc/cgraphunit.c:1997 #17 0x10e9669 in symbol_table::compile() /home/marxin/Programming/gcc2/gcc/cgraphunit.c:2361 #18 0x10e9ff6 in symbol_table::finalize_compilation_unit() /home/marxin/Programming/gcc2/gcc/cgraphunit.c:2542 #19 0x249ec80 in compile_file /home/marxin/Programming/gcc2/gcc/toplev.c:482 #20 0x24a74c3 in do_compile /home/marxin/Programming/gcc2/gcc/toplev.c:2193 #21 0x24a7ac6 in toplev::main(int, char**) /home/marxin/Programming/gcc2/gcc/toplev.c:2332 #22 0x5146fda in main /home/marxin/Programming/gcc2/gcc/main.c:39 #23 0x7ffff6d2a151 in __libc_start_main (/lib64/libc.so.6+0x28151) #24 0xa0ba2d in _start (/dev/shm/objdir2/gcc/cc1+0xa0ba2d) And yes, it started with r11-5928-gfc7b4248172561a9.
next prev parent reply other threads:[~2020-12-21 9:04 UTC|newest] Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-12-19 17:31 [Bug c/98393] New: new valgrind error for ./gcc.target/m68k/pr52573.c dcb314 at hotmail dot com 2020-12-19 17:58 ` [Bug c/98393] " dcb314 at hotmail dot com 2020-12-19 22:06 ` dcb314 at hotmail dot com 2020-12-19 22:31 ` dcb314 at hotmail dot com 2020-12-19 22:35 ` dcb314 at hotmail dot com 2020-12-19 22:43 ` dcb314 at hotmail dot com 2020-12-19 23:00 ` dcb314 at hotmail dot com 2020-12-21 9:04 ` marxin at gcc dot gnu.org [this message] 2020-12-21 9:06 ` [Bug tree-optimization/98393] [11 Regression] valgrind error for ./gcc.target/m68k/pr52573.c since r11-5928-gfc7b4248172561a9 marxin at gcc dot gnu.org 2020-12-21 9:39 ` dcb314 at hotmail dot com 2021-01-02 19:35 ` dcb314 at hotmail dot com 2021-01-04 9:05 ` rguenth at gcc dot gnu.org 2021-01-04 11:13 ` cvs-commit at gcc dot gnu.org 2021-01-04 11:14 ` rguenth at gcc dot gnu.org 2021-01-04 11:15 ` 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-98393-4-0zaEAvSLYf@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).