public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "y at momonga-linux dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/36245] New: internal compiler error: in build2_stat, at tree.c:3116 Date: Thu, 15 May 2008 12:15:00 -0000 [thread overview] Message-ID: <bug-36245-16011@http.gcc.gnu.org/bugzilla/> (raw) The following code produces an ICE with -O1 or -O2 $ cat foo.c extern char buf1[10]; extern char buf2[10]; extern void b(int i, int j, int w); void a() { int i,j; char *p; int w; p = buf1; for(j = 0;j < 10; j++) { for(i = 0;i < 10; i++) { w = *p; if(w != 1) { w = buf2[p - buf1]; b(i*2+1, j, w); } p++; } } } $ gcc -O1 foo.c foo.c: In function 'a': foo.c:5: internal compiler error: in build2_stat, at tree.c:3116 Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.3/README.Bugs> for instructions. -- Summary: internal compiler error: in build2_stat, at tree.c:3116 Product: gcc Version: 4.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: y at momonga-linux dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36245
next reply other threads:[~2008-05-15 12:15 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-05-15 12:15 y at momonga-linux dot org [this message] 2008-05-15 12:30 ` [Bug c/36245] " rguenth at gcc dot gnu dot org 2008-05-15 12:32 ` [Bug tree-optimization/36245] [4.3 Regression] " rguenth at gcc dot gnu dot org 2008-05-15 14:09 ` rguenth at gcc dot gnu dot org 2008-05-15 14:10 ` rguenth at gcc dot gnu dot org 2008-05-15 14:12 ` rguenth at gcc dot gnu dot org 2008-05-16 0:44 ` hjl dot tools at gmail dot com 2008-05-16 8:15 ` rguenther at suse dot de 2008-05-16 15:26 ` [Bug tree-optimization/36245] [4.4 " rguenth at gcc dot gnu dot org 2008-05-16 15:27 ` rguenth at gcc dot gnu dot org 2008-05-16 19:40 ` rguenth at gcc dot gnu dot org 2008-05-25 18:09 ` ghazi at gcc dot gnu dot org 2008-05-27 13:11 ` rguenth at gcc dot gnu dot org 2008-05-27 13:11 ` rguenth at gcc dot gnu dot org 2008-05-30 16:13 ` dnovillo at gcc dot gnu dot org 2008-06-11 15:40 ` dnovillo at gcc dot gnu dot 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-36245-16011@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).