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 middle-end/55331] New: [4.6/4.7/4.8 Regression] ICE: SIGSEGV in substitute_and_fold with -O2 -fno-tree-fre Date: Wed, 14 Nov 2012 21:54:00 -0000 [thread overview] Message-ID: <bug-55331-4@http.gcc.gnu.org/bugzilla/> (raw) http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55331 Bug #: 55331 Summary: [4.6/4.7/4.8 Regression] ICE: SIGSEGV in substitute_and_fold with -O2 -fno-tree-fre Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned@gcc.gnu.org ReportedBy: zsojka@seznam.cz Created attachment 28691 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28691 autoreduced testcase Compiler output: $ gcc -O2 -fno-tree-fre testcase-min7.ii -wrapper valgrind,-q,--num-callers=40,--track-origins=yes -w ==4620== Invalid read of size 1 ==4620== at 0xCEBDBD: substitute_and_fold(tree_node* (*)(tree_node*), bool (*)(gimple_stmt_iterator*), bool) (gimple.h:1146) ==4620== by 0xC857C2: execute_copy_prop() (tree-ssa-copy.c:772) ==4620== by 0xADBB7A: execute_one_pass(opt_pass*) (passes.c:2339) ==4620== by 0xADBF94: execute_pass_list(opt_pass*) (passes.c:2400) ==4620== by 0xADBFA6: execute_pass_list(opt_pass*) (passes.c:2401) ==4620== by 0xADBFA6: execute_pass_list(opt_pass*) (passes.c:2401) ==4620== by 0x85E4F1: expand_function(cgraph_node*) (cgraphunit.c:1643) ==4620== by 0x8602A6: compile() (cgraphunit.c:1747) ==4620== by 0x860949: finalize_compilation_unit() (cgraphunit.c:2122) ==4620== by 0x67717E: cp_write_global_declarations() (decl2.c:4287) ==4620== by 0xBC527C: compile_file() (toplev.c:559) ==4620== by 0xBC7139: toplev_main(int, char**) (toplev.c:1881) ==4620== by 0x5A364BC: (below main) (in /lib64/libc-2.15.so) ==4620== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==4620== testcase-min7.ii: In function 'void test01()': testcase-min7.ii:253:1: internal compiler error: Segmentation fault test01 () ^ Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. Tested revisions: r193495 - crash 4.7 r191640 - crash 4.6 r191640 - crash 4.5 r191640 - OK
next reply other threads:[~2012-11-14 21:54 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-11-14 21:54 zsojka at seznam dot cz [this message] 2012-11-14 22:16 ` [Bug middle-end/55331] " dominiq at lps dot ens.fr 2012-11-15 11:52 ` jakub at gcc dot gnu.org 2012-11-15 12:00 ` jakub at gcc dot gnu.org 2012-11-15 12:18 ` jakub at gcc dot gnu.org 2012-11-27 9:20 ` rguenth at gcc dot gnu.org 2012-11-27 9:23 ` rguenth at gcc dot gnu.org 2012-11-27 10:14 ` [Bug middle-end/55331] [4.6 " rguenth at gcc dot gnu.org 2013-04-12 16:29 ` jakub 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-55331-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).